You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "zebracmz (JIRA)" <ji...@apache.org> on 2009/05/26 10:26:45 UTC
[jira] Created: (TAP5-717) cannot load
/assets/5.0.18/tapestry/tapestry.js
cannot load /assets/5.0.18/tapestry/tapestry.js
-----------------------------------------------
Key: TAP5-717
URL: https://issues.apache.org/jira/browse/TAP5-717
Project: Tapestry 5
Issue Type: Question
Affects Versions: 5.0.18
Reporter: zebracmz
I use tomcat to deploy my project locally without any problems, in Windows System.
But when I deploy it to the server which is unix, the js files Tapestry5 added can not be loaded:
<script src="assets/5.0.18/scriptaculous/prototype.js" type="text/javascript"></script>
<script src="assets/5.0.18/scriptaculous/scriptaculous.js" type="text/javascript"></script>
<script src="assets/5.0.18/scriptaculous/effects.js" type="text/javascript"></script>
<script src="assets/5.0.18/tapestry/tapestry.js" type="text/javascript"></script>
<script type="text/javascript">
<!--
Tapestry.onDOMLoaded(function() {
$('email').activate();
});
// -->
</script>
these 4 files were not loaded and the browser(IE7 and firefox) tell me the script error: "Tapestry not defined". Further more, when I use JavaScript Debugger, double click the linked tapestry.js, it shows:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
2 <html><head>
3 <title>404 Not Found</title>
4 </head><body>
5 <h1>Not Found</h1>
6 <p>The requested URL /assets/5.0.18/tapestry/tapestry.js was not found on this server.</p>
7 <hr>
8 <address>Apache/2.0.59 (Unix) DAV/2 mod_jk/1.2.26 Server at www.shenghuo818.com Port 80</address>
9 </body></html>
the same thing happens to scriptaculous.js, prototype.js and effects.js.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (TAP5-717) cannot load
/assets/5.0.18/tapestry/tapestry.js
Posted by "Thiago H. de Paula Figueiredo (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thiago H. de Paula Figueiredo closed TAP5-717.
----------------------------------------------
Resolution: Invalid
What about using Tapestry 5.1.0.5 (the latest version)? :) By the way, this looks like an Apache issue, as its typically configured to handle static file requests and pass the dynamic ones to Tomcat. But /assets/5.0.18/tapestry/tapestry.js looks like a static file, but it is handled by Tapestry. Configure Apache to not handle /assets/* requests.
And please post in the mailing list and check other issues before creating JIRAs. This issue was already discussed in the list.
> cannot load /assets/5.0.18/tapestry/tapestry.js
> -----------------------------------------------
>
> Key: TAP5-717
> URL: https://issues.apache.org/jira/browse/TAP5-717
> Project: Tapestry 5
> Issue Type: Question
> Affects Versions: 5.0.18
> Reporter: zebracmz
>
> I use tomcat to deploy my project locally without any problems, in Windows System.
> But when I deploy it to the server which is unix, the js files Tapestry5 added can not be loaded:
> <script src="assets/5.0.18/scriptaculous/prototype.js" type="text/javascript"></script>
> <script src="assets/5.0.18/scriptaculous/scriptaculous.js" type="text/javascript"></script>
> <script src="assets/5.0.18/scriptaculous/effects.js" type="text/javascript"></script>
> <script src="assets/5.0.18/tapestry/tapestry.js" type="text/javascript"></script>
> <script type="text/javascript">
> <!--
> Tapestry.onDOMLoaded(function() {
> $('email').activate();
> });
> // -->
> </script>
> these 4 files were not loaded and the browser(IE7 and firefox) tell me the script error: "Tapestry not defined". Further more, when I use JavaScript Debugger, double click the linked tapestry.js, it shows:
> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> 2 <html><head>
> 3 <title>404 Not Found</title>
> 4 </head><body>
> 5 <h1>Not Found</h1>
> 6 <p>The requested URL /assets/5.0.18/tapestry/tapestry.js was not found on this server.</p>
> 7 <hr>
> 8 <address>Apache/2.0.59 (Unix) DAV/2 mod_jk/1.2.26 Server at www.shenghuo818.com Port 80</address>
> 9 </body></html>
> the same thing happens to scriptaculous.js, prototype.js and effects.js.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (TAP5-717) cannot load
/assets/5.0.18/tapestry/tapestry.js
Posted by "Thiago H. de Paula Figueiredo (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thiago H. de Paula Figueiredo closed TAP5-717.
----------------------------------------------
Resolution: Invalid
What about using Tapestry 5.1.0.5 (the latest version)? :) By the way, this looks like an Apache issue, as its typically configured to handle static file requests and pass the dynamic ones to Tomcat. But /assets/5.0.18/tapestry/tapestry.js looks like a static file, but it is handled by Tapestry. Configure Apache to not handle /assets/* requests.
And please post in the mailing list and check other issues before creating JIRAs. This issue was already discussed in the list.
> cannot load /assets/5.0.18/tapestry/tapestry.js
> -----------------------------------------------
>
> Key: TAP5-717
> URL: https://issues.apache.org/jira/browse/TAP5-717
> Project: Tapestry 5
> Issue Type: Question
> Affects Versions: 5.0.18
> Reporter: zebracmz
>
> I use tomcat to deploy my project locally without any problems, in Windows System.
> But when I deploy it to the server which is unix, the js files Tapestry5 added can not be loaded:
> <script src="assets/5.0.18/scriptaculous/prototype.js" type="text/javascript"></script>
> <script src="assets/5.0.18/scriptaculous/scriptaculous.js" type="text/javascript"></script>
> <script src="assets/5.0.18/scriptaculous/effects.js" type="text/javascript"></script>
> <script src="assets/5.0.18/tapestry/tapestry.js" type="text/javascript"></script>
> <script type="text/javascript">
> <!--
> Tapestry.onDOMLoaded(function() {
> $('email').activate();
> });
> // -->
> </script>
> these 4 files were not loaded and the browser(IE7 and firefox) tell me the script error: "Tapestry not defined". Further more, when I use JavaScript Debugger, double click the linked tapestry.js, it shows:
> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> 2 <html><head>
> 3 <title>404 Not Found</title>
> 4 </head><body>
> 5 <h1>Not Found</h1>
> 6 <p>The requested URL /assets/5.0.18/tapestry/tapestry.js was not found on this server.</p>
> 7 <hr>
> 8 <address>Apache/2.0.59 (Unix) DAV/2 mod_jk/1.2.26 Server at www.shenghuo818.com Port 80</address>
> 9 </body></html>
> the same thing happens to scriptaculous.js, prototype.js and effects.js.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.