AW: Problem with RemoteAddrValve in Context.xml

2006-11-15 Thread Peter Neu
I just tried some more but I can't get it to work. Is there another way to resolve the problem? I need one part of the application /app/public open for everybody and another part of the application /app/internal open only for people with a certain ip address 192.168.200.* Any ideas? Cheers, Pet

RE: Need help w/ installing certificate continued...

2006-11-15 Thread Saravana Kumar
Andy Tipton wrote: > I have done the following... (I am running Tomcat 5 on a Windows 2003 > Server) > > - Recreated the .keystore many different times trying to get one to > work... - Tried different aliases with my domain crt (does the alias > matter?) - Installed the crts in Windows and everth

Re: JkMountFile not working

2006-11-15 Thread Mladen Turk
Gilberto E. Espinoza wrote: I changed the file tonight and checked that the modified time was tonight's. The update did not work and the server continued to map to the same webapp context. I again restarted the apache2 server and the new mappings worked well. Is there a way to see were the

AW: AW: Tomcat hangs

2006-11-15 Thread Philipp Lehner
Hello, this is the result of the thread dump. Do you see any problem? Full thread dump Java HotSpot(TM) Client VM (1.4.2_08-b03 mixed mode): "StackTrace Remote Thread" prio=5 tid=0x0332e598 nid=0xd78 waiting on condition [0..7e1fb60] "Thread-26" daemon prio=5 tid=0x03ddb548 nid=0xff4 waiting on

RE: Migrating from TC 4 -> 5

