permaculture playing cards*
The moose likes JForum and the fly likes Jforum install problems on godaddy Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "Jforum install problems on godaddy" Watch "Jforum install problems on godaddy" New topic
Author

Jforum install problems on godaddy

saroj joras
Greenhorn

Joined: Mar 28, 2011
Posts: 6
Hi Everyone,

I have downloaded jforum and could get it working on Eclipse + Tomcat by pointing the url to its index.htm page. I did the manual install by following the steps given on Jforum website. I have successfully created the MySQL tables, populated them and have changed the WEB-INF/config/SystemGlobals.properties to suit my needs. After that, it worked on my local setup redirecting to /forums/list.page from index.htm. The page shows up as desired.

However, when I deploy it on godaddy's linux shared hosting account (java enabled), I'm getting errors. I have setup proper access rights on the following folders as stated on jforum's site:

"The directory "images", "tmp", "upload" and "WEB-INF" ( and their sub-directories ) should have write permission to the user who runs the web server."



It seems to be an access related issue which I can't figure out. Just to test all access rights on my hosting account are proper, I gave write access to all the folders under root (just for testing) but error still shows. Sorry but I'm trying to be as descriptive as possible. In case, further info is needed, please let me know. Hopefully, someone might have come across similar exceptions. Appreciate any help in this regard.

Can a .htaccess file be of any help? Am I missing any kind of setup or anything else?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42360
    
  64
.htaccess has nothing to do with this. If JForum still does what it used to do in the 2.x versions, then it wants to create a "jforumLuceneIndexes" folder inside of WEB-INF. Make sure that's allowed for whatever account is used to run JForum (which may or may not be different from the account you're using to log into the server).


Ping & DNS - my free Android networking tools app
saroj joras
Greenhorn

Joined: Mar 28, 2011
Posts: 6
Hi Ulf, Thanks for the reply. I have already given "write" access to web-users on WEB-INF and Config folders. Currently, I don't see any "jforumLuceneIndexes" folder created under WEB-INF. How can I have jforum create this folder apart from giving write access on WEB-INF and its sub-folders? Correct me if I am wrong but are you pointing at creating "jforumLuceneIndexes" folder manually. Please suggest. Thanks!
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42360
    
  64
Well, of course the folder doesn't exist - the error message is about Lucene not being able to create it :-)

So, "web-users" is the name of the account used to run Tomcat?
saroj joras
Greenhorn

Joined: Mar 28, 2011
Posts: 6
No, web-users is not the name of the account. The name of the account is "thebooktailor.com".
What I meant from web-users was that I have given write access to ALL on WEB-INF folder but still the folder jforumLuceneIndex is not getting created.

Should I create it manually under WEB-INF? How can I force Lucene to create it? Thanks again!

So, "web-users" is the name of the account used to run Tomcat? -> Sorry, I couldn't understand this. Do you mean the domain name?

Thanks for help!
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42360
    
  64
So, "web-users" is the name of the account used to run Tomcat? -> Sorry, I couldn't understand this. Do you mean the domain name?

No, I meant the name of the Unix/Windows account that is used to run Tomcat. That's the account that needs write access. Note that it's possible that Tomcat is set up so that this account is not identical to the account you're using to log into the server.
saroj joras
Greenhorn

Joined: Mar 28, 2011
Posts: 6
Even if I manually create the folder, still won't be able to write anything because somehow, even after giving write access to the folders, godaddy is not allowing the write.
saroj joras
Greenhorn

Joined: Mar 28, 2011
Posts: 6
Well, that could be a reason. Is there any way I can find out which account name is being used on Tomcat? Also, how to provide write access to the account?
As far as I know, godaddy doesn't allow to write to any folder except /tmp/ folder.

That is why I had spoken about .htaccess file earlier. I thought may be there is a way to configure .htaccess to enable it to write to desired folders. I don't have much idea about it though.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42360
    
  64
The Lucene index is something that's supposed to be permament, so creating it in "/tmp" (where it might be subject to deletion at any time) is not a good idea. Probably best to contact GoDaddy's customer support; I imagine that this problem has come up before.
saroj joras
Greenhorn

Joined: Mar 28, 2011
Posts: 6
Sure, will do. Thanks vm for persisting with this problem.. Alas! It always ends in godaddy customer support.
Anyways, can't thank you enough for your help though!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jforum install problems on godaddy