I am a bit loss reading your message.
is the flow like this ?
a java program called a servlet in multi thread mode
while the request is being processed, the java program called another
process and somehow end up in calling another servlet in the same manner as
above. But then the program have to
Hi!
I got this error when trying to install Tomcat 5.5.23 on Windows XP:
Failed to install Tomcat5 service.
Check your settings and permissions
Ignore and continue anyway (not recommended)?
the above error occurs with these status:
..
How to get swallowOutput option working in tomcat 6. I am not able to get
this from the context documentation.
--
Regards,
Prabhu
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL
Thanks Bil,
I install the amd64 jdk and it all works ok now.
I was thrown my the name, thinking that it was for the amd platform only.
On 6/14/07, Bill Barker [EMAIL PROTECTED] wrote:
Easiest is to symlink amd64 to i386.
Second easiest is to edit Makefile and change the CPU variable to be
Hi,
I have installed two tomcat 5.5.16 instances on different linux machines. I
have clusttered the both machines using session replication. After configuring
the instances and i have restarted the machines but i got the warning.as below.
IOException in replication worker, unable to drain
Sumit,
Since this is not a Tomcat issue I tagged it as OT.
Is the data query different for each user?
If no, setup a separate thread on startup to do the query and process it as
far as you can. I was able to create a String that was the body of the page,
then each request that came in simply
I just tried the exact same thing with the jTDS driver and I got the same error:
Realm className=org.apache.catalina.realm.JDBCRealm debug=99
driverName=net.sourceforge.jtds.jdbc.Driver
connectionURL=jdbc:jtds:sqlserver://server-2006/v362;user=user;password=dbase
It turns out I had to RTFM.
Quick Start:
3. Place a copy of the JDBC driver you will be using inside the
$CATALINA_HOME/lib directory. Note that only JAR files are
recognized!
I only had it in my Web App lib folder
On 6/14/07, Richard Sayre [EMAIL PROTECTED] wrote:
I just tried the exact
Hello,
I am about to finalize some early state Spring web application (just the
persistence and logic part). I am using Hibernate to retrieve data from a
database. I created the whole logic using the Spring framework; at the top
there is a Session Facade providing access to all the services.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Martin,
The OP has plainly said that they are not using chunked encoding. :(
- -chris
Martin Gainty wrote:
if you are setting Transfer-encoding to 'chunked' as in
response.setHeader( Transfer-Encoding, chunked);
then read and follow these
On 12/06/07, David Delbecq [EMAIL PROTECTED] wrote:
[..]
1) revise war build process to force inclusion of libs
2) have a server lifecyclelistener that, before loading of a webapp,
copy the concerned classes to the WEB-INF/lib ?
Copy seems easier than play with classloader...
Here is my
Filip,
thank you for the response.
The issue is fairly simple:
At some point in time (t1) the CoyoteAdapter.service (or the
CoyoteAdapter.event) method calls request.isComet().
If the CometEvent has not been closed at (t1), this method returns true
and request and response are not recycled.
(Tomcat 5.0.28 running on CentOS 4.4 using Java 1.4.2_14-b05)
Hello All,
I have a problem with my understanding of data sources within Tomcat.
I have an application (MRS). I deploy MRS using the Tomcat Manager. I
then open up Tomcat Administration and I see MRS under:
Tomcat Server - Service
Best bet is to configure it manually in the context.xml for the webapp.
I've never had good luck with the administration webapp in the very few
times I've tried to use it.
You describe tomcat as over-writing the config submitted via the admin
webapp. It's more likely the admin webapp is
Hello,
First, my apologies for inadvertently hijacking a previous thread. Long time
reader, first time poster. Won't happen again.
Now, First the versions:
Apache : 1.3.33
Tomcat: 6.0.13
mod_jk: 1.2.23
I am currently working on upgrading our environment to a newer version of
Tomcat and
Hi all
I'm using Tomcat 5.5, and am setting up Connection pools for the
database, using the context.xml file from the META-INF directory.
We do / will have a multi region series of dev environments (local,
dev, UAT, PAT, Live etc) as the code gets developed.
Each Resource will point to a
David,
Where do I put this context.xml file?
I noticed that when I deploy the app using manager, then configure the
data sources using the admin tool... that a file names mrs.xml (mrs is
the name of the application I am deploying) is created
(/usr/local/tomcat/conf/Catalina/localhost), it
I appreciate all the input guys. I put everything into server.xml and
the application is working great.
One small problem though... if I undeploy the app, then deploy it
again... I get the same database problem, UNTIL I restart the TomCat
service itself. Once I restart Tomcat, all is well..
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jeffrey,
Jeffrey C. Baldwin wrote:
I appreciate all the input guys. I put everything into server.xml and
the application is working great.
You should put that setup into META-INF/context.xml in your webapp
directory (or your WAR file) instead of
Ha, this is kinda cool.
When you use the admin manager it makes the file for you
OK, so now either go into netbeans and paste that file mrs.xml under
META-INF
That will give you a pool for JUST YOUR WEB app.
OR
copy the contents and stick it in server.xml
That will give you a
Chris, the documentation
http://localhost:8080/tomcat-docs/jndi-datasource-examples-howto.html
explicitly says... have a look at postgres example, that file should have
same name as
the war, or the app maybe it can be put into context.xml, but are you
sure?
- Original Message -
the war, or the app maybe it can be put into context.xml, but are you
sure?
Sure it should be done in this way ! So, you don't need to restart your entire
server when you need to add/ change the datasource configuration.
Context.xml is part of your webapp, and not of your tomcat.
Jeff, look I'm not sure, but it shouldnt do that.
Just make absolutely sure that the app is closing those connections, ie
giving them back to the pool only reason I can think you get this
behaviour.
If you dont close them properly... eventually Tomcat will break... it wont
have another
Chris,
Thank you for the time. However, I'm still not having any luck...
Again, I have the entries in server.xml, so if I restart the Tomcat
service AFTER deploying the app, all is well. However, I want the
application developers to be able to deploy their app and not have to,
or need to
Also, here is a copy of my server.xml.
?xml version='1.0' encoding='utf-8'?
Server
Listener className=org.apache.catalina.mbeans.ServerLifecycleListener/
Listener
className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener/
GlobalNamingResources
Environment name=simpleValue
Johnny Kewl wrote:
Chris, the documentation
http://localhost:8080/tomcat-docs/jndi-datasource-examples-howto.html
explicitly says... have a look at postgres example, that file should
have same name as
the war, or the app maybe it can be put into context.xml, but are
you sure?
The
Jeffrey C. Baldwin wrote:
Chris,
Thank you for the time. However, I'm still not having any luck...
What's in your Host definition in server.xml, can you post that too?
p
Again, I have the entries in server.xml, so if I restart the Tomcat
service AFTER deploying the app, all is well.
Hi all,
AM new to Ant build tool and was jus writing an application.am done with my
programme and when i give ant in my present working directory at command prompt
its fine.when i give ant deploy or ant deploywar it's saying Build
Successfull but nothing is there under build and deploy.also
P,
This is everything from server.xml
?xml version='1.0' encoding='utf-8'?
Server
Listener className=org.apache.catalina.mbeans.ServerLifecycleListener/
Listener
className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener/
GlobalNamingResources
Environment name=simpleValue
Pid wrote:
Chris was indicating that you put a 'META-INF/context.xml' in your war
or webapp directory - which Tomcat will then deploy to the named file
above.
AHH... I did misunderstand. I will try creating the WAR with the
context file in place.
Thanks!
- Original Message
The explanation is enough, thank you for the detailed info.
yes, having two different flags can make life difficult for us, I will
look into it.
Filip
Reich, Matthias wrote:
Filip,
thank you for the response.
The issue is fairly simple:
At some point in time (t1) the
man, I need to get a CPU like that, that can actually work 4 times its
max capacity :)
Filip
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Hi,
I am not sure if this is a bug, but it appears that my sticky sessions
configuration don't want to stick. I am running two servers with tomcat
5.5.20 (configured as single servers ie. no session replication) with
standard ajp13 connector (8009) and one web server running iPlanet 6 with
A big THANK YOU to everyone...
I had the developer put the context.xml file into the META-INF
directory... I then uploaded the WAR file and the application ran
immediately!
Thank you again! I don't know if this is something the developer should
have known or been doing or something I should
rofl
-Original Message-
From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 14, 2007 12:15 PM
To: Tomcat Users List
Subject: Re: Tomcat Server CPU utilization goes upto 400%
man, I need to get a CPU like that, that can actually work 4 times its
max capacity :)
Hi all,
I have a question for all of you network admins out there. I am
wondering if it is possible to share an ssl key between both Apache 2.X and
Tomcat 5.X if they are connected via mod jk. Is this possible or does each
server have to have its own ssl key?
Thanks in
You should be able to use the same key for both Apache and Tomcat.
However...
If you're using Apache to forward all requests to Tomcat via mod_jk then it
is my understanding that you do not need SSL for Tomcat.
Apache would handle all the the ssl part and then forward a normal request
to
change your JVM route to
jvmRoute=worker1, as I believe the jvmRoute value has to match the
name of the worker.
Filip
Eddie Yee wrote:
Hi,
I am not sure if this is a bug, but it appears that my sticky sessions
configuration don't want to stick. I am running two servers with
tomcat
Jason Lanpher wrote:
Hi all,
I have a question for all of you network admins out there. I am
wondering if it is possible to share an ssl key between both Apache 2.X and
Tomcat 5.X if they are connected via mod jk. Is this possible or does each
server have to have its own ssl
Jeffrey C. Baldwin wrote:
P,
(our messages crossed, I think)
Looks like you've got the context setup in the server.xml AND the
external file. You only need one location, comment out the Context
definition in server.xml and we'll work on getting the auto-deploy to
work from the WAR/webapp.
Hi Filip.
It looks like that solved the problem! Thanks for your help!
Eddie
From: Filip Hanik - Dev Lists [EMAIL PROTECTED]
Reply-To: Tomcat Users List users@tomcat.apache.org
To: Tomcat Users List users@tomcat.apache.org
Subject: Re: sticky sessions not sticking
Date: Thu, 14 Jun 2007
From: Kevin Wilhelm [mailto:[EMAIL PROTECTED]
Subject: Using shared Spring Webapp in Tomcat 6
For Tomcat 6 there is a folder called $CATALINAHOME/lib
that is said to be used for that kind of stuff.
No, the $CATALINA_HOME/lib directory is for classes common to all
webapps, not any
so in one connection string you have user and in the Realm you're using
userName?
-Original Message-
From: Richard Sayre [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 13, 2007 12:42 PM
To: users@tomcat.apache.org
Subject: Tomcat 6, SQL Server 2005 JDBC Realm not working
I have a web
Hi!
The problem is resolved by deleting Tomcat5 service from Windows XP
and redo the Tomcat installation:
1) Start | Run and type cmd in the Open: Click OK.
2) Type: sc delete Tomcat5
3) Reboot the system
On 6/14/07, hezjing [EMAIL PROTECTED] wrote:
Hi!
I got this error when trying to
44 matches
Mail list logo