Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    SmartGWT SpringBoot - JAR


    I am trying to package SpringBoot Application with SmartGWT as a JAR archive, I have it working with SpringBoot as WAR Archive no issue with the following

    WAR ARTIFACT Working:

    1. Maven Project Structure
    Project
    - src
    - main
    - java
    - resources
    - server.properties
    - application.properties
    - webapp
    - <Smart GWT Compiled code>
    - index.html
    - WEB-INF
    - classes
    - web.xml (web.xml is empty just contains welcome file list)

    2. Spring Initializer
    @SpringBootApplication(scanBasePackages = "com.ricoh.mdm",exclude = {ErrorMvcAutoConfiguration.class})
    public class AdmintoolApplication extends SpringBootServletInitializer {
    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
    return application.sources(AdmintoolApplication.class);
    }

    @Override
    public void onStartup(ServletContext servletContext) throws ServletException {
    super.onStartup(servletContext);
    servletContext.addListener(new InitListener()); //Add com.isomorphic.base.InitListener ServletContextListener
    }

    //Registers all other servlets
    @Bean
    ServletRegistrationBean<DataSourceLoader> dataSourceServlet () {
    return new ServletRegistrationBean<DataSourceLoader>(new DataSourceLoader(),DATASOURCE_LOADER_SERVLET_URL_MAPPING);
    }
    ...etc.
    }

    3. I package the project with springboot to generate a WAR archive - I can then run java -jar myserver.war and everything works... SMartGWT works and all is well.


    JAR ARTIFACT NOT Working:

    1. Maven Project Structure
    Project
    - src
    - main
    - java
    - resources
    - server.properties
    - application.properties
    - public
    - <Smart GWT Compiled code>
    - index.html

    2. Spring Initializer Same as before, I also tried implenmenting WebApplicationInitializer and without WebApplicationInitializer or SpringBootServletInitializer

    @SpringBootApplication(scanBasePackages = "com.ricoh.mdm",exclude = {ErrorMvcAutoConfiguration.class})
    public class AdmintoolApplication extends SpringBootServletInitializer {
    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
    return application.sources(AdmintoolApplication.class);
    }

    @Override
    public void onStartup(ServletContext servletContext) throws ServletException {
    super.onStartup(servletContext);
    servletContext.addListener(new InitListener()); //Add com.isomorphic.base.InitListener ServletContextListener
    }

    //Registers all other servlets
    @Bean
    ServletRegistrationBean<DataSourceLoader> dataSourceServlet () {
    return new ServletRegistrationBean<DataSourceLoader>(new DataSourceLoader(),DATASOURCE_LOADER_SERVLET_URL_MAPPING);
    }
    ...etc.
    }

    3. I package the project with springboot to generate a JAR archive, I start the application with java -jar myserver.jar but SmartGWT does not really kick in

    Problem loading builtinTypes.xml
    Exception when loading from __USE_CONTAINER__/common/sc/system/schema/builtinTypes.xml:
    java.net.MalformedURLException
    at java.base/java.net.URL.<init>(URL.java:679)
    at java.base/java.net.URL.<init>(URL.java:541)
    at java.base/java.net.URL.<init>(URL.java:488)

    I looked at https://www.smartclient.com/smartgwt...tListener.html and have the listener configured.

    I think SmartGWT InitListener is not getting invoked on somehow its not finding server.properties file

    Any suggestions or advice

    Last edited by malcolm.pereira; 20 Aug 2021, 06:00.

    #2
    Previous logs will tell you whether server.properties and other files have been found.

    This log in particular seems to indicate that loading builtinTypes.xml from the jar via the classpath didn’t work, which may indicate you have an extra directory in the way.

    If that doesn’t make the problem obvious, you’ll need to post the whole log for anyone to be able to help (always do this).

    Comment


      #3

      Yes, looks like its not finding server.properties or something else, also is using __USE_CONTAINER__ not sure if its a timing issue i.e. SmartGWT not having initializing properly.


      Project Set up, Maven GWT compiles GWT modules to public.


      Click image for larger version

Name:	SpringBootJar.png
Views:	353
Size:	167.5 KB
ID:	266288

      Jar file from Decompiler , GWT modules under public and the server properties at root.

      Click image for larger version

Name:	SpringBootJar2.png
Views:	130
Size:	295.3 KB
ID:	266289

      cutomer.html accessible from the browser, however Problem loading builtinTypes.xml Exception when loading from __USE_CONTAINER__/common/sc/system/schema/builtinTypes.xml: java.net.MalformedURLException is logged and GWT application does not load.

      PS C:\ZebraDeployment\JAR\MCoreServer\com.ricoh.mdm.mcore> java -jar .\com.ricoh.mdm.mcore.admintool\target\mcore_server.jar

      . ____ _ __ _ _
      /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
      ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
      \\/ ___)| |_)| | | | | || (_| | ) ) ) )
      ' |____| .__|_| |_|_| |_\__, | / / / /
      =========|_|==============|___/=/_/_/_/
      :: Spring Boot :: (v2.5.2)

      [INFO ],[2021-08-25T16:11:08.496-0400],[1],[com.ricoh.mdm.mcore.admintool.server.AdmintoolApplication],[logStarting],,Starting AdmintoolApplication using Java 11.0.11 on YKF-Malcolm-PC with PID 9592 (C:\ZebraDeployment\JAR\MCoreServer\com.ricoh.mdm.mcore\com.ricoh.mdm.mcore.admintool\target\mcore_server.jar started by Malcolm in C:\ZebraDeployment\JAR\MCoreServer\com.ricoh.mdm.mcore),
      [INFO ],[2021-08-25T16:11:08.521-0400],[1],[com.ricoh.mdm.mcore.admintool.server.AdmintoolApplication],[logStartupProfileInfo],,The following profiles are active: PROD,
      [INFO ],[2021-08-25T16:11:17.818-0400],[1],[org.springframework.boot.web.embedded.jetty.JettyServletWebServerFactory],[getWebServer],,Server initialized with port: 8080,
      [INFO ],[2021-08-25T16:11:17.827-0400],[1],[org.eclipse.jetty.server.Server],[doStart],,jetty-9.4.42.v20210604; built: 2021-06-04T17:33:38.939Z; git: 5cd5e6d2375eeab146813b0de9f19eda6ab6e6cb; jvm 11.0.11+9-LTS,
      [INFO ],[2021-08-25T16:11:17.890-0400],[1],[org.eclipse.jetty.server.handler.ContextHandler.application],[log],,Initializing Spring embedded WebApplicationContext,
      [INFO ],[2021-08-25T16:11:17.891-0400],[1],[org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext],[prepareWebApplicationContext],,Root WebApplicationContext: initialization completed in 9057 ms,
      [INFO ],[2021-08-25T16:11:18.832-0400],[1],[org.eclipse.jetty.server.session],[doStart],,DefaultSessionIdManager workerName=node0,
      [INFO ],[2021-08-25T16:11:18.833-0400],[1],[org.eclipse.jetty.server.session],[doStart],,No SessionScavenger set, using defaults,
      [INFO ],[2021-08-25T16:11:18.837-0400],[1],[org.eclipse.jetty.server.session],[startScavenging],,node0 Scavenging every 600000ms,
      [INFO ],[2021-08-25T16:11:19.094-0400],[1],[org.eclipse.jetty.server.handler.ContextHandler.application],[log],,Warning: No org.apache.tomcat.JarScanner set in ServletContext. Falling back to default JarScanner implementation.,
      [INFO ],[2021-08-25T16:11:24.639-0400],[1],[org.apache.jasper.servlet.TldScanner],[info],,At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.,
      [INFO ],[2021-08-25T16:11:24.866-0400],[1],[org.eclipse.jetty.server.handler.ContextHandler],[doStart],,Started o.s.b.w.e.j.JettyEmbeddedWebAppContext@a10c1b5{application,/,[file:///C:/Users/Malcolm/AppData/Local/Temp/jetty-docbase.8080.14367432305634721687/, jar:file:/C:/ZebraDeployment/JAR/MCoreServer/com.ricoh.mdm.mcore/com.ricoh.mdm.mcore.admintool/target/mcore_server.jar!/BOOT-INF/lib/swagger-ui-3.49.0.jar!/META-INF/resources],AVAILABLE},
      [INFO ],[2021-08-25T16:11:24.867-0400],[1],[org.eclipse.jetty.server.Server],[doStart],,Started @25188ms,
      === SmartClient Init: log4j.isc.config.xml not found in CLASSPATH. Assuming log4j configuration for com.isomorphic is located in some other log4j configuration file.
      [INFO ],[2021-08-25T16:11:29.767-0400],[1],[org.eclipse.jetty.server.handler.ContextHandler.application],[log],,Initializing Spring DispatcherServlet 'dispatcherServlet',
      [INFO ],[2021-08-25T16:11:29.767-0400],[1],[org.springframework.web.servlet.DispatcherServlet],[initServletBean],,Initializing Servlet 'dispatcherServlet',
      [INFO ],[2021-08-25T16:11:29.772-0400],[1],[org.springframework.web.servlet.DispatcherServlet],[initServletBean],,Completed initialization in 3 ms,
      [INFO ],[2021-08-25T16:11:29.888-0400],[1],[org.eclipse.jetty.server.AbstractConnector],[doStart],,Started ServerConnector@54336c81{HTTP/1.1, (http/1.1)}{0.0.0.0:8080},
      [INFO ],[2021-08-25T16:11:29.893-0400],[1],[org.springframework.boot.web.embedded.jetty.JettyWebServer],[start],,Jetty started on port(s) 8080 (http/1.1) with context path '/',
      [INFO ],[2021-08-25T16:11:29.947-0400],[1],[com.ricoh.mdm.mcore.admintool.server.AdmintoolApplication],[logStarted],,Started AdmintoolApplication in 23.756 seconds (JVM running for 30.268),
      Problem loading builtinTypes.xml
      Exception when loading from __USE_CONTAINER__/common/sc/system/schema/builtinTypes.xml:
      java.net.MalformedURLException
      at java.base/java.net.URL.<init>(URL.java:679)
      at java.base/java.net.URL.<init>(URL.java:541)
      at java.base/java.net.URL.<init>(URL.java:488)
      at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
      at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
      at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
      at com.isomorphic.xml.XML.parseXML(XML.java:349)
      at com.isomorphic.xml.XML.parseXML(XML.java:152)
      at com.isomorphic.xml.XML$DocumentCache.loadObjectFromFile(XML.java:418)
      at com.isomorphic.store.ProcessedFileCache.getObjectFromFile(ProcessedFileCache.java:147)
      at com.isomorphic.xml.XML.getXMLDocument(XML.java:434)
      at com.isomorphic.xml.XML.toDSRecords(XML.java:442)
      at com.isomorphic.xml.XML.toDSRecords(XML.java:446)
      at com.isomorphic.xml.XML.toDSRecords(XML.java:451)
      at com.isomorphic.datasource.DataSource.<clinit>(DataSource.java:1257)
      at com.isomorphic.datasource.DataSourceManager.getDataSource(DataSourceManager.java:171)
      at com.isomorphic.datasource.DataSourceManager.getDataSource(DataSourceManager.java:121)
      at com.isomorphic.servlet.DataSourceLoader.processRequest(DataSourceLoader.java:186)
      at com.isomorphic.servlet.DataSourceLoader.doGet(DataSourceLoader.java:110)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:645)
      at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:178)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:750)
      at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
      at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1626)
      at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:228)
      at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
      at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
      at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
      at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
      at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
      at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
      at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
      at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
      at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
      at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
      at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
      at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
      at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
      at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
      at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548)
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
      at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:602)
      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
      at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
      at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
      at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
      at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1435)
      at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
      at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
      at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
      at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
      at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1350)
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
      at org.eclipse.jetty.server.Server.handle(Server.java:516)
      at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:388)
      at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:633)
      at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:380)
      at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
      at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
      at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
      at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
      at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
      at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
      at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
      at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
      at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:383)
      at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:882)
      at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1036)
      at java.base/java.lang.Thread.run(Thread.java:829)
      Caused by: java.lang.NullPointerException
      at java.base/java.net.URL.<init>(URL.java:585)
      ... 73 more

      [INFO ],[2021-08-25T16:11:43.009-0400],[118],[com.ricoh.mdm.mcore.admintool.server.servlet.Login],[doPost],,[Start],
      [ERROR],[2021-08-25T16:11:43.149-0400],[118],[com.ricoh.mdm.mcore.admintool.server.servlet.Login],[auditLogin],,unable to save to login_info table,
      [ERROR],[2021-08-25T16:11:43.281-0400],[118],[com.ricoh.mdm.mcore.admintool.server.servlet.Login],[doPost],,Caught exception while processing POST,
      java.lang.ClassCastException: class com.isomorphic.js.JSExpression cannot be cast to class java.lang.Long (com.isomorphic.js.JSExpression is in unnamed module of loader org.springframework.boot.loader.LaunchedURLClassLoader @475530b9; java.lang.Long is in module java.base of loader 'bootstrap')
      at com.isomorphic.rpc.RPCManager.parseRequest(RPCManager.java:2604) ~[isomorphic-core-rpc-12.1-p20210714.jar!/:?]
      at com.isomorphic.rpc.RPCManager.<init>(RPCManager.java:435) ~[isomorphic-core-rpc-12.1-p20210714.jar!/:?]
      at com.isomorphic.rpc.RPCManager.<init>(RPCManager.java:415) ~[isomorphic-core-rpc-12.1-p20210714.jar!/:?]
      at com.ricoh.mdm.mcore.admintool.server.servlet.Login.doPost(Login.java:127) ~[classes!/:?]
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:665) ~[javax.servlet-api-4.0.1.jar!/:4.0.1]
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:750) ~[javax.servlet-api-4.0.1.jar!/:4.0.1]
      at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799) ~[jetty-servlet-9.4.42.v20210604.jar!/:9.4.42.v20210604]
      at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1626) ~[jetty-servlet-9.4.42.v20210604.jar!/:9.4.42.v20210604]
      at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:228) ~[websocket-server-9.4.42.v20210604.jar!/:9.4.42.v20210604]
      at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) ~[jetty-servlet-9.4.42.v20210604.jar!/:9.4.42.v20210604]
      at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601) ~[jetty-servlet-9.4.42.v20210604.jar!/:9.4.42.v20210604]
      at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) ~[spring-web-5.3.8.jar!/:5.3.8]
      at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.3.8.jar!/:5.3.8]
      at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) ~[jetty-servlet-9.4.42.v20210604.jar!/:9.4.42.v20210604]
      at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601) ~[jetty-servlet-9.4.42.v20210604.jar!/:9.4.42.v20210604]
      at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) ~[spring-web-5.3.8.jar!/:5.3.8]
      at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.3.8.jar!/:5.3.8]
      at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) ~[jetty-servlet-9.4.42.v20210604.jar!/:9.4.42.v20210604]
      at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601) ~[jetty-servlet-9.4.42.v20210604.jar!/:9.4.42.v20210604]
      at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) ~[spring-web-5.3.8.jar!/:5.3.8]
      at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.3.8.jar!/:5.3.8]
      at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) ~[jetty-servlet-9.4.42.v20210604.jar!/:9.4.42.v20210604]
      at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601) ~[jetty-servlet-9.4.42.v20210604.jar!/:9.4.42.v20210604]
      at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548) ~[jetty-servlet-9.4.42.v20210604.jar!/:9.4.42.v20210604]
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) ~[jetty-server-9.4.42.v20210604.jar!/:9.4.42.v20210604]
      at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:602) ~[jetty-security-9.4.42.v20210604.jar!/:9.4.42.v20210604]
      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) ~[jetty-server-9.4.42.v20210604.jar!/:9.4.42.v20210604]
      at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235) ~[jetty-server-9.4.42.v20210604.jar!/:9.4.42.v20210604]
      at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624) ~[jetty-server-9.4.42.v20210604.jar!/:9.4.42.v20210604]
      at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) ~[jetty-server-9.4.42.v20210604.jar!/:9.4.42.v20210604]
      at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1435) ~[jetty-server-9.4.42.v20210604.jar!/:9.4.42.v20210604]
      at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) ~[jetty-server-9.4.42.v20210604.jar!/:9.4.42.v20210604]
      at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501) ~[jetty-servlet-9.4.42.v20210604.jar!/:9.4.42.v20210604]
      at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594) ~[jetty-server-9.4.42.v20210604.jar!/:9.4.42.v20210604]
      at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) ~[jetty-server-9.4.42.v20210604.jar!/:9.4.42.v20210604]
      at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1350) ~[jetty-server-9.4.42.v20210604.jar!/:9.4.42.v20210604]
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) ~[jetty-server-9.4.42.v20210604.jar!/:9.4.42.v20210604]
      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) ~[jetty-server-9.4.42.v20210604.jar!/:9.4.42.v20210604]
      at org.eclipse.jetty.server.Server.handle(Server.java:516) ~[jetty-server-9.4.42.v20210604.jar!/:9.4.42.v20210604]
      at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:388) ~[jetty-server-9.4.42.v20210604.jar!/:9.4.42.v20210604]
      at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:633) [jetty-server-9.4.42.v20210604.jar!/:9.4.42.v20210604]
      at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:380) [jetty-server-9.4.42.v20210604.jar!/:9.4.42.v20210604]
      at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277) [jetty-server-9.4.42.v20210604.jar!/:9.4.42.v20210604]
      at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) [jetty-io-9.4.42.v20210604.jar!/:9.4.42.v20210604]
      at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105) [jetty-io-9.4.42.v20210604.jar!/:9.4.42.v20210604]
      at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) [jetty-io-9.4.42.v20210604.jar!/:9.4.42.v20210604]
      at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338) [jetty-util-9.4.42.v20210604.jar!/:9.4.42.v20210604]
      at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315) [jetty-util-9.4.42.v20210604.jar!/:9.4.42.v20210604]
      at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173) [jetty-util-9.4.42.v20210604.jar!/:9.4.42.v20210604]
      at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131) [jetty-util-9.4.42.v20210604.jar!/:9.4.42.v20210604]
      at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:383) [jetty-util-9.4.42.v20210604.jar!/:9.4.42.v20210604]
      at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:882) [jetty-util-9.4.42.v20210604.jar!/:9.4.42.v20210604]
      at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1036) [jetty-util-9.4.42.v20210604.jar!/:9.4.42.v20210604]
      at java.lang.Thread.run(Thread.java:829) [?:?]
      [INFO ],[2021-08-25T16:11:43.301-0400],[118],[com.ricoh.mdm.mcore.admintool.server.servlet.Login],[doPost],,[End],

      The spring boot jar file does contain the builtinTypes.xml

      Click image for larger version

Name:	SpringBootJar3.png
Views:	127
Size:	528.6 KB
ID:	266290


      Comment


        #4
        You definitely are not running init (see advice here and you may also not have put required resources in the classpath - note the framework saying it also could not find log4j config.

        Comment

        Working...
        X