[jboss-user] [JBoss Portal Users] - VFSZIP problem ?

blopes do-not-reply at jboss.com
Mon Aug 24 05:25:25 EDT 2009


Hi,

I have this situation, using jersey with restful webservices.
My web.xml has among others things these lines:
...

 <context-param>  
      <param-name>org.restlet.application</param-name>  
      <param-value>  
         com.movensis.cisl.ncarUsers.presentation.rrh.FirstStepsApplication  
      </param-value>  
   </context-param>  

  
        <servlet-name>JerseyAPI</servlet-name>
        
com.sun.jersey.spi.container.servlet.ServletContainer
      </servlet-class>          
     <init-param>  
            <param-name>
com.sun.jersey.config.property.packages</param-name>  
            
com.movensis.cisl.ncarUsers.presentation.rrh
            </param-value>  
     </init-param>
 <load-on-startup>1</load-on-startup>      
  
...

During deploying the exception is:

18:38:07,720 INFO  [TomcatDeployment] undeploy, ctxPath=/jersey
18:38:07,724 INFO  [[/jersey]] Closing Spring root WebApplicationContext
18:38:07,725 INFO  [XmlWebApplicationContext] Closing org.springframework.web.context.support.XmlWebApplicationContext at 162eb9a: display name
 [Root WebApplicationContext]; startup date [Fri Aug 21 18:36:53 BST 2009]; root of context hierarchy
18:38:07,728 INFO  [DefaultListableBeanFactory] Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactor
y at 12a2956: defining beans [org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.config.internalTransactio
nAdvisor,dataSource,transactionManager,userManager,labManager,divisionManager,userDao,labDao,divisionDao]; root of factory hierarchy
18:38:17,534 INFO  [TomcatDeployment] deploy, ctxPath=/jersey
18:38:17,766 INFO  [[/jersey]] Initializing Spring root WebApplicationContext
18:38:17,767 INFO  [ContextLoader] Root WebApplicationContext: initialization started
18:38:17,807 INFO  [XmlWebApplicationContext] Refreshing org.springframework.web.context.support.XmlWebApplicationContext at 45325f: display na
me [Root WebApplicationContext]; startup date [Fri Aug 21 18:38:17 BST 2009]; root of context hierarchy
18:38:17,880 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [applicationContext.xml]
18:38:18,402 INFO  [XmlWebApplicationContext] Bean factory for application context [org.springframework.web.context.support.XmlWebApplicatio
nContext at 45325f]: org.springframework.beans.factory.support.DefaultListableBeanFactory at 181191f
18:38:18,519 INFO  [DefaultListableBeanFactory] Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBea
nFactory at 181191f: defining beans [org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.config.internalTra
nsactionAdvisor,dataSource,transactionManager,userManager,labManager,divisionManager,userDao,labDao,divisionDao]; root of factory hierarchy
18:38:18,600 INFO  [DriverManagerDataSource] Loaded JDBC driver: com.mysql.jdbc.Driver
18:38:18,804 INFO  [ContextLoader] Root WebApplicationContext: initialization completed in 1036 ms



18:38:18,827 INFO  [PackagesResourceConfig] Scanning for root resource and provider classes in the packages:
  com.movensis.cisl.ncarUsers.presentation.rrh
18:38:18,840 WARNING [AnnotatedClassScanner] URL, vfszip:/C:/jboss-5.1.0.GA/server/default/deploy/WSSandBox.war/WEB-INF/classes/com/movensis
/cisl/ncarUsers/presentation/rrh/, is ignored, it not a file or a jar file URL
18:38:18,954 WARNING [WebApplicationImpl] The class, class com.sun.jersey.server.impl.container.servlet.JSPTemplateProcessor, registered as
a provider class of the ResourceConfig is not annotationed with interface javax.ws.rs.ext.Provider. This class will be ignored




18:38:18,956 ERROR [[/jersey]] StandardWrapper.Throwable
java.lang.UnsupportedOperationException
        at java.util.Collections$UnmodifiableCollection$1.remove(Unknown Source)
        at com.sun.jersey.impl.application.WebApplicationImpl.verifyResourceConfig(WebApplicationImpl.java:705)
        at com.sun.jersey.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:506)
        at com.sun.jersey.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:472)
        at com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:377)
        at com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.initiate(ServletContainer.java:242)
        at com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:455)
        at com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:178)

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4251124#4251124

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4251124



More information about the jboss-user mailing list