I've just begun messing with the BSHDeployer in 4.0.3SP1, and I get the 
following log line every time my test bsh script is deployed:


  | INFO  [BeanShellSubDeployer] javax.management.InstanceNotFoundException: 
david.scripts:service=TestBshService is not registered.

My script is just basically adapted from the example given at 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=26786 and is as 
follows:


  | import org.jboss.varia.deployment.ScriptService;
  | 
  | objectName()
  | {
  |     return "david.scripts:service=TestBshService";
  | }
  | 
  | getInterfaces()
  | {
  |     return new Class[] {ScriptService.class};       
  | }
  | 

Does anyone know of any resources (docs, examples, etc) for using bsh scripts 
as services in JBoss besides the link I pasted above?

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

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


-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to