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 59111 - Can't Run or Debug Web application on Weblogic server
Summary: Can't Run or Debug Web application on Weblogic server
Status: CLOSED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: WebLogic (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: issues@serverplugins
URL:
Keywords:
Depends on:
Blocks: 59118
  Show dependency tree
 
Reported: 2005-05-20 12:34 UTC by Jaroslav Pospisil
Modified: 2006-03-24 12:55 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Server and web app output (47.82 KB, text/plain)
2005-05-20 12:35 UTC, Jaroslav Pospisil
Details
commit log - fix of deployment (4.55 KB, text/plain)
2005-07-31 00:17 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:34:19 UTC
1)Run NB4.1 IDE with new userdir
2)Install Weblogic plugin
3)Add server Weblogic 9 in Runtime tab
4)Create new web application on Weblogic server
5)Try to run or Debug it
ERROR: NPE and Build failed
See attached file for server and web app outputs
jaroslav.pospisil@sun.com 2005-05-20 08:47:36 GMT
Comment 1 Jaroslav Pospisil 2005-05-20 12:35:01 UTC
Created attachment 22217 [details]
Server and web app output
Comment 2 Jaroslav Pospisil 2005-05-23 15:06:53 UTC
I've got the same result when used sample web application
~bea\weblogic90b\samples\server\examples\build\mainWebApp.
Comment 3 Kirill Sorokin 2005-05-24 12:11:34 UTC
Unfortunately there is not much we can do. This is a known issue, actually it is
a bug in WebLogic. It does not handle the non-WL DeploymentObjects correctly.
The WL guys have been informed of this issue and hopefully it will be fixed at
the time WL is finally released.

So we should leave the issue as NEW for now and then reevalute when WL gets
released. BTW, have you tried to deploy a full scale enterprise app?

PS Basing on my experience, the web application still gets deployed, but should
be started from the WL's admin console. Can you please verify this?
Comment 4 Alexander Kouznetsov 2005-05-27 12:33:12 UTC
No EJB Modules and J2EE Applications can be run, debugged or deployed also. Reproduced with Buzz 8 on WinXP
Comment 5 Jaroslav Pospisil 2005-05-30 15:14:57 UTC
I've tried to deploy web application directly from admin console and it was
installed correctly(I still had to install it,no matter of broken deployment
from Netbeans),but when I tried to deploy it,Weblogic 9 beta server wrote "This
feature is not available in the beta version".
I've searched the BAE pages and found only the Weblogic 9.0 beta version,so I'm
not able to verify this.
Comment 6 Alexander Kouznetsov 2005-05-31 16:41:40 UTC
Remote deployment also doesn't work.
Comment 7 Pavel Buzek 2005-07-29 14:23:30 UTC
There is a new feature that was added in final 90 release: autodeployment of
apps from a directory. That means weblogic can use similar code as jboss for
deployment instead of jsr88.
Comment 8 Pavel Buzek 2005-07-31 00:17:17 UTC
Created attachment 23377 [details]
commit log - fix of deployment
Comment 9 Pavel Buzek 2005-07-31 04:25:10 UTC
/cvs/serverplugins/weblogic9/nbproject/project.xml,v  <--  project.xml
new revision: 1.9; previous revision: 1.8
/cvs/serverplugins/weblogic9/src/org/netbeans/modules/j2ee/weblogic9/optional/WLStartServer.java,v
 <--  WLStartServer.java
new revision: 1.6; previous revision: 1.5

With that I can run _and debug_ web apps on weblogic 90 in trunk version of plugin.
Comment 10 Michal Mocnak 2005-09-07 11:21:20 UTC
Verified in trunk