Problem with web connector. No images and css files shown

View: New views
7 Messages — Rating Filter:   Alert me  

Problem with web connector. No images and css files shown

by Erik-Jan Jaquet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

I hope you can help me with a problem. I am setting up an CF8 server which is deployed with an .ear file. The context-root is the root of the server (/). The site is working fine when I run it with the build-in web-server on port 8300. But after I create a web-connector to it to work with IIS, only the cfm and cfc files are shown, no static files like CSS and images.
The final setup must contain three servers, all in one cluster. And there I have the same problem, all three serves work fine separate, with the built-in webserver, but don't work in the cluster, with the web-connector.

The setup is CF8 Enterprise, on a WIN 2003 servers. Coldfusion is installed as a multi-home JRUN install. And I have stopped all the other CF instances in JRUN, except for the admin.

I hope somebody can help me!

Kind regards,

Erik-Jan Jaquet

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: http://www.houseoffusion.com/groups/cf-server/message.cfm/messageid:6706
Subscription: http://www.houseoffusion.com/groups/cf-server/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.10

Re: Problem with web connector. No images and css files shown

by James Holmes-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Do you have the content both in the webserver root and the CF context root?

mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/



2008/12/28 Erik-Jan Jaquet <ejjaquet@...>:

> Hi all,
>
> I hope you can help me with a problem. I am setting up an CF8 server which is deployed with an .ear file. The context-root is the root of the server (/). The site is working fine when I run it with the build-in web-server on port 8300. But after I create a web-connector to it to work with IIS, only the cfm and cfc files are shown, no static files like CSS and images.
> The final setup must contain three servers, all in one cluster. And there I have the same problem, all three serves work fine separate, with the built-in webserver, but don't work in the cluster, with the web-connector.
>
> The setup is CF8 Enterprise, on a WIN 2003 servers. Coldfusion is installed as a multi-home JRUN install. And I have stopped all the other CF instances in JRUN, except for the admin.
>
> I hope somebody can help me!
>
> Kind regards,
>
> Erik-Jan Jaquet
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: http://www.houseoffusion.com/groups/cf-server/message.cfm/messageid:6707
Subscription: http://www.houseoffusion.com/groups/cf-server/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.10

Re: Problem with web connector. No images and css files shown

by Erik-Jan Jaquet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi James,

No, the webserver root is empty. But that should stay empty, because I only
want to use the ear files to deploy it to the cluster, eventually.

Kind regards,

Erik-Jan

2008/12/28 James Holmes <james.holmes@...>

> Do you have the content both in the webserver root and the CF context root?
>
> mxAjax / CFAjax docs and other useful articles:
> http://www.bifrost.com.au/blog/
>
>
>
> 2008/12/28 Erik-Jan Jaquet <ejjaquet@...>:
> > Hi all,
> >
> > I hope you can help me with a problem. I am setting up an CF8 server
> which is deployed with an .ear file. The context-root is the root of the
> server (/). The site is working fine when I run it with the build-in
> web-server on port 8300. But after I create a web-connector to it to work
> with IIS, only the cfm and cfc files are shown, no static files like CSS and
> images.
> > The final setup must contain three servers, all in one cluster. And there
> I have the same problem, all three serves work fine separate, with the
> built-in webserver, but don't work in the cluster, with the web-connector.
> >
> > The setup is CF8 Enterprise, on a WIN 2003 servers. Coldfusion is
> installed as a multi-home JRUN install. And I have stopped all the other CF
> instances in JRUN, except for the admin.
> >
> > I hope somebody can help me!
> >
> > Kind regards,
> >
> > Erik-Jan Jaquet
> >
> >
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: http://www.houseoffusion.com/groups/cf-server/message.cfm/messageid:6708
Subscription: http://www.houseoffusion.com/groups/cf-server/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.10

Re: Problem with web connector. No images and css files shown

by James Holmes-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

That's your problem. In a webserver connector deployment, your css /
images / etc will come from the webserver. You need to deploy your
site to both places.

mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/



2008/12/28 Erik-Jan Jaquet <ejjaquet@...>:

> Hi James,
>
> No, the webserver root is empty. But that should stay empty, because I only
> want to use the ear files to deploy it to the cluster, eventually.
>
> Kind regards,
>
> Erik-Jan
>
> 2008/12/28 James Holmes <james.holmes@...>
>
>> Do you have the content both in the webserver root and the CF context root?
>>
>> mxAjax / CFAjax docs and other useful articles:
>> http://www.bifrost.com.au/blog/
>>
>>
>>
>> 2008/12/28 Erik-Jan Jaquet <ejjaquet@...>:
>> > Hi all,
>> >
>> > I hope you can help me with a problem. I am setting up an CF8 server
>> which is deployed with an .ear file. The context-root is the root of the
>> server (/). The site is working fine when I run it with the build-in
>> web-server on port 8300. But after I create a web-connector to it to work
>> with IIS, only the cfm and cfc files are shown, no static files like CSS and
>> images.
>> > The final setup must contain three servers, all in one cluster. And there
>> I have the same problem, all three serves work fine separate, with the
>> built-in webserver, but don't work in the cluster, with the web-connector.
>> >
>> > The setup is CF8 Enterprise, on a WIN 2003 servers. Coldfusion is
>> installed as a multi-home JRUN install. And I have stopped all the other CF
>> instances in JRUN, except for the admin.
>> >
>> > I hope somebody can help me!
>> >
>> > Kind regards,
>> >
>> > Erik-Jan Jaquet
>> >
>> >
>>
>>
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: http://www.houseoffusion.com/groups/cf-server/message.cfm/messageid:6709
Subscription: http://www.houseoffusion.com/groups/cf-server/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.10

Re: Problem with web connector. No images and css files shown

by Erik-Jan Jaquet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi James,

I appreciate your help, but I have seen it working elsewhere. I am trying to
reproduce an environment with the same setup (a cluster with 3
instances on 1 server) that is working like I described. All the files for
the website, including css and images, are in the ear file. So it can be
done, I just don't now how. Yet... ;-)

2008/12/28 James Holmes <james.holmes@...>

> That's your problem. In a webserver connector deployment, your css /
> images / etc will come from the webserver. You need to deploy your
> site to both places.
>
> mxAjax / CFAjax docs and other useful articles:
> http://www.bifrost.com.au/blog/
>
>
>
> 2008/12/28 Erik-Jan Jaquet <ejjaquet@...>:
> > Hi James,
> >
> > No, the webserver root is empty. But that should stay empty, because I
> only
> > want to use the ear files to deploy it to the cluster, eventually.
> >
> > Kind regards,
> >
> > Erik-Jan
> >
> > 2008/12/28 James Holmes <james.holmes@...>
> >
> >> Do you have the content both in the webserver root and the CF context
> root?
> >>
> >> mxAjax / CFAjax docs and other useful articles:
> >> http://www.bifrost.com.au/blog/
> >>
> >>
> >>
> >> 2008/12/28 Erik-Jan Jaquet <ejjaquet@...>:
> >> > Hi all,
> >> >
> >> > I hope you can help me with a problem. I am setting up an CF8 server
> >> which is deployed with an .ear file. The context-root is the root of the
> >> server (/). The site is working fine when I run it with the build-in
> >> web-server on port 8300. But after I create a web-connector to it to
> work
> >> with IIS, only the cfm and cfc files are shown, no static files like CSS
> and
> >> images.
> >> > The final setup must contain three servers, all in one cluster. And
> there
> >> I have the same problem, all three serves work fine separate, with the
> >> built-in webserver, but don't work in the cluster, with the
> web-connector.
> >> >
> >> > The setup is CF8 Enterprise, on a WIN 2003 servers. Coldfusion is
> >> installed as a multi-home JRUN install. And I have stopped all the other
> CF
> >> instances in JRUN, except for the admin.
> >> >
> >> > I hope somebody can help me!
> >> >
> >> > Kind regards,
> >> >
> >> > Erik-Jan Jaquet
> >> >
> >> >
> >>
> >>
> >
> >
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: http://www.houseoffusion.com/groups/cf-server/message.cfm/messageid:6710
Subscription: http://www.houseoffusion.com/groups/cf-server/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.10

Re: Problem with web connector. No images and css files shown

by Big Kev-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

By the sounds of it you need to create virtual directories in IIS to  
point to your CSS / images folders in the ear folder?
--------------------------------------------------
Big Mad Kev
Adobe Community Expert (ColdFusion)
email: bigmadkev@...
blog: http://inner-rhythm.co.uk/blog
--------------------------------------------------





On 28 Dec 2008, at 13:27, Erik-Jan Jaquet wrote:

> Hi James,
>
> I appreciate your help, but I have seen it working elsewhere. I am  
> trying to
> reproduce an environment with the same setup (a cluster with 3
> instances on 1 server) that is working like I described. All the  
> files for
> the website, including css and images, are in the ear file. So it  
> can be
> done, I just don't now how. Yet... ;-)
>
> 2008/12/28 James Holmes <james.holmes@...>
>
>> That's your problem. In a webserver connector deployment, your css /
>> images / etc will come from the webserver. You need to deploy your
>> site to both places.
>>
>> mxAjax / CFAjax docs and other useful articles:
>> http://www.bifrost.com.au/blog/
>>
>>
>>
>> 2008/12/28 Erik-Jan Jaquet <ejjaquet@...>:
>>> Hi James,
>>>
>>> No, the webserver root is empty. But that should stay empty,  
>>> because I
>> only
>>> want to use the ear files to deploy it to the cluster, eventually.
>>>
>>> Kind regards,
>>>
>>> Erik-Jan
>>>
>>> 2008/12/28 James Holmes <james.holmes@...>
>>>
>>>> Do you have the content both in the webserver root and the CF  
>>>> context
>> root?
>>>>
>>>> mxAjax / CFAjax docs and other useful articles:
>>>> http://www.bifrost.com.au/blog/
>>>>
>>>>
>>>>
>>>> 2008/12/28 Erik-Jan Jaquet <ejjaquet@...>:
>>>>> Hi all,
>>>>>
>>>>> I hope you can help me with a problem. I am setting up an CF8  
>>>>> server
>>>> which is deployed with an .ear file. The context-root is the root  
>>>> of the
>>>> server (/). The site is working fine when I run it with the build-
>>>> in
>>>> web-server on port 8300. But after I create a web-connector to it  
>>>> to
>> work
>>>> with IIS, only the cfm and cfc files are shown, no static files  
>>>> like CSS
>> and
>>>> images.
>>>>> The final setup must contain three servers, all in one cluster.  
>>>>> And
>> there
>>>> I have the same problem, all three serves work fine separate,  
>>>> with the
>>>> built-in webserver, but don't work in the cluster, with the
>> web-connector.
>>>>>
>>>>> The setup is CF8 Enterprise, on a WIN 2003 servers. Coldfusion is
>>>> installed as a multi-home JRUN install. And I have stopped all  
>>>> the other
>> CF
>>>> instances in JRUN, except for the admin.
>>>>>
>>>>> I hope somebody can help me!
>>>>>
>>>>> Kind regards,
>>>>>
>>>>> Erik-Jan Jaquet
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: http://www.houseoffusion.com/groups/cf-server/message.cfm/messageid:6711
Subscription: http://www.houseoffusion.com/groups/cf-server/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.10

Re: Problem with web connector. No images and css files shown

by Dave Watts :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> I appreciate your help, but I have seen it working elsewhere. I am trying to
> reproduce an environment with the same setup (a cluster with 3
> instances on 1 server) that is working like I described. All the files for
> the website, including css and images, are in the ear file. So it can be
> done, I just don't now how. Yet... ;-)

If the EAR file is exploded, just change your IIS configuration to use
the exploded WAR file it contains as the web root. Otherwise, you'll
need to configure CF to process all requests, not just the ones for
..cfm and .cfc files.

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!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: http://www.houseoffusion.com/groups/cf-server/message.cfm/messageid:6712
Subscription: http://www.houseoffusion.com/groups/cf-server/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.10