I got this error while using maven, jetty, wicket, spring and hibernate all with annotations.
Found two solutions
1) Get the java assist jar using maven, but them i got into some other problems.
2) Use this :
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-jaxrs</artifactId>
</dependency>
It seems that it solved the issue since the jaxrs contains this method filter.
If you know other or better solution, i am here to listen.
Hoped it helped,
Dor
Showing posts with label jboss. Show all posts
Showing posts with label jboss. Show all posts
Jan 6, 2011
Nov 23, 2010
JBoss deployment sequence
I have found two possible ways of changing jboss deployment sequence. If you know more, share with us.
Dor
- Edit "org.jboss.deployment.MainDeployer-xmbean.xml" file, which can be foundon "jbossdirectory\server\default\conf\xmdesc" directory. Inside the file you have a line like this "100:deployer,100:deployer.xml,200:sar,200:service.xml,300:rar,300:ds.xml,500:jar,600:war,600:wsr,600:ear,700:zip,900:last"This section defines the priority or sequence of *.sar for example before *.rar. You can switch between *.sar to be 700 for example and it will run after deploying the war. I would use it only for test environment but not for deployment or release. Choosing this option for my opinion is not a good design.
- In case you have a jboss service like i did as a "SAR" file, you can add a dependency tags into the "jboss-service.xml" file. For example: jboss:service=invoker,type=jrmp
Dor
JBoss deployment sequence
I have found two possible ways of changing jboss deployment sequence. If you know more, share with us.
Dor
- Edit "org.jboss.deployment.MainDeployer-xmbean.xml" file, which can be foundon "jbossdirectory\server\default\conf\xmdesc" directory. Inside the file you have a line like this "100:deployer,100:deployer.xml,200:sar,200:service.xml,300:rar,300:ds.xml,500:jar,600:war,600:wsr,600:ear,700:zip,900:last"This section defines the priority or sequence of *.sar for example before *.rar. You can switch between *.sar to be 700 for example and it will run after deploying the war. I would use it only for test environment but not for deployment or release. Choosing this option for my opinion is not a good design.
- In case you have a jboss service like i did as a "SAR" file, you can add a dependency tags into the "jboss-service.xml" file. For example: jboss:service=invoker,type=jrmp
Dor
Subscribe to:
Posts (Atom)