[JBoss-user] [EJB/JBoss] - Re: Cannot deploy simple session ejb
Which deploy folder are you copying the jar file to? Have you made sure that the deployment descritptors are in a folder called 'META-INF' at the root of the archive? Instead of putting the jar in the deploy folder before starting JBoss try starting JBoss then putting the jar in the deploy folder. This should make it easier to see if your jar is being recognised. You should get a few lines in the console output that show the bean being deployed. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3883207#3883207 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3883207 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Cannot deploy simple session ejb
I have moved ejb.xml and jboss.xml files in to the META-INF of the root archive but still no luck. I can see .was file being properly deployed and I can all the directeories and ejb class files but I still cannot see anything in my jmx console. What sort of message should I be looking for in JBoss logs/console as the server starts up. If anyone has any idea out there please let me know. Thanks Ivan View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3883263#3883263 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3883263 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Cannot deploy simple session ejb
Which deploy folder are you copying the jar file to? Can you confirm if this is what your archive structure looks like: - interfaces/RateHome.class | interfaces/Rate.class | interfaces/RateLocalHome.class | interfaces/RateLocal.class | ejb/RateBean.class | META-INF/ejb-jar.xml | META-INT/jboss.xml Instead of putting the jar in the deploy folder before starting JBoss try starting JBoss then putting the jar in the deploy folder. This should make it easier to see if your jar is being recognised. I have an archive that contains two session beans SecurityBeanA and SecurityBeanB, this is the output I get when I deploy it: - anonymous wrote : 20:34:26,625 INFO [EjbModule] Deploying SecurityBeanA | 20:34:26,750 INFO [EjbModule] Deploying SecurityBeanB | 20:34:26,890 INFO [EJBDeployer] Deployed: file:/D:/ThirdParty/jboss-4.0.0/serve | r/default/deploy/SecuritySessions.jar If you don't get any messages output to the console have a look in the file server.log in the log folder adjacent to the deploy folder. If there are some messages in there it means that the archive was recognised as an ordinary jar file, this is most likely to be caused by the archive being packaged incorrectly. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3883273#3883273 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3883273 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user