• Register
1 vote
48 views

Problem:

 I got error while applying weblogic patch useing bsu.sh:

patch_download_dir=$FMW_HOME/utils/bsu/cache_dir -patchlist=GFWX -prod_dir=$FMW_HOME/wlserver_10.3 -log=$FMW_HOME/utils/bsu/bsu_weblogic.log
Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded
        at java.lang.Class.getInterfaces(Native Method)
        at java.lang.Class.getMethod0(Class.java:2779)
        at java.lang.Class.getMethod0(Class.java:2782)
        at java.lang.Class.getMethod0(Class.java:2773)
        at java.lang.Class.getMethod0(Class.java:2773)
        at java.lang.Class.getMethod(Class.java:1653)
        at com.bea.cie.common.dao.xbean.XBeanDataHandler.isValueSet(XBeanDataHandler.java:958)
        at com.bea.cie.common.dao.xbean.XBeanDataHandler.getValueFromObject(XBeanDataHandler.java:589)
        at com.bea.cie.common.dao.xbean.XBeanDataHandler.getSimpleValue(XBeanDataHandler.java:431)
        at com.bea.plateng.patch.dao.cat.PatchDependency.getRule(PatchDependency.java:48)
        at com.bea.plateng.patch.dao.cat.PatchCatalogHelper.getInvalidatedPatchMap(PatchCatalogHelper.java:1625)
        at com.bea.plateng.patch.PatchSystem.updatePatchCatalog(PatchSystem.java:436)
        at com.bea.plateng.patch.PatchSystem.refresh(PatchSystem.java:130)
        at com.bea.plateng.patch.PatchSystem.setCacheDir(PatchSystem.java:201)
        at com.bea.plateng.patch.Patch.main(Patch.java:281)

Can anyone explain me this and help me to solve this error?

10 7 2
6,060 points

Please log in or register to answer this question.

1 Answer

1 vote

Answer:

Please follow the below steps:

Step 1: Take backup of bsu.sh script.

[applmgr@ebsapps bsu]$ pwd
/u01/app/applmgr/fs1/FMW_Home/utils/bsu

[applmgr@ebsapps bsu]$ cp bsu.sh bsu.sh_12May2015

Step 2: Edit bsu.sh script and increase the memory. Make sure have enough free memory in server.

set MEM_ARGS=-Xms1024m -Xmx1024m

to

set MEM_ARGS=-Xms2048m -Xmx2048m

Step 3: Start weblogic patch.

[applmgr@ebsapps bsu]$ ./bsu.sh -install -patch_download_dir=$FMW_HOME/utils/bsu/cache_dir -patchlist=GFWX -prod_dir=$FMW_HOME/wlserver_10.3 -log=$FMW_HOME/utils/bsu/bsu_weblogic.log

Hope this will work if not then let me know.

11 6 4
34,950 points

Related questions

0 votes
1 answer 110 views
110 views
Problem : I am getting bellow error while I execute my JUnit tests exception in thread "main" java.lang.outofmemoryerror: gc overhead limit exceeded
asked Oct 19, 2019 peterlaw 6.9k points
0 votes
1 answer 9 views
9 views
How can I solve this?
asked Dec 28, 2020 TeamScript 13.5k points
0 votes
1 answer 2 views
2 views
Solution: I'm trying to implement a Hadoop Map/Reduce job that worked fine before in Spark. The Spark app definition is the following: val data = spark.textFile(file, 2).cache() val result = data .map(//some pre-processing) .map(docWeightPar => (docWeightPar(0),docWeightPar(1)))) .flatMap(line => MyFunctions.combine(line)) .reduceByKey( _ + _) Where MyFunctions.combine is
asked 2 days ago Ali 4.4k points
0 votes
1 answer 193 views
193 views
Problem : I am getting bellow minecraft error minecraft error: java.lang.outofmemoryerror: gc overhead limit exceeded
asked Oct 23, 2019 peterlaw 6.9k points
0 votes
1 answer 16 views
16 views
Problem: I am having a problem importing classes and setting variables and I need help with a test program I am doing. So I am testing out a program that just simply outputs what your input was and puts a time stamp ( Like Skype ). I am having an issue getting the message and time variable type to work!
asked Feb 18 Ali 4.4k points
0 votes
1 answer 6 views
6 views
Problem: This is a feature of NoSuchMethodError in Java and complains about "main" which is the name of the method that JVM tries to connect to but doesn't find in the wrong class. java.lang.NoSuchMethodError
asked Feb 7 ahmedadel9090 2.6k points
0 votes
1 answer 15 views
15 views
Problem: I have a piece of code and I could not figure out why it is giving me Exception in thread "main" java.lang.StackOverflowError. I know the problem lies with the recursion. The error does not occur if the input is a small value, example: 5. But when the ... 65) at Test.printSyra(Test.java:60) at Test.printSyra(Test.java:60) at Test.printSyra(Test.java:60) at Test.printSyra(Test.java:60)
asked Feb 2 Ali 4.4k points
0 votes
1 answer 19 views
19 views
Problem: java.lang.NullPointerException is one of the most popular exceptions in java programming. Anybody working in java must have seen this popping out of nowhere in java standalone program as well as java web application. Some of the common reasons for ... an object instance but at runtime the object is null. Accessing variables of an object instance that is null at runtime.
asked Feb 1 Ali 4.4k points
0 votes
1 answer 26 views
26 views
I am having a problem importing classes and setting variables and I need help with a test program I am doing.
asked Jan 23 TeamScript 13.5k points
0 votes
1 answer 36 views
36 views
explain with an example?
asked Nov 18, 2020 jagruthi 680 points