All,

I've noticed a thread of these types of questions and I'm trying to do a
similar deal as well on our servers here.  Here's the basics of the problem
I'm working through:

1- We have several legacy Netscape Fastrack 2.0 webservers we're using right
now to serve up legacy cgi based web applications
2- The server that the Fastrack webserver is on is doing a lot of work and
thus we really can't put too much more on it.
3- We have another server where we already have a JRun 3.x environment
running and doing so quite happily.
4- We would like to begin overhauling some of our old cgi based web pages
with JSP pages with little/no changes to our production webservers
(Fasttrack 2.0)

I've done a lot of searching through the JRun manuals (for 3) and found
information on both running Jrun in a distributed environment (pg 172 of the
JRun installation guide on the jrun.com site) and using JSPs in a
distributed environment (pg 178 of the JRun installation guide on the
jrun.com site).

I have been able to setup the Fasttrack 2.0 webserver with the necessary
connector (event though it apparently isn't one of the accepted servers for
connecting) and can make requests for servlets (using:
http://myhost/servlet/TestServlet for example).  However, when I attempt to
access a JSP page from the fast track server, I get the following error:
allaire.jrun.JRunServletException: The page /whatthe/hello.jsp could not be
found.
        at allaire.jrun.jsp.JSPParser.generateXML(JSPParser.java:56)
        at allaire.jrun.jsp.JSPServlet.parsePage(JSPServlet.java:409)
        at allaire.jrun.jsp.JSPServlet.createServlet(JSPServlet.java:381)
        at allaire.jrun.jsp.JSPServlet.loadPage(JSPServlet.java:202)
        at allaire.jrun.jsp.JSPServlet.service(JSPServlet.java:169)
        at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013)
        at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925)
        at
allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.jav
a:88)
        at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1131)
        at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:330)
        at allaire.jrun.jrpp.ProxyEndpoint.run(ProxyEndpoint.java:382)
        at allaire.jrun.ThreadPool.run(ThreadPool.java:272)
        at allaire.jrun.WorkerThread.run(WorkerThread.java:75)

I see that a JSP page is attempting to be accessed because in the event log
for the jsm, I see the following:
03/07 09:30:03 info (demo-app) Starting demo-app: JRun Demo - JRun Demo
03/07 09:30:03 info (demo-app) Loading scheduler
03/07 09:30:03 info (demo-app) Loading logging
03/07 09:30:03 info (JRun) Loading session
03/07 09:30:03 info (session) Loading persistence storage provider 'file'
03/07 09:30:03 info (JRun) Loading authentication
03/07 09:30:03 info (JRun) Loading propfile
03/07 09:30:03 info (JRun) Loading jsp
03/07 09:30:03 info (JRun) Loading file
03/07 09:30:03 info (JRun) demo-app Ready

I believe it has something to do with the whole pathtrans section.  I still
have no idea what a valid section for a distributed JSP handling looks like.
The example given looks like this (from pg 178 of the jrun install guide):

{this is from the example}
### pathtrans.properties
webapp.pathcount=1
webapp.path0.from=c:\\Inetpub\\wwwroot2\\jsps
webapp.path0.to=/usr/local/apache/htdocs/jsps

{here is mine:}
### pathtrans.properties
webapp.pathcount=1

# from is the web server's directory
webapp.path0.from=/webdocs/testserver/docs/whatthe

# to is the JRun server's directory
webapp.path0.to=/usr/JavaServices/Java/DWDisplayService_test/jsp

*- where /webdocs/testserver/docs/whatthe is the webserver's document root
on the legacy machine
**- where /usr/JavaServices/Java/DWDisplayService_test/jsp is the JSP
document root I wish to map all incoming requests to.

Could somebody who has actually done distributed JSP handling comment on
what a valid pathtrans looks like and maybe what I'm doing wrong.

Erik



______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to