Error deploying warbled jror app to jbos

When trying to deploy our jruby on rails application to a jboss server
we get the following error:

Failed to create Resource cygnusonrails.war - cause:
java.lang.Exception:Failed to start deployment
[vfs:///home/xela/dedicatedServers/Jboss6/jboss-6.0.0.Final/server/default/deploy/cygnusonrails.war]
during deployment of ‘cygnusonrails.war’ - cause:
java.lang.RuntimeException:org.jboss.deployers.client.spi.IncompleteDeploymentException:
Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): ***
DEPLOYMENTS IN ERROR: Name -> Error
vfs:///home/xela/dedicatedServers/Jboss6/jboss-6.0.0.Final/server/default/deploy/cygnusonrails.war
-> org.jboss.deployers.spi.DeploymentException: Error during deploy:
vfs:///home/xela/dedicatedServers/Jboss6/jboss-6.0.0.Final/server/default/deploy/cygnusonrails.war
DEPLOYMENTS IN ERROR: Deployment
“vfs:///home/xela/dedicatedServers/Jboss6/jboss-6.0.0.Final/server/default/deploy/cygnusonrails.war”
is in error due to the following reason(s):
java.lang.annotation.AnnotationTypeMismatchException: Incorrectly typed
data found for annotation element public abstract java.lang.String[]
org.jruby.anno.JRubyMethod.name() (Found data of type class
java.lang.String[file]) ->
org.jboss.deployers.client.spi.IncompleteDeploymentException:Summary of
incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): ***
DEPLOYMENTS IN ERROR: Name -> Error
vfs:///home/xela/dedicatedServers/Jboss6/jboss-6.0.0.Final/server/default/deploy/cygnusonrails.war
-> org.jboss.deployers.spi.DeploymentException: Error during deploy:
vfs:///home/xela/dedicatedServers/Jboss6/jboss-6.0.0.Final/server/default/deploy/cygnusonrails.war
DEPLOYMENTS IN ERROR: Deployment
“vfs:///home/xela/dedicatedServers/Jboss6/jboss-6.0.0.Final/server/default/deploy/cygnusonrails.war”
is in error due to the following reason(s):
java.lang.annotation.AnnotationTypeMismatchException: Incorrectly typed
data found for annotation element public abstract java.lang.String[]
org.jruby.anno.JRubyMethod.name() (Found data of type class
java.lang.String[file])

The application is made to a .war file using the warbler gem. We should
be more specific but we are totally at loss here.

What version of JRuby is in the war file? I haven’t seen this error
before, and my best guess is that the JRuby jar is bad somehow…?

/Nick

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs