From: PeterJ <do-...@jb...> - 2006-07-10 20:21:11
|
Deploying an ear file is fine, that is how I usually deploy my ejbs. What are the contents of your ear file? Run "jar tf ear-file-name" and post the results. If the ear file contains a jar file (or a war file), repeat the "jar tf" for those files (you will have to unpack the ear first). You can see what EJBs are deployed by looking at the console output., You should see something like this: 13:13:06,866 INFO [Ejb3Deployment] EJB3 deployment time took: 31 | 13:13:06,882 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=calc2-ejb-1.0.jar,name=StatefulCalculator,service=EJB3 with dependencies: | 13:13:06,913 INFO [EJBContainer] STARTED EJB: peter.ejb3.calc2.StatefulCalculator ejbName: StatefulCalculator | 13:13:06,960 INFO [EJB3Deployer] Deployed: file:/D:/apps/jboss-4.0.4.GA-src/build/output/jboss-4.0.4.GA-ejb3/server/default/deploy/calc2-ejb-1.0.jar | Using jmx-console, and using JNDIView mbean to look at the global namespace, I see: +- StatefulCalculator (class: org.jnp.interfaces.NamingContext) | | +- remote (class: java.lang.Object) | | +- remoteStatefulProxyFactory (proxy: $Proxy71 implements interface org.jboss.ejb3.ProxyFactory) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956744#3956744 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956744 |