I'm running Rational Application Developer for WebSphere Software (v. 8.0.4.1) on Windows. I have a EAR project that I'm trying to deploy to my Websphere server running on my machine. The EAR project references a WAR project.
When tying to deploy, I get four messages:
Publishing failed
**Could not publish to the server - org.eclipse.wst.server.core**
java.lang.IndexOutOfBoundsException: Index: 4, Size: 4
at java.util.ArrayList.get(Unknown Source)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModules(Unknown Source)
at com.ibm.ws.ast.st.v8.core.internal.WASServerBehaviour.publishModules(Unknown Source)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(Unknown Source)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(Unknown Source)
at org.eclipse.wst.server.core.internal.Server.publishImpl(Unknown Source)
at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Unknown Source)
at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
OK - Unknown
Error in delegate - org.eclipse.wst.server.core
java.lang.NullPointerException
at com.ibm.etools.webtools.sdo.deploy.internal.cloudscape.DisconnectTaskDelegate.execute(Unknown Source)
at org.eclipse.wst.server.core.internal.Publisher.execute(Unknown Source)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.executePublishers(Unknown Source)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(Unknown Source)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(Unknown Source)
at org.eclipse.wst.server.core.internal.Server.publishImpl(Unknown Source)
at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Unknown Source)
at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
deploySuccess - com.ibm.etools.server.task.ejbdeploy
What's weird is that I can see the EAR & WAR services started/synchronized on the server, and when I go into the Admin console, I can see the running application.
Has anyone seen this same errors? Suggestions?
Any help is GREATLY appreciated!
Got the same issue. removed entries from publish.xml under c:/myworkspace/.metadata/.plugins/org.eclipse.wst.server.core for the failing server and also removed the folder tmp* (tmp0 or tmp1 etc whichever applies to failing server).
After restarting the RAD, noticed that these mapping are recreated and the publish seems to work fine.