Hi Peter,
I am sure that having a transaction is not needed for
getCallerPrincipal().
Which JBoss version do you use?
Could you provide the stack trace for the exception?
Have you set up JBoss security? What are your settings?
Regards,
Oleg
On Thursday 21 December 2000 00:59, Peter Braswell wrote:
> All,
> In a stateful session bean, a call to
> SessionCtx.getCallerPrincipal( ) results in a
> NullPointerException, TRANSACTION
> ROLLBACKEXCEPTION:null
>
> I'm not sure to consider this erroneous or simply as a
> symptom of me not having a transaction associated with
> this bean. The spec doesn't seem to indicate that an
> associated tx is a prerequisite for calling this
> method..??
>
> Thoughts?
>
> peter
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Shopping - Thousands of Stores. Millions of Products.
> http://shopping.yahoo.com/