Skip to main content
Known Participant
November 23, 2009
Question

Images in multiserver environment

  • November 23, 2009
  • 1 reply
  • 2921 views

Will <cfimage source="#myImage#" action="writeToBrowser"> work in a multiserver/distributed environment where the webserver is separated from the application server by a firewall with no file services between them?

Thank you.

This topic has been closed for replies.

1 reply

Inspiring
November 23, 2009

Distributed is not a problem. Clustered may be a problem if you don't use sticky sessions.

Known Participant
December 3, 2009

Ok, well now I'm trying to install it...

Web Server and App server - brand new OS setups

VM ware both servers

Windows 2008 64bit

IIS 7 (with all the recommended changes:  ISAPI extensions and IIS 6 compatibility settings)

IIS and Website set up in webserver.

Coldfusion 9 64 bit

Installing CF on app server - iis not installed on app server.

When I get to the point where it asks me to add a web server/site, the drop down does not show IIS - just Apache and Sun.

Needless to say, it won't let me go any further until I define a site.

I'm stumped.

Thanks for your help!

Inspiring
December 4, 2009

Thanks so much for your help!

This is the log file - I replaced ip with 99.999:

2009-12-04 13:14:00 jrISAPI[init:2328]  JRun 4.0 (Build 108795) JRun ISAPI Extension - Aug 28 2009 22:39:39
2009-12-04 13:14:00 jrISAPI[init:2328]     Metrics is 0
2009-12-04 13:14:00 jrISAPI[init:2328]     UseApiAlloc is 0
2009-12-04 13:14:00 jrISAPI[init:2328]     BootStrap 99.999.78.97:51001
2009-12-04 13:14:00 jrISAPI[init:2328]     serverstore D:/Jrun4/lib/wsconfig/1/jrunserver.store
2009-12-04 13:14:00 jrISAPI[init:2328]     ignoresuffixmap 0
2009-12-04 13:14:00 jrISAPI[init:2328]  Threads created: 25 - failed: 0
2009-12-04 13:14:00 jrISAPI[init:2328]  JRun ISAPI Extension DLL Attaching
2009-12-04 13:14:00 jrISAPI[6800:2328]  ***HttpExtensionProc for JRun ISAPI Extension: uri is "/viewlink/test.html"
2009-12-04 13:14:00 jrISAPI[6800:2328]  trying to bootstrap from "99.999.78.97:51001"
2009-12-04 13:14:00 jrISAPI[6800:2328]  99.999.78.97:51001 initPool finished
2009-12-04 13:14:00 jrISAPI[6800:2328]  initialized temp proxy for 99.999.78.97:51001
2009-12-04 13:14:00 jrISAPI[6800:2328]  99.999.78.97 jrConnect [656]
2009-12-04 13:14:00 jrISAPI[6800:2328]  sent/avail/result 25/25/25
2009-12-04 13:14:00 jrISAPI[6800:2328]  read/len/total 4/4/4
2009-12-04 13:14:00 jrISAPI[6800:2328]  PROXY_GET_PROPS(clustered-servers) -> [656]
2009-12-04 13:14:00 jrISAPI[6800:2328]  PROXY_PUT_PROPS <- [656]
2009-12-04 13:14:00 jrISAPI[6800:2328]  read/len/total 4/4/4
2009-12-04 13:14:00 jrISAPI[6800:2328]  read/len/total 125/125/125
2009-12-04 13:14:00 jrISAPI[6800:2328]  clustered-servers: VLNKFCPWSIWEB01.sacmcm.adroot.bmogc.net_0=99.999.78.97:51001
VLNKFCPWSIWEB01.sacmcm.adroot.bmogc.net_1=0:0:0:0:0:0:0:1:51001

2009-12-04 13:14:00 jrISAPI[6800:2328]    VLNKFCPWSIWEB01.sacmcm.adroot.bmogc.net_0 = 99.999.78.97:51001
2009-12-04 13:14:00 jrISAPI[6800:2328]    VLNKFCPWSIWEB01.sacmcm.adroot.bmogc.net_1 = 0:0:0:0:0:0:0:1:51001
2009-12-04 13:14:00 jrISAPI[6800:2328]  read/len/total 4/4/4
2009-12-04 13:14:00 jrISAPI[6800:2328]  99.999.78.97:51001 returned socket [656] to pool
2009-12-04 13:14:00 jrISAPI[6800:2328]  99.999.78.97:51001 initPool finished
2009-12-04 13:14:00 jrISAPI[6800:2328]  99.999.78.97 jrConnect [672]
2009-12-04 13:14:00 jrISAPI[6800:2328]  sent/avail/result 20/20/20
2009-12-04 13:14:00 jrISAPI[6800:2328]  read/len/total 4/4/4
2009-12-04 13:14:00 jrISAPI[6800:2328]  PROXY_GET_PROPS(server-props) -> [672]
2009-12-04 13:14:00 jrISAPI[6800:2328]  PROXY_PUT_PROPS <- [672]
2009-12-04 13:14:00 jrISAPI[6800:2328]  read/len/total 4/4/4
2009-12-04 13:14:00 jrISAPI[6800:2328]  read/len/total 66/66/66
2009-12-04 13:14:00 jrISAPI[6800:2328]    algorithm = ROUNDROBIN
2009-12-04 13:14:00 jrISAPI[6800:2328]    weight = 1
2009-12-04 13:14:00 jrISAPI[6800:2328]    mapcheck = 10
2009-12-04 13:14:00 jrISAPI[6800:2328]    sticky = true
2009-12-04 13:14:00 jrISAPI[6800:2328]    rep_id = 0e30
2009-12-04 13:14:00 jrISAPI[6800:2328]  read/len/total 4/4/4
2009-12-04 13:14:00 jrISAPI[6800:2328]  99.999.78.97:51001 returned socket [672] to pool
2009-12-04 13:14:00 jrISAPI[6800:2328]  mapcheck interval in secs: 10
2009-12-04 13:14:00 jrISAPI[6800:2328]  proxy retry interval in secs: 600
2009-12-04 13:14:00 jrISAPI[6800:2328]  99.999.78.97:51001 socket timeouts (c15/r300/s15) secs
2009-12-04 13:14:00 jrISAPI[6800:2328]  installed ROUNDROBIN load balancing algorithm.
2009-12-04 13:14:00 jrISAPI[6800:2328]  99.999.78.97:51001 sticky sessions: true
2009-12-04 13:14:00 jrISAPI[6800:2328]  99.999.78.97:51001 replication Id: 0e30 .
2009-12-04 13:14:00 jrISAPI[6800:2328]  refreshing mappings for 99.999.78.97:51001
2009-12-04 13:14:00 jrISAPI[6800:2328]  99.999.78.97:51001 pooled socket [672] returned
2009-12-04 13:14:00 jrISAPI[6800:2328]  sent/avail/result 24/24/24
2009-12-04 13:14:00 jrISAPI[6800:2328]  read/len/total 4/4/4
2009-12-04 13:14:00 jrISAPI[6800:2328]  PROXY_GET_PROPS(servlet-mappings) -> [672]
2009-12-04 13:14:00 jrISAPI[6800:2328]  PROXY_PUT_PROPS <- [672]
2009-12-04 13:14:00 jrISAPI[6800:2328]  read/len/total 4/4/4
2009-12-04 13:14:00 jrISAPI[6800:2328]  read/len/total 296/296/296
2009-12-04 13:14:00 jrISAPI[6800:2328]    *.jst = jrun.jsp.JSTServlet
2009-12-04 13:14:00 jrISAPI[6800:2328]    *.jsp = jrun.jsp.JSPServlet
2009-12-04 13:14:00 jrISAPI[6800:2328]    /servlet/* = jrun.servlet.ServletInvoker
2009-12-04 13:14:00 jrISAPI[6800:2328]  property =jmc-app.war has no value. skipping.
2009-12-04 13:14:00 jrISAPI[6800:2328]    /server/* = jrunx.jmc.management.ServerCheckerServlet
2009-12-04 13:14:00 jrISAPI[6800:2328]    /services/* = org.apache.axis.transport.http.AxisServlet
2009-12-04 13:14:00 jrISAPI[6800:2328]    /JRunStatistics = jrun.jsp.JSPServlet
2009-12-04 13:14:00 jrISAPI[6800:2328]    *.jws = org.apache.axis.transport.http.AxisServlet
2009-12-04 13:14:00 jrISAPI[6800:2328]  read/len/total 4/4/4
2009-12-04 13:14:00 jrISAPI[6800:2328]  99.999.78.97:51001 returned socket [672] to pool
2009-12-04 13:14:00 jrISAPI[6800:2328]  mapping converted from /servlet/* to /servlet*=jrun.servlet.ServletInvoker
2009-12-04 13:14:00 jrISAPI[6800:2328]  mapping converted from /server/* to /server*=jrunx.jmc.management.ServerCheckerServlet
2009-12-04 13:14:00 jrISAPI[6800:2328]  mapping converted from /services/* to /services*=org.apache.axis.transport.http.AxisServlet
2009-12-04 13:14:00 jrISAPI[6800:2328]  installing new mappings for 99.999.78.97:51001 count: 7
2009-12-04 13:14:00 jrISAPI[6800:2328]  old mappings count: 0
2009-12-04 13:14:00 jrISAPI[6800:2328]  Mappings for 99.999.78.97:51001 will be refreshed every 10 seconds.
2009-12-04 13:14:00 jrISAPI[6800:2328]  initialized proxy for 99.999.78.97:51001
2009-12-04 13:14:00 jrISAPI[6800:2328]  addProxy - after
2009-12-04 13:14:00 jrISAPI[6800:2328]     /jrunstatistics=jrun.jsp.JSPServlet
2009-12-04 13:14:00 jrISAPI[6800:2328]        99.999.78.97:51001 active: 1
2009-12-04 13:14:00 jrISAPI[6800:2328]     /services*=org.apache.axis.transport.http.AxisServlet
2009-12-04 13:14:00 jrISAPI[6800:2328]        99.999.78.97:51001 active: 1
2009-12-04 13:14:00 jrISAPI[6800:2328]     /servlet*=jrun.servlet.ServletInvoker
2009-12-04 13:14:00 jrISAPI[6800:2328]        99.999.78.97:51001 active: 1
2009-12-04 13:14:00 jrISAPI[6800:2328]     /server*=jrunx.jmc.management.ServerCheckerServlet
2009-12-04 13:14:00 jrISAPI[6800:2328]        99.999.78.97:51001 active: 1
2009-12-04 13:14:00 jrISAPI[6800:2328]     *.jst=jrun.jsp.JSTServlet
2009-12-04 13:14:00 jrISAPI[6800:2328]        99.999.78.97:51001 active: 1
2009-12-04 13:14:00 jrISAPI[6800:2328]     *.jsp=jrun.jsp.JSPServlet
2009-12-04 13:14:00 jrISAPI[6800:2328]        99.999.78.97:51001 active: 1
2009-12-04 13:14:00 jrISAPI[6800:2328]     *.jws=org.apache.axis.transport.http.AxisServlet
2009-12-04 13:14:00 jrISAPI[6800:2328]        99.999.78.97:51001 active: 1
2009-12-04 13:14:00 jrISAPI[6800:2328]  99.999.78.97:51001 added/activated proxy, seq 0
2009-12-04 13:14:00 jrISAPI[6800:2328]  Error in performing name resolution and creating ADDRINFO The specified class was not found.
2009-12-04 13:14:00 jrISAPI[6800:2328]  initProxy failed to initialize socket pool
2009-12-04 13:14:00 jrISAPI[6800:2328]  could not initialize proxy for 0:0:0:0:0:0:0:1:51001
2009-12-04 13:14:00 jrISAPI[6800:2328]  0:0:0:0:0:0:0:1:51001 destroyed.
2009-12-04 13:14:00 jrISAPI[6800:2328]  used proccess identity to open file D:/Jrun4/lib/wsconfig/1/jrunserver.store
2009-12-04 13:14:00 jrISAPI[6800:2328]  persisted servers in D:/Jrun4/lib/wsconfig/1/jrunserver.store: proxyservers=
2009-12-04 13:14:00 jrISAPI[6800:2328]  99.999.78.97:51001 closing socket 656
2009-12-04 13:14:00 jrISAPI[6800:2328]  99.999.78.97:51001 destroying/closing socket [656] error 0
2009-12-04 13:14:00 jrISAPI[6800:2328]  jrCloseSocket [656]
2009-12-04 13:14:00 jrISAPI[6800:2328]  99.999.78.97:51001 destroyed.
2009-12-04 13:14:00 jrISAPI[6800:2328]     HTTP_HOST: 99.999.78.96
2009-12-04 13:14:00 jrISAPI[6800:2328]  filtering /viewlink/test.html (/viewlink/test.html) HOST=99.999.78.96
2009-12-04 13:14:00 jrISAPI[6800:2328]  filterRequest:   no match
2009-12-04 13:14:00 jrISAPI[6800:2328]  ExecUrl: request received: URL=/viewlink/test.html
2009-12-04 13:14:00 jrISAPI[6800:2328]  ExecUrl Completion: 404, ErrorCode=2, URL=/viewlink/test.html.

2009-12-04 13:14:15 jrISAPI[9488:2328]  ***HttpExtensionProc for JRun ISAPI Extension: uri is "/viewlink/index.cfm"
2009-12-04 13:14:15 jrISAPI[9488:2328]     HTTP_HOST: 99.999.78.96
2009-12-04 13:14:15 jrISAPI[9488:2328]  filtering /viewlink/index.cfm (/viewlink/index.cfm) HOST=99.999.78.96
2009-12-04 13:14:15 jrISAPI[9488:2328]  refreshing mappings for 99.999.78.97:51001
2009-12-04 13:14:15 jrISAPI[9488:2328]  99.999.78.97:51001 pooled socket [672] returned
2009-12-04 13:14:15 jrISAPI[9488:2328]  sent/avail/result 24/24/24
2009-12-04 13:14:15 jrISAPI[9488:2328]  read/len/total 4/4/4
2009-12-04 13:14:15 jrISAPI[9488:2328]  PROXY_GET_PROPS(servlet-mappings) -> [672]
2009-12-04 13:14:15 jrISAPI[9488:2328]  PROXY_PUT_PROPS <- [672]
2009-12-04 13:14:15 jrISAPI[9488:2328]  read/len/total 4/4/4
2009-12-04 13:14:15 jrISAPI[9488:2328]  read/len/total 296/296/296
2009-12-04 13:14:15 jrISAPI[9488:2328]    *.jst = jrun.jsp.JSTServlet
2009-12-04 13:14:15 jrISAPI[9488:2328]    /server/* = jrunx.jmc.management.ServerCheckerServlet
2009-12-04 13:14:15 jrISAPI[9488:2328]    *.jsp = jrun.jsp.JSPServlet
2009-12-04 13:14:15 jrISAPI[9488:2328]    /servlet/* = jrun.servlet.ServletInvoker
2009-12-04 13:14:15 jrISAPI[9488:2328]  property =jmc-app.war has no value. skipping.
2009-12-04 13:14:15 jrISAPI[9488:2328]    /services/* = org.apache.axis.transport.http.AxisServlet
2009-12-04 13:14:15 jrISAPI[9488:2328]    /JRunStatistics = jrun.jsp.JSPServlet
2009-12-04 13:14:15 jrISAPI[9488:2328]    *.jws = org.apache.axis.transport.http.AxisServlet
2009-12-04 13:14:15 jrISAPI[9488:2328]  read/len/total 4/4/4
2009-12-04 13:14:15 jrISAPI[9488:2328]  99.999.78.97:51001 returned socket [672] to pool
2009-12-04 13:14:15 jrISAPI[9488:2328]  mapping converted from /server/* to /server*=jrunx.jmc.management.ServerCheckerServlet
2009-12-04 13:14:15 jrISAPI[9488:2328]  mapping converted from /servlet/* to /servlet*=jrun.servlet.ServletInvoker
2009-12-04 13:14:15 jrISAPI[9488:2328]  mapping converted from /services/* to /services*=org.apache.axis.transport.http.AxisServlet
2009-12-04 13:14:15 jrISAPI[9488:2328]  installing new mappings for 99.999.78.97:51001 count: 7
2009-12-04 13:14:15 jrISAPI[9488:2328]  old mappings count: 7
2009-12-04 13:14:15 jrISAPI[9488:2328]  Deleting old mappings...
2009-12-04 13:14:15 jrISAPI[9488:2328]  updateProxy - after
2009-12-04 13:14:15 jrISAPI[9488:2328]     /jrunstatistics=jrun.jsp.JSPServlet
2009-12-04 13:14:15 jrISAPI[9488:2328]        99.999.78.97:51001 active: 1
2009-12-04 13:14:15 jrISAPI[9488:2328]     /services*=org.apache.axis.transport.http.AxisServlet
2009-12-04 13:14:15 jrISAPI[9488:2328]        99.999.78.97:51001 active: 1
2009-12-04 13:14:15 jrISAPI[9488:2328]     /servlet*=jrun.servlet.ServletInvoker
2009-12-04 13:14:15 jrISAPI[9488:2328]        99.999.78.97:51001 active: 1
2009-12-04 13:14:15 jrISAPI[9488:2328]     /server*=jrunx.jmc.management.ServerCheckerServlet
2009-12-04 13:14:15 jrISAPI[9488:2328]        99.999.78.97:51001 active: 1
2009-12-04 13:14:15 jrISAPI[9488:2328]     *.jst=jrun.jsp.JSTServlet
2009-12-04 13:14:15 jrISAPI[9488:2328]        99.999.78.97:51001 active: 1
2009-12-04 13:14:15 jrISAPI[9488:2328]     *.jsp=jrun.jsp.JSPServlet
2009-12-04 13:14:15 jrISAPI[9488:2328]        99.999.78.97:51001 active: 1
2009-12-04 13:14:15 jrISAPI[9488:2328]     *.jws=org.apache.axis.transport.http.AxisServlet
2009-12-04 13:14:15 jrISAPI[9488:2328]        99.999.78.97:51001 active: 1
2009-12-04 13:14:15 jrISAPI[9488:2328]  filterRequest:   no match
2009-12-04 13:14:15 jrISAPI[9488:2328]  ExecUrl: request received: URL=/viewlink/index.cfm
2009-12-04 13:14:15 jrISAPI[9488:2328]  ExecUrl Completion: 503, URL=/viewlink/index.cfm.


On your ColdFusion server you have a file named web.xml in the WEB-INF folder. Does it have XML nodes named servlet-mapping with a *.cfm in them? In case you have multiple web.xml files, check the one that is in the ColdFusion server that listens to 99.999.78.97:51001.