On Java, Python, Groovy, Grails, Spring, Node.js, Linux, Arduino, ARM, Embedded Devices & Web

  • Recent Posts

    August 2017
    M T W T F S S
    « Jul    
  • Subscribe Options

  • Awards

  • Most Valuable Blogger @ DZone
  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 173 other followers

  • Follow MyThinkPond on
  • Blog Stats

    • 364,698 hits
  • General Options

Archive for the ‘Weblogic’ Category

Weblogic 10.3 Heap Size (does not allow 3072mb)

Posted by Venkatt Guhesan on September 21, 2010

Has anyone experienced a similar issue? In tuning Weblogic 10.3 R27.6.0-50 for Windows, we were trying various values for the heap size.

Startup jRockit options:

-Xms1024m -Xmx1024m

We were setting both values to the same.

1024m = worked
2048m = worked
3072m = did not work
4096m = worked

Did anyone experience a similar problem in allocating? Is there something special about 3072MB?

Update from Sept. 28th, 2010:
When we tried this additional property in the start-up parameter the 3GB option works:

You can learn more about that parameter here.

Posted in Java, Weblogic | Leave a Comment »

Weblogic 10.3 – Using clear passwords while in production mode

Posted by Venkatt Guhesan on July 23, 2010

In Weblogic, (on your development server or workstation), you might want to run it in “production mode” but you don’t want to go through and encrypt all the database passwords in the JDBC files for your development database servers.

Well, this article shows you how. Before you do this, make sure you are NOT doing this in a production environment. By doing this in a real-production environment, you may be compromising the security of  your production infrastructure. Also backup all files before modifying them so that if you run into any errors, you can revert back.

1. In startWeblogic.cmd file (located here: <BEA_HOME>\user_projects\domains\<YourDomain>\bin\) there will a line that says the following:


edit that line and add the following “”. Please note that in your case you may have additional java options pre-defined for your environment. Here’s the end result:


2. Next in each of your jdbc files (located here: <BEA_HOME>\user_projects\domains\<YourDomain>\config\jdbc), remove the following tag:


and replace the password with a JDBC property called “password” with the clear-text password like this:


3. Start up your server and you should be good to go.

Also as an added bonus, you can also bypass Weblogic from asking for your weblogic userid and password by adding the below two lines to your startWeblogic.cmd file (right after the line in step #1 above).

set WLS_USER=your_weblogic_id
set WLS_PW=your_weblogic_password


Posted in Java, Weblogic | 2 Comments »

where is the javax.servlet jar in Weblogic 10.3 and up?

Posted by Venkatt Guhesan on May 20, 2010

With the 10.3 release, Weblogic has split the javax.servlet and others out of weblogic.jar. I’m blogging it in hopes that if others are looking for it, this entry would help them.

You can find javax.servlet and other jars under “<BEA_HOME>\modules\” folder. In my specific build, I have the servlet jar file as “<BEA_HOME>\modules\javax.servlet_1.0.0.0_2-5.jar”.

So if you are looking for it that’s where it is and no need to go and download the servlet.jar from Tomcat to include within your resource in your project\IDE.


Posted in Weblogic | Tagged: , , | 2 Comments »