2 Replies Latest reply on Jun 17, 2005 5:55 AM by theute

    Adding Users

    davemil

      I've now discovered that I cannot add new users to the portal.

      I can use both the "user" and "admin" pre-set users, however on adding my own users and then logging in as a one of them I get the following exception thrown :

      19:06:58,141 ERROR [CoyoteAdapter] An exception or error occurred in the contain
      er during the request processing
      java.lang.NullPointerException
       at java.util.Arrays.mergeSort(Arrays.java:1156)
       at java.util.Arrays.sort(Arrays.java:1080)
       at org.apache.catalina.realm.GenericPrincipal.<init>(GenericPrincipal.ja
      va:77)
       at org.jboss.web.tomcat.security.JBossGenericPrincipal.<init>(JBossGener
      icPrincipal.java:56)
       at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.getCachingPrincpa
      l(JBossSecurityMgrRealm.java:379)
       at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.authenticate(JBos
      sSecurityMgrRealm.java:244)
       at org.apache.catalina.authenticator.FormAuthenticator.authenticate(Form
      Authenticator.java:256)
       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
      torBase.java:391)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
      e.java:59)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:126)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
      ava:105)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:107)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
      a:148)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
      :856)
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
      ssConnection(Http11Protocol.java:744)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
      int.java:527)
       at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor
      kerThread.java:112)
       at java.lang.Thread.run(Thread.java:595)


      Help sought - Thanks in advance

      David

        • 1. Re: Adding Users
          davemil

          I forgot to say I'm using the out of the box version of the portal : jboss-portal-2.0-RC2-jboss-4.0.2 (bundles with forums) using the bundled hsql database, running on winXP with java1.5 jvm.

          David

          • 2. Re: Adding Users
            theute

            You probably have a user in no role, if you can, just delete server/default/data (all the data of Jboss portal will be created again)