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.
I had problems starting the AppServer8 PE in Netbeans with the result that I got 3 error windows. The text of 2 of the boxes can be seen in the output in the terminal. one of the error boxes only had an OK button and no text. Netbeans IDE 20050831 3 AppServers installed. Each has domains folder. I create a clean userdir and do the following: AppServer1 1. I add server in the runtime window. I add a domain [domain1] created with installation of AppServer. The domains folder in the appserver has the default domain [domain1]. port is 4848. 2. I try to start server. After long progress bar activity app server fails to start. I get the 3 error windows. My guess is the problem may be with the domain.xml for the domain in AppServer1, and that possibly some old registered apps named in the xml are causing some error. but i cannot tell. AppServer2 1. I choose add server in the runtime window. 2. I change the port number in the wizard and then locate the old domains directory and enter the name of the domain [mynewDomain] 2. I click ok and i get message about the IDE changing port automatically to that for mynewDomain. the port number is 4890. 3. I try to start server. Server starts. AppServer3 I remove Appserver1 and add Appserver3 [appserver1 and 3 use same port:4848] i try to start AppServer3. AppServer3 starts. ++++++++++++++++++++++ Here is output from terminal leading up to the 3 error windows: INFORMATIONAL *********** Exception occurred ************ at 12:51 PM on Sep 5, 2005 java.lang.Exception: at org.netbeans.modules.j2ee.sun.ide.j2ee.HttpMonitorSupport.synchronize MonitorWithFlag(HttpMonitorSupport.java:91) at org.netbeans.modules.j2ee.sun.ide.j2ee.StartSunServer.run(StartSunSer ver.java:262) at org.openide.util.Task.run(Task.java:207) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:469) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java :870) The Sun Java System Application Server 8.1 could not start. More information about the cause is in the Server log file. Possible reasons include: - Port conflicts. (use netstat -a to detect possible port numbers already used by the operating system.) - Incorrect server configuration (domain.xml to be corrected manually) - Corrupted Deployed Applications preventing the server to start.(This can be s een in the server.log file. In this case, domain.xml needs to be modified).
Incomplete bug: We need the 3 domain.xml to see for possible port conflits. We also need to know what apps where running on this machine at the time. The error message is that the server cannot start for some reasons. Most of the time, these reasons are correct, and are machine current status dependant. I cannot reproduce the bug from the intruction. Unless you can reproduce the bug on your system, and then attach the 3 domain.xml adn the 3 server logs are the status of the machine (netstat...), I will make the bug as workforme.
i can now reproduce the bug in latest build [200510050715] with clean userdir. i have narrowed it down to what seems to be the domain.xml file for an older domain. i am attaching the domain.xml file. this domain.xml causes the bug even when it is the only server instance/domain registered. so maybe it is not port conflict but somehow the domain.xml is corrupted/bad info.
Created attachment 25560 [details] domain.xml file
Created attachment 25561 [details] message.log file for the build with error
Error is the separator char between the domain name and the domain directory. Working on a fix now.
cvs commit -m "Fix for http://www.netbeans.org/issues/show_bug.cgi?id=63655" -- AddDomainDirectoryPanel.java AddServerVisualPanel.java Util.java (in directory C:\acvs\nb_all\serverplugins\sun\appsrv81\src\org\netbeans\modules\j2ee\sun\ide\j2ee\ui\) Checking in AddDomainDirectoryPanel.java; /cvs/serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/ui/AddDomainDirectoryPanel.java,v <-- AddDomainDirectoryPanel.java new revision: 1.2; previous revision: 1.1 done Checking in AddServerVisualPanel.java; /cvs/serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/ui/AddServerVisualPanel.java,v <-- AddServerVisualPanel.java new revision: 1.6; previous revision: 1.5 done Checking in Util.java; /cvs/serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/ui/Util.java,v <-- Util.java new revision: 1.3; previous revision: 1.2 done cvs commit -m "Fix for http://www.netbeans.org/issues/show_bug.cgi?id=63655" -- ConfigureProfiler.java DeploymentManagerProperties.java HttpMonitorSupport.java PluginProperties.java StartSunServer.java (in directory C:\acvs\nb_all\serverplugins\sun\appsrv81\src\org\netbeans\modules\j2ee\sun\ide\j2ee\) Checking in ConfigureProfiler.java; /cvs/serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/ConfigureProfiler.java,v <-- ConfigureProfiler.java new revision: 1.8; previous revision: 1.7 done Checking in DeploymentManagerProperties.java; /cvs/serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/DeploymentManagerProperties.java,v <-- DeploymentManagerProperties.java new revision: 1.8; previous revision: 1.7 done Checking in HttpMonitorSupport.java; /cvs/serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/HttpMonitorSupport.java,v <-- HttpMonitorSupport.java new revision: 1.2; previous revision: 1.1 done Checking in PluginProperties.java; /cvs/serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/PluginProperties.java,v <-- PluginProperties.java new revision: 1.12; previous revision: 1.11
Verified