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.
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)
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)
Fixed in main for WL 5ef0ffdff342. There was a copy-pasted code from JBoss :(
I'm marking the bug as candidate for NB 6.5 Patch1.
WebSphere issue is different. Seems like not fully implemented jsr88 support. Working on it.
Fixed in main for WS 9140fab9fd36. We have to adapt the workarounding code to new behaviour.
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
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.
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).
Fixed in release65 as ba9b0945f161 and 07804024c688.