tag:blogger.com,1999:blog-5857777128974553872.post7349929464029936891..comments2012-09-11T14:10:14.669-07:00Comments on Lets Have Fun: Running JBOSS Programmatically from javaSudipta Kumar Lahahttp://www.blogger.com/profile/13441403410625666166noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-5857777128974553872.post-31385572677069041542012-09-11T14:10:14.669-07:002012-09-11T14:10:14.669-07:00I know it has been a while since you posted this, ...I know it has been a while since you posted this, but I tried to use this code using JBOSS-6.0.0.M2 and it didn't work. I get the following error:<br /><br />16:31:44,412 ERROR [AbstractKernelController] Error installing to Configured: name=ServiceMetaDataICF state=Instantiated: java.lang.RuntimeException: Error configuring property: controller for ServiceMetaDataICF<br /> at org.jboss.kernel.plugins.dependency.ConfigureAction.dispatchSetProperty(ConfigureAction.java:112)<br /><br />...<br /><br />Caused by: java.lang.IllegalArgumentException: No such property controller for bean org.jboss.system.deployers.managed.ServiceMetaDataICF available [type, class, mbeanServer]<br /> at org.jboss.beans.info.plugins.AbstractBeanInfo.getProperty(AbstractBeanInfo.java:147)<br /><br />That I believe is the same error Calvin had. I was wondering if you did something else to make it work.<br /><br />Thank you very muchAnonymoushttps://www.blogger.com/profile/12579907830623665670noreply@blogger.comtag:blogger.com,1999:blog-5857777128974553872.post-37166481914629950482011-07-01T10:48:05.037-07:002011-07-01T10:48:05.037-07:00Hi. Thanks for this. It's just what I need, ex...Hi. Thanks for this. It's just what I need, excep that I get the following exceptin on startup. We're running JBoss 6. Any ideas would be greatly appreciated. Thanks.<br /><br /><br />19:38:30,796 ERROR [AbstractKernelController] Error installing to Configured: name=ServiceMetaDataICF state=Instantiated: java.lang.RuntimeException: Error configuring property: controller for ServiceMetaDataICF<br /> at org.jboss.kernel.plugins.dependency.ConfigureAction.dispatchSetProperty(ConfigureAction.java:112) [jboss-kernel.jar:2.2.0.Alpha10]Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5857777128974553872.post-80689455216434314482011-02-21T22:52:36.282-08:002011-02-21T22:52:36.282-08:00How can you do it remotely? Where can I specify wh...How can you do it remotely? Where can I specify which host do I want to start/stop?Unknownhttps://www.blogger.com/profile/10113674091405386220noreply@blogger.comtag:blogger.com,1999:blog-5857777128974553872.post-40585640582193458482010-09-30T05:57:30.362-07:002010-09-30T05:57:30.362-07:00Can you please mention the error or exception you ...Can you please mention the error or exception you are getting.<br /><br />ob.main(str);here try ob.boot(str);Sudipta Kumar Lahahttps://www.blogger.com/profile/13441403410625666166noreply@blogger.comtag:blogger.com,1999:blog-5857777128974553872.post-78684266926579533032010-09-29T05:38:13.547-07:002010-09-29T05:38:13.547-07:00i have written the code but it is not working plea...i have written the code but it is not working please help<br />i have written it in zul file in eclipse it is zk file<br /><br /><br />import org.jboss.Main;<br /> public boolean startJboss()<br /> { boolean stat=true;<br /> try<br /> {<br /> String[] str={"-c","default"};<br /> Class c = Class.forName("org.jboss.Main"); <br /> Main ob=(Main)c.newInstance();<br /> ob.main(str);<br /> <br /> }<br /> catch(Exception e)<br /> {<br /> System.out.print(""+e.getMessage()); <br /> stat=false;<br /> }<br /> return stat;<br /> }Ashish Kulkarnihttps://www.blogger.com/profile/01852040691094396104noreply@blogger.com