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 » Webclient for Client with Queue Manager Setup

Post new topic  Reply to topic
 Webclient for Client with Queue Manager Setup « View previous topic :: View next topic » 
Author Message
Navi Khaira
PostPosted: Mon Sep 29, 2003 5:50 am    Post subject: Webclient for Client with Queue Manager Setup Reply with quote

Newbie

Joined: 08 May 2003
Posts: 9

Hi,

I have a Workflow server on an AIX box and
a customized webclient with authentication exit on a client with Queue Manager set up on a second aix box. This follwoing scenario does not work.

I have got my Webclient set up to work with a configuration using the channel tab file.

Please help with the first scenario. Thanks
_________________
Kind regards,

Navi Khaira

Navi Khaira
WebsphereMQ Workflow Developer
IBM Global Services
IBM Hursley
e-mail: nkhaira@uk.ibm.com
Back to top
View user's profile Send private message
vennela
PostPosted: Mon Sep 29, 2003 5:55 am    Post subject: Reply with quote

Jedi Knight

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

If I read you correctly, the authentication exit should be on the workflow server and not on the web client.

And configuring a web client should be pretty straight forward, except while you give the connect names and qmgr details.
What is the problem you are having.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Navi Khaira
PostPosted: Mon Sep 29, 2003 6:19 am    Post subject: Reply with quote

Newbie

Joined: 08 May 2003
Posts: 9

Hi

The authexit is on the workflow server.
The problem I am having is that using a client with Queue Manager configuration does not work with my webclient.

If I use a standard webclient set up using a channel tab it works fine.
But I do not want a client connecting to a single workflow server. I want my client to connect to a a dual workflow server. Therefore I cannot use the channel tab from the workflow server because this carries a single IP address and port number.

Instead I used a client with queue manager configuartion from the installation guide. This seemed to work fine, except when I test my webclient it does not connect.

Thanks for your response
_________________
Kind regards,

Navi Khaira

Navi Khaira
WebsphereMQ Workflow Developer
IBM Global Services
IBM Hursley
e-mail: nkhaira@uk.ibm.com
Back to top
View user's profile Send private message
vennela
PostPosted: Mon Sep 29, 2003 7:19 am    Post subject: Reply with quote

Jedi Knight

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

What is the error that you are getting.
I would start off like this.

On the web client box: Use admin utility (fmcautil) and logon to workflow. If it works then the problem is within WAS part of web client. If it fails then there is a problem with MQ communication.

Try that and let us know the results.
-------
Venny
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Navi Khaira
PostPosted: Mon Sep 29, 2003 8:08 am    Post subject: Reply with quote

Newbie

Joined: 08 May 2003
Posts: 9

I checked the admin utility - worked fine looked at the logs, nothing reported. I gave it to the WAS guys no problem there. Must be a MQ communication problem - It is with them now. Will let you know what went wrong, thanks for your help.
_________________
Kind regards,

Navi Khaira

Navi Khaira
WebsphereMQ Workflow Developer
IBM Global Services
IBM Hursley
e-mail: nkhaira@uk.ibm.com
Back to top
View user's profile Send private message
Navi Khaira
PostPosted: Wed Oct 01, 2003 11:52 pm    Post subject: Still Not working Reply with quote

Newbie

Joined: 08 May 2003
Posts: 9

I got the mq guys to have a look at it they said it was fine.
Apparently after logon a message is sent but there is no response.

Please help
_________________
Kind regards,

Navi Khaira

Navi Khaira
WebsphereMQ Workflow Developer
IBM Global Services
IBM Hursley
e-mail: nkhaira@uk.ibm.com
Back to top
View user's profile Send private message
vennela
PostPosted: Thu Oct 02, 2003 7:00 am    Post subject: Reply with quote

Jedi Knight

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

Let's further narrow it down.
You are saying that you can logon using fmcautil, but cannot do so from web client right.
If you use a java program, can you logon?
Here is a sample java logon program. You run it from the web client box and see if the Logon is successful or not.
NOTE: You may have to change the logon2 call because you are using an authentication exit.

Code:

/*
 * MQWFLogin.java
 *
 * Created on April 7, 2003, 11:52 AM
 */



/**
 *
 * @author  administrator
 * @version
 */
import com.ibm.workflow.api.Service;
import com.ibm.workflow.api.ExecutionService.*;
import com.ibm.workflow.api.*;
import com.ibm.workflow.api.ServicePackage.*;
import com.ibm.workflow.api.WorkItemPackage.*;
import com.ibm.workflow.api.ProgramTemplatePackage.*;
import com.ibm.workflow.api.ProcessInstancePackage.*;
import com.ibm.workflow.api.ItemPackage.*;
import com.ibm.workflow.api.ItemPackage.ExecutionState.*;

public class MQWFLogin extends Object {

    /**
     * @param args the command line arguments
     */
    public static void main (String args[]) {
        try{
            System.out.println("Logging into workflow ......");
            Agent agent = new Agent();
            agent.setLocator(Agent.LOC_LOCATOR);
            agent.setName("MQWFAGENT");
            /*----------------------------------------------------------*/
            /* Initialize the execution service                         */
            /*----------------------------------------------------------*/
            ExecutionService service = agent.locate("","");

            String user     = "ADMIN";
            String password = "password";
            SessionMode sessionMode = SessionMode.DEFAULT;
            AbsenceIndicator absenceIndicator = AbsenceIndicator.LEAVE;
            service.setTimeout(300000);

            service.logon2(user, password, sessionMode, absenceIndicator);
            System.out.println("Logon Successful");
            service.logoff();
            System.out.println("Logoff Successful");
            System.exit(0);
           
        }
        catch (java.beans.PropertyVetoException e)
        {
            System.out.println("PropertyVetoException Error " );
            System.out.println("  StackTrace:");
            e.printStackTrace();
             System.exit(1);
        }
        catch (FmcException e)
        {
            System.out.println("MQWF Error " + e.rc + " - " + e.messageText);
            System.out.println("  StackTrace:");
            e.printStackTrace();
            System.exit(2);
        }
        catch (Exception e)
        {
            System.out.println("  StackTrace:");
            e.printStackTrace();
             System.exit(3);
        }

    }

}
Back to top
View user's profile Send private message Send e-mail Visit poster's website
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 » Webclient for Client with Queue Manager Setup
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.