users@jersey.java.net

[Jersey] Re: Deploying jquery-pubsun on JBoss 6 final failed

From: jfarcand <jfarcand.oss_at_gmail.com>
Date: Mon, 10 Jan 2011 14:02:16 -0500

Salut,

I don't think this is an Atmosphere issue. Cross posting to Jersey users
list to see if someone tested Jersey on JBoss 6.

Thanks

-- Jeanfrancois

On 11-01-10 3:50 AM, Guofeng Zhang wrote:
> Hi,
>
> When I deploy jquery-pubsub on JBoss 6 final, I got:
>
> 2011-01-10 16:45:11,328 ERROR [ProfileServiceBootstrap] (Thread-2)
> Failed to load profile::
> org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of
> incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
>
> DEPLOYMENTS IN ERROR:
>
> Deployment
> "vfs:///D:/projects/samples/jboss-6.0.0.Final/server/default/deploy/jquery-pubsub.war"
> is in error due to the following reason(s):
> org.jboss.deployers.spi.DeploymentException: Only one JAX-RS Application
> Class allowed. com.sun.jersey.api.core.WebAppResourceConfig
> com.sun.jersey.api.core.ApplicationAdapter
> com.sun.jersey.api.core.ScanningResourceConfig
> com.sun.jersey.api.core.ResourceConfig
> com.sun.jersey.server.impl.application.DeferredResourceConfig
> com.sun.jersey.api.core.ClasspathResourceConfig
> com.sun.jersey.api.core.DefaultResourceConfig
> com.sun.jersey.api.core.PackagesResourceConfig
> com.sun.jersey.api.core.ClassNamesResourceConfig
>
> at
> org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1228)
> [:2.2.0.GA]
>
> at
> org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:905)
> [:2.2.0.GA]
>
> at
> org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:87)
> [:6.0.0.Final]
>
> at
> org.jboss.profileservice.deployment.ProfileDeployerPluginRegistry.checkAllComplete(ProfileDeployerPluginRegistry.java:107)
> [:0.2.2]
>
> at
> org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:135)
> [:6.0.0.Final]
>
> at
> org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56)
> [:6.0.0.Final]
>
> at
> org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827)
> [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
>
> at
> org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417)
> [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
>
> at java.lang.Thread.run(Thread.java:619) [:1.6.0_21]
>
> 2011-01-10 16:45:11,359 INFO [org.apache.coyote.http11.Http11Protocol]
> (Thread-2) Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
>
> 2011-01-10 16:45:11,359 INFO [org.apache.coyote.ajp.AjpProtocol]
> (Thread-2) Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
>
> 2011-01-10 16:45:11,390 INFO
> [org.jboss.bootstrap.impl.base.server.AbstractServer] (Thread-2) JBossAS
> [6.0.0.Final "Neo"] Started in 43s:687ms
>
> I use 0.6.3.
>
> Can Atmoshpere run on JBoss 6.0?
>
> Thanks
>
> Guofeng
>