You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-issues@incubator.apache.org by "Gabrielle Crawford (JIRA)" <ad...@incubator.apache.org> on 2006/08/01 02:34:14 UTC

[jira] Commented: (ADFFACES-101) js not loaded when setting debug js param to true

    [ http://issues.apache.org/jira/browse/ADFFACES-101?page=comments#action_12424710 ] 
            
Gabrielle Crawford commented on ADFFACES-101:
---------------------------------------------

This is shown in the log:

Jul 31, 2006 7:21:59 PM org.apache.myfaces.trinidad.resource.AggregatingResourceLoader getURL
WARNING: Resource "META-INF/adf/jsDebug/CharSets.js" at path "/adf/jsLibs/DebugCommon11-m7.js" not found
Jul 31, 2006 7:21:59 PM org.apache.myfaces.trinidad.resource.AggregatingResourceLoader getURL
WARNING: Resource "META-INF/adf/jsDebug/CoreFormat.js" at path "/adf/jsLibs/DebugCommon11-m7.js" not found
Jul 31, 2006 7:21:59 PM org.apache.myfaces.trinidad.resource.AggregatingResourceLoader getURL
WARNING: Resource "META-INF/adf/jsDebug/DateField.js" at path "/adf/jsLibs/DebugCommon11-m7.js" not found
Jul 31, 2006 7:21:59 PM org.apache.myfaces.trinidad.resource.AggregatingResourceLoader getURL
WARNING: Resource "META-INF/adf/jsDebug/DateFieldFormat.js" at path "/adf/jsLibs/DebugCommon11-m7.js" not found
Jul 31, 2006 7:21:59 PM org.apache.myfaces.trinidad.resource.AggregatingResourceLoader getURL
WARNING: Resource "META-INF/adf/jsDebug/DateFormat.js" at path "/adf/jsLibs/DebugCommon11-m7.js" not found
Jul 31, 2006 7:21:59 PM org.apache.myfaces.trinidad.resource.AggregatingResourceLoader getURL
WARNING: Resource "META-INF/adf/jsDebug/Locale.js" at path "/adf/jsLibs/DebugCommon11-m7.js" not found
Jul 31, 2006 7:21:59 PM org.apache.myfaces.trinidad.resource.AggregatingResourceLoader getURL
WARNING: Resource "META-INF/adf/jsDebug/Core.js" at path "/adf/jsLibs/DebugCommon11-m7.js" not found
Jul 31, 2006 7:21:59 PM org.apache.myfaces.trinidad.resource.AggregatingResourceLoader getURL
WARNING: Resource "META-INF/adf/jsDebug/Window.js" at path "/adf/jsLibs/DebugCommon11-m7.js" not found
Jul 31, 2006 7:21:59 PM org.apache.myfaces.trinidad.resource.AggregatingResourceLoader getURL
WARNING: Resource "META-INF/adf/jsDebug/PPR.js" at path "/adf/jsLibs/DebugCommon11-m7.js" not found
Jul 31, 2006 7:21:59 PM org.apache.myfaces.trinidad.resource.AggregatingResourceLoader getURL
WARNING: Resource "META-INF/adf/jsDebug/TableProxy.js" at path "/adf/jsLibs/DebugCommon11-m7.js" not found
Jul 31, 2006 7:21:59 PM org.apache.myfaces.trinidad.resource.AggregatingResourceLoader getURL
WARNING: Resource "META-INF/adf/jsDebug/Poll.js" at path "/adf/jsLibs/DebugCommon11-m7.js" not found
Jul 31, 2006 7:22:00 PM org.apache.myfaces.trinidad.resource.AggregatingResourceLoader getURL
WARNING: Resource "META-INF/adf/jsDebug/ColorField.js" at path "/adf/jsLibs/DebugCommon11-m7.js" not found
Jul 31, 2006 7:22:00 PM org.apache.myfaces.trinidad.resource.AggregatingResourceLoader getURL
WARNING: Resource "META-INF/adf/jsDebug/ColorFieldFormat.js" at path "/adf/jsLibs/DebugCommon11-m7.js" not found
Jul 31, 2006 7:22:00 PM org.apache.myfaces.trinidad.resource.AggregatingResourceLoader getURL
WARNING: Resource "META-INF/adf/jsDebug/ColorFormat.js" at path "/adf/jsLibs/DebugCommon11-m7.js" not found
Jul 31, 2006 7:22:00 PM org.apache.myfaces.trinidad.resource.AggregatingResourceLoader getURL
WARNING: Resource "META-INF/adf/jsDebug/Shuttle.js" at path "/adf/jsLibs/DebugCommon11-m7.js" not found


> js not loaded when setting debug js param to true
> -------------------------------------------------
>
>                 Key: ADFFACES-101
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-101
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>         Environment: windows xp, firefox 1.5.0.5
>            Reporter: Gabrielle Crawford
>
> - run the following demo page: convertValidate/clientConvert.jspx
> - shut down the server. now set the following param in web.xml: 
> <context-param>
>     <param-name>org.apache.myfaces.trinidad.DEBUG_JAVASCRIPT</param-name>
>     <param-value>true</param-value>
>   </context-param>
> - now run the page again, it fails with js errors. 
> - the js lib call looks like this in the html: <script src="/trinidad-demo-context-root/adf/jsLibs/DebugCommon11-m7.js"></script>
> - when I go to look at the lib on the browser I get this:
> 500 Internal Server Error
> java.lang.ArrayIndexOutOfBoundsException: 0
> 	at org.apache.myfaces.trinidad.resource.AggregatingResourceLoader$AggregatingURLConnection.getContentType(AggregatingResourceLoader.java:237)
> 	at org.apache.myfaces.trinidad.resource.CachingResourceLoader$URLConnectionImpl.getContentType(CachingResourceLoader.java:166)
> 	at org.apache.myfaces.trinidad.webapp.ResourceServlet._setHeaders(ResourceServlet.java:397)
> 	at org.apache.myfaces.trinidad.webapp.ResourceServlet.doGet(ResourceServlet.java:192)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> 	at org.apache.myfaces.trinidad.webapp.ResourceServlet.service(ResourceServlet.java:149)
> 	at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:712)
> 	at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
> 	at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:869)
> 	at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:449)
> 	at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
> 	at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
> 	at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
> 	at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
> 	at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)
> 	at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)
> 	at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)
> 	at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
> 	at java.lang.Thread.run(Thread.java:595)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira