Java – unable to publish ear to WebSphere

I am running rational application developer for WebSphere software (v.8.0.4.1) on windows I have an ear project and I am trying to deploy it to a WebSphere server running on my machine The ear project references the war project

When Binding deployment, I receive 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

It's a little strange that I can see the ear & war service start / synchronize on the server. When I enter the management console, I can see the running application

Has anyone seen the same mistake? Suggestions?

Any help is greatly appreciated!

Solution

Got the same problem

After restarting rad, notice that these mappings have been recreated and that publishing seems to work properly

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>