OK.. for future readers it is a case of RTFCF (config files)

To deploy my beans I commented out SecurityDomainJndiName in
hsqldb-service.xml
and uncommented the UserName and Password in the managed connection factory
section..

This begs the question: Why was I getting the principal=null error with the
JAAS config?

How do I specify what principal to use?

Yours
Phil



----- Original Message -----
From: "Phil Cornelius" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 29, 2002 9:09 PM
Subject: Re: [JBoss-user] Invalid authentication attempt, principal=null


> I am using 'out-of-the-box' Hypersonic and HsqlDbRealm exists in the
> login-config.xml and in the hsqldb-service.xml file, I assume these are
the
> fields you mean?
>
> I get this error when I try to deploy the cmp2-example from the CMP 2.0
> docs.. (that I bought from flashline)
>
> I sorted out the 'one strategy tag' problem but now I am up against this
> principle=null error..
>
> If anyone has got the cmp2-example to run on RC3 can you give me a hint.
>
> Thanks
> Phil
>
> ----- Original Message -----
> From: "Marius Kotsbak" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, May 29, 2002 7:19 PM
> Subject: Re: [JBoss-user] Invalid authentication attempt, principal=null
>
>
> > Check login-conf.xml. Some fields there must be the same as in the
> > db-service-file.
> >
> > On Wed, 2002-05-29 at 20:05, Phil Cornelius wrote:
> > > My app fails to deploy with the following error..
> > >
> > > java.lang.SecurityException: Invalid authentication attempt,
> principal=null
> > >  at
> > >
>
org.jboss.resource.connectionmanager.BaseConnectionManager2.getSubject(BaseC
> > > onnectionManager2.java:662)
> > >  at
> > >
>
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnecti
> > > on(BaseConnectionManager2.java:503)
> > >  at
> > >
>
org.jboss.resource.adapter.jdbc.local.LocalDataSource.getConnection(LocalDat
> > > aSource.java:101)
> > >  at
org.jboss.ejb.plugins.cmp.jdbc.SQLUtil.fixTableName(SQLUtil.java:38)
> > >  at
> > >
>
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.<init>(JDBCEntityBrid
> > > ge.java:103)
> > >  at
> > >
>
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.create(JDBCStoreManager.java
> > > :333)
> > >  at
> > >
>
org.jboss.ejb.plugins.CMPPersistenceManager.create(CMPPersistenceManager.jav
> > > a:155)
> > >  at org.jboss.ejb.EntityContainer.create(EntityContainer.java:337)
> > >  at org.jboss.ejb.Container.invoke(Container.java:789)
> > > ......
> > >
> > > I am running Jboss 3.0 RC3 (same problem for RC1)
> > >
> > > Can someone give me a pointer.
> > >
> > > Yours
> > > Phil
> > >
> > >
> > >
> > > _______________________________________________________________
> > >
> > > Don't miss the 2002 Sprint PCS Application Developer's Conference
> > > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
> > >
> > > _______________________________________________
> > > JBoss-user mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/jboss-user
> >
> >
> >
> > _______________________________________________________________
> >
> > Don't miss the 2002 Sprint PCS Application Developer's Conference
> > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
> >
> > _______________________________________________
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-user
> >
>
>
> _______________________________________________________________
>
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to