tomcat process getting killed... Please Help...

2007-04-23 Thread Libu Mon C.D
Hi, We are developing one element management system with its Web Client running on Tomcat in a solaris box. It was observed that tomcat server process is getting killed automatically. We checked the log files. The whole sequence is just like when undeploying the war file, but without anybody actu

security Exception in tomcat6, jdk6+ubuntu6.06

2007-04-23 Thread Ranganath s
Hi all, Sorry for the mishap in my previous mail. I really didnt mean It. I just installed the Tomcat 6 on jdk6 with Ubuntu6.06. I am getting the following exceptions in the log. please kindly let me know how to go about solving this. I have set the context to true in the context.xml I

Tomcat does not stop if the deployment fails

2007-04-23 Thread padam chhetri
Hi All, I need to stop the tomcat gracefully(not manually) if the deployment of my web application fails. The scenario is this my web application has configuration file if I enter the wrong values in the file then the deployment of my appplication fails but the Tomcat starts up successfully

Listener vs. load-on-startup

2007-04-23 Thread lizhg
Hi all,I have some problem with Listener and load-on-startup,I serch on google and I find this article below,it do a lot good to me, but I still want to ask , using the init() of a servlet and the contextDestroyed() of a listener are equal to Iusing the contexInitialized() and the contextDestr

Re: Tomcat http 408 error

2007-04-23 Thread Cain Marko
Thanks. I notice in the server code, in some case, it does this in the doGet(): response.setStatus(408); return; Will it cause tomcat to send down and error page to client with the error message? The client did not produce a request within the time that the server was prepared to

Re: Same entries in stderr and catalina logs

2007-04-23 Thread Rashmi Rubdi
Hi Naveen, I don't know the big picture about why the same logs get posted to Standard Output (Console) and Catalina log files , but this is default behavior. There might be some logging configuration that may allow one to turn off logging to either the console or the log file, but I wouldn't wo

Re: Tomcat http 408 error

2007-04-23 Thread Mark Thomas
Cain Marko wrote: > Hi, > > I am running a servlet on tomcat 4.1. > > When I hit my servlet, I sometime see the following error message: > > The client did not produce a > request within the time that the server was prepared to wait > (). In this case, the client is your browser. It means a conn

RE: How can I control the path of my web app?

2007-04-23 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Subject: Re: How can I control the path of my web app? > > Does the manager application allow you to deploy WARs with custom > configuration (such as this), or does it only allow vanilla > WARs with a context.xml within them? It wouldn't s

Re: How can I control the path of my web app?

2007-04-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, Caldarale, Charles R wrote: >> From: Christian Schröder [mailto:[EMAIL PROTECTED] >> Subject: Re: How can I control the path of my web app? >> >> Do I have any chance if I don't have access to any directory >> outside of the webapps directory

RE: Cannot pass parameters to tomcat5.exe //IS//MyService and a few other questions

2007-04-23 Thread Caldarale, Charles R
> From: tenley ludewig [mailto:[EMAIL PROTECTED] > Subject: Cannot pass parameters to tomcat5.exe > //IS//MyService and a few other questions > > 1. I am using Tomcat 5.5 and JDK 1.5 and trying to install a > Windows service with the following command. Why aren't you using the supplied .bat s

RE: How can I control the path of my web app?

2007-04-23 Thread Caldarale, Charles R
> From: Christian Schröder [mailto:[EMAIL PROTECTED] > Subject: Re: How can I control the path of my web app? > > Do I have any chance if I don't have access to any directory > outside of the webapps directory? Not that I can figure out, but others might have some ideas. - Chuck THIS COMMUN

Re: How can I control the path of my web app?

2007-04-23 Thread Christian Schröder
Caldarale, Charles R wrote: > If you want to use a multi-level URL path to access your webapp, you need to > do two things: > > 1) Place your .war file outside of Tomcat's directory structure to avoid > having it deployed twice. > > 2) Create a file named foo#bar#MyWebApp.xml in conf/Catalina/[h

Re: Stable versions of Tomcat/JDK

2007-04-23 Thread Rashmi Rubdi
I use the current latest released (non-beta) version 6.0.10 with the latest JDK --- 1.6.0 - it has been quite stable from my experience so far. Please note that the directory structure in 6.x has changed to a smaller, simpler structure. I was successfully able to upgrade my web applications from

RE: How do I create a single jar of tomcat embedded on the Mac?

2007-04-23 Thread Caldarale, Charles R
> From: "risky57" <[EMAIL PROTECTED]> > Subject: How do I create a single jar of tomcat embedded on the Mac? > > i need a single executable jar. > i keep getting: > Exception in thread "main" java.lang.NoClassDefFoundError: The jar should have a META-INF/MANIFEST.MF file in it (the names must be

Re: How do I create a single jar of tomcat embedded on the Mac?

2007-04-23 Thread Martin Gainty
please display the name of the class which is missing (from ClassDefNotFound) which should be displayed in either %CATALINA_HOME%/logs/localhost.-MM-DD.log %CATALINA_HOME%/logs/stdout_MMDD.log M-- This email message and any files transmitted with it contain confidential information inten

How do I create a single jar of tomcat embedded on the Mac?

2007-04-23 Thread risky57
ok, ive got my tomcat embedded application working. in eclipse. it runs. starts. stops. all fine. i cant seem to jar this application up properly. i need a single executable jar. i keep getting: Exception in thread "main" java.lang.NoClassDefFoundError: can anyone help? -- View this mes

Re: Tomcat + jk + Apache httpd on Windows 2003 Very Slow

2007-04-23 Thread Rainer Jung
OK, but for this request all log lines belonging to the request were logged during a single second. So there's no indication, hat this request took a long time (like the 10 seconds you mentioned in your original post). Regards, Rainer Avi Flax schrieb: > Rainer, thanks for the suggestion. I set

Stable versions of Tomcat/JDK

2007-04-23 Thread Will Holmes
We are looking to upgrade our versions of Tomcat and JDK. What versions would you recommend? We are currently on Tomcat version 5.0.28 and JDK version 1.4.11. Thanks! Will Holmes Programmer Analyst Fremont Insurance Company Ph: 231-924-0302 Ext. 145 E-Mail: [EMAIL PROTECTED]

RE: How can I control the path of my web app?

2007-04-23 Thread Caldarale, Charles R
> From: Christian Schröder [mailto:[EMAIL PROTECTED] > Subject: How can I control the path of my web app? > > But now I want my servlets to be accessible at > "http://127.0.0.1:8080/foo/bar/MyWebApp/...";. If you want to use a multi-level URL path to access your webapp, you need to do two thin

Re: badly need help on some issues with jakarta Tomcat Connector for IIS

2007-04-23 Thread Per Jonsson
Usually the SCORM functionality is hidden in a Servlet or something similar so the problem if the client can't get throu to that particular servlet or resource it needs. Ask the product support if there is any special path which the client have to have access to in the LMS. And make sure you ha

RE: Problem with compiling tomcat native

2007-04-23 Thread Fargusson.Alan
I just want to make one point clear: Even when you are using bash, if /bin/sh is linked to some other shell, or is a copy of some other shell, then shell scripts may be run by that other shell, and not bash. I have seen problems due to the order in which packages are installed. It seems that

Re: How can I control the path of my web app?

2007-04-23 Thread Rashmi Rubdi
Hi Christian, MyWebApp is a Context (web application ) in Web Container (Tomcat) terminology. It appears to me that you would like MyWebApp to function as a path or a directory. One approach I would try myself is: instead of deploying the app at some context such as MyWebApp, I would deploy it

badly need help on some issues with jakarta Tomcat Connector for IIS

2007-04-23 Thread Swaroop George
Context: I am trying to setup a reverse proxy solution from a DMZ server to an internal server. The DMZ server is running Windows 2003(32 bit) with IIS 6.0. The internal server is another Windows 2003 box running a JBoss/Tomcat app server. Additional complexity: The product is Learning Management

How can I control the path of my web app?

2007-04-23 Thread Christian Schröder
Hi list! It seems that I have not yet understood the concept of webapps, contexts, servlet mappings etc. I have a long experience with good old Apache web server, but I'm quite new to servlet development / deployment in general and Tomcat in particular. My problem is as follows: I have a Tomcat

Re: Problem with compiling tomcat native

2007-04-23 Thread Orlando Reis
Thanks for the reply Alan. I'm using bash, and have used bash in Solaris, Linux (Centos, RHE5, Fedora, Ubuntu). None of those platforms gave me a headache, only Debian 4.0, with Debian 3.1I didn't have a problem. Orlando On 4/23/07, Fargusson.Alan <[EMAIL PROTECTED]> wrote: It may be that th

Re: Tomcat + jk + Apache httpd on Windows 2003 Very Slow

2007-04-23 Thread Avi Flax
Rainer, thanks for the suggestion. I set JkLogLevel to debug, and here's an example of what shows up in the file for a request: [Mon Apr 23 13:47:46 2007] [1188:2392] [debug] mod_jk.c (2092): Single worker (localhost) configuration for /manager/status [Mon Apr 23 13:47:46 2007] [1188:2392] [debug

Tomcat http 408 error

2007-04-23 Thread Cain Marko
Hi, I am running a servlet on tomcat 4.1. When I hit my servlet, I sometime see the following error message: The client did not produce a request within the time that the server was prepared to wait (). I am sure that my servlet generates that error message. Can you please tell me what does t

RE: Problem with compiling tomcat native

2007-04-23 Thread Fargusson.Alan
It may be that the configure script depends on the default shell (/bin/sh) being BASH. Does it work if you do "bash configure"? -Original Message- From: Orlando Reis [mailto:[EMAIL PROTECTED] Sent: Monday, April 23, 2007 4:25 AM To: users@tomcat.apache.org Subject: Problem with compiling

Re: Can't create jdbc resource in context.xml

2007-04-23 Thread Rashmi Rubdi
Hi Glen, I compared your configuration with the standard configuration mentioned http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html and found a few differences. Please see my replies to your post below: On 4/20/07, Glen Vermeylen <[EMAIL PROTECTED]> wrote: Hello every

Cannot pass parameters to tomcat5.exe //IS//MyService and a few other questions

2007-04-23 Thread tenley ludewig
Hi. I have three questions and am pretty desperate and lost as to how to resolve them. Here goes. 1. I am using Tomcat 5.5 and JDK 1.5 and trying to install a Windows service with the following command. "%CATALINA_HOME%\bin\tomcat5.exe" //IS//MyService --StartClass org.apache.catalina.start

Re: integrate Tomcat 5.5.17 and Apache 2.2.23 with IPV6

2007-04-23 Thread Martin Gainty
Saveiro As this is user list for tomcat specific questions.. apache specific questions should be posted to [EMAIL PROTECTED] M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If yo

Re: integrate Tomcat 5.5.17 and Apache 2.2.23 with IPV6

2007-04-23 Thread SAVERIO FERRARO
Excuse me Chrystopher, this is different problem. Last week I resolve the problem with Tomcat 5.5.17 and IPV6. Now i want integrate Apache and tomcat on IPv6. thanks Saverio From: Christopher Schultz <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" To: Tomcat Users List Subject: Re: integra

Re: Force Apache to drop port 8080 when forwarding to Tomcat 6.0.10 using mod_jk-1.2.22

2007-04-23 Thread Khalil
Thank you so much John for your insights. I have resolved the issue over the weekend. I had port 8080 hard coded in my struts-config.xml. As far as the load balancing is concerned, at the moment I am only using 1 instance of tomcat for testing but I will actually be deploying to a farm (4 instan

Re: Image problem

2007-04-23 Thread Christopher Schultz
Khurram, kz wrote: > I am having this problem that images are not shown in the page > properly when we load the page for the first time. Are you using Apache httpd in front of Tomcat? This often happens before Tomcat has decided that your browser can support cookies and so all your URLs have the

Re: Image problem

2007-04-23 Thread Johnny Kewl
Mm I had something similar once... maybe same problem. Are you reading parameters, that then say describe the path to the image? If so, then what could be happening is you are going straight to the JSP page and the servlet has not initialised yet, it hasnt read the params yet! ie Direct

RE: Tomcat and Java6

2007-04-23 Thread gabores
Hi .. >> Does anyone know what the IS_INVALID_HANDLE(gWorker) is checking? >> Or why the apxCreateJava(..) is failing why? procmon from Mark Russinowitch showed, what happens : After loading the jvm.dll there is an attempt to load msvcr71.dll form the jvm dir and from the path (this dll is onl

Re: JNDI Problem

2007-04-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aurélien, Aurélien Allienne wrote: > member Looks like "member" /is/ the correct attribute. Can you execute that search independently to verify that you're not missing something? I'm trying to establish if LDAPRealm is broken (which is unlikely) or i

Re: integrate Tomcat 5.5.17 and Apache 2.2.23 with IPV6

2007-04-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Saverio, This was just answered recently (ans possibly before that). Check the archives from the last week or two for the subject "SOLUTION: Tomcat 5.5.17 and IPv6 configuration". - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32

Re: Listener won't start -> NoClassDefFoundError

2007-04-23 Thread Pid
Mike Peremsky wrote: If it helps at all I am running on Windows XP. If it's in the webapp directory, that explains it. It's not in the same classloader. You probably want ServletContextListener, rather than a LifecycleListener. The latter is a Tomcat interface, rather than a Servlet spec de

RE: Listener won't start -> NoClassDefFoundError

2007-04-23 Thread Caldarale, Charles R
> From: Mike Peremsky [mailto:[EMAIL PROTECTED] > Subject: Re: Listener won't start -> NoClassDefFoundError > > Apr 22, 2007 10:31:32 PM org.apache.catalina.core.StandardContext > listenerStart > SEVERE: Error configuring application listener of class > com.sf.listener.SingletonLoader > java.la

integrate Tomcat 5.5.17 and Apache 2.2.23 with IPV6

2007-04-23 Thread SAVERIO FERRARO
Hi all, I'm tring to integate Apache 2.2.23 and tomcat 5.5.17 on a windows XP with IPv4 and all is OK. It runs well! Now I want to integrate Tomcat 5.5.17 and Apache 2.2.23 on windows XP with IPV6 somone could help me? I have just tried to replace IPv4 Address with IPv6 address in httpd.conf,

Re: Listener won't start -> NoClassDefFoundError

2007-04-23 Thread Mike Peremsky
If it helps at all I am running on Windows XP. Mike Peremsky <[EMAIL PROTECTED]> wrote: Pid <[EMAIL PROTECTED]> wrote: Rashmi Rubdi wrote: > Hi Mike, > > Someone has posted a solution to the new error you're getting: > http://mail-archives.apache.org/mod_mbox/tomcat-users/200512.mbox/[

Re: Listener won't start -> NoClassDefFoundError

2007-04-23 Thread Mike Peremsky
Pid <[EMAIL PROTECTED]> wrote:Rashmi Rubdi wrote: > Hi Mike, > > Someone has posted a solution to the new error you're getting: > http://mail-archives.apache.org/mod_mbox/tomcat-users/200512.mbox/[EMAIL > PROTECTED] > > > their solution was under: > > 6. Edited Tomcat 'server.xml' (in t

Re: JNDI Problem

2007-04-23 Thread Aurélien Allienne
I have this in phpLDAPadmin : * cn * required , rdntomcat admin agenda * member

Re: JNDI Problem

2007-04-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aurélien, Aurélien Allienne wrote: > roleSearch="(member={0})" Is this correct? Often, members of a group are "uniqueMember" attributes. Can you confirm that similar queries return what you are looking for when you issue them from

JNDI Problem

2007-04-23 Thread Aurélien Allienne
HI, I have a problem with JNDIRealm. I have this context.xml : ldap://ldapmasta:1389"; userBase="ou=people,dc=univ-lille2,dc=fr" userSearch="(supannAliasLogin={0})" roleBase="ou=appli,dc=univ-lille2,dc=fr"

Re: sending smtp mail failure

2007-04-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 MT, Mighty Tornado wrote: > I have ZoneAlarm running, but normally Zone Alarm notifies me if a program > from within is trying to access the internet and let's me block it or > let it > go. Is it possible that ZA is blocking not my request to connect

Re: file not found

2007-04-23 Thread Richard Dunne
its my laptop, Im the only one using it, the files I create all have the same permissions and are in the same dir, for the pupose of this project. This is the only file that is not appearing, which is strange. I probably have about 20 odd files in my projectfolder (html,javascript/php), they are

Comet question. Problem reading from http input stream

2007-04-23 Thread Martin Perez
Hi guys, I have implemented a comet servlet that implements CometProcessor. I have tested it and seems to work fine. The problem is that now I'm trying to interact with it through an old system that used to use ObjectInputStream/ObjectOutputStream classes. So i found a couple of issues that proba

Same entries in stderr and catalina logs

2007-04-23 Thread naveen nagaraja
HI all I thought there was some problem with my earlier post. So i am reposting. i am running tomcat 5.5.9 as a service in windows xp. i see log files are created under the log folder correctly. My question is that i see same entries in catalina and stderr files. following is the entry of both th

Re: file not found

2007-04-23 Thread Martin Gainty
Richard if you look at the file permissions for the folder you are viewing you will see the owner of the files ls -al * it is the owner or root that needs to grant access to the folder and the files in the folder for your user and your package to use so if you're looking got direction on hot to

Re: java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest

2007-04-23 Thread David Kerber
I really don't have time for a full refactoring on this project right now, but I got this going with a minor one. When I looked more closesly at it, there was only one method in the equipment classes that was using the servlet API, so I was able to rework that method and the place from which i

Re: file not found

2007-04-23 Thread Richard Dunne
The file has the same permissions as every other file in the dir which tomcat has access to via http://localhost/ProjectFolder. One thing that I noticed with tomcat. I had several subfolders in my project folder in windows, but whe I viewed the same dir in localhost, some of the sub folders we

Re: Cannot get a connection, pool exhausted

2007-04-23 Thread Larry Meadors
Simple question - are there more than 100 requests active when this happens? Larry On 4/21/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Now instead of set connection static i just create a new one for each query to perform, so if there are concurrent queries it shouldn't cause any problem

Re: Memory leak detection

2007-04-23 Thread David Smith
Google for a java memory profiler. Lot's of them exist -- some open source, some commercial. --David Marc wrote: Is there any software or technique to detect memory leak on tomcat applications? Thanks Flavio Tobias -

Re: Force Apache to drop port 8080 when forwarding to Tomcat 6.0.10 using mod_jk-1.2.22

2007-04-23 Thread David Smith
I am trying to integrate Tomcat 6.0.10 with Apache 2.2.4 using mod_jk-1.2.22. The traffic seems to be flowing correctly to Tomcat on port 8080 from apache through the connector. Tomcat and Apache reside on the same machine. Just as a quick note, mod_jk does not send traffic to a http port

Re: Force Apache to drop port 8080 when forwarding to Tomcat 6.0.10 using mod_jk-1.2.22

2007-04-23 Thread David Smith
Could you post relevant sections of your httpd.conf file? I'm suspecting something there is redirecting clients before mod_jk can handle the request ... if it's handling the request. Any re-write rules related to your webapp? --David Khalil wrote: Yes, exactly. When I type this url in the

Re: Cannot get a connection, pool exhausted

2007-04-23 Thread David Smith
What you have below looks good as far as I can tell. Connections appear to be returned ASAP after using them. Do all your calls to the database follow this pattern? Are there any places where the connection isn't closed immediately and within a finally block? As an aside, you can store the

Re: file not found

2007-04-23 Thread David Smith
I've been bitten once or twice with problems like this just to find out after an hour of headache that I didn't put the file in the right folder or the permissions weren't set correctly. Can you verify you are storing the file in the proper place and tomcat has permissions on it? Are there an

Re: Image problem

2007-04-23 Thread David Smith
Details would help here. Are you saying the images show on the second page load? Also what version of tomcat, some info on you setup, some example code showing the tag in the pages, etc. , ... --David kz wrote: Hi, I am having this problem that images are not shown in the page properly

Re: Sticky sessions not changing servers

2007-04-23 Thread Rainer Jung
The following characters are safe: [a-z][A-Z][0-9][_\-] A dot should be OK, but I would not bet on it, neither would we care, if it won't. The above character set is given in the workers.properties page of the reference guide. Regards, Rainer Tim Lucia schrieb: > > Is there still a restricti

RE: Sticky sessions not changing servers

2007-04-23 Thread Tim Lucia
> -Original Message- > From: Rainer Jung [mailto:[EMAIL PROTECTED] > Sent: Sunday, April 22, 2007 12:54 PM > To: Tomcat Users List > Subject: Re: Sticky sessions not changing servers > > Please give details: > > - software (apache, tomcat, mod_jk) and platform versions > - relevant part

Problem with compiling tomcat native

2007-04-23 Thread Orlando Reis
Hi, I'm having some trouble compiling tomcat-native-1.1.10-src, I've done this before on several different platforms, but for some reason the lastest debian (4.0 etch) is giving me problems. vserv-deb:/usr/local/build/tomcat-native-1.1.10-src/jni/native# sh buildconf --with-java-home=$JAVA_HOME -

Re: Listener won't start -> NoClassDefFoundError

2007-04-23 Thread Pid
Rashmi Rubdi wrote: Hi Mike, Someone has posted a solution to the new error you're getting: http://mail-archives.apache.org/mod_mbox/tomcat-users/200512.mbox/[EMAIL PROTECTED] their solution was under: 6. Edited Tomcat 'server.xml' (in the 'conf' folder). Removed the line: This only d

tomcat + openejb exception

2007-04-23 Thread José Perdigão
Hi. I'm trying to upgrade jakarta-tomcat 5.0 to apache-tomcat 5.5.23 doing the integration with openejb 1.0, but when I try to run the application, I get this exception: java.lang.NullPointerException: org.openejb.core.ivm.naming.IvmContext.lookup(IvmContext.java:152) javax.naming.InitialCont

tomcat + openejb exception

2007-04-23 Thread José Perdigão
Hi. I'm trying to upgrade jakarta-tomcat 5.0 to apache-tomcat 5.5.23 doing the integration with openejb 1.0, but when I try to run the application, I get this exception: java.lang.NullPointerException: org.openejb.core.ivm.naming.IvmContext.lookup(IvmContext.java:152) javax.naming.InitialCont

Re: Connecting Tomcat 6.0.10 with Apache 2.2.4 using mod_jk-2.2.4

2007-04-23 Thread Gaël Lams
My problem is I want to drop 8080 form the url. How do I do that? If you don't need Apache (i.e you use it only to avoid having to use port 8080 in the url) and assuming you have nothing else listening on port 80, why don't use iptable to forward http request from port 80 to port 8080? You will

Re: Can't create jdbc resource in context.xml

2007-04-23 Thread Glen Vermeylen
Thanks for the response, We use tomcat 5.5. -Glen 2007/4/20, Rashmi Rubdi <[EMAIL PROTECTED]>: Hello Glen, What is the version of Tomcat? I'm asking for the version because the JNDI Datasource configuration is different for different version of Tomcat. The one for 4.x is different from the o