Andre,

I am running into the exact same situation as you described in your original
post, so I was excited to see the solution.  However, when I tried it, I get
a NullPointerException when I startup weblogic.

Wed Dec 06 12:13:12 PST 2000:<E> <WebLogicServer> Failed to invoke startup
class strutsAppStartup=WebAppStartup
java.lang.NullPointerException
        at WebAppStartup.startup(WebAppStartup.java, Compiled Code)
        at weblogic.t3.srvr.StartupThread.runStartup(StartupThread.java:182)
        at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java,
Compiled Code)
        at
weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)

My properties files has these properties:
weblogic.system.startupClass.strutsAppStartup=WebAppStartup
weblogic.system.startupArgs.strutsAppStartup=webAppContext= 

It acts as if WebAppStartup cannot live without the context path.  Did you
experience this?

TIA,
Jeff



-----Original Message-----
From: Andre Wittenburg [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 06, 2000 6:12 AM
To: '[EMAIL PROTECTED]'
Subject: AW: Struts+Weblogic+WARs


Sorry, for this question...

the solution is: 
weblogic.system.startupClass.myStartup=WebAppStartup
weblogic.system.startupArgs.myStartup=webAppContext=

Just leave the argument empty.... stupid ...

Sorry
Andre


> -----Urspr�ngliche Nachricht-----
> Von:  Andre Wittenburg [SMTP:[EMAIL PROTECTED]]
> Gesendet am:  Mittwoch, 6. Dezember 2000 13:45
> An:   '[EMAIL PROTECTED]'
> Betreff:      Struts+Weblogic+WARs
> 
> Hi!
> 
> I'm using weblogic(sp6) with Struts and the WebAppStartup class, which was
> posted in the struts-user list.
> 
> My problem is, that i want to use the weblogic property
> "weblogic.httpd.defaultWebApp", so my problems with the context path would
> vanish (and i would like to have this webApp in the root of the server).
> But
> unfortunately the WebAppStartup.class needs as a parameter the virtualName
> of the webApp, which does not exist...
> 
> The source of WebAppStartup uses "ServletContextImpl servletcontextimpl =
> servletcontextmanager.getContext(s1);" to find the jsp pages which should
> be
> precompiled. Unfortunately the servletcontexmanager is not documented in
> the
> API-Doc, so i need some advise here....
> 
> Any hints? Sorry, if this is wrong mailing list, but i found the source of
> WebAppStartup here and it seems that there more weblogic users.
> 
> Thanx
> Andre

Reply via email to