Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-4251

AS7.1.0.Final makes stale references untill contents inside 'tmp' folder are cleared

    XMLWordPrintable

Details

    • Bug
    • Resolution: Can't Do
    • Major
    • None
    • 7.1.0.Final
    • REST
    • None
    • Hide

      This issue occurs intermittently. Manual replacement of existing artifacts in standalone\deployments folder with new artifacts makes the server refer to stale files.

      Show
      This issue occurs intermittently. Manual replacement of existing artifacts in standalone\deployments folder with new artifacts makes the server refer to stale files.
    • Hide

      Manual delete of 'standalone\tmp\vfs' and 'standalone\tmp\work\jboss.web' contents makes the server work fine.

      Show
      Manual delete of 'standalone\tmp\vfs' and 'standalone\tmp\work\jboss.web' contents makes the server work fine.

    Description

      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.

      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]
      

      Attachments

        Activity

          People

            sdouglas1@redhat.com Stuart Douglas
            nprasad_jira Nagendra Prasad Bhat (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: