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=bb&op=viewtopic&p=3883273#3883273

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=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=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to