2 Replies Latest reply on May 21, 2002 9:27 AM by joe_k

    Problems deploying app under AIX

    joe_k

      I'm wondering if there are some compatibility-problems with JBoss and AIX. My application works fine with W2k but produces a lot of java.lang.SecurityException with AIX:

      2002-05-14 14:10:07,636 ERROR [org.jboss.ejb.EntityContainer] Exception in service lifecyle operation: create
      java.lang.SecurityException: Invalid authentication attempt, principal=null
      at org.jboss.resource.connectionmanager.BaseConnectionManager2.getSubject(BaseConnectionManager2.java:676)
      at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:496)
      at org.jboss.resource.adapter.jdbc.local.LocalDataSource.getConnection(LocalDataSource.java:101)
      at org.jboss.ejb.plugins.cmp.jdbc.SQLUtil.fixTableName(SQLUtil.java:38)
      ...

      This is very confusing because not only the deployment but also the JBoss-Version is exactly the same I'm using with Windows.

      Does anybody know about this???

      BTW: I'm running JBOSS 3.0.0 RC2 on AIX 5.1 ppc 64 with IBM's Java 1.3.1.

      Any hint would be great.

        • 1. Re: Problems deploying app under AIX
          joe_k

          I found a workaround for my problem. In hsqldb-service.xml I 'disabled' the HsqlDbRealm and specified username and password in there (so I cannot use the HsqlDbRealm in the login-conf.xml).

          Still I wonder why my first attempt worked on Windows but throws a java.lang.SecurityException on AIX. To be more specific: method getSubject() invoked by org.jboss.resource.connectionmanager.BaseConnectionManager2 only throws an Exception when running on AIX.

          Is this a bug in the new jca-framework?

          • 2. Re: Problems deploying app under AIX
            joe_k

            Problem seems to be fixed in RC3 ;-)