Re: INDEX.JSP in webapps/ROOT

2005-08-25 Thread Bruno Georges
Tom Make sure to test your tomcat mapping configuration if you plan to put apache or iis in front of it. For example mapping index.html to index.jsp in tomcat can lead to having your request served by the web server. To avoid this you need to configure the modjk directives in accordance with

sharing directory between web application

2005-08-25 Thread Davide Frigerio
Hi, I would you like to know if it is possibile in Tomcat to share the same directory between two different web application? Thanks, -- -- Davide Ing. Frigerio Wise-Lab S.r.l. c/o Polo Regionale di Como - Politecnico di Milano P.le Gerbetto,

system.property in web.xml

2005-08-25 Thread Davide Frigerio
Hi, I would ask to you if is possible to set a java system.property for a web application by web.xml file application. Thanks. -- -- Davide Ing. Frigerio Wise-Lab S.r.l. c/o Polo Regionale di Como - Politecnico di Milano P.le Gerbetto, 6

What does Wrong Message Format mean?

2005-08-25 Thread Kyle
Anybody .. ?? pls... K Kyle wrote: Hi people, I'm a bit stumped as to what to track/trace in this instance. Can someone point me in the right direction please? Apache 2.0.54 Tomcat 5.5.9 4.1.30 mod_jk 1.2.14 I am trying to integrate Apache with the 2 different versions of Tomcat

RE: system.property in web.xml

2005-08-25 Thread Allistair Crossley
Hi, This is not mandated by the Servlet specification. What you *could* do is write a servlet that is mapped in web.xml and set init parameters for that servlet. Also set the load-on-startup to 1. Then in the servlet init method you can extract the init parametes and call System.setProperty

How to add a valve after AuthenticatorBase Valve?

2005-08-25 Thread James Liao
Hi all, I want to add customer valve which extends ValveBase. I want it to be invoked after the AuthenticatorBase Valve(like BasicAuthenticator, DigestAuthenticator, FormAuthenticator, NonLoginAuthenticator, SSLAuthenticator). Can I achieve it? I have try to put my Valve definition in my webapp

Sorry! Miss tomcat version for the customer Valve issue!

2005-08-25 Thread James Liao
Hi all, My tomcat version is 5.0.30 and JDK 1.4.2_08 on Windows XP. I want to add customer valve which extends ValveBase. I want it to be invoked after the AuthenticatorBase Valve(like BasicAuthenticator, DigestAuthenticator, FormAuthenticator, NonLoginAuthenticator, SSLAuthenticator). Can I

Client Deployer 5.5.11 NullPointerException

2005-08-25 Thread Allistair Crossley
Hi, I've decided to try out the Deployer tool for the first time to see if it makes like a little easier for deployments to our test servers. I've used the 5.5.11 Alpha Deployer as I noted some threads indicating a problem with 5.5.9's version. I've come across the following when running

Re: Include directive works strangely in Tomcat 4.1

2005-08-25 Thread Tim Funk
Hopefully, you are declaring fieldNames somewhere - but for some reason - the scope is probably is not correct. Looking into more detail translated jsp for fieldNames should do the trick. the static block is a helpful feature that lets the jsp compiler re-compile if on eo the files if

Tomcat compileted for 64-bit Xeon machines

2005-08-25 Thread Philip Widan
I'd like to run Tomcat on a Xeon 64-bit machine as a 64-bit application, not a 32-bit application. My questions are: 1. Is there a 64-bit Tomcat download available? 2. If '1' is no, then does the Tomcat team plan to make one available soon? 3. If '2' is no, then has anyone succesfully compiled

RE: Tomcat compileted for 64-bit Xeon machines

2005-08-25 Thread Philip Widan
I've read the posting about Tomcat just being a Java application and SUN's Java 1.5 working on a Xeon 64-bit machine (X64). However, I'm concerned about the tomcat.exe in the bin directory, and the fact that I create a Tomcat service using this exe. If it's compiled as a 32-bit Windows app, then

Re: Tomcat compileted for 64-bit Xeon machines

2005-08-25 Thread Tim Funk
The 64 bit edition has been available since the public release of tomcat including all 3.X releases. Actually - to get 64bit performance - you need to be sure your JVM by Sun/BEA/IBM is one optimized for a 64 bit machine. The JVM byte code doesn't care whether your system is 32 or 64 bit.

RE: Tomcat compileted for 64-bit Xeon machines

2005-08-25 Thread Philip Widan
Thanks Tim. Can you point me to where I can find the 64-bit edition, since I can't see anything specific on the Tomcat website. Or does the download include both 32-bit and 64-bit? -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: 25 August 2005 12:59 To: Tomcat Users

RE: Tomcat compileted for 64-bit Xeon machines

2005-08-25 Thread Longson, Robert
Philip, tomcat.exe is actually prunsrv.exe renamed from the commons-daemon project. You could try getting the source and compiling that with a 64 bit MS compiler. I don't know whether anyone has ever done so before. Best regards Robert. -Original Message- From: Philip Widan

Re: Tomcat compileted for 64-bit Xeon machines

2005-08-25 Thread Tim Funk
Ahh ... by the email - you mean the wrappers which invoke the JVM. your best best is to compile from source a 64 bit version. Otherwise - a 64 bit version would be available whenever one of the committers gets a 64 bit xeon machine. -Tim Philip Widan wrote: Thanks Tim. Can you point me to

Re: Client Deployer 5.5.11 NullPointerException

2005-08-25 Thread Dirk Weigenand
Allistair, looks like the missing ant taskdef for jasper. I thought that to be fixed. --- Ursprüngliche Nachricht --- Von: Allistair Crossley [EMAIL PROTECTED] An: tomcat-user@jakarta.apache.org Betreff: Client Deployer 5.5.11 NullPointerException Datum: Thu, 25 Aug 2005 11:09:40 +0100

Re: Client Deployer 5.5.11 NullPointerException

2005-08-25 Thread Remy Maucherat
On 8/25/05, Allistair Crossley [EMAIL PROTECTED] wrote: Hi, I've decided to try out the Deployer tool for the first time to see if it makes like a little easier for deployments to our test servers. I've used the 5.5.11 Alpha Deployer as I noted some threads indicating a problem with

RE: Client Deployer 5.5.11 NullPointerException

2005-08-25 Thread Allistair Crossley
Hi, No I don't think that's it, both ant and javac work on my command line. I do use Ant for build, I'm just trying deployer for the first time. JAVA_HOME, ANT_HOME are also both defined. Ant is also the latest version 1.6.5 C:\deployerjavac Usage: javac options source files where possible

Manager webapp and virtual hosts

2005-08-25 Thread Mikolaj Rydzewski
Hello, My configuration is very simple: tomcat listens on localhost with various apps in their contexts. Now I'd like to setup a virtual host for another one. Will it be possible to deploy/reload such application using manager webapp running on localhost? In other words: do I have to install

Re: Manager webapp and virtual hosts

2005-08-25 Thread David Delbecq
Le Jeudi 25 Août 2005 13:55, Mikolaj Rydzewski a écrit : Hello, My configuration is very simple: tomcat listens on localhost with various apps in their contexts. Now I'd like to setup a virtual host for another one. Will it be possible to deploy/reload such application using manager

Re: Client Deployer 5.5.11 NullPointerException

2005-08-25 Thread Remy Maucherat
On 8/25/05, Allistair Crossley [EMAIL PROTECTED] wrote: Hi, No I don't think that's it, both ant and javac work on my command line. I do use Ant for build, I'm just trying deployer for the first time. JAVA_HOME, ANT_HOME are also both defined. Ant is also the latest version 1.6.5 Great.

RE: Client Deployer 5.5.11 NullPointerException

2005-08-25 Thread Allistair Crossley
Hi, I'd really love to I assure you, but I really don't a) have years and years of architecting Tomcat development to trace through how Jasper2 works and b) the time whilst I am sat here working for a corporation trying to get Tomcat working for the business For what it's worth (which is

Re: jndi question

2005-08-25 Thread Brian Cook
Sean, One thing that stands out in your message is that the conext.xml file was placed in the META-INF folder. Is it also in Tomcat Folder/conf/Catalina/localhost/ as the module name? i.e. If the context path name of your webapp is /seansApp the context.xml file should appear in this

RE: Manager webapp and virtual hosts

2005-08-25 Thread GB Developer
another option is to use this: http://www.talika.org/tms/ I'm using it on three tomcat 5.0.29 servers, each with a dozen or so vhosts, and it works great. -Original Message- From: David Delbecq [mailto:[EMAIL PROTECTED] Sent: Thursday, August 25, 2005 7:02 AM To: Tomcat Users

RE: jndi question

2005-08-25 Thread Allistair Crossley
Hi, The context.xml file is stored in META-INF during development but needs to be placed in Tomcat Folder/conf/Catalina/localhost/ folder for deployment with the file name of the context path. I don't think that's quite true. META-INF is a permanent valid location for context.xml, and

Is Ajp14 in use?

2005-08-25 Thread Kyle
When Googling, there a a number of references to Ajp14 (in conjunction with Ajp13), but no actual documentation on it. Not even on Jakarta.org. I ask in relation to my problem listed in the email below; However, one the very few references I _did_ find to ajp14 was in a CVS archive of

Virtual Hosts In Tomcat

2005-08-25 Thread Dennis Harris
Hi, I have Tomcat 4.1 running on Server 2003. Now I want to point a new domain to this box using virtual hosts. I have read all the documentation and I'm still unclear where in the server.xml file to place this virtual host. Can someone paste an example of the virtual hosts and where exactly in

Re: Client Deployer 5.5.11 NullPointerException

2005-08-25 Thread Remy Maucherat
On 8/25/05, Allistair Crossley [EMAIL PROTECTED] wrote: Hi, I'd really love to I assure you, but I really don't a) have years and years of architecting Tomcat development to trace through how Jasper2 works and b) the time whilst I am sat here working for a corporation trying to get

RE: Client Deployer 5.5.11 NullPointerException

2005-08-25 Thread Allistair Crossley
Hi, Hm :( Are you able to clarify what you mean by a well configured Ant which is able to use a Java compiler. Perhaps this is where the problem lies? My Ant setup is such that I have ANT_HOME and JAVA_HOME env vars set. I have ANT_HOME/bin and JAVA_HOME/bin on the PATH. The ant and javac

Re: Virtual Hosts In Tomcat

2005-08-25 Thread Hassan Schroeder
Dennis Harris wrote: I have Tomcat 4.1 running on Server 2003. Now I want to point a new domain to this box using virtual hosts. I have read all the documentation and I'm still unclear where in the server.xml file to place this virtual host. Can someone paste an example of the virtual hosts and

Re: Client Deployer 5.5.11 NullPointerException

2005-08-25 Thread Remy Maucherat
On 8/25/05, Allistair Crossley [EMAIL PROTECTED] wrote: Hi, Hm :( Are you able to clarify what you mean by a well configured Ant which is able to use a Java compiler. Perhaps this is where the problem lies? My Ant setup is such that I have ANT_HOME and JAVA_HOME env vars set. I have

Re: Client Deployer 5.5.11 NullPointerException

2005-08-25 Thread Remy Maucherat
On 8/25/05, Remy Maucherat [EMAIL PROTECTED] wrote: To start with something, I use a known-to-be-working Ant 1.6.2 release. I just installed and tested with 1.6.5, and it works too. I just added some debug logging too for the classloading exceptions. -- x Rémy Maucherat

Re: jndi question

2005-08-25 Thread haim
Hi I had the same problem and I managed to make this work when following this post http://forums.devshed.com/archive/t-120081 The only problem is that it works when a deploy a war file. When I try using this out of Eclipse (I am running tomcat using sysdeo plug-in) it makes problems. Let

RE: Client Deployer 5.5.11 NullPointerException

2005-08-25 Thread Allistair Crossley
Well that's really unexpected. The only other 2 differences are perhaps that I am on Windows, and that I did this with the 5.5.11-alpha download from the site. I can't think of anything else if you say that copying the JDT jar should work. It simply doesn't here and I have tested this with pure

configuration files for war deployments

2005-08-25 Thread Patrick Lacson
hi All, If I were to deploy my application as a .war file, where do I place the .properties configuration files? I know there's the option of auto-expanding the war file at deployment, but is there a way to keep the war file unexpanded and provide an external .properties file for the web app to

Re: Client Deployer 5.5.11 NullPointerException

2005-08-25 Thread Markus Schönhaber
Am Donnerstag, 25. August 2005 17:03 schrieb Allistair Crossley: Well that's really unexpected. The only other 2 differences are perhaps that I am on Windows, and that I did this with the 5.5.11-alpha download from the site. I can't think of anything else if you say that copying the JDT jar

RE: Client Deployer 5.5.11 NullPointerException

2005-08-25 Thread Allistair Crossley
Thanks, that's good to know, it must be something to do with my environment. Are you saying then that you did not have to copy any JDT jars into your deployer? How have you setup Ant? In any specific manner? Best, Allistair. -Original Message- From: Markus Schönhaber [mailto:[EMAIL

Re: Client Deployer 5.5.11 NullPointerException

2005-08-25 Thread Markus Schönhaber
Am Donnerstag, 25. August 2005 17:57 schrieb Allistair Crossley: Thanks, that's good to know, it must be something to do with my environment. Are you saying then that you did not have to copy any JDT jars into your deployer? No, I didn't have to copy any jars since ant uses sun's javac from

RE: Client Deployer 5.5.11 NullPointerException

2005-08-25 Thread Allistair Crossley
Hi, Thanks. Yeah something must be up I guess. Although my environment vars all look perfectly ok to me. Here they are echoed. c:\echo %JAVA_HOME% c:\Program Files\Java\jdk1.5.0_03 c:\echo %ANT_HOME% c:\apache-ant-1.6.5 c:\echo %PATH%

Re: Client Deployer 5.5.11 NullPointerException

2005-08-25 Thread Remy Maucherat
On 8/25/05, Markus Schönhaber [EMAIL PROTECTED] wrote: Am Donnerstag, 25. August 2005 17:57 schrieb Allistair Crossley: Thanks, that's good to know, it must be something to do with my environment. Are you saying then that you did not have to copy any JDT jars into your deployer? No, I

error launching catalina.sh

2005-08-25 Thread Hugo Osorio
Hello everybody i am running Version: Apache Tomcat/5.0.29 on FreeBSD i have been working with apache forrest, but i haven't do anything to Tomcat configuration all of a sudden i've got this message, and catalina.sh begins to start, but it launch error messages, i cannot see anything at

Re: Client Deployer 5.5.11 NullPointerException

2005-08-25 Thread Markus Schönhaber
Am Donnerstag, 25. August 2005 18:30 schrieb Remy Maucherat: On 8/25/05, Markus Schönhaber [EMAIL PROTECTED] wrote: Am Donnerstag, 25. August 2005 17:57 schrieb Allistair Crossley: Thanks, that's good to know, it must be something to do with my environment. Are you saying then that you

Re: error launching catalina.sh

2005-08-25 Thread Brian Cook
org.xml.sax Exceptions mean that one of the XML files is not properly formated. Specifically this one is telling you that you have an unterminated Context tag somewhere. This is most likely either Tomcat Folder/conf/server.xml or and of the xml files in Tomcat

Re: error launching catalina.sh

2005-08-25 Thread Markus Schönhaber
Am Donnerstag, 25. August 2005 18:45 schrieb Hugo Osorio: Hello everybody i am running Version: Apache Tomcat/5.0.29 on FreeBSD i have been working with apache forrest, but i haven't do anything to Tomcat configuration all of a sudden i've got this message, and catalina.sh begins to start,

Virtual Host Not Working Correctly

2005-08-25 Thread Dennis Harris
Hi Guys, I am setting up a Virtual Host in Tomcat, I've added the following entry in my server.xml file. Host name=q5aims.net debug=0 appBase=webapps unpackWARs=true Aliaswww.q5aims.net/Alias Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=virtual_log1. suffix=.log

connection fails seemingly at random

2005-08-25 Thread David Ellis
Here is a clip of the log file: [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free, NULL parameters [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, NULL parameter [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free, NULL

Re: error launching catalina.sh

2005-08-25 Thread Hugo Osorio
this is the error, sorry, now it works... it is a matter of taking care of the conf files. 2005/8/25, Markus Schönhaber [EMAIL PROTECTED]: Am Donnerstag, 25. August 2005 18:45 schrieb Hugo Osorio: Hello everybody i am running Version: Apache Tomcat/5.0.29 on FreeBSD i have been

Re: connection fails seemingly at random

2005-08-25 Thread David Ellis
I'm using tomcat 3.2.3 Dave - Original Message - From: David Ellis [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Thursday, August 25, 2005 1:07 PM Subject: connection fails seemingly at random Here is a clip of the log file: [jk_uri_worker_map.c (185)]: In

RE: configuration files for war deployments

2005-08-25 Thread Phillip Qin
Your classpath, i.e. WEB-INF, or classes. -Original Message- From: Patrick Lacson [mailto:[EMAIL PROTECTED] Sent: August 25, 2005 11:32 AM To: Tomcat User-List Subject: configuration files for war deployments hi All, If I were to deploy my application as a .war file, where do I place

Re: connection fails seemingly at random

2005-08-25 Thread Brian Cook
You may want to review the posting guild lines at : http://jakarta.apache.org/site/mail.html It will increase the number of people that can respond to your questions. As it stands I doubt you will get any useful responses to a clip of a log file with system details, description of the

Integrating two applications

2005-08-25 Thread venkats
Hello: I have two applications that have front-ends developed using the struts framework. They both run on weblogic application servers. Each application has its own controller. They operate in two different physical environments. In the MVC paradigm, it's two independent MVCs. I should

RE: 10 connection limit with IIS and JK/ISAPI 1.2.14

2005-08-25 Thread Spors, Jeffrey R
I also ran into this just today (although I don't get entries in my logs). I believe I found a solution. In workers.properties under the ajp13 Worker Definition I uncommented the worker.ajp13.cachesize line and set it equal to the desired max cache size. For example: worker.ajp13.cachesize=20

RE: 10 connection limit with IIS and JK/ISAPI 1.2.14

2005-08-25 Thread David Boyer
I bet that's it. In looking at my workers.properties files, I neglected to prefix my settings with the name of the worker. I might be retarded;) [EMAIL PROTECTED] 12:36:27 PM 8/25/2005 I also ran into this just today (although I don't get entries in my logs). I believe I found a solution. In

Multiple Tomcats on the same machine possible?

2005-08-25 Thread Franklin Phan
Instead of having one Tomcat on each machine, we'd like to try to fit multiple on one. Any advice on how to go about that? We use Windows XP. How would the start/stop services work then? I presume that we will need a different port number for each Tomcat install. Thanks.

Re: jndi question

2005-08-25 Thread Sean Rowe
yes, there is a file in the /conf/Catalina/localhost directory for my app Brian Cook wrote: Sean, One thing that stands out in your message is that the conext.xml file was placed in the META-INF folder. Is it also in Tomcat Folder/conf/Catalina/localhost/ as the module name? i.e. If the

Re: Multiple Tomcats on the same machine possible?

2005-08-25 Thread David Boyer
Yep, different port for shutdown and any AJP/HTTP connectors you use. That and a unique service name should be all you need. [EMAIL PROTECTED] 1:04 PM 8/25/200525/2005 Instead of having one Tomcat on each machine, we'd like to try to fit multiple on one. Any advice on how to go about that?

Re: configuration files for war deployments

2005-08-25 Thread Patrick Lacson
I know that's typically where they go, but if the file is inside the .war, how is the file going to be configured by the sysadming folks? Surely we can't expect them to run jar xvf web/WEB-INF/myconfig.properties myapp.war Is there another location that is external from the .war file itself?

connection fails at random

2005-08-25 Thread David Ellis
I really do not know how to word it completely. Basically, for whatever reason the errors begin to appear in the log when the process becomes inactive. How it becomes inactive or what is causing it to become inactive is beyond me. However, restarting the tomcat server process does fix the

Re: jndi question

2005-08-25 Thread Brian Cook
It has probablly already been stated before somewhere in this thread but what versions of Tomcat and JDK are you using? Sean Rowe wrote: yes, there is a file in the /conf/Catalina/localhost directory for my app Brian Cook wrote: Sean, One thing that stands out in your message is that

Malformed URL Exception: unknown protocol: c

2005-08-25 Thread Franklin Phan
I use Windows XP Pro. My JAVA_HOME environment variable points to c:\j2sdk1.4.2_05. The CLASSPATH is set to have as the first element %JAVA_HOME%\bin. I've written an XSL Transform servlet that makes use of the package javax.xml.transform. Why do I get the following error:

Re: Virtual Host Not Working Correctly

2005-08-25 Thread Hassan Schroeder
Dennis Harris wrote: I am setting up a Virtual Host in Tomcat, I've added the following entry in my server.xml file. Host name=q5aims.net debug=0 appBase=webapps unpackWARs=true/ Context path=/q5aims_net docBase=q5aims_net debug=0 reloadable=true/ /Host However, when I test the link, it

RE: Virtual Host Not Working Correctly

2005-08-25 Thread Dennis Harris
Just trying to access http://q5aims.net/index.html -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Thursday, August 25, 2005 4:04 PM To: Tomcat Users List Subject: Re: Virtual Host Not Working Correctly Dennis Harris wrote: I am setting up a Virtual

Re: Virtual Host Not Working Correctly

2005-08-25 Thread Hassan Schroeder
Dennis Harris wrote: Just trying to access http://q5aims.net/index.html Context path=/q5aims_net docBase=q5aims_net debug=0 Then you should have Context path= ... -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 ===

Deploying war applications under a sub directory

2005-08-25 Thread Paul Austin
I'm trying to deploy a war based web application to tomcat 5.5.9 on Windows XP JDK 1.4.2 and am experiencing problems with the deployment when the application path includes a sub directory before the application directory (e.g. /subdir/app instead of /app). When deploying to /app (with the

Re: jndi question

2005-08-25 Thread Sean Rowe
tomcat 5, and jdk 1.5 Brian Cook wrote: It has probablly already been stated before somewhere in this thread but what versions of Tomcat and JDK are you using? Sean Rowe wrote: yes, there is a file in the /conf/Catalina/localhost directory for my app Brian Cook wrote: Sean, One

Single copy of Tomcat shared amongst multiple users

2005-08-25 Thread Franklin Phan
In RUNNING.txt, a paragraph says: In many circumstances, it is desirable to have a single copy of a Tomcat 4 binary distribution shared among multiple users on the same server. To make this possible, you must configure a CATALINA_BASE environment variable (in addition to CATALINA_HOME as

RE: jndi question

2005-08-25 Thread Caldarale, Charles R
From: Sean Rowe [mailto:[EMAIL PROTECTED] Subject: Re: jndi question tomcat 5, and jdk 1.5 Which Tomcat 5? The configuration for the 5.0 series is not necessarily the same as in 5.5. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus

Re: jndi question

2005-08-25 Thread Sean Rowe
right! sorry, it's 5.5.9 Caldarale, Charles R wrote: From: Sean Rowe [mailto:[EMAIL PROTECTED] Subject: Re: jndi question tomcat 5, and jdk 1.5 Which Tomcat 5? The configuration for the 5.0 series is not necessarily the same as in 5.5. - Chuck THIS COMMUNICATION MAY CONTAIN

Re: jndi question

2005-08-25 Thread Brian Cook
I thought of that but his code samples and configs are consitant with both the 5.0 and 5.5 docs. Which Tomcat 5? The configuration for the 5.0 series is not necessarily the same as in 5.5. - To unsubscribe, e-mail:

Re: jndi question

2005-08-25 Thread Brian Cook
Sean, I copied your code on top of mine and ran it with no problems. So you can probably eliminate the code as the issue. Also since the error is now on the java:comp resource and not your JNDI defined resources I think your context.xml and web.xml configuration is correct too. I googled

Re: sharing directory between web application

2005-08-25 Thread Mark Thomas
Davide Frigerio wrote: Hi, I would you like to know if it is possibile in Tomcat to share the same directory between two different web application? Thanks, Yes, if your OS supports symlinks. See the allowLinking property in http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html

Re: Passing parameter upon login using j_security_check

2005-08-25 Thread Mark Thomas
Mark Goking wrote: There was someone who posted 2 yrs ago about a fix for this. But it involved modifying the source code of SavedRequest.class in the catalina.jar Here is the url of that post http://sourceforge.net/tracker/?group_id=59484atid=491164func=detaila id=766413 I went to tomcat

Re: jndi question

2005-08-25 Thread Sean Rowe
i do have those files. i'll remove them and see what happens. i really appreciate the help. sean Brian Cook wrote: Sean, I copied your code on top of mine and ran it with no problems. So you can probably eliminate the code as the issue. Also since the error is now on the java:comp

Re: Integrating two applications

2005-08-25 Thread Mark Thomas
[EMAIL PROTECTED] wrote: Hello: I have two applications that have front-ends developed using the struts framework. They both run on weblogic application servers. Each application has its own controller. They operate in two different physical environments. In the MVC paradigm, it's two

Re: 10 connection limit with IIS and JK/ISAPI 1.2.14

2005-08-25 Thread Mark Thomas
doc-quote src=http://jakarta.apache.org/tomcat/connectors-doc/config/workers.html; Cachesize defines the number of connections made to the AJP backend that are maintained as a connection pool. It will limit the number of those connection that each web server child process can made. Cachesize

Thread Security ON IBM z/OS

2005-08-25 Thread Bovy, Stephen J
I am running tomcat on z/OS using JZOS. I would like to create a thread security context thru jni using pthread_security_np(). I have the following questions: 1) Does tomcat create a thread when it processes a client request ?? 2) Can tomcat create a session where one thread processes all

Re: Malformed URL Exception: unknown protocol: c

2005-08-25 Thread Mark Thomas
I assume becuase the url you pass it starts c:\ as that is the start of the XML_WORK_PATH. You need to prefix it with file:/// (or however many slashes you need to get this to work in windows). Mark Franklin Phan wrote: I use Windows XP Pro. My JAVA_HOME environment variable points to

Re: Yahoo!

2005-08-25 Thread support
Try this.

Re: Single copy of Tomcat shared amongst multiple users

2005-08-25 Thread Mark Thomas
Franklin Phan wrote: In RUNNING.txt, a paragraph says: In many circumstances, it is desirable to have a single copy of a Tomcat 4 binary distribution shared among multiple users on the same server. To make this possible, you must configure a CATALINA_BASE environment variable (in addition to

Automatic deploy of updated war deletes the context file

2005-08-25 Thread Paul Austin
When I copy an updated copy of a war file that was deployed with a context.xml file in the META-INF directory and also I have a copy of the context.xml in the conf/Catalina/host directory the deployer just deletes the context altogether and doesn't reploy the application. How is this supposed to

Clustering problems

2005-08-25 Thread Randy Paries
Hello I have two tomcat servers (flanders and krusty) Their server.xmls are below they have two nic cards. The incoming http requests come in via the 192.168 ips and go out the real ips 66.208 the 192.168 nics are on a gigbit network When my servers get really busy i messages in the log file

RE: Malformed URL Exception: unknown protocol: c

2005-08-25 Thread Jay Burgess
First, I assume you mean CLASSPATH and /lib, or PATH and /bin, but not CLASSPATH and /bin? Second, your situation has me puzzled. Mark's answer appears correct, as unknown protocol: c is typically the C:\ of a Windows filesystem path. And checking the documentation, StreamSource requires a URI,

Re: Malformed URL Exception: unknown protocol: c

2005-08-25 Thread Franklin Phan
To make things a bit more puzzling, I have a different app inside the same Tomcat 4.1.18 that uses the same XSL Transform class under its own web app context. That app works without a hitch. Why is that? Jay Burgess wrote: First, I assume you mean CLASSPATH and /lib, or PATH and /bin, but

RE: Malformed URL Exception: unknown protocol: c

2005-08-25 Thread Jay Burgess
Why don't you do: System.out.println(getServletContext().getRealPath(XML_WORK_PATH)); And see what it tells you. I'd be curious to see what you're passing to the StreamSource constructor, and how it differs from my string. Jay -Original Message- From: Franklin Phan [mailto:[EMAIL

Re: Malformed URL Exception: unknown protocol: c

2005-08-25 Thread Franklin Phan
Jay, I just looked again at my Environment Variables under the Advanced tab of my System Properties window. You are correct; it is the Path var that says %JAVA_HOME%\bin;...more paths. Franklin Jay Burgess wrote: First, I assume you mean CLASSPATH and /lib, or PATH and /bin, but not

Re: Malformed URL Exception: unknown protocol: c

2005-08-25 Thread Franklin Phan
Jay, I did that just last night. I got: C:\Program Files\Apache Group\Tomcat 4.1\webapps\htmaint\WEB-INF\work_xml Franklin Phan Cygna Energy Services www.cygna.net Jay Burgess wrote: Why don't you do: System.out.println(getServletContext().getRealPath(XML_WORK_PATH)); And see what it

OT: soap interface

2005-08-25 Thread Maarten Janssen
Have someone of you a servlet implementing a SOAP interface? For a job I must implement a SOAP interface, thus calling a SOAP webservice and deling with the response. Regards, Maarten -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database:

Re: jndi question

2005-08-25 Thread Sean Rowe
brian, would you mind giving me a list of the applicable jar files you have in your web-inf/lib folder? i removed the files below, and made sure the files naming-factory and naming resources were in my common/lib folder. now i'm getting this stack exception: javax.servlet.ServletException:

Custom tag library packaged within a jar and Tomcat 5.5.9

2005-08-25 Thread Seva Popov
Hi, I have the JAR file with the custom tag library in META-INF/tlds directory. My test.jsp page: jsp:root xmlns:jsp=http://java.sun.com/JSP/Page; xmlns:ui=http://www.metatv.com/common/ui/tags-test; version=2.0 test:print/ /jsp:root The following exception is raised when I

Re: Automatic deploy of updated war deletes the context file

2005-08-25 Thread Hassan Schroeder
So Paul Austin says: Doctor, When I copy an updated copy of a war file that was deployed with a context.xml file in the META-INF directory and also I have a copy of the context.xml in the conf/Catalina/host directory the deployer just deletes the context altogether and doesn't reploy the

Re: jndi question

2005-08-25 Thread Brian Cook
Sean, Where the files you deleted in WEB-INF/lib or commons/lib? You should have naming-factory.jar and naming-resources.jar in common/lib/. Or somewhere in the class path. WEB-INF/lib is just another location in the class path you can add extra packages your apps may need access to.

Re: Automatic deploy of updated war deletes the context file

2005-08-25 Thread Paul Austin
Right but where should it go so that tomcat doesn't delete it? I've tried setting the deployXML=false on the host and having it just in the conf/Catalina/host directory (which is my preferred location), just in the war file and all various combinations. Paul On Thu, 2005-08-25 at 15:44 -0700,

Setting up mutiple Tomcats as services

2005-08-25 Thread Franklin Phan
I installed two instances (two separate installations) of Tomcat 4.1.18 onto my computer. How do I have them both as services that start automatically whenever my machine starts? I use Windows XP. Thanks. - To unsubscribe,

Re: Automatic deploy of updated war deletes the context file

2005-08-25 Thread Hassan Schroeder
Paul Austin wrote: Right but where should it go so that tomcat doesn't delete it? I've tried setting the deployXML=false on the host and having it just in the conf/Catalina/host directory (which is my preferred location), just in the war file and all various combinations. I've used both

JAASRealm's useContextClassLoader flag is misleading

2005-08-25 Thread Seva Popov
Hi, I believe the name of the JAASRealm's useContextClassLoader flag (and the relevant Tomcat 5.5.* documentation) is misleading. Let's look at the source code: org.apache.catalina.realm.JAASRealm: ... // What if the LoginModule is in the container class loader ? ClassLoader

Re: newbie with a short question

2005-08-25 Thread nick sturm
ok, I have done the two things on that page: renamed the serverlet and deleted the comments around the cgi section of the web.xml config file. I created a directory (cgi-bin) under root and under WEB-INF neither of which would execute the batch file when I link to them. it would just open the