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...
  • From: "Steve Millidge (Payara)" <steve.millidge@xxxxxxxxxxx>
  • Date: Thu, 25 Jun 2020 08:35:07 +0000
  • Accept-language: en-GB, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=payara.fish; dmarc=pass action=none header.from=payara.fish; dkim=pass header.d=payara.fish; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+UvNLFnqTEqpxeX3WFBGBBr81ABsO3g4X3GsflH0VTA=; b=keOLCWrAU/UomDDv55fpKmVH4bnr9ba+PpjoTVSUv4+u5LmzCwO+TgqvcoMGcWCzY+559fUZ4qRu3mftQujCLn3XtUSB4VaqPixVw4tm0nLCqzQa74n7thzaOswMjpdOH24B1lbv35r1LMUpa1QxouC7zHxggkxXbL2XYgOSSXcE1PKZ/Kfn6lrQBIDpfkPpekvr3Bl2jtbuLhVguAYycNBC/5zl+9EIpTeMtTa7z1pX1ppyylo700BPmiS+AAoGWaWDxnP1kv1d3ghUZRCChhplb+NK8QQrQ9DfGz6OEFLwTHMSyNpVK+gIMsKPd+R9DSuxCc5RQ4jyue0V/hYy3A==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BWwpy1FB9gJXEiWcbJDwaY6tFhhAPPgK2zy19HKXYWj7nooM3brDVg2LW8HQP/H/Bm0hngl+hBlOU8i59F+WmSFsTshKysqxbFuMeSV5kAl2nPcVd4M/OPb47Jvo98tuo1Ry6qHA+sB5avDC0woTSzqXfTz5pe/4m7epA8Beu0c+8Rz8qNQKSJPKEqho7LMk5xul73pFCxVpfWENC39U3tx47L8QTMV0kJaOGEAkatdvD9S9ypvQZ37gTlx5WGPTAQ9vD61XikhsXkFsnkWgTzH27bRAazehrM/Li7jBMp21u0crcsdcNx90P7YAnBThLuvo26JfnGMLcg7YGfVNcA==
  • Delivered-to: glassfish-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/glassfish-dev>
  • List-help: <mailto:glassfish-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/glassfish-dev>, <mailto:glassfish-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/glassfish-dev>, <mailto:glassfish-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHWSYsLnGZynKpylUiIA5qlhdYxxKjmikAAgAAD2ACAAAcEAIAAEB0AgAAA1VCAAe6mAIAAbwfA
  • Thread-topic: [glassfish-dev] GlassFish master branch build + "asadmin start-domain" not completing...

It's weird I've never seen these errors developing GlassFish or Payara. It's strange that it thinks it needs to update the bundles.

-----Original Message-----
From: Scott Marlow <smarlow@xxxxxxxxxx> 
Sent: 25 June 2020 02:57
To: glassfish developer discussions <glassfish-dev@xxxxxxxxxxx>; Steve Millidge (Payara) <steve.millidge@xxxxxxxxxxx>
Subject: 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/lastSuccessf
>> u 
>> lBuild/artifact/appserver/distributions/glassfish/target/glassfish.zi
>> p 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