RESOLVED: Servoy 2020.6 Will Not Start

Questions and Answers on installation, deployment, management, locking, tranasactions of Servoy Application Server

RESOLVED: Servoy 2020.6 Will Not Start

Postby joe26 » Thu Sep 10, 2020 4:37 pm

Hi again,

Servoy 2020.6 is installed as Developer, but cannot execute servoy_server.bat without error.

It is installed with a 7.4.8 version, and was pulling in the existing Java Home as below, C:\Program Files\Java\jre1.8.0_231.

Embedded Java version C:\Servoy_2020_dot6C\developer\plugins\com.servoy.eclipse.jre.win32.x86_64_14.0.1\jre\bin

Added to servoy_server.bat:
set JAVA_HOME=C:\Servoy_2020_dot6C\developer\plugins\com.servoy.eclipse.jre.win32.x86_64_14.0.1\jre\bin
set PATH=%JAVA_HOME%;%PATH%

And recognizes the new embedded Java that Servoy provides, still with the unable to load class message below.

Does Java 14.x need to be installed? Tried JDK but still errors out.

Does CLASSPATH need to be updated as well?

Thanks,
--Joe.

Resolution:
Removed these text items from erver\webapps\ROOT\WEB-INF

Code: Select all
<filter>
     <filter-name>SeparateSessionFilter</filter-name>
     <filter-class>org.sablo.filter.SeparateSessionFilter</filter-class>
     <init-param>
     <!-- Separate sablo request from non-sablo (web client), only invalidate session when both are invalidated -->
        <param-name>paths</param-name>
        <param-value>/rfb/:/websocket/:/solutions/:/spec/:/resources/</param-value>
     </init-param>
  </filter>


and

Code: Select all
<filter-mapping>
       <filter-name>SeparateSessionFilter</filter-name>
       <url-pattern>/*</url-pattern>
   </filter-mapping>


C:\Servoy_2020_dot6C\application_server>servoy_server.bat
Sep 10, 2020 12:00:27 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'processTlds' to 'false' did not find a matching property.
Sep 10, 2020 12:00:27 AM org.apache.tomcat.util.digester.SetPropertiesRule begin

WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'processTlds' to 'false' did not find a matching property.
Sep 10, 2020 12:00:27 AM org.apache.tomcat.util.digester.SetPropertiesRule begin

WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'processTlds' to 'false' did not find a matching property.
Sep 10, 2020 12:00:27 AM org.apache.tomcat.util.digester.SetPropertiesRule begin

WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'processTlds' to 'false' did not find a matching property.
Sep 10, 2020 12:00:27 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server version name: Apache Tomcat/8.5.50
Sep 10, 2020 12:00:27 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server built: Dec 7 2019 19:19:46 UTC
Sep 10, 2020 12:00:27 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server version number: 8.5.50.0
Sep 10, 2020 12:00:27 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Name: Windows 7
Sep 10, 2020 12:00:27 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Version: 6.1
Sep 10, 2020 12:00:27 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Architecture: amd64
Sep 10, 2020 12:00:27 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Java Home: C:\Program Files\Java\jre1.8.0_231
Sep 10, 2020 12:00:27 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Version: 1.8.0_231-b11
Sep 10, 2020 12:00:27 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Vendor: Oracle Corporation
Sep 10, 2020 12:00:27 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_BASE: C:\Servoy_2020_dot6C\application_server\server
Sep 10, 2020 12:00:27 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_HOME: C:\Servoy_2020_dot6C\application_server\server
Sep 10, 2020 12:00:27 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.awt.headless=true
Sep 10, 2020 12:00:27 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Drmi.whitelist.config=com.servoy.:com.sebster.
Sep 10, 2020 12:00:27 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Xmx1g
Sep 10, 2020 12:00:27 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Xms64m
Sep 10, 2020 12:00:27 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -XX:MetaspaceSize=200M
Sep 10, 2020 12:00:27 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -XX:MaxMetaspaceSize=200M
Sep 10, 2020 12:00:27 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -XX:MinMetaspaceFreeRatio=0
Sep 10, 2020 12:00:27 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -XX:MaxMetaspaceFreeRatio=100
Sep 10, 2020 12:00:27 AM org.apache.catalina.core.AprLifecycleListener lifecycle
Event
INFO: The APR based Apache Tomcat Native library which allows optimal performance
e in production environments was not found on the java.library.path: [C:\Program
Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\Sun\Java\bin;C:\Window
s\system32;C:\Windows;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C
:\Program Files\Python36\Scripts\;C:\Program Files\Python36\;C:\Program Files\Ja
va\jdk1.8.0_141\bin;C:\ProgramData\Oracle\Java\javapath;c:\STS3;.;C:\Program Fil
es\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common File
s\Microsoft Shared\Windows Live;C:\Program Files (x86)\Intel\iCLS Client\;C:\Pro
gram Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32
\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R
) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management En
gine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Comp
onents\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IP
T;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Int
el\OpenCL SDK\2.0\bin\x64;C:\Program Files (x86)\Windows Live\Shared;C:\Program
Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SDKs
\TypeScript\1.0\;C:\Windows\twain_32\CNQL60;C:\Program Files\OpenVPN\bin;C:\Prog
ram Files (x86)\Gpg4win\..\GnuPG\bin;C:\Program Files\Microsoft SQL Server\Clien
t SDK\ODBC\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\Tools
\Binn\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Mi
crosoft SQL Server\120\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120
\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft SQL Server\120\DT
S\Binn\;C:\Program Files\Microsoft VS Code\bin;C:\Program Files\Git\cmd;C:\Windo
ws\System32\;E:\Programs\TEE-CLC;E:\Programs\IPFS Desktop\go-ipfs;C:\Users\Alien
ware\AppData\Roaming\npm;\bin-win;C:\Program Files (x86)\EaseUS\Todo Backup\bin\
x64\;.]
Sep 10, 2020 12:00:27 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-nio-8080"]
Sep 10, 2020 12:00:27 AM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
INFO: Using a shared selector for servlet write/read
Sep 10, 2020 12:00:27 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-nio-8009"]
Sep 10, 2020 12:00:27 AM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
INFO: Using a shared selector for servlet write/read
Sep 10, 2020 12:00:27 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 451 ms
Sep 10, 2020 12:00:27 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Catalina]
Sep 10, 2020 12:00:27 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/8.5.50
Sep 10, 2020 12:00:27 AM org.apache.tomcat.util.descriptor.DigesterFactory locationFor
WARNING: The XML schema [XMLSchema.dtd] could not be found. This is very likely
to break XML validation if XML validation is enabled.
Sep 10, 2020 12:00:27 AM org.apache.tomcat.util.descriptor.DigesterFactory locationFor
WARNING: The XML schema [datatypes.dtd] could not be found. This is very likely
to break XML validation if XML validation is enabled.
Sep 10, 2020 12:00:27 AM org.apache.tomcat.util.descriptor.DigesterFactory locationFor
WARNING: The XML schema [xml.xsd] could not be found. This is very likely to break XML validation if XML validation is enabled.
Sep 10, 2020 12:00:27 AM org.apache.tomcat.util.descriptor.DigesterFactory locationFor
WARNING: The XML schema [web-app_2_2.dtd] could not be found. This is very likely to break XML validation if XML validation is enabled.
Sep 10, 2020 12:00:27 AM org.apache.tomcat.util.descriptor.DigesterFactory locationFor
WARNING: The XML schema [web-app_2_3.dtd] could not be found. This is very likely to break XML validation if XML validation is enabled.
Sep 10, 2020 12:00:27 AM org.apache.tomcat.util.descriptor.DigesterFactory locationFor
WARNING: The XML schema [j2ee_web_services_1_1.xsd] could not be found. This isvery likely to break XML validation if XML validation is enabled.
Sep 10, 2020 12:00:27 AM org.apache.tomcat.util.descriptor.DigesterFactory locationFor
WARNING: The XML schema [j2ee_web_services_client_1_1.xsd] could not be found. This is very likely to break XML validation if XML validation is enabled.
Sep 10, 2020 12:00:27 AM org.apache.tomcat.util.descriptor.DigesterFactory locationFor
WARNING: The XML schema [web-app_2_4.xsd] could not be found. This is very likely to break XML validation if XML validation is enabled.
Sep 10, 2020 12:00:27 AM org.apache.tomcat.util.descriptor.DigesterFactory locationFor
WARNING: The XML schema [j2ee_1_4.xsd] could not be found. This is very likely to break XML validation if XML validation is enabled.
Sep 10, 2020 12:00:27 AM org.apache.tomcat.util.descriptor.DigesterFactory locationFor
WARNING: The XML schema [web-app_2_5.xsd] could not be found. This is very likely to break XML validation if XML validation is enabled.
Sep 10, 2020 12:00:27 AM org.apache.tomcat.util.descriptor.DigesterFactory locationFor
WARNING: The XML schema [javaee_5.xsd] could not be found. This is very likely to break XML validation if XML validation is enabled.
Sep 10, 2020 12:00:27 AM org.apache.tomcat.util.descriptor.DigesterFactory locationFor
WARNING: The XML schema [javaee_web_services_1_2.xsd] could not be found. This is very likely to break XML validation if XML validation is enabled.
Sep 10, 2020 12:00:27 AM org.apache.tomcat.util.descriptor.DigesterFactory locationFor
WARNING: The XML schema [javaee_web_services_client_1_2.xsd] could not be found.
This is very likely to break XML validation if XML validation is enabled.
Sep 10, 2020 12:00:27 AM org.apache.tomcat.util.descriptor.DigesterFactory locationFor
WARNING: The XML schema [web-app_3_0.xsd] could not be found. This is very likely to break XML validation if XML validation is enabled.
Sep 10, 2020 12:00:27 AM org.apache.tomcat.util.descriptor.DigesterFactory locationFor
WARNING: The XML schema [web-fragment_3_0.xsd] could not be found. This is very likely to break XML validation if XML validation is enabled.
Sep 10, 2020 12:00:27 AM org.apache.tomcat.util.descriptor.DigesterFactory locationFor
WARNING: The XML schema [web-common_3_0.xsd] could not be found. This is very likely to break XML validation if XML validation is enabled.
Sep 10, 2020 12:00:27 AM org.apache.tomcat.util.descriptor.DigesterFactory locationFor
WARNING: The XML schema [javaee_6.xsd] could not be found. This is very likely to break XML validation if XML validation is enabled.
Sep 10, 2020 12:00:27 AM org.apache.tomcat.util.descriptor.DigesterFactory locationFor
WARNING: The XML schema [javaee_web_services_1_3.xsd] could not be found. This is very likely to break XML validation if XML validation is enabled.
Sep 10, 2020 12:00:27 AM org.apache.tomcat.util.descriptor.DigesterFactory locationFor
WARNING: The XML schema [javaee_web_services_client_1_3.xsd] could not be found.
This is very likely to break XML validation if XML validation is enabled.
Sep 10, 2020 12:00:27 AM org.apache.tomcat.util.descriptor.DigesterFactory locationFor
WARNING: The XML schema [web-app_3_1.xsd] could not be found. This is very likely to break XML validation if XML validation is enabled.
Sep 10, 2020 12:00:27 AM org.apache.tomcat.util.descriptor.DigesterFactory locationFor
WARNING: The XML schema [web-fragment_3_1.xsd] could not be found. This is very likely to break XML validation if XML validation is enabled.
Sep 10, 2020 12:00:27 AM org.apache.tomcat.util.descriptor.DigesterFactory locationFor
WARNING: The XML schema [web-common_3_1.xsd] could not be found. This is very likely to break XML validation if XML validation is enabled.
Sep 10, 2020 12:00:27 AM org.apache.tomcat.util.descriptor.DigesterFactory locationFor
WARNING: The XML schema [javaee_7.xsd] could not be found. This is very likely to break XML validation if XML validation is enabled.
Sep 10, 2020 12:00:27 AM org.apache.tomcat.util.descriptor.DigesterFactory locationFor
WARNING: The XML schema [jsp_2_3.xsd] could not be found. This is very likely to break XML validation if XML validation is enabled.
Sep 10, 2020 12:00:27 AM org.apache.tomcat.util.descriptor.DigesterFactory locationFor
WARNING: The XML schema [javaee_web_services_1_4.xsd] could not be found. This is very likely to break XML validation if XML validation is enabled.
Sep 10, 2020 12:00:27 AM org.apache.tomcat.util.descriptor.DigesterFactory locationFor
WARNING: The XML schema [javaee_web_services_client_1_4.xsd] could not be found. This is very likely to break XML validation if XML validation is enabled.
Sep 10, 2020 12:00:28 AM org.apache.jasper.servlet.TldScanner scanJars
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 TLD
s were found in them. Skipping unneeded JARs during scanning can improve startup
time and JSP compilation time.
Sep 10, 2020 12:00:28 AM org.apache.jasper.servlet.TldScanner scanJars
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 TLD
s were found in them. Skipping unneeded JARs during scanning can improve startup
time and JSP compilation time.
Sep 10, 2020 12:00:28 AM org.apache.jasper.servlet.TldScanner scanJars
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 TLD
s were found in them. Skipping unneeded JARs during scanning can improve startup
time and JSP compilation time.
Sep 10, 2020 12:00:28 AM org.apache.jasper.servlet.TldScanner scanJars
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 TLD
s were found in them. Skipping unneeded JARs during scanning can improve startup
time and JSP compilation time.
Sep 10, 2020 12:00:28 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory [C:\Servoy_2020_dot6C\application_server\server\webapps\ROOT]
Sep 10, 2020 12:00:46 AM org.apache.jasper.servlet.TldScanner scanJars
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 TLD
s were found in them. Skipping unneeded JARs during scanning can improve startup
time and JSP compilation time.
Sep 10, 2020 12:00:46 AM org.apache.catalina.core.StandardContext filterStart
SEVERE: Exception starting filter [SeparateSessionFilter]
java.lang.ClassNotFoundException: org.sablo.filter.SeparateSessionFilter
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1358)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1180)
at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:546)
at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:527)
at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:150)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4546)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5191)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:743)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:719)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1125)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1859)
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)

Sep 10, 2020 12:00:46 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: One or more Filters failed to start. Full details will be found in the appropriate container log file
Sep 10, 2020 12:00:46 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [] startup failed due to previous errors
Sep 10, 2020 12:00:46 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory [C:\Servoy_2020_dot6C\application_server\server\webapps\ROOT] has finished in [18,367] ms
Sep 10, 2020 12:00:46 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-nio-8080"]
Sep 10, 2020 12:00:47 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-nio-8009"]
Sep 10, 2020 12:00:47 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 19399 ms
Last edited by joe26 on Thu Sep 10, 2020 5:28 pm, edited 1 time in total.
joe26
 
Posts: 127
Joined: Wed Jun 19, 2013 10:30 pm

Re: Servoy 2020.6 Will Not Start

Postby jcompagner » Thu Sep 10, 2020 5:00 pm

Please read the release notes of https://wiki.servoy.com/display/DOCS/2020.09+Whats+new (breaking changes if you use the old app server)

The same applies to 2020.6.1 also (because a case was backported to 03.1 lts and because of that it is also in 06.1)
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8339
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 2020.6 Will Not Start

Postby joe26 » Thu Sep 10, 2020 5:22 pm

Thanks, Johan!

That did it. Was reading the prior release notes, but that did not register as a solution.

--Joe.
joe26
 
Posts: 127
Joined: Wed Jun 19, 2013 10:30 pm


Return to Servoy Server

Who is online

Users browsing this forum: No registered users and 3 guests