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 114352 - unable to register domain instance via add services window
Summary: unable to register domain instance via add services window
Status: RESOLVED WORKSFORME
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 6.x
Hardware: Macintosh Mac OS X
: P3 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-31 11:20 UTC by Kenneth Ganfield
Modified: 2007-08-31 22:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kenneth Ganfield 2007-08-31 11:20:21 UTC
Using the Add Server Instance dialog, I am unable to add any glassfish servers and have them appear in the services window.

Product Version: NetBeans IDE Dev (Build 200708280000) Java: 1.5.0_07; Java HotSpot(TM) Client VM 1.5.0_07-87 System:
Mac OS X version 10.4.10 running on i386; MacRoman; en_US (nb) Userdir:
/Applications/Netbeans_builds/userdirs/userdir6.0_20070828_base

I install the Java SE IDE.
I then update the IDE and add the Web App, Java EE and SJSAS plugin [Version: 1.3.0.1.1] via Plugin Manager
Plugins all installed fine.

I go to Services window.
Servers node is empty so i click Add Server.
In Add Server Instance dialog i try to add a GlassFish V2 instance.

I tried to register local default domain for GlassFish b53 and for b58c 
I step through wizard and after I click Finish i get the following warning:
Failed to create instance GlassFish V2. See server log for details.

I try to create a new personal domain.
After stepping through the wizard i create the domain.
The creation message is displayed in the Output window. (see below).
But instance is not added to Servers node.

I try to register the new personal domain but the result is the same.

I was able to add all of the above instances if I use a full IDE install.


Create domain message in Output window:
Please, wait while the domain is being created...
Using port 4852 for Admin.
Using port 8084 for HTTP Instance.
Using port 7680 for JMS.
Using port 3704 for IIOP.
Using port 8185 for HTTP_SSL.
Using port 3824 for IIOP_SSL.
Using port 3924 for IIOP_MUTUALAUTH.
Using port 8690 for JMX_ADMIN.
Domain being created with profile:developer, as specified by variable AS_ADMIN_PROFILE in configuration file.
Security Store uses: JKS
Domain mydomain2 created.
Comment 1 Kenneth Ganfield 2007-08-31 13:29:23 UTC
after installing the Tomcat server plugin, i tried to register an instance of tomcat 6.
I was unable to add an instance.

I did get the following warning, possibly related

org.netbeans.modules.j2ee.deployment.plugins.api.InstanceCreationException: Failed to create instance Tomcat 6.0.  See
the server log file for details.
	at org.netbeans.modules.j2ee.deployment.impl.ServerRegistry.addInstance(ServerRegistry.java:286)
	at
org.netbeans.modules.j2ee.deployment.plugins.api.InstanceProperties.createInstanceProperties(InstanceProperties.java:162)
	at org.netbeans.modules.tomcat5.wizard.AddInstanceIterator.instantiate(AddInstanceIterator.java:105)
	at
org.netbeans.modules.j2ee.deployment.impl.ui.wizard.AddServerInstanceWizard$AddServerInstanceWizardIterator.instantiate(AddServerInstanceWizard.java:241)
	at org.openide.WizardDescriptor.callInstantiateOpen(WizardDescriptor.java:1354)
	at org.openide.WizardDescriptor.callInstantiate(WizardDescriptor.java:1308)
	at org.openide.WizardDescriptor.access$1600(WizardDescriptor.java:97)
	at org.openide.WizardDescriptor$Listener$2$1.run(WizardDescriptor.java:1877)
	at org.openide.WizardDescriptor$Listener$2.run(WizardDescriptor.java:1926)
	at org.openide.WizardDescriptor.lazyValidate(WizardDescriptor.java:1283)
	at org.openide.WizardDescriptor.access$1200(WizardDescriptor.java:97)
	at org.openide.WizardDescriptor$Listener.actionPerformed(WizardDescriptor.java:1933)
	at sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:427)
	at $Proxy16.actionPerformed(Unknown Source)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
	at java.awt.Component.processMouseEvent(Component.java:5554)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
	at java.awt.Component.processEvent(Component.java:5319)
	at java.awt.Container.processEvent(Container.java:2010)
	at java.awt.Component.dispatchEventImpl(Component.java:4021)
	at java.awt.Container.dispatchEventImpl(Container.java:2068)
	at java.awt.Component.dispatchEvent(Component.java:3869)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
	at java.awt.Container.dispatchEventImpl(Container.java:2054)
	at java.awt.Window.dispatchEventImpl(Window.java:1774)
	at java.awt.Component.dispatchEvent(Component.java:3869)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:180)
	at java.awt.Dialog$1.run(Dialog.java:517)
	at java.awt.Dialog$2.run(Dialog.java:545)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.Dialog.show(Dialog.java:543)
	at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:812)
	at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:846)
	at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:834)
	at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:82)
	at org.openide.util.Mutex.doEventAccess(Mutex.java:1201)
	at org.openide.util.Mutex.readAccess(Mutex.java:220)
	at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:819)
	at java.awt.Component.show(Component.java:1300)
	at java.awt.Component.setVisible(Component.java:1253)
	at
org.netbeans.modules.j2ee.deployment.impl.ui.wizard.AddServerInstanceWizard.showAddServerInstanceWizard(AddServerInstanceWizard.java:80)
	at
org.netbeans.modules.j2ee.deployment.impl.ui.actions.AddServerInstanceAction.performAction(AddServerInstanceAction.java:38)
	at org.openide.util.actions.NodeAction$DelegateAction$1.run(NodeAction.java:559)
	at org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:55)
	at org.openide.util.actions.NodeAction$DelegateAction.actionPerformed(NodeAction.java:555)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
	at javax.swing.AbstractButton.doClick(AbstractButton.java:334)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
	at java.awt.Component.processMouseEvent(Component.java:5554)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
	at java.awt.Component.processEvent(Component.java:5319)
	at java.awt.Container.processEvent(Container.java:2010)
	at java.awt.Component.dispatchEventImpl(Component.java:4021)
	at java.awt.Container.dispatchEventImpl(Container.java:2068)
	at java.awt.Component.dispatchEvent(Component.java:3869)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
	at java.awt.Container.dispatchEventImpl(Container.java:2054)
	at java.awt.Window.dispatchEventImpl(Window.java:1774)
	at java.awt.Component.dispatchEvent(Component.java:3869)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Comment 2 Vince Kraemer 2007-08-31 22:50:10 UTC
I did the following on solaris

1. deleted my current build, nbbuild/netbeans (which was a standard build)
2. deleted all my module build directories.
3. rebuilt using -Dcluster.config=basic
4. started this new build in a clean user directory
5. connected to the update center to fetch Web, Java EE and Sun App server plugin
6. restarted the IDE
7. register a local default domain successfully for b58c...

I was on Solaris 10, using jdk 1.6.0_02. 

Will test using an installer'ed version 
Comment 3 Vince Kraemer 2007-08-31 22:56:51 UTC
cannot get a recent real installer.

closing as WFM.

Please reopen this if you see this behavior on a more recent build that 200708280000...

One other note: I had to restart the IDE to get the Servers node to appear... I tried using the restart later, but the
Servers node did not appear.  If you were able to see the servers node without restarting your IDE, it looks like there
have been other changes that resolved this...