aspose file tools*
The moose likes JForum and the fly likes Having problems getting jForum to install under Sun Java Application Server 9.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
Bookmark "Having problems getting jForum to install under Sun Java Application Server 9.1" Watch "Having problems getting jForum to install under Sun Java Application Server 9.1" New topic
Author

Having problems getting jForum to install under Sun Java Application Server 9.1

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hello,
I am trying to install jForum on our Sun Java Application Server 9.1 box. I have uploaded the .war to the server, created the contexts for it, and verified that it was unpacked to the proper directory with full permissions. When I go to complete the installation I get the following error when I try to initiate the /install.jsp:

HTTP Status 404 -

type Status report

message

descriptionThe requested resource () is not available.
Sun Java System Application Server 9.1

Normally I would say its an issue in that the page really isnt there, but that isnt the case here. The page does exist, its just not executing for one reason or another. I have verified this another way as well... I have just gone to my default context /forum (jForums root context on my server) and it definitely loads the index.htm which then redirects the page to /forum/forums/list.page so obviously all the required files are there. Can someone please help me to get this going?

Thanks,
Rick
[originally posted on jforum.net by mediaint]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
One question... you said "/install.jsp" was not found. did you mean that /forum/install.jsp was not found?

I'd check your logs to see if there is a problem compiling the jsp.
[originally posted on jforum.net by monroe]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
yes your correct I actually meant /forum/install.jsp...

as far as the logs go they are reporting that the directory /opt/SDK/domains/domain1/applications/j2ee-modules/jForum/install/install.jsp cannot be found... I have checked the directory structure, and sure enough that install directory does not exist... furthermore, I checked the .war I downloaded from here, and it is not within the file at all.. seems to be a release issue of some sort.

Any advice?
[originally posted on jforum.net by mediaint]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
I just downloaded the .zip version, to grab the install directory out of there, however, it doesnt exist there either.

Really not sure what to do at this point.

Thanks,
Rick
[originally posted on jforum.net by mediaint]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
I just DL'ed both of these and found install.jsp file.

However, I think the big issue is that the war file was not created properly. All the stuff that should be in the context root directory (e.g. ../forum) is under a jforum-2.1.8 directory. Try re-creating the war file with that format.

E.g., the root of your jforum webapp should look like:

images
META-INF
templates
tmp
tools
upgrade
upload
WEB-INF
.... and the like.

and NOT like

jforum-2.1.8





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

Joined: Apr 22, 2012
Posts: 17424
monroe,
Actually you are correct about the .war, and I had corrected that before I posted anything. Whats missing is the directory and install files that the install.jsp file tries to redirect you to which is:

<context>/install/install.jsp

if you take a look in the .war file, or the zip you will see that this directory (and all the files that are supposed to be in it) are missing completely.

Thanks,
Rick
[originally posted on jforum.net by mediaint]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
That's not a directory, it's a servlet that is define in the web.xml file. FWIW, it's install/install.page not install/install.jsp.

Hmm, I wonder if your app server isn't following the servlet specs definition of how to find a servlet. Jforum has a generic *.page mapping while the installer has a specific, /install/install.page mapping. The spec says exact matches or long path-prefix wins over extensions... so the installer servlet should "win" but maybe it doesn't with yours.

Also, give the various troubles, I'd suggest undeploying and deleting all the files off the server. It could be related to a partial install or something similar.
[originally posted on jforum.net by monroe]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Having problems getting jForum to install under Sun Java Application Server 9.1