RE: Upgrading Tomcat 5

2003-07-15 Thread Ralph Einfeldt
I prefer a different setup. We separate the tomcat installation from the site. With this approach the conf files are placed outside of the tomcat directory tree. As long as the config files are compatible, an upgrade is just a matter of setting a different CATALINA_HOME. Althoug we didn't use

Tomcat 4.1.24 + Security Manager + weird Exceptions

2003-07-15 Thread Haug Thomas
Hi everybody, I am experiencing some strange behaviour with Tomcat 4.1.24 running with a SecurityManager. The system is running on Solaris 8 using Jdk 1.4.1_02 and/or 1.4.2 Our software seems to use up all available file descriptors. If then tomcat tries to accept a new request the IO system

Getting problem in updating WAR files

2003-07-15 Thread bas perumal
Hi All, For Each version, I have to update the WAR file with cab files. So I used loop, for each version the loop will call the target where i am updating the WAR file. the problem is , first time (first version) i am able to update the WAR file with the cab files but for the other versions

when the browser back button is clicked how can i get the previous page to be displayed instead of a content expired message?

2003-07-15 Thread Chris Woollard
We have a problem where when the back button is pressed in the browser it displays a This page has expired message. How can i get tomcat to display the previous page correctly? The Web server is IIS5 with the redirector 2 connector with tomcat 4.1.24 thanks chris

I'm still officially lost with mod_jk

2003-07-15 Thread Werner van Mook
Hi, I changed some settings as some of you suggested. Still no luck. - remove JkMount from global configuration. JkMount directives are VirtualHost-specific. It's removed. - verify the ServerName in httpd.conf matches the name in your Host container in server.xml Done. - change your worker

Re: Servlet Context Listener problem...

2003-07-15 Thread Jon Wingfield
Is that the entirety of your web.xml? The error looks like the parser can't find the definition of the listener element, it hasn't even got to the point of worrying about element order yet. Have you got an xml prolog and a doctype at the top of the file? eg: ?xml version=1.0

Re: Re: mod_jk round robin problem stateless session beans

2003-07-15 Thread Simon Pabst
Thanks for you wisdom guys :-) I'll try and test if Apache 2 with worker mpm works better, although i still suspect the stateless session beans are part of the problem. Since like i said with sticky_session off or the SessionExample with sticky_session on the round robin seems to works fine.

help!

2003-07-15 Thread Steven Chee
i just started using J2EE. i encountered some problem when starting my JSP. when i'm using a data connection with my database, its work fine but if i change to data source (jndi), my jsp could not load and display the following error

Ajp Connector Replacement

2003-07-15 Thread Holden Robbins
Hello, I was wondering should I be using something other than Ajp to connect IIS to Tomcat 4.0.2 beta 2? Ajp is crashing with a NumberFormatException when I use Siteminder to do access control on some of the servlets I'm using. It looks like Ajp doesn't handle very large header fields very

Using JNI in WebServices with Tomcat

2003-07-15 Thread Grossert Alexander EXT
Hi there! I'm working on a project with WebServices were I need to implement native code into my java app. At the beginning I only had one function calling getpid() from the unistd.h Library and everything worked fine. But now I enlarged the code a little bit and everything I receive is a

Re: Upgrading Tomcat 5

2003-07-15 Thread Tim Funk
I haven't played (much) with the new deployer functionality yet. So I am unfamiliar with the minor details (and issues) of the path based dependencies. Running a script on config files is not a big deal for an upgrade. Most commercial software probably does that with (or without) our

Re: Tomcat 4.1.24 + Security Manager + weird Exceptions

2003-07-15 Thread Tim Funk
- man ulimit - Google (java Too many open files solaris) -Tim Haug Thomas wrote: Hi everybody, I am experiencing some strange behaviour with Tomcat 4.1.24 running with a SecurityManager. The system is running on Solaris 8 using Jdk 1.4.1_02 and/or 1.4.2 Our software seems to use up all available

Re: Ajp Connector Replacement

2003-07-15 Thread Tim Funk
The Coyote connectors. http://jakarta.apache.org/builds/jakarta-tomcat-connectors/coyote/release/v1.0-rc2/ -Tim Holden Robbins wrote: Hello, I was wondering should I be using something other than Ajp to connect IIS to Tomcat 4.0.2 beta 2? Ajp is crashing with a NumberFormatException when I

Re: tomcat startup

2003-07-15 Thread Souren Sinha
Hi, I am trying to run it on a desktop that is on a network...in fact it acts as the gateway to the net too. As per my network settings, I have TCP/IP installed and after having done a netstat I can confirm that nothing else is listening on port 8080. Just for the sake of it, I tried running on

tomcat-3.3.2 dev 12. July 2003

2003-07-15 Thread Power-Netz \(Schwarz\)
[EMAIL PROTECTED] /java]# less /var/log/tomcat.log Exception in thread main java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at org.apache.tomcat.util.compat.Jdk11Compat.clinit(Jdk11Compat.java:77) at org.apache.tomcat.startup.Main.clinit(Main.java:153) [EMAIL

[jk_ajp13_worker.c (209)]: connection_tcp_get_message: Error - Wrong message format

2003-07-15 Thread Sergio Vigo
Hi! I triying to install apache and tomcat in redhat 7.2 but when trying to make work them I get this messages. [jk_ajp13_worker.c (209)]: connection_tcp_get_message: Error - Wrong message format The versions installed are: apache-1.3.27-1.7.2 tomcat-mod-3.2.1-1 Thnks Sergio Vigo

RE: RPM Pacakages for RHLinux

2003-07-15 Thread Zille Hassan
Dear Hari Below is the link where you can get the RPM for jdk1.4.1_03. You can download it and use it on any linux platform let it be SuSE or Ret Hat or Mandrake. As for Tomcat Ver 4 , unfortunately there is no RPM that I am aware of available for linux, you have got to download the latest

Apache Tomcat/4.0.1 - HTTP Status 404

2003-07-15 Thread Julio Lopez Marquez
Hello! I triying to install an application, but when i call it, send the message Apache Tomcat/4.0.1 - HTTP Status 404 - /mafi type Status report message /mafi description The requested resource (/mafi) is not

JK2 problems

2003-07-15 Thread Werner van Mook
Hi Again, after a not succesfull attempt to get mod_jk working I'm now trying to get mod_jk2 to work. Apache 1.3.20 tomcat 4.1.24 linux customized version of RedHat 2.2.16C35_III It's a sun cobalt box somewhere in europe. This means it's not in my room so I can't touch the box or do anything

Re: Apache Tomcat/4.0.1 - HTTP Status 404

2003-07-15 Thread Daniel Zhang
Check your server.xml file under TOMCAT_HOME/conf. You need to add a Context for your /mafi path. Julio Lopez Marquez wrote: Hello! I triying to install an application, but when i call it, send the message Apache Tomcat/4.0.1 - HTTP Status 404 - /mafi

Re: Newbie question on Tomcat security

2003-07-15 Thread John Turner
First, no direct requests for anything under WEB-INF is allowed. Second, check out the welcome-file element in web.xml. Make sure it says index.jsp. Third, check out the listings parameter, make sure it is set to off or false. Fourth, TURN OFF the Invoker, and DON'T use it. Fifth, use the

Re: Please help with unusual configuration

2003-07-15 Thread John Turner
I typically do: NameVirtualHost * VirtualHost * I don't put port numbers on IP addresses in VirtualHost containers, I don't even use IP addresses there. VirtualHost * ServerName server1.host.com /VirtualHost VirtualHost * ServerName server2.host.com /VirtualHost John On Mon, 14 Jul

configuration problem

2003-07-15 Thread awischer
Hi all, I'am struglling with an application using Lotus Domino Taglibs. When accessing the jsp i always get a tomcat error page telling: ... org.apache.jasper.JasperException: no lsxbe in java.library.path at

Re: RPM Pacakages for RHLinux

2003-07-15 Thread Brendan
java.sun.com for the JDK - personally I like the tar better, but its preference for Tomcat http://apache.mirrorcentral.com/dist/jakarta/tomcat-4/binaries/ Monday, July 14, 2003, 5:44:35 PM, you wrote: where can I download rpm file for JDK and Tomcat on Red Hat Linux 7.1 I tried rpmfind.net

Re: virtual hosts in Tomcat and Apache

2003-07-15 Thread John Turner
Yes, in general you need a VirtualHost in httpd.conf for all virtual hosts in server.xml. Otherwise, AFAIK, Tomcat will use the defaultHost defined in the Engine container, which is typically set to localhost by default. John On Tue, 15 Jul 2003 13:17:03 +1000, [EMAIL PROTECTED] wrote: Hi

Re: RPM Pacakages for RHLinux

2003-07-15 Thread John Turner
Complete HOWTO, step by step: http://www.johnturner.com/howto This has been posted MANY times, do yourself a favor and check archives and Google before posting. John On Mon, 14 Jul 2003 21:44:35 +, Hari Om [EMAIL PROTECTED] wrote: where can I download rpm file for JDK and Tomcat on Red

Re: JK2 problems

2003-07-15 Thread John Turner
OK, now we have more information. Apache 1.3.20? Godd luck getting mod_jk or mod_jk2 to work. You will need to build your own connector from source, and if it were me, I wouldn't waste any time whatsoever on JK2 with 1.3.20. Even JK is dicey. There is a complete Linux HOWTO here:

AW: configuration problem

2003-07-15 Thread Grossert Alexander EXT
Do you wrote the application by yourself, or do you have the source code at least? If so, youo could go to the position where your shared library is loaded. It should look like this: static{ System.loadLibrary(xmlpar); } If you change this to

Re: How to perform uri mapping with jk2

2003-07-15 Thread John Turner
I have no idea. I don't use JK2. My point was that in server.xml, a URL (Context path) can point to any docBase. John On Tue, 15 Jul 2003 09:05:15 +0800, Kent Tong [EMAIL PROTECTED] wrote: John Turner wrote: mod_rewrite mod_jk isn't going to rewrite URLs for you. Alternatively, in Tomcat's

Re: I'm still officially lost with mod_jk

2003-07-15 Thread John Turner
We (or at least I) need more information. Versions? Output of apachectl configtest? etc. etc. etc. John On Tue, 15 Jul 2003 08:55:57 +0200, Werner van Mook [EMAIL PROTECTED] wrote: Hi, I changed some settings as some of you suggested. Still no luck. - remove JkMount from global

Configuring SSL in Tomcat 3.3.1 with JDK 1.3.1

2003-07-15 Thread sankara
Hi all, I have problems in setting up SSL in Tomcat 3.3.1 and the JDK used is 1.3.1. Steps followed: --- I have downloaded the JSSE jar files and placed them in the %JAVA_HOME%/jre/lib/ext My server.xml's SSL config. part is as follows: Http10Connector port=8443

RE: Configuring SSL in Tomcat 3.3.1 with JDK 1.3.1

2003-07-15 Thread Abid Ali Teepo
If this is similiar to version 4 i think you miss a password to your keystore. The default in version 4 is changeit. You must add keypass=changeit, or your password, to your server.xml. Put it right after keystore. And i think it's clientAuth, not authclient as in your server.xml and XML is

Re: AW: configuration problem

2003-07-15 Thread awischer
both library's are precompiled and are delivered as part of the domino server without sourcecode. So, there is no chance to change it. Adding the library path to CLASSPATH dosen't really help. This is the part of catalina.sh i've changed for getting the second error message: ---schnipp--

RE: Tomcat 4.1.24: file access problem?

2003-07-15 Thread Shapira, Yoav
Howdy, It appears to be a Clickshare problem: ask them. Yoav Shapira Millennium ChemInformatics -Original Message- From: The Wolf [mailto:[EMAIL PROTECTED] Sent: Monday, July 14, 2003 6:20 PM To: [EMAIL PROTECTED] Subject: Tomcat 4.1.24: file access problem? Hi, I am running Tomcat

AW: AW: configuration problem

2003-07-15 Thread Grossert Alexander EXT
I'm sorry! Then I don't have an idea either. -Ursprungliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 15. Juli 2003 14:53 An: Tomcat Users List Betreff: Re: AW: configuration problem both library's are precompiled and are delivered as part of the

SSL and mod_jk setup

2003-07-15 Thread Leander Jedamus
Hi! I have followed the paper from John Turner http://www.johnturner.com/howto/apache2-tomcat4112-sol8-howto.html and everything is working. Now I want to have https://localhost/examples/ working. How can I do that? Thanks in advance Leander -- Leander Jedamus Presse- und Öffentlichkeitsarbeit

tomcat's webdav and Premature End of File error ...

2003-07-15 Thread Dinh, Chinh
Hi , I am testing Tomcat's webdav and could open the webdav as a web folder. When I double clicked on a MSOffice (MSWord, PPT, etc.) from the browsed folder, the files could be opened fine. However, with any other files (zip, pdf, txt, xml), it gave me the error : [Fatal Error] :-1:-1:

Re: RPM Pacakages for RHLinux

2003-07-15 Thread Matthew Budzik
try java.sun.com for the JDK and www.apache.org for tomcat you might not be able to get rpm's for the Tomcat but you will at least get something to compile [EMAIL PROTECTED] 07/14/03 04:44PM where can I download rpm file for JDK and Tomcat on Red Hat Linux 7.1 I tried rpmfind.net

Tomcat 4: howto get (connector's) port in Servlet.init()

2003-07-15 Thread Hans Schlenker
Hi! Is there a way (apart from scanning the log files or reading config files) to get the port of the Connector of a Servlet from within Servlet.init()? Hans Schlenker - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: Configuring SSL in Tomcat 3.3.1 with JDK 1.3.1

2003-07-15 Thread sankara
yes. it worked with the changes you have mentioned. Thanks-Sankaran. -Original Message- From: Abid Ali Teepo [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 6:17 PM To: Tomcat Users List Subject: RE: Configuring SSL in Tomcat 3.3.1 with JDK 1.3.1 If this is similiar to version 4

RE: tomcat-3.3.2 dev 12. July 2003

2003-07-15 Thread Sudhir Movva
Check and see if you have commons-logging-api.jar under the %CATALINA_HOME%/common/lib directory. If you don't, you can download one at http://mirrors.ccs.neu.edu/Apache/dist/jakarta/commons/logging/binaries/ -Sudhir. -Original Message- From: Power-Netz (Schwarz) [mailto:[EMAIL

Re: Tomcat 4: howto get (connector's) port in Servlet.init()

2003-07-15 Thread Tim Funk
No. A servlet can be served by any port that the server is configured to. For example, in a dev environment - I run apache on 80 and the standalone connectors on 8080. So in the dame tomcat instance, I can issue one request to port 80, then another to 8080 for the same servlet. You can only

RE: Configuring SSL in Tomcat 3.3.1 with JDK 1.3.1

2003-07-15 Thread Murray
My server.xml file contains the following connector stanza and works... !-- Define an SSL HTTP/1.1 Connector on port 8443 -- Connector className=org.apache.catalina.connector.http.HttpConnector port=8443 minProcessors=5 maxProcessors=75 enableLookups=true

AW: tomcat-3.3.2 dev 12. July 2003

2003-07-15 Thread Power-Netz \(Schwarz\)
Check and see if you have commons-logging-api.jar under the %CATALINA_HOME%/common/lib directory. If you don't, you can download one at http://mirrors.ccs.neu.edu/Apache/dist/jakarta/commons/logging/binaries/ -Sudhir. thx..

Re: JK2 problems

2003-07-15 Thread Werner van Mook
Hi John, Thanx for your response. I did all that is in your HOWTO. I still have no luck with it. I downloaded : mod_jk-1.3-eapi.so from jakarta.apacheetc and renamed it to mod_jk.so. Could you please have look ? Or some else of course. This is a piece of my localhost_log file : 2003-07-15

Re: JK2 problems

2003-07-15 Thread John Turner
Sounds like you have more than one copy of Apache running, and the copy of Apache you are modifying isn't the running copy. Also, change your JkLogLevel to info. Also, please post the output of apachectl configtest. John On Tue, 15 Jul 2003 15:44:24 +0200, Werner van Mook [EMAIL PROTECTED]

RE: AW: configuration problem

2003-07-15 Thread Ralph Einfeldt
Try to strace the tomcat process to find out where tomcat is looking for the library. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 2:53 PM To: Tomcat Users List Subject: Re: AW: configuration problem both library's are

Logging off container authenticated user

2003-07-15 Thread Christian J. Dechery - ACCENTURE
I finally got a FORM-based authentication from the container (in this case, Tomcat) working. But I have a little doubt, how can I logoff this user? Cuz in my system, the login doesn't deppend only on authenticating him for username and password, I must validate some other stuff, so it would be

Re: RPM Pacakages for RHLinux

2003-07-15 Thread Boris Folgmann
Hari Om wrote: where can I download rpm file for JDK and Tomcat on Red Hat Linux 7.1 I tried rpmfind.net freshrpms.net and rpmseek.com Have you checked jpackage.org? cu, boris - To unsubscribe, e-mail: [EMAIL

RE: AW: configuration problem

2003-07-15 Thread awischer
hm, may be it sound's like I'm a little bit stupid but... can you tell me howto or even better where to read? thanx andreas

RE: AW: configuration problem

2003-07-15 Thread Ralph Einfeldt
strace is a standard linux program that prints out system calls. (Like truss under solaris) You can either attach it to a running process or trace a program from scratch. Sources for information: man strace http://www.wi.leidenuniv.nl/~wichert/strace/

SSL and mod_jk not working

2003-07-15 Thread Leander Jedamus
Hi! I installed mod_jk and it is working for http, but not for https. In catalina.out I have: ... Starting service Tomcat-Standalone Apache Tomcat/4.1.24 15.07.2003 15:52:51 org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on port 8080 15.07.2003 15:52:52

Re: JK2 problems

2003-07-15 Thread Werner van Mook
Call me stupid if you wish, Where do I have to change the JkLogLevel ? I did it in the auto generated file without restarting tomcat ( then it will be overwritten. I know) I do not have apachectl on my machine. so I can't do a config test. Sorry. If I want this I have to reinstall Apache. I

Remote debugging on linux for TOMCAT 4.1.24

2003-07-15 Thread Gustavson, John (IDS ECCS)
The documentation states add SET CATALINA_OPTS=-server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000 to catalina.bat. Does anyone know what the correct procedure for linux is? Regards John Gustavson Enterprise Central Software Services

RE: SSL and mod_jk not working

2003-07-15 Thread Abid Ali Teepo
Have you uncommented the SSL Connector in tomcat's server.xml file ? I can't see any ssl connector starting up at all... If you go to your tomcat's homepage, look up the SSL-HowTO -Original Message- From: Leander Jedamus [mailto:[EMAIL PROTECTED] Sent: 15. juli 2003 16:09 To: Tomcat

Re: SSL and mod_jk not working

2003-07-15 Thread John Turner
SSL would be configured in httpd.conf, not server.xml, if they are using mod_jk. John On Tue, 15 Jul 2003 16:28:06 +0200, Abid Ali Teepo [EMAIL PROTECTED] wrote: Have you uncommented the SSL Connector in tomcat's server.xml file ? I can't see any ssl connector starting up at all... If you go

Tomcat jsp file is locked on win32

2003-07-15 Thread Vladimer Shioshvili
Hello all, I am not sure what could be the reason for this behavior. I did not have much luck finding any information on the web about this either. One particular jsp file is being locked and cannot be deleted. I am trying to update the file and replace with an updated copy from CVS, but

Re: Remote debugging on linux for TOMCAT 4.1.24

2003-07-15 Thread Larry Meadors
I use './catalana.sh jpda run' fron the $CATALINA_HOME/bin directory. Larry [EMAIL PROTECTED] 07/15/03 8:20 AM The documentation states add SET CATALINA_OPTS=-server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000 to catalina.bat. Does

RE: RPM Pacakages for RHLinux

2003-07-15 Thread Michele Neylon:: Blacknight Solutions
Hi If you are looking for JDK you would need to look on sun.com For Tomcat you'll find all the rpms on apache.org under the tomcat project download section. RH 7.1 is rather old. I would upgrade if at all possible. M Mr. Michele Neylon Blacknight Solutions http://www.blacknightsolutions.com

Re: Tomcat jsp file is locked on win32

2003-07-15 Thread Tim Funk
Check bugzilla. There was a conversation about this (don't know if it was fixed or not - or for which release). It has to do with after files reaching a certain size - then the file is read as stream and the File descriptor is not closed causing the OS to keep a lock. -Tim Vladimer Shioshvili

Tomcat as a service - starting up with security

2003-07-15 Thread Pooleery, Manoj
Hi, I have a requirement like this - I want to install Tomcat as a service which when starts up, should be in the secure mode. I want to do a cleanup of the logs/localhost directories when I do so. (Currently, I have a batch file which does it for me). I could get hold of information to start

Migration problem (JServ - Tomcat)

2003-07-15 Thread Yiannis Mavroukakis
Hi everyone, I'm trying to migrate an app from Jserv to Tomcat 4.1.24. Everything up to now seems to be a success aside from this: java.lang.VerifyError: (class: org/apache/xalan/xpath/xdom/XercesLiaison, method: parse signature: (Lorg/xml/sax/InputSource;)V) Incompatible object argument for

Re: JK2 problems

2003-07-15 Thread Werner van Mook
I have a bad feeling about this. After going to the advised webpage I restarted apache and got : Cannot load /etc/httpd/modules/mod_webapp.so into server: /lib/libc.so.6: version `GLIBC_2.2' not found (required by /etc/httpd/modules/mod_webapp.so) When trying to install glibc 2.2 I got all

[ANN] Tomcat 5.0.4 Alpha released

2003-07-15 Thread Remy Maucherat
Tomcat 5.0.4 Alpha is now available for testing. Please refer to the changelog included in the release for the list of changes. Downloads: http://jakarta.apache.org/builds/jakarta-tomcat/release/v5.0.4-alpha/ Remy - To

Re: Servlet Context Listener problem...

2003-07-15 Thread Mufaddal Khumri
Yes , my listener has been declared before anything else under web-app .. the problem persists .. any clues ? On Tuesday, July 15, 2003, at 07:00 AM, Januski, Ken wrote: Listeners must be declared before any servlets in web.xml. I'd check that first. -Original Message- From:

RE: Servlet Context Listener problem...

2003-07-15 Thread Bodycombe, Andrew
Make sure your DTD is the correct servlet 2.3 DTD. The listener element was introduced in version 2.3 of the servlet spec. -Original Message- From: Mufaddal Khumri [mailto:[EMAIL PROTECTED] Sent: 15 July 2003 04:58 To: Tomcat Users List Subject: Re: Servlet Context Listener problem...

Re: Servlet Context Listener problem...

2003-07-15 Thread John Turner
Is declared before anything else a literal statement? Are you following the DTD? listener comes after several other elements, it can't come first unless you don't use any of the preceeding elements at all. John On Tue, 15 Jul 2003 09:27:39 +0530, Mufaddal Khumri [EMAIL PROTECTED] wrote:

Dispatching Request to Another Servlet Context

2003-07-15 Thread Paresh Joshi
Hi, I want to forward a request from one servlet context to a JSP page in another servlet context. Both the applications are running on same tomcat. I would appreciate if any one can shed some light on how to do this. Thanks, Paresh

Re: RPM Pacakages for RHLinux

2003-07-15 Thread Yu Meng Chong
Hari Om wrote: where can I download rpm file for JDK and Tomcat on Red Hat Linux 7.1 I tried rpmfind.net freshrpms.net and rpmseek.com I use the rpm version of IBM's Java, which you can download from : https://www6.software.ibm.com/dl/lxdk/lxdk-p what is better way to INSTALL above pacakages on

Resolved Re: Servlet Context Listener problem...

2003-07-15 Thread Mufaddal Khumri
CHANGED the reference to the dtd and it worked. That was the error because I was referencing the old dtd which does not recognize listener or listener-class. I had: ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN

RE: Servlet Context Listener problem...

2003-07-15 Thread Sudhir Movva
If you are using ant, this target can validate your web.xml and see if the listener is in the right place according to the 2.3 specification. Run the target and check it out. target name=validate-web-xml description=validates the web.xml file xmlvalidate file=WEB-INF/web.xml warn=true

Re: SSL and mod_jk not working

2003-07-15 Thread Simon Pabst
Where do you have JkMount for examples Context? In global httpd.conf or in a VirtualHost for Port 80? Try putting the JkMount into the SSL VirtualHost too (which is configured in apache2/conf/ssl.conf) At 16:09 15.07.2003 +0200, you wrote: Hi! I installed mod_jk and it is working for http, but

RE: Dispatching Request to Another Servlet Context

2003-07-15 Thread Shapira, Yoav
Howdy, ServletContext myContext = getServletContext(); ServletContext otherContext = myContext.getContext(/otherWebApp); RequestDispatcher rd = otherContext.getRequestDispatcher(/pathUnderOtherWebApp); rd.forward(request, response); RTFM. Yoav Shapira Millennium ChemInformatics -Original

Tomcat load not distributed equally by Apache

2003-07-15 Thread Scott Burns
All: We have Apache 2 load balancing two tomcat 4.1.x workers. There are two primary applications running under tomcat. One app has long session times - eg the user logs-in in the morning and doesn't end their session until evening. The other app has short sessions - a connection is made, some

Re: Re: mod_jk round robin problem stateless session beans

2003-07-15 Thread Simon Pabst
I did a short test with Apache 2 worker mpm today and now mod_jk2 seems to distribute the sessions more evenly, will post more results tomorrow. So round robin code is broken with current mod_jk1/2 and prefork Apache (1.3.27 and default Apache 2 configuration) Unfortunately you can't use Apache

RE: Dispatching Request to Another Servlet Context

2003-07-15 Thread Paresh Joshi
Hi, I am still stuck myContext.getContext(/otherWebApp) is returning me a null object. I have changed the context setting in server.xml for myWebAPP and otherWebAPP as crossContext=true. Do I need to do something else? Thanks, Paresh -Original Message-

Re: Tomcat load not distributed equally by Apache

2003-07-15 Thread Simon Pabst
We had the same problem, see this thread http://www.mail-archive.com/[EMAIL PROTECTED]/msg97638.html Unless mod_jk Developers fix this, the only possible solution seems to build and use Apache 2 with Multithreading support (i used the worker mpm, perchild should work too, see

RE: Tomcat load not distributed equally by Apache

2003-07-15 Thread Scott Burns
Thanks very much Simon. :) We will take a look at this. Best Regards, Scott -Original Message- From: Simon Pabst [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 1:25 PM To: Tomcat Users List Subject: Re: Tomcat load not distributed equally by Apache We had the same problem,

session timeout in tomcat

2003-07-15 Thread Ravi Pachipala
Hi, I am using Tomcat 4.1.24. After running some tests/sessions sequentially, the Tomcat is exiting with outofmemory error. What are the paramters that control session timeout in Tomcat? I see the following paratmeters in server.xml but none of these seem to relate to idel timeout. Thanks Ravi

RE: session timeout in tomcat

2003-07-15 Thread Shapira, Yoav
Howdy, session-config in web.xml. It's in the Servlet Specification. Yoav Shapira Millennium ChemInformatics -Original Message- From: Ravi Pachipala [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 3:27 PM To: '[EMAIL PROTECTED]' Subject: session timeout in tomcat Hi, I am

Re: Tomcat jsp file is locked on win32

2003-07-15 Thread Reginald Oake
Hello. I have found that under Windows file locks are not always released when a file is closed and the only way after this to release a file lock is to reboot the system. Sometimes file locks seem to clear on their own, other times I have to restart the computer to release a file lock (sometimes

Re: Upgrading Tomcat 5

2003-07-15 Thread Gerry Reno
Tim, For config files what about having Tomcat use variable constructions like we see in Ant scripts: $catalina.home, rather than fixed paths. Then Tomcat could write out server.xml with constructions like configFile=$catalina.home/conf/Catalina/www.vhost.com/ROOT.xml. This would make

Autodeploy WAR File to ROOT Context Problem

2003-07-15 Thread Aaron Longwell
I'm deploying a WAR file to the root context (path=). I've created the appropriate context XML file in the webapps dir and pointed it to a WAR (which I do NOT want to be expanded). It's working great... except for one thing: Tomcat is deleting the context XML file so that when I stop and

Re: Remote debugging on linux for TOMCAT 4.1.24

2003-07-15 Thread Norris Shelton
This works if you want to use the defaults. I usually connect via a socket via IntelliJ for remote debugging. I run on windows and have a startup_debug.bat file with the following contents: set JPDA_TRANSPORT=dt_socket set JPDA_ADDRESS=5005 call catalina.bat jpda start --- Larry Meadors

Re: Autodeploy WAR File to ROOT Context Problem

2003-07-15 Thread Aaron Longwell
OK, Tried again, and this time the file was not deleted not sure what happened last time. But now I'm getting the WAR autoDeployed according to both the context XML file AND as a war file to a directory with the same name as the WAR file. In other words, my webapp is now accessible via 2

Re: Autodeploy WAR File to ROOT Context Problem

2003-07-15 Thread John Turner
AFAIK, you have to stop putting your WAR file in /webapps. There should probably be a check, or something, though, so that Tomcat can tell if it has already deployed a webapp. John On Tue, 15 Jul 2003 13:59:24 -0600, Aaron Longwell [EMAIL PROTECTED] wrote: OK, Tried again, and this time the

Re: Autodeploy WAR File to ROOT Context Problem

2003-07-15 Thread Aaron Longwell
Is there a standard alternate location for the WAR file? John Turner wrote: AFAIK, you have to stop putting your WAR file in /webapps. There should probably be a check, or something, though, so that Tomcat can tell if it has already deployed a webapp. John On Tue, 15 Jul 2003 13:59:24 -0600,

Re: Autodeploy WAR File to ROOT Context Problem

2003-07-15 Thread John Turner
From the doc: The docBase attribute of this Context element will typically be the absolute pathname to a web applicationd directory, or the absolute pathname of a web application archive (WAR) file (which will not be expanded). With an absolute docBase, your WAR file can go anywhere...it

Apache + Tomcat+4.0.6 (unpackWARs not decompress)

2003-07-15 Thread Alvaro
Hello, I work with Apache + Tomcat 4.0.6 and I want deploy war file. The problem is that when I start Tomcat not decompress File.war and therefore Apache cannot respond static files (*.gif,*.jpg... static files) The option unpackWARs=true is not working??? As it is the problem? Why it

Re: Autodeploy WAR File to ROOT Context Problem

2003-07-15 Thread Aaron Longwell
I found out what caused the delete of the context XML file: It is deleted after removing the SoiledDove web application (in other words the webapp with the same name as the war... I think this may be because my war and xml have the same name: SoiledDove.xml., SoiledDove.war) Aaron Longwell

Question regarding jakarta-commons/fileupload

2003-07-15 Thread Jose Euclides da Silva Junior - DATAPREVRJ
Hi friends, can anybody help me? I am trying to retrieve fields and one file from a submitted form. Is it possible, if i use jakarta-commons/fileupload? Or, i should use O'reilly package. Code sample would be appreciated. Thanks in advance, Euclides.

contextDestroyed being called twice ???

2003-07-15 Thread Mufaddal Khumri
I have defined a listener class that implements: public void contextDestroyed(ServletContextEvent sce) { ... } The problem is this method is being called twice when i use the tomcat admin manager to reload the webapplication by clicking on the Reload link. Why does this happen ? Is this

IIS and Tomcat 4

2003-07-15 Thread BBui
Hi, I just installed Tomcat4 and IIS. I have set up IIS to redirect jsps to Tomcat with the isapi_redirect.dll and the arrow in the IIS property screen is up and green. When I accessed a jsp page in my localhost, I get a download confirmation screen instead of the page being served up. I can

Tomcat Site

2003-07-15 Thread John Lindley
Hi All. There is a site that has some info on Tomcat. They have some listings of programs and tools. Plus there is a support forum. Anyway, if you are looking for some Tomcat-related stuff or want to post a cool program, check them out. It's free to post. www.tomcatsolutions.com John

cannot load db driver in Tomcat 5.0.4

2003-07-15 Thread Raible, Matt
I'm trying to upgrade to Tomcat 5.0.4 and I'm getting the lovely error that I love so much: - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

cannot load db driver in Tomcat 5.0.4

2003-07-15 Thread Raible, Matt
I'm trying to upgrade to Tomcat 5.0.4 and I'm getting the lovely error that I love so much: java.sql.SQLException: Cannot load JDBC driver class 'null' This app works beautifully in Tomcat 4.1.24 and I can put the exact same directory, app.xml and jdbc driver in common/lib and it works. Has

RE: cannot load db driver in Tomcat 5.0.4

2003-07-15 Thread Raible, Matt
I found that adding log4j.jar to $CATALINA_HOME/common/lib solved my problem, but now I get the following error when I start Tomcat and there is no logging to catalina.out: log4j:WARN No appenders could be found for logger (org.apache.catalina.startup.Embedded). log4j:WARN Please initialize the

Re: Re: mod_jk round robin problem stateless session beans

2003-07-15 Thread NormW
Good morning Simon. Thanks for the research. Norm - Original Message - From: Simon Pabst [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 3:58 AM Subject: Re: Re: mod_jk round robin problem stateless session beans I did a short test with

Tomcat/Apache and mod_jk2

2003-07-15 Thread Daniel Herbison
I'm trying to install the mod_jk2 connector under Apache 1.3.27 and Tomcat 4.1.18. When I place the mod_jk2.so in apache/modules and run the apachectl configtest I get the error message: Syntax error on line 224 of /coi/home/apache/conf/httpd.conf: Cannot load

RE: session timeout in tomcat

2003-07-15 Thread Ravi Pachipala
Thanks. That works. Ravi -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 12:20 PM To: Tomcat Users List Subject: RE: session timeout in tomcat Howdy, session-config in web.xml. It's in the Servlet Specification. Yoav Shapira Millennium

  1   2   >