There's the rub. I've modified the servlet to print the stack trace: I just 
get

java.lang.NullPointerException
        <<no stack trace available>>

As I say, it's occurring at the home.create() i.e.
t1 = home.create("User1");

I know that home is not null because I'm tracing that out. I get:

home=sb.JOnASOpHome_Stub[org.objectweb.jeremie.libs.stub_factories.std.R  
efImpl[0.0.0.0:3005:974131589930(remote)]]

One possible clue here is that RefImpl.toString() is reporting an IP 
address of 0.0.0.0, which doesn't seem right. I presume that port 3005 is 
dynamically allocated by the jeremie runtime.

Thanks,
Joe


-----Original Message-----
From:   John Ellis [SMTP:[EMAIL PROTECTED]]
Sent:   Monday, November 13, 2000 4:00 PM
To:     jonas
Subject:        Re: More security newbie problems :(

Joe,

What does the stack trace look like?

John

Joe Gittings wrote:

> This time I think it's due to something I'm doing wrong...
>
> I've managed to get this far with the security example:
> * Tomcat and Jonas start ok
> * I can authenticate myself with Tomcat as "tomcat"
> * The servlet starts, gets the OpHome ok
> * When the servlet calls home.create() I get a NullPointerException 
apparently from within the create().
>
> I've checked my configuration and it seems to match the instructions. Can 
anyone suggest what I'm doing wrong?
>
> Thanks in advance,
> Joe
>
> =====================================================================
> Joe Gittings, Royal Botanic Gardens, Kew
> Hanover House, Kew, Richmond, Surrey TW9 3AB
>
> [EMAIL PROTECTED]
> +44 20 8332 5712
> fax: +44 20 8332 5736
>
> ----
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body of the message "unsubscribe jonas-users".
> For general help, send email to [EMAIL PROTECTED] and
> include in the body of the message "help".

----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to