Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2291
  • Last Modified:

Weblogic 11g installation - Mac OX

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
RishiBang
Asked:
RishiBang
  • 7
  • 4
4 Solutions
 
tisaksenCommented:
When you run the installer add the os.name property like this:

 java -Dos.name=unix -jar installer.jar
0
 
RishiBangAuthor Commented:
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
 
tisaksenCommented:
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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
RishiBangAuthor Commented:
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
 
tisaksenCommented:
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
 
tisaksenCommented:
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
 
RishiBangAuthor Commented:
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
 
tisaksenCommented:
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
 
tisaksenCommented:
Did this not solve your problem ?
0
 
RishiBangAuthor Commented:
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
 
tisaksenCommented:
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 7
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now