users@jax-rpc.java.net

Re: wsdeploy not generating a cooked war?

From: Doug Kohlert <Doug.Kohlert_at_Sun.COM>
Date: Mon, 25 Jul 2005 08:46:21 -0700

Ryan,
Thanks for letting us know what the solution was so we can inform others.

Ryan Cuprak wrote:

> (Solved)
>
> To get it working I removed: version="true" from the ant build file
> - then it works. A little baffled why this would cause a problem.
>
> Regards,
> Ryan
>
> On Jul 19, 2005, at 2:17 PM, Doug Kohlert wrote:
>
>> So the ExploreTapestry.war file is not created at all?
>>
>> Ryan Cuprak wrote:
>>
>>
>>> Hello,
>>> I've downloaded jwsdp 1.6 and am trying to get a simple HelloWorld
>>> example up and running. I think I have everything configured
>>> correctly but wsdeploy doesn't output a cooked war or any helpful
>>> diagnostic information. Any suggestions? I am trying to get my
>>> service working inside of tomcat - already added the jars to the
>>> tomcat directories based on previous postings to this list.
>>> Thanks!
>>> Ryan
>>>
>>> Ant file snippet:
>>> <target name="jws-gen" depends="build">
>>> <wscompile
>>> keep="true"
>>> define="true"
>>> base="ExploreTapestry/WEB-INF"
>>> xPrintStackTrace="true"
>>> verbose="true"
>>> classpath="${bin}"
>>> config="${config.rpcenc.file}">
>>> <classpath>
>>> <path refid="compile.classpath"/>
>>> </classpath>
>>> </wscompile>
>>> </target>
>>> <target name="package" depends="jws-gen">
>>> <copy todir="${bin}">
>>> <fileset dir="src">
>>> <include name="**/**.hbm.xml"/>
>>> </fileset>
>>> </copy>
>>> <jar basedir="ExploreTapestry"
>>> destfile="ExploreTapestryPrep.war" />
>>> <wsdeploy
>>> classpath="ExploreTapestry/WEB-INF"
>>> outWarFile="ExploreTapestry.war"
>>> keep="true"
>>> verbose="true"
>>> version="true"
>>> inWarFile="ExploreTapestryPrep.war">
>>> <classpath>
>>> <path refid="compile.classpath"/>
>>> </classpath>
>>> </wsdeploy>
>>> </target>
>>> Ant output:
>>> Buildfile: /Users/rcuprak/Documents/workspace/ExploreTapestry/
>>> build.xml
>>> clean:
>>> [delete] Deleting directory /Users/rcuprak/Documents/workspace/
>>> ExploreTapestry/ExploreTapestry/WEB-INF/classes
>>> [mkdir] Created dir: /Users/rcuprak/Documents/workspace/
>>> ExploreTapestry/ExploreTapestry/WEB-INF/classes
>>> build:
>>> [javac] Compiling 13 source files to /Users/rcuprak/Documents/
>>> workspace/ExploreTapestry/ExploreTapestry/WEB-INF/classes
>>> jws-gen:
>>> [wscompile] command line: wscompile -d /Users/rcuprak/Documents/
>>> workspace/ExploreTapestry/ExploreTapestry/WEB-INF -define -keep -
>>> verbose -Xprintstacktrace /Users/rcuprak/Documents/workspace/
>>> ExploreTapestry/config.xml -classpath ..
>>> [wscompile] [creating model: HelloService]
>>> [wscompile] [creating service: HelloService]
>>> [wscompile] [creating port: net.cuprak.explore.HelloIF]
>>> [wscompile] [creating operation: sayHello]
>>> package:
>>> [copy] Copying 1 file to /Users/rcuprak/Documents/workspace/
>>> ExploreTapestry/ExploreTapestry/WEB-INF/classes
>>> [jar] Building jar: /Users/rcuprak/Documents/workspace/
>>> ExploreTapestry/ExploreTapestryPrep.war
>>> [wsdeploy] command line: -keep -source 1.1 -o /Users/rcuprak/
>>> Documents/workspace/ExploreTapestry/ExploreTapestry.war -verbose -
>>> version /Users/rcuprak/Documents/workspace/ExploreTapestry/
>>> ExploreTapestryPrep.war -classpath ..
>>> [wsdeploy] JAX-RPC Standard Implementation (1.1.3, build R1)
>>> BUILD SUCCESSFUL
>>> Total time: 13 seconds
>>>
>>
>>
>> --
>> - Doug
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
>> For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net
>>
>>
>
> /* ---------------------------------------
> Ryan Cuprak
> Software Developer
> www.cuprak.net
> 203-376-8789
> --------------------------------------- */
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
> For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net
>

-- 
 - Doug