Hello,
we dicided to use nukes for our working group at the university and it is my job to 
customize it. I've developed a theme by now and it works well, but now I want to 
deploy it in a separate jboss-service. I am new to JBoss and J2EE, so I just copied 
the structure of a module and changed some names. This is my Jboss-service.xml:

 
  | <?xml version="1.0" encoding="UTF-8"?>
  | <!DOCTYPE server>
  | <server>
  |    <!-- Declare the s3 module as a JBoss service -->
  |    <mbean
  |       code="uniessen.s3.nukes.core.themes.s3designTheme"
  |       name="nukes.themes:name=s3design"
  |       xmbean-dd=""
  |       xmbean-code="org.jboss.nukes.component.NukesMBean">
  |       <!-- A module must depend from the core module with this line
  |         |  if a module use EJBs, they must added here as well
  |         |  so it ensures that the module may use them properly
  |         -->
  |       <depends>nukes.modules:name=core</depends>
  |       <xmbean>
  |          <!-- This declares the module security rules, it is empty for now
  |            |
  |            -->
  |          <attribute name="Security">
  |             <security>
  |             </security>
  |          </attribute>
  |          <attribute name="Configuration">
  |           </attribute>
  |       </xmbean>
  |    </mbean>
  | </server>
  | 

When I deploy I get following exception:



  | 18:47:53,792 INFO  [EARDeployer] Init J2EE application: 
file:/C:/jboss-3.2.3RC1/server/default/nukes/nukes-s3.ear
  | 18:47:53,953 WARN  [ServiceConfigurator] Failed to complete install
  | java.lang.ClassNotFoundException: No ClassLoaders found for: 
uniessen.s3.nukes.core.themes.s3designTheme
  |     at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:161)
  |     at 
org.jboss.mx.loading.UnifiedClassLoader3.loadClassImpl(UnifiedClassLoader3.java:169)
  |     at 
org.jboss.mx.loading.UnifiedClassLoader3.loadClass(UnifiedClassLoader3.java:123)
  |     at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
  |     at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:819)
  |     at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:291)
  |     at org.jboss.system.ServiceCreator.install(ServiceCreator.java:110)
  |     at 
org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:151)
  |     at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:114)
  |     at org.jboss.system.ServiceController.install(ServiceController.java:225)
  |     at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)
  |     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |     at java.lang.reflect.Method.invoke(Method.java:324)
  |     at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
  |     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
  |     at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
  |     at $Proxy4.install(Unknown Source)
  |     at org.jboss.deployment.SARDeployer.create(SARDeployer.java:183)
  |     at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786)
  |     at org.jboss.deployment.MainDeployer.create(MainDeployer.java:778)
  |     at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
  |     at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
  |     at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
  |     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |     at java.lang.reflect.Method.invoke(Method.java:324)
  |     at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
  |     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
  |     at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
  |     at $Proxy61.deploy(Unknown Source)
  |     at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
  |     at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:458)
  |     at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
  |     at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212)
  |     at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
  | 

Any suggestion? 
Regards,
Julian

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

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


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to