Embedded WLS and JDev 12.1.2: java.lang.OutOfMemoryError: PermGen space

This problem happens after about 10-15 application restarts during development phase. I have read somewhere that this was a known bug in 11g versions of JDev and its integrated WLS (10.3.5 or 10.3.6?). I have then increased memory parameters in configuration file. The only thing I achieved is that this crash now occurs later then sooner. Still very frustrating. When this happens I have to restart WLS and sometimes kill frozen JDeveloper.
Any other idea/workaround?
<Dec 30, 2013 12:37:04 PM CST> <Warning> <HTTP> <BEA-101384> <WLServlet annotation is deprecated, please use servlet 3.0 annotation instead. App:ADFOracleReports@ADFOracleReports-FwkExtensions-context-root, Class:oracle.adfinternal.view.faces.activedata.AdsServlet>
<Dec 30, 2013 12:37:04 PM CST> <Warning> <HTTP> <BEA-101384> <WLServlet annotation is deprecated, please use servlet 3.0 annotation instead. App:ADFOracleReports@ADFOracleReports-ViewController-context-root, Class:oracle.adfinternal.view.faces.activedata.AdsServlet>
<Dec 30, 2013 12:37:22 PM CST> <Warning> <HTTP> <BEA-101162> <User defined listener org.apache.myfaces.trinidadinternal.webapp.TrinidadListenerImpl failed: java.lang.OutOfMemoryError: PermGen space.
java.lang.OutOfMemoryError: PermGen space
  at java.lang.ClassLoader.defineClass1(Native Method)
  at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
  at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
  at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:385)
  at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:344)
  Truncated. see log file for complete stacktrace
>
<Dec 30, 2013 12:37:33 PM CST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID "1388428621416" for task "10". Error is: "weblogic.application.ModuleException: java.lang.OutOfMemoryError: PermGen space"
weblogic.application.ModuleException: java.lang.OutOfMemoryError: PermGen space
  at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140)
  at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
  at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:213)
  at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:208)
  at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
  Truncated. see log file for complete stacktrace
Caused By: java.lang.OutOfMemoryError: PermGen space
  at java.lang.ClassLoader.defineClass1(Native Method)
  at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
  at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
  at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:385)
  at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:344)
  Truncated. see log file for complete stacktrace
>
<Dec 30, 2013 12:37:33 PM CST> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application "ADFOracleReports".>
<Dec 30, 2013 12:37:33 PM CST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application "ADFOracleReports".>
<Dec 30, 2013 12:37:33 PM CST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException: java.lang.OutOfMemoryError: PermGen space
  at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140)
  at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
  at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:213)
  at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:208)
  at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
  Truncated. see log file for complete stacktrace
Caused By: java.lang.OutOfMemoryError: PermGen space
  at java.lang.ClassLoader.defineClass1(Native Method)
  at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
  at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
  at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:385)
  at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:344)
  Truncated. see log file for complete stacktrace
>
[12:37:53 PM] Cancel requested
[Application ADFOracleReports stopped and undeployed from IntegratedWebLogicServer]
<Dec 30, 2013 12:37:53 PM CST> <Error> <Deployer> <BEA-149062> <The task containing ID 10 cannot be canceled, since it has already completed execution.>
<Dec 30, 2013 12:37:53 PM CST> <Warning> <RMI> <BEA-080003> <A RuntimeException was generated by the RMI server: javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax.management.ObjectName;Ljava.lang.String;Ljava.rmi.MarshalledObject;[Ljava.lang.String;Ljavax.security.auth.Subject;)
javax.management.RuntimeMBeanException: java.lang.UnsupportedOperationException: [Deployer:149062]The task containing ID 10 cannot be canceled, since it has already completed execution..
javax.management.RuntimeMBeanException: java.lang.UnsupportedOperationException: [Deployer:149062]The task containing ID 10 cannot be canceled, since it has already completed execution.
  at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultMBeanServerInterceptor.java:839)
  at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeMBeanException(DefaultMBeanServerInterceptor.java:852)
  at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:821)
  at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:792)
  at weblogic.management.mbeanservers.domainruntime.internal.FederatedMBeanServerInterceptor.invoke(FederatedMBeanServerInterceptor.java:375)
  Truncated. see log file for complete stacktrace
Caused By: java.lang.UnsupportedOperationException: [Deployer:149062]The task containing ID 10 cannot be canceled, since it has already completed execution.
  at weblogic.management.deploy.DeploymentTaskRuntime.prepareToCancel(DeploymentTaskRuntime.java:881)
  at weblogic.management.deploy.DeploymentTaskRuntime.cancel(DeploymentTaskRuntime.java:854)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  Truncated. see log file for complete stacktrace
>

You can try to change the garbage collector algorithm. Refere to http://bexhuff.com/2012/09/jdeveloper-memory-and-performance
Timo

Similar Messages

  • BOE hangs, java.lang.OutOfMemoryError: PermGen space,

    Good day,
    I have an issue when working in the CMC that everything hangs and the following errors appear:
    java.lang.OutOfMemoryError: PermGen space
    and
    Exception in thread "Business Objects - Sessions Clean up" java.lang.OutOfMemoryError: PermGen space
    I have tried removing the tomcat service, rebooting and re-installing BOE120Tomcat service.
    After I restart Tomcat it works for about 5 mins and the same erros start appearing again.
    On startup, this is what appears in the log immediatley:
    log4j:WARN Please initialize the log4j system properly.
    java.lang.ClassNotFoundException: [Ljava.lang.String;
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1355)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
         at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:635)
         at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:422)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:348)
         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
         at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:608)
         at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
         at org.apache.catalina.core.StandardService.start(StandardService.java:450)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
    10 Mar 2011 11:42:44 AM org.apache.catalina.core.StandardContext start
    SEVERE: Error listenerStart
    10 Mar 2011 11:42:44 AM org.apache.catalina.core.StandardContext start
    SEVERE: Context [/AnalyticalReporting] startup failed due to previous errors
    Any ideas?
    Many Thanks 
    Derek

    Not sure whether this will help you, but this is not the right forum
    [Analyzing Out-of-Memory Situations|http://help.sap.com/saphelp_nwesrce/helpdata/en/97/d0de42c02c420da92a7cec346f9168/content.htm]
    thanks
    G. Lakshmipathi

  • Embedded OC4J Error : java.lang.OutOfMemoryError: PermGen space

    Hi all,
    When testing apps using embbed OC4J I experience the java.lang.OutOfMemoryError: PermGen space.
    If occur on OAS, I add :add -X:MaxPermSize=256m to the startup java options on opmn.xml, and problem solved.
    How can I set the startup jaav option for embedded OC4J ?
    Thank you,
    xtanto

    hi xtanto
    To set system properties for the embedded OC4J you could try "Project Properties" > "Run/Debug" > "Edit..." some "Run Configuration" and add your property to "Java Options" on the "Launch Settings" panel.
    success
    Jan Vervecken

  • Java.lang.OutOfMemoryError: PermGen space

    <Oct 25, 2011 12:15:53 AM IST> <Error> <netuix> <BEA-423405> <An exception [java.lang.OutOfMemoryError: PermGen space] w
    as thrown while rendering the content at [jsp/changemgmt/ChangeManager.jsp].
    javax.servlet.ServletException: java.lang.OutOfMemoryError: PermGen space
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
    at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444)
    at org.apache.beehive.netui.pageflow.scoping.internal.ScopedRequestDispatcher.include(ScopedRequestDispatcher.ja
    va:119)
    Truncated. see log file for complete stacktrace
    Caused By: java.lang.OutOfMemoryError: PermGen space
    at sun.misc.Unsafe.defineClass(Native Method)
    at sun.reflect.ClassDefiner.defineClass(ClassDefiner.java:63)
    at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:399)
    at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:396)
    at java.security.AccessController.doPrivileged(Native Method)
    Truncated. see log file for complete stacktrace
    >
    <Oct 25, 2011 12:15:53 AM IST> <Error> <netuix> <BEA-423137> <There was an error loading the requested URI /jsp/changemg
    mt/ChangeManager.jsp.>
    <Oct 25, 2011 12:16:14 AM IST> <Error> <HTTP> <BEA-101017> <[ServletContext@22272290[app:consoleapp module:console path:
    /console spec-version:2.5]] Root cause of ServletException.
    java.lang.OutOfMemoryError: PermGen space
    >
    <Oct 25, 2011 12:16:15 AM IST> <Error> <HTTP> <BEA-101107> <[ServletContext@22272290[app:consoleapp module:console path:
    /console spec-version:2.5]] Problem occurred while serving the error page.
    java.lang.OutOfMemoryError: PermGen space
    >
    Exception in thread "[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'"
    Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "[ACTIVE] ExecuteThread: '1' fo
    r queue: 'weblogic.kernel.Default (self-tuning)'"
    Exception in thread "[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'"
    Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "[ACTIVE] ExecuteThread: '0' fo
    r queue: 'weblogic.kernel.Default (self-tuning)'"
    Exception in thread "[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'"
    Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "[ACTIVE] ExecuteThread: '3' fo
    r queue: 'weblogic.kernel.Default (self-tuning)'"
    Java HotSpot(TM) Client VM warning: Exception java.lang.OutOfMemoryError occurred dispatching signal UNKNOWN to handler-
    the VM may need to be forcibly terminated
    Java HotSpot(TM) Client VM warning: Exception java.lang.OutOfMemoryError occurred dispatching signal UNKNOWN to handler-
    the VM may need to be forcibly terminated
    Java HotSpot(TM) Client VM warning: Exception java.lang.OutOfMemoryError occurred dispatching signal UNKNOWN to handler-
    the VM may need to be forcibly terminated
    Java HotSpot(TM) Client VM warning: Exception java.lang.OutOfMemoryError occurred dispatching signal UNKNOWN to handler-
    the VM may need to be forcibly terminated
    Java HotSpot(TM) Client VM warning: Exception java.lang.OutOfMemoryError occurred dispatching signal UNKNOWN to handler-
    the VM may need to be forcibly terminated
    Java HotSpot(TM) Client VM warning: Exception java.lang.OutOfMemoryError occurred dispatching signal UNKNOWN to handler-
    the VM may need to be forcibly terminated
    Environment:
    OS: Windows Vista
    Weblogic 10.3.5
    JDK: java version "1.7.0"
    Java(TM) SE Runtime Environment (build 1.7.0-b147)
    Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode, sharing)
    I created a new domain and when access the Admin console I get the " OutOfMemory " Error
    I revisited the domain creation steps and identified that when selecting the available JDK it shows " JRockit SDK 1.7.0 @ E:\Development\Java\jdk1.7.0"
    But if I do a java-version I get Sun JDK
    java version "1.7.0"
    Java(TM) SE Runtime Environment (build 1.7.0-b147)
    Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode, sharing)
    Start-up Argument
    JAVA Memory arguments: -Xms512m -Xmx512m
    WLS Start Mode=Production
    CLASSPATH=D:\BEA_HOME\patch_wls1035\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\BEA_HOME\patch_ocp360\profiles\default\sys_manifest_classpath\weblogic_patch.jar;E:\DEVELO~1\Java\JDK17~1.0\lib\tools.jar;D:\BEA_HOME\WLSERV~1.3\server\lib\weblogic_sp.jar;D:\BEA_HOME\WLSERV~1.3\server\lib\weblogic.jar;D:\BEA_HOME\modules\features\weblogic.server.modules_10.3.5.0.jar;D:\BEA_HOME\WLSERV~1.3\server\lib\webservices.jar;D:\BEA_HOME\modules\ORGAPA~1.1/lib/ant-all.jar;D:\BEA_HOME\modules\NETSFA~1.0_1/lib/ant-contrib.jar;D:\BEA_HOME\WLSERV~1.3\common\derby\lib\derbyclient.jar;D:\BEA_HOME\WLSERV~1.3\server\lib\xqrl.jar;.;C:\Program Files\Java\jre7\lib\ext\QTJava.zip
    PATH=D:\BEA_HOME\patch_wls1035\profiles\default\native;D:\BEA_HOME\patch_ocp360\profiles\default\native;D:\BEA_HOME\WLSERV~1.3\server\native\win\32;D:\BEA_HOME\WLSERV~1.3\server\bin;D:\BEA_HOME\modules\ORGAPA~1.1\bin;E:\DEVELO~1\Java\JDK17~1.0\jre\bin;E:\DEVELO~1\Java\JDK17~1.0\bin;D:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Broadcom\Broadcom 802.11\Driver;C:\Program Files\QuickTime\QTSystem\;D:\BEA_HOME\WLSERV~1.3\server\native\win\32\oci920_8
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    Starting WLS with line:
    E:\DEVELO~1\Java\JDK17~1.0\bin\java -Xms512m -Xmx512m -Dweblogic.Name=MyAdmin -Djava.security.policy=D:\BEA_HOME\WLSERV~1.3\server\lib\weblogic.policy -Dweblogic.ProductionModeEnabled=true -da -Dplatform.home=D:\BEA_HOME\WLSERV~1.3 -Dwls.home=D:\BEA_HOME\WLSERV~1.3\server -Dweblogic.home=D:\BEA_HOME\WLSERV~1.3\server -Dweblogic.management.discover=true -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Dweblogic.ext.dirs=D:\BEA_HOME\patch_wls1035\profiles\default\sysext_manifest_classpath;D:\BEA_HOME\patch_ocp360\profiles\default\sysext_manifest_classpath weblogic.Server
    <Oct 25, 2011 12:24:20 AM IST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
    <Oct 25, 2011 12:24:20 AM IST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
    <Oct 25, 2011 12:24:21 AM IST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 21.0-b17 from Oracle Corporation>
    <Oct 25, 2011 12:24:22 AM IST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.5.0 Fri Apr 1 20:20:06 PDT 2011 1398638 >
    Any possible pointers to the issue. Is it a issue with incompatible JDK 1.7 with weblogic 10.3.5.

    I just checked on the Oracle Support site. Oracle WebLogic Server 10.3.5.0.0 is certified with Oracle JDK (1.6.0_24+). There are other JDKs listed but they're all in the Java 6 family, no Java 7.
    Also, Oracle WebLogic Server 12.1.1.0.0 shows as certified with Oracle JDK 1.6.0_29+.
    Of course, this is all as of this writing.
    D

  • Java.lang.AssertionError: java.lang.OutOfMemoryError: PermGen space

    Given:
    fabio@nodo1:/Middleware/user_projects/domains/domain1/bin$ grep USER_MEM_ARGS setDomainEnv.sh
    # USER_MEM_ARGS - The variable to override the standard memory arguments
    USER_MEM_ARGS="-Xms1024m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=512m"
    export USER_MEM_ARGS
    # IF USER_MEM_ARGS the environment variable is set, use it to override ALL MEM_ARGS values
    if [ "${USER_MEM_ARGS}" != "" ] ; then
         MEM_ARGS="${USER_MEM_ARGS}"
    fabio@nodo1:/Middleware/user_projects/domains/domain1/bin$
    Then, in Weblogic admin console, I start the ManagedServer registered in cluster1 asigned to that UnixMachine.
    ManagedServer1.log reports:
    ####<May 26, 2010 10:01:40 AM CST> <Notice> <WebLogicServer> <nodo1> <ManagedServer1> <main> <<WLS Kernel>> <> <> <1274889700427> <BEA-000365> <Server state changed to FAILED>
    ####<May 26, 2010 10:01:40 AM CST> <Error> <WebLogicServer> <nodo1> <ManagedServer1> <main> <<WLS Kernel>> <> <> <1274889700428> <BEA-000383> <A critical service failed. The server will shut itself down>
    ####<May 26, 2010 10:01:40 AM CST> <Notice> <WebLogicServer> <nodo1> <ManagedServer1> <main> <<WLS Kernel>> <> <> <1274889700465> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
    ####<May 26, 2010 10:01:41 AM CST> <Error> <JMX> <nodo1> <ManagedServer1> <[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1274889701769> <BEA-149500> <An exception occurred while registering the MBean com.bea:ServerRuntime=ManagedServer1,Name=ManagedServer1_/uddiexplorer,ApplicationRuntime=uddiexplorer,Type=WebAppComponentRuntime.
    javax.management.RuntimeErrorException: Error thrown in preRegister method
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.preRegisterInvoke(DefaultMBeanServerInterceptor.java:1015)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:938)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$27.run(WLSMBeanServerInterceptorBase.java:714)
         at java.security.AccessController.doPrivileged(Native Method)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.registerMBean(WLSMBeanServerInterceptorBase.java:709)
         at weblogic.management.mbeanservers.internal.JMXContextInterceptor.registerMBean(JMXContextInterceptor.java:448)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$27.run(WLSMBeanServerInterceptorBase.java:712)
         at java.security.AccessController.doPrivileged(Native Method)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.registerMBean(WLSMBeanServerInterceptorBase.java:709)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServer.registerMBean(WLSMBeanServer.java:444)
         at weblogic.management.jmx.modelmbean.WLSModelMBeanFactory.registerWLSModelMBean(WLSModelMBeanFactory.java:45)
         at weblogic.management.jmx.modelmbean.WLSModelMBeanFactory.registerWLSModelMBean(WLSModelMBeanFactory.java:106)
         at weblogic.management.mbeanservers.internal.RuntimeMBeanAgent$1.registered(RuntimeMBeanAgent.java:104)
         at weblogic.management.provider.core.RegistrationManagerBase.invokeRegistrationHandlers(RegistrationManagerBase.java:180)
         at weblogic.management.provider.core.RegistrationManagerBase.register(RegistrationManagerBase.java:110)
         at weblogic.management.runtime.RuntimeMBeanDelegate.register(RuntimeMBeanDelegate.java:310)
         at weblogic.management.runtime.RuntimeMBeanDelegate.<init>(RuntimeMBeanDelegate.java:248)
         at weblogic.j2ee.ComponentRuntimeMBeanImpl.<init>(ComponentRuntimeMBeanImpl.java:57)
         at weblogic.servlet.internal.WebAppRuntimeMBeanImpl.<init>(WebAppRuntimeMBeanImpl.java:53)
         at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1118)
         at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:449)
         at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:424)
         at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:924)
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:356)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:391)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:59)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:43)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
         at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:39)
         at weblogic.application.internal.BackgroundDeploymentService$1.next(BackgroundDeploymentService.java:348)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
         at weblogic.application.internal.BackgroundDeploymentService$BackgroundDeployAction.run(BackgroundDeploymentService.java:273)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: java.lang.AssertionError: java.lang.OutOfMemoryError: PermGen space
         at weblogic.management.jmx.modelmbean.NotificationTranslatorBuilder.instantiateNotificationTranslator(NotificationTranslatorBuilder.java:51)
         at weblogic.management.jmx.modelmbean.NotificationTranslatorBuilder.instantiateNotificationTranslator(NotificationTranslatorBuilder.java:22)
         at weblogic.management.jmx.modelmbean.WLSModelMBean.bindNotifications(WLSModelMBean.java:116)
         at weblogic.management.jmx.modelmbean.WLSModelMBean.preRegister(WLSModelMBean.java:1147)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.preRegisterInvoke(DefaultMBeanServerInterceptor.java:1010)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:938)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$27.run(WLSMBeanServerInterceptorBase.java:714)
         at java.security.AccessController.doPrivileged(Native Method)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.registerMBean(WLSMBeanServerInterceptorBase.java:709)
         at weblogic.management.mbeanservers.internal.JMXContextInterceptor.registerMBean(JMXContextInterceptor.java:448)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$27.run(WLSMBeanServerInterceptorBase.java:712)
         at java.security.AccessController.doPrivileged(Native Method)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.registerMBean(WLSMBeanServerInterceptorBase.java:709)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServer.registerMBean(WLSMBeanServer.java:444)
         at weblogic.management.jmx.modelmbean.WLSModelMBeanFactory.registerWLSModelMBean(WLSModelMBeanFactory.java:45)
         at weblogic.management.jmx.modelmbean.WLSModelMBeanFactory.registerWLSModelMBean(WLSModelMBeanFactory.java:106)
         at weblogic.management.mbeanservers.internal.RuntimeMBeanAgent$1.registered(RuntimeMBeanAgent.java:104)
         at weblogic.management.provider.core.RegistrationManagerBase.invokeRegistrationHandlers(RegistrationManagerBase.java:180)
         at weblogic.management.provider.core.RegistrationManagerBase.register(RegistrationManagerBase.java:110)
         at weblogic.management.runtime.RuntimeMBeanDelegate.register(RuntimeMBeanDelegate.java:310)
         at weblogic.management.runtime.RuntimeMBeanDelegate.<init>(RuntimeMBeanDelegate.java:248)
         at weblogic.j2ee.ComponentRuntimeMBeanImpl.<init>(ComponentRuntimeMBeanImpl.java:57)
         at weblogic.servlet.internal.WebAppRuntimeMBeanImpl.<init>(WebAppRuntimeMBeanImpl.java:53)
         at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1118)
         at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:449)
         at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:424)
         at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:924)
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:356)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:391)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:59)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:43)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
         at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:39)
         at weblogic.application.internal.BackgroundDeploymentService$1.next(BackgroundDeploymentService.java:348)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
         at weblogic.application.internal.BackgroundDeploymentService$BackgroundDeployAction.run(BackgroundDeploymentService.java:273)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: java.lang.OutOfMemoryError: PermGen space
         at java.lang.Class.getDeclaredMethods0(Native Method)
         at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
         at java.lang.Class.getMethod0(Class.java:2670)
         at java.lang.Class.getMethod(Class.java:1603)
         at weblogic.management.jmx.modelmbean.PropertyChangeNotificationTranslator.<init>(PropertyChangeNotificationTranslator.java:66)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at weblogic.management.jmx.modelmbean.NotificationTranslatorBuilder.instantiateNotificationTranslator(NotificationTranslatorBuilder.java:45)
         at weblogic.management.jmx.modelmbean.NotificationTranslatorBuilder.instantiateNotificationTranslator(NotificationTranslatorBuilder.java:22)
         at weblogic.management.jmx.modelmbean.WLSModelMBean.bindNotifications(WLSModelMBean.java:116)
         at weblogic.management.jmx.modelmbean.WLSModelMBean.preRegister(WLSModelMBean.java:1147)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.preRegisterInvoke(DefaultMBeanServerInterceptor.java:1010)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:938)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$27.run(WLSMBeanServerInterceptorBase.java:714)
         at java.security.AccessController.doPrivileged(Native Method)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.registerMBean(WLSMBeanServerInterceptorBase.java:709)
         at weblogic.management.mbeanservers.internal.JMXContextInterceptor.registerMBean(JMXContextInterceptor.java:448)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$27.run(WLSMBeanServerInterceptorBase.java:712)
         at java.security.AccessController.doPrivileged(Native Method)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.registerMBean(WLSMBeanServerInterceptorBase.java:709)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServer.registerMBean(WLSMBeanServer.java:444)
         at weblogic.management.jmx.modelmbean.WLSModelMBeanFactory.registerWLSModelMBean(WLSModelMBeanFactory.java:45)
         at weblogic.management.jmx.modelmbean.WLSModelMBeanFactory.registerWLSModelMBean(WLSModelMBeanFactory.java:106)
         at weblogic.management.mbeanservers.internal.RuntimeMBeanAgent$1.registered(RuntimeMBeanAgent.java:104)
         at weblogic.management.provider.core.RegistrationManagerBase.invokeRegistrationHandlers(RegistrationManagerBase.java:180)
         at weblogic.management.provider.core.RegistrationManagerBase.register(RegistrationManagerBase.java:110)
         at weblogic.management.runtime.RuntimeMBeanDelegate.register(RuntimeMBeanDelegate.java:310)
    >
    ####<May 26, 2010 10:01:41 AM CST> <Info> <Cluster> <nodo1> <ManagedServer1> <main> <<WLS Kernel>> <> <> <1274889701790> <BEA-000158> <Server has stopped sending cluster heartbeats and announcements. It is still receiving heartbeats and announcements from other cluster members.>
    ####<May 26, 2010 10:01:41 AM CST> <Notice> <Cluster> <nodo1> <ManagedServer1> <main> <<WLS Kernel>> <> <> <1274889701793> <BEA-000163> <Stopping "async" replication service>
    What is the exact tuning I need to start up a simple managedserver in Weblogic 10.3.2, Linux Ubuntu ?

    Hi,
    I doubt that the following USER_MEM_ARGS which u have mentioned in the *"setDomainEnv.sh"* is not taking effect....
    USER_MEM_ARGS="-Xms1024m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=512m"
    Can u check the STDOUT of the Server or first few lines of Server Log....there u will be able to see that what value it is taking actually to startup. Sometimes it happens if we set the MEM_ARGS values in if---else block then mistakenly it takes the default values....
    Because 512M Memory for PermGen is enough for most of the Applications and Servers.
    One more thing .... How r u starting your Servers ...Using StartScripts or using NodeManager (through AdminConsole)? Because there are different ways of setting the Memory Arguments for these two scenarios. Like mentioned in the following link: http://weblogic-wonders.com/weblogic/2010/03/26/nodemanager-based-managedservers-setting-mem_args/
    Thanks
    Jay SenSharma
    http://weblogic-wonders.com/weblogic  (WebLogic Wonders Are Here)

  • "java.lang.OutofMemoryError: PermGen space" mesasge in windows xp 64bit

    Hi !!!
    I'm using WindowsXp 64bit. As per Mr. HEWizard post SQL Developer on XP x64 Edition "failed to initialize..." I can able to launch Jdeveloper on windowx xp 64 bit. But when I'm trying to create a page, it is giving an error message: "java.lang.OutofMemoryError: PermGen space" in the launcher window and the application is getting hanged.

    Hi !!
    I installed Jdk from the following url : http://www.java.com/en/download/manual.jsp and changed the paths in ..\..\..\jdevstudiobase1111\jdev\binjdev.bat file. When launching the application it is giving error message that :
    This product is certified on JDK 1.5.0_06. You are attempting to run on JDK 1.6.0_01. This product may not run correctly on this version of JDK. Continue?
    Yes No
    Then clicked Yes, then the application launched and when creating the page it is giving the following error message :
    java.lang.NoClassDefFoundError: oracle/javatools/buffer/TextBufferFactory
         at oracle.bali.xml.dom.buffer.util.EncodingUtils.getTemporaryTextBuffer(EncodingUtils.java:216)
         at oracle.bali.xml.addin.XMLSourceNode.getLoadEncoding(XMLSourceNode.java:954)
         at oracle.ide.model.TextNode.createReader(TextNode.java:1473)
         at oracle.ide.model.TextNode.loadTextBuffer(TextNode.java:278)
         at oracle.ide.model.TextNode.openImpl(TextNode.java:519)
         at oracle.ide.model.Node.open(Node.java:972)
         at oracle.bali.xml.addin.XMLSourceNode._getXmlContext(XMLSourceNode.java:1170)
         at oracle.bali.xml.addin.XMLSourceNode.getXmlContext(XMLSourceNode.java:171)
         at oracle.adfdtinternal.view.rich.pagelayout.PageTemplateUtils.getInfosFromProjectMetadata(PageTemplateUtils.java:920)
         at oracle.adfdtinternal.view.rich.pagelayout.provider.CurrentProjectPageLayoutProvider.getPageLayoutInfos(CurrentProjectPageLayoutProvider.java:40)
         at oracle.adfdtinternal.view.rich.pagelayout.registry.PageLayoutRegistry._recreateProjectPageLayoutInfos(PageLayoutRegistry.java:141)
         at oracle.adfdtinternal.view.rich.pagelayout.registry.PageLayoutRegistry.<init>(PageLayoutRegistry.java:109)
         at oracle.adfdtinternal.view.rich.pagelayout.registry.PageLayoutRegistry.getInstance(PageLayoutRegistry.java:30)
         at oracle.adfdtinternal.view.rich.pagelayout.wizard.gui.PageTemplatePanel._initPageTemplateInfoTypes(PageTemplatePanel.java:287)
         at oracle.adfdtinternal.view.rich.pagelayout.wizard.gui.PageTemplatePanel.initializeFromState(PageTemplatePanel.java:86)
         at oracle.jdeveloper.wizard.common.BaliWizard.invoke(BaliWizard.java:159)
         at oracle.ide.wizard.WizardManager.invokeWizard(WizardManager.java:317)
         at oracle.ide.wizard.WizardManager$1.run(WizardManager.java:365)
         at oracle.ide.util.IdeUtil$3.run(IdeUtil.java:1060)
         at oracle.javatools.util.SwingUtils.invokeAfterRepaint(SwingUtils.java:520)
         at oracle.ide.util.IdeUtil.invokeAfterRepaint(IdeUtil.java:1073)
         at oracle.ide.wizard.WizardManager$2.run(WizardManager.java:373)
         at oracle.ide.util.IdeUtil$3.run(IdeUtil.java:1060)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)

  • Error 500--Internal Server Error  java.lang.OutOfMemoryError: PermGen space

    I use Jdeveloper 11g to create and run simple ADF application.
    However, it always shows the error of java.lang.OutOfMemoryError.
    I have to restart Jdeveloper.
    Could anyone tell me how to avoid this problem?
    Error 500--Internal Server Error
    java.lang.OutOfMemoryError: PermGen space
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:335)
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:288)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:176)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:35)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:335)
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:288)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:176)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:35)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:335)
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:288)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

    Hello,
    This is fixed now,
    1. cleared the classpath in the environment variables(my computer) ,
    2. uninstalled jdev and weblogic,
    3. deleted the oracle/middleware folder
    4. searched under registry entries as middleware and deleted all of them,
    5. rebooted and reinstalled, worked...
    Thanks for your inputs...............

  • Java.lang.OutOfMemoryError: PermGen space error while creat weblogic domain

    Hi,
    OBIEE 11g installing in Linux server now. domain creation is in progress for about an hour and in log I can see below error.
    Creating a new AdminServer Object ...
    AdminServer port is 7001
    Starting the domain ...
    java.lang.OutOfMemoryError: PermGen space
    java.lang.OutOfMemoryError: PermGen space
    java.lang.OutOfMemoryError: PermGen space
    domain creation is still running and looks like it is struck to start domain no idea how to solve the issue. waiting to see whether domain creation successful.
    I was searching on web and found below solution but no idea how to do it in Linux server. Please provide detail instructions to do it.
    * java.lang.OutOfMemoryError: PermGen space
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
    at java.lang.Class.getConstructor0(Unknown Source)
    at java.lang.Class.getConstructor(Unknown Source)
    Solution: Increase the max permgen space -XX:MaxPermSize=256m
    There can be a leak in the permgen objects. If tuning parameters do not resolve the issue, we need to use the memory leak detector tools and find out which instances in the permgen space are not getting cleared.
    Refer: http://weblogic-wonders.com/weblogic/2010/12/30/different-out-of-memory-issues/
    Appreciate for your help.
    Thanks
    Jay.

    Hi,
    The script that configures the domain $DOMAIN_HOME/bin/setDomainEnv.sh... it should detect you are using JDK from Sun (JAVA_VENDOR="Sun") and add -XX:MaxPermSize=512m automatically...
    Simple solution, use JRockit... This problem only occurs with Sun JDK...
    Alternatively, add manually -XX:MaxPermSize=512m to the last JAVA_PROPERTIES in setDomainEnv.sh then you will be sure it is there...
    Cheers,
    Vlad

  • 10.1.3 Apps Server java.lang.OutOfMemoryError: PermGen space

    Hi,
    I am continually getting java.lang.OutOfMemoryError: PermGen space errors when using the application server control. I have two applications deployed which have been running ok (since i bumped up the MaxPermSize in oc4j_opmn.xml)
    I have set the max perm size to 512m should i need to set this higher to get the AS stable?
    The error has happened this time when I selected an application and clicked Redeploy. Because the ASC dies i can't get any useful information on what the server is doing before it memory leaks itself out of existence.
    any help would be appreciated,
    Brenden

    Hi,
    I found this in the manual as a solution for out of memory errors:
    (from the opmn.xml in $ORACLE_HOME/opmn/conf/)
    <ias-component id="OC4J">
      <process-type id="home" module-id="OC4J" status="enabled">
        <module-data>
          <category id="start-parameters">
            <data id="java-options" value="-Xms512m -Xmx512m -Djava.awt.headless=true
              -Dhttp.webdir.enable=false"/>
          </category>
        </module-data>
      </process-type>
    </ias-component>reference:
    http://download-west.oracle.com/docs/cd/B25221_03/web.1013/b14432/diagnosis.htm#sthref509
    shall see if it works......
    Brenden

  • Servlet failed with Exception  java.lang.OutOfMemoryError: PermGen space

    Hello,
    I recently installed BI Apps 11.1.1.7.1 on Oracle Linux 64.
    while i am trying to run the full load i.e. SDE, SILOS and PLP and sometimes while trying to access BIA Configuration Manager..I get below error. while i tried to increase the heap size to 2gb in SetOBIDomain.sh for both bi_server1 and odi_sever1.sh, it is not really affected i.e. i dont see the updated arguments while trying to re start these managed servers. i tried to restart the box and it still did not work...Any idea on where exactly to change/update the parameters to increase the heap size and any other known issues cauing out of memory issues.
    <Sep 30, 2013 11:55:44 AM EDT> <Error> <HTTP> <BEA-101020> <[ServletContext@263264514[app:oracle.biacm module:biacm path:/biacm spec-version:2.5 version:11.1.1.7.1]] Servlet failed with Exception
    java.lang.OutOfMemoryError: PermGen space
    Thank You in advance
    Rakesh

    Hi Fabian,
    It seems that you have got out of memory due to PermGen space, hence increase the MaxPermGen space
    java.lang.OutOfMemoryError: PermGen space
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
    Also you can go through the below posts to get more details about JVM architecture and more details about Out of memory
    Topic: Parts Of JVM And JVM Architecture Diagram?
    http://middlewaremagic.com/weblogic/?p=4456
    Topic: OutOfMemory Causes and First Aid Steps?
    http://middlewaremagic.com/weblogic/?p=4464
    Regards,
    Ravish Mody
    http://middlewaremagic.com/weblogic/
    Come, Join Us and Experience The Magic…

  • OSB Deployment Scripts java.lang.OutOfMemoryError: PermGen space issue

    Hi All
    I get this error at random intervals and to resolve this issue, I have to bounce my machine. Please help (Below is the error in .log file created in .metadata folder)
    !SESSION 2012-03-20 15:21:13.299 -----------------------------------------------
    eclipse.buildId=M20110210-1200
    java.version=1.6.0_25
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Framework arguments: -application com.bea.alsb.core.ConfigExport -configProject OSB Configuration -configSubProjects RLTPCommonDataModel,RLTPCommonServices,RLTPSimulators,RLTPDummyServices,RLTPInventoryServices,RLTPOrderServices,RLTPMOMFileSyncUp,RLTPRTLogService,RLTPExchangeRates -configJar sbconfig.jar -includeDependencies false
    Command-line arguments: -data . -application com.bea.alsb.core.ConfigExport -configProject OSB Configuration -configSubProjects RLTPCommonDataModel,RLTPCommonServices,RLTPSimulators,RLTPDummyServices,RLTPInventoryServices,RLTPOrderServices,RLTPMOMFileSyncUp,RLTPRTLogService,RLTPExchangeRates -configJar sbconfig.jar -includeDependencies false
    !ENTRY org.eclipse.core.jobs 4 2 2012-03-20 15:23:57.544
    !MESSAGE An internal error occurred during: "Periodic workspace save.".
    !STACK 0
    java.lang.OutOfMemoryError: PermGen space
         at java.lang.String.intern(Native Method)
         at org.eclipse.equinox.internal.p2.persistence.XMLParser$TextHandler.processCharacters(XMLParser.java:461)
         at org.eclipse.equinox.internal.p2.persistence.XMLParser$AbstractHandler.finishCharacters(XMLParser.java:224)
         at org.eclipse.equinox.internal.p2.persistence.XMLParser$AbstractHandler.endElement(XMLParser.java:176)

    I am using the below ANT Script:
    <target name="buildWorkspace" depends="copyreplace">
    <java dir="${tmp.output.dir}" jar="${oepe.root}/plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar" fork="true" failonerror="true" maxmemory="768m">
    <arg line="-data ."/>
    <arg line="-application com.bea.alsb.core.ConfigExport"/>
    <arg line="-configProject ${project}"/>
    <arg line="-configSubProjects ${subProjects}"/>
    <arg line="-configJar ${importJar}"/>
    <arg line="-includeDependencies true"/>
    <sysproperty key="weblogic.home" value="${wl.home}"/>
    <sysproperty key="osb.home" value="${osb.root}"/>
    <sysproperty key="osgi.bundlefile.limit" value="500"/>
    <sysproperty key="harvester.home" value="${osb.root}/harvester"/>
    <sysproperty key="osgi.nl" value="en_US"/>
    <sysproperty key="sun.lang.ClassLoader.allowArraySyntax" value="true"/>
    </java>
    </target>
    <target name="deploy" depends="buildWorkspace">
    <echo message="importscript: ${wlst.import.script} propertyfile:${build.prop.file} "/>
    <java classname="weblogic.WLST" fork="true" failonerror="true">
    <arg line="${wlst.import.script} ${build.prop.file}"/>
    <classpath refid="class.path"/>
    </java>
    </target>

  • Server startup - java.lang.OutOfMemoryError: PermGen space

    Version: WebLogic Server 10.3.2.0
    JVM Sun 6 64
    OS Windows Server 2008 64
    Hi there,
    I got the following error from a managed server startup. The AdminManager e NodeManager instances are up and runnig and the startup comand is performed from the web gui.
    I tried to play with JVM arguments (web gui, not on script) increasing the amount to -Xms512m -Xmx1024m, but with not success and because the instance hasn't got any application deployed I felt reasonable put them back to -Xms512m -Xmx512m.
    <13-Jan-2010 22:35:12 o'clock GMT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <13-Jan-2010 22:35:12 o'clock GMT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <13-Jan-2010 22:35:14 o'clock GMT> <Notice> <Security> <BEA-090171> <Loading the identity certificate and private key stored under the alias DemoIdentity from the jks keystore file D:\ORACLE\MIDDLE~1\WLSERV~1.3\server\lib\DemoIdentity.jks.>
    Exception in thread "[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'" java.lang.OutOfMemoryError: PermGen space
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
         at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Exception in thread "Timer-1" The WebLogic Server encountered a critical failure
    java.lang.OutOfMemoryError: PermGen space
    Reason: PermGen space
    <13-Jan-2010 22:35:27> <FINEST> <NodeManager> <Waiting for the process to die: 3624>
    <13-Jan-2010 22:35:27> <INFO> <NodeManager> <Server failed during startup so will not be restarted>
    <13-Jan-2010 22:35:27> <FINEST> <NodeManager> <runMonitor returned, setting finished=true and notifying waiters>
    Thanks in advance for any help.

    Hi,
    As you have mentioned that you tried to play with JVM arguments (web gui, not on script) increasing the amount to -Xms512m -Xmx1024m.....
    In case of OutOfMemoryError in PermGen Sapace ...increasing only the Heap Size will not solve anything...
    Just a Bit Explaination:
    Formula:
    (OS Level)Process Size = Java Heap Native Space (2-3% OS related Memory)
    PermSize : It's a Native Memory Area Outside of the Heap, Where ClassLoading kind of things happens.... In an operating System like Windows Default Process Size is 2GB (2048MB) default (It doesnt matter How much RAM do u have 2GB or 4GB or more)...until we dont change it by setting OS level parameter to increase the process size..Usually in OS like Solaris/Linux we get 4GB process size as well.
    Now Lets take the default Process Size=2GB (Windows), Now if you have set the -Xmx512M, we can assume that rest of the memory 1536 Mb is available for Native codes.
    (ProcessSize (-) HeapSize) = Native (+) (2-3% OS related Memory)
    2048 MB (-) 512 MB = 1536 MB
    THUMB RULES:
    MaxPermSize = (Xmx/3) ---- Very Special Cases (One Third of maximum Heap Size)
    MaxPermSize = (Xmx/4) ---- Recommended (One Fourth Of maximum Heap Size)
    So finally you need to increase the PermGen Size... like -Xmx1024m -Xms1024m -XX:MaxPermSize256m
    But again these are not the Final values ... It depends on ther Environments
    Thanks
    Jay SenSharma
    Edited by: Jay SenSharma on Jan 14, 2010 5:36 PM

  • PLEASE HELP?? java.lang.OutOfMemoryError: PermGen space

    I've been searching the net for days and have tried changing the eclipse.ini per everyone's instructions...but still keep crashing after small changes.
    java.lang.OutOfMemoryError: PermGen space
    -startup plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.2.R36x_v20101222 -product org.eclipse.epp.package.jee.product --launcher.defaultAction openFile -showsplash org.eclipse.platform -vm C:Program Files/Java/jre6/bin/clientjvm.dll -vmargs -Dosgi.requiredJavaVersion=1.6 -Declipse.p2.unsignedPolicy=allow -Xmn256m -Xms1024m -Xmx768m -Xss4m -XX:PermSize=256m -XX:MaxPermSize=256m -XX:CompileThreshold=5 -XX:MaxGCPauseMillis=10 -XX:MaxHeapFreeRatio=70 -XX:+CMSIncrementalPacing -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:+UseFastAccessorMethods -Dcom.sun.management.jmxremote
    here's the .log
    !SESSION 2011-11-15 14:27:03.125 -----------------------------------------------
    eclipse.buildId=I20100608-0911
    java.version=1.6.0_16
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Framework arguments:  -v clean
    Command-line arguments:  -os win32 -ws win32 -arch x86 -v clean
    !ENTRY org.eclipse.ui 2 0 2011-11-15 14:27:07.390
    !MESSAGE Warnings while parsing the commands from the 'org.eclipse.ui.commands' and 'org.eclipse.ui.actionDefinitions' extension points.
    !SUBENTRY 1 org.eclipse.ui 2 0 2011-11-15 14:27:07.390
    !MESSAGE Commands should really have a category: plug-in='com.qnx.flashbuilder.multiplatform.qnx.ui', id='com.qnx.flashbuilder.multiplatform.qnx.ui.commands.OpenInfoCenter', categoryId='com.qnx.flashbuilder.multiplatform.qnx.ui.commands.category.help'
    !ENTRY org.eclipse.jface 2 0 2011-11-15 14:27:15.218
    !MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
    !SUBENTRY 1 org.eclipse.jface 2 0 2011-11-15 14:27:15.218
    !MESSAGE A conflict occurred for CTRL+G:
    Binding(CTRL+G,
    ParameterizedCommand(Command(org.eclipse.jdt.ui.edit.text.java.search.declarations.in.wor kspace,Declaration in Workspace,
      Search for declarations of the selected element in the workspace,
      Category(org.eclipse.search.ui.category.search,Search,Search command category,true),
      ,,true),null),
    org.eclipse.ui.defaultAcceleratorConfiguration,
    org.eclipse.ui.contexts.window,,,system)
    Binding(CTRL+G,
    ParameterizedCommand(Command(com.adobe.flexbuilder.as.editor.find.all.declarations.in.wor kspace,Find All Declarations In Workspace,
      Category(com.adobe.flexbuilder.editorcore.navigation.category,Navigation,null,true),
      LegacyHandlerWrapper(ActionHandler(action=com.adobe.flexbuilder.as.editor.ui.actions.FindAllDeclarationsAction@6bc947)),
      ,,true),null),
    org.eclipse.ui.defaultAcceleratorConfiguration,
    com.adobe.flexide.editorcore.flexEditorScope,,,system)
    Binding(CTRL+G,
    ParameterizedCommand(Command(com.adobe.flexbuilder.as.editor.find.all.declarations.in.wor kspace,Find All Declarations In Workspace,
      Category(com.adobe.flexbuilder.editorcore.navigation.category,Navigation,null,true),
      LegacyHandlerWrapper(ActionHandler(action=com.adobe.flexbuilder.as.editor.ui.actions.FindAllDeclarationsAction@6bc947)),
      ,,true),null),
    org.eclipse.ui.defaultAcceleratorConfiguration,
    com.adobe.flexbuilder.as.editor.context.packageexplorer,,,system)
    !SUBENTRY 1 org.eclipse.jface 2 0 2011-11-15 14:27:15.218
    !MESSAGE A conflict occurred for CTRL+SHIFT+G:
    Binding(CTRL+SHIFT+G,
    ParameterizedCommand(Command(org.eclipse.jdt.ui.edit.text.java.search.references.in.works pace,References in Workspace,
      Search for references to the selected element in the workspace,
      Category(org.eclipse.search.ui.category.search,Search,Search command category,true),
      ,,true),null),
    org.eclipse.ui.defaultAcceleratorConfiguration,
    org.eclipse.ui.contexts.window,,,system)
    Binding(CTRL+SHIFT+G,
    ParameterizedCommand(Command(com.adobe.flexbuilder.as.editor.find.all.references.in.works pace,Find All References In Workspace,
      Category(com.adobe.flexbuilder.editorcore.navigation.category,Navigation,null,true),
      LegacyHandlerWrapper(ActionHandler(action=com.adobe.flexbuilder.as.editor.ui.actions.FindAllReferencesAction@6b5488)),
      ,,true),null),
    org.eclipse.ui.defaultAcceleratorConfiguration,
    com.adobe.flexide.editorcore.flexEditorScope,,,system)
    Binding(CTRL+SHIFT+G,
    ParameterizedCommand(Command(com.adobe.flexbuilder.as.editor.find.all.references.in.works pace,Find All References In Workspace,
      Category(com.adobe.flexbuilder.editorcore.navigation.category,Navigation,null,true),
      LegacyHandlerWrapper(ActionHandler(action=com.adobe.flexbuilder.as.editor.ui.actions.FindAllReferencesAction@6b5488)),
      ,,true),null),
    org.eclipse.ui.defaultAcceleratorConfiguration,
    com.adobe.flexbuilder.as.editor.context.packageexplorer,,,system)
    !ENTRY org.eclipse.core.jobs 4 2 2011-11-15 14:28:01.375
    !MESSAGE An internal error occurred during: "Building workspace".
    !STACK 0
    java.lang.OutOfMemoryError: PermGen space
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.j ava:188)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:58 0)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java: 550)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager. java:481)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClassLoader(Class pathManager.java:469)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java :449)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoade r.java:216)
    at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:469)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.jav a:107)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at org.eclipse.core.internal.resources.Resource.accept(Resource.java:110)
    at org.eclipse.core.internal.resources.Resource.accept(Resource.java:94)
    at com.adobe.flexbuilder.project.compiler.internal.BuilderUtils.copyDependents(BuilderUtils. java:483)
    at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.build(FlexProjectBuild er.java:393)
    at com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.build(FlexIncremen talBuilder.java:187)
    at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203)
    at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258)
    at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:311)
    at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:343)
    at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144)
    at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:242)

    Also, describe your project set up. Sometimes these things can happen if your workspace is not configured correctly (like two library projects that import each other for example).
    And I assume you checked to make sure you aren't actually out of RAM?
    *edit*
    Also, you mention editing eclipse.ini, but I think you actually need FlashBuilder.ini in your FB install directory. Mine looks like this:
    -nl
    en_US
    -startup
    eclipse/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
    --launcher.library
    eclipse/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.1.R36x_v20100810
    --launcher.defaultAction
    openFile
    -vmargs
    -Xms256m
    -Xmx512m
    -XX:MaxPermSize=256m
    -XX:PermSize=64m
    -Dorg.eclipse.equinox.p2.reconciler.dropins.directory=eclipse/dropins
    -Declipse.application=com.adobe.flexbuilder.standalone.FlashBuilderApplication
    If you are doing something that's particularly memory intesnive, try changing:
    -Xmx1024m
    -XX:MaxPermSize=512m

  • Getting java.lang.OutOfMemoryError: PermGen space

    Hi,
    In JCAPS5.1.1 after deploying my project, i am getting following error.
    #|2007-02-20T16:38:48.319+0530|SEVERE|IS5.1.1|STC.eWay.batch.com.stc.connector.batchadapter.system.BatchInboundWork|_ThreadID=50; ThreadName=Worker: 140;stacktrace-id=13;|Exception in BatchInboundWork, BatchInboundWork terminated, e=java.lang.OutOfMemoryError: PermGen space
    java.lang.OutOfMemoryError: PermGen space
    |#]
    Earlier also i have deployed projects but never
    faced this type of error.
    Please let me know Is there any work around to
    rectify this kind of OutOf memory error.
    Thanks
    Venkatesh.S
    Message was edited by:
    VenkateshSampoornam

    Hi moonsit !
    Yes, currently our PermSize is set to 384mb (-XX:MaxPermSize=384m).
    Hi Alan !
    Yes, we get the same conclusion, after deploy or redeploy projects we get the OOME, but I was expecting that SUN support resolve this issue and not use the stop/start as a way to fix that, since sometimes it will impact our production environment.
    I searched over internet and discover that some thirdpart libraries version has memory leaks. It's the case of apache commons-logging 1.0.6 and apache commons-beanutils 1.6. I found them in the lib directory of Integration Server in JCAPS 5.1.3 and may be there is more thinks like that. Both libraries has newer version with this issue fixed. Maybe SUN need to be adviced about that.
    Does anyone else found a way to fix that ? Or a workaround that we can do to avoid the restart of LH ?
    Thanks !
    Thiago

  • Diagnosing java.lang.OutOfMemoryError: PermGen space

    I am getting this error on our test instance:
    Exception in thread "Thread-96425" java.lang.OutOfMemoryError: PermGen space
    (We are using JDK 1.5.0_03)
    What tools can I use to inspect the contents of PermGen? In particular, is there a way to see all the interned String objects?
    I tried jmap -permstat, but it only shows perm gen usage based on classloader. I wasn't sure how to check the intern Strings.
    Thanks
    Sam

    Hi All,
    We just to add few things before i go into deep as to what is the root cause that might cause Out Of Memory due to Permanant Generation.
    Well recently i had faced this issue in one of the biggest application used in UK.I faced this issue and the resoultion for this took to almost 3 months.Now the issue is resolved.The reason for this was in the application itself.
    Well to diagnose this, please add the following parameter into the JVM Options of the instance you are using it.DON'T use parallelGC.
    -verbose:gc
    -XX:+PrintClassHistogram
    -XX:+PrintGCDetails
    After this JVM options are added, restart you instance and then check the server.log file.You will see lots of classes.Please do a analysis of this classes.You will observe that some of the classes keeps on growing even after the FULLGC is done.It means that there is some problem you need to check either at the application layer as to which classes are creating this problem.Normally classes or sometimes API's being used by the application can caused PermGen issue.
    Well String.intern method normally being used by XML api's .
    Please drop me a mail for any further information you require.My id is
    [email protected]
    Regrads
    Rahul Shah

Maybe you are looking for