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!
To deploy the EAR file: In the side panel of the console, click Applications > New Application and then New Enterprise Application. Click Browse and navigate to the Decision Center EAR file for your version of WebSphere Application Server.
In the WebSphere Administrative Console, click Applications, New Application, New Enterprise Application. Supply the location of the WAS_caStyles. ear file.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With