Solved

Weblogic 11g installation - Mac OX

Posted on 2010-08-24
11
2,219 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
 

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
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…
The error "There was an error performing the update" occurred on a Mac OS X client workstation running  Symantec AntiVirus for Mac (http://www.symantec.com/business/products/purchasing.jsp?pcid=pcat_security&pvid=825_1) - the Enterprise product vers…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

708 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now