Page 1 of 3
problem with file uploader
PostPosted:Fri Oct 25, 2013 7:00 am
by taihung
Our OpenKM is version 6.2.3 and it works quite well for a while.
Recently we find file uploader couldn't work.
When I click file uploader button, there will be a java popup warning window (see
http://java.com/en/download/help/appsec ... selfsigned).
After I click "I accept the risk and want to run this application", the file uploader still didn't show up.
My client PC is JRE version is 1.7.0_45.
It seems that there is no publisher information of this application.
Should I downgrade to earlier version of JRE, or OpenKM can fix the file uploader?
Thanks.
Ted
Re: problem with file uploader
PostPosted:Sat Oct 26, 2013 8:31 am
by jllort
With jdk 1.7 update 45 appears a warning but applet should go right ( we've solved on source code ) with this java version.
Re: problem with file uploader
PostPosted:Sat Oct 26, 2013 12:34 pm
by taihung
I've tried upgraded OpenKM to 6.2.4 and then 6.2.5 windows version,
the problem still exists.
Re: problem with file uploader
PostPosted:Mon Oct 28, 2013 3:38 pm
by jllort
for what you told seems browser is blocking. Try to force non block it. Which browser are you using ? try with chrome and firefox.
Re: problem with file uploader
PostPosted:Tue Oct 29, 2013 6:15 am
by taihung
jllort, Thanks your reply.
I've tried chrome, firefox, opera on different PCs.
After clicking "I accept the risk ..." on security warning window, nothing happened.
No file uploader show up.
Re: problem with file uploader
PostPosted:Wed Oct 30, 2013 12:05 pm
by jllort
And you got only jdk 1.7 update 45 in your computer ? Can you also enable console if you see some error or warning.
Re: problem with file uploader
PostPosted:Tue Nov 05, 2013 8:52 pm
by gnash
This is happening to me as well - In Chrome: I have the pro and community trail on 2 separate VM servers. The file uploader works on the Pro but not the Community.
Re: problem with file uploader
PostPosted:Thu Nov 07, 2013 12:25 am
by SEKen
I recently migrated from Community 6.2.3 to 6.2.5 and the uploader no longer launches. It does not seem to be a browser problem because it does work with demo.openkm.com. However, I do not get the warning messages with the demo site that I do when running it from my server inside my firewall. My server is Ubuntu on VMWare. The uploader did work with 6.2.3 but the Java update occurred recently and I am not sure if it was the update to Java or OpenKM.
So with reckless abandon, I have messed with the security settings in Java, IE, and Chrome to no avail.
Also added the permissions attribute the the uploader.jar manifest which changed the error message but did not allow it to run. It has since been removed as can be seen by the console output below.
I did get the uploader to launch using IE on a server that has not had the Java updated to 7.45 so I suspect that this is a Java security update causing this issue.
What I find odd is that the scanner applet runs fine with the same warning message.
Here is a partial Java Console output:
Code: Select allnetwork: CleanupThread used 10983573 us
security: User has granted the privileges to the code for this session only
security: Saving certificates in Deployment session certificate store
security: Saved certificates in Deployment session certificate store
security: http://192.168.1.124:8080/OpenKM/uploader.jar is newly asserting Trusted-Only
cache: Read manifest for http://192.168.1.124:8080/OpenKM/uploader.jar: read=203 full=23364
cache: Reading Signers from 828 http://192.168.1.124:8080/OpenKM/uploader.jar | C:\Documents and Settings\username\Local Settings\Application Data\Sun\Java\Deployment\cache\6.0\24\9792818-7aa9175f.idx
cache: Done readSigners(http://192.168.1.124:8080/OpenKM/uploader.jar)
security: Grant socket perm for http://192.168.1.124:8080/OpenKM/uploader.jar : java.security.Permissions@157c61e (
("java.net.SocketPermission" "192.168.1.124" "connect,accept,resolve")
)
security: Trust for: http://192.168.1.124:8080/OpenKM/uploader.jar has ended: Wed Dec 31 16:00:00 PST 1969
Missing Application-Name: manifest attribute for: http://192.168.1.124:8080/OpenKM/uploader.jar
Missing Permissions manifest attribute for: http://192.168.1.124:8080/OpenKM/uploader.jar
Missing Codebase manifest attribute for: http://192.168.1.124:8080/OpenKM/uploader.jar
security: Validate the certificate chain using CertPath API
basic: Plugin2ClassLoader.getPermissions CeilingPolicy allPerms
Missing Application-Name: manifest attribute for: http://192.168.1.124:8080/OpenKM/uploader.jar
Missing Permissions manifest attribute for: http://192.168.1.124:8080/OpenKM/uploader.jar
Missing Codebase manifest attribute for: http://192.168.1.124:8080/OpenKM/uploader.jar
security: Validate the certificate chain using CertPath API
security: SSV validation:
running: 1.7.0_45
requested: null
range: null
javaVersionParam: null
Rule Set version: null
network: Created version ID: 1.7.0.45
network: Created version ID: 1.7.0.45
security: continue with running version
network: Created version ID: 1.7.0.45
network: Created version ID: 1.7
network: Created version ID: 2.2.45
security: --- parseCommandLine converted :
into:
[]
basic: Applet loaded.
basic: Applet resized and added to parent container
basic: PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt 517711 us, pluginInit dt 50647961 us, TotalTime: 51165672 us
network: Cache entry not found [url: http://192.168.1.124:8080/OpenKM/frontend/com/openkm/applet/lang/Resources_en.class, version: null]
network: Connecting http://192.168.1.124:8080/OpenKM/frontend/com/openkm/applet/lang/Resources_en.class with proxy=DIRECT
network: Connecting http://192.168.1.124:8080/ with proxy=DIRECT
network: Connecting http://192.168.1.124:8080/OpenKM/frontend/com/openkm/applet/lang/Resources_en.class with cookie "ctx=/OpenKM; JSESSIONID=2479D8DEFD66D17CF77457539DCD6707; lang=en-GB"
network: Cache entry not found [url: http://192.168.1.124:8080/OpenKM/frontend/com/openkm/applet/lang/Resources_en.properties, version: null]
network: Connecting http://192.168.1.124:8080/OpenKM/frontend/com/openkm/applet/lang/Resources_en.properties with proxy=DIRECT
network: Connecting http://192.168.1.124:8080/OpenKM/frontend/com/openkm/applet/lang/Resources_en.properties with cookie "ctx=/OpenKM; JSESSIONID=2479D8DEFD66D17CF77457539DCD6707; lang=en-GB"
network: Cache entry not found [url: http://192.168.1.124:8080/OpenKM/frontend/com/openkm/applet/lang/Resources_en.properties, version: null]
network: Connecting http://192.168.1.124:8080/OpenKM/frontend/com/openkm/applet/lang/Resources_en.properties with proxy=DIRECT
network: Connecting http://192.168.1.124:8080/OpenKM/frontend/com/openkm/applet/lang/Resources_en.properties with cookie "ctx=/OpenKM; JSESSIONID=2479D8DEFD66D17CF77457539DCD6707; lang=en-GB"
init: com.openkm.applet.lang.Resources_en_GB@9b9b81 --- en_GB
security: resource name "META-INF/MANIFEST.MF" in http://192.168.1.124:8080/OpenKM/uploader.jar : java.lang.SecurityException: Trusted-Only loader attempted to load sandboxed resource from http://192.168.1.124:8080/OpenKM/uploader.jar
java.lang.NullPointerException
at com.openkm.applet.JarUtils.readAppVersion(JarUtils.java:59)
at com.openkm.applet.JarUtils.getAppVersion(JarUtils.java:41)
at com.openkm.applet.Uploader.init(Uploader.java:71)
at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.init(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
basic: Removed progress listener: sun.plugin.util.ProgressMonitorAdapter@283253
security: Reset deny session certificate store
Re: problem with file uploader
PostPosted:Thu Nov 14, 2013 9:03 pm
by rygar
Hello!
I've recently upgraded from 6.2.3 to 6.2.5 as well, and am having the same problem with the file uploader tool. Notes:
1) I'm using the 6.2.5-Community-Tomcat-bundle on a Windows 7 (x86) host. I'm *not* using the Windows package, as it appears the current 6.2.5 package (242MB) contains the old 6.2.3 files. FYI.
2) I've installed JDK 1.6 on the host, along with OpenOffice 4.0, SWFTools 2013-04-09-1007, and ImageMagick.
3) My client is running Windows XP SP3, FireFox 21, and Java JRE 1.7.0_45-b18.
Output from Java Console (note Line 5, "trust has ended"):
Code: Select allbasic: PluginMain.unregisterApplet: 10 from mananger sun.plugin2.applet.Applet2Manager@15f5985
basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@1f4cd7
basic: Plugin2ClassLoader.addURL parent called for http://192.168.1.3/OpenKM/uploader.jar
security: http://192.168.1.3/OpenKM/uploader.jar is asserting Trusted-Only
security: Trust for: http://192.168.1.3/OpenKM/uploader.jar has ended: Wed Dec 31 18:00:00 CST 1969
Missing Application-Name: manifest attribute for: http://192.168.1.3/OpenKM/uploader.jar
Missing Permissions manifest attribute for: http://192.168.1.3/OpenKM/uploader.jar
Missing Codebase manifest attribute for: http://192.168.1.3/OpenKM/uploader.jar
security: Validate the certificate chain using CertPath API
security: http://192.168.1.3/OpenKM/uploader.jar is newly asserting Trusted-Only
security: Grant socket perm for http://192.168.1.3/OpenKM/uploader.jar : java.security.Permissions@1720d22 (
("java.net.SocketPermission" "192.168.1.3" "connect,accept,resolve")
)
security: Trust for: http://192.168.1.3/OpenKM/uploader.jar has ended: Wed Dec 31 18:00:00 CST 1969
Missing Application-Name: manifest attribute for: http://192.168.1.3/OpenKM/uploader.jar
Missing Permissions manifest attribute for: http://192.168.1.3/OpenKM/uploader.jar
Missing Codebase manifest attribute for: http://192.168.1.3/OpenKM/uploader.jar
security: Validate the certificate chain using CertPath API
basic: Plugin2ClassLoader.getPermissions CeilingPolicy allPerms
security: SHA-256Certificate finger print: 46B9FA1FFA1843A0AA429F34F997CC4590697CEAF84A9A5C62075DCAE2CCFEEB
Missing Application-Name: manifest attribute for: http://192.168.1.3/OpenKM/uploader.jar
Missing Permissions manifest attribute for: http://192.168.1.3/OpenKM/uploader.jar
Missing Codebase manifest attribute for: http://192.168.1.3/OpenKM/uploader.jar
security: Validate the certificate chain using CertPath API
security: SSV validation:
running: 1.7.0_45
requested: null
range: null
javaVersionParam: null
Rule Set version: null
network: Created version ID: 1.7.0.45
network: Created version ID: 1.7.0.45
security: continue with running version
network: Created version ID: 1.7.0.45
network: Created version ID: 1.7
network: Created version ID: 2.2.45
security: --- parseCommandLine converted :
into:
[]
basic: Applet loaded.
basic: Applet resized and added to parent container
basic: PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt 519391 us, pluginInit dt 1125241614 us, TotalTime: 1125761005 us
network: Cache entry not found [url: http://192.168.1.3/OpenKM/frontend/com/openkm/applet/lang/Resources_en.class, version: null]
network: Connecting http://192.168.1.3/OpenKM/frontend/com/openkm/applet/lang/Resources_en.class with proxy=DIRECT
network: Connecting http://192.168.1.3/OpenKM/frontend/com/openkm/applet/lang/Resources_en.class with cookie "ctx=/OpenKM; lang=en-GB"
network: Connecting http://192.168.1.3:80/ with proxy=DIRECT
network: Connecting http://192.168.1.3/OpenKM/frontend/com/openkm/applet/lang/Resources_en.class with cookie "ctx=/OpenKM; lang=en-GB"
network: Server http://192.168.1.3/OpenKM/frontend/com/openkm/applet/lang/Resources_en.class requesting to set-cookie with "JSESSIONID=D9C8D42E82E63AB8B3A5C8623215076D; Path=/OpenKM/; HttpOnly"
network: Cache entry not found [url: http://192.168.1.3/OpenKM/login.jsp;jsessionid=D9C8D42E82E63AB8B3A5C8623215076D, version: null]
network: Connecting http://192.168.1.3/OpenKM/login.jsp;jsessionid=D9C8D42E82E63AB8B3A5C8623215076D with proxy=DIRECT
network: Connecting http://192.168.1.3:80/ with proxy=DIRECT
network: Connecting http://192.168.1.3/OpenKM/login.jsp;jsessionid=D9C8D42E82E63AB8B3A5C8623215076D with cookie "lang=en-GB"
cache: http://192.168.1.3/OpenKM/login.jsp;jsessionid=D9C8D42E82E63AB8B3A5C8623215076D is not cacheable.
network: Cache entry not found [url: http://192.168.1.3/OpenKM/frontend/com/openkm/applet/lang/Resources_en.class, version: null]
security: resource name "com/openkm/applet/lang/Resources_en.class" in http://192.168.1.3/OpenKM/frontend/ : java.lang.SecurityException: Trusted-Only loader attempted to load sandboxed resource from http://192.168.1.3/OpenKM/frontend/
network: Cache entry not found [url: http://192.168.1.3/OpenKM/frontend/com/openkm/applet/lang/Resources_en.properties, version: null]
network: Connecting http://192.168.1.3/OpenKM/frontend/com/openkm/applet/lang/Resources_en.properties with proxy=DIRECT
network: Connecting http://192.168.1.3/OpenKM/frontend/com/openkm/applet/lang/Resources_en.properties with cookie "ctx=/OpenKM; lang=en-GB"
network: Server http://192.168.1.3/OpenKM/frontend/com/openkm/applet/lang/Resources_en.properties requesting to set-cookie with "JSESSIONID=9C70F3D8D2AE8E45D90258C1160CE2AE; Path=/OpenKM/; HttpOnly"
network: Cache entry not found [url: http://192.168.1.3/OpenKM/login.jsp;jsessionid=9C70F3D8D2AE8E45D90258C1160CE2AE, version: null]
network: Connecting http://192.168.1.3/OpenKM/login.jsp;jsessionid=9C70F3D8D2AE8E45D90258C1160CE2AE with proxy=DIRECT
network: Connecting http://192.168.1.3/OpenKM/login.jsp;jsessionid=9C70F3D8D2AE8E45D90258C1160CE2AE with cookie "lang=en-GB"
network: Connecting http://192.168.1.3:80/ with proxy=DIRECT
network: Connecting http://192.168.1.3/OpenKM/login.jsp;jsessionid=9C70F3D8D2AE8E45D90258C1160CE2AE with cookie "lang=en-GB"
cache: http://192.168.1.3/OpenKM/login.jsp;jsessionid=9C70F3D8D2AE8E45D90258C1160CE2AE is not cacheable.
security: resource name "com/openkm/applet/lang/Resources_en.properties" in http://192.168.1.3/OpenKM/frontend/com/openkm/applet/lang/Resources_en.properties : java.lang.SecurityException: Trusted-Only loader attempted to load sandboxed resource from http://192.168.1.3/OpenKM/frontend/
network: Cache entry not found [url: http://192.168.1.3/OpenKM/frontend/com/openkm/applet/lang/Resources_en.properties, version: null]
network: Connecting http://192.168.1.3/OpenKM/frontend/com/openkm/applet/lang/Resources_en.properties with proxy=DIRECT
network: Connecting http://192.168.1.3:80/ with proxy=DIRECT
network: Connecting http://192.168.1.3/OpenKM/frontend/com/openkm/applet/lang/Resources_en.properties with cookie "ctx=/OpenKM; lang=en-GB"
network: Server http://192.168.1.3/OpenKM/frontend/com/openkm/applet/lang/Resources_en.properties requesting to set-cookie with "JSESSIONID=B332BB55328489FDCA019B0F890EB0C0; Path=/OpenKM/; HttpOnly"
network: Cache entry not found [url: http://192.168.1.3/OpenKM/login.jsp;jsessionid=B332BB55328489FDCA019B0F890EB0C0, version: null]
network: Connecting http://192.168.1.3/OpenKM/login.jsp;jsessionid=B332BB55328489FDCA019B0F890EB0C0 with proxy=DIRECT
network: Connecting http://192.168.1.3:80/ with proxy=DIRECT
network: Connecting http://192.168.1.3/OpenKM/login.jsp;jsessionid=B332BB55328489FDCA019B0F890EB0C0 with cookie "lang=en-GB"
cache: http://192.168.1.3/OpenKM/login.jsp;jsessionid=B332BB55328489FDCA019B0F890EB0C0 is not cacheable.
security: resource name "com/openkm/applet/lang/Resources_en.properties" in http://192.168.1.3/OpenKM/frontend/ : java.lang.SecurityException: Trusted-Only loader attempted to load sandboxed resource from http://192.168.1.3/OpenKM/frontend/
init: com.openkm.applet.lang.Resources_en_GB@e177de --- en_GB
security: resource name "META-INF/MANIFEST.MF" in http://192.168.1.3/OpenKM/uploader.jar : java.lang.SecurityException: Trusted-Only loader attempted to load sandboxed resource from http://192.168.1.3/OpenKM/uploader.jar
java.lang.NullPointerException
at com.openkm.applet.JarUtils.readAppVersion(JarUtils.java:59)
at com.openkm.applet.JarUtils.getAppVersion(JarUtils.java:41)
at com.openkm.applet.Uploader.init(Uploader.java:71)
at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.init(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
basic: Removed progress listener: sun.plugin.util.ProgressMonitorAdapter@1f4cd7
security: Reset deny session certificate store
For Comparison, Java Console Output for Scanner App:
Code: Select allbasic: Starting applet teardown
basic: Finished applet teardown
basic: Removed progress listener: sun.plugin.util.ProgressMonitorAdapter@14fc677
basic: PluginMain.unregisterApplet: 9 from mananger sun.plugin2.applet.Applet2Manager@4f4373
basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@1a81efd
basic: Plugin2ClassLoader.addURL parent called for http://192.168.1.3/OpenKM/scanner.jar
Missing Application-Name: manifest attribute for: http://192.168.1.3/OpenKM/scanner.jar
Missing Permissions manifest attribute for: http://192.168.1.3/OpenKM/scanner.jar
Missing Codebase manifest attribute for: http://192.168.1.3/OpenKM/scanner.jar
security: Validate the certificate chain using CertPath API
security: SSV validation:
running: 1.7.0_45
requested: null
range: null
javaVersionParam: null
Rule Set version: null
network: Created version ID: 1.7.0.45
network: Created version ID: 1.7.0.45
security: continue with running version
network: Created version ID: 1.7.0.45
network: Created version ID: 1.7
network: Created version ID: 2.2.45
security: --- parseCommandLine converted :
into:
[]
basic: Applet loaded.
basic: Applet resized and added to parent container
basic: PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt 519391 us, pluginInit dt 1373521814 us, TotalTime: 1374041205 us
Nov 14, 2013 3:00:39 PM com.openkm.applet.Util parseLocaleString
INFO: parseLocaleString(en-GB)
Nov 14, 2013 3:00:39 PM com.openkm.applet.Scanner init
INFO: AppVersion: 6.2 (build: 13852)
Nov 14, 2013 3:00:39 PM com.openkm.applet.Scanner init
INFO: openkm.sessionId => B28FFE7FF5B784BD1BF4F8085676706C
Nov 14, 2013 3:00:39 PM com.openkm.applet.Scanner init
INFO: openkm.path => /okm:root/
Nov 14, 2013 3:00:39 PM com.openkm.applet.Scanner init
INFO: openkm.lang => en-GB
Nov 14, 2013 3:00:39 PM com.openkm.applet.Scanner init
INFO: applet.locale => en_GB
Nov 14, 2013 3:00:39 PM com.openkm.applet.Scanner init
INFO: applet.url => http://192.168.1.3/OpenKM
Nov 14, 2013 3:00:39 PM com.openkm.applet.Scanner init
INFO: applet.jsobject => [object Window]
Nov 14, 2013 3:00:39 PM com.openkm.applet.ScannerManager <init>
INFO: ########## ScannerManager ##########
Nov 14, 2013 3:00:39 PM com.openkm.applet.ScannerManager update
INFO: ***** STATECHANGE: 3 - Source Manager Open *****
Nov 14, 2013 3:00:39 PM com.openkm.applet.ScannerManager update
INFO: Metadata.getLastState: 0
uk.co.mmscomputing.device.twain.TwainSourceManager.getIdentities:
uk.co.mmscomputing.device.twain.TwainFailureException: Failed during call to twain source.
cc=No Data Source
rc=1
Nov 14, 2013 3:00:39 PM com.openkm.applet.ScannerManager update
INFO: ***** STATECHANGE: 3 - Source Manager Open *****
Nov 14, 2013 3:00:39 PM com.openkm.applet.ScannerManager update
INFO: Metadata.getLastState: 3
basic: Applet initialized
basic: Starting applet
basic: completed perf rollup
basic: Applet made visible
basic: Applet started
basic: Told clients applet is started
Re: problem with file uploader
PostPosted:Mon Nov 25, 2013 3:03 am
by taihung
I've tried it on online demo site (pro. versioon) today, the file uploader works fine.
But not working on my installation(community ver. 6.2.5) using same pc, same browser.
Re: problem with file uploader
PostPosted:Mon Nov 25, 2013 5:31 pm
by nbusch
Code: Select allMissing Application-Name: manifest attribute for: http://ec2-54-194-65-18.eu-west-1.compute.amazonaws.com:8080/OpenKM/uploader.jar
Missing Permissions manifest attribute for: http://ec2-54-194-65-18.eu-west-1.compute.amazonaws.com:8080/OpenKM/uploader.jar
Missing Codebase manifest attribute for: http://ec2-54-194-65-18.eu-west-1.compute.amazonaws.com:8080/OpenKM/uploader.jar
Missing Application-Name: manifest attribute for: http://ec2-54-194-65-18.eu-west-1.compute.amazonaws.com:8080/OpenKM/uploader.jar
Missing Permissions manifest attribute for: http://ec2-54-194-65-18.eu-west-1.compute.amazonaws.com:8080/OpenKM/uploader.jar
Missing Codebase manifest attribute for: http://ec2-54-194-65-18.eu-west-1.compute.amazonaws.com:8080/OpenKM/uploader.jar
Missing Application-Name: manifest attribute for: http://ec2-54-194-65-18.eu-west-1.compute.amazonaws.com:8080/OpenKM/uploader.jar
Missing Permissions manifest attribute for: http://ec2-54-194-65-18.eu-west-1.compute.amazonaws.com:8080/OpenKM/uploader.jar
Missing Codebase manifest attribute for: http://ec2-54-194-65-18.eu-west-1.compute.amazonaws.com:8080/OpenKM/uploader.jar
init: com.openkm.applet.lang.Resources_en_GB@18a0ef0 --- en_GB
My uploader also doesnt work. Please solve the problem. I posted my Java console messages.
Re: problem with file uploader
PostPosted:Tue Nov 26, 2013 9:03 am
by nbusch
Would someone be so kind and tell me how to fix the uploader error? I need it working now

Re: problem with file uploader
PostPosted:Fri Nov 29, 2013 6:20 pm
by jllort
Have you clean the java plugin cache
http://www.java.com/en/download/help/plugin_cache.xml to be sure you're loading the last jar.
With jdk 1.7 should not have problems with browser ( are you on ssl or normal http ? )
Re: problem with file uploader
PostPosted:Wed Dec 04, 2013 12:17 am
by SEKen
Yes, the cache has been cleared. In fact the uploader works if I launch it from the OpenKM Demo site, but not from my server (and apparently other installs as well), so this seems to be either a community version or private server related problem and not a client side problem.
Re: problem with file uploader
PostPosted:Thu Dec 05, 2013 9:40 am
by nbusch
For me demo uploader also works, only my community installation cant run uploader. Yes, I have cleared the cache.