dev@glassfish.java.net

Re: wsit on glassfish script

From: Arun Gupta <Arun.Gupta_at_Sun.COM>
Date: Sun, 20 Aug 2006 10:19:23 -0700

Sameer,

The main page on wsit.dev.java.net does take you to *v2 b08* link.

I agree that that particular build does not have classpath-prefix and
this is not v2 Milestone 1. But this change (addition of
classpath-prefix) in config.xml was made 3 days ago. I modified the
script (wsit-on-glassfish.xml) after receiving a bug report from SQE [1]
and still waiting for SQE to verify before I blog about it.

Once verified, the main page will be updated as well.

Do you think the correct GlassFish build number could be mentioned in a
more conspicuous manner ?

[1] https://wsit.dev.java.net/issues/show_bug.cgi?id=45

Thanks,
-Arun

Sameer Tyagi wrote:
> Ok, I think I know where the problem was.
>
> I followed the download link from the main Glassfish page which pointed to
> Latest Stable: v1_Milestone 7
> <https://glassfish.dev.java.net/downloads/04May06.html>
> https://glassfish.dev.java.net/downloads/04May06.html
>
> Which is missing the classpath-prefix attribute - hence the problem....
>
> I think it would be worth adding a note on the wsit download page in
> case someone tries wsit
> on the FCS version....
>
> /s
>
>
>
> Arun Gupta wrote:
>> Hi Sameer,
>>
>> It seems like you are using an older build of GlassFish. In v2 b13
>> [1], I see the following fragment in domain.xml:
>>
>> -- cut here --
>> <java-config
>> classpath-prefix="${com.sun.aas.installRoot}/lib/jaxws-update.jar"
>> java-home="${com.sun.aas.javaRoot}" debug-enabled="false"
>> debug-options="-Xdebug
>> -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9009"
>> rmic-options="-iiop -poa -alwaysgenerate -keepgenerated -g"
>> javac-options="-g"
>>
>> system-classpath="${com.sun.aas.installRoot}/lib/appserv-launch.jar"
>> classpath-suffix="" env-classpath-ignored="true">
>> -- cut here --
>>
>> wsit-on-glassfish.xml updates this script correctly. I download v2 b13
>> [1] and installed on Windows. Then I installed the latest WSIT on it
>> and could run wsgen script successfully which shows the latest JAX-WS
>> integrated there.
>>
>> ps: Please do not cross-post to internal and public aliases. I've
>> BCCed the internal alias and instead moved the discussion to dev_at_wsit.
>>
>> [1] https://glassfish.dev.java.net/downloads/v2-b13.html
>>
>> Thanks,
>> -Arun
>>
>> Sameer Tyagi wrote:
>>> I tried the wsit on glassfish script from WSIT today a few times on
>>> windows.
>>> It copies the files into the lib directory but fails to add the
>>> classpath-prefix element.
>>>
>>> This is because it searches for the token classpath-prefix but in the
>>> Glassfish I just downloaded
>>> this element is not there by default.
>>> Here is what the domain.xml contains by default
>>> <java-config java-home="${com.sun.aas.javaRoot}"
>>> debug-enabled="false" debug-options="-Xdebug
>>> -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9009"
>>> rmic-options="-iiop -poa -alwaysgenerate -keepgenerated -g"
>>> javac-options="-g"
>>>
>>> system-classpath="${com.sun.aas.installRoot}/lib/appserv-launch.jar"
>>> classpath-suffix="" env-classpath-ignored="true">
>>> <!-- various required jvm-options -->
>>>
>>> There is no classpath-prefix, the script needs to be modifed or the
>>> attribute needs to be added to Glassfish
>>>
>>> /s
>>>
>>>
> --------------------------------------------------------------------- To
> unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net For
> additional commands, e-mail: dev-help_at_glassfish.dev.java.net

-- 
Web Technologies and Standards
Sun Microsystems, Inc.
Blog: http://blogs.sun.com/arungupta