users@glassfish.java.net

Re: Problem installing glassfish on ubuntu

From: Sreeram Duvur <Sreeram.Duvur_at_Sun.COM>
Date: Fri, 25 Sep 2009 17:24:41 -0700

Sathyan,

I think I figured it out. I had a cut and paste download URL that was
meant for Darwin and being reused on Ubuntu. That is likely the
problem...

Sreeram


On Sep 25, 2009, at 5:21 PM, Sreeram Duvur wrote:

> Interestingly it failed in similar ways...
>
> glassfish-jarunpack:
> [echo] Applying UnPack200 on Packed jars using JDK1.5
> [echo] /home/sreeram/sailfin/lib/Pack200Task.jar
>
> get.java.home:
>
> setup.init:
>
> nonmac-jarunpack:
>
> get.java.home:
>
> setup.init:
>
> nonaix-jarunpack:
>
> jarpack-tasks:
>
> jar-unpack:
>
> BUILD FAILED
> /home/sreeram/sailfin/setup.xml:163: The following error occurred
> while executing this line:
> /home/sreeram/sailfin/setup.xml:791: The following error occurred
> while executing this line:
> /home/sreeram/sailfin/setup.xml:997: The following error occurred
> while executing this line:
> /home/sreeram/sailfin/setup.xml:1001: The following error occurred
> while executing this line:
> /home/sreeram/sailfin/setup.xml:783: Src doesn't exist
>
> BTW, I am playing with Sailfin, not glassfish. But I gues that
> should not be any different.
>
> sreeram
>
> On Sep 25, 2009, at 4:58 PM, Sathyan Catari wrote:
>
>> Looks like jarpack has issues with installed JDK. Can u try with a
>> different JDK? possibly
>> if you have 1.5?
>>
>> Sreeram Duvur wrote:
>>> I am on a fairly recently refreshed version of Ubuntu. The Sun JDK
>>> is installed:
>>>
>>> sreeram_at_fourcore:~/sailfin$ java -version
>>> java version "1.6.0_10"
>>> Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
>>> Java HotSpot(TM) Server VM (build 11.0-b15, mixed mode)
>>>
>>> When I run ant -f setup.xml, it fails as follows:
>>>
>>>
>>> jarpack-tasks:
>>>
>>> jar-unpack:
>>>
>>> BUILD FAILED
>>> /home/sreeram/sailfin/setup.xml:163: The following error occurred
>>> while executing this line:
>>> /home/sreeram/sailfin/setup.xml:791: The following error occurred
>>> while executing this line:
>>> /home/sreeram/sailfin/setup.xml:997: The following error occurred
>>> while executing this line:
>>> /home/sreeram/sailfin/setup.xml:1001: The following error occurred
>>> while executing this line:
>>> /home/sreeram/sailfin/setup.xml:783: Src doesn't exist
>>>
>>> Anyone know why? It is apparently struggling in jar unpack. I have
>>> seen such an issue reported on FreeBSD, but not ever on Ubuntu.
>>> Any one have any suggestions for me to troubleshoot this?
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>