Re: Unable to get a Listener running

2007-04-15 Thread Mike Peremsky
>From the control panel. If I go to the system properties and look at the >environment variables I have the following: (I do not have a JRE_HOME defined) CATALINA_HOME=c:\apache-tomcat JAVA_HOME=c:\jdk1.5.0 Path=C:\jdk1.5.0\bin;%ANT_HOME%\bin There is a CLASSPATH variable set as:

Re: Unable to get a Listener running

2007-04-15 Thread Rashmi Rubdi
I tried your code, it didn't capture any event but Tomcat didn't throw any errors. Typically the error > java.lang.NoClassDefFoundError occurs when a system wide classpath is incorrectly set or partially set. Actually there's no need to set a system wide classpath. Tomcat 5.5.x auto detects it.

HTTP Response Splitting in Tomcat - reg.

2007-04-15 Thread Aviator Java
Hi Friends, Can anybody tell me whether Tomcat 6.0.2 is immune to Http Response Splitting attack? If so, can anybody help me to know how the security vulnerablity was fixed. Since, I heard that in tomcat 4.x the above mentioned vulnerability was there. Thanks in Advance!!! -

Unable to get a Listener running

2007-04-15 Thread Mike Peremsky
To whom it may concern: I am trying to implement a Listener in my Java application using Tomcat 5.5. My class implements the LifecycleListener (as shown below) public class SingletonLoader implements LifecycleListener { public void lifecycleEvent(LifecycleEvent event) {

How to format Tomcat 5.5 stdout?

2007-04-15 Thread Adli
Hi, Is it possible to add time stamp in the stdout file generated by tomcat? I want to correlate stack trace output with other data. Thanks Adli

Re: manager and host manager not available problem

2007-04-15 Thread Rashmi Rubdi
IMO it's not such a major bug, because everything continues to work, as I've indicated in the bugzilla bug all the resources are there --- only the URLs have changed. So either patch it yourself or wait for the next release with the patch. -Rashmi ---

RE: manager and host manager not available problem

2007-04-15 Thread Caldarale, Charles R
> From: Johnny Kewl [mailto:[EMAIL PROTECTED] > Subject: Re: manager and host manager not available problem > > Wonder why they changed the manager location The directory structure in 6.0.10 has been simplified considerably, as noted in the doc. Among other things, it reduces startup time n

Re: manager and host manager not available problem

2007-04-15 Thread Johnny Kewl
Damn you right its a bug, actually its nasty Have a look at http://mail-archives.apache.org/mod_mbox/tomcat-dev/200704.mbox/[EMAIL PROTECTED]/bugzilla/%3e Dont know what to suggest coz I dont know how to fix it All I can say is I'm running 5.5.17 as windows service and havnt had any

Re: getResourceAsStream returning blank (NOT NULL)

2007-04-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tim, Tim Lucia wrote: > If you have an instance, then of course you have a this and of course you > can call getClass(). If you haven't got an instance, you can't call > getClass(). I.e., > > public Foo { > } > > Foo.getClass() -- illegal. This i

Re: Sorry, it is Multiple Realm instances

2007-04-15 Thread Mark Thomas
Sheetal D wrote: > Could any body tell me Is any configuration missing or what to do for more > than one realm configurations. Tomcat permits a maximum of one realm per Engine / Host / Context. More than one realm per Host / Engine / Context means writing your own custom realm or finding one some

Sorry, it is Multiple Realm instances

2007-04-15 Thread Sheetal D
HI all, I want to configure two JNDI realms contacting two different servers. When I add two realm configurations in server.xml, it is always picking the later one. Could any body tell me Is any configuration missing or what to do for more than one realm configurations. Thanks, Sheetal.

Mulitle Realm instances

2007-04-15 Thread Sheetal D
HI all, I want to configure two JNDI realms contacting two different tables.. When I add two realm configurations in server.xml, it is always picking the later one. Could any body tell me Is any there any configuration missing or what to do for more than one realm configurations.