jar loading in folder web-inf/lib/folder/*.jar

2009-06-30 Thread kr
HI, Loading of jar files under WEB-INF/lib/a_foolder/*.jar wont work. On JBoss 5.0.1GA this works fine but The tomcat class loader cant load thease files., Thease jar files (WEB-INF/lib/a_foolder/*.jar) is referenced from the main.jar file (WEB-INF/lib/main.jar) manifest:

tomcat 6 service on local computer could not start (1067 err or)‏

2009-06-30 Thread Hannes Smit
Hello all, I have got a support question to which I cannot find a clear answer in online fora. My TomCat installation won't start anymore. This morning it worked, I ran jsp and servlets, but now it doesnt. I use Windows Vista and Apache Tomcat 6. In the 'services' of windows I tried to

tomcat 6 service on local computer could not start (1067 err or)‏‏

2009-06-30 Thread Hannes Smit
Hello all, I have got a support question to which I cannot find a clear answer in online fora. My TomCat installation won't start anymore. This morning it worked, I ran jsp and servlets, but now it doesnt. I use Windows Vista and Apache Tomcat 6. In the 'services' of windows I tried to

Re: tomcat 6 service on local computer could not sta rt (1067 error)‏

2009-06-30 Thread Serge Fonville
Could not start the Apache Tomcat 6 service on Local Computer. Error 1067: The process terminated unexpectedly. Just a few What is your exact location of the JDK and is it different if you do not specify it in the path. what is your JAVA_HOME set to If you revert the changes, does the problem

RE: tomcat 6 service on local computer c ould not start (1067 error)‏

2009-06-30 Thread Hannes Smit
In response to you questions: javac is at C:\Program Files\Java\jdk1.6.0_14\bin I removed C:\Program Files\Java\jdk1.6.0_14\bin; from the PATH in windows: no difference when starting service I have no JAVA_HOME in environment vars... Should it be there or somewhere else? revert the changes:

RE: tomcat 6 service on local computer could not start ( 1067 error)‏

2009-06-30 Thread Caldarale, Charles R
From: Hannes Smit [mailto:hsmit...@hotmail.com] Subject: RE: tomcat 6 service on local computer could not start (1067 error)‏ I have no JAVA_HOME in environment vars... Should it be there or somewhere else? No environment variables are used by the service, so you don't need it. No I

RE: tomcat 6 service on local computer c ould not start (1067 error)‏

2009-06-30 Thread Hannes Smit
Thanks Chuck, Serge I installed jdk 5, jre 5, jdk 6 and jre 6 and apache tomcat again Then I added the 1.6 jdk to the PATH of windows I modified in tomcat6w the path to C:\Program Files\Java\jdk1.6.0_14\jre\bin\client\jvm.dll (don't know why jre is there.. but it works). Now CMD: 'java'

Re: How do I support a login form embedded in templates

2009-06-30 Thread Steve B.
Chris, Thanks, yes, a drive-by login is what I am after. I am bummed that Tomcat does not support this - it seems the common setup on most sites I visit on the Net. (I suppose it is more accurate to that say I am bummed that the J2EE standard does not define this behavior as Tomcat is only

Re: How do I support a login form embedded in templates

2009-06-30 Thread Daniel Henrique Alves Lima
Hi, Steve and Chris. Steve, can you use AJAX to request a protected resource and to provide username/password to your real login page (configured at web.xml) or directly to j_security_check ? I don't know if this will work (and if this is what you have in mind), but:

RE: tomcat 6 service on local computer could not start ( 1067 error)‏

2009-06-30 Thread Caldarale, Charles R
From: Hannes Smit [mailto:hsmit...@hotmail.com] Subject: RE: tomcat 6 service on local computer could not start (1067 error)‏ I installed jdk 5, jre 5, jdk 6 and jre 6 Overkill? I modified in tomcat6w the path to C:\Program Files\Java\jdk1.6.0_14\jre\bin\client\jvm.dll (don't know why

Re: How do I support a login form embedded in templates

2009-06-30 Thread André Warnier
Daniel Henrique Alves Lima wrote: Hi, Steve and Chris. Steve, can you use AJAX to request a protected resource and to provide username/password to your real login page (configured at web.xml) or directly to j_security_check ? I don't know if this will work (and if this

tomcat hang when start with service tomcat start

2009-06-30 Thread zhicheng wang
dear all i have a very weird problem with starting tomcat and would be most grateful if any one can give me some clue. OS: Red Hat Enterprise Linux AS release 4 (Nahant Update 8) java: jdk1.6.0_14 tomcat:apache-tomcat-6.0.20 if i try to start tomcat using service tomcat start it

Re: tomcat hang when start with service tomcat start

2009-06-30 Thread André Warnier
zhicheng wang wrote: ... i have a very weird problem with starting tomcat I think it is not so weird.. OS: Red Hat Enterprise Linux AS release 4 (Nahant Update 8) java: jdk1.6.0_14 tomcat:apache-tomcat-6.0.20 if i try to start tomcat using service tomcat start it hangs Where did you get

[OT] Running multiple RMI Services

2009-06-30 Thread Leon Rosenberg
Hi, I understand that its utterly off-topic, but i just can't find anything on the topic, is anybody using rmi anyway? Here's the problem, I have two server machines A and B. On each machine some RMIServices are running. Lets say that A1 and A2 are running on A and B1 and B2 on B. Now A1 and A2

Re: How do I support a login form embedded in templates

2009-06-30 Thread Daniel Henrique Alves Lima
On Tue, 2009-06-30 at 16:32 +0200, André Warnier wrote: Daniel Henrique Alves Lima wrote: 2. When user fills the form in your small login box, - Send a JS XmlHttpRequest (AJAX) to a protected resource (for instance protected_resource.jsp); It seems to me that you can

RE: tomcat hang when start with service tomcat start

2009-06-30 Thread zhicheng wang
hi thanks for the reply. we downloaded tomcat from apache so it is real tomcat. the start upscript was also downloaded from internet (not the redhat one), with some modifications and has been running fine for a few years. the problem began when we started running a Grails app (as

Re: tomcat hang when start with service tomcat start

2009-06-30 Thread André Warnier
zhicheng wang wrote: hi thanks for the reply. we downloaded tomcat from apache so it is real tomcat. the start upscript was also downloaded from internet (not the redhat one), with some modifications and has been running fine for a few years. the problem began when we started running a

RE: tomcat hang when start with service tomcat start

2009-06-30 Thread Caldarale, Charles R
From: zhicheng wang [mailto:zcwli...@hotmail.co.uk] Subject: RE: tomcat hang when start with service tomcat start the problem began when we started running a Grails app (as ROOT.war) as the hang point indicated INFO: Initializing Spring root WebApplicationContext What does a thread dump

RE: tomcat hang when start with service tomcat start

2009-06-30 Thread zhicheng wang
hi but we can start tomcat with other methods such as /etc/init.d/tomcat start /etc/rc5.d/S80tomcat start $CATALINA_HOME/bin/startup.sh the above methods all work fine. and those are called by /sbin/service. Date: Tue, 30 Jun 2009 17:26:14 +0200 From: a...@ice-sa.com To:

RE: tomcat hang when start with service tomcat start

2009-06-30 Thread zhicheng wang
hi do you mean kill -3 pid it printed nothing (while tomcat was hanging) From: chuck.caldar...@unisys.com To: users@tomcat.apache.org Date: Tue, 30 Jun 2009 10:29:57 -0500 Subject: RE: tomcat hang when start with service tomcat start From: zhicheng wang

RE: tomcat hang when start with service tomcat start

2009-06-30 Thread zhicheng wang
hi sorry for the previous email. found the dump: 2009-06-30 16:50:25 Full thread dump Java HotSpot(TM) Server VM (14.0-b16 mixed mode): MySQL Statement Cancellation Timer daemon prio=10 tid=0x08bc5400 nid=0x1ff4 in Object.wait() [0x8edfe000] java.lang.Thread.State: WAITING (on object

RE: tomcat hang when start with service tomcat start

2009-06-30 Thread Steve Ochani
Send reply to: Tomcat Users List users@tomcat.apache.org From: zhicheng wang zcwli...@hotmail.co.uk To: users@tomcat.apache.org Subject:RE: tomcat hang when start with service tomcat start Date sent: Tue, 30 Jun 2009 16:53:08 +0100 hi do you mean kill -3 pid it

Tomcat 6.0.18 Virtual Hosting and Log4J

2009-06-30 Thread Dhaval Patel
Hello all, I have virtual hosting enabled in tomcat 6.0.18. But I can not forward logs into proper log files. I wants to have two log files, one for tomcat and one for virtual host. Following is my configuration: Server.xml -- Host name=a.localhost

Re: jar loading in folder web-inf/lib/folder/*.jar

2009-06-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Karan, On 6/30/2009 3:12 AM, k...@dossier.no wrote: Loading of jar files under WEB-INF/lib/a_foolder/*.jar wont work. On JBoss 5.0.1GA this works fine but The tomcat class loader cant load thease files. Tomcat is following the servlet

Service available for HTTPS only? (no HTTP)

2009-06-30 Thread Stefan Rainer
Hello! Situation: At the moment we are working on following environment and not able to make any updates with the next time: Win2000 Workstation Tomcat 5.0.28 Axis 1.3 JDK 1.5_11 Until today we had only one HTTP connector configured in Tomcat to provide some (Axis) SOAP Services. All of them

Change Tomcat listening interface in Windows

2009-06-30 Thread smooochy
I installed Tomcat 6 on Windows XP from the .exe installer, and I need to configure it to only listen on the localhost IP. Is this a change I can make in one of the .xml files? -- View this message in context:

Clustering questions

2009-06-30 Thread Mitch Claborn
I'm investigating to set up my first Tomcat cluster and have some questions. 1. Using a SimpleTcpCluster, it looks like session information is replicated to all members of the cluster. If all members of the cluster go down at once, is the session information lost? Can a simple cluster be

Re: jar loading in folder web-inf/lib/folder/*.jar

2009-06-30 Thread Daniel Henrique Alves Lima
On Tue, 2009-06-30 at 11:59 -0400, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Karan, On 6/30/2009 3:12 AM, k...@dossier.no wrote: Loading of jar files under WEB-INF/lib/a_foolder/*.jar wont work. On JBoss 5.0.1GA this works fine but The tomcat class

RE: Change Tomcat listening interface in Windows

2009-06-30 Thread Caldarale, Charles R
From: smooochy [mailto:dps...@shsu.edu] Subject: Change Tomcat listening interface in Windows Is this a change I can make in one of the .xml files? Yes. Did you try reading the doc? http://tomcat.apache.org/tomcat-6.0-doc/config/index.html Set the address attribute in whatever Connector

Re: jar loading in folder web-inf/lib/folder/*.jar

2009-06-30 Thread Daniel Henrique Alves Lima
Karan, if you really want/need this, try to: A) build a.jar an place a start up servlet into it (or any class loaded/executed when you application starts). Change Classpath entry (in the manifest of a.jar) to include mylib/b.jar. Put a.jar under WEB/lib; B) build b.jar and

RE: Service available for HTTPS only? (no HTTP)

2009-06-30 Thread Caldarale, Charles R
From: Stefan Rainer [mailto:s.rai...@teamaxess.com] Subject: Service available for HTTPS only? (no HTTP) The service XY can still be called via HTTP (without SSL). == Does anyone knows a trick to avoid calls via HTTP to this service? Read the servlet spec, the contents of which are

RE: tomcat hang when start with service tomcat start

2009-06-30 Thread Caldarale, Charles R
From: zhicheng wang [mailto:zcwli...@hotmail.co.uk] Subject: RE: tomcat hang when start with service tomcat start main prio=10 tid=0x08059000 nid=0x1b5c runnable [0xb749e000] java.lang.Thread.State: RUNNABLE at java.io.UnixFileSystem.getBooleanAttributes0(Native Method) at

Re: Change Tomcat listening interface in Windows

2009-06-30 Thread smooochy
Honestly I have never worked with Apache before, and I was just asked to package it for deploying it across our campus. So I have looked at the documentation, but it's all Greek to me. But I will look into this and figure it out. Thanks a lot for pointing me in the right direction. -- View this

RE: Change Tomcat listening interface in Windows

2009-06-30 Thread Caldarale, Charles R
From: smooochy [mailto:dps...@shsu.edu] Subject: Re: Change Tomcat listening interface in Windows So I have looked at the documentation, but it's all Greek to me. There are several books on Tomcat, if you can't follow the docs; O'Reilly may be the least objectionable. You will likely want

Re: Clustering questions

2009-06-30 Thread Filip Hanik - Dev Lists
Mitch Claborn wrote: I'm investigating to set up my first Tomcat cluster and have some questions. 1. Using a SimpleTcpCluster, it looks like session information is replicated to all members of the cluster. If all members of the cluster go down at once, is the session information lost? Can a

RE: tomcat hang when start with service tomcat start

2009-06-30 Thread zhicheng wang
hi Chuck many thanks for the reply here is the /etc/init.d/tomcat, it only hangs when run by /sbin/service tomcat start #!/bin/bash # # Startup script for Tomcat, the Apache Servlet Engine # #zcw modified to report status so that it and can be used by service check script

Re: tomcat hang when start with service tomcat start

2009-06-30 Thread André Warnier
zhicheng wang wrote: hi IF but we can start tomcat with other methods such as $CATALINA_HOME/bin/startup.sh (which is the basic script that starts Tomcat) AND /etc/init.d/tomcat start (which basically calls $CATALINA_HOME/bin/startup.sh) AND /etc/rc5.d/S80tomcat start (which is

RE: tomcat hang when start with service tomcat start

2009-06-30 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: tomcat hang when start with service tomcat start the problem must be in something that /sbin/service is doing. Correct; the script that should be undergoing scrutiny is /sbin/service, but the OP seems to be avoiding that for some

Re: Tomcat 6.0.18 Virtual Hosting and Log4J

2009-06-30 Thread Daniel Henrique Alves Lima
Hi, Dhaval. Unless you have added log4j support, i think tomcat 6 installation use java4 log as default log engine. Could this be the problem ? Have you tried to change conf/logging.properties ? Another components (using commons logging for instance) can be using the

Re: Tomcat 6.0.18 Virtual Hosting and Log4J

2009-06-30 Thread Daniel Henrique Alves Lima
In older tomcat versions, log4j was the default log engine. On Tue, 2009-06-30 at 17:38 -0300, Daniel Henrique Alves Lima wrote: Hi, Dhaval. Unless you have added log4j support, i think tomcat 6 installation use java4 log as default log engine. Could this be the problem

Re: tomcat hang when start with service tomcat start

2009-06-30 Thread Konstantin Kolinko
2009/6/30 zhicheng wang zcwli...@hotmail.co.uk: if i try to start tomcat using service tomcat start it hangs at INFO: Initializing Spring root WebApplicationContext or reboot also hangs here BUT, if i run the following commands, it starts up fine: /etc/init.d/tomcat start

Re: tomcat hang when start with service tomcat start

2009-06-30 Thread Filip Hanik - Dev Lists
are you using a mounted network drive? Filip Caldarale, Charles R wrote: From: zhicheng wang [mailto:zcwli...@hotmail.co.uk] Subject: RE: tomcat hang when start with service tomcat start main prio=10 tid=0x08059000 nid=0x1b5c runnable [0xb749e000] java.lang.Thread.State: RUNNABLE at

DBCP and Firewall timeouts

2009-06-30 Thread AD
Hello, We have a tomcat 5.5 server and a mysql 5.1 database sitting between a firewall. The firewall times out connections after 60 minutes. We tried setting the minEvictableIdleTimeMillis to be 30 minutes but we are still seeing these timeouts. Is there a recommended config of ensuring the