ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Weblogic server with no QMGR.....

Post new topic  Reply to topic
 Weblogic server with no QMGR..... « View previous topic :: View next topic » 
Author Message
lboni
PostPosted: Thu Jun 12, 2003 2:56 pm    Post subject: Weblogic server with no QMGR..... Reply with quote

Novice

Joined: 12 Jun 2003
Posts: 12
Location: San Francisco

We are attempting to set up a workflow environment that consists of a WorkFlow server with an MQSeries Server, a remote database, and a Weblogic Server with a Workflow client and MQSeries client only, no Q manager on the Weblogic server. When trying to run HelloApplication, I'm getting the following Java segmentation fault error:

java HelloApplication MQWFClient LOC ADMIN password
SIGSEGV 11 segmentation violation
si_signo [11]: SEGV
si_errno [0]:
si_code [1]: SEGV_MAPERR [addr: 0xc03860e8]

stackpointer=FFBE8428
"com.ibm.logging.FileHandler:" (TID:0x2c59a8, sys_thread_t:0x2c58e0, state:CW, t
hread_t: t@7, threadID:0xfdff1d70, stack_bottom:0xfdff1d70, stack_size:0x1fd70)
prio=5

[1] java.lang.Object.wait(Object.java:424)
[2] com.ibm.logging.Handler.run(Handler.java:1027)
[3] java.lang.Thread.run(Thread.java:479)
-------------------
"Finalizer" (TID:0x155a78, sys_thread_t:0x1559b0, state:CW, thread_t: t@6, threa
dID:0xfe871d70, stack_bottom:0xfe871d70, stack_size:0x1fd70) prio=8

[1] java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:146)
[2] java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:168)
[3] java.lang.ref.Finalizer$FinalizerWorker$FinalizerThread.run(Finalizer.java:1
24)
-------------------
"Reference Handler" (TID:0x151220, sys_thread_t:0x151158, state:CW, thread_t: t@
5, threadID:0xfebf1d70, stack_bottom:0xfebf1d70, stack_size:0x1fd70) prio=10

[1] java.lang.Object.wait(Object.java:424)
[2] java.lang.ref.Reference$ReferenceHandler.run(Reference.java:136)
-------------------
"Signal dispatcher" (TID:0x11fe10, sys_thread_t:0x11fd48, state:MW, thread_t: t@
4, threadID:0xff041d70, stack_bottom:0xff041d70, stack_size:0x1fd70) prio=10

-------------------
"main" (TID:0x39138, sys_thread_t:0x39070, state:R, thread_t: t@1, threadID:0x25
228, stack_bottom:0xffbf0000, stack_size:0x800000) prio=5 *current thread*

[1] com.ibm.workflow.loc.jni.ExecutionServiceImpl.internLogon(Native Method)
[2] com.ibm.workflow.loc.jni.ExecutionServiceImpl.logon2(ExecutionServiceImpl.ja
va:74)
[3] com.ibm.workflow.api.loc.ExecutionServiceImpl.logon2(ExecutionServiceImpl.ja
va:222)
[4] HelloApplication.main(HelloApplication.java:66)
-------------------
Segmentation Fault

I'm relatively new to workflow and am wondering if anyone has been able to make this kind of configuration work and how you did it......

Thanks!
Back to top
View user's profile Send private message
Ratan
PostPosted: Thu Jun 12, 2003 3:09 pm    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

If you are using local binding "Locator_Policy=loc" for your MQWF Java Agent you need to have MQServer installed on your application server machine.
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
vennela
PostPosted: Fri Jun 13, 2003 6:24 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Though it is possible to configure a web-client with MQ Client, it is always better to use an MQ Server.

Run 'fmczchk' and 'fmczccd' on the weblogic machine and post the results. Maybe we can then help.

-------
Venny
Back to top
View user's profile Send private message Send e-mail Visit poster's website
lboni
PostPosted: Fri Jun 13, 2003 9:47 am    Post subject: Reply with quote

Novice

Joined: 12 Jun 2003
Posts: 12
Location: San Francisco

I ran fmczchk but could not find fmczccd. Here is the contents of fmczchk.log:

FMC34010I: Configuration checker version 3.4.0.111 started.
FMC34119I: No command-line options specified.

FMC34012I: ===> General checks.
FMC34011I: Performing WebSphere MQ Workflow Version 3.4.0 checks.
FMC34101I: The Operating System is Solaris 2.8 (SunOS 5.8 Generic_108528-19).
FMC34103I: Local time is 2003-06-13 13:43:01.
FMC34104I: Universal time coordinated (UTC) is 2003-06-13 17:43:01.
FMC34157I: Patch 108827-15 is installed, minimum required version is 12.
FMC34156E: Required patch 111177-04 is not installed, installed version is: none
.
FMC34157I: Patch 108435-10 is installed, minimum required version is 03.
FMC34314I: The local IP address is 10.4.192.157.
FMC34131I: The WebSphere MQ Workflow installation directory is /opt/fmc/bin.
FMC34154I: WebSphere MQ Workflow Version 3.4.0.1 is installed.
FMC34141E: No default configuration ID set.
FMC34142E: The current configuration is not defined.
FMC34145I: The following configurations are available: FMC.
FMC34135I: The installation profile is /opt/fmc/fmcrc.
FMC34135I: The general configuration profile is /opt/fmc/fmcrc.
FMC34136I: The user profile for fmc is /opt/fmc/.fmcrc.
FMC34113I: Language specification is 'enu' (from the installation profile).
FMC34115I: The message catalog is /opt/fmc/msg/fmckmenu.cat.
FMC34132I: The XPG4 locale is C.
FMC34138I: Using system default LOCPATH '/usr/lib/iconv'.
FMC34146I: The current code page is 646.

FMC34100I: Messages have been written to /vobs/swiss_workflow/fmczchk.log.
FMC34999I: Configuration checker ended: 3 error(s), 0 warning(s), rc = 0.
Back to top
View user's profile Send private message
vennela
PostPosted: Fri Jun 13, 2003 10:18 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Unfortunately fmczccd works only on Windows platform.
May be you need to think about applying that OS patch.

It would also help to know what you did to configure MQWF on this Solaris box. I mean, how you created a configuration.

There is no default configuration on that system. So you may have to run this command

fmczchk -y=FMC

-------
Venny
Back to top
View user's profile Send private message Send e-mail Visit poster's website
lboni
PostPosted: Fri Jun 13, 2003 10:39 am    Post subject: Reply with quote

Novice

Joined: 12 Jun 2003
Posts: 12
Location: San Francisco

I'm not sure what you mean by no default configuration. I have an fmcrc file with my configuration settings......

Sorry for my ignorance, i'm a newbie and am busy reading through all the Workflow documentation to try to wrap my arms around this...
Back to top
View user's profile Send private message
vennela
PostPosted: Fri Jun 13, 2003 11:58 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

No Problem:
To identify your problem we may need this:

The output when you run the command
fmczchk -y=FMC

The info in the file
/var/fmc/cfgs/FMC/fmcrc

-------
Venny
Back to top
View user's profile Send private message Send e-mail Visit poster's website
lboni
PostPosted: Fri Jun 13, 2003 12:34 pm    Post subject: Reply with quote

Novice

Joined: 12 Jun 2003
Posts: 12
Location: San Francisco

Here is the output from fmczchk.log:

FMC34010I: Configuration checker version 3.4.0.111 started.
FMC34120I: Command-line options specified: -y=FMC

FMC34012I: ===> General checks.
FMC34011I: Performing WebSphere MQ Workflow Version 3.4.0 checks.
FMC34101I: The Operating System is Solaris 2.8 (SunOS 5.8 Generic_108528-19).
FMC34103I: Local time is 2003-06-13 16:22:11.
FMC34104I: Universal time coordinated (UTC) is 2003-06-13 20:22:11.
FMC34157I: Patch 108827-15 is installed, minimum required version is 12.
FMC34156E: Required patch 111177-04 is not installed, installed version is: none
.
FMC34157I: Patch 108435-10 is installed, minimum required version is 03.
FMC34314I: The local IP address is 10.4.192.157.
FMC34131I: The WebSphere MQ Workflow installation directory is /opt/fmc/bin.
FMC34154I: WebSphere MQ Workflow Version 3.4.0.1 is installed.
FMC34141E: No default configuration ID set.
FMC34121I: The current configuration is 'FMC'.
FMC34145I: The following configurations are available: FMC.
FMC34135I: The installation profile is /opt/fmc/fmcrc.
FMC34135I: The general configuration profile is /opt/fmc/fmcrc.
FMC34135I: The configuration profile is /opt/fmc/cfgs/FMC/fmcrc.
FMC34136I: The user profile for fmc is /opt/fmc/.fmcrc.
FMC34113I: Language specification is 'enu' (from the installation profile).
FMC34115I: The message catalog is /opt/fmc/msg/fmckmenu.cat.
FMC34132I: The XPG4 locale is C.
FMC34138I: Using system default LOCPATH '/usr/lib/iconv'.
FMC34146I: The current code page is 646.

FMC34013I: ===> Client message layer (server API) found, checks started.

FMC34013I: ===> Client message layer (client API) found, checks started.
FMC34nnnI: FMLConnectName is 'FMC.FMCGRP.FMCSYS,SDEV'
FMC34nnnI: Channel definition file is /opt/fmc/chltabs/MQWFCHL.TAB
FMC34410I: Channel table /opt/fmc/chltabs/MQWFCHL.TAB has 1 entries.
FMC34411I: 0: Active; Queue Manager SDEV connecting to 10.10.95.67(1414) throu
gh TCP.
FMC34nnnI: This client can connect to an OS/390 server
FMC34404I: The MQSeries Client 5.3.0 is installed.

FMC34013I: ===> WebSphere MQ Workflow C/C++ API found, checks started.
FMC34nnnI: API will use queue manager 'SDEV' (queue prefix FMC)
FMC34317I: Need root user authority to create a raw socket for ping.

FMC34013I: ===> Java Agent found, checks started.

FMC34100I: Messages have been written to /vobs/swiss_workflow/fmczchk.log.
FMC34999I: Configuration checker ended: 2 error(s), 0 warning(s), rc = 0.

And here is the output from /opt/fmc/cfgs/FMC/fmcrc:

Configuration/FMC/ConfigurationAdministrator=fmc
Configuration/FMC/ConfigurationGroup=fmcgrp
Configuration/FMC/ConfiguredComponents=ACU
Configuration/FMC/SystemGroup=FMCGRP
Configuration/FMC/System=FMCSYS
Configuration/FMC/MQPrefix=FMC
Configuration/FMC/MQQueueManager=SDEV
Configuration/FMC/FMLClientChannelTable=/opt/fmc/chltabs/MQWFCHL.TAB
Configuration/FMC/FMLConnectName=FMC.FMCGRP.FMCSYS,SDEV
Configuration/FMC/FMLSegmentation=0

I'm not entirely sure what I should be looking for. I have not been able to find any documentation for setting up an MQWorkflow client with an MQSeries client.....any suggestions where I might find that kind of documentaiton?
Back to top
View user's profile Send private message
vennela
PostPosted: Fri Jun 13, 2003 1:30 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

lboni wrote:
Configuration/FMC/ConfiguredComponents=ACU


I am not sure if you have selected the Java agent while creating a configuration. Even if you did, there must me something wrong because, fmcrc file should show the java agent information.

Is it possbile for you to delete this configuration and recreate a new one.

For information on how to install/configure, you better take a look at Installation Guide. Chapter 8 and Chapter 9.

Hope this helps

-------
Venny
Back to top
View user's profile Send private message Send e-mail Visit poster's website
lboni
PostPosted: Mon Jun 16, 2003 9:11 am    Post subject: Reply with quote

Novice

Joined: 12 Jun 2003
Posts: 12
Location: San Francisco

Do you know of any other documentation? The Installation guide doesn't really tell you how to configure WF Client with an MQSeries client. It only talks about the server.....
Back to top
View user's profile Send private message
vennela
PostPosted: Mon Jun 16, 2003 10:26 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Infact, I don't see it that way.
The information is not specific for a web client with queue manager.
There are these parts:
1. Entering Queue Manager information
2. Entering connection information for a client
3. Entering java agent information
4. Entering web client information

Now, if you are using a web client with MQ Client you may not be asked for the (1) part of information.
You will be asked for (2) (3) and (4).

For (2), I am not sure if you already know this, but you have to copy the channel definition table from the WMQWF server (usually available at /var/fmc/chltabs/MQWFCHL.TAB file). Copy this file to your web client machine (if FTPed, do it in binary mode) and place it in the above directory.

I don't know how you will set up a WebLogic web client, but that's the general idea of how to set up a web client with MQ Client. I have never done this, so I am not aware of any potential problems, except the channel definition table one.

To verify your communication run a simple java logon program.

-------
Venny
Back to top
View user's profile Send private message Send e-mail Visit poster's website
lboni
PostPosted: Mon Jun 16, 2003 3:33 pm    Post subject: Reply with quote

Novice

Joined: 12 Jun 2003
Posts: 12
Location: San Francisco

Hmmm...I did all that and am still getting error messages. I opened a PMR with IBM to see if they can shed any light on this. I really appreciate your help! Once I find out what the problem is, I'll be sure to share.

Thanks again,
Leo
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Weblogic server with no QMGR.....
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.