Why you need to have the beans in your Tomcat classpath? The JSP/Servlets
need only the remote/home classes. That's the reason there should be two
jars: one contains everything to deploy EJB, and one for the client (only
remote and home of the beans).

If you use data objects to transfer buck data from client to beans and vice
versa, you also need to add these classes to client jar.

Nguyen Thanh Phong                           Tel: 84-8-837 25 06/837 25 07
Saigon Software Development Company (SDC)    Fax: 84-8-837 25 11
10 Co Giang Street, Dist I, HCMC             Email:
[EMAIL PROTECTED]
Vietnam

----- Original Message -----
From: Rishabh Misra <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 25, 2001 12:29 PM
Subject: RE: [JBoss-user] Bug in JBoss2.2 Auto Deploy ??


> hmmm .. that presents an interesting problem though.
> when running embedded Tomcat, how do i separate my Tomcat classpath from
> JBoss classpath?
> coz i need to have the beans in my Tomcat classpath and that's the
> reason i had added them to JBOSS_CLASSPATH (note: NOT my system
> classpath though)
>
> also, why does having the beans in the classpath cause this in the first
> place??
>
> rishabh
>
> > hi list,
> >
> > i just migrated to JBoss 2.2.1 from JBoss 2.0 and suddenly things
> > stopped working. i'm getting a javax.naming.NameNotFoundException for
> > the JNDI name of my bean.
> >
> > on closer inspection of the log/server.log file, i noticed the
> > following. when i add 2 bean jar files to my deploy folder. it picks
> up
> > the first bean, but ends up deploying the second. and then picks up
> the
> > second and deploys it again.
>
> Do you have the second bean in the system classpath?  You should
> probably not have anything in the classpath when you start the server.
>
> Toby.
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
> NetZero Platinum
> No Banner Ads and Unlimited Access
> Sign Up Today - Only $9.95 per month!
> http://www.netzero.net
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>



_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to