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 » java - no main manifest attribute

Post new topic  Reply to topic Goto page Previous  1, 2
 java - no main manifest attribute « View previous topic :: View next topic » 
Author Message
fjb_saper
PostPosted: Thu Aug 21, 2014 7:34 am    Post subject: Reply with quote

Grand High Poobah

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

Yes java requires you to specifically set the connection mode to client in the connection parms when attempting to make a client connection.
You could (If available) set the connection mode to "bindings then client"...

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
tczielke
PostPosted: Thu Aug 21, 2014 7:37 am    Post subject: Reply with quote

Guardian

Joined: 08 Jul 2010
Posts: 939
Location: Illinois, USA

I have found both strmqtrc or strace helpful in tracking down which module MQ was looking for when getting the 2495 error.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Aug 21, 2014 7:44 am    Post subject: Reply with quote

Grand High Poobah

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

Typically I use for bindings connection:
-Djava.library.path="<mqinstall>/java/lib64:/usr/lib64" or if 32 bits java
-Djava.library.path="<mqinstall>/java/lib:/usr/lib"

You could also set those values to the LD_LIBRARY_PATH or equivalent environment variable.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Thu Aug 21, 2014 8:00 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

fjb_saper wrote:
Typically I use for bindings connection:
-Djava.library.path="<mqinstall>/java/lib64:/usr/lib64" or if 32 bits java
-Djava.library.path="<mqinstall>/java/lib:/usr/lib"

You could also set those values to the LD_LIBRARY_PATH or equivalent environment variable.


Yes.

He's trying to create a client connection. He doesn't likely *have* MQserver installed, and so a bindings connection is *the wrong choice*.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » IBM MQ Java / JMS » java - no main manifest attribute
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.