Worrying problem

2003-11-20 Thread Walter do Valle
What's the problem with Tomcat in Linux? Sometimes it opens many threads and the command tomcat4 stop does nost stop all threads. I need to kill one by one. Why?

RE: mod_jk + apache 2.0.40 + redhat 9.0

2003-11-20 Thread Asif Chowdhary
Thanks for the help -Original Message- From: Oscar Carrillo [mailto:[EMAIL PROTECTED] Sent: Thursday, November 20, 2003 12:14 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: mod_jk + apache 2.0.40 + redhat 9.0 I would suggest using more than one as a reference in case something

RE: Worrying problem

2003-11-20 Thread Shapira, Yoav
Howdy, Sometimes it opens many threads and the command tomcat4 stop does nost stop all threads. I need to kill one by one. Why? When you say sometimes, what do you mean exactly? Can you reproduce it in a test case? Is there a correlation between high load on your system and a high number of

Re: [POLL] Logging

2003-11-20 Thread epyonne
Log4J - Original Message - From: Pitre, Russell [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, November 20, 2003 11:33 AM Subject: [POLL] Logging I need to use a robbust logging api for my webapp that I'm building, so I decided I would cast a poll to get

Re: Worrying problem

2003-11-20 Thread Walter do Valle
Sometimes it opens many threads and the command tomcat4 stop does nost stop all threads. I need to kill one by one. Why? When you say sometimes, what do you mean exactly? Can you reproduce it in a test case? 2 -3 times by day. I don't know exactly what is causing the problem. I can't reproduce

Re: Worrying problem

2003-11-20 Thread Oscar Carrillo
You didn't state what Linux distribution or tomcat, or java version. Do you use apache in front of tomcat? Do you have the latest packages for your Linux distribution? In particular, nptl, gcc, kernel packages. Have you tried the old threading model by setting it in your startup script?:

RE: Worrying problem

2003-11-20 Thread Shapira, Yoav
Howdy, 2 -3 times by day. I don't know exactly what is causing the problem. I can't reproduce that. You're going to have a tough time getting help solving a problem you can't reproduce. Is there a correlation between high load on your system and a high number of threads? There should be. CPU

RE: RE : JK2 error- file access denied

2003-11-20 Thread James Ostad
I wish you would have been right on this. In either case the application works in SunOne, but not in Tomcat. got to be something else. James -Original Message- From: eric perso [mailto:[EMAIL PROTECTED] Sent: Thursday, November 20, 2003 12:01 PM To: 'Tomcat Users List' Subject: RE : JK2

RE: mod_jk1.2 Binary for Solaris ?

2003-11-20 Thread Chakravarthy, Sundar
Yes , thanks I had to use gnu tar. -Original Message- From: jean-frederic clere [mailto:[EMAIL PROTECTED] Sent: Thursday, November 20, 2003 11:30 AM To: Tomcat Users List Subject: Re: mod_jk1.2 Binary for Solaris ? Chakravarthy, Sundar wrote: I don't find any mod_jk so files for

mod_jk 1.2 so Bug ?

2003-11-20 Thread Chakravarthy, Sundar
The latest mod_jk1.2 binary for Solaris 8 , apache 2.x , tomcat 4.x does not connect with tomcat. Is it a bug ? I keep getting the following error in the log, [Thu Nov 20 11:36:39 2003] [jk_connect.c (233)]: jk_open_socket, connect() failed errno = 128 [Thu Nov 20 11:36:39 2003]

RE: org.apache.jasper.JasperException: Unable to compile class for JSP

2003-11-20 Thread Derek Mahar
Did you put your class in package? Unless you put your classes (even those in a jar file) in a package, Tomcat assumes a default package of org.apache.jsp. If you did not put your class in that package, Tomcat won't find it. See http://marc.theaimsgroup.com/?l=tomcat-userm=102997632829655w=2.

RE: org.apache.jasper.JasperException: Unable to compile class for JSP

2003-11-20 Thread Derek Mahar
Also see http://jakarta.apache.org/tomcat/faq/classnotfound.html. Derek -Original Message- From: Luis Estevens [mailto:[EMAIL PROTECTED] Sent: November 20, 2003 12:44 PM To: '[EMAIL PROTECTED]' Subject: org.apache.jasper.JasperException: Unable to compile class for JSP Hello I

shutting down tomcat, Error

2003-11-20 Thread Sunitha Kumar
Folks, Any pointers to this.thanks, Stopping service Tomcat-Standalone Nov 20, 2003 1:18:50 AM org.apache.coyote.http11.Http11Protocol destroy INFO: Stoping http11 protocol on 4040 Catalina:type=ThreadPool,name=http4040 Nov 20, 2003 1:18:50 AM org.apache.jk.common.ChannelSocket destroy INFO: Error

RE: not see the directory

2003-11-20 Thread Cox, Charlie
set listings to false in conf/web.xml Charlie -Original Message- From: eric perso [mailto:[EMAIL PROTECTED] Sent: Thursday, November 20, 2003 11:30 AM To: tomcat user List Subject: not see the directory hi, i search to: don't see inside a directory like

RE: Tomcat 4.1.24 Standalone max requests serviced java exception

2003-11-20 Thread Yansheng Lin
I will give this a try: I don't think this is related to the number of requests. By default, JSP pages will try to create a session. So if you call a new jsp page after the response has been sent committed, this is exactly what is supposed to happen. Are you trying to forward or redirect the

RE: Tomcat 4.1.24 Standalone max requests serviced java exception

2003-11-20 Thread Yansheng Lin
Here is a good link explaining the error: http://www2.real-time.com/rte-tomcat/2000/Jun/msg02488.html -Original Message- From: Yansheng Lin [mailto:[EMAIL PROTECTED] Sent: Thursday, November 20, 2003 1:12 PM To: 'Tomcat Users List' Subject: RE: Tomcat 4.1.24 Standalone max requests

How jasper determines when to use default package org.apache.jsp when translating jsps to servlets?

2003-11-20 Thread Kris Gemborys
Tomcat 4.1/Windows XP I am working on the ant script that should precompile all jsp pages for a given web application. I used build.xml from Tomcat documentation as starting point. After running ant I found that some of the translated and compiled jsp pages are not working. For some reason

Re: How jasper determines when to use default package org.apache.jsp when translating jsps to servlets?

2003-11-20 Thread Christopher Schultz
Kris, After running ant I found that some of the translated and compiled jsp pages are not working. The build.xml I created always updates generated servlets with the package statement based on the jsp location in the web application directory tree. Why are you fiddling with the package

Re: mod_jk 1.2 so Bug ?

2003-11-20 Thread Christopher Schultz
Sundar, The latest mod_jk1.2 binary for Solaris 8 , apache 2.x , tomcat 4.x does not connect with tomcat. Are Apache and Tomcat both running on the same machine? Are your port numbers in workers.properties correct? -chris - To

Re: How jasper determines when to use default package org.apache.jsp when translating jsps to servlets?

2003-11-20 Thread Kris Gemborys
Christopher Schultz wrote: Kris, After running ant I found that some of the translated and compiled jsp pages are not working. The build.xml I created always updates generated servlets with the package statement based on the jsp location in the web application directory tree. Why are you

How to turn on uriMap debug logging in mod_jk2?

2003-11-20 Thread Dennis McRitchie
There are a number of places in jk_uriMap.c with code such as: if (uriMap-mbean-debug 1) env-l-jkLog(env, env-l, JK_LOG_DEBUG, uriMap.mapUri() no match found\n); I have been unable to turn this on. I have in my workers2.properties:

Re: How jasper determines when to use default package org.apache.jsp when translating jsps to servlets?

2003-11-20 Thread Justin Ruthenbeck
Filip Hanik has posted a build script that does a deployment-time compilation of all JSP files in an app -- sounds like what you're looking for. I haven't used it, but it's a pretty common request on the list and it seems his solution has worked well for people. You can check it out here:

Cookies

2003-11-20 Thread Mark Tebong
I set a cookie like this from a servlet (URI= /app/servlet/myPackage.CookieTest): Cookie userCookie = new Cookie(someName, someValue); userCookie.setMaxAge(60*60*24*365); response.addCookie(userCookie); I later try to read the cookies using a JSP

PROPERTIES files cannot be found?

2003-11-20 Thread Ralf B
Hi, I have a properties file in my jar and put in under Tomcat/webapps/opencms/WEB-INF/lib/mystuff.jar Inside the jar the properties file is under /res/myconfig.properties. OpenCms is a servlet in tomcat, depoyed and working. I think this question is generally enough to be allowed to ask here in

RE: Cookies

2003-11-20 Thread Patrick Willart
Since you don't specify the path when you write the cookie it's in /app/servlet. This means that this cookie can only be read by pages/servlets in this directory or subdirectories. Your JSP is in a different directory structure and is not allowed to read the cookie you wrote. add

Intellij and Tomcat

2003-11-20 Thread Jason Wood
I see that this has been posted on before but I did not see an answer. 1) I can run my web application using Tomcat by itself. 2) When I try to debug or run my web application form Intellij (With Tomcat choosen as my Application Server) I receive the following... 3) The is a lot of text below,

Re: Path not found problem.

2003-11-20 Thread Harry Mantheakis
Hello This: style type=css/text src=../styles/global_style.css Should read: style type=css/text href=../styles/global_style.css The devil is in the details :-) Harry Mantheakis London, UK Sorry directory should be, (typo): - Directory structure: j2ee-test |- doc |- src |- web

Re: server error

2003-11-20 Thread Deepak Parbhoo
Check you have the log4j jar file in your classpath for your server... Subramaniyam Hemalatha wrote: hello , i get this following error when i run my jsp page. will u be able to guide me. thks hema Error 500--Internal Server Error java.lang.NoClassDefFoundError: org/apache/log4j/Category

Mapped to default message

2003-11-20 Thread Simon Taylor
Any help gratefully appreciated. Installed (Apache 1.3.29, Tomcat 1.4.29, Mod_JK 1.2) Examples can be accessed direct from tomcat ala http://westernesse:4321/examples/servlets/index.html http://westernesse:4321/examples/servlets/index.html And also from Apache ala

Re: PROPERTIES files cannot be found?

2003-11-20 Thread Christopher Schultz
Ralf, I have a properties file in my jar and put in under Tomcat/webapps/opencms/WEB-INF/lib/mystuff.jar Inside the jar the properties file is under /res/myconfig.properties. OpenCms is a servlet in tomcat, depoyed and working. I think this question is generally enough to be allowed to ask here in

Re: Dead threads

2003-11-20 Thread Antony Paul
I got this code by searching one list (I think it is tomcat-dev). code is given below. // to print the number of threads in tomcat. ThreadGroup systemthreadgroup; ThreadGroup parentthreadgroup; systemthreadgroup = Thread.currentThread().getThreadGroup(); while ((parentthreadgroup =

Connection connection

2003-11-20 Thread vic banta
in the getUser() method below, it has the parameter Connection connection, is the connection to the database established in this line or is a connection object being passed to it? I assume since it is a get method nothing is being passed to it. public static synchronized User

Re: Connection connection

2003-11-20 Thread vic banta
nevermind.. I found it :-) vic banta [EMAIL PROTECTED] wrote: in the getUser() method below, it has the parameter Connection connection, is the connection to the database established in this line or is a connection object being passed to it? I assume since it is a get method nothing is

Re: Connection connection

2003-11-20 Thread Kwok Peng Tuck
It looks like getUser is actually passed a Connection object from somewhere, otherwise why pass it a Connection object. vic banta wrote: in the getUser() method below, it has the parameter Connection connection, is the connection to the database established in this line or is a

Re: [POLL] Logging

2003-11-20 Thread Bill Barker
Aside from a couple of throw-away apps (that I can't be bothered to config :), it's Log4J all the way ;-). Pitre, Russell [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I need to use a robbust logging api for my webapp that I'm building, so I decided I would cast a poll to get census

<    1   2