Installing Seeded Users for BPM on Linux

In previous releases of Oracle SOA Suite users were seeded by default. This is not the case for Therefore we need to load them manually so we get the old name of jcooper, cdickens, etc. This post provide the steps to load these users so you can perform some basic allocation of tasks in BPM Suite. These users can also be used for SOA Suite Human Task activities as well.

1. Download the file provided here:

2. As the oracle user (or owner of BPM / SOA Suite) Unzip this file to a directory of your choice on the BPM / SOA Suite server. For reference I unzipped it in the /home/oracle directory

3.  Change directory to the demo-community folder

cd /home/oracle/demo-community

4. Edit the file to match your environment, e.g:

  • Set the admin server location


  • Set the middleware home, also called the bea home


  • Set the oracle and domain home.


  • Set the authentication

  • Use the managed server for the target or if single
    e.g. target=soa_server1 or target=AdminServer


5. Ensure the JAVA_HOME is correct. The java required is the java that is used to install BPM / SOA Suite. In may case I installed 1.6.0_20 into the /java directory.

java –version

should return the following. The version number should be the same as that which was installed for BPM / SOA Suite.

java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)

6. If the above is still pointing to the default install, e.g. 1.4.2_x then perform the following steps as root. Otherwise go to step 8. Please note these instructions are based on the fact that I have installed java in the /java directory. Change according to your environment.

echo 'export JAVA_HOME=/java/jdk1.6.0_20'>/etc/profile.d/

echo 'export PATH=$JAVA_HOME/bin:$PATH'>>/etc/profile.d/

source /etc/profile.d/

java –version should now return:

java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)

7. Log back in as the oracle user and change directory to the  demo-community done in step 2. Also check the version of java has now changed to the correct version as step 6.

cd /home/oracle/demo-community

8. Run ANT to load the users. If ANT is not in your path you may need to source it. For my environment the following works:

$MW_HOME/modules/org.apache.ant_1.7.1/bin/ant seedDemoUsers

9. Check that the script completed with no errors. Sometimes you can get a build successful when there were some errors. You should see something like this:

[exec] *****************************************************
[exec] ** End SOA specific environment setup
[exec] *****************************************************
[exec] *******************************************************
[exec] ** SOA specific environment is already set, skipping...
[exec] *******************************************************
[java] Initializing WebLogic Scripting Tool (WLST) ...
[java] Welcome to WebLogic Server Administration Scripting Shell
[java] Type help() for help on available commands
[java] --------------------------- Demo Community  ----------------------------------
[java] serverURL:
[java] Status :
[java] 200 OK
[java] Users/Groups Seeded :
[java] <html>
[java] <head>
[java] <title>Demo User Community</title>
[java] <link rel="stylesheet" type="text/css" href=""stylesheet.css"/>"
[java] </head>
[java] <body>
[java] <table border="1" style="background-color:#C8C8C8" align="center" width="70%">
[java] <tr>
[java] <td>
[java] <H1 ALIGN="CENTER">Seed Demo Community</H1>
[java] <BR><B>Users : </B>
[java] demoadmin
[java] cdickens
[java] wfaulk
[java] sfitzger
[java] jstein
[java] istone
[java] jcooper
[java] mtwain
[java] jlondon
[java] ltolstoy
[java] fkafka
[java] szweig
[java] mmitch
[java] jausten
[java] achrist
[java] rsteven
[java] cdoyle
[java] wshake
[java] JVerne
[java] EHEMING
[java] VHUGO
[java] <BR><B>Groups : </B>
[java] Supervisor
[java] LoanAnalyticGroup
[java] LoanAgentGroup
[java] California
[java] WesternRegion
[java] EasternRegion
[java] CentralRegion
[java] RegionalOffices
[java] Executives
[java] </td>
[java] </tr>
[java] </table>
[java] </body>
[java] </html>
[java] --------------------------- Grant AppRoles to Demo Community  --------
     [java] Connecting to t3:// with userid weblogic ...
     [java] Successfully connected to Admin Server 'AdminServer' that belongs to domain 'fmw_domain'.
     [java] Warning: An insecure protocol was used to connect to the
     [java] server. To ensure on-the-wire security, the SSL port or
     [java] Admin port should be used instead.
     [java] Location changed to domainRuntime tree. This is a read-only tree with DomainMBean as the root.
     [java] For more help, use help(domainRuntime)

Total time: 18 seconds


Hi James,
I am trying to add user to the myrealm in weblogic using WebLogic console application. I am not able to figure out how to specify the manager for the newly created user. For instance cdoyle has rsteven specified as his manager, I can see this information while searching for users in BPM but when in weblogic console I can not figure out how to specify the manager-reportee relationship.

Posted by Hemant on August 26, 2010 at 01:59 PM GMT-11:00 #


Not sure this can be done via the console as the attributes don't provide a manager.

I do it by using this ulility and edit the default-demo-community.xml. In the oc4j days I edited the users-properties.xml, but this doesn't seem to exist in 11g.


Posted by James Taylor on August 29, 2010 at 04:58 PM GMT-11:00 #


I've tried to install this on the BPM Suite 11gR1 PS3
but end up with the following error during the deployment step:

[java] [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: oracle.soa.workflow, exact-match: false].

What steps can I take to solve this?
Regards Léon

Posted by Leon Smiers on February 11, 2011 at 02:09 PM GMT-11:00 #

Had to change the target to AdminServer instead of soa_server1. I had decided to place the SOA server on the AdminServer.


Posted by Leon Smiers on February 11, 2011 at 02:28 PM GMT-11:00 #

Installing_seeded_users_for_bpm_11113_on_linux.. Awesome :)

Posted by on April 21, 2011 at 08:18 PM GMT-11:00 #

I get this error. My SOA Server is in a cluster as a single node managed server.

[java] Problem invoking WLST - Traceback (innermost last):
[java] File "/weblogic/install/demo-community/./scripts/", line 61, in ?
[java] File "/weblogic/install/demo-community/./scripts/", line 42, in WLSMbeanGrantSOAAppRoleImpl
[java] at weblogic.rjvm.ResponseImpl.unmarshalReturn(
[java] at weblogic.rmi.internal.BasicRemoteRef.invoke(
[java] at Source)
[java] at$
[java] at
[java] at
[java] at
[java] at
[java] at$RemoteMBeanServerConnection.invoke(
[java] COMMAND FAILED due to an unknown reason, Check the stack trace for details
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(
[java] at java.lang.reflect.Method.invoke(
[java] Cannot add principal to application role.

Posted by Wiz on August 02, 2011 at 02:58 AM GMT-11:00 #

Unsure, clustering should not be an issue as long as the connection details are correct.

Is this the full stack trace?

from the command line, if you type the command

java -version

Does it come back with 1.6.0_XX?


Posted by James Taylor on August 03, 2011 at 09:35 AM GMT-11:00 #

how to set a configured target??
i have a err:

[echo] Deploying SOATestDemoApp.....
[echo] Deploy Arg Line : ${deploy.arg.line}
[java] weblogic.Deployer invoked with options: -adminurl t3://localhost:71
01 -username weblogic -deploy -name SOATestDemoApp -source ./SOATestDemoApp.ear
-targets AdminServer
[java] 'AdminServer' is not a configured target.
[java] Java Result: 1


Posted by guest on March 23, 2012 at 01:21 AM GMT-11:00 #

Not sure if that is the complete statck trace but 71, seems like an odd port for your AdminServer.

If you are able to connect to the AdminServer console via a browser this is all you need to do. in the properties file you need to provide the right values for that AdminServer.


Posted by James Taylor on March 23, 2012 at 07:52 AM GMT-11:00 #


I have the same problem with
Could you tell me what this script do and why I could get error Cannot add principal to application role.

Regards Kuba

Posted by guest on June 28, 2012 at 06:23 AM GMT-11:00 #

Not sure what the solution to this was, but can you check that step 5 comes back with 1.6.0_XX version.


Posted by James Taylor on June 28, 2012 at 10:19 AM GMT-11:00 #

I think the issue is with the listenAddress of your server (Admin or managed). I was targeting the admin server and for some reason the listen address was empty when I looked at it through the admin console. I overrode the value in the start up script with -Dweblogic.ListenAddress=localhost and then tried it. It seems to have worked. The other option is to update the listenAddress through the admin console, restert server and try again.

Posted by guest on October 23, 2012 at 01:55 PM GMT-11:00 #

Post a Comment:
  • HTML Syntax: NOT allowed

Discussions and Examples using Oracle Platform As a Service (PaaS) and Oracle Fusion Middleware. Some image links are broken when using Firefox, Safari, and Chrome. If you want to see the full image please use IE.


tumblr hit counter vistors, thanks for your support


« July 2016