Scott Marlow (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *updated* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiMDA1NjMyZWRl...
) / Bug (
https://hibernate.atlassian.net/browse/HHH-15514?atlOrigin=eyJpIjoiMDA1Nj...
) HHH-15514 (
https://hibernate.atlassian.net/browse/HHH-15514?atlOrigin=eyJpIjoiMDA1Nj...
) EntityTestCase Test failures with Hibernate ORM when run under security manager (
https://hibernate.atlassian.net/browse/HHH-15514?atlOrigin=eyJpIjoiMDA1Nj...
)
Change By: Scott Marlow (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
The
[
https://hibernate.atlassian.net/browse/HHH-15371|https://hibernate.atlass...
addressed Hibernate ORM Envers test failures when run under a Java Security Manager but
two of the tests not addressed by that change can be seen when running with Hibernate ORM
6.1.3
To recreate:
h1. Steps to use Scott's branch to reproduce wildfly test failure
git clone
[
https://github.com/scottmarlow/wildfly|https://github.com/scottmarlow/wil...]
cd wildfly
git checkout WFLY-16713_Hibernate_ORM6.1.3
./build.sh clean install -DskipTests=true
pushd wildfly/testsuite/integration/basic
mvn clean test -Dtest=SessionFactoryTestCase -Dsecurity.manager
mvn clean test -Dtest=EntityTestCase -Dsecurity.manager
popd
h1. Recreate the failure with a debugger
h1. start wildfly with remote debug enabled
pushd dist/target/wildfly-27.0.0.Beta1-SNAPSHOT/bin
vim standalone.conf
h1. find line with #JAVA_OPTS="$JAVA_OPTS
-agentlib:jdwp=transport=dt_socket,address=8787,server=y,suspend=n"
h1. save your changes to standalone.conf
h1. run WildFly with security manager enabled
. /standalone.sh -secmgr &
popd
pushd wildfly/testsuite/integration/basic
h1. see above step for running the mvn clean test -Dtest= EntityTestCase or
SessionFactoryTestCase -Dsecurity.manager
popd
(
https://hibernate.atlassian.net/browse/HHH-15514#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-15514#add-comment?atlOrigin=ey...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100207- sha1:4ec4822 )