I am curious about this as well. I have a servlet/webapp (ported from tomcat) that handles files with the extension of .dbml, which I have deployed in my server instance. I added .dbml to the addhandler for JRun in apache. This servlet loads fine and even in the logs it gives no errors. Yet, when I browse to .dbml files I get a 500 Internel Server Error and the apache error logs show this:
JRun will not accept request. Check JRun web server configuration and JRun mappings on JRun server. I have not heard before to add this to the default-web.xml, is this how this would be accomplished? If not how then do I tell JRun to hand the files of type dbml to my servlet for processing the way it hands cfm/cfml to coldfusion? >This may sound like a dumb question, but do you want the Jrun web server to >simply serve html files? If that's the case I believe it already does. Try >it by placing them in the default-war/ directory of your Jrun server, and >then browse to http://<server-domain>/:<port>/<web_page.html> > >If that's not the case then WHY do you want the server to PARSE the html >files? That piece of information doesn't seem to be registering to the >reader of your question. > > >-----Original Message----- >From: Dylan Schorer [mailto:[EMAIL PROTECTED] >Sent: Sunday, May 15, 2005 12:48 AM >To: JRun-Talk >Subject: Jrun to parse .html files > >How can I get Jrun to parse html files? > >I've the .html to the handler setting in httpd.conf: > AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .html > >And, I've added the servlet mapping in the server instance's >default-web.xml, and tried adding it to my app's web.xml: > > <servlet-mapping> > <servlet-name>JSPServlet</servlet-name> > <url-pattern>*.html</url-pattern> > </servlet-mapping> > > >Though, the app always generates the error "JRun will not accept request. >Check JRun web server configuration and JRun mappings on JRun server.". It >seems that anything I add to the servlet mappings in default-web.xml doesn't >get recognized. > >Any thoughts? I found some docs on how to get ColdFusion to parse.html >files, but I wan't Jrun4 to parse them. > >Thanks ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion MX7 and Flex 2 Build sales & marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/JRun-Talk/message.cfm/messageid:5795 Subscription: http://www.houseoffusion.com/groups/JRun-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.8
