This blog is obsolete.
Check new posts at ADF How To! !!

Showing posts with label Memory. Show all posts
Showing posts with label Memory. Show all posts

Thursday, July 9, 2009

Setting memory config in Weblogic 10.3.1

Setting mem config is changed in the new WLS 10.3.1. and in the embedded WLS of JDevelper 11.1.1.1.1.0 (actually this is the same thing)

In the previous ver it was setted like this.

Now the only thing you need to do is to the add the following line in setDomainEnv.cmd file right after the comments in the begging:

set USER_MEM_ARGS=-Xms64m -Xmx1024m -XX:MaxPermSize=512m

(of course the above is one line!!)

The file is located in a different folder that the previous release of JDev:

C:\Documents and Settings\spido\Application Data\JDeveloper\system11.1.1.1.33.54.07\DefaultDomain\bin

that is windows user app data folder and of course instead of spido put your username.

Enjoy


Friday, June 12, 2009

A different way...

Hi all
J

We were very interested in Resource Bundle files problem. And in a past few days we discovered that there are at least 3 workarounds:

  1. commenting SET tags (current solution)
    pros: easy to implement, no low memory problem cons: no labels on page, cannot add/remove/change labels
  2. using SET tags with one additional backing bean (our solution)
    pros: labels visible on a page, using the same SET tag, can add/remove/change labels (not trough wizard), no low memory problem cons: not so easy to implement
  3. using LOADBUNDLE tag (solution we found on web, not ours L)
    pros: easy to implement, labels visible on a page, can add/remove/change labels (not trough wizard), no low memory problem cons: not using SET tag (in our opinion not a problem at all)

As much as it hurts us to admit, we think that third solution is the best. Pls let us know if it works for u as it works for us. If u need us to explain it in details how to implement (which is just one more line in page J), pls don’t hesitate to ask.

Hope u like it J

Milos Rebic (milos.rebic@gmail.com) & Spiros Dougeridis

P.S. Details: First comment all SET tags. LOADBUNDLE tag is JSF core library tag. When u drag&drop it on a page u should just specify the same things as for SET tag (copy/paste J).

SET tag: = "#{adfBundle['com.mni.mednext.view.messages.frame_titles']}"/> -->

LOADBUNDLE tag:

PS2: Example:



*important*important*important*

USE SAME VARS FOR SAME BUNDLES !!!!!!!!!!!!

Don’t use wizard for adding new labels (it will again create SET tag, and u don’t want that J), do it manualy

*important*important*important*

Easy, isn’t it J And all tags are visible on page. When u finish with development, erase LOADBUNDLE tags, and uncomment SET tags.