Page 1 of 1

Error on Startup

PostPosted:Tue Mar 04, 2008 7:45 am
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

Re:Error on Startup

PostPosted:Tue Mar 04, 2008 8:37 am
by pavila
JBoss needs an Internet connectio to validate XML in WebServices. Is the server connected to Internet?

Re:Error on Startup

PostPosted:Wed Mar 05, 2008 1:31 am
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.

Re:Error on Startup

PostPosted:Wed Mar 05, 2008 9:09 am
by pavila
For more info see this other post. May be you need Professional Support.

Re:Error on Startup

PostPosted:Wed Mar 05, 2008 11:12 pm
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.

Re:Error on Startup

PostPosted:Wed Mar 05, 2008 11:44 pm
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.

Re:Error on Startup

PostPosted:Thu Mar 06, 2008 8:27 am
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.

Re:Error on Startup

PostPosted:Thu Mar 06, 2008 10:52 pm
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.

Re:Error on Startup

PostPosted:Fri Mar 07, 2008 12:51 am
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.

Re:Error on Startup

PostPosted:Fri Mar 07, 2008 3:28 am
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?

Re:Error on Startup

PostPosted:Mon Mar 10, 2008 8:45 am
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

Re:Error on Startup

PostPosted:Wed Mar 19, 2008 3:50 am
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.

Re:Error on Startup

PostPosted:Wed Sep 24, 2008 12:21 am
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.

Re:Error on Startup

PostPosted:Thu Sep 25, 2008 12:15 pm
by pavila
This thread is already answered. See previous posts (disable webservices)