Hi,guys I create a poject , and running it in the tomcat is work well. and I want deply it in the jboss server.
first : I download the JBossPackageScanClassResolver from google code.(http://code.google.com/p/camel-extra/) .because there is no jar to download. second: add <dependency> <groupId>org.jboss</groupId> <artifactId>jboss-vfs</artifactId> <version>2.1.3.GA</version> <scope>provided</scope> </dependency> to my pom.xml . third: add <bean id="jbossResolver" class="org.apache.camel.jboss.JBossPackageScanClassResolver" /> then ,when I run it. the jboss throw a IOException: 15:54:01,121 INFO [STDOUT] 15:54:01,120 WARN [JBossPackageScanClassResolver] Could not read entries in url: vfszip:/D:/SomeComponent/jboss/server/default/deploy/toxind_camel_in_jboss.war/WEB-INF/lib/camel-core-2.5.0.jar/org/apache/camel/component/bean/ java.io.IOException: No context factory for vfszip:/D:/SomeComponent/jboss/server/default/deploy/toxind_camel_in_jboss.war/WEB-INF/lib/camel-core-2.5.0.jar/org/apache/camel/component/bean/ at org.jboss.virtual.VFS.getVFS(VFS.java:129) at org.jboss.virtual.VFS.getRoot(VFS.java:144) at org.apache.camel.jboss.JBossPackageScanClassResolver.find(JBossPackageScanClassResolver.java:47) at org.apache.camel.impl.DefaultPackageScanClassResolver.find(DefaultPackageScanClassResolver.java:209) -- View this message in context: http://camel.465427.n5.nabble.com/Camel-in-JBOSS-is-return-IOException-tp3344029p3344029.html Sent from the Camel - Users mailing list archive at Nabble.com.
