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.lang.NoClassDefFoundError: java/security/PrivilegedActi

Post new topic  Reply to topic
 java.lang.NoClassDefFoundError: java/security/PrivilegedActi « View previous topic :: View next topic » 
Author Message
bga
PostPosted: Mon Aug 06, 2007 9:15 am    Post subject: java.lang.NoClassDefFoundError: java/security/PrivilegedActi Reply with quote

Newbie

Joined: 05 Aug 2007
Posts: 4

Hi,

I am using MQSeries 5.3 Client Application on Unix Solaris and java version 1.5.0_09(Also, we have previous versions installed as well). I am getting this message after executing the sample java program to verify the connection. Can you please help me with this?

Failure: Missing software, may be Websphere MQ, or VBROKER_ADM variable
java.lang.NoClassDefFoundError: java/security/PrivilegedAction


I set the classpath and library path as below.

:/opt/mqm/samp/java/base > echo $CLASSPATH
/opt/mqm/java/bin:/opt/mqm/java/lib/com.ibm.mq.jar:/opt/mqm/java/lib/connector.jar:/opt/mqm/java/lib/jta.jar:/opt/mqm/samp/java/base:

:/opt/mqm/samp/java/base > echo $LD_LIBRARY_PATH
/usr/openwin/lib:/opt/GSX/lib:/opt/sybase/sqlserver/sybase115/lib:/opt/mqm/lib:/opt/mqm/java/lib

:/opt/mqm/samp/java/base > java -Djava.library.path=/opt/mqm/java/lib MQIVP
Websphere MQ for Java Installation Verification Program
5724-B4 (C) Copyright IBM Corp. 2002. All Rights Reserved.
===========================================================
After entering the required information, I get the java.lang.NoClassDefFoundError error


Please enter the IP address of the MQ server : SERVER_NAME
Please enter the port to connect to : (1414)
Please enter the server connection channel name : CHANNEL_NAME
Please enter the queue manager name : QMGR_NAME


Failure: Missing software, may be Websphere MQ, or VBROKER_ADM variable
java.lang.NoClassDefFoundError: java/security/PrivilegedAction
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Aug 06, 2007 9:23 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I don't think that v5.3 jar files are compiled for, or certified on, Java 1.5...

Also, v5.3 goes out of support next month. You should not be performing new installations, or building new systems with it.

So upgrade to the v6 client, and you might have better luck.
_________________
I am *not* the model of the modern major general.
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 » IBM MQ Java / JMS » java.lang.NoClassDefFoundError: java/security/PrivilegedActi
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.