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 128576 - unable to deploy j2ee 1.4 ear
Summary: unable to deploy j2ee 1.4 ear
Status: VERIFIED DUPLICATE of bug 128512
Alias: None
Product: serverplugins
Classification: Unclassified
Component: JBoss (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on: 128512
Blocks:
  Show dependency tree
 
Reported: 2008-02-27 15:31 UTC by Radim Roska
Modified: 2008-03-03 10:20 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 Radim Roska 2008-02-27 15:31:37 UTC
jboss 5 beta 4

deploying of ear 1.4 application is not possible. 

operation undeploy and deploy is finished immediately and seemingly successfully. But in fact its not deployed. 
operation run on this project ends with following error: 
(same as in http://www.netbeans.org/issues/show_bug.cgi?id=121835 and http://www.netbeans.org/issues/show_bug.cgi?id=128512)

Browsing: ${client.url}
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.GeneratedMethodAccessor111.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:105)
        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:1329)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
        at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:277)
        at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:460)
        at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
BUILD FAILED (total time: 2 seconds)
Comment 1 David Konecny 2008-02-27 21:00:41 UTC

*** This issue has been marked as a duplicate of 128512 ***
Comment 2 Vince Kraemer 2008-02-27 21:51:17 UTC
this is not a dup of 128576... JBoss doesn't do directory deployment....
Comment 3 David Konecny 2008-02-28 06:11:26 UTC
I do not have JBoss handy to test this, but regardless of type of deployment the cause in EarProject type is the same.
Please reopen if still a problem. Thanks, David.

*** This issue has been marked as a duplicate of 128512 ***
Comment 4 Petr Hejl 2008-02-28 15:08:18 UTC
It works now. Note you have to create at least one ejb, otherwise the ejb dd is not valid.

Radim can you verify?
Comment 5 Radim Roska 2008-03-03 10:20:07 UTC
VERIFIED