You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GlassFish Version (and build number): GF 8.0.0-JDK17-M5
JDK version: 17.0.12+7
OS: Fedora 31
Database: db-derby-10.15.2.0-bin
Problem Description
If I try to pass arguments to the glassfish8/glassfish/bin/appclient script after the "-jar exec_jar", they seem to be treated as additional bootstrap JVM arguments rather than arguments to the appclient main(String[] args) method. For example, trying this command line that is generated by the tests in the glassfish-runner/jsonp-platform-tck runner directory of the https://github.com/jakartaredhat/alwin-ee-tck.git repo:
[starksm@scottryzen jsonp-platform-tck]$ target/glassfish8/glassfish/bin/appclient -jar target/appclient/jsonprovidertests_appclient_vehicle_client.jar -p /tmp/tstest.jte -t jsonProviderTest1 -vehicle appclient
Unrecognized option: -Xt
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Note that other appclient jars do not show this problem. The patchtests_appclient_vehicle_client.jar.zip can be run with the same command line and it will fail with CFE issues, but the bootstrap does not complain about unrecognized options.
Steps to reproduce
Unzip the attached jsonprovidertests_appclient_vehicle_client.jar and try running the given command line.
Environment Details
Problem Description
If I try to pass arguments to the glassfish8/glassfish/bin/appclient script after the "-jar exec_jar", they seem to be treated as additional bootstrap JVM arguments rather than arguments to the appclient
main(String[] args)
method. For example, trying this command line that is generated by the tests in the glassfish-runner/jsonp-platform-tck runner directory of the https://github.com/jakartaredhat/alwin-ee-tck.git repo:Note that other appclient jars do not show this problem. The patchtests_appclient_vehicle_client.jar.zip can be run with the same command line and it will fail with CFE issues, but the bootstrap does not complain about unrecognized options.
Steps to reproduce
Unzip the attached jsonprovidertests_appclient_vehicle_client.jar and try running the given command line.
Impact of Issue
This is blocking the EE 11 TCK work
patchtests_appclient_vehicle_client.jar.zip
jsonprovidertests_appclient_vehicle_client.jar.zip
The text was updated successfully, but these errors were encountered: