Tomcat 5.5.17 500 error

2006-04-24 Thread Jack Wang
I hava a web app running well in tomcat 5.5.16 yesterday, but when I copy the app in another machine, I met following error. org.apache.jasper.JasperException: File /webwork not found when I use webwork in jsp. org.apache.jasper.JasperException: /index.jsp(22,4) File /common/cn/myMenu.jsp

Re: Preload of servlet does not work with Tomcat 5.5.15

2006-04-24 Thread Markus Schönhaber
Tom Bednarz wrote: I defined the following in the web.xml of my web application: servlet servlet-nameMTWInit/servlet-name servlet-classch.smartsol.mtweb.servlets.MTWInit/servlet-class init-param param-nameMailConfiguration/param-name

RE: Preload of servlet does not work with Tomcat 5.5.15

2006-04-24 Thread abdurrahman sahin
hi; i have a servlet with load-on-startup / tag and no mapping is defined and it is working with tomcat 5.0.28 http://asahin.net -Original Message- From: Markus Schönhaber [mailto:[EMAIL PROTECTED] Sent: Monday, April 24, 2006 9:57 AM To: Tomcat Users List Subject: Re: Preload of

Re: Preload of servlet does not work with Tomcat 5.5.15

2006-04-24 Thread manivannan84
hi, have you enabled reload=true in context tag in conf/server.xml? -- Manivannan Palanichamy http://geocities.com/manivannan57 -Original Message- From: Tom Bednarz [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Mon, 24 Apr 2006 08:19:10 +0200 Subject:

Hiding error logging when using JK loadbalancer for transparent production builds

2006-04-24 Thread Allistair Crossley
Hi, I've started to use JK's loadbalancer behaviour to hide production builds from our users, so that if I am going to build new functionality, I bring up a 2nd Tomcat which is a copy of the 1st, and then bring the 1st down for the build. However, when a build is complete, I do not run 2 Tomcats

tomcat flood

2006-04-24 Thread Namiri Smaîl
Hi i have developed a web application with .jsp running on tomcat 5.5 with a oracle database. I 300 max user ; The application is running well but time in time the the pages be very slow to get the response of the request sending by the users (for me the oracle is too slow to response for

Re: Preload of servlet does not work with Tomcat 5.5.15

2006-04-24 Thread Markus Schönhaber
Tom Bednarz wrote: Markus Schönhaber wrote: WAG: maybe you did overload GenericServlet#init instead of overriding it. But I doubt that anyone can tell for sure with so little information provided. Don't know what you mean with that. Here is part of my servlet code: public final class

RE: using digester from within a servlet

2006-04-24 Thread Christopher Piggott
Frank W. Zammetti [mailto:[EMAIL PROTECTED] writes ... It looks to me like your ObjectCreate rule is incorrect... I believe the class you reference must be the fully-qualified name. That set me on the right track - thank you. My ObjectCreate rule was actually OK because I specified the Class

Re: Re[4]: Tomcat works on Linux localhost but not in the network

2006-04-24 Thread vineesh kumar
check iptables configuration documentation in RHEL site On 4/24/06, Corobitsyn Roman [EMAIL PROTECTED] wrote: This is Linux question, but not Tomcat I don`t know how to set up firewall in RH See this link http://www.redhat.com/docs/manuals/enterprise/RHEL-3-Manual/security-guide/ch-fw.html

Re: Tomcat works on Linux localhost but not in the network

2006-04-24 Thread Grant Johnson
Here's a little more reading on IPTABLES if that's the firewall methodology you are using. Grant josemanuel lopez wrote: yeap . I disable the firewall and I'm getting response, but do you know how to enable the firewall and allow access to the port 8080 only I'm running RedHat EE r3

Re: Tomcat 5.5.17 500 error

2006-04-24 Thread Marc Farrow
Looks like the webwork context is not deployed on the other machine. Although you might have copied the app over, the context is not deployed under Tomcat. Try to view your list of contexts deployed by using this URL and logging into an account that has a manager role defined.

Re: Help with embedded server

2006-04-24 Thread Marc Farrow
This is just a guess, but I think you might want/need to add a servlet mapping for all JSPs somewhere. I do not have this problem. It must be a configuration problem. On 4/24/06, Trevor Miller [EMAIL PROTECTED] wrote: Hi, On a standard binary tomcat distribution I can deploy JSP's without

HTML Pages in Tomcat????

2006-04-24 Thread Michael McQuade
Hi folks, real dumb question here. I have an application running on Tomcat... All my HTML Pages are built on the fly by the Java Programs EXCEPT, on each screen I have a HELP button, that is an Anchor Basically opens up a new browser with the Help information on it These are

Tomcat Security....

2006-04-24 Thread Michael McQuade
Dumb question number 2 of the Day folks I'm a programmer, not real swift on the security side of life I have Tomcat (5.0.28)running on my server at home, to develop an application. I now want to open up my Server to the Internet, so potential clients can demo my product from

RE: Tomcat Security....

2006-04-24 Thread Allistair Crossley
You need a firewall. Can be a router or a software firewall with your PC. You tell your firewall to allow access to the port that Tomcat is open on, e.g 8080 and lock down ports you don't want open such as your database port. Tomcat connects to the database locally on your machine, so the outside

http gzip compreses in tomcat

2006-04-24 Thread wakeup
Hello, I'm using tomcat 5.5 I want enable compressing http gzip in my server. How can I do it? Thanks ___ HipHop Directo De Chiste -- View this message in context: http://www.nabble.com/http-gzip-compreses-in-tomcat-t1499582.html#a4064695 Sent from the Tomcat - User forum at

Proxy Server

2006-04-24 Thread Mohammed Yousuff
Hi , guys . i am trying to get a XML files in the another Server (RSS Feeds).So when i configured with server to get the data. in our Organisation they are using Proxy Server . so my server (Tomcat 5) unable to connect . then i configured with the Proxy server using the CATALINA_OPTS environmental

RE: http gzip compreses in tomcat

2006-04-24 Thread Tim Lucia
http://tomcat.apache.org/tomcat-5.5-doc/config/http.html (Attribute compression on the Http Connector) -Original Message- From: wakeup [mailto:[EMAIL PROTECTED] Sent: Monday, April 24, 2006 10:26 AM To: users@tomcat.apache.org Subject: http gzip compreses in tomcat Hello, I'm using

Re: using digester from within a servlet

2006-04-24 Thread Frank W. Zammetti
Christopher Piggott wrote: Frank W. Zammetti [mailto:[EMAIL PROTECTED] writes ... It looks to me like your ObjectCreate rule is incorrect... I believe the class you reference must be the fully-qualified name. That set me on the right track - thank you. My ObjectCreate rule was actually OK

Re: HTML Pages in Tomcat????

2006-04-24 Thread Marc Farrow
best thing is to place them either in the imagescan app folder or a subfolder of it such as imagescan/html then reference them with url via http://localhost:8080/imagescan/page1.htm#anchorname or http://localhost:8080/imagescane/html/page1.html#anchorname On 5/2/04, Michael McQuade [EMAIL

is there a possibility to define the startup order for webapps?

2006-04-24 Thread SOA Work
Hi there, I'm currenttly using tomcat 5.x for running my webapps. Now I have the following problem: I'm using an database system which runs as webapplication inside tomcat. Another webapplication needs the database connection for startup. Everytime I restart tomcat the server doesn't get up,

Upgrade from tomcat 4.0.27 to 5.5.15 results in: No Host matches server name

2006-04-24 Thread Martin Sperl
Hi! I am just upgrading our application to use tomcat 5.5.15 instead of 4.0.27 and after reconfiguring server.xml to conform to the new configurations I get the message No Host matches server name ... when accessing via apache and mod_jk. Also I have to mention that I did NOT change anything on

Re: is there a possibility to define the startup order for webapps?

2006-04-24 Thread David Smith
This question comes up every so often and the answer is always no. The webapp load order cannot be relied upon. In your case, might I suggest the database webapp be run on a separate instance of tomcat? Can the connection be done via TCP/IP? --David SOA Work wrote: Hi there, I'm

Problems with tomcat hanging

2006-04-24 Thread james edwards
We are running separate tomcat and apache servers, the http requests are being proxied from the apache server to the tomcat server. Tomcat connects to an informix database; our application is a webpage that allows users to make queries against the dB and report the results in html. Here is the

Re: is there a possibility to define the startup order for webapps?

2006-04-24 Thread Len Popp
A couple of other ideas: Use a small shared class (in shared/lib) to keep track of whether the database is running. The first webapp notifies this class when it's ready, and the second webapp checks if the database is ready before using it. Or, just accept that database errors will occur during

jsvc creates LOTS of processes

2006-04-24 Thread Mark Shifman
I noticed that jsvc creates about 68 processes on one of my servers. I start it using an init.d script under redhat 9. I don't think I have done anything egregious. ...snip CATALINA_OPTS= -Djava.awt.headless=true -Xmx750m -Xms750m ...snip start(){ $DAEMON_HOME/jsvc \ -user $TOMCAT_USER \

Re: is there a possibility to define the startup order for webapps?

2006-04-24 Thread SOA Work
argh. annoying. ok. thx anyway. -Ursprüngliche Nachricht- Von: Tomcat Users List users@tomcat.apache.org Gesendet: 24.04.06 17:57:49 An: Tomcat Users List users@tomcat.apache.org Betreff: Re: is there a possibility to define the startup order for webapps? A couple of other ideas:

Re: is there a possibility to define the startup order for webapps?

2006-04-24 Thread Frank W. Zammetti
One could envision a rather complex and somewhat funky solution to this... I'm not so sure I'd recommend it, but in the interest of creative thinking... (1) Add a context parameter isAppRunning to the webapp, initially set to false. (2) Create a filter that is mapped to handle all requests.

Re: jsvc creates LOTS of processes

2006-04-24 Thread David Smith
Chances are you are doing nothing wrong. How many threads/processes are started when you start tomcat manually?It could easily be the way your kernel implementation handles threads (assuming this is Linux). Some list threads as processes (version 2.4 and before), newer 2.6 kernels don't.

Re: is there a possibility to define the startup order for webapps?

2006-04-24 Thread Vivek Mohan
I believe that the loading of webapps is based on the order of the webapp folders (or war files) coming into the purview of the tomcat webapp loader. This is mostly in the order the OS lists the files/folders within the webapps folder. I think you can experiment with changing the name of the

RE: is there a possibility to define the startup order for webapps?

2006-04-24 Thread Caldarale, Charles R
From: Vivek Mohan [mailto:[EMAIL PROTECTED] Subject: Re: is there a possibility to define the startup order for webapps? I believe that the loading of webapps is based on the order of the webapp folders (or war files) coming into the purview of the tomcat webapp loader. Which may be

Re: HTML Pages in Tomcat????

2006-04-24 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old thread.

Re: Tomcat Security....

2006-04-24 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old thread.

j-_security_check session problem with load balancer

2006-04-24 Thread Andrew Arrow
Hello, We are using tomcat 5.5.16 with a Redline Networks Enterprise Application Processor load balancer between two machines. The balancer is session sticky. Every so often we get a problem with users not being able to log in. (We are using JDBC Realm form authentication.) The error the

memory footprint question (5.0.28)

2006-04-24 Thread Rumpa Giri
I had a question on individual memory footprint of a tomcat instance and increasing the number of instances: Is this assumption correct that increasing the number of instances of tomcat on a machine and modifying the IIS worker properties to have more worker instances in the balanced_worker

Re: is there a possibility to define the startup order for webapps?

2006-04-24 Thread Eric Haszlakiewicz
On Mon, Apr 24, 2006 at 11:20:54AM -0400, David Smith wrote: This question comes up every so often and the answer is always no. The webapp load order cannot be relied upon. In your case, might I suggest the database webapp be run on a separate instance of tomcat? Can the connection be done

RE: is there a possibility to define the startup order for webapps?

2006-04-24 Thread Tim Lucia
It defines the order of servlet startup, if pre-loaded/pre-started at all, when the webapp actually starts. It does not affect the order in which the webapps themselves are loaded and/or started. Tim -Original Message- From: Eric Haszlakiewicz [mailto:[EMAIL PROTECTED] Sent: Monday,

Re: A docbase ... inside the host appBase has been specified

2006-04-24 Thread David Smith
What it means is there is a context xml file (typically in config/Catalina/localhost, probably subset.xml) that specifies a docBase attribute. That attribute is useful if the webapp is not within tomcat's webapps directory, but ignored as redundant when the webapp is in the webapps directory.

Re: is there a possibility to define the startup order for webapps?

2006-04-24 Thread David Smith
As pointed out by another, load-on-startup only refers to servlets within a specific webapp. It does not have any influence over the load order of web applications themselves. --David Eric Haszlakiewicz wrote: On Mon, Apr 24, 2006 at 11:20:54AM -0400, David Smith wrote: This question

Re: A docbase ... inside the host appBase has been specified

2006-04-24 Thread bloggy_ttop
Thanks so much for your helpful response. I mistakenly thought that was the problem with my servlet. Now I see that it is actually running (I was trying to hit http://localhost: 8080/CommandServlet rather than http://localhost:8080/subset/ CommandServlet -- sorry, rookie here). I was