I'm glad you figured it out. Seems like there's a general problem with name
conflicts in servlet names, web-app names, service names and maybe other things.
If anyone else has observed this sort of behavior, please email me at
[EMAIL PROTECTED], or just reply to the list with as much detail as you can
provide.
This is a problem I noticed recently when I defined an alias for a servlet that
conflicted with a service name (for example, a servlet alias of "scheduler" will
conflict with the default service named "scheduler"). For now the workaround is
to keep names of all these things unique. But I realize common names soon
become scarce, especially when deploying complicated applications with many
components.
Scott Stirling
> -----Original Message-----
> From: Geoff Soutter [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 08, 2000 12:00 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Problems running web app. - !bug workaround!
>
>
> AHA!
>
> I figured it out (well at least one cause)
>
> If you have a servlet name the same as the webapp directory name it causes
> this problem to happen.
>
> Yet Another JRun Bug, <sigh>...
>
> cheers
>
> geoff
>
>
> ----- Original Message -----
> From: "Geoff Soutter" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Cc: "Scott Stirling" <[EMAIL PROTECTED]>
> Sent: Tuesday, August 08, 2000 1:44 PM
> Subject: Re: Problems running web app.
>
>
> > Scott,
> >
> > I'm getting this frequently as well. :-( It's (&*(&V annoying!
> >
> > Would you mind to explain further as to what causes it, so I can fix the
> > problems I'm having?
> >
> > Thanks,
> >
> > Geoff
> >
> > ----- Original Message -----
> > From: "Scott Stirling" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, July 27, 2000 9:16 AM
> > Subject: RE: Problems running web app.
> >
> >
> > > This error message stinks. I'm encountering it myself on a regular
> basis.
> > The
> > > likely cause is that your web.xml is configured wrong, or there was
> > something in
> > > your servlet's init method that failed. But it can also happen if there
> > are
> > > naming conflicts between web.xml and web app configuration parameters in
> > > local.properties. If you submit your web.xml and the bottom half of
> your
> > > local.properties I can probably figure out the problem if you can't.
> > >
> > > Scott Stirling
> > >
> > > > -----Original Message-----
> > > > From: Yu, Calvin [mailto:[EMAIL PROTECTED]]
> > > > Sent: Wednesday, July 26, 2000 4:24 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: Problems running web app.
> > > >
> > > >
> > > > I'm having problems running a web app in JRun 3.0 with Apache. When I
> > try
> > > > to hit the URL, I'm getting this exception:
> > > >
> > > > 07/26 15:41:10 error (JRun) Could not pre-load servlet: vendela
> > > > [javax.servlet.ServletException]
> > > > javax.servlet.ServletException: null
> > > > java.lang.NullPointerException
> > > > at java.util.Hashtable.put(Hashtable.java:377)
> > > > at
> > > >
> > allaire.jrun.util.OrderedProperties.putProperty(OrderedProperties.java:95)
> > > > at
> > > >
> > allaire.jrun.util.OrderedProperties.setProperty(OrderedProperties.java:88)
> > > > at allaire.jrun.servlet.JRunSE.loadConfig(JRunSE.java:332)
> > > > at allaire.jrun.servlet.JRunSE.init(JRunSE.java:151)
> > > > at allaire.jrun.ServletService.init(ServletService.java:66)
> > > > at allaire.jrun.ServletService.init(ServletService.java:31)
> > > > at
> > > >
> >
> allaire.jrun.servlet.JRunServletLoader.loadServletInstance(JRunServletLoader
> > > > .java:236)
> > > > at
> > > >
> >
> allaire.jrun.servlet.JRunServletLoader.loadServletInstance(JRunServletLoader
> > > > .java:190)
> > > > at
> > > >
> >
> allaire.jrun.servlet.JRunServletLoader.loadServlet(JRunServletLoader.java:17
> > > > 7)
> > > > at allaire.jrun.servlet.JRunSE.getServletReference(JRunSE.java:1261)
> > > > at allaire.jrun.servlet.JRunSE.preloadServlets(JRunSE.java:968)
> > > > at allaire.jrun.servlet.JRunSE.init(JRunSE.java:196)
> > > > at allaire.jrun.ServletService.init(ServletService.java:66)
> > > > at allaire.jrun.ServletService.init(ServletService.java:31)
> > > > at
> > > >
> >
> allaire.jrun.servlet.JRunServletLoader.loadServletInstance(JRunServletLoader
> > > > .java:236)
> > > > at allaire.jrun.servlet.JRunSE.initServices(JRunSE.java:620)
> > > > at allaire.jrun.servlet.JvmContext.initServices(JvmContext.java:96)
> > > > at allaire.jrun.servlet.JRunSE.init(JRunSE.java:187)
> > > > at allaire.jrun.servlet.JvmContext.init(JvmContext.java:35)
> > > > at allaire.jrun.ServletService.init(ServletService.java:66)
> > > > at allaire.jrun.ServletService.init(ServletService.java:31)
> > > > at JRun.main(JRun.java:130)
> > > >
> > > > I was wondering if anyone has any insight on what causing this to
> > happen.
> > > >
> > > > I got JRun install from CD in this month's JDJ.
> > > >
> > > > Thanks,
> > > > Calvin
------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the
body.