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 » Failed to create Java VM -1

Post new topic  Reply to topic
 Failed to create Java VM -1 « View previous topic :: View next topic » 
Author Message
nukalas2010
PostPosted: Tue Jul 09, 2013 1:08 am    Post subject: Failed to create Java VM -1 Reply with quote

Master

Joined: 04 Oct 2010
Posts: 220
Location: Somewhere in the World....

Dear All,
I am getting the below exception when I entered mqsilist command.

Code:
Error: Port Library failed to initialize
BIP7064S: Failed to create Java VM -1.
The broker creates a Java Virtual Machine to support internal operations, but in this case has been unable to do so.  There may have been a problem with the way the product was installed, or something has subsequently affected the installation.
This is an internal error and you should contact your IBM support center.

BIP8074E: Unable to create a JVM.
A Java Virtual Machine could not be created.
Ensure that the Java CLASSPATH variable is correct and that it is not too large, ensure that the Java runtime executable (JRE) shipped with the product is in its correct directory.


CLASSPATH:
Code:
/v01omw/opt/IBM/mqsi/7.0/classes/ConfigManagerProxy.jar:/v01omw/opt/IBM/mqsi/7.0/classes/brokerutil.jar:/usr/mqm/java/lib/com.ibm.mq.commonservices.jar:/usr/mqm/java/lib/com.ibm.mq.headers.jar:/usr/mqm/java/lib/com.ibm.mq.jar:/usr/mqm/java/lib/com.ibm.mq.jmqi.jar:/usr/mqm/java/lib/com.ibm.mq.pcf.jar:/usr/mqm/java/lib/connector.jar:/usr/mqm/java/lib/com.ibm.mqjms.jar:/v01omw/opt/IBM/mqsi/7.0/messages:/var/mqsi/common/wsrr:/usr/mqm/java/lib/com.ibm.mqjms.jar:/home/esbmbsit


Product Details:

Code:
BIP8996I: Version:    7004
BIP8997I: Product:    WebSphere Message Broker
BIP8998I: CMVC Level: S700-FP04
BIP8999I: Build Type: Production, 64 bit, rios_aix_4


Last week, I had applied changes like Increasing the jvmJavaOSStackSize & jvmMaxHeapSize on one EG. and it's work fine that time. Apart from that no changes has been done.

To revert back those changes, can't able to login to broker itself..

Also when I am trying to type Java, I am getting the error as below.

Code:
/home/esbmbsit>java
Error: Port Library failed to initialize
Could not create the Java virtual machine.


Need help on this...
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Tue Jul 09, 2013 3:07 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Contact admin. Someone has changed the environment classpath that MQBRKR service Id uses. It needs to be set back to its original value.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
nukalas2010
PostPosted: Tue Jul 09, 2013 4:54 am    Post subject: Reply with quote

Master

Joined: 04 Oct 2010
Posts: 220
Location: Somewhere in the World....

Yes sir.. I had modified the classpath to set some jar files and I reverted back that. Now I can see that old classpath.. but still issue persists.. how to fix in this case???
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Tue Jul 09, 2013 5:00 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

It seems your still a bit mucked up. You might uninstall then reinstall.

Usually, there is no need to change the classpath. You should leave that alone.

If you want to add jars to the broker runtime, you create a configurable class loader or put the jars in shared-classes directory.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
nukalas2010
PostPosted: Tue Jul 09, 2013 5:08 am    Post subject: Reply with quote

Master

Joined: 04 Oct 2010
Posts: 220
Location: Somewhere in the World....

lancelotlinc wrote:
It seems your still a bit mucked up. .

yeah.. I understand.. I did some messup over here.. but I reverted it back those changes what I did.. so it should work..

Quote:
You might uninstall then reinstall

reinstall broker??

Quote:
Usually, there is no need to change the classpath. You should leave that alone.

ok

Quote:
If you want to add jars to the broker runtime, you create a configurable class loader or put the jars in shared-classes directory

yeah, I got this from documentation..

Code:
The broker uses the following search path to find JavaCompute node classes:

The deployed JAR file
<WorkPath>/shared-classes/ to locate any JAR files
The CLASSPATH environment variable


so, resintall will be the final solution for this??? Any other solution ll be highly appreciated..
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Jul 09, 2013 8:01 pm    Post subject: Reply with quote

Grand High Poobah

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

no guarantees but worth a shot:

Look at the classpath on a box with a working broker and compare. Make sure you have everything in a comparable manner and try again...

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Tibor
PostPosted: Wed Jul 10, 2013 4:28 am    Post subject: Reply with quote

Grand Master

Joined: 20 May 2001
Posts: 1033
Location: Hungary

I guess, this is not a Message Broker related error, but a Java / AIX problem. You can find a description about a similar case at IBM: http://www-01.ibm.com/support/docview.wss?uid=swg1IV12285
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Jul 10, 2013 4:44 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

it's also the kind of error that can occur in certain circumstances when someone tries to run broker commands in a shell that doesn't have mqsiprofile applied.

It's not the typical result of doing that, but it can occur.
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 » WebSphere Message Broker (ACE) Support » Failed to create Java VM -1
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.