Skip to content

Commit

Permalink
add glassfish config to pass integration tests (#1628)
Browse files Browse the repository at this point in the history
  • Loading branch information
alwin-joseph authored Nov 5, 2024
1 parent 950e6c8 commit 810007f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions glassfish-runner/integration-platform-tck/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,6 @@
<additionalClasspathElement>${project.build.directory}/${glassfish.toplevel.dir}/javadb/lib/derby.jar</additionalClasspathElement>
<additionalClasspathElement>${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/security.jar</additionalClasspathElement>
<additionalClasspathElement>${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/security-ee.jar</additionalClasspathElement>
<!-- <additionalClasspathElement>${project.directory}/glassfishporting.jar</additionalClasspathElement> -->
</additionalClasspathElements>
<includes>
<include>com/sun/ts/tests/integration/**/*Test*.java</include>
Expand All @@ -549,6 +548,9 @@
<GLASSFISH_HOME>${project.build.directory}/${glassfish.toplevel.dir}</GLASSFISH_HOME>
<glassfish.home>${project.build.directory}/${glassfish.toplevel.dir}</glassfish.home>
<glassfish.postBootCommands>set server-config.network-config.protocols.protocol.http-listener-1.http.trace-enabled=true
set server-config.network-config.network-listeners.network-listener.http-listener-2.enabled=true
set server-config.network-config.network-listeners.network-listener.http-listener-2.port=1044
set server-config.network-config.network-listeners.network-listener.http-listener-1.port=8080
create-file-user --groups guest --passwordfile ${project.basedir}/javajoe.pass javajoe
create-file-user --groups staff:mgr --passwordfile ${project.basedir}/j2ee.pass j2ee
create-jdbc-connection-pool --restype javax.sql.DataSource --datasourceclassname org.apache.derby.jdbc.ClientDataSource --property DatabaseName=derbyDB:serverName=localhost:portNumber=1527:user=cts1:password=cts1:connectionAttributes="create=true" --steadypoolsize 32 --maxpoolsize 64 cts-derby-pool
Expand All @@ -574,7 +576,7 @@

<profiles>
<profile>
<id>full</id>
<id>platform</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public static EnterpriseArchive createDeployment(@ArquillianResource TestArchive
// The component jars built by the package target
integration_sec_secbasicssl_ear.addAsModule(integration_sec_secbasicssl_web);
URL earResURL = Client.class.getResource("integration_sec_secbasicssl.ear.sun-application.xml");
integration_sec_secbasicssl_web.addAsWebInfResource(earResURL, "sun-application.xml");
integration_sec_secbasicssl_ear.addAsManifestResource(earResURL, "sun-application.xml");



Expand Down

0 comments on commit 810007f

Please sign in to comment.