One of those items I always have to go look up the specifics for is creating the MANIFEST.MF file for WebLogic shared libraries.
Reference URL can be found here.
© Scott S. Nelson
Things that help, hinder, or horrify happy developers at work. I used to call this category Development, but delicious has more tags for programming. “Go with the grain” – Jethro Gibbs
One of those items I always have to go look up the specifics for is creating the MANIFEST.MF file for WebLogic shared libraries.
Reference URL can be found here.
The proxy plugin configs are a powerful tool for server admins. There was a recent post of the basics at http://weblogic-wonders.com/weblogic/2010/05/13/apache-proxy-as-static-content-repository/ that is worth a boookmark.
I’ve had on my to-do list for awhile now to post about a recent investigation into a WLSÂ stuck thread issue I fixed. And I still will, as the way I got there is probably more useful to some than the end result. But, someone sent me a question that led straight to the solution today, so I thought I would post the email thread here to benefit my reader:
Q: Can we configure a cluster of WLS that is behind a F5 to use jdbc based persistence without the server affinity defined by load balancer?
A: By persistence, I would assume you mean user session. The limitation is on the applications deployed rather than WLS itself. All objects in session must be serializeable in order for WLS to properly manage persistence, regardless of whether it is database or file or in-memory persistence.
If your client has an issue where session data is lost unless server affinity is maintained it is because persistence has been manually turned off for the application. This is almost always done be developers or vendors when their application does not support serialization.
I’ve run across this situation twice this year. The first time was a sloppy, dishonest vendor (they clearly stated both that their product supported serialization and that they had never tested it…so I did, and it did not) that did not make their session objects serializable. The second time they had issues with a third party application that serialized PDF reports that were generated for a request and they had to turn off persistence to keep the disks from filling up every quarter.
Wasted a good week until someone pointed out that OPOE does generates application.xml for exploded deployments (such as within the IDE) , but leaves it out when creating an EAR. So, when you create your WLP EAR project, you must check the “Generate application.xml deployment descriptor” box or the Portal Admin Tools will not get configured properly for the application.

One of those things I ran across recently that I always forget between projects so I thought I would share here:
1 Set the Oracle Home
export ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/
2 SQL Plus – Idle Instance $ORACLE_HOME/bin/sqlplus /nolog
3 Connect as SYS User
connect sys/welcome1@xe as sysdba;
4 Create the WEBLOGIC_PORTAL
User CREATE USER WEBLOGIC_PORTAL IDENTIFIED BY WEBLOGIC1;
5 Grant Roles and Permissions
GRANT CONNECT, RESOURCE,DBA TO WEBLOGIC_PORTAL;
6 The WLS install seems to expect a table named SYSTABLES, so you will need to create it:
CREATE TABLE SYSTABLES (TEMP NUMBER);