[jboss-jira] [JBoss JIRA] (AS7-4251) AS7.1.0.Final makes stale references untill contents inside 'tmp' folder are cleared

David Lloyd (JIRA) jira-events at lists.jboss.org
Wed Mar 21 14:02:48 EDT 2012


     [ https://issues.jboss.org/browse/AS7-4251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Lloyd updated AS7-4251:
-----------------------------

       Assignee: Stuart Douglas  (was: David Lloyd)
    Component/s: REST
                     (was: Class Loading)


This appears to be some sort of RestEasy compilation issue; these errors don't seem to be classloader-related.
                
> AS7.1.0.Final makes stale references untill contents inside 'tmp' folder are cleared
> ------------------------------------------------------------------------------------
>
>                 Key: AS7-4251
>                 URL: https://issues.jboss.org/browse/AS7-4251
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: REST
>    Affects Versions: 7.1.0.Final
>         Environment: Windows 7 enterprise, service pack1 64 bit OS
>            Reporter: Nagendra Prasad Bhat
>            Assignee: Stuart Douglas
>
> Jboss AS 7.1.0.Final often makes stale references. Deployment of Jars/Wars in standalone 'deployments' directory takes stale references and outputs unexpected log messages like 'unresolved compilation', 'It is indirectly referenced from required .class files
> 'etc.  Same set of artifacts work fine when contents of tmp>vfs and tmp>work>jboss.web are deleted and server is bounced. Here is the trace for this issue. This was never encountered in previous AS7.1 and AS7.0 releases.
> {noformat}
> 17:47:19,549 DEBUG [org.jboss.resteasy.core.SynchronousDispatcher] (http-AUS-XXXX.rws.ad.mycompany.com-10.30.19.9-8080-1) PathInfo: phone/products/callrequest
> 17:47:19,565 INFO  [com.mycompany.xyz.so.comm.service.PCommuServiceImpl] (http-AUS-XXXX.rws.ad.mycompany.com-10.30.19.9-8080-1) End of Comm cService method  - schedulePCallRequest(). Time taken by the service is [4]ms
> 17:47:19,577 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/comm].[Resteasy]] (http-AUS-XXXX.rws.ad.mycompany.com-10.30.19.9-8080-1) Servlet.service() for servlet Resteasy threw exception: org.jboss.resteasy.spi.UnhandledException: java.lang.Error: Unresolved compilation problems: 
> 	The type com.mycompany.xyz.comm.responses.CResponse cannot be resolved. It is indirectly referenced from required .class files
> 	The import com.mycompany.xyz.comm.constants cannot be resolved
> 	The import com.mycompany.xyz.comm.errorcodes cannot be resolved
> 	The import com.mycompany.xyz.comm.exception cannot be resolved
> 	The import com.mycompany.xyz.comm.exception cannot be resolved
> 	The import com.mycompany.xyz.comm.exception cannot be resolved
> 	The import com.mycompany.xyz.comm.responses.CResponse cannot be resolved
> 	The import com.mycompany.xyz.comm.responses.SResponse cannot be resolved
> 	The import com.mycompany.xyz.comm.responses.SResponse cannot be resolved
> 	The import com.mycompany.xyz.comm.responses.SResponse cannot be resolved
> 	The import com.mycompany.xyz.sl cannot be resolved
> 	The import com.mycompany.xyz.sl cannot be resolved
> 	The import com.mycompany.xyz.sl cannot be resolved
> 	The import com.mycompany.xyz.sl cannot be resolved	
> 	CResponse cannot be resolved to a type
> 	The method createMyCase(Map<String,String>) from the type PCommuImpl refers to the missing type Exception	
> 	The type com.mycompany.xyz.comm.exception.SOperationException cannot be resolved. It is indirectly referenced from required .class files
> 	The method getPControlOperationException(PCommuErrors, String, String) from the type CommExceptionHandler refers to the missing type SOperationException
> 	SException cannot be resolved to a type
> 	SResponse cannot be resolved
> 	SSystemException cannot be resolved to a type
> 	The type com.mycompany.xyz.comm.exception.SSystemException cannot be resolved. It is indirectly referenced from required .class files
> 	The method getSystemException() from the type PCommHelper refers to the missing type SSystemException
> 	CResponse cannot be resolved to a type
> 	SResponse cannot be resolved
> 	SException cannot be resolved to a type
> 	SResponse cannot be resolved to a type	
> 	PControlService cannot be resolved to a type
> 	PControlServiceImpl cannot be resolved to a type	
> 	SResponse cannot be resolved to a type
> 	CErrors cannot be resolved to a variable	
> 	SConstants cannot be resolved to a variable
> 	SSystemException cannot be resolved to a type	
> 	CErrors cannot be resolved to a variable
> 	SConstants cannot be resolved to a variable	
> 	SException cannot be resolved to a type
> 	SResponse cannot be resolved
> 	SErrorResponse cannot be resolved to a type
> 	SSystemException cannot be resolved to a type
> 	at org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:340) [resteasy-jaxrs-2.3.1.GA.jar:]
> 	at org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:214) [resteasy-jaxrs-2.3.1.GA.jar:]
> 	at org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:190) [resteasy-jaxrs-2.3.1.GA.jar:]
> 	at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:540) [resteasy-jaxrs-2.3.1.GA.jar:]
> 	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502) [resteasy-jaxrs-2.3.1.GA.jar:]
> 	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119) [resteasy-jaxrs-2.3.1.GA.jar:]
> 	at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208) [resteasy-jaxrs-2.3.1.GA.jar:]
> 	at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) [resteasy-jaxrs-2.3.1.GA.jar:]
> 	at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) [resteasy-jaxrs-2.3.1.GA.jar:]
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.10.Final.jar:]
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.10.Final.jar:]
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.10.Final.jar:]
> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.10.Final.jar:]
> 	at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.1.0.Final.jar:7.1.0.Final]
> 	at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:154) [jboss-as-web-7.1.0.Final.jar:7.1.0.Final]
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.10.Final.jar:]
> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.10.Final.jar:]
> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.10.Final.jar:]
> 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.10.Final.jar:]
> 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.10.Final.jar:]
> 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.10.Final.jar:]
> 	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.10.Final.jar:]
> 	at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_20]
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list