This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 66925

Summary: JAR entries missing on Tomcat redeploy
Product: serverplugins Reporter: _ gtzabari <gtzabari>
Component: TomcatAssignee: Sherold Dev <sherold>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: stack-trace

Description _ gtzabari 2005-10-17 06:13:16 UTC
dev build 200510111800

I'm not sure if the problem lies with Netbeans, Tomcat or EHCache but if I run
my webapp, get a runtime error, fix the error, run the webapp (which redeploys
it), then I get the attached exception. The exception is incorrect in that it is
complaining that a certain file does not exist within the webapp JAR file but
I've verified by hand that it does.

I suspect this is a Tomcat redeployment issue because we've seen our share of
those recently. Has anyone else seen this?
Comment 1 _ gtzabari 2005-10-17 06:13:37 UTC
Created attachment 26016 [details]
stack-trace
Comment 2 _ gtzabari 2005-10-17 06:14:48 UTC
I forgot to mention. After this exception occurs, if I explicitly stop Tomcat
and try re-running the application then it'll work and suddenly the JAR entry is
found. Again, this sounds very similar to a recent Tomcat redeploy + classloader
issue that was reported.
Comment 3 Sherold Dev 2005-10-17 09:51:47 UTC
What did you exactly do to fix the runtime error? Did you just add a new jar
file to your project?

Have you tried project/deploy instead of project/run?
Comment 4 _ gtzabari 2005-10-17 18:20:02 UTC
The only way I can fix the runtime error is stop Tomcat, start Tomcat, run
project. The problem seems to be with "restart webapp" instead of "stop, start"
individually.

I did not add a new JAR file to the project.

Project/deploy does not work either.
Comment 5 Sherold Dev 2005-10-18 13:24:36 UTC
Can you please try it out without NetBeans to check whether it is really a
NetBeans issue?

The description is still not very clear to me, could you please provide
reproduction steps, in case that you verify that it is a NetBeans issue.

Thanks
Comment 6 _ gtzabari 2005-10-23 20:22:34 UTC
I believe this issue is a duplicate of 66925 which is not fully resolved. I'd
like to close this issue as a duplicate of it.
Comment 7 Sherold Dev 2005-10-24 09:04:01 UTC
I guess you thought issue 62529.

Marking this issue as a duplicate.

*** This issue has been marked as a duplicate of 62529 ***