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 » IBM MQ Java / JMS » connecting MQ from OC4J installed in different machine?

Post new topic  Reply to topic
 connecting MQ from OC4J installed in different machine? « View previous topic :: View next topic » 
Author Message
meenakshi.kandasami
PostPosted: Wed Jul 23, 2008 11:08 pm    Post subject: connecting MQ from OC4J installed in different machine? Reply with quote

Novice

Joined: 23 Jul 2008
Posts: 10

I have my app server(OC4J) and MQ installed in seperate boxes.is it necessary for support pac ME01 independent of JNDI provider im using?

or else

What is the initialcontextfactory class can i use to bind JMS queues ?
naturally i cant use File system JNDI provider tht came with SUN.

can i use the one tht came with OC4J? if so should i need support pac ME01?

please help me.....i am investigating it for the last two days..

Thanks in advance..
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Jul 24, 2008 9:54 am    Post subject: Re: connecting MQ from OC4J installed in different machine? Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

meenakshi.kandasami wrote:

naturally i cant use File system JNDI provider tht came with SUN.

Why not? Give us a good reason.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
meenakshi.kandasami
PostPosted: Mon Jul 28, 2008 9:30 pm    Post subject: since my app server and MQ server are in different machine Reply with quote

Novice

Joined: 23 Jul 2008
Posts: 10

My JNDI bindings will be in local file system which cannot be accessed by remote App server na??

Now my problem is..

My JMSAdmin.config file

INITIAL_CONTEXT_FACTORY=com.ibm.mq.jms.context.WMQInitialContextFactory

PROVIDER_URL=tcp://localhost:1414/SYSTEM.DEF.SVRCONN


when i run the JMSAdmin tool

i got the error

Initializing JNDI Context...
INITIAL_CONTEXT_FACTORY: com.ibm.mq.jms.context.WMQInitialContextFactory
PROVIDER_URL: tcp://localhost:1414/SYSTEM.DEF.SVRCONN
Error: java.lang.ClassCastException



how could i resolve it???

what are the resons for this?

i have required jars in my class path
Back to top
View user's profile Send private message
meenakshi.kandasami
PostPosted: Mon Jul 28, 2008 9:43 pm    Post subject: this is my stack trace Reply with quote

Novice

Joined: 23 Jul 2008
Posts: 10

java.lang.ClassCastException
at com.ibm.mq.jms.admin.AdminService.initJNDI(AdminService.java:195)
at com.ibm.mq.jms.admin.JMSAdmin.<init>(JMSAdmin.java:214)
at com.ibm.mq.jms.admin.JMSAdmin.main(JMSAdmin.java:1872)
11:10:59 [1217310059481] [main] com.ibm.mq.jms.admin.JMSAdmin@df8ff1 Unable to initialise JNDI. Calling System.exit()
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Jul 29, 2008 1:51 pm    Post subject: Re: since my app server and MQ server are in different machi Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

meenakshi.kandasami wrote:
My JNDI bindings will be in local file system which cannot be accessed by remote App server na??

So why did you not FTP it across in binary mode?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » connecting MQ from OC4J installed in different machine?
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.