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 73133 - Exception when new Web Application is created targeted Web Logic server
Summary: Exception when new Web Application is created targeted Web Logic server
Status: CLOSED INVALID
Alias: None
Product: serverplugins
Classification: Unclassified
Component: WebLogic (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Libor Kotouc
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-01 15:18 UTC by Alexander Kouznetsov
Modified: 2006-07-12 16:48 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception (2.82 KB, text/plain)
2006-03-01 15:18 UTC, Alexander Kouznetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kouznetsov 2006-03-01 15:18:31 UTC
Reproduced with JSE 8.1, 2006.02.25

Steps to reproduce:
- Register WebLogic server. I had it stopped when this issue was catched
- Press New Project
- Select Web > Web Application. Click Next
- Select BEA WebLogic as target Server. Click Finish
- Result: java.lang.RuntimeException:
javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException:
Cannot create weblogic DeploymentManager instance.
Comment 1 Alexander Kouznetsov 2006-03-01 15:18:56 UTC
Created attachment 29067 [details]
Exception
Comment 2 Libor Kotouc 2006-03-01 16:10:06 UTC
Please try it with NetBeans 5.0 or later. If it happens, please reopen.

Btw, only Weblogic 9.0 is supported.

And it seems that there is some problem with your configuration. That part
throws exception intentionally when it is trying to access some class placed in
some server library and exception occurs.
Comment 3 Alexander Kouznetsov 2006-03-23 13:46:22 UTC
Still reproducible with Coco 20060320 build. The exception was thrown when New
Enterprise Application was created. Moreover, mouse cursor changed to hourglass
and didn't change back.
Comment 4 Libor Kotouc 2006-04-19 16:27:18 UTC
When WL server is not running then all calls to
InstancePropertiesImpl.getDeploymentManager() correctly throw
DeploymentManagerCreationException because connection to a running instance is
needed by the WL implementation. The solution is to call
get*Disconnected*DeploymentManager(). 

The client code calling InstancePropertiesImpl.getDeploymentManager() needn't
access non-API method at all. If a server recognition is required then
J2eeModuleProvider.getServerID() method should be called.
Comment 5 Alexander Kouznetsov 2006-06-02 12:29:07 UTC
Still reproducible with JSE 8.1 (2006.05.31).
Comment 6 Libor Kotouc 2006-06-02 12:41:33 UTC
Please reopen if the exception is different than in the attachment 29067 [details]. This
exception is not caused by NetBeans as I already described in my last comment.
Comment 7 Alexander Kouznetsov 2006-06-02 13:01:57 UTC
The exception is completely identical. Could you, please, provide more comments. Even it is not NB-related exception it is still shown within NB while the user tries to perform some reasonable action. This is not the acceptable behavior both the exception and the way the IDE handles it.
Comment 8 Petr Jiricka 2006-06-05 10:20:14 UTC
This looks like an issue in the Enterprise Profiler. Can this be assigned to a
developer responsible for this component?
Comment 9 Alexander Kouznetsov 2006-06-05 15:59:14 UTC
Reopened as far as this behavior is not acceptable. Please, fix or re-assign the issue.
Comment 10 Petr Jiricka 2006-06-05 17:56:40 UTC
Changing Version to 'Other' (not reproducible with NetBeans 5.0; we have no
specific version value for JSE 8.1).
Comment 11 Alexander Kouznetsov 2006-06-06 08:40:38 UTC
Probably, we should add a version value for JSE 8.1.
Comment 12 Alexander Kouznetsov 2006-06-06 13:53:18 UTC
Will be tracked as CR 6434455
Comment 13 Marian Mirilovic 2006-06-07 13:36:10 UTC
removing JSE 8.1 version