|
WS MQ WF
See
SH12-6288-09, chapter 5
:
- Hardware
- RAM : 256 MB required, 512 MB sugested
- HD : 2 GB recommended
- Software
- W2K SP3 or NT 4.0 with SP6a
- MQ v 5.3.1
- DB2 7.1 or 8.1 (7.2.1)
- WAS 3.5, 4.0 or 5.0 (Web Client)
|
|
W2K
- SP2
- SP3
- SP4 (?) : KB835732
- display current level :
- use "Start" + "Settings" + "Control Panel" + "Add/remove Programs"
to see W2K SP's.
- use "Start" + "Settings" + "Control Panel" + "System"
to see SPn.
- Windows 2000 fixes URLs :
|
|
MQ
- MQ Server 5.3 (WebSphere DEMOpkg 1Q2003 - CD 12 : v 5.3.1)
- product level : use MQVER command.
More (as MQRC)
- Basic MQ :
WF Installation Guide, SH12-6288-09, Appendix B.
- Books :
-
URL - WebSphere Library.
-
URL - MQ Manuals.
-
Install "WebSphere MQ Information Center"
from the "WebSphere MQ Documentation" CD
MQ documentation is supplied separately on a CD-ROM
alongside the product (HTML [SK3T-6970-00] & PDF [SK3T-6971-00] formats).
- default path :
C:\Program Files\IBM\WebSphere MQ\
- error log's :
-
C:\Program Files\IBM\WebSphere MQ\Errors\
-
C:\Program Files\IBM\WebSphere MQ\Qmgrs\WASQM\errors\
- Solaris :
- SunTEST :
/var/mqm/qmgrs/SUNQM1/errors/
- DDBBVA-15K :
/var/mqm/qmgrs/QMDDWF/errors/
|
|
DB2
- DB2 v 8.1
- DB2 FixPack 6
- errors SQL : "DB2CMD" + "DB2 ? SQL1224", por ejemplo.
- product level : use "DB2LEVEL" command
-
Homepage :
- Manuals
V 8
- FixPacks URL :
here
[thanks, Luis]
Then you have to select the correct directory for the platform and db2 version you are using.
eg: db2winIA32v8 is for DB2 v8 on Windows 32 bit platforms.
db2winv7 is for DB2 v7 on Windows 32 bit platforms.
etc, etc, etc !!
For DB2 V7, fix pack 12 is the latest.
If you install v7.1 base,you have to install FP3 and then FP12.
If you install v7.2 base install just the FP12 is enough.
This means FP12 is cumulative since FP4.
For DB2 V8, fix pack 6 is the latest and it is cumulative.
- Error log :
DB2DIAG.LOG, usualy at Path ... C:\Program Files\IBM\SQLLIB\DB2
- Basic DB2 :
WF Installation Guide, SH12-6288-09, Appendix A.
Few commands :
- DB2LEVEL - ver version DB2 y parches.
- DB2LICM -L : ver el estado de las licencias.
- DB2SAMPL - ?
- DB2STAT
- DB2SET -all
- DB2CMD
- DB2 LIST APPLICATIONS
- DB2 ?
- DB2 ? IMPORT
- DB2 ? SQL1224 = explicacion del error "SQL1224"
- ...
- DB2ILIST
- DB2 GET INSTANCE
- DB2 GET DBM CFG
- DB2ADMIN /h - help
- DB2ADMIN SETID user clau
- DB2ADMIN START
- use Health Center
- DB2START
- DB2STOP FORCE
- DB2 BACKUP nomDB TO path
- DB2 RESTORE
- Magazine : www.db2mag.com
db2 => ?
ACTIVATE DATABASE FORCE APPLICATION PREP/PRECOMPILE
ADD CONTACT GET/RESET/UPDATE ADMIN CFG PRUNE HISTORY/LOGFILE
ADD CONTACTGROUP GET ALERT CFG QUIESCE INSTANCE
ADD DATALINKS MANAGER GET AUTHORIZATIONS QUIESCE TABLESPACES
ADD DBPARTITIONNUM GET CONNECTION STATE QUERY CLIENT
ARCHIVE LOG GET CONTACTGROUP QUIESCE DATABASE
ATTACH GET CONTACTGROUPS QUIT
AUTOCONFIGURE GET CONTACTS REBIND
BACKUP DATABASE GET DESCRIPTION RECONCILE
BIND GET HEALTH SNAPSHOT REDISTRIBUTE DB PARTITION GROUP
CATALOG APPC NODE GET INSTANCE REFRESH LDAP
CATALOG APPCLU NODE GET MONITOR SWITCHES REGISTER
CATALOG APPN NODE GET NOTIFICATION LIST RELEASE
CATALOG DATABASE GET RECOMMENDATIONS REORG
CATALOG DCS DATABASE GET ROUTINE REORGCHK
CATALOG GLOBAL DATABASE GET SNAPSHOT RESET ALERT CFG
CATALOG LDAP DATABASE GET/UPDATE CLI CFG RESET MONITOR
CATALOG LDAP NODE GET/RESET/UPDATE DB CFG RESTART DATABASE
CATALOG LOCAL NODE GET/RESET/UPDATE DBM CFG RESTORE DATABASE
CATALOG NETBIOS NODE HELP REWIND TAPE
CATALOG NPIPE NODE HISTORY ROLLFORWARD DATABASE
CATALOG ODBC DATA S. IMPORT RUNCMD
CATALOG TCPIP NODE INITIALIZE TAPE RUNSTATS
CHANGE DATABASE COMMENT INSPECT SET CLIENT
CHANGE SQLISL INVOKE SET CONNECTION
CONNECT LIST ACTIVE DATABASES SET RUNTIME DEGREE
CONNECT RESET LIST APPLICATIONS SET TABLESPACE CONTAINERS
CONNECT TO LIST BACKUP/HISTORY SET TAPE POSITION
CREATE DATABASE LIST COMMAND OPTIONS SET UTIL_IMPACT_PRIORITY
CREATE TOOLS CATALOG LIST DATABASE DIRECTORY TERMINATE
DB2START/DB2STOP LIST DATALINKS MANAGERS UNCATALOG DATABASE
DEACTIVATE DATABASE LIST DCS APPLICATIONS UNCATALOG DCS DATABASE
DEREGISTER LIST DCS DIRECTORY UNCATALOG LDAP DATABASE
DESCRIBE LIST INDOUBT TRANSACTIONS UNCATALOG LDAP NODE
DETACH LIST NODE DIRECTORY UNCATALOG NODE
DISCONNECT LIST DB PARTITION GROUPS UNQUIESCE DATABASE
DROP CONTACT LIST DBPARTITIONNUMS UNQUIESCE INSTANCE
DROP CONTACTGROUP LIST ODBC DATA SOURCES UPDATE ALERT CFG
DROP DATABASE LIST PACKAGES/TABLES UPDATE COMMAND OPTIONS
DROP DATALINKS MANAGER LIST TABLESPACES UPDATE CONTACT
DROP DBPARTITIONNUM LIST TABLESPACE CONTAINERS UPDATE CONTACTGROUP
DROP TOOLS CATALOG LOAD UPDATE HISTORY
ECHO LOAD QUERY UPDATE LDAP NODE
EDIT PING UPDATE MONITOR SWITCHES
EXPORT PUT ROUTINE UPDATE NOTIFICATION LIST
Survival
Guide
|
|
WAS
Atenció
Aquesta part de WAS s'ha de moure a una nova pagina, nomes de
WAS
|
|
WF
- WorkFlow 3.4
- product level : use fmczchk command
See "WF InstallationGuide", SH12-6288-09, Appendix L :
"Using the configuration checking utility fmczchk".
- Service Pack 5
- SP
URL
- Books
URL
- default path :
C:\Program Files\IBM WebSphere MQ WorkFlow
|
|
Commands
Top star command is fmczutil
Other :
|
|
Docu
Family
SJ
(Systems Journal) :
IBM WebSphere Forums
FAQs
|
Real environment : 2 VMware W2K machines
FCN = SAG-MQWF FCN = W2KWAS
.-------.------------------------.------. .------.--------------------.--------. .----------.
| | WF Runtime Server | | | | WAS | | | |
| DB2 | + Admin | MQ |......| MQ | WF Client | HTTP |.........| N x |
| | + BuildTime | | | | + Web Client | | | Browsers |
| | + DevelopKit | | | | + Java | | | |
| | (Java 2 SDK) | | | | (Java 2 SDK) | | | |
.-------.------------------------.------. .------.--------------------.--------. .---------..
| WSAD |
.---------------------------------------.
QMname = WFQM QMname = WASQM
Cluster = FMCGRP Cluster = FMCGRP
WF Configuration ID = FMCWF WF Configuration ID = FMCWAS
See
details.
VMware settings :
- W2K + Control Panel + Virtual Memory := 512 - 1024 MB
- vmWare + Memory := 400 MB
- Settings + Preferences + Memory := 896 MB
So, on WF machine we need :
- [ok] Java 2 SDK
- [ok] DB2 - v 8.1 + FP 6.
- [ok] MQ - v 5.3 + CSD 06 + IC39916c - QMgrName = QM_sag_mqwf
- [ok] WF - v 3.4 + SP 5. [Server + Admin + Buildtime + Developer]
- [ok] WSAD 5.0
And on WAS machine we need :
- [ok] Java 2 SDK
- [ok] MQ - v 5.3 + CSD 06 + . . . . - QMgrName = QM_w2kwas
- [ok] WF - v 3.4 + SP 5. [Client + Java]
- [ok] WAS 5.0.2 (for W2003)
- [ok] HTTP Server 1.3.26
|
|
PATH
The PATH value contains the "Client" or "Server" selection ...
WF :
C:\Program Files\IBM WebSphere MQ Workflow\BIN\MQServer
WAS :
C:\Program Files\IBM WebSphere MQ Workflow\BIN\MQServer ???
The only difference is ...
Directory of C:\Program Files\IBM WebSphere MQ Workflow\BIN\MQClient
03/09/2003 15:48 221.184 fmccfmlc.dll
Directory of C:\Program Files\IBM WebSphere MQ Workflow\BIN\MQServer
03/09/2003 15:48 217.088 fmccfmlc.dll
|
|
WF 3.4 Installation, Server
- Seleccione un tipo de instalación y pulse "Siguiente" ...
- Type of Setup
- (+) Administrative Components : to Admin Engines -> WF
- (*) All Components
- (+) Buildtime : -> > WF
- (-) Clients : -> WAS
- (+) Development Kit : used by Buildtime -> WF
- (-) Java : WAS & Web Client -> WAS
- (+) Server : -> WF
- Seleccione los componentes que desea instalar
- (+) Programas de utilidad de administración
- (-) API para Lotus Notes
- (+) Bibliotecas de Runtime de API
- (+) Buildtime
- (-) Cliente
- (+) Kit de desarrollo
- (-) Beans de API de Java
- (-) Agente Java
- (+) Agente de ejecución de programas
- (+) Herramientas de base de datos de Runtime
- (+) Ejemplos
- (+) Servidor
- (-) Cliente Web
DB2 not found - see MQWF Installation Guide.
If DB2 v 8.1 is used, install APAR IY39361.
Install DB2 v 7.2 from DemoPackage : Severe Error.
setup /i EN -
The fix pack code you are installing
don't include the locale you are using in your machine.
This will force the fix pack to install in english.
You have to change to the drive and directory where the setup command is located,
before calling it.
[thanks, Luis]
Install DB2 v 7 (DB2 UDB PE v 7.1) from own CD.
- (+) DB2 Personal Edition
- (-) DB2 Application Development Client
- (-) DB2 Administration Client
- (+) Normal
- (-) Compacta
- (-) Personalizada
u = db2admin / k = sebas2
HD = 250 MB required.
Install FP1 WR21198 from own CD : Severe Error.
setup /i EN -
[thanks, Luis]
Install WF 3.4, All Components again.
After Restart,
FMCZREG.EXE and
FMCZACFG.EXE (WF Configuration Utility) : WF Configuration FMC1
Remove DB2 v 7.1 and
install DB2 v 8.1 (460 MB) + FP6 (503 MB)
DB2 Enterprise Server , wininst.exe, [350-560 MB].
U=db2admin, K=sebas2.
We want WF BuildTime on the same machine that WF [RunTime]
|
|
WF 3.4 Installation, Client
|
|
WF 3.4 Configuration, Server
- fmczutil
c:\temp>fmczutil
FMC33201I Configuration Commands Menu:
l ... List
c ... Create
x ... Exit Configuration Commands Menu
l
- FMC33610I No configuration defined.
FMC33201I Configuration Commands Menu:
l ... List
c ... Create
x ... Exit Configuration Commands Menu
c
Configuration identifier : [FMC] FMCWF
FMC33210I Select Category Menu:
s ... ( ) Server
i ... ( ) Runtime Database Utilities
b ... ( ) Buildtime
c ... ( ) Client with queue manager
a ... all
n ... none
x ... Exit Select Category Menu
sib
FMC33210I Select Category Menu: i
FMC33210I Select Category Menu: b
FMC33210I Select Category Menu:
s ... (X) Server
i ... (X) Runtime Database Utilities
b ... (X) Buildtime
c ... (U) Client with queue manager
a ... all
n ... none
x ... Exit Select Category Menu
x
FMC33590I Configuration of Runtime database ...:
u ... ( ) Use an existing Runtime database
n ... (X) Create a new Runtime database
n
DB2 instance : [DB2]
DB2 database : [FMCDB]
FMC33038I Specify the user ID that will administer or create the Runtime database:
FMC33042I This user ID must exist only on the machine hosting the Runtime database:
DB2 user ID of database administrator : [Administrator] db2admin
DB2 database layout file : [c:\program files\ibm websphere mq workflow\cfgs\fmcwf\fmcdblay.ini]
DB2 database location : [C:]
DB2 container location : [C:\Program Files\IBM WebSphere MQ Workflow\rt_db\DB2\FMCDB]
DB2 log files location : [C:\Program Files\IBM WebSphere MQ Workflow\rt_db\DB2\FMCDB]
FMC33526I Select space management ...:
s ... (X) Managed by system
d ... ( ) Managed by database
d
- FMC33749I Selected Space management : Managed by database
FMC33041I Specify the user ID to access the Runtime database:
DB2 user ID to access Runtime database : [Administrator] db2admin
FMC33043I Specify information about the System to be created:
System group name : [FMCGRP]
System name : [FMCSYS]
Queue manager name : [FMCQM] WFQM
Queue prefix : [FMC]
FMC33591I Configuration of the new queue manager WFQM ...:
FMC33513I Select log type ...:
c ... (X) Circular log
l ... ( ) Linear log (prerequisite for backup)
- FMC33749I Selected Log type : Circular log
Queue manager log files location (leave empty to use the MQSeries default path) : []
Channel definition table file : [c:\program files\ibm websphere mqworkflow\chltabs\mqwfchl.tab]
FMC33507I Select communication protocol ...:
t ... (X) TCP/IP
n ... ( ) NetBios
a ... ( ) APPC
- FMC33749I Selected Communication protocol : TCP/IP
FMC33044I Specify address information used to connect to this Queue Manager:
TCP/IP address : [sag-mqwf]
TCP/IP port number : [5010]
MQ principal userid to connect to this Queuemanager (WFQM) : [fmc]
MQ Cluster name : [FMCGRP]
FMC33537I Select repository type ...:
f ... (X) 'WFQM' is the first queue manager in cluster 'FMCGRP'
a ... ( ) 'WFQM' is an additional queue manager in cluster 'FMCGRP'
- FMC33749I Selected Repository type : 'WFQM' is the first queue manager in cluster 'FMCGRP'
FMC33632I Transaction coordination will be used between MQSeries and DB2.
FMC33633I The queue manager 'WFQM' will connect to the database 'FMCDB'.
DB2 user ID of transaction coordinator : [db2admin]
FMC33592I Configuration of Buildtime ...:
FMC33504I Select database type ...:
i ... (X) IBM DB2 Universal database
m ... ( ) Microsoft Jet Engine
- FMC33749I Selected Database type : IBM DB2 Universal database
u ... ( ) Use an existing Buildtime database
n ... (X) Create a new Buildtime database
DB2 instance : [DB2]
ODBC user ID : []
DB2 database : [FMCBTDB]
DB2 database location : [C:]
DB2 container location : [C:\Program Files\IBM WebSphere MQ Workflow\bt_db\DB2\FMCBTDB]
DB2 log files location : [C:\Program Files\IBM WebSphere MQ Workflow\bt_db\DB2\FMCBTDB]
FMC33526I Select space management ...:
s ... (X) Managed by system
d ... ( ) Managed by database
d
- FMC33749I Selected Space management : Managed by database
FMC33593I Configuration of client ...:
c ... Create configuration profile for 'FMCWF' now
s ... Save input to file
r ... Review/change input
x ... Exit (input for configuration 'FMCWF' will be lost)
c
- FMC33680I The profile for the configuration 'FMCWF' was updated successfully.
- FMC33682I The general configuration profile was updated successfully.
FMC33688W The specified database parameters will be used.
They might not match the values in the configuration FMCWF
FMC33110I The database manager is already active.
FMC33115I Creating the database - FMCBTDB
FMC33116I Please wait... This may take a while.
FMC33118I Database FMCBTDB has been created on node DB2.
FMC33120I Updating the database configuration.
FMC33003I SQL1482W The BUFFPAGE parameter will only be used if
one of the buffer pools is defined with a size of -1.
FMC33124I Creating a tablespace that is managed by system.
FMC33125I Creating a table that is managed by system.
FMC33140I Setup of DB2 completed successfully.
FMC20500I Start parsing c:\program files\ibm websphere mq workflow\cfgs\fmcwf\fdl\fmczref.fdl.
FMC20510I Finished parsing c:\program files\ibm websphere mq workflow\cfgs\fmcwf\fdl\fmczref.fdl.
Version, Release, Level
Domain DOMAIN...
FMC51023I Domain DOMAIN successfully inserted
01112088
FMC51024I System group FMCGRP successfully inserted
01139868
Node Default Node...
FMC51027I Node Default Node successfully inserted
QueueManager WFQM...
FMC51026I Queue manager WFQM successfully inserted
01110788
FMC51025I System FMCSYS successfully inserted
01111A10
FMC51031I Cleanup server CLEANSVR successfully inserted
0111E650
FMC51033I Execution server EXECSVR successfully inserted
0111E650
FMC51036I Scheduling server SCHEDSVR successfully inserted
01113A80
FMC51133I Program Execution Server PESERVER successfully inserted
Level 0...
FMC51005I Level 0 successfully inserted
Level 1...
FMC51005I Level 1 successfully inserted
Level 2...
FMC51005I Level 2 successfully inserted
Level 3...
FMC51005I Level 3 successfully inserted
Level 4...
FMC51005I Level 4 successfully inserted
Level 5...
FMC51005I Level 5 successfully inserted
Level 6...
FMC51005I Level 6 successfully inserted
Level 7...
FMC51005I Level 7 successfully inserted
Level 8...
FMC51005I Level 8 successfully inserted
Level 9...
FMC51005I Level 9 successfully inserted
Person ADMIN...
FMC51001I Person ADMIN successfully inserted
Role System administrator...
FMC51002I Role System administrator successfully inserted
Person ADMIN relations ...
FMC51198I Relations for person ADMIN successfully written to database
Structure Default Data Structure...
FMC51021I Data structure Default Data Structure successfully inserted
Structure Default Data Structure second pass ...
Tool Set STANDARD...
FMC51037I Tool set STANDARD successfully inserted
Finished with Process Model import
No errors during import.
- FMC33912I The new Buildtime database FMCBTDB was created successfully.
- FMC33502I Do you want to create the Runtime database 'FMCDB' now?
y ... Yes
n ... No
y
Enter password for user ID 'db2admin' : [] ******
Confirm password for user ID 'db2admin' : [] ******
FMC33136I Generating database layout.
FMC33110I The database manager is already active.
FMC33115I Creating the database - FMCDB
FMC33116I Please wait... This may take a while.
FMC33117I Database FMCDB has been created.
FMC33120I Updating the database configuration.
FMC33132I Creating tablespaces.
FMC33133I Creating tables.
FMC33126I Binding c:\program files\ibm websphere mq workflow\bnd\fmcdbact.bnd (1/39)
FMC33126I Binding c:\program files\ibm websphere mq workflow\bnd\fmcdbadm.bnd (2/39)
FMC33126I Binding c:\program files\ibm websphere mq workflow\bnd\fmcdbadt.bnd (3/39)
FMC33126I Binding c:\program files\ibm websphere mq workflow\bnd\fmcdbad2.bnd (4/39)
FMC33126I Binding c:\program files\ibm websphere mq workflow\bnd\fmcdbatr.bnd (5/39)
FMC33126I Binding c:\program files\ibm websphere mq workflow\bnd\fmcdbblk.bnd (6/39)
FMC33126I Binding c:\program files\ibm websphere mq workflow\bnd\fmcdbccn.bnd (7/39)
FMC33126I Binding c:\program files\ibm websphere mq workflow\bnd\fmcdbctr.bnd (8/39)
FMC33126I Binding c:\program files\ibm websphere mq workflow\bnd\fmcdbepi.bnd (9/39)
FMC33126I Binding c:\program files\ibm websphere mq workflow\bnd\fmcdblst.bnd (10/39)
FMC33126I Binding c:\program files\ibm websphere mq workflow\bnd\fmcdbmat.bnd (11/39)
FMC33126I Binding c:\program files\ibm websphere mq workflow\bnd\fmcdbmod.bnd (12/39)
FMC33126I Binding c:\program files\ibm websphere mq workflow\bnd\fmcdbopr.bnd (13/39)
FMC33126I Binding c:\program files\ibm websphere mq workflow\bnd\fmcdbprc.bnd (14/39)
FMC33126I Binding c:\program files\ibm websphere mq workflow\bnd\fmcdbqmg.bnd (15/39)
FMC33126I Binding c:\program files\ibm websphere mq workflow\bnd\fmcdbses.bnd (16/39)
FMC33126I Binding c:\program files\ibm websphere mq workflow\bnd\fmcdbsgo.bnd (17/39)
FMC33126I Binding c:\program files\ibm websphere mq workflow\bnd\fmcdbstf.bnd (18/39)
FMC33126I Binding c:\program files\ibm websphere mq workflow\bnd\fmcdbsvs.bnd (19/39)
FMC33126I Binding c:\program files\ibm websphere mq workflow\bnd\fmcdbtop.bnd (20/39)
FMC33126I Binding c:\program files\ibm websphere mq workflow\bnd\fmcdbtpl.bnd (21/39)
FMC33126I Binding c:\program files\ibm websphere mq workflow\bnd\fmcdbwit.bnd (22/39)
FMC33126I Binding c:\program files\ibm websphere mq workflow\bnd\fmcdbwiv.bnd (23/39)
FMC33126I Binding c:\program files\ibm websphere mq workflow\bnd\fmcdbwcs.bnd (24/39)
FMC33126I Binding c:\program files\ibm websphere mq workflow\bnd\fmcddsql.bnd (25/39)
FMC33126I Binding c:\program files\ibm websphere mq workflow\bnd\fmcdbcln.bnd (26/39)
FMC33126I Binding c:\program files\ibm websphere mq workflow\bnd\fmcdbntf.bnd (27/39)
FMC33126I Binding c:\program files\ibm websphere mq workflow\bnd\fmcdbqry.bnd (28/39)
FMC33126I Binding c:\program files\ibm websphere mq workflow\bnd\fmcdbdcn.bnd (29/39)
FMC33126I Binding c:\program files\ibm websphere mq workflow\bnd\fmcpqe01.bnd (30/39)
FMC33126I Binding c:\program files\ibm websphere mq workflow\bnd\fmcpqe02.bnd (31/39)
FMC33126I Binding c:\program files\ibm websphere mq workflow\bnd\fmcpqe03.bnd (32/39)
FMC33126I Binding c:\program files\ibm websphere mq workflow\bnd\fmcpqe04.bnd (33/39)
FMC33126I Binding c:\program files\ibm websphere mq workflow\bnd\fmcpqe05.bnd (34/39)
FMC33126I Binding c:\program files\ibm websphere mq workflow\bnd\fmcpqe06.bnd (35/39)
FMC33126I Binding c:\program files\ibm websphere mq workflow\bnd\fmcpqe07.bnd (36/39)
FMC33126I Binding c:\program files\ibm websphere mq workflow\bnd\fmcpqe08.bnd (37/39)
FMC33126I Binding c:\program files\ibm websphere mq workflow\bnd\fmcpqe09.bnd (38/39)
FMC33126I Binding c:\program files\ibm websphere mq workflow\bnd\fmcpqe23.bnd (39/39)
FMC33130I Initializing the database.
FMC33003I fmczbstr -gFMCGRP -sFMCSYS -xFMC -dFMCDB -udb2admin
FMC24500I fmczbstr is starting.
FMC24560I fmczbstr finished and found 0 errors 0 warnings. RC = 0
FMC33131I Loading reference FDL.
FMC20500I Start parsing c:\program files\ibm websphere mq workflow\cfgs\fmcwf\fdl\fmczref.fdl.
FMC25100I CREATE LEVEL '0' finished.
FMC25100I CREATE LEVEL '1' finished.
FMC25100I CREATE LEVEL '2' finished.
FMC25100I CREATE LEVEL '3' finished.
FMC25100I CREATE LEVEL '4' finished.
FMC25100I CREATE LEVEL '5' finished.
FMC25100I CREATE LEVEL '6' finished.
FMC25100I CREATE LEVEL '7' finished.
FMC25100I CREATE LEVEL '8' finished.
FMC25100I CREATE LEVEL '9' finished.
FMC25100I CREATE STRUCTURE 'Default Data Structure' finished.
FMC25100I REPLACE DOMAIN 'DOMAIN' finished.
FMC25100I REPLACE GROUP 'FMCGRP' finished.
FMC25100I REPLACE SYSTEM 'FMCSYS' finished.
FMC25100I REPLACE PERSON 'ADMIN' finished.
FMC25100I REPLACE ROLE 'System administrator' finished.
FMC25100I CREATE SERVER 'CLEANSVR.FMCSYS.FMCGRP' finished.
FMC25100I CREATE SERVER 'EXECSVR.FMCSYS.FMCGRP' finished.
FMC25100I CREATE SERVER 'SCHEDSVR.FMCSYS.FMCGRP' finished.
FMC25100I CREATE SERVER 'PESERVER.FMCSYS.FMCGRP' finished.
FMC25100I CREATE QUEUE_MANAGER 'WFQM' finished.
FMC20510I Finished parsing c:\program files\ibm websphere mq workflow\cfgs\fmcwf\fdl\fmczref.fdl.
- FMC33911I The new Runtime database FMCDB was created successfully.
- FMC33521I Do you want to create the queue manager 'WFQM' now?
y
Se ha creado el gestor de colas de WebSphere MQ.
Creando o reemplazando objetos por omisión para WFQM.
Estadísticas de objetos por omisión: 31. 0 reemplazados. 0 han fallado.
Terminando la configuración.
Configuración finalizada.
Se ha iniciado el gestor de colas 'WFQM' de WebSphere MQ.
El gestor de colas de WebSphere MQ 'WFQM' está finalizando.
El gestor de colas de WebSphere MQ 'WFQM' ha finalizado.
Creando o reemplazando objetos por omisión para WFQM.
Estadísticas de objetos por omisión: 1. 30 reemplazados. 0 han fallado.
Terminando la configuración.
Configuración finalizada.
Not executing on a domain controller
- FMC33736I The queue manager WFQM has been updated successfully.
FMC34010I: Configuration checker version 3.4.0.116 started.
FMC34600I: ==> Executing commands.
FMC34631I: The service 'MQ Workflow - FMCWF' has been created successfully.
FMC34100I: Messages have been written to c:\program files\ibm websphere mq workf
low\cfgs\fmcwf\log\@fmczchk.log.
FMC34999I: Configuration checker ended: 0 error(s), 0 warning(s), rc = 0.
FMC33201I Configuration Commands Menu:
l ... List
s ... Select
c ... Create
x ... Exit Configuration Commands Menu
l
- FMC33611I The following configurations are defined:
FMCWF (Default configuration)
FMC33201I Configuration Commands Menu:
l ... List
s ... Select
c ... Create
x ... Exit Configuration Commands Menu
Few details :
-
FMC33146E - sqleatin error : SQL1032N No start DataBase was issued.
DB2START (from Health Center)
- JDK Installation Directory = c:\jdk1.3.1_01
? not used ?
- fmczchk
C:\>fmczchk
FMC34010I: Configuration checker version 3.4.0.116 started.
FMC34012I: ===> General checks.
FMC34011I: Performing WebSphere MQ Workflow Version 3.4.0 checks.
FMC34013I: ===> Admin Server found, checks started.
FMC34500I: ==> Database Manager configuration for DB2.
FMC34501I: ==> Database configuration for FMCDB.
FMC34502I: ==> Database connection to FMCDB.
FMC34700I: ==> Service Control Manager configuration.
FMC34013I: ===> Server message device found, checks started.
FMC34032E: Cannot load TP Monitor library mq.dll: The specified module could not
be found (rc = 126). (1)
FMC34013I: ===> Execution Server found, checks started.
FMC34013I: ===> Client message layer (server API) found, checks started.
FMC34013I: ===> Client message layer (client API) found, checks started.
FMC34014I: ===> Java Agent (fmcojagt.jar) is not installed.
FMC34014I: ===> Java API (fmcojapi.jar) is not installed.
FMC34013I: ===> Buildtime found, checks started.
FMC34502I: ==> Database connection to FMCBTDB.
FMC34014I: ===> Runtime Client (fmcn6rtc.exe) is not installed.
FMC34100I: Messages have been written to c:\fmczchk.log.
FMC34998I: See fmczchk.htm for more information on the messages.
FMC34999I: Configuration checker ended: 1 error(s), 0 warning(s), rc = 0.
Few details :
- (1)
FMC34032E: Cannot load TP Monitor library mq.dll:
The specified module could not be found (rc = 126).
The utility checks for MQ.DLL instead of MQMAX.DLL -
if present, ignore the error message
|
|
WF 3.4 Configuration, Client
- fmczutil
c:\temp>fmczutil
FMC33899I fmczdfnc was not loaded.
FMC33201I Configuration Commands Menu:
l ... List
c ... Create
x ... Exit Configuration Commands Menu
l
- FMC33610I No configuration defined.
FMC33201I Configuration Commands Menu:
l ... List
c ... Create
x ... Exit Configuration Commands Menu
c
Configuration identifier : [FMC] FMCWAS
FMC33210I Select Category Menu:
c ... ( ) Client with queue manager
j ... ( ) Java Agent
w ... ( ) Web Client
a ... all
n ... none
x ... Exit Select Category Menu
cjw
FMC33210I Select Category Menu: j
FMC33210I Select Category Menu: w
FMC33210I Select Category Menu:
c ... (X) Client with queue manager
j ... (X) Java Agent
w ... (X) Web Client
a ... all
n ... none
x ... Exit Select Category Menu
x
- FMC33749I Selected Web client transport medium : MQSeries (LOC_LOCATOR / local bindings)
FMC33593I Configuration of client ...:
FMC33608I Select Workflow System to connect to ...:
System group name : [FMCGRP]
System name : [FMCSYS]
Queue prefix : [FMC]
FMC33591I Configuration of the new queue manager ...:
Queue manager name : [FMCQM] WASQM
FMC33513I Select log type ...:
c ... (X) Circular log
l ... ( ) Linear log (prerequisite for backup)
- FMC33749I Selected Log type : Circular log
Queue manager log files location (leave empty to use the MQSeries default path) : []
Channel definition table file : [c:\program files\ibm websphere mq workflow\chltabs\mqwfchl.tab]
FMC33507I Select communication protocol ...:
t ... (X) TCP/IP
n ... ( ) NetBios
a ... ( ) APPC
- FMC33749I Selected Communication protocol : TCP/IP
FMC33044I Specify address information used to connect to this Queue Manager:
TCP/IP address : [w2kwas]
TCP/IP port number : [6020]
MQ principal userid to connect to this Queuemanager (WASQM) : [fmc]
MQ Cluster name : [FMCGRP]
FMC33537I Select repository type ...:
f ... ( ) 'WASQM' is the first queue manager in cluster 'FMCGRP'
a ... (X) 'WASQM' is an additional queue manager in cluster 'FMCGRP'
- FMC33749I Selected Repository type : 'WASQM' is an additional queue manager in cluster 'FMCGRP'
FMC33536I Specify information about the first queue manager in cluster 'FMCGRP' ...:
Queue manager name : [] wfqm
FMC33507I Select communication protocol ...:
t ... (X) TCP/IP
n ... ( ) NetBios
a ... ( ) APPC
- FMC33749I Selected Communication protocol : TCP/IP
TCP/IP address : [] sag-mqwf
TCP/IP port number : [1206016] 5010
MQ principal userid to connect to this Queuemanager (WFQM) : [fmc]
FMC33594I Configuration of Java Agent ...:
- FMC33749I Selected Locator Policy : Local bindings (1)
FMC33595I Configuration of Web Client ...:
FMC33942I Specify the root URI of the Web Client :
Root URI : [MQWFClient-FMCWAS]
FMC33777I Select application server ...:
w ... ( ) WebSphere 3.x
f ... ( ) WebSphere 4.0 AE (EAR)
v ... (X) WebSphere 5.0 (EAR)
o ... ( ) Other (Servlet API 2.1)
j ... ( ) Other (WAR / EAR)
Code Version of the Java Agent : [3405]
FMC33607I Specify information about the WebSphere Application Server ...:
Installation directory : [C:\Program Files\WebSphere\AppServer]
Application server name : [server1]
c ... Create configuration profile for 'FMCWAS' now
s ... Save input to file
r ... Review/change input
x ... Exit (input for configuration 'FMCWAS' will be lost)
c
- FMC33680I The profile for the configuration 'FMCWAS' was updated successfully.
- FMC33682I The general configuration profile was updated successfully.
- FMC33521I Do you want to create the queue manager 'WASQM' now?
y ... Yes
n ... No
y
Se ha creado el gestor de colas de WebSphere MQ.
Creando o reemplazando objetos por omisión para WASQM.
Estadísticas de objetos por omisión: 31. 0 reemplazados. 0 han fallado.
Terminando la configuración.
Configuración finalizada.
Se ha iniciado el gestor de colas 'WASQM' de WebSphere MQ.
El gestor de colas de WebSphere MQ 'WASQM' está finalizando.
El gestor de colas de WebSphere MQ 'WASQM' ha finalizado.
Creando o reemplazando objetos por omisión para WASQM.
Estadísticas de objetos por omisión: 1. 30 reemplazados. 0 han fallado.
Terminando la configuración.
Configuración finalizada.
- FMC33736I The queue manager WASQM has been updated successfully.
- FMC33598I Do you want to configure the Web Client within the WebSphere Application Server now?
y ... Yes
n ... No
y
FMC33746I Creating the Web Client files ...
FMC33938I Creating 'fmcohcli.war'
FMC33687I c:\PROGRA~1\WEBSPH~1\APPSER~1\java\bin\jar cMf fmcohcli.war -C webpages\ .
FMC33938I Creating 'fmcohcli.ear'
FMC33687I c:\PROGRA~1\WEBSPH~1\APPSER~1\java\bin\jar cMf fmcohcli.ear fmcohcli.war META-INF fmcojagt.jar
FMC33667I The creation of the Web Client completed sucessfully.
FMC33737I Importing the Web client into WebSphere ...
FMC33687I wsadmin.bat -conntype none -c "$AdminApp install
c:/PROGRA~1/IBMWEB~1/cfgs/fmcwas/WEBCLI~1/fmcohcli.ear
{ -appname MQWF_Web_Client_FMCWAS -server server1 -preCompileJSPs }"
> "c:\program files\ibm websphere mq workflow\cfgs\fmcwas\log\wsadmin.log" 2>&1
FMC33687I WASX7357I: Se ha solicitado que el cliente de scripts no se conecte a ningún proceso de servidor.
Determinadas operaciones de configuración y aplicación no estarán disponibles en la modalidad local.
FMC33687I WASX7327I: Contenido del archivo was.policy:
FMC33687I
FMC33687I grant codeBase "file:${application}" {
FMC33687I // java.security.AccessControlException: access denied
(java.lang.RuntimePermission loadLibrary.fmcojprf)
FMC33687I // at java.lang.Runtime.loadLibrary0(Runtime.java:774)
FMC33687I // at java.lang.System.loadLibrary(System.java:865)
FMC33687I // at com.ibm.workflow.catalog.Properties.<clinit>(Properties.java:103)
FMC33687I // at com.ibm.workflow.api.Agent$LocLocator.locate(Agent.java:88)
FMC33687I // at com.ibm.workflow.api.Agent.setName(Agent.java:410)
FMC33687I permission java.lang.RuntimePermission "loadLibrary.fmcojprf";
FMC33687I
FMC33687I // java.security.AccessControlException: access denied
(java.util.PropertyPermission java.execsuffix read)
FMC33687I // at java.lang.System.getProperty(System.java:640)
FMC33687I // at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1669)
FMC33687I // at java.lang.Runtime.loadLibrary0(Runtime.java:780)
FMC33687I // at java.lang.System.loadLibrary(System.java:865)
FMC33687I // at com.ibm.workflow.catalog.Properties.<clinit>(Properties.java:103)
FMC33687I // at com.ibm.workflow.api.Agent$LocLocator.locate(Agent.java:88)
FMC33687I // at com.ibm.workflow.api.Agent.setName(Agent.java:410)
FMC33687I permission java.util.PropertyPermission "java.execsuffix", "read";
FMC33687I
FMC33687I // java.security.AccessControlException: access denied
(java.util.PropertyPermission user.dir read)
FMC33687I // at java.lang.System.getProperty(System.java:601)
FMC33687I // at java.io.Win32FileSystem.getUserPath(Win32FileSystem.java:283)
FMC33687I // at java.io.Win32FileSystem.resolve(Win32FileSystem.java:299)
FMC33687I // at java.io.File.getCanonicalPath(File.java:454)
FMC33687I // at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1744)
FMC33687I // at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1685)
FMC33687I // at java.lang.Runtime.loadLibrary0(Runtime.java:780)
FMC33687I // at java.lang.System.loadLibrary(System.java:865)
FMC33687I // at com.ibm.workflow.catalog.Properties.(Properties.java:103)
FMC33687I // at com.ibm.workflow.api.Agent$LocLocator.locate(Agent.java:88)
FMC33687I // at com.ibm.workflow.api.Agent.setName(Agent.java:410)
FMC33687I permission java.util.PropertyPermission "user.dir", "read";
FMC33687I
FMC33687I // java.security.AccessControlException: access denied
(java.lang.RuntimePermission loadLibrary.fmcojloc)
FMC33687I // at java.lang.Runtime.loadLibrary0(Runtime.java:774)
FMC33687I // at java.lang.System.loadLibrary(System.java:865)
FMC33687I // at com.ibm.workflow.loc.jni.DomainControllerImpl.(DomainControllerImpl.java:102)
FMC33687I // at com.ibm.workflow.api.Agent$LocLocator.locate(Agent.java:91)
FMC33687I // at com.ibm.workflow.api.Agent.setName(Agent.java:410)
FMC33687I permission java.lang.RuntimePermission "loadLibrary.fmcojloc";
FMC33687I permission java.lang.RuntimePermission "loadLibrary.fmcojiop";
FMC33687I };
FMC33687I
FMC33687I
FMC33687I ================== w2kwas
FMC33687I ADMA6010I: Las tareas son
[com.ibm.ws.webservices.deploy.WSDeployTask,
com.ibm.ws.management.application.task.ExtractionTask,
com.ibm.ws.management.application.task.CompileJspTask,
com.ibm.ws.management.application.task.ConfigureTask,
com.ibm.ws.management.application.task.BackupAppTask]
FMC33687I ADMA5016I: Se ha iniciado la instalación de MQWF_Web_Client_FMCWAS.
FMC33687I ADMA6013I: Extraer binarios de aplicación
en C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\app_ff6b060c33\ear
FMC33687I ADMA5009I: El archivador de la aplicación se ha extraído a las
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\app_ff6b060c33\ear
FMC33687I Compiling jsps in fmcohcli.war
FMC33687I Invoking compilation ..
FMC33687I Note: C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/app_ff6b060c33/ear/fmcohcli.war/WEB-INF/
classes/forms/_PropertiesViewer.java uses or overrides a deprecated API.
FMC33687I Note: Recompile with -deprecation for details.
FMC33687I ADMA5003I: Los Jsp de los war fmcohcli.war se han compilado satisfactoriamente.
FMC33687I ADMA6018I: La relación node-server para esta aplicación es
{cells/w2kwas/nodes/w2kwas=[cells/w2kwas/nodes/w2kwas/servers/server1]}
FMC33687I ADMA6020I: Añadiendo entrada serverindex para
cells/w2kwas/applications/MQWF_Web_Client_FMCWAS.ear/deployments/MQWF_Web_Client_FMCWAS
para el servidor server1 en el nodo w2kwas
FMC33687I ADMA6017I: Documento guardado
C:\Program Files\WebSphere\AppServer\wstemp\Scriptff6b058f23\workspace\cells\w2kwas\applications
\MQWF_Web_Client_FMCWAS.ear\deployments\MQWF_Web_Client_FMCWAS\META-INF\application.xml
FMC33687I ADMA6016I: Añadir al espacio de trabajo META-INF/application.xml
FMC33687I ADMA6017I: Documento guardado C:\Program Files\WebSphere\AppServer\wstemp\
Scriptff6b058f23\workspace\cells\w2kwas\applications\MQWF_Web_Client_FMCWAS.ear\deployments\
MQWF_Web_Client_FMCWAS\META-INF\ibm-application-bnd.xmi
FMC33687I ADMA6016I: Añadir al espacio de trabajo META-INF/ibm-application-bnd.xmi
FMC33687I ADMA6017I: Documento guardado C:\Program Files\WebSphere\AppServer\wstemp\
Scriptff6b058f23\workspace\cells\w2kwas\applications\MQWF_Web_Client_FMCWAS.ear\deployments\
MQWF_Web_Client_FMCWAS\META-INF\MANIFEST.MF
FMC33687I ADMA6016I: Añadir al espacio de trabajo META-INF/MANIFEST.MF
FMC33687I ADMA6017I: Documento guardado C:\Program Files\WebSphere\AppServer\wstemp\
Scriptff6b058f23\workspace\cells\w2kwas\applications\MQWF_Web_Client_FMCWAS.ear\deployments\
MQWF_Web_Client_FMCWAS\META-INF\was.policy
FMC33687I ADMA6016I: Añadir al espacio de trabajo META-INF/was.policy
FMC33687I ADMA6017I: Documento guardado C:\Program Files\WebSphere\AppServer\wstemp\
Scriptff6b058f23\workspace\cells\w2kwas\applications\MQWF_Web_Client_FMCWAS.ear\deployments\
MQWF_Web_Client_FMCWAS\fmcohcli.war\META-INF\MANIFEST.MF
FMC33687I ADMA6016I: Añadir al espacio de trabajo fmcohcli.war/META-INF/MANIFEST.MF
FMC33687I ADMA6017I: Documento guardado C:\Program Files\WebSphere\AppServer\wstemp\
Scriptff6b058f23\workspace\cells\w2kwas\applications\MQWF_Web_Client_FMCWAS.ear\deployments\
MQWF_Web_Client_FMCWAS\fmcohcli.war\WEB-INF\ibm-web-bnd.xmi
FMC33687I ADMA6016I: Añadir al espacio de trabajo fmcohcli.war/WEB-INF/ibm-web-bnd.xmi
FMC33687I ADMA6017I: Documento guardado C:\Program Files\WebSphere\AppServer\wstemp\
Scriptff6b058f23\workspace\cells\w2kwas\applications\MQWF_Web_Client_FMCWAS.ear\deployments\
MQWF_Web_Client_FMCWAS\fmcohcli.war\WEB-INF\web.fxml
FMC33687I ADMA6016I: Añadir al espacio de trabajo fmcohcli.war/WEB-INF/web.xml
FMC33687I ADMA6017I: Documento guardado C:\Program Files\WebSphere\AppServer\wstemp\
Scriptff6b058f23\workspace\cells\w2kwas\applications\MQWF_Web_Client_FMCWAS.ear\deployments\
MQWF_Web_Client_FMCWAS\fmcohcli.war\WEB-INF\WebClient.properties
FMC33687I ADMA6016I: Añadir al espacio de trabajo fmcohcli.war/WEB-INF/WebClient.properties
FMC33687I ADMA5005I: La aplicación MQWF_Web_Client_FMCWAS se ha configurado en el depósito de WebSphere.
FMC33687I ADMA5037I: Iniciando copia de seguridad de la aplicación en
C:\Program Files\WebSphere\AppServer\wstemp\Scriptff6b058f23\workspace\cells\w2kwas\
applications\MQWF_Web_Client_FMCWAS.ear
FMC33687I ADMA5038I: Copia de seguridad de la aplicación completada en
C:\Program Files\WebSphere\AppServer\wstemp\Scriptff6b058f23\workspace\cells\w2kwas\
applications\MQWF_Web_Client_FMCWAS.ear\MQWF_Web_Client_FMCWAS.ear
FMC33687I ADMA5001I: Los binarios de la aplicación se han guardado en
C:\Program Files\WebSphere\AppServer\wstemp\Scriptff6b058f23\workspace\cells\w2kwas\
applications\MQWF_Web_Client_FMCWAS.ear\MQWF_Web_Client_FMCWAS.ear
FMC33687I ADMA6011I: Suprimiendo árbol de directorios C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\app_ff6b060c33
FMC33687I ADMA5011I: Se ha realizado la limpieza del directorio temporal de
la aplicación MQWF_Web_Client_FMCWAS.
FMC33687I ADMA5013I: La aplicación MQWF_Web_Client_FMCWAS se ha instalado satisfactoriamente.
FMC33687I
FMC33659I The configuration within the WebSphere Application Server completed successfully.
FMC33914I Starting the tool 'GenPluginCfg' to generate the plug-in configuration
FMC33687I GenPluginCfg.bat >
"c:\program files\ibm websphere mq workflow\cfgs\fmcwas\log\genplugincfg.log" 2>&1
FMC33687I
FMC33687I IBM WebSphere Application Server, Release 5.0
FMC33687I WebSphere Plugin Configuration Generator
FMC33687I Copyright IBM Corp., 1997-2002
FMC33687I
FMC33687I PLGC0013I: Se está generando el archivo de configuración del plug-in de servidor para todos
los servidores de la célula w2kwas.
FMC33687I
FMC33687I PLGC0005I: Archivo de configuración del plug-in:
C:\Program Files\WebSphere\AppServer\config\cells\plugin-cfg.xml
FMC33687I
FMC33687I IBM WebSphere Application Server, Release 5.0
FMC33687I WebSphere Plugin Configuration Generator
FMC33687I Copyright IBM Corp., 1997-2002
FMC33687I
FMC33687I PLGC0013I: Se está generando el archivo de configuración del plug-in de servidor para todos
los servidores de la célula w2kwas.
FMC33687I
FMC33687I PLGC0005I: Archivo de configuración del plug-in:
C:\Program Files\WebSphere\AppServer\config\cells\plugin-cfg.xml
FMC33933I The tool 'GenPluginCfg' completed successfully.
FMC33940I Reminder: You must start the Web client within WebSphere manually.
FMC33201I Configuration Commands Menu:
l ... List
s ... Select
c ... Create
x ... Exit Configuration Commands Menu
l
- FMC33611I The following configurations are defined:
FMCWAS (Default configuration)
FMC33201I Configuration Commands Menu:
l ... List
s ... Select
c ... Create
x ... Exit Configuration Commands Menu
x
Few details :
- (1)
Means "Client API" will be used instead of "WF MQ Server API".
Se harán conexiones Socket a Port en vez de transporte MQ.
-
alter channel(to.wfqm.tcp) chltype(clussdr) conname('sag-mqwf(5010)')
alter channel(to.wasqm.tcp) chltype(clusrcvr) conname('w2kwas(6020)')
runmqlsr -m WASQM -t"TCP" -p 6020
- fmczchk
c:\temp>fmczchk
FMC34010I: Configuration checker version 3.4.0.116 started.
FMC34012I: ===> General checks.
FMC34011I: Performing WebSphere MQ Workflow Version 3.4.0 checks.
FMC34014I: ===> Admin Server (fmcamain.exe) is not installed.
FMC34014I: ===> Server message device (fmccdfms.dll) is not installed.
FMC34014I: ===> Execution Server (fmcemain.exe) is not installed.
FMC34013I: ===> Client message layer (server API) found, checks started.
FMC34013I: ===> Client message layer (client API) found, checks started.
FMC34013I: ===> WebSphere MQ Workflow C/C++ API found, checks started.
FMC34013I: ===> Java Agent found, checks started.
FMC34014I: ===> Java API (fmcojapi.jar) is not installed.
FMC34014I: ===> Buildtime (fmcbmain.exe) is not installed.
FMC34013I: ===> Runtime Client found, checks started.
FMC34100I: Messages have been written to c:\temp\fmczchk.log.
FMC34999I: Configuration checker ended: 0 error(s), 0 warning(s), rc = 0.
|
|
Client Problems
- RUNMQLSR -mWASQM => rc = 10 { no protocol specified }
- RUNMQLSR -mWASQM -t"TCP" -p 1415 => rc = 20 { port already in use }
- RC's - ver MQ log para obtener RC de MQ y mirar "Messages".
-
WASX7279E: Ya existe una aplicación con el nombre "MQWF_Web_Client_FMCWAS".
Erase
Directory of C:\Program Files\WebSphere\AppServer\config\cells\w2kwas\applications\
MQWF_Web_Client_FMCWAS.ear\deployments\MQWF_Web_Client_FMCWAS
- PATH contiene
C:\Program Files\IBM WebSphere MQ Workflow\BIN\MQServer
en vez de
C:\Program Files\IBM WebSphere MQ Workflow\BIN\MQClient
|
|
MQ Explorer environment
Server (WF + DB2) Client (WAS + HTTP)
FCN = SAG-MQWF FCN = W2KWAS
QMname = WFQM QMname = WASQM
WF Configuration ID = FMCWF WF Configuration ID = FMCWAS
Listener = port(5010) Listener = port(6020)
.-----------------------------------------. .------------------------------------------.
| | | |
| sag-mqwf(5010) : TO.WFQM.TCP [CLUSRCVR] | <===================== | TO.WFQM.TCP [CLUSSDR] : sag-mqwf(5010) |
| | | |
| | ======> | TO.WASQM.TCP [CLUSRCVR] : w2kwas(6020) |
| | | |
| WFQM.CL.TCP [SRVCON] | <====================> | |
| | <====================> | WASQM.CL.TCP [SRVCON] |
| | | |
.-----------------------------------------. .------------------------------------------.
See
global schema.
|
|
Problems
- WAS Listener has no protocol (TCP), neither port (6020)
|
|
Versions
-
DemoPackage 4Q2001 has [CD 20] WAS 3.5 and WAS 4.0
-
Victor CD 3/4 has WAS version 5.0 / SP 2 (goes 5.0.2) / SP 6 (goes 5.0.2.6).
-
Pedro has WAS v 5.0.2, for W2003.
|
|
WAS Installation
-
Java 2 SDK 1.3.1.01 is required (Victor CD2)
-
Full Install : all you need to run Web Applications on your server,
including IBM HTTP Server v 1.3.26
-
Es el 5.0.2 per Windows 2003, pero al instalar-se no ha dit res ...
-
Verify all is OK at
C:\Program Files\WebSphere\AppServer\logs\LOG.TXT
|
|
FP2 How-to
221.501.757 was50_fp2_win.zip go 5.0 to 5.0.2
90.973.833 was502_cf6_win.zip go 5.0.2 to 5.0.2.6
- cambiar a "manual" el arranque "automatico" de estos Servicios ;
- IBM HTTP Administration 1.3.26
- IBM HTTP Server 1.3.26
- IBM MQ Series
- IBM WebSphere Application Server v5 - Server1
- MQ Series WorkFlow 3.4 - FMC
- reiniciar la máquina
- mediante el Administrador de tareas, ver que
AMQMTBRN.EXE no está en ejecución.
Si lo está, pararlo.
-
run c:\was50\UpdateWizard.bat
that requires a previous SetupCmdLine.bat
( located at "Program Files/WebSphere/AppServer/bin" )
- repeat with CF6 !
|
|
Configuration
-
In W2K "Services", start "IBM WebSphere Application Server v5 - server 1"
-
Point IE to http://w2kwas:9090/admin/, Consola Administrativa.
14102004 : OK !
Este valor (9090 ???) se especifica en :
Consola Administrativa +
Servidores de Aplicaciones +
server1 +
Contenedor Web +
Transporte HTTP
-
Point IE to http://w2kwas/MQWFClient-FMCWAS/RTC.html,
Web Client start page.
Root URI was [MQWFClient-FMCWAS], remember ?
14102004 : OK !
U = admin
K = password
- Angel :
- both QMgrs to be Repository
- Services (WF) : MQ Series WorkFlow 3.4 - FMCWF := Service Start.
- WAS Admin Console + Aplicaciones de Empresa +
MQWF_Web_Client_FMCWAS debe estar arrancada
- WAS Admin Console + Aplicaciones de Empresa +
PlantsByWebSphere +
SamplesGallery +
Technology Sam +
ivtApp +
PetStore : Stop + Uninstall !
-
|
|
Links
|
|
- WSAD 4.0 for Windows : 409 MB
c:\Program Files\IBM\Application Developer
- WSAD 5.0 for Windows : 762 MB [20102004]
c:\Program Files\IBM\WebSphere Studio
|
|
How to insert your Java code into a WSAD Project ?
- File
- New
- Project
- Java / Java Project
- < project name >
Then, on the < project name > icon, use right button and
- Import
- Zip file (containing all JAVA files)
- Browse
- < point to ZIP >
- Finish
Now, we can
- "Run as" Java Application
- "Debug as" Java Application
|
|
How to use com.ibm.mq.* in your Java program ?
On the package Properties,
select Java Build Path,
then Libraries,
and select Add External JAR.
Point to
C:\Program Files\IBM\WebSphere MQ\Java\lib\com.ibm.mq.jar
[W2K - WF]
C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5\mqjms\Java\lib ...
How to use j2ee.jar in your Java program ?
As before, but pointing to
C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5\lib\j2ee.jar
|
|
Pagina HTML que pone mensajes en una cola MQ
-
Escribimos nuestro codigo en QMSAG.JAVA,
y lo exportamos como MQIBM.JAR
*** También hay que exportar al Servidor las clases de IBM de com.ibm.mq.jar ***
package com.ibm.bbva.mq;
import com.ibm.mq.*;
// Include the WebSphere MQ classes for Java package
// Based on "Using Java", csqzaw12.pdf,
// Part 2 - chapters 6, 7, 8 and 9 - pages 63 thru 198.
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// WebSphere MQ classes for Java is a set of Java classes that enable
// Java applets and applications to interact with WebSphere MQ.
// The following classes are provided :
// v MQChannelDefinition
// v MQChannelExit
// v MQDistributionList
// v MQDistributionListItem
// v MQEnvironment
// v MQException
// v MQGetMessageOptions
// v MQManagedObject
// v MQMessage
// v MQMessageTracker
// v MQPoolServices
// v MQPoolServicesEvent
// v MQPoolToken
// v MQPutMessageOptions
// v MQProcess
// v MQQueue
// v MQQueueManager
// v MQSimpleConnectionManagerThe
// MQ RCs and RSs : Messages, chapter 8.
// Versions :
// 1.0 - Jose y Sebas, Octubre 2004.
// 1.1 - Set MsgType, Expiration, Encoding, Format, etc ALSO ...
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
public class Qmsag
{
private static String szProducto = "JavaPut" ;
private static String szVersion = "Version 1.1" ;
private static String szAutor = "Sebastia Altemir" ;
//private static String qManager = "QM_sag_mqwf" ; // define name of queue manager to connect to.
//private static String qData = "ANGELQ" ; // define name of queue to connect to.
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
/**
public static void main ( String args[] ) {
System.out.println ( "Hola. Esto es ["+ szProducto + "], version [" + szVersion + "]." ) ;
MQSample ( ) ;
} ;
**/
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
public void sendMessageIBM ( String qManager,
String qData,
String sUser,
String szReplyQ,
String szCorrelID,
MQMessage hello_world )
{
MQQueueManager qMgr ;
try {
// Create a connection to the queue manager
System.out.println ( "Create a Connection to the Queue Manager [" + qManager + "]." ) ;
qMgr = new MQQueueManager ( qManager ) ;
// Set up the options on the queue we wish to open...
// Note. All WebSphere MQ Options are prefixed with MQC in Java.
// int openOptions = MQC.MQOO_INPUT_AS_Q_DEF | MQC.MQOO_OUTPUT ;
int openOptions = MQC.MQOO_SET_ALL_CONTEXT | MQC.MQOO_OUTPUT ; // allow to set UserID !
// Now specify the queue that we wish to open, and the open options...
System.out.println ( "Queue [" + qData + "]. Open options [" + openOptions + "]." ) ;
MQQueue qSAG = qMgr.accessQueue ( qData, openOptions ) ;
// Define a simple WebSphere MQ message and set some MD fields ...
hello_world.messageType = MQC.MQMT_REQUEST ; // 1 is "Request".
hello_world.expiry = -1 ; // MQEI_UNLIMITED
hello_world.encoding = 273 ; // x111 : Integer normal, Decimal normal, IE3 normal.
hello_world.characterSet = 437 ;
hello_world.format = "MQIMSVS" ;
hello_world.replyToQueueName = szReplyQ ;
hello_world.putApplicationType = 11 ;
hello_world.correlationId = szCorrelID.getBytes() ;
hello_world.report = 0x40 ; // MQRO_PASS_CORREL_ID
hello_world.userId = sUser ;
// specify the message options...
MQPutMessageOptions pmo = new MQPutMessageOptions ( ) ;
pmo.options = MQC.MQPMO_SET_ALL_CONTEXT ; // OK with MQOO_SET_ALL_CONTEXT !
System.out.println ( "El UserID antes de PUT es [" + hello_world.userId + "]." ) ;
// put the message on the queue
System.out.println ( "Put the message on the queue." ) ;
qSAG.put ( hello_world, pmo ) ;
System.out.println ( "El UserID despues de PUT es [" + hello_world.userId + "]." ) ;
// Close the queue...
System.out.println ( "Close the queue." ) ;
qSAG.close ( ) ;
// Disconnect from the queue manager
System.out.println ( "Disconnect from the queue manager." ) ;
qMgr.disconnect ( ) ;
}
// If an error has occurred in the above, try to identify what went wrong
// Was it a WebSphere MQ error?
catch ( MQException ex ) {
System.out.println ( "--- MQ error : CC " + ex.completionCode + " RC " + ex.reasonCode ) ;
}
} ; // MQSample
} // Qmsag
-
En el fichero EJ_IbmMq.jsp
tenemos
<%@ page import="com.ibm.bbva.mq.*" %>
<%
Qmsag qmsag = new Qmsag();
com.ibm.mq.MQMessage hello_world = new com.ibm.mq.MQMessage() ;
hello_world.writeUTF ( "Hola, mundo ! Usando Java de IBM !!" ) ;
hello_world.replyToQueueManagerName = "QMsag88toReplyTo" ;
qmsag.sendMessageIBM ( "FMCQM", "JOSEQ", "invitado", "Sample/JMS/REPLYIMS", "asd1d2", hello_world ) ;
%>
<HTML>
<HEAD>
<TITLE> Ejemplo </TITLE>
</HEAD>
<BODY>
Hola
</BODY>
</HTML>
-
reiniciamos la aplicacion MQWF_Web_Client_FMCWAS
usando IE + URL = http://w2kwas:9090/admin/
(en Aplicaciones + Aplicaciones de empresa).
-
Finalmente, abrimos un navegador en la URL
http://w2kwas/MQWFClient-FMCWAS/programs/EJ_IbmMq.jsp
y - automágicamente - aparece el mensaje creado (Hola, mundo)
en la cola indicada (FMCQM.JOSEQ) ... con UserID invitado !
Siempre podemos observar la pagina inicial del Web Client v 3.4.0.5 :
http://w2kwas/MQWFClient-FMCWAS/RTC.html ...
( U = admin, K = password )
|
|
WSAD (Red)books
-
SG246585.pdf : WS Studio Application Developer Programming Guide
Local copy
-
SG246993.pdf : WS v 5 Application Development Handbook
All the vocabulary is here.
Local copy
-
WS Studio Application Developer v 5.0
roadmap
|
|
In order to prevent any crash, we have to save :
- Buildtime data
- Runtime data
- MQ configuration
- Web Client applications components
- Workflow configuration profiles
|
|
BuildTime data
|
FMCBCEXP -u admin -p password -y FMC -e FMC_BT.fdl -l BTlog.log -b fmcbtdb
|
-y : profile name.
-e : export data.
-l : log filename.
-b : ?
|
|
RunTime data
|
FMCIBIE -u admin -p password -y FMC -e FMC_RT.FDL -l RTlog.log
|
-y : profile name.
-e : export data.
-l : log filename.
|
|
MQ data
|
saveqmgr -m FMCQM -f FMCQM.TST
|
-m : queue manager name.
-f : output filename, to be used as input by RUNMQSC !
|
|
Web Client applications components
|
xcopy d:\Program Files\WebSphere\AppServer\installedApps\s1128s9l\*.* /s .
|
|
|
WofkFlow configurations
|
xcopy d:\Program Files\IBM WebSphere MQ WorkFlow\CFGS\*.* /s .
|
|
|
Servlets
Are programs that run on a Web Server and build web pages on the fly.
Servlets extend the functionality of a Web server by generating dynamic content
and responding to Web client requests. When a browser sends a request to the
server, the server can send the request information to a servlet, which in turn will
build the response HTML that is returned back to the browser.
Just as applets run on a Web browser to extend the browser's capabilities,
servlets run on a Java-enabled Web server, such as the WebSphere Application
Server, to extend the application server's capabilities.
Servlets are supported directly or via a plugin on almost every major
Web Server.
|
|
Main differences between applets, servlets and applications
- how they run :
- applets are run in an applet viewer or in a Web browser.
- servlets are run in a Web application server
- applications are run standalone
- download :
- applets can be downloaded from a Web server to a Web browser machine
- applications and servlets are not
- security :
- applets run with additional security rules limiting what they can do
From chapter 7, page 67, "Using Java".
|
|
JSP
Is a technology that lets you mix regular, static HTML,
with dynamically-generated HTML.
It allows to separate the look from the content.
|
|
UML
|
|
|
Do apply RAD fixes : Help menu + Software Updates +
IBM Rational Product Updater
Lombardi
WebSphere Lombardi Edition (WLE) provides a unified business process management (BPM) environment for collaborative process improvement.
url
Homepage, sys reqs and Library.
How to ...
- know install directory
- display full version + fixes
- find main configuration file name (fullpath)
- find main error log file full path
- good forum URL
iLog
ILOG is a family of tools containing enterprise software products for supply chain, business rule management, visualization and optimization.
url
ILOG's main products:
- IBM WebSphere ILOG JRules, a business rule management system (BRMS)
- IBM ILOG CPLEX, optimization software for mathematical programming
- IBM ILOG JViews, a visualization development system based on Java and supported with add-ons for Gantt charts, graphs, maps and diagrams
- IBM ILOG Elixir component sets for Adobe AIR and Adobe Flex platforms
wiki:
education assistant :
ILOG jRules BRMS,
ILOG Elixir,
ILOG jViews Enterprise,
ILOG jViews for Defense,
ILOG Views.
Opening on "EAI Team Lead with JRules / ILOG BRMS" ...
ilog jRules
iLog ODM