dev@glassfish.java.net

Re: 3 Test Failures on runtest

From: Sivakumar Thyagarajan <Sivakumar.Thyagarajan_at_Sun.COM>
Date: Wed, 18 Oct 2006 23:18:23 +0530

> test you highlighted below, it says that it can't connect to localhost
> on port 1527.
Sorry David, I missed mentioning that derby also needs to be started
using the startDerby target. This should fix the issue you are mentioning.

The corrected instructions:
> - cd $APS_HOME
> - $S1AS_HOME/bin/asant startDomain
> - $S1AS_HOME/bin/asant startDerby
> - cd sqetests/connector/cci
> - $S1AS_HOME/bin/asant all

Thanks
--Siva.
David Harrigan wrote:
> Hi,
>
> Thanks for your email. I tried following your instructions, but during
> the individual
> test you highlighted below, it says that it can't connect to localhost
> on port 1527.
> This is the derby port naturally, so guess I need the database
> running...the app
> server itself is not running. It doesn't mention on this page:
>
> https://glassfish.dev.java.net/public/BuildGlassFish.html#Complete_Instructions_on_how_to_Build
> <https://glassfish.dev.java.net/public/BuildGlassFish.html#Complete_Instructions_on_how_to_Build>
>
> near the bottom about running tests that derby needs to run...
>
> BTW, after doing a complete update and rebuild I only get 1 error now,
> that's in
> the web-to-ejb module.
>
> -=david=-
>
> On 10/18/06, *Sivakumar Thyagarajan* <Sivakumar.Thyagarajan_at_sun.com
> <mailto:Sivakumar.Thyagarajan_at_sun.com>> wrote:
>
> Hi David
>
> The QL tests seems to be passing in the last couple of builds [1].
>
> > Any ideas on where to start looking to solve this?
> One way to debug these failures is to run a test alone and watch out
> for
> errors/exceptions in the server/client log.
>
> Here are instructions to run a test
> [assume domain/derby is stopped and APS_HOME/S1AS_HOME is configured]
> - cd $APS_HOME
> - $S1AS_HOME/bin/asant startDomain
> - $S1AS_HOME/bin/asant stopDomain
> - cd sqetests/connector/cci
> - $S1AS_HOME/bin/asant all
>
> Thanks
> --Siva.
> [1]
> http://glassfishbuildtools.sun.com:8000/hudson/job/glassfish/build/2006-10-17_21-27-45/console
> David Harrigan wrote:
> > Hi,
> >
> > I'm getting three test failures on running appserv-tests runtest at:
> >
> > Connector:cci Connector standalone rar Test status:ID
> > Connector:cci Connector Embedded rar Test status:ID
> > web-to-ejb (ear based)
> >
> > on v2 b21
> >
> > I've just checked out the sources and followed the build
> instructions
> > and running the test instructions.
> >
> > Any ideas on where to start looking to solve this?
> >
> > TIA
> >
> > -=david=-
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> <mailto:dev-unsubscribe_at_glassfish.dev.java.net>
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
> <mailto:dev-help_at_glassfish.dev.java.net>
>
>