dev@glassfish.java.net

Re: QL:deploy breaks on latest trunk? Any idea?

From: Amy Roh <Amelia.Roh_at_Sun.COM>
Date: Tue, 19 Aug 2008 12:53:25 -0700

Nandini Ektare wrote:
> Amy,
>
> Where can I find these instructions? I have used the v3 full build
> instructions
> <http://wiki.glassfish.java.net/Wiki.jsp?page=V3FullBuildInstructions>
> all along without any issues.

Perhaps we should specify which distribution bundle we need to unzip in
the instructions. I have seen a few emails regarding this issue -
https://glassfish.dev.java.net/servlets/ReadMsg?list=dev&msgNo=7600

Is the web distribution working better for you? AFAIK, we've been using
web distribution from day 1 and glassfish distribution wasn't fully
functional unless there were some recent changes.

Amy

> Thanks
> Nandini
>
>
> Amy Roh wrote:
>> Nandini,
>>
>> Nandini Ektare wrote:
>>> Amy Roh wrote:
>>>> Nandini Ektare wrote:
>>>>> I tried the whole setup from scratch
>>>>>
>>>>> 1. removed maven repo
>>>>> 2. svn checkout of v3
>>>>> 3. mvn install of v3; unzip the glassfish zip
>>>> Are you unzipping the glassfish.zip in
>>>> v3\distributions\glassfish\target or *web.zip* in
>>>> v3\distributions\web\target?
>>> Hi Amy,
>>>
>>> I am unzipping glassfish-10.0-SNAPSHOT.zip in
>>> v3\distributions\glassfish\target.
>>
>> You should be using web.zip in v3\distributions\web\target.
>>
>>>
>>> Nandini
>>>
>>>>> 4.svn checkout
>>>>> https://svn.dev.java.net/svn/glassfish-svn/trunk/v3/tests/quicklook
>>>>> 5.cd quicklook
>>>>> 6.mvn
>>>>> -Dglassfish.home=C:\veetree\v3\distributions\glassfish\target\glassfish\
>>>>> test | tee run.log
>>
>> And try using
>> glassfish.home=...\v3\distributions\*web*\target\glassfish.
>>>>>
>>>>> I still get this Linkage error: LinkageError: Failed to inject
>>>>> class com.sun.enterprise.web.WebDeployer from 101.0
>>>>>
>>>>> Would someone know what am I missing? Any guesses? This happens on
>>>>> the latest v3 trunk sources
>>>>>
>>>>> Thanks
>>>>> Nandini
>>>>>
>>>>>
>>>>> [exec] ------- RAW RESPONSE ---------
>>>>> [exec] PROCESSING MANIFEST...
>>>>> [exec] com.sun.enterprise.cli.framework.CommandException:
>>>>> remote failure: java.lang.LinkageError: Failed to inject class
>>>>> com.sun.enterprise.web.WebDeployer from 101.0
>>>>>
>>>>> [exec] java.lang.LinkageError: Failed to inject class
>>>>> com.sun.enterprise.web.WebDeployer from 101.0
>>>>> [exec] at
>>>>> com.sun.enterprise.admin.cli.remote.CLIRemoteCommand.handleResponse(CLIRemoteCommand.java:297)
>>>>>
>>>>> [exec] at
>>>>> com.sun.enterprise.admin.cli.remote.CLIRemoteCommand.handleResponse(CLIRemoteCommand.java:275)
>>>>>
>>>>> [exec] at
>>>>> com.sun.enterprise.admin.cli.remote.CLIRemoteCommand.runCommand(CLIRemoteCommand.java:140)
>>>>>
>>>>> [exec] at
>>>>> com.sun.enterprise.admin.cli.AsadminMain.remote(AsadminMain.java:113)
>>>>> [exec] at
>>>>> com.sun.enterprise.admin.cli.AsadminMain.main(AsadminMain.java:63)
>>>>>
>>>>> [exec] remote failure: java.lang.LinkageError: Failed to inject
>>>>> class com.sun.enterprise.web.WebDeployer from 101.0
>>>>>
>>>>> [exec] java.lang.LinkageError: Failed to inject class
>>>>> com.sun.enterprise.web.WebDeployer from 101.0
>>>>> [exec] Command deploy failed.
>>>>>
>>>>>
>>>>>
>>>>> Nandini Ektare wrote:
>>>>>> deploy-v3-impl-windows:
>>>>>> [exec] 0 descriptor =
>>>>>> jar:file:/C:/veetree/v3/distributions/glassfish/target/glassfish/modules/admin-cli-10.0-SNAPS
>>>>>> HOT.jar!/CLIDescriptor.xml
>>>>>> [exec] basePackage: com.sun.enterprise.admin.cli
>>>>>> [exec] propertyFile: LocalStrings
>>>>>> [exec] CLI001 Invalid Command, deploy.
>>>>>> [exec] host = localhost
>>>>>> [exec] deploy --echo=false --terse=false --path --upload=false
>>>>>> [exec] CLIRemoteCommandParser:
>>>>>> [exec] **********
>>>>>> [exec] name = deploy
>>>>>> [exec] Options = {path=, upload=false}
>>>>>> [exec] Operands = []
>>>>>> [exec] **********
>>>>>>
>>>>>> [exec] URI:
>>>>>> /__asadmin/deploy?path=&path=C%3A%5Cveetree%5Cquicklook%5Cweb%5Chelloworld%5Chellojsp.war
>>>>>>
>>>>>> [exec] URL:
>>>>>> com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_16a9d42
>>>>>> [exec] URL:
>>>>>> http://localhost:8080/__asadmin/deploy?path=&path=C%3A%5Cveetree%5Cquicklook%5Cweb%5Chelloworld%5Chello
>>>>>> jsp.war
>>>>>> [exec] ------- RAW RESPONSE ---------
>>>>>> [exec] Signature-Version: 1.0
>>>>>> [exec] exit-code: FAILURE
>>>>>> [exec] message: java.lang.LinkageError: Failed to inject
>>>>>> class com.sun.enterp
>>>>>> [exec] rise.web.WebDeployer from 101.0
>>>>>> [exec] cause: java.lang.LinkageError: Failed to inject class
>>>>>> com.sun.enterpri
>>>>>> [exec] se.web.WebDeployer from 101.0
>>>>>>
>>>>>>
>>>>>> [exec] ------- RAW RESPONSE ---------
>>>>>> [exec] PROCESSING MANIFEST...
>>>>>> [exec] com.sun.enterprise.cli.framework.CommandException:
>>>>>> remote failure: java.lang.LinkageError: Failed to inject class
>>>>>> com.sun.enterprise.web.WebDeployer from 101.0
>>>>>>
>>>>>> [exec] java.lang.LinkageError: Failed to inject class
>>>>>> com.sun.enterprise.web.WebDeployer from 101.0
>>>>>> [exec] at
>>>>>> com.sun.enterprise.admin.cli.remote.CLIRemoteCommand.handleResponse(CLIRemoteCommand.java:297)
>>>>>>
>>>>>> [exec] at
>>>>>> com.sun.enterprise.admin.cli.remote.CLIRemoteCommand.handleResponse(CLIRemoteCommand.java:275)
>>>>>>
>>>>>> [exec] at
>>>>>> com.sun.enterprise.admin.cli.remote.CLIRemoteCommand.runCommand(CLIRemoteCommand.java:140)
>>>>>>
>>>>>> [exec] at
>>>>>> com.sun.enterprise.admin.cli.AsadminMain.remote(AsadminMain.java:113)
>>>>>>
>>>>>> [exec] at
>>>>>> com.sun.enterprise.admin.cli.AsadminMain.main(AsadminMain.java:63)
>>>>>>
>>>>>> [exec] remote failure: java.lang.LinkageError: Failed to
>>>>>> inject class com.sun.enterprise.web.WebDeployer from 101.0
>>>>>>
>>>>>> [exec] java.lang.LinkageError: Failed to inject class
>>>>>> com.sun.enterprise.web.WebDeployer from 101.0
>>>>>> [exec] Command deploy failed.
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>>
>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>>
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>