Great work Marc,
I got my setup (Tomcat 3.2 beta 2, jBoss cvs sources from july 26th)working by
adding the EJB client jar files
to the Tomcat specific classpath in the jBoss run.sh .
Simply adding them in the webapps/test/WEB-INF/lib didn't work ... will digg
further later and
let you know what and why
regards
Werner
marc fleury wrote:
> we used tomcat 3.2 and jboss1.0 to develop a fairly complicated j2ee
> application for Telkel (gazillion session and entity CMP, with EJBRef stored
> and all, wars and JSP blah blah blah). It works great!
>
> We are putting on jboss2.0 to make sure that jboss2.0 provides the same.
>
> That should really bring jboss2 up to snuff.
> regards
>
> marc
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Richard Backhouse
> > Sent: Thursday, August 03, 2000 4:44 AM
> > To: jBoss
> > Subject: Re: [jBoss-User] Tomcat Intergration Module
> >
> >
> > I haven't tried with the Sun 1.3 JDK. I'm using IBMs 1.3 with Redhat 6.0
> > (Alot of updated modules though). I couldn't get the Tomcat 3.2 beta to
> > work either within or outside of jboss. I ran into some classloader
> > problems with it. The 3.1 Version has been fine though. I can try Suns
> > jdk and let you know if I run into any of the same problems.
> >
> > Richard
> >
> > Werner Ramaekers wrote:
> > >
> > > Now it can find the class but I get a ClassCastException
> > > at :
> > >
> > com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(Po
> > rtableRemoteObject.java:296)
> > >
> > > I'm confused, it gets the context and can lookup the reference to
> > > interest/Interest
> > > but can not get to the InterestHome.class correctly.
> > >
> > > I'm running
> > > [Info] Java version: 1.3.0beta_refresh, Sun Microsystems Inc.
> > > [Info] Java VM: Java HotSpot(TM) Server VM 1.3.0beta-b07, Sun
> > Microsystems
> > > Inc.
> > > [Info] System: Linux 2.2.14-5.0,i386
> > >
> > > Richard Backhouse wrote:
> > >
> > > > Yes, I have jsp's and servlets calling my ejbs. I think that there is
> > > > currently no intergration between tomcats classloader and the jboss
> > > > classloader so you have to provide all the home and ejb interfaces as
> > > > part of the web application setup (put them in
> > WEB-INF/classes). That's
> > > > how I have it and I have not had any problems with class loading. The
> > > > only issue I had was getting tomcat to find the jndi.properties. It
> > > > doesn't seem to find it when I place it in the WEB-INF/classes
> > > > directory. I had to put it in the TOMCAT_HOME/bin directory.
> > > >
> > > > Richard Backhouse
> > > >
> > > > Werner Ramaekers wrote:
> > > > >
> > > > > Have you tested it calling an EJB from a servlet ?
> > > > > I'm trying to call the Interest stateless session bean from the
> > > > > documentation at the jBoss site
> > > > > from a servlet runnig in the /test context from Tomcat but
> > it con not
> > > > > find the
> > > > > InterestHome.class
> > > > >
> > > > > // Get a reference from this to the Bean's Home interface
> > > > > InterestHome home = (InterestHome)
> > PortableRemoteObject.narrow
> > > > > (ref, InterestHome.class);
> > > > >
> > > > > I get a NoClassDefFoundError exception :
> > > > > com/web_tomorrow/interest/InterestHome
> > > > > even though it's in the webapps/test/WEB-INF/classes
> > > > >
> > > > > any ideas ?
> > > > >
> > > > > --
> > > > >
> > -----------------------------------------------------------------------
> > > > > crypto : One who covertly supports a certain doctrine,
> > group, or party.
> > > > > <mailto: [EMAIL PROTECTED]> <http://www.shiftat.com>
> > > > >
> > -----------------------------------------------------------------------
> > > > >
> > > > > Richard Backhouse wrote:
> > > > >
> > > > > > FYI
> > > > > >
> > > > > > The Tomcat intergration module doesn't work with the Tomcat binary
> > > > > > version unless the run.sh is changed to include the
> > webserver.jar and
> > > > > > jasper.jar in the Tomcat specfic classpath setup. I guess that the
> > > > > > documentation was written with the Tomcat source version in mind.
> > > > > >
> > > > > > Also I have got the Tomcat 3.1 Binary dist working fine
> > thru jboss.
> > > > > >
> > > > > > Richard Backhouse
> > > > > > Oak Grove Software.
> > >
> > > --
> > > --------------------------------------------------------------
> > > To subscribe: [EMAIL PROTECTED]
> > > To unsubscribe: [EMAIL PROTECTED]
> > > Problems?: [EMAIL PROTECTED]
> >
> >
> > --
> > --------------------------------------------------------------
> > To subscribe: [EMAIL PROTECTED]
> > To unsubscribe: [EMAIL PROTECTED]
> > Problems?: [EMAIL PROTECTED]
> >
> >
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Problems?: [EMAIL PROTECTED]
--
-----------------------------------------------------------------------
crypto : One who covertly supports a certain doctrine, group, or party.
<mailto: [EMAIL PROTECTED]> <http://www.shiftat.com>
-----------------------------------------------------------------------
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]