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 112792 - Second run doesn't get new jsp
Summary: Second run doesn't get new jsp
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 6.x
Hardware: Sun Solaris
: P3 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-14 18:16 UTC by Vince Kraemer
Modified: 2008-03-03 20:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vince Kraemer 2007-08-14 18:16:46 UTC
create an ear with MB characters in its name like Aと粮Jot粮EApp that includes a web app named Aと粮Jot粮EApp-war.

use the Run item to deploy the app and the browser will display the content of the index.jsp correctly.  The URL looks a
tad bit strange, though... http://localhost:8080/EApp-war/ instead of http://localhost:8080/A__Jot_EApp-war/ as
expected... (that is the value of the URL in the application.xml)

Modify the content of the jsp.

Use Run again.

The content is not the new content, but is the old...
Comment 1 Vince Kraemer 2007-08-14 19:10:05 UTC
This is a problem with the mapping that is done for J2eeModule objects and TargetModuleID objects....

This problem prevents the data from the J2eeModule's build directory from being copied into the docBase of the
TargetModule.... since the TMID gets an ID that cannot be translated uniquely to the subdirectory where a J2eeModule is
built.

The work-around is to turn off directory deployment

OR 

use 'Undeploy & Deploy' action followed by  a reload in the browser...

lowering to p3. setting TM to future.
Comment 2 Vince Kraemer 2007-11-04 02:58:44 UTC
this may be addressed by http://deadlock.netbeans.org/fisheye/changelog/netbeans/?cs=MAIN:vkraemer:20071104014913 which
are changes for issue 121036.
Comment 3 Vince Kraemer 2008-03-03 20:17:34 UTC
this appears to be resolved.  tested against trunk 200803021201