Page 1 of 1

Scan causing Endpoint UNDEFINED Error

PostPosted:Sat May 08, 2010 10:15 am
by mmodrive
Hi, I just made a fresh install of 4.1 final release on Windows Server 2003, all works well except the scanning feature. At the end of a scan I get this error "Endpoint cannot handle requests in state: UNDEFINED", is anyone else getting this error? how can it be resolved? Its a fresh installation with application.url in config setup and running as a service under JavaServiceWrapper as seen on http://community.jboss.org/wiki/RunJBos ... eOnWindows.

Re: Scan causing Endpoint UNDEFINED Error

PostPosted:Sat May 08, 2010 2:39 pm
by jllort
Can you see all the trace log error ( in console browser might appears it if it's scanning error ).

It happens in server computer ( browser where error happens ) or in some other client.

Re: Scan causing Endpoint UNDEFINED Error

PostPosted:Sun May 09, 2010 2:33 pm
by mmodrive
Hi, Thanks for you reply. This happens on all client computers connecting to this host, with different browsers. The demo (http://demo.openkm.com/) works fine on all these computers however, so its something to do with the server and/or its setup. Any ideas?

Re: Scan causing Endpoint UNDEFINED Error

PostPosted:Mon May 10, 2010 2:56 am
by mmodrive
Oh and another piece of info that might be useful: the server is behind a firewall and is on a port 3200 (instead of 8080), is it possible that the scan plugin is ignoring the application.url setting in the config and is trying to reach the server on 8080? or some other port that is blocked?

Re: Scan causing Endpoint UNDEFINED Error

PostPosted:Mon May 10, 2010 10:03 am
by jllort
Do you got the last 4.1 released last week ? because there was a bug on scanning, ensure you're using build 1683 ( go to help / about openkm to see version ). If you've got older version simply download and change de OpenKM.war file to the newer

Re: Scan causing Endpoint UNDEFINED Error

PostPosted:Mon May 10, 2010 12:05 pm
by mmodrive
No I didnt, and I just downloaded 1683 and changed OpenKM.war in /server/default/deploy to the new, but nothing has changed. Still the exact same problem. I've also setup another server on WinXP SP3 and it has the same problem.

Re: Scan causing Endpoint UNDEFINED Error

PostPosted:Mon May 10, 2010 6:40 pm
by jllort
OK, if you changed the war file you're in correct version

Re: Scan causing Endpoint UNDEFINED Error

PostPosted:Mon May 10, 2010 9:05 pm
by pavila
Can you reproduce the issue at http://demo.openkm.com ?

Re: Scan causing Endpoint UNDEFINED Error

PostPosted:Thu May 13, 2010 2:51 am
by mmodrive
As noted in one of my previous posts, the demo.openkm.com works perfectly, so its NOT a client side issue. Its definitely to do with the server. To reproduce this behaviour on WinXP SP3 or Win2k3 Server:
1. Download 1683
2. Extract the zip
3. Download and install latest Java JDK 6 Update 20 (jdk-6u20-windows-i586.exe)
4. Install JBoss as windows service using JavaServiceWrapper as instructed at http://community.jboss.org/wiki/RunJBos ... eOnWindows and configure it to run OpenKM with -b0.0.0.0 option (wrapper-windows-x86-32-3.4.0.zip)
5. Change application.url in OpenKM.cfg
6. Change Connector port="8080" in [root]\server\default\deploy\jboss-web.deployer\server.xml to a different port
Thats it, everything works, except scanning - "Endpoint cannot handle requests in state: UNDEFINED"