After deploying JSPWiki.war :

1. Access the URL (http://localhost:8080/JSPWiki) . If everything is successfully configured, you should see the Main wiki page.

Note: If you get a Login page instead of Main page when you access the above url, then there is some problem with WEB-INF/jspwiki.policy file. See here for troubleshooting

2. There are two ways by which you can proceed from here:

I. Access Install.jsp and get a admin user password configured by jspwiki

(a)Access the Install.jsp file (http://localhost:8080/JSPWiki/Install.jsp)

(b)Set the application name, Pages/Log/Work directories and click Configure button

(c) Note down the password . Login with the admin password and change it to your custom password (MyPrefs >> Set Admin user details >> Save the page)

(d) Your new wiki will be configured successfully . You need to restart the container for this effect to take place

 
II. Else Create Admin user from MyPrefs link

(a) Firstly create a Admin user (MyPrefs >> Set Admin user details >> Save the page)

(b) Now you are automatically logged in as Admin user

Note: Install.jsp file displays jspwiki.properties file contents. Any changes made thru the UI will be updated in the JSPWiki.properties (usually you can see that this entry at the bottom of jspwiki.properties file which overrides the default ones)

Note : Normally once admin user is created , then you cant access
Install.jsp file . To access the Install.jsp again, you need to delete
the admin user details from userdatabase.xml file



Comments:

Post a Comment:
  • HTML Syntax: NOT allowed

This blog copyright 2009 by thekkadath