[
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: Mon, 24 Mar 2025 11:08:10 -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>
- Ui-outboundreport: notjunk:1;M01:P0:LTP2ZjYkrJE=;O/fcpgIZN/h0XGVMJTxVfuvyOni n+9tEiT/vnErLFHvHYHIMvVT8ZnXEcSe1PYCyl1sTD7Zwv0e3HDqitw3DSCMxRYoTt7pOQLLE Vm4LBn9YSHvKuxBYB0mC8JJt21ZmbDFMXAl3n4i7TwoL0hxxOWZ8G7ffynflCnGKo/fCWZkg4 o67w5LiJcAcBPeWmuY6kPy/QWk+IgCqWu8EirNWvQzoslu4UgBPeUjGbIJ8Wdl7p0l6zsnti/ Rmg2tgnRqYdnfL5e/6sgcRrg5XfXbvCUAXzpwTOH7DZ+4wdFIE8FXrtfYkoLV9Xx9NOktIPAx slHAm6SM5geOYKm+4Z+oBuvYbS3+3nodti2NJ5bzE3SD+jo9EQNChV/jmPYZ+2Kf9MYa97OUk PUHJ1300pIIj5HBQX/WYkDITRWsAq6gEZ9GoD1+89yWVAVr96MdEgMNOxo/Z5J8/85HEadD58 hSNAaXx2EzJM/Oq7gXVcC09QyTdqpXjEtFFoSqUHJwx2yifSCgCEw71fVnmFYVnNXcnuiOM1Y rAycAJDpdRt9nXof0a8f0qGIKtsbbjpDrGeLi2j+rn9k7B8UFJcU8LkvEFePGgDJiWGUYZiy3 atFlyONvO0BZRyEvWAXNR5LVCUKK4lNfwvg7iOLwpAlvGuV0EUAjmZtpTinj9R7g4PoF8yKyq 1InKfwMNTBsGr9V0S0PzelEuWUJ1D/Qu8Bdm68cM0aSOTsIIGyh+1Bo4nT+dSk26ezSUvTprx lZvLe9Y2qAvDGFIR78923CUx2ppM3WQIgwpsMuhtF+KAO6VYaS7t6zDwS38iA2LOWgmn8fSxV 6WZItx715um6813FoPmoGBlWS6JmUXJ0oLG9Vu+VUMKWUt6Izd2oUqZCSXsRWHr4a3LWjQFDq cuwbVZpV1CWxKq197JwqAURdDxMAZbKFIC3hE4lHmZDMKGFAws7wUTxoAaLMjTiZ61Ey7pPe8 oH6KPIM16LjnWHZVMf4MgbFJJHB0t/1MiQvAyNyJbqFH69ZSiTBPsatF6IvrotlNMyq7g/SvZ uUkmmRsH6bKsEDIh6KGB8DuZcEInKY3Lz6Ni2hnw2LPIlkV2zjX59Fvf+ZgpcYaOqVB0hXaMn x6PnW5/d/6l/BTfRaj7X1dPuI3dt2p1OsgfYsbj+EPaPuKH07XDylu4BUO9gWdeufyGz+x7DJ Br0m+Kk4HgWlT1DKbWAMjrcI94Z7QudyFXMWHjOxlL8DUT4S+H1pbC7ZQU6Z5mpUByB+LD3Tv /fEzp41rXXrXvdS5/gKCOqbk6t6Yujp3Z0aRgjwsrb5LEk2A4zlSdqTWgKZ+yNxV/KPSK7uJN 3mxf7Icic1vAZCW/XEaKFZQSnP1FhDXKkUHr3k6Big9aVIh09HkWXf4mysF0gwwk4dg8JOdxB nqPqzyqFDc/Ni8ByYkmhpfEXVUmCnJd8YqEKKiRZ4LqLqkgRTY3dxQFCWKo708L8lwDFPEDTQ T1PqfVGKPRcFDUlV+scObIveYQ7vI33LS0WJl+ZHlQfgAMlD0OuFzweK9q37kiQDgzFtQ4w==
- User-agent: Mozilla Thunderbird
Also tried the following, it works fine:
& "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
I did notice that if GlassFish was not shut down completely, I
get this:
Waiting finished after 60,001 ms.
No response from the Domain Administration Server (domain1) after
60 seconds.
The command is either taking too long to complete or the server
has failed.
Please see the server log files for command status.
Please start with the --verbose option in order to see early
messages. No response from the Domain Administration Server
(domain1) after 60 seconds.
The command is either taking too long to complete or the server
has failed.
Please see the server log files for command status.
Please start with the --verbose option in order to see early
messages.
I'll try to pin down under what exact conditions this happens.
It's not easy to reproduce. This is easier to reproduce manually:
There is a process already using the admin port 4,848 -- it
probably is another instance of a GlassFish server.
On 3/24/2025 10:44 AM, Reza Rahman
wrote:
This is what I did:
C:\GitHub\cargotracker> cd "C:\Program Files\Eclipse
Adoptium\jdk-17.0.8.101-hotspot\bin\"
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
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
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.
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
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