Thanks. I tried it out and now I get a different error.
Boot up succeeds just fine, but if I copy spring-pojo.spring (from the
JBoss-Example.ear file) into the deploy directory, i see the following:
10:34:10,806 ERROR [MainDeployer] could not create deployment:
file:/usr/local/jboss/jboss/server/spring/deploy/spring-pojo.spring
java.lang.NoClassDefFoundError:
org/jboss/spring/factory/NamedXmlApplicationContext
at
org.jboss.spring.factory.ApplicationContextLoaderImpl.createBeanFactory(ApplicationContextLoaderImpl.java:36)
at
org.jboss.spring.factory.AbstractBeanFactoryLoader.create(AbstractBeanFactoryLoader.java:85)
at
org.jboss.spring.deployment.SpringDeployer.create(SpringDeployer.java:117)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
...
11:39:07,478 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
Incompletely deployed packages:
[EMAIL PROTECTED] {
url=file:/usr/local/jboss/jboss/server/spring/deploy/spring-pojo.spring/ }
deployer: [EMAIL PROTECTED]
status: Deployment FAILED reason:
org/jboss/spring/factory/NamedXmlApplicationContext
state: FAILED
watch: file:/usr/local/jboss/jboss/server/spring/deploy/spring-pojo.spring/
altDD: null
lastDeployed: 1138736345873
lastModified: 1138733297000
mbeans:
Not sure exactly why I'm getting this error since it seems that the
NamedXmlApplicationContext is in the jboss-spring.jar you posted.
JBoss is clearly finding the proper deployer to invoke... any ideas why the
deployer can't find the NamedXmlApplicationContext?
Mike
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3920770#3920770
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3920770
-------------------------------------------------------
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