You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by stakys <st...@punktas.lt> on 2003/05/17 17:19:12 UTC

catalina.out

 Hi, i'm configuring everything like said in how-to at
 http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhosthowto.html

 I backuped my old server.xml and made a new server.xml like said in that
 how-to, after starting when i check catalina.out i can see this:

 Starting service Tomcat-Apache
 Apache Tomcat/4.1.24
 May 17, 2003 4:39:34 PM org.apache.jk.server.JkMain start
 INFO: APR not loaded, disabling jni components: java.io.IOException: no
 jkjni in java.library.path
 May 17, 2003 4:39:34 PM org.apache.jk.common.ChannelSocket init
 INFO: JK2: ajp13 listening on /127.0.0.1:8009
 May 17, 2003 4:39:34 PM org.apache.jk.server.JkMain start
 INFO: Jk running ID=0 time=5/488
 config=/usr/local/jakarta-tomcat4.1/conf/jk2.properties

 I think here's something wrong...  INFO: APR not loaded, disabling jni
 components: java.io.IOException: no jkjni in java.library.path ???

Hmmz then i saw in how-to that i need to set this in jk2.properties:

# list of needed handlers.
handler.list=channelSocket,request

But after this when i start tomcat i see theese errors in catalina.out :

Starting service Tomcat-Apache
Apache Tomcat/4.1.24
May 17, 2003 6:14:13 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /127.0.0.1:8009
Exception during startup processing
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Caused by: java.lang.UnsatisfiedLinkError: getJkEnv
        at org.apache.jk.apr.AprImpl.getJkEnv(Native Method)
        at org.apache.jk.common.JniHandler.initNative(JniHandler.java:132)
        at org.apache.jk.common.ChannelJni.init(ChannelJni.java:89)
        at org.apache.jk.server.JkMain.start(JkMain.java:351)
        at
org.apache.jk.server.JkCoyoteHandler.start(JkCoyoteHandler.java:169)
        at
org.apache.coyote.tomcat4.CoyoteConnector.start(CoyoteConnector.java:1141)
        at
org.apache.catalina.core.StandardService.start(StandardService.java:506)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
        ... 5 more

Where is the problem? How to solve this ?


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: catalina.out

Posted by stakys <st...@punktas.lt>.
Ok, but when i try just to start apache i think it do not starts tomcat
through mod_jk2 :/ because i cannot see any processes of tomcat and then i
look to catalina.out there is no info about starting or stopping tomcat :/
All my configuration looks like in that how-to. Btw: how to set that apr's
for channelUnix and channelJNI ? Mayby here's the problem?
----- Original Message -----
From: "Bill Barker" <wb...@wilshire.com>
To: <to...@jakarta.apache.org>
Sent: Sunday, May 18, 2003 5:27 AM
Subject: Re: catalina.out


> That is true if you've you've enabled "channelJNI" in jk2.properties (and
> you need to have apr for this).  You also need apr for channelUnix.  For
> channelSocket, you don't need apr, and the messages in the original post
to
> this thread can just be safely ignored.
>
> "Jason Bainbridge" <ja...@jblinux.org> wrote in message
> news:200305180656.19418.jason@jblinux.org...
> > Somebody correct me if I don't explain this quite correctly I don't
fully
> > understand it myself.
> >
> > Loading the mod_jk2 module in Apache starts Tomcat by using the settings
> in
> > the workers.properties file through JNI by calling tomcat-jni.jar.
> >
> > Unless I am wrong but I think the line in that howto "Try to start
tomcat
> > again and check catalina.out to see if everything is up and running."
> should
> > say to try to start Apache not tomcat.
> >
> > Regards,
> > Jason
> >
> > On Sun, 18 May 2003 06:45, stakys wrote:
> > > Hmmz i need to start just apache? ? ? But how the webapp from tomcat
> will
> > > work for me if id duno starts? Because apache dont start tomcat...But
> > > trying to start tomcat i got errors :/
> > > ----- Original Message -----
> > > From: "Jason Bainbridge" <ja...@jblinux.org>
> > > To: "Tomcat Users List" <to...@jakarta.apache.org>
> > > Sent: Saturday, May 17, 2003 11:36 PM
> > > Subject: Re: catalina.out
> > >
> > > > Start just apache on it's own and then it will start Tomcat "in
> process",
> > >
> > > with
> > >
> > > > that configuration you can't run just Tomcat on it's own any longer
> (you
> > >
> > > can
> > >
> > > > change this somehow though).
> > > >
> > > > Regards,
> > > > Jason
> > > >
> > > > On Sat, 17 May 2003 11:19 pm, stakys wrote:
> > > > >  Hi, i'm configuring everything like said in how-to at
> > > > >
> > > > >
> http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhosthowto.html
> > > > >
> > > > >  I backuped my old server.xml and made a new server.xml like said
in
> > >
> > > that
> > >
> > > > >  how-to, after starting when i check catalina.out i can see this:
> > > > >
> > > > >  Starting service Tomcat-Apache
> > > > >  Apache Tomcat/4.1.24
> > > > >  May 17, 2003 4:39:34 PM org.apache.jk.server.JkMain start
> > > > >  INFO: APR not loaded, disabling jni components:
> java.io.IOException:
> > > > > no jkjni in java.library.path
> > > > >  May 17, 2003 4:39:34 PM org.apache.jk.common.ChannelSocket init
> > > > >  INFO: JK2: ajp13 listening on /127.0.0.1:8009
> > > > >  May 17, 2003 4:39:34 PM org.apache.jk.server.JkMain start
> > > > >  INFO: Jk running ID=0 time=5/488
> > > > >  config=/usr/local/jakarta-tomcat4.1/conf/jk2.properties
> > > > >
> > > > >  I think here's something wrong...  INFO: APR not loaded,
disabling
> jni
> > > > >  components: java.io.IOException: no jkjni in java.library.path
???
> > > > >
> > > > > Hmmz then i saw in how-to that i need to set this in
jk2.properties:
> > > > >
> > > > > # list of needed handlers.
> > > > > handler.list=channelSocket,request
> > > > >
> > > > > But after this when i start tomcat i see theese errors in
> catalina.out
> > > > > :
> > > > >
> > > > > Starting service Tomcat-Apache
> > > > > Apache Tomcat/4.1.24
> > > > > May 17, 2003 6:14:13 PM org.apache.jk.common.ChannelSocket init
> > > > > INFO: JK2: ajp13 listening on /127.0.0.1:8009
> > > > > Exception during startup processing
> > > > > java.lang.reflect.InvocationTargetException
> > > > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> > > > >         at
> > >
> > >
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
> > >
> > > > >9 )
> > > > >         at
> > >
> > >
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
> > >
> > > > >l .java:25)
> > > > >         at java.lang.reflect.Method.invoke(Method.java:324)
> > > > >         at
> > >
> > > org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> > >
> > > > > Caused by: java.lang.UnsatisfiedLinkError: getJkEnv
> > > > >         at org.apache.jk.apr.AprImpl.getJkEnv(Native Method)
> > > > >         at
> > >
> > > org.apache.jk.common.JniHandler.initNative(JniHandler.java:132)
> > >
> > > > >         at
org.apache.jk.common.ChannelJni.init(ChannelJni.java:89)
> > > > >         at org.apache.jk.server.JkMain.start(JkMain.java:351)
> > > > >         at
> > > > >
org.apache.jk.server.JkCoyoteHandler.start(JkCoyoteHandler.java:169)
> > > > >         at
> > >
> > >
> org.apache.coyote.tomcat4.CoyoteConnector.start(CoyoteConnector.java:1141)
> > >
> > > > >         at
> > > > >
> org.apache.catalina.core.StandardService.start(StandardService.java:506
> > > > >) at
> > > > >
> org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
> > > > >         at
> > > > > org.apache.catalina.startup.Catalina.start(Catalina.java:512) at
> > >
> > > org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
> > >
> > > > >         at
> > >
> > > org.apache.catalina.startup.Catalina.process(Catalina.java:180)
> > >
> > > > >         ... 5 more
> > > > >
> > > > > Where is the problem? How to solve this ?
> > > > >
> > > > >
> > > >
> > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > > > > For additional commands, e-mail:
tomcat-user-help@jakarta.apache.org
> > > >
> > > > --
> > > > Jason Bainbridge
> > > > KDE Web Team - http://kde.org
> > > > webmaster@kde.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
> >
> > --
> > Jason Bainbridge
> > KDE Web Team - http://kde.org
> > webmaster@kde.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: catalina.out

Posted by Bill Barker <wb...@wilshire.com>.
That is true if you've you've enabled "channelJNI" in jk2.properties (and
you need to have apr for this).  You also need apr for channelUnix.  For
channelSocket, you don't need apr, and the messages in the original post to
this thread can just be safely ignored.

"Jason Bainbridge" <ja...@jblinux.org> wrote in message
news:200305180656.19418.jason@jblinux.org...
> Somebody correct me if I don't explain this quite correctly I don't fully
> understand it myself.
>
> Loading the mod_jk2 module in Apache starts Tomcat by using the settings
in
> the workers.properties file through JNI by calling tomcat-jni.jar.
>
> Unless I am wrong but I think the line in that howto "Try to start tomcat
> again and check catalina.out to see if everything is up and running."
should
> say to try to start Apache not tomcat.
>
> Regards,
> Jason
>
> On Sun, 18 May 2003 06:45, stakys wrote:
> > Hmmz i need to start just apache? ? ? But how the webapp from tomcat
will
> > work for me if id duno starts? Because apache dont start tomcat...But
> > trying to start tomcat i got errors :/
> > ----- Original Message -----
> > From: "Jason Bainbridge" <ja...@jblinux.org>
> > To: "Tomcat Users List" <to...@jakarta.apache.org>
> > Sent: Saturday, May 17, 2003 11:36 PM
> > Subject: Re: catalina.out
> >
> > > Start just apache on it's own and then it will start Tomcat "in
process",
> >
> > with
> >
> > > that configuration you can't run just Tomcat on it's own any longer
(you
> >
> > can
> >
> > > change this somehow though).
> > >
> > > Regards,
> > > Jason
> > >
> > > On Sat, 17 May 2003 11:19 pm, stakys wrote:
> > > >  Hi, i'm configuring everything like said in how-to at
> > > >
> > > >
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhosthowto.html
> > > >
> > > >  I backuped my old server.xml and made a new server.xml like said in
> >
> > that
> >
> > > >  how-to, after starting when i check catalina.out i can see this:
> > > >
> > > >  Starting service Tomcat-Apache
> > > >  Apache Tomcat/4.1.24
> > > >  May 17, 2003 4:39:34 PM org.apache.jk.server.JkMain start
> > > >  INFO: APR not loaded, disabling jni components:
java.io.IOException:
> > > > no jkjni in java.library.path
> > > >  May 17, 2003 4:39:34 PM org.apache.jk.common.ChannelSocket init
> > > >  INFO: JK2: ajp13 listening on /127.0.0.1:8009
> > > >  May 17, 2003 4:39:34 PM org.apache.jk.server.JkMain start
> > > >  INFO: Jk running ID=0 time=5/488
> > > >  config=/usr/local/jakarta-tomcat4.1/conf/jk2.properties
> > > >
> > > >  I think here's something wrong...  INFO: APR not loaded, disabling
jni
> > > >  components: java.io.IOException: no jkjni in java.library.path ???
> > > >
> > > > Hmmz then i saw in how-to that i need to set this in jk2.properties:
> > > >
> > > > # list of needed handlers.
> > > > handler.list=channelSocket,request
> > > >
> > > > But after this when i start tomcat i see theese errors in
catalina.out
> > > > :
> > > >
> > > > Starting service Tomcat-Apache
> > > > Apache Tomcat/4.1.24
> > > > May 17, 2003 6:14:13 PM org.apache.jk.common.ChannelSocket init
> > > > INFO: JK2: ajp13 listening on /127.0.0.1:8009
> > > > Exception during startup processing
> > > > java.lang.reflect.InvocationTargetException
> > > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
> > > >         at
> >
> >
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
> >
> > > >9 )
> > > >         at
> >
> >
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
> >
> > > >l .java:25)
> > > >         at java.lang.reflect.Method.invoke(Method.java:324)
> > > >         at
> >
> > org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> >
> > > > Caused by: java.lang.UnsatisfiedLinkError: getJkEnv
> > > >         at org.apache.jk.apr.AprImpl.getJkEnv(Native Method)
> > > >         at
> >
> > org.apache.jk.common.JniHandler.initNative(JniHandler.java:132)
> >
> > > >         at org.apache.jk.common.ChannelJni.init(ChannelJni.java:89)
> > > >         at org.apache.jk.server.JkMain.start(JkMain.java:351)
> > > >         at
> > > > org.apache.jk.server.JkCoyoteHandler.start(JkCoyoteHandler.java:169)
> > > >         at
> >
> >
org.apache.coyote.tomcat4.CoyoteConnector.start(CoyoteConnector.java:1141)
> >
> > > >         at
> > > >
org.apache.catalina.core.StandardService.start(StandardService.java:506
> > > >) at
> > > >
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
> > > >         at
> > > > org.apache.catalina.startup.Catalina.start(Catalina.java:512) at
> >
> > org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
> >
> > > >         at
> >
> > org.apache.catalina.startup.Catalina.process(Catalina.java:180)
> >
> > > >         ... 5 more
> > > >
> > > > Where is the problem? How to solve this ?
> > > >
> > > >
> > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > > > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> > >
> > > --
> > > Jason Bainbridge
> > > KDE Web Team - http://kde.org
> > > webmaster@kde.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
>
> --
> Jason Bainbridge
> KDE Web Team - http://kde.org
> webmaster@kde.org




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: catalina.out

Posted by Jason Bainbridge <ja...@jblinux.org>.
Somebody correct me if I don't explain this quite correctly I don't fully 
understand it myself.

Loading the mod_jk2 module in Apache starts Tomcat by using the settings in 
the workers.properties file through JNI by calling tomcat-jni.jar.

Unless I am wrong but I think the line in that howto "Try to start tomcat 
again and check catalina.out to see if everything is up and running." should 
say to try to start Apache not tomcat.

Regards,
Jason

On Sun, 18 May 2003 06:45, stakys wrote:
> Hmmz i need to start just apache? ? ? But how the webapp from tomcat will
> work for me if id duno starts? Because apache dont start tomcat...But
> trying to start tomcat i got errors :/
> ----- Original Message -----
> From: "Jason Bainbridge" <ja...@jblinux.org>
> To: "Tomcat Users List" <to...@jakarta.apache.org>
> Sent: Saturday, May 17, 2003 11:36 PM
> Subject: Re: catalina.out
>
> > Start just apache on it's own and then it will start Tomcat "in process",
>
> with
>
> > that configuration you can't run just Tomcat on it's own any longer (you
>
> can
>
> > change this somehow though).
> >
> > Regards,
> > Jason
> >
> > On Sat, 17 May 2003 11:19 pm, stakys wrote:
> > >  Hi, i'm configuring everything like said in how-to at
> > > 
> > > http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhosthowto.html
> > >
> > >  I backuped my old server.xml and made a new server.xml like said in
>
> that
>
> > >  how-to, after starting when i check catalina.out i can see this:
> > >
> > >  Starting service Tomcat-Apache
> > >  Apache Tomcat/4.1.24
> > >  May 17, 2003 4:39:34 PM org.apache.jk.server.JkMain start
> > >  INFO: APR not loaded, disabling jni components: java.io.IOException:
> > > no jkjni in java.library.path
> > >  May 17, 2003 4:39:34 PM org.apache.jk.common.ChannelSocket init
> > >  INFO: JK2: ajp13 listening on /127.0.0.1:8009
> > >  May 17, 2003 4:39:34 PM org.apache.jk.server.JkMain start
> > >  INFO: Jk running ID=0 time=5/488
> > >  config=/usr/local/jakarta-tomcat4.1/conf/jk2.properties
> > >
> > >  I think here's something wrong...  INFO: APR not loaded, disabling jni
> > >  components: java.io.IOException: no jkjni in java.library.path ???
> > >
> > > Hmmz then i saw in how-to that i need to set this in jk2.properties:
> > >
> > > # list of needed handlers.
> > > handler.list=channelSocket,request
> > >
> > > But after this when i start tomcat i see theese errors in catalina.out
> > > :
> > >
> > > Starting service Tomcat-Apache
> > > Apache Tomcat/4.1.24
> > > May 17, 2003 6:14:13 PM org.apache.jk.common.ChannelSocket init
> > > INFO: JK2: ajp13 listening on /127.0.0.1:8009
> > > Exception during startup processing
> > > java.lang.reflect.InvocationTargetException
> > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >         at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
>
> > >9 )
> > >         at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
>
> > >l .java:25)
> > >         at java.lang.reflect.Method.invoke(Method.java:324)
> > >         at
>
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
>
> > > Caused by: java.lang.UnsatisfiedLinkError: getJkEnv
> > >         at org.apache.jk.apr.AprImpl.getJkEnv(Native Method)
> > >         at
>
> org.apache.jk.common.JniHandler.initNative(JniHandler.java:132)
>
> > >         at org.apache.jk.common.ChannelJni.init(ChannelJni.java:89)
> > >         at org.apache.jk.server.JkMain.start(JkMain.java:351)
> > >         at
> > > org.apache.jk.server.JkCoyoteHandler.start(JkCoyoteHandler.java:169)
> > >         at
>
> org.apache.coyote.tomcat4.CoyoteConnector.start(CoyoteConnector.java:1141)
>
> > >         at
> > > org.apache.catalina.core.StandardService.start(StandardService.java:506
> > >) at
> > > org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
> > >         at
> > > org.apache.catalina.startup.Catalina.start(Catalina.java:512) at
>
> org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
>
> > >         at
>
> org.apache.catalina.startup.Catalina.process(Catalina.java:180)
>
> > >         ... 5 more
> > >
> > > Where is the problem? How to solve this ?
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> > --
> > Jason Bainbridge
> > KDE Web Team - http://kde.org
> > webmaster@kde.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

-- 
Jason Bainbridge
KDE Web Team - http://kde.org 
webmaster@kde.org 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: catalina.out

Posted by stakys <st...@punktas.lt>.
Hmmz i need to start just apache? ? ? But how the webapp from tomcat will
work for me if id duno starts? Because apache dont start tomcat...But trying
to start tomcat i got errors :/
----- Original Message -----
From: "Jason Bainbridge" <ja...@jblinux.org>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Saturday, May 17, 2003 11:36 PM
Subject: Re: catalina.out


> Start just apache on it's own and then it will start Tomcat "in process",
with
> that configuration you can't run just Tomcat on it's own any longer (you
can
> change this somehow though).
>
> Regards,
> Jason
>
> On Sat, 17 May 2003 11:19 pm, stakys wrote:
> >  Hi, i'm configuring everything like said in how-to at
> >  http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhosthowto.html
> >
> >  I backuped my old server.xml and made a new server.xml like said in
that
> >  how-to, after starting when i check catalina.out i can see this:
> >
> >  Starting service Tomcat-Apache
> >  Apache Tomcat/4.1.24
> >  May 17, 2003 4:39:34 PM org.apache.jk.server.JkMain start
> >  INFO: APR not loaded, disabling jni components: java.io.IOException: no
> >  jkjni in java.library.path
> >  May 17, 2003 4:39:34 PM org.apache.jk.common.ChannelSocket init
> >  INFO: JK2: ajp13 listening on /127.0.0.1:8009
> >  May 17, 2003 4:39:34 PM org.apache.jk.server.JkMain start
> >  INFO: Jk running ID=0 time=5/488
> >  config=/usr/local/jakarta-tomcat4.1/conf/jk2.properties
> >
> >  I think here's something wrong...  INFO: APR not loaded, disabling jni
> >  components: java.io.IOException: no jkjni in java.library.path ???
> >
> > Hmmz then i saw in how-to that i need to set this in jk2.properties:
> >
> > # list of needed handlers.
> > handler.list=channelSocket,request
> >
> > But after this when i start tomcat i see theese errors in catalina.out :
> >
> > Starting service Tomcat-Apache
> > Apache Tomcat/4.1.24
> > May 17, 2003 6:14:13 PM org.apache.jk.common.ChannelSocket init
> > INFO: JK2: ajp13 listening on /127.0.0.1:8009
> > Exception during startup processing
> > java.lang.reflect.InvocationTargetException
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at
> >
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
> >9 )
> >         at
> >
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
> >l .java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:324)
> >         at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> > Caused by: java.lang.UnsatisfiedLinkError: getJkEnv
> >         at org.apache.jk.apr.AprImpl.getJkEnv(Native Method)
> >         at
org.apache.jk.common.JniHandler.initNative(JniHandler.java:132)
> >         at org.apache.jk.common.ChannelJni.init(ChannelJni.java:89)
> >         at org.apache.jk.server.JkMain.start(JkMain.java:351)
> >         at
> > org.apache.jk.server.JkCoyoteHandler.start(JkCoyoteHandler.java:169)
> >         at
> >
org.apache.coyote.tomcat4.CoyoteConnector.start(CoyoteConnector.java:1141)
> >         at
> > org.apache.catalina.core.StandardService.start(StandardService.java:506)
> >         at
> > org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
> >         at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
> >         at
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
> >         at
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
> >         ... 5 more
> >
> > Where is the problem? How to solve this ?
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
> --
> Jason Bainbridge
> KDE Web Team - http://kde.org
> webmaster@kde.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: catalina.out

Posted by Jason Bainbridge <ja...@jblinux.org>.
Start just apache on it's own and then it will start Tomcat "in process", with 
that configuration you can't run just Tomcat on it's own any longer (you can 
change this somehow though).

Regards,
Jason

On Sat, 17 May 2003 11:19 pm, stakys wrote:
>  Hi, i'm configuring everything like said in how-to at
>  http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhosthowto.html
>
>  I backuped my old server.xml and made a new server.xml like said in that
>  how-to, after starting when i check catalina.out i can see this:
>
>  Starting service Tomcat-Apache
>  Apache Tomcat/4.1.24
>  May 17, 2003 4:39:34 PM org.apache.jk.server.JkMain start
>  INFO: APR not loaded, disabling jni components: java.io.IOException: no
>  jkjni in java.library.path
>  May 17, 2003 4:39:34 PM org.apache.jk.common.ChannelSocket init
>  INFO: JK2: ajp13 listening on /127.0.0.1:8009
>  May 17, 2003 4:39:34 PM org.apache.jk.server.JkMain start
>  INFO: Jk running ID=0 time=5/488
>  config=/usr/local/jakarta-tomcat4.1/conf/jk2.properties
>
>  I think here's something wrong...  INFO: APR not loaded, disabling jni
>  components: java.io.IOException: no jkjni in java.library.path ???
>
> Hmmz then i saw in how-to that i need to set this in jk2.properties:
>
> # list of needed handlers.
> handler.list=channelSocket,request
>
> But after this when i start tomcat i see theese errors in catalina.out :
>
> Starting service Tomcat-Apache
> Apache Tomcat/4.1.24
> May 17, 2003 6:14:13 PM org.apache.jk.common.ChannelSocket init
> INFO: JK2: ajp13 listening on /127.0.0.1:8009
> Exception during startup processing
> java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
>9 )
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
>l .java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> Caused by: java.lang.UnsatisfiedLinkError: getJkEnv
>         at org.apache.jk.apr.AprImpl.getJkEnv(Native Method)
>         at org.apache.jk.common.JniHandler.initNative(JniHandler.java:132)
>         at org.apache.jk.common.ChannelJni.init(ChannelJni.java:89)
>         at org.apache.jk.server.JkMain.start(JkMain.java:351)
>         at
> org.apache.jk.server.JkCoyoteHandler.start(JkCoyoteHandler.java:169)
>         at
> org.apache.coyote.tomcat4.CoyoteConnector.start(CoyoteConnector.java:1141)
>         at
> org.apache.catalina.core.StandardService.start(StandardService.java:506)
>         at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
>         at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
>         at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
>         at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
>         ... 5 more
>
> Where is the problem? How to solve this ?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

-- 
Jason Bainbridge
KDE Web Team - http://kde.org 
webmaster@kde.org 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org