OpenKM Scanner(Web) Issue

OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules
Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
Post Reply
sunil
Junior Boarder
Junior Boarder
Posts: 20
Joined: Wed Sep 02, 2015 1:47 pm

OpenKM Scanner(Web) Issue

Post by sunil » Mon Sep 28, 2015 10:20 am

Hi there,

I'm facing a very critical error whenever I click on scan button.

Attaching the error screen shot.

Thanks in advance.
Attachments
Error.PNG

sunil
Junior Boarder
Junior Boarder
Posts: 20
Joined: Wed Sep 02, 2015 1:47 pm

Re: OpenKM Scanner(Web) Issue

Post by sunil » Tue Sep 29, 2015 5:32 am

Anyone who can help me to sort this issue :?: :?: :?:

jllort
Moderator
Moderator
Posts: 10782
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: OpenKM Scanner(Web) Issue

Post by jllort » Wed Sep 30, 2015 10:14 am

Show java console https://www.java.com/en/download/help/javaconsole.xml to see more information about the error.

Also I suggest be updated to latest JDK 1.8 in your computer.

sunil
Junior Boarder
Junior Boarder
Posts: 20
Joined: Wed Sep 02, 2015 1:47 pm

Re: OpenKM Scanner(Web) Issue

Post by sunil » Mon Oct 05, 2015 2:43 pm

As you suggested, I did the same.

Please find the below error log and screenshot.

Code: Select all

Java Plug-in 11.60.2.27
Using JRE version 1.8.0_60-b27 Java HotSpot(TM) Client VM
User home directory = C:\Users\ss0023
----------------------------------------------------
c:   clear console window
f:   finalize objects on finalization queue
g:   garbage collect
h:   display this help message
l:   dump classloader list
m:   print memory usage
o:   trigger logging
q:   hide console
r:   reload policy configuration
s:   dump system and deployment properties
t:   dump thread list
v:   dump thread stack
x:   clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------
Oct 05, 2015 8:05:24 PM com.openkm.applet.Util parseLocaleString
INFO: parseLocaleString(en-US)
init: com.openkm.applet.lang.Resources_en_US@18d3211 --- en_US
Oct 05, 2015 8:05:24 PM com.openkm.applet.Scanner init
INFO: AppVersion: 6.2.1 (build: 19593)
Oct 05, 2015 8:05:24 PM com.openkm.applet.Scanner init
INFO: openkm.sessionId => EA72C62A95620F4A3E98431A44EA1B43
Oct 05, 2015 8:05:24 PM com.openkm.applet.Scanner init
INFO: openkm.path => /dms:root
Oct 05, 2015 8:05:24 PM com.openkm.applet.Scanner init
INFO: openkm.lang => en-US
Oct 05, 2015 8:05:24 PM com.openkm.applet.Scanner init
INFO: applet.locale => en_US
Oct 05, 2015 8:05:24 PM com.openkm.applet.Scanner init
INFO: applet.url => http://localhost:8080/OpenKM
Oct 05, 2015 8:05:24 PM com.openkm.applet.Scanner init
INFO: applet.jsobject => [object Window]
Oct 05, 2015 8:05:24 PM com.openkm.applet.ScannerManager <init>
INFO: ########## ScannerManager ##########
JarLib.load: Successfully loaded library [jar:http://localhost:8080/OpenKM/scanner.jar!/uk/co/mmscomputing/device/twain/win32/jtwain.dll] from jar file location
Oct 05, 2015 8:05:25 PM com.openkm.applet.ScannerManager update
INFO: ***** STATECHANGE: 3 - Source Manager Open *****
Oct 05, 2015 8:05:25 PM com.openkm.applet.ScannerManager update
INFO: Metadata.getLastState: 0
Oct 05, 2015 8:05:25 PM com.openkm.applet.ScannerManager update
INFO: ***** STATECHANGE: 3 - Source Manager Open *****
Oct 05, 2015 8:05:25 PM com.openkm.applet.ScannerManager update
INFO: Metadata.getLastState: 3
Oct 05, 2015 8:05:25 PM com.openkm.applet.ScannerManager update
INFO: ***** STATECHANGE: 3 - Source Manager Open *****
Oct 05, 2015 8:05:25 PM com.openkm.applet.ScannerManager update
INFO: Metadata.getLastState: 3
Oct 05, 2015 8:05:26 PM com.openkm.applet.ScannerManager update
INFO: ***** STATECHANGE: 3 - Source Manager Open *****
Oct 05, 2015 8:05:26 PM com.openkm.applet.ScannerManager update
INFO: Metadata.getLastState: 3
Oct 05, 2015 8:05:33 PM com.openkm.applet.ScannerManager update
INFO: ***** STATECHANGE: 3 - Source Manager Open *****
Oct 05, 2015 8:05:33 PM com.openkm.applet.ScannerManager update
INFO: Metadata.getLastState: 3
Attachments
Error.png

jllort
Moderator
Moderator
Posts: 10782
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: OpenKM Scanner(Web) Issue

Post by jllort » Tue Oct 06, 2015 6:02 pm

Which openkm are you using ?
Also I suggest try the windows scanner client http://wiki.openkm.com/index.php/Scanner_Client you can download from here http://www.openkm.com/en/download-english.html

pavila
Moderator
Moderator
Posts: 3072
Joined: Tue Dec 11, 2007 6:02 pm
Location: Alicante, Spain
Contact:

Re: OpenKM Scanner(Web) Issue

Post by pavila » Wed Oct 07, 2015 8:03 am

I can't see any error in log. Anyway this applet is based in a deprecated multi-platform scanning library and is known to have problems with some scanners and (perhaps) Windows versions. We're planning to remove it because there are a lot of users which are having problems with it.

Regards.

sunil
Junior Boarder
Junior Boarder
Posts: 20
Joined: Wed Sep 02, 2015 1:47 pm

Re: OpenKM Scanner(Web) Issue

Post by sunil » Sat Oct 10, 2015 6:30 pm

Thanks for the update!!!!

Could you please share the scanner client source code?
Or
Please provide a link from i can download the same??

pavila
Moderator
Moderator
Posts: 3072
Joined: Tue Dec 11, 2007 6:02 pm
Location: Alicante, Spain
Contact:

Re: OpenKM Scanner(Web) Issue

Post by pavila » Thu Oct 29, 2015 8:46 am


Nagaraju
Fresh Boarder
Fresh Boarder
Posts: 8
Joined: Wed May 31, 2017 7:07 am

Re: OpenKM Scanner(Web) Issue

Post by Nagaraju » Fri Jun 02, 2017 3:40 pm

Hi,

I am unable to get the source code of OKMScanner from Github.Can you provide the source code for OKMScanner Tool.

jllort
Moderator
Moderator
Posts: 10782
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: OpenKM Scanner(Web) Issue

Post by jllort » Sat Jun 03, 2017 3:55 pm

The Windows OKMScanner tool code is not shared in any place. As a customer of OpenKM might sharing it, but will not be released for the community.

Nagaraju
Fresh Boarder
Fresh Boarder
Posts: 8
Joined: Wed May 31, 2017 7:07 am

Re: OpenKM Scanner(Web) Issue

Post by Nagaraju » Wed Jun 07, 2017 10:42 am

To become customer of OKMScanner client and to get the source code of OKMScanner client, how much amount i need to pay.

Nagaraju
Fresh Boarder
Fresh Boarder
Posts: 8
Joined: Wed May 31, 2017 7:07 am

Re: OpenKM Scanner(Web) Issue

Post by Nagaraju » Wed Jun 07, 2017 11:25 am

Hi,
I got the OpenKM source code from "https://github.com/openkm/document-management-system" of github and i have imported into eclipse. After this i am trying to execute the code as Run As ----> Run on Server, at this mount of time i am getting 404 error. I am unable to find out the problem for that.
Please give me any suggestion for that.

I am getting the error in console as the following :

Code: Select all

Jun 07, 2017 4:35:02 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:openkm' did not find a matching property.
Jun 07, 2017 4:35:02 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server version:        Apache Tomcat/7.0.73
Jun 07, 2017 4:35:02 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server built:          Nov 7 2016 21:27:23 UTC
Jun 07, 2017 4:35:02 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server number:         7.0.73.0
Jun 07, 2017 4:35:02 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Name:               Windows 8.1
Jun 07, 2017 4:35:02 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Version:            6.3
Jun 07, 2017 4:35:02 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Architecture:          amd64
Jun 07, 2017 4:35:02 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Java Home:             C:\Program Files\Java\jre7
Jun 07, 2017 4:35:02 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Version:           1.7.0_55-b13
Jun 07, 2017 4:35:02 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Vendor:            Oracle Corporation
Jun 07, 2017 4:35:02 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_BASE:         E:\AWSKMSEDFILE\.metadata\.plugins\org.eclipse.wst.server.core\tmp1
Jun 07, 2017 4:35:02 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_HOME:         C:\Program Files\Apache Software Foundation\Tomcat 7.0
Jun 07, 2017 4:35:02 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.base=E:\AWSKMSEDFILE\.metadata\.plugins\org.eclipse.wst.server.core\tmp1
Jun 07, 2017 4:35:02 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.home=C:\Program Files\Apache Software Foundation\Tomcat 7.0
Jun 07, 2017 4:35:02 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dwtp.deploy=E:\AWSKMSEDFILE\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps
Jun 07, 2017 4:35:02 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.endorsed.dirs=C:\Program Files\Apache Software Foundation\Tomcat 7.0\endorsed
Jun 07, 2017 4:35:02 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dfile.encoding=Cp1252
Jun 07, 2017 4:35:02 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre7\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/Program Files/Java/jre1.8.0_111/bin/server;C:/Program Files/Java/jre1.8.0_111/bin;C:/Program Files/Java/jre1.8.0_111/lib/amd64;C:\WINDOWS\System32;C:\tomcat-7.0.61\lib\sigar;%USERPROFILE%\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\tomcat-7.0.61\lib\sigar;%USERPROFILE%\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\tomcat-7.0.61\lib\sigar;C:\WINDOWS\system32\config\systemprofile\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Git\cmd;C:\Users\Admin\AppData\Local\Microsoft\WindowsApps;C:\Users\Admin\AppData\Local\Programs\EmEditor;C:\Users\Admin\Desktop\New folder\apache-maven-3.3.9\bin;C:\Go\bin;C:\Users\Admin\Desktop\today\StoringSecretKeys\vaultcode;E:\STS software\sts-bundle\sts-3.8.3.RELEASE;;.
Jun 07, 2017 4:35:02 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8088"]
Jun 07, 2017 4:35:02 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8006"]
Jun 07, 2017 4:35:02 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 981 ms
Jun 07, 2017 4:35:02 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jun 07, 2017 4:35:02 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.73
Jun 07, 2017 4:35:03 PM org.apache.catalina.loader.WebappClassLoaderBase validateJarFile
INFO: validateJarFile(E:\AWSKMSEDFILE\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\openkm\WEB-INF\lib\servlet-api-2.5-20081211.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class
Jun 07, 2017 4:35:03 PM org.apache.catalina.loader.WebappClassLoaderBase validateJarFile
INFO: validateJarFile(E:\AWSKMSEDFILE\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\openkm\WEB-INF\lib\servlet-api-2.5.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class
Jun 07, 2017 4:35:03 PM org.apache.catalina.loader.WebappClassLoaderBase validateJarFile
INFO: validateJarFile(E:\AWSKMSEDFILE\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\openkm\WEB-INF\lib\servlet-api-6.0.36.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class
Jun 07, 2017 4:35:11 PM org.apache.catalina.startup.TldConfig execute
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.
Jun 07, 2017 4:35:11 PM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/E:/AWSKMSEDFILE/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/openkm/WEB-INF/lib/logback-classic-1.1.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/E:/AWSKMSEDFILE/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/openkm/WEB-INF/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
16:35:11,757 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
16:35:11,757 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
16:35:11,757 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/E:/AWSKMSEDFILE/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/openkm/WEB-INF/classes/logback.xml]
16:35:11,888 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
16:35:11,888 |-INFO in ReconfigureOnChangeFilter{invocationCounter=0} - Will scan for changes in [[E:\AWSKMSEDFILE\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\openkm\WEB-INF\classes\logback.xml]] every 60 seconds. 
16:35:11,888 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - Adding ReconfigureOnChangeFilter as a turbo filter
16:35:11,888 |-INFO in ch.qos.logback.classic.joran.action.JMXConfiguratorAction - begin
16:35:11,904 |-INFO in ch.qos.logback.core.joran.action.StatusListenerAction - Added status listener of type [ch.qos.logback.core.status.OnConsoleStatusListener]
16:35:11,920 |-INFO in ch.qos.logback.core.joran.action.TimestampAction - Using current interpretation time, i.e. now, as time reference.
16:35:11,920 |-INFO in ch.qos.logback.core.joran.action.TimestampAction - Adding property to the context with key="bySecond" and value="2017-06-07" to the LOCAL scope
16:35:11,920 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
16:35:11,920 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
16:35:11,935 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
16:35:11,972 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
16:35:11,972 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [FILE]
16:35:11,988 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - No compression will be used
16:35:11,988 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - Will use the pattern C:/Program Files/Apache Software Foundation/Tomcat 7.0/logs/openkm_%d{yyyy-MM-dd}.%i.log for the active file
16:35:11,988 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@1f6d69ed - The date pattern is 'yyyy-MM-dd' from file name pattern 'C:/Program Files/Apache Software Foundation/Tomcat 7.0/logs/openkm_%d{yyyy-MM-dd}.%i.log'.
16:35:11,988 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@1f6d69ed - Roll-over at midnight.
16:35:12,019 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@1f6d69ed - Setting initial period to Thu Jun 01 13:43:54 IST 2017
16:35:12,019 |-WARN in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - This appender no longer admits a layout as a sub-component, set an encoder instead.
16:35:12,019 |-WARN in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - To ensure compatibility, wrapping your layout in LayoutWrappingEncoder.
16:35:12,019 |-WARN in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - See also http://logback.qos.ch/codes.html#layoutInsteadOfEncoder for details
16:35:12,035 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - Active log file name: C:\Program Files\Apache Software Foundation\Tomcat 7.0/logs/openkm.log
16:35:12,035 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - File property is set to [C:\Program Files\Apache Software Foundation\Tomcat 7.0/logs/openkm.log]
16:35:12,035 |-INFO in ch.qos.logback.core.joran.util.ConfigurationWatchListUtil@7ce7964 - Adding [file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%207.0/logback.xml] to configuration watch list.
16:35:12,055 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@1:28 - no applicable action for [configuration], current ElementPath  is [[configuration][configuration]]
16:35:12,055 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@3:21 - no applicable action for [jmxConfigurator], current ElementPath  is [[configuration][configuration][jmxConfigurator]]
16:35:12,055 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@4:79 - no applicable action for [statusListener], current ElementPath  is [[configuration][configuration][statusListener]]
16:35:12,055 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@7:60 - no applicable action for [property], current ElementPath  is [[configuration][configuration][property]]
16:35:12,055 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@15:55 - no applicable action for [timestamp], current ElementPath  is [[configuration][configuration][timestamp]]
16:35:12,056 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@17:71 - no applicable action for [appender], current ElementPath  is [[configuration][configuration][appender]]
16:35:12,056 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@22:14 - no applicable action for [encoder], current ElementPath  is [[configuration][configuration][appender][encoder]]
16:35:12,056 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@23:16 - no applicable action for [pattern], current ElementPath  is [[configuration][configuration][appender][encoder][pattern]]
16:35:12,056 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@27:81 - no applicable action for [appender], current ElementPath  is [[configuration][configuration][appender]]
16:35:12,056 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@28:11 - no applicable action for [file], current ElementPath  is [[configuration][configuration][appender][file]]
16:35:12,056 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@29:79 - no applicable action for [rollingPolicy], current ElementPath  is [[configuration][configuration][appender][rollingPolicy]]
16:35:12,056 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@30:24 - no applicable action for [fileNamePattern], current ElementPath  is [[configuration][configuration][appender][rollingPolicy][fileNamePattern]]
16:35:12,056 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@32:19 - no applicable action for [maxHistory], current ElementPath  is [[configuration][configuration][appender][rollingPolicy][maxHistory]]
16:35:12,056 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@33:105 - no applicable action for [timeBasedFileNamingAndTriggeringPolicy], current ElementPath  is [[configuration][configuration][appender][rollingPolicy][timeBasedFileNamingAndTriggeringPolicy]]
16:35:12,056 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@35:22 - no applicable action for [maxFileSize], current ElementPath  is [[configuration][configuration][appender][rollingPolicy][timeBasedFileNamingAndTriggeringPolicy][maxFileSize]]
16:35:12,056 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@39:58 - no applicable action for [layout], current ElementPath  is [[configuration][configuration][appender][layout]]
16:35:12,056 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@40:16 - no applicable action for [pattern], current ElementPath  is [[configuration][configuration][appender][layout][pattern]]
16:35:12,056 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@44:49 - no applicable action for [include], current ElementPath  is [[configuration][configuration][include]]
16:35:12,057 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
16:35:12,057 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@5144145c - Registering current configuration as safe fallback point
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
Jun 07, 2017 4:35:12 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
16:35:12,057 |-WARN in Logger[org.springframework.web.context.ContextLoader] - No appenders present in context [default] for logger [org.springframework.web.context.ContextLoader].
Jun 07, 2017 4:35:30 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from URL [file:C:/Program]; nested exception is java.io.FileNotFoundException: C:\Program (The system cannot find the file specified)
	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:341)
	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
	at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174)
	at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209)
	at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)
	at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:125)
	at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94)
	at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
	at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:537)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:451)
	at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)
	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5118)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5634)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1571)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1561)
	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: java.io.FileNotFoundException: C:\Program (The system cannot find the file specified)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(Unknown Source)
	at java.io.FileInputStream.<init>(Unknown Source)
	at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
	at org.springframework.core.io.UrlResource.getInputStream(UrlResource.java:167)
	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:328)
	... 21 more

Jun 07, 2017 4:35:30 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file
Jun 07, 2017 4:35:30 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/OpenKM] startup failed due to previous errors
Jun 07, 2017 4:35:30 PM org.apache.catalina.core.ApplicationContext log
INFO: Closing Spring root WebApplicationContext
Jun 07, 2017 4:35:30 PM org.apache.catalina.core.StandardContext listenerStop
SEVERE: Exception sending context destroyed event to listener instance of class org.springframework.web.context.ContextLoaderListener
java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
	at org.springframework.context.support.AbstractRefreshableApplicationContext.getBeanFactory(AbstractRefreshableApplicationContext.java:171)
	at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1090)
	at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1064)
	at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:1010)
	at org.springframework.web.context.ContextLoader.closeWebApplicationContext(ContextLoader.java:586)
	at org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:143)
	at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:5165)
	at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5829)
	at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:221)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:149)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1571)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1561)
	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)

Jun 07, 2017 4:35:31 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8088"]
Jun 07, 2017 4:35:31 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8006"]
Jun 07, 2017 4:35:31 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 28658 ms
Attachments
ScreenShort.docx
(164.18 KiB) Downloaded 55 times

jllort
Moderator
Moderator
Posts: 10782
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: OpenKM Scanner(Web) Issue

Post by jllort » Thu Jun 08, 2017 6:41 am

Please do not merge several questions in the same topic. If you have problem compiling source code etc... please add a new post.
About how get scanner client code, ask in our contact website form https://www.openkm.com/en/contact.html

Post Reply