Issue with publishing to app servers [message #212549] |
Fri, 18 April 2008 12:22  |
Eclipse User |
|
|
|
Originally posted by: andrew.knott.atosorigin.com
It has been suggested to me by Wayne Beaton, that I should re post an
issue I have in this forum - in the hope that you can resolve the issue
for me.
The initial problem I reported was:
I'm trying to follow an example in terms of creating a simple web service
within Eclipse, and then using the JBoss 4.2 app server to deploy this web
service.
the tutorial I've been following is:
http://www.mirrorservice.org/sites/download.eclipse.org/ecli pseMirror/technology/phoenix/europa/EclipseIdeForJeeDevelope rs/
Everytime I try to run the web service on the Jboss server, I get a null
pointer exception - particularly unhelpful error message.
I've ensured that the JAVA_HOME is pointing at the directory holding the
JDK 1.5 on the machine.
I attempted to deploy this on Jboss, and Glassfish, with no success what
so ever.
The following message is what is reported in the log file when attempting
to run the service on the app server
!ENTRY org.eclipse.wst.server.core 4 0 2008-04-18 16:16:42.950
!MESSAGE Could not publish to the server.
!STACK 0
java.lang.NullPointerException
at
org.eclipse.wst.common.componentcore.internal.util.Component Utilities.getDeployUriOfComponent(ComponentUtilities.java:32 7)
at
org.eclipse.jst.j2ee.internal.deployables.J2EEFlexProjDeploy able.getURI(J2EEFlexProjDeployable.java:429)
at
org.eclipse.jst.server.generic.core.internal.publishers.AntP ublisher.guessModuleName(AntPublisher.java:259)
at
org.eclipse.jst.server.generic.core.internal.publishers.AntP ublisher.getPublishProperties(AntPublisher.java:224)
at
org.eclipse.jst.server.generic.core.internal.publishers.AntP ublisher.publish(AntPublisher.java:110)
at
org.eclipse.jst.server.generic.core.internal.GenericServerBe haviour.publishModule(GenericServerBehaviour.java:84)
at
org.eclipse.wst.server.core.model.ServerBehaviourDelegate.pu blishModule(ServerBehaviourDelegate.java:749)
at
org.eclipse.wst.server.core.model.ServerBehaviourDelegate.pu blishModules(ServerBehaviourDelegate.java:835)
at
org.eclipse.wst.server.core.model.ServerBehaviourDelegate.pu blish(ServerBehaviourDelegate.java:669)
at org.eclipse.wst.server.core.internal.Server.doPublish(Server .java:887)
at org.eclipse.wst.server.core.internal.Server.publish(Server.j ava:874)
at
org.eclipse.wst.server.core.internal.PublishServerJob.run(Pu blishServerJob.java:72)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Can you please advise what is causing this issue - I am unsure whether it
is a configuration issue or not - I am very new to this technology, so any
help would be appreciated.
Cheers
Andy
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06032 seconds