Hi,

one thing very strange to me is that, put ejb.jar in a test.ear is ok if there 
is 
only ejb.jar web.war in it (the ejb.jar is a simple remote session bean);

but if put a timer.sar (which can be deployed fine placing in /deploy folder) 
in this test.ear, then the JBoss deploys this ejb as local ejb, the following 
is the descriptor:

jboss-app.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jboss-app PUBLIC "-//JBoss//DTD J2EE Application 1.4//EN" 
"http://www.jboss.org/j2ee/dtd/jboss-app_4_0.dtd";>
<jboss-app>
  
    timer.sar
  
 </jboss-app>

application.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jboss-app PUBLIC "-//JBoss//DTD J2EE Application 1.4//EN" 
"http://www.jboss.org/j2ee/dtd/jboss-app_4_0.dtd";>

  <display-name>ejb.jar</display-name> 
  
    ejb.jar 
  


the timer main class 
 extends org.jboss.system.ServiceMBeanSupport
    implements Schedulable

Can any one tell how to fix it?

--
Thanks
John
Toronto

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3924544#3924544

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3924544


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to