• 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
  • Junilu Lacar
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Piet Souris
  • Carey Brown
  • Stephan van Hulst
Bartenders:
  • Frits Walraven
  • fred rosenberger
  • salvin francis

404 When trying to install 2.1.6

 
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 am trying to install JForum on my purchased hosting and not having too much luck.

JForum installs fine when running on my local machine, but when I try to install on the server with a similar setup (the same version of Tomcat, MySQL, etc.) I get a

"Not Found
The requested URL /forums/install/install.page was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.36 Server at www.digital-utopia.com Port 80"

It might be a problem/setting with cPanel but I can't access the internals (server/conf etc.) of the system, nor can I change anything within it.

Any ideas what might be causing the system not to install? It is obviously finding the servlet but not creating the page.

I was thinking of installing locally and then copy the installed stuff to the server and see if that worked (would be a major pain with the db stuff).

I've been quite disappointed with my host (I won't publicize it here) but everytime I get a few spare minutes to work on a private idea I have to contact them to fix it or enable something that should of been enabled when I signed up originally.
[originally posted on jforum.net by grahamr]
 
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
Is tomcat using port 8080?

Is apache configured with a jk_mod to send to tomcat? Otherwise, you shouldn't be getting apache / port 80 errors.

What URL are you using? It should be something like: http://www.*YOURDOMAIN*.com:8080/jforum/forums/list.page unless you are using jk_mod (then the :8080 wouldn't be needed).

[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
Locally I am running just tomcat. The remote host is running apache & tomcat.

I can run jsp's from the root, and from other folders (just tried it) but can't run the installer.

jk_mod is working (otherwise the servlet wouldn't of fired). I was thinking that the .page was confusing it, but I can't see an option in cPanel to decide which extensions are forwarded and which are ignored - cPanel seems to be purely PHP/MySQL and nothing for TC.

Try it here: http://www.digital-utopia.com/forums/

G.
[originally posted on jforum.net by grahamr]
 
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

grahamr wrote:Locally I am running just tomcat. The remote host is running apache & tomcat.

I can run jsp's from the root, and from other folders (just tried it) but can't run the installer.

jk_mod is working (otherwise the servlet wouldn't of fired). I was thinking that the .page was confusing it, but I can't see an option in cPanel to decide which extensions are forwarded and which are ignored - cPanel seems to be purely PHP/MySQL and nothing for TC.

Try it here: http://www.digital-utopia.com/forums/

G.



I get the 404 error when using your URL above.

However, if you change the URL as I suggested to add port 8080 (like this: http://www.digital-utopia.com:8080/forums/), you get the JForum installer page to complete the installation.
[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
So the fact it doesn't install without the port of 8080 appended is a problem at their end?

I guess I can install it via the 8080 method while they sort it out at their end. It should work normally (without the 8080 port) once the forum is up and running.

Thanks, G.
[originally posted on jforum.net by grahamr]
 
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

grahamr wrote:So the fact it doesn't install without the port of 8080 appended is a problem at their end?

I guess I can install it via the 8080 method while they sort it out at their end. It should work normally (without the 8080 port) once the forum is up and running.

Thanks, G.


I wouldn't say it was a problem ... you probably would want to do all of the install via a direct port URL reference. The jk_mod refer is more for a web site redirect/processing without having to use any none-web port references ... but not a convenience for installing.

[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
You have to ask your host's company support to map the extension *.page on the apache's httpd server configuration, to it delegated all those requests to Tomcat

Rafael
[originally posted on jforum.net by Rafael Steil]
 
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
Okay. I've got the host to change it and now it seems I have messed up on one of the settings during install. I now get a 500 error message for the list page: http://www.digital-utopia.com/forums/forums/list.page when trying to access the forums. I think the error is due to where the forum is installed and the settings I put during install. I installed the forum to /forums and set the page to www.digital-utopia.com/forums/ which is where I wanted the list.page file.

It's giving an exception for a truncated class file.

I looked through SystemGlobal.properties and it seems I should change the forum.link and homepage.link. However these are both set to localhost and not where I set them to (set to localhost/jforum and mine I set to http://www.digital-utopia.com/forums).

Do/Should I change these settings? Any others I should look at?

Thanks, Graham Reeds.
[originally posted on jforum.net by grahamr]
 
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
Try looking at your WEB-INF/config/jforum-custom.conf file ... that's where your customized settings are stored.

[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
Hmmm. Just checking out the settings. They seem correct.

I want the front page for the forum to be located at
http://www.digital-utopia.com/forums/
Which would mean setting the forum.link and the homepage.link to the same thing? Surely that can't be right?

G.
[originally posted on jforum.net by grahamr]
 
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

grahamr wrote:Hmmm. Just checking out the settings. They seem correct.

I want the front page for the forum to be located at
http://www.digital-utopia.com/forums/
Which would mean setting the forum.link and the homepage.link to the same thing? Surely that can't be right?

G.


The forum.link should be the entry to your forums (I use the path with the :8080/jforums in mine), the homepage.link should point to the web page that the forums are linked from (i.e. http://www.digital-utopia.com/).

Now, you can't just change the forum.link URL to whatever you want, it has to match the context root you used when installing JForum (forums in your case).

Has your provider tried bouncing Tomcat? Even hitting the tomcat address directly yields a 500 error (i.e. http://www.digital-utopia.com:8080/forums) .. which is not using the jk_mod redirect in apache.
[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
If by bouncing you mean restarting the Tomcat server then I guess not - it's generally not good for you customers if their websites are available, even if only temporarily.

My forum.link and homepage.link seem correct. However if you just follow this link: http://www.digital-utopia.com/forums/ you will see that the url is rewritten to become http://www.digital-utopia.com/forums/forums/list.page - not what I wanted or expected to happen.

As for the error it occurs with or without the 8080.

Any ideas why?
[originally posted on jforum.net by grahamr]
 
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
Just dredging this case back up but with a slight twist as my last question went unanswered:

Is it possible to have JForum work as http://www.digital-utopia.com/forums/ without installing to the root directory?

On my (failed) installation it seems to want to run from forums/forums/ which is not what I want. If it can't then that will end my attempts at getting JForum running and I will look elsewhere for my forum needs. I wanted to have the forum/blog up and running two months ago, but two moves and a house purchase later I am running behind and want to get started.

Thanks, Graham Reeds
[originally posted on jforum.net by grahamr]
 
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
Is it possible that your ISP doesn't have the correct tomcat/apache helper files in place? Your install seemed to be working (using :8080 in the link) before you said they redirected the *.page files.

[originally posted on jforum.net by GatorBait3]
 
What's a year in metric? Do you know this metric stuff tiny ad?
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic