Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Weblogic 11g installation - Mac OX

Posted on 2010-08-24
11
Medium Priority
?
2,287 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 4
11 Comments
 
LVL 2

Accepted Solution

by:
tisaksen earned 2000 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
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!

 

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 2000 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 2000 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 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Syslogd is a utility that traps and logs messages sent by running processes. It is configured with the syslog.conf file, which consists of lines containing a pair of fields: "the selector field which specifies the types of messages and priorities to…
This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
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 …
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

636 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