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


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to