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
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
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
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:
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
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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,
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
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
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
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
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 \
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:
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.
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.
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
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
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.
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.
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
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
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
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,
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.
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
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
40 matches
Mail list logo