2006-11-15 Thread Caldarale, Charles R
> From: Jon Wynacht [mailto:[EMAIL PROTECTED] > Subject: Re: Migrating from TC 4 -> 5 > > More clearer still...is anybody authenticating a webapp on Tomcat > 5.5.20 using JDBCRealm? We're using JAASRealm, not JDBCRealm, without any problems. > Anybody know if the JDBCRealm class isn't include

RE: AW: Tomcat hangs

2006-11-15 Thread Caldarale, Charles R
> From: Philipp Lehner [mailto:[EMAIL PROTECTED] > Subject: AW: AW: Tomcat hangs > > How can I start such a thread dump. The Tomcat is running on > an Windows 2003 Server as a Service? For the duration of the investigation, you probably need to run it from the command line. Once you have the p

Re: Migrating from TC 4 -> 5

2006-11-15 Thread Jon Wynacht
Hi, More clearer still...is anybody authenticating a webapp on Tomcat 5.5.20 using JDBCRealm? Anybody? I'd like to talk to you if you have some time to email back and forth. It just doesn't look like JDBCRealm works anymore, though I'm sure it's me and I'm sure I'll figure it out. One. Of

AW: AW: Tomcat hangs

2006-11-15 Thread Philipp Lehner
Hello, How can I start such a thread dump. The Tomcat is running on an Windows 2003 Server as a Service? Normally I can press the CTRL + break to get a thread dump but I'm running Tomcat as a windows service. kind regards, Philipp - Ursprüngliche Mail Von: "Caldarale, Charles R" <[E

RE: AW: Tomcat hangs

2006-11-15 Thread Caldarale, Charles R
> From: Philipp Lehner [mailto:[EMAIL PROTECTED] > Subject: AW: AW: Tomcat hangs > > Thank you fro your reply but it doesn't work. I got the same > message like one day before, only the value changed: The advice to raise your thread limit was pretty much guaranteed to just postpone the inevitab

RE: Daylight Saving Time Impact

2006-11-15 Thread Caldarale, Charles R
> From: Ranendra N Ghoshal [mailto:[EMAIL PROTECTED] > Subject: Daylight Saving Time Impact > > As you are aware Beginning in 2007, DST will start the second > Sunday of March and end on the first Sunday of November. Does > TomCat v3 or v5.5 impacted by Daylight Savings Time change ? Haven't s

AW: AW: Tomcat hangs

2006-11-15 Thread Philipp Lehner
Hello, Thank you fro your reply but it doesn't work. I got the same message like one day before, only the value changed: 16.11.2006 00:10:03 org.apache.tomcat.util.threads.ThreadPool logFull SCHWERWIEGEND: All threads (100) are currently busy, waiting. Increase maxThreads (100) or check the ser

Robot class using Services not working

2006-11-15 Thread Sales ShiftAce
Hi I am trying to use the Robot class for an application where I want to send keystrokes into a clients browser screen created by a JSP page to guide them through an initial configuration of the application. When using Tomcat in Console mode, it works fine. When using the standard installed Windo

Daylight Saving Time Impact

2006-11-15 Thread Ranendra N Ghoshal
Hello: As you are aware Beginning in 2007, DST will start the second Sunday of March and end on the first Sunday of November. Does TomCat v3 or v5.5 impacted by Daylight Savings Time change ? If so, then are there fixpacks / patches available. Regards Rupam *

Re: regarding server side includes in shtml

2006-11-15 Thread prakash shanmugam
hello markus, As i said in my previous mail i had tried out all the option mensioned in the tomcat page. Even then Tomcat is not supporting SSI to overcome this problem we had changed that servlet in to jsp page, now its running fine. bye with regards prakash On 11/14/06, Markus Schönhaber <[E

Client Authentication

2006-11-15 Thread Andrew Friebel
Has anyone got SSL working with client authentication? If so, please help. I have no issues with standard SSL. Standard SSL: keytool -genkey -alias -keystore -kayalg RSA Answer all the questions Edit server.xml file. I am then away and working with SSL for self signed certificates.

can Tomcat forward the request to another Http Server?

2006-11-15 Thread Liu Frank
Hi All, Now I am suffering a problem: I use Apache as the Web Server and Tomcat as the JSP/Servlet Server. Besides, I has a JMXHttpAdaptor as a web server serving for the MBean requests. To make the jmx service available all the time, I want to make Apache forward the request to JMXHttpAdaptor. H

Virtual Host hiding JkMount directives?

2006-11-15 Thread Chris Mayes
Hi, all. I seem to be having a bit of trouble with virtual hosts and mod_jk. JkMount directives in a VirtualHost are ignored: ServerName censea.cmayes.org JkMount /* ajp13 ErrorLog /var/log/apache2/censea_error_log TransferLog /var/log/apache2/censea_access_log DocumentRoot /usr/local

Re: JkMountFile not working

2006-11-15 Thread Gilberto E. Espinoza
Hi Rainer- I changed the file tonight and checked that the modified time was tonight's. The update did not work and the server continued to map to the same webapp context. I again restarted the apache2 server and the new mappings worked well. Is there a way to see were the modification tim

Re: CSS not being used when a Servlet is involved

2006-11-15 Thread Robbert
Apologies for the late reply. I've had some more pressing to attend to. Christopher Schultz-2 wrote: > > Robbert, > >> Christopher Schultz-2 wrote: >>> You have your process turned upside down, here. >> >> Why is the process turned upside down, exactly? Or rather, is there any >> benefit in ma

RE: Need help w/ installing certificate continued...

2006-11-15 Thread Andrew Friebel
Have you check the logs to see what errors (if any) have been logged? Since you are having so many hassles, I would try and do some internal testing using self signed certificates. o Generate you keystore - keytool -genkey -alias tomcat -keystore tomcat.keystore -keyalg RSA o Self sig

Re: [OT] How do I ........?

2006-11-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, Caldarale, Charles R wrote: > [...] their allocation is up to the particular JVM > implementation and need not be materialized in memory at all. This is a good point that I didn't mention. The description I have given indicates how Java will

Re: Need setting up Tomcat with Apache web-server

2006-11-15 Thread brian bay
This looks suspiciously not right... > enableLookups="false" redirectPort="8443" > protocol="AJP/1.3" /> > > port="8009" >minProcessors="5" maxProcessors="75" acceptCount="10" debug="0"/> > Also, your on windows xp in production?? If you want an open source solutio

RE: [SFnOT]Re: How do I ........?

2006-11-15 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Subject: [SFnOT]Re: How do I ? > > I weep for you, Martin. Actually, I'd weep for anyone that hired him. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the i

RE: [OT] How do I ........?

2006-11-15 Thread Caldarale, Charles R
> From: Martin Gainty [mailto:[EMAIL PROTECTED] > Subject: Re: How do I ? > > This is one of those SS!=DS discussions which means that > variables placed/alloc'ed on the stack are NOT the same as > variables alloc'ed from heap > so > when using a variable which is alloced on the stac

[SFnOT]Re: How do I ........?

2006-11-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, Wow. More drivel. SS and DS? I see you're familiar with x86 assembly. I weep for you, Martin. Martin Gainty wrote: > This is one of those SS!=DS discussions which means that variables > placed/alloc'ed on the stack are NOT the same as variabl

How do you configure tomcat to use a http proxy

2006-11-15 Thread [EMAIL PROTECTED]
My tomcat is behind a proxy, is there a config file I can spexify proxy setting -Original t Sent: 11/14/06 6:21 PM Subject: Locale with Services I have been trying to get Locale to work correctly with Tomcat Services. I am in Australia and my Windows XP was originally installed for Region,

RE: Need help w/ installing certificate continued...

2006-11-15 Thread Andy Tipton
I have done the following... (I am running Tomcat 5 on a Windows 2003 Server) - Recreated the .keystore many different times trying to get one to work... - Tried different aliases with my domain crt (does the alias matter?) - Installed the crts in Windows and everthing shows fine there when viewin

Re: jk connector problems

2006-11-15 Thread brian bay
did you try setting the default host in the workers.properties file to the actual host you want apache to forward to tomcat? worker.default.host = 10.x.x.x instead of worker.default.host=127.0.0.1 Brian On 11/15/06, Martin Gainty <[EMAIL PROTECTED]> wrote: The connectors tutorial is locat

Re: How do I ........?

2006-11-15 Thread Martin Gainty
This is one of those SS!=DS discussions which means that variables placed/alloc'ed on the stack are NOT the same as variables alloc'ed from heap so when using a variable which is alloced on the stack AND initialised to some known value (null) feel free to test that pre-allocated stack variabl

RE: [OT[ How do I ........?

2006-11-15 Thread Caldarale, Charles R
> From: Leon Rosenberg [mailto:[EMAIL PROTECTED] > Subject: Re: [OT[ How do I ? > > as long as you don't parenthesise everything just for the fun of it, > like in tomcats code, you shouldn't have fear, warrior. > > public String getAuthType() { > return (this.authType); > } >

Re: [OT[ How do I ........?

2006-11-15 Thread Leon Rosenberg
On 11/15/06, Christopher Schultz <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:[EMAIL PROTECTED] >> Subject: Re: [OT[ How do I ? >> >>> Belt and suspenders? >> It's just a habit, okay!?

RE: Manager deploy uploaded war - doesn't use the /WEB-INF/context.xml

2006-11-15 Thread Michael Hencin
I see, it's about time for me to get it updated to TC 5.5! Thanks as always! Mike -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 15, 2006 5:24 PM To: Tomcat Users List Subject: RE: Manager deploy uploaded war - doesn't use the /WEB-INF/

RE: Manager deploy uploaded war - doesn't use the /WEB-INF/context.xml

2006-11-15 Thread Caldarale, Charles R
> From: Michael Hencin [mailto:[EMAIL PROTECTED] > Subject: RE: Manager deploy uploaded war - doesn't use the > /WEB-INF/context.xml > > I should add, I am using TC 5.0.28. Ahh - that does make a difference. Most of the information you were give applies to 5.5; the rules have changed significa

RE: Manager deploy uploaded war - doesn't use the /WEB-INF/context.xml

2006-11-15 Thread Michael Hencin
I should add, I am using TC 5.0.28. When I remove all those entries, my context file now says; But, when I deploy it with tomcat manager, I get this error. FAIL - Encountered exception java.io.IOException: java.lang.IllegalArgumentException: Context path is required -Original Message-

RE: Manager deploy uploaded war - doesn't use the /WEB-INF/context.xml

2006-11-15 Thread Caldarale, Charles R
> From: Tim Alberts [mailto:[EMAIL PROTECTED] > Subject: Re: Manager deploy uploaded war - doesn't use the > /WEB-INF/context.xml > > The server seems to be doing this? I have a file in conf/ [engine] / > [host] named with the # symbol 'path#to#myapp#app.xml and it > contains the context elem

RE: Apache 2.2.3 Tomcat 5.5.20 - mod_jk or proxy?

2006-11-15 Thread Caldarale, Charles R
> From: Rainer Jung [mailto:[EMAIL PROTECTED] > Subject: Re: Apache 2.2.3 Tomcat 5.5.20 - mod_jk or proxy? > > If you want to use mod_proxy, it is important to know, that most > documentation for mod_proxy_balancer is contained in apaches > documentation page for mod_proxy, not on the page for >

Re: Apache 2.2.3 Tomcat 5.5.20 - mod_jk or proxy?

2006-11-15 Thread Rainer Jung
[EMAIL PROTECTED] schrieb: > On Wed, Nov 15, 2006 at 12:22:02AM +0100, Lars Nielsen Lind wrote: > Everything I have read says that mod_jk will not work with 2.2. What > little information is available says use the proxy modules. There is no known problem concerniong usage of mod_jk in combinatio

RE: Webapps inexplicably losing access to common/shared classloaders

2006-11-15 Thread Caldarale, Charles R
> From: Timothy Collett [mailto:[EMAIL PROTECTED] > Subject: Re: Webapps inexplicably losing access to > common/shared classloaders > > Well, it seems to have happened once again, this time in Tomcat > 6.0.0 I hope you're aware that 6.0 is still highly experimental - the fact that it is downl

Re: Manager deploy uploaded war - doesn't use the /WEB-INF/context.xml

2006-11-15 Thread Tim Alberts
Testing. Seem to have some email problems...please disregard. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Manager deploy uploaded war - doesn't use the /WEB-INF/context.xml

2006-11-15 Thread Caldarale, Charles R
> From: Michael Hencin [mailto:[EMAIL PROTECTED] > Subject: RE: Manager deploy uploaded war - doesn't use the > /WEB-INF/context.xml > > I know I can leave the path out of my META-INF/context.xml file, Not just can, but *must*. The same applies to the docBase attribute - it's only pertinent wh

Re: Manager deploy uploaded war - doesn't use the /WEB-INF/context.xml

2006-11-15 Thread Tim Alberts
Caldarale, Charles R wrote: From: Tim Alberts [mailto:[EMAIL PROTECTED] Subject: Re: Manager deploy uploaded war - doesn't use the /WEB-INF/context.xml However it's not going well. I renamed the 'app.war' file as 'path#to#myapp#app.war' and the Manager application took it and said it was fi

Re: Webapps inexplicably losing access to common/shared classloaders

2006-11-15 Thread Timothy Collett
Well, it seems to have happened once again, this time in Tomcat 6.0.0, and it's not even being able to see the MySQL driver when I put the jar in the webapp's WEB-INF/lib folder. Once again, it was working fine before I restarted Tomcat, and afterwards, it was not. I would very much apprec

Re: Manager deploy uploaded war - doesn't use the /WEB-INF/context.xml

2006-11-15 Thread Tim Alberts
Caldarale, Charles R wrote: From: Tim Alberts [mailto:[EMAIL PROTECTED] Subject: Re: Manager deploy uploaded war - doesn't use the /WEB-INF/context.xml However it's not going well. I renamed the 'app.war' file as 'path#to#myapp#app.war' and the Manager application took it and said it was fi

RE: Manager deploy uploaded war - doesn't use the /WEB-INF/context.xml

2006-11-15 Thread Michael Hencin
Hello I noticed this thread and have a follow up question. I know I can leave the path out of my META-INF/context.xml file, but I still have a docbase, and working dir values. In my original war file I have a context file with; Is there some way I can "varibalize" the end of those to match the

Re: [OT[ How do I ........?

2006-11-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:[EMAIL PROTECTED] >> Subject: Re: [OT[ How do I ? >> >>> Belt and suspenders? >> It's just a habit, okay!? :P > > Not complaining; I think it's a clever and wholly app

RE: Manager deploy uploaded war - doesn't use the /WEB-INF/context.xml

2006-11-15 Thread Caldarale, Charles R
> From: Tim Alberts [mailto:[EMAIL PROTECTED] > Subject: Re: Manager deploy uploaded war - doesn't use the > /WEB-INF/context.xml > > However it's not going well. I renamed the 'app.war' file as > 'path#to#myapp#app.war' and the Manager application took it > and said it was fine. The trick w

Re: Manager deploy uploaded war - doesn't use the /WEB-INF/context.xml

2006-11-15 Thread Tim Alberts
David Smith wrote: As I remember you wanted an involved path -- ie path/to/my/webapp/my.jsp ... Use the path as the war's filename replacing all the / characters with # symbols. Should work Well before we continue, thank you for the help... However it's not going well. I renamed the 'ap

RE: [OT[ How do I ........?

2006-11-15 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Subject: Re: [OT[ How do I ? > > > Belt and suspenders? > > It's just a habit, okay!? :P Not complaining; I think it's a clever and wholly appropriate thing to do. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OT

Re: [OT[ How do I ........?

2006-11-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:[EMAIL PROTECTED] >> Subject: Re: How do I ? >> >> Since you get bitten in C by missing an equals (it's quite easily to >> miss it visually), I got into the habit of putt

RE: [OT[ How do I ........?

2006-11-15 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Subject: Re: How do I ? > > Since you get bitten in C by missing an equals (it's quite easily to > miss it visually), I got into the habit of putting the null first. Belt and suspenders? > Why the heck are we discussing things like

Re: Manager deploy uploaded war - doesn't use the /WEB-INF/context.xml

2006-11-15 Thread David Smith
As I remember you wanted an involved path -- ie path/to/my/webapp/my.jsp ... Use the path as the war's filename replacing all the / characters with # symbols. Should work Tim Alberts wrote: > >> As originally stated -- it's the name of the WAR file. >> > > Please excuse my ignorance, but you

Re: Apache 2.2.3 Tomcat 5.5.20 - mod_jk or proxy?

2006-11-15 Thread michael
On Wed, Nov 15, 2006 at 12:22:02AM +0100, Lars Nielsen Lind wrote: > Which connector is the most relevant to use with Apache 2.2.3 and Tomcat > 5.5.20? Is it mod_jk or is it proxy? > > And how do I use the most relevant with Apache 2.2.3 and Tomcat 5.5.20? > (compile and implementation samples

Re: Manager deploy uploaded war - doesn't use the /WEB-INF/context.xml

2006-11-15 Thread Tim Alberts
As originally stated -- it's the name of the WAR file. Please excuse my ignorance, but you can't make a filename: /path/to/my/webapp/app.war? How do I name the file to add the context or can it be done? - To start a new

Re: How do I ........?

2006-11-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, Caldarale, Charles R wrote: >> From: Steve R Burrus [mailto:[EMAIL PROTECTED] >> just a tiny correction for you Chris, and that is that the >> code ought to >> be "if(in = = null)" not as u had it "if(null = = in)". Am I >> right or not? > >

Re: Help with Creating my own Realm extending RealmBase, ClassNotFoundException issue

2006-11-15 Thread Marcus Williford
Send attempt #2.hmmm On 11/14/06, Marcus Williford <[EMAIL PROTECTED]> wrote: I have attempted to create my own Realm, as I need to do authentication via a custom set of rules. I have attempted several things ( hours of attempting this with no luck), and can't seem to get class loaded. Tomcat

Re: Manager deploy uploaded war - doesn't use the /WEB-INF/context.xml

2006-11-15 Thread Hassan Schroeder
On 11/15/06, Tim Alberts <[EMAIL PROTECTED]> wrote: >path is derived from the name of the WAR file. If it is ignored, how can it be specified when uploading a war file via the manager? As originally stated -- it's the name of the WAR file. -- Hassan Schroeder [

Re: Manager deploy uploaded war - doesn't use the /WEB-INF/context.xml

2006-11-15 Thread David Smith
The path attribute is ignored in favor of the name of the war file. The context.xml is still consulted for JNDI resource definitions, etc., ... --David Tim Alberts wrote: > Hassan Schroeder wrote: > >> On 11/15/06, Tim Alberts <[EMAIL PROTECTED]> wrote: >> >>> When I deploy my .war files with t

Re: Proxy setting on Tomcat

2006-11-15 Thread Rainer Jung
... and if your question is about getting correct redirects when tomcat doesn't know the name of a reverse proxy that's being used from the clients perspective: You need to investigate the attributes proxyName, proxyPort and scheme in the docs for the connectors and then set them inside server.xml

RE: DataSourceRealm vs DataSource

2006-11-15 Thread Gilbert, Antoine
No matter, found my problem, had to set localDataSource="true" in my realm Have a nice day! -Original Message- From: Gilbert, Antoine Sent: November 15, 2006 3:22 PM To: Tomcat Users List Cc: Siino, Daniel Subject: DataSourceRealm vs DataSource Hi I have a data source and a data sou

Re: Manager deploy uploaded war - doesn't use the /WEB-INF/context.xml

2006-11-15 Thread Tim Alberts
Hassan Schroeder wrote: On 11/15/06, Tim Alberts <[EMAIL PROTECTED]> wrote: When I deploy my .war files with the Manager application it seems to completely ignore the /WEB-INF/context.xml file. What do I do? 1) put it in META-INF/context.xml where it belongs :-) and Sorry, I typed the ema

Re: Manager deploy uploaded war - doesn't use the /WEB-INF/context.xml

2006-11-15 Thread Hassan Schroeder
On 11/15/06, Tim Alberts <[EMAIL PROTECTED]> wrote: When I deploy my .war files with the Manager application it seems to completely ignore the /WEB-INF/context.xml file. What do I do? 1) put it in META-INF/context.xml where it belongs :-) and 2) drop the path attribute -- it's irrelevan

Re: Proxy setting on Tomcat

2006-11-15 Thread Hassan Schroeder
On 11/15/06, Ernie Ho <[EMAIL PROTECTED]> wrote: my tomcat server is behind a proxy; how would you specify the proxy setting? Is there some config file to edit? The *client* that's trying to *connect to* Tomcat needs to be configured to know about the proxy. -- Hassan Schroeder ---

DataSourceRealm vs DataSource

2006-11-15 Thread Gilbert, Antoine
Hi I have a data source and a data source realm using this data source. Both are defined in the context. It seems the realm is unable to reference the data source. I get this error message: ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/pushnse e-trunc]][15-11-2006 1

RE: Autodeploy fails

2006-11-15 Thread Rick Dettwyler
I will look for that, which would help immensely. Thanks again. -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 15, 2006 2:57 PM To: Tomcat Users List Subject: RE: Autodeploy fails > From: Rick Dettwyler [mailto:[EMAIL PROTECTED] > Subj

Manager deploy uploaded war - doesn't use the /WEB-INF/context.xml

2006-11-15 Thread Tim Alberts
I'm have a tomcat5.5 system running and seems to be working absolutely fine with one exception. When I deploy my .war files with the Manager application it seems to completely ignore the /WEB-INF/context.xml file. What do I do? My context.xml file is in the .war file and contains:

Proxy setting on Tomcat

2006-11-15 Thread Ernie Ho
Hi, my tomcat server is behind a proxy; how would you specify the proxy setting? Is there some config file to edit? Thanks, Ernie - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PR

Re: hardware requisites to run tomcat

2006-11-15 Thread Leon Rosenberg
errm... the question should be reverted... how many requests per second are expected? how long will a request last in average? will there be any other components on the same server, like database or something? do your applications rely on any external resources like filesystem, db or a legacy sys

RE: hardware requisites to run tomcat

2006-11-15 Thread Caldarale, Charles R
> From: tvbr1 [mailto:[EMAIL PROTECTED] > Subject: hardware requisites to run tomcat > > So my question is: "What would be the recommended > configuration to run the tomcat?? (how much memory? > and how much CPU?)" The answer, of course, is 42. > So, anybody can help me? Not really. It's

RE: How do I ........?

2006-11-15 Thread Caldarale, Charles R
> From: Steve R Burrus [mailto:[EMAIL PROTECTED] > Subject: Re: How do I ? > > just a tiny correction for you Chris, and that is that the > code ought to > be "if(in = = null)" not as u had it "if(null = = in)". Am I > right or not? No, you're not. The order of operands makes no diff

RE: Autodeploy fails

2006-11-15 Thread Caldarale, Charles R
> From: Rick Dettwyler [mailto:[EMAIL PROTECTED] > Subject: RE: Autodeploy fails > > The log is created by tomcat and is not within the WAR file. Tomcat will not create files within deployment directories at its whim. Sounds like you have a logging configuration *in your webapp* that's causing t

Detecting if tomcat has started

2006-11-15 Thread Trev
Hi, I want to know if there is an API that I can call to inform me that tomcat has started and is ready for requests. When starting up Tomcat one of my tasks is to deploy an axis service. Basically I start Tomcat on port 8080 and I want to be sure that it is ready to accept requests. Is there an

Re: How do I ........?

2006-11-15 Thread Steve R Burrus
just a tiny correction for you Chris, and that is that the code ought to be "if(in = = null)" not as u had it "if(null = = in)". Am I right or not? Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steve, Steve R Burrus wrote: hi chris this is steve Burrus and the

RE: Autodeploy fails

2006-11-15 Thread Rick Dettwyler
The log is created by tomcat and is not within the WAR file. I will stop Tomcat, remove the directory and restart Tomcat, which will deploy the WAR file, as autoDeploy doesn't seem to be able to do that with Tomcat already running. Thanks again, Rick -Original Message- From: Caldarale,

RE: Autodeploy fails

2006-11-15 Thread Caldarale, Charles R
> From: Rick Dettwyler [mailto:[EMAIL PROTECTED] > Subject: RE: Autodeploy fails > > Perhaps I did not explain well. Your original description was fine. Does the webapp create or update the jq.log file? (I assumed so, based on the the name.) If so, that's against the intent of the servlet spe

hardware requisites to run tomcat

2006-11-15 Thread tvbr1
Hi, in my job i need to buy a new computer, which will i'll be the web-server running tomcat. So my question is: "What would be the recommended configuration to run the tomcat?? (how much memory? and how much CPU?)" At the begining, the container web will run 2 applications (Geoserver, and mor

RE: Autodeploy fails

2006-11-15 Thread Rick Dettwyler
Perhaps I did not explain well. This is production. The file is jq.war. I copy jq.war to {catalina_home}/webapps and autodeploy tries to remove the jq directory, before it explodes the jq.war. It fails to do that and leaves behind webapps/jq/jq.log. I have to stop tomcat, remove that log file, res

RE: Autodeploy fails

2006-11-15 Thread Caldarale, Charles R
> From: Rick Dettwyler [mailto:[EMAIL PROTECTED] > Subject: Autodeploy fails > > If I "touch" that same WAR file, the autodeploy will fail, > as it leaves the webapps/[appname]/[appname].log file Is your webapp writing to its own deployment directory? If so, that's really a bad idea. What woul

Autodeploy fails

2006-11-15 Thread Rick Dettwyler
I have tomcat 5.5 working on both linux and Windows. I am using the default configuration. When I copy a WAR file to webapps/, it will be autodeployed successfully but only the first time. If I "touch" that same WAR file, the autodeploy will fail, as it leaves the webapps/[appname]/[appname].log

RE: 5.5.4 SEVERE: Error unregistering mbean in stdout every 5-10 mins.

2006-11-15 Thread Christophe Popov
Greetings. I found in Google this posting http://mail-archives.apache.org/mod_mbox/jakarta-tomcat-user/200411.mbox/[EMAIL PROTECTED] I have the same problem with Tomcat 5.0.28 Is there a solution? Maybe it has been fixed? Thank you --

Re: Migrating from TC 4 -> 5

2006-11-15 Thread Jon Wynacht
Hi, To be clearer now, I believe the problem lies within using a JDBCRealm. I can get apps that don't need authentication to work fine, but those that do, those that use just die with no error message. I opened up catalina.jar and to my surprise there is not a JDBCRealm class...did I g

Re: 5.5.17 cluster doesn't sync sessions on startup

2006-11-15 Thread Ronald Klop
I used: manager.stateTransferTimeout="60" manager.sendAllSessions="false" manager.sendAllSessionsSize="500" manager.sendAllSessionsWaitTime="20"> in stead of: on all my clusternodes as suggested by Filip. The fix is sendAllSessions=false in stead of true. This works better for me. S

using JNI

2006-11-15 Thread Zohar
Hi, I have a DLL that I need to use from some of my servlets. Where should I put the DLL? How do I load the DLL from all those servlets (should it be loaded only once?)? Is there anywhere I can read about this? Thanks, Zohar. -

Re: Tomcat 5.5 problems enabling SSL on Windows service version

2006-11-15 Thread Markus Schönhaber
David Uctaa wrote: > :) Thanks for the assistance. I'm hip-deep in APR configuration info now. Have fun! ;-) Regards mks - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For a

Re: Tomcat 5.5 problems enabling SSL on Windows service version

2006-11-15 Thread David Uctaa
:) Thanks for the assistance. I'm hip-deep in APR configuration info now. On 11/15/06, Markus Schönhaber <[EMAIL PROTECTED]> wrote: Markus Schönhaber wrote: > LOCAL SYSTEM is a different account than SYSTEM. And the former doesn't Bullshit. This should be "LOCAL SERVICE" (or however it is cal

RE: Can't find file - newbie question

2006-11-15 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: Can't find file - newbie question > > Do I need to do something like define the file somehow in web.xml ? No, but you need to access it with ServletContext.getResourceAsStream(). Take a look at the FAQ: http://wiki.apache.org/tomcat/

Re: Tomcat 5.5 problems enabling SSL on Windows service version

2006-11-15 Thread Markus Schönhaber
Markus Schönhaber wrote: > LOCAL SYSTEM is a different account than SYSTEM. And the former doesn't Bullshit. This should be "LOCAL SERVICE" (or however it is called on an English Windows). This is indeed a different account than SYSTEM, but it is irrelevant in your case. Reading error on my part.

Re: Tomcat 5.5 problems enabling SSL on Windows service version

2006-11-15 Thread David Uctaa
Yup, it's the APR connector. I'm going to try changing the configuration to handle that properly, or if that fails, to let it fall back to the base connector. Thanks, David On 11/15/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > From: David Uctaa [mailto:[EMAIL PROTECTED] > Subject: Re

Migrating from TC 4 -> 5

2006-11-15 Thread Jon Wynacht
Hi, I have a Struts-based app that is currently running on a Tomcat 4.1.29 server. I'm using Struts 1.2.9 and things have been running great. My ISP is bugging me about upgrading Tomcat to 5.5.20 so I downloaded it tonight to do a trial run and initial testing. For starters, it coughed up a ton

Re: Tomcat 5.5 problems enabling SSL on Windows service version

2006-11-15 Thread David Uctaa
Markus, Thanks for the info on APR. I'll try configuring that properly, or if that fails, to let it fall back to the base connector. And apologies for the inappropriate CC. List newbie. On 11/15/06, Markus Schönhaber <[EMAIL PROTECTED]> wrote: I'm reading the list. There's no need to CC me.

RE: Tomcat 5.5 problems enabling SSL on Windows service version

2006-11-15 Thread Caldarale, Charles R
> From: David Uctaa [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat 5.5 problems enabling SSL on Windows > service version > > Do you think it possible that this is a problem that > upgrading the service version to 5.5.20 would help > resolve? Probably not. But - did you install the APR conne

Re: Tomcat 5.5 problems enabling SSL on Windows service version

2006-11-15 Thread Markus Schönhaber
I'm reading the list. There's no need to CC me. I have even set the Reply-To pointing to the list. Please respect that. David Uctaa wrote: > I tried changing the service to log on with my credentials, and still no > go. However, if there were a problems such as you described, then > shouldn't th

Re: Tomcat is sometimes very slow using mod_jk

2006-11-15 Thread Rainer Jung
Can you reproduce the problem? This would help a lot. Henk Fictorie schrieb: > Solutions?: > - will adding 'JkOptions +FlushPackets' to the apache config help? If the pain is big enough for you, you could try, but it will also come with a performance penalty. > - can I somehow disable sending th

Re: Tomcat 5.5 problems enabling SSL on Windows service version

2006-11-15 Thread David Uctaa
Do you think it possible that this is a problem that upgrading the service version to 5.5.20 would help resolve? The service version is 5.5.16 and the non-service version is 5.5.20. That seems like a really far stretch to me. On 11/15/06, David Uctaa <[EMAIL PROTECTED]> wrote: It doesn't work

Re: Tomcat 5.5 problems enabling SSL on Windows service version

2006-11-15 Thread David Uctaa
It doesn't work when logged on as me. I changed the service to log on with my credentials, and I still have the same thing happening. On 11/15/06, Markus Schönhaber <[EMAIL PROTECTED]> wrote: David Uctaa wrote: > According to Windows, the "Group or User Names" assigned to .keystore are: > > Ad

Re: Tomcat 5.5 problems enabling SSL on Windows service version

2006-11-15 Thread Markus Schönhaber
David Uctaa wrote: > According to Windows, the "Group or User Names" assigned to .keystore are: > > Administrators > Power Users > SYSTEM > TERMINAL SERVER USER > Users > > Tomcat's logon properties are: > > Log on as: > > Local System Account (Allow service to interact with desktop is *not* > chec

Can't find file - newbie question

2006-11-15 Thread edward
Hi, I've got a class that reads a file when it is first invoked. When I run this class standalone, (meaning not using Tomcat), the class finds the file and can read it just fine. But when I call the class from a JSP under Tomcat, I get an error that indicates the class cannot find the file.

Re: Tomcat 5.5 problems enabling SSL on Windows service version

2006-11-15 Thread David Uctaa
I tried changing the service to log on with my credentials, and still no go. However, if there were a problems such as you described, then shouldn't there be an exception thrown somewhere that I should be able to find? The SSL service started up without a problem: Nov 15, 2006 9:44:38 AM org.ap

Re: 5.5.17 cluster doesn't sync sessions on startup

2006-11-15 Thread Haroon Rafique
On Today at 1:13pm, RK=>Ronald Klop <[EMAIL PROTECTED]> wrote: RK> Ok. It took a while, but I finally had the time to try this. RK> RK> The chunking of data looks promissing. The timeout is still 60 seconds in my RK> config, but the servers have all the session in 1-3 seconds now. And I RK> didn'

Tomcat is sometimes very slow using mod_jk

2006-11-15 Thread Henk Fictorie
Hi, Occassionally (but often enough to trigger our monitoring tools) a tomcat page is generated way too slow, it takes then appr. 300 sec. When I look at the logging I observe the following: Tomcat access log: reports that the response is generated in a couple of milliseconds. mod_jk log: repor

Re: Tomcat 5.5 problems enabling SSL on Windows service version

2006-11-15 Thread David Uctaa
According to Windows, the "Group or User Names" assigned to .keystore are: Administrators Power Users SYSTEM TERMINAL SERVER USER Users Tomcat's logon properties are: Log on as: Local System Account (Allow service to interact with desktop is *not* checked) Should I change this to log on as me

  1   2   >