<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
   <title>Erwin Morales&apos; Blog</title>
   <link rel="alternate" type="text/html" href="http://blogs.oracle.com/emorales/" />
   <link rel="self" type="application/atom+xml" href="http://blogs.oracle.com/emorales/xml/rss.xml" />
   <id>tag:blogs.oracle.com,2009:/emorales//2102</id>
   <updated>2009-06-16T12:46:15Z</updated>
   <subtitle>Tricks, tips, experiences and some information about Oracle Middleware software and other mundane things.</subtitle>
   <generator uri="http://www.sixapart.com/movabletype/">Movable Type Enterprise 1.52-en-voltron-r47459-20070213</generator>

<entry>
   <title>Oracle Service Bus in Mac OS X</title>
   <link rel="alternate" type="text/html" href="http://blogs.oracle.com/emorales/2009/06/oracle_service_bus_in_mac_os_x.html" />
   <id>tag:blogs.oracle.com,2009:/emorales//2102.12892</id>
   
   <published>2009-06-16T12:18:29Z</published>
   <updated>2009-06-16T12:46:15Z</updated>
   
   <summary>The same old story, for install Oracle Service Bus over Mac OS X you have to execute the installer with the same properties of Oracle WebLogic Application Server 10gR3 installer, adjust the JVM properties for support the Oracle Service Bus...</summary>
   <author>
      <name>erwin.morales.e</name>
      
   </author>
         <category term="Oracle Service Bus" scheme="http://www.sixapart.com/ns/types#category" />
         <category term="WebLogic" scheme="http://www.sixapart.com/ns/types#category" />
   
   
   <content type="html" xml:lang="en" xml:base="http://blogs.oracle.com/emorales/">
      <![CDATA[<p>The same old story, for install Oracle Service Bus over Mac OS X you have to execute the installer with the same properties of Oracle WebLogic Application Server 10gR3 installer, adjust the JVM properties for support the Oracle Service Bus application mounted over Oracle WebLogic and thats all.</p>

<p>* Version:<br />
Choose the <a href="http://download.oracle.com/otn/bea/osb/osb1031_wls103_generic.jar">HP-UX Itanium</a> installer.</p>

<p>* Execute the installation jar with the follow properties:<br />
Dos.name=unix<br />
Max Heap Size=1024m<br />
$ java -jar  -Xmx1024m -Dos.name=unix osb1031_wls103_generic.jar</p>

<p>* In the wizard use your WebLogic 10gR3 installation directory (bea_home), continue with the install process.</p>

<p>* Create a test Oracle Service Bus domain with the bea_home/wlserver_10.3/common/bin/.config.sh with the same characteristics, not clusters, not RDBMS (not at this moment).</p>

<p>* Change the JVM properties in the <domain_home>/bin/setDomainEnv.sh, in the  MEM_ARGS entry to be able to deploy the big Oracle Service Bus application.</p>

<p>MEM_ARGS="-Xms256m -Xmx1024m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=256m"</p>

<p>Finally, test the <a href="http://localhost:7001/console">WebLogic console</a> application and the <a href="http://localhost:7001/sbconsole/jsp/login/login_form.jsp">Oracle Service Bus console</a>, test it with real applications, share to us and enjoy.</p>]]>
      
   </content>
</entry>
<entry>
   <title>Oracle WebLogic over Mac OS X</title>
   <link rel="alternate" type="text/html" href="http://blogs.oracle.com/emorales/2009/06/weblogic_over_mac_os_x.html" />
   <id>tag:blogs.oracle.com,2009:/emorales//2102.12844</id>
   
   <published>2009-06-11T07:02:13Z</published>
   <updated>2009-06-16T10:38:08Z</updated>
   
   <summary>I&apos;m a happy Mac OS X user, many things run fine, it&apos;s a *nix based OS, stable and good looking user interfaces but there are some lack of support of almost all the big middleware software manufacturers. There are some...</summary>
   <author>
      <name>erwin.morales.e</name>
      
   </author>
         <category term="Mac O SX" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="macosx" label="MacOsX" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="weblogic" label="WebLogic" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://blogs.oracle.com/emorales/">
      <![CDATA[<p>I'm a happy Mac OS X user, many things run fine, it's a *nix based OS, stable and  good looking user interfaces but there are some lack of support of almost all the big middleware software manufacturers. There are some development tools for Mac OS X because they run into a JVM, like JDeveloper, NetBeans, IntelliJ, Eclipse and related IDEs based on it but we need an app server running in our machine for test independently.</p>

<p>In the field of application servers, is possible to<a href="http://developer.apple.com/internet/java/enterprisejava.html">setup a JBoss and Jetty AS</a> without much effort. The problems comes when you want to run a Oracle WebLogic into MacOS X for development purpose.</p>

<p>* Which installer?<br />
The right installer for MacOs X is the HP-UX Itanium release: <a href="http://download.oracle.com/otn/bea/weblogic/server103/server103_generic.jar">server103_generic.jar</a>. Why? Is the only for Intel 64-bit and *nix system.</p>

<p>* Installing the pre-requisites (Eclipse and Java 6 VM)<br />
If you don't have the JVM 6 in your system, update it. In the '/System/Library/Frameworks/JavaVM.framework/Versions' you should have a lot of versions included 1.6 (1.6.0). If you try to run the setup with the default configuration, in the step of "Choose you JVM" the JVM will not be recognized, so create a fictitious rt.jar and core.jar in '/System/Library/Frameworks/JavaVM.framework/Home/1.6/jre/lib/'.</p>

<p>In past installers Workshop wasn't a must for installing WebLogic, but in 10gR3 is mandatory to have an specific version of Eclipse installed in the system. This is the Eclipse 3.3.2 (Europa) with WTP2.0.3. <br />
I tested with latest versions (Ganymede) and appears it is not supported. In the Workshop white paper you can check the right version.</p>

<p>* Resolving permgen errors<br />
Run the installer in Terminal, with the JVM 6, 1Gb of Max Heap, and the property -Dos.name=unix. <br />
$/System/Library/Frameworks/JavaVM.framework/Home/1.6/jre/lib/java -Xmx1024m -Dos.name=unix -jar server103_generic.jar</p>

<p>If you try to run the installer without this properties, a lot of permgen exceptions will be thrown. Take care of permissions, if your BEA_HOME will be a not_user folder, you may give permissions for this folder to your user.</p>

<p>* Installing Oracle WebLogic<br />
Make a simple setup and choose the right Eclipse location for workshop, finish the installation.</p>

<p>* Make a new domain<br />
With the conf.sh wizard make a new brand simple domain (without clustering and/or RDMS capabilities). </p>

<p>* Configuring and running WebLogic domain<br />
In order to deploy and run the console application (and others) you have to get a bigger heap.<br />
In your domain folder change the MEM_ARGS property from<br />
#MEM_ARGS="-Xms256m -Xmx512m" <br />
to<br />
MEM_ARGS="-Xms256m -Xmx512m -XX:MaxPermSize=128m"</p>

<p>and run your server with ./startWebLogic.sh</p>

<p>* Testing the console</p>

<p>Try to login in your console in http://localhost:<port>/console. Wait to on_demand deploy of console and enjoy it! You can use almost all the features.</p>

<p>* What's missing?</p>

<p>Clustering by "default" (after this workarround) is not enabled, if you try to configure via config.sh wizard a new domain with more than one instance, there are many problems to resolve:</p>

<p>** Is not enough RAM for more than one instance (if you have small RAM)<br />
** Security Issues</p>

<p>I'm working in that, finding the best JVM memory balance for Mac Os X and resolving these issues.</p>]]>
      
   </content>
</entry>

</feed>
