Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [glassfish-dev] GlassFish Fails with Arquillian
  • From: Reza Rahman <reza_rahman@xxxxxxxx>
  • Date: Tue, 25 Mar 2025 07:34:26 -0400
  • 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-topic: Re: [glassfish-dev] GlassFish Fails with Arquillian
  • Ui-outboundreport: notjunk:1;M01:P0:WcfxlrLxtDw=;+yxFmTV3VEWLCYVMyOLD4RwDd65 T81y4TJwDGiHkSUJSrILfwbwZzrB492e0dxG603armPh4PTM/VWmO4YPXPdLRu488AiSzGeX1 RPdYfVH6exJ4VrAtoKQLu/+U7Ib8eppwz7IYrtmP0k1HmMaaE8UzaWyAee01C0feHsACAdUZf JeuB5omNsoTSoQtFk1hyT4pQBquIhwIiEoIx5uX/MmLQfsJcDwRwikAVV44Yvc+DDEn/HhYeD oUK5S0tIgQ4CTQ8wpBN9gsdVB2eJi/7B54h277299DJoqF7BwJrPxJBTe0IwJT/yyqAYxi1Pr whlQF2JDJuNryB8qwebeoAhFYZ4E8m1dRBb4cPHaQ3ZBQzXj6yxyvLO2iagAbOtTF/mqMmdTl VZDapBd6+mo+AxLMdoF/71N5PyMut/qjwM8+3HGVN6JVZLfkyqYBsu7ljGiODiyCIxCVmaK/S LQFThWwDTGvbfZ5sIlj/XtMqxtBWs3U5teNiwFcll2oKN+CM82YhemTy5pS8+fUQUaaFkMJQ/ mejjc3dZXQSKH4PzY3aEaMxrWQHhLweF+u6RkSvM64E0KNBYF+RUdiLFDVQRD86lTZPUw7HUi 3EAjJKkhW9Q4auIfnffYlyXy2DzYFth2Mirlml/BHTiGZ2egcs1RA6YmHJoA4gGNFhqYsIb2s 1KlsqbuBBQfnLZUFfhqrlIoaDNq52eNsd6iSEOdPgYkJ8o4mKtVjqkOzX88N6xZw17DjXC6fF zx1I51oAa1gAqEjSta92lT9BPTzxswgw/B3EEtfgBv1XOVPgM87S3SdxcPM0nC7svOUdFzn5P S3mbdawmtat8K7FLNphr99SmkxL9cFowwnbi1SPlnczSLBRd9sp4GLGymK/sJeMRQ02wI2lMl 6E55vDu43gU1UBmx8aAdfGGksFtFIGmn8zC6R3RSq/MI4UqO+ko3m6gdKK+NLLDOJbvIn0gMz wzBOnqd1KrW4iyVicbjO5kit6Ipl0jId7oY/E/lQTwUUjcMG/Lez7JBwT6J6WkmD9hoBeOlTH ViizmKYyT/N0OdB13+f9tN+SRERya3HGwIri4ew9xQmDuznWiRIkbA3B25/CSJPSg3mKtuEOE q4KKyoeP5YcBAbaS7VubnPsujQTC23cEd45cx21LK7ni805EnsKuY/mV0BvqhhdKBX8aV4Zqc hLAObG0ZWIkoTpVrz1/9ec8O1avThZsDDSAqP1NfSxOv6qc1I04Q+w28BQReIs3Op6R27PiGM RXboupaVLVJ/a3zHGV2FsXAdvxGCDthrUcvsp/KWg8hEbW3B2VDSNHy1093GqdOi7V1DNPigI UR/k/82WydiLPXOXn2T4Cl8PaegDW7q68f0VzgaApaAQf0MQKNSswNPyZR9kuHT+4rBqKi9zv lSaBWqtdxVeSn58uygOp5NsY7Wa8HJcpZlSvy58IJa9MZFc6ePlqtMkBhL/pXNbBCP4DD+k7h LwA5PM8YwHx8Lf1fBDuYAoRP4S8GY71pUi9Rh7jDbo8RHg1ahnimmRTSDUlLBG+fHliyVPQ==

Certainly worth trying as an experiment. I was wondering about that too since everything seems fine on Linux.


From: Scott Marlow <smarlow@xxxxxxxxxx>
Sent: Tuesday, March 25, 2025 5:13 AM
To: glassfish developer discussions <glassfish-dev@xxxxxxxxxxx>
Cc: Reza Rahman <reza_rahman@xxxxxxxx>; cargotracker developer discussions <cargotracker-dev@xxxxxxxxxxx>
Subject: Re: [glassfish-dev] GlassFish Fails with Arquillian
 


On Mon, Mar 24, 2025, 10:44 AM Reza Rahman via glassfish-dev <glassfish-dev@xxxxxxxxxxx> wrote:

This is what I did:

C:\GitHub\cargotracker> cd "C:\Program Files\Eclipse Adoptium\jdk-17.0.8.101-hotspot\bin\"


I wonder if it would help to copy the jdk-17.0.8.101-hotspot folder to c:\ in case the spaces in the path are causing trouble.  And set the environment/path to point to new (no spaces) Java location.

Scott

C:\Program Files\Eclipse Adoptium\jdk-17.0.8.101-hotspot\bin> java.exe -jar "C:\GitHub\cargotracker\target\glassfish7\glassfish\modules\admin-cli.jar" start-domain -t

This is the output I get:

Waiting finished after 48,817 ms.
Successfully started the domain : domain1
domain  Location: C:\GitHub\cargotracker\target\glassfish7\glassfish\domains\domain1
Log File: C:\GitHub\cargotracker\target\glassfish7\glassfish\domains\domain1\logs\server.log
Admin Port: 4,848

This still could be an issue, but at least the above works.

On 3/24/2025 6:17 AM, Arjan Tijms via glassfish-dev wrote:
Hi,

It looks like a rather basic thing:

"org.jboss.arquillian.container.spi.client.container.LifecycleException: Unable to execute [C:\Program Files\Eclipse Adoptium\jdk-17.0.8.101-hotspot\bin\java.exe, -jar, C:\GitHub\cargotracker\target\glassfish7\glassfish\modules\admin-cli.jar, start-domain, -t]"

Can you double check if the JDK is indeed at that location?

Kind regards,
Arjan Tijms




On Mon, 24 Mar 2025 at 09:22, Ondro Mihályi via glassfish-dev <glassfish-dev@xxxxxxxxxxx> wrote:
Can you try if it also happens on Linux/Mac? When I run the BookingServiceTest test with "maven test -Pglassfish" on master branch on Linux, it works.

I suspect that the problem is only on Windows, can you confirm it, Reza?

Ondro

On Mon, Mar 24, 2025 at 12:05 AM Reza Rahman via glassfish-dev <glassfish-dev@xxxxxxxxxxx> wrote:

When I try with the OmniFish plugin, I get a slightly different error with the same overall symptoms. The stack trace is attached.

On 3/23/2025 6:36 PM, Reza Rahman wrote:
Thanks very much for taking a look. I can try the OmniFish plugin as a test.

However, I cannot use it in the project in relation to GlassFish. I must use something in the GlassFish or Arquillian domain instead. I’ve already checked with the EMO on this. My hope would be that either the Arquillian plugin is properly maintained or a plugin is created within the GlassFish project. Alternatively, I would not mind adding support for an OmniFish branded runtime. That’s also something that the EMO has suggested.


From: Arjan Tijms <arjan.tijms@xxxxxxxxxxx>
Sent: Sunday, March 23, 2025 6:10 PM
To: glassfish developer discussions <glassfish-dev@xxxxxxxxxxx>
Cc: Reza Rahman <reza_rahman@xxxxxxxx>; cargotracker developer discussions <cargotracker-dev@xxxxxxxxxxx>
Subject: Re: [glassfish-dev] GlassFish Fails with Arquillian
 
Hi,

I haven't tried anything yet, but from a cursory glance at master the first thing that stands out is that for GlassFish an alpha version of the unmaintained JBoss Arquillian connector is used, that was only suited for GlassFish 6:

 <dependency>
          <groupId>org.jboss.arquillian.container</groupId>
          <artifactId>arquillian-glassfish-managed-6</artifactId>
          <version>1.0.0.Alpha1</version>
          <scope>test</scope>
</dependency>

Maybe that could explain some?

You could try with:

<dependency>
            <groupId>org.omnifaces.arquillian</groupId>
            <artifactId>arquillian-glassfish-server-managed</artifactId>
            <version>1.7</version>
            <scope>test</scope>
</dependency>

Kind regards,
Arjan Tijms



On Sun, 23 Mar 2025 at 20:47, Reza Rahman via glassfish-dev <glassfish-dev@xxxxxxxxxxx> wrote:
Hello,

The Cargo Tracker project (https://github.com/eclipse-ee4j/cargotracker)
has tried to support GlassFish but once again I am running into seeming
stability issues. While running tests with Arquillian, the attached
issue now suddenly crops up. I have absolutely no idea what is going on.
Honestly, this sort of thing never happens with Payara or Liberty, which
are the two other runtimes Cargo Tracker supports.

Is there someone here that can help? Otherwise I will remove GlassFish
support from Cargo Tracker for now.

Thanks,

Reza
_______________________________________________
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
_______________________________________________
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