• 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

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

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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]
 
The airline is called "Virgin"? Don't you want a plane to go all the way? This tiny ad will go all the way:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic