Thanks, but the problem was much simpler than that. The cloudscape database
wasn't running. It was late, my brain was fried, what can I say? With
cloudscape running, it works fine on Linux. Now, how useful was the error
message? That's another story.
John Collins
Javier Borrajo wrote:
> John Collins wrote:
>
> > I have J2EE Reference Implementation running on Linux (RH 6.1), using
> > the Sun jdk1.2.2. I tried several EJB examples, and everything seemed
> > fine, until I tried running the Pet Store demo. It deploys, and the
> > main page comes up fine, but no other page will display. I am getting
> > an exception from the tag library. Here is the trace from the j2ee log:
> >
> > -----------------------------------
> > java.lang.NullPointerException
> > at java.util.Hashtable.put(Hashtable.java:377)
> > at org.apache.tomcat.core.Request.setAttribute(Request.java:183)
>
> <snip>
>
> > ---------------------
> > Am I missing something, or is there a newer version (this is from about
> > a month ago)? I've tried rebuilding from source and redeploying, and
> > I've looked at the code for signs of obvious breakage.
> >
> > Any ideas?
>
> Since you are able to edit
> org.apache.tomcat.core.Request.java
> and recompile, then you can insert a try{}catch block
> into the code where hashtable.put(Object,Object)
> is invoked to find out exactly where those null's arguments are coming from ?
>
> Regards
>
> Javier Borrajo
> www.tid.es
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff EJB-INTEREST". 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 "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".