Help coderanch get a
new server
by contributing to the fundraiser
  • 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
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

installation

 
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 Installation Guide says after unpacking the forum:

The next step you should do is register the JForum application within your Servlet Container, like Tomcat.

How to do that???
[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
You need to know where Tomcat is installed ... and beneath that directory is one called "webapps". You can just unpack the JForum files there, or just move the unpacked JForums directory beneath the webapps one.

Tomcat should pick up the new app automatically. If not, restart tomcat.

then hit http://yourserverURL_goes_here:8080/jforum to start the installer (assuming you are using the tomat default port).

Remember that the JForum database will need to be created BEFORE trying to run the installer. And you will be asked by the installer for the database username and password.

Good luck!
[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
Thanks for your quick answer. But it doesn't function.

Beneath the directory webapps there is one ROOT. Beneath that there are my jsp-files of the website. I tried unpacking the forum to that directory an directly to the directory webapps. Nothing worked. The failure-message says:

The requested resource (/xkomm/JForum-2.1.4/install/install.page) is not available.

[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
aaa
[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:Thanks for your quick answer. But it doesn't function.

Beneath the directory webapps there is one ROOT. Beneath that there are my jsp-files of the website. I tried unpacking the forum to that directory an directly to the directory webapps. Nothing worked. The failure-message says:

The requested resource (/xkomm/JForum-2.1.4/install/install.page) is not available.



Just installing JForum doesn't automatically "link" it to a web site.

And from the error, it appears your context path is incorrect. What happens if you put "http://www.YOUR_SITE_NAME_HERE.com:8080/jforum" in a browser?

Does the installer start?

Have you checked in the Tomcat admin console to make sure the app is installed and running?

[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

Anonymous wrote:I made a war file from JForum-2.1.4 and named it as myforum.war.

It seems no problem in deploying because there is not error message when I start JBoss.

But when I kick http://localhost:8080/myforum, it shows a "Directory of list..."

and it shows the directory of myforum. When I click on the directory, it says "The requested resource (/myforum/JForum-2.1.4/install/install.page) is not available."

And I really cannot find a file named install.page.

Please help!



If you have put the files in /myforum/JForum-2.1.4/ try to put them in /myforum/ instead, that is one directory level up




[originally posted on jforum.net by Per Johansson]
 
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 made a war file from JForum-2.1.4 and named it as myforum.war.

It seems no problem in deploying because there is not error message when I start JBoss.

But when I kick http://localhost:8080/myforum, it shows a "Directory of list..."

and it shows the directory of myforum. When I click on the directory, it says "The requested resource (/myforum/JForum-2.1.4/install/install.page) is not available."

And I really cannot find a file named install.page.

Please help!
[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
I have been having the same problem. I have downloaded the zip file and unzipped it before copying them to Tomcat. The install directory is supposed to have an install.page file, but it does not. As a result, the automatic installation does not start.

I have checked the contents of serveral zip files (even for versions 2.3, 2.2 and 2.0) and none of them have this file.

What is it that we are doing wrong?

Also, Anonymous, were you able to fix the problem?

Please advise.

Thanks
[originally posted on jforum.net by homer]
 
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
Copy or move the unzipped jForum files to the .../webapps/ directory under your Tomcat install. The JForum subdirectory should be right under the webapps one (i.e. ../webapps/JForum-xxxxxx).

Note the name of the JForum directory you are using! It probably isn't "jforum" unless you renamed it that, but rather jforum-someReleaseNumber. The name of the directory is what you have to type into your browser after your computer/server name and port (i.e. http://yourservername:8080/jforum-2.1.4).

homer wrote:I have been having the same problem. I have downloaded the zip file and unzipped it before copying them to Tomcat. The install directory is supposed to have an install.page file, but it does not. As a result, the automatic installation does not start.


No, there isn't a file called install.page in the /install directory ... follow the directions above and it should work for you (for Tomcat - Anonymous is using JBoss, which has a different deploy procedure).

Anonymous wrote:I made a war file from JForum-2.1.4 and named it as myforum.war.

It seems no problem in deploying because there is not error message when I start JBoss.

But when I kick http://localhost:8080/myforum, it shows a "Directory of list..."

and it shows the directory of myforum. When I click on the directory, it says "The requested resource (/myforum/JForum-2.1.4/install/install.page) is not available."

And I really cannot find a file named install.page.

Please help!



You have a problem with your context root (or path to your application). In effect, you have added an additional directory (myforum) before the JForum one which makes all the paths incorrect. You need to redo and redeploy your .war file to correct it. Try building the .war without renaming it (the "myforum" stuff) ... if you want to change the name, rename the directory before making the .war file and see if that works for 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
Ok, I know this is a very old thread, but I am lost on this installation as well. Let me mind you, I have searched all I can on the forums and done research from search engines on how TomCat and JForum works. As a last ditch attempt, I figured I would ask the geniuses.

As for the installation, I am not quite sure what you guys are referencing when talking about the folder in the webapps folder that should say jForum-XXXXXXX, because I dont even have folders like that. Also, the server name should be my domain, correct? Do I need to have a database already setup(I have little experience with them, which is weak , I know) or is this something that will be created in installation?

Essentially, I just want to manage a forum within my site, and I love using JForum on other guys sites, so I figured I would give this a shot. I use 1and1 for webhosting for now, and they says the Java coding is compatible. Then again, I doubt they knew what I was talking about. Any suggestions of what I can read or do to get me better prepped for this would be awesome also.

Thanks guys!
[originally posted on jforum.net by SpotYacht]
 
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 guys, thanks for the help. I got it installed. However, I do have other questions, but I will open a new post.
[originally posted on jforum.net by SpotYacht]
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic