Solved

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

Posted on 2006-11-17
5
246 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

Question has a verified solution.

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

Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
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…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

724 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