B4J Question SOLVED: Getting error on running AB material template

saeed10051

Active Member
Licensed User
Longtime User
Hi I am new to AB material, i have copied the library files and the template files, on running template B4J file i am getting following error
2020-04-26 14:32:16.143:INFO::main: Logging initialized @1508ms to org.eclipse.jetty.util.log.StdErrLog
can anyone help me out in this
 
If new to ABM, start here...


Take it slow and you shall catch on how it works.
 
Upvote 0
If new to ABM, start here...


Take it slow and you shall catch on how it works.
Thanks Harris, I have started from this link, the basic setup that i have done is based on the link given by you. However i am getting this error. Is it something related to some settings in my B4J
 
Upvote 0
Paste the entire Logs tab output into a
Code: Copy
snip... Not enough info provided at present to tell....
 
Upvote 0
Paste the entire Logs tab output into a
Code: Copy
snip... Not enough info provided at present to tell....
Building core.min.1587994719312.css...
2020-04-27 17:38:40.145:INFO::main: Logging initialized @1414ms to org.eclipse.jetty.util.log.StdErrLog
2020-04-27 17:38:40.327:INFO:oejs.Server:main: jetty-9.4.z-SNAPSHOT; built: 2018-05-03T15:56:21.710Z; git: daa59876e6f384329b122929e70a80934569428c; jvm 11.0.1+13
2020-04-27 17:38:40.396:INFO:oejs.session:main: DefaultSessionIdManager workerName=node0
2020-04-27 17:38:40.396:INFO:oejs.session:main: No SessionScavenger set, using defaults
2020-04-27 17:38:40.398:INFO:oejs.session:main: node0 Scavenging every 600000ms
2020-04-27 17:38:40.431:INFO:oejsh.ContextHandler:main: Started o.e.j.s.ServletContextHandler@6283d8b8{/,file:///C:/javaprojects/ABMaterialForDummies/Myapp/Objects/www/,AVAILABLE}
2020-04-27 17:38:40.434:INFO:oejs.AbstractNCSARequestLog:main: Opened C:\javaprojects\ABMaterialForDummies\Myapp\Objects\logs\b4j-2020_04_27.request.log
2020-04-27 17:38:40.625:INFO:oejs.AbstractConnector:main: Started ServerConnector@70e9c95d{HTTP/1.1,[http/1.1]}{0.0.0.0:51045}
2020-04-27 17:38:40.625:INFO:oejs.Server:main: Started @1897ms
Emulated network latency: 100ms
2020-04-27 17:38:40.637:INFO:oejs.AbstractConnector:main: Stopped ServerConnector@70e9c95d{HTTP/1.1,[http/1.1]}{0.0.0.0:51045}
2020-04-27 17:38:40.638:INFO:oejs.session:main: node0 Stopped scavenging
2020-04-27 17:38:40.640:INFO:oejsh.ContextHandler:main: Stopped o.e.j.s.ServletContextHandler@6283d8b8{/,file:///C:/javaprojects/ABMaterialForDummies/Myapp/Objects/www/,UNAVAILABLE}
2020-04-27 17:38:40.645:INFO:oejs.Server:main: jetty-9.4.z-SNAPSHOT; built: 2018-05-03T15:56:21.710Z; git: daa59876e6f384329b122929e70a80934569428c; jvm 11.0.1+13
2020-04-27 17:38:40.653:INFO:oejsh.ContextHandler:main: Started o.e.j.s.ServletContextHandler@6283d8b8{/,file:///C:/javaprojects/ABMaterialForDummies/Myapp/Objects/www/,AVAILABLE}
2020-04-27 17:38:40.654:INFO:oejs.AbstractNCSARequestLog:main: Opened C:\javaprojects\ABMaterialForDummies\Myapp\Objects\logs\b4j-2020_04_27.request.log
2020-04-27 17:38:40.655:INFO:oejs.session:main: DefaultSessionIdManager workerName=node0
2020-04-27 17:38:40.655:INFO:oejs.session:main: No SessionScavenger set, using defaults
2020-04-27 17:38:40.655:INFO:oejs.session:main: node0 Scavenging every 600000ms
2020-04-27 17:38:40.658:INFO:oejs.AbstractConnector:main: Started ServerConnector@70e9c95d{HTTP/1.1,[http/1.1]}{0.0.0.0:51045}
2020-04-27 17:38:40.658:INFO:oejs.Server:main: Started @1930ms
2020-04-27 17:38:40.659:INFO:oejs.session:main: node0 Scavenging every 900000ms
 
Upvote 0
I have updated the handler in ABM application. It is giving me following error, on running and calling it through browser
2020-04-28 13:41:08.605:INFO:oejs.session:main: node0 Stopped scavenging
2020-04-28 13:41:08.609:INFO:oejsh.ContextHandler:main: Stopped o.e.j.s.ServletContextHandler@611889f4{/,file:///C:/javaprojects/ABMaterialForDummies/Myapp/Objects/www/,UNAVAILABLE}
2020-04-28 13:41:08.614:INFO:oejs.Server:main: jetty-9.4.z-SNAPSHOT; built: 2018-05-03T15:56:21.710Z; git: daa59876e6f384329b122929e70a80934569428c; jvm 11.0.1+13
2020-04-28 13:41:08.621:INFO:oejsh.ContextHandler:main: Started o.e.j.s.ServletContextHandler@611889f4{/,file:///C:/javaprojects/ABMaterialForDummies/Myapp/Objects/www/,AVAILABLE}
2020-04-28 13:41:08.623:INFO:oejs.AbstractNCSARequestLog:main: Opened C:\javaprojects\ABMaterialForDummies\Myapp\Objects\logs\b4j-2020_04_28.request.log
2020-04-28 13:41:08.624:INFO:oejs.session:main: DefaultSessionIdManager workerName=node0
2020-04-28 13:41:08.624:INFO:oejs.session:main: No SessionScavenger set, using defaults
2020-04-28 13:41:08.624:INFO:oejs.session:main: node0 Scavenging every 660000ms
2020-04-28 13:41:08.630:INFO:oejs.AbstractConnector:main: Started ServerConnector@6fdbe764{HTTP/1.1,[http/1.1]}{0.0.0.0:51045}
2020-04-28 13:41:08.631:INFO:oejs.Server:main: Started @2436ms
2020-04-28 13:41:08.632:INFO:oejs.session:main: node0 Scavenging every 990000ms
/js/core.4.30.min.js
Not Found
/css/materialize.4.26.min.css
Not Found
/js/core.4.30.min.js
Not Found
/css/materialize.4.26.min.css
Not Found
/js/core.4.30.min.js
Not Found
/css/materialize.4.26.min.css
Not Found
 
Upvote 0
Well, this says it all, you are missing the css/js/font etc files:
Code: Copy
/js/core.4.30.min.js
Not Found
/css/materialize.4.26.min.css
Not Found
/js/core.4.30.min.js
Not Found
/css/materialize.4.26.min.css
Not Found
/js/core.4.30.min.js
Not Found
/css/materialize.4.26.min.css
Not Found

Try this:

Delete www folder in template (under Objects) just to make sure we start fresh and replace with www folder found in \Library\ in the zip you downloaded.
 
Upvote 0
Back
Top