Solved

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

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

Free camera licenses with purchase of My Cloud NAS

Milestone Arcus software is compatible with thousands of industry-leading cameras for added flexibility. Upon installation on your My Cloud NAS, you will receive two (2) camera licenses already enabled in the software. And for a limited time, get additional camera licenses FREE.

Question has a verified solution.

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

A web service (http://en.wikipedia.org/wiki/Web_service) is a software related technology that facilitates machine-to-machine interaction over a network. This article helps beginners in creating and consuming a web service using the ColdFusion Ma…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

862 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

23 Experts available now in Live!

Get 1:1 Help Now