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 » WebSphere Message Broker (ACE) Support » Proxy Servlet for the HTTP node

Post new topic  Reply to topic
 Proxy Servlet for the HTTP node « View previous topic :: View next topic » 
Author Message
JoseR
PostPosted: Thu May 11, 2006 7:40 am    Post subject: Proxy Servlet for the HTTP node Reply with quote

Novice

Joined: 23 Feb 2006
Posts: 24

Is anyone using this Support Pack ie01 (Proxy Servlet for the HTTP node)?

I have deployed this war file on RAD (using Windows) so that It would talk to my WMB on AIX but I get the follwing exception:

Any ideas or suggestions?
========================================================================
[5/11/06 9:07:36:679 CDT] 00000026 SystemOut O Trace: [WMBServlet_2.0_24/03/06] processPost Exception uncaught mqe2.toString()=com.ibm.mq.MQException: MQJE001: Completion Code 2, Reason 2058
[5/11/06 9:07:36:679 CDT] 00000026 SystemOut O Exit: [WMBServlet_2.0_24/03/06] processPost
[5/11/06 9:07:36:669 CDT] 00000026 SystemErr R MQJE001: Completion Code 2, Reason 2058
com.ibm.mq.MQException: MQJE001: Completion Code 2, Reason 2058
at com.ibm.mq.MQManagedConnectionJ11.(MQManagedConnectionJ11.java:219)
at com.ibm.mq.MQBindingsManagedConnectionFactoryJ11._createManagedConnection(MQBindingsManagedConnectionFactoryJ11.java:179)
at com.ibm.mq.MQBindingsManagedConnectionFactoryJ11.createManagedConnection(MQBindingsManagedConnectionFactoryJ11.java:215)
at com.ibm.mq.StoredManagedConnection.(StoredManagedConnection.java:84)
at com.ibm.mq.MQSimpleConnectionManager.allocateConnection(MQSimpleConnectionManager.java:168)
at com.ibm.mq.MQQueueManagerFactory.obtainBaseMQQueueManager(MQQueueManagerFactory.java:772)
at com.ibm.mq.MQQueueManagerFactory.procure(MQQueueManagerFactory.java:697)
_________________
Jose R
WWJD
<))><<
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
jefflowrey
PostPosted: Thu May 11, 2006 7:49 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

What does "Reason 2058" mean?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
JoseR
PostPosted: Thu May 11, 2006 10:42 am    Post subject: Reply with quote

Novice

Joined: 23 Feb 2006
Posts: 24

I usually means that your Queue Manager does not exist or that it is wrong. I prove this buy actually entering a non-existing Queue Manager and basically getting the same exception.
_________________
Jose R
WWJD
<))><<
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
jefflowrey
PostPosted: Thu May 11, 2006 10:52 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

So, how can you use this to fix your problem?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
JoseR
PostPosted: Thu May 11, 2006 11:18 am    Post subject: Reply with quote

Novice

Joined: 23 Feb 2006
Posts: 24

basically, that is my point.

I do not see why I get this error becasue I have configure the servlet to read from my Broker (remote) Queue Manager. The Queue manager I defined on the servlet configuration is correct. I prove this by connecting to this QM via MQExplorer and also using rfhutilc.exe.
_________________
Jose R
WWJD
<))><<
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
jefflowrey
PostPosted: Thu May 11, 2006 11:39 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Can we see the servlet configuration?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
JoseR
PostPosted: Thu May 11, 2006 12:25 pm    Post subject: Reply with quote

Novice

Joined: 23 Feb 2006
Posts: 24

Basically,
the servlet config is the web.xml file from the war file.


<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name>
WMB Proxy Servlet V2 - SupportPac IE01</display-name>
<servlet>
<display-name>
WMBServlet</display-name>
<servlet-name>WMBServlet</servlet-name>
<servlet-class>
com.ibm.broker.httpproxy.WMBServlet</servlet-class>
<init-param>
<description>
Set the message broker name here e.g. BRK6_WIN</description>
<param-name>brokerName</param-name>
<param-value>BRKDEV01</param-value>
</init-param>
<init-param>
<description>
This would be
/BRKDEV01/config/wsplugin6.conf
on UNIX or
D:\\BRK6_WIN\\config\\wsplugin6.conf
on Windows for WMB V6
</description>
<param-name>configFilePath</param-name>
<param-value>/BRKDEV01/config/wsplugin6.conf</param-value>
</init-param>
<init-param>
<description>
Set 0 for no trace, 1 for normal or 2 for debug</description>
<param-name>turnTraceOn</param-name>
<param-value>2</param-value>
</init-param>
<init-param>
<description>
Use MQ client (true) or bindings connection (false)</description>
<param-name>useClientMode</param-name>
<param-value>false</param-value>
</init-param>
<init-param>
<description>
Hostname or IP for the Queue Manager</description>
<param-name>clientModeHostname</param-name>
<param-value>mwidev01</param-value>
</init-param>
<init-param>
<description>
MQ SVRCONN channel name</description>
<param-name>clientModeChannelName</param-name>
<param-value>SYSTEM.ADMIN.SRVCONN</param-value>
</init-param>
<init-param>
<description>
MQ Listener port number</description>
<param-name>clientModePortNumber</param-name>
<param-value>2820</param-value>
</init-param>
<init-param>
<description>
Queue manager name (remote proxy) or blank for none
(local proxy). Supported on WMB6 Fix Pack 1 or later.
</description>
<param-name>useQueueManagerDataInsteadOfConfigFile</param-name>
<param-value>BQMDEV01</param-value>
</init-param>
<init-param>
<description>
Sleep time in seconds</description>
<param-name>sleepBeforeGet</param-name>
<param-value>0</param-value>
</init-param>
<init-param>
<description>
To release MQ handle while sleeping</description>
<param-name>disconnectBeforeSleep</param-name>
<param-value>false</param-value>
</init-param>
<init-param>
<description>
Used when useClientMode is false. Be careful with this
option it can compromise the integrity of the queue
manager
</description>
<param-name>useFastpathBindingsConnection</param-name>
<param-value>false</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>WMBServlet</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
</web-app>
_________________
Jose R
WWJD
<))><<
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
jefflowrey
PostPosted: Thu May 11, 2006 12:41 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

JoseR wrote:
<param-name>useClientMode</param-name>
<param-value>false</param-value>

_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
JoseR
PostPosted: Thu May 11, 2006 12:45 pm    Post subject: Reply with quote

Novice

Joined: 23 Feb 2006
Posts: 24

Does this mean that I need to enable the useClientMode attribute because I am making a remote MQ invocation as opposed to just binding this connection?
_________________
Jose R
WWJD
<))><<
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
jefflowrey
PostPosted: Thu May 11, 2006 12:49 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Does it work if you do that?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
JoseR
PostPosted: Thu May 11, 2006 12:56 pm    Post subject: Reply with quote

Novice

Joined: 23 Feb 2006
Posts: 24

I would have to wait till morning to get you an answer because I've commited my server for other people to use it.
Thanks for the updates!
and expect a reply back tomorrow.
_________________
Jose R
WWJD
<))><<
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Proxy Servlet for the HTTP node
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.