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 223824 - UnsupportedOperationException: Starting in profile mode is not supported by this server.
Summary: UnsupportedOperationException: Starting in profile mode is not supported by t...
Status: RESOLVED INCOMPLETE
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: TomasKraus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-14 08:56 UTC by pavaneshwar
Modified: 2012-12-17 10:37 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 195994


Attachments
stacktrace (670 bytes, text/plain)
2012-12-14 08:56 UTC, pavaneshwar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pavaneshwar 2012-12-14 08:56:52 UTC
This issue was reported manually by pavaneshwar.
It already has 2 duplicates 


Build: NetBeans IDE 7.2.1 (Build 201210100934)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.1-b03, Java(TM) SE Runtime Environment, 1.7.0_05-b05
OS: Windows 7

User Comments:
pavaneshwar: Clicked on the "Start in Profile mode" option in context menu of the Glassfishv2 b58 server.




Stacktrace: 
java.lang.UnsupportedOperationException: Starting in profile mode is not supported by this server.
   at org.netbeans.modules.j2ee.deployment.plugins.spi.StartServer.startProfiling(StartServer.java:255)
   at org.netbeans.modules.j2ee.deployment.impl.ServerInstance._startProfile(ServerInstance.java:1541)
   at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.startProfile(ServerInstance.java:1127)
   at org.netbeans.modules.j2ee.deployment.impl.ui.actions.ProfileAction$1.run(ProfileAction.java:106)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1452)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2032)
Comment 1 pavaneshwar 2012-12-14 08:56:54 UTC
Created attachment 129362 [details]
stacktrace
Comment 2 TomasKraus 2012-12-14 14:52:21 UTC
This looks like GlassFish v3 plugin issue with GlassFish v2 server.

org.netbeans.modules.j2ee.deployment.plugins.spi.StartServer is part of Java EE server registry SPI. But I'm missing anything pointing to GlassFish plugin except knowing that you were working with GlassFish.

Please describe some reproduction scenario:
1) What server did you use (GlassFish v2 b58)?
2) How did you registered this server in NetBeans?
3) What plugin did you use to register server?
4) What exact steps did you do in UI before this exception.
Comment 3 pavaneshwar 2012-12-14 17:03:27 UTC
I am using GlassFish v2 b58.
NetBeans v7.1 and above (I suppose) does not support the addition of Glassfish v2.
Fortunately, I had this plugin in the older version of NetBeans.

After installing the latest version I was prompted to import the existing plug-ins, which has the GFv2 plug-in.
I did import the plug-in from old version of NB.

In the "Services" tab, under "Servers", I selected the "Start in Profile mode" option in context menu of the Glassfishv2 b58 server.

That is how I can reproduce this issue.