• 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

404 Not Found - install.page

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hy at all
At first: Congratulations to your great OpenSource Forum! This is an excellent work!
But I have got a little problem and hope, you can help me.
To test your product, I have installed it on my local machine (with MySQL 4.0.18 and Tomcat 5). The installation was very easy and it works excellent.

But then, I transferred the folder on my hosts webspace and typet the URL http://www.xyz.com/jforum and the following error message was on my screen:


The installation was the same, as on my local machine. Local I installed the forum in my webapps-folder, on the server, I installed it in the www/html/jforum.

Can you imagine, where the problem is?
Thank you for your help!
Fippu
[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 would guess the problem lies in that the Apache instance at your web hosting is not redirecting the request to Tomcat.

By default, usually just the "/servlet/*" and/or "*.jsp" requests are redirected to the Tomcat instance, (some providers also redirect the "*.do" due to Struts) so you might want to ask your hosting provider to redirect also the "*.page" requests or the whole "/jforum" context.

I works in your local installation because locally you are probably using just Tomcat and not Tomcat+Apache.

It happened to me with another application and my hosting provider, and that's what I had to do.

Good luck!
D.
[originally posted on jforum.net by GreenEyed]
 
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 input!
This could be the solution for my problem. I had the same problem, as I made an index.jsp file. This also doesn't work!
I think it is a redriect problem.

Regards
[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
would it also be possible, to load the whole project in an inline-frame (iframe)?
If it is possible, which file i have to edit? The index.htm?
Regards
[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
If you mean if putting the whole web application inside an IFrame would help, the answer is no, as the Apache would still have to redirect the appropriate requests to Tomcat and an IFrame does not modify this issue at all.

Regards
D.
[originally posted on jforum.net by GreenEyed]
 
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 am getting the same error as outlined in the orignal post. I have had the *.page requests forwarded to Tomcat. However, I am still receiving the error:

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

Any ideas?
[originally posted on jforum.net by chewbacca]
 
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
Are you *sure* the mapping is working correctly?

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
problem not fixed! need 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 the same problem on both Tomcat 4 and Websphere Appserver 5.1
[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 the same problem.

In the url:http://www.jforum.net/install_no_wizard.jsp I can see the contents:

JForum uses a servlet mapping to invoke the pages. This mapping is *.page, and is already properly configured at WEB-INF/web.xml. If you are running JForum on a ISPs which have Apache HTTPD in front of Tomcat, you may need to contact their Technical Support and ask them to explicity enable the mapping for you.

I think, if i change the ".page" to ".jsp", the forum will work fine, can i do it?


[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
Hi,

When I follow the instructions of JForum's Wizard for Installation and Configuration i try to access : http://localhost:8080/jforum/ , but I always get a 404 ERROR.

HTTP Status 404 - /jforum/install/install.page

I have searched the file install.page in /jforum/install , but it wasn't there. Does any one know what is the problem ?

Thanks, Hevert.
[originally posted on jforum.net by hevert]
 
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
It is not a file.

Are you using which server? 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
Yeap, I'm using tomcat. If it's not a file what's install.page ? What can I do to find it ?

Thanks, Hevert.
[originally posted on jforum.net by hevert]
 
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 you're using Tomcat, then it should work by default. It's a servlet. Are you using which version? >- 4.x?

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
I was using Tomcat 4.1, and now I've upgraded to 5.5.11 to see if the error would go away, but it persists. Do you have any ideas?
[originally posted on jforum.net by hevert]
 
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 context name is correct? It is really "jforum"? To try that, create a txt file under the root directory of jforum, and try accessing it. Does it open? if not, then probably the context name you're using is incorrect.

If it does open, then... hmm, well.. Are you acessing tomcat directly, right? I mean, there is no Apache or any other httpd server in front on it, does it?

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
i have the same problem...i know how fix it...just put all the files in the ROOT folder of tomcat,then it will work..
but this is not what i wanted..
i'd like to put jforum in another folder,called forum,any1 can fix this?is this the problem of web.xml?
[originally posted on jforum.net by gjxdotcom]
 
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
No, currently it's not possible to put JForum into a folder other than ROOT. I have a patch for this on my Desktop, I just need to have time to apply.

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
Hi guys,

I just expiremented with setting up JFourm in an environment where also OpenCms is running. Since I have only one webapp directly, i'm urged to setup JForum in a subdirectory like "/jforum".
The problem is indead, that the JForum-main servlet as well as the install servlet does simply ignore the property "forum.link". I managed to install the JForum by deactivating all servlet mappings except the ones for JForum. So i installed JForum through the path /install/install.page. Unfortunately, the main Servlet of JForum is also only compatible in the "ROOT mode".

Rafael: Is it possible that JForum is changed in that way that the property "forum.link" is regarded? I think that shouldn't be a big problem, and would solve the problem... otherwise I have to look for another forum (

kind regards, Peter
[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
Hi,

the possibility to setup JForum in a context's subdirectory would be a nice feature, but is not 100% necessary because: JForum uses for all requests .page extensions and as long as you don't need this extension for other purposes, you can easily combine JForum with another app in the same root directory.

BTW: I watched the source code and realised that all request urls JForum generates for includes and links are created inside the Freemarker template machine which takes the necessary information for url creation from the TemplateContext. The property "pageContext" from the TemplateContext is set to the webapp context's root path during the servlet initialization. It could be easy be altered to something like ${contextroot}${forumuri}...
[originally posted on jforum.net by pbirchmeier]
 
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
Hi

I have a nice solution for the url mapping problem: there is a utility "UrlRewriteFilter" that allows to rewrite uris similiar to the Apache's mod_rewrite module:
http://tuckey.org/urlrewrite/

Here is an example for the usage of OpenCms and JForum in the same root directory:


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

Rafael: Is it possible that JForum is changed in that way that the property "forum.link" is regarded? I think that shouldn't be a big problem, and would solve the problem... otherwise I have to look for another forum (

kind regards, Peter



Peter, this should be fixed in version 2.1.5. Until there, you can edit the template by hand (forum_base.htm or header.htm, don't remembe right now which one is in 2.1.4) and change the menu links there.

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

pbirchmeier wrote:Hi,

the possibility to setup JForum in a context's subdirectory would be a nice feature, but is not 100% necessary because: JForum uses for all requests .page extensions and as long as you don't need this extension for other purposes, you can easily combine JForum with another app in the same root directory.



I have a patch here of this issue. However, it's not complete, and there are some issues to care about. I'll do it when I get time (hahaha), so help is welcome. It's not exactly an easy task, but..

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Because those who mind don't matter and those who matter don't mind - Seuss. Tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic