Check what you have your CLASSPATH environment variable set to. It
should be empty, ideally. Your beans should have no problem finding
javax.ejb.*. Mine have no problem.
Toby.
Patrick Buchinger wrote:
>
> ok, i just found out something:
>
> i wrote a package which contains an abstract class which provides some
> methods. all my EJBs (stateless session beans) extended this class.
> first the deployment failed because during deployment a
> "java.lang.NoClassDefFoundError: javax/ejb/EJBException"
> occured. this exception is used by my abstract class. so i put the
> jar-file which includes this abstract class into my JDK's ext directory.
> (acctually i put my jar file, ejb.jar, jboss-client.jar and
> jdbc2_0-stdext.jar into the ext-dir).
> from this moment on, i could not deploy ANY beans any more (even beans
> which did not use my abstract class!)
>
> i just removed the above mentioned jar-files from my JDK's ext-dir, and
> now everything is ok again. (i can deploy beans which don't use my
> abstract class, the ones which use it i still can't deploy due to
> NoClassDefFoundErrors)
>
> so my question is now: what shall i do that i am able to deploy beans
> which use "user archives"??. where do i have to put such arichves into?
> (jBoss' ext - dir also did not work for me...). and why gets jBoss
> confused about those files in JDK's ext-dir?
>
> can anybody help me??
>
> tnx,
>
> patrick
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]