• Error on Startup

  • Problems with installing OpenKM? No problemo, the solution is closer than you think.
Problems with installing OpenKM? No problemo, the solution is closer than you think.
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.
 #140  by Dave
 
I\'ve renamed the root directory to \'Project\' and put the application under the C:\\Program Files directory, on a Windows 2003 Server, so the path to the application is now C:\\Program Files\\Project.

I\'ve installed Java 1.5 update 14 as required, and set the JAVA_HOME variable to point to this.

I use Run.bat to start the application, and all looks good until at the end, when the application fails. I have attached a screen shot of the error message.

Any advice you can offer would be very much appreciated, I have never attempted to use JBOSS before so I\'m kinda new to this. Image
 #141  by pavila
 
JBoss needs an Internet connectio to validate XML in WebServices. Is the server connected to Internet?
 #144  by Dave
 
It is on the inside of a Corporate network, we have proxy access to the internet that requires a username and password to get out.

Do I have to include the proxy name and a username and password somewhere to allow the system to access the internet, or can I just disable the need to visit the internet?

For either, would really appreciate if you could tell me where I need to amend the appropriate code to fix. Ideally, we just want to keep it internal on the intranet, so if it is possible to remove the need to visit the internet that would be awesome.

Thanks.
 #153  by Dave
 
Thanks again for the advice, it appears the issue is not a simple straight forward fix then. I had looked into these other threads earlier, but they are a bit vague on where to go to adjust those settings.

I was really just attempting to run it up to prove if the software was adequete for our needs, to evaluate how appropriate the tool was in our environment, wasn\'t expecting to pay for any support just yet as it has not been endorsed for use.

I hoped I could just get it up and running with the very basics, show our Management, then let them decide if worth going further and spending money on. If I can\'t get it to run then bit of a shame, we\'ll keep looking for an appropriate tool.

Appreciate your help so far.
 #154  by Dave
 
Just an afterthought, is it possible to tell JBoss what proxy address, user name and password to pass when attempting to access the net?

If we can get JBoss to authenticate through the proxy this might resolve the immediate problem? Might at least get the application up and running, so we can get in and walk around to have a good look.
 #155  by pavila
 
You can try it using Java Networking Properties
Code: Select all
-Dhttp.proxyHost=x.x.x.x -Dhttp.proxyPort=yyyy
I\'have no idea about passing the proxy password.

Anyway you can disable WebServices removing the files
  • WEB-INF/webservices.xml
  • WEB-INF/OKM*.xml
  • WEB-INF/wsdl
from OpenKM.ear -> OpenKM.war.
 #166  by Dave
 
Thank you, I\'ll definitely spend a little time working on it, as I really want to see this working.

I have no idea where to enter the code you suggested or how to edit the OpenKM.ear file at the moment, as I\'m new to all this, but all part of the learning process. I\'ll try the Java Networking Properties first as suggested, if we can get past the proxy then this would be my first option.

Thanks again for all your help.
 #167  by Dave
 
Ok, I found out that the .ear and .war files are simply compressed zip files, you can change the extension to .zip and extract them, make the changes, zip them up again and rename back.

Took out the files and folder as you indicated above, ran it up, and hey presto I\'m at a login screen, awesome!

Now I just have to work out how to upload files (I\'m getting an error message, I\'m guessing permissions somewhere) and also get it so that I can use a web browser from another PC to access this application.

Thanks for the advice, very much appreciated.
 #168  by Dave
 
Found the problem with uploading a file, it was an unsupported file type, once I tried a .pdf and .doc file they went in fine.

But, this is from the client on the machine running OpenKM, I apologise for appearing to be very stupid, but I\'m having no luck from another computer browser in running OpenKM.

I\'ve tried http://hostmachineip:8080/OpenKM/ in the browser, but get no responce. Have I missed something basic?
 #176  by pavila
 
JBoss, by default, only allow local connections. So you need to start by passing this param:
Code: Select all
$ ./bin/run.sh -b host.machine.ip
 #197  by Dave
 
We\'re up and running, thank you very much for your support and advice.

Firstly I found and allowed access through the windows firewall for port 8080, then I amended the server.xml file as suggested, and thirdly as I\'m running on a windows box I used the command run.bat -b host.ip.address and tried again, and we are able to access the application from other PC\'s on the network.

Again, appreciate all your help.
 #1176  by pabloaugusto
 
Take a look at:
http://www.google.com.br/search?hl=pt-B ... isar&meta=

and in results we can highlight:

1- http://www.jguru.com/faq/view.jsp?EID=9920

2 - http://publib.boulder.ibm.com/infocente ... proxy.html

3 - http://forums.bea.com/thread.jspa?threadID=5700000339

And i think is more relative to this case some think like this:
http://livedocs.adobe.com/coldfusion/8/ ... -o_14.html

Im not a java coder, so have no idea how to start =)
I find this links cose im inder a corporate firewall that needs user and pass to connect internet.

If anyone read this links and found a solution, please post here.

IM looking too.

Thanks.
 #1186  by pavila
 
This thread is already answered. See previous posts (disable webservices)

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.