Skip to main content

Could not start Domain after Glass Fish 3.1.2.2 fresh installation

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
1 reply [Last post]
Bencampbell
Offline
Joined: 2014-03-12

Hi,

Installed GF 3.1.2.2 on AIX 6.1. It runs on Power 7 hardware and 64 bit Kernel.
Installation was successful. But when i tried to bring it up it failed with below error message.

Am a newbie to GF and any help on this would be really appreciated.

[#|2014-03-11T06:29:03.774-0400|INFO|glassfish3.1.2|javax.enterprise.system.core.security.com.sun.enterprise.security|_ThreadID=10;_ThreadName=Thread-13;|SEC1
010: Entering Security Startup Service|#]

[#|2014-03-11T06:29:03.779-0400|INFO|glassfish3.1.2|javax.enterprise.system.core.security.com.sun.enterprise.security|_ThreadID=10;_ThreadName=Thread-13;|SEC1
143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.|#]

[#|2014-03-11T06:29:03.818-0400|SEVERE|glassfish3.1.2|javax.enterprise.system.core.security.com.sun.enterprise.security|_ThreadID=10;_ThreadName=Thread-13;|SE
C1144: Error while installing policy provider: |#]

[#|2014-03-11T06:29:03.820-0400|SEVERE|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=10;_ThreadName=Thread-13;|Exception
while deploying the app [__admingui]|#]

[#|2014-03-11T06:29:03.821-0400|SEVERE|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=10;_ThreadName=Thread-13;|com.sun.en
terprise.security.SecurityLifecycleException
at com.sun.enterprise.security.SecurityLifecycle.onInitialization(SecurityLifecycle.java:211)
at com.sun.enterprise.security.SecurityLifecycle.postConstruct(SecurityLifecycle.java:251)
at com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:131)
at com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91)
at com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82)
at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:67)
at com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139)
at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:78)
at com.sun.enterprise.security.SecuritySniffer.setup(SecuritySniffer.java:109)
at com.sun.enterprise.v3.server.ContainerStarter.startContainer(ContainerStarter.java:116)
at com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainer(ApplicationLifecycle.java:943)
at com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:651)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:368)
at com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:375)
at com.sun.enterprise.v3.admin.adapter.FInstallerThread.load(InstallerThread.java:210)
at com.sun.enterprise.v3.admin.adapter.InstallerThread.run(InstallerThread.java:108)
Caused by: java.lang.RuntimeException: java.lang.NullPointerException
at com.sun.enterprise.security.PolicyLoader.loadPolicy(PolicyLoader.java:186)
at com.sun.enterprise.security.SecurityLifecycle.onInitialization(SecurityLifecycle.java:190)
... 15 more
Caused by: java.lang.NullPointerException
at sun.security.provider.PolicyFile$PolicyInfo.(PolicyFile.java:2490)
at sun.security.provider.PolicyFile.init(PolicyFile.java:460)
at sun.security.provider.PolicyFile.(PolicyFile.java:319)
at com.sun.enterprise.security.provider.PolicyWrapper.getNewPolicy(PolicyWrapper.java:75)
at com.sun.enterprise.security.provider.BasePolicyWrapper.(BasePolicyWrapper.java:150)
at com.sun.enterprise.security.provider.PolicyWrapper.(PolicyWrapper.java:67)
at java.lang.J9VMInternals.newInstanceImpl(Native Method)
at java.lang.Class.newInstance(Class.java:1549)
at com.sun.enterprise.security.PolicyLoader.loadPolicy(PolicyLoader.java:152)
... 16 more
|#]

[#|2014-03-11T06:29:03.930-0400|SEVERE|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=10;_ThreadName=Thread-13;|Exception
while deploying the app [__admingui]|#]

[#|2014-03-11T06:29:03.931-0400|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.admin.adapter|_ThreadID=10;_ThreadName=Thread-13;|The A
dmin Console application is loaded.|#]

Thanks!

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
ashishkp
Offline
Joined: 2011-05-28

It seems IBM JDK/JRE issue.

http://www-01.ibm.com/support/docview.wss?uid=swg1IV54865

upgrade to latest JDK should fix it.

- Ashish