• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

installing problem! why this happens?

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
the install package is missing the "__index.redirect" file ...
[originally posted on jforum.net by GatorBait3]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm getting the write permission error as apache user...
[originally posted on jforum.net by kiwi]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
... 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]
 
Of course, I found a very beautiful couch. Definitely. And this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic