Page 1 of 1

Authentication error

PostPosted:Tue Feb 17, 2009 1:37 pm
by all4tux
hello all

i have tried to install openkn using the guide on this website but i keep getting the error

status: Deployment FAILED reason: Could not create deployment: file:/tmp/download/OpenKM-3.0_JBoss-4.2.2.GA/server/default/tmp/deploy/tmp15799OpenKM.ear-contents/OpenKM.war; - nested throwable: (javax.xml.ws.WebServiceException: org.dom4j.DocumentException: java.sun.com Nested exception: java.sun.com)
state: FAILED
watch: file:/tmp/download/OpenKM-3.0_JBoss-4.2.2.GA/server/default/deploy/OpenKM.ear
altDD: null
lastDeployed: 1234876891307
lastModified: 1234876874000
mbeans:


i searched in this forms and most posts pointed that this happens because there is no internet JBoss is giving this error, knowing that the PC have internet but is behind a proxy i figured i need to add the proxy server and port, i started javaws inserted the proxy ip and port, but that didn\'t work either.

finally; since i am using Ubuntu i went to
http://ubuntuforums.org/showthread.php? ... ght=openkm

followed the steps there and openkm started with no errors, now i can get to openkm using my browser, but i cant login i used a number of users and password (admin admin, ubuntu user, root) but with no luck. it would be very helpful if any one could help me on how to get openkm up and running.

thanks

Re:Authentication error

PostPosted:Thu Feb 19, 2009 7:47 pm
by pavila
If you have disabled webservices and OpenKM / JBoss start without errors, try to stop JBoss, delete $JBOSS_HOME/repository folder and start JBoss again.

Re:Authentication error

PostPosted:Sun Feb 22, 2009 12:43 pm
by all4tux
hello pavila

and thanks for the help.

no i haven\'t disabled webservices, but i installed Jboss, then Openkn from the post (http://ubuntuforums.org/showthread.php? ... ght=openkm) and that worked fine as far as starting openkm. i deleted $JBOSS_home/repository (/opt/JBoss-4.2.3/repository) folder and then i started openkm

http://localhost:8080/OpenKM

it starts

i try to log in using
user = admin
password = admin

it sends me to
http://localhost:8080/OpenKM/j_security_check

and i get the error message (HTTP Status 400 - Invalid direct reference to form login page)


any help is appreciated. thanks and best regards

Re:Authentication error

PostPosted:Mon Feb 23, 2009 12:43 am
by pavila
If I understood, you have installed OpenKM in a JBoss 4.2.3. I recommend you to download the OpenKM+JBoss bundle which is configured to run without problems. Install OpenKM application in a clean JBoss server is not an easy task.

Re:Authentication error

PostPosted:Mon Feb 23, 2009 6:30 am
by all4tux
Hello pavila


appreciate the efforts. Thats what I did at first. I downloaded the bundled openkm followed the instruction, but every time I start openkm I get the fallowing error

status: Deployment FAILED reason: Could not create deployment: file:/tmp/download/OpenKM-3.0_JBoss-4.2.2.GA/server/default/tmp/deploy/tmp15799OpenKM.ear-contents/OpenKM.war; - nested throwable: (javax.xml.ws.WebServiceException: org.dom4j.DocumentException: java.sun.com Nested exception: java.sun.com)
state: FAILED
watch: file:/tmp/download/OpenKM-3.0_JBoss-4.2.2.GA/server/default/deploy/OpenKM.ear
altDD: null
lastDeployed: 1234876891307
lastModified: 1234876874000
mbeans:


even though my server is connected to the internet, it is behind a proxy server, I used javaws to configure the proxy setting but still I get the same error message.


Thanks again.

Re:Authentication error

PostPosted:Tue Feb 24, 2009 10:44 am
by all4tux
OK i finally have it solved. i followed the solution in the following post

http://www.openkm.com/Installation/235- ... 0.html#235

and it worked, now i have to learn how to use it.


many thanks for pavila, and many thanks for robertmarkbram