Hey,

please check the quick Start Guide because it won't work in the Minimal setting :
reason is that in the minimal setting there is no EJB container so you need to use default for that.

Werner

----------------------------------------------------------------------
ir. Werner Ramaekers
Enterprise Java Solutions Architect - Shift@
JBoss Certified Consultant
Sun Certified Java Programmer - BeJUG steering commitee member

"May the source be with you."

Read my Blog at http://www.werner.be
----------------------------------------------------------------------



Damon Hamacha wrote:

Hi,

I tried to run a Stateless session - using the Minimal Setting. An
exception get generated if I place the bean.jar in the
<installation>\jboss-3.0.4\server\minimal\deploy.
I edit the jboss-service.xml and added the <classpath codebase="../../lib" archives="j2ee.jar"/> But it still does not work. Any ideas

Regards,

See bellow the exception generated:

17:02:19,734 ERROR [EJBDeployer] Verfiy failed
java.lang.NoClassDefFoundError: javax/ejb/SessionBean
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:11
1)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
at java.lang.ClassLoader.loadClass(ClassLoader.java:290)
at java.lang.ClassLoader.loadClass(ClassLoader.java:290)
at
org.jboss.mx.loading.UnifiedClassLoader.loadClassLocally(UnifiedClass
Loader.java:247)
at
org.jboss.mx.loading.UnifiedLoaderRepository3.loadClassFromClassLoade
r(UnifiedLoaderRepository3.java:208)
at org.jboss.mx.loading.LoadMgr.beginLoadTask(LoadMgr.java:119)
at
org.jboss.mx.loading.UnifiedClassLoader3.loadClass(UnifiedClassLoader
3.java:140)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)

This message contains confidential information and is intended only for the named individual and may not be disseminated without prior permission. If you are not the named addressee, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this message in error and delete this e-message from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, delayed in transmission, incomplete, or may contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this Message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any software or services.

________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. http://www.messagelabs.com
________________________________________________________________________


-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


--




-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T
handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to