You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Chris Wolf <cw...@gmail.com> on 2013/02/28 17:47:37 UTC

Has anyone ever successfully deployed the Camel Web Console on JBoss-6?

It's looking like JBoss doesn't like Scala because I'm getting this error:

Caused by: java.lang.RuntimeException: Error visiting resource:
VFSResourceContext
 @scala/tools/nsc/backend/icode/ICodeCheckers$ICodeChecker$$anonfun$ifAthenB$1$1.class
/ BaseClassLoader@5c4766d2{vfs:///C:/opt/jboss6rdf/server/default/services/camel.war},
visitor: org.jboss.scanning.annotations.plugins.GenericAnnotationVisitor@1741be6c
...
Caused by: java.lang.IllegalArgumentException: Null type
        at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl.getTypeInfo(IntrospectionTypeInfoFactoryImpl.java:330)
[jboss-reflect.jar:2.2.1.SP1]

...and searching on the web yields a bunch of hits regarding Scala on
JBoss, but not this, exact issue.

Thanks,

Chris

Re: Has anyone ever successfully deployed the Camel Web Console on JBoss-6?

Posted by Chris Wolf <cw...@gmail.com>.
I got past the issue of JBoss croaking on Scala by the workaround
mentioned here:
http://www.mastertheboss.com/infinispan/infinispan-restful-interface

Now, the error is:
11:56:19,087 SEVERE The ResourceConfig instance does not contain any
root resource classes.
[com.sun.jersey.server.impl.application.RootResourceUriRules]
11:56:19,087 SEVERE Exception occurred when intialization:
com.sun.jersey.api.container.ContainerException: The ResourceConfig
instance does not contain any root resource classes.
	at com.sun.jersey.server.impl.application.RootResourceUriRules.<init>(RootResourceUriRules.java:99)
[:1.12]
	at com.sun.jersey.server.impl.application.WebApplicationImpl._initiate(WebApplicationImpl.java:1308)
[:1.12]


If anyone has an idea.

Thanks,

Chris

On Thu, Feb 28, 2013 at 11:47 AM, Chris Wolf <cw...@gmail.com> wrote:
> It's looking like JBoss doesn't like Scala because I'm getting this error:
>
> Caused by: java.lang.RuntimeException: Error visiting resource:
> VFSResourceContext
>  @scala/tools/nsc/backend/icode/ICodeCheckers$ICodeChecker$$anonfun$ifAthenB$1$1.class
> / BaseClassLoader@5c4766d2{vfs:///C:/opt/jboss6rdf/server/default/services/camel.war},
> visitor: org.jboss.scanning.annotations.plugins.GenericAnnotationVisitor@1741be6c
> ...
> Caused by: java.lang.IllegalArgumentException: Null type
>         at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl.getTypeInfo(IntrospectionTypeInfoFactoryImpl.java:330)
> [jboss-reflect.jar:2.2.1.SP1]
>
> ...and searching on the web yields a bunch of hits regarding Scala on
> JBoss, but not this, exact issue.
>
> Thanks,
>
> Chris