?
Solved

Howdo I stop CF 6.1 from intercepting requests for JSP pages?

Posted on 2006-11-17
5
Medium Priority
?
249 Views
Last Modified: 2013-12-24
Ok, I'm running IIS 6, CF 6.1, and trying to route requests for JSPs to Tomcat (using jspISAPI).

The problem is, I've already set IIS to use jspISAPI rather than the CF server for JSP requests, yet CF is still intercepting.  I've also restarted both IIS and CF several times.

Anyone done this before?  Any ideas?


0
Comment
Question by:substand
  • 2
  • 2
5 Comments
 
LVL 25

Expert Comment

by:dgrafx
ID: 17971101
did you go into iis and pull up properties for a site and on "Home Directory" tab click "Configuration" button.
Then find your .jsp extension and modify the executable path.
0
 
LVL 10

Author Comment

by:substand
ID: 17971587
Yes, that's what I meant by "I've already set IIS to use jspISAPI rather than the CF server for JSP requests."  Sorry for not being clearer. =)

Thanks for your help.
0
 
LVL 12

Accepted Solution

by:
mmc98dl1 earned 2000 total points
ID: 18025330
Are you running CF server or the JRun edition?

either way, I believe if go find your web.xml or web-default.xml in path\to\CF\servers\coldfusion\SERVER-INF there is a line in there that forces jrun to intercept  jsp

!!!!BACKUP your web.xml before trying this so you can restore it if it goes wrong. !!!!

You can try removing these lines:

<servlet-mapping>
   <servlet-name>JspLicenseServlet</servlet-name>
   <url-pattern>*.jsp</url-pattern>
 </servlet-mapping>

There are some other lines in there that reference .jsp pages that you can also try removing.
0
 
LVL 10

Author Comment

by:substand
ID: 18027489
mmc98dl1 - thanks.  That seems to have worked.  But, I wonder if you might have some more helpful experience to that could benefit me before I close this question out?  Now, IIS seems to just be serving the jsp as a text file, rather than making the call to jspISAPI as I have set it to do for the *.jsp files.  

I even added the JspISAPI to the ISAPI filters under the website, and it shows it as not loaded.  If I put it under the home directory -> configuration -> wildcard application maps, it asks me for a username and password (like, Windows-style)

Any more insights?

0
 
LVL 12

Expert Comment

by:mmc98dl1
ID: 18032056
mmm no cant help you there - I dont know much about IIS and Tomcat. So I can only assume that Tomcat isnt picking up the mapping from IIS.

What I have seen is that Tomcat and CF on the same server has been problematic for most people.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In our day to day coding, how many times have we come across a necessity to check whether a URL is a broken link or not? For those of you that answered countless and are using ColdFusion like myself, then this article is for you.  It will show yo…
One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
Integration Management Part 2
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses
Course of the Month17 days, 11 hours left to enroll

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question