You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ray Kosby <ra...@mail630.gsfc.nasa.gov> on 2003/02/14 22:25:48 UTC

LoadOnStartupInterceptor: cannot load servlet name ... java.lang.NoClassDefFoundError

I have jakarta-tomcat-3.3.1a on a Solaris 8 machine.  I have a servlet
that uses classes contained in ".zip" and ".jar" files that are located
in jakarta-tomcat/lib/common.  Whenever I start tomcat I get the
following error:

LoadOnStartupInterceptor: cannot load servlet name: Database Servlet -
java.lang.NoClassDefFoundError: oracle/jdbc/pool/OracleDataSource

I found the following in the documentation:

        If the chosen classloader is the Common Classloader or Apps
        classloader you include a directory or jar these classloaders by
        listing them a System property. For the Common Classloader,
        include the directory or jar file in a System property named
        org.apache.tomcat.common.classpath. For the Apps classloader,
        use a System property named org.apache.tomcat.apps.classpath.
        
If this is the solution, I can't find a clear example of what the tags
in server.xml should look like to accomplish this.  Any one know if I'm
on the right track and how to do this?

Sincerely,

Ray "new at tomcat" Kosby
-- 
Ray Kosby <ra...@mail630.gsfc.nasa.gov>

Re: LoadOnStartupInterceptor: cannot load servlet name...java.lang.NoClassDefFoundError

Posted by Bill Barker <wb...@wilshire.com>.
The operative word is "jars".  Rename classes12.zip to classes12.jar and it
will likely work.

"Ray Kosby" <vz...@verizon.net> wrote in message
news:1045581133.1329.1.camel@linny...
>
> The oracle file is called classes12.zip and it's located in lib/common.
> Yet I still get the error.
>
>
> On Sat, 2003-02-15 at 01:26, Bill Barker wrote:
> > The simplest is to just include the Oracle jars in lib/common.
> >
> > Otherwise, it's not a 'server.xml' setting.  Assuming that Tomcat is
running
> > under the user 'tomcat', then you would need to create a file called
> > '~tomcat/.tomcatrc' looking like:
> >
> > TOMCAT_OPTS="-Dorg.apache.tomcat.common.classpath=/path/to/oracle.jar"
> >
> > Alternatively, you can edit the 'tomcat.sh' file to do the same thing.
The
> > value of this System property gets added to the classpath for the
'common'
> > classloader, so it should solve your problem.
> >
> > "Ray Kosby" <ra...@mail630.gsfc.nasa.gov> wrote in message
> > news:1045257948.21626.1438.camel@voodoo.gsfc.nasa.gov...
> > I have jakarta-tomcat-3.3.1a on a Solaris 8 machine.  I have a servlet
> > that uses classes contained in ".zip" and ".jar" files that are located
> > in jakarta-tomcat/lib/common.  Whenever I start tomcat I get the
> > following error:
> >
> > LoadOnStartupInterceptor: cannot load servlet name: Database Servlet -
> > java.lang.NoClassDefFoundError: oracle/jdbc/pool/OracleDataSource
> >
> > I found the following in the documentation:
> >
> >         If the chosen classloader is the Common Classloader or Apps
> >         classloader you include a directory or jar these classloaders by
> >         listing them a System property. For the Common Classloader,
> >         include the directory or jar file in a System property named
> >         org.apache.tomcat.common.classpath. For the Apps classloader,
> >         use a System property named org.apache.tomcat.apps.classpath.
> >
> > If this is the solution, I can't find a clear example of what the tags
> > in server.xml should look like to accomplish this.  Any one know if I'm
> > on the right track and how to do this?
> >
> > Sincerely,
> >
> > Ray "new at tomcat" Kosby
> > --
> > Ray Kosby <ra...@mail630.gsfc.nasa.gov>
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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: Impossible? Apache 1.3.X + Mod_jk2 + Jakarta 4.1.18 ?????

Posted by Yoav <yo...@capitalmerchant.com>.
 

Stefan,

 

That's why I posted my question in the first place :-)

When you go to the link you sent me you get a folder with explanation about
mod_jk2-1.3-eapi.so - but the file is NOWHERE to be found.

 

So, where is it ?

Can someone *please* attach a SPARC/solaris8 binary for mod_jk2-1.3-eapi ?

Or should we just upgrade the Apache to 2.0.43 ?

 

Thanks,

 

Yoav.

 

Name
<http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0
.2/bin/solaris8/?C=N&O=D>
Last modified
<http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0
.2/bin/solaris8/?C=M&O=A>       Size
<http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0
.2/bin/solaris8/?C=S&O=A>   Description
<http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0
.2/bin/solaris8/?C=D&O=A> 





  _____  



[DIR] Parent Directory
<http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0
.2/bin/>                                                                -   
[TXT] README.html
<http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0
.2/bin/solaris8/README.html>
28-Nov-2002 02:54  746   
[ ] jkjni.so
<http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0
.2/bin/solaris8/jkjni.so>
28-Nov-2002 02:59  329K  
[TXT] jkjni.so.asc
<http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0
.2/bin/solaris8/jkjni.so.asc>
28-Nov-2002 02:59  232   
[ ] mod_jk2-2.0.43.so
<http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0
.2/bin/solaris8/mod_jk2-2.0.43.so>
28-Nov-2002 02:59  371K  
[TXT] mod_jk2-2.0.43.so.asc
<http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0
.2/bin/solaris8/mod_jk2-2.0.43.so.asc>
28-Nov-2002 02:59  232   





  _____  




Apache JK 2.0.2 for Solaris 8




You'll find here binaries for Apache 1.3 and 2.0. 

Build under Solaris 8:

*	mod_jk2-2.0.43.so is for Apache 2.0.43 (works also with 2.0.42) 
*	mod_jk2-1.3-eapi.so is for Apache 1.3.x with mod_ssl 
*	mod_jk2-1.3-noeapi.so is for Apache 1.3.x without mod_ssl 
*	jkjni.so is the JNI callback stuff 

 

 

 

 

-----Original Message-----
From: Stefan Smeets [mailto:stefan@staf.pi.be] 
Sent: Tuesday, February 18, 2003 8:33 PM
To: Tomcat Users List
Subject: Re: Impossible? Apache 1.3.X + Mod_jk2 + Jakarta 4.1.18 ?????

 

or this

 

http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0.

2/bin/solaris8/

 

sorry for the spamming

 

have fun

 

/stef

----- Original Message -----

From: "Stefan Smeets" <st...@staf.pi.be>

To: "Tomcat Users List" <to...@jakarta.apache.org>

Sent: Tuesday, February 18, 2003 7:29 PM

Subject: Re: Impossible? Apache 1.3.X + Mod_jk2 + Jakarta 4.1.18 ?????

 

 

> is this

>

> (

>

http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.1

> /bin/solaris8/ )

>

> it ?

>

> /stefan

> ----- Original Message -----

> From: "Yoav" <yo...@capitalmerchant.com>

> To: "'Tomcat Users List'" <to...@jakarta.apache.org>

> Sent: Tuesday, February 18, 2003 6:58 PM

> Subject: Impossible? Apache 1.3.X + Mod_jk2 + Jakarta 4.1.18 ?????

>

>

> > Hi,

> >

> > I'm currently using Apache 1.3.26 + Mod_jk + Jakarta 4.0.4 + JDK_1.3.1

> over

> > win32 & Solaris8 with no problems.

> > Now, as we're trying to migrate over to mod_jk2+TC 4.1.18 we can't

> > understand the following:

> >

> > 1) Where can I find a binary for mod_jk2-1.3-eapi.so ??

> > 2) I'm currently using mod_jk, what changes do I need to apply to

> > httpd.conf so it'll work with mod_jk2 (i.e. JkworkersFile syntax) ?

> > 3) Is there nowhere a decent HOWTO for configuring mod_jk2 (Also in

> > httpd.conf)?

> >

> >

> > Thannks!

> >

> >

> >

> > ---------------------------------------------------------------------

> > 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


ChannelSocket reset connection (Re: Querystring seg fault with mod_jk)

Posted by Stephen Riek <st...@yahoo.co.uk>.
Still haven't had any luck trying to debug this, but have found this error msg 
in catalina.out,

[INFO] ChannelSocket - -server has been restarted or reset this connection

 Stephen Riek <st...@yahoo.co.uk> wrote:I also have Apache 1.3.x accessing Tomcat 4.1.18 through JK (and not JK2).

I can follow hyperlinks from one JSP (served up by Tomca) to another JSP, through JK/Apache. However, I can not follow links with a query appended. 

Eg. HREF ="somejsp?var=value" would not work but
HREF="somejsp"  does work.

The error log in Apache simply reads,
"[Wed Feb 19 12:52:46 2003] [notice] child pid 25102 exit signal Segmentation Fault (11)" 

At the moment I have set JK to pass ALL requests through with 
JkMount /* worker1

But is there something else I have to do to allow requests with querystrings ? or as the Apache error log suggests, have I got a more serious problem ? 

My httpd/conf/workers.properties is :

worker.list=worker1 
worker.worker1.type=ajp13 
worker.worker1.host=localhost 
worker.worker1.port=8009 
worker.worker1.lbfactor=50 
worker.worker1.cachesize=10 
worker.worker1.cache_timeout=600 
worker.worker1.socket_keepalive=1 
worker.worker1.socket_timeout=300 

And my httpd.conf uses this: 

LoadModule jk_module modules/mod_jk.so
AddModule mod_jk.c
JkWorkersFile /httpd/conf/workers.properties
JkLogFile /httpd/logs/mod_jk.log
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkRequestLogFormat "%w %V %T"
JkMount /* worker1

(copied it from one of you on tomcat-users yesterday. apologies if it looks familiar :)

Thanks for any help,

Stephen.



---------------------------------
With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs

Querystring causing seg fault with mod_jk (RE: Apache 1.3.X + Mod_jk2 + Jakarta 4.1.18)

Posted by Stephen Riek <st...@yahoo.co.uk>.
Just a question related to this. 

I also have Apache 1.3.x accessing Tomcat 4.1.18 through JK (and not JK2).

I can follow hyperlinks from one JSP (served up by Tomca) to another JSP, through JK/Apache.  However, I can not follow links with a query appended. 

Eg. <a href="index.jsp?somevar=value">click here</a> would not work but
<a href="index.jsp"> click here</a> does work.

The error log in Apache simply reads,
"[Wed Feb 19 12:52:46 2003] [notice] child pid 25102 exit signal Segmentation Fault (11)" 

At the moment I have set JK to pass ALL requests through with 
JkMount /* worker1

But is there something else I have to do to allow requests with querystrings ? or as the Apache error log suggests, have I got a more serious problem ? 

My httpd/conf/workers.properties is :

worker.list=worker1 
worker.worker1.type=ajp13 
worker.worker1.host=localhost 
worker.worker1.port=8009 
worker.worker1.lbfactor=50 
worker.worker1.cachesize=10 
worker.worker1.cache_timeout=600 
worker.worker1.socket_keepalive=1 
worker.worker1.socket_timeout=300 

And my httpd.conf uses this: 

LoadModule jk_module modules/mod_jk.so
AddModule mod_jk.c
JkWorkersFile /httpd/conf/workers.properties
JkLogFile /httpd/logs/mod_jk.log
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkRequestLogFormat "%w %V %T"
JkMount /* worker1

(copied it from one of you on tomcat-users yesterday. apologies if it looks familiar :)

Thanks for any help,

Stephen.

 




---------------------------------
With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs

Old Thread: RE: Impossible? Apache 1.3.X + Mod_jk2 + Jakarta 4.1.18 ?????

Posted by "Eduardo Jaunez S." <ej...@sii.cl>.
I find a page (but it isn't the one I said, still looking for)

http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0.
2/src/

It says (textually):

	"Even if it works with Apache 1.3, JK2 has been developed with Apache 2.0
in mind, and is better suited for multi-threaded servers..."

Eduardo.

> -----Mensaje original-----
> De: Eduardo Jaunez S. [mailto:ejaunez@sii.cl]
> Enviado el: Miercoles, 19 de Febrero de 2003 09:29
> Para: 'Tomcat Users List'
> Asunto: RE: Impossible? Apache 1.3.X + Mod_jk2 + Jakarta 4.1.18 ?????
>
>
> Yeah, I know there is contradictorious info...
>
> I'm trying to find the page (I read it) that recommends not
> to cross beetwen
> JK and apache, but cannot find yet. It says something like:
>
> If you use Apache1.3, use JK
> If you use Apache2, use JK2 (since Java is multithread
> itself, the best
> performance is achieved using a multithreaded webserver, and you "can"
> configure to use JNI that don't need to communicate via TCP/IP)
>
> 	The jakarta site says JK is deprecated and JK2 works in
> Apache1.3, but I
> cannot get the correct module binary and compilation doesn't
> work for me.
>
> Personally, I have working Apache 1.3.27 and Tomcat 4.1.18 with the JK
> module and works fine (up to date at last).
>
>
> When I find that page I'll forward to you its address.
>
> Cheers
> 	Eduardo.
>
> -----Mensaje original-----
> De: Yoav [mailto:yoav@capitalmerchant.com]
> Enviado el: Miercoles, 19 de Febrero de 2003 06:59
> Para: 'Tomcat Users List'
> Asunto: RE: Impossible? Apache 1.3.X + Mod_jk2 + Jakarta 4.1.18 ?????
>
>
> Eduardo,
>
> That's news to me.
> If you go to the link below. This is what you get.
> So, I guess it works with Apache 1.3.X J
> The question remains - where is the binary ?
>
> Any ideas?
> Anyone ?
>
>
> Yoav.
>
> http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2
> /release/v2.0.2/bin/solaris8/
>
> Apache JK 2.0.2 for Solaris 8
>
> You'll find here binaries for Apache 1.3 and 2.0.
> Build under Solaris 8:
> mod_jk2-2.0.43.so is for Apache 2.0.43 (works also with 2.0.42)
> mod_jk2-1.3-eapi.so is for Apache 1.3.x with mod_ssl
> mod_jk2-1.3-noeapi.so is for Apache 1.3.x without mod_ssl
> jkjni.so is the JNI callback stuff
> The Apache Jakarta Project
>
>
>
>
> -----Original Message-----
> From: Eduardo Jaunez S. [mailto:ejaunez@sii.cl]
> Sent: Tuesday, February 18, 2003 8:44 PM
> To: 'Tomcat Users List'
> Subject: RE: Impossible? Apache 1.3.X + Mod_jk2 + Jakarta 4.1.18 ?????
>
> Hi,
>
>       I think you cannot use JK2 with Apache 1.3.X, since JK2
> is for the
> multithreaded Apache 2.0, and using JNI to comunicate with Tomcat.
>
> Regards,
>
>       Eduardo Jaunez S.
>
> > -----Mensaje original-----
> > De: Stefan Smeets [mailto:stefan@staf.pi.be]
> > Enviado el: Martes, 18 de Febrero de 2003 15:33
> > Para: Tomcat Users List
> > Asunto: Re: Impossible? Apache 1.3.X + Mod_jk2 + Jakarta
> 4.1.18 ?????
> >
> >
> > or this
> >
> > http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2
> > /release/v2.0.
> > 2/bin/solaris8/
> >
> > sorry for the spamming
> >
> > have fun
> >
> > /stef
> > ----- Original Message -----
> > From: "Stefan Smeets" <st...@staf.pi.be>
> > To: "Tomcat Users List" <to...@jakarta.apache.org>
> > Sent: Tuesday, February 18, 2003 7:29 PM
> > Subject: Re: Impossible? Apache 1.3.X + Mod_jk2 + Jakarta
> 4.1.18 ?????
> >
> >
> > > is this
> > >
> > > (
> > >
> > http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/
> release/v1.2.1
> > /bin/solaris8/ )
> >
> > it ?
> >
> > /stefan
> > ----- Original Message -----
> > From: "Yoav" <yo...@capitalmerchant.com>
> > To: "'Tomcat Users List'" <to...@jakarta.apache.org>
> > Sent: Tuesday, February 18, 2003 6:58 PM
> > Subject: Impossible? Apache 1.3.X + Mod_jk2 + Jakarta 4.1.18 ?????
> >
> >
> > > Hi,
> > >
> > > I'm currently using Apache 1.3.26 + Mod_jk + Jakarta
> 4.0.4 + JDK_1.3.1
> > over
> > > win32 & Solaris8 with no problems.
> > > Now, as we're trying to migrate over to mod_jk2+TC 4.1.18 we can't
> > > understand the following:
> > >
> > > 1) Where can I find a binary for mod_jk2-1.3-eapi.so ??
> > > 2) I'm currently using mod_jk, what changes do I need to apply to
> > > httpd.conf so it'll work with mod_jk2 (i.e. JkworkersFile
> syntax) ?
> > > 3) Is there nowhere a decent HOWTO for configuring
> mod_jk2 (Also in
> > > httpd.conf)?
> > >
> > >
> > > Thannks!
> > >
> > >
> > >
> > >
> ---------------------------------------------------------------------
> > > 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
>
>
> ---------------------------------------------------------------------
> 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: Impossible? Apache 1.3.X + Mod_jk2 + Jakarta 4.1.18 ?????

Posted by "Eduardo Jaunez S." <ej...@sii.cl>.
Yeah, I know there is contradictorious info...

I'm trying to find the page (I read it) that recommends not to cross beetwen
JK and apache, but cannot find yet. It says something like:

If you use Apache1.3, use JK
If you use Apache2, use JK2 (since Java is multithread itself, the best
performance is achieved using a multithreaded webserver, and you "can"
configure to use JNI that don't need to communicate via TCP/IP)

	The jakarta site says JK is deprecated and JK2 works in Apache1.3, but I
cannot get the correct module binary and compilation doesn't work for me.

Personally, I have working Apache 1.3.27 and Tomcat 4.1.18 with the JK
module and works fine (up to date at last).


When I find that page I'll forward to you its address.

Cheers
	Eduardo.

-----Mensaje original-----
De: Yoav [mailto:yoav@capitalmerchant.com]
Enviado el: Miercoles, 19 de Febrero de 2003 06:59
Para: 'Tomcat Users List'
Asunto: RE: Impossible? Apache 1.3.X + Mod_jk2 + Jakarta 4.1.18 ?????


Eduardo,

That's news to me.
If you go to the link below. This is what you get.
So, I guess it works with Apache 1.3.X J
The question remains - where is the binary ?

Any ideas?
Anyone ?


Yoav.

http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2
/release/v2.0.2/bin/solaris8/

Apache JK 2.0.2 for Solaris 8

You'll find here binaries for Apache 1.3 and 2.0.
Build under Solaris 8:
mod_jk2-2.0.43.so is for Apache 2.0.43 (works also with 2.0.42)
mod_jk2-1.3-eapi.so is for Apache 1.3.x with mod_ssl
mod_jk2-1.3-noeapi.so is for Apache 1.3.x without mod_ssl
jkjni.so is the JNI callback stuff
The Apache Jakarta Project




-----Original Message-----
From: Eduardo Jaunez S. [mailto:ejaunez@sii.cl]
Sent: Tuesday, February 18, 2003 8:44 PM
To: 'Tomcat Users List'
Subject: RE: Impossible? Apache 1.3.X + Mod_jk2 + Jakarta 4.1.18 ?????

Hi,

      I think you cannot use JK2 with Apache 1.3.X, since JK2 is for the
multithreaded Apache 2.0, and using JNI to comunicate with Tomcat.

Regards,

      Eduardo Jaunez S.

> -----Mensaje original-----
> De: Stefan Smeets [mailto:stefan@staf.pi.be]
> Enviado el: Martes, 18 de Febrero de 2003 15:33
> Para: Tomcat Users List
> Asunto: Re: Impossible? Apache 1.3.X + Mod_jk2 + Jakarta 4.1.18 ?????
>
>
> or this
>
> http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2
> /release/v2.0.
> 2/bin/solaris8/
>
> sorry for the spamming
>
> have fun
>
> /stef
> ----- Original Message -----
> From: "Stefan Smeets" <st...@staf.pi.be>
> To: "Tomcat Users List" <to...@jakarta.apache.org>
> Sent: Tuesday, February 18, 2003 7:29 PM
> Subject: Re: Impossible? Apache 1.3.X + Mod_jk2 + Jakarta 4.1.18 ?????
>
>
> > is this
> >
> > (
> >
> http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/
release/v1.2.1
> /bin/solaris8/ )
>
> it ?
>
> /stefan
> ----- Original Message -----
> From: "Yoav" <yo...@capitalmerchant.com>
> To: "'Tomcat Users List'" <to...@jakarta.apache.org>
> Sent: Tuesday, February 18, 2003 6:58 PM
> Subject: Impossible? Apache 1.3.X + Mod_jk2 + Jakarta 4.1.18 ?????
>
>
> > Hi,
> >
> > I'm currently using Apache 1.3.26 + Mod_jk + Jakarta 4.0.4 + JDK_1.3.1
> over
> > win32 & Solaris8 with no problems.
> > Now, as we're trying to migrate over to mod_jk2+TC 4.1.18 we can't
> > understand the following:
> >
> > 1) Where can I find a binary for mod_jk2-1.3-eapi.so ??
> > 2) I'm currently using mod_jk, what changes do I need to apply to
> > httpd.conf so it'll work with mod_jk2 (i.e. JkworkersFile syntax) ?
> > 3) Is there nowhere a decent HOWTO for configuring mod_jk2 (Also in
> > httpd.conf)?
> >
> >
> > Thannks!
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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


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


RE: Impossible? Apache 1.3.X + Mod_jk2 + Jakarta 4.1.18 ?????

Posted by Yoav <yo...@capitalmerchant.com>.
Eduardo,

 

That's news to me.

If you go to the link below. This is what you get.

So, I guess it works with Apache 1.3.X :-)

The question remains - where is the binary ?

 

Any ideas?

Anyone ?

 

 

Yoav.

 

http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2

/release/v2.0.2/bin/solaris8/

 


Apache JK 2.0.2 for Solaris 8




You'll find here binaries for Apache 1.3 and 2.0. 

Build under Solaris 8:

*	mod_jk2-2.0.43.so is for Apache 2.0.43 (works also with 2.0.42) 
*	mod_jk2-1.3-eapi.so is for Apache 1.3.x with mod_ssl 
*	mod_jk2-1.3-noeapi.so is for Apache 1.3.x without mod_ssl 
*	jkjni.so is the JNI callback stuff 

The Apache Jakarta Project 

 

 

 

 

-----Original Message-----
From: Eduardo Jaunez S. [mailto:ejaunez@sii.cl] 
Sent: Tuesday, February 18, 2003 8:44 PM
To: 'Tomcat Users List'
Subject: RE: Impossible? Apache 1.3.X + Mod_jk2 + Jakarta 4.1.18 ?????

 

Hi,

 

      I think you cannot use JK2 with Apache 1.3.X, since JK2 is for the

multithreaded Apache 2.0, and using JNI to comunicate with Tomcat.

 

Regards,

 

      Eduardo Jaunez S.

 

> -----Mensaje original-----

> De: Stefan Smeets [mailto:stefan@staf.pi.be]

> Enviado el: Martes, 18 de Febrero de 2003 15:33

> Para: Tomcat Users List

> Asunto: Re: Impossible? Apache 1.3.X + Mod_jk2 + Jakarta 4.1.18 ?????

>

>

> or this

>

> http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2

> /release/v2.0.

> 2/bin/solaris8/

>

> sorry for the spamming

>

> have fun

>

> /stef

> ----- Original Message -----

> From: "Stefan Smeets" <st...@staf.pi.be>

> To: "Tomcat Users List" <to...@jakarta.apache.org>

> Sent: Tuesday, February 18, 2003 7:29 PM

> Subject: Re: Impossible? Apache 1.3.X + Mod_jk2 + Jakarta 4.1.18 ?????

>

>

> > is this

> >

> > (

> >

> http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/

release/v1.2.1

> /bin/solaris8/ )

>

> it ?

>

> /stefan

> ----- Original Message -----

> From: "Yoav" <yo...@capitalmerchant.com>

> To: "'Tomcat Users List'" <to...@jakarta.apache.org>

> Sent: Tuesday, February 18, 2003 6:58 PM

> Subject: Impossible? Apache 1.3.X + Mod_jk2 + Jakarta 4.1.18 ?????

>

>

> > Hi,

> >

> > I'm currently using Apache 1.3.26 + Mod_jk + Jakarta 4.0.4 + JDK_1.3.1

> over

> > win32 & Solaris8 with no problems.

> > Now, as we're trying to migrate over to mod_jk2+TC 4.1.18 we can't

> > understand the following:

> >

> > 1) Where can I find a binary for mod_jk2-1.3-eapi.so ??

> > 2) I'm currently using mod_jk, what changes do I need to apply to

> > httpd.conf so it'll work with mod_jk2 (i.e. JkworkersFile syntax) ?

> > 3) Is there nowhere a decent HOWTO for configuring mod_jk2 (Also in

> > httpd.conf)?

> >

> >

> > Thannks!

> >

> >

> >

> > ---------------------------------------------------------------------

> > 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: Impossible? Apache 1.3.X + Mod_jk2 + Jakarta 4.1.18 ?????

Posted by "Eduardo Jaunez S." <ej...@sii.cl>.
Hi,

	I think you cannot use JK2 with Apache 1.3.X, since JK2 is for the
multithreaded Apache 2.0, and using JNI to comunicate with Tomcat.

Regards,

	Eduardo Jaunez S.

> -----Mensaje original-----
> De: Stefan Smeets [mailto:stefan@staf.pi.be]
> Enviado el: Martes, 18 de Febrero de 2003 15:33
> Para: Tomcat Users List
> Asunto: Re: Impossible? Apache 1.3.X + Mod_jk2 + Jakarta 4.1.18 ?????
>
>
> or this
>
> http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2
> /release/v2.0.
> 2/bin/solaris8/
>
> sorry for the spamming
>
> have fun
>
> /stef
> ----- Original Message -----
> From: "Stefan Smeets" <st...@staf.pi.be>
> To: "Tomcat Users List" <to...@jakarta.apache.org>
> Sent: Tuesday, February 18, 2003 7:29 PM
> Subject: Re: Impossible? Apache 1.3.X + Mod_jk2 + Jakarta 4.1.18 ?????
>
>
> > is this
> >
> > (
> >
> http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/
release/v1.2.1
> /bin/solaris8/ )
>
> it ?
>
> /stefan
> ----- Original Message -----
> From: "Yoav" <yo...@capitalmerchant.com>
> To: "'Tomcat Users List'" <to...@jakarta.apache.org>
> Sent: Tuesday, February 18, 2003 6:58 PM
> Subject: Impossible? Apache 1.3.X + Mod_jk2 + Jakarta 4.1.18 ?????
>
>
> > Hi,
> >
> > I'm currently using Apache 1.3.26 + Mod_jk + Jakarta 4.0.4 + JDK_1.3.1
> over
> > win32 & Solaris8 with no problems.
> > Now, as we're trying to migrate over to mod_jk2+TC 4.1.18 we can't
> > understand the following:
> >
> > 1) Where can I find a binary for mod_jk2-1.3-eapi.so ??
> > 2) I'm currently using mod_jk, what changes do I need to apply to
> > httpd.conf so it'll work with mod_jk2 (i.e. JkworkersFile syntax) ?
> > 3) Is there nowhere a decent HOWTO for configuring mod_jk2 (Also in
> > httpd.conf)?
> >
> >
> > Thannks!
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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: Impossible? Apache 1.3.X + Mod_jk2 + Jakarta 4.1.18 ?????

Posted by Stefan Smeets <st...@staf.pi.be>.
or this

http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0.
2/bin/solaris8/

sorry for the spamming

have fun

/stef
----- Original Message -----
From: "Stefan Smeets" <st...@staf.pi.be>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Tuesday, February 18, 2003 7:29 PM
Subject: Re: Impossible? Apache 1.3.X + Mod_jk2 + Jakarta 4.1.18 ?????


> is this
>
> (
>
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.1
> /bin/solaris8/ )
>
> it ?
>
> /stefan
> ----- Original Message -----
> From: "Yoav" <yo...@capitalmerchant.com>
> To: "'Tomcat Users List'" <to...@jakarta.apache.org>
> Sent: Tuesday, February 18, 2003 6:58 PM
> Subject: Impossible? Apache 1.3.X + Mod_jk2 + Jakarta 4.1.18 ?????
>
>
> > Hi,
> >
> > I'm currently using Apache 1.3.26 + Mod_jk + Jakarta 4.0.4 + JDK_1.3.1
> over
> > win32 & Solaris8 with no problems.
> > Now, as we're trying to migrate over to mod_jk2+TC 4.1.18 we can't
> > understand the following:
> >
> > 1) Where can I find a binary for mod_jk2-1.3-eapi.so ??
> > 2) I'm currently using mod_jk, what changes do I need to apply to
> > httpd.conf so it'll work with mod_jk2 (i.e. JkworkersFile syntax) ?
> > 3) Is there nowhere a decent HOWTO for configuring mod_jk2 (Also in
> > httpd.conf)?
> >
> >
> > Thannks!
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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: Impossible? Apache 1.3.X + Mod_jk2 + Jakarta 4.1.18 ?????

Posted by Stefan Smeets <st...@staf.pi.be>.
is this

(
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.1
/bin/solaris8/ )

it ?

/stefan
----- Original Message -----
From: "Yoav" <yo...@capitalmerchant.com>
To: "'Tomcat Users List'" <to...@jakarta.apache.org>
Sent: Tuesday, February 18, 2003 6:58 PM
Subject: Impossible? Apache 1.3.X + Mod_jk2 + Jakarta 4.1.18 ?????


> Hi,
>
> I'm currently using Apache 1.3.26 + Mod_jk + Jakarta 4.0.4 + JDK_1.3.1
over
> win32 & Solaris8 with no problems.
> Now, as we're trying to migrate over to mod_jk2+TC 4.1.18 we can't
> understand the following:
>
> 1) Where can I find a binary for mod_jk2-1.3-eapi.so ??
> 2) I'm currently using mod_jk, what changes do I need to apply to
> httpd.conf so it'll work with mod_jk2 (i.e. JkworkersFile syntax) ?
> 3) Is there nowhere a decent HOWTO for configuring mod_jk2 (Also in
> httpd.conf)?
>
>
> Thannks!
>
>
>
> ---------------------------------------------------------------------
> 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


Impossible? Apache 1.3.X + Mod_jk2 + Jakarta 4.1.18 ?????

Posted by Yoav <yo...@capitalmerchant.com>.
Hi,

I'm currently using Apache 1.3.26 + Mod_jk + Jakarta 4.0.4 + JDK_1.3.1 over
win32 & Solaris8 with no problems. 
Now, as we're trying to migrate over to mod_jk2+TC 4.1.18 we can't
understand the following:

1) Where can I find a binary for mod_jk2-1.3-eapi.so ??
2) I'm currently using mod_jk, what changes do I need to apply to
httpd.conf so it'll work with mod_jk2 (i.e. JkworkersFile syntax) ?
3) Is there nowhere a decent HOWTO for configuring mod_jk2 (Also in
httpd.conf)?


Thannks!



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


Re: LoadOnStartupInterceptor: cannot load servlet name ...java.lang.NoClassDefFoundError

Posted by Ray Kosby <vz...@verizon.net>.
The oracle file is called classes12.zip and it's located in lib/common. 
Yet I still get the error. 


On Sat, 2003-02-15 at 01:26, Bill Barker wrote:
> The simplest is to just include the Oracle jars in lib/common.
> 
> Otherwise, it's not a 'server.xml' setting.  Assuming that Tomcat is running
> under the user 'tomcat', then you would need to create a file called
> '~tomcat/.tomcatrc' looking like:
> 
> TOMCAT_OPTS="-Dorg.apache.tomcat.common.classpath=/path/to/oracle.jar"
> 
> Alternatively, you can edit the 'tomcat.sh' file to do the same thing.  The
> value of this System property gets added to the classpath for the 'common'
> classloader, so it should solve your problem.
> 
> "Ray Kosby" <ra...@mail630.gsfc.nasa.gov> wrote in message
> news:1045257948.21626.1438.camel@voodoo.gsfc.nasa.gov...
> I have jakarta-tomcat-3.3.1a on a Solaris 8 machine.  I have a servlet
> that uses classes contained in ".zip" and ".jar" files that are located
> in jakarta-tomcat/lib/common.  Whenever I start tomcat I get the
> following error:
> 
> LoadOnStartupInterceptor: cannot load servlet name: Database Servlet -
> java.lang.NoClassDefFoundError: oracle/jdbc/pool/OracleDataSource
> 
> I found the following in the documentation:
> 
>         If the chosen classloader is the Common Classloader or Apps
>         classloader you include a directory or jar these classloaders by
>         listing them a System property. For the Common Classloader,
>         include the directory or jar file in a System property named
>         org.apache.tomcat.common.classpath. For the Apps classloader,
>         use a System property named org.apache.tomcat.apps.classpath.
> 
> If this is the solution, I can't find a clear example of what the tags
> in server.xml should look like to accomplish this.  Any one know if I'm
> on the right track and how to do this?
> 
> Sincerely,
> 
> Ray "new at tomcat" Kosby
> --
> Ray Kosby <ra...@mail630.gsfc.nasa.gov>
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> 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: LoadOnStartupInterceptor: cannot load servlet name ...java.lang.NoClassDefFoundError

Posted by Bill Barker <wb...@wilshire.com>.
The simplest is to just include the Oracle jars in lib/common.

Otherwise, it's not a 'server.xml' setting.  Assuming that Tomcat is running
under the user 'tomcat', then you would need to create a file called
'~tomcat/.tomcatrc' looking like:

TOMCAT_OPTS="-Dorg.apache.tomcat.common.classpath=/path/to/oracle.jar"

Alternatively, you can edit the 'tomcat.sh' file to do the same thing.  The
value of this System property gets added to the classpath for the 'common'
classloader, so it should solve your problem.

"Ray Kosby" <ra...@mail630.gsfc.nasa.gov> wrote in message
news:1045257948.21626.1438.camel@voodoo.gsfc.nasa.gov...
I have jakarta-tomcat-3.3.1a on a Solaris 8 machine.  I have a servlet
that uses classes contained in ".zip" and ".jar" files that are located
in jakarta-tomcat/lib/common.  Whenever I start tomcat I get the
following error:

LoadOnStartupInterceptor: cannot load servlet name: Database Servlet -
java.lang.NoClassDefFoundError: oracle/jdbc/pool/OracleDataSource

I found the following in the documentation:

        If the chosen classloader is the Common Classloader or Apps
        classloader you include a directory or jar these classloaders by
        listing them a System property. For the Common Classloader,
        include the directory or jar file in a System property named
        org.apache.tomcat.common.classpath. For the Apps classloader,
        use a System property named org.apache.tomcat.apps.classpath.

If this is the solution, I can't find a clear example of what the tags
in server.xml should look like to accomplish this.  Any one know if I'm
on the right track and how to do this?

Sincerely,

Ray "new at tomcat" Kosby
--
Ray Kosby <ra...@mail630.gsfc.nasa.gov>





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