Page 1 of 3
New OpenKM User
PostPosted:Thu Mar 11, 2010 5:57 pm
by zdundore
i have downloaded the latest OpenKM4.0 and JBoss 4.2.3 bundle and attempted to set this up on a WinXP box. I have downloaded and installed the latest JDK from java and when i run the run.bat file the website starts running. When i go to
http://localhost:8080/ i get a JBoss welcome screen, but when i attempt to go to
http://localhost:8080/openkm i get a 404 not found error. Any ideas as to what is happening?
Re: New OpenKM User
PostPosted:Thu Mar 11, 2010 6:09 pm
by jllort
Yes , context is case sensitive, you must write /OpenKM with capitalized characters
Re: New OpenKM User
PostPosted:Thu Mar 11, 2010 6:38 pm
by zdundore
Amazing! Thanks for the quick reply. Anyway to change this? i haven't run into a Web Server that has been picky about case when it comes to virtual directories before? Could i move this over to tomcat?
Re: New OpenKM User
PostPosted:Thu Mar 11, 2010 7:19 pm
by jllort
You must not change OpenKM to openkm because in code there's some dependencies about this url.
Re: New OpenKM User
PostPosted:Thu Mar 11, 2010 9:52 pm
by zdundore
That's understandable, I would like to use this software to point externally and would like to give my users a very clean URL to go to. I know that in other web server software configs you can specify that certain URL requests can get redirected to a different URL. I.E. let say i want to set up the URL
http://DMS.domain.com/ to point to the OpenKM server. I then would use the Web service to translate
http://dms.domain.com/ to
http://dms.domain.com:8080/OpenKM/. Its ok if the users see this true address, i just want a nice clean URL to direct traffic to. Should i move this to the Configuration forum instead?
Re: New OpenKM User
PostPosted:Fri Mar 12, 2010 9:31 am
by jllort
There're several ways to doing it.
1- Configure jboss to running on port 80 ( solves intranet and extranet ) collision with microsoft IIS !!!
2- Configure NAT in router 80 -> 8080 ( solves extranet )
3- Configure apache proxy ( solves intranet and extranet )
In linux is more easy configuring apache, in windows it'll some little more difficult.
Which do you select ?
Re: New OpenKM User
PostPosted:Tue Mar 16, 2010 4:53 pm
by zdundore
I am going to go with option 1. I will let you know how that turns out. The machine this is running on has no conflicts with port 80.
Re: New OpenKM User
PostPosted:Thu Mar 18, 2010 9:26 am
by pavila
The recommended option is "Configure apache proxy" because is the most flexible and extended one.
Re: New OpenKM User
PostPosted:Fri Mar 19, 2010 12:34 pm
by jllort
if you wnat to change jboss port go to
Code: Select all%jboss%/server/default/deploy/jboss-web.deployer/server.xml
and change 8080 to 80
Code: Select all<Connector port="8080" address="${jboss.bind.address}"
maxThreads="250" maxHttpHeaderSize="8192"
emptySessionPath="true" protocol="HTTP/1.1"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true" />
Re: New OpenKM User
PostPosted:Fri Mar 19, 2010 9:08 pm
by pavila
Anyway you will have problems accesing to
http://your-ip:80/ because there are some JBoss services actived by default and anybody can access to them and make modifications to your JBoss installation. Bad idea if you plan to expose this JBoss installation to world-wide-web.
Re: New OpenKM User
PostPosted:Sun Mar 21, 2010 9:02 am
by jllort
As says pavila, for security reasons is better installing apache proxy with jboss
Re: New OpenKM User
PostPosted:Mon Mar 22, 2010 1:52 pm
by zdundore
Since i am using this on a Windows XP machine, I configured IIS to redirect all port 80 requests to the OpenKM logon page. So far my test machine has been working very well, I want to put this into production and go live at the end of this week but i am still struggling to get the notifications to work. Is there a good guide i could use to start me on setting this up?
Re: New OpenKM User
PostPosted:Mon Mar 22, 2010 5:04 pm
by jllort
Here notifications are well explained.
Before put on a production environment, ensure you're doing backup well ( with jboss stopped ). Test you backup.
Re: New OpenKM User
PostPosted:Mon Mar 22, 2010 7:56 pm
by zdundore
Thanks for the pointer. I had read that page before, but i hadn't updated the right fields. so my first test on this was to notify one user and that worked fine. Then i added two users, one user was an internal employee here at my company, the other was a gmail address. The notification didn't get to either users. Next i tried adding two users, both internal employees. That worked to both. Next i tried just one user, the one user was a yahoo address. That didn't go through either.
Is this in issue with JBoss, or with our Exchange server?
Also, i had the email setup to come from
DMS@domain.com but it came through as
administrator@domain.com. Any ideas there?
Re: New OpenKM User
PostPosted:Tue Mar 23, 2010 9:36 am
by jllort
1- in mail-ds.xml enable debug mode and take a look at server.log looking for a possible error
2- The problem in could be in your exchange server, take look on both logs, some message must be showed ( error or warning while sending to this domain ). If you can send into your company domain and not to outside, I think could be a problem in the exchange account or exchange server configuration.
It'll be interesting for us how you've configured IIS to proxy OpenKM ( some little screenshots and little text it'll be great to include in our installation wiki ).