Skip to main content

help with containers sample

1 reply [Last post]
Joined: 2009-01-05

I downloaded and followed the instructions to deploy the samples to my resin J2EE container. All of the samples are working except the "Containers" sample app which is giving me a NullPointer exception, see below.

The interesting thing is if I remove either jmaki.dcontainer widget tag in the index.jsp, then the page renders, just without the container content that I removed.

I am seeing this in the stdout as well for all the samples:
"unable to locate resource in webapp or classpath, using the unverified and unaltered Uri: '/resources/system-glue2.js'"

Has anyone seen this problem before or know how I might alter the sample code to fix it? The learning curve is steep enough without also having to debug the sample


500 Servlet Exception
at jmaki.runtime.ResourceManager.getWidgetDir(
at jmaki.runtime.WidgetCommonRenderer.init(
at jmaki.runtime.jsp.WidgetTag.doEndTag(
at _jsp._containers._index__jsp._jspService(containers/index.jsp:140)
at com.caucho.jsp.JavaPage.service(

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2003-07-31

Hii Stephen,

This error occurs if in your config.json if you list a file /resources/ssystem-glue2.js and you do have a file with the name under your "/resources" directory of your web application.

Hope this helps.