Search the web
Sign In
New User? Sign Up
jrun-interest · Java Servlet engine
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Displaying CSS Files   Message List  
Reply | Forward Message #16243 of 16245 |
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


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Flash for programmers - Flash MX Pro
http://www.houseoffusion.com/banners/view.cfm?bannerid=56

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



Tue Aug 30, 2005 5:57 pm

bigmadkev@...
Send Email Send Email

Forward
Message #16243 of 16245 |
Expand Messages Author Sort by Date

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 ...
Big Mad Kev
bigmadkev@...
Send Email
Aug 30, 2005
5:58 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help