Re: SuSE 9.2 and Tomcat...

2004-11-25 Thread Harry Mantheakis
Thank you sharing this information. Harry Mantheakis London, UK Hi Again, Well after pulling my hair out and getting very frustrated I have finally fixed and documented everything that needs to be done in order to get Tomcat 5 working on SuSE 9.2. This seems a little strange since I am

Error in web.xml

2004-11-25 Thread akki
hi all i want to know whether there is some syntactical error in this web.xml file of my apps... ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app listener

RE: Tomcat 5.5.4 fails to recompile JSPs

2004-11-25 Thread Allistair Crossley
to me it sounds like you are compiling your jsps without a reloadable context. have you set reloadable=true on your Context .. element? Allistair -Original Message- From: Carlos A. Carnero Delgado [mailto:[EMAIL PROTECTED] Sent: 25 November 2004 06:08 To: [EMAIL PROTECTED]

RE: Error in web.xml

2004-11-25 Thread Allistair Crossley
you will need to tell us why you believe it is *not* valid. have you an error message to share? Allistair -Original Message- From: akki [mailto:[EMAIL PROTECTED] Sent: 25 November 2004 09:08 To: Tomcat Users List Subject: Error in web.xml hi all i want to know whether

Tomcat 5 Dies...

2004-11-25 Thread Quinton Delpeche
Hello Everybody, I have a strange issues, every 3 hours or so my Tomcat 5 server just dies but nothing is logged in any of the logs. I am not sure what the problem could be, has anyone else experienced this problem. The process on Linux stays up but none of the clients can connect to the

Working directory for tomcat service on W2K

2004-11-25 Thread Mark O'Driscoll
Is there any way to change this, when tomcat runs as a service, from c:\winnt\system32? TIA Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Working directory for tomcat service on W2K

2004-11-25 Thread Allistair Crossley
not sure about that, i assume you use the .exe. is there a particular issue it causes? however, we run Tomcat as a service but used the bin/service batch file to install it and this keeps it all contained wherever you installed Tomcat. Allistair -Original Message- From: Mark

RE: Error in web.xml

2004-11-25 Thread akki
thanks for reply the error message what i m getting in log file is Nov 25, 2004 2:30:36 PM org.apache.commons.digester.Digester error SEVERE: Parse Error at line 95 column 11: The content of element type web-app must match

RE: Error in web.xml

2004-11-25 Thread Allistair Crossley
yes, so the error tells you that you ordering of elements is wrong. check the order against (icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*

Re: Error in web.xml

2004-11-25 Thread Reynir r Hbner
display-name block should be before listeners block. hope it helps -reynir Allistair Crossley wrote: yes, so the error tells you that you ordering of elements is wrong. check the order against

RE: Error in web.xml

2004-11-25 Thread Allistair Crossley
i was trying to get him to think for himself, but yes. ;) Allistair -Original Message- From: Reynir r Hbner [mailto:[EMAIL PROTECTED] Sent: 25 November 2004 09:49 To: Tomcat Users List Subject: Re: Error in web.xml display-name block should be before listeners block. hope

Tomcat 5 Dies...

2004-11-25 Thread Quinton Delpeche
Okay, I have now narrowed the problem down to the following: WebappClassLoader: Failed to open JAR java.util.zip.ZipException: Too many open files So like what does this mean? I have and am busy googling... ...but I haven't been successful just yet. Q -- Quinton Delpeche Internal Systems

RE: Error in web.xml

2004-11-25 Thread akki
thanks to u all... for ur help Regards Akki Engineer ITX BHEL,HARDWAR Available at 5405,4553 The greatest mistake you can make in life is to be continually fearing you will make one -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Thursday, November

Re: Clustering in Tomcat

2004-11-25 Thread Faisal Abdullah
I don't know the answer to that, but here's a Cluster/Session Replication HOWTO, in case it might help. http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cluster-howto.html Regards, Faisal On Thu, 25 Nov 2004 09:36:52 +0530, Gaurav Vaish [EMAIL PROTECTED] wrote: Hi, I am facing an issue

error in tomcat

2004-11-25 Thread akki
hi all my apache error log file is showing the error after 5 minutes.. [Thu Nov 25 15:29:14 2004] [error] Error ajp_process_callback - write failed [Thu Nov 25 15:29:14 2004] [error] ajp13.service() ajpGetReply unrecoverable error 3 [Thu Nov 25 15:29:14 2004] [error] ajp13.service() Error

No more JK2 ?

2004-11-25 Thread Boulay Arnaud
Looking for some more details on this crucial subject. IMHO, the tomcat home site don't give clear information yet. MOD-JK replaced by MOD_JK2 in the past few year MOD_JK2 replaced by JK in the near future ??? I don't undestand, may you help me please. Regards, Arnaud

RE: No more JK2 ?

2004-11-25 Thread Allistair Crossley
http://jakarta.apache.org/tomcat/connectors-doc/jk2/index.html Allistair -Original Message- From: Boulay Arnaud [mailto:[EMAIL PROTECTED] Sent: 25 November 2004 10:29 To: [EMAIL PROTECTED] Subject: No more JK2 ? Looking for some more details on this crucial subject. IMHO, the

RE: Tomcat 5 Dies...

2004-11-25 Thread Carl Olivier
Increase the number of allowed file handles in your OS kernel settings. Google that for your particular OS. Carl -Original Message- From: Quinton Delpeche [mailto:[EMAIL PROTECTED] Sent: Thursday, November 25, 2004 12:09 PM To: [EMAIL PROTECTED] Subject: Tomcat 5 Dies... Okay, I

RE: Clustering in Tomcat

2004-11-25 Thread Dale, Matt
Have you got the distributable/ tag in your context's web.xml? Do all the objects in your session implement Serializable? -Original Message- From: Gaurav Vaish [mailto:[EMAIL PROTECTED] Sent: 25 November 2004 04:07 To: Tomcat Users List Subject: Clustering in Tomcat Hi, I am

Re: No more JK2 ?

2004-11-25 Thread Mladen Turk
Boulay Arnaud wrote: Looking for some more details on this crucial subject. IMHO, the tomcat home site don't give clear information yet. MOD-JK replaced by MOD_JK2 in the past few year MOD_JK2 replaced by JK in the near future ??? I don't undestand, may you help me please. Yes, that's true. JK2 is

jsp:forward and access log

2004-11-25 Thread LAM Kwun Wa Joseph
Hi, If I have X.jsp who is responsible for forwarding to Y.jsp using jsp:forward, can Tomcat logs the actual page (Y.jsp) who served the request in the access log, instead of X.jsp? Regards, Joseph Lam - To unsubscribe,

RE: jsp:forward and access log

2004-11-25 Thread Allistair Crossley
no, i believe the access log valve will log the request from the user's browser, therefore x.jsp will be logged, as y.jsp is gotten to by request forwarding from x.jsp. Allistair -Original Message- From: LAM Kwun Wa Joseph [mailto:[EMAIL PROTECTED] Sent: 25 November 2004 11:40 To:

Tomcat Sessions...

2004-11-25 Thread Quinton Delpeche
Hi, I have a friend who has a question for the list. One thing I have seen is that if I open 2 tabs in Firefox with the same app running and log in as different users, it works for a while and then, all of a sudden, both tabs have the same user information. I contacted the supplier of the

RE: Tomcat Sessions...

2004-11-25 Thread Dale, Matt
Firefox will share sessions between the tabs so i'm surprised this works at all. -Original Message- From: Quinton Delpeche [mailto:[EMAIL PROTECTED] Sent: 25 November 2004 11:44 To: [EMAIL PROTECTED] Subject: Tomcat Sessions... Hi, I have a friend who has a question for the list.

servlet config on apache 1.3 tomcat 3.3

2004-11-25 Thread Marek Podmaka
Hi! I'm trying to set up servlet access on one virtual host using apache 1.3.26, tomcat 3.3 and mod_jk 3.3, all on debian stable. Myself I don't use jsp or servlets, so I'm little confused with all those java-specific terms. I was trying to get it to work using many howtos (found by google), but

java.net.SocketException: socket closed Endpoint ServerSocket

2004-11-25 Thread Chirag
Software Installed -- jakarta-tomcat-5.5.2 JDK 1.5 IE 6.0SP1 Requirement The PC has Internet Connection. and we start the Tomcat Server. After that we try to see the site http://localhost:8080/ We get normal Tomcat Home Page ready Afterwards I

RE: java.lang.OutOfMemoryError: Java heap space

2004-11-25 Thread Ben Souther
On Thu, 2004-11-25 at 00:23, Lee Chin Khiong wrote: I'm using Tomcat 5, jdk1.5, running XP. This happen after a while and I didn't configure the memory, it's default. Tomcat 5.5, I assume. It could just be that your app needs more than the 64m than the JVM initially allots for itself. This is

Writing large file in HttpResponse

2004-11-25 Thread Rui Alberto L.
Hi all, sorry if this question is off topic, but I think that someone with good knowledge of the HTTP protocol might be able to help me. I'm using Apache cocoon 2.1.5.1 under Tomcat 5.0.25. Some time ago I wrote a Reader that reads from an InputStream and writes in the HTTP Response to the

RE: Writing large file in HttpResponse

2004-11-25 Thread du Plessis, Corneil C
You can use a bufferedwriter/stream around the response stream that will ensure regular flushes. I you know the exact size of the output you can use setContentLength on the response. -Original Message- From: Rui Alberto L. Gonçalves [mailto:[EMAIL PROTECTED] Sent: 25 November 2004 18:27

Re: Tomcat - problem starting service

2004-11-25 Thread Janet Ciavarelli
Hello. Thanx. I changed what you said under the Java tab and now it has the correct path. Now I try to start the tomcat service again, it won't start. I get an error message as below. Do you know what could be causing this? [2004-11-25 08:42:07] [173 javajni.c] [error] The specified module

Re: Working directory for tomcat service on W2K

2004-11-25 Thread Jacob Kjome
Assuming you are using Tomcat 5.x.xx, you can add the following to service.bat to set the working directory... set PR_STARTPATH=%CATALINA_HOME%\bin set PR_STOPPATH=%CATALINA_HOME%\bin I set it to Tomcat's bin directory since that is where it would be if running with the startup.bat file. Just

hard load balancing problem

2004-11-25 Thread Boulay Arnaud
Hello , a specific jk2+lb question please. Says that I have apache HTTP + 2 Tomcats Workers. Each workers is defined in lb group and manage the same webapp. - It works fine in optimal context (2 Tomcat + Apache run). - It works fine in 1 tomcat crash. But the problem is when the webapp is

Re: Tomcat - problem starting service

2004-11-25 Thread Janet Ciavarelli
The settings are: Java Virtual Machine: D:\Sun\AppServer\jdk\jre\bin\java.dll Java Classpath: D:\Apache Software Foundation\Tomcat 5.0\bin\bootstrap.jar Java Options: -Dcatalina.home=D:\Apache Software Foundation\Tomcat 5.0 -Djava.endorsed.dirs=D:\Apache Software Foundation\Tomcat

Re: Tomcat - problem starting service

2004-11-25 Thread Ben Souther
What are the settings now? I just looked on one of our windows boxes. These are the settings that are there by default. (obviously c:\davison\tomcat is our CATALINA_HOME) Java Virtual Machine: C:\j2sdk1.4.2_05\jre\bin\server\jvm.dll Java Classpath:

GlobalNamingResources

2004-11-25 Thread Phillip Qin
I setup a GlobalNamingResoruces entry in server.xml Resource name=mail/whatever auth=Container scope=Shareable type=javax.mail.Session/ ResourceParams name=mail/whatever parameter namemail.smtp.host/name valuemail.whatever.com/value

Re: Tomcat - problem starting service

2004-11-25 Thread Ben Souther
Which JDK did you install? On Thu, 2004-11-25 at 12:22, Janet Ciavarelli wrote: The settings are: Java Virtual Machine: D:\Sun\AppServer\jdk\jre\bin\java.dll Java Classpath: D:\Apache Software Foundation\Tomcat 5.0\bin\bootstrap.jar Java Options: -Dcatalina.home=D:\Apache Software

RE: GlobalNamingResources

2004-11-25 Thread Phillip Qin
I think I figured out what was wrong. The global should be mail/whatever. I can still use context lookup. Problem solved. -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: November 25, 2004 12:46 PM To: '[EMAIL PROTECTED]' Subject: GlobalNamingResources I setup a

[ANN] Tomcat 5.0.30-beta Released

2004-11-25 Thread Yoav Shapira
The Apache Jakarta Tomcat team is proud to announce the immediate availability of Tomcat 5.0.30-beta. The release contains a significant number of bug fixes, and we expect it to be ratified as a Stable release when the vote takes place next week as usual. Release notes:

web.xml / struts-config.xml

2004-11-25 Thread Brij Naald
Hi is it possible for a filter,a servlet or just another class on the server to get to the web.xml file? Thanks! _ Kies nu de Site Van Het Jaar en win prachtige prijzen! http://www.sitevanhetjaar.be/

Tomcat session continuation from https to http

2004-11-25 Thread Bob Feretich
The Tomcat code distinguishes between http and https accesses, with respect to session continuation. Specifically, when HttpServeletResponse.encodeRedirectURL(} or HttpServeletResponse.encodeURL() are called for URL rewriting (client has cookies turned off), if the current servlet is accessed via

RE: web.xml / struts-config.xml

2004-11-25 Thread Phillip Qin
By using context.getResourceAsStream you can always read any file in your app directory. -Original Message- From: Brij Naald [mailto:[EMAIL PROTECTED] Sent: November 25, 2004 4:02 PM To: [EMAIL PROTECTED] Subject: web.xml / struts-config.xml Hi is it possible for a filter,a servlet or

Re: Clustering in Tomcat

2004-11-25 Thread Gaurav Vaish
Thanks everybody for your help. It's working fine now. The problem was with pooling. One server had pooling while the other did not. Cheers, Gaurav On Thu, 25 Nov 2004 10:33:21 -, Dale, Matt [EMAIL PROTECTED] wrote: Have you got the distributable/ tag in your context's web.xml? Do all

Tomcat

2004-11-25 Thread allen
Hi there, I would like to access my pages created with applets in Tomcat by typing the host in the URL and not having to add the default port for Tomcat (:8080). I have Apache2 and the apache2-jakarta-tomcat connectors installed.

Re: Tomcat

2004-11-25 Thread Quinton Delpeche
On Friday 26 November 2004 07:02, [EMAIL PROTECTED] wrote: Hi there, I would like to access my pages created with applets in Tomcat by typing the host in the URL and not having to add the default port for Tomcat (:8080). I have Apache2 and the apache2-jakarta-tomcat connectors installed. I

Re: Tomcat

2004-11-25 Thread suse
aa Hi there, I would like to access my pages created with applets in Tomcat by typing the host in the URL and not having to add the default port for Tomcat (:8080). I have Apache2 and the apache2-jakarta-tomcat connectors installed.

Re: Tomcat

2004-11-25 Thread Allen Beacon
Sorry Quinton I should reply to the list, as I told you that could do it.however, I was looking for something like using a virtual server so my users can use htlm pages from Apache2 and servlets from Tomcat and I don´t want to show in the url :8080 I was looking for something like using a

Re: Tomcat

2004-11-25 Thread Bjørn T Johansen
http://jakarta.apache.org/tomcat/connectors-doc/jk2/index.html BTJ Allen Beacon wrote: Sorry Quinton I should reply to the list, as I told you that could do it.however, I was looking for something like using a virtual server so my users can use htlm pages from Apache2 and servlets from Tomcat and

Re: Tomcat

2004-11-25 Thread Allen Beacon
I have the connector installed but I still need to type :8080 in order to access the applet pages http://jakarta.apache.org/tomcat/connectors-doc/jk2/index.html BTJ Allen Beacon wrote: Sorry Quinton I should reply to the list, as I told you that could do it.however, I was looking for

Re: Tomcat

2004-11-25 Thread Bjørn T Johansen
Then you haven't configured it correctly! It is not enough to just install it... I am using this myself without any problems... BTJ Allen Beacon wrote: I have the connector installed but I still need to type :8080 in order to access the applet pages