Solved

Weblogic 11g installation - Mac OX

Posted on 2010-08-24
11
2,229 Views
Last Modified: 2013-12-10
Hi,

I am trying to install Weblogic 11g (10.3.3) on Mac OSX (10.5 Leopard)

I am getting out of disk space errors while installing Oracle Weblogic 11g (10.3.3) on my Macbook even though I have the space.

My system info

$ uname -a
Darwin macbook-2.local 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386
My disk space details are as follows:

Rishi-Kidambis-macbook-2:~ Rishi-Kidamb$ df -k

Filesystem    1024-blocks      Used Available Capacity  Mounted on
/dev/disk0s2    116884912  80920224  35708688    70%    /
devfs                 113       113         0   100%    /dev
fdesc                   1         1         0   100%    /dev
map -hosts              0         0         0   100%    /net
map auto_home           0         0         0   100%    /home
/dev/disk1s10   156273108 120465028  35808080    78%    /Volumes/HGFS   (External Drive)
/dev/disk1s12   156022548 139294280  16728268    90%    /Volumes/VMWare  (External Drive)

I have used the following command to start the installation


Rishi-Kidambis-macbook-2:Shared Rishi-Kidambi$ sudo java -jar -Xms128m -Xmx256m wls1033_generic.jar

I have attached the screenshot of the error.

Thanks,
Rishi

Picture-1.png
0
Comment
Question by:RishiBang
  • 7
  • 4
11 Comments
 
LVL 2

Accepted Solution

by:
tisaksen earned 500 total points
ID: 33518997
When you run the installer add the os.name property like this:

 java -Dos.name=unix -jar installer.jar
0
 

Author Comment

by:RishiBang
ID: 33538072
Hi tisaksen,

I have tried to install by providing the option you have suggested but no luck,

The installer is throwing the same error.

Thanks,
Rishi
0
 
LVL 2

Expert Comment

by:tisaksen
ID: 33538862
That's strange, I've installed it many times on mac os x and -Dos.name=unix always does the trick.. hm. I'm afraid I can't help you then.
0
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 

Author Comment

by:RishiBang
ID: 33548017
Hi tisaksen,

Ok not a prb. fine that you have provided some info.

But let me share with you some thing.

I will be in my userid say rishi when I open a shell in Mac

If I have to execute anything as root I use sudo "command"

The error I am getting says that it is not finding the space in some /var/tmp is not sufficient.

But surprisingly the Env variabe TMPDIR is set  to something like

TMPDIR=/var/folders/wj/wj-N0zDWHEeYl4-DIqugTk+++TI/-Tmp-/

Is this can cause a problem?? Do I need to change any Os level settings??

Thanks,
Rishi
0
 
LVL 2

Assisted Solution

by:tisaksen
tisaksen earned 500 total points
ID: 33548457
Why do you install using sudo ?
Also, in additon to -Dos.name=unix, add -Djava.io.tmpdir=/var/tmp

so:

java -Dos.name=unix -Djava.io.tmpdir=/var/tmp -jar installer.jar
0
 
LVL 2

Assisted Solution

by:tisaksen
tisaksen earned 500 total points
ID: 33548505
Or even better, to make sure there's enough memory:

java -Xms1024M -Xmx1024M -XX:MaxPermSize=256m -Dos.name=unix -Djava.io.tmpdir=/var/tmp -jar installer.jar

You do use Java 1.6 right ?
0
 

Author Comment

by:RishiBang
ID: 33551456
Hi tisaksen,

I am able to successfully install the weblogic on my mac using the cmd you have provided.

Thanks a lot. But I am getting the following error when I start the NodeManager using startNodeManager.sh.

weblogic.nodemanager.common.ConfigException: Native version is enabled but nodemanager native library could not be loaded
      at weblogic.nodemanager.server.NMServerConfig.initProcessControl(NMServerConfig.java:245)
      at weblogic.nodemanager.server.NMServerConfig.<init>(NMServerConfig.java:185)
      at weblogic.nodemanager.server.NMServer.init(NMServer.java:181)
      at weblogic.nodemanager.server.NMServer.<init>(NMServer.java:147)
      at weblogic.nodemanager.server.NMServer.main(NMServer.java:353)
      at weblogic.NodeManager.main(NodeManager.java:31)
Caused by: java.lang.UnsatisfiedLinkError: no nodemanager in java.library.path
      at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1701)
      at java.lang.Runtime.loadLibrary0(Runtime.java:823)
      at java.lang.System.loadLibrary(System.java:1030)
      at weblogic.nodemanager.util.UnixProcessControl.<init>(UnixProcessControl.java:24)
      at weblogic.nodemanager.util.Platform.getProcessControl(Platform.java:114)
      at weblogic.nodemanager.server.NMServerConfig.initProcessControl(NMServerConfig.java:243)

What I need to do for fixing this.


Regards,
Rishi

0
 
LVL 2

Assisted Solution

by:tisaksen
tisaksen earned 500 total points
ID: 33552142
Go to $WL_HOME/wlserver_10.3/common/nodemanager and set NativeVersionEnabled=false
Most likely you do not have a nodemanager.properties file there because it is created upon first successful launch.
So, create the file and just add this line to it:

NativeVersionEnabled=false

Now you will be able to start the node manager. You might want to copy the output from the nodemanager and put that in your nodemanger.properties file if you need to change anything at a later stage.
0
 
LVL 2

Expert Comment

by:tisaksen
ID: 33616189
Did this not solve your problem ?
0
 

Author Comment

by:RishiBang
ID: 33623792
Yes tisaksen,

I have solved the problem by doing the procedure you have given above.

Can you let me know the concept behind the NativeVersionEnabled=false ??

Thanks,
Rishi
0
 
LVL 2

Expert Comment

by:tisaksen
ID: 33624172
I don't know any details about it but I think it's just native IO for the node manager.
Anyway you should accept my solution so I get my points.
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
MAC Book Pro Keyboard/Trackpad 3 80
Is macOS Sierra worth the upgrade? 2 307
Unzip files in macOS Sierra - How? 4 62
Shutdown all of many Sierra applications... 4 26
Deploystudio is a system which can be used to deploy OSX clients and servers within the small/medium or large business environments. The system is built ontop of the OSX Server NetBoot system and uses images & workflows as its core assets. Although …
In this article we discuss how to recover the missing Outlook 2011 for Mac data like Emails and Contacts manually.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question