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 90828 - WebSphere cannot be detected by IDE
Summary: WebSphere cannot be detected by IDE
Status: CLOSED WORKSFORME
Alias: None
Product: serverplugins
Classification: Unclassified
Component: WebSphere (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: issues@serverplugins
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-08 14:57 UTC by Roman Mostyka
Modified: 2007-04-09 13:20 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE's log (21.66 KB, text/plain)
2006-12-12 15:49 UTC, Roman Mostyka
Details
Exception from scenario 1 (1.08 KB, text/plain)
2006-12-20 17:14 UTC, Alexander Kouznetsov
Details
Exceptions from scenario 2 (17.15 KB, text/plain)
2006-12-20 17:15 UTC, Alexander Kouznetsov
Details
Exceptions from scenario 2 on IDE start up (6.42 KB, text/plain)
2006-12-20 17:25 UTC, Alexander Kouznetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Mostyka 2006-12-08 14:57:46 UTC
1. Add WebSphere. Start it.

Result: WebSphere started, but it's state in IDE is 'stopped'.

2. Restart IDE.

Result: WebSphere started, but it's state in IDE is 'stopped'.

3. Restart WebSphere outside of IDE.

Result: WebSphere started, but it's state in IDE is 'stopped'.

4. Close IDE and remove .netbeans. Start IDE. Add WebSphere.

Result: WebSphere started ant it's state in IDE is 'started'.
Comment 1 Roman Mostyka 2006-12-12 15:49:52 UTC
Created attachment 36616 [details]
IDE's log
Comment 2 Alexander Kouznetsov 2006-12-20 17:07:40 UTC
This issue is approximately 40% reproducible. I found no dependencies on
environment. The general behavior is as following: when IDE is started it either
is in "good" shape when everything works just fine, or in "bad" when the
following scenarios are experienced:

1. If Refresh action is invoked against WebSphere node and it is running, an
exception is thrown and the icon is blinking in NB notification area (Exception
is attached):
java.lang.ClassCastException:
com.ibm.ws.management.application.j2ee.deploy.spi.factories.DeploymentFactoryImpl


2. If Web Application targeting WebSphere server is opened or created an
exception is thrown and the application cannot be opened. This also could happen
if user starts IDE and there are some projects to be opened during start up
which are WebSphere-targeted. (The exceptions are attached)
Comment 3 Alexander Kouznetsov 2006-12-20 17:14:19 UTC
Created attachment 36851 [details]
Exception from scenario 1
Comment 4 Alexander Kouznetsov 2006-12-20 17:15:11 UTC
Created attachment 36852 [details]
Exceptions from scenario 2
Comment 5 Alexander Kouznetsov 2006-12-20 17:25:37 UTC
Created attachment 36853 [details]
Exceptions from scenario 2 on IDE start up
Comment 6 dlipin 2006-12-28 09:53:49 UTC
I couldn`t reproduce the issue at all. I`ve tried the same JDK, netbeans, 
websphere module, locale, websphere server.

I close the issue as WORKSFORME. Please reopen it if you find 100% steps of 
reproduction.

The first possible reason of such a behavior is the firewall. Please turn it off 
and try to reproduce the issue.
 The other possible reason is the broken userdir. Please delete it entirely and 
try to reproduce the issue again.
Comment 7 Alexander Kouznetsov 2007-02-13 20:44:22 UTC
Verified with NB 5.5 build 200610171010 on WinXP