Re: Apache 2.2.3 Tomcat 5.5.20 - mod_jk or proxy?

2006-11-15 Thread Rainer Jung
Hi Lars, Lars Nielsen Lind schrieb: I have tried with mod_jk but can't make it work. I get this err msg in mod_jk.log: [Wed Nov 15 00:32:34 2006] [16667:10448] [error] ajp_validate::jk_ajp_common.c (1931): can't resolve tomcat address localhost mod_jk can not resolve the host name

Re: sql connection error

2006-11-15 Thread Santosh Puranshettiwar
[EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: Hi, i use tomcat 5.5.20, when i start tomcat all is fine all works but after some time i am getting this message : java.sql.SQLException: No operations allowed after connection closed and the only way right now i have find is to restart

Re: session replication/tomcat 5.5

2006-11-15 Thread Hacim Bengali
Hi, we are trying to set up session replication using a database with the PersistentManager and a JDBCStore. Peter Rossbach stated that there is no alternative to multicasting. Is it because the PersistentManager is only experimental? And we have problems using the

Re: sql connection error

2006-11-15 Thread master
unfotrtunately i didn t have any more the complete trace i will wait for tomcat to do it again , i just now that i had this sort of log in the same time with the other error : com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception: ** BEGIN NESTED

AW: Tomcat hangs

2006-11-15 Thread Edao, Aliye
Hi Philipp, try the following: Increase maxThreads in server.xml. A good value to start with is maxProcessors=100. Set connectionTimeout to a minute - connectionTimeout=6. Restart Tomcat. Hope this will help. Mit freundlichem Gruß / kind regards Dr.

Re: Tomcat Out Of Memory

2006-11-15 Thread Gaurav Kushwaha
A quick fix would be to specify minimum and maximum heap size using JVM parameters -Xms and -Xmx. -Xms specifies the minimum heap size and -Xmx is used to determine the maximum allowed heap size. So, lets say if you have enough memory to allocate 512 MB to your java process you shoud write

Re: jk connector problems

2006-11-15 Thread Martin Hochreiter
Rainer Jung schrieb: Hi Martin, these lines only mean, that mod_jk is checking whether it should forward the request or not, but it doesn't find a match (=JkMount), so it decides to let other apache modules handle the request. This part of request processing is normal, even if there is no

Re: sql connection error

2006-11-15 Thread Santosh Puranshettiwar
[EMAIL PROTECTED] wrote: unfotrtunately i didn t have any more the complete trace i will wait for tomcat to do it again , i just now that i had this sort of log in the same time with the other error : com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying

unable to execule sh catalina.sh run

2006-11-15 Thread Vikas Dubey
Hello, I am able to start tomcat by sh catalina.sh start while running sh catalina.sh run I get below error Exception in thread main java.lang.NoClassDefFoundError: Please help me. If you need any more info, Please let me know. Vikas Dube

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

2006-11-15 Thread Saravana Kumar
Andy Tipton wrote: I have read all through the documentation and can't find what I am doing wrong. The only thing that I didn't do was the importing of the valicert_class2_root.crt file because I wasn't given one when I downloaded my certificate. I imported the real one after I imported the

Re: Tomcat Out Of Memory

2006-11-15 Thread Santosh Puranshettiwar
Gaurav Kushwaha wrote: A quick fix would be to specify minimum and maximum heap size using JVM parameters -Xms and -Xmx. -Xms specifies the minimum heap size and -Xmx is used to determine the maximum allowed heap size. So, lets say if you have enough memory to allocate 512 MB to your java

Re: 5.5.17 cluster doesn't sync sessions on startup

2006-11-15 Thread Ronald Klop
Ok. It took a while, but I finally had the time to try this. The chunking of data looks promissing. The timeout is still 60 seconds in my config, but the servers have all the session in 1-3 seconds now. And I didn't receive any calls from the servicedesk yet. :-) Thanks for the info. I have

from my logs: WARNING: overload existing session 9DA817797795B2108549802B4F52F472

2006-11-15 Thread Ronald Klop
Hello, I fixed my cluster sync problem. But now I find a lot of these lines in the logs. What is the reason of this? Should I fix it? Or is it harmless? I searched in google, but didn't find anything. Can I provide more info? Greetings, Ronald. Nov 15, 2006 12:22:34 PM

Re: Tomcat Out Of Memory

2006-11-15 Thread Andrew Miehs
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Which kernel are you running? If you are running 2.4 I could imagine that it could be an out of process/ thread limit. Java used to report - out of memory - even for out of processes/ threads problems I think 2.4 had a default limit of 256

Re: Apache 2.2.3 Tomcat 5.5.20 - mod_jk or proxy?

2006-11-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lars, Lars Nielsen Lind wrote: I have tried with mod_jk but can't make it work. I get this err msg in mod_jk.log: [Wed Nov 15 00:32:34 2006] [16667:10448] [error] ajp_validate::jk_ajp_common.c (1931): can't resolve tomcat address localhost

Tomcat 5.5 problems enabling SSL on Windows service version

2006-11-15 Thread David Uctaa
I have Tomcat 5.5 installed as both a Windows service version and as the standard deployment version (non Windows service - starts up with startup.bat). I purchased and installed an SSL certificate from Verisign. I modified the server.xml to enable the SSL connector. I have two different

Re: jk connector problems

2006-11-15 Thread Mladen Turk
Martin Hochreiter wrote: I'll see, I solved it with another way: I simply kicked out mod_jk and use mod_proxy. The performance is a significant better. Great. You can at least say that you are the first one! Please give us some benchmark results. Cheers, Mladen.

Re: jk connector problems

2006-11-15 Thread Martin Gainty
The connectors tutorial is located at http://tomcat.apache.org/connectors-doc/howto/apache.html be sure to Read the howto at http://tomcat.apache.org/connectors-doc/howto/workers.html Assuming you are not using auto-conf I would use the supplied workers.properties from the supplied connectors

Re: Apache 2.2.3 Tomcat 5.5.20 - mod_jk or proxy?

2006-11-15 Thread Lars Nielsen Lind
I will reply later tonight. I need to sleep. Worked all night with the problems and have been working today also :-) Christopher Schultz skrev: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lars, Lars Nielsen Lind wrote: I have tried with mod_jk but can't make it work. I get this err msg

Re: Tomcat 5.5 problems enabling SSL on Windows service version

2006-11-15 Thread Markus Schönhaber
David Uctaa wrote: I have Tomcat 5.5 installed as both a Windows service version and as the standard deployment version (non Windows service - starts up with startup.bat). I purchased and installed an SSL certificate from Verisign. I modified the server.xml to enable the SSL connector. I

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?

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:

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't

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

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 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* checked) LOCAL

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:

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 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 the

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

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 connector

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.

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
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:

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:

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 called

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

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: 5.5.17 cluster doesn't sync sessions on startup

2006-11-15 Thread Ronald Klop
I used: Cluster className=org.apache.catalina.cluster.tcp.SimpleTcpCluster manager.className=org.apache.catalina.cluster.session.DeltaManager manager.stateTransferTimeout=60 manager.sendAllSessions=false manager.sendAllSessionsSize=500 manager.sendAllSessionsWaitTime=20 in stead of:

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 Realm/ just die with no error message. I opened up catalina.jar and to my surprise there is not a JDBCRealm

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

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: 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 would

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,

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 more

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 spec,

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: 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

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

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 the

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 difference for

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 not what

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

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

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: ?xml

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]

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

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

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 Context path=/servlet/path/to/myapp / 2) drop

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

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

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

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 the Manager

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: 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.

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? No, you're

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: 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 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 can't

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 this

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 putting the

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

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

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 with

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 appropriate

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; Context crossContext=true docBase=mywebapp path=/mywebapp

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

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

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

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 when

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: 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

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 combination

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: 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 element

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; Context crossContext=true privileged=true But, when I deploy it with tomcat manager, I get this error. FAIL - Encountered exception java.io.IOException: java.lang.IllegalArgumentException: Context

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 significantly

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

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!? :P Not

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); } being

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

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

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

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

[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

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 stack AND

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

Re: Need setting up Tomcat with Apache web-server

2006-11-15 Thread brian bay
This looks suspiciously not right... Connector port=8009 enableLookups=false redirectPort=8443 protocol=AJP/1.3 / Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/ Also, your on windows

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 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

  1   2   >