Tim,
"Penhey, Tim" wrote:
>
> If I follow the instructions on
> http://www.jboss.org/manual/third_party.html#tomcat I get the following
> error:
That instruction is almost correct for Tomcat standalone
(is it what you wanted?). But just a few corrections:
1. I'm not sure that adding jndi.properties into WEB-INF/classes
will work (didn't work sometime ago). I'd recommend to put
jndi.properties into Tomcat classpath (in tomcat/classes for
instance).
2. Add the following lines into tomcat's server.xml
<!-- Jdk12Interceptor for JBoss communication -->
<RequestInterceptor
className="org.apache.tomcat.request.Jdk12Interceptor" debug="99" />
Everything should work.
*** for DOC people ***
Why did the setup for standalone tomcat disappear from new Manual?
>
> I searched on google (nee deja) and found someone giving the following
> answer (paraphrased).
>
> It is something to do with tomcat's class loader and in order to get the
> classes loaded properly the jars need to go into tomcats root lib not the
> webapp/WEB-INF/lib.
>
Actually incorrect. The right answer would be:
jboss client's jars and your application classes MUST be in the same
level - either in tomcat root classpath or under WEB-INF/[classes|lib].
But, IMHO, the later is right and much better.
>
> Questions:
> Why does tomcat not load the classes from the webapps lib directory?
See above.
>
> Should jbosssx-client.jar be one of the required client libraries
> (http://www.jboss.org/manual/clients.html#libs)?
You must have looked into old manual. The new one
http://www.jboss.org/documentation/HTML/index.html
lists jboss client jars correctly.
>
> Tim
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
--
__________________________________________________
Alexander Kogan PTC www.ptc.com
[EMAIL PROTECTED] 140 Kendrick St. Needham MA 02494
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user