Hmmm well I think you could include them in the lib directory, it isnt
platform independent then, but it should work in JBoss. (I havent tested
that)

Those classes do have to be available to the client, be it an application
client or a web client, so they should be in the war file. I deployed the
example on weblogic 6 and didnt get any errors, I havent tested any other
containers though.

Al

----- Original Message -----
From: Matthew Devaney <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 18, 2001 7:25 AM
Subject: RE: [JBoss-user] quick tutorial


> Hi,
>     Thanks for the example Al, but is there anyway to get it working
without
> including the ejb home and remote classes inside the WAR file?.
>
> The reason for wanting to do this is that I've been given to understand
that
> doing so can cause class loader exceptions when using the ear file in
other
> containers. This is due to the container trying to load the same class
twice
> (once from the EJB, once from the war file)
>
> So far my attempts at something like this at JBoss 2.2.2 have all met with
> classNotFound exceptions within the jsp page during compile time - however
> it seemed to work without problems at JBoss 2.2.1.
>
> Thanks,
> Matt
>
>
> --
>
> NOTICE:  The information contained in this electronic mail transmission is
> intended by Convergys Corporation for the use of the named individual or
> entity to which it is directed and may contain information that is
> privileged or otherwise confidential.  If you have received this
electronic
> mail transmission in error, please delete it from your system without
> copying or forwarding it, and notify the sender of the error by reply
email
> or by telephone (collect), so that the sender's address records can be
> corrected.
>
> _______________________________________________
> 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