<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>weblogic &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/weblogic/</link>
	<description>Feed of posts on WordPress.com tagged "weblogic"</description>
	<pubDate>Mon, 30 Nov 2009 04:57:27 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[Операционная система теперь не нужна Java]]></title>
<link>http://sidney3172blog.wordpress.com/2009/11/30/%d0%be%d0%bf%d0%b5%d1%80%d0%b0%d1%86%d0%b8%d0%be%d0%bd%d0%bd%d0%b0%d1%8f-%d1%81%d0%b8%d1%81%d1%82%d0%b5%d0%bc%d0%b0-%d1%82%d0%b5%d0%bf%d0%b5%d1%80%d1%8c-%d0%bd%d0%b5-%d0%bd%d1%83%d0%b6%d0%bd%d0%b0-jav/</link>
<pubDate>Mon, 30 Nov 2009 02:25:08 +0000</pubDate>
<dc:creator>Sergey Gibert</dc:creator>
<guid>http://sidney3172blog.wordpress.com/2009/11/30/%d0%be%d0%bf%d0%b5%d1%80%d0%b0%d1%86%d0%b8%d0%be%d0%bd%d0%bd%d0%b0%d1%8f-%d1%81%d0%b8%d1%81%d1%82%d0%b5%d0%bc%d0%b0-%d1%82%d0%b5%d0%bf%d0%b5%d1%80%d1%8c-%d0%bd%d0%b5-%d0%bd%d1%83%d0%b6%d0%bd%d0%b0-jav/</guid>
<description><![CDATA[Я видимо последний кто об этом услышал (хотя в рунете по этому поводу тишина). А суть в том что Orac]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Я видимо последний кто об этом услышал (хотя в рунете по этому поводу тишина). А суть в том что Oracle разрабатывает проект который исплючит операционную систему из требований по запуску Java. Назваться будет это JRockit Virtual Edition (VE). В этом можно видеть реализацию старой мечты Sun, что JVM (Java Virtual Machine) была сама полноценной виртуально машиной, которой бы не требовалась хост-ОС. Ну судя по всему в ближайшем времени мы сможем увидеть этот продукт, он будет входить в популярный Application Server &#8211; Weblogic Server Virtual Edition.<br />
Напомню что такое JRockit &#8211; это проприетарная реализация Java Virtual Machine, разработанная Appeal Virtual Machines (BEA), а затем сначала перешла к BEA Systems (в 2002), а потом и Oracle (в 2008). Но с учетом того что BEA Systems это всего лишь подразделение Oracle Corporation, то значит эта технология всегда была в Oracle.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[64-bit JRockit and the 11R1 SOA install]]></title>
<link>http://oraclemva.wordpress.com/2009/11/26/64-bit-jrockit-and-the-11r1-soa-install/</link>
<pubDate>Thu, 26 Nov 2009 11:03:24 +0000</pubDate>
<dc:creator>Jacco H. Landlust</dc:creator>
<guid>http://oraclemva.wordpress.com/2009/11/26/64-bit-jrockit-and-the-11r1-soa-install/</guid>
<description><![CDATA[Somehow I keep on running into trouble installing 64-bit Oracle Fusion Middleware SOA suite. The pro]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Somehow I keep on running into trouble installing <a href="http://oraclemva.wordpress.com/2009/10/21/soa-64-bi/" target="_blank">64-bit Oracle Fusion Middleware SOA suite</a>. The process seems quiet simple if you follow the installation guide. First of all I installed the 64-bit J-Rockit (see <a href="http://oraclemva.wordpress.com/2009/11/17/64-bit-j-rockit/" target="_blank">this </a>post how to download it).</p>
<blockquote><p>$ export JAVA_HOME=/u01/app/jrockit<br />
$ export PATH=$JAVA_HOME/bin:$PATH<br />
$ java -version<br />
java version &#8220;1.6.0_03&#8243;<br />
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)<br />
BEA JRockit(R) (build R27.5.0-110_o-99226-1.6.0_03-20080528-1505-linux-x86_64, compiled mode)</p></blockquote>
<p>Next I started the generic installer and installed the weblogic server:</p>
<blockquote><p>$ java -jar /u01/app/install/wls1032_generic.jar</p></blockquote>
<p>Then it is time to set the environment and start the installer:</p>
<blockquote><p>source /u01/app/oracle/middleware/wlserver_10.3/server/bin/setWLSEnv.sh<br />
$ /u01/app/install/ofm_soa_11.1.1.2.0/Disk1/runInstaller -jreLoc /u01/app/jrockit</p></blockquote>
<p><!--more--></p>
<p>Now you would expect the installer to start, but instead this error is raised:</p>
<p>java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/tmp/OraInstall2009-11-26_11-43-29AM/ext/jlib/glassfish.jaxb_1.0.0.0_2-1-7.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See <a href="http://java.sun.com/j2se/1.5.0/docs/guide/standards/">http://java.sun.com/j2se/1.5.0/docs/guide/standards/</a>)<br />
        at com.sun.xml.bind.v2.model.impl.ModelBuilder.(ModelBuilder.java:173)<br />
        at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:422)<br />
        at com.sun.xml.bind.v2.runtime.JAXBContextImpl.&#60;init&#62;(JAXBContextImpl.java:286)<br />
        at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:139)<br />
        at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:117)<br />
        at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:188)<br />
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br />
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br />
        at java.lang.reflect.Method.invoke(Method.java:597)<br />
        at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:132)<br />
        at javax.xml.bind.ContextFinder.find(ContextFinder.java:286)<br />
        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:372)<br />
        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:337)<br />
        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:244)<br />
        at oracle.as.install.engine.config.xml.EngineConfigParser.getEngineConfig(EngineConfigParser.java:59)<br />
        at oracle.as.install.engine.InstallEngine.startOperation(InstallEngine.java:379)<br />
        at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:446)<br />
java.lang.NullPointerException<br />
        at oracle.as.install.engine.InstallEngine.startOperation(InstallEngine.java:429)<br />
        at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:446)</p>
<p>Somehow this was not what I was expecting. It took me some time to figure out, but here&#8217;s what to do: download <a title="link to jaxb-api.jar" href="http://mirrors.ibiblio.org/pub/mirrors/maven2/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar" target="_blank">jaxb-api-2.1.jar</a> to /tmp. Next open the runInstaller script and go to line 186. Change this line from:</p>
<blockquote><p>$CMDDIR/install/linux64/runInstaller  JVM_OPTIONS=&#8221; -mx512m &#8221; &#8220;$@&#8221; -J-Doracle.installer.appendjre=true $COMMANDLINE</p></blockquote>
<p>to:</p>
<blockquote><p>$CMDDIR/install/linux64/runInstaller  JVM_OPTIONS=&#8221; -mx512m -Djava.endorsed.dirs=/tmp&#8221; &#8220;$@&#8221; -J-Doracle.installer.appendjre=true $COMMANDLINE</p></blockquote>
<p>Now you can start the installer and install the SOA suite. (updating the JVM to 1.6.0_04 might also fix the problem, <span style="text-decoration:line-through;">but I can&#8217;t seem to find the 1.6.0_04 64-bit JRockit JVM</span>  a newer JRockit can be found <a title="jrockit download link" href="http://www.oracle.com/technology/software/products/jrockit/index.html" target="_self">here</a>. Just download a JRRT of JRMC and you are set)</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[OBIEE application servers, now and future]]></title>
<link>http://rnm1978.wordpress.com/2009/11/25/obiee-application-servers-now-and-future/</link>
<pubDate>Wed, 25 Nov 2009 11:24:47 +0000</pubDate>
<dc:creator>rnm1978</dc:creator>
<guid>http://rnm1978.wordpress.com/2009/11/25/obiee-application-servers-now-and-future/</guid>
<description><![CDATA[Oracle have published an interesting doc 968223.1, entitled &#8220;Enterprise Deployment of Oracle B]]></description>
<content:encoded><![CDATA[Oracle have published an interesting doc 968223.1, entitled &#8220;Enterprise Deployment of Oracle B]]></content:encoded>
</item>
<item>
<title><![CDATA[Oracle Weblogic Simple Producer]]></title>
<link>http://vinaybarnwal.wordpress.com/2009/11/21/oracle-weblogic-simple-producer/</link>
<pubDate>Fri, 20 Nov 2009 23:32:09 +0000</pubDate>
<dc:creator>vinaybarnwal</dc:creator>
<guid>http://vinaybarnwal.wordpress.com/2009/11/21/oracle-weblogic-simple-producer/</guid>
<description><![CDATA[Oracle Weblogic Simple Producer (Version 10.3) Oracle Weblogic Simple producer is a light version of]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><strong><span style="color:#0000ff;">Oracle Weblogic Simple Producer</span> </strong>(Version 10.3)</p>
<p>Oracle Weblogic Simple producer is a light version of Oracle Weblogic Portal + Oracle Weblogic Federated resources. From here onwards simple producer will be used to indicate Oracle Weblogic Simple Producer. Remote portlets deployed on producer can be consumed by the consumer portal using WSRP protocol.</p>
<p>A simple producer can be created using the following steps:</p>
<p>Step 1: Create the simple producer domain</p>
<p>Step 2: Create the simple producer project</p>
<p>Step 3: Move the existing application to simple producer project or create new application as required.</p>
<p>Step 4: Generate simple producer portlets, books, pages etc.</p>
<p>Step 5: Deploy the simple producer application on simple producer domain</p>
<p>Step 6: Consume the simple producer portlets and you are done.</p>
<p><span style="color:#0000ff;"><strong>Following features are supported by Simple Producer:</strong></span></p>
<ul>
<li>Page flow &#38; struts portlets can be created and published as remote portlets</li>
<li>URL Rewriting is supported</li>
</ul>
<p><span style="color:#0000ff;"><strong>Following features are not supported by Simple Producer:</strong></span></p>
<ul>
<li>Java, JSP, HTML, Clipper or Iframe portlets are not supported</li>
<li>Registration of remote portlets are not supported</li>
<li>No portal administration is available for simple producer</li>
<li>No Backing file support is available for simple producer</li>
<li>No event support is available for simple producer and thus inter portlet communication is also not available.</li>
<li>Render dependency file is not supported by simple producer</li>
<li>Portal APIs are not supported by simple producer</li>
</ul>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[cloning with 11R1]]></title>
<link>http://oraclemva.wordpress.com/2009/11/18/cloning-with-11r1/</link>
<pubDate>Wed, 18 Nov 2009 12:04:03 +0000</pubDate>
<dc:creator>Jacco H. Landlust</dc:creator>
<guid>http://oraclemva.wordpress.com/2009/11/18/cloning-with-11r1/</guid>
<description><![CDATA[Some time ago I posted about the cloningutillity for Oracle Fusion Middleware 11. Mind you, this is ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Some time ago I <a title="My post about cloning" href="http://oraclemva.wordpress.com/2009/10/21/cloning-11g-fusion-middlewar-on-64-bit-oel/" target="_blank">posted </a>about the <a title="Link to cloning documentation." href="http://download.oracle.com/docs/cd/E12839_01/core.1111/e10105/clone.htm#ASADM318" target="_blank">cloningutillity</a> for Oracle Fusion Middleware 11. Mind you, this is something different from Oracle Fusion Middleware 11R1: 11.1.1.<em>1</em>.0 verses 11.1.1.<em>2</em>.0 . Even though the version sounds like a minor patch, I noticed that the cloningclient.jar utillity somehow lost the option -excludePattern. The error messages for excludepattern are still <a title="error messages of cloningclient.jar" href="http://download.oracle.com/docs/cd/E15523_01/core.1111/e10113/chapter_clone_messages.htm#sthref3942" target="_blank">documented</a>, but if you try to call the utillity with the -excludePattern option this error is raised:</p>
<blockquote><p>SEVERE : Nov 18, 2009 12:41:58 PM &#8211; ERROR &#8211; CLONE-20200   The clone option or argument is invalid.<br />
SEVERE : Nov 18, 2009 12:41:58 PM &#8211; CAUSE &#8211; CLONE-20200   The option or argument &#8220;-excludePattern&#8221; was not supported by cloning.<br />
SEVERE : Nov 18, 2009 12:41:58 PM &#8211; ACTION &#8211; CLONE-20200   Provide valid option or argument. Use the &#8220;-help&#8221; command to know more about cloning options and arguments.</p></blockquote>
<p>Removing functionality with a bugfix sounds somewhat like unexpected behaviour.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[BEA WebLogic: Number Format Exception while starting WebLogic Server]]></title>
<link>http://dullaertdknowledge.wordpress.com/2009/11/13/bea-weblogic-number-format-exception-while-starting-weblogic-server/</link>
<pubDate>Fri, 13 Nov 2009 11:48:04 +0000</pubDate>
<dc:creator>dullaertd</dc:creator>
<guid>http://dullaertdknowledge.wordpress.com/2009/11/13/bea-weblogic-number-format-exception-while-starting-weblogic-server/</guid>
<description><![CDATA[When starting the Admin Server of our domain we encountered following error: ####&lt;Nov 13, 2009 11]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>When starting the Admin Server of our domain we encountered following error:</p>
<pre style="padding-left:30px;">####&#60;Nov 13, 2009 11:58:23 AM CET&#62; &#60;Critical&#62; &#60;WebLogicServer&#62; &#60;machine-name&#62; &#60;as&#62; &#60;Main Thread&#62; &#60;&#60;WLS Kernel&#62;&#62; &#60;&#62; &#60;&#62; &#60;12
58109903043&#62; &#60;BEA-000386&#62; &#60;Server subsystem failed. Reason: java.lang.NumberFormatException: null
java.lang.NumberFormatException: null
        at java.lang.Integer.parseInt(Integer.java:415)
        at java.lang.Integer.parseInt(Integer.java:497)
        at weblogic.ldap.EmbeddedLDAP.validateVDEDirectories(EmbeddedLDAP.java:1035)
        at weblogic.ldap.EmbeddedLDAP.start(EmbeddedLDAP.java:212)
        at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
&#62;</pre>
<p>The first thing we tried is restoring a backup of the ldap folder. This backup can be found at: ../<em>domain-name</em>/server/<em>adminserver</em>/data/ldap/backup/ and should be restored at ../<em>domain-name</em>/server/<em>adminserver</em>/data/ldap/ldapfiles.</p>
<p>When this was not working, we kept looking and stumbled upon a site that told us that this error could be caused when the volume that contains these files is running full. WebLogic will corrupt these files. And the solution is to add &#8216;replica.num=0&#8242; to the ../<em>domain-name</em>/server/<em>adminserver</em>/data/ldap/config/replicas.prop file. Or just remove this file..</p>
<p>Source: <a href="http://ghattus.com/2008/10/number-format-exception-while-starting-weblogic-server.html">http://ghattus.com/2008/10/number-format-exception-while-starting-weblogic-server.html</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Weblogic, sql-taglib and JNDI: DataSource invalid: No suitable driver found]]></title>
<link>http://mycontainer.wordpress.com/2009/11/12/weblogic-sql-taglib-and-jndi-datasource-invalid-no-suitable-driver-found/</link>
<pubDate>Thu, 12 Nov 2009 15:19:46 +0000</pubDate>
<dc:creator>wirbelschleppe</dc:creator>
<guid>http://mycontainer.wordpress.com/2009/11/12/weblogic-sql-taglib-and-jndi-datasource-invalid-no-suitable-driver-found/</guid>
<description><![CDATA[On a Weblogic 10 environment, you may get an error like javax.servlet.ServletException: javax.servle]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>On a Weblogic 10 environment, you may get an error like<br />
<em>javax.servlet.ServletException: javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: &#8220;java.sql.SQLException: No suitable driver found for jndi_ds</em><br />
if you are using the sql-taglib to access your JNDI name from the Weblogic application server, configured via the Weblogic console.</p>
<p>The solution is quiet simple, but not that good documented. It is <strong>not</strong> possible to use the paramter &#8220;driver&#8221; inside the sql:setDataSource &#8211; tag. You rather have to promote the JNDI name in your web.xml like this:</p>
<pre>&#60;resource-ref&#62;
&#60;res-ref-name&#62;jndi_ds&#60;/res-ref-name&#62;
&#60;res-type&#62;javax.sql.DataSource&#60;/res-type&#62;
&#60;res-auth&#62;Container&#60;/res-auth&#62;
&#60;/resource-ref&#62;
</pre>
<p>Than you can set the dataSource with the sql:setDataSource &#8211; tag like this:</p>
<pre>&#60;sql:setDataSource dataSource="jndi_ds" /&#62;
</pre>
<p>and finally use the sql-taglib as you did in any other environment like Tomcat server and so on.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[How to remove jsessionid from url / Weblogic server]]></title>
<link>http://mycontainer.wordpress.com/2009/11/12/how-to-remove-jsessionid-from-url-weblogic-server/</link>
<pubDate>Thu, 12 Nov 2009 09:19:13 +0000</pubDate>
<dc:creator>wirbelschleppe</dc:creator>
<guid>http://mycontainer.wordpress.com/2009/11/12/how-to-remove-jsessionid-from-url-weblogic-server/</guid>
<description><![CDATA[On a Weblogic server, you don&#8217;t need a rewite rule or filter to get rid of this &#8230;;jsessi]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>On a Weblogic server, you don&#8217;t need a rewite rule or filter to get rid of this <em>&#8230;;jsessionid&#8230;</em> stuff on any URL build using the &#8220;<em>c:url</em>&#8221; tag. You simply need to put one more line to your weblogic.xml:</p>
<pre>&#60;session-descriptor&#62;
    &#60;url-rewriting-enabled&#62;false&#60;/url-rewriting-enabled&#62;
&#60;/session-descriptor&#62;
</pre>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Immediate opening for Webpshere Application Server Administrators (WAS)]]></title>
<link>http://whizhuntjobs.wordpress.com/2009/11/12/immediate-opening-for-webpshere-application-server-administrators-was/</link>
<pubDate>Thu, 12 Nov 2009 07:52:06 +0000</pubDate>
<dc:creator>whizhuntjobs</dc:creator>
<guid>http://whizhuntjobs.wordpress.com/2009/11/12/immediate-opening-for-webpshere-application-server-administrators-was/</guid>
<description><![CDATA[Experience installing, administering and monitoring tasks related to the support of Websphere Server]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Experience installing, administering and monitoring tasks related to the support of Websphere Server 5.x and 6.1</p>
<p>Experience on Linux, Solaris and Windows OS environments</p>
<p>Good experience on upgrade process of Websphere 6.1 environments</p>
<p>Experience with Installing, Administering, Configuring Web servers like Sunone (Iplanet) 6.X, Windows IIS 5/6, and Plugins</p>
<p>Aware of Remedy ticketing system/ anything similar Ticketing system</p>
<p>Assist with high-profile initiatives</p>
<p>Roles &#38; Responsibilities</p>
<ol>
<li>Deploy new code release onto the production/non-production environments</li>
<li> Configure the same environments on a regular basis to improve performance or adhere to new release</li>
<li>Apply the Security/Performance patches on Websphere Server &#38; Iplanet server</li>
<li>Deployment of performance/security related patches for Websphere Server/web servers</li>
<li>Experience in monitoring Java applications using Wily Introscope / HP OVO</li>
<li>Problem ticket resolution includes RCA if required</li>
<li>Work on Solaris, Linux &#38; Windows environments</li>
<li>Participate on EACO calls for any emergencies or major releases</li>
<li>Able to install and tune web servers such as SunOne 6.1 and Windows IIS</li>
<li>Work on infrastructure projects with teams like Network/OS/Development and QA</li>
<li>Strong communications skills, both in writing and speaking</li>
<li>Knowledge of WSAdmin/JACL/Jython scripting, Unix shell scripting and Windows batch scripting</li>
<li>Strong in Java, J2EE, JMS Comcepts</li>
</ol>
<p>If you are interested for the above position, please send your profile quickly to <a href="mailto:goutami.m@whizhunt.com">goutami.m@whizhunt.com</a>   with Job Code &#38; Source in subject Line (Example: <strong>Weblogic_Admin/WordPress</strong>) is must to process your CV. Please Call <strong>040- 66415264</strong> for any further queries.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Weblogic and Spring Security problems]]></title>
<link>http://stephensoftware.wordpress.com/2009/11/10/spring-security-on-weblogic-causes-2-pop-ups/</link>
<pubDate>Tue, 10 Nov 2009 06:58:07 +0000</pubDate>
<dc:creator>sljm</dc:creator>
<guid>http://stephensoftware.wordpress.com/2009/11/10/spring-security-on-weblogic-causes-2-pop-ups/</guid>
<description><![CDATA[When depolying Spring Security on Weblogic 10.3. I encountered 2 pop up one for Spring and one for W]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>When depolying Spring Security on Weblogic 10.3. I encountered 2 pop up one for Spring and one for Weblogic.</p>
<p>Spring Security was configured with basic authentication. If your used is not in Weblogic&#8217;s security realm basically you dont get access. Some people also faced the same problem and here are their solutions.</p>
<p>If you use the form base authentication, you should be fine. It just happens for those who use the default basic/digest forms that your web browser provides.</p>
<p>1. <a href="http://forum.springsource.org/archive/index.php/t-44535.html">Configure web.xml</a></p>
<pre class="brush: xml;">
&#60;login-config&#62;
&#60;auth-method&#62;CLIENT-CERT&#60;/auth-method&#62;
&#60;/login-config&#62;
</pre>
<p>add the above to your web.xml.</p>
<p>alternatively you can try this.</p>
<p>2. <a href="http://hovenko.no/blog/2008/10/28/howto-bypass-weblogic-security-model/">Edit weblogic config/config.xml</a><br />
Add the following lines to config.xml in your admin server.</p>
<pre class="brush: xml;">
&#60;enforce-valid-basic-auth-credentials&#62;
    false
&#60;/enforce-valid-basic-auth-credentials&#62;
</pre>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Contract - Oracle Developer - Oracle 11g/Oracle WebLogic/Oracle Service Bus - SC Cleared – Excellent rates available ]]></title>
<link>http://businessintelligencespecialist.wordpress.com/2009/11/03/contract-oracle-developer-oracle-11goracle-weblogicoracle-service-bus-sc-cleared-%e2%80%93-excellent-rates-available/</link>
<pubDate>Tue, 03 Nov 2009 11:04:11 +0000</pubDate>
<dc:creator>adamsparey</dc:creator>
<guid>http://businessintelligencespecialist.wordpress.com/2009/11/03/contract-oracle-developer-oracle-11goracle-weblogicoracle-service-bus-sc-cleared-%e2%80%93-excellent-rates-available/</guid>
<description><![CDATA[Contract &#8211; Oracle Developer &#8211; Oracle 11g/Oracle WebLogic/Oracle Service Bus &#8211; SC C]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Contract &#8211; Oracle Developer &#8211; Oracle 11g/Oracle WebLogic/Oracle Service Bus &#8211; SC Cleared – Excellent rates available </p>
<p>I have an urgent requirement for a Oracle Developer for a 6 month contract based in London. The ideal candidate should have experience with Oracle 11g, Oracle Web Logic 10.3, User interface and the Oracle Service Bus. </p>
<p>The ideal candidate should hold current CTC, SC or DV Clearance (Home Office, Police or MOD) however I may consider candidates willing to go through this process. </p>
<p>Skills should have:<br />
Oracle 11g<br />
Oracle WebLogic<br />
Oracle Service Bus<br />
User Interface </p>
<p>Excellent rates Available </p>
<p>Please send CV&#8217;s ASAP and I will contact you with more details.<br />
Regards<br />
Adam Sparey<br />
Senior Consultant<br />
adamsparey@peoplesource.co.uk<br />
0117 922 7000</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Why a server may fall, case II.]]></title>
<link>http://amuhb.wordpress.com/2009/11/02/why-a-server-may-fall-case-ii/</link>
<pubDate>Mon, 02 Nov 2009 12:29:17 +0000</pubDate>
<dc:creator>amuhb</dc:creator>
<guid>http://amuhb.wordpress.com/2009/11/02/why-a-server-may-fall-case-ii/</guid>
<description><![CDATA[This case has no clear-cut solution, just a clarification: Problem: Server crashed. To be able to ga]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>This case has no clear-cut solution, just a clarification:</p>
<p><strong>Problem:</strong> Server crashed.</p>
<p>To be able to gather information, we had asked the customer to provide us with all the available log files &#8211; W<em>ebLogic log</em>, the <em>Standard Output</em>, and the <em>JVM log</em>, to find the connections, and possibly &#8211; be able to identify the reason.</p>
<p>From its first lines, a JMV log file showed that it was a <strong>Java Virtual Machine</strong> crash, not <em>WebLogic Server</em> running on it:</p>
<p style="padding-left:60px;"><span style="color:#666699;"># An unexpected error has been detected by HotSpot <strong>Virtual Machine</strong>:<br />
#<br />
#  Internal Error (434F44452255464645520E435050005E 01), pid=15067, tid=8<br />
#<br />
#  Java VM: Java HotSpot(TM) Server VM (1.4.2_11-b06 mixed mode)</span></p>
<p><span style="color:#666699;"><span style="color:#000000;"> </span><span style="color:#000000;">As a number of other factors showed, a client had the <strong>Sun JVM</strong> installed &#8211; something beyond Oracle&#8217;s competency. We could only check whatever is was on the surface to see, it anything could trigger the crash.</span></span></p>
<p><span style="color:#666699;"><span style="color:#000000;">We noticed the following line:</span></span></p>
<p style="padding-left:60px;"><span style="color:#666699;">compacting perm gen total 63232K, used 63113K [0xf1800000, 0xf55c0000,  0xf9800000)<br />
the space 63232K, <strong>99% used</strong> [0xf1800000, 0xf55a25e0, 0xf55a2600,  0xf55c0000)</span></p>
<p><strong>99% </strong>looked suspicious (which is true for any occasion), so we checked further:</p>
<p style="padding-left:60px;"><span style="color:#666699;">jvm_args: -XX:MaxPermSize=<strong>128m</strong> -Xms1024m -Xmx1024m</span></p>
<p>Although unclear, shortage of memory could had been a reason of the crash. Just to make sure, we advised the customer to increase it to <strong>512</strong>, or at least <strong>256</strong> mb.</p>
<p>In the end, we advices the customer to contact the <strong>Sun</strong> support, since they had a better cpecialty over their own Virtual Machine.</p>
<p>А вы чего, детектива ждали? <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Manejando el WebLogic integrado de JDeveloper.]]></title>
<link>http://fetishcode.wordpress.com/2009/10/30/manejando-el-weblogic-integrado-de-jdeveloper/</link>
<pubDate>Fri, 30 Oct 2009 21:54:39 +0000</pubDate>
<dc:creator>fetishcode</dc:creator>
<guid>http://fetishcode.wordpress.com/2009/10/30/manejando-el-weblogic-integrado-de-jdeveloper/</guid>
<description><![CDATA[En alguna ocasión puede que necesitemos trabajar con el WebLogic Server, WLS, que viene integrado co]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><!-- 		@page { margin: 2cm } 		P { margin-bottom: 0.21cm } -->En alguna ocasión puede que necesitemos trabajar con el <strong>WebLogic Server</strong>, WLS, que viene integrado con <strong>JDeveloper R1</strong>.</p>
<p>Para ello lo podemos levantar y parar mediante los scripts situados en<em> jdeveloper-user-home/DefaultDomain/bin</em>.</p>
<p>Ej: <em><strong>C:\Documents and Settings\user\Datos de programa\JDeveloper\system11.1.1.1.33.54.07\DefaultDomain\bin</strong></em></p>
<p>En esta ruta encontraran los scripts de parada y arranque del WLS.</p>
<p><strong>Nota:</strong>recuerden que pordefecto las credenciales son <strong>weblogic/weblogic1</strong></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Why a server may fall, case I.]]></title>
<link>http://amuhb.wordpress.com/2009/10/29/why-a-server-may-fall-case-i/</link>
<pubDate>Thu, 29 Oct 2009 13:40:49 +0000</pubDate>
<dc:creator>amuhb</dc:creator>
<guid>http://amuhb.wordpress.com/2009/10/29/why-a-server-may-fall-case-i/</guid>
<description><![CDATA[WebLogic Server have limited, definable number of threads allowed at the same time. A request sent t]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><ol>
<li><strong>WebLogic Server</strong> have limited, definable number of<em> threads</em> allowed at the same time. A request sent to the server would have to wait, if all of the threads are currently busy. Assumingly, it should not ever happen.</li>
<li>Assumingly, once again, a routine request should come, be processed, and go, leaving a thread<em> idle </em>for the next request.</li>
<li>Now, a separate fully functional software entity is not just a server. It is also a database, an OS, some custom-built libraries, hardware, etc. All of them are communicating with each other, and with a server, on a millisecond basis.</li>
<li>Now, one of the problem, which may arise at any end of the system, at any point of time, and without a visible notice from the operator &#8211; is an event of one particular <em>source</em> start to send requests to the server, each of which would use one particular thread for an infinite time period. And another thread. And then &#8211; another. And another&#8230; Eventually, that one source can use all of the available threads with its requests, and force the server to crash, or restart itself, or do whatever is supposed to do in this case.</li>
<li>The worst part is that this event can have its origins from anywhere, any part of the system &#8211; database, custom libraries, OS after an update&#8230; An operator would never know, what caused the crash.</li>
</ol>
<p><strong>Solution: </strong></p>
<p>Check the <em>Thread dumps</em>, &#8211; a series of them, generated with equal intervals from one another. Compare and see, which thread are doing what during that particular period &#8211; this way, you will be able to see if any request takes suspicious and may be the cause.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Aqualogic Service Bus Tutorial]]></title>
<link>http://beatechnologies.wordpress.com/2009/10/28/aqualogic-service-bus-tutorial/</link>
<pubDate>Wed, 28 Oct 2009 09:29:40 +0000</pubDate>
<dc:creator>Arun Pareek</dc:creator>
<guid>http://beatechnologies.wordpress.com/2009/10/28/aqualogic-service-bus-tutorial/</guid>
<description><![CDATA[Weblogic &#8211; Aqualogic Service Bus &#8211; EAI &#8211; Part 1 This blog is to gather my learning]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><strong>Weblogic &#8211; Aqualogic Service Bus &#8211; EAI &#8211; Part 1</strong></p>
<p>This blog is to gather my learnings and understandings about Weblogic(WL)&#8217;s Aqualogic Service Bus (ALSB). Initially, i could not appreciate this awesome product from BEA. ALSB is meant mostly for Webservices and SOAP requests. I was trying to use these functionalities for normal GET and POST requests in RESTful services. Before we proceed further, lets look at some basic SOA jargons.</p>
<p><strong>Service Bus:</strong></p>
<p>Service Bus is considered as Enterprise Application Integration (EAI) tool, that would facilitate easy integration of various services (that are building blocks of any software system). This integration tool is created with various technologies that are opted for software middleware infrastructure. So, please note that ESB is not a programing language itself.</p>
<p>Also, ESB is NOT an app or web server. This is an application (could be web application) that runs in an web container. So, if you want to play with ALSB, you would need both WL server and ALSB. You could download trial version which you can use for 60days.</p>
<p><strong>Basic Features of an ESB:</strong></p>
<ol>
<li>Loose coupling of services in a software system. This would provide great flexibility of modifying / enhancing any part of the system without affecting much on the other dependents.</li>
<li>ESB should be standard based and flexible, and should support many transport mediums like Messaging Service, SOAP, XML and text etc.</li>
<li> It should allow integration with very less coding. In other words, should be configurable.</li>
<li> ESB should be more scalable and highly revolvable.</li>
</ol>
<p>All other features are added as vendors think it is necessary for an ESB. So, an Architect can select appropriate product based on their needs.</p>
<p>Ok! Lets get our hands dirty.</p>
<p>Installation:</p>
<p>ALSB setup can be (of course, trail version) downloaded from BEA site. I downloaded ALSB 3.0 which comes bundled with WL server 10.0.</p>
<p>There is nothing special about this installation. I just followed the installation setup wizard and it went perfect on my XP machine.</p>
<p>Basic Setup:</p>
<p>As basic setup, I created a user domain for my test project. You don&#8217;t need to create a new domain, if you prefer to work on example domain, which is created with installation.</p>
<p>So, I created a domain using Start &#8211;&#62; All Programs &#8211;&#62; Bea Products &#8211;&#62; Tools &#8211;&#62; Config Wizard. Please follow this link if you have any questions on specific setting.</p>
<p>Once domain is created, start weblogic server from Start &#8211;&#62; All Programs &#8211;&#62; Bea Products &#8211;&#62; User_projects &#8211;&#62; &#8211;&#62; &#8220;Start Server for AquaLogic Service Bus Domain&#8221;</p>
<p>Look for server state as running. When server is up and running, it would open Weblogic Admin console automatically. Since we are interested in ALSB and its console, I am not going to discuss about Weblogic Admin Console here.</p>
<p>Weblogic products are considered as one of the best and user friendly because of their Admin Console. All settings and cluster, server maintenance and deployments everything could be done through Admin console.As we expected, ALSB has a Web Admin console, where most of the configuration can be done by just few clicks of mouse.</p>
<p>Ok. I like to wind up this blog at here. So, we have completed the installation of ALSB and before I start next topic, you could play around with various options in admin console to get used to it.</p>
<p>Weblogic &#8211; Aqualogic Service Bus &#8211; EAI &#8211; Part 2<br />
I hope you are familiar with ALSB Admin console. If you don&#8217;t have Weblogic ALSB please visit my previous blog for seeting up ALSB on your window machine.</p>
<p>I assume that you have WL server running and you can open Admin console of ALSB (http://localhost:7001/sbconsole/) in a web browser. Please note, if you are installing WL10.0 bundle, the port number for ALSB may be 7021.</p>
<p>How ALSB works:</p>
<p>In a nutshell, ALSB acts as a proxy between client and service (any service lives in server). The proxying is done by creating a Proxy Service and Business Service in ALSB. I hope the below diagram could help you understand the &#8220;request&#8221; and &#8220;respose&#8221; flow.</p>
<p>As diagram illustrates, ALSB stands between client and service / server to route the requests and responses. Here, I have shown 2 proxy service and 2 business service. However, a project could have &#8216;n&#8217; number of proxy services and business services. If you happen to have more proxy and business services, you may want to touch base with customer support folks regaring performs impact. I would suggest to have more than one ALSB instances to avoid any performance bottle necks. Few jargons definitions are below.</p>
<p>Project in ALSB.</p>
<p>A project is nothing but a group of proxy and business services. You may like to group proxy and business services of billing services in one project and a separate group for order management services.</p>
<p>Proxy Service:</p>
<p>You have guessed it! Proxy service is contacted by the client to eventually get response from target service. ALSB allows developer or ALSB administrator to modify any request data and metadata through Admin console configuration. For example, consider a case, where you have web service, is contacted by two different vendors (clients) with two different XML requests. You don&#8217;t need to write code to understand both request formats. Instead, ALSB Proxy service could be configured using XQuery to convert the request XML to desirable / server understandable format. This means easy addition of new clients with any changes to Target service, which evetually facilitate easy integration of systems.</p>
<p>Using XQuery programming, literally, all request data or parameters could be modified. If also allows to write logics to decide which business services to contact in runtime. This is one of the key feature of an ESB.</p>
<p>Business Service:</p>
<p>Business service represents target service&#8217;s URL. Business services are contacted by proxy service to route the requests to target service. If there are more than one target service (multiple instances of same service for scalability), all the URL can be added to single business service. ALSB also provides features for load-balancing of services. Business service also helps to fail-over services. Meaning, if one target service is down, Business service routes the requests to another service when there is an outage encountered by ALSB. It means high availability of your services.</p>
<p>Setting up ALSB:</p>
<p>As mentioned earlier, business services (BS) and proxy services(PS) are grouped under ALSB projects. So, before we create PS, BS, lets create a new project.</p>
<p>1. Open Admin console of ALSB. http://localhost:7001 or http://localhost:7021</p>
<p>2. Go to &#8220;Project Explorer&#8221; on left panel.</p>
<p>3. Once the Enter project name in text box in &#8220;Enter New Project Name:&#8221; and click on &#8220;Add Project&#8221;. If the text box is not enabled, please click on &#8220;Edit&#8221; on top left panel.</p>
<p>4. Project entry is added to the projects table just below that. Click on your project.</p>
<p>5. Select a &#8220;Resource&#8221; type from drop down options. First we create PS, So, select Proxy service from the option. On selecting PS option, next page should be automatically loaded.</p>
<p>6. Provide, proxy name and make sure you select &#8220;Any XML service option. Click on Next&#62;&#62;. As you can see, here, ALSB can support other services like Messaging, WSDL and SOAP services.</p>
<p>7. Select protocol as &#8220;http&#8221; and leave rest of the options with default values. Click on Next&#62;&#62; to save the settings for proxy service.</p>
<p>Now, you can new proxy serive is added to &#8220;Resources&#8221; table.</p>
<p>8. Next, create a business service by selecting &#8220;Business Service&#8221; in the drop down options.</p>
<p>9. Follow the setting wizard. Provide BS name and type. Please make sure you select same type as PS. Click on Next&#62;&#62;.</p>
<p>10. on next page, we have to some important configuration for BS. Select protocol as http and Load balancing Algorithm as round-robin. Provide End point URL of Target service. In our case any website url. Since other options are not much important at this level, please go with default values and click on Next&#62;&#62;.</p>
<p>11. Since, we are dealing with website, select HTTP request as &#8220;GET&#8221; and leave rest of the options with default values. Go to next page to save the settings.</p>
<p>Now that we have created both proxy service and business service, you might be wondering! &#8220;Wait a second, are we not supposed to hook up proxy service with business service???&#8221; Yes!! We should!. That&#8217;s next.</p>
<p>I would recommend to save the configurations so far that we have done by hitting &#8220;Activate&#8221; button on left top panel. Please note, in ASLB console each time as you modify setting, they are created as sessions. Later, if you find that one of the setting needs to be reverted back to original setting. You can go to &#8220;View All Sessions&#8221; and clicking on appropriate icon under Options.</p>
<p>if you clicked on Activate button, Click on &#8220;Create&#8221; again to create a new session.</p>
<p>Configure Proxy Service:</p>
<p>1. Click on your project under project explorer section. In Resources section, click on &#8220;Edit Message Flow&#8221; icon ( the one is activated) under &#8220;Actions&#8221; column.</p>
<p>2. On the next page right click on proxy service cover and select &#8220;Add Route&#8221;. Here, as you can see, you can &#8220;Add pipeline pair&#8221; to add request and response pipelines. Under request and response pipelines, you could &#8220;Add Stage&#8221; to perform logic operations.</p>
<p>3. So, we have added new Route, Right click on RouteNode1 to select &#8220;Edit Route&#8221; to modify setting. You can also modify the name of this node to a meaning ful name by selecting &#8220;Edit name and Comments&#8221;.</p>
<p>4. On Edit Route page, click on &#8220;Add an Action&#8221; &#8211;&#62; Communication &#8211;&#62; Routing<br />
5. Now, you get new node added to this page. Click on &#8220;*&#8221; to select which business service should be contacted by this PS. You can also add other Request and Response Actions like modifying header or to perform some logic operations or Log the event to server log file for reporting purposes.</p>
<p>6. &#8220;Save All&#8221; this settings and Activate the session to be effective.</p>
<p>Here, PS is hooked up with BS. You can contact PS through your browser by typing http://localhost:7001/proxyServiceName<br />
The response should be eventually from the target website URL. Hope you are getting a proper response. You can further explorer to add stage (as mentioned in step 2) and modify request data and headers.</p>
<p>You can also refer reference documents from BEA site for more information.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Node managers]]></title>
<link>http://dilipnwebservices.wordpress.com/2009/10/28/node-managers/</link>
<pubDate>Wed, 28 Oct 2009 07:01:33 +0000</pubDate>
<dc:creator>dilipnwebservices</dc:creator>
<guid>http://dilipnwebservices.wordpress.com/2009/10/28/node-managers/</guid>
<description><![CDATA[Node Managers Weblogic Server utility to start, stop and restartAdministration and Managed Server In]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Node Managers Weblogic Server utility to start, stop and restartAdministration and Managed Server Instances from remote location (There are other ways as well to start/stop Weblogic check here &#8211; Node Manager is optional component).</p>
<p>1. Node Manager Process is associated with a Machine and NOT with specific Weblogic Domain (i.e. Use one node manager for multiple domains on same machine)</p>
<p>2. There are two versions of Node Manager &#8211; Java-based and Script-based</p>
<p>Java-based node manager &#8211; runs with in JVM (Java Virtual Machine) Process and more secure than script-based node manager. Configuration for java-based node manager are stored in nodemanager.properties</p>
<p>Script-based node manager &#8211; is available for Linux and Unix systems only and is based on shell script.</p>
<p>3. There are multiple ways to access Node Manager<br />
- From Administration Console : Environments -&#62; Machines -&#62; Configuration -&#62; Node Manager<br />
- JMX utilities (Java Management eXtension) more here<br />
- WLST commands (WebLogic Scripting Tool)</p>
<p>4.Default port on which node manager listen for requests is localhost:5556, When you configure Node Manager to accept commands from remote systems, you must uninstall the default Node Manager service, then reinstall it to listen on a non-localhost (IP’s other than 127.0.0.1) listen address.</p>
<p>5. Any domain created before creation of Node Manager Service will not be accessible via node Manager(even after restarting node manager), solution is to run the WLST command “nmEnroll” to enroll that domain with the Node Manager.</p>
<p>6. Any domains created after the Node Manager service has been installed should not have to be enrolled against the Node Manager. The Node Manager should automatically be ‘reachable‘ by the domain.</p>
<p>.<br />
How to Configure Node Manager ?</p>
<p>1.Configure each computer (on which you wish to use Node Manager) as a Machine in WebLogic Server<br />
Environments -&#62; Machines -&#62; New (Add Machine) Use Link here<br />
Environments -&#62; Machines -&#62; Machine Name (created above) -&#62; Configuration -&#62; Node Manager</p>
<p>2. Assign each server instance (Admin or Managed that you wish to control with Node Manager) to Machine.<br />
Environments -&#62; Machines -&#62; Machine Name (created above) -&#62; Configuration -&#62; Servers -&#62; Add (Add Server running on this node which you would like to monitor using Node Manager) for more info Click here</p>
<p>3. Enroll domain (created before installation of Node Manager) to Node Manager</p>
<p>Windows<br />
cd $BEA_HOME\user_projects\domains\\bin<br />
setDomainEnv.cmd<br />
java weblogic.WLST<br />
wls&#62; connect(’weblogic’,&#8217;weblogic’, ‘t3://mymachine.mydomain:7001′)<br />
wls&#62; nmEnroll(’C:\bea\user_projects\domains/’, ‘C:\bea\wlserver_/common/nodemanager’)</p>
<p>.<br />
Unix /Linux<br />
cd $BEA_HOME/user_projects/domains//bin/<br />
. setDomainEnv.sh<br />
java weblogic.WLST<br />
wls&#62; connect(’weblogic’,&#8217;weblogic’, ‘t3://mymachine.mydomain:7001′)<br />
wls&#62; nmEnroll(’$BEA_HOME/user_projects/domains/’, ‘$BEA_HOME/wlserver_/common/nodemanager’)</p>
<p>where “mymachine.mydomain:7001″ is the reference to the Admin Server of the domain to which the server and machine definition belongs</p>
<p>.<br />
How to start Node Manager ?</p>
<p>$WL_HOME\server\bin\startNodeManager.sh  (startNodeManager.cmd on Windows)</p>
<p>How to install Node Manager as Service on Windows ?</p>
<p>Use $WLS_HOME\server\bin\installNodeMgrSvc.cmd  (Where default WLS_HOME location is c:\bea\wlserver_)</p>
<p>To uninstall Node Manager Service on windows use $WLS_HOME\server\bin\uninstallNodeMgrSvc.cmd</p>
<p>installNodeMgrSvc.cmd will create Windows server with name as Oracle WebLogic NodeManager (C_bea_wlserver_)<br />
.<br />
Important Configuration files</p>
<p>– $WL_HOME/common/nodemanager/ nodemanager.properties, nodemanager.domains, nm_data.properties</p>
<p>–$DOMAIN_HOME/config/nodemanager/nm_password.properties</p>
<p>–$DOMAIN_HOME/servers//data/nodemanager/ boot.properties, startup.properties, server_name.addr, server_name.lck, server_name.pid, server_name.state</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Decrypting 3DES in weblogic 8.1 configuration]]></title>
<link>http://starmacco.wordpress.com/2009/10/26/decrypting-3des-in-weblogic-8-1-configuration/</link>
<pubDate>Mon, 26 Oct 2009 12:07:43 +0000</pubDate>
<dc:creator>robertstarmach</dc:creator>
<guid>http://starmacco.wordpress.com/2009/10/26/decrypting-3des-in-weblogic-8-1-configuration/</guid>
<description><![CDATA[Very useful tip, how to decrypt 3DES hashed password from configurations. http://gustlik.wordpress.c]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Very useful tip, how to decrypt 3DES hashed password from configurations.</p>
<p><a href="http://gustlik.wordpress.com/2008/08/06/decryption-of-configuration-passwords-in-weblogic/">http://gustlik.wordpress.com/2008/08/06/decryption-of-configuration-passwords-in-weblogic/</a></p>
<p>You should add below code to class  from here:</p>
<p><a href="http://geronimo.apache.org/apidocs/2.0.1/src-html/org/apache/geronimo/converter/bea/Weblogic81Utils.html">http://geronimo.apache.org/apidocs/2.0.1/src-html/org/apache/geronimo/converter/bea/Weblogic81Utils.htm</a>l</p>
<p>Below my version of main.<br />
With some errors handlings</p>
<pre>public static void main(String args[]) {
try{
if ( args== null &#124;&#124; args.length&#60;3 ) {
System.out.println("Usage:" );
System.out.println("arg1 = Server/lib or the Directory which has the requried JAR files");
System.out.println("arg2 = App Domain or the Directory which has SerializedSystemIni.dat");
System.out.println("arg3 = 3DES hashed password");
System.exit(0);
}
if  (! new File(args[0]).exists()) {
System.out.println("Path ["+args[0]+"] does not exists");
System.exit(0);
}
if  (! new File(args[1]).exists()) {
System.out.println("Path ["+args[1]+"] does not exists");
System.exit(0);</pre>
<pre>}
String beaDir = args[0];
String appDir = args[1];
String hashedPassword = args[2];
Weblogic81Utils weblogic81Utils = new Weblogic81Utils(beaDir, appDir);
String plainTextPassword = weblogic81Utils.decryptString(hashedPassword);
String configXML = weblogic81Utils.getConfigXML();
Properties bootProperties = (Properties) weblogic81Utils.getBootProperties();
System.out.println("---------------------------------------------------------------------");
System.out.println(hashedPassword + " == " + plainTextPassword);
System.out.println("boot.properties" + " &#60;username&#62; " + bootProperties.getProperty("username"));
System.out.println("boot.properties" + " &#60;password&#62; " + bootProperties.getProperty("password"));
System.out.println("---------------------------------------------------------------------");
}
catch (Exception e) {
    throw (RuntimeException)new IllegalArgumentException("Unable to initialize encryption routines from provided ar
guments").initCause(e);
}
} //end of main</pre>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Struts2+Spring plugin on Weblogic 8.1]]></title>
<link>http://emptylist.wordpress.com/2009/10/24/struts2spring-plugin-on-weblogic-8-1/</link>
<pubDate>Sat, 24 Oct 2009 07:15:54 +0000</pubDate>
<dc:creator>Andrea Cerisara</dc:creator>
<guid>http://emptylist.wordpress.com/2009/10/24/struts2spring-plugin-on-weblogic-8-1/</guid>
<description><![CDATA[Goal: to run Struts2+Spring plugin on a Weblogic 8.1 platform bundled with JDK 1.4.2_08, J2EE 1.3 (S]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="text-align:justify;"><em>Goal</em>: to run Struts2+Spring plugin on a Weblogic 8.1 platform bundled with JDK 1.4.2_08, J2EE 1.3 (Servlet 2.3 and JSP 1.2) using the backported 2.0.14 version.</p>
<p style="text-align:justify;"><em>Premise</em>: it seems that a J2EE 1.4 environment is required to run Struts2, but there are guys that have successfully deployed it on a J2EE 1.3 application server like Weblogic 8.1.</p>
<p style="text-align:justify;"><a title="Struts 2.0.14 backport" href="http://apache.fis.uniroma2.it/struts/binaries/struts-2.0.14-backport.zip" target="_blank">Download</a> the backported version, the <a title="Struts 2.0.14" href="http://apache.fis.uniroma2.it/struts/library/struts-2.0.14-lib.zip" target="_blank">standard</a> version and deploy a simple Struts2 project with, at least, these dependencies:</p>
<pre class="brush: bash;">
backport-util-concurrent-3.1.jar # from backport package
commons-fileupload-1.2.1.jar # from standard package
commons-io-1.3.2.jar # from standard package
commons-logging-1.0.4.jar # from standard package
freemarker-2.3.15.jar # from standard package
ognl-2.6.11.jar # from standard package
retrotranslator-runtime-1.2.9.jar # from backport package
struts2-core-j4-2.0.14.jar # from backport package
xwork-j4-2.0.7.jar # from backport package
</pre>
<p style="text-align:justify;">You should be able to run the project without errors. You have to manually backport the plugin to use Spring as DI container (the reported error is the usual &#8220;<em>Unsupported major.minor version 49.0</em>&#8220;), typing the following command in a terminal:</p>
<pre class="brush: bash;">
java -jar retrotranslator-transformer-1.2.2.jar -advanced -srcjar $standard_package_path/lib/struts2-spring-plugin-2.0.14.jar -destjar struts2-spring-plugin-j4-2.0.14.jar
</pre>
<p style="text-align:justify;">You can find the <em>retrotranslator-transformer</em> jar in the backport package. As usual, you have to add the plugin to the classpath along with all the Spring stuff.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Cloning 11g Fusion Middleware on 64-bit OEL]]></title>
<link>http://oraclemva.wordpress.com/2009/10/21/cloning-11g-fusion-middlewar-on-64-bit-oel/</link>
<pubDate>Wed, 21 Oct 2009 15:59:18 +0000</pubDate>
<dc:creator>Jacco H. Landlust</dc:creator>
<guid>http://oraclemva.wordpress.com/2009/10/21/cloning-11g-fusion-middlewar-on-64-bit-oel/</guid>
<description><![CDATA[I am discovering the mass deployment features of Fusion Middleware 11g. Oracle&#8217;s documentation]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I am discovering the mass deployment features of Fusion Middleware 11g. Oracle&#8217;s <a title="Link to Oracle doc's" href="http://download.oracle.com/docs/cd/E12839_01/core.1111/e10105/clone.htm#CACHFECE" target="_blank">documentation </a>sents you towards cloningclient.jar, which helps you creating a golden image and clone this image to new machines. What the documentation forgot to mention is that you only find cloningclient.jar on your filesystem <em>after </em>you installed an extra Oracle product in your middleware home (just WLS is not enough, you need SOA or some other component). That&#8217;s okay by me, since I am working on a SOA deployment anyway, but the docs could have been more clear on that one.</p>
<p>First of I copied the cloningclient.jar to some NFS share that is present on all my machines. This makes sure I will never have to look for this .jar again. Creating a golden image with cloningclient.jar is rather easy, just follow the documentation and you&#8217;ll be okay:</p>
<blockquote><p>java -jar /software/oracle/32bit/FusionMiddleware/cloningclient.jar createclone -archiveLocation /software/oracle/32bit/FusionMiddleware/OFM_golden_image.jar -sourceMWHomeLoc /u01/app/oracle/mwhome  -excludePattern &#8220;*.log,*.bak&#8221; -invPtrLoc /u01/app/oracle/mwhome/Oracle_SOA1/oraInst.loc -silent true</p></blockquote>
<p>Next you logon to a brand new installed machine and you call cloningclient.jar again, again all according to documentation:</p>
<blockquote><p>java -jar /software/oracle/32bit/FusionMiddleware/cloningclient.jar applyClone -archiveLocation /software/oracle/32bit/FusionMiddleware/OFM_golden_image.jar -targetLocation /u01/app/oracle/mwhome -sourceID all -silent TRUE</p></blockquote>
<p>Now this should give you a newly installed Fusion Middleware home, but instead you get this nice error:</p>
<blockquote><p>Log: /u01/app/oracle/oraInventory/logs/install2009-10-21_05-07-57PM.log<br />
contextFile:/tmp/PREREQ20091021_050730/Scripts/prereq/oui/agent_prereq_context.xml<br />
java.lang.UnsatisfiedLinkError: /tmp/PREREQ20091021_050730/oui/lib/linux/liboraInstaller.so: /tmp/PREREQ20091021_050730/oui/lib/linux/liboraInstaller.so: cannot open shared object file: No such file or directory (Possible cause: architecture word width mismatch)<br />
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)<br />
        at java.lang.ClassLoader.loadLibrary0(Unknown Source)<br />
        at java.lang.ClassLoader.loadLibrary(Unknown Source)<br />
        at java.lang.Runtime.load0(Unknown Source)<br />
        at java.lang.System.load(Unknown Source)<br />
        at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:402)<br />
        at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.&#60;clinit&#62;(OiipuUnixOps.java:125)<br />
        at oracle.sysman.oii.oiip.oiipg.OiipgFileSystem.changePermission(OiipgFileSystem.java:1995)<br />
        at oracle.sysman.oii.oiix.OiixFileOps.changePermission(OiixFileOps.java:2110)<br />
        at oracle.sysman.oii.oiix.OiixFileOps.changePermissions(OiixFileOps.java:2042)<br />
        at oracle.sysman.oii.oiit.OiitLockHeartbeat.&#60;init&#62;(OiitLockHeartbeat.java:178)<br />
        at oracle.sysman.oii.oiit.OiitTargetLocker.getReaderLock(OiitTargetLocker.java:473)<br />
        at oracle.sysman.oii.oiii.OiiiTargetAreaControl.grabReaderLock(OiiiTargetAreaControl.java:361)<br />
        at oracle.as.install.engine.modules.prereq.action.PrereqLauncher.initInstallInventory(PrereqLauncher.java:393)<br />
        at oracle.as.install.engine.modules.prereq.action.PrereqLauncher.&#60;init&#62;(PrereqLauncher.java:128)<br />
        at oracle.as.install.engine.modules.prereq.action.PrereqLauncher.getEnginePreReqLauncher(PrereqLauncher.java:119)<br />
        at oracle.as.clone.util.PreReqUtil.prereqsetupAndLuncher(PreReqUtil.java:148)<br />
        at oracle.as.clone.util.PreReqUtil.prereqcheck(PreReqUtil.java:433)<br />
        at oracle.as.clone.mwhome.cloner.OracleHomeApplyCloner.preReqRun(OracleHomeApplyCloner.java:199)<br />
        at oracle.as.clone.mwhome.cloner.OracleHomeApplyCloner.restoreOH(OracleHomeApplyCloner.java:154)<br />
        at oracle.as.clone.mwhome.cloner.OracleHomeApplyCloner.restoreArchive(OracleHomeApplyCloner.java:122)<br />
        at oracle.as.clone.cloner.ApplyCloner.doClone(ApplyCloner.java:50)<br />
        at oracle.as.clone.request.ApplyCloneRequest.applyArchive(ApplyCloneRequest.java:70)<br />
        at oracle.as.clone.request.ApplyCloneRequest._clone(ApplyCloneRequest.java:48)<br />
        at oracle.as.clone.process.CloningExecutionProcess.execute(CloningExecutionProcess.java:110)<br />
        at oracle.as.clone.process.CloningExecutionProcess.execute(CloningExecutionProcess.java:95)<br />
        at oracle.as.clone.client.CloningClient.main(CloningClient.java:112)</p></blockquote>
<p>Obviously the <em>architecture word width mismatch</em> is a dead giveaway: I need a 32-bit JRE to run the cloningclient, even though I created the golden image with a 64-bit JRE (the default one from OEL 4). If you happen to look for one, there&#8217;s one in the original middleware home. Just copy it to the new server and set the JAVA_HOME environment to the 32-bit JRE.  If you apply the golden image with the cloningclient.jar again, you will run into the next error:</p>
<blockquote><p>2009-10-21_05-49-49PM : ERROR  : CLONE-20269   Setting Java Library path has failed.<br />
2009-10-21_05-49-49PM : CAUSE  : CLONE-20269   There are following possible causes<br />
 1. The oui library path /tmp/PREREQ20091021_054922/oui/lib was empty<br />
 2. Unable to find oui lib directory name.<br />
  3. The oraInstaller library path /tmp/PREREQ20091021_054922/oui/lib/linux64 was empty.</p></blockquote>
<p>Again this is 64-bit trouble, only this time the fix is easier. Just call<em> linux32 bash <strong>before </strong></em>you restart the clone and now the cloning process will run successfully.  The cloning process also creates an entry in inventory.xml (located in oraInventory/ContentsXML ). You might want to remove this entry if you replay the cloning process over and over again. </p>
<p>Hope this helps.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Installing 11.1 SOA on 64-bit OEL]]></title>
<link>http://oraclemva.wordpress.com/2009/10/21/soa-64-bi/</link>
<pubDate>Wed, 21 Oct 2009 12:41:55 +0000</pubDate>
<dc:creator>Jacco H. Landlust</dc:creator>
<guid>http://oraclemva.wordpress.com/2009/10/21/soa-64-bi/</guid>
<description><![CDATA[When you try to install the 11.1 SOA software, on 64-bit Linux, you might just forget to call linux3]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>When you try to install the 11.1 SOA software, on 64-bit Linux, you might just forget to call linux32 before starting the installer. The actually error in the logging is this:</p>
<blockquote><p>[2009-10-21T14:35:34.369+02:00] [as] [TRACE:16] [] [oracle.as.install.engine] [tid: 10] [ecid: 0000IHr64fm5mZWBdzR5D51Ark0J000001,0] [SRC_CLASS: oracle.as.install.engine.InstallEngine] [SRC_METHOD: startOperation] THROW[[<br />
java.lang.reflect.InvocationTargetException<br />
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br />
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br />
        at java.lang.reflect.Method.invoke(Method.java:597)<br />
        at oracle.as.install.engine.InstallEngine.launchModule(InstallEngine.java:513)<br />
        at oracle.as.install.engine.InstallEngine.processAndLaunchModules(InstallEngine.java:467)<br />
        at oracle.as.install.engine.InstallEngine.startOperation(InstallEngine.java:420)<br />
        at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:449)<br />
Caused by: java.lang.UnsatisfiedLinkError: no oraInstaller in java.library.path<br />
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1709)<br />
        at java.lang.Runtime.loadLibrary0(Runtime.java:823)<br />
        at java.lang.System.loadLibrary(System.java:1030)<br />
        at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:420)<br />
        at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.&#60;clinit&#62;(OiipuUnixOps.java:125)<br />
        at oracle.as.install.engine.modules.statistics.util.SysInfo.getAvailableMemory(SysInfo.java:162)<br />
        at oracle.as.install.engine.modules.statistics.element.AvailableMemoryElement.&#60;init&#62;(AvailableMemoryElement.java:39)<br />
        at oracle.as.install.engine.modules.statistics.standard.StandardElementLocator.loadElements(StandardElementLocator.java:63)<br />
        at oracle.as.install.engine.modules.statistics.boot.ProfilerInitializer.initializeProfile(ProfilerInitializer.java:82)<br />
        at oracle.as.install.engine.modules.statistics.Statistics.launchModule(Statistics.java:284)<br />
        ... 8 more</p>
<p>]]</p></blockquote>
<p>This is a lengthly way of saying: hey! you&#8217;re running 32-bit software on a 64-bit OS.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Monitoring Weblogic Cluster with WLST]]></title>
<link>http://danielreed.wordpress.com/2009/10/14/monitoring-weblogic-sever-with-wlst/</link>
<pubDate>Wed, 14 Oct 2009 21:44:47 +0000</pubDate>
<dc:creator>daniel reed</dc:creator>
<guid>http://danielreed.wordpress.com/2009/10/14/monitoring-weblogic-sever-with-wlst/</guid>
<description><![CDATA[If you do any monitoring of your Weblogic cluster using the Weblogic Administration Console you may ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>If you do any monitoring of your Weblogic cluster using the Weblogic Administration Console you may want to look at WLST to perform some of the same tasks.  This simple WLST script will print JVM, JDBC and Thread details.  The script uses WLST definitions to do most of the work (definitions are like functions, they are re-usable code blocks).  The script should connect to the Administration server and it uses the domain runtime and server runtime MBean.</p>
<p>You can easily modify the script to include any additional monitoring tasks.  Once you have your definitions defined you can call them with managed server names as arguments.</p>
<pre class="brush: python;">
# definition for connecting to a server
def connect_to_server():
  username = 'system'
  password = 'xxxxxx'
  url = 't3://host:port'
  connect(username, password, url)
  domainRuntime()

# definition to print a running servers jvm heap details
def print_heap_details(server_name):
  cd('ServerRuntimes/'+server_name+'/JVMRuntime/'+server_name)
  hfree = float(get('HeapFreeCurrent'))/1024
  hsize = float(get('HeapSizeCurrent'))/1024
  hpercent = float(get('HeapFreePercent'))
  utime = float(((get('Uptime'))/1000)/60)
  hfree = hf/1024
  hsize = hs/1024
  print get('Name')
  print 'JVM Details'
  print 'HeapFreeCurrent ' + `hfree` + ' MB'
  print 'HeapSizeCurrent ' + `hsize` + ' MB'
  print 'HeapFreePercent ' + `hpercent` + '%'
  print 'Uptime ' + `utime` + ' minutes'

# definition to print a running servers jdbc details
def print_jdbc_details(server_name):
  cd('ServerRuntimes/'+server_name+'/JDBCServiceRuntime/'+server_name+'/JDBCDataSourceRuntimeMBeans/ConnectionPool')
  print 'JDBC Details'
  print 'Active Connections Current Count ' + `get('ActiveConnectionsCurrentCount')`
  print 'Active Connections High Count ' + `get('ActiveConnectionsHighCount')`
  print 'Connection Delay Time ' + `get('ConnectionDelayTime')`
  print 'Connections Total Count ' + `get('ConnectionsTotalCount')`
  print 'Failures To Reconnect Count ' + `get('FailuresToReconnectCount')`
  print 'Leaked Connection Count ' + `get('LeakedConnectionCount')`

# definition to print a running servers thread details
def print_thread_details(server_name):
  cd('ServerRuntimes/'+server_name+'/ThreadPoolRuntime/ThreadPoolRuntime')
  print 'Thread Details'
  print 'Completed Request Count ' + `float(get('CompletedRequestCount'))`
  print 'Execute Thread Idle Count ' + `get('ExecuteThreadIdleCount')`
  print 'Execute Thread Total Count ' + `get('ExecuteThreadTotalCount')`
  print 'Hogging Thread Count ' + `get('HoggingThreadCount')`
  print 'Pending User Request Count ' + `get('PendingUserRequestCount')`
  print 'Queue Length ' + `get('QueueLength')`
  print 'Standby Thread Count ' + `get('StandbyThreadCount')`
  print 'Throughput ' + `get('Throughput')`
  print ''

# definition to disconnect from a server
def disconnect_from_server():
  disconnect()
  exit()

# call connect_to_server definition with no arguments
connect_to_server()

# call the definitions with server name arguments
print_heap_details('ManagedNodeA')
print_jdbc_details('ManagedNodeA')
print_thread_details('ManagedNodeA')
print_heap_details('ManagedNodeB')
print_jdbc_details('ManagedNodeB')
print_thread_details('ManagedNodeB')

# call disconnectFromServer definition
disconnect_from_server()
</pre>
<p>This WLST script prints details found on these BEA Weblogic Administration Console screens:</p>
<div id="attachment_199" class="wp-caption alignnone" style="width: 310px"><a href="http://danielreed.wordpress.com/files/2009/10/bea-weblogic-server-administration-console-jvm.png"><img class="size-medium wp-image-199" title="BEA WebLogic Server Administration Console JVM" src="http://danielreed.wordpress.com/files/2009/10/bea-weblogic-server-administration-console-jvm.png?w=300" alt="BEA WebLogic Server Administration Console JVM" width="300" height="150" /></a><p class="wp-caption-text">BEA WebLogic Server Administration Console JVM</p></div>
<div id="attachment_198" class="wp-caption alignnone" style="width: 310px"><a href="http://danielreed.wordpress.com/files/2009/10/bea-weblogic-server-administration-console-jdbc.png"><img class="size-medium wp-image-198" title="BEA WebLogic Server Administration Console JDBC" src="http://danielreed.wordpress.com/files/2009/10/bea-weblogic-server-administration-console-jdbc.png?w=300" alt="BEA WebLogic Server Administration Console JDBC" width="300" height="141" /></a><p class="wp-caption-text">BEA WebLogic Server Administration Console JDBC</p></div>
<div id="attachment_200" class="wp-caption alignnone" style="width: 310px"><a href="http://danielreed.wordpress.com/files/2009/10/bea-weblogic-server-administration-console-threads.png"><img class="size-medium wp-image-200" title="BEA WebLogic Server Administration Console Threads" src="http://danielreed.wordpress.com/files/2009/10/bea-weblogic-server-administration-console-threads.png?w=300" alt="BEA WebLogic Server Administration Console Threads" width="300" height="161" /></a><p class="wp-caption-text">BEA WebLogic Server Administration Console Threads</p></div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Installing Apache 2.2.11 with Weblogic 10.3 on Ubuntu 9.04 64 bit]]></title>
<link>http://vikashazrati.wordpress.com/2009/10/10/apache-weblogic-ubuntu/</link>
<pubDate>Sat, 10 Oct 2009 14:22:37 +0000</pubDate>
<dc:creator>Vikas Hazrati</dc:creator>
<guid>http://vikashazrati.wordpress.com/2009/10/10/apache-weblogic-ubuntu/</guid>
<description><![CDATA[This post takes you through the steps to install Apache 2.2.11 on Ubuntu 9.04 64 bit and make it wor]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>This post takes you through the steps to install Apache 2.2.11 on Ubuntu 9.04 64 bit and make it work with Weblogic 10.3. The post walks through the steps that I followed, the problems that I faced and the solutions ( er..hacks) to get them resolved.</p>
<p><span style="text-decoration:underline;"><strong>Installing Apache</strong></span></p>
<ul>
<li>Is simple do</li>
</ul>
<blockquote><p>sudo apt-get install apache2</p></blockquote>
<p>If you want to build it from sources then follow these steps.</p>
<ul>
<li>Once you have installed apache2 then the installation happens at the following locations in Ubuntu</li>
</ul>
<blockquote><p>Apache config files are in /etc/apache<br />
Apache log files are in /var/log/apache<br />
Apache libs are in /usr/lib/apache<br />
Other files can be in /usr/share/apache, /var/lib/apache<br />
executables in /usr/sbin apache and apache2ctl</p></blockquote>
<ul>
<li>Now to start apache execute the following</li>
</ul>
<blockquote><p>vhazrati@vhazrati-laptop:/usr/sbin$ sudo apache2ctl start</p></blockquote>
<ul>
<li>Note that the server is started as a root, else you might get the following error</li>
</ul>
<blockquote><p>(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80<br />
no listening sockets available, shutting down<br />
Unable to open logs</p></blockquote>
<p>You should be able to access the default page on http://localhost now and see <strong>It Works!</strong></p>
<p><span style="text-decoration:underline;"><strong>Now, Integrating with Weblogic</strong></span></p>
<p><span style="text-decoration:underline;"><strong><!--more--><br />
</strong></span></p>
<ul>
<li>Download the apache plugins for weblogic 10.3 from the following location</li>
</ul>
<blockquote><p><a href="http://download.oracle.com/otn/bea/weblogic/server103/server103_apacheplugins.zip" target="_blank">http://download.oracle.com/otn/bea/weblogic/server103/server103_apacheplugins.zip</a></p></blockquote>
<ul>
<li>Unzip the contents and select the <strong>mod_wl_22.so</strong> file from the location</li>
</ul>
<blockquote><p>&#60;apache-plugin-unzip-location&#62;linux/x86_64</p></blockquote>
<ul>
<li>This file needs to be loaded the following location</li>
</ul>
<blockquote><p>/usr/lib/apache2/modules</p></blockquote>
<ul>
<li>to test whether the file is valid or not do <strong>ldd</strong></li>
</ul>
<blockquote><p>vhazrati@vhazrati-laptop:/usr/lib/apache2/modules$ ldd mod_wl_22.so<br />
linux-vdso.so.1 =&#62;  (0&#215;00007fff02ffe000)<br />
libstdc++.so.5 =&#62; /usr/lib/libstdc++.so.5 (0&#215;00007f5cfaaff000)<br />
libm.so.6 =&#62; /lib/libm.so.6 (0&#215;00007f5cfa87a000)<br />
libgcc_s.so.1 =&#62; /lib/libgcc_s.so.1 (0&#215;00007f5cfa661000)<br />
libc.so.6 =&#62; /lib/libc.so.6 (0&#215;00007f5cfa2ef000)<br />
/lib64/ld-linux-x86-64.so.2 (0&#215;00007f5cfafc5000)</p></blockquote>
<ul>
<li>You might notice that some file like in my case <strong>libstdc++.so.5 =&#62; was not found!</strong></li>
</ul>
<blockquote><p>-bash-3.00$ ldd mod_wl_22.so<br />
<strong>libstdc++.so.5 =&#62; not found</strong><br />
libm.so.6 =&#62; /lib64/tls/libm.so.6 (0&#215;0000002a9572f000)<br />
libgcc_s.so.1 =&#62; /lib64/libgcc_s.so.1 (0&#215;0000002a958b5000)<br />
libc.so.6 =&#62; /lib64/tls/libc.so.6 (0&#215;0000002a959c3000)<br />
/lib64/ld-linux-x86-64.so.2 (0&#215;000000552aaaa000)</p></blockquote>
<ul>
<li>Goto the synaptic package manager, search and install this file.</li>
</ul>
<ul>
<li>Now create a <strong>weblogic.load</strong> file with the following contents</li>
</ul>
<blockquote><p>LoadModule weblogic_module /usr/lib/apache2/modules/mod_wl_22.so</p></blockquote>
<ul>
<li>and put it at the following location</li>
</ul>
<blockquote><p>/etc/apache2/mods-enabled</p></blockquote>
<ul>
<li>You can also create a <strong>weblogic.conf file </strong>with the following contents at the same location</li>
</ul>
<blockquote><p>&#60;Location /medrec&#62;<br />
SetHandler weblogic-handler<br />
WebLogicHost 127.0.1.1<br />
WebLogicPort 7011<br />
&#60;/Location&#62;</p></blockquote>
<p>This would help in redirecting a request like http://localhost/medrec to the weblogic server running on 127.0.1.1 and at 7011 port with the application name medrec.</p>
<ul>
<li>Restart Apache</li>
</ul>
<blockquote><p>vhazrati@vhazrati-laptop:/usr/sbin$ sudo apache2ctl restart</p></blockquote>
<ul>
<li>Check whether the weblogic_module has been loaded successfully or not</li>
</ul>
<blockquote><p>vhazrati@vhazrati-laptop:/usr/sbin$ apache2 -t -D DUMP_MODULES<br />
apache2: Could not reliably determine the server&#8217;s fully qualified domain name, using 127.0.1.1 for ServerName<br />
Loaded Modules:<br />
core_module (static)<br />
log_config_module (static)<br />
logio_module (static)<br />
mpm_worker_module (static)<br />
http_module (static)<br />
so_module (static)<br />
alias_module (shared)<br />
auth_basic_module (shared)<br />
authn_file_module (shared)<br />
authz_default_module (shared)<br />
authz_groupfile_module (shared)<br />
authz_host_module (shared)<br />
authz_user_module (shared)<br />
autoindex_module (shared)<br />
cgid_module (shared)<br />
deflate_module (shared)<br />
dir_module (shared)<br />
env_module (shared)<br />
mime_module (shared)<br />
negotiation_module (shared)<br />
setenvif_module (shared)<br />
status_module (shared)<br />
<strong> weblogic_module (shared)</strong></p></blockquote>
<ul>
<li>If you see the weblogic_module loaded fine then you have configured it correctly and can now access the application at</li>
</ul>
<blockquote><p>http://localhost/medrec/</p></blockquote>
<ul>
<li>To t<strong>est whether the apache2.conf file is correct or not</strong> you can use</li>
</ul>
<blockquote><p>vhazrati@vhazrati-laptop:/usr/sbin$ apache2 -t<br />
apache2: Could not reliably determine the server&#8217;s fully qualified domain name, using 127.0.1.1 for ServerName<br />
Syntax OK</p></blockquote>
<p><span style="text-decoration:underline;"><strong>Other Potential Problem(s)</strong></span></p>
<ul>
<li>You may encounter the problem <strong>bad user name ${APACHE_RUN_USER}</strong></li>
</ul>
<p>this is because the value of ${APACHE_RUN_USER} is not getting picked up. Ideally it should be picked up from <strong>/etc/apache2/envvars</strong></p>
<p>which has the following entries</p>
<blockquote><p># envvars &#8211; default environment variables for apache2ctl</p>
<p># Since there is no sane way to get the parsed apache2 config in scripts, some<br />
# settings are defined via environment variables and then used in apache2ctl,<br />
# /etc/init.d/apache2, /etc/logrotate.d/apache2, etc.<br />
export APACHE_RUN_USER=www-data<br />
export APACHE_RUN_GROUP=www-data<br />
export APACHE_PID_FILE=/var/run/apache2.pid</p></blockquote>
<p>However, still in your case if these values are not picked up then goto the /etc/apache2/apache2.conf file and make the following changes</p>
<blockquote><p># These need to be set in /etc/apache2/envvars<br />
# User ${APACHE_RUN_USER}<br />
# Group ${APACHE_RUN_GROUP}<br />
User www-data<br />
Group www-data</p></blockquote>
<ul>
<li>The weblogic.load file is not read for some reason and hence the weblogic_module is not loaded</li>
</ul>
<p>Make an entry in the <strong>httpd.conf file</strong> at the following location</p>
<blockquote><p>/etc/apache2/httpd.conf</p></blockquote>
<p>and enter the LoadModule and other configuration data in this file</p>
<blockquote><p>LoadModule weblogic_module /usr/lib/apache2/modules/mod_wl_22.so</p>
<p>&#60;Location /medrec&#62;<br />
SetHandler weblogic-handler<br />
WebLogicHost 127.0.1.1<br />
WebLogicPort 7011<br />
&#60;/Location&#62;</p></blockquote>
<p>There is an entry in the apache2.conf file to include the httpd.conf file, hence the changes of httpd.conf would get loaded</p>
<blockquote><p>
# Include all the user configurations:<br />
Include /etc/apache2/httpd.conf</p></blockquote>
<p><span style="text-decoration:underline;"><strong>Further Reading</strong></span></p>
<p><a href="http://www.oracle.com/technology/obe/fusion_middleware/wls103/cluster/config_proxy_srvr/config_proxy_srvr.htm#t3" target="_blank">http://www.oracle.com/technology/obe/fusion_middleware/wls103/cluster/config_proxy_srvr/config_proxy_srvr.htm#t3</a></p>
<p><a href="http://vikashazrati.wordpress.com/2008/12/14/apache-on-ubuntu/" target="_self">http://vikashazrati.wordpress.com/2008/12/14/apache-on-ubuntu/</a></p>
<p><a href="http://download.oracle.com/docs/cd/E13222_01/wls/docs100/plugins/apache.html" target="_blank">http://download.oracle.com/docs/cd/E13222_01/wls/docs100/plugins/apache.html</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Webservice - A smal story]]></title>
<link>http://knwrites.wordpress.com/2009/10/08/webservice-a-smal-story/</link>
<pubDate>Thu, 08 Oct 2009 06:42:15 +0000</pubDate>
<dc:creator>knwrites</dc:creator>
<guid>http://knwrites.wordpress.com/2009/10/08/webservice-a-smal-story/</guid>
<description><![CDATA[Steps to expose a web service Create a well qualified WSDL Generate the Parameters &amp; return type]]></description>
<content:encoded><![CDATA[Steps to expose a web service Create a well qualified WSDL Generate the Parameters &amp; return type]]></content:encoded>
</item>

</channel>
</rss>
