Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-49) was last changed on 12-May-2011 17:31 by Ben  

This page was created on 13-Feb-2002 14:05 by 170.252.125.30

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 2 added one line
The least painful approach to defining the location of your Wiki files is to have them located at the same drive as your Tomcat (or other web server) installation, and define the location in Unix format. For example, files in C:\JSPWiki\files are defined in the configuration file as /JSPWiki/files.
At line 3 changed one line
The least pain approach to defining the location of your Wiki files is to have them on the same drive as your Tomcat (or other web server) installation, and define the location in Unix format. For example, files in C:\JSPWiki\files are defined in the configuration file as /JSPWiki/files.
Also make sure to change the setting for {{log4j.appender.~FileLog.File}} in {{jspwiki.properties}} if you want a log-file to be created. This setting is hidden quite well near the end of the config-file. The format is the same as the {{jspwiki.fileSystemProvider.pageDir}}-setting, i.e. backslashes must be duplicated.
At line 6 added 18 lines
!Unpacking a .war file
The JSP Wiki web application files are distributed in a .war file. To unpack this file, change the file extension from .war to .zip then unzip the file using a windows utility.
!Resetting a Password
After running the Install.jsp page, an administrator account will be created with a username of 'admin' and a random password if want to access the 'admin' account or access any other account without the password, you can reset the password.
Passwords are generally stored only as an encrypted hash so they can't be easily recovered, only reset. To reset a password, create a new dummy username and password in the usual way, open the userdatabase.xml file that resides in the WEB-INF directory and copy the password hash from the dummy username and paste it over the password hash that you want to reset.
In windows you may have to change the security settings of the .xml file so you have permission to write to it.
!Installing the core pages
The core pages are distributed in a file with a name like 'JSPWiki-corepages_en.zip' and this file should be copied into the content folder. The address of the contect folder can be found in the JSPWiki.properties file and will be defined in a line similar to the following.
\\jspwiki.fileSystemProvider.pageDir =/p/web/www-data/1000c/ \\
When these 'core files' are present, the wiki should have some basic content such as wiki etiquette, help files etc.
At line 7 changed one line
If you need version control for your JSPWiki installation on a Windows machine, download the implementation from [http://www.cs.purdue.edu/homes/trinkle/RCS/]. You only need the executables in the win32 directory of the rcs57pc1.zip.
If you need RCS-based version control for your JSPWiki installation on a Windows machine, download the implementation from [http://www.cs.purdue.edu/homes/trinkle/RCS/]. You only need the executables in the win32 directory of the rcs57pc1.zip.
At line 9 changed one line
The RCS executables will not work correctly unless you set:
The RCS executables will not work unless you set:
At line 11 changed one line
* TZ environment variable to a value suitable for your locale
* TZ environment variable to a value suitable for your locale (this value must
be set; I have failed to get it working properly, though).
* You also may need to set the LOGNAME environment variable; see [JSPWikiOnWindows] for more details.
!Version control alternative
You might also want to try out the [VersioningFileProvider], which provides versioning without RCS. It has not been tested as extensively as [RCSFileProvider], but it's quite a lot easier to set up.
Some potential issues:
* JAVA_HOME must point to the sdk, not the jre.
* In the properties file make sure your path names use double back slashes; alternatively you can replace them with single forward slashes
* Make sure there are no trailing spaces at the ends of lines containing a path or class name.
* In the properties file make sure your URL contains the port number. For example, enter something like [http://localhost:8080].
* Create the data directory specified in the properties file. It doesn't seem to be automatically created.
* Resin (http://caucho.com/) is easier to install and much faster than Tomcat.
!How To Link Tomcat 5 with IIS 6 on Windows 2003 Server using the JK2 ajp13 connector
Comprehensive illustrated guide at [http://tjworld.net/help/kb/0001_iis6-Tomcat5-JK2.html#conConnector]
!Further notes!
* [Can't use mapped drive in Windows as page directory|CanNotUseMappedDriveInWindowsAsPageDirectory]
----
See [InstallAtAformatik] and [WindowsInstallQuestion] for an example and more information.
----
Version Date Modified Size Author Changes ... Change note
49 12-May-2011 17:31 4.034 kB Ben to previous
48 12-May-2011 17:26 3.984 kB 94.203.68.52 to previous | to last
47 12-May-2011 17:12 3.504 kB 94.203.68.52 to previous | to last
46 12-May-2011 17:09 3.497 kB 94.203.68.52 to previous | to last
45 12-May-2011 16:30 3.408 kB 94.203.68.52 to previous | to last
44 12-May-2011 12:56 3.276 kB Ben to previous | to last
43 22-Mar-2010 22:04 2.569 kB Allhours to previous | to last
42 21-Nov-2008 10:18 2.569 kB 218.25.160.38 to previous | to last
41 21-Nov-2008 10:18 2.581 kB 218.25.160.38 to previous | to last
« This page (revision-49) was last changed on 12-May-2011 17:31 by Ben