You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Guntupalli, Santhi" <sa...@digital.com> on 2003/04/17 14:48:54 UTC
Tomcat 4.1.24
Hello,
I have installed Tomcat 4.1.24/4.1.18 on WinNT and also on Tru64. I
am using jdk 1.2.2. When I start the Tomcat from command promt, I am getting
the following message.
Using CATALINA_BASE: C:\ApacheGroup\Tomcat4.1
Using CATALINA_HOME: C:\ApacheGroup\Tomcat4.1
Using CATALINA_TMPDIR: C:\ApacheGroup\Tomcat4.1\temp
Using JAVA_HOME: D:\jdk1.2.2
C:\ApacheGroup\Tomcat4.1\bin>
It pops up new dos window and it goes of immediately. What could be the
problem. That means Tomcat did not start.
When I use jdk 1.3 Tomcat is working. It means Latest version of
Tomcat support jdk 1.3 onwards??. But in the documentation it mentioned that
it supports jdk 1.2 onwards.
But I would like to use JDk 1.2.2 only. Is there any way to work Tomcat
4.1.24 with jdk1.2.2 or I have to use any older version of Tomcat??.. Any
help is highly appreiated.
Thanks in advance.
Regards,
- Santhi
Re: Listener nested in DefaultContext in Tomcat 4.1.18?
Posted by Qing Xie <xi...@ecopiabio.com>.
Hi Brian,
I think you may have helped me to figure out the problem. My tomcat was
included as part of the WSDP package, therefor it was installed at
/usr/java/jwsdp-1.1. I looked into /usr/java/jwsdp-1.1/server/lib and
found I don't have tomcat-jk.jar there. Instead, i have
tomcat-coyote.jar, and I guess it's a later version so
"org.apache.ajp.tomcat4.config.ApacheConfig" classes are not there.
So, what I plan to do it to download tomcat separatly and redo the whole
thing again.
Thank you very much for your help!
Qing
Brian Briggman wrote:
>The "org.apache.ajp.tomcat4.config.ApacheConfig" class resides in the
>tomcat-jk.jar file which is part of the default Tomcat install - located in
>/usr/local/tomcat/server/lib - so it should get picked up by default when
>Tomcat starts - you DO NOT want to manually add this jar to your CLASSPATH -
>Tomcat should get it by default, so please check to make sure you're not
>overriding the CLASSPATH...
>
>Thanks,
>Brian
>
>-----Original Message-----
>From: Qing Xie [mailto:xie@ecopiabio.com]
>Sent: Thursday, April 17, 2003 10:42 AM
>To: Tomcat Users List
>Subject: Re: Listener nested in DefaultContext in Tomcat 4.1.18?
>
>
>Hi Brian,
>
>Do you know where the class "org.apache.ajp.tomcat4.config.ApacheConfig"
>is? Should I set up my CLASSPATH to relect it? When I added the same
>listener tag in server.xml file, I got
>"org.apache.ajp.tomcat4.config.ApacheConfig" not found exception when I
>tried to start tomcat.
>
>Thanks a lot!
>
>
>Qing
>
>
>
>Brian Briggman wrote:
>
>
>
>>According to the Tomcat 4.1 documentation, it is possible to nest a
>>
>>
>Listener
>
>
>>inside of a DefaultContext. When I try to do this, Tomcat gives me the
>>error:
>>
>>java.lang.NoSuchMethodException: No such accessible method:
>>addLifecycleListener() on object:
>>org.apache.catalina.core.StandardDefaultContext
>>
>>Which leaves me questioning whether it's a bug in the
>>
>>
>StandardDefaultContext
>
>
>>implementation, or whether the documentation is wrong.
>>
>>Here's my DefaultContext definition, which is nested inside my Host:
>>
>><DefaultContext>
>><Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
>>append="true" forwardAll="false" />
>></DefaultContext>
>>
>>My intent of putting the Listener in the DefaultContext is to have Tomcat
>>automagically add JKMounts into the automatically generated mod_jk.conf for
>>any webapps that exist, without having to hardcode the existing webapps in
>>the server.xml (with a Listener explicitly defined for each hardcoded
>>webapp).
>>
>>Does anyone know of another way to accomplish this if you cannot nest a
>>Listener in a DefaultContext?
>>
>>Thanks in advance,
>>Brian
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>>
>>
>>
>>
>>
>>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
RE: Listener nested in DefaultContext in Tomcat 4.1.18?
Posted by Brian Briggman <b....@attbi.com>.
The "org.apache.ajp.tomcat4.config.ApacheConfig" class resides in the
tomcat-jk.jar file which is part of the default Tomcat install - located in
/usr/local/tomcat/server/lib - so it should get picked up by default when
Tomcat starts - you DO NOT want to manually add this jar to your CLASSPATH -
Tomcat should get it by default, so please check to make sure you're not
overriding the CLASSPATH...
Thanks,
Brian
-----Original Message-----
From: Qing Xie [mailto:xie@ecopiabio.com]
Sent: Thursday, April 17, 2003 10:42 AM
To: Tomcat Users List
Subject: Re: Listener nested in DefaultContext in Tomcat 4.1.18?
Hi Brian,
Do you know where the class "org.apache.ajp.tomcat4.config.ApacheConfig"
is? Should I set up my CLASSPATH to relect it? When I added the same
listener tag in server.xml file, I got
"org.apache.ajp.tomcat4.config.ApacheConfig" not found exception when I
tried to start tomcat.
Thanks a lot!
Qing
Brian Briggman wrote:
>According to the Tomcat 4.1 documentation, it is possible to nest a
Listener
>inside of a DefaultContext. When I try to do this, Tomcat gives me the
>error:
>
>java.lang.NoSuchMethodException: No such accessible method:
>addLifecycleListener() on object:
>org.apache.catalina.core.StandardDefaultContext
>
>Which leaves me questioning whether it's a bug in the
StandardDefaultContext
>implementation, or whether the documentation is wrong.
>
>Here's my DefaultContext definition, which is nested inside my Host:
>
><DefaultContext>
><Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
>append="true" forwardAll="false" />
></DefaultContext>
>
>My intent of putting the Listener in the DefaultContext is to have Tomcat
>automagically add JKMounts into the automatically generated mod_jk.conf for
>any webapps that exist, without having to hardcode the existing webapps in
>the server.xml (with a Listener explicitly defined for each hardcoded
>webapp).
>
>Does anyone know of another way to accomplish this if you cannot nest a
>Listener in a DefaultContext?
>
>Thanks in advance,
>Brian
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Listener nested in DefaultContext in Tomcat 4.1.18?
Posted by Qing Xie <xi...@ecopiabio.com>.
Hi Brian,
Do you know where the class "org.apache.ajp.tomcat4.config.ApacheConfig"
is? Should I set up my CLASSPATH to relect it? When I added the same
listener tag in server.xml file, I got
"org.apache.ajp.tomcat4.config.ApacheConfig" not found exception when I
tried to start tomcat.
Thanks a lot!
Qing
Brian Briggman wrote:
>According to the Tomcat 4.1 documentation, it is possible to nest a Listener
>inside of a DefaultContext. When I try to do this, Tomcat gives me the
>error:
>
>java.lang.NoSuchMethodException: No such accessible method:
>addLifecycleListener() on object:
>org.apache.catalina.core.StandardDefaultContext
>
>Which leaves me questioning whether it's a bug in the StandardDefaultContext
>implementation, or whether the documentation is wrong.
>
>Here's my DefaultContext definition, which is nested inside my Host:
>
><DefaultContext>
><Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
>append="true" forwardAll="false" />
></DefaultContext>
>
>My intent of putting the Listener in the DefaultContext is to have Tomcat
>automagically add JKMounts into the automatically generated mod_jk.conf for
>any webapps that exist, without having to hardcode the existing webapps in
>the server.xml (with a Listener explicitly defined for each hardcoded
>webapp).
>
>Does anyone know of another way to accomplish this if you cannot nest a
>Listener in a DefaultContext?
>
>Thanks in advance,
>Brian
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Listener nested in DefaultContext in Tomcat 4.1.18?
Posted by Brian Briggman <b....@attbi.com>.
According to the Tomcat 4.1 documentation, it is possible to nest a Listener
inside of a DefaultContext. When I try to do this, Tomcat gives me the
error:
java.lang.NoSuchMethodException: No such accessible method:
addLifecycleListener() on object:
org.apache.catalina.core.StandardDefaultContext
Which leaves me questioning whether it's a bug in the StandardDefaultContext
implementation, or whether the documentation is wrong.
Here's my DefaultContext definition, which is nested inside my Host:
<DefaultContext>
<Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
append="true" forwardAll="false" />
</DefaultContext>
My intent of putting the Listener in the DefaultContext is to have Tomcat
automagically add JKMounts into the automatically generated mod_jk.conf for
any webapps that exist, without having to hardcode the existing webapps in
the server.xml (with a Listener explicitly defined for each hardcoded
webapp).
Does anyone know of another way to accomplish this if you cannot nest a
Listener in a DefaultContext?
Thanks in advance,
Brian
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Tomcat 4.1.24
Posted by Thomas Eitzenberger <th...@siemens.com>.
Guntupalli, Santhi wrote:
>Hello,
> I have installed Tomcat 4.1.24/4.1.18 on WinNT and also on
>Tru64. I
>am using jdk 1.2.2. When I start the Tomcat from command promt, I am
>getting
>the following message.
>
> Using CATALINA_BASE: C:\ApacheGroup\Tomcat4.1
> Using CATALINA_HOME: C:\ApacheGroup\Tomcat4.1
> Using CATALINA_TMPDIR: C:\ApacheGroup\Tomcat4.1\temp
> Using JAVA_HOME: D:\jdk1.2.2
>C:\ApacheGroup\Tomcat4.1\bin>
>
>It pops up new dos window and it goes of immediately. What could be the
>problem. That means Tomcat did not start.
>
use the cataliina script inside a dos box to see the error messages
appearing (this wont close the box window)
HTH ET
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Tomcat 4.1.24
Posted by Steve Guo <j2...@yahoo.com>.
You may have installed tomcat as a NT service, so it
is already running. Check in the Task Manager and
processes.
--- "Guntupalli, Santhi"
<sa...@digital.com> wrote:
> Hello,
> I have installed Tomcat 4.1.24/4.1.18 on WinNT and
> also on Tru64. I
> am using jdk 1.2.2. When I start the Tomcat from
> command promt, I am getting
> the following message.
>
> Using CATALINA_BASE: C:\ApacheGroup\Tomcat4.1
> Using CATALINA_HOME: C:\ApacheGroup\Tomcat4.1
> Using CATALINA_TMPDIR:
> C:\ApacheGroup\Tomcat4.1\temp
> Using JAVA_HOME: D:\jdk1.2.2
> C:\ApacheGroup\Tomcat4.1\bin>
>
> It pops up new dos window and it goes of
> immediately. What could be the
> problem. That means Tomcat did not start.
> When I use jdk 1.3 Tomcat is working. It means
> Latest version of
> Tomcat support jdk 1.3 onwards??. But in the
> documentation it mentioned that
> it supports jdk 1.2 onwards.
> But I would like to use JDk 1.2.2 only. Is there any
> way to work Tomcat
> 4.1.24 with jdk1.2.2 or I have to use any older
> version of Tomcat??.. Any
> help is highly appreiated.
>
> Thanks in advance.
>
> Regards,
> - Santhi
>
>
>
__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org