1 Reply Latest reply on Nov 8, 2010 5:15 PM by Wolfgang Knauf

    Project Example->RESTEasy->RESTEasy Simple Example failing against 5.0.1 and 6.0.0 M5 runtimes

    prdonahue Newbie

      I'm following http://community.jboss.org/wiki/UsingtheRESTEasySimpleProjectExampleinJBDS3 and appear to have everything (e.g., eclipse, maven, jboss, etc.) installed properly but after deploying to server I'm not able to bring up the sample application. Below are logs when run against JBoss 5.0.1 server and 6.0.0 M5. Any help would be greatly appreciated!

       

      Note that the 6.0.0 output actually reports a problem (09:54:41,093 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/simple]] Exception sending context initialized event to listener instance of class org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap: java.lang.ClassCastException) while the 5.0.1 does not.

       

      When run against JBoss 5.0.1:

       

      09:43:10,546 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
      09:43:10,562 INFO  [ServerImpl] Release ID: JBoss [Morpheus] 5.0.1.GA (build: SVNTag=JBoss_5_0_1_GA date=200902232048)
      09:43:10,562 INFO  [ServerImpl] Bootstrap URL: null
      09:43:10,562 INFO  [ServerImpl] Home Dir: C:\jboss\jboss-5.0.1.GA
      09:43:10,562 INFO  [ServerImpl] Home URL: file:/C:/jboss/jboss-5.0.1.GA/
      09:43:10,562 INFO  [ServerImpl] Library URL: file:/C:/jboss/jboss-5.0.1.GA/lib/
      09:43:10,562 INFO  [ServerImpl] Patch URL: null
      09:43:10,562 INFO  [ServerImpl] Common Base URL: file:/C:/jboss/jboss-5.0.1.GA/common/
      09:43:10,562 INFO  [ServerImpl] Common Library URL: file:/C:/jboss/jboss-5.0.1.GA/common/lib/
      09:43:10,562 INFO  [ServerImpl] Server Name: default
      09:43:10,562 INFO  [ServerImpl] Server Base Dir: C:\jboss\jboss-5.0.1.GA\server
      09:43:10,562 INFO  [ServerImpl] Server Base URL: file:/C:/jboss/jboss-5.0.1.GA/server/
      09:43:10,562 INFO  [ServerImpl] Server Config URL: file:/C:/jboss/jboss-5.0.1.GA/server/default/conf/
      09:43:10,562 INFO  [ServerImpl] Server Home Dir: C:\jboss\jboss-5.0.1.GA\server\default
      09:43:10,562 INFO  [ServerImpl] Server Home URL: file:/C:/jboss/jboss-5.0.1.GA/server/default/
      09:43:10,562 INFO  [ServerImpl] Server Data Dir: C:\jboss\jboss-5.0.1.GA\server\default\data
      09:43:10,562 INFO  [ServerImpl] Server Library URL: file:/C:/jboss/jboss-5.0.1.GA/server/default/lib/
      09:43:10,562 INFO  [ServerImpl] Server Log Dir: C:\jboss\jboss-5.0.1.GA\server\default\log
      09:43:10,562 INFO  [ServerImpl] Server Native Dir: C:\jboss\jboss-5.0.1.GA\server\default\tmp\native
      09:43:10,562 INFO  [ServerImpl] Server Temp Dir: C:\jboss\jboss-5.0.1.GA\server\default\tmp
      09:43:10,562 INFO  [ServerImpl] Server Temp Deploy Dir: C:\jboss\jboss-5.0.1.GA\server\default\tmp\deploy
      09:43:11,734 INFO  [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/jboss/jboss-5.0.1.GA/server/default/conf/bootstrap.xml
      09:43:12,734 INFO  [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.CombinedVFSCache]
      09:43:12,734 INFO  [VFSCacheFactory] Using VFSCache [CombinedVFSCache[real-cache: null]]
      09:43:13,187 INFO  [CopyMechanism] VFS temp dir: C:\jboss\jboss-5.0.1.GA\server\default\tmp
      09:43:13,265 INFO  [ZipEntryContext] VFS force nested jars copy-mode is enabled.
      09:43:14,359 INFO  [ServerInfo] Java version: 1.6.0_21,Sun Microsystems Inc.
      09:43:14,359 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_21-b07)
      09:43:14,359 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 17.0-b17,Sun Microsystems Inc.
      09:43:14,359 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
      09:43:14,515 INFO  [JMXKernel] Legacy JMX core initialized
      09:43:16,109 INFO  [ProfileServiceImpl] Loading profile: default from: org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@1e13a2c(root=C:\jboss\jboss-5.0.1.GA\server, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])
      09:43:16,125 INFO  [ProfileImpl] Using repository:org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@1e13a2c(root=C:\jboss\jboss-5.0.1.GA\server, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])
      09:43:16,125 INFO  [ProfileServiceImpl] Loaded profile: ProfileImpl@104bce3{key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default]}
      09:43:17,421 INFO  [WebService] Using RMI server codebase: http://localhost:8083/
      09:43:24,343 INFO  [NativeServerConfig] JBoss Web Services - Stack Native Core
      09:43:24,343 INFO  [NativeServerConfig] 3.0.5.GA
      09:43:34,031 INFO  [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://localhost/jndi/rmi://localhost:1090/jmxconnector
      09:43:34,140 INFO  [MailService] Mail Service bound to java:/Mail
      09:43:35,796 WARN  [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component which sucks messages from one node to another has not had its password changed from the installation default. Please see the JBoss Messaging user guide for instructions on how to do this.
      09:43:35,812 WARN  [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
      09:43:36,000 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
      09:43:36,000 INFO  [TransactionManagerService] Setting up property manager MBean and JMX layer
      09:43:36,312 INFO  [TransactionManagerService] Initializing recovery manager
      09:43:36,468 INFO  [TransactionManagerService] Recovery manager configured
      09:43:36,468 INFO  [TransactionManagerService] Binding TransactionManager JNDI Reference
      09:43:36,515 INFO  [TransactionManagerService] Starting transaction recovery manager
      09:43:37,140 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080
      09:43:37,140 INFO  [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-localhost%2F127.0.0.1-8009
      09:43:37,140 INFO  [StandardService] Starting service jboss.web
      09:43:37,140 INFO  [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.2.GA
      09:43:37,187 INFO  [Catalina] Server startup in 109 ms
      09:43:37,609 INFO  [TomcatDeployment] deploy, ctxPath=/jbossws
      09:43:38,125 INFO  [TomcatDeployment] deploy, ctxPath=/invoker
      09:43:38,171 INFO  [TomcatDeployment] deploy, ctxPath=/web-console
      09:43:38,531 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/jboss/jboss-5.0.1.GA/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
      09:43:38,546 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/jboss/jboss-5.0.1.GA/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
      09:43:38,562 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/jboss/jboss-5.0.1.GA/server/default/deploy/jms-ra.rar/META-INF/ra.xml
      09:43:38,578 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/jboss/jboss-5.0.1.GA/server/default/deploy/mail-ra.rar/META-INF/ra.xml
      09:43:38,609 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/jboss/jboss-5.0.1.GA/server/default/deploy/quartz-ra.rar/META-INF/ra.xml
      09:43:38,671 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: main
      09:43:38,703 INFO  [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
      09:43:38,703 INFO  [RAMJobStore] RAMJobStore initialized.
      09:43:38,703 INFO  [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
      09:43:38,703 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.5.2
      09:43:38,703 INFO  [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
      09:43:39,765 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
      09:43:40,171 INFO  [ServerPeer] JBoss Messaging 1.4.1.GA server [0] started
      09:43:40,234 WARN  [ConnectionFactoryJNDIMapper] supportsFailover attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support failover
      09:43:40,234 WARN  [ConnectionFactoryJNDIMapper] supportsLoadBalancing attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support load balancing
      09:43:40,281 INFO  [ConnectionFactory] Connector bisocket://localhost:4457 has leasing enabled, lease period 10000 milliseconds
      09:43:40,281 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@beab46 started
      09:43:40,281 INFO  [ConnectionFactory] Connector bisocket://localhost:4457 has leasing enabled, lease period 10000 milliseconds
      09:43:40,281 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@48164 started
      09:43:40,281 INFO  [ConnectionFactory] Connector bisocket://localhost:4457 has leasing enabled, lease period 10000 milliseconds
      09:43:40,281 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@1852f24 started
      09:43:40,296 INFO  [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
      09:43:40,296 INFO  [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
      09:43:40,390 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
      09:43:40,406 INFO  [TomcatDeployment] deploy, ctxPath=/
      09:43:40,484 INFO  [TomcatDeployment] deploy, ctxPath=/jmx-console
      09:43:40,546 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080
      09:43:40,562 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-localhost%2F127.0.0.1-8009
      09:43:40,578 INFO  [ServerImpl] JBoss (Microcontainer) [5.0.1.GA (build: SVNTag=JBoss_5_0_1_GA date=200902232048)] Started in 30s:0ms

      09:43:10,546 INFO  [ServerImpl] Starting JBoss (Microcontainer)...

      09:43:10,562 INFO  [ServerImpl] Release ID: JBoss [Morpheus] 5.0.1.GA (build: SVNTag=JBoss_5_0_1_GA date=200902232048)

      09:43:10,562 INFO  [ServerImpl] Bootstrap URL: null

      09:43:10,562 INFO  [ServerImpl] Home Dir: C:\jboss\jboss-5.0.1.GA

      09:43:10,562 INFO  [ServerImpl] Home URL: file:/C:/jboss/jboss-5.0.1.GA/

      09:43:10,562 INFO  [ServerImpl] Library URL: file:/C:/jboss/jboss-5.0.1.GA/lib/

      09:43:10,562 INFO  [ServerImpl] Patch URL: null

      09:43:10,562 INFO  [ServerImpl] Common Base URL: file:/C:/jboss/jboss-5.0.1.GA/common/

      09:43:10,562 INFO  [ServerImpl] Common Library URL: file:/C:/jboss/jboss-5.0.1.GA/common/lib/

      09:43:10,562 INFO  [ServerImpl] Server Name: default

      09:43:10,562 INFO  [ServerImpl] Server Base Dir: C:\jboss\jboss-5.0.1.GA\server

      09:43:10,562 INFO  [ServerImpl] Server Base URL: file:/C:/jboss/jboss-5.0.1.GA/server/

      09:43:10,562 INFO  [ServerImpl] Server Config URL: file:/C:/jboss/jboss-5.0.1.GA/server/default/conf/

      09:43:10,562 INFO  [ServerImpl] Server Home Dir: C:\jboss\jboss-5.0.1.GA\server\default

      09:43:10,562 INFO  [ServerImpl] Server Home URL: file:/C:/jboss/jboss-5.0.1.GA/server/default/

      09:43:10,562 INFO  [ServerImpl] Server Data Dir: C:\jboss\jboss-5.0.1.GA\server\default\data

      09:43:10,562 INFO  [ServerImpl] Server Library URL: file:/C:/jboss/jboss-5.0.1.GA/server/default/lib/

      09:43:10,562 INFO  [ServerImpl] Server Log Dir: C:\jboss\jboss-5.0.1.GA\server\default\log

      09:43:10,562 INFO  [ServerImpl] Server Native Dir: C:\jboss\jboss-5.0.1.GA\server\default\tmp\native

      09:43:10,562 INFO  [ServerImpl] Server Temp Dir: C:\jboss\jboss-5.0.1.GA\server\default\tmp

      09:43:10,562 INFO  [ServerImpl] Server Temp Deploy Dir: C:\jboss\jboss-5.0.1.GA\server\default\tmp\deploy

      09:43:11,734 INFO  [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/jboss/jboss-5.0.1.GA/server/default/conf/bootstrap.xml

      09:43:12,734 INFO  [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.CombinedVFSCache]

      09:43:12,734 INFO  [VFSCacheFactory] Using VFSCache [CombinedVFSCache[real-cache: null]]

      09:43:13,187 INFO  [CopyMechanism] VFS temp dir: C:\jboss\jboss-5.0.1.GA\server\default\tmp

      09:43:13,265 INFO  [ZipEntryContext] VFS force nested jars copy-mode is enabled.

      09:43:14,359 INFO  [ServerInfo] Java version: 1.6.0_21,Sun Microsystems Inc.

      09:43:14,359 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_21-b07)

      09:43:14,359 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 17.0-b17,Sun Microsystems Inc.

      09:43:14,359 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86

      09:43:14,515 INFO  [JMXKernel] Legacy JMX core initialized

      09:43:16,109 INFO  [ProfileServiceImpl] Loading profile: default from: org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@1e13a2c(root=C:\jboss\jboss-5.0.1.GA\server, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])

      09:43:16,125 INFO  [ProfileImpl] Using repository:org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@1e13a2c(root=C:\jboss\jboss-5.0.1.GA\server, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])

      09:43:16,125 INFO  [ProfileServiceImpl] Loaded profile: ProfileImpl@104bce3{key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default]}

      09:43:17,421 INFO  [WebService] Using RMI server codebase: http://localhost:8083/

      09:43:24,343 INFO  [NativeServerConfig] JBoss Web Services - Stack Native Core

      09:43:24,343 INFO  [NativeServerConfig] 3.0.5.GA

      09:43:34,031 INFO  [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://localhost/jndi/rmi://localhost:1090/jmxconnector

      09:43:34,140 INFO  [MailService] Mail Service bound to java:/Mail

      09:43:35,796 WARN  [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component which sucks messages from one node to another has not had its password changed from the installation default. Please see the JBoss Messaging user guide for instructions on how to do this.

      09:43:35,812 WARN  [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent

      09:43:36,000 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.

      09:43:36,000 INFO  [TransactionManagerService] Setting up property manager MBean and JMX layer

      09:43:36,312 INFO  [TransactionManagerService] Initializing recovery manager

      09:43:36,468 INFO  [TransactionManagerService] Recovery manager configured

      09:43:36,468 INFO  [TransactionManagerService] Binding TransactionManager JNDI Reference

      09:43:36,515 INFO  [TransactionManagerService] Starting transaction recovery manager

      09:43:37,140 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080

      09:43:37,140 INFO  [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-localhost%2F127.0.0.1-8009

      09:43:37,140 INFO  [StandardService] Starting service jboss.web

      09:43:37,140 INFO  [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.2.GA

      09:43:37,187 INFO  [Catalina] Server startup in 109 ms

      09:43:37,609 INFO  [TomcatDeployment] deploy, ctxPath=/jbossws

      09:43:38,125 INFO  [TomcatDeployment] deploy, ctxPath=/invoker

      09:43:38,171 INFO  [TomcatDeployment] deploy, ctxPath=/web-console

      09:43:38,531 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/jboss/jboss-5.0.1.GA/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml

      09:43:38,546 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/jboss/jboss-5.0.1.GA/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml

      09:43:38,562 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/jboss/jboss-5.0.1.GA/server/default/deploy/jms-ra.rar/META-INF/ra.xml

      09:43:38,578 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/jboss/jboss-5.0.1.GA/server/default/deploy/mail-ra.rar/META-INF/ra.xml

      09:43:38,609 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/jboss/jboss-5.0.1.GA/server/default/deploy/quartz-ra.rar/META-INF/ra.xml

      09:43:38,671 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: main

      09:43:38,703 INFO  [QuartzScheduler] Quartz Scheduler v.1.5.2 created.

      09:43:38,703 INFO  [RAMJobStore] RAMJobStore initialized.

      09:43:38,703 INFO  [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'

      09:43:38,703 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.5.2

      09:43:38,703 INFO  [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.

      09:43:39,765 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'

      09:43:40,171 INFO  [ServerPeer] JBoss Messaging 1.4.1.GA server [0] started

      09:43:40,234 WARN  [ConnectionFactoryJNDIMapper] supportsFailover attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support failover

      09:43:40,234 WARN  [ConnectionFactoryJNDIMapper] supportsLoadBalancing attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support load balancing

      09:43:40,281 INFO  [ConnectionFactory] Connector bisocket://localhost:4457 has leasing enabled, lease period 10000 milliseconds

      09:43:40,281 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@beab46 started

      09:43:40,281 INFO  [ConnectionFactory] Connector bisocket://localhost:4457 has leasing enabled, lease period 10000 milliseconds

      09:43:40,281 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@48164 started

      09:43:40,281 INFO  [ConnectionFactory] Connector bisocket://localhost:4457 has leasing enabled, lease period 10000 milliseconds

      09:43:40,281 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@1852f24 started

      09:43:40,296 INFO  [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000

      09:43:40,296 INFO  [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000

      09:43:40,390 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'

      09:43:40,406 INFO  [TomcatDeployment] deploy, ctxPath=/

      09:43:40,484 INFO  [TomcatDeployment] deploy, ctxPath=/jmx-console

      09:43:40,546 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080

      09:43:40,562 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-localhost%2F127.0.0.1-8009

      09:43:40,578 INFO  [ServerImpl] JBoss (Microcontainer) [5.0.1.GA (build: SVNTag=JBoss_5_0_1_GA date=200902232048)] Started in 30s:0ms

       

      I then try to browse to http://localhost:8080/simple/rest-services/customers and get the following response (either from browser or using RESTclient plugin for Firefox:

       

      <html><head><title>JBoss Web/2.1.2.GA - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 404 - /simple/rest-services/customers</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>/simple/rest-services/customers</u></p><p><b>description</b> <u>The requested resource (/simple/rest-services/customers) is not available.</u></p><HR size="1" noshade="noshade"><h3>JBoss Web/2.1.2.GA</h3></body></html>

       

      When run against JBoss 6.0.0 M5:

       

      09:54:01,765 INFO  [AbstractJBossASServerBase] Server Configuration:

       

      JBOSS_HOME URL: file:/C:/jboss/jboss-6.0.0.20100911-M5/

      Bootstrap: $JBOSS_HOME\server/default/conf/bootstrap.xml

      Common Base: $JBOSS_HOME\common/

      Common Library: $JBOSS_HOME\common/lib/

      Server Name: default

      Server Base: $JBOSS_HOME\server/

      Server Library: $JBOSS_HOME\server/default/lib/

      Server Config: $JBOSS_HOME\server/default/conf/

      Server Home: $JBOSS_HOME\server/default/

      Server Data: $JBOSS_HOME\server/default/data/

      Server Log: $JBOSS_HOME\server/default/log/

      Server Temp: $JBOSS_HOME\server/default/tmp/

       

      09:54:01,765 INFO  [AbstractServer] Starting: JBossAS [6.0.0.20100911-M5 "Neo"]

      09:54:03,453 INFO  [ServerInfo] Java version: 1.6.0_21,Sun Microsystems Inc.

      09:54:03,453 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_21-b07)

      09:54:03,453 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 17.0-b17,Sun Microsystems Inc.

      09:54:03,453 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86

      09:54:03,453 INFO  [ServerInfo] VM arguments: -Dprogram.name=JBossTools: JBoss 6.0 Runtime -Xms256m -Xmx768m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.endorsed.dirs=C:\jboss\jboss-6.0.0.20100911-M5\lib\endorsed -Djava.library.path=C:\jboss\jboss-6.0.0.20100911-M5\bin\native; -Dfile.encoding=Cp1252

      09:54:03,500 INFO  [JMXKernel] Legacy JMX core initialized

      09:54:18,890 INFO  [AbstractServerConfig] JBoss Web Services - Stack CXF Server 3.4.0.Beta2

      09:54:19,250 INFO  [JSFImplManagementDeployer] Initialized 2 JSF configurations: [Mojarra-1.2, Mojarra-2.0]

      09:54:22,687 WARNING [FileConfigurationParser] AIO wasn't located on this platform, it will fall back to using pure Java NIO. If your platform is Linux, install LibAIO to enable the AIO journal

      09:54:25,734 WARNING [FileConfigurationParser] AIO wasn't located on this platform, it will fall back to using pure Java NIO. If your platform is Linux, install LibAIO to enable the AIO journal

      09:54:25,890 INFO  [JMXConnector] starting JMXConnector on host localhost:1090

      09:54:26,031 INFO  [MailService] Mail Service bound to java:/Mail

      09:54:27,093 INFO  [HornetQServerImpl] live server is starting..

      09:54:27,156 INFO  [JournalStorageManager] Using NIO Journal

      09:54:27,171 WARNING [HornetQServerImpl] Security risk! It has been detected that the cluster admin user and password have not been changed from the installation default. Please see the HornetQ user guide, cluster chapter, for instructions on how to do this.

      09:54:27,703 INFO  [NettyAcceptor] Started Netty Acceptor version 3.2.1.Final-r2319 localhost:5445 for CORE protocol

      09:54:27,703 INFO  [NettyAcceptor] Started Netty Acceptor version 3.2.1.Final-r2319 localhost:5455 for CORE protocol

      09:54:27,703 INFO  [HornetQServerImpl] HornetQ Server version 2.1.2.Final (Colmeia, 120) started

      09:54:27,750 INFO  [WebService] Using RMI server codebase: http://localhost:8083/

      09:54:28,000 WARN  [arjuna] [com.arjuna.ats.arjuna.tools.osb.mbean.ObjStoreTypeBean.m_6] - Error registering bean for class Recovery\TransactionStatusManager : No suitable handler.

      09:54:28,000 WARN  [arjuna] [com.arjuna.ats.arjuna.tools.osb.mbean.ObjStoreTypeBean.m_6] - Error registering bean for class Recovery\TransactionStatusManager : No suitable handler.

      09:54:28,000 WARN  [arjuna] [com.arjuna.ats.arjuna.tools.osb.mbean.ObjStoreTypeBean.m_6] - Error registering bean for class Recovery\TransactionStatusManager : No suitable handler.

      09:54:28,000 WARN  [arjuna] [com.arjuna.ats.arjuna.tools.osb.mbean.ObjStoreTypeBean.m_6] - Error registering bean for class Recovery\TransactionStatusManager : No suitable handler.

      09:54:28,000 WARN  [arjuna] [com.arjuna.ats.arjuna.tools.osb.mbean.ObjStoreTypeBean.m_6] - Error registering bean for class Recovery\TransactionStatusManager : No suitable handler.

      09:54:28,000 WARN  [arjuna] [com.arjuna.ats.arjuna.tools.osb.mbean.ObjStoreTypeBean.m_6] - Error registering bean for class Recovery\TransactionStatusManager : No suitable handler.

      09:54:28,000 WARN  [arjuna] [com.arjuna.ats.arjuna.tools.osb.mbean.ObjStoreTypeBean.m_6] - Error registering bean for class Recovery\TransactionStatusManager : No suitable handler.

      09:54:28,000 WARN  [arjuna] [com.arjuna.ats.arjuna.tools.osb.mbean.ObjStoreTypeBean.m_6] - Error registering bean for class Recovery\TransactionStatusManager : No suitable handler.

      09:54:28,875 INFO  [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\jboss\jboss-6.0.0.20100911-M5\bin\native;

      09:54:28,984 INFO  [ModClusterService] Initializing mod_cluster 1.1.0.CR3

      09:54:29,000 INFO  [TomcatDeployment] deploy, ctxPath=/invoker

      09:54:29,625 INFO  [RARDeployment] Required license terms exist, view vfs:/C:/jboss/jboss-6.0.0.20100911-M5/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml

      09:54:29,640 INFO  [RARDeployment] Required license terms exist, view vfs:/C:/jboss/jboss-6.0.0.20100911-M5/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml

      09:54:29,640 INFO  [RARDeployment] Required license terms exist, view vfs:/C:/jboss/jboss-6.0.0.20100911-M5/server/default/deploy/jms-ra.rar/META-INF/ra.xml

      09:54:29,656 INFO  [HornetQResourceAdapter] HornetQ resource adaptor started

      09:54:29,656 INFO  [RARDeployment] Required license terms exist, view vfs:/C:/jboss/jboss-6.0.0.20100911-M5/server/default/deploy/mail-ra.rar/META-INF/ra.xml

      09:54:29,671 INFO  [RARDeployment] Required license terms exist, view vfs:/C:/jboss/jboss-6.0.0.20100911-M5/server/default/deploy/quartz-ra.rar/META-INF/ra.xml

      09:54:29,812 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: Thread-2

      09:54:29,859 INFO  [SchedulerSignalerImpl] Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl

      09:54:29,859 INFO  [QuartzScheduler] Quartz Scheduler v.1.8.0 created.

      09:54:29,859 INFO  [RAMJobStore] RAMJobStore initialized.

      09:54:29,875 INFO  [QuartzScheduler] Scheduler meta-data: Quartz Scheduler (v1.8.0) 'JBossQuartzScheduler' with instanceId 'NON_CLUSTERED'

        Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.

        NOT STARTED.

        Currently in standby mode.

        Number of jobs executed: 0

        Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.

        Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.

       

      09:54:29,875 INFO  [StdSchedulerFactory] Quartz scheduler 'JBossQuartzScheduler' initialized from an externally opened InputStream.

      09:54:29,875 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.8.0

      09:54:29,875 INFO  [QuartzScheduler] Scheduler JBossQuartzScheduler_$_NON_CLUSTERED started.

      09:54:30,828 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'

      09:54:31,062 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'

      09:54:31,156 INFO  [xnio] XNIO Version 2.1.0.CR2

      09:54:31,156 INFO  [nio] XNIO NIO Implementation Version 2.1.0.CR2

      09:54:31,328 INFO  [remoting] JBoss Remoting version 3.1.0.Beta2

      09:54:31,421 INFO  [TomcatDeployment] deploy, ctxPath=/

      09:54:31,531 INFO  [service] Removing bootstrap log handlers

      09:54:31,625 INFO  [org.apache.coyote.http11.Http11Protocol] Starting Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080

      09:54:31,640 INFO  [org.apache.coyote.ajp.AjpProtocol] Starting Coyote AJP/1.3 on ajp-localhost%2F127.0.0.1-8009

      09:54:31,640 INFO  [org.jboss.bootstrap.impl.base.server.AbstractServer] JBossAS [6.0.0.20100911-M5 "Neo"] Started in 29s:859ms

      09:54:41,046 INFO  [org.jboss.web.tomcat.service.deployers.TomcatDeployment] deploy, ctxPath=/simple

      09:54:41,078 ERROR [STDERR] 0 [RMI TCP Connection(1)-127.0.0.1] INFO org.jboss.resteasy.plugins.providers - Added built in provider DataSourceProvider

       

      09:54:41,078 ERROR [STDERR] 0 [RMI TCP Connection(1)-127.0.0.1] INFO org.jboss.resteasy.plugins.providers - Added built in provider DefaultTextPlain

       

      09:54:41,078 ERROR [STDERR] 0 [RMI TCP Connection(1)-127.0.0.1] INFO org.jboss.resteasy.plugins.providers - Added built in provider org.jboss.resteasy.plugins.providers.StringTextStar

       

      09:54:41,078 ERROR [STDERR] 0 [RMI TCP Connection(1)-127.0.0.1] INFO org.jboss.resteasy.plugins.providers - Added built in provider org.jboss.resteasy.plugins.providers.InputStreamProvider

       

      09:54:41,078 ERROR [STDERR] 0 [RMI TCP Connection(1)-127.0.0.1] INFO org.jboss.resteasy.plugins.providers - Added built in provider org.jboss.resteasy.plugins.providers.ByteArrayProvider

       

      09:54:41,078 ERROR [STDERR] 0 [RMI TCP Connection(1)-127.0.0.1] INFO org.jboss.resteasy.plugins.providers - Added built in provider org.jboss.resteasy.plugins.providers.FormUrlEncodedProvider

       

      09:54:41,078 ERROR [STDERR] 0 [RMI TCP Connection(1)-127.0.0.1] INFO org.jboss.resteasy.plugins.providers - Added built in provider org.jboss.resteasy.plugins.providers.FormUrlEncodedProvider

       

      09:54:41,078 ERROR [STDERR] 0 [RMI TCP Connection(1)-127.0.0.1] INFO org.jboss.resteasy.plugins.providers - Added built in provider org.jboss.resteasy.plugins.providers.StreamingOutputProvider

       

      09:54:41,093 ERROR [STDERR] 15 [RMI TCP Connection(1)-127.0.0.1] INFO org.jboss.resteasy.plugins.providers - Adding built in provider org.jboss.resteasy.plugins.providers.jaxb.JAXBXmlSeeAlsoProvider

       

      09:54:41,093 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/simple]] Exception sending context initialized event to listener instance of class org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap: java.lang.ClassCastException: org.jboss.resteasy.plugins.providers.jaxb.JAXBXmlSeeAlsoProvider cannot be cast to javax.ws.rs.ext.MessageBodyReader

      at org.jboss.resteasy.plugins.providers.RegisterBuiltin.optionalProvider(RegisterBuiltin.java:103) [:6.0.0.20100911-M5]

      at org.jboss.resteasy.plugins.providers.RegisterBuiltin.register(RegisterBuiltin.java:66) [:6.0.0.20100911-M5]

      at org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap.contextInitialized(ResteasyBootstrap.java:84) [:6.0.0.20100911-M5]

      at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3369) [:6.0.0.20100911-M5]

      at org.apache.catalina.core.StandardContext.start(StandardContext.java:3828) [:6.0.0.20100911-M5]

      at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:299) [:6.0.0.20100911-M5]

      at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:138) [:6.0.0.20100911-M5]

      at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461) [:6.0.0.20100911-M5]

      at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) [:6.0.0.20100911-M5]

      at org.jboss.web.deployers.WebModule.start(WebModule.java:95) [:6.0.0.20100911-M5]

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_21]

      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [:1.6.0_21]

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [:1.6.0_21]

      at java.lang.reflect.Method.invoke(Unknown Source) [:1.6.0_21]

      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) [:6.0.0.Beta5]

      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) [:6.0.0.Beta5]

      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) [:6.0.0.Beta5]

      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271) [:6.0.0.Beta5]

      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670) [:6.0.0.Beta5]

      at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206) [:2.2.0.Alpha10]

      at $Proxy41.start(Unknown Source) at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:53) [:2.2.0.Alpha10]

      at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:41) [:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:301) [:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:894) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:641) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:182) [:2.2.0.Alpha7]

      at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:58) [:2.2.0.Alpha7]

      at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) [:2.2.0.Alpha7]

      at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55) [:2.2.0.Alpha7]

      at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [:2.2.0.Alpha7]

      at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2.2.0.Alpha7]

      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550) [:2.2.0.Alpha7]

      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1571) [:2.2.0.Alpha7]

      at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491) [:2.2.0.Alpha7]

      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983) [:2.2.0.Alpha7]

      at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076) [:2.2.0.Alpha7]

      at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679) [:2.2.0.Alpha7]

      at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106) [:6.0.0.20100911-M5]

      at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:130) [:0.1.0.Alpha1]

      at org.jboss.profileservice.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:148) [:0.1.0.Alpha1]

      at org.jboss.profileservice.dependency.ProfileDeployAction.installActionInternal(ProfileDeployAction.java:94) [:0.1.0.Alpha1]

      at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.Alpha10]

      at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.profileservice.dependency.ProfileServiceController.activate(ProfileServiceController.java:188) [:0.1.0.Alpha1]

      at org.jboss.profileservice.AbstractProfileService.activateProfile(AbstractProfileService.java:170) [:0.1.0.Alpha1]

      at org.jboss.system.tools.ProfileServiceToolsFacade.addURI(ProfileServiceToolsFacade.java:217) [:6.0.0.20100911-M5]

      at org.jboss.system.tools.LegacyDeploymentScannerAdapter.addURL(LegacyDeploymentScannerAdapter.java:131) [:6.0.0.20100911-M5]

      at org.jboss.system.tools.DeploymentScanner.addURL(DeploymentScanner.java:91) [:6.0.0.20100911-M5]

      at org.jboss.system.tools.DeploymentScanner.addURL(DeploymentScanner.java:83) [:6.0.0.20100911-M5]

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_21]

      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [:1.6.0_21]

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [:1.6.0_21]

      at java.lang.reflect.Method.invoke(Unknown Source) [:1.6.0_21]

      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) [:6.0.0.Beta5]

      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) [:6.0.0.Beta5]

      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) [:6.0.0.Beta5]

      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271) [:6.0.0.Beta5]

      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670) [:6.0.0.Beta5]

      at org.jboss.system.server.jmx.MBeanServerWrapper.invoke(MBeanServerWrapper.java:138) [:6.0.0.20100911-M5 (Build SVNTag:JBoss_6.0.0.20100911-M5 date: 20100922)]

      at javax.management.remote.rmi.RMIConnectionImpl.doOperation(Unknown Source) [:1.6.0_21]

      at javax.management.remote.rmi.RMIConnectionImpl.access$200(Unknown Source) [:1.6.0_21]

      at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(Unknown Source) [:1.6.0_21]

      at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(Unknown Source) [:1.6.0_21]

      at javax.management.remote.rmi.RMIConnectionImpl.invoke(Unknown Source) [:1.6.0_21]

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_21]

      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [:1.6.0_21]

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [:1.6.0_21]

      at java.lang.reflect.Method.invoke(Unknown Source) [:1.6.0_21]

      at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source) [:1.6.0_21]

      at sun.rmi.transport.Transport$1.run(Unknown Source) [:1.6.0_21]

      at java.security.AccessController.doPrivileged(Native Method) [:1.6.0_21]

      at sun.rmi.transport.Transport.serviceCall(Unknown Source) [:1.6.0_21]

      at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source) [:1.6.0_21]

      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source) [:1.6.0_21]

      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source) [:1.6.0_21]

      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) [:1.6.0_21]

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [:1.6.0_21]

      at java.lang.Thread.run(Unknown Source) [:1.6.0_21]

       

      09:54:41,109 ERROR [org.apache.catalina.core.StandardContext] Error listenerStart

      09:54:41,109 ERROR [org.apache.catalina.core.StandardContext] Context [/simple] startup failed due to previous errors

      09:54:41,109 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Start: name=jboss.web.deployment:war=/simple state=Create mode=Manual requiredState=Installed: org.jboss.deployers.spi.DeploymentException: URL file:/C:/dl/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_6.0_Runtime_Server1289203521843/deploy/simple.war/ deployment failed

      at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:321) [:6.0.0.20100911-M5]

      at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:138) [:6.0.0.20100911-M5]

      at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461) [:6.0.0.20100911-M5]

      at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) [:6.0.0.20100911-M5]

      at org.jboss.web.deployers.WebModule.start(WebModule.java:95) [:6.0.0.20100911-M5]

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_21]

      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [:1.6.0_21]

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [:1.6.0_21]

      at java.lang.reflect.Method.invoke(Unknown Source) [:1.6.0_21]

      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) [:6.0.0.Beta5]

      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) [:6.0.0.Beta5]

      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) [:6.0.0.Beta5]

      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271) [:6.0.0.Beta5]

      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670) [:6.0.0.Beta5]

      at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206) [:2.2.0.Alpha10]

      at $Proxy41.start(Unknown Source) at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:53) [:2.2.0.Alpha10]

      at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:41) [:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:301) [:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:894) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:641) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:182) [:2.2.0.Alpha7]

      at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:58) [:2.2.0.Alpha7]

      at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) [:2.2.0.Alpha7]

      at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55) [:2.2.0.Alpha7]

      at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [:2.2.0.Alpha7]

      at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2.2.0.Alpha7]

      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550) [:2.2.0.Alpha7]

      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1571) [:2.2.0.Alpha7]

      at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491) [:2.2.0.Alpha7]

      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983) [:2.2.0.Alpha7]

      at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076) [:2.2.0.Alpha7]

      at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679) [:2.2.0.Alpha7]

      at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106) [:6.0.0.20100911-M5]

      at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:130) [:0.1.0.Alpha1]

      at org.jboss.profileservice.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:148) [:0.1.0.Alpha1]

      at org.jboss.profileservice.dependency.ProfileDeployAction.installActionInternal(ProfileDeployAction.java:94) [:0.1.0.Alpha1]

      at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.Alpha10]

      at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.Alpha10]

      at org.jboss.profileservice.dependency.ProfileServiceController.activate(ProfileServiceController.java:188) [:0.1.0.Alpha1]

      at org.jboss.profileservice.AbstractProfileService.activateProfile(AbstractProfileService.java:170) [:0.1.0.Alpha1]

      at org.jboss.system.tools.ProfileServiceToolsFacade.addURI(ProfileServiceToolsFacade.java:217) [:6.0.0.20100911-M5]

      at org.jboss.system.tools.LegacyDeploymentScannerAdapter.addURL(LegacyDeploymentScannerAdapter.java:131) [:6.0.0.20100911-M5]

      at org.jboss.system.tools.DeploymentScanner.addURL(DeploymentScanner.java:91) [:6.0.0.20100911-M5]

      at org.jboss.system.tools.DeploymentScanner.addURL(DeploymentScanner.java:83) [:6.0.0.20100911-M5]

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_21]

      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [:1.6.0_21]

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [:1.6.0_21]

      at java.lang.reflect.Method.invoke(Unknown Source) [:1.6.0_21]

      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) [:6.0.0.Beta5]

      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) [:6.0.0.Beta5]

      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) [:6.0.0.Beta5]

      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271) [:6.0.0.Beta5]

      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670) [:6.0.0.Beta5]

      at org.jboss.system.server.jmx.MBeanServerWrapper.invoke(MBeanServerWrapper.java:138) [:6.0.0.20100911-M5 (Build SVNTag:JBoss_6.0.0.20100911-M5 date: 20100922)]

      at javax.management.remote.rmi.RMIConnectionImpl.doOperation(Unknown Source) [:1.6.0_21]

      at javax.management.remote.rmi.RMIConnectionImpl.access$200(Unknown Source) [:1.6.0_21]

      at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(Unknown Source) [:1.6.0_21]

      at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(Unknown Source) [:1.6.0_21]

      at javax.management.remote.rmi.RMIConnectionImpl.invoke(Unknown Source) [:1.6.0_21]

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_21]

      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [:1.6.0_21]

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [:1.6.0_21]

      at java.lang.reflect.Method.invoke(Unknown Source) [:1.6.0_21]

      at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source) [:1.6.0_21]

      at sun.rmi.transport.Transport$1.run(Unknown Source) [:1.6.0_21]

      at java.security.AccessController.doPrivileged(Native Method) [:1.6.0_21]

      at sun.rmi.transport.Transport.serviceCall(Unknown Source) [:1.6.0_21]

      at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source) [:1.6.0_21]

      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source) [:1.6.0_21]

      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source) [:1.6.0_21]

      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) [:1.6.0_21]

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [:1.6.0_21]

      at java.lang.Thread.run(Unknown Source) [:1.6.0_21]

       

       

        • 1. Re: Project Example->RESTEasy->RESTEasy Simple Example failing against 5.0.1 and 6.0.0 M5 runtimes
          Wolfgang Knauf Master

          Hi,

           

          I have to admit I had never played with JBoss Webservices, but as you pointed my to this post by private message, I will try to comment: a "ClassCastException" is often a sympton of deploying a JAR file to JBoss, which is already contained in the server (e.g. Xerces or Log4J).

           

          So, could you take a look whether your deployed "simple.war" contains a JAR file with files in the "javax.ws.rs.ext" package? If you don't see a reason: post the content of WEB-INF\lib of the WAR file.

           

          But maybe there is a bug in JBoss M5 - then I would be wrong ;-).

           

          Hope this helps

           

          Wolfgang