Solved

Weblogic 11g installation - Mac OX

Posted on 2010-08-24
11
2,235 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
Don't miss ATEN at NAB Show April 24-27!

Visit ATEN at NAB Show to learn how our "Seamlessly Entertaining" solutions deliver fast, precise video streaming without delays for the broadcasting and media environment. ATEN will showcase its 16x16 Modular Matrix Switch (VM1600) and KVM Over IP Solution (KE6900 series).

 

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Copy multiple iTunes playlists to attached iPod 2 100
My MacBook is dogging... 4 61
Which Mac app runs? 2 40
Mac OSX Mail client and Exchange 5 74
This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
If you other experts are anything like me you are always looking into and testing out new features. While I was doing some research one day I ran across an app that I installed on my Mac and used as a security system. Mac OS X: SecureHome uses your …
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 …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

749 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