0 Replies Latest reply: Mar 28, 2012 4:42 AM by bharath sadanagiri RSS

Startup issue in GateIn Portal JBoss EAP/EPP 5.1.1

bharath sadanagiri Newbie

Hi,

 

I am facing an issue when I tried to start the GateIn Portal instance by URL like http://SI:8107/si/config/port-bindings.properties in startup script. It is throwing the following exception

 

FINE: Unable to inject org/picketlink/idm/impl/configuration/jaxb2/generated/SupportedRelationshipTypesType$JaxbAccessorF_relationshipType

java.lang.reflect.InvocationTargetException

                        at sun.reflect.GeneratedMethodAccessor146.invoke(Unknown Source)

                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                        at java.lang.reflect.Method.invoke(Method.java:597)

                        at com.sun.xml.bind.v2.runtime.reflect.opt.Injector.internalInject(Injector.java:180)

                        at com.sun.xml.bind.v2.runtime.reflect.opt.Injector.inject(Injector.java:85)

                        at com.sun.xml.bind.v2.runtime.reflect.opt.AccessorInjector.prepare(AccessorInjector.java:87)

…                   

2012-03-27 09:11:08,606 ERROR [STDERR] (main) g.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)

                        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:826)

                        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)

                        at org.jboss.system.ServiceController.doChange(ServiceController.java:688)

                        at org.jboss.system.ServiceController.start(ServiceController.java:460)

Caused by: java.lang.SecurityException: class "org.picketlink.idm.impl.configuration.jaxb2.generated.SupportedRelationshipTypesType$JaxbAccessorF_relationshipType"'s signer information does not match signer information of other classes in the same package

                        at java.lang.ClassLoader.checkCerts(ClassLoader.java:807)

                        at java.lang.ClassLoader.preDefineClass(ClassLoader.java:488)

                        at java.lang.ClassLoader.defineClassCond(ClassLoader.java:626)

                        at java.lang.ClassLoader.defineClass(ClassLoader.java:616)

                        at java.lang.ClassLoader.defineClass(ClassLoader.java:466)

The following are the entries used in my startup script.

#export PBIND_OPTIONS="$JBOSS_SERVER,DEBUG=true,file:///home/jboss/port-bindings_jb511.properties,verbose"

export PBIND_OPTIONS="$JBOSS_SERVER,DEBUG=true,http://SI:8107/si/config/port-bindings_jb511.properties,verbose"

 

There is no issue if I use the local port-bindings.properties or if I remove gatein.ear from deploy folder and start the server using URL port-bindings.properties. I googled and found that there is a security problem related to PicketLink jars and following are the links.

 

http://www.redhat.com/resourcelibrary/articles/jboss-enterprise-application-platform-components#JEAP5-0

 

https://access.redhat.com/knowledge/solutions/42149

 

Please guide me if you have any idea related to this.

 

Thanks & Regards,

Bharath