temporarily out of service 467 on import utility

Post Reply
seldont
Posts: 11
Joined: 14 Jun 2016, 10:58

Hi

I have created a test server using a VM on a Mac (Linux Mint 13).

I have installed JDK 1.8.0_91-b14 and Tomcat 9.0.0.M4

This works fine when using essential_viewer; however I am as yet unable to get the essential_import_utility working.

Whenever I start this (localhost:8080/essential_import_utility/) I get the login page as expected.

When I enter the login details ([email protected]/admin) - I get the message:

Code: Select all

The server is temporarily out of service. 
Would you like to try again? 
(467)
This repeats each time I press OK. The localhost_access_log looks like this:

Code: Select all

127.0.0.1 - - [08/Jul/2016:12:06:47 +0100] "POST essential_import_utility/zkau;jsessionid=9753ED96ED6638C657BD163340DB04BD HTTP/1.1" 467 1016
127.0.0.1 - - [08/Jul/2016:12:06:47 +0100] "POST /essential_import_utility/zkau;jsessionid=9753ED96ED6638C657BD163340DB04BD HTTP/1.1" 467 1016
127.0.0.1 - - [08/Jul/2016:12:06:48 +0100] "POST /essential_import_utility/zkau;jsessionid=9753ED96ED6638C657BD163340DB04BD HTTP/1.1" 467 1016
127.0.0.1 - - [08/Jul/2016:12:06:48 +0100] "POST /essential_import_utility/zkau;jsessionid=9753ED96ED6638C657BD163340DB04BD HTTP/1.1" 467 1016
127.0.0.1 - - [08/Jul/2016:12:06:49 +0100] "POST /essential_import_utility/zkau;jsessionid=9753ED96ED6638C657BD163340DB04BD HTTP/1.1" 467 1016
127.0.0.1 - - [08/Jul/2016:12:06:49 +0100] "POST /essential_import_utility/zkau;jsessionid=9753ED96ED6638C657BD163340DB04BD HTTP/1.1" 467 1016
[/size]

Catalina.out has the following:

Code: Select all

GETTING USER MANAGER FROM SESSION: org.zkoss.zk.ui.http.SimpleSession@413a5fac
GETTING USER MANAGER FROM SESSION: org.zkoss.zk.ui.http.SimpleSession@413a5fac
GETTING USER MANAGER FROM SESSION: org.zkoss.zk.ui.http.SimpleSession@70442751
GETTING USER MANAGER FROM SESSION: org.zkoss.zk.ui.http.SimpleSession@70442751
GETTING USER MANAGER FROM SESSION: org.zkoss.zk.ui.http.SimpleSession@20f02ab0
GETTING USER MANAGER FROM SESSION: org.zkoss.zk.ui.http.SimpleSession@20f02ab0
GETTING USER MANAGER FROM SESSION: org.zkoss.zk.ui.http.SimpleSession@20f02ab0
GETTING USER MANAGER FROM SESSION: org.zkoss.zk.ui.http.SimpleSession@20f02ab0
GETTING USER MANAGER FROM SESSION: org.zkoss.zk.ui.http.SimpleSession@290aa77a
GETTING USER MANAGER FROM SESSION: org.zkoss.zk.ui.http.SimpleSession@290aa77a
[/size]

Could this be a problem with compatibility with the versions of java/tomcat I am using (anyone else using these versions?), or do I have something incorrectly configured?

Is the import utility dependant on Protege running? (I've tried with and without protege running)

I plan to build again from scratch onto a vmware server running SLES 12 - any advice would be welcome.
User avatar
neil.walsh
Posts: 445
Joined: 16 Feb 2009, 13:45
Contact:

Hi,

We've run this on Java 8 / Tomcat 9 with no issues reported.

Can you post in more complete logs from Catalina.out?

You do not need Protege running to use the import utility unless you're planning to do directly imports into a database driven configuration (typically a multi-user setup).

You could try opening the file zk.xml in WEB-INF folder of the application and changing the line

Code: Select all

<session-timeout>-1</session-timeout>
to

Code: Select all

<session-config>
	    <session-timeout>10000</session-timeout>
	    <timer-keep-alive>false</timer-keep-alive>
	    <max-desktops-per-session>15</max-desktops-per-session>
	    <max-requests-per-session>5</max-requests-per-session>
	    <max-pushes-per-session>3</max-pushes-per-session>
	</session-config>
This a bug that will be corrected in a future release but I'm uncertain if it's related to the issue you're seeing.

Thanks

Neil
seldont
Posts: 11
Joined: 14 Jun 2016, 10:58

Here is full log from catalina.out following change to zk.xml as described.

I noticed that log says that zk is a 60 day evaluation copy which has presumably expired.

Should this be replaced with ZK CE or do we need to license ZK Framework?



Code: Select all

13-Jul-2016 16:43:34.558 INFO [main] org.apache.catalina.core.StandardServer.await A valid shutdown command was received via the shutdown port. Stopping the Server instance.
13-Jul-2016 16:43:34.559 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-8080"]
13-Jul-2016 16:43:34.561 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["ajp-nio-8009"]
13-Jul-2016 16:43:34.562 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service Catalina
13-Jul-2016 16:43:34.702 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-8080"]
13-Jul-2016 16:43:34.704 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["ajp-nio-8009"]
13-Jul-2016 16:43:34.705 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-8080"]
13-Jul-2016 16:43:34.705 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["ajp-nio-8009"]
13-Jul-2016 16:43:44.675 WARNING [main] org.apache.catalina.startup.SetAllPropertiesRule.begin [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'maxSpareThreads' to '75' did not find a matching property.
13-Jul-2016 16:43:44.773 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/9.0.0.M4
13-Jul-2016 16:43:44.773 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Mar 12 2016 11:39:59 UTC
13-Jul-2016 16:43:44.773 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         9.0.0.0
13-Jul-2016 16:43:44.774 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Linux
13-Jul-2016 16:43:44.774 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            3.2.0-102-generic
13-Jul-2016 16:43:44.774 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64
13-Jul-2016 16:43:44.774 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             /usr/lib/jvm/java-8-oracle/jre
13-Jul-2016 16:43:44.775 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_91-b14
13-Jul-2016 16:43:44.775 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation
13-Jul-2016 16:43:44.775 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         /data/apache-tomcat-9.0.0.M4
13-Jul-2016 16:43:44.775 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         /data/apache-tomcat-9.0.0.M4
13-Jul-2016 16:43:44.782 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/data/apache-tomcat-9.0.0.M4/conf/logging.properties
13-Jul-2016 16:43:44.782 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
13-Jul-2016 16:43:44.783 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms256m
13-Jul-2016 16:43:44.783 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx2048m
13-Jul-2016 16:43:44.783 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/data/apache-tomcat-9.0.0.M4
13-Jul-2016 16:43:44.784 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/data/apache-tomcat-9.0.0.M4
13-Jul-2016 16:43:44.784 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/data/apache-tomcat-9.0.0.M4/temp
13-Jul-2016 16:43:44.784 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
13-Jul-2016 16:43:45.029 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
13-Jul-2016 16:43:45.066 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
13-Jul-2016 16:43:45.074 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
13-Jul-2016 16:43:45.080 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
13-Jul-2016 16:43:45.082 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 1053 ms
13-Jul-2016 16:43:45.129 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina
13-Jul-2016 16:43:45.131 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.0.M4
13-Jul-2016 16:43:45.174 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive /data/apache-tomcat-9.0.0.M4/webapps/essential_import_utility.war
13-Jul-2016 16:43:51.238 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars 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.
13-Jul-2016 16:43:51.463 INFO [localhost-startStop-1] org.zkoss.zk.ui.http.WebManager.<init>:113 Starting ZK 5.0.7.1 EE (build: 2011051910)
13-Jul-2016 16:43:51.475 INFO [localhost-startStop-1] org.zkoss.zk.ui.sys.ConfigParser.parseConfigXml:159 Loading system default
13-Jul-2016 16:43:51.638 INFO [localhost-startStop-1] org.zkoss.zk.ui.sys.ConfigParser.parse:275 Parsing file:/data/apache-tomcat-9.0.0.M4/webapps/essential_import_utility/WEB-INF/zk.xml
13-Jul-2016 16:43:52.413 WARNING [localhost-startStop-1] org.zkoss.zkex.init.WebAppInit.init:29 This is an evaluation copy of ZK EE and will terminate after sixty days from the first date of installation. Should you require an open source license or commercial license for ZK EE please contact us at [email protected] for more information. Alternatively you can download ZK CE which is licensed under the LGPL.
13-Jul-2016 16:43:52.524 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive /data/apache-tomcat-9.0.0.M4/webapps/essential_import_utility.war has finished in 7,349 ms
13-Jul-2016 16:43:52.525 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive /data/apache-tomcat-9.0.0.M4/webapps/essential_viewer.war
13-Jul-2016 16:43:53.882 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars 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.
13-Jul-2016 16:43:53.907 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive /data/apache-tomcat-9.0.0.M4/webapps/essential_viewer.war has finished in 1,381 ms
13-Jul-2016 16:43:53.907 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /data/apache-tomcat-9.0.0.M4/webapps/examples
13-Jul-2016 16:43:54.177 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /data/apache-tomcat-9.0.0.M4/webapps/examples has finished in 270 ms
13-Jul-2016 16:43:54.182 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /data/apache-tomcat-9.0.0.M4/webapps/host-manager
13-Jul-2016 16:43:54.221 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /data/apache-tomcat-9.0.0.M4/webapps/host-manager has finished in 39 ms
13-Jul-2016 16:43:54.221 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /data/apache-tomcat-9.0.0.M4/webapps/ROOT
13-Jul-2016 16:43:54.242 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /data/apache-tomcat-9.0.0.M4/webapps/ROOT has finished in 21 ms
13-Jul-2016 16:43:54.243 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /data/apache-tomcat-9.0.0.M4/webapps/docs
13-Jul-2016 16:43:54.269 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /data/apache-tomcat-9.0.0.M4/webapps/docs has finished in 26 ms
13-Jul-2016 16:43:54.269 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /data/apache-tomcat-9.0.0.M4/webapps/manager
13-Jul-2016 16:43:54.318 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /data/apache-tomcat-9.0.0.M4/webapps/manager has finished in 49 ms
13-Jul-2016 16:43:54.326 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [http-nio-8080]
13-Jul-2016 16:43:54.339 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [ajp-nio-8009]
13-Jul-2016 16:43:54.350 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 9267 ms
GETTING USER MANAGER FROM SESSION: org.zkoss.zk.ui.http.SimpleSession@5691d218
GETTING USER MANAGER FROM SESSION: org.zkoss.zk.ui.http.SimpleSession@5691d218
[/size]

I get the front screen with LOGIN box.

After clicking 'Login' - I get:

The server is temporarily out of service. Would you like to try again? (467).

Clicking OK repeats the message, clicking cancel takes you back to login screen.
User avatar
neil.walsh
Posts: 445
Joined: 16 Feb 2009, 13:45
Contact:

Hi

The ZK expiration message is a non-critical bug in the ZK library. The version included here is fully featured and appropriately licensed.

Thanks for the log. Did you make the code change I suggested?

Neil
seldont
Posts: 11
Joined: 14 Jun 2016, 10:58

Yes - made change to zk.xml as described - before doing this the catalina.out included messages saying 'Unknown element: session-timeout'.
User avatar
neil.walsh
Posts: 445
Joined: 16 Feb 2009, 13:45
Contact:

Hi,

We'll try to set up an environment to replicate. It may take us a little time to find the capacity to do this but we'll report back asap.

Thanks

Neil
seldont
Posts: 11
Joined: 14 Jun 2016, 10:58

Just to let you know I've tried a completely fresh install using:

SUSe enterprise linux (SLES) 3.12.59
java openjdk 1.8.0_91
tomcat 8.0.32 (Installed as a separate instance)

I get the same problem (The essential_import_utility application starts; but as soon as you hit login the 467 message appears).

However a new localhost.log file was created and contained the following:

Code: Select all

18-Aug-2016 11:40:31.294 INFO [localhost-startStop-2] org.apache.catalina.core.ApplicationContext.log No Spring WebApplicationInitializer types detected on classpath
A quick google for the above message gives a number of potential causes
e.g. No Spring WebApplicationInitializer on stackoverflow

The Catalina.log looks like this:

Code: Select all

18-Aug-2016 11:38:22.267 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/8.0.32
18-Aug-2016 11:38:22.269 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Mar 9 2016 10:57:11 UTC
18-Aug-2016 11:38:22.269 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         8.0.32.0
18-Aug-2016 11:38:22.270 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Linux
18-Aug-2016 11:38:22.270 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            3.12.59-60.45-default
18-Aug-2016 11:38:22.271 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64
18-Aug-2016 11:38:22.271 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             /usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre
18-Aug-2016 11:38:22.271 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_91-b14
18-Aug-2016 11:38:22.272 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation
18-Aug-2016 11:38:22.272 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         /usr/share/tomcat2
18-Aug-2016 11:38:22.272 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         /usr/share/tomcat
18-Aug-2016 11:38:22.273 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms256m
18-Aug-2016 11:38:22.273 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx2048m
18-Aug-2016 11:38:22.274 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/usr/share/tomcat2
18-Aug-2016 11:38:22.274 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/usr/share/tomcat
18-Aug-2016 11:38:22.274 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.endorsed.dirs=
18-Aug-2016 11:38:22.275 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/var/cache/tomcat2/temp
18-Aug-2016 11:38:22.275 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/usr/share/tomcat2/conf/logging.properties
18-Aug-2016 11:38:22.276 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
18-Aug-2016 11:38:22.276 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
18-Aug-2016 11:38:22.444 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8081"]
18-Aug-2016 11:38:22.479 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
18-Aug-2016 11:38:22.490 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8010"]
18-Aug-2016 11:38:22.492 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
18-Aug-2016 11:38:22.493 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 917 ms
18-Aug-2016 11:38:22.531 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina
18-Aug-2016 11:38:22.532 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.32
18-Aug-2016 11:38:22.547 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8081"]
18-Aug-2016 11:38:22.558 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8010"]
18-Aug-2016 11:38:22.566 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 73 ms
18-Aug-2016 11:39:02.628 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive /usr/share/tomcat2/webapps/sample.war
18-Aug-2016 11:39:04.030 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars 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.
18-Aug-2016 11:39:04.112 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive /usr/share/tomcat2/webapps/sample.war has finished in 1,484 ms
18-Aug-2016 11:40:24.126 INFO [localhost-startStop-2] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive /usr/share/tomcat2/webapps/essential_import_utility.war
18-Aug-2016 11:40:31.284 INFO [localhost-startStop-2] org.apache.jasper.servlet.TldScanner.scanJars 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.
18-Aug-2016 11:40:31.321 INFO [localhost-startStop-2] org.zkoss.zk.ui.http.WebManager.<init>:113 Starting ZK 5.0.7.1 EE (build: 2011051910)
18-Aug-2016 11:40:31.343 INFO [localhost-startStop-2] org.zkoss.zk.ui.sys.ConfigParser.parseConfigXml:159 Loading system default
18-Aug-2016 11:40:31.474 INFO [localhost-startStop-2] org.zkoss.zk.ui.sys.ConfigParser.parse:275 Parsing file:/usr/share/tomcat2/webapps/essential_import_utility/WEB-INF/zk.xml
18-Aug-2016 11:40:31.482 SEVERE [localhost-startStop-2] org.zkoss.zk.ui.sys.ConfigParser.parse:468 Unknown element: session-timeout, at [SYS file:/usr/share/tomcat2/webapps/essential_import_utility/WEB-INF/zk.xml line 8 col 19]
18-Aug-2016 11:40:32.018 WARNING [localhost-startStop-2] org.zkoss.zkex.init.WebAppInit.init:29 This is an evaluation copy of ZK EE and will terminate after sixty days from the first date of installation. Should you require an open source license or commercial license for ZK EE please contact us at [email protected] for more information. Alternatively you can download ZK CE which is licensed under the LGPL.
18-Aug-2016 11:40:32.039 INFO [localhost-startStop-2] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive /usr/share/tomcat2/webapps/essential_import_utility.war has finished in 7,913 ms
[/size]
User avatar
jonathan.carter
Posts: 1087
Joined: 04 Feb 2009, 15:44

Thanks for posting the update.

Could you tell us which version of the Import Utility you are using?

It should be shown in the 'footer' of the login page. Having looked at the link that you posted, it may be that recent updates will resolve that No SpringWebApplicationInitializer report.

Thanks

Jonathan
Essential Project Team
seldont
Posts: 11
Joined: 14 Jun 2016, 10:58

Import utility displays: Release 1.5.2
User avatar
jonathan.carter
Posts: 1087
Joined: 04 Feb 2009, 15:44

Thanks.

I think it would be good to try a later version of the Import Utility to see if that might resolve this issue. We are running this web application on a Linux platform using Java 1.8 and Tomcat 8 and have not seen this issue.

From what I've read earlier about this particular exception it could be down to a compilation target platform mis-match, e.g. compiled for Tomcat 5 with Java 1.6, running on Tomcat 8 with Java 1.8. We've certainly seen a few impacts due to Tomcat 8 that we hadn't seen moving from 5 to 6 and 7.

Jonathan
Essential Project Team
seldont
Posts: 11
Joined: 14 Jun 2016, 10:58

I have downloaded the latest install from the web site (essentialinstall507.jar) - this has the same version of essential_import_utility.war (Release 1.5.2) and still shows the same 467 error when attempting to login.

Is there a newer version not published yet?
User avatar
jonathan.carter
Posts: 1087
Joined: 04 Feb 2009, 15:44

Hi,

I'm going to share a pre-release version of the Import Utility (1.5.13) that I know has been compiled against a more recent Java version and that we've definitely tested against Java 8 and Tomcat 8.

You can download the WAR file from here:
https://easglobal.sharepoint.com/_layou ... a0cf&rev=1

Then, when you have downloaded it, move it into your Tomcat/webapps folder to replace your existing 'essential_import_utility.war'.

There is no demo project included in this version at the moment but if we can get you past the login and into the application, we'll know the issue that you've reported was down to the Java versions.

Jonathan
Essential Project Team
seldont
Posts: 11
Joined: 14 Jun 2016, 10:58

Cracked IT!!

The problem was with Tomcat configuration.

I had the following parameter in server.xml

maxPostSize="0"

In previous versions this set the maximum post size to unlimited, in the latest version it sets the maximum post size to zero!

I can now get passed the login screen and see the application screen.

I have set the parameter to (unlimited):

maxPostSize="-1"

thanks for all your help


Terry
User avatar
neil.walsh
Posts: 445
Joined: 16 Feb 2009, 13:45
Contact:

Well done for perceiving.

Let us know if you have any more questions
Post Reply