0 Replies Latest reply on Apr 11, 2013 5:13 AM by maran selva

    JBoss Web Authentication is not available in Jboss As7

    maran selva Newbie

      Hi ,


             I am using GateIn-3.5.0.Final-jbossas7 to run my Application.

      Once the server is startup, if i start run my application, in the conole it shows the following Error,

      because of this error my application is not affected any way it is working fine but i want to stop this error message in the console.


      16:30:05,555 ERROR [org.jboss.portletbridge.extension.seam.PortalIdentity] (http-- Web Authentication instantiation exception, Web Authentication disabled: java.lang.NullPointerException

      at org.jboss.portletbridge.extension.seam.PortalIdentity$JBossLoginDelegate.<init>(PortalIdentity.java:134) [PortalIdentity-1.0.0.B4.jar:1.0.0.B4]

      at org.jboss.portletbridge.extension.seam.PortalIdentity.<init>(PortalIdentity.java:28) [PortalIdentity-1.0.0.B4.jar:1.0.0.B4]

      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [rt.jar:1.7.0_10]

      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) [rt.jar:1.7.0_10]

      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [rt.jar:1.7.0_10]

      at java.lang.reflect.Constructor.newInstance(Constructor.java:525) [rt.jar:1.7.0_10]

      at java.lang.Class.newInstance0(Class.java:372) [rt.jar:1.7.0_10]




      I have attached the portalIdentity.class file where the Error happen.


                          public JBossLoginDelegate() {

                                    try {

                                              this.authenticationClass = Class


                                    } catch (ClassNotFoundException ex) {


                                                                  "JBoss Web Authentication is not available...",

                                                                  new Object[0]);


                                    try {

                                              this.jbossAuthentication = this.authenticationClass


                                    } catch (Exception e) {


                                                                  .error("JBoss Web Authentication instantiation exception, Web Authentication disabled",

                                                                                      e, new Object[0]);








      do i need to add dependency for JbossAs7.


      pls help me.