Skip to content

Commit

Permalink
Moving UserDatabase (UDB) handle to project context.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
IKCAP committed Nov 6, 2014
1 parent c1357a9 commit b5470c1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 69 deletions.
18 changes: 5 additions & 13 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -30,35 +30,27 @@ Installation
<user name="adminUser" password="adminPassword" roles="WingsUser,WingsAdmin" />


4. Add the following in /path/to/tomcat/conf/server.xml. The following Context section
should go inside the <Host..> Section.

<Context docBase="wings-portal" path="/wings-portal">
<ResourceLink name="users" global="UserDatabase"/>
</Context>


5. In /path/to/tomcat/conf/server.xml, add 'readonly="false"' to the UserDatabase Resource
4. In /path/to/tomcat/conf/server.xml, add 'readonly="false"' to the UserDatabase Resource

<Resource name="UserDatabase" ... readonly="false"/>


6. Start tomcat
5. Start tomcat
- $ /path/to/tomcat/bin/startup.sh


7. Login to http://<your-server-name>:8080/wings-portal/common/users
6. Login to http://<your-server-name>:8080/wings-portal/common/users
- From this UI, you can add or remove more users.
- Note: 8080 is the default Tomcat port, but this can be changed in server.xml


8. After first Login, go to $HOME/.wings directory and open portal.properties
7. After first Login, go to $HOME/.wings directory and open portal.properties
- Change /path/to/dot (graphviz) if it is set incorrectly
- Check that the server name is set correctly
- (Optional) Change any other settings if needed


9. To see a list of Domains to download, please go to http://www.wings-workflows.org/domains/
8. To see a list of Domains to download, please go to http://www.wings-workflows.org/domains/
- To Import a domain: From the "Manage Domains" interface, do the following:
- Add -> Import Domain
- Enter Domain Location: the url (or path) to the domain zip file
Expand Down

This file was deleted.

4 changes: 4 additions & 0 deletions portal/src/main/webapp/META-INF/context.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version='1.0' encoding='utf-8'?>
<Context>
<ResourceLink name="users" global="UserDatabase" />
</Context>

0 comments on commit b5470c1

Please sign in to comment.