3 Replies Latest reply on Sep 12, 2002 5:23 PM by David Cowan

    Class loader problem

    David Cowan Newbie

      I am having a problem with embedded tomcat that only came about after setting DeleteWorkDirs to false so that I don't have to wait for already compiled jsps to compile on every reload. I am using a .war directory to do all jsp development. This problem occurs when I copy new struts form classes into /WEB-INF/classes and then touch the web.xml to redeploy. If I then stop jboss and restart and restart I get the same error message when loading a jsp. The only way I have found to correct it is shutdown jboss delete /catalina/work/MainEngine/localhost/webapp
      directory were webapp is the name of my web app. Then restart jboss and everything is good. Other than the fact that I then get to wait for every jsp page to recompile. Below is the error

      16:01:00,170 ERROR [Engine] ----- Root Cause -----
      java.lang.LinkageError: Class com/apc/rms/ejb/interfaces/AssetData violates load
      er constraints
      at org.apache.jsp.AllAssetEvents$jsp._jspService(AllAssetEvents$jsp.java