Problem while deploying LCAs : Java heap error

I am deploying a LCA archve thru ant scripts.The erroe coming is like
run:
     [echo] LC Archives creation and deployment -- In the main ()
     [java] Create and deploy LC archive init() called...
     [java] Nov 11, 2009 6:09:20 PM com.adobe.idp.applicationmanager.client.Appl
icationManagerClient <init>
     [java] INFO: ApplicationManagerClient:init()
     [java] ###### -- IN the MAIN -----####
     [java]
     [java] ###### -- Length of args -----####4
     [java] ###### -- IN THE  DEPLOY MODE -----####
     [java]
     [java] Deploying New LCAs...
     [java] Nov 11, 2009 6:09:21 PM com.adobe.idp.applicationmanager.client.Appl
icationManagerClient callApplicationManager
     [java] INFO: ApplicationManagerClient:callApplicationManager:importApplicat
ionArchive
     [java] Nov 11, 2009 6:09:23 PM com.adobe.idp.applicationmanager.client.Appl
icationManagerClient callApplicationManager
     [java] SEVERE: ApplicationManagerClient:callApplicationManager:Exception:ja
va.lang.IllegalStateException
     [java] java.lang.OutOfMemoryError: Java heap space
     [java]     at com.adobe.idp.applicationmanager.client.ApplicationManagerCli
ent.callApplicationManager(ApplicationManagerClient.java:108)
     [java]     at com.adobe.idp.applicationmanager.client.ApplicationManager.im
portApplicationArchive(ApplicationManager.java:147)
     [java] ## --- END OF DEPLOYMENT TASK -- ##
     [java]     at test.com.sample.LCAUtils.CreateAndDeployLCA.OriginaldeployLCA(Cre
ateAndDeployLCA.java:264)
     [java]
     [java]     at test.com.sample.LCAUtils.CreateAndDeployLCA.multipleDeployLCA(Cre
ateAndDeployLCA.java:337)
     [java]     at test.com.sample.LCAUtils.CreateAndDeployLCA.main(CreateAndDeployL
CA.java:484)
     [java] Caused by: java.lang.OutOfMemoryError: Java heap space
here java  java code works fine for small sized LCAs but mLCA which is around 8-9 Mb is creating problems
PLease suggest a solution.
REgards,
Prabhat

You get a     [java] java.lang.OutOfMemoryError: Java heap space*
Try to increase your JVM max memory size.
Jasmin

Similar Messages

  • Java Heap Error when using Stateless Session Timer Bean deployed in Oracle

    Hi,
    Am getting following Java Heap Error when using Stateless Session Timer Bean deployed in Oracle 10g AS R3 (Oracle Containers for J2EE 10g (10.1.3.0.0) (build 060119.1546.05277) ):
    06/08/02 14:58:43 javax.ejb.EJBException: java.lang.OutOfMemoryError: Java heap space
    06/08/02 14:58:43 at com.evermind.server.ejb.EJBUtils.getLocalUserException(EJBUtils.java:304)
    06/08/02 14:58:43 at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:67)
    06/08/02 14:58:43 at com.evermind.server.ejb.interceptor.system.TxNotSupportedInterceptor.invoke(TxNotSupportedInterceptor.java:45)
    06/08/02 14:58:43 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
    06/08/02 14:58:43 at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:86)
    06/08/02 14:58:43 at com.evermind.server.ejb.StatelessSessionEJBHome.invokeTimer(StatelessSessionEJBHome.java:71)
    06/08/02 14:58:43 at com.evermind.server.ejb.EJBContainer.invokeTimer(EJBContainer.java:1624)
    06/08/02 14:58:43 at oracle.ias.container.scheduler.TimerTask.runBeanTimer(TimerTask.java:92)
    06/08/02 14:58:43 at oracle.ias.container.scheduler.TimerTask.run(TimerTask.java:184)
    06/08/02 14:58:43 at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:819)
    06/08/02 14:58:43 at java.lang.Thread.run(Thread.java:595)
    06/08/02 14:58:43 Caused by: java.lang.OutOfMemoryError: Java heap space
    I had tried using -Xms / -Xmx options (upto 1 GB).
    The trace of exception gets delayed (from being displayed on the console) as the memory size is increased; but after sometime it starts getting displayed on the console.
    Even though this exception is displayed on the console, the Timer Bean continues to execute upto sometime before it finally crashes!
    If anyone has encountered such problem; would appreciate if you could share the solution.
    Regards, Vidyadhar

    Hi guys, I have the same problem. I have an application EAR file with two modules (EJB and WAR starting in this order). The application can schedule a process via EJB timer. In this case restarting the server I receive the error above. If I change the modules start order --> WAR - EJB the server start correctly, but the application scheduler fails (the persistency is not working) with this error:
    07/10/09 10:30:54 FINISSIMO: TimerTask.runBeanTimer java.lang.NullPointerException; nested exception is: java.lang.NullPointerExceptionjavax.ejb.TransactionRolledbackLocalException: java.lang.NullPointerException; nested exception is: java.lang.NullPointerException
    java.lang.NullPointerException
         at java.util.ListResourceBundle.handleGetObject(ListResourceBundle.java:107)
         at java.util.ResourceBundle.getObject(ResourceBundle.java:319)
         at java.util.ResourceBundle.getString(ResourceBundle.java:285)
         at java.util.logging.Formatter.formatMessage(Formatter.java:108)
         at oracle.j2ee.util.TraceLogFormatter.format(TraceLogger.java:124)
         at oracle.j2ee.util.TraceLogger$TraceLoggerHandler.publish(TraceLogger.java:105)
         at java.util.logging.Logger.log(Logger.java:428)
         at java.util.logging.Logger.doLog(Logger.java:450)
         at java.util.logging.Logger.log(Logger.java:539)
         at oracle.ias.container.timer.TimerEntry.readObjFromBytes(TimerEntry.java:308)
         at oracle.ias.container.timer.TimerEntry.getInfo(TimerEntry.java:107)
         at oracle.ias.container.timer.Timer.getInfo(Timer.java:367)
         at oracle.ias.container.timer.EJBTimerImpl.getInfo(EJBTimerImpl.java:89)
         at com.finantix.foundation.integration.ejbtimer.EJBTimerServiceExecutorBean.ejbTimeout(EJBTimerServiceExecutorBean.java:42)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBTimeoutJoinPoint.invoke(EJBTimeoutJoinPoint.java:20)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:53)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at com.evermind.server.ejb.StatelessSessionEJBHome.invokeTimer(StatelessSessionEJBHome.java:38)
         at com.evermind.server.ejb.EJBContainer.invokeTimer(EJBContainer.java:1714)
         at oracle.ias.container.scheduler.TimerTask.runBeanTimer(TimerTask.java:106)
         at oracle.ias.container.scheduler.TimerTask.run(TimerTask.java:220)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    javax.ejb.TransactionRolledbackLocalException: java.lang.NullPointerException; nested exception is: java.lang.NullPointerException
         at com.evermind.server.ejb.EJBUtils.getLocalUserException(EJBUtils.java:309)
         at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:73)
         at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:55)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at com.evermind.server.ejb.StatelessSessionEJBHome.invokeTimer(StatelessSessionEJBHome.java:38)
         at com.evermind.server.ejb.EJBContainer.invokeTimer(EJBContainer.java:1714)
         at oracle.ias.container.scheduler.TimerTask.runBeanTimer(TimerTask.java:106)
         at oracle.ias.container.scheduler.TimerTask.run(TimerTask.java:220)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.NullPointerException
         at java.util.ListResourceBundle.handleGetObject(ListResourceBundle.java:107)
         at java.util.ResourceBundle.getObject(ResourceBundle.java:319)
         at java.util.ResourceBundle.getString(ResourceBundle.java:285)
         at java.util.logging.Formatter.formatMessage(Formatter.java:108)
         at oracle.j2ee.util.TraceLogFormatter.format(TraceLogger.java:124)
         at oracle.j2ee.util.TraceLogger$TraceLoggerHandler.publish(TraceLogger.java:105)
         at java.util.logging.Logger.log(Logger.java:428)
         at java.util.logging.Logger.doLog(Logger.java:450)
         at java.util.logging.Logger.log(Logger.java:539)
         at oracle.ias.container.timer.TimerEntry.readObjFromBytes(TimerEntry.java:308)
         at oracle.ias.container.timer.TimerEntry.getInfo(TimerEntry.java:107)
         at oracle.ias.container.timer.Timer.getInfo(Timer.java:367)
         at oracle.ias.container.timer.EJBTimerImpl.getInfo(EJBTimerImpl.java:89)
         at com.finantix.foundation.integration.ejbtimer.EJBTimerServiceExecutorBean.ejbTimeout(EJBTimerServiceExecutorBean.java:42)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBTimeoutJoinPoint.invoke(EJBTimeoutJoinPoint.java:20)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:53)
         ... 9 more
    Any idea?
    Thx Auro

  • I am facing a problem while deploying an Entity bean in iPlanet(sp3).I have attached the exception thrown.Why has this exception occured?

    [04/Dec/2001 10:54:00:2] error: EBFP-marshal_internal: internal exception caught in kcp skeleton, ex
    ception = java.lang.NullPointerException
    [04/Dec/2001 10:54:00:2] error: Exception Stack Trace:
    java.lang.NullPointerException
    at java.util.Hashtable.get(Hashtable.java:321)
    at com.netscape.server.ejb.SQLPersistenceManager.<init>(Unknown Source)
    at com.netscape.server.ejb.SQLPersistenceManagerFactory.newInstance(Unknown Source)
    at com.netscape.server.ejb.EntityDelegateManagerImpl.getPersistenceManager(Unknown Source)
    at com.netscape.server.ejb.EntityDelegateManagerImpl.doPersistentFind(Unknown Source)
    at com.netscape.server.ejb.EntityDelegateManagerImpl.find(Unknown Source)
    at com.kivasoft.eb.EBHomeBase.findSingleByParms(Unknown Source)
    at samples.test.ejb.Entity.ejb_home_samples_test_ejb_Entity_TestEntityBean.findByPrimaryKey(
    ejb_home_samples_test_ejb_Entity_TestEntityBean.java:126)
    at samples.test.ejb.Entity.ejb_kcp_skel_TestEntityHome.findByPrimaryKey__samples_test_ejb_En
    tity_TestEntity__int(ejb_kcp_skel_TestEntityHome.java:266)
    at com.kivasoft.ebfp.FPRequest.invokenative(Native Method)
    at com.kivasoft.ebfp.FPRequest.invoke(Unknown Source)
    at samples.test.ejb.Entity.ejb_kcp_stub_TestEntityHome.findByPrimaryKey(ejb_kcp_stub_TestEnt
    ityHome.java:338)
    at samples.test.ejb.Entity.ejb_stub_TestEntityHome.findByPrimaryKey(ejb_stub_TestEntityHome.
    java:85)
    at samples.test.ejb.TestEJB.getGreeting(TestEJB.java:51)

    Hi,
    I think you are trying to test the Hello world EJB example shipped with the product. As a first
    step I would recomend you to go through every line of the document on deploying this application,
    since, I too have experienced many errors while trying to deploy the sample applications, but on
    following the documentation, I subsequently overcame all the errors and have been working with the
    applications. So please follow the steps in documentation and let me know, if you still encounter any
    issues.
    Regards
    Raj
    Sandhya S wrote:
    I am facing a problem while deploying an Entity bean in iPlanet(sp3).I
    have attached the exception thrown.Why has this exception occured?
    [04/Dec/2001 10:54:00:2] error: EBFP-marshal_internal: internal
    exception caught in kcp skeleton, ex
    ception = java.lang.NullPointerException
    [04/Dec/2001 10:54:00:2] error: Exception Stack Trace:
    java.lang.NullPointerException
    at java.util.Hashtable.get(Hashtable.java:321)
    at
    com.netscape.server.ejb.SQLPersistenceManager.<init>(Unknown Source)
    at
    com.netscape.server.ejb.SQLPersistenceManagerFactory.newInstance(Unknown
    Source)
    at
    com.netscape.server.ejb.EntityDelegateManagerImpl.getPersistenceManager(Unknown
    Source)
    at
    com.netscape.server.ejb.EntityDelegateManagerImpl.doPersistentFind(Unknown
    Source)
    at
    com.netscape.server.ejb.EntityDelegateManagerImpl.find(Unknown Source)
    at com.kivasoft.eb.EBHomeBase.findSingleByParms(Unknown
    Source)
    at
    samples.test.ejb.Entity.ejb_home_samples_test_ejb_Entity_TestEntityBean.findByPrimaryKey(
    ejb_home_samples_test_ejb_Entity_TestEntityBean.java:126)
    at
    samples.test.ejb.Entity.ejb_kcp_skel_TestEntityHome.findByPrimaryKey__samples_test_ejb_En
    tity_TestEntity__int(ejb_kcp_skel_TestEntityHome.java:266)
    at com.kivasoft.ebfp.FPRequest.invokenative(Native Method)
    at com.kivasoft.ebfp.FPRequest.invoke(Unknown Source)
    at
    samples.test.ejb.Entity.ejb_kcp_stub_TestEntityHome.findByPrimaryKey(ejb_kcp_stub_TestEnt
    ityHome.java:338)
    at
    samples.test.ejb.Entity.ejb_stub_TestEntityHome.findByPrimaryKey(ejb_stub_TestEntityHome.
    java:85)
    at samples.test.ejb.TestEJB.getGreeting(TestEJB.java:51)
    Try our New Web Based Forum at http://softwareforum.sun.com
    Includes Access to our Product Knowledge Base!

  • OEDQ - Java Heap errors - thoughts?

    I came across a rather annoying problem while trying to load data into OEDQ today and wondered if anyone can offer any insight.
    2 separate installations (OEDQ 9.0.5) trying to load 2 different data loads (120k records and 35k records) both produced java heap errors while trying to create the datastore connection.
    Following the various support articles regarding the java memory settings and systematically "playing" with the various values for min/max and reserved memory setting from dnconfig made no difference, the same java heap error every time.
    I then noticed that the 2 data sources were both in the newer .xlsx format having been extracted to excel and then saved, I opened them and re-saved as first .csv and then .xls -- in both cases the data load now worked.
    Given that more people will be moving to the newer xlsx format as "default" I wondered if anyone has any ideas on configuration to deal with what appears to be an added overhead when dealing with this format of files? we can of course just tell people not to use it but it would be nice to know why they cant.

    Hi,
    The current Excel driver works by pulling the whole of the spreadsheet into memory before capturing it. This can mean that with large spreadsheets it is possible not to have enough heap memory allocated to perform this function. This does not normally happen if using server-side data store connections as the server normally has considerably more memory allocated to it than the client application. If you do encounter this and cannot overcome it by adjusting the relevant heap memory settings, the workaround is as as you say to save as a CSV or other text files which can be streamed in (and out).
    Probably the reason that xlsx files fail where xls files succeed is that the xlsx save creates a larger file.
    Regards,
    Mike
    Edited by: MikeMatthews on Nov 6, 2012 3:20 AM

  • Java Heap error for BI Publisher

    Hi all,
    We get 'Java Heap Error' while running a report in BI Publisher. Any suggestions on how we can resolve the issue?
    Thanks for your help!
    Nan

    user12088414 wrote:
    Hi all,
    We get 'Java Heap Error' while running a report in BI Publisher. Any suggestions on how we can resolve the issue?
    Is BI Publisher a product? Does the title of this forum include Do Not Post Product-Related Questions Here?
    Please look at the forum list and find [url https://forums.oracle.com/forums/forum.jspa?forumID=245]BI Publisher.

  • Problem while deploying ADF application to standalone WLS server

    Hi,
    I am facing a problem while deploying ADF application to standalone WLS Server.
    Following is the error message that I am getting.
    [07:24:03 PM] ----  Deployment started.  ----
    [07:24:03 PM] Target platform is  (Weblogic 10.3).
    [07:24:07 PM] Retrieving existing application information
    [07:24:08 PM] Running dependency analysis...
    [07:24:08 PM] Building...
    [07:24:13 PM] Deploying 2 profiles...
    [07:24:14 PM] Wrote Web Application Module to D:\WorkSpace3\DashboardUi\deploy\Dashboard.war
    [07:24:14 PM] Wrote Enterprise Application Module to D:\WorkSpace3\deploy\Dashboard.ear
    [07:24:14 PM] Deploying Application...
    [07:24:22 PM] [Deployer:149191]Operation 'deploy' on application 'Dashboard' is initializing on 'msDevServer1'
    [07:24:27 PM] [Deployer:149193]Operation 'deploy' on application 'Dashboard' has failed on 'msDevServer1'
    [07:24:27 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application Dashboard on msDevServer1.: .
    [07:24:27 PM] Weblogic Server Exception: weblogic.application.ModuleException:
    [07:24:27 PM] Caused by: weblogic.common.ResourceException: DataSource DashboardDb already exists
    [07:24:27 PM]   See server logs or server console for more details.
    [07:24:27 PM] weblogic.application.ModuleException:
    [07:24:27 PM] ####  Deployment incomplete.  ####
    [07:24:27 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)Any suggestion how to fix this.
    Thanks
    Ajay

    I logged into console and browsed to 'Home >Summary of JDBC Data Sources' but not able to locate DashboardDb. Please let me know where to find DashboardDB on wls console.
    Also, please let me know how to configure the app to not to auto-deploy JDBC data sources

  • Problem while deploying entity beans

    Hi,
    We are using JDeveloper 3.2.2 (NT) and 8.1.7 (NT) to deploy EJB's.
    Now we are trying to deploy the entity bean to Oracle JVM. We are facing the following problem while deploying an entity bean .
    "Persistence provider declared in the deployment descriptor is not supported
    *** Errors occurred while deploying the EJB to 8i JVM ***
    *** Deployment completed ***"
    We would appreciate if anyone could help us to solve this error.
    null

    Hi,
    The error was coming because of the table structure. All the columns were composite keys. I alter the structured by removing composite keys and added a new column as primary key. Now it is getting deployed successfully.
    Can anybody comment on such a behaviour of OC4J?
    Regards,
    Jinal Shah

  • Problem while deploying WD application thru SDM

    Hi friends ,facing problem while deploying webdynpro application on SDM.It takes much time deployment but for the past 1 or 2 day its not working properly ..i..e error is coming while deploying WD application................................................"Cannot login to the SAP J2EE Engine using user and password as provided in the Filesystem Secure Store. Enter valid login information in the Filesystem Secure Store using the SAP J2EE Engine Config Tool. For more information, see SAP note 701654.."
    If how know how to resolve this then waiting for ur response..
    Thanx in advance
    Hanif

    Hi Hanif,
    The SDM password should be reset if it is not the same as mentioned in your Filesystem Secure Store or vice versa.
    If you have changed your administrator password, kindly do change the same in secure store as well via the config tool.
    Use the Config Tool to change the entry in secure storage as follows:
    1. Start the Config Tool.
               (Go to  <drive>:\usr\sap\<SID>\<instance>\j2ee\configtool --> configtool.bat.)
    2. Select the secure store node.
               The configuration for the secure storage in the file system appears.
    3. Select the admin/password/<SID> entry.
    4. Enter the administrator user's new password in the "Value" field and choose "Add".
    5. Choose "File" --> "Apply" to save the data.
              Note: Contrary to the message that appears, you do not need to restart the server or cluster for this change to take effect.
    6. Finally restart SDM server.
    Regards,
    Anagha

  • Pages failing with Java Heap errors

    We are running CF 8,0,0,176276 on a Windows 32 bit 2003
    server, with IIS 6 and Java Runtime version 6 ( it's really version
    1.06).
    We started getting the java heap error messages two weeks
    ago. Now we are also getting the 'GC overhead limit exceeded'
    error, which is concerned with the Java garbage collection. I tried
    to change the JVM heap size from 1GB to 2GB, but CF wouldn't start
    up. I've since found out that Windows 32bit servers can't use 2GB
    for Java.
    One java article I found said to turn off the Java garbage
    collection using -XX:-UseGCOverheadLimit (
    http://forums.java.net/jive/message.jspa?messageID=228596).
    It seems like turning off the garbage collection would be the
    opposite of what I am trying to do. Are there any thoughts about
    this?
    Are there any hotfixes for CF8? and where are they located?
    Scott

    Scott, the error is a symptom, not the cause of your
    problems. Turning off that option won't "solve" the problem, which
    is that you're running out of memory. More on that option in a
    moment.
    Let's talk first about your observation of trying to change
    the max memory from 1 to 2 gig. Since you're on Windows (32 bit),
    as you say, you can't use more than 2g per process (it's not really
    a Java limit, but rather a Windows one).
    But as you found, you can't set CF to 2g because the JVM
    won't start. Again, this is not a CF-specific issue. You can see
    discussions of the same problem with plain old Java apps, as at
    http://forums.java.net/jive/message.jspa?messageID=228596.
    So, similar to what they say, the consensus seems to be that
    you can set it to somewhere between1.3 and 1.7 gb, before the JVM
    won't start. You have to try different values for yourself.
    Now, that extra few hundred meg may be all you need to get
    past your problem, but really that's often just forestalling the
    inevitable. You need to find why CF is using so much memory. You
    say you're using CF8 but don't say if it's Enterprise or Standard.
    If the former, then you have the CF8 Server Monitor (accessible in
    the CF Admin, and discussed in a multipart series I wrote for the
    Adobe Dev Center, as discussed at
    http://carehart.org/blog/client/index.cfm/2008/7/30/45page_server_monitor_guide).
    That, as well as tools like FusionReactor and SeeFusion, can help
    you to better see how CF is using memory.
    All three offer a graphical interface to show how memory use
    is trending. You may see if it grows steadily throughout the day,
    or grows in spikes. People tend to say "I have a memory leak", when
    in fact it may be just that they have either a few requests that
    use too much memory (so you'll see a stair stepping rise in memory
    use concurrent with their execution), or it may be that they're
    sticking stuff into shared scopes (session, application, or server)
    and those are living well beyond the live of each request.
    The CF8 Server Monitor even has a memory tracking feature,
    but it has to be used carefully. If you enable it, you may find it
    brings your server to its knees.I'll do a blog entry soon on how to
    use it most effectively (something I learned since writing the
    articles last year).
    One thing that the monitor can tell you, without any of the
    "start" buttons enabled at the top of the monitor, is how many
    sessions you have. That may be very enlightening. You may have
    thousands of them, and not realize it, because of bots, spiders,
    and other crap requests. See the "active sessions" page of the
    Server Monitor, and its graph icon in particular (discussed in more
    detail in one of my articles).
    Sadly, neither FusionReactor nor SeeFusion can tell you how
    many sessions are currently running, so if you're on CF8 Standard
    (or if others reading this are on 6 or 7, where they can use FR or
    SF), you can't easily see how many sessions there are. (There are
    undocumented, unsupported methods, such as discussed at
    http://rewindlife.com/2003/09/08/undocumented-application-scope-functions/.
    Just be aware some techniques work differently depending on whether
    J2EE sessions are enabled in th CF admin.)
    Finally, about your observation of the usegcoverheadlimit
    option, and the recommendation to turn it off: the article you
    point to doesn't say doing so would disable GC. I'm curious how you
    may have concluded that.But digging into things more, I see that
    disabling it (using the - before it) will turn off a feature
    (introduced in 6) which limits the proportion of the VM's time that
    is spent in GC before an OutOfMemory error is thrown. That's the
    error you're seeing, that the JVM has detected too much time is
    being spent in doing GC.
    So turning off the option doesn't "turn off the Java garbage
    collection". It just changes whether an OOM error will be thrown
    even before being really out of memory, simply because too much
    time is being spent in GC.
    And even then, how this option works (if enabled, which it is
    by default) changes depending on whether you're using a parrallel
    or concurrent collector (as discussed in two places in
    http://java.sun.com/javase/technologies/hotspot/gc/gc_tuning_6.html,
    if you search for that switch).
    Hope some of that helps.

  • Java heap error

    Hi All
    I have developed a Matrix report recently and it is throwing error when it was loaded and ran locally and also after registerd in the Apps.The error is "Java Heap Error".Correct me if i am wrong to my knowledge what i am thinking is it is getting time out and unable to process the data.The report is running fine for few number of records.Please help me in this regard.
    Help will be really apreciated.
    regards,
    kalyan

    Hi kalyan,
    What i know about Java Heap error is, it comes when you exceed the length allocated.
    Sometimes it happens that you have to take the whole name upto 59 characters, means if somebody gets beyond the limit of 59, ideally you should truncate it.
    If you dont, then it starts giving translation length error or say java heap error.

  • Hi! I am new to Jdeveloper.Having problem while deploying on embeded OC4J

    hi everybody
    I am new to JDeveloper.I am using OracleJDeveloper 10.2.3 version.I am facing problem while deploying any application on embeded OC4J server.I have tried a lot after searching solution on this site,but all of no use.Actually i am not able to established connection with OC4J.Whenever i am testing the connection it`s giving message Connection Failed message.Please provide me the exact solution.I am in need of this so reply as soon as possible.
    Thanks In Advance
    Rohit Tiwary

    Hi Rohit,
    You dont have to create a connection to deploy in embedded oc4j. You can simply right click on the jsf page and run.
    HTH.
    Regards,
    Arun

  • Problem while Deploying WebDynpro application-error:java.rmi.RemoteExceptio

    Hi All,
       i installed WAS 6.40 sp 16 on my system its working fine. I can able to log in to the  SDM as remoteGUI.bat using my sdm password.But while deploying the webdynpro appliation i am getting error like "java.rmi.RemoteException: Only Administrators have the right to perform this operation".
    Using my administrator PWD i can log in to all the systems like Useradmin, SDM, J2E engine.
    can any one help me....thanks in advance

    hi all
    i also had the same problem, i am able to log into SDM GUI through Remotegui.bat
    but even though i had changed the password i am not able to deploy the applicaton to j2ee sever, through the NWDS. I tried deploying the applicaton in the
    GUI of SDM there also it is giving like "Only Administrators have the right to perform this operation".
    How to go to User Administration and where?is it in OS level or in Web AS Admin console?
    Adding user admin (default password is also admin) to the Administrators group,
    Go to: User Administration --> Groups and search for Administrators.
    Then add user with ID admin in this group

  • Too large java heap error while starting the domain.Help me please..

    I am using weblogic 10.2,after creating the domain, while starting the domain,I am getting this error.Can anyone help me.Please treat this as urgent request..
    <Oct 10, 2009 4:09:24 PM> <Info> <NodeManager> <Server output log file is "/nfs/appl/XXXXX/weblogic/XXXXX_admin/servers/XXXXX_admin_server/logs/XXXXX_admin_server.out">
    [ERROR] Too large java heap setting.
    Try to reduce the Java heap size using -Xmx:<size> (e.g. "-Xmx128m").
    You can also try to free low memory by disabling
    compressed references, -XXcompressedRefs=false.
    Could not create the Java virtual machine.
    <Oct 10, 2009 4:09:25 PM> <Debug> <NodeManager> <Waiting for the process to die: 29643>
    <Oct 10, 2009 4:09:25 PM> <Info> <NodeManager> <Server failed during startup so will not be restarted>
    <Oct 10, 2009 4:09:25 PM> <Debug> <NodeManager> <runMonitor returned, setting finished=true and notifying waiters>

    Thanks Kevin.
    Let me try that.
    Already more than 8 domains were successfully created and running fine.Now the newly created domain have this problem.I need 1GB for my domain.Is there any way to do this?

  • Error while deploying a Java Stored Procedure using JDeveloper

    Hi,
    I was going thru the Oracle By Example article: "Developing SQL and PL/SQL with JDeveloper". (http://www.oracle.com/technology/obe/obe9051jdev/ide1012/plsqlobe/obeplsql.htm)
    One of the items in this article is - "Creating and Deploying a Java Stored Procedure"
    I was able to create a java class, compile it. Created a deployment profile. created a pl/sql wrapper. While trying to deploy the java stored procedure, I am getting the following error:
    Invoking loadjava on connection 'hr_conn' with arguments:
    -order -resolve -thin
    errors : class package1/mypackage/JavaStoredProc
    ORA-29521: referenced name java/lang/StringBuilder could not be found
    The following operations failed
    class package1/mypackage/JavaStoredProc: resolution
    oracle.aurora.server.tools.loadjava.ToolsException: Failures occurred during processing
         at oracle.aurora.server.tools.loadjava.LoadJava.process(LoadJava.java:863)
         at oracle.jdeveloper.deploy.tools.OracleLoadjava.deploy(OracleLoadjava.java:116)
         at oracle.jdeveloper.deploy.tools.OracleLoadjava.deploy(OracleLoadjava.java:46)
         at oracle.jdevimpl.deploy.OracleDeployer.deploy(OracleDeployer.java:97)
         at oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(StoredProcHandler.java:474)
         at oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(StoredProcHandler.java:361)
         at oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(StoredProcHandler.java:285)
         at oracle.jdevimpl.deploy.StoredProcProfileDt$Action$1.run(StoredProcProfileDt.java:383)
    #### Deployment incomplete. #### Oct 27, 2005 1:38:56 PM
    Appreciate your help on this..

    I am using Jdeveloper 10.1.3 Early Access Version. JDK comes with it. I also have another JDK on my machine (JDK1.4.2_09)

  • Error while deploying inbound java server proxy on PI7.1....

    Check this link:
    https://wiki.sdn.sap.com/wiki/display/JSTSG/(JSTSG)(TG)Q1127
    Regards,
    Ravi

    Hi Ravi,
    As recommended i tried to re deploy my sda file after removing fail over elemet but now i am getting some other exception for different xml file named as ejb-jar.xml file . The exception is like this:
    [ERROR CODE DPL.DS.5402] JLinEE reported following erros for pi.is.poc/JAVASERVERPROXY application.
    ERRORS:
    Bean Interfaces: The local home interface "com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundLocalHome4" cannot be found in the search path., file: JavaServerProxy.jar#META-INF/ejb-jar.xml, column 0, line 0, severity: error * Bean Interfaces: The home interface "com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundHome4" cannot be found in the search path., file: JavaServerProxy.jar#META-INF/ejb-jar.xml, column 0, line 0, severity: error * Bean Interfaces: The remote interface "com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundRemote4" cannot be found in the search path., file: JavaServerProxy.jar#META-INF/ejb-jar.xml, column 0, line 0, severity: error * Bean Interfaces: The local interface "com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundLocal4" cannot be found in the search path., file: JavaServerProxy.jar#META-INF/ejb-jar.xml, column 0, line 0, severity: error * Bean Interfaces: stateless bean "SIProxyIA_PortTypeBean" should have at least one of the following interface pairs: "local" and "local-home", "home" and "remote" or service endpoint interface, file: JavaServerProxy.jar#META-INF/ejb-jar.xml, column 0, line 0, severity: error
    Hint: 1) Given application file is not valid one.
    sdu=name 'JAVASERVERPROXY', vendor 'pi.is.poc', location 'JAVASERVERPROXY', version '2', softwareType ''J2EE', sub type '''clusterDescriptor=null]
    Oct 16, 2009 9:38:37 AM  [Error ]:Deployment Exception during deployment phase 'DeploymentException',cause=An error occurred while deploying the deployment item 'pi.is.poc_JAVASERVERPROXY'.; nested exception is:com.sap.engine.services.dc.gd.DeliveryException: [ERROR CODE DPL.DC.3298] An error occurred during deployment of pi.is.poc_JAVASERVERPROXY. Cannot deploy it.
    Thanks
    Amit Srivastava

Maybe you are looking for