[jboss-user] [JBoss/Spring Integration] - Re: Installation Instructions for JBoss 4.2.3.GA?

2009-06-23 Thread alesj
Crucifix wrote : Any idea what I've done wrong?
SpringDeployer class is abstract, as it depends what exactly you wanna 
instantiate.
Either a full ApplicationContext or just BeanFactory.

So the proper deployer class should be
* org.jboss.spring.deployment.SpringApplicationContextDeployer
* org.jboss.spring.deployment.SpringBeanFactoryDeployer

This should be fixed in jboss-spring-jdk5.deployer/META-INF/jboss-service.xml.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4239337#4239337

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239337
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss/Spring Integration] - Re: Installation Instructions for JBoss 4.2.3.GA?

2009-06-23 Thread Crucifix
I've updated the mbean declaration in jboss-service.xml and it's working fine 
now.

Thank you!

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4239492#4239492

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239492
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss/Spring Integration] - Re: Installation Instructions for JBoss 4.2.3.GA?

2009-06-22 Thread marius.bogoevici
For JBoss 4.2.3.GA you need to use the 2.x line of deployers - and there you 
have the jdk5 variants.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4239134#4239134

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239134
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss/Spring Integration] - Re: Installation Instructions for JBoss 4.2.3.GA?

2009-06-22 Thread Crucifix
Thanks for the response!  Unfortunately, I'm doing something wrong as I'm still 
not able to get the deployer working.

I've downloaded the spring-deployer.zip and extracted the 
jboss-spring-jdk5.deployer directory from inside it to my JBoss deploy/ 
directory.

Inside the extracted deployer directory, I've replaced 'jboss-spring-jdk5.jar' 
with the downloaded 'jboss-spring-jdk5-2.5.jar'.  Now, when I start JBoss (this 
is a fresh install with no software deployments yet), I receive the following 
error:


  | 2009-06-22 09:04:49,049 ERROR [org.jboss.deployment.MainDeployer] Could not 
create deployment: 
file:/C:/DEVEL/JAVA/jboss-4.2.3.GA/server/default/deploy/jboss-spring-jdk5.deployer/
  | org.jboss.deployment.DeploymentException: Cannot instanciate MBean: 
org.jboss.spring.deployment.SpringDeployer; - nested throwable: 
(javax.management.NotCompliantMBeanException: Cannot insta
  | nciate MBean: org.jboss.spring.deployment.SpringDeployer)
  | at 
org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196)
  | at 
org.jboss.system.ServiceController.install(ServiceController.java:226)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy4.install(Unknown Source)
  | at org.jboss.deployment.SARDeployer.create(SARDeployer.java:251)
  | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy9.deploy(Unknown Source)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
  | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
  | at $Proxy0.start(Unknown Source)
  |