NG Deployment Error - Can't read the serialized security fil

Questions and answers for all installation-related topics for Servoy products

NG Deployment Error - Can't read the serialized security fil

Postby kwpsd » Fri Feb 04, 2022 3:01 am

Servoy Version: 2022.12.1

I need help interpreting the below error message. It occurs on a pure NG only solution 2021.12.1 WAR file deployment on Tomcat. I don't know what the error message is referencing nor how to correct it. What does Can't read the serialized security file mean, and how do I fix it? Is it something in Tomcat or in the WAR file? Thanks!

02-Feb-2022 10:44:04.651 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to listener instance of class [com.servoy.j2db.server.servlets.WarClientServletContextListener]
java.lang.RuntimeException: Error starting application server
at com.servoy.j2db.server.servlets.WarClientServletContextListener.contextInitialized(WarClientServletContextListener.java:151)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4770)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5236)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:744)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:980)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1851)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: javax.servlet.ServletException: Can't start the application server
at com.servoy.j2db.server.servlets.WarClientServletContextListener.startAppServer(WarClientServletContextListener.java:203)
at com.servoy.j2db.server.servlets.WarClientServletContextListener.contextInitialized(WarClientServletContextListener.java:20)
... 13 more
Caused by: java.lang.IllegalStateException: Can't read the serialized security file
at com.servoy.j2db.server.starter.Zb.Zd(Zb.java:31)
at com.servoy.j2db.server.starter.Zb.Za(Zb.java:252)
at com.servoy.j2db.server.starter.Zb.doActiveSolutionImport(Zb.java:172)
at com.servoy.j2db.server.main.ApplicationServer.loadAllSolutionsCompletelyInMem(ApplicationServer.java:751)
at com.servoy.j2db.server.main.ApplicationServer.Za(ApplicationServer.java:460)
at com.servoy.j2db.server.main.Zaq.Za(Zaq.java:25)
at com.servoy.j2db.server.main.Zaq.start(Zaq.java:88)
at com.servoy.j2db.server.servlets.WarClientServletContextListener.startAppServer(WarClientServletContextListener.java:191)
... 14 more
Kim W. Premuda
San Diego, CA USA
User avatar
kwpsd
 
Posts: 687
Joined: Sat Jul 28, 2007 6:59 pm
Location: San Diego, CA USA

Re: NG Deployment Error - Can't read the serialized security

Postby jcompagner » Fri Feb 04, 2022 10:59 am

so you create a WAR with active solution right?
Then we expect that that a file "import.ser" is created in your [user.home]\.servoy\server\[context]\ directory
and that we can read that. Does anything else popup in the logs of tomcat or maybe in that dir in the servoy_log?
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8846
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Installation

Who is online

Users browsing this forum: No registered users and 1 guest

cron