dev@glassfish.java.net

Re: test failure - Property HttpDefaultPort was circularly defined

From: Keith Babo <Keith.Babo_at_Sun.COM>
Date: Wed, 28 Mar 2007 14:58:35 -0700

Hi Kedar,

Can you try running bootstrap-all? This may be an incompatibility
between the test source and the version of glassfish you have in publish/.

regards,
keith

kedar wrote:
> I too am getting similar errors and my
> JBI tests are failing (jbi.helloca...)
>
> Anyone has any idea?
>
> Kedar
>
> Bhakti Mehta wrote:
>> I too am getting a similar error trying to run the latest quicklook tests
>> Discussing with Dinesh I tried hardcoding theHttpDefaultPort port
>> number to 9080 but somehow that too did not work.
>> Regards,
>> Bhakti
>>
>> Bill Shannon wrote:
>>> My automated build/test failed last night with the following test
>>> failure.
>>> Anyone know what's wrong?
>>>
>>>
>>> [java] build-client:
>>> [java] [echo]
>>> /cache/tmp/glassfish-build/publish/glassfish/domains/domain1/jbi/components/sun-http-binding/install_root/workspace/config.properties
>>>
>>> [java]
>>> [java] BUILD FAILED
>>> [java]
>>> /cache/tmp/glassfish-build/glassfish/appserv-tests/build.xml:38: The
>>> following error occurred while executing this line:
>>> [java]
>>> /cache/tmp/glassfish-build/glassfish/appserv-tests/build.xml:118: The
>>> following error occurred while executing this line:
>>> [java]
>>> /cache/tmp/glassfish-build/glassfish/appserv-tests/sqetests/build.xml:22:
>>> The following error occurred while executing this line:
>>> [java]
>>> /cache/tmp/glassfish-build/glassfish/appserv-tests/sqetests/build.xml:83:
>>> The following error occurred while executing this line:
>>> [java]
>>> /cache/tmp/glassfish-build/glassfish/appserv-tests/sqetests/build.xml:111:
>>> The following error occurred while executing this line:
>>> [java]
>>> /cache/tmp/glassfish-build/glassfish/appserv-tests/sqetests/build.xml:152:
>>> The following error occurred while executing this line:
>>> [java]
>>> /cache/tmp/glassfish-build/glassfish/appserv-tests/sqetests/jbi/build.xml:20:
>>> The following error occurred while executing this line:
>>> [java] in flushAll , creating new testSuiteHash
>>> [java]
>>> /cache/tmp/glassfish-build/glassfish/appserv-tests/sqetests/jbi/helloca/build.xml:35:
>>> The following error occurred while executing this line:
>>> [java]
>>> /cache/tmp/glassfish-build/glassfish/appserv-tests/sqetests/jbi/helloca/scripts/testapp/build.xml:38:
>>> Property HttpDefaultPort was circularly defined.
>>> [java]
>>> [java] Total time: 22 minutes 23 seconds
>>> [java] [ERROR] Java Result: 1
>>>
>>> BUILD FAILED
>>> File...... /cache/tmp/glassfish-build/glassfish/bootstrap/maven.xml
>>> Element... fail
>>> Line...... 606
>>> Column.... 28
>>> No message
>>> Total time: 22 minutes 30 seconds
>>> Finished at: Wed Mar 28 04:05:08 PDT 2007
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>>
>> ------------------------------------------------------------------------
>>
>> [java] clean-classes-common:
>> [java] [delete] Deleting directory
>> /export/home/bhakti/workspace/glassfis
>> h/appserv-tests/build/module
>> [java]
>> [java] setOSConditions:
>> [java]
>> [java] setToolWin:
>> [java]
>> [java] setToolUnix:
>> [java]
>> [java] setToolProperty:
>> [java]
>> [java] setS1ASclassPath:
>> [java]
>> [java] init-common:
>> [java]
>> [java] clean-jars-common:
>> [java]
>> [java] setOSConditions:
>> [java]
>> [java] setToolWin:
>> [java]
>> [java] setToolUnix:
>> [java]
>> [java] setToolProperty:
>> [java]
>> [java] setS1ASclassPath:
>> [java]
>> [java] init-common:
>> [java]
>> [java] build-client:
>> [java]
>> [java] setOSConditions:
>> [java]
>> [java] setToolWin:
>> [java]
>> [java] setToolUnix:
>> [java]
>> [java] setToolProperty:
>> [java]
>> [java] setS1ASclassPath:
>> [java]
>> [java] init-common:
>> [java]
>> [java] wsimport-local:
>> [java] [mkdir] Created dir:
>> /export/home/bhakti/workspace/glassfish/apps
>> erv-tests/build/module/classes
>> [java] [exec] parsing WSDL...
>> [java]
>> [java]
>> [java] [exec] [ERROR] Failed to read the WSDL document:
>> file:/export/ho
>> me/bhakti/workspace/glassfish/appserv-tests/sqetests/jbi/helloca/scripts/testapp
>>
>> /http:/localhost:${HttpDefaultPort}/TestApp/MiscService/Misc?wsdl,
>> because 1) co
>> uld not find the document; /2) the document could not be read; 3) the
>> root eleme
>> nt of the document is not <wsdl:definitions>.
>> [java] [exec] unknown location
>> [java]
>> [java] [exec] Failed to parse the WSDL.
>>
>> [java] [exec] Failed to parse the WSDL.
>> [java] [exec] Result: 1
>> [java]
>> [java] setOSConditions:
>> [java]
>> [java] setToolWin:
>> [java]
>> [java] setToolUnix:
>> [java]
>> [java] setToolProperty:
>> [java]
>> [java] setS1ASclassPath:
>> [java]
>> [java] init-common:
>> [java]
>> [java] compile-common:
>> [java] [javac] Compiling 1 source file to
>> /export/home/bhakti/workspace/glassfish/appserv-tests/build/module/classes
>>
>> [java] [javac]
>> /export/home/bhakti/workspace/glassfish/appserv-tests/sqetests/jbi/helloca/projects/CAClient/src/helloca/client/Client.java:12:
>> package caclient.ejbws does not exist
>> [java] [javac] import caclient.ejbws.Account;
>> [java] [javac] ^
>> [java] [javac]
>> /export/home/bhakti/workspace/glassfish/appserv-tests/sqetests/jbi/helloca/projects/CAClient/src/helloca/client/Client.java:44:
>> package caclient.ejbws does not exist
>> [java] [javac] caclient.ejbws.MiscService service
>> = new caclient.ejbws.MiscService();
>> [java] [javac] ^
>> [java] [javac]
>> /export/home/bhakti/workspace/glassfish/appserv-tests/sqetests/jbi/helloca/projects/CAClient/src/helloca/client/Client.java:44:
>> package caclient.ejbws does not exist
>> [java] [javac] caclient.ejbws.MiscService service
>> = new caclient.ejbws.MiscService();
>> [java]
>> [javac]
>> ^
>> [java] [javac]
>> /export/home/bhakti/workspace/glassfish/appserv-tests/sqetests/jbi/helloca/projects/CAClient/src/helloca/client/Client.java:45:
>> package caclient.ejbws does not exist
>> [java] [javac] caclient.ejbws.Misc port =
>> service.getMiscPort();
>> [java] [javac] ^
>> [java] [javac]
>> /export/home/bhakti/workspace/glassfish/appserv-tests/sqetests/jbi/helloca/projects/CAClient/src/helloca/client/Client.java:56:
>> cannot
>> find symbol
>> [java] [javac] symbol : class Account
>> [java] [javac] location: class helloca.client.Client
>> [java] [javac] Account acc = new Account();
>> [java] [javac] ^
>> [java] [javac]
>> /export/home/bhakti/workspace/glassfish/appserv-tests/sqetests/jbi/helloca/projects/CAClient/src/helloca/client/Client.java:56:
>> cannot
>> find symbol
>> [java] [javac] symbol : class Account
>> [java] [javac] location: class helloca.client.Client
>> [java] [javac] Account acc = new Account();
>> [java] [javac] ^
>> [java]
>> [java] BUILD FAILED
>> [java] [javac]
>> /export/home/bhakti/workspace/glassfish/appserv-tests/sqetests/jbi/helloca/projects/CAClient/src/helloca/client/Client.java:57:
>> cannot
>> find symbol
>> [java] [javac] symbol : class Account
>> [java] [javac] location: class helloca.client.Client
>> [java] [javac] Holder<Account> holder = new
>> Holder<Account>();
>> [java]
>> /export/home/bhakti/workspace/glassfish/appserv-tests/build.xml:38:
>> The following error occurred while executing this line:
>> [java] [javac] ^
>> [java] [javac] ^
>> [java] [javac] 18 errors
>> [java] in flushAll , creating new testSuiteHash
>> [java] [ERROR] Java Result: 1
>> Total time: 18 minutes 51 seconds
>> Finished at: Wed Mar 28 13:29:05 PDT 2007
>>
>>
>>
>>
>>
>> A
>> A
>> A
>> A
>> A
>> A
>> A
>> A
>> A
>> B
>> B
>> B
>> A
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> ---------------------------------------------------------------------
>> 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
>

-- 
Open ESB Community (http://open-esb.org)