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 64875 - Cannot add Weblogic server into IDE when using JDK 1.4
Summary: Cannot add Weblogic server into IDE when using JDK 1.4
Status: VERIFIED FIXED
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: 2005-09-22 09:59 UTC by Jaroslav Pospisil
Modified: 2005-10-19 10:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
java.lang.reflect.InvocationTargetException (22.42 KB, text/plain)
2005-09-22 10:00 UTC, Jaroslav Pospisil
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Pospisil 2005-09-22 09:59:49 UTC
Build 200509210657(beta)

When using JDK 1.4.2 you cannot add Weblogic 9.0 server into IDE.
Try it,follow the wizard and when you click on Finish button,exception is invoked.
You can cancel it,but then no server is added.
Comment 1 Jaroslav Pospisil 2005-09-22 10:00:59 UTC
Created attachment 25051 [details]
java.lang.reflect.InvocationTargetException
Comment 2 Petr Jiricka 2005-09-23 12:58:08 UTC
Well, Weblogic 9 itself only runs on Java SE 5. So for running the server,
you'll need JDK 1.5 installed. In the IDE, we should either allow adding the
server on JDK 1.4.2 and then run the server on 1.5, or disallow it completely
and give the user a friendly message about this.
Comment 3 Jaroslav Pospisil 2005-09-26 13:38:46 UTC
I'd prefer second solution - there's always possibility,that user is running IDE
on computer,where is only JDK 1.4 .Other solution could be don't allow user to
see BEA Weblogic Appserver 9.0 in "add server" wizard list,when he's running IDE
on JDK 1.4 ,it should be also mentioned in help. 
Comment 4 Libor Kotouc 2005-10-13 10:34:47 UTC
Fixed.

Checking in ui/wizard/ServerLocationPanel.java;
/cvs/serverplugins/weblogic9/src/org/netbeans/modules/j2ee/weblogic9/ui/wizard/ServerLocationPanel.java,v
 <--  ServerLocationPanel.java
new revision: 1.6; previous revision: 1.5
done
Checking in ui/wizard/Bundle.properties;
/cvs/serverplugins/weblogic9/src/org/netbeans/modules/j2ee/weblogic9/ui/wizard/Bundle.properties,v
 <--  Bundle.properties
new revision: 1.5; previous revision: 1.4
done
Checking in WLPluginProperties.java;
/cvs/serverplugins/weblogic9/src/org/netbeans/modules/j2ee/weblogic9/WLPluginProperties.java,v
 <--  WLPluginProperties.java
new revision: 1.3; previous revision: 1.2
done
Comment 5 Jaroslav Pospisil 2005-10-19 10:26:47 UTC
Verified in 200510171800.