|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
When installing the WMB 7.0 getting java.lang.OutOfMemoryErr |
« View previous topic :: View next topic » |
Author |
Message
|
srikanthap |
Posted: Wed May 11, 2011 12:05 am Post subject: RE |
|
|
Novice
Joined: 10 May 2011 Posts: 14
|
smdavies99,
I have taken that part where initially adding root to these groups. Then removed these groups and created specific mqsi user who is belonging to mqbrkrs and mqm group.
This new user has all the permissions to the tasks. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Wed May 11, 2011 4:35 am Post subject: Re: RE |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
srikanthap wrote: |
smdavies99,
I have taken that part where initially adding root to these groups. Then removed these groups and created specific mqsi user who is belonging to mqbrkrs and mqm group.
This new user has all the permissions to the tasks. |
Davies was pointing out that you need to be ROOT to run the installer. Based on your comments, I'm not sure your grasping this concept.
Perhaps taking the WMB Admin class would help. Are you able to attend this class? _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
srikanthap |
Posted: Wed May 11, 2011 9:24 am Post subject: |
|
|
Novice
Joined: 10 May 2011 Posts: 14
|
I am installing as root not other users.
Before that I had a trial run and was able to install on my VM (RHEL 5.5) which is running locally.
I am having a working MQ 7.0, DB2 9.7 with WMB 7.0 on this VM and message flow deployed.
After that only I have started on our dev VM. |
|
Back to top |
|
 |
srikanthap |
Posted: Thu May 12, 2011 3:25 am Post subject: |
|
|
Novice
Joined: 10 May 2011 Posts: 14
|
I am having a doubt over the swap space on the machine having the error.
On my local VM -
[root@localhost messagebroker_trial_runtime1]# grep SwapTotal /proc/meminfo
SwapTotal: 1802232 kB
On the Dev VM -
[root@--------- var]# grep SwapTotal /proc/meminfo
SwapTotal: 557048 kB
For my requirement I just need to have one broker running with a two message flow. So whether this much swap is sufficient? |
|
Back to top |
|
 |
mqjeff |
Posted: Thu May 12, 2011 3:27 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
It may be sufficient for running the broker, but it may not be sufficient for installing the Broker.
And it is the installation that's failing, yes? |
|
Back to top |
|
 |
srikanthap |
Posted: Thu May 12, 2011 3:29 am Post subject: |
|
|
Novice
Joined: 10 May 2011 Posts: 14
|
Yes, it is the machine where installation is failing. |
|
Back to top |
|
 |
mqjeff |
Posted: Thu May 12, 2011 3:35 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
So even though the machine may appear to have sufficient physical memory for the task, it does not appear to have sufficient swap space to back up the physical memory...
So when it told you that it was out of memory, it might have meant out of swap space...
 |
|
Back to top |
|
 |
srikanthap |
Posted: Thu May 12, 2011 3:47 am Post subject: |
|
|
Novice
Joined: 10 May 2011 Posts: 14
|
On the problematic machine there is 4 GB RAM and swap size as 540 MB. |
|
Back to top |
|
 |
smdavies99 |
Posted: Thu May 12, 2011 5:14 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
srikanthap wrote: |
On the problematic machine there is 4 GB RAM and swap size as 540 MB. |
Even though Linux uses what is commonly known as 'lazy swap', this is far too little. This is not enough to swap out one Eg let alone a whole broker.
If you have any unused partitions on yourt hard drive you can set the partition type using fdisk and then add the partion using swapon -a. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
srikanthap |
Posted: Thu May 12, 2011 9:39 pm Post subject: |
|
|
Novice
Joined: 10 May 2011 Posts: 14
|
Swap was increased to 1.7 GB and tried again after installing, same issue reoccurred. I did the comparitive log analysis of successfull installation on my local VM and on the failed one.
There were other lines which were similar. Here I am posting the lines which were having issues.
See below the logs, after executing the step-4 getting out of memory. I m not aware if you notice the successfull log, after step-4 actual installation starts installer lists free and total memory.
What is this memory? This memory is not sufficient in the machine where the installation is failing. Any idea's of what is this memory?
Successfull Log -
Code: |
*************************************************************
1- mqsi.Setup, com.ibm.lex.lap.isje.LAFiles, dbg, LAFiles.doWriteLicense.tempFile moved
2- mqsi.Setup, com.ibm.lex.lap.isje.LAFiles, dbg, trying to installnon_ibm_license
3- mqsi.Setup, com.ibm.lex.lap.isje.LAFiles, dbg, General exception in extra files-null
4- mqsi.Setup, com.ibm.lex.lap.isje.LAFiles, dbg, trying to installnotices
5- mqsi.Setup, com.ibm.lex.lap.isje.LAFiles, dbg, LAFiles.install.writing extraFile
6- mqsi.Setup, com.ibm.lex.lap.isje.LAFiles, dbg, LAFiles.doWriteLicense.Target=/u01/ibm/mqsi/7.0/license/notices.txt
7- mqsi.Setup, com.ibm.lex.lap.isje.LAFiles, dbg, LAFiles.doWriteLicense.tempFile=/tmp/ismp001/2545004.tmp
8- mqsi.Setup, com.ibm.lex.lap.isje.LAFiles, dbg, LAFiles.doWriteLicense.encoding=Cp819
9- mqsi.Setup, com.ibm.lex.lap.isje.LAFiles, dbg, LAFiles.doWriteLicense.tempFile moved
10- mqsi.Setup, com.ibm.wizard.platform.linux.LinuxProductServiceImpl, dbg.install, JVM memory after installing LA Files (laFiles): free=15355752 total=34208256
11- mqsi.Setup, com.ibm.wizard.platform.linux.LinuxProductServiceImpl, dbg.install, JVM memory before installing Delete Directory (deleteWebServicesPrereqFolder): free=15215768 total=34208256
12- mqsi.Setup, com.ibm.wizard.platform.linux.LinuxProductServiceImpl, msg1, installing Delete Directory (deleteWebServicesPrereqFolder)
13- mqsi.Setup, com.installshield.product.actions.DeleteDirectory, dbg, Directory /u01/ibm/mqsi/7.0/webservices/prereqs does not exist
************************************************************* |
Failed Log
Code: |
*************************************************************
1- mqsi.Setup, com.ibm.lex.lap.isje.LAFiles, dbg, LAFiles.doWriteLicense.tempFile moved
2- mqsi.Setup, com.ibm.lex.lap.isje.LAFiles, dbg, trying to installnon_ibm_license
3- mqsi.Setup, com.ibm.lex.lap.isje.LAFiles, dbg, General exception in extra files-null
4- mqsi.Setup, com.ibm.lex.lap.isje.LAFiles, dbg, trying to installnotices
5- mqsi.Setup, com.ibm.lex.lap.isje.LAFiles, err, An error occurred and product installation failed. Look at the log file /root/mqsi7_install.log for details.
6- mqsi.Setup, com.ibm.lex.lap.isje.LAFiles, err, java.lang.OutOfMemoryError
STACK_TRACE: 15
java.lang.OutOfMemoryError
at com.ibm.lex.lap.archive.IJARArchiveHandler.getByteArray(IJARArchiveHandler.java(Compiled Code))
at com.ibm.lex.lap.archive.IJARArchiveHandler.getTextLines(IJARArchiveHandler.java:183)
at com.ibm.lex.lap.isje.LAFiles.install(LAFiles.java:1018)
at com.installshield.product.service.product.PureJavaProductServiceImpl.installProductAction(PureJavaProductServiceImpl.java:1923)
at com.ibm.wizard.platform.linux.LinuxProductServiceImpl.installProductAction(LinuxProductServiceImpl.java:552)
at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.getResultForProductAction(PureJavaProductServiceImpl.java:5202)
************************************************************* |
Also memory information is listed -
on local VM - cat /proc/meminfo
Code: |
MemFree: 94080 kB
Buffers: 9916 kB
Cached: 403296 kB
SwapCached: 0 kB
Active: 237872 kB
Inactive: 330756 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 768000 kB
LowFree: 94080 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 28 kB
Writeback: 0 kB
AnonPages: 155416 kB
Mapped: 58248 kB
Slab: 33388 kB
PageTables: 20884 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
CommitLimit: 384000 kB
Committed_AS: 619620 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 1020 kB
VmallocChunk: 34359736955 kB |
on failed VM - cat /proc/meminfo
Code: |
MemTotal: 4194304 kB
MemFree: 3894444 kB
Buffers: 10332 kB
Cached: 162636 kB
SwapCached: 0 kB
Active: 137972 kB
Inactive: 41804 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 4194304 kB
LowFree: 3894444 kB
SwapTotal: 1605616 kB
SwapFree: 1605616 kB
Dirty: 0 kB
Writeback: 0 kB
AnonPages: 6848 kB
Mapped: 4960 kB
Slab: 11488 kB
PageTables: 1504 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
CommitLimit: 3702768 kB
Committed_AS: 36672 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 1040 kB
VmallocChunk: 34359737319 kB |
------------------------------------------------- |
|
Back to top |
|
 |
srikanthap |
Posted: Sun May 15, 2011 10:54 am Post subject: |
|
|
Novice
Joined: 10 May 2011 Posts: 14
|
Anybody got some idea's on this? |
|
Back to top |
|
 |
fjb_saper |
Posted: Sun May 15, 2011 7:53 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Make sure you have all the kernel parameters set. (ulimit and others).
Verify that you are not installing from a corrupt image.
If that does not do the trick, reinstall the box / VM from the ground up.
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
chirayu |
Posted: Tue Dec 13, 2011 5:18 am Post subject: |
|
|
Apprentice
Joined: 04 May 2011 Posts: 30
|
Srikanth... was your issue sresolved... I am getting the same exception on a VM running on LINUX |
|
Back to top |
|
 |
|
|
|
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
|
|
|
|