When I sorted this out, I did in fact post to the list what the solution 
was.  I had omitted to put Jonas's copy of jonathan.prop in Jonas's 
classpath.

Joe

-----Original Message-----
From:   Sugath Mudali [SMTP:[EMAIL PROTECTED]]
Sent:   Monday, November 20, 2000 12:46 PM
To:     [EMAIL PROTECTED]
Subject:        Re: More security newbie problems :(

Joe Gittings wrote:
                  >
                  > 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

Joe, I encountered the same problem with running an enitity bean via
tomcat; as you metioned previously, I managed to get through the
password dialog box but only to fail at home.create(...) line; as you
correctly pointed out, 'home' is not null. If I removed
method-permission tag from ejb-xml.jar file, the problem didn't appear;
so this may point out to something to do with permission. However, the
sample came with JOnAS distribution, ejbSample, didn't encounter any of
these problems (session bean sb/OP). btw, I should mention that I am
running JOnAS on RedHat 7.0 using JDK1.3 from Sun. I am interested to
find out a 'proper solution' to this problem.

cheers
sugath


----
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