Bug 161284 - [WSphere] WebSphere is not recognized by ide
[WSphere] WebSphere is not recognized by ide
Status: NEW
Product: serverplugins
Classification: Unclassified
Component: WebSphere
6.x
All All
: P2 (vote)
: TBD
Assigned To: Petr Hejl
issues@serverplugins
: REGRESSION
: 164067 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-26 16:36 UTC by Michal Mocnak
Modified: 2012-12-06 13:43 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
:


Attachments
Error Log (2.51 KB, text/plain)
2009-03-26 16:37 UTC, Michal Mocnak
Details
stacktrace (8.86 KB, text/plain)
2010-06-22 16:40 UTC, esmithbss
Details
stacktrace (5.70 KB, text/plain)
2010-06-22 16:55 UTC, esmithbss
Details
stacktrace (3.12 KB, text/plain)
2010-06-22 17:52 UTC, esmithbss
Details
Patches for this bug (11.89 KB, application/x-zip-compressed)
2012-11-01 09:21 UTC, bass2011
Details
attached the patches (1.40 KB, patch)
2012-11-14 19:08 UTC, bass2011
Details | Diff
Here is my patch. Can you please review and integrate it if you find no > problems? Thanks. (7.35 KB, patch)
2012-11-14 19:13 UTC, bass2011
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Mocnak 2009-03-26 16:36:23 UTC
Found in main 03262009 on Debian Lenny 5, JDK1.6.0_12

1. add instance of IBM websphere 6.1
2. start it

==> after startup the server is not recognized, throws java.lang.NoClassDefFoundError see attachement for details
Comment 1 Michal Mocnak 2009-03-26 16:37:07 UTC
Created attachment 78922 [details]
Error Log
Comment 2 Petr Jiricka 2009-03-27 15:41:56 UTC
Could this be a JDK 5 vs. JDK 6 issue?
Comment 3 Michal Mocnak 2009-03-31 09:38:57 UTC
I don't think so. Both the ide and the websphere is running on jdk6. Actually when i tested it 1 month ago it was fine
on jdk6.
Comment 4 Petr Jiricka 2009-04-08 13:12:17 UTC
Ok, marking as a regression.
Comment 5 Petr Hejl 2009-04-16 13:21:13 UTC
Perhaps related to issue 155521.

This is tough one. Perhaps a classpath issue - hundreds of jars (even with duplicate entries) and without any relevant
dev doc or source code...
Comment 6 Michal Mocnak 2009-04-29 13:36:12 UTC
*** Issue 164067 has been marked as a duplicate of this issue. ***
Comment 7 pparisi 2009-08-27 04:22:07 UTC
Note, websphere 6.1 does not use JDK 1.6 so best to best it only with IBM JDK 1.5.x
I notice the support is gone completely now.  Really need it put back please. Let me know if I can help.
Comment 8 Petr Jiricka 2009-08-27 09:08:24 UTC
WebSphere plugin is now available on the update center for the NB 6.8 Dev builds (not for 6.7.1 though). The sources
continue to be in the NetBeans repository under j2ee.websphere6. For anyone who would like to help, it would be great if
you could try out the plugin, find out how to make it work, which JDK/OS/WebSphere version combinations work and which
don't, write a HOWTO document in Wiki, or debug what's wrong and why it broke, submit a patch... Thanks. Any help is
appreciated.
Comment 9 esmithbss 2010-06-22 16:40:34 UTC
Created attachment 100332 [details]
stacktrace

Attempting to launch an IBM WebSphere server using the WAS integration plugin.
Comment 10 esmithbss 2010-06-22 16:55:34 UTC
Created attachment 100333 [details]
stacktrace

Clicked Refresh on the IBMWebSphere Application Server V6.1 link which I created using the WebSphere Integration Plugin.  Response indicated a "Slow Item" exception; however, response was returned in less than 1 second.
Comment 11 esmithbss 2010-06-22 17:52:34 UTC
Created attachment 100334 [details]
stacktrace

Starting the Web Objects Server.

It appears that the web objects server integration is not parsing the log file properly to recognize the "open for e-business" statement that indicates the server is running.
Comment 12 bass2011 2012-10-29 13:19:28 UTC
Can I NetFIX this bug? Thanks a lot.
Comment 13 bass2011 2012-11-01 09:21:31 UTC
Created attachment 126907 [details]
Patches for this bug

Here is my patch. Can you please review and integrate it if you find no problems? Thanks.
Comment 14 Petr Hejl 2012-11-02 17:39:05 UTC
(In reply to comment #13)
> Created attachment 126907 [details]
> Patches for this bug
> 
> Here is my patch. Can you please review and integrate it if you find no
> problems? Thanks.
Please provide a minimal patch so it can be reviewed. This patch contains lot of false changes unrelated to functionality - empty lines, chahges in formatting etc.
Comment 15 bass2011 2012-11-14 19:08:50 UTC
Created attachment 127808 [details]
attached the patches
Comment 16 bass2011 2012-11-14 19:13:09 UTC
Created attachment 127810 [details]
Here is my patch. Can you please review and integrate it if you find no > problems? Thanks.
Comment 17 bass2011 2012-11-14 19:13:55 UTC
Here is my patch. Can you please review and integrate it if you find no problems? Thanks.
Comment 18 Petr Hejl 2012-12-06 13:43:40 UTC
(In reply to comment #17)
> Here is my patch. Can you please review and integrate it if you find no
> problems? Thanks.
Well the patch on its own is not compilable. I guess it does not contain updated usage of WSClassLoader. So might comment might not be accurate dues to this.

What is the usage of loadClassesToURLs()? It looks like refactoring. Why is it public static?

Is the only real change this:
new File(serverRoot + "/runtimes/")
and this:
System.setProperty("com.ibm.ssl.performURLHostNameVerification", "true");
?

Why has been findClass and getPermissions redefined? Is the com.ibm.ssl.performURLHostNameVerification needed to be true? IDE is used for development - dos not this prevent usage of dev instances of WS running on different hostname?


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo