Re: jrun.dll on J2EE
Thanks again Dave. > OK. In general, you shouldn't need to have two different enterprise > applications within the same JRun server instance. Each one can be deployed > within its own server. The CF EAR can handle JSP and servlet requests if you > want to run a Java web app within the same server instance. Yes, that's what I thought. > When you installed CFMX, how exactly did you do it? Did you install it onto > an existing JRun server? If your existing JRun server was already configured > to work with IIS, it won't automatically handle CF requests - there's a > little check box within the web server configuration tool that you'd need to > check when you define the connection. Onto an existing JRun install, but I don't remember at what point the cfusion *server* was created. Maybe I missed an uninstall step and it was already hanging around from when I had CF6.1 on the same machine. Yes, I remember the check box and I did check it, but... at this stage I think it will be best if I uninstall everything & start again from scratch. Nick ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:196714 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: jrun.dll on J2EE
> It occurred to me that the reason why JSPs are working and > CFM aren't is probably connected with the fact that they are > being handled by different Enterprise Applications within the > server. So IIS is pointing all the requests at the "cfusion" > server, but within that the JSPs are being handled by > "default-ear" and CFMs are supposed to be handled by > "Macromedia ColdFusion MX", i.e. "cfusion-ear". > > I've been trying to figure out where this division of > responsibilities is configured. I see that in > cfusion/cfusion-ear/cfusion-war/WEB-INF the web.xml file > contains servlet-mappings for .cfm, .cfc and .cfml, and the > same in j2ee-web.xml (what is this file for?). Whereas the > web.xml in cfusion/default-ear/default-war/WEB-INF contains > no servlet mappings at all. > However, further up, at the server level, in > cfusion/SERVER-INF, there is a servlet mapping for .jsp. I > don't know enough about JRun to know how these files will be > used - but could there be something wrong here? > > Should I even have 2 different Enterprise Applications within > the cfusion server? OK. In general, you shouldn't need to have two different enterprise applications within the same JRun server instance. Each one can be deployed within its own server. The CF EAR can handle JSP and servlet requests if you want to run a Java web app within the same server instance. When you installed CFMX, how exactly did you do it? Did you install it onto an existing JRun server? If your existing JRun server was already configured to work with IIS, it won't automatically handle CF requests - there's a little check box within the web server configuration tool that you'd need to check when you define the connection. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:196675 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: jrun.dll on J2EE
> In that case, you might want to try using a different user agent, to see the > raw error message returned by the server. If you can get into the CF > Administrator, you might also enable robust exception information. It's an HTTP status 503. Here's the IIS log #Fields: c-ip cs-username s-sitename s-ip s-port cs-method cs-uri-stem cs-uri-query sc-status sc-win32-status sc-bytes cs-bytes time-taken cs-version cs-host cs(User-Agent) 127.0.0.1 - W3SVC1 127.0.0.1 80 GET /x.cfm - 503 0 0 400 610 HTTP/1.1 127.0.0.1 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-US;+rv:1.7.5)+Gecko/20041107+Fir efox/1.0 127.0.0.1 - W3SVC1 127.0.0.1 80 GET /x.cfm - 503 0 0 482 0 HTTP/1.1 127.0.0.1 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1)+Opera+7.20++[en] 127.0.0.1 - W3SVC1 127.0.0.1 80 GET /x.cfm - 503 0 0 229 0 HTTP/1.1 127.0.0.1 amaya/8.1b+libwww/5.4.0 127.0.0.1 - W3SVC1 127.0.0.1 80 GET /x.cfm - 503 0 0 265 0 HTTP/1.0 127.0.0.1 Mozilla/4.7+[en-gb]+(WinNT;+I) 127.0.0.1 - W3SVC1 127.0.0.1 80 GET /x.cfm - 503 0 0 194 0 HTTP/1.0 127.0.0.1 Lynx/2.8.3rel.1+libwww-FM/2.14FM 127.0.0.1 - W3SVC1 127.0.0.1 80 GET /x.cfm - 503 0 0 101 0 HTTP/1.0 127.0.0.1 Wget/1.8.1 All those different browsers return variants on the same theme: nothing whatsoever, "empty document", "unexpected network error" etc. Robust debugging is on (as I said, CF is fine with the builtin web server so I can use the administrator) but since nothing is getting back to the browser, that makes no difference. It occurred to me that the reason why JSPs are working and CFM aren't is probably connected with the fact that they are being handled by different Enterprise Applications within the server. So IIS is pointing all the requests at the "cfusion" server, but within that the JSPs are being handled by "default-ear" and CFMs are supposed to be handled by "Macromedia ColdFusion MX", i.e. "cfusion-ear". I've been trying to figure out where this division of responsibilities is configured. I see that in cfusion/cfusion-ear/cfusion-war/WEB-INF the web.xml file contains servlet-mappings for .cfm, .cfc and .cfml, and the same in j2ee-web.xml (what is this file for?). Whereas the web.xml in cfusion/default-ear/default-war/WEB-INF contains no servlet mappings at all. However, further up, at the server level, in cfusion/SERVER-INF, there is a servlet mapping for .jsp. I don't know enough about JRun to know how these files will be used - but could there be something wrong here? Should I even have 2 different Enterprise Applications within the cfusion server? Thanks Nick ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:196667 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: jrun.dll on J2EE
> Thanks Dave. But they are disabled already, in fact. In that case, you might want to try using a different user agent, to see the raw error message returned by the server. If you can get into the CF Administrator, you might also enable robust exception information. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:196603 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: jrun.dll on J2EE
> > However, when I try to hit a .cfm page that's located under > > wwwroot I get "Cannot find server or DNS error". Or > > sometimes, it just hangs. > > I'm not sure what problem you're running into, but in any case you'll want > to disable "friendly HTTP error messages" in Internet Explorer to see more > information. Thanks Dave. But they are disabled already, in fact. Nick ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:196480 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: jrun.dll on J2EE
> However, when I try to hit a .cfm page that's located under > wwwroot I get "Cannot find server or DNS error". Or > sometimes, it just hangs. I'm not sure what problem you're running into, but in any case you'll want to disable "friendly HTTP error messages" in Internet Explorer to see more information. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:196408 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: jrun.dll on J2EE
>The file version of my jrun.dll is 4.0.3.19147. It's not working for .cfm >files (.jsp files seem OK) on IIS5.1/JRun4/CFMX7. > >Can anyone tell me if this is the correct version for CF7? I guess maybe >not, since it was created by the wsconfig tool which is part of JRun4 which >pre-dates CF7. If not, where in the CF7 J2EE download - or elsewhere - can I >find the new one? Judging from the info Steven Erat sent Mike Kear, the dlls have not changed so I don't understand why JRun can't handle CFM requests from IIS. I'm going to repeat my original post on this with a few extra details in case anyone knows (Steven?) : IIS 5.1 on Windows XP Pro. CF running in J2EE mode on top of JRun4. Befor installing CF7 I decided to re-install JRun. That went fine. I downloaded the J2EE version of CF 7 & installed the "cfusion" server in JRun. That's also fine. I can run CF apps and JSPs/servlets via the JRun web server with no problem. Also, IIS is serving HTML, ASP and Perl with no problems. Now, to connect CF up to IIS. I ran the JRun Web Server Config Tool and connected the cfusion server to the web site in IIS. I see in IIS that the JRunScripts virtual dir has been created and the jrun.dll has appeared, and the mappings for jsp, cfm, cfc etc have been created. Now when I hit a .jsp page that's located under wwwroot, it works. So IIS is obviously managing to hold *some* kind of conversation with the cfusion server via jrun.dll. However, when I try to hit a .cfm page that's located under wwwroot I get "Cannot find server or DNS error". Or sometimes, it just hangs. Why would JSPs work but CFMs not? My wsconfig log file looks like this 2005-02-23 14:31:34 jrISAPI[init:1220] JRun 4.0 (Build 84683) JRun ISAPI Extension - Sep 2 2004 07:21:07 2005-02-23 14:31:34 jrISAPI[init:1220] JRun ISAPI Extension DLL Attaching 2005-02-23 14:31:34 jrISAPI[init:1220] JRun 4.0 (Build 84683) JRun ISAPI Filter - Sep 2 2004 07:21:09 2005-02-23 14:31:35 jrISAPI[init:1220] JRun ISAPI Extension DLL Detaching (FreeLibrary) 2005-02-23 14:31:39 jrISAPI[init:1220] JRun 4.0 (Build 84683) JRun ISAPI Extension - Sep 2 2004 07:21:07 2005-02-23 14:31:39 jrISAPI[init:1220] JRun ISAPI Extension DLL Attaching 2005-02-23 14:31:39 jrISAPI[init:1220] JRun 4.0 (Build 84683) JRun ISAPI Filter - Sep 2 2004 07:21:09 2005-02-23 14:33:51 jrISAPI[filter:1220] jrSend failed[2216]: 10054 Connection reset by peer 2005-02-23 14:42:08 jrISAPI[filter:1220] jrSend failed[2216]: 10054 Connection reset by peer 2005-02-23 14:57:54 jrISAPI[filter:1220] jrRecv failed[2216]: 10053 Connection aborted My jrun.ini file looks like this verbose=false scriptpath=/JRunScripts/jrun.dll serverstore=C:/JRun4/lib/wsconfig/2/jrunserver.store bootstrap=127.0.0.1:51002 apialloc=false ssl=false ignoresuffixmap=true #errorurl= #proxyretryinterval= #connecttimeout= #recvtimeout= #sendtimeout= 51002 is the correct proxy port for the cfusion server. My wsconfig.properties file is: #JRun/ColdFusion MX Web Server Configuration File #Wed Feb 23 14:31:34 GMT 2005 2=IIS,1,true,"" 2.srv=localhost,"cfusion" 2.cfmx=true, My jrunserver.store file just contains "proxyservers=" Any ideas? Thanks Nick ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:196361 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54