I have one war file having size 140MB and has been deployed in tomcat 5 and
runs smothly. This war contains files from 20 different modules. So i
planned to split war in to multiple jar file in the following manner.
one main.war file contains common classes,images,stylesheets,common jsp
files an
Implement a filter/Servlet and do a redirect there
response.sendRedirect(..);
Rob Tanner wrote:
Hi,
I would like to setup an HTTPS connector in Tomcat (v 5.5.23) that
listens on port 28080. That part's easy enough and there is already a
certificate installed.
Here's the part I'm having trou
Hi,
I would like to setup an HTTPS connector in Tomcat (v 5.5.23) that
listens on port 28080. That part's easy enough and there is already a
certificate installed.
Here's the part I'm having trouble with. Whenever a browser send a GET
request to that port, I need to return a redirect to an
These are the configurations that I have , Does this help in any way ..thank
you.
Below is the Files that Have something related to j2k ,tomcat and Apache
Server.xml
Server.jk2.xml
**
workers.properties
*
worker.list=worker1
wo
Hi,
I am trying to get client authentication to work with my server. I have
basically followed the Tomcat 6.0-SSL-How-TO, except I changed
clientAuth="false" to client="true".
When I have clientAuth="true", I can't access my webapp at all. The server
doesn't even request the client for a certifi
I have defined my jndi DataSource for connecting to
the database under the conf/context.xml file. I would
like to understand what it means in terms of
availability of the datasource to each of the web apps
and the thing I am confused about is what is the
maximum number of connections available? Is
The time when it is called without a subtype, is if the
application(servlet) has an unhandled exception
in terms of timeout, that should work just dandy, unless the client
disconnects, at which point at which point you might get a subtype of
IOEXCEPTION, or CLIENT_DISCONNECT
depending on the
Julio Cesar Leiva schrieb:
Hi all
We have this setup
1 web server apache 2.2.0
I hope it's not 2.2.0 but something more recent (e.g. 2.2.4 or 2.2.6)
2 tomcat servers tomcat 5.5.20
mod_jk 1.2.25
This is our workers.properties
Remove the next line, it's useless.
workers.java_home=/usr/l
Julio Cesar Leiva wrote:
Hi all
We have this setup
1 web server apache 2.2.0
2 tomcat servers tomcat 5.5.20
mod_jk 1.2.25
This is our workers.properties
workers.java_home=/usr/lib64/jvm/java
worker.list=cbnbalancer,jkstatus
# Set properties for worker1 (ajp13)
worker.worker1.type=ajp13
wor
Hi all
We have this setup
1 web server apache 2.2.0
2 tomcat servers tomcat 5.5.20
mod_jk 1.2.25
This is our workers.properties
workers.java_home=/usr/lib64/jvm/java
worker.list=cbnbalancer,jkstatus
# Set properties for worker1 (ajp13)
worker.worker1.type=ajp13
worker.worker1.host=172.20.23
Hi All,
I am trying to embedded tomcat5.5.17 in my java application.
I want Tomcat to unpack *.WAR file
Tomcat starts fine but http://localhost:8080/ keeps saying HTTP status 404.
I am not sure if it could unpack given WAR file.
Could anyone guide me here. Also how to see the log file.
5.5.1
Using the NIO connector: protocol="org.apache.coyote.http11.Http11NioProtocol".
I'll add response.flushBuffer() and see if that helps.
The tomcat version I was testing against was current with svn as of
last Friday. I just updated and the only files that are new are:
catalina.policy
STATUS.txt
c
Delian Krustev wrote:
On Thu, 27 Dec 2007 16:04:29 +0200 Delian Krustev wrote:
I'll monitor the container for the next several restarts.
The problem appeared once again on the next tomcat restart.
Any other ideas ?
Not right now. Could you provide the full debug stack trace again please.
W
easiest way to see your packets fly by, is to use wireshark and just
sniff UDP packets
Filip
Randy Paries wrote:
On Jan 7, 2008 1:55 PM, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
org.apache.catalina.cluster.session.DeltaManager getAllClusterSessions
INFO: Manager []: skipping stat
what connector are you using?
I would try to use response.flushBuffer when you wanna flush it out (ie
after you've written to and flushed your stream).
also, there have been some bug fixes, that you can get from SVN, or wait
for 6.0.16 to come out
Filip
Peter Warren wrote:
I have some come
Please help figure out a connection pool error.
My application ( tomcat, spring, ibatis ) works well in the
configuration SQL 2000 + ms server 2000.
When I transfer the application ( war ) to a win 2003 server
I get an error ( error creating connection pool e.t.c. )
(I think ms server 2003 needs to
On Jan 7, 2008 1:55 PM, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
> org.apache.catalina.cluster.session.DeltaManager getAllClusterSessions
> INFO: Manager []: skipping state transfer. No members active in cluster group.
>
> this indicates that the box not working, is not receiving multicas
org.apache.catalina.cluster.session.DeltaManager getAllClusterSessions
INFO: Manager []: skipping state transfer. No members active in cluster group.
this indicates that the box not working, is not receiving multicast
messages from the other nodes.
you'd need to look into the multicasting config
I have some comet questions. I'm using the tomcat 6.0.x trunk as of
last Friday.
1) My comet event timeout setting being honored. How come? I set the
timeout for 3 hours but a timeout event gets generated every 2
minutes. If I inspect the comet event for which the timeout is
triggered, I see a
Hello,
I need some help.
I rolled out a new version of my web app last night
Stopped and started tomcat and now one of my boxes (they all have the
same webapp) will not attach(if that is the correct term) to the
cluster. I am doing session sharing between three tomcat servers. I
did not change any
On Thu, 27 Dec 2007 16:04:29 +0200 Delian Krustev wrote:
> I'll monitor the container for the next several restarts.
The problem appeared once again on the next tomcat restart.
Any other ideas ?
-
To start a new topic, e-mail: u
Use true in your service.xml
(web service descriptor).
Otherwise axis2 generates wsdl out of runtime java classes.
Gennady.
-Original Message-
From: Gardiner, Mike [mailto:[EMAIL PROTECTED]
Sent: Monday, January 07, 2008 17:06
To: users@tomcat.apache.org
Subject: How to stop WSDL modific
Good find Mark! It definitely does sound like the issue you linked.
We'll try building the code ourselves and see if it takes care of the
issue.
Thanks,
Jim
-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: Friday, January 04, 2008 5:39 PM
To: Tomcat Users List
Subjec
> From: Benoit VARVENNE [mailto:[EMAIL PROTECTED]
> Is there a way of determining what are "reasonable" values
> for the stack
> size (maybe according to the potential number of threads, ...) ?
Profile the app. And, for you in particular, know how deep the recursion will
go and hence how large o
Hi Peter,
Thanks a lot. '-Xss' option works great.
Is there a way of determining what are "reasonable" values for the stack
size (maybe according to the potential number of threads, ...) ?
In fact I am not really used to such configurations...
Thanks again
Cheers,
Benoit
Le 7/01/08 16:33, « Pete
David Delbecq-2 wrote:
>
> It's probably a timeout between the front end http server (apache?) and
> the back end tomcat installation, related to mod_jk. IThe java
> application takes too long to start generating an answer and the http
> server (apache?) considers there is a problem and clos
> From: Benoit VARVENNE [mailto:[EMAIL PROTECTED]
> > "Exception in thread "Thread-8" java.lang.StackOverflowError"
>
> The expansive algorithm is a recursive one.
>
> I now always have StackOverFlow exceptions.
>
> I have already tried to customize JVM memory options with the
> following line
> in
Hello,
I'm running a quite "memory-expansive" algorithm under Tomcat and I then got
the following error message :
> "Exception in thread "Thread-8" java.lang.StackOverflowError"
The expansive algorithm is a recursive one.
What is done is :
- (1) launch a servlet, retrieves user's parameters
Hi,
use a quot at AccessLogValve pattern to a muliple value field.
"%{X-Forwarded-For}i" %l %u %t "%r" %s %b
Look the following definition: http://en.wikipedia.org/wiki/X-
Forwarded-For
First value is the client ip.
Peter
Am 05.01.2008 um 22:19 schrieb Rainer Jung:
Hi Gregory,
the descri
> From: grailcattt [mailto:[EMAIL PROTECTED]
> Subject: Tomcat as Service -- Working Directory is system32
>
> Is there a way to set a working directory for Tomcat?
It's under the Startup tab for tomcat6w.exe or tomcat5w.exe.
> Is there a way to specify in Grails where to look for files?
Wrong
Hi, I tried looking for a solution to this but couldn't find anyone
actually complaining about this behaviour.
I'm using Tomcat 6 with Axis2.
My WSDL defines messages like this:
But when I visit the site through a browser to view the WSDL it shows up
like:
When I run Tomcat as a service, the working directory becomes
c:\windows\system32.
I'm using Grails and it tries to load application.properties and other files
such as images from this path. My current workaround is to copy all these
files into system32 (i.e. images have to go in
c:\windows\syste
as the previous user mentioned, if you copy libraries to different
places, and sometimes to multiple places, you're going down a path that
will be hard to debug.
start fresh, don't place libraries inside tomcat, unless you know what
you're doing, and only use WEB-INF/lib
Filip
Thomas Chang
Bad move. Each jar should only exist once. If it's in tomcat's
common/lib, it can't exist in your webapp's WEB-INF/lib and vice-versa.
I suspect this is more a spring question than a tomcat question as
spring does some interesting things with the classloader. The class in
question in partic
Hi all,
As I try to deploy my WAR in the office I got exception as follow. Somebody
knows why? I do the same deployment at home and it runs well. Could be a
problem of fire wall of my company?
Regards
Thomas
***
SCHWERWIEGEND: Exception sending co
Mohan2005 wrote:
Hello Rainer;
Thanks.
So if I have it right, sorry if I keep repeating whats been stated already,
all the load-balancer algorithms are not really checking node health as in
JVM Memory usage, CPU usage or Threads used at any given time (which I
believe is a feature in a future mo
This jar (spring.jar) is already in the WEB-INF/lib.
common/lib is not the good place to put your war's required jar files
(like spring.jar). You war's required jar should go to WEB-INF/lib
http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html
En l'
Hm, i think the complete stack-trace does not help further, but anyway:
java.lang.NoSuchMethodError:
org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest
(Lorg/apache/commons/fileupload/RequestContext;)Ljava/util/List;
at
org.apache.commons.fileupload.servlet.ServletFileUplo
Check you don't have 2 versions of commons fileupload. Also, provide a
more complete stacktrace to get meaningful answers :)
En l'instant précis du 07/01/08 12:09, Christian Aschoff s'exprimait en
ces termes:
Hi,
i have a webapplication developed with NetBeans 5.5. Everything is
fine. But wh
Hi,
i have a webapplication developed with NetBeans 5.5. Everything is
fine. But when i recompile it with NetBeans 6.01, i get a
2008-01-07 10:13:51,244 ERROR [http-8084-2] (RetrobibAction.java:89)
- Exception in Action
java.lang.NoSuchMethodError:
org.apache.commons.fileupload.servlet.Se
common/lib is not the good place to put your war's required jar files
(like spring.jar). You war's required jar should go to WEB-INF/lib
http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html
En l'instant précis du 07/01/08 11:54, Thomas Chang s'exprimait en ces
termes:
I download th
Hello Rainer;
Thanks.
So if I have it right, sorry if I keep repeating whats been stated already,
all the load-balancer algorithms are not really checking node health as in
JVM Memory usage, CPU usage or Threads used at any given time (which I
believe is a feature in a future mod_jk ? ),
Only c
I download the Tomcat 5.5.17 and I got the same exception.
I am not sure it is really the downloaded file is corrupt. The war I deploy
is a spring application. At the beginning as I deploy it, I got exception like:
java.lang.IllegalStateException: ContainerBase.addChild: start:
Lifecy
Your download is most probably corrupted, redownload the file from
server, and extract it to a fresh new folder.
This kind of error can happen when one of the tomcat jar file is either
corrupted or just missing.
En l'instant précis du 07/01/08 11:21, Thomas Chang s'exprimait en ces
termes:
H
Marco Caldirola wrote:
Hi,
I'm trying to do a performance test and I must generate a fifo queue in order
to verify my resource allocation policies.I have implement ed the synchronized
method and set maxThread=1 in server.xml file.
It seems it is working. Could you please send me reference on
Hi all,
I just download and install the Tomcat 5.5.23. As I try to deploy my web
application (a war file), I got exceptions as follow. Someone knows why?
**
07.01.2008 11:02:33 org.apache.catalina.loader.WebappLoader start
SCHWERWIEGEND: LifecycleException
ja
Hi,
I'm trying to do a performance test and I must generate a fifo queue in order
to verify my resource allocation policies.I have implement ed the synchronized
method and set maxThread=1 in server.xml file.
It seems it is working. Could you please send me reference on command
object?Thanks a
It's probably a timeout between the front end http server (apache?) and
the back end tomcat installation, related to mod_jk. IThe java
application takes too long to start generating an answer and the http
server (apache?) considers there is a problem and closes connection.
What you see in catal
48 matches
Mail list logo