Re: apxs problem

2007-12-12 Thread Rainer Jung
Dan Ciarniello wrote: Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dan, Dan Ciarniello wrote: I am putting together RPMs for apache and tomcat and I want to include the mod_jk connector with the apache RPM :( Don't do that; instead, have a separate RPM

Location of API

2007-12-12 Thread Md. Jahid Shohel
Hi, in org.apache.tomcat.util.net.puretils.PureTLSImplementation.java file I see an import like this import COM.claymoresystems.ptls.SSLSocket;, can I know where that package/jar file is located? Here I want to mention that, I went through all jar files in $CATALINA_HOME/lib and

Tomcat is unable to startup in Windows 2003 Server

2007-12-12 Thread marsulein
System configuration is as follow: OS : Windows 2003 Server Tomcat: 4.1.36 JSDK: 1.4.2.13 Attached are the error logs generated by tomcat. http://www.nabble.com/file/p14291662/stderr_20071212.log stderr_20071212.log http://www.nabble.com/file/p14291662/stdout_20071212.log stdout_20071212.log

FileNotFoundException (SESSIONS.ser)

2007-12-12 Thread Michele Mazzucco
Hi all, I'm running Axis2 1.3 inside Tomcat 6.0.13 (my machine is a Linux box) and I get the following problem ($CATALINA_HOME is set to /home/nmm42/devel/tomcat/apache-tomcat-6.0.13) ~/devel/tomcat/apache-tomcat-6.0.13/bin ./shutdown.sh Using CATALINA_BASE:

[Axis2] FileNotFoundException (SESSIONS.ser) during tomcat shutdown

2007-12-12 Thread Michele Mazzucco
Some more details. I don't know whether this is a Tomcat or Axis2 issue, but the problem seems to be that the axis2 directory does not exist under $CATALINA_HOME/work/Catalina/localhost. Michele Begin forwarded message: From: Michele Mazzucco [EMAIL PROTECTED] Date: 12 December 2007

PKCS11 in Windows

2007-12-12 Thread Luis Villa
Hello all, In order to secure communications between a browser and the web server I'm using tomcat with a SSL connector. This connector takes the server certificate from a Smartcard (so I'm using a PKCS11 keystore type). The problem is that, as I'm accessing it in Windows, I have to link it to a

Multiple problems with Tomcat and Struts

2007-12-12 Thread Uma Kalluru
Hi, I am using Struts1.x with Tomcat 5.5 and I see lots of problems in the log file. Actually I am using Struts data source manager to create connection pool at the startup of the server. The application works fine for some time but after some time the connection object is null. I am not sure

RE: [Axis2] FileNotFoundException (SESSIONS.ser) during tomcat shutdown

2007-12-12 Thread Caldarale, Charles R
From: Michele Mazzucco [mailto:[EMAIL PROTECTED] Subject: [Axis2] FileNotFoundException (SESSIONS.ser) during tomcat shutdown (Please don't cross-post to multiple lists; that makes following a thread nearly impossible.) Some more details. I don't know whether this is a Tomcat or Axis2

Comet position of CRLF in request chunks

2007-12-12 Thread Paul Dumais
I am using Comet for by directional communication between a native java client and a tomcat server. I noticed that when sending chunks to the Tomcat server over the request stream Tomcat does not like to receive a CRLF at the end of a chunk, it is only accepting the CRLF at the beginning of the

Re: [Axis2] FileNotFoundException (SESSIONS.ser) during tomcat shutdown

2007-12-12 Thread Michele Mazzucco
On 12 Dec 2007, at 13:54, Caldarale, Charles R wrote: From: Michele Mazzucco [mailto:[EMAIL PROTECTED] Subject: [Axis2] FileNotFoundException (SESSIONS.ser) during tomcat shutdown (Please don't cross-post to multiple lists; that makes following a thread nearly impossible.) I'm sorry Chuck.

Re: Location of API

2007-12-12 Thread Md. Jahid Shohel
Hi, Thanks, actually I saw that, but I want to use that from inside tomcat. So, I need to know from where tomcat is using that. Regards, Jahid On Dec 12, 2007 3:12 PM, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Md. Jahid Shohel [mailto:[EMAIL PROTECTED] Subject: Location of API

RE: Location of API

2007-12-12 Thread Caldarale, Charles R
From: Md. Jahid Shohel [mailto:[EMAIL PROTECTED] Subject: Re: Location of API Thanks, actually I saw that, but I want to use that from inside tomcat. So, I need to know from where tomcat is using that. I don't believe the standard distribution includes PureTLS (due to previous export

RE: [Axis2] FileNotFoundException (SESSIONS.ser) during tomcat shutdown

2007-12-12 Thread Caldarale, Charles R
From: Michele Mazzucco [mailto:[EMAIL PROTECTED] Subject: Re: [Axis2] FileNotFoundException (SESSIONS.ser) during tomcat shutdown but the problem seems to be that the axis2 directory does not exist under $CATALINA_HOME/work/Catalina/localhost. Tomcat normally creates a directory for each

Re: [OT] Help with java Lists

2007-12-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, I'm already on my 3rd attempt at optimization for this section. The first round was having the db do _all_ the work, submitting a complex query (a view, actually) and returning a resultset with all the data I need. The query took

Re: [Axis2] FileNotFoundException (SESSIONS.ser) during tomcat shutdown

2007-12-12 Thread Michele Mazzucco
For some obscure reason the directory is deleted (!!!) and the same problem occurs. Michele On 12 Dec 2007, at 14:46, Caldarale, Charles R wrote: What happens if you manually create the axis2 directory? - To start a new

Re: [OT] Help with java Lists

2007-12-12 Thread David kerber
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, I'm already on my 3rd attempt at optimization for this section. The first round was having the db do _all_ the work, submitting a complex query (a view, actually) and returning a resultset with all the data I

JDNI Resource not reusable

2007-12-12 Thread Sebastian Gerdes
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, in my context.xml/server.xml I setup a JDNI resource which I access via: Context newCtx = new InitialContext(); Context envCtx = (Context) newCtx.lookup(java:comp/env); DirContext ctx = (DirContext) envCtx.lookup(ldap/ox); I use this context

Re: JDNI Resource not reusable

2007-12-12 Thread David Delbecq
Hello, ho did you create your ldap object (not ldap/ox) ? For ox to be pool, the ldap object must be a pool, that return a new object each time a child object is requested. envCtx.lookup(ldap/ox) actually request object ox from object ldap. It ldap is not a pool, it will return a single object,

RE: [Axis2] FileNotFoundException (SESSIONS.ser) during tomcat shutdown

2007-12-12 Thread Caldarale, Charles R
From: Michele Mazzucco [mailto:[EMAIL PROTECTED] Subject: Re: [Axis2] FileNotFoundException (SESSIONS.ser) during tomcat shutdown For some obscure reason the directory is deleted (!!!) and the same problem occurs. Sounds like you might have a somewhat malevolant webapp... Does your

Re: [Axis2] FileNotFoundException (SESSIONS.ser) during tomcat shutdown

2007-12-12 Thread Michele Mazzucco
Chuck, my machine is a linux box running Open Suse 10.2 and sun jdk 1.6.0_03 (but jdk 1.5.0_10 gives me the same problem). I've tried with a clean tomcat 6.0.13 setup where only axis2 1.3 was deployed (tomcat 5.5.20 behaves the same) - no web services were deployed in axis2. Any clue?

Re: HttpSessionActivationListener not getting called in the Tomcat 5.5.20 clustered mode.

2007-12-12 Thread Giancarlo Frison
I had faced the same problem, in order to 'activate' a deserialized object coming from an other VM the session object has to implement the HttpSessionBindingListener interface, not the *HttpSessionActivationListener* . The valueBound method is invoked by setAttibute's HttpSession method, inside

Comet processor blocks if chunk includes final CRLF

2007-12-12 Thread Chris Pettitt
Hello, I'm using Tomcat 6.0.14 and its CometProcessor to create a long running connection between an HTTP client and my server. The client posts requests to the server using chunked transfer encoding (each chunk is a complete XML request processed by the servlet). I'm using a servlet that is

Re: AccessControlException in Coyote Http11Processor (Tomcat 6.0.14). Bug in Coyote ?

2007-12-12 Thread Delian Krustev
On Tue, 11 Dec 2007 22:35:20 + Mark Thomas wrote: Are you happy to mod the code and build a patched version yourself or do you want some help? I can build a binary with the patch for you to test if you wish. I've not built Tomcat from source before, so I'll take advantage of the help

Re: Comet position of CRLF in request chunks

2007-12-12 Thread Filip Hanik - Dev Lists
that's correct, that's how it works. I'll go over the specs to see if this is not what it is supposed to do Filip Paul Dumais wrote: I am using Comet for by directional communication between a native java client and a tomcat server. I noticed that when sending chunks to the Tomcat server over

Servlets loading issue

2007-12-12 Thread Shekhar . Dhotre
Hello team, I have installed apache-tomcat-5.5.25/ on AIX 5.3 with Java 5 64 bit version . Everything works as per the document except when i try to access Servlets , I get 500 error . HTTP type Status report message Error retrieving attribute reloadable description The server

Debugging 'listenerStart:Severe'

2007-12-12 Thread uma_rk
Env: Tomcat 6.0.14, JRE1.6 Often I find that making my webapp's log4j configuration more verbose with regards to org.apache.catalina.core.StandardContext would yield debugs on my the contexts fails with 'listenerStart: Severe' message. But I find that this is not consistent; is there a way to

Re: apxs problem

2007-12-12 Thread Dan Ciarniello
Rainer Jung wrote: If you put the jk modules into your apache rpm, you couple the lifecycle of those two together. So you need to build and deliver a new rpm whenever at least one of apache httpd and of jk have a new version, you want to deploy. The release cycles of httpd and jk are very

Re: HttpSessionActivationListener not getting called in the Tomcat 5.5.20 clustered mode.

2007-12-12 Thread Jess Holle
The HttpSession activation and passivation listeners in Tomcat are /quite/ broken -- at least last time I checked. I've been in the habit of patching this part of the code. I submitted a patch once, but I mixed in a few other things that were broken in this area and it was not accepted --

Re: Apache Tomcat; Event Error in Windows 2003

2007-12-12 Thread mailing
Rainer; Would you happen to have any idea why the message would just start coming up for no reason, no changes were made to the server? Just curious, I'm going to move forward on upgrading it. Date: Tue, 11 Dec 2007 09:00:00 +0100 From: Rainer Jung [EMAIL PROTECTED] Reply-To:

Re: [Axis2] FileNotFoundException (SESSIONS.ser) during tomcat shutdown

2007-12-12 Thread Martin Gainty
Michele The serialised session files are kept in the temp folder so starting tomcat with tomcat.work.dir=NewFolderThatWontBeDeleted will solve the problem e.g. assume for the moment you have a perm folder assigned to you called /usr/local/michele %CATALINA_HOME%/bin/java

Problems with IIS + Tomcat on Windows Server 2003

2007-12-12 Thread pmarchwiak
I am having a very strange problem on my web server which is running IIS and Tomcat together using the ISAPI Tomcat redirector. This server is directly accessible from the internet and every few hours it becomes no longer accessible (as evidenced by external website monitoring tools). The site

Re: [OT] Help with java Lists

2007-12-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David kerber wrote: My primary job is database design and management; the java side is where I'm weak, and I've spent a LOT of time on these queries, including pushing through some design changes that have helped a lot, but not enough.

Re: PKCS11 in Windows

2007-12-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Luis, Luis Villa wrote: Is there a way to avoid the \0 problem? (XML does not allow to specify this character) Can you do: alias=tomcat#00; ? - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with

Re: Multiple problems with Tomcat and Struts

2007-12-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Uma, Uma Kalluru wrote: I am using Struts1.x with Tomcat 5.5 and I see lots of problems in the log file. Actually I am using Struts data source manager to create connection pool at the startup of the server. It's a bit off topic, but you should

Re: Servlets loading issue

2007-12-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Shekhar, [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] /usr/local/apache-tomcat-5.5.25/conf]: oslevel -r 5300-07 How about: (in /usr/local/apache-tomcat-5.5.25/conf) $ head context.xml Can we get a copy of the stack trace, too? - -chris

RE: Problems with IIS + Tomcat on Windows Server 2003

2007-12-12 Thread Propes, Barry L
even though you've changed hardware, would the network card be faulty? Almost sounds like it is. Or would/do your diagnostic tools help you gauge that if that is the case? -Original Message- From: pmarchwiak [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 12, 2007 3:43 PM To:

RE: Problems with IIS + Tomcat on Windows Server 2003

2007-12-12 Thread Propes, Barry L
ok. -Original Message- From: pmarchwiak [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 12, 2007 4:53 PM To: users@tomcat.apache.org Subject: RE: Problems with IIS + Tomcat on Windows Server 2003 I haven't used any diagnostic tools on the network cards but I highly doubt they are

RE: Problems with IIS + Tomcat on Windows Server 2003

2007-12-12 Thread pmarchwiak
I haven't used any diagnostic tools on the network cards but I highly doubt they are faulty since I have tried at least 3 different cards (one brand new) and it didn't help. Thanks anyways. Propes, Barry L wrote: even though you've changed hardware, would the network card be faulty? Almost

Re: HttpSessionActivationListener not getting called in the Tomcat 5.5.20 clustered mode.

2007-12-12 Thread Mark Thomas
Jess Holle wrote: The HttpSession activation and passivation listeners in Tomcat are /quite/ broken -- at least last time I checked. I've been in the habit of patching this part of the code. I submitted a patch once, but I mixed in a few other things that were broken in this area and it

RE: What gets reloaded on Tomcat automatic reload

2007-12-12 Thread Caldarale, Charles R
From: lightbulb432 [mailto:[EMAIL PROTECTED] Subject: What gets reloaded on Tomcat automatic reload I ask because, surprisingly, a static variable kept its state across the automatic reload. Where is the class file for the static variable located? All classes in the webapp directory (or

What gets reloaded on Tomcat automatic reload

2007-12-12 Thread lightbulb432
When a context is set with reloadable=true and a change is made to one of the appropriate folders, causing a context reload, what is and isn't undeployed and redeployed? I ask because, surprisingly, a static variable kept its state across the automatic reload. Is this expected behavior? I

RE: [Axis2] FileNotFoundException (SESSIONS.ser) during tomcat shutdown

2007-12-12 Thread Caldarale, Charles R
From: Martin Gainty [mailto:[EMAIL PROTECTED] Subject: Re: [Axis2] FileNotFoundException (SESSIONS.ser) during tomcat shutdown The serialised session files are kept in the temp folder No, they're kept in Tomcat's work directory, which is normally (and definitely in Michele's case)

RE: [Axis2] FileNotFoundException (SESSIONS.ser) during tomcat shutdown

2007-12-12 Thread Caldarale, Charles R
From: Michele Mazzucco [mailto:[EMAIL PROTECTED] Subject: Re: [Axis2] FileNotFoundException (SESSIONS.ser) during tomcat shutdown I've tried with a clean tomcat 6.0.13 setup where only axis2 1.3 was deployed (tomcat 5.5.20 behaves the same) - no web services were deployed in axis2.

Tomcat 5.5 OutOfMemoryError (PermGen space)

2007-12-12 Thread hezjing
Hi I'm developing a web application using Tomcat 5.5.25 and Spring 2.0.7. During the development, I frequently use Ant to create WAR, undeploy and deploy the application to Tomcat. Then simply pressed F5 to refresh IE to reload the application. After some times, my Tomcat will stop responding

Re: Tomcat on AIX, Why DataSource dosn't work right ?

2007-12-12 Thread KaraKing
Tomcat replaced by JBoss402, mission accomplished . But, why ? -- View this message in context: http://www.nabble.com/Tomcat-on-AIX%2C-Why-DataSource-dosn%27t-work-right---tp14269959p14308156.html Sent from the Tomcat - User mailing list archive at Nabble.com.

RE: Tomcat 5.5 OutOfMemoryError (PermGen space)

2007-12-12 Thread Caldarale, Charles R
From: hezjing [mailto:[EMAIL PROTECTED] Subject: Tomcat 5.5 OutOfMemoryError (PermGen space) After some times, my Tomcat will stop responding and the stdout log says OutOfMemoryError! Check the FAQ: http://wiki.apache.org/tomcat/FAQ/Memory Especially this link from the above:

Re: Tomcat 5.5 OutOfMemoryError (PermGen space)

2007-12-12 Thread David Wall
After some times, my Tomcat will stop responding and the stdout log says OutOfMemoryError! You could try increasing the perm space with the Java option: -XX:MaxPermSize=256m Obviously, you can choose any value you want. We've seen the same problem on systems that have lots of webapps

Re: Tomcat on AIX, Why DataSource dosn't work right ?

2007-12-12 Thread Martin Gainty
DataSources preconfigured at $JBOSS_HOME/docs/examples/jca (take a look at *-ds.xml) M- - Original Message - From: KaraKing [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Wednesday, December 12, 2007 8:40 PM Subject: Re: Tomcat on AIX, Why DataSource dosn't work right ? Tomcat

Re: HttpSessionActivationListener not getting called in the Tomcat 5.5.20 clustered mode.

2007-12-12 Thread Jess Holle
I sent the patch quite some time back now, so I'm not sure where it is. Being similarly lazy I'm attaching an excerpt of the patched StandardSession.java (from 5.5.23) with changes embedded in it. Mark Thomas wrote: Jess Holle wrote: The HttpSession activation and passivation listeners

Re: HttpSessionActivationListener not getting called in the Tomcat 5.5.20 clustered mode.

2007-12-12 Thread Jess Holle
I believe similar changes were still necessary in 6.0.14 as well (and previously were needed in 5.0.30). Jess Holle wrote: I sent the patch quite some time back now, so I'm not sure where it is. Being similarly lazy I'm attaching an excerpt of the patched StandardSession.java (from 5.5.23)

Re: Multiple problems with Tomcat and Struts

2007-12-12 Thread Uma Kalluru
Hi Chris, I agree with you on using container managed connection pool. I have already setup the required configuration to use container connection pool. But I am still wondering, if there was connection timeout and the first user gets an error. Why should the whole application go down? I mean no

Re: Tomcat 5.5 OutOfMemoryError (PermGen space)

2007-12-12 Thread Tim
I have the same problem. I use Eclipse 3.3 and tomcat 5.5.25. Eclipse is set to Build Automatically. When I modified the code within Eclipse, it will recompile and reload the tomcat context and the memory problem occurs here every time. I put tomcat context/ in

Re: Tomcat 5.5 OutOfMemoryError (PermGen space)

2007-12-12 Thread Tim
Sometime Eclipse also crashes on OutOfMemoryError (PermGen space), regardless of my using memory collecting tool. On Dec 13, 2007 2:25 PM, Tim [EMAIL PROTECTED] wrote: I have the same problem. I use Eclipse 3.3 and tomcat 5.5.25. Eclipse is set to Build Automatically. When I modified the code

Re: Location of API

2007-12-12 Thread Md. Jahid Shohel
Hi, Then that import on org.apache.tomcat.util.net.puretils.PureTLSImplementation.java--- import COM.claymoresystems.ptls.SSLSocket; should give error, but that is not giving any error. Regards, Jahid On Dec 12, 2007 3:39 PM, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: