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(
at org.apache.catalina.core.StandardContext.listenerStart(
at org.apache.catalina.core.StandardContext.startInternal(
at org.apache.catalina.util.LifecycleBase.start(
at org.apache.catalina.core.ContainerBase.addChildInternal(
at org.apache.catalina.core.ContainerBase.addChild(
at org.apache.catalina.core.StandardHost.addChild(
at org.apache.catalina.startup.HostConfig.deployWAR(
at org.apache.catalina.startup.HostConfig$
at java.util.concurrent.Executors$ Source)
at Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$ Source)
at Source)
Caused by: javax.servlet.ServletException: Can't start the application server
at com.servoy.j2db.server.servlets.WarClientServletContextListener.startAppServer(
at com.servoy.j2db.server.servlets.WarClientServletContextListener.contextInitialized(
... 13 more
Caused by: java.lang.IllegalStateException: Can't read the serialized security file
at com.servoy.j2db.server.starter.Zb.Zd(
at com.servoy.j2db.server.starter.Zb.Za(
at com.servoy.j2db.server.starter.Zb.doActiveSolutionImport(
at com.servoy.j2db.server.main.ApplicationServer.loadAllSolutionsCompletelyInMem(
at com.servoy.j2db.server.main.ApplicationServer.Za(
at com.servoy.j2db.server.main.Zaq.Za(
at com.servoy.j2db.server.main.Zaq.start(
at com.servoy.j2db.server.servlets.WarClientServletContextListener.startAppServer(
... 14 more
Kim W. Premuda
San Diego, CA USA
User avatar
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
User avatar
Posts: 8849
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 4 guests