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 204505 - Cannot run EAR project with WebLogic12.1.1
Summary: Cannot run EAR project with WebLogic12.1.1
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: WebLogic (show other bugs)
Version: 7.1
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-01 13:04 UTC by Jiri Skrivanek
Modified: 2011-11-07 09:58 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 Jiri Skrivanek 2011-11-01 13:04:12 UTC
EAR project is successfully deployed but wrong address for browser is generated (http://localhost:7001EnterpriseApplication1-war). To reproduce:

- install WebLogic12.1.1 (JDK1.7.0_01)
- register WebLogic to IDE
- create EAR project (Java EE 6)
- run project. It is deployed but the following error appears:

run-deploy:
Browsing: http://localhost:7001EnterpriseApplication3-war
D:\Development\builds\nbUserdir-20111101121827\EnterpriseApplication3\nbproject\build-impl.xml:315: 
java.net.MalformedURLException: For input string: "7001EnterpriseApplication3-war"
	at java.net.URL.<init>(URL.java:617)
	at java.net.URL.<init>(URL.java:480)
	at java.net.URL.<init>(URL.java:429)
	at org.netbeans.modules.ant.browsetask.NbBrowse.execute(NbBrowse.java:78)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
	at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	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:390)
	at org.apache.tools.ant.Target.performTasks(Target.java:411)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
	at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:285)
	at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:539)
	at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)
Caused by: java.lang.NumberFormatException: For input string: "7001EnterpriseApplication3-war"
	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
	at java.lang.Integer.parseInt(Integer.java:492)
	at java.lang.Integer.parseInt(Integer.java:527)
	at java.net.URLStreamHandler.parseURL(URLStreamHandler.java:217)
	at java.net.URL.<init>(URL.java:612)
	... 18 more
BUILD FAILED (total time: 9 seconds)

Product Version: NetBeans IDE Dev (Build 201110310600)
Java: 1.7.0_01; Java HotSpot(TM) Client VM 21.1-b02
System: Windows XP version 5.1 running on x86; Cp1250; en_US (nb)
Comment 1 Petr Hejl 2011-11-04 11:18:12 UTC
Fixed in web-main bca7023a552a.
Comment 2 Quality Engineering 2011-11-05 03:00:56 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/bca7023a552a
User: Petr Hejl <phejl@netbeans.org>
Log: #204505 Cannot run EAR project with WebLogic12.1.1