Showing posts with label Weblogic Server. Show all posts
Showing posts with label Weblogic Server. Show all posts

Friday, June 15, 2012

java.lang.UnsatisfiedLinkError: Can't load library: ....../Oracle_SOA1/oui/lib/win32/oraInstaller.dll .

Hello,

Here is a, how to call it.. an approach maybe, to identify the problem  and possibly provide a solution...

I have just Opatched my soa suite in my  wls 10.3.5 and I had to update my schemas  with the help of Patch Set Assistant

http://docs.oracle.com/cd/E25178_01/doc.1111/e16793/patch_set_assistant.htm

Anyway, when I tried to execute psa  in order to update my SOAINFRA and I go the following error:

Actually, I got the same error when I was trying to Opatch my SOA...
but I was able to workaround this by providing my 64bit jre with -jre option..

But for some reason I wasnt able to find this for psa command (If you know where it is... please share!)

So the problem was that the jdk the psa is using, is a 32bit one...
uh? But my windows 7 are 64bit and the java installed is 64bit...

And for that reason it tries to find a win32 folder... which is not there! there is only win64 folder.. Check yours as well..

So basically I digged a bit and I found out that it uses the JAVA_HOME set in the psa.bat eventually uses the JRockit jdk which is bundled with the WLS...



So.... how are we going to change that jdk and actually not changing any code... in the psa.bat (which it might seem quite easy.. But I strongly advice you against it.


So in order to have it working fast..

Rename your JRockit jdk to _old
Create a new folder with the same name of your JRockit (we are keeping the same structure and folder naming)
Copy the contents of your 64bit JDK into the new folder.
Then run psa again



Which is actually correct!

All You have to do is to set it up properly..

DISCLAIMER:
THIS POST HAS NO INTENSION OF ALTERING IN ANY WAY THE OFFICIAL DOWNLOADABLE CONTENT  FROM ORACLE SITE AND IT IS NOT IN THE INTENTION OF THE AUTHOR TO PROMOTE SUCH BEHAVIORS. THIS IS A PURE ILLUSTRATIVE EXPLANATION OF THE FOLDER STRUCTURE.

Cheers!

Thursday, March 15, 2012

Installing ADF Libraries to Weblogic 10.3.6 through JDeveloper 11.1.1.6.0. Integrated Weblogic is in previous version: 10.3.5

Hi,

I have just tried to install ADF Libraries to Weblogic 10.3.6

I have already installed Weblogic 10.3.6 as standalone server.

So, I took JDeveloper 11.1.1.6.0 and tried to install it in the same home as the Weblogic 10.3.6 has.
Or course I was planning to install only the ADF libraries...

But this is what I got.



It is obvious that the integrated Weblogic of JDeveloper 11.1.1.6.0 is 10.3.5..

As Timo Hahn pointed out:
http://tompeez.wordpress.com/2012/02/23/jdeveloper-11-1-1-6-0-aka-fusion-middleware-11gr1-patch-set-5-is-available/
The integrated Weblogic version of JDeveloper 11.1.1.6.0 is 10.3.5




I do not know if this is the plan or it is a mistake. 
But according to the certification matrix:
http://www.oracle.com/technetwork/developer-tools/jdev/index-091111.html#Application_Servers



I could assume that this installation process should work fine.

Well, I tried and tried but still the same issue..

In order to get things working for my set up, I had to download the runtime from here:
http://www.oracle.com/technetwork/developer-tools/adf/downloads/index.html

Which of course means that I had to download another ~1GB for a runtime that I already have in My JDeveloper installation file...

Basically, I do not understand why JDeveloper is using 10.3.5 as the Integrated WebLogic Server.
Even though it supports it in 11.1.1.6.0 version of JDeveloper, I still cannot see why it is included as the Integrated Weblogic Server.
Furthermore, I cannot see the productivity in this setup. In order to develop in a similar environment I must install a standalone Weblogic 10.3.6 because simply the Weblogic 10.3.5 is not the version I downloaded and want to work with.

Regards.


References:
http://tompeez.wordpress.com/2011/09/14/jdeveloper-versions-vs-weblogic-server-versions/
https://blogs.oracle.com/onesizedoesntfitall/entry/adf_runtimes_vs_wls_versions
http://www.oracle.com/technetwork/developer-tools/jdev/index-091111.html#Application_Servers
http://www.oracle.com/technetwork/developer-tools/adf/downloads/index.html
[update. additional link] http://www.oracle.com/webfolder/technetwork/jdeveloper/howto/11114/managedserver/wlsadfms.html#4



Sunday, March 11, 2012

Running WebLogic 10.3.6 on CentOs on VirtualBox. Access Weblogic from the host machine

Hi this is just a small note on how to access your weblogic console from you host machine.

This post assumes that you are working on a VirtualBox machine with  operating system of CentOS.

If you have successfully installed weblogic 10.3.6 in you CentOs Virtual Machine and everything is working fine inside your CentOs Virtual Machine, at some point you would want to access your Weblogic console from your hosting machine..

Well, with CentOs... it is not that easy... I mean, you will not be able to do it "out of the box".
Even though that you might have configured your Virtual Machine to have internet access, it is not enough.

You have to do the following:


  • Make sure that you are using manual IP:



  • Make sure that your etc/hosts on your CentOS machine has properly added this IP



And Here is the tricky part...
In order to have your Weblogic accessed from the "outside" world, you will have to handle the firewall of CentOS. The firewall of CentOS, or iptables if you prefer, needs to be configured in order to be able to access the weblogic instance through the "outside" world.

In order to do this the fast way you have to disable the firewall:




If you want to do this in a more sophisticated way, you will have to dig in the CentOS firewall howTo.

More specifically, you will want to accept tcp packets on your weblogic's ports(The below screenshot is taken from the above mentioned link. This is the official CentOS HowTo link.):


In General, for the sample development, for me at least, stopping the firewall was what I was looking for. But in case you want to dig further and tune  your CentOS firewall according to your needs, the official documentation is very enlightening and helpful.


Regards.

References.




Saturday, July 23, 2011

Insufficient Disk space! Install Oracle Weblogic 10.3.5 on a Mac OS X 10.5

Hi,
After downloading the generic install of Oracle Weblogic Server 10.3.5 (wls1035_generic.jar), I kept trying to install it on my mac OS X 10.5.8. I always got the "Insufficient disk space!" message even though I had sufficient disk space message..

After quite some time on searching I discovered that I had to place the following command in order to install it properly:

java -Dos.name=unix -jar wls1035_generic.jar 


Well, that worked for me. Just another post for faster results while searching the internet.

Regards.

LinkWithin

Related Posts Plugin for WordPress, Blogger...