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 204749 - EAR with invalid EJB module cannot be redeployed
Summary: EAR with invalid EJB module cannot be redeployed
Status: VERIFIED WORKSFORME
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-07 09:48 UTC by Jiri Skrivanek
Modified: 2011-11-16 14:30 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Server log. (19.02 KB, text/plain)
2011-11-07 09:48 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2011-11-07 09:48:35 UTC
Created attachment 112907 [details]
Server log.

It is not possible to redeploy fixed EAR application if previously deployed with invalid EJB module. To reproduce:

- install WebLogic.next server
- create EAR project
- run project
- it is not deployed because EJB module doesn't contain any bean
- create new session bean in EJB module
- run EAR project again but it fails

Deployment failed. The message was: weblogic.application.ModuleException: Context path '/EnterpriseApplication2-war' is already in use by the module: EnterpriseApplication2-war application: EnterpriseApplication2
D:\hg\main\nbbuild\testuserdir\EnterpriseApplication2\nbproject\build-impl.xml:288: The module has not been deployed.
See the server log for details.
BUILD FAILED (total time: 3 seconds)

- in Services tab under server node project is displayed as deployed but stopped

Product Version: NetBeans IDE Dev (Build 20111107-1744e2c682e3)
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-09 10:33:04 UTC
This works for me now. I guess this has been fixed by fixes for issue #204751 and issue #204763. Please verify.
Comment 2 Jiri Skrivanek 2011-11-10 13:58:26 UTC
Still reproducible.

Product Version: NetBeans IDE Dev (Build 201111100600)
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 3 Petr Hejl 2011-11-14 18:24:49 UTC
(In reply to comment #2)
> Still reproducible.
> 
> Product Version: NetBeans IDE Dev (Build 201111100600)
> 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)

Is it for sure? I mean by creation of fresh EAR app? This is not reproducible for me.
Comment 4 Jiri Skrivanek 2011-11-16 14:30:46 UTC
Works for me with WebLogic.next build from November 14-th.