dev@glassfish.java.net

Re: wsit on glassfish script

From: Sreejith A K - Sun Microsystems <Sreejith.Ak_at_Sun.COM>
Date: Mon, 21 Aug 2006 16:14:37 +0530

Arun,


verified that issue[1] is fixed on Windows XP and Solaris using
glassfish V2 b13 [2] and latest WSIT build


There are 2 issues that needs to be mentioned

1. after you extract the 'GlassFish v2 b13 jar' , we need to add permissions to
    to use ant -> lib/ant
    by default after extracting the jar , we don't have execute permission .

    bug exists for this in issue tracker [3]


2. the issue you mentioned in a previous email ->

    GlassFish v2 b13 jar [1] extracts all the contents in the current directory without creating glassfish directory. So
                                                                                                    once I hit on "Accept", the
installer starts creating docs, javadb, docs, lib etc. directories without creating a parent glassfish directory.

      in issue tracker [4]


[1] https://wsit.dev.java.net/issues/show_bug.cgi?id=45
[2] https://glassfish.dev.java.net/downloads/v2-b13.html
[3] https://glassfish.dev.java.net/issues/show_bug.cgi?id=537
[4] https://glassfish.dev.java.net/issues/show_bug.cgi?id=965


Thanks
Sreejith

Arun Gupta wrote On 08/20/06 22:49,:
> 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
>
>