<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://protegewiki.stanford.edu/index.php?action=history&amp;feed=atom&amp;title=WebProtege1.0AdminGuide</id>
		<title>WebProtege1.0AdminGuide - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://protegewiki.stanford.edu/index.php?action=history&amp;feed=atom&amp;title=WebProtege1.0AdminGuide"/>
		<link rel="alternate" type="text/html" href="https://protegewiki.stanford.edu/index.php?title=WebProtege1.0AdminGuide&amp;action=history"/>
		<updated>2026-05-10T12:05:23Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.27.7</generator>

	<entry>
		<id>https://protegewiki.stanford.edu/index.php?title=WebProtege1.0AdminGuide&amp;diff=11875&amp;oldid=prev</id>
		<title>TaniaTudorache at 01:13, April 26, 2013</title>
		<link rel="alternate" type="text/html" href="https://protegewiki.stanford.edu/index.php?title=WebProtege1.0AdminGuide&amp;diff=11875&amp;oldid=prev"/>
				<updated>2013-04-26T01:13:00Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 01:13, April 26, 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l359&quot; &gt;Line 359:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 359:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''Go back to [[WebProtege|WebProtégé main page]].'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''Go back to [[WebProtege|WebProtégé main page]].'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:WebProtege documentation]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:WebProtege &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;1.0 &lt;/ins&gt;documentation]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>TaniaTudorache</name></author>	</entry>

	<entry>
		<id>https://protegewiki.stanford.edu/index.php?title=WebProtege1.0AdminGuide&amp;diff=11783&amp;oldid=prev</id>
		<title>TaniaTudorache: Created page with &quot;{{WP1-start}}  &lt;p style=&quot;padding:0; margin:0; font-size:1.9em; font-weight:bold; word-spacing:-2px;&quot;&gt;WebProtégé 1.0 Administrator's Guide&lt;/p&gt;  __TOC__   '''Go back to [[WebP...&quot;</title>
		<link rel="alternate" type="text/html" href="https://protegewiki.stanford.edu/index.php?title=WebProtege1.0AdminGuide&amp;diff=11783&amp;oldid=prev"/>
				<updated>2013-04-25T20:30:18Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{WP1-start}}  &amp;lt;p style=&amp;quot;padding:0; margin:0; font-size:1.9em; font-weight:bold; word-spacing:-2px;&amp;quot;&amp;gt;WebProtégé 1.0 Administrator&amp;#039;s Guide&amp;lt;/p&amp;gt;  __TOC__   &amp;#039;&amp;#039;&amp;#039;Go back to [[WebP...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{WP1-start}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p style=&amp;quot;padding:0; margin:0; font-size:1.9em; font-weight:bold; word-spacing:-2px;&amp;quot;&amp;gt;WebProtégé 1.0 Administrator's Guide&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Go back to [[WebProtege|WebProtégé main page]].'''&lt;br /&gt;
&lt;br /&gt;
''' Find [[MigrateOntologiesFromWP1|here]] instructions on how to move your ontology to the new WebProtege server (http://webprotege.stanford.edu) '''&lt;br /&gt;
&lt;br /&gt;
= Introduction = &lt;br /&gt;
&lt;br /&gt;
''' This page describes the administration and installation for the WebProtege 1.0 (that works with Protege 3.x series). '''&lt;br /&gt;
&lt;br /&gt;
WebProtégé is a web application that runs in a [http://en.wikipedia.org/wiki/Servlet_container#Servlet_containers servlet container], such as [http://tomcat.apache.org/ Tomcat]. WebProtégé comes as a ''war file'' that can be easily deployed in a servlet container.&lt;br /&gt;
&lt;br /&gt;
There are two ways to install and run WebProtégé:&lt;br /&gt;
# '''Local Mode''': WebProtégé loads the ontologies from a standalone instance of Protégé running in a servlet container (''default mode''), or&lt;br /&gt;
# '''External Server Mode''': WebProtégé loads the ontologies from a Protégé server running outside of the servlet container, and acts as a web-based client connecting to the Protégé server (see more information about the client-server version of Protégé [[Protege_Client-Server_Tutorial|here]]). This WebProtégé mode of operation is also sometimes called the ''client-server mode''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= WebProtégé WAR file =&lt;br /&gt;
The WebProtégé WAR file is available for download from here:&lt;br /&gt;
&lt;br /&gt;
[http://wp-obs.stanford.edu/downloads/wp-r1.0/webprotege_r1.0.war.zip WebProtege 1.0]&lt;br /&gt;
&lt;br /&gt;
Unzip the file to get the war file. If you are using the external server mode mode of WebProtégé, then please check the Protégé - WebProtégé compatibility table from below and make sure that the Protégé server and WebProtégé are compatible.&lt;br /&gt;
&lt;br /&gt;
= Install WebProtégé - Local mode =&lt;br /&gt;
&lt;br /&gt;
In ''Local Mode'', WebProtégé loads the ontologies from a standalone instance of Protégé running in a servlet container, such as Tomcat. WebProtégé will '''NOT''' use the Protégé server to manage ontology loading.  The ''Local Mode'' is the default mode of operation for WebProtégé.&lt;br /&gt;
&lt;br /&gt;
== Deploy the WebProtégé WAR file ==&lt;br /&gt;
&lt;br /&gt;
Deploy the WebProtégé WAR file into your Servlet container.  The procedure for doing this will be specific to which Servlet container you are using.  At [[Stanford_Center_for_Biomedical_Informatics_Research|BMIR]], we are currently using the latest version of [http://tomcat.apache.org/download-55.cgi Tomcat 5.5].  If you are also using Tomcat, you can use the following steps to deploy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Start Tomcat&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Copy webprotege.war into the webapps folder&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Tomcat will unpack the WAR file and the exploded file structure should look something like the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding-top:5px; padding-bottom:5px;&amp;quot;&amp;gt;&lt;br /&gt;
[[Image:Webprotege-in-tomcat.jpg|thumb|600px|none|WebProtégé deployed in Tomcat]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, you can optionally configure the metaproject, or proceed to the [[#Test the WebProtégé installation|section on testing your installation]].&lt;br /&gt;
&lt;br /&gt;
== Configure the metaproject ==&lt;br /&gt;
&lt;br /&gt;
By default, WebProtégé will display a list of example ontologies that are available for the user to edit on the ''My WebProtégé'' page.  If you want to edit &lt;br /&gt;
the list of available ontologies, you need to edit the metaproject.  The metaproject is a frame-based ontology that models permissions and controls which projects are displayed to the user, as well as which users have access to which projects.  A more [[Protege_Client_Server_Tutorial_Configuration#The_Metaproject|detailed explanation of the metaproject]] is available in the Protégé Client-Server Tutorial.&lt;br /&gt;
&lt;br /&gt;
Please note that this step is optional and only needs to be performed when you want users to have access to ontologies other than the examples provided with the default installation.&lt;br /&gt;
&lt;br /&gt;
To edit the metaproject, launch the Protégé application and open metaproject.pprj, located in &amp;lt;your-servlet-container&amp;gt;/webprotege/projects/metaproject.&lt;br /&gt;
&lt;br /&gt;
Any time you make edits to the metaproject, you must restart your Servlet container for WebProtégé to detect changes.&lt;br /&gt;
&lt;br /&gt;
If you decided to make changes to the metaproject, please restart your Servlet container and then proceed to the [[#Test the WebProtégé installation|section on testing your installation]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Install WebProtégé - External Server Mode =&lt;br /&gt;
&lt;br /&gt;
In ''External Server Mode'', WebProtégé loads the ontologies from a Protégé server running outside of the servlet container, and acts as a web-based client connecting to the Protégé server (see more information about the server/client version of Protégé [[Protege_Client-Server_Tutorial|here]]).&lt;br /&gt;
&lt;br /&gt;
Other clients, such as [[Collaborative_Protege|Collaborative Protégé]] can connect to the same Protégé server, and browse and edit the same ontology. All edits made in either client will immediately be seen in the other clients.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Protégé Standalone Application ==&lt;br /&gt;
&lt;br /&gt;
'''You need to download the Protégé standalone application only if you decide to use the External Server Mode!'''&lt;br /&gt;
&lt;br /&gt;
If you are using the ''External Server Mode'', WebProtégé loads the ontologies from the Protégé server.  If you want to run WebProtégé with the Protégé server, you need to install a version of the standalone [http://protege.stanford.edu/overview/ Protégé application].  If you are unfamiliar with the Protégé server and would like to learn more, a [[Protege_Client-Server_Tutorial|detailed tutorial is available]] on this wiki.&lt;br /&gt;
&lt;br /&gt;
If you are a new user, [http://protege.stanford.edu/download/register.html please register] before downloading Protégé.  For existing users, Protégé is [http://protege.stanford.edu/download/registered.html#p3 available on the download page] of the main Protégé website.&lt;br /&gt;
&lt;br /&gt;
''Please make sure to download the proper compatible version of Protégé standalone:''&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;width:75%; margin-top:2px;&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;1&amp;quot; cellspacing=&amp;quot;1&amp;quot; &lt;br /&gt;
!width=&amp;quot;50&amp;quot;|Protégé standalone&lt;br /&gt;
!width=&amp;quot;50&amp;quot;|WebProtégé &lt;br /&gt;
|+ '''Version dependency table for Protégé Standalone &amp;amp; WebProtégé'''&lt;br /&gt;
|- style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|[http://protege.stanford.edu/download/protege/3.5/installanywhere/Web_Installers/ Protégé 3.5 or newer release] ||&lt;br /&gt;
[http://wp-obs.stanford.edu/downloads/wp-r1.0/webprotege_r1.0.war.zip WebProtege 1.0]&amp;amp;nbsp;&amp;amp;nbsp;(2013-Apr-25)&lt;br /&gt;
|- style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|[http://protege.stanford.edu/download/protege/3.4/installanywhere/Web_Installers/ Protégé 3.4.8 release] &amp;lt;br /&amp;gt; [http://protege.cim3.net/download/3.5/installanywhere/ Protégé 3.5 beta or newer release] ||&lt;br /&gt;
[http://protegewiki.stanford.edu/images/3/34/WebProtege_2012.09.19.war.zip WebProtege 1.0 RC1]&amp;amp;nbsp;&amp;amp;nbsp;(2012-Sept-19)&lt;br /&gt;
|- style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|[http://protege.cim3.net/download/old-releases/3.4.6/installanywhere/Web_Installers/ Protégé 3.4.6 release] ||&lt;br /&gt;
[http://protegewiki.stanford.edu/images/2/21/Webprotege_2011.05.28.war.zip 0.5 beta, build 501]&amp;amp;nbsp;&amp;amp;nbsp;(2011-May-28)&amp;lt;br /&amp;gt;&lt;br /&gt;
[http://protegewiki.stanford.edu/images/9/97/Webprotege_2011.05.13.war.zip 0.5 beta, build 500]&amp;amp;nbsp;&amp;amp;nbsp;(2011-May-13)&lt;br /&gt;
|- style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|[http://protege.cim3.net/download/old-releases/3.4.4/installer/ Protégé 3.4.4 release] ||&lt;br /&gt;
[http://protegewiki.stanford.edu/images/f/f2/Webprotege_2010.05.12.war.zip 0.5 alpha, build 300]&amp;amp;nbsp;&amp;amp;nbsp;(2010-May-12)&lt;br /&gt;
|- style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|[http://protege.cim3.net/download/old-releases/3.4.1/full/ Protégé 3.4.1 release] ||&lt;br /&gt;
[http://protege.stanford.edu/download/webprotege/0.5/webprotege.war 0.5 alpha, build 200]&amp;amp;nbsp;&amp;amp;nbsp;(2009-Aug-14)&amp;lt;br /&amp;gt;&lt;br /&gt;
[http://protege.stanford.edu/download/webprotege/0.5/webprotege-0.5.103.war 0.5 alpha, build 103]&amp;amp;nbsp;&amp;amp;nbsp;(2009-Aug-01)&lt;br /&gt;
|- style=&amp;quot;text-align:center;&amp;quot;&lt;br /&gt;
|[http://protege.cim3.net/download/old-releases/3.4/full/ Protégé 3.4 release] ||&lt;br /&gt;
[http://protege.stanford.edu/download/webprotege/0.5/webprotege-0.5.102.war 0.5 alpha, build 102]&amp;amp;nbsp;&amp;amp;nbsp;(2009-Apr-03)&lt;br /&gt;
|- style=&amp;quot;text-align:center;&amp;quot;&lt;br /&gt;
|[http://protege.cim3.net/download/old-releases/3.4%20betas/build-513/full/ Protégé 3.4 beta, build 513] || [http://protege.stanford.edu/download/webprotege/0.5/webprotege-0.5.101.war 0.5 alpha, build 101]&amp;amp;nbsp;&amp;amp;nbsp;(2008-Oct-25)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Configure the Protégé server's metaproject ==&lt;br /&gt;
&lt;br /&gt;
The Protégé server controls the list of projects that users see in WebProtégé.  It also controls which users have access to which projects.  Administrators can modify this information in the &amp;quot;metaproject&amp;quot;, which is a frame-based ontology that models permissions.  A more [[Protege_Client_Server_Tutorial_Configuration#The_Metaproject|detailed explanation of the metaproject]] is available in the Protégé Client-Server Tutorial.&lt;br /&gt;
&lt;br /&gt;
Launch Protégé and open the metaproject.pprj file located in the examples/server directory.  Please note that you must use a version of the Protégé application that is compatible with the build of WebProtégé you are using.  There is a version dependency table at the top of this guide.&lt;br /&gt;
&lt;br /&gt;
Select the '''User''' class in the Class Hierarchy and click the Create Instance button in the Instance Browser pane to create a new user.  Fill in &amp;quot;webprotege&amp;quot; as the Name and Password for this user.  This user is used internally by WebProtégé when communicating with the Protégé server.  To follow is a screenshot of the metaproject after this edit:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding-top:5px; padding-bottom:5px;&amp;quot;&amp;gt;&lt;br /&gt;
[[Image:Webprotege-configure-metaproject.jpg|thumb|600px|none|Metaproject after addition of &amp;quot;webprotege&amp;quot; user]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At this point, you can also add new users and/or delete any example users that come with the default installation of Protégé.  You can also click on the '''Project''' class to configure the list of projects that will be available to users of WebProtégé.  Please note that the '''Location''' property for projects should be relative the the directory where the Protégé server is running (the root directory of your Protégé installation).&lt;br /&gt;
&lt;br /&gt;
''Don't forget to save your changes to the metaproject before continuing with the next steps.''&lt;br /&gt;
&lt;br /&gt;
== Start the Protégé server ==&lt;br /&gt;
&lt;br /&gt;
WebProtégé requires an instance of the Protégé server to be running.  Detailed instructions for starting the server are [[Protege_Client-Server_Tutorial#Starting_and_Testing_the_Server|provided in the Protégé Client-Server Tutorial]].&lt;br /&gt;
&lt;br /&gt;
There is a known issue with Java 1.6.0_29 and Java 1.7 related to starting the Protégé server. Read more [[Troubleshooting_Client_Server_Connections#Java_1.6.0_29_and_1.7_rmiregistry_issue|here]].&lt;br /&gt;
&lt;br /&gt;
== Deploy the WebProtégé WAR file ==&lt;br /&gt;
&lt;br /&gt;
Deploy the WebProtégé WAR file into your Servlet container.  The procedure for doing this will be specific to which Servlet container you are using.  At [[Stanford_Center_for_Biomedical_Informatics_Research|BMIR]], we are currently using the latest version of [http://tomcat.apache.org/download-55.cgi Tomcat 5.5].  If you are also using Tomcat, you can use the following steps to deploy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Start Tomcat&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Copy webprotege.war into the webapps folder&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Tomcat will unpack the WAR file and the exploded file structure should look like the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding-top:5px; padding-bottom:5px;&amp;quot;&amp;gt;&lt;br /&gt;
[[Image:Webprotege-in-tomcat.jpg|thumb|600px|none|WebProtégé deployed in Tomcat]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Edit the protege.properties file ==&lt;br /&gt;
&lt;br /&gt;
Open the protege.properties file, located in &amp;lt;your-servlet-container&amp;gt;/webprotege.  Edit the following property by changing the value from false to true:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;load.ontologies.from.protege.server=true&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save your changes and restart your Servlet container.&lt;br /&gt;
&lt;br /&gt;
== Configure the Collaborative Protégé JNLP file (optional) ==&lt;br /&gt;
If you are running WebProtégé in the ''External Server Mode'', users may launch a Protégé desktop client using [http://java.sun.com/javase/technologies/desktop/javawebstart/index.jsp Java Web Start technology]. This means that users can browse and edit the same ontology both in a desktop application and in a web browser. Changes made in either client (desktop or WebProtégé) will immediately be seen by the other clients.&lt;br /&gt;
&lt;br /&gt;
In order for this functionality to work properly, it is necessary to edit the collabProtege_OWL.jnlp file in the root directory of the WebProtégé application.  Edit the codebase attribute in the JNLP file to match the base URL of WebProtégé on your server:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;jnlp spec=&amp;quot;1.5+&amp;quot; codebase=&amp;quot;http://localhost:8080/webprotege&amp;quot; href=&amp;quot;collabProtege_OWL.jnlp&amp;quot;&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If a user launches a Protégé client, they are presented with a dialog that requires them to enter the host machine name:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding-top:5px; padding-bottom:5px;&amp;quot;&amp;gt;&lt;br /&gt;
[[Image:Connect-remote-host-dialog.jpg|none]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is easier for users if the host machine name is auto-filled.  This can be configured by uncommenting the argument element in application-desc and filling in your host machine name.  An example is provided in the default installation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;application-desc main-class=&amp;quot;edu.stanford.smi.protege.Application&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;!-- &amp;lt;argument&amp;gt;-propedu.stanford.smi.protege.server.ServerPanel.host_name=bmir-protege-dev1.stanford.edu:5200&amp;lt;/argument&amp;gt; --&amp;gt;&lt;br /&gt;
  &amp;lt;argument&amp;gt;-propui.welcomedialog.start.in.server.panel=true&amp;lt;/argument&amp;gt;   &lt;br /&gt;
  &amp;lt;argument&amp;gt;-propserver.client.preload.skip=true&amp;lt;/argument&amp;gt;&lt;br /&gt;
  &amp;lt;argument&amp;gt;-propedu.stanford.smi.protege.server.ServerPanel.user_name=Your_user_name_here&amp;lt;/argument&amp;gt;&lt;br /&gt;
&amp;lt;/application-desc&amp;gt; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Test the WebProtégé installation =&lt;br /&gt;
&lt;br /&gt;
After you have completed all of the installation steps, launch a Web browser and enter the following URL:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;http://your-host-name[:your-optional-port-name]/webprotege/WebProtege.html&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you have successfully installed WebProtégé, you will see the '''My WebProtégé''' tab with the list of available ontologies for users to edit:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding-top:5px; padding-bottom:5px;&amp;quot;&amp;gt;&lt;br /&gt;
[[Image:Webprotege-install-success.jpg|none|frame|A successful install of WebProtégé !!]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= WebProtégé configuration =&lt;br /&gt;
&lt;br /&gt;
== Configuring projects, users and access policies ==&lt;br /&gt;
&lt;br /&gt;
In both running modes (local and external server), you may configure the projects loaded into WebProtégé (the ones shown in the ''My WebProtégé'' tab), the users and their groups, and the access policies for each project. These configurations are made in the ''metaproject'' file.&lt;br /&gt;
&lt;br /&gt;
We have very detailed instructions on how to configure the metaproject in this [[Protege_Client_Server_Tutorial_Configuration|user guide]].&lt;br /&gt;
&lt;br /&gt;
In '''Local Mode''', the ''metaproject'' is located by default in ''&amp;lt;your-servlet-container&amp;gt;/webapps/webprotege/projects/metaproject''. In '''External Server Mode''', the metaproject is located by default in the Protégé installation directory where you started the Protégé server/''examples/server'' subfolder.&lt;br /&gt;
&lt;br /&gt;
The '''access policies''' currently enforced in WebProtégé are the ''Read'',''Write'' and ''DisplayInProjectsList'' policies.&lt;br /&gt;
&lt;br /&gt;
'''Note'''. If you run WebProtégé in the ''External Server Mode'', the metaproject from '&amp;lt;your-servlet-container&amp;gt;/webapps/webprotege/projects/metaproject'' has no function. This metaproject is only used if you run in ''Local Mode''. The metaproject used by the ''External Server Mode'' is the one used by the Protégé server.&lt;br /&gt;
&lt;br /&gt;
== Configuring the WebProtégé operation ==&lt;br /&gt;
&lt;br /&gt;
You may configure other parameters of the WebProtégé operation by editing the ''protege.properties'' from the ''&amp;lt;your-servlet-container&amp;gt;/webapps/webprotege/war'' folder.&lt;br /&gt;
&lt;br /&gt;
Below is a list of supported properties.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Set to true to use WebProtégé in external server (client-server) mode; default false&lt;br /&gt;
load.ontologies.from.protege.server=true&lt;br /&gt;
&lt;br /&gt;
# In local mode, you may specify an alternative location for the metaproject&lt;br /&gt;
local.metaproject.path=/tmp/metaproject.pprj&lt;br /&gt;
&lt;br /&gt;
# Hostname of the Protégé server to be used if WebProtégé runs in external server (client-server) mode. It can also contain a port number&lt;br /&gt;
server.hostname=localhost&lt;br /&gt;
&lt;br /&gt;
# User name that WebProtégé uses to connect to the Protégé server, if WebProtégé runs in external server (client-server) mode&lt;br /&gt;
webprotege.user=webprotege&lt;br /&gt;
&lt;br /&gt;
# Password that WebProtégé uses to connect to the Protégé server, if WebProtégé runs in external server (client-server) mode&lt;br /&gt;
webprotege.password=webprotege&lt;br /&gt;
&lt;br /&gt;
# Automatic save interval for the projects, if WebProtégé runs in local mode (recommended to use database backend)&lt;br /&gt;
server.save.interval.sec=120 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Configuring the user interface layout ==&lt;br /&gt;
&lt;br /&gt;
All the layout in WebProtégé is configurable: all the tabs, the layout of the tabs, portlets, etc. can be configured, so that WebProtégé can be customized for different projects.&lt;br /&gt;
&lt;br /&gt;
The layout configuration is described on this [[WebProtegeLayoutConfig|page]].&lt;br /&gt;
&lt;br /&gt;
== Run WebProtege over https ==&lt;br /&gt;
&lt;br /&gt;
To run WebProtege over https there are a few easy configurations that need to be done, which are documented on [[WebProtegeHttpsLogin|this page]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Troubleshooting =&lt;br /&gt;
&lt;br /&gt;
== Always look first at the log files ==&lt;br /&gt;
&lt;br /&gt;
WebProtégé tries to help you by writing out log messages when something goes wrong. If you report a problem on the mailing list, please make sure that you also include the log files, otherwise it is hard for us to help.&lt;br /&gt;
&lt;br /&gt;
'''Location of log files''':&lt;br /&gt;
&lt;br /&gt;
* ''Servlet container'': Check the documentation of your servlet container to get the log files location. In Tomcat, the logs are in the ''&amp;lt;tomcat_install_folder&amp;gt;''/logs/catalina.out&lt;br /&gt;
* ''Protégé server'': If you are running WebProtégé in External Server Mode, then the Protégé server will print out messages in the console where you have started the Protégé server using the run_protege_server script. Always look there first. The Protégé server log files are located in the folder where you started the Protégé server in the ''logs'' subfolder.&lt;br /&gt;
&lt;br /&gt;
When start WebProtégé, you should see a message printed in the servlet container log file (catalina.out in Tomcat):&lt;br /&gt;
&lt;br /&gt;
'''Local mode''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
WebProtégé running in: /usr/share/tomcat5.5/webapps/web-protege/web-protege/war/&lt;br /&gt;
Path to local metaproject: /usr/share/tomcat5.5/webapps/web-protege/war/projects/metaproject/metaproject.pprj&lt;br /&gt;
WebProtégé server running with local projects&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''External server mode''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
WebProtégé running in: /usr/share/tomcat5.5/webapps/web-protege/web-protege/war/&lt;br /&gt;
WebProtégé server running with remote projects loaded from the Protégé server: localhost&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting the Local Mode ==&lt;br /&gt;
&lt;br /&gt;
'''1. No ontologies are showing up in ''My WebProtégé'' tab'''&lt;br /&gt;
&lt;br /&gt;
If this is a default configuration, then the metaproject used to configure the projects is located in: ''&amp;lt;your-servlet-container&amp;gt;/webapps/webprotege/projects/metaproject''.&lt;br /&gt;
&lt;br /&gt;
Check the servlet container log (e.g., catalina.out) to see where the metaproject is loaded from (see above). If you have changed the default location of the local metaproject in the protege.properties file, then make sure that the file exist and is loaded from that location. If it is not found, you will see an error log message. &lt;br /&gt;
&lt;br /&gt;
Check the access policies in the metaproject. If you are not logged into WebProtégé, the projects shown in the ''My WebProtégé'' tab are the ones that the group ''World'' has access to. Make sure that the group ''World'' has the ''Read'' and ''DisplayInProjectList'' access policies attached to the projects you want to see by default in ''My WebProtégé'' tab.&lt;br /&gt;
&lt;br /&gt;
Restart the servlet container to see the changes.&lt;br /&gt;
 &lt;br /&gt;
'''2. Cannot open project error, or project is empty '''&lt;br /&gt;
&lt;br /&gt;
This usually happens when the path of a project in the metaproject is wrong. Check the servlet container log. You will see something like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Loading project Pizza from file:/work/src/GWT/web-protege/web-protege/war/projects/pizza_does_not_exist/pizza.owl.pprj&lt;br /&gt;
SEVERE: Unable to load project from: file:/work/src/GWT/web-protege/web-protege/war/projects/pizza_does_not_exist/pizza.owl.pprj -- Project.getProjectInstancesReader()&lt;br /&gt;
WARNING: There were errors at loading project Pizza Errors: [edu.stanford.smi.protege.util.MessageError@300a3c] -- ProjectManager.openProjectLocal()&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Fix the path of the project in the metaproject, restart WebProtégé and the servlet container, and try again.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting the External Server Mode ==&lt;br /&gt;
&lt;br /&gt;
'''1. Cannot not start the Protégé server'''&lt;br /&gt;
&lt;br /&gt;
Please refer to the [[Troubleshooting_Client_Server_Connections|troubleshooting section]] of the client-server Protégé.&lt;br /&gt;
&lt;br /&gt;
'''2. No ontologies are showing up in ''My WebProtégé'' tab'''&lt;br /&gt;
&lt;br /&gt;
Check the servlet container and the Protégé server logs for error messages.&lt;br /&gt;
&lt;br /&gt;
Check the access policies in the metaproject. If you are not logged into WebProtégé, the projects shown in the ''My WebProtégé'' tab are the ones that the group ''World'' has access to. Make sure that the group ''World'' has the ''Read'' and ''DisplayInProjectList'' access policies attached to the projects you want to see by default in ''My WebProtégé'' tab.&lt;br /&gt;
&lt;br /&gt;
Restart the Protégé server and the servlet container to see the changes.&lt;br /&gt;
&lt;br /&gt;
'''3. You get a message in a window saying that &amp;quot;Load project XYZ failed.&amp;quot; '''&lt;br /&gt;
&lt;br /&gt;
Please check the following things in this order:&lt;br /&gt;
&lt;br /&gt;
* Check the servlet container and the Protégé server logs for error messages.&lt;br /&gt;
* Check that the Protégé server is still running. Look in the Protégé server log for exceptions. You may see some of the following messages:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
WARNING: Missing project at examples/newspaper/newspaper.pprj -- Server.getAvailableProjectNames()&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This means that the project path is misconfigured in the metaproject. Fix the path and restart the Protégé server and the servlet container to see the changes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
WARNING: Failed to open project: Session(id=3, user=webprotege) tried to open project Collaborative Pizza, but project is closed for maintenance -- Server.openProject()&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This means that the project is closed for maintainance. To check and change the status of a project on the Protégé server, you can use the [[Protege_Client_Server_Tutorial_Administration|Server Admin application]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
java.lang.OutOfMemoryError: Java heap space&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This means that the Protégé server has run out of memory. You need to increase the heap size available to the Protégé server in the &amp;lt;code&amp;gt;run_protege_server&amp;lt;/code&amp;gt; script. Edit the line that contains the &amp;lt;code&amp;gt;-Xmx500M&amp;lt;/code&amp;gt; and increase the amount of memory. We have some recommendations about setting the heap size [[Setting_Heap_Size|here]]. It is also not recommended that you use a file backend on the Protégé server, but rather use a database backend, that decreases the amount of memory needed and it is much safer in the case the Protégé server or the machine crashes. More information about this [[Protege_Client_Server_Tutorial_Setup#Which_type_of_back-end_to_use_.28database_vs._file-based.29_in_client-server_mode|here]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In any of these cases, '''restart the Protégé server and the servlet container to see the changes'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You may see other exceptions in the log, which should give you an idea what went wrong. '''If you report a problem on the Protégé mailing lists, make sure to include the logs in your post'''.&lt;br /&gt;
&lt;br /&gt;
* If you do not see any exceptions in the logs, then start a Protégé desktop client and connect to the Protege server that is also used by WebProtégé. Instructions on how to connect a Protégé client to a Protégé server are available [[Protege_Client_Server_Tutorial_Setup#Testing:_Connect_a_Client_to_the_Server|here]]. Try to log in with the WebProtégé user and password (default user name: webprotege, password: webprotege). If you cannot log in, it means that you have forgot to create a user and password ''webprotege'' in the metaproject. (This only applies for the case in which you run WebProtégé in External Server Mode).&lt;br /&gt;
&lt;br /&gt;
Another thing that might go wrong is that the Protégé jars used by WebProtégé and the Protégé server versions are not the same. Please look on this wiki page in the ''Install'' section for the table of correspondence between the WebProtégé release and the Protégé serve versionr. Make sure that you are running compatible Protégé server and WebProtégé versions.&lt;br /&gt;
&lt;br /&gt;
'''4. Cannot log in WebProtégé'''&lt;br /&gt;
&lt;br /&gt;
Probably you are trying to connect with the wrong user/password combination. To test this, start a Protégé desktop client and connect to the Protégé server that is also used by WebProtégé. Instructions on how to connect a Protégé client to a Protégé server are available [[Protege_Client_Server_Tutorial_Setup#Testing:_Connect_a_Client_to_the_Server|here]]. Try to log in with the user name and password that you tried in WebProtégé. If you do not succeed, then check the Protégé server metaproject, to check the valid user/password combination. If you do succeed, then check the Protégé server logs and the servlet container logs for any other error messages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Where to get more help ==&lt;br /&gt;
&lt;br /&gt;
If you have trouble installing WebProtégé, please send email to the [https://mailman.stanford.edu/mailman/listinfo/webprotege-feedback WebProtege mailing list].&lt;br /&gt;
&lt;br /&gt;
It is difficult for us to help in the absence of error messages. ''' Please check the log files for your Servlet container and include the text of any exceptions written out'''.&lt;br /&gt;
&lt;br /&gt;
If you are unsure how to subscribe to our mailing lists, please see the [http://protege.stanford.edu/doc/faq.html Mailing Lists section] of our FAQ.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Go back to [[WebProtege|WebProtégé main page]].'''&lt;br /&gt;
&lt;br /&gt;
[[Category:WebProtege documentation]]&lt;/div&gt;</summary>
		<author><name>TaniaTudorache</name></author>	</entry>

	</feed>