Archive for the ‘Must Have Bookmarks’ Category

JDBC BEA-001129

Tuesday, June 8th, 2010
No Gravatar

If you don’t have a LinkedIn membership, this discussion should be enough reason to sign up (for the record, I did not provide the responses to this question):

Q:

I have a problem in production environment with WebLogic 9.2 mp3.We are using Multi datasource with Oracle 9i RAC two nodes. Database team have maintaince so they took out one node out of RAC. when one of the WebLogic instance associated with connection pool to that RAC node shown the following Warning message and could not start the instance.The multi datasource is configured with algorithm-type as “Load-Balancing”

<Jun 3, 2010 3:12:23 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Jun 3, 2010 3:14:10 AM EDT> <Warning> <JDBC> <BEA-001129> <Received exception while creating connection for pool “DS2″: Io exception: The Network Adapter could not establish the connection>

What are the recommandations to avoid this kind of problems when one of the RAC nodes down and the WebLogic server should have High Availability and scalable?

Any configuration parameters need to set for this??

A:

The way 9.2 mp3 works with RAC is that the multidatasource represents a pool of datasources so if one datasource is not available it will mark that down and use the other datasources configured in the multidatasource. WLS controls the failover, not RAC and this version does not use FAN or FCF.

I assume you have test on reserve set in the connection of all the data sources as that is required to use multdatasource. This parameter is at datasource->connection pool-> advanced

“could not start the instance” means that WLS did not come up??

If you are bringing up a WLS instance without the DB up you may want to set initial connections to 0

  • Share/Bookmark

Some WLS Apache Proxy Basics

Thursday, May 13th, 2010
No Gravatar

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.

  • Share/Bookmark

Just Like the Good Ole Days

Monday, July 27th, 2009
No Gravatar

Back when 14.4k baud modems were fast, mice were beige, IBM made PCs, and new software versions were relased annually instead of weekly, software came with useful, intiutive manuals that included tutorials for everything you needed to get up and working.

Other than the ability to take the manual in its binder to the couch to flip through, dog ear and highlight, I was happy to discover a full set of training buried in the doc folder of the Oracle Database install (and many other of  their applications, though location may vary).

Even if you don’t have the full install, the 2 Day DBA and other really useful documents can be found online, too. The 10.2 version is located here:  http://www.oracle.com/pls/db102/portal.all_books.

  • Share/Bookmark

Installing PMD Plugin for WebLogic Workshop 10gR3

Monday, July 27th, 2009
No Gravatar

For those that read my Cleaner Code with the PMD Eclipse Plug-In article on Developer.com, you will know that PMD is one of my favorite tools for saving time in code reviews. I recently wanted to review a project built for WebLogic Portal 10.3 and was frustrtated to find that it would not install through the Eclipse updater.  At the time I wrote the article, I was unable to find zip install for the more recent PMD versions. Today I found a new location for  the old download and unzip install files for PMD on SourceForge today at http://sourceforge.net/projects/pmd/files/, and it seems to work fine when installed with this approach.

  • Share/Bookmark

A Tutorial by Any Other Name…

Monday, June 8th, 2009
No Gravatar

It may be just because they are really good at SEO, but everytime I’m looking for a quick (free) tutorial on something I want to learn about or need a refresher, RoseIndia usually comes up. I think the reason for the quality of most of their tutorials is that they don’t create them all themselves. This is not immediatly obvious, unless you keep looking at other search results for tutorials and find the same one posted in 20 other places. Still, they are good aggregtor for technical tutorials, and for that I definitly recommend bookmarking them.

  • Share/Bookmark

Quick Cookie Click

Wednesday, June 3rd, 2009
No Gravatar

Any browser that supports JavaScript will pop an alert with the current cookies from the domain currently displayed if you enter this in the location bar:

javascript:alert(document.cookie)

Handy if you don’t work with JavaScript or cookies enough to have a web developer tool bar installed.

  • Share/Bookmark

Favicon Generator

Monday, May 25th, 2009
No Gravatar

I rememeber what a pain this was the first time, and the next to last time, where I hadn’t done it in years. Today I found an site that will generate one for free and tells you how to use it. Must have bookmark: DeGraeve.com Favicon Generator.

  • Share/Bookmark