Bugs item #909473, was opened at 2004-03-03 17:20 Message generated for change (Comment added) made by starksm You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=909473&group_id=22866
Category: JBossMX Group: v3.2 Status: Open Resolution: Accepted Priority: 5 Submitted By: Mike Panzitta (mpanzitta) Assigned to: Scott M Stark (starksm) Summary: NullPointerException in LoadMgr3 Initial Comment: This appears to be the same problem as issue 877172 but manifested by jasper JSP compiles. This is running JBoss 3.2.3 using the stock embedded Tomcat. It is running under WinXP on Sun Java 1.4.2 The application (an EAR containing a simple WAR file) runs properly when the app is deployed for the first time or when JBoss has been restarted. When it is redeployed, the NPE occurs when the JSP display is attempted. This is highly reproducible and consistent. Simply restarting JBoss at this point resolves the issue; however, this will be difficult to support in both a development and production environment. I'd be happy to provide additional information to assist in resolving this issue. Thanks, -Mike ---------------------------------------------------------------------- >Comment By: Scott M Stark (starksm) Date: 2004-03-20 10:33 Message: Logged In: YES user_id=175228 I have looked at the testcase and the problem is that the Ant Project is using a Class.forName call to load the javac compiler task. This ends up using the class loader of the previous deployment which has been destroyed and is the reason for the NPE. I'm looking into how to correct the class loader that Ant is using. ---------------------------------------------------------------------- Comment By: Scott M Stark (starksm) Date: 2004-03-15 21:05 Message: Logged In: YES user_id=175228 Send it to [EMAIL PROTECTED] ---------------------------------------------------------------------- Comment By: Mike Panzitta (mpanzitta) Date: 2004-03-15 19:58 Message: Logged In: YES user_id=766595 I'm unable to upload the test case since it's at 1.2 MB. I can e-mail it or upload it to another location....please advise. ---------------------------------------------------------------------- Comment By: Mike Panzitta (mpanzitta) Date: 2004-03-15 19:55 Message: Logged In: YES user_id=766595 Attempting to upload new test case... ---------------------------------------------------------------------- Comment By: Mike Panzitta (mpanzitta) Date: 2004-03-15 19:44 Message: Logged In: YES user_id=766595 After having difficulty in uploading the test case, I tried to remove extraneous libs for the test case. After removing the optional.jar (from Ant 1.5.4) from the WAR file's WEB-INF/lib directory, the issue went away, so it appears that this file is the culprit. I believe the file is required for in-container Cactus testing, which is why it is in the build. In any case, it should not give the classloaders grief. I will attempt to upload the test case again with this jar still in the lib. ---------------------------------------------------------------------- Comment By: Mike Panzitta (mpanzitta) Date: 2004-03-15 19:22 Message: Logged In: YES user_id=766595 Trouble uploading file.... ---------------------------------------------------------------------- Comment By: Mike Panzitta (mpanzitta) Date: 2004-03-15 19:21 Message: Logged In: YES user_id=766595 Trouble uploading file.... ---------------------------------------------------------------------- Comment By: Mike Panzitta (mpanzitta) Date: 2004-03-15 19:14 Message: Logged In: YES user_id=766595 Sorry for the delay...wanted to make sure there weren't huge dependencies to make the debugging insane. To reproduce the error: 1. start JBoss 3.2.3 (Tomcat HTTP connector enabled on port 8080) 2. deploy the attached EAR file (HtmlUiWebTest.ear) 3. make the following request: http://localhost:8080/HtmlUiWebTest/Common/TestPage1.jsp (replace localhost with name/IP of JBoss server) 4. simple JSP displays 5. undeploy the EAR file 6. when undeployed, redeploy the same EAR file 7. make the same request from step 3 8. NPE occurs in LoadMgr3 9. restart JBoss 10. make the same request from step 3 11. simple JSP displays Let me know if you need any other config info. It is a slightly modified default server configuration (examples and JMS removed). ---------------------------------------------------------------------- Comment By: Mike Panzitta (mpanzitta) Date: 2004-03-15 19:10 Message: Logged In: YES user_id=766595 Sorry for the delay...wanted to make sure there weren't huge dependencies to make the debugging insane. To reproduce the error: 1. start JBoss 3.2.3 (Tomcat HTTP connector enabled on port 8080) 2. deploy the attached EAR file (HtmlUiWebTest.ear) 3. make the following request: http://localhost:8080/HtmlUiWebTest/Common/TestPage1.jsp (replace localhost with name/IP of JBoss server) 4. simple JSP displays 5. undeploy the EAR file 6. when undeployed, redeploy the same EAR file 7. make the same request from step 3 8. NPE occurs in LoadMgr3 9. restart JBoss 10. make the same request from step 3 11. simple JSP displays Let me know if you need any other config info. It is a slightly modified default server configuration (examples and JMS removed). ---------------------------------------------------------------------- Comment By: Scott M Stark (starksm) Date: 2004-03-04 12:28 Message: Logged In: YES user_id=175228 I need a reproducible testcase. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=909473&group_id=22866 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
