I will deploying to Tomcat 6.0 while testing.

The WAR file with my source has already been generated.  This error is
occurring when I try to create a WAR file of the web service using
wsdeploy.bat.

Let me play around a bit more.  Yesterday I was busy with another web
service which kept throwing java.lang.reflect.InvocationTargetException
errors, which I discovered is a "bug" in the JDK because it's actually means
a class cannot be found.


On 04/07/2008, Carl Woermann <[EMAIL PROTECTED]> wrote:
>
> Its just  guess- but are you deploying your service to a container?  - as
> far as i know the service would have to be deployed to a running container..
> and yours fails kinda around there..
> Is your war file already generated? and your container up and running? - if
> so are there any logs in the containers output?  Maybe try to deploy your
> war file manually first...
>
> On Fri, Jul 4, 2008 at 12:46 PM, Jason Purcell <[EMAIL PROTECTED]>
> wrote:
>
>> Hi...
>>
>> When trying to deploy a web service using wsdeploy.bat in JWSDP 2.0, I get
>> the NullPointerException below.
>>
>> My JWSDP_HOME, JAVA_HOME and ANT_HOME are all set.
>>
>>  Any tips on things I should be looking out for to fix this?  I see other
>> people have also been experiencing similar problems, but I don't see any
>> solutions.
>>
>> Kind regards,
>> Jason.
>>
>>
>>
>> %JWSDP_HOME%\jaxrpc\bin\wsdeploy.bat -verbose -o myTEST.war
>> build/myWEBINF.war
>>
>>
>> info: created temporary directory:
>> C:\DOCUME~1\******\LOCALS~1\Temp\jaxrpc-deploy-3b2055
>> info: processing endpoint: JasonService
>> [creating model: JasonService]
>> [creating service: JasonService]
>> [creating port: virgin.active.JasonWebService]
>> [creating operation: getHello]
>> [creating operation: getInitials]
>> [CustomClassGenerator: generating JavaClass for: getHello]
>> [CustomClassGenerator: generating JavaClass for: getHelloResponse]
>> [CustomClassGenerator: generating JavaClass for: getInitials]
>> [CustomClassGenerator: generating JavaClass for: getInitialsResponse]
>> [SOAPObjectSerializerGenerator: writing  serializer/deserializer for: {
>> http://peteryeung.homeip.net/typeNamespaceBase/type/JasonService}getHello<http://peteryeung.homeip.net/typeNamespaceBase/type/JasonService%7DgetHello>
>> ]
>> [SOAPObjectSerializerGenerator: writing  serializer/deserializer for: {
>> http://peteryeung.homeip.net/typeNamespaceBase/type/JasonService}getHelloResponse<http://peteryeung.homeip.net/typeNamespaceBase/type/JasonService%7DgetHelloResponse>
>> ]
>> [SOAPObjectSerializerGenerator: writing  serializer/deserializer for: {
>> http://peteryeung.homeip.net/typeNamespaceBase/type/JasonService}getInitials<http://peteryeung.homeip.net/typeNamespaceBase/type/JasonService%7DgetInitials>
>> ]
>> [SOAPObjectSerializerGenerator: writing  serializer/deserializer for: {
>> http://peteryeung.homeip.net/typeNamespaceBase/type/JasonService}getInitialsResponse<http://peteryeung.homeip.net/typeNamespaceBase/type/JasonService%7DgetInitialsResponse>
>> ]
>> [SOAPObjectBuilderGenerator: writing object builder for: getHello]
>> [SOAPObjectBuilderGenerator: writing object builder for: getHelloResponse]
>> [SOAPObjectBuilderGenerator: writing object builder for: getInitials]
>> [SOAPObjectBuilderGenerator: writing object builder for:
>> getInitialsResponse]
>> [SerializerRegistryGenerator: creating serializer registry:
>> jaxrpc.generated.jasonService.JasonService_SerializerRegistry]
>> info: removed temporary directory:
>> C:\DOCUME~1\******\LOCALS~1\Temp\jaxrpc-deploy-3b2055
>> error: java.lang.NullPointerException
>> java.lang.NullPointerException
>>         at
>> com.sun.xml.rpc.tools.wsdeploy.DeployTool.defineServletsAndListeners(DeployTool.java:447)
>>         at
>> com.sun.xml.rpc.tools.wsdeploy.DeployTool.run(DeployTool.java:258)
>>         at com.sun.xml.rpc.util.ToolBase.run(ToolBase.java:43)
>>         at com.sun.xml.rpc.tools.wsdeploy.Main.main(Main.java:22)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>         at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>         at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>         at java.lang.reflect.Method.invoke(Method.java:589)
>>         at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
>>
>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CTJUG Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/CTJUG-Forum
For the ctjug home page see http://www.ctjug.org.za
-~----------~----~----~----~------~----~------~--~---

Reply via email to