[
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 19:19:55 -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:nnHpmg88/Qo=;m93xRlUzstiDzKp3cQWOUklRQOS oOoMeOk6SXIrMPzmQDurWxICpyuTZhgVz18ggQ0H1HxYAYOCq9Y5TP9OnxRcYLGLHR0q5hWeY 1EozIHNMjuvPv80XNMFsvUV0XFjacNr6jV2vrs/uP8wJGxj6yCtfENt9HWp6AN0M8g3mMhtOz HZvWgfmHouN6sU57x0Q8git4TkolvxNtYUL9pP+c+jUfq6bRuDmEWrqKwlUXMoP8Tv+iWzHCg S0+h57cy+ezR1JXdLYxKU8fkidWznCuUlhORcRDocdpVUwkFDk/59joId0lWlG6jmOhPjKbV2 +2ky61xEDhgVU+ruDELoGYayglOmQaHsCyQKxBI3L6VptuKQr9rJRXaoQvVkQeHEy0g193Epv xHi2RbzGRWWU2x1P/5OSgTWe1OEPetKc4nYYlRXb/9ijHW17k0ZouVA8PfRP4POkBwUmkGu2E hDIscZuUMkirMDR2a8ss3YGyTgcLwGaIdtbwpbZyY9OdgesxFR9T62IjyPl3QdqNpxMOIeehk ft5PLspwtYcUmKoMg4H0bO1iUh+RvPKzOiKl0tWotjyAIqu7YRToKnO9+mtKAwer3xwJYk4D1 1hFl3ZBNZpEn1rMrJfKzFfgUEOan6ckSyI7uT/uWppBKDs8o96VVTKi1y84b6A0jOMS2slgAy y7MoqyROMegrDEJ3kXP5/lJVxoE9gB3WJstsA8oCOcJSPir1eW61CG1pzygPanTuSeddVxqu4 1nRMDbubzneoyVmmmKjE8xVcSQYkI6zWZjAiO4XQ8Z7ttkVog4dWc1ELqY1df/9cmb5APJtGC J1DtdZHYQjFwf0pOKUc4XzeXHjgMKt49HMAS1Osnp2TXmcF1UIrp51kqqyNbflOpTestBCeLh C5qzazpRiUxuJeDoFx7F2XPT8FTSp/FA3TTL9AFs3bEphkvxVEA78oNDruxnz4z2ztcojV+Jb nvRCVGg+l3rbr7J5rgoSekDlV6xXxXLD5nx8yvevj9t8ZRoACNP8pvvda/6NmOxAVEX3Bb7mw Byi1iiVee77bQ+qTClFCT9QEGyS4NjkJ5KlrMxlOqHu0x5M/N2KLC9FqQ64kcIu8BFZf+YjWf pPbtBxHuhoQQAcsmZ01LpJ4qCkrdMWdKcrnwfb0zqkXTLNeNBI0pL5azljQHu1KQPCSpJydFB iLK0tLJGzsbw/urKuMMpBV23r4N0t+k3nJOhqz4h+jqDP6MSVbpHO8kNjcyAiyiYG+zF2kLt6 1iK655GTuAmr1S57uwyKLJlthbZKf3nyaaUp8XsmMVer7ZBOGwNQp9NVF3F3hl5/trT0c4V+q 5Nmxwd+YUqP7Jyc0mIvUEdYtAhxgADsMlUUqeWCcSWY/6EKjEAKYpOqKkqE5twzyU4wl6Qkzr FoOW11/1eQdBNWI1+/4iVQdLLSV4NLauvW2sBRKXckRCZPaX8c/YgOaqAJBzfKbEuuiosW9PH qvL54fZRHeCjB2+LYh0rb3kWSfebKmWl0C7jZhjgHV7iaXrsNk6OShGa1r+L7r0KojD+9FQ==
- User-agent: Mozilla Thunderbird
So by sheer amount of random trial and error I was able to reduce
the instances of this happening:
https://github.com/eclipse-ee4j/cargotracker/commit/733884ef435290113a70958fd7922d34a2b83362.
It is still happening intermittently. It looks like some kind of
low level file locking and/or permissions issue. I'll keep trying
but honestly I could use some real help.
I would still be very keen on moving to GlassFish Embedded in a
way that's proper for an Eclipse Foundation project if that's
possible instead. This problem can be someone else's headache to
solve.
On 3/24/2025 11:08 AM, Reza Rahman
wrote:
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