aspose file tools*
The moose likes JForum and the fly likes installing problem! why this happens? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
Bookmark "installing problem! why this happens?" Watch "installing problem! why this happens?" New topic
Author

installing problem! why this happens?

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
the error information:
Please give write access for the user who is running the webserver to the file 'index.htm' and for the directory 'WEB-INF/config' and its subdirectories before continuing.

JForum needs to write its configurations there. When you're done, click at "Try Again".

help me , thanks!
[originally posted on jforum.net by Anonymous]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Anonymous wrote:the error information:
Please give write access for the user who is running the webserver to the file 'index.htm' and for the directory 'WEB-INF/config' and its subdirectories before continuing.

JForum needs to write its configurations there. When you're done, click at "Try Again".

help me , thanks!


The user running while trying to install JForum doesn't have enough permissions to write to those directories. Did you copy the JForum files over as "root?"

Try setting the /webapps/Jforum (or whatever your context root for JForum is) & subdirectories to be owned by the tomcat user ...


[originally posted on jforum.net by GatorBait3]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
i installed the jforum at Windows XP ! so how to set up the permissions pls??
[originally posted on jforum.net by Anonymous]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
cant i set up jforum manully without install guide to avoid this problem happen ???
[originally posted on jforum.net by Anonymous]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Anonymous wrote:i installed the jforum at Windows XP ! so how to set up the permissions pls??


You didn't say which app server you're running.

The error you are seeing means that whatever user is running doesn't have full write access to the index.html file and the WEB-INF/config directories.

Is the app server running as a Windows Service? If so, is that account set up with the correct permissions (i.e. admin, run as part of OS, etc.)?

Are you running the install on a local machine? Is your account an Admin on the computer?



[originally posted on jforum.net by GatorBait3]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
sorry. i install jforum on my local machine , tomcat 5, not as windows service, i start the tomcat server using the bin/startup.bat command. my windows account is admin! what's wrong during the install guide?
[originally posted on jforum.net by Anonymous]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Anonymous wrote:sorry. i install jforum on my local machine , tomcat 5, not as windows service, i start the tomcat server using the bin/startup.bat command. my windows account is admin! what's wrong during the install guide?


There were issues with Tomcat 5.5.16 ... are you using a different version than that?

If so, use Windows Explorer and browse to the WEB-INF/config folder .. check the permissions to make sure something didn't happen when you unzipped the files. You can "right-click" on the config folder, then click on the "Security" tab ... your user should have "Full Control" access. If it doesn't, check that box and save.

Also try making a new file in the config folder. If you can't create a new file, that would also indicate some permissioning problem. If you can create a new file with no problems, I would try reinstalling JForum (redownload the 2.1.6 zip file and start over).

[originally posted on jforum.net by GatorBait3]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
i'm using tomcat 5.5.12, but the same problem still happen . my disk format is FAT32.
[originally posted on jforum.net by Anonymous]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Anonymous wrote:i'm using tomcat 5.5.12, but the same problem still happen . my disk format is FAT32.


Windows XP and FAT32?? (NTFS is a better way to go!)

I've never tried installing JForum on a FAT32 drive ... so I'm out of ideas for helping you.

[originally posted on jforum.net by GatorBait3]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
can't the jforum support FAT32 disk format?? it's so bad!
[originally posted on jforum.net by Anonymous]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Anonymous wrote:can't the jforum support FAT32 disk format?? it's so bad!


I don't see any reason why JForum wouldn't work with any disk format - so I'm not saying that the FAT32 is why you are having problems.

[originally posted on jforum.net by GatorBait3]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
ok,i think it 's not the ploblem here. because jforum 2.1.4 works fine at my system. i think there're bugs in the installing wizard programs.
[originally posted on jforum.net by Anonymous]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
the install package is missing the "__index.redirect" file ...
[originally posted on jforum.net by GatorBait3]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
GatorBait3 wrote:
Anonymous wrote:sorry. i install jforum on my local machine , tomcat 5, not as windows service, i start the tomcat server using the bin/startup.bat command. my windows account is admin! what's wrong during the install guide?


There were issues with Tomcat 5.5.16 ... are you using a different version than that?

If so, use Windows Explorer and browse to the WEB-INF/config folder .. check the permissions to make sure something didn't happen when you unzipped the files. You can "right-click" on the config folder, then click on the "Security" tab ... your user should have "Full Control" access. If it doesn't, check that box and save.

Also try making a new file in the config folder. If you can't create a new file, that would also indicate some permissioning problem. If you can create a new file with no problems, I would try reinstalling JForum (redownload the 2.1.6 zip file and start over).


I got the same problem .
mine is Apache Tomcat 6.0.13 Server - http://tomcat.apache.org/
mysql 5
Win XP
jforum 2.1.7
[originally posted on jforum.net by leox]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Leox, did you use the "__index.redirect" file? ... that's the problem with the wizard in most cases - as you can see in about most of the topics concering installation troubles.

Are you still having troubles with the file being in the correct place?
[originally posted on jforum.net by Sid]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Pls Help me!
I am using tomcat 5.5 , oracle 10g express edition, winXP pro.
when install jforum , the following error occurs.

java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=169869568)(ERR=12519)(ERROR_STACK=(ERROR=(CODE=12519)(EMFI=4))))
[originally posted on jforum.net by heaven]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Before installation, it needs to drop all data in database.
Now working. Sharing my stupid mistake.
[originally posted on jforum.net by heaven]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
I'm getting the write permission error as apache user...
[originally posted on jforum.net by kiwi]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Sid wrote:Leox, did you use the "__index.redirect" file? ... that's the problem with the wizard in most cases - as you can see in about most of the topics concering installation troubles.

Are you still having troubles with the file being in the correct place?


Do you have a link to a thread please?
[originally posted on jforum.net by kiwi]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424

Please give write access for the user who is running the webserver to the file 'index.htm' and for the directory 'WEB-INF/config' and its subdirectories before continuing.



Same trouble. I'am on WinXP Pro SP2, Tomcat 5.5.23 installed as service, MySQL 5 and JForum 2.1.7b3.
I check right and permissions, all is good.
I DL the __index.redirect file and i put it on the root of the jforum ($TOMCATDIR\webapps\jforum for my installation) and i've got the same error message.

Is there another place to put this file ?

Thanks.

Notes : Otherwise, work fine in manual installation.

[originally posted on jforum.net by chess]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
i had the same problem with installation wizard

my environment:
- apache-tomcat-6.0.13
- hlsqldb (for first setup test)
- jdk 1.6.0_02-b05
- 32-bit ubuntu/feisty

this bug has nothing todo with env. like winxp/ntfs/fat32 or so ...

simple workaround was fine for me, as mentioned above:
download __index.redirect (attached above) and copy to <jforum_basedir>/ (parallel to index.jsp)

.. it would be helpful, if the installer log something to catalina.out in this error case.

[originally posted on jforum.net by moojix]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
... well, there's so many posts stating this ... and I guess version 2.1.8 may have it finally fixed too ... (would have been simple enough as to provide the file in the war file ...)...


Either way, I have to admit I somewhat like to do it manually recently, as you at least fully know what is being done behind the scenes and more easily can adapt and modify things so they suit you best ...
[originally posted on jforum.net by Sid]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: installing problem! why this happens?