You are on page 1of 43

Use Case Document

TIBCO Activespaces

TIBCO ACTIVESPACES
USAGE AND USECASES
IN SANDBOX
1. Pre-requisites
a. jdk-8u25-windows-i586
b. TIB_rv_8.3.2_win_x86_vc8
2. Binaries Used
a. TIB_activespaces_2.1.2_win_x86
b. TIB_activespaces-addon_2.1.2_win_x86
c. TIB_bwpluginactivespaces_2.0.0_win_x86
d. Spacebar-2.1-win32.win32.x86
3. Installation Directory
a. E:\tibco
4. Resources Tested on
a. 32 bit architecture
b. 4 cores
c. 24 GB RAM
d. 40GB HDD
5. OS Details (Installed with Administrator OS User.)
a. Server <Server IP Address>
b. Administrator user password :- <default>

Use of TIBCO Activespaces


a. Start asmm
1 | Page

Reliance Industries Limited

Use Case Document


1.
2.
3.
4.
5.
6.

TIBCO Activespaces

Reliance Industries Limited

Open Command Prompt


E:
cd tibco\as\2.1\asmm\
java jar asmm.jar
open the browser
http://10.128.21.221:8686

b. Start as-agent and create a metaspace


1.
2.
3.
4.

5.
6.
7.
8.

Open another command prompt


E:
cd tibco\as\2.1\bin
as-agent.exe name <name of the member>
-metaspace <metaspace name> -discovery
<discovery url> -listen <listen url>,
Example :- as-agent.exe name hari
metaspace asm discovery
tcp://10.128.21.221:3011 listen
tcp://10.128.21.221:3011
Your metaspace would be created and one
member hari would be connected.
Open the browser and check in the asmm url
by giving the credentials you provided
<except the listen url>
You should see the metaspace connected.
Also in the command line you will see
another member stat-server added which
belongs to the asmm.

c. Create a space
i. From as-admin
1.
2.
3.
4.

Open a new command prompt


E:
Cd \tibco\as\2.1\bin
as-admin.exe name <name of the member>
-metaspace <metaspace name> -discovery
<discovery url> -listen <listen url>
5. create space <space name>, Example :create space myspace
ii. From Designer

2 | Page

Use Case Document

3 | Page

TIBCO Activespaces

Reliance Industries Limited

Use Case Document

4 | Page

TIBCO Activespaces

Reliance Industries Limited

Use Case Document

5 | Page

TIBCO Activespaces

Reliance Industries Limited

Use Case Document

6 | Page

TIBCO Activespaces

Reliance Industries Limited

Use Case Document

7 | Page

TIBCO Activespaces

Reliance Industries Limited

Use Case Document

8 | Page

TIBCO Activespaces

Reliance Industries Limited

Use Case Document

9 | Page

TIBCO Activespaces

Reliance Industries Limited

Use Case Document

10 | P a g e

TIBCO Activespaces

Reliance Industries Limited

Use Case Document

11 | P a g e

TIBCO Activespaces

Reliance Industries Limited

Use Case Document

12 | P a g e

TIBCO Activespaces

Reliance Industries Limited

Use Case Document

13 | P a g e

TIBCO Activespaces

Reliance Industries Limited

Use Case Document

TIBCO Activespaces

iii. From Spacebar

14 | P a g e

Reliance Industries Limited

Use Case Document

15 | P a g e

TIBCO Activespaces

Reliance Industries Limited

Use Case Document

16 | P a g e

TIBCO Activespaces

Reliance Industries Limited

Use Case Document

17 | P a g e

TIBCO Activespaces

Reliance Industries Limited

Use Case Document

18 | P a g e

TIBCO Activespaces

Reliance Industries Limited

Use Case Document

19 | P a g e

TIBCO Activespaces

Reliance Industries Limited

Use Case Document

20 | P a g e

TIBCO Activespaces

Reliance Industries Limited

Use Case Document

21 | P a g e

TIBCO Activespaces

Reliance Industries Limited

Use Case Document

22 | P a g e

TIBCO Activespaces

Reliance Industries Limited

Use Case Document

23 | P a g e

TIBCO Activespaces

Reliance Industries Limited

Use Case Document

24 | P a g e

TIBCO Activespaces

Reliance Industries Limited

Use Case Document

25 | P a g e

TIBCO Activespaces

Reliance Industries Limited

Use Case Document

26 | P a g e

TIBCO Activespaces

Reliance Industries Limited

Use Case Document

USE CASES:27 | P a g e

TIBCO Activespaces

Reliance Industries Limited

Use Case Document

TIBCO Activespaces

Reliance Industries Limited

SCENARIO # 1
We already have
1. A metaspace asm running on discovery & Listen node
tcp://10.128.21.221:3011
What we need to achieve
1. Import data in a space using spacebar from an excel file.
Issues Faced
1. How to determine the Primary Key.
2. How to define datatypes in header.
Solution:1. In The Excel file the data should be fed in this format.
empid[INTEGER name[STRING
key]
nullable]
2
Rakesh
3
Mayur
4
Prashansa
5
Vineeth
2. Here the Header is very important.
a. BOLD Letters in the field name signifies its a Primary Key
b. After naming the field we must mention its data type in square
brackets
c. Also we can mention whether it can take null values or not in the same
bracket.
d. The Most important thing:i. The name of the sheet would automatically be your Space
name.

28 | P a g e

Use Case Document

TIBCO Activespaces

Reliance Industries Limited

SCENARIO # 2
We have already
1. created a space ASM
2. added fields empid and name
3. filled in a few values to the two fields respectively
What we need to achieve
1. Introspect from the designer
2. Add more value 1 and Hari to the space from the designer
3. Set the persistence value to share all for the space
Issues Faced:1. Introspected spaces in the designer are non-editable
2. We cannot modify or manipulate the parameters in the introspected space.
Solution:1.
2.
3.
4.
5.
6.
7.
8.

After introspecting the space export the configuration as an XML.


Delete the space instance in the designer
Import the exported XML file
Make the editable changes
Create a space connection
Add the remaining data through put in a PD
Check the asmm browser.
You will find the changes updated in the space retaining the old data.

29 | P a g e

Use Case Document

30 | P a g e

TIBCO Activespaces

Reliance Industries Limited

Use Case Document

31 | P a g e

TIBCO Activespaces

Reliance Industries Limited

Use Case Document

32 | P a g e

TIBCO Activespaces

Reliance Industries Limited

Use Case Document

33 | P a g e

TIBCO Activespaces

Reliance Industries Limited

Use Case Document

34 | P a g e

TIBCO Activespaces

Reliance Industries Limited

Use Case Document

35 | P a g e

TIBCO Activespaces

Reliance Industries Limited

Use Case Document

36 | P a g e

TIBCO Activespaces

Reliance Industries Limited

Use Case Document

37 | P a g e

TIBCO Activespaces

Reliance Industries Limited

Use Case Document

38 | P a g e

TIBCO Activespaces

Reliance Industries Limited

Use Case Document

39 | P a g e

TIBCO Activespaces

Reliance Industries Limited

Use Case Document

40 | P a g e

TIBCO Activespaces

Reliance Industries Limited

Use Case Document

41 | P a g e

TIBCO Activespaces

Reliance Industries Limited

Use Case Document

42 | P a g e

TIBCO Activespaces

Reliance Industries Limited

Use Case Document

43 | P a g e

TIBCO Activespaces

Reliance Industries Limited