Solved

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

Posted on 2006-11-17
5
238 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 24

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 500 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

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

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…
Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

707 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now