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 59113 - Context path not set for web apps created on app server
Summary: Context path not set for web apps created on app server
Status: CLOSED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: WebLogic (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: issues@serverplugins
URL:
Keywords:
Depends on: 61421
Blocks: 61431
  Show dependency tree
 
Reported: 2005-05-20 12:38 UTC by Jaroslav Pospisil
Modified: 2006-03-24 12:55 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
commit log (11.73 KB, text/plain)
2005-08-07 05:30 UTC, Pavel Buzek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Pospisil 2005-05-20 12:38:45 UTC
If I create web application on any of JBoss,WebLogic or WebSphere
servers,there's no Context path set and I must do it manually.It's different
from Tomcat or SJS Appserver in Netbeans.
Comment 1 Alexander Kouznetsov 2005-05-31 15:56:21 UTC
Moreover, if you set it in application properties it won't be stored and used. Hence, this is P2 issue.
Comment 2 Alexander Kouznetsov 2005-06-02 12:17:40 UTC
This is duplicate of CR 6260615
Comment 3 Pavel Buzek 2005-07-26 21:06:08 UTC
This is already fixed for jboss, still does not work for weblogic (and probably
ws6).

Please do not file issues against "other" component, file separate issues
against each server type. The implementations ARE different and the fact that
they all have some of the same bugs does not mean that these bugs will be fixed
at once.
Comment 4 Pavel Buzek 2005-07-31 04:31:47 UTC
Need to implement creation of weblogic.xml to make this work.
Comment 5 Pavel Buzek 2005-08-04 04:37:35 UTC
fixed together with issue 61421
Comment 6 Jaroslav Pospisil 2005-08-05 10:56:24 UTC
build 200508041800 
Context path not set,when web application is created and it cannot be set by
editing in Properties.After you close Properties,all changes are lost and
context path remains not set.
Comment 7 Pavel Buzek 2005-08-07 05:28:32 UTC
Ok, my hotfix did not work for QA (worked partly for me) so I implemented
appropriate infrastructure for config files (weblogic.xml, weblogic-ejb-jar.xml
and weblogic-application.xml). For the WAR the only property shown in "visual"
editor is context path, for ear and ejb-jar there are none at this point.
Pulling more props into visual editor should be fairly easy from now.

Changing context path does not delete the rest of weblogic.xml like it did (and
still DOES in jboss where I copied the orig code from, the same infrastructure
needs to be implemented there).

This should very likely be merged into 4.1 branch after it is tested, verified
and stabilized (if needed).
Comment 8 Pavel Buzek 2005-08-07 05:30:22 UTC
Created attachment 23542 [details]
commit log
Comment 9 Jaroslav Pospisil 2005-08-15 15:35:49 UTC
Verified in 20050815.