You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2018/11/11 09:51:00 UTC

[jira] [Resolved] (SLING-584) extensions dojo demo1.html doesn't work in tomcat deployment

     [ https://issues.apache.org/jira/browse/SLING-584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler resolved SLING-584.
------------------------------------
    Resolution: Won't Fix

> extensions dojo demo1.html doesn't work in tomcat deployment 
> -------------------------------------------------------------
>
>                 Key: SLING-584
>                 URL: https://issues.apache.org/jira/browse/SLING-584
>             Project: Sling
>          Issue Type: Bug
>          Components: Extensions
>         Environment: linux, jdk 1.6, tomcat apache-6.0.16
>            Reporter: John Langley
>            Priority: Major
>
> the dojo jcr browser doesn't work when deployed into a sling instance which is running w/in tomcat (deployed as a war)
> below is the error from http://localhost:8080/sling/dojox/data/demo/demo1.html
> Interestingly, the same build and bundles run in a jetty:run from w/in launchpad/webapp work fine. 
>   status : 404
>   responseText : <html><head><title>Apache Tomcat/6.0.16 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 404 - /.1.json</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>/.1.json</u></p><p><b>description</b> <u>The requested resource (/.1.json) is not available.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/6.0.16</h3></body></html>
>   message : Unable to load /.1.json status:404
>   fileName : http://localhost:8080/sling/dojo/_base/_loader/bootstrap.js
>   lineNumber : 971
>   stack : Error("Unable to load /.1.json status:404")@:0
> ([object Object])@http://localhost:8080/sling/dojo/_base/_loader/bootstrap.js:971
> (576)@http://localhost:8080/sling/dojo/_base/_loader/bootstrap.js:888
> @:0
>   name : Error



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)