I can not enter my blog. Nothing works at all! What to do?
Re: jrun.dll on J2EE
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

QAIX > ColdFusion > Re: jrun.dll on J2EE 24 September 2008 03:39:55

  Recent blog posts: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:

Re: jrun.dll on J2EE

Nick de Voil 24 September 2008 03:39:55
 
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=/JRunScr­ipts/jrun.dll
serverstore=C:/JRun­4/lib/wsconfig/2/jru­nserver.store
bootstrap=127.0.0.1­:51002
apialloc=false
ssl=false
ignoresuffixmap=tru­e
#errorurl=<optional­ly redirect to this URL on errors>
#proxyretryinterval­=<number of seconds to wait before trying to reconnect to
unreachable clustered server>
#connecttimeout=<nu­mber of seconds to wait on a socket connect to a jrun
server>
#recvtimeout=<numbe­r of seconds to wait on a socket receive to a jrun
server>
#sendtimeout=<numbe­r of seconds to wait on a socket send to a jrun server>

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,"cf­usion"
2.cfmx=true,<null>

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.houseoff­usion.com/banners/vi­ew.cfm?bannerid=49

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:196361
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Dave Watts 25 February 2005 00:50:17 permanent link ]
 
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.fig­leaf.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.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:196408
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Nick de Voil 25 February 2005 09:51:38 permanent link ]
 
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.houseoff­usion.com/banners/vi­ew.cfm?bannerid=49

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:196480
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Dave Watts 25 February 2005 22:10:18 permanent link ]
 
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.fig­leaf.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.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:196603
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Nick de Voil 26 February 2005 12:53:10 permanent link ]
 
In that case, you might want to try using a different user agent, to see
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+(Window­s;+U;+Windows+NT+5.1­;+en-US;+rv:1.7.5)+G­ecko/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+(compat­ible;+MSIE+6.0;+Wind­ows+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+lib­www-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.houseoff­usion.com/banners/vi­ew.cfm?bannerid=48

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:196667
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Dave Watts 26 February 2005 19:39:24 permanent link ]
 
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.fig­leaf.com/ for more information!


~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application

http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=48

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:196675
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Nick de Voil 27 February 2005 15:04:35 permanent link ]
 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
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
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.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:196714
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Guest 24 September 2008 03:39:55 permanent link ]
 http://www.comeinchi­na.com
http://www.gmicc.co­m
http://www.c2t.com.­cn
http://www.electron­icsmanufacturer-chin­a.com/
http://www.t4mag.co­m
http://www.interior­design-studio.com/ho­me-design.html
http://www.storecon­cept.com.hk/contactu­s.htm
Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или УК РФ.


QAIX > ColdFusion > Re: jrun.dll on J2EE 24 September 2008 03:39:55

see also:
Re: [PHP] empty lines cause http…
console scripts reading php.ini
how to send a file to the user's…
пройди тесты:
see also:
The Lyric of Song Evil Aura
Microsoft France Site Defaced by…
87 trans am timing

  Copyright © 2001—2008 QAIX
Idea: Miсhael Monashev
Помощь и задать вопросы можно в сообществе support.qaix.com.
Сообщения об ошибках оставляем в сообществе bugs.qaix.com.
Предложения и комментарии пишем в сообществе suggest.qaix.com.
Информация для родителей.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .