Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [glassfish-dev] GlassFish master branch build + "asadmin start-domain" not completing...



On 6/23/20 4:30 PM, Steve Millidge (Payara) wrote:
Also I've just built master and can't reproduce.

You definitely shouldn't be seeing lots of messages like below.

Jun 23, 2020 2:12:17 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner update
INFO: Updated bundle 1 from /home/smarlow/work/jakarta/runtck/jakartaee-tck/glassfish6/glassfish/modules/endorsed/grizzly-npn-bootstrap.jar.
Jun 23, 2020 2:12:17 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner update
INFO: Updated bundle 2 from /home/smarlow/work/jakarta/runtck/jakartaee-tck/glassfish6/glassfish/modules/osgi-resource-locator.jar.

If you do unzip over the top of an existing install you should clear the osgi cache

I'm starting from a clean installation each time that I test.

The only thing in file in the osgi-cache is "domains/domain1/osgi-cache/felix/bundle166/version0.0/bundle.jar", which appears to have the same bundle-SymbolicName (org.glassfish.main.common.internal-api) as modules/internal-api.jar:

"
grep -rli org.glassfish.main.common.internal-api
modules/internal-api.jar
domains/domain1/osgi-cache/felix/bundle166/version0.0/bundle.jar
"

I also tried -Dorg.glassfish.startupThreadPolicy=USE_NO_THREADS (even hacked that in the code that references that property to make the setting took).

I'll stick with running on Eclipse CI which is a bummer, as I cannot debug TCK issues locally.

Scott


rm -rf glassfish6/glassfish/domains/domain1/osgi-cache

Steve


-----Original Message-----
From: glassfish-dev-bounces@xxxxxxxxxxx <glassfish-dev-bounces@xxxxxxxxxxx> On Behalf Of Steve Millidge (Payara)
Sent: 23 June 2020 21:25
To: glassfish developer discussions <glassfish-dev@xxxxxxxxxxx>; Gurkan Erdogdu <cgurkanerdogdu@xxxxxxxxx>
Subject: Re: [glassfish-dev] GlassFish master branch build + "asadmin start-domain" not completing...

 From the gist you are updating a whole bunch of bundles are you sure this is a clean install.

First I would try with a clean unzip directory

Second you could try with -Dorg.glassfish.startupThreadPolicy=USE_NO_THREADS as it looks like a race condition possibly due to the multiple bundle updates happening in parallel.

Steve

-----Original Message-----
From: glassfish-dev-bounces@xxxxxxxxxxx <glassfish-dev-bounces@xxxxxxxxxxx> On Behalf Of Scott Marlow
Sent: 23 June 2020 20:26
To: glassfish developer discussions <glassfish-dev@xxxxxxxxxxx>; Gurkan Erdogdu <cgurkanerdogdu@xxxxxxxxx>
Subject: Re: [glassfish-dev] GlassFish master branch build + "asadmin start-domain" not completing...



On 6/23/20 3:00 PM, Scott Marlow wrote:


On 6/23/20 2:46 PM, Gurkan Erdogdu wrote:
Hi Scott
Did you build from master?

Hi Gurkan,

Yes, I'm using
https://ci.eclipse.org/jakartaee-tck/job/build-glassfish/lastSuccessfu
lBuild/artifact/appserver/distributions/glassfish/target/glassfish.zip
which was built from master this morning (using mvn -Pstaging install
-DskipTests=true).

I'll verify that building locally has the same result.

Yes, same result from local (master branch) GlassFish build. I did build with "mvn -Pstaging clean install -DskipTests=true", I will try again with "mvn -Pstaging clean install -DskipTests=false", in case there is an unexpected side effect of running the test suite also.

Scott


Regards,
Scott

Regards.
Gurkan

On Tue, Jun 23, 2020 at 9:21 PM Scott Marlow <smarlow@xxxxxxxxxx
<mailto:smarlow@xxxxxxxxxx>> wrote:



     On 6/23/20 2:08 PM, Steve Millidge (Payara) wrote:
      > Nope although I usually run asadmin start-domain --verbose
     --debug to
      > keep it foregrounded

     Thanks, with --verbose --debug I see
     "rg.glassfish.flashlight.MonitoringRuntimeDataRegistry not found
by
     org.glassfish.main.admin.monitoring-core" [2].  Any ideas for
resolving
     that?

     Scott

     [2]
https://gist.github.com/scottmarlow/eec11ca74b99d021346b270fa29ce4fa

      >
      > Sent from Outlook Mobile <https://aka.ms/blhgte>
      >
      >
---------------------------------------------------------------------
---
      > *From:* glassfish-dev-bounces@xxxxxxxxxxx
     <mailto:glassfish-dev-bounces@xxxxxxxxxxx>
      > <glassfish-dev-bounces@xxxxxxxxxxx
     <mailto:glassfish-dev-bounces@xxxxxxxxxxx>> on behalf of Scott
Marlow
      > <smarlow@xxxxxxxxxx <mailto:smarlow@xxxxxxxxxx>>
      > *Sent:* Tuesday, June 23, 2020 6:54:57 PM
      > *To:* glassfish developer discussions
<glassfish-dev@xxxxxxxxxxx
     <mailto:glassfish-dev@xxxxxxxxxxx>>
      > *Subject:* [glassfish-dev] GlassFish master branch build +
"asadmin
      > start-domain" not completing...
      > Hi,
      >
      > Any idea why "asadmin start-domain" might not complete on my
     local Linux
      > machine?
      >
      > I set AS_DEBUG=true and the console fills up with the
following
     message:
      >
      > "Check for pid file:
      > jakartaee-tck/glassfish6/glassfish/domains/domain1/config/pid
      > "
      >
      > The server.log [1] ends with "[2020-06-23T13:41:48.777-0400]
     [glassfish
      > 6.0] [INFO] [NCLS-CORE-00092] [javax.enterprise.system.core] [tid:
      > _ThreadID=39 _ThreadName=Thread-12] [timeMillis:
1592934108777]
      > [levelValue: 800] [[
      >   Server shutdown initiated]]" but the "asadmin start-domain"
is
     still
      > looking for the process id file.
      >
      > Any suggestions for what I should check or a doc link that
might
     help?
      >
      > Thanks,
      > Scott
      >
      > [1]
https://gist.github.com/scottmarlow/daa8e85fdff9d8a1a4700bf96e4d7fec
      >
      > _______________________________________________
      > glassfish-dev mailing list
      > glassfish-dev@xxxxxxxxxxx <mailto:glassfish-dev@xxxxxxxxxxx>
      > To unsubscribe from this list, visit
     https://www.eclipse.org/mailman/listinfo/glassfish-dev
      >

     _______________________________________________
     glassfish-dev mailing list
     glassfish-dev@xxxxxxxxxxx <mailto:glassfish-dev@xxxxxxxxxxx>
     To unsubscribe from this list, visit
     https://www.eclipse.org/mailman/listinfo/glassfish-dev



--
Gurkan Erdogdu
http://gurkanerdogdu.blogspot.com

_______________________________________________
glassfish-dev mailing list
glassfish-dev@xxxxxxxxxxx
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/glassfish-dev


_______________________________________________
glassfish-dev mailing list
glassfish-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/glassfish-dev
_______________________________________________
glassfish-dev mailing list
glassfish-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/glassfish-dev
_______________________________________________
glassfish-dev mailing list
glassfish-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/glassfish-dev




Back to the top