Re: What means the second number of Next Maintenance status ?

2008-05-22 Thread Stephanie Wullbieter
E.g. what means Next Maintenance 42/104 ? Thanks -- GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! Jetzt dabei sein: http://www.shortview.de/[EMAIL PROTECTED] - To start a new topic, e-mail:

Distributed Singletons with clustered Tomcat

2008-05-22 Thread Lyallex
Hello Up until now everything I've done with Tomcat has been on a single server. Now I am developing an application that will require multiple Tomcat servers (instances at least) with some sort of load balancer thing in front of them. Classically my ServiceLocator has been a Singleton, now I have

Re: Apache+mod_jk+Tomcat in openSUSE 10.3

2008-05-22 Thread Tomás Tormo
Hi Here i come again!! I'm would like to install apache+mod_jk+tomcat in openSuse 10.3, but according to the howto's for SUSE I've seen on the internet, I should create a virtual host in apache in order to make it work. In my experience in other distros (Ubuntu, CentOs), this is not

Apache and Tomcat sharing the same web root.

2008-05-22 Thread Philip Wigg
Hi, are there any reasons why Apache and Tomcat cannot share the same web root folder, presuming that I exclude access to WEB-INF? Thanks, Phil. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail:

Re: Long freeze during tomcat start

2008-05-22 Thread Adam Hardy
I'm still frustrated by this freeze. Looking at this thread dump, I can see it must be the main thread that's hanging - but how can I work out anything more regarding the problem? I've done all I can think of to open up the machine it's running on - stopping all other unnecessary processes

Re: Long freeze during tomcat start

2008-05-22 Thread Jim Cox
I'd think it's more likely to be timing out while resolving a hostname via DNS, but starting tomcat via strace should show you exactly where it is pausing. On Thu, May 22, 2008 at 5:08 AM, Adam Hardy [EMAIL PROTECTED] wrote: I'm still frustrated by this freeze. Looking at this thread dump, I

Error using log4j in Tomcat 5.5

2008-05-22 Thread nashrul
Hi all, I'm a beginner to web application I tried to create a simple web application, namely WebTest. It only contains one servlet, like this: quote: package solmit; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import

Please review this worker timeout configuration

2008-05-22 Thread Stephanie Wullbieter
Please have a look at this reference worker timeouts: worker.vorlagedummy.port=8009 worker.vorlagedummy.type=ajp13 worker.vorlagedummy.sticky_session=True worker.vorlagedummy.socket_keepalive=True worker.vorlagedummy.connect_timeout=5 worker.vorlagedummy.prepost_timeout=5

Clustering

2008-05-22 Thread Ch Praveena
Hi all, I think I can get a proper response and can solve my issue. I am trying to cluster Jboss(Mainitans tomcat as a web container) using APACHE as load balancer, to run my application written using Hibernate and Echo2. I am finding a common exception called NOTSERIALIZABLE EXCEPTION

Re: Long freeze during tomcat start

2008-05-22 Thread Adam Hardy
Found it! But I think my knowledge of linux system calls and kernel functions is letting me down now. Presumably that is port 48669, which should be open - but is it a DNS call? If it is a DNS call, then the DNS server on the same machine should serve it - piping it out to the net, presumably.

Tomcat, iis connector and case sensitivity

2008-05-22 Thread Luis Villa
Hello all, I'm using IIS 6 with Tomcat 6, and I need to use case insensitive urls. I've been able to do it with the document part, but not with the context name, so: http://MyDomain/index.html --loads http://MyDomain/INDEX.html --loads http://MYDOMAIN/INDEX.html

Re: Long freeze during tomcat start

2008-05-22 Thread Jim Cox
Can you compare that output to a capture from the box where you don't see the pause? I wonder if it's a difference in IPv4/IPv6 configuration between the boxes... On Thu, May 22, 2008 at 8:24 AM, Adam Hardy [EMAIL PROTECTED] wrote: Found it! But I think my knowledge of linux system calls and

Re: Long freeze during tomcat start

2008-05-22 Thread Adam Hardy
I think this is the equivalent part of the strace log from another machine on the LAN: socket(PF_INET6, SOCK_STREAM, IPPROTO_IP) = 10 listen(10, 1) = 0 getsockname(10, {sa_family=AF_INET6, sin6_port=htons(54792), inet_pton(AF_INET6, ::, sin6_addr), sin6_flowinfo=0,

Re: Deploy applications using /user/MyServlet as name

2008-05-22 Thread Johnny Kewl
- Original Message - Cristian I tried... it doesnt work. But what does work is if you unpack the WAR to a location. Create a context file with a DOC BASE then http://myserver:8080/manager/deploy?config=file:/home/user1/webapps/context.xmlpath=/UserX/Whatever Then it will do it...

Re: Long freeze during tomcat start

2008-05-22 Thread Jim Cox
I'm assuming the pause you saw was at the following line? connect(11, {sa_family=AF_INET6, sin6_port=htons(48669), inet_pton(AF_INET6, ::1, sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = -1 ETIMEDOUT (Connection timed out) That looks like a connect attempt to the IPv6 loopback address (?)

Re: Distributed Singletons with clustered Tomcat

2008-05-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lyllax, Lyallex wrote: | Classically my ServiceLocator has been a Singleton, now I have the | prospect of multiple Singletons living in multiple JVMs. Do you actually need intra-JVM synchronization or something like that? Why can these singletons

Re: Apache and Tomcat sharing the same web root.

2008-05-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Philip, Philip Wigg wrote: | are there any reasons why Apache and Tomcat cannot share the same web | root folder, presuming that I exclude access to WEB-INF? Nope, you should be good. I would also restrict access to META-INF, and if you have any

Re: Error using log4j in Tomcat 5.5

2008-05-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nashrul, nashrul wrote: | Hi all, I'm a beginner to web application [and log4j isn't working for me]. [snip] | I also created log4j.properties file in web-app/WEB-INF/classes directory. | It contains the following [configuration]: | |

Re: Please review this worker timeout configuration

2008-05-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stephanie, Please start a new thread when posting a new question. Stephanie Wullbieter wrote: | Please have a look at this reference worker timeouts: | | worker.vorlagedummy.port=8009 | worker.vorlagedummy.type=ajp13 |

Re: tomcat deployment error

2008-05-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Shreekanta, Shreekanta Prasad wrote: | I am using tomcat 5.5. Using deployer utility of tomcat to | do hot deployment to the server. But it is giving error error like | | \build.xml:98: java.io.IOException: | | Server returned HTTP response code:

Re: Clustering

2008-05-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ch, Ch Praveena wrote: | I think I can get a proper response and can solve my issue. I am | trying to cluster Jboss(Mainitans tomcat as a web container) using APACHE as | load balancer, to run my application written using Hibernate and Echo2.

Re: Tomcat, iis connector and case sensitivity

2008-05-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Luis, Luis Villa wrote: | I'm using IIS 6 with Tomcat 6, and I need to use case insensitive urls. I'm pretty sure that breaks the URI specification. The only part of the URI which is considered case-insensitive is the scheme (protocol). Since

Re: What means the second number of Next Maintenance status ?

2008-05-22 Thread Rainer Jung
Stephanie Wullbieter schrieb: Hello, with mod_jk 1.2.23 status worker there is the output Next Maintenance The first seems to be the countdown until next maintenance. But what does the second number stand for? Could not find it in the docs. Due to the way the maintenance feature is

Re: possible bug for mod_jk configure for cygwin

2008-05-22 Thread Rainer Jung
Committed for 1.2.27. Thanks for reporting. Taro App schrieb: Hi Rainer, Yes, your patch solved the problem! Thank you. Taro App -- Forwarded message -- From: Rainer Jung [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Date: Tue, 20 May 2008 10:27:49 +0200

Re: Please review this worker timeout configuration

2008-05-22 Thread Rainer Jung
Stephanie Wullbieter schrieb: Please have a look at this reference worker timeouts: worker.vorlagedummy.port=8009 worker.vorlagedummy.type=ajp13 worker.vorlagedummy.sticky_session=True worker.vorlagedummy.socket_keepalive=True worker.vorlagedummy.connect_timeout=5

error message, can you tell me where I went wrong

2008-05-22 Thread Rick Simpson
I am new to Tomcat and I am trying to setup a new 2003 server to replace an existing 2k server. I have downloaded the Tomcat 5.5 and installed. When I get it installed it says it is stopped and when trying to start just goes back to stopped. I have tried to look at all the faq and tried to compare

Re: error message, can you tell me where I went wrong

2008-05-22 Thread Chris Stewart
Rick, The JAVA_HOME\bin directory needs to be added to the PATH variable on your machine. Do that and then try to restart the server. Chris Stewart [EMAIL PROTECTED] On May 22, 2008, at 10:44 AM, Rick Simpson wrote: I am new to Tomcat and I am trying to setup a new 2003 server to

mod jk and workers file

2008-05-22 Thread Mehrotra, Anurag
I am using apache 2.0.59 to connect to Tomcat 6.0.16 using mod_jk 1.2.26. Current configuration is working just fine. I have specified my worker.properties file location under httpd.conf (apache web server) as follows: JkWorkersFile D:\Apache Software Foundation\Tomcat

RE: error message, can you tell me where I went wrong

2008-05-22 Thread Caldarale, Charles R
From: Chris Stewart [mailto:[EMAIL PROTECTED] Subject: Re: error message, can you tell me where I went wrong The JAVA_HOME\bin directory needs to be added to the PATH variable on your machine. The above is useless - Tomcat is being run as a service, so there is no PATH in effect. I have

Re: error message, can you tell me where I went wrong

2008-05-22 Thread Chris Stewart
Chuck, Randomly throwing around versions of DLLs is not the answer to this problem. I had the exact issue as the original poster described and what I posted solved my issue. What fixes the issue is putting the msvcr71.dll file in the system32 directory on the machine. Of course this

RE: error message, can you tell me where I went wrong

2008-05-22 Thread Rick Simpson
Thanks everyone for the responses. I added the msvcr71.dll to the Tomcat bin file and it fixed my problems. THANKS -Original Message- From: Chris Stewart [mailto:[EMAIL PROTECTED] Sent: Thursday, May 22, 2008 11:23 AM To: Tomcat Users List Subject: Re: error message, can you tell me

Blank page when installing tomcat in Mac Leopard

2008-05-22 Thread Christina Tziviskou
hi everyone, I recently installed tomcat version 6.0 in mac Leopard. After installation, by calling the http://localhost:8080/ page, I get a blank page. No error messages are in the log files, and i keep getting the blank page even if i ask jsp pages contained in the webapps folder. I had no

Re: Long freeze during tomcat start

2008-05-22 Thread Adam Hardy
Tell you the truth, I can only assume IPv6 stuff is configured to the debian etch defaults - although that might have changed between the date I installed the no-pause-box and the date I installed the problem box. no-pause-box: eth0 Link encap:Ethernet HWaddr 00:10:DC:79:FF:8F

Broken pipe errors

2008-05-22 Thread James Law
Can anyone help with the below error? We have just changed from a FC8 box with the default install (Test Box) to a FC8 box with a more stripped down install (both the same machines) With the stripped down install we now get the following error, the only difference's between the two was the test

Re: Apache and Tomcat sharing the same web root.

2008-05-22 Thread Mark Thomas
Christopher Schultz wrote: Philip, Philip Wigg wrote: | are there any reasons why Apache and Tomcat cannot share the same web | root folder, presuming that I exclude access to WEB-INF? Nope, you should be good. I would also restrict access to META-INF, and if you have any files that should

Moving a site

2008-05-22 Thread Rick Simpson
Another question, that I am sure I am just over looking something simple. I need to move a folder from old server to new server for a sales website. I know I am missing something obvious but I have tried serveral ways and none seem to work. Is there some magic. I have copied the folder into the

Re: mod jk and workers file

2008-05-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Anurag, Mehrotra, Anurag wrote: | I now have to connect the same instance of web server (as above) to another | instance of Tomcat running on a different ip address and port numbers. | | How can I go about specifying multiple Workers file? You

Re: Moving a site

2008-05-22 Thread David Smith
So you decided to take our hair as well .. :-) Specifics please: Tomcat version: Java version: OS: Any relevant excerpts from the logs: --David Rick Simpson wrote: Another question, that I am sure I am just over looking something simple. I need to move a folder from old server to new

Re: Broken pipe errors

2008-05-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 James, James Law wrote: | Can anyone help with the below error? We have just changed from a FC8 | box with the default install (Test Box) to a FC8 box with a more | stripped down install (both the same machines) Is anything actually not working?

Re: Broken pipe errors

2008-05-22 Thread David Smith
Broken pipe can also happen when faulty network hardware or sensitive firewalls drop the connection. --David Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 James, James Law wrote: | Can anyone help with the below error? We have just changed from a FC8 | box with

RE: Moving a site

2008-05-22 Thread Rick Simpson
All 3 remaining hairs will thank you. Tomcat 5.5 Java JDK 1.6.0 Sever 2003 May 22, 2008 11:53:05 AM org.apache.catalina.core.StandardContext stop INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/SalesPor tal] has not been started May 22, 2008 11:53:12 AM

Re: Moving a site

2008-05-22 Thread David Smith
SEVERE: Error starting static Resources java.lang.IllegalArgumentException: Document base C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\SalesPortal does not exist or is not a readable directory Can you post more of this ... like say a root cause? Also can you verify the

Re: Moving a site

2008-05-22 Thread Leon Rosenberg
maybe you should pick a dir without spaces. regards Leon On Thu, May 22, 2008 at 9:01 PM, David Smith [EMAIL PROTECTED] wrote: SEVERE: Error starting static Resources java.lang.IllegalArgumentException: Document base C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\SalesPortal

RE: Moving a site

2008-05-22 Thread Rick Simpson
David I am sorry to sound like I don't know what I am doing but I don't. I can open the rest of the folders in webapp folder from the manager just not mine. The file I am moving came from version 4.1 of Tomcat, not sure if that matters or not. -Original Message- From: David Smith

Re: Moving a site

2008-05-22 Thread David Smith
Regarding the logs, exceptions usually log very much like what you posted then go off into a huge list of '... at (some class name) (some line number)'. For example: java.lang.IllegalArgumentException: Document base C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\SalesPortal

RE: Moving a site

2008-05-22 Thread Rick Simpson
First It is a 20 meg folder not a shortcut Second Local system has read permissions Third C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\SalesPortal Fourth sorry its so long but complete log ay 22, 2008 11:50:43 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO:

Re: Moving a site

2008-05-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rick, Rick Simpson wrote: | C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\SalesPortal Leon hinted that a path with spaces might be the problem. My experience on win32 is that spaces are /sometimes/ a problem, and I haven't been

Debugging a Web application

2008-05-22 Thread R. Sriram
Hello, I am using Tomcat 6.0.16 and JDK 1.6. I am using IntelliJ IDEA as my IDE to develop a Web application. What Port(s) does Tomcat Listen to. I am unable to connect to localhost:5005. The command Line args I have set in the IDE is: -Xdebug -Xnoagent -Djava.compiler=NONE

Tomcat WebDAV - Restrict Fileupload with a max filesize

2008-05-22 Thread Thorsten Hodes
Hello! How can I restrict the maximum filesize for webdav - users I have defined in the web.xml configuration of the tomcat's webdav servlet... Here is my actual definition in web.xml !-- Secure WebDAV - ROOT with these Authentification Role -- security-constraint

Re: Moving a site

2008-05-22 Thread Martin
Turn on god permissions on that folder.. Martin - Original Message - From: David Smith [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, May 22, 2008 3:01 PM Subject: Re: Moving a site SEVERE: Error starting static Resources

RE: tomcat deployment error

2008-05-22 Thread Shreekanta Prasad
Hi Chris/all, Thanks this is solved. Two jars related to deployment catalina-ant.jar and Catalina-deployer.jar. were inside tomcat/common/lib directory where other server related jars are there.I saperated these two from that location. It works :). Thanks and Regards - Shreekanta Prasad

[Fwd: Re: Re: [Fwd: Tomcat manager]]

2008-05-22 Thread Khurram H Khan
Thanks for your reply. No there are no national characters that I am using in my user name and password. Furthermore I have another instance of tomcat running on another server which is behind a vpn and I used its manager to stop and start webapps, it is not like that I don't know how to set