Ok, this is what I understand. A sar is a "service archive" and like ears and wars, its composed of a descriptor and your classes. The descriptor is a "jboss-service.xml" file. I'm using a simple Java class that implementes the Schedulable interface, this interface defines only one method called perfom(). >From this method I try to call a Stateless EJB but it gives a Naming >Exception. One thing I'm deploying my sar and my ear separatly in side the >same server, does the sar must be inside the ear as a module or do I need >another descriptor that defines the EJBs that the Schedulabe implementation >must call?
Another question, how do I difine an MBean using JBoss-IDE? I've seen the @jmx tag, but I dont know how to use it Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3910255#3910255 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3910255 ------------------------------------------------------- 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://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user