|
From: Bruce M. <br...@mc...> - 2003-08-01 02:18:35
|
I have been thinking about this for some time now and no insights strike me... Can you debug (or put System.out.printlns) in the console servlet and try to figure out where the execution path is failing? regards, Bruce. On Thursday 31 July 2003 12:30 am, Bill Harrelson wrote: > I'm having what looks to me like a configuration problem: > > I'm using Babeldoc 1.0, tomcat 4.1.24. I'm doing this on my personal > machine for testing. > > The log entries for Tomcat are: > 2003-07-22 17:56:38 HostConfig[localhost]: Deploying web application > directory babeldoc-console > 2003-07-22 17:56:38 StandardHost[localhost]: Installing web application at > context path /babeldoc- > console from URL file:C:\jakarta-tomcat-4.1.24\webapps\babeldoc-console > 2003-07-22 17:56:38 WebappLoader[/babeldoc-console]: Deploying class > repositories to work > directory > C:\jakarta-tomcat-4.1.24\work\Standalone\localhost\babeldoc-console > 2003-07-22 17:56:38 StandardManager[/babeldoc-console]: Seeding random > number generator > class java.security.SecureRandom > 2003-07-22 17:56:38 StandardManager[/babeldoc-console]: Seeding of > random > number generator > has been completed > 2003-07-22 17:56:40 StandardWrapper[/babeldoc-console:default]: Loading > container servlet default > 2003-07-22 17:56:40 StandardWrapper[/babeldoc-console:invoker]: Loading > container servlet > invoker > 2003-07-22 17:58:49 StandardWrapper[/manager:HTMLManager]: Loading > container servlet > HTMLManager > 2003-07-22 17:58:49 HTMLManager: init: Associated with Deployer > 'localhost' > 2003-07-22 17:58:49 HTMLManager: init: Global resources are available > 2003-07-22 17:58:49 HTMLManager: list: Listing contexts for virtual host > 'localhost' > > > > Which all seem okay. There is also a velocity log indicating that > velocity has started successfully. > > When I reference the url: > http://localhost/babeldoc-console/servlet/Console the response returned > is: > > <html><body></body></html> > So, the servlet is serving, but I must have something wrong in the > configuration somewhere. > > When I reference localhost/babeldoc-console/index.html the response is: > > <html> > <head> > </head> > <frameset cols="100,*"> > <frame name="navigation" src="navigation.vm" noresize > frameborder=0> > <frame name="main" src="main.vm" noresize > frameborder=0> > </frameset> > <body></body> > </html> > > but the screen is blank. > > When i reference localhost/babeldoc-console/navigation.vm the response > is: > <html><body></body></html> > > When I reference localhost/babeldoc-console/main.vm the response is the > same. > > I am suspecting a velocity set-up problem, but don't know where to start > looking, as the web.xml file has the mapping: > <servlet-mapping> > <servlet-name>ConsoleServlet</servlet-name> > <url-pattern>*.vm</url-pattern> > </servlet-mapping> > > Which seems to indicate to me that the console servlet is processing the > velocity files. > > The web.xml file seems to reference a <init-param>: > <init-param> > <param-name>properties</param-name> > <param-value>/velocity.properties</param-value> > </init-param> > > I found this file in the babeldoc-console directory but all it has in it > is: file.resource.loader.path = . > runtime.log = velocity.log > > beyond that I'm searching... not sure what to look at next. > > Thanks for any help. > > Bill > > On 24 Jul 2003 at 11:57, McDonald, Bruce wrote: > > Bill, is there any logging that you can can find? > > > > What version of babeldoc and tomcat are you using? > > > > What is your url? > > > > regards, > > Bruce. > > > > PS. Please post through the mailing list. > > > > -----Original Message----- > > From: Bill Harrelson [mailto:Bil...@ac...] > > Sent: Wednesday, July 23, 2003 8:28 PM > > To: McDonald, Bruce > > Subject: Babeldoc console configuration. > > > > > > Bruce, > > > > I don't seem to be having much luck getting babeldoc to work under > > Tomcat, and I wondered if you could point me to any configuration > > information? > > > > I've read through the .bat file, and made what seem to be the > > appropriate modifications, and I get a log indicating that velocity > > has started, and the Tomcat manager says that the babeldoc-console > > servlet is started, but the console servlet just serves a blank page. > > > > Is there any documentation or tips anywhere on how to approach this? > > > > Thanks, > > > > Bill > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_ > > 01/01 _______________________________________________ Babeldoc- > > devel > > > mailing list Bab...@li... > > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel |