This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am testing some development options using Netbeans 6.1. I have WebSphere 184.108.40.206 installed on this machine and have configured a new server within NB 6.1 that "points" to the Websphere instance. It is based on choosing the "IBM Websphere Application Server V6.1" connector (server). I am able to start and stop the server without any issues - and open a browser outside of NB 6.1 to access the Admin console. At first I was doing a Web Service project and thought the issue was with it specifically - so I created a brand new project - simple Hello World web application w/ just an index.jsp. I set the Run property to use the newly configured IBM Webspher App Server 6.1 instance. I started up the server. I can right click on the Project and choose Clean and Build ... build is successful. However as soon I choose Run or Undeploy and Deploy...all I get is a Deployment failure. (so it was not specific to my previous web service project either). The errors in the console output in NB 6.1:
I did find the following in the IDE log (Netbeans):
SEVERE [com.ibm.ws.management.application.j2ee.deploy.spi.factories.DeploymentFactoryImpl]: ADMJ1002E INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance] java.lang.IllegalStateException: This operation is not possible on a disconnected deployment manager at org.netbeans.modules.j2ee.websphere6.WSDeploymentManager.getTargets(WSDeploymentManager.java:938) [catch] at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getTargetMap(ServerInstance.java:517) at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getTargets(ServerInstance.java:490) at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.initCoTarget(ServerInstance.java:1499) at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.access$200(ServerInstance.java:101) at org.netbeans.modules.j2ee.deployment.impl.ServerInstance$1.run(ServerInstance.java:383) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)
This implies that the server is not running - but it is...
IDE timeout: refresh the server node to see if it's running now. - 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 seen in the server.log file. In this case, domain.xml needs to be modified). - Invalid installation location.
Joined: Oct 01, 2008
Possible reason include: IDE timeout: refresh the server node to see if it's running now. - 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 seen in the server.log file. In this case, domain.xml needs to be modified). - Invalid installation location.
Joined: Jan 16, 2004
I will check that out...but I don't think those are factors. So... is it safe to say that YOU have seen this actually work yourself. I can deploy to every other server except WAS 6.1 w/o errors.
Thanks [ October 01, 2008: Message edited by: M Streit ]