Coherence objects not released when undeploying application?

Hi
Part of our continuous integration build is deploying our application to a Weblogic server and running some selenium test cases against it. We have usually about 15 builds running each day.
Our problem is that we seem to be experiencing a memory leak in that process; each new build takes more and more memory until weblogic starts throwing out-of-memory errors (as a workaround we'r restarting weblogic every night).
After spending some time using a profiler (we'r using YourKit Java Profiler) it appears that the calls to Coherence libraries cause references to our objects not being properly released and GC is not able to get rid of them properly. If the calls to the Coherence libraries are removed teh GC correctly releases all our application objects.
To confirm this I have created this simle test scenario:
1. Created an empty web application (war) that has only one class in it:
package com.test;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import com.tangosol.net.CacheFactory;
public class TestServletContextListener implements ServletContextListener {
     public void contextDestroyed(ServletContextEvent arg0) {
          CacheFactory.shutdown();          
     public void contextInitialized(ServletContextEvent arg0) {}
2. Modified the web.xml to register the ContextListener:
<listener>
<listener-class>com.test.TestServletContextListener</listener-class>
</listener>
3. Created empty EAR that has only two libraries in it: coherence.jar & tangosol.jar (version 3.3.1)
5. included the test web application in the EAR (no other classes, projects or libraries are included; no other configuration settings are adjusted from defaults)
6. While using the profiler I was performing deployemnt and undeployment of teh EAR against the Weblogic server. With each new deployment a new set of com.tangosol* classes is created. Those classes are not released even when GC is forced from the profiler.
I'm not able to attach a screenshot from the profiler to this post, but with each redeployment I can see the following objects created (ordered with number of objects created in a descending order):
com.tangosol.util.Base$ComonMonitor: 1024 new objects
com.tangosol.run.xml.XmlToken: 16 new Objects
com.tangosol.util.ListMap: 11 new Objects
com.tangosol.util.RecyclingLingedList$Node: 5 new Objects
etc.
Am I doing something wrong or is there really a problem with the object references not properly released in Coherence?
thank you
s.

Hello Robert
I have double checked that the two coherence libs don’t exist anywhere on the server class path. I have also tried calling shutdown from preStop instead of postStop but it made no difference.
(Please note that I'm not really looking for the right place to shutdown Coherence; instead I'm trying to demonstrate that calls to Coherence libraries causes object references not to be released properly. I have chosen to use the shutdown method only because it's nicely visible when it's being invoked and also it is something that our application is calling during shutdowns).
To make sure that I'm not overlooking something with the Weblogic setup I have tried it with Tomcat:
1. Downloaded and installed Tomcat 6.0.14
2. Create new WAR project and put coherence.jar & tangosol.jar in WEB-INF/lib
3. Created one class:
package com.test;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import com.tangosol.net.CacheFactory;
public class TestServletContextListener implements ServletContextListener {
     public void contextDestroyed(ServletContextEvent arg0) {
          CacheFactory.shutdown();
     public void contextInitialized(ServletContextEvent arg0) {}
4. modified web.xml:
<listener>
     <listener-class>com.test.TestServletContextListener</listener-class>
</listener>
5. deployed the WAR to the tomcat server with profiler connected to it
After that I have used Tomcat Web Application Manager (http://localhost:8088/manager/html/list) to Stop & Start the application repeatedly.
The behavior is the same as on weblogic. Each stop of the application creates another set of tangosol objects that do not get released by GC.
Am I correct when I say that there is some problem with the Coherence libraries causing memory leaks by not allowing GC to release old objects?
Thank you
s.

Similar Messages

  • "Top level objects not released" warning when accessing LabVIEW adapter through API

    I'm having a problem when using the TestStand API in LabVIEW:  I'm trying to get the VI path for a TestStand test step, but I'm getting the "Top level objects not released properly" warning.  It doesn't look like I'm forgetting to close something, but obviously I am.  Snippet is below, and warning text follows.  Anyone have any ideas?
    I'm using LabVIEW 2010 and TestStand 2010.
    This forum has been a huge help.  Thanks to everyone!
    -Joe 
    References to PropertyObjects were not released properly.    Total number of objects: 418    Number of top-level objects: 7
        Note: Some top-level objects may be included if they are referenced by    an incorrectly released top-level object. For example, an unreleased    SequenceContext object references a SequenceFile object.
        The following top-level objects were not released:
            Type Definitions [6 object(s) not released]            Type Definition #1:                Name: FlexGStepAdditions
                Type Definition #2:                Name: VIParameter
                Type Definition #3:                Name: VIParameterElement
                Type Definition #4:                Name: NI_LabVIEWParameterResult
                Type Definition #5:                Name: Expression
                Type Definition #6:                Name: Path
            And the following uncategoried objects:            LabVIEWModule (FlexGStepAdditions)                Name: SData
    Solved!
    Go to Solution.

    Yep, that worked.  I thought that Variant To Data was just converting the module reference to the LabVIEWModule data type, but apparently I was wrong...  This TS leak checker is sure making me learn about how to properly close references... I've been programming memory leaks for years!
    I was also having problems with LabVIEW crashing after the VI ran, and fixing the order of the close references fixed that, too.
    Working code is below.
    Thanks a lot (again) Doug.
    -Joe

  • NotEditorException when undeploying applications

    Very often when undeploying applications, we get the NotEditorException.
    It seems that the application is (correctly) undeployed.
    This only occurs when undeploying, at other actions we never get this problem..
    What can be a reason for this?
    thx

    what is the version of weblogic

  • How to retain portlet preferences when undeploying application

    Hi,
    we have a requirement where we configure portlet preferences for each portlet instance in a page through admin console.
    we use these preference values to retrieve content from VCR and display in portlet jsp.
    The problem here is when we undeploy application and install it again all the preferences configured in the admin console will vanish.
    Is there any way to retain these values even when we undeploy application.
    Thanks

    Hello,
    There are two ways you could do this: put the preference values in your .portlet files or use the propagation tool to move the customized portlet instances to your new deployment.
    Putting the preference values in your .portlet file can't be done from the administration tools-- it must be done from the IDE or manually editing the files-- so I'm guessing it would not solve your problem.
    For more information on using the propagation tool, see:
    http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/prodOps/propTool.html
    Kevin

  • Progress bars objects not serializable message iat application runtime

    I am getting errors for the beans that have to do with progress bars. It says these objects are not serializable.
    When I try to implement serializable I still get that error. What do I need to do?
    I have 3 progress bars in view scope.
    SEVERE: ADFc: Scope object serialization failed (object not serializable), scope='viewScope[page.jsf]', objectKey='progressBarSampleBean',

    Hi,
    if you get this error then because you referenced a JSF component binding from a managed bean that is not in request scope. By definition, JSF components are not designed for this and instead ensure their component state is handled within a state token for high availability. The error message states you have the bean referenced in viewScope, which however you should not do. Use request scope
    Frank

  • [Solved]The space is not released when delete xbmc-wiiremote.log( 9GB)

    I met some problem after a system update.
    My wii-remote doesn't work well when i try to reconnect it with xbmc-wiiremote.
    It will keep writing some error message to /var/log/xbmc-wiiremote.log until the disk get full (file size >9GB ).
    The worst thing is when i try to delete this file by "rm", no error reported but the disk space is not released!
    And the disk space can be release by the fsck during next boot time.
    My system info:
    uname -a
    Linux htpc 3.0-ARCH #1 SMP PREEMPT Tue Aug 30 08:53:25 CEST 2011 x86_64 AMD E-350 Processor AuthenticAMD GNU/Linux
    And i am using ext4.
    sudo fsck -n
    fsck from util-linux 2.19.1
    e2fsck 1.41.14 (22-Dec-2010)
    Warning! /dev/sda1 is mounted.
    Warning: skipping journal recovery because doing a read-only filesystem check.
    Superblock last mount time is in the future.
    (by less than a day, probably due to the hardware clock being incorrectly set) Fix? no
    /dev/sda1 contains a file system with errors, check forced.
    Pass 1: Checking inodes, blocks, and sizes
    Deleted inode 261147 has zero dtime. Fix? no
    Pass 2: Checking directory structure
    Pass 3: Checking directory connectivity
    Pass 4: Checking reference counts
    Unattached zero-length inode 1044678. Clear? no
    Unattached inode 1044678
    Connect to /lost+found? no
    Pass 5: Checking group summary information
    Block bitmap differences: -(1205248--1205759) -(1738695--1740230) -(1742848--1748991) -(1751040--1785856) -(1787904--2097151) -(2209792--2621439) -(2727936--2729983) -(2732032--2736127) -(2744320--3145727) -(3207168--3211263) -(3219456--3670015) -(3708928--3760750)
    Fix? no
    Free blocks count wrong (2668547, counted=2667883).
    Fix? no
    Inode bitmap differences: -261147 +1044678
    Fix? no
    Free inodes count wrong for group #128 (7926, counted=7927).
    Fix? no
    Free inodes count wrong (1173865, counted=1173864).
    Fix? no
    /dev/sda1: ********** WARNING: Filesystem still has errors **********
    /dev/sda1: 107255/1281120 files (0.2% non-contiguous), 2451453/5120000 blocks
    I also tried to dd a big file(9Gb) and delete it then. Everything works fine.
    Any more information should i collect?
    Last edited by beeender (2011-09-03 14:54:41)

    If the log file is still in use, it doesn't get physically deleted until the last program using it, closes it.  Using "truncate" instead of "rm" should work to free some space.

  • Problem is not updated when converting applications account

    When converting Apple Store account from state to state that does not show you the applications that need to be updated

    ????????????????????????????????

  • Resource not release when starting/stopping the deployed application

    I am testing to deploy an standard web application on Weblogic 11gR1 at Windows XP. It is running and everything is working fine. But I noticed below situation which concersns about the release of resouce during stop and start deployed application by using Admin Server Console:
    After the deployed application starting running in Weblogic, I go to Admin Server Console to select the deployed application at deployment section and click "stop\When work complete". It looks like that the deployed application was stopped and its state went to "Prepared". Then I start it again by click "Start\Servicing all requests". It started correctly. If I tried multiple times of "Start \ Stop" operations on this deployed application, then eventurally, I got "output memory" exception and Weblogic died. I wached the memory usage of Weblogic, when applying multiple times of 'start / stop' operation on an deployed application, the memory usage of weblogic continuese to grow and until "output memory" exception occurs.
    Is it normal? What might be wrong when configuring weblogc? or somethng wrong for deployed application?
    Anybody can provide any help would be great appreciated.
    Thanks in advance.
    Jim

    Hi Mithun,
    Thanks for your reply! If stopping the deployment need some time to finish, So, admin console of weblogic should disable ( grey out ) its starting button while the related deployed application is still shutting down. After the deployed application were stopped completely, then enable the starting button again to avoid the issue.
    I just feel a little bit strange for the admin console of Weblogic to behavior on start / stop deployed application.
    Thanks,
    Zhiping

  • Web Service Security is not working when migrating application from Tomcat

    Hi,
    We have a application running successfully in tomcat6 It calls a Webservice call through TIBCO BW interface.
    When we deployed the same WAR file in Weblogic 10.3.2, it gives me a error on Prefix[ds] not able to locate namespace URI not found error.
    IN Tomcat, its a existing application uses AxilUtility to get the soap messages after signing document for bothe encyption and decryption.
    Please anybody help me out, is there any other jars needs to be locate in Weblogic to run this application. Its fine with Tomcat and gives error in Weblogic10.3.2
    Please help me out
    Thanks in advance

    Hi Rajkumar,
    Thanks for you reply. Please let me now if you have any ideas..thnks a lot....
    Below is the error message what i am getting through weblogic console.
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS
    ervletContext.java:2202)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC
    ontext.java:2108)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j
    ava:1432)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.io.IOException: error:weblogic.xml.stream.XMLStreamException: Pr
    efix [ds] used without binding it to a namespace URI
    at weblogic.xml.xmlnode.XMLNode.read(XMLNode.java:744)
    at weblogic.xml.xmlnode.XMLNode.readChildren(XMLNode.java:1054)
    at weblogic.xml.xmlnode.XMLNode.read(XMLNode.java:742)
    at weblogic.xml.xmlnode.XMLNode.readChildren(XMLNode.java:1054)
    at weblogic.xml.xmlnode.XMLNode.read(XMLNode.java:742)
    at weblogic.xml.xmlnode.XMLNode.readChildren(XMLNode.java:1054)
    at weblogic.xml.xmlnode.XMLNode.read(XMLNode.java:742)
    at weblogic.xml.xmlnode.XMLNode.readInternal(XMLNode.java:713)
    at weblogic.xml.xmlnode.XMLNode.readInternal(XMLNode.java:722)
    at weblogic.xml.xmlnode.NodeBuilder.build(NodeBuilder.java:44)
    at weblogic.xml.xmlnode.NodeBuilder.<init>(NodeBuilder.java:24)
    at weblogic.webservice.core.soap.SOAPEnvelopeImpl.<init>(SOAPEnvelopeImp
    l.java:154)
    at weblogic.webservice.core.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.j
    ava:200)
    ... 78 more
    java.lang.NullPointerException
    at java.io.ByteArrayInputStream.<init>(ByteArrayInputStream.java:89)
    at com.db.alat.wss.WSSClient.postSoapMessage(WSSClient.java:358)
    at com.db.alat.wss.WSSClient.WSSEncDec(WSSClient.java:102)
    at com.db.alat.service.CollateralAccounts.getAccountsSummary(CollateralA
    ccounts.java:55)
    at com.db.alat.CH.CHMapper.getGroup(CHMapper.java:281)
    at com.db.alat.BackingBeans.BorrowerDetailsBean.getClientDataCH(Borrower
    DetailsBean.java:1034)
    at com.db.alat.BackingBeans.BorrowerDetailsBean.<init>(BorrowerDetailsBe
    an.java:766)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
    onstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at java.lang.Class.newInstance0(Class.java:355)
    at java.lang.Class.newInstance(Class.java:308)
    at com.sun.faces.mgbean.BeanBuilder.newBeanInstance(BeanBuilder.java:186
    at com.sun.faces.mgbean.BeanBuilder.build(BeanBuilder.java:106)
    at com.sun.faces.mgbean.BeanManager.createAndPush(BeanManager.java:368)
    at com.sun.faces.mgbean.BeanManager.create(BeanManager.java:222)
    at com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver
    .java:86)
    at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
    at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELRe
    solver.java:72)
    at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:68)
    at com.sun.el.parser.AstValue.getValue(AstValue.java:107)
    at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
    And i have the loggers which gives the system out statements. You can identify the difference in both logs is the sys out ...Convert Signed Document back to Soap Message.
    IN tomcat i am getting the return object after calling the method
    SOAPMessage signedMsg = (SOAPMessage) AxisUtil.toSOAPMessage(signedDoc);
    But in Weblogic i am getting NULL. You can c in SOAPMessageImpl[SOAPPartImpl[null]]
    Tomocat Logs:
    Message Context..................1.........................org.apache.axis.MessageContext@c393a1
    2011-04-21 05:35:56,906 8672 INFO [com.db.alat.wss.WSSClient] (http-8080-1:) Unsigned Envelop............2.........................<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><SOAP-ENV:Body><RqDetail xmlns="http://schemas.db.com/esb/emf/pwm/ALAT/Services/CLIENT-getCandidateCollateralAccounts-RR" xmlns:cli="http://schemas.db.com/esb/emf/pwm/ClientElements" xmlns:com="http://schemas.db.com/esb/emf/pwm/CommonAggregates" xmlns:com1="http://schemas.db.com/esb/emf/pwm/CommonElements">
    <cli:ClientID BusinessUnit="CH">7cf8e78f86212a65398d50766de95a762318d3eee1350c1105d4b751825a690b</cli:ClientID>
    <cli:ClientType>B</cli:ClientType>
    <com:Field>
    <com1:Name>INITIALPAGE</com1:Name>
    <com1:Value>YES</com1:Value>
    </com:Field>
    </RqDetail></SOAP-ENV:Body></SOAP-ENV:Envelope>
    2011-04-21 05:35:56,906 8672 INFO [com.db.alat.wss.WSSClient] (http-8080-1:) DOCUMENT is .......:[#document: null]
    2011-04-21 05:35:56,906 8672 INFO [com.db.alat.wss.WSSClient] (http-8080-1:) KEYSTORE is .......:java.security.KeyStore@127fa03
    2011-04-21 05:35:57,078 8844 INFO [com.db.alat.wss.WSSClient] (http-8080-1:) ..................................3.........................
    2011-04-21 05:35:57,094 8860 INFO [com.db.alat.wss.WSSClient] (http-8080-1:) ..................................4.........................
    2011-04-21 05:35:57,297 9063 INFO [com.db.alat.wss.WSSClient] (http-8080-1:) Signed Document is .......:[#document: null]
    2011-04-21 05:35:57,437 9203 INFO [com.db.alat.wss.WSSClient] (http-8080-1:) Convert Signed Document back to Soap Message .......:[email protected]33662
    2011-04-21 05:35:57,469 9235 INFO [com.db.alat.wss.WSSClient] (http-8080-1:) ..................................5.........................
    Weblogic Logs:
    Message Context..................1.........................org.apache.axis.MessageContext@460d4
    2011-04-26 01:15:45,859 2640 INFO [com.db.alat.wss.WSSClient] ([ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)':) Unsigned Envelop............2.........................<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><SOAP-ENV:Body><RqDetail xmlns="http://schemas.db.com/esb/emf/pwm/ALAT/Services/CLIENT-getCandidateCollateralAccounts-RR" xmlns:cli="http://schemas.db.com/esb/emf/pwm/ClientElements" xmlns:com="http://schemas.db.com/esb/emf/pwm/CommonAggregates" xmlns:com1="http://schemas.db.com/esb/emf/pwm/CommonElements">
    <cli:ClientID BusinessUnit="CH">2b285aa27f1899d87de00f04099506ad24aaf1c18b0b6b071a8acd19b1732fb9</cli:ClientID>
    <cli:ClientType>B</cli:ClientType>
    <com:Field>
    <com1:Name>INITIALPAGE</com1:Name>
    <com1:Value>YES</com1:Value>
    </com:Field>
    </RqDetail></SOAP-ENV:Body></SOAP-ENV:Envelope>
    2011-04-26 01:15:45,875 2656 INFO [com.db.alat.wss.WSSClient] ([ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)':) DOCUMENT is .......:[#document: null]
    2011-04-26 01:15:45,875 2656 INFO [com.db.alat.wss.WSSClient] ([ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)':) KEYSTORE is .......:java.security.KeyStore@167d3c4
    2011-04-26 01:15:45,984 2765 INFO [com.db.alat.wss.WSSClient] ([ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)':) ..................................3.........................
    2011-04-26 01:15:46,016 2797 INFO [com.db.alat.wss.WSSClient] ([ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)':) ..................................4.........................
    2011-04-26 01:15:46,234 3015 INFO [com.db.alat.wss.WSSClient] ([ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)':) Signed Document is .......:[#document: null]
    2011-04-26 01:15:46,313 3094 INFO [com.db.alat.wss.WSSClient] ([ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)':) Convert Signed Document back to Soap Message .......:SOAPMessageImpl[SOAPPartImpl[null]]
    2011-04-26 01:15:46,328 3109 INFO [com.db.alat.wss.WSSClient] ([ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)':) ..................................5.........................

  • Ie9 flash object not showing when wmode is set

    I'm searching and searching but do not find any solution for this.
    We're having a flex web application that is working fine until now. We're using until recently the google maps flash api, unfortunately this is already deprecated and will disappear completely in september 2014. Therefor we moved the whole integration to the js v3 api, which is working fine. The whole thing is an overlay over the application, since everything is moved to js, I added the property wmode to the object in html and set it to opaque in order to be able to layer everything. It's working fine for most people, but some (including my boss) are seeing a blank screen. Seems that nothing happens (although the swf loads), and I can not figure out why. Same browser (ie 9 or 10), same flash player version (11.6.xxx). Browser cache cleared, flash player cache cleared...
    Somebody having a clue? Removing the wmode-property solves the issue, but then I'm not be able to get my map on top of the application.
    The swf is definetly loading since I see calls made to the server in order to login etc. It's also not a flash player issue. The swf-file is directly accessable and rendering if done so.
    Thanks
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <!-- saved from url=(0014)about:internet -->
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
    <!--
    Smart developers always View Source.
    This application was built using Adobe Flex, an open source framework
    for building rich Internet applications that get delivered via the
    Flash Player or to desktops via Adobe AIR.
    Learn more about Flex at http://flex.org
    // -->
    <head>
        <title>${title}</title>
        <meta name="google" value="notranslate" />  
        <meta http-equiv="X-UA-Compatible" content="IE=10; IE=9;"/>     
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <!-- Include CSS to eliminate any default margins/padding and set the height of the html element and
             the body element to 100%, because Firefox, or any Gecko based browser, interprets percentage as
             the percentage of the height of its parent container, which has to be set explicitly.  Fix for
             Firefox 3.6 focus border issues.  Initially, don't display flashContent div so it won't show
             if JavaScript disabled.
        -->
        <style type="text/css" media="screen">
            html, body  { height:100%; }
            body { margin:0; padding:0; overflow:hidden; text-align:center;
                   background-color: ${bgcolor}; }  
            object:focus { outline:none; }
            #flashContent { display:none;}
        </style>
        <!-- Enable Browser History by replacing useBrowserHistory tokens with two hyphens -->
        <!-- BEGIN Browser History required section ${useBrowserHistory}>
        <link rel="stylesheet" type="text/css" href="history/history.css" />
        <script type="text/javascript" src="history/history.js"></script>
        <!${useBrowserHistory} END Browser History required section --> 
        <!--  BEGIN OogScreening -->
        <script src="PlusOptixSync.js" language="javascript"></script>
        <!--  END OogScreening -->
         <script language="javascript">
            function getEIDxml()
              var strXML = document.MirageApplet.readCardAsXMLString() + " ";
              return strXML;
            function setOuterSize()
                var nomWidth = 1280;
                var nomHeight = 800; // 786 viewable in fullscreen
                var actWidth = nomWidth;
                var actHeight = nomHeight + 150 - 30; // fullscreen change coeff (ruimte die we winnen door f11) - taakbalk
                window.resizeTo(actWidth, actHeight);
                //window.outerWidth = actWidth;
                //window.outerHeight = actHeight;
                //script die de F1 help functionaliteit van de browser afzet. Dit is nodig omdat IE de F1 functionaliteit van de flex applicatie onderdrukt
                document.onhelp=new Function("return false");
                window.onhelp=new Function("return false");
        </script>  
        <script type="text/javascript" src="swfobject.js"></script>
        <script type="text/javascript">
            // For version detection, set to min. required Flash Player version, or 0 (or 0.0.0), for no version detection.
            var swfVersionStr = "${version_major}.${version_minor}.${version_revision}";
            // To use express install, set to playerProductInstall.swf, otherwise the empty string.
            var xiSwfUrlStr = "${expressInstallSwf}";
            var flashvars = {};
            var params = {};
            params.quality = "high";
            params.bgcolor = "${bgcolor}";
            params.allowscriptaccess = "sameDomain";
            params.allowfullscreen = "true";
            params.wmode = "transparent";
            var attributes = {};
            attributes.id = "${application}";
            attributes.name = "${application}";
            attributes.align = "middle";
            swfobject.embedSWF(
                "${swf}.swf", "flashContent",
                "${width}", "${height}",
                swfVersionStr, xiSwfUrlStr,
                flashvars, params, attributes);
            // JavaScript enabled so display the flashContent div in case it is not replaced with a swf object.
            swfobject.createCSS("#flashContent", "display:block;text-align:left;");
        </script>
          <!-- Groeicurven 5.0 scripts -->
          <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
          <script src="http://code.highcharts.com/highcharts.js"></script>
          <script src="http://code.highcharts.com/modules/exporting.js"></script>
          <script type="text/javascript" src="../js/util/Namespace.js"></script> 
          <script type="text/javascript" src="../js/util/mirage-services.js"></script>
          <script type="text/javascript" src="../js/util/mirage-binding-utils.js"></script>
          <script type="text/javascript" src="../js/util/mirage-event-dispatcher.js"></script>
          <script type="text/javascript" src="../js/util/groeicurven-highcharts-constants.js"></script>
          <script type="text/javascript" src="../js/util/groeicurven-highcharts-theme.js"></script> 
          <script type="text/javascript" src="../js/util/groeicurven-highcharts-config.js"></script>
          <script type="text/javascript" src="../js/util/groeicurven-highcharts-factory.js"></script> 
          <script type="text/javascript" src="../js/util/groeicurven-highcharts-zoomer.js"></script>
          <script type="text/javascript" src="../js/util/groeicurven-highcharts-formatter.js"></script>      
          <script type="text/javascript" src="../js/util/groeicurven-highcharts-prototype.js"></script>
          <script type="text/javascript" src="../js/groeicurven-events.js"></script>             
          <script type="text/javascript" src="../js/groeicurven-controller.js"></script>
          <script type="text/javascript" src="../js/groeicurven-flex-bridge.js"></script>
          <script language="javascript">
                initGroeicurvenFlexBridge("${application}");
          </script>           
        <!--  BEGIN GoogleMaps -->
        <link rel="stylesheet" href="../css/google-maps.css">
        <script src="http://maps.googleapis.com/maps/api/js?sensor=false"></script>
        <script type="text/javascript" src="http://google-maps-utility-library-v3.googlecode.com/svn/trunk/styledmarker/src/StyledMarker.js"></script>
        <script type="text/javascript" src="../js/util/cvi_busy_lib.js"></script>
        <script type="text/javascript" src="../js/google-maps-events.js"></script>
        <script type="text/javascript" src="../js/google-maps-controller.js"></script>
        <script type="text/javascript" src="../js/google-maps-mediator.js"></script>
        <script language="javascript">
            function openMaps(data)
                document.getElementById('mapsContent').style.visibility ="visible";
                document.getElementById('optionsList').style.visibility ="visible";
                document.getElementById('activeCheckboxDiv').style.visibility ="visible";
                document.getElementById('mapsContent').style.zIndex = 100;
                onLoadHandler(data);
            function adresFoundHandler(marker, filtereEnabled){
                document.getElementById('mapsContent').style.visibility ="hidden";
                document.getElementById('optionsList').style.visibility ="hidden";
                document.getElementById('activeCheckboxDiv').style.visibility ="hidden";
                document.getElementById('activeCheckbox').style.visibility ="hidden";
                document.getElementById('mapsContent').style.zIndex = 0;
                clearLocations();
                ${application}.responseGoogleMaps(marker, filtereEnabled);
        </script>         
        <!--  END GoogleMaps -->   
    </head>
    <body scroll="no" onLoad="setOuterSize();">
        <!-- SWFObject's dynamic embed method replaces this alternative HTML content with Flash content when enough
             JavaScript and Flash plug-in support is available. The div is initially hidden so that it doesn't show
             when JavaScript is disabled.
        -->
        <div id="flashContent">
            <p>
                To view this page ensure that Adobe Flash Player version
                ${version_major}.${version_minor}.${version_revision} or greater is installed.
            </p>
            <script type="text/javascript">
                document.write("<a href='http://www.adobe.com/go/getflashplayer'><img src='get_flash_player.gif' alt='Get Adobe Flash player' /></a>" );
            </script>
        </div>
        <noscript>
            <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="${width}" height="${height}" id="${application}">
                <param name="movie" value="${swf}.swf" />
                <param name="quality" value="high" />
                <param name="bgcolor" value="${bgcolor}" />
                <param name="allowScriptAccess" value="sameDomain" />
                <param name="allowFullScreen" value="true" />
                <param name="wmode" value="transparent" />
                <!--[if !IE]>-->
                <object type="application/x-shockwave-flash" data="${swf}.swf" width="${width}" height="${height}">
                    <param name="quality" value="high" />
                    <param name="bgcolor" value="${bgcolor}" />
                    <param name="allowScriptAccess" value="sameDomain" />
                    <param name="allowFullScreen" value="true" />
                <!--<![endif]-->
                <!--[if gte IE 6]>-->
                    <p>
                        Either scripts and active content are not permitted to run or Adobe Flash Player version
                        ${version_major}.${version_minor}.${version_revision} or greater is not installed.
                    </p>
                <!--<![endif]-->
                    <a href="http://www.adobe.com/go/getflashplayer">
                        <img src="get_flash_player.gif" alt="Get Adobe Flash Player" />
                    </a>
                <!--[if !IE]>-->
                </object>
                <!--<![endif]-->
            </object>
        </noscript> 
        <noscript>Your browser does not support JavaScript!</noscript>
        <applet
          id ="MirageApplet"
          codebase = "AppletLibs"
          archive  = "kg-eid-tools-2.6.jar,beidlib-1.1.jar,jdom-1.0.jar,joda-time-1.6.jar,commons-lang-2.4.jar"
          code     = "be.kg.mirage.MirageApplet.class"
          name     = "MirageApplet"
          hspace   = "0"
          vspace   = "0"
          style="width: 0px; height: 0px;">
            <param name="Reader" value="">
            <param name="OCSP" value="0">
            <param name="CRL" value="0">
            <param name="DisableWarning" value="true">
        </applet>
        <div id ="mapsContent">
            <h3 id="typeLabel">Google Maps</h3>
            <select id="optionsList"></select>
            <input id="searchInput" type="text"></input>
            <div id="activeCheckboxDiv">
                <input id="activeCheckbox" type="checkbox"></input>
                <label for="activeCheckbox">Toon enkel actieve locaties</label>
            </div>
            <button id="searchButton" type="button" class="secondElementButton">Zoeken</button>
            <button id="annuleerButton" type="button" class="annuleerButton">Annuleer</button>
            <ul id="locations" class="thirdElement"></ul>
            <div id="canvasMap"></div>
        </div>

    This means that the SWF is written so that it only works when
    embedded in a web page. When you add the SWF to the stage as a
    stand-alone display object using addChild() it is not being hosted
    in the web page.
    You have 2 options:
    1. Modify the SWF code (if possible) to remove the
    ExternalInterface requirement. You can write code in your AIR
    application javascript to subscribe directly to events from the SWF
    using addListener() and call functions directly on the SWF object
    (Flash/Actionscript is not my primary development environment... so
    if I have gotten the terminology wrong I apologize, but I HAVE
    written a flash application that worked as I describe). My SWF
    actually works embedded in HTML or not using the code "if
    (ExternalInterface.available) {
    ExternalInterface.addCallback("setIsPlaying", setIsPlaying ); }"
    2) Somehow add a HTMLLoader in a new child window (with
    transparent = false) to the stage as a new child. I have not yet
    figured out exactly how to do this, so If anyone can provide
    information on how to do this, I too would be appreciative.

  • BSP css & mime objects not found when accessed via iView in the Portal

    Hi
    A locally developed BSP Application has defined it's own CSS and MIME objects.
    This works well when accessed via the Integrated ITS in ECC6.
    However, when we access this the BSP application from an iView in a Portal (NW04S), the css and MIME objects do not appear to be loaded.
    What are we missing?
    Thanks
    Doug

    Hi Doug,
      have you found out the reason for this issue, i encountered the same problem when i access the HCM_LEARNING bsp, would you  please give some addvice if you have any idea?
    thanks,
    billy

  • Object not sending when JTextFields are cleared

    Hi all,
    In short i've got a very strange problem. Its like this, when i send information out of a textfield to my objectoutputstream it arives propperly.
    when i clear it in the same button click it doesn't arrive anymore.
    If i don't clear the fields and checkboxes nothing is wrong and the object is send as it should be.
    Strange fact that i have another button to manually clear the fields when i click that it clears and i can send objects as much as i please
    this one doesn't work
    saveBtnNew.addActionListener( new ActionListener() {
         public void actionPerformed(ActionEvent AE) {
         System.out.println("geklikt");               
         profileInfo = new Object[] { profName, profPass, surName, lastName,
                     secNew, telNew, metNew };
         ServerConnection.insertTableObject = profileInfo;                    
         ServerConnection.insertType = ServerConnection.PROFILE;     
         profName.setText("");
         profPass.setText("");
         surName.setText("");
         lastName.setText("");
         secNew.setSelected(false);
         telNew.setSelected(false);
         metNew.setSelected(false);
    });this one does
    saveBtnNew.addActionListener( new ActionListener() {
         public void actionPerformed(ActionEvent AE) {
         System.out.println("geklikt");               
         profileInfo = new Object[] { profName, profPass, surName, lastName,
                     secNew, telNew, metNew };
         ServerConnection.insertTableObject = profileInfo;                    
         ServerConnection.insertType = ServerConnection.PROFILE;     
    });thnx in advance wiz

    Well, I guess the ObjectOutputStream uses a Thread and the object in written to the stream after the text field has been updated.
    You should be passing the text field text not the Object anyway I would guess. So you code should be something like:
    profileInfo = new Object[] { profName.getText(), profPass.getText()....

  • "Deep data objects not supported" when writing into a file

    Hello everybody,
    I am having some issues about a program that i made which puts the content of any table in a file that i created.
    The problem is when my table (transparent table) has a deep data type in it (example : a string field, so with undefined length).
    Here is my code :
      DATA : lt_gentable TYPE REF TO data.
      DATA : ls_gentable TYPE REF TO data.
      FIELD-SYMBOLS : <ft_lines> TYPE STANDARD TABLE.
      FIELD-SYMBOLS : <fs_line> TYPE ANY.
      CREATE DATA lt_gentable TYPE TABLE OF (p_tab).
      CREATE DATA ls_gentable TYPE (p_tab).
      "creation of links
      ASSIGN ls_gentable->* TO <fs_line>.
      ASSIGN lt_gentable->* TO <ft_lines>.
      DATA : l_fname     TYPE char80.
      CONCATENATE '\dir\dir2\' l_fname_log INTO l_fname.
      OPEN DATASET l_fname FOR OUTPUT IN BINARY MODE.
      OPEN CURSOR WITH HOLD l_c FOR SELECT * FROM (p_tab).
      DO.
        FETCH NEXT CURSOR l_c INTO TABLE <ft_lines> PACKAGE SIZE p_size.
        IF sy-subrc = 0.
          LOOP AT <ft_lines> INTO <fs_line>.
            TRANSFER <fs_line> TO l_fname.   <=====> GOES INTO DUMP BECAUSE MY TABLE (p_tab) has a string field
          ENDLOOP.
          CLEAR <ft_lines>.
        ELSE.
          CLOSE CURSOR l_c.
          EXIT.
        ENDIF.
      ENDDO.
      CLOSE DATASET l_fname.
    Here is the message i am getting :
    At the statement
       "TRANSFER f TO ..."
    no deep data objects are supported at the a
    for strings.
    Elementary deep data types are internal tabl
    data object) references and strings (STRING,
    General deep data objects are elementary dee
    that contain deep data objects.
    In this particular case, the operand "f" has
    internal identification "v".
      List of internal ABAP types:
      C    Text (Character)
      N    Numerical text
      D    Date (YYYYMMDD)
      T    Time (HHMMSS)
      X    Hexadecimal
      I    Integer
      P    Packed number
      F    Floating point number
      h    Internal table
      r    Object reference
      l    Data reference
      g    String of type C
      y    String of type X
      s    2-byte integer with plus/minus sign
      b    1-byte integer without plus/minus sig
      u    Structure (flat structure)
      v    Structure (deep structure)
    Can you help me to go through this issue ?
    Any kind of help would be appreciated.
    Christian

    Sandra is correct I agree with him,
    TRANSFER dobj TO dset [LENGTH len]
                          [NO END OF LINE].
    dobj must be character-type . Use String.
    Please read the F1 help for the TRANSFER Statement and also please check the example
    In your case assign the <fs> to Casting File asfollows
    DATA: file TYPE string VALUE `flights.dat`,
          wa TYPE spfli.
    FIELD-SYMBOLS TYPE x.
      ASSIGN wa TO CASTING.
      TRANSFER TO file.
    Hope this helps...

  • SWFLoader Scale Content  is not working when the application deployed

    We specified the scaleContent="true", given width, height,
    maxWidth,maxHeight for a swfloader and tested locally by
    excuting a you-tube .swf (src =
    http://www.youtube.com/v/uk4V12zHtjc)
    file. That works fine. When we deployed the application in
    webserver(Tomcat), the swf file is getting loaded with its max
    width and height; but it doesn't ensure the scalecontent, maxWidth
    and maxHeight provided in the swf loader. Kindly help .

    Use scaleX and scaleY properties.

  • Are the Frame or JFrame objects not supported when used by applets??????

    Hi,
    Is there anyone to help me ?
    I've an applet which uses Frame objects. With the "appletViewer" executable the results are
    perfect.
    But Netsacape Communicator seems not to support Frames..?!? Is this possible?????
    Thanks
    deniz

    Oh..Thanks for the replies.
    But the reason was that I was still using Netscape Communicator 4.5.
    With Netscape Communicator 6.1 installed yesterday; everything is
    normal. i.e. I can observe the frames that applet creates... :-))

Maybe you are looking for

  • How do you determine the index of an element in a cluster?

    I've got a small program that I put together, as I'm just trying to get up to speed on Labview.  I have a cluster boolean buttons and for some reason the top buttion is coming through as Index 3.  There are four buttons in the cluster, but for some r

  • Newer models support??

    My white MB video out to DVI then DVI to HDMI only gets video out without audio. Do newer models get both video and audio out?? Thanks.

  • I want single update query without use the function.

    I want to update sells_table selling_code field with max date product_code from product table. In product table there is multiple product_code date wise. I have been done it with below quey with the use of function but can we do it in only one update

  • Reg: SAP Adobe form size restrictions

    Hi Geeks,            Could anybody explain me about the memory restriction in sap adobe offline forms. Presently the form size is around 670kb with 3 pages. There is plan to expand this to 26 pages with 670kb * 8 .Will there be any performance issue

  • Minimizing outages during deployment

    I've got a largish (for us) WLI application with some 50 or EJB's and 15 webapps. (The Integration processes get compiled into EJB's and webapps). The entire EAR file is around 15Mb, and because of the size of this behemoth, we're looking at splittin