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 151485 - Exception when I run Enterprise App. on WebLogic 10
Summary: Exception when I run Enterprise App. on WebLogic 10
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: WebLogic (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-27 15:26 UTC by Martin Fousek
Modified: 2008-10-31 13:50 UTC (History)
1 user (show)

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 Martin Fousek 2008-10-27 15:26:27 UTC
Product Version: NetBeans IDE 6.5 RC2 (Build 200810270001)
Java: 1.5.0_15; Java HotSpot(TM) Client VM 1.5.0_15-b04
System: Linux version 2.6.24-19-generic running on i386; UTF-8; en_US (nb)

Observed:
I have WebLogic server 10. When I create Enterprise Application  with Java EE 1.4 with some SessionBean and invoke run,
everything works well. But when I create it with Java EE 5 with some SessionBean and invoke run the Exception appears. I
don't know, if the Java EE 5 is supported or not. But in the first case it should work and in the second case it
shouldn't be possible to create Enterprise Application with Java EE 5 with WebLogic 10.

Exception:
java.net.MalformedURLException: no protocol: ${client.url}
        at java.net.URL.<init>(URL.java:567)
        at java.net.URL.<init>(URL.java:464)
        at java.net.URL.<init>(URL.java:413)
        at org.netbeans.modules.ant.browsetask.NbBrowse.execute(NbBrowse.java:75)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.GeneratedMethodAccessor88.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:357)
        at org.apache.tools.ant.Target.performTasks(Target.java:385)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
        at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:273)
        at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:499)
        at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
BUILD FAILED (total time: 1 second)
Comment 1 Martin Fousek 2008-10-27 22:51:34 UTC
I'm increasing priority. The same problem is with the WebSphere 6.1 on Windows XP machine with Jave EE 1.4 sources. I
can deploy Web Application, EJB Module, but when I create Enterprise Application with EJB and Web, this exception appears.

java.net.MalformedURLException: no protocol: ${client.url}
        at java.net.URL.<init>(URL.java:567)
        at java.net.URL.<init>(URL.java:464)
        at java.net.URL.<init>(URL.java:413)
        at org.netbeans.modules.ant.browsetask.NbBrowse.execute(NbBrowse.java:75)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.GeneratedMethodAccessor197.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:357)
        at org.apache.tools.ant.Target.performTasks(Target.java:385)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
        at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:273)
        at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:499)
        at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
Comment 2 Petr Hejl 2008-10-29 14:55:17 UTC
Fixed in main for WL 5ef0ffdff342. There was a copy-pasted code from JBoss :(
Comment 3 Petr Blaha 2008-10-29 15:28:28 UTC
I'm marking the bug as candidate for NB 6.5 Patch1.
Comment 4 Petr Hejl 2008-10-29 20:16:28 UTC
WebSphere issue is different. Seems like not fully implemented jsr88 support. Working on it.
Comment 5 Petr Hejl 2008-10-29 21:30:10 UTC
Fixed in main for WS 9140fab9fd36. We have to adapt the workarounding code to new behaviour.
Comment 6 Quality Engineering 2008-10-30 04:58:17 UTC
Integrated into 'main-golden', will be available in build *200810300201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/5ef0ffdff342
User: phejl@netbeans.org
Log: #151485 Exception when I run Enterprise App. on WebLogic 10
Comment 7 Martin Fousek 2008-10-30 11:34:28 UTC
I think, that it is quite serious problem to can't deploy Enterprise Applications on this two servers. It is common use
case, it should be fixed in 6.5 release.
Comment 8 Martin Fousek 2008-10-30 12:33:19 UTC
I tested it with Ubuntu for WebLogic and with Windows XP for WebSphere as before and everything works well. Thanks for
the fix.
Verified with NetBeans IDE Dev (Build 200810300201).
Comment 9 Petr Hejl 2008-10-31 13:50:10 UTC
Fixed in release65 as ba9b0945f161 and 07804024c688.