Using the 2005-08 distribution, I get the following error during boot after
copying jboss-spring.deployer into my deploy directory:
08:33:32,514 ERROR [MainDeployer] could not create deployment:
file:/usr/local/jboss/jboss/server/spring/deploy/jboss-spring.deployer/
org.jboss.deployment.DeploymentException: - nested throwable:
(java.lang.reflect.UndeclaredThrowableException)
at
org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:143)
at org.jboss.system.ServiceController.install(ServiceController.java:200)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
...
Caused by: java.lang.reflect.UndeclaredThrowableException
at org.jboss.system.ServiceCreator.install(ServiceCreator.java:204)
at
org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:153)
at
org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:118)
... 81 more
Caused by: java.lang.NoClassDefFoundError:
org/jboss/spring/factory/BeanFactoryLoader
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
at java.lang.Class.getConstructor0(Class.java:1930)
at java.lang.Class.getConstructor(Class.java:1027)
at
org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1211)
at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:269)
at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:327)
at org.jboss.system.ServiceCreator.install(ServiceCreator.java:125)
... 83 more
It seems that BeanFactoryLoader.class is missing from the
jboss-spring.deployer/jboss-spring.jar file.
I found BeanFactoryLoader in jboss-spring-jdk5.jar. If I copy
jboss-spring-jdk5.jar from the jboss-spring-jdk5.deployer directory into my
jboss-spring.deployer directory, booting completes without exceptions (although
I haven't tried deploying a spring bean yet)
Mike
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3920458#3920458
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3920458
-------------------------------------------------------
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