How do I get CSS files to display using the Default JRUN Web Service on a CF
J2EE install.

If I request the file I get:

404 

/mystyle.css


java.io.FileNotFoundException: /mystyle.css
at jrun.servlet.file.FileServlet.service(FileServlet.java:349)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:259)
at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
at
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428
)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

My JRUN-WEB.XML file is set at as below:

 <session-config>
    <persistence-config>
      <active>false</active>
    </persistence-config>
    <replication-config>
      <active>true</active>
      <buddy-name>*</buddy-name>
    </replication-config>
  </session-config>
  <virtual-mapping>
    <resource-path>/</resource-path>
    <system-path>e:/Work/MyWebsite/wwwroot</system-path>
  </virtual-mapping>
  <virtual-mapping>
        <resource-path>/images</resource-path>
    <system-path>e:/Work/MyWebsite/wwwroot/images</system-path>
  </virtual-mapping>
  <virtual-mapping>
        <resource-path>/cfide</resource-path>
 
<system-path>e:/jrunservers/MyWebsite/cfusion-ear/cfusion-war/CFIDE</system-
path>
  </virtual-mapping>
  <context-root>/</context-root>
  <compile>false</compile>
  <reload>false</reload>
  <uri-character-encoding>UTF-8</uri-character-encoding>

The CSS is located at: e:/Work/MyWebsite/wwwroot/mystyle.css

It seems only CSS don't get picked up all the CFM / CFC's do

But I can get to:
E:\jrunservers\MyWebsite\cfusion-ear\cfusion-war\CFIDE\administrator\cfstyle
s.css

And this will display the CSS file.

Any Ideas Guys?

Cheers


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Purchase Dreamweaver with Homesite Plus from House of Fusion, a Macromedia 
Authorized Affiliate and support the CF community.
http://www.houseoffusion.com/banners/view.cfm?bannerid=54

Message: http://www.houseoffusion.com/lists.cfm/link=i:10:5525
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/10
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:10
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.10
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to