[SourceJammer-users] Re: using weblogic
Brought to you by:
robertmacgrogan
From: Robert M. <rob...@ya...> - 2002-02-20 06:30:24
|
Hi, Noah. It looks like you are actually pretty close. If you look in the web.xml file that came with SJ, you'll see that the servlet org.sourcejammer.web.servlet.AppConfigInitServlet is supposed to load on startup. You will need to pass this servlet a param, though. The param, "baseConfigPath" should be the absolute path to the conf directory that holds conf.xml and serverconf.xml and all that other good stuff. Let us know how it goes. --Rob --- Noah Couture <nco...@fe...> wrote: > Hi Robert, > > I'm trying to get SourceJammer to work under > weblogic 6.1. Mostly, > because thats the platform i'm familiar with. I > haven't really tinkered > with tomcat before, and I know weblogic pretty well. > So, I thought the > first thing i'd do is see if I could get the webapp > going under > weblogic. If I copy the app over to the > applications directory on my > server, it deploys fine. But I get a runtime error > when I try to call > up the default page in a browser: > > <Feb 19, 2002 4:56:45 PM PST> <Error> <HTTP> > <[WebAppServletContext(6467369,sourcejammer,/sourcejammer)] > Servlet f > ailed with Exception > org.sourcejammer.util.ConfigurationException: > ServerConfig has not been > intialized. > at > org.sourcejammer.server.ServerConfig.getInstance(ServerConfig.java:119) > at > jsp_servlet.__error._jspService(__error.java:92) > at > weblogic.servlet.jsp.JspBase.service(JspBase.java:27) > at > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265) > > at > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:304) > > at > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200) > > at > weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:215) > > at > weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:112) > at > weblogic.servlet.jsp.PageContextImpl.handlePageException(PageContextImpl.java:257) > > at > jsp_servlet.__index._jspService(__index.java:113) > at > weblogic.servlet.jsp.JspBase.service(JspBase.java:27) > at > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265) > > at > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:304) > > at > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200) > > at > weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2456) > > at > weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2039) > > at > weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139) > > at > weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120) > > > I'm wondering if tomcat has some sort of startup > procedure that launches > a thread or something? I haven't dug into the > source code yet (i'm > really just investigating cvs alternatives here), > but this seems pretty > cool so i'd like to see if I can get it to work. > > thanks for your time, > noah > > > __________________________________________________ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com |