= symbol Serialization in request

Hi to All,
I have a question to All.
I have a requirement to send the "< =" symbol in request
parameter. When i am trying to send directly, Flex throwing XML
Parser Exception.
This is my request format:
So please help me if any one knows the answer.
<PropertySet Description="" RuleId="">
<Property FieldName="GivenName" UseOperation="LIKE">
<PropertyValue>{poolOpt.selectedItem.label}</PropertyValue>
</Property>
<Property FieldName="FirstName" UseOperation="LIKE">
<PropertyValue>{poolOpt.selectedItem.label}</PropertyValue>
</Property>
<Property FieldName="OrgPartyId" UseOperation="=">
<PropertyValue>{orgId}</PropertyValue>
</Property>
<Property FieldName="PoolParticipation"
UseOperation="=">
<PropertyValue>{poolOpt.selectedItem.label}</PropertyValue>
</Property>
<Property FieldName="ClaimStatus" UseOperation="=">
<PropertyValue>{orgId}</PropertyValue>
</Property>
<Property FieldName="ServiceDateFrom"
UseOperation=">=">
<PropertyValue>{poolOpt.selectedItem.label}</PropertyValue>
</Property>
<Property FieldName="ServiceDateTo" UseOperation="<="
>
<PropertyValue>{orgId}</PropertyValue>
</Property>
<Property FieldName="SubmissionDateFrom"
UseOperation=">=">
<PropertyValue>{poolOpt.selectedItem.label}</PropertyValue>
</Property>
<Property FieldName="SubmissionDateTo"
UseOperation="<=">
<PropertyValue>{orgId}</PropertyValue>
</Property>
<Property FieldName="ClaimAmtMin"
UseOperation=">=">
<PropertyValue>{poolOpt.selectedItem.label}</PropertyValue>
</Property>
<Property FieldName="ClaimAmtMax"
UseOperation="<=">
<PropertyValue>{orgId}</PropertyValue>
</Property>
</PropertySet>
Thanks,
Mk Arjun
Text

Hi Dear,
          When u load data, either delta or full, each Excute Action will bring a Request, but that request can have multile packets,
         Because data comes from any source in the form of packat , packat can hold 10,000 or 12,000 etc records
          that u can see in PSA as well , and the hold packet the each load brings is nothing but Request and that u can see by
          manage of any info provider, so best option is to choose Serialize by Packet...
Regards
Obaid

Similar Messages

  • Unable to delete request from an ODS

    Hai All,
            I have a requestng in an ODS which I am trying to delete in the Manage ODS- screen by selecting the request and then deleting it. But every time I press delete, I get the trashcan symbol in place of the reporting symbol of the request and when I press refresh , the trash can disappers and the reporting Icon comes back. Any idea why this is happening? I then changed the QM status of both the request and in the Monitor and tried to delete without any luck.
    Can somebody please tell me what the problem is, I have no errors showingup but the request is not getting deleted.
    Thank you.

    Hi Visu,
    Check if you have set the status of the request you want to delete as RED before deleting it..
    We had a similar issue bcoz of this before..
    Also check if all the requests that came in after that are also deleted..
    Ashish.
    Message was edited by: Ashish Gour

  • Problem with serial.serialize(doc) ;statement

    hi this is my code but iam having problem in the aboe statement iam using net beans and it says cannot find symbol serialize while it is still in the package import {com.sun.org.apache.xml.internal.serialize.XMLSerializer;}
    package newPack;
    import org.jdom.Document;
    import org.jdom.JDOMFactory;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.DocumentBuilder;
    //import org.w3c.dom.Document;
    import java.sql.DriverManager;
    import javax.xml.parsers.ParserConfigurationException;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    //import org.w3c.dom.Element;
    import java.sql.ResultSetMetaData;
    import com.sun.org.apache.xml.internal.serialize.OutputFormat;
    import com.sun.org.apache.xml.internal.serialize.XMLSerializer;
    import com.sun.org.apache.xml.internal.serialize.XMLSerializer;
    import java.io.StringWriter;
    import java.io.IOException;
    import org.jdom.Element;
    import org.jdom.Document;
    public class Conversion {
    // public DocumentBuilderFactory dbf;
    // public DocumentBuilder dob;
    // public Document doc;
    /** Creates a new instance of Conversion */
    public static Document convert(ResultSet rs) throws ParserConfigurationException,SQLException
    // DocumentBuilderFactory dbf=DocumentBuilderFactory.newInstance();
    //DocumentBuilder builder=dbf.newDocumentBuilder();
    // Document doc=builder.newDocument();
    Element root=new Element("Artist");
    //doc.appendChild(root);
    ResultSetMetaData rsmd = rs.getMetaData();
    int colCount = rsmd.getColumnCount();
    while (rs.next())
    Element songo= new Element("song1");
    root.addContent(songo);
    //root.appendChild(songo);
    for (int i = 1; i <= colCount; i++)
    String columnName = rsmd.getColumnName(i);
    Object value = rs.getObject(i);
    Element node = new Element(columnName);
    node.setText(value.toString());
    songo.addContent(node);
    Document doc=new Document(root);
    return doc;
    public static String serialized(Document doc) throws IOException
    StringWriter writer = new StringWriter();
    OutputFormat format = new OutputFormat();
    format.setIndenting(true);
    XMLSerializer serial = new XMLSerializer(writer,format);
    serial.serialize(doc);
    return writer.getBuffer().toString();
    }

    VISA is the generic communication interface.
    Hyperterminal has serial comm drivers as well.  It just so happens that Hyperterminal is using the serial comm drivers that are built into Windows.  That's why you don't notice them.
    If you installed LabVIEW, then you should have installed the drivers that come with it.  It is on a separate DVD.  Obviously you haven't.

  • No Reporting Symbol for the cube.

    Hi all,
    no reporting symbol for an cube.
    I created Z cube without any aggregates and loaded data sucessfuly QM status is green but i'm not able to see the reporting symbol next the request id.  When i checked in manage content data, data is available for the fact but not for any dimension table.
    Please go through the following when we did the diagnosis.
    Diagnosis
        There is an inconsistency between the load status of the data and the
        option of reporting on this data.
        There is data in the InfoProvider that is OK from a quality point of
        view, but is not yet displayed in reporting.
        The problem, for example, is to do with request 0000003343, number
        REQU_44ROL5YBBCJMDL5HQ8TVBAER6.
    Procedure
        Choose Refresh  to remove the inconsistency.
    As per the procedure we did but went to short dump
    UNCAUGHT_EXCEPTION
    CX_SDB_ORA_PROGRAM_ERROR
    Highly appreciable if any one could resolve our issues.
    Thanks in Advance.

    Hi Niyati,
    What is your BW version. If it is BI 7.0 then check these OSS Notes:
    975948 No update statistics for newly created tables
    998904 Statistics check shows red or yellow traffic lights
    If it BW 3.X version then run the RSRV check for the cube.
    Bye
    Dinesh

  • Http Request Pooling!!

    Hi all,
    Is there any possiblity we can hold the http request for a while or can we pool the http requests if multiple requests are coming at the same time.
    Please help me in this regard.
    Thanks in advance
    Ravishankar

    Well the obvious thing to do would be to invoke a method that would pass a bean containing the xml file to your background thread. It would run every time an item is added to the xml file. However, this would require a substantial re-write of your code.
    The other answer is to have your thread open the XML file, read in the query and then add a new XML element that indicates at what point in the file the thread has worked on....such as a <done> tag. The next time the thread checks the XML file it will search for the <done> tag and do everything from there until the end, remove the <done> tag and add it back at the end.
    You cannot "pool" (should be saying "serialize") http requests, since the container is optimized to deliver parallel http requests, otherwise it would be very slow.
    I'm not sure this is an easy fix. You should invoke the method to process the XML entry after each new line is added....I have the feeling this thread is maybe a Cron job that is running at a set time interval?
    Frank

  • ODS Delta Process, DataSource and Delta Queue

    Hi to all,
    loading data from a SAP source system into SAP BW 7.0 via generic 3.x datasource causes problems.
    Here is a short description:
    The data flow is from a source table using a generic extractor into a target ODS in full update mode.
    Update rules should move data from table structure into ODS structure in this way:
    Source table structure
    CustKey1     Key2     
    13386          C23     
    13386          B14     
    13387          A13
    13387          E25
    ODS structure
    CustKey1     col1     col2     
    13387          A13     E25     
    This works pretty well - as long as all records with the same CustKey1 are transfered in the same data package. Data Browser (SE16) shows the situation in ODS-"New data" view  (data is not activated):
    Request    Data_packet_number     Data_record_number      CustKey1
    112            000003                  1.061              0000013386
    112            000004                      1              0000013386
    112            000004                      2              0000013387
    There are two records for CustKey1 0000013386 with
    data record 1.061 in data packet 000003   and
    data record       1 in data packet 000004.
    The obove constellation is the cause for errors in the ODS Delta Queue and subsequent data processing.
    I think there may be one solution to solve the problem by changing the Delta Process of the Data Source.
    The properties are:
    - Record type: Full, delta, before, after images
    - Delta type: Delta from delta queue or from extractor
    - Serialization: No serialization, serialization of request, serialization of data packages
    But how can I change these settings? Transactions RSA2 RSO2 RSO6 RSO8 don't do this.
    What is the right delta process to use?
    I have tried changing the delta process generating several 3.x datasources with the following delta processes (see table RODELTAM)
    - " " (Full-upload)
    - AIE
    - ADD
    Unfortunately with no effect.
    Who can help?
    Regards
    Josef
    Edited by: Josef L. on Mar 20, 2009 7:44 PM

    hi venkat,
    whenever you load a delta from ods to cube , whatever the data changed in ods since last delta will be updated, hence from you case, both req1 and req2 will be loaded to cube.
    Assign Points if useful
    Ramesh

  • Error in Posting Payroll to Accounting

    Dear HR Gurus,
    While posting the current month payroll for posting I get the following for some perdonnel numbers.
    Account with the following search key was not found: 1000HRF3100
    Required field GL_ACCOUNT was not transferred in parameter ACCOUNTGL
    Due to this posting is marked as incorrect and we can't proceed further. It's only happening for 2-3 employees.
    Your help will be highly appreciated.

    Dear Ramu,
    As you can see I posted the same question a few days ago and was encountering the same problem. I did some R&D along with a colleague and we nailed the problem down.
    In my case wrong symbolic account was assigned to wage type.
    Just follow my steps and you should be able to solve it.
    1)     Go to SPRO  Payroll  Payroll International (or choose if you have country specific) Reporting for Posting Payroll Results to Accounting  Activities in HR System
    2)     Click on maintain wage types and then Define Posting Characteristics of Wage Types.
    3)     Here you will see many wage types starting from u201C/u201D
    4)     One by one start checking Account Symbol assignment against each wage type and search for a wage type with account assignment symbol as 3100
    5)     Most probably it would be wage type /563 Claim from prev. period but thatu2019s not necessary change 3100 to your configured account symbol and transport request to production.
    Please award points if you find this helpful.

  • Deleting the master data

    When I tried to load an existing master data object ( 0VENDOR_ATTR), it is showing the following error.
    Diagnosis
        The existing DTP requires a serialized update because fields are upda
        non-commutatively during the processing run (for example, MOVE).
        Therefore all new data records that have the same semantic key as
        incorrect records that have not yet been corrected in earlier request
        or earlier data packages of the same request, are filtered out after
        extraction in a special step. In this way the system ensures that
        incorrect data records are not repeated for your changes, which may n
        contain errors themselves.
    System Response
        The data record is not updated but is written to an error stack.
    Procedure
    Correct all incorrect data records and update them using an error DTP.
    How to correct 1 million records? and how to use error DTP.. When I right click on the Infooobject and tried to 'DELETE MASTER DATA", it is saying ' all master data cannot be deleted"..
    How to procede further...
    Thanks
    Manu

    Hi manorama,
    firstly I don't understand why you are posting a second thread regarding this issue...
    secondly and as I explained you are pushing your whole PSA data from 0CUSTOMER_ATTR DSource into your vendor master; this means that you'll have duplicate keys (first because you have several requests in your PSA and second, depending on your transformation you may as well have one vendor for different customers...)
    Please describe with more details what field from 0CUSTOMER_ATTR you did map to the 0VENDOR key; also the system is telling you that you need to serialize your request regarding the way it is processed in the diag processes; why don't you do so in the DTP settings??
    I repeat also and again; your issue as nothing to do with deleting master data....
    if you don't cooperate with us you won't get accurate support...
    hope this helps...
    Olivier.

  • How do you synchroniz​e accesses to a LabVIEW Shared Variable?

    I would like to create an ad-hoc weather station program (I'll explain more in a bit).  I am using LabVIEW 8.0 Full Edition, and I would like to share data over a network between stations with the LabVIEW Shared Variable.  Here's what I want to be able to do:
    A node would start up, and begin publishing data to a network via a shared variable.
    The shared variable is an array of clusters
    The cluster information would hold things like:
    Station Name
    Station Location
    Weather information cluster (temperature, rainfall, windspeed, wind direction, etc...)
    Timestamp of last update
    When a new node would like to enter, it would bind to the shared variable, grow the array, and add its information.
    If a node's Station Name and Station Location is already in the shared variable, it would merely update the information in the cluster.
    Viewing nodes could pop in, bind to the shared variable, and read/display the information at any time. 
    I am trying to enumerate problems with this before implementing, and I have run into a stinker of a problem that I am not sure how to solve.  How do I synchronize accesses to the LabVIEW Shared Variable?  If I read the variable, modify it, and write it back, I will undoubtedly run into a race condition where 2 nodes attempt to update its data and I will lose the data written by the first node - Node A reads, Node A modifies, Node B reads, Node A writes, Node B Modifies, Node B Writes, and thus the modifications made by Node A are lost.  In my specific application losing some data isn't critical, but if not remedied this type of problem could cause massive amounts of data to be lost when there are numerous nodes, and that is definitely not acceptable. 
    Does anyone have any recommendations on how to synchronize the read-modify-write operations on the data in the Shared Variable?
    -Danny

    Wendy,
    I am afraid Semaphores are not network-shared objects (to my knowledge), they are system-level objects that use operating-system synchronization mechanisms.  If I were synchronizing on a single machine, a semaphore might be a valid mechanism; as an aside, most user-mode semaphores are designed to synchronize within a single process - to synchronize between processes you need to store the semaphore in the Kernel, and to synchronize over a network you would need a network node to handle serialization of requests.  My Shared Variable is published over a network, and to my knowledge there are no network-published synchronization mechanisms available - mostly because there is no way to currently perform an atomic test-and-set on the Shared Variable (am I correct?) and there isn't a mechanism for blocking access to a Shared Variable from another network device/machine (or is there?).  I've been looking for some way to implement an atomic test-and-set but I am running into a wall; I know that if I select the "single writer" attribute of the Shared Variable I can get LabVIEW to force a single writer allowing me to have an atomic "set", but I need more than that.
    If only there was a network-shared Semaphore or some way to block other network accesses to the Shared Variable I would be in business - something like what I want doesn't exist, does it?
    Thanks!
    -Danny
    Message Edited by texasdiaz on 02-23-2006 02:52 AM

  • Any way to get number of active sessions

    Hi,
              With the deprecation of the HttpSessionContext interface as of Servlet API
              2.1 for security reasons, is there any way to know how many sessions are
              currently active in a given WebLogic instance?
              Thanks,
              Sanjiv
              

    You could make it a singleton. The overhead is nothing ... trust me. Run
              WebLogic through a profiler if you don't ;-)
              Good luck,
              Cameron Purdy, LiveWater
              "Sanjiv Gulati" <[email protected]> wrote in message
              news:[email protected]...
              > Thanks for sharing this technique. Although I haven't used the
              > HttpSessionBindingListener interface myself, this will work as long as I
              add
              > an instance of SessionCounter in each new session. The only modifications
              > I'll add to the code below would be a synchronized block within the
              > valueBound and valueUnbound methods so that modifications to m_cSessions
              are
              > thread safe.
              >
              > The overhead associated with this approach will be the following:
              > 1) For every session there will be an associated SessionCounter, and
              > 2) Serialization of requests that end up invoking the valueBound &
              > valueUnbound methods.
              >
              > But I guess this cannot be avoided.
              >
              > Thanks,
              > Sanjiv
              >
              > Cameron Purdy <[email protected]> wrote in message
              > news:[email protected]...
              > > The only portable implementation is to have all requests go through your
              > > servlet code (or JSP code) and check if the session is new
              > > (HttpSession.isNew). If so, register a value with the session that
              > > implements HttpSessionBindingListener. Something like:
              > >
              > > class SessionCounter implements HttpSessionBindingListener {
              > > // count of active sessions
              > > private static int m_cSessions;
              > > // accessor for count of active sessions
              > > public int getSessionCount() {
              > > return m_cSessions;
              > > }
              > > // this object placed on a session
              > > void valueBound(...) {
              > > ++m_cSessions;
              > > }
              > > // this object removed from a session
              > > void valueUnound(...) {
              > > --m_cSessions;
              > > }
              > > // end class
              > > }
              > >
              > > It is host-local ... meaning it only tracks one host in a cluster.
              > > Actually, it only tracks sessions within one classloader on one host in
              a
              > > cluster, but don't worry about that distinction.
              > >
              > > And no, I've never done it, but it is apparent that you could, if you
              > chose
              > > to:
              > >
              > > 1) Count sessions
              > > 2) Track all session instances
              > > 3) Have session-level events, such as onCreate/onDestroy
              > >
              > > Hope it helps,
              > >
              > > Cameron Purdy, LiveWater
              > >
              > > "Sanjiv Gulati" <[email protected]> wrote in message
              > > news:[email protected]...
              > > > Hi,
              > > >
              > > > With the deprecation of the HttpSessionContext interface as of Servlet
              > API
              > > > 2.1 for security reasons, is there any way to know how many sessions
              are
              > > > currently active in a given WebLogic instance?
              > > >
              > > > Thanks,
              > > > Sanjiv
              > > >
              > > >
              > >
              > >
              >
              >
              

  • Oracle UCM 10gr3 and webcenter 11g, WCM Portlets

    Hi,
    I have installed Oracle UCM 10gR3, Site Studio 10gR4 and Webcenter 11g. Now my problem is how to get the WYSIWIG (WCM Portlet) created in UCM to be retrieved in webcenter spaces.
    My understanding after reading some articles is the only way i can communicate is through WSRP (CIS and CPS), if that is the case can u suggest what is the difference between them and which one is best one for a Intranet Application. Please also provide the example for the portlet and the steps to install them locally.
    i not asking to give all the answers at a time. Just share bit by bit even if u have some knowledge.
    Thanks,
    Pradeep.
    I am a Newbie!!!

    Hey Pradeep,
    You have lots of options for retrieving content from UCM in WebCenter besides CIS and by extension CPS. The best article on the subject can be found here (if you haven't already read it): http://blogs.oracle.com/fusionecm/2010/04/oracle_ucm_integration_with_we.html
    To more directly answer your questions the difference between CIS and CPS is that CIS is the lower level API that actually does the communication with UCM. It serializes your request across the socket and handles the response data that comes back packaging it up as easy to use objects. CPS leverages CIS as its backend to allow the portlets to communicate with UCM.
    For an intranet application you have lots of options. For document management I would recommend a combination of the Document Library taskflow along with a couple of the CPS portlets (my workflow assignments, etc). To retrieve content to display as part of an intranet "site" I would leverage the Content Presenter taskflow.
    If the content to be retrieved is Site Studio 10gr4 assets I would instead recommend that you roll your own simple content portlets. That is what we ended up doing at Fishbowl and have reused them to great affect implementing several intranet portals for different customers in a very short amount of time. More info here: http://www.fishbowlsolutions.com/StellentSolutions/OracleUCMStellentConsultingServices/Categories/OracleUCMStellentPortalTechnologies/index.htm
    Hope that helps,
    Andy Weaver - Senior Software Consultant
    Fishbowl Solutions < http://www.fishbowlsolutions.com?WT.mc_id=L_Oracle_Consulting_amw_OTN_WCF >

  • Struck thread issue with weblogic 9.2

    Hi,
    could you please help me find out the reason why lots of thread in my weblogic application are stuck. My application is a jsp based web application which is using accenture grnds framework and i can see lots of threads stuck at EDU.oswego.cs.dl.util.concurrent.Semaphore.acquire. Blow is the thread dump from my application.
    "[STUCK] ExecuteThread: '15' for queue: 'weblogic.kernel.Default (self-tuning)'" daemon prio=1 tid=0x03564170 nid=0x42 in Object.wait() [0xb047e000..0xb047f9f0]
    at java.lang.Object.wait(Native Method)
    - waiting on <0xce4d2500> (a EDU.oswego.cs.dl.util.concurrent.Semaphore)
    at java.lang.Object.wait(Object.java:474)
    at EDU.oswego.cs.dl.util.concurrent.Semaphore.acquire(Semaphore.java:108)
    - locked <0xce4d2500> (a EDU.oswego.cs.dl.util.concurrent.Semaphore)
    at com.telstra.siiam.web.arch.screensflow.SiiamSinglePointOfEntry.acquireSemaphore(SiiamSinglePointOfEntry.java:283)
    at com.telstra.siiam.web.arch.screensflow.SiiamSinglePointOfEntry.doGet(SiiamSinglePointOfEntry.java:147)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3245)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2003)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1909)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    "[STUCK] ExecuteThread: '14' for queue: 'weblogic.kernel.Default (self-tuning)'" daemon prio=1 tid=0x03ee3420 nid=0x41 in Object.wait() [0xb057e000..0xb057fb70]
    at java.lang.Object.wait(Native Method)
    - waiting on <0xce6ca288> (a EDU.oswego.cs.dl.util.concurrent.Semaphore)
    at java.lang.Object.wait(Object.java:474)
    at EDU.oswego.cs.dl.util.concurrent.Semaphore.acquire(Semaphore.java:108)
    - locked <0xce6ca288> (a EDU.oswego.cs.dl.util.concurrent.Semaphore)
    at com.telstra.siiam.web.arch.screensflow.SiiamSinglePointOfEntry.acquireSemaphore(SiiamSinglePointOfEntry.java:283)
    at com.telstra.siiam.web.arch.screensflow.SiiamSinglePointOfEntry.doGet(SiiamSinglePointOfEntry.java:147)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3245)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2003)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1909)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    "[STUCK] ExecuteThread: '13' for queue: 'weblogic.kernel.Default (self-tuning)'" daemon prio=1 tid=0x03ee3258 nid=0x40 in Object.wait() [0xb067e000..0xb067faf0]
    at java.lang.Object.wait(Native Method)
    - waiting on <0xcd98b768> (a EDU.oswego.cs.dl.util.concurrent.Semaphore)
    at java.lang.Object.wait(Object.java:474)
    at EDU.oswego.cs.dl.util.concurrent.Semaphore.acquire(Semaphore.java:108)
    - locked <0xcd98b768> (a EDU.oswego.cs.dl.util.concurrent.Semaphore)
    at com.telstra.siiam.web.arch.screensflow.SiiamSinglePointOfEntry.acquireSemaphore(SiiamSinglePointOfEntry.java:283)
    at com.telstra.siiam.web.arch.screensflow.SiiamSinglePointOfEntry.doGet(SiiamSinglePointOfEntry.java:147)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3245)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2003)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1909)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    "[STUCK] ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)'" daemon prio=1 tid=0x00581f28 nid=0x3f in Object.wait() [0xb077f000..0xb077fc70]
    at java.lang.Object.wait(Native Method)
    - waiting on <0xcdd7ad30> (a EDU.oswego.cs.dl.util.concurrent.Semaphore)
    at java.lang.Object.wait(Object.java:474)
    at EDU.oswego.cs.dl.util.concurrent.Semaphore.acquire(Semaphore.java:108)
    - locked <0xcdd7ad30> (a EDU.oswego.cs.dl.util.concurrent.Semaphore)
    at com.telstra.siiam.web.arch.screensflow.SiiamSinglePointOfEntry.acquireSemaphore(SiiamSinglePointOfEntry.java:283)
    at com.telstra.siiam.web.arch.screensflow.SiiamSinglePointOfEntry.doGet(SiiamSinglePointOfEntry.java:147)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3245)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2003)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1909)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    "[STUCK] ExecuteThread: '11' for queue: 'weblogic.kernel.Default (self-tuning)'" daemon prio=1 tid=0x0229a610 nid=0x3e in Object.wait() [0xb087e000..0xb087fbf0]
    at java.lang.Object.wait(Native Method)
    - waiting on <0xce6ca288> (a EDU.oswego.cs.dl.util.concurrent.Semaphore)
    at java.lang.Object.wait(Object.java:474)
    at EDU.oswego.cs.dl.util.concurrent.Semaphore.acquire(Semaphore.java:108)
    - locked <0xce6ca288> (a EDU.oswego.cs.dl.util.concurrent.Semaphore)
    at com.telstra.siiam.web.arch.screensflow.SiiamSinglePointOfEntry.acquireSemaphore(SiiamSinglePointOfEntry.java:283)
    at com.telstra.siiam.web.arch.screensflow.SiiamSinglePointOfEntry.doGet(SiiamSinglePointOfEntry.java:147)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3245)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2003)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1909)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    "[STUCK] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'" daemon prio=1 tid=0x01cad6a0 nid=0x3d in Object.wait() [0xb097e000..0xb097f970]
    at java.lang.Object.wait(Native Method)
    - waiting on <0xce4d2500> (a EDU.oswego.cs.dl.util.concurrent.Semaphore)
    at java.lang.Object.wait(Object.java:474)
    at EDU.oswego.cs.dl.util.concurrent.Semaphore.acquire(Semaphore.java:108)
    - locked <0xce4d2500> (a EDU.oswego.cs.dl.util.concurrent.Semaphore)
    at com.telstra.siiam.web.arch.screensflow.SiiamSinglePointOfEntry.acquireSemaphore(SiiamSinglePointOfEntry.java:283)
    at com.telstra.siiam.web.arch.screensflow.SiiamSinglePointOfEntry.doGet(SiiamSinglePointOfEntry.java:147)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3245)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2003)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1909)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    "[STUCK] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'" daemon prio=1 tid=0x02389c58 nid=0x3c in Object.wait() [0xb0a7e000..0xb0a7f8f0]
    at java.lang.Object.wait(Native Method)
    - waiting on <0xcd98b768> (a EDU.oswego.cs.dl.util.concurrent.Semaphore)
    at java.lang.Object.wait(Object.java:474)
    at EDU.oswego.cs.dl.util.concurrent.Semaphore.acquire(Semaphore.java:108)
    - locked <0xcd98b768> (a EDU.oswego.cs.dl.util.concurrent.Semaphore)
    at com.telstra.siiam.web.arch.screensflow.SiiamSinglePointOfEntry.acquireSemaphore(SiiamSinglePointOfEntry.java:283)
    at com.telstra.siiam.web.arch.screensflow.SiiamSinglePointOfEntry.doGet(SiiamSinglePointOfEntry.java:147)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3245)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2003)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1909)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    "[STUCK] ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'" daemon prio=1 tid=0x012ba168 nid=0x3b in Object.wait() [0xb0b7e000..0xb0b7fa70]
    at java.lang.Object.wait(Native Method)
    - waiting on <0xcdd7ad30> (a EDU.oswego.cs.dl.util.concurrent.Semaphore)
    at java.lang.Object.wait(Object.java:474)
    at EDU.oswego.cs.dl.util.concurrent.Semaphore.acquire(Semaphore.java:108)
    - locked <0xcdd7ad30> (a EDU.oswego.cs.dl.util.concurrent.Semaphore)
    at com.telstra.siiam.web.arch.screensflow.SiiamSinglePointOfEntry.acquireSemaphore(SiiamSinglePointOfEntry.java:283)
    at com.telstra.siiam.web.arch.screensflow.SiiamSinglePointOfEntry.doGet(SiiamSinglePointOfEntry.java:147)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3245)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2003)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1909)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    Please help me.

    Thanks for reply Jay. I check my code but didn't understand where is the problem here is the code snap could you please check and pin point me where is things wrong.
    package com.telstra.siiam.web.arch.screensflow;
    import java.io.IOException;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Enumeration;
    import java.util.HashMap;
    import java.util.Iterator;
    import java.util.Map;
    import javax.management.MBeanServer;
    import javax.management.MBeanServerFactory;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpSession;
    import mx4j.util.StandardMBeanProxy;
    import org.apache.commons.logging.Log;
    import org.apache.commons.logging.LogFactory;
    import org.grnds.structural.web.GrndsExchangeContext;
    import org.grnds.structural.web.GrndsHttpServlet;
    import EDU.oswego.cs.dl.util.concurrent.Semaphore;
    import com.telstra.siiam.web.app.common.JspKeys;
    import com.telstra.siiam.web.app.common.SessionKeys;
    import com.telstra.siiam.web.arch.stats.ServletStats;
    import com.telstra.siiam.web.arch.stats.StatisticsHolder;
    import com.telstra.siiam.web.arch.stats.StatisticsHolderMBean;
    import com.telstra.siiam.web.arch.businessobjectdata.CaseDO;
    * Single point of entry (Controller) of the web-application.
    * <P>
    * The intent of this class is to add pre/post processings (logging/security
    * check etc) on top of the basic GRNDS controller.
    * <P>
    * The current implementation checks that the incoming request it not
    * out-of-context.
    public class SiiamSinglePointOfEntry extends GrndsHttpServlet {
    // Constants -----------------------------------------------------
    private static final Log _statsLogger = LogFactory.getLog("ServletStats");
    private static final Log _log =
    LogFactory.getLog(SiiamSinglePointOfEntry.class);
    private static final String REQUEST_SEMAPHORE = "ReqSemaphore";
         * Name of the request attribute added to incoming requests in order to
         * detect re-entrant calls.
    private static final String SEMAPHORE_OWNER = "Owner";
    // Attributes ----------------------------------------------------
    private MBeanServer _server;
    private StatisticsHolderMBean _holder;
    // Static --------------------------------------------------------
    // Constructors --------------------------------------------------
    // Public --------------------------------------------------------
    // Z implementation ----------------------------------------------
    // GrndsHttpServlet overrides
    public void init() throws ServletException {
    // System.out.println("[<SiiamSinglePointOfEntry> <init>] - calling init method of GrndsHttpServlet super class");
    super.init();
    // System.out.println("[<SiiamSinglePointOfEntry> <init>] - Called init method of GrndsHttpServlet super class");
    Iterator servers = MBeanServerFactory.findMBeanServer(null).iterator();
    if (!servers.hasNext()) {
    throw new IllegalStateException("No MBeanServer registered.");
    _server = (MBeanServer) servers.next();
    // System.out.println("[<SiiamSinglePointOfEntry> <init>] - server: " _server);
    _holder =
    (StatisticsHolderMBean) StandardMBeanProxy.create(
    StatisticsHolderMBean.class,
    _server,
    StatisticsHolder.NAME);
    // System.out.println("[<SiiamSinglePointOfEntry> <init>] - holder: " _holder.toString());
    protected void doPost(HttpServletRequest arg0, HttpServletResponse arg1)
    throws ServletException, IOException {
    // System.out.println("[<SiiamSinglePointOfEntry> <doPost>] - In doPost");
    /* capture user input in http request This code is written to only for debuging purpose */
         //########################Start####################################
              Enumeration params = arg0.getParameterNames();
              String paramName = null;
              String[] paramValues = null;
              //System.out.println("[<SiiamSinglePointOfEntry> <doPost>] - user input name value pair");
              while (params.hasMoreElements()) {
                   paramName = (String) params.nextElement();
                   paramValues = arg0.getParameterValues(paramName);
                   //System.out.println("\nParameter name is " + paramName);
                   for (int i = 0; i < paramValues.length; i++) {
                        //System.out.println(", value " + i + " is " +paramValues.toString());
    //########################End######################################
    long start = System.currentTimeMillis();
    try {
    acquireSemaphore(arg0);
    } catch (InterruptedException e) {
    throw new ServletException("Can not serialize requests.");
    try {
    if (checkFlow(arg0, arg1)) {
    // System.out.println("[<SiiamSinglePointOfEntry> <doPost>] - after checkflow arg1 " + arg1);
    super.doPost(arg0, arg1);
    } finally {
    releaseSemaphore(arg0);
    protected void doGet(HttpServletRequest arg0, HttpServletResponse arg1)
    throws ServletException, IOException {
    // System.out.println("[<SiiamSinglePointOfEntry> <doGet>] - In doGet");
    /* capture user input in http request This code is written to only for debuging purpose */
         //########################Start####################################
              Enumeration params = arg0.getParameterNames();
              String paramName = null;
              String[] paramValues = null;
              //System.out.println("[<SiiamSinglePointOfEntry> <doGet>] - user input name value pair");
              while (params.hasMoreElements()) {
                   paramName = (String) params.nextElement();
                   paramValues = arg0.getParameterValues(paramName);
              //     System.out.println("\nParameter name is " + paramName);
                   for (int i = 0; i < paramValues.length; i++) {
                        //System.out.println(", value " + i + " is " +paramValues[i].toString());
    //########################End######################################
    long start = System.currentTimeMillis();
    try {
    acquireSemaphore(arg0);
    } catch (InterruptedException e) {
    throw new ServletException("Can not serialize requests.");
    try {
    if (checkFlow(arg0, arg1)) {
                   //System.out.println("[<SiiamSinglePointOfEntry> <doGet>] - after checkflow arg1 " + arg1);
    super.doGet(arg0, arg1);
    } finally {
    releaseSemaphore(arg0);
    // Protected -----------------------------------------------------
    protected boolean doPreExchange(GrndsExchangeContext ctx_)
    throws ServletException, IOException {
    // Dump the session attributes
    HttpSession session = ctx_.getSession();
    Enumeration enumVar = session.getAttributeNames();
    Collection <Object> sessionKeys = new ArrayList<Object>();
    while (enumVar.hasMoreElements()) {
    sessionKeys.add(enumVar.nextElement());
    if ( _log.isDebugEnabled() ) {
    _log.debug("Session attributes {" + sessionKeys + "}");
    super.doPreExchange(ctx_);
    Integer servletDepth =
    (Integer) ctx_.getSession().getAttribute("perf.count");
    if (null == servletDepth || servletDepth.intValue() == 0) {
    ctx_.getSession().setAttribute(
    "perf.start",
    new Long(System.currentTimeMillis()));
    ctx_.getSession().setAttribute("perf.count", new Integer(1));
    } else {
    ctx_.getSession().setAttribute(
    "perf.count",
    new Integer(servletDepth.intValue() + 1));
    return true;
    protected void doPostExchange(GrndsExchangeContext ctx_)
    throws ServletException, IOException {
    super.doPostExchange(ctx_);
    String escid = (String) ctx_.getSession().getAttribute(SessionKeys.ECSID);
    String caseObjid = "";
    CaseDO caseDO =
    (CaseDO) ctx_.getSession().getAttribute(SessionKeys.CASE_DETAILS);
    if (caseDO != null && caseDO._objid != null) {
    caseObjid = caseDO._objid;
    _log.info("{" + escid + "},{" + caseObjid + "}");
    Integer servletDepth =
    (Integer) ctx_.getSession().getAttribute("perf.count");
    if (servletDepth != null) {
    servletDepth = new Integer(servletDepth.intValue() - 1);
    ctx_.getSession().setAttribute("perf.count", servletDepth);
    if (servletDepth.intValue() == 0) {
    Long startTime =
    (Long) ctx_.getSession().getAttribute("perf.start");
    long duration = System.currentTimeMillis() - startTime.longValue();
    String statisticName =
    doGetConversationName(ctx_.getRequest())
    + "/"
    + doGetCommand(ctx_.getRequest())
    + "/"
    + (String) ctx_.getRequest().getAttribute(
    "grnds_web.command.branch");
    ServletStats servletStats = _holder.findServletStats(statisticName);
    servletStats.getServiceTime().addDuration(duration);
    if (_statsLogger.isDebugEnabled()) {
    StringBuffer servletStatsString = new StringBuffer();
    servletStatsString.append("<ServletStats>");
    servletStatsString.append("{" + statisticName + "},");
    servletStatsString.append(
    "{" + servletStats.getServiceTime().getCount() + "},");
    servletStatsString.append("{" + duration + "},");
    servletStatsString.append(
    + servletStats.getServiceTime().getAvgResponseTime()
    + "}");
    _statsLogger.debug(servletStatsString);
    } else {
    throw new IllegalStateException("Servlet Depth is null in doPostExchange");
    // Private -------------------------------------------------------
    private void acquireSemaphore(HttpServletRequest arg0)
    throws InterruptedException {
    // If the incoming request defines this attribute, then this request
    // has been forwarded by another servlet. In this case, one does not
    // need to acquire the semaphore as the thread is already the owner.
    Integer deepth = (Integer) arg0.getAttribute(SEMAPHORE_OWNER);
    // System.out.println("[<SiiamSinglePointOfEntry> <acquireSemaphore>] - deepth :" +deepth);
    if (null != deepth) {
    deepth = new Integer(deepth.intValue() + 1);
    arg0.setAttribute(SEMAPHORE_OWNER, deepth);
    return;
    //System.out.println("[<SiiamSinglePointOfEntry> <acquireSemaphore>] - trying to get semaphore value from request");
    HttpSession session = arg0.getSession();
    // One serializes the requests.
    Semaphore semaphore;
    // System.out.println("[<SiiamSinglePointOfEntry> <acquireSemaphore>] - http session value : " +session);
    synchronized (session) {
    semaphore = (Semaphore) session.getAttribute(REQUEST_SEMAPHORE);
    //System.out.println("[<SiiamSinglePointOfEntry> <acquireSemaphore>] - semaphore value from session : " +semaphore);
    if (null == semaphore) {
    semaphore = new Semaphore(1);
    session.setAttribute(REQUEST_SEMAPHORE, semaphore);
    semaphore.acquire();
    arg0.setAttribute(SEMAPHORE_OWNER, new Integer(1));
    private void releaseSemaphore(HttpServletRequest arg0) {
    // See acquireSemaphore for more details.
    Integer deepth = (Integer) arg0.getAttribute(SEMAPHORE_OWNER);
    int curDeepth = deepth.intValue();
    if (1 < curDeepth) {
    deepth = new Integer(curDeepth - 1);
    arg0.setAttribute(SEMAPHORE_OWNER, deepth);
    return;
    HttpSession session = arg0.getSession();
    // One serializes the requests.
    Semaphore semaphore;
    synchronized (session) {
    semaphore = (Semaphore) session.getAttribute(REQUEST_SEMAPHORE);
    semaphore.release();
    arg0.removeAttribute(SEMAPHORE_OWNER);
         * Check that the incoming request is valid, i.e. not out-of-context.
         * <P>
         * One uses the ScreenFlow object stored in session
         * (SessionKeys.SCREENS_FLOW) in order to perform this validation.
         * <P>
         * If the request is out-of-context, then one forwards the process to the
         * last screen defined by the ScreenFlow object.
         * @return true if the incoming request is valid and false otherwise.
    private boolean checkFlow(HttpServletRequest arg0, HttpServletResponse arg1)
    throws ServletException, IOException {
         // System.out.println("[<SiiamSinglePointOfEntry> <checkFlow>] - in checkFlow");
    HttpSession session = arg0.getSession();
    // System.out.println("[<SiiamSinglePointOfEntry> <checkFlow>] -session " + session);
    ScreenFlow screenFlow =
    (ScreenFlow) session.getAttribute(SessionKeys.SCREENS_FLOW);
    //System.out.println("[<SiiamSinglePointOfEntry> <checkFlow>] -screenFlow " + screenFlow);
    if (null == screenFlow) {
    screenFlow = new ScreenFlow();
    session.setAttribute(SessionKeys.SCREENS_FLOW, screenFlow);
    return true;
    String nextScreen = arg0.getServletPath() + arg0.getPathInfo();
    // System.out.println("[<SiiamSinglePointOfEntry> <checkFlow>] -nextScreen " + nextScreen);
    // The ScreenFlow object records the URI + the query string.
    // System.out.println("[<SiiamSinglePointOfEntry> <checkFlow>] - arg0.getQueryString() " + arg0.getQueryString());
    if (null != arg0.getQueryString()) {
              //System.out.println("[<SiiamSinglePointOfEntry> <checkFlow>] - in querystring null");
    nextScreen += "?" + arg0.getQueryString();
    // System.out.println("[<SiiamSinglePointOfEntry> <checkFlow>] -nextScreen " + nextScreen);
    if (!screenFlow.isInContext(nextScreen)) {
              // System.out.println("[<SiiamSinglePointOfEntry> <checkFlow>] - in not isInContext");
    screenFlow.setSnapshotContext(arg0);
    // Add an error message corresponding to the out-of-context
    // navigation.
    Map errorMap = (Map) arg0.getAttribute(JspKeys.ERRORS_REQUEST_KEY);
    // System.out.println("[<SiiamSinglePointOfEntry> <checkFlow>] -errorMap " + errorMap);
    if (null == errorMap) {
    errorMap = new HashMap();
    System.out.println("[<SiiamSinglePointOfEntry> <checkFlow>] -errorMap in null" + errorMap);
    arg0.setAttribute(JspKeys.ERRORS_REQUEST_KEY, errorMap);
    errorMap.put("OCM", screenFlow.getOutOfContextErrorMessage());
    // dispatch to the previous screen defined by screenFlow.
    arg0.getRequestDispatcher(screenFlow.getLastURI()).forward(arg0, arg1);
    // System.out.println("[<SiiamSinglePointOfEntry> <checkFlow>] - before return false");
    return false;
    //System.out.println("[<SiiamSinglePointOfEntry> <checkFlow>] - before return true");
    return true;
    // Inner classes -------------------------------------------------

  • What about session memory when using BEA Weblogic connection pooling?

    Hi,
    consider a web application, allowing database connections via a BEA Weblogic 8.1 application server. The app-server is pooling the oracle connections. The oracle database is running in dedicated server mode.
    How are the database requests from the web app served by the connection pool from BEA?
    1) Does one oracle session serve more than one request simultanously?
    2) Does BEA serialize the requests, which means, that a session from the pool is always serving only one request at a time?
    If (1) is true, than what about the session memory of Oracle sessions? I understand, that things like package global variables are beeing stored in this session private memory. If (1) is true, the PL/SQL programmer has the same situation, as with programming an Oracle databas in "shared server" mode, that is, he should not use package global variables etc.
    Thankful for any ideas...
    Message was edited by:
    Xenofon

    Xenofon Grigoriadis wrote:
    Hi,
    consider a web application, using BEA between client and an Oracle Database (v9i). BEA is pooling the oracle connections. The oracle database is running in dedicated server mode.
    How are the database requests from the web app beeing served by the connection pool from BEA?
    1) Does one oracle session serve more than one request simultanously?no.
    2) Or does BEA serialize the requests, which means, that a session from the pool is always serving only one request at a time?
    Reading "Configuring and Using WebLogic JDBC" from weblogic8.1 documentation, I read:
    "... Your application "borrows" a connection from the pool, uses it, then returns it to the pool by closing it...."
    What do you mean by returning the connection by closing it? Tbe server will either return the connection to the pool or close it...When application code does typical jdbc code, it obtains
    a connection via a WebLogic DataSource, which reserves an
    unused pooled connection and passes it (transparently wrapped)
    to the application. The application uses it, and then closes
    it. WebLogic intercepts the close() call via the wrapper, and
    puts the DBMS connection back into the WebLogic pool.
    The reason, why I as an Oracle programmer ask this is, because every session (=connection)
    in Oracle has its own dedicate, private memory for things like global PL/SQL variables.
    Now I want to figure out, if you have to careful in programming your databases, when
    one Oracle session (=connection) is serving many weblogic requests.It is serving many requests, but always serially. Do note however, that we
    also transparently cache/pool prepared and callable statements with the
    connection so repeat uses of the connection will be able to get already-made
    statements when they call prepareStatement() and prepareCall(). These
    long-lived statements will each require a DBMS-side cursor.
    >
    Thankful for any ideas or practical experience...
    Message was edited by:
    mk637Joe

  • CUA ?

    How many process are usually required to correctly run CUA? Changes were made to our system and since, have been having odd occurrences.
    Thank YOU All!

    Sending and processing IDOCs in background serializes the requests and therefore reduces the count of work processes which are running in parallel.
    CUA central system:
    1 for the administratior working with the CUA
    3*n to send the IDOCs for every user which is replicated to one of "n" target systems
    3*n to receive the status about processing of an IDOC for every user which is replicated to one of "n" target systems
    Most of these work processes are running for a very short time, however, you still need a couple of free work processes in the CUA central system.
    Note <a href="https://service.sap.com/sap/support/notes/399271">399271</a> shows tips for optimizing ALE distribution performance of the CUA.
    Kind regards
    Frank Buchholz

  • How to checkin document with 'Projects' security group

    Hi everyone,
    i want to checkin a document thru a java class, and set it to Projects security group, also i want to set folder, userlist, grouplist...
    Does anyone know how to define these things in java class before execute the CHECKIN service, or there are any extra service needed to run?
    Thanks

    Hi
    I am putting the snippet on how to do a checkin for content RIDC :
    public class TestRIDCCheckin {
    * @param args
    public static void main(String[] args) {
    // Create a new IdcClientManager
    IdcClientManager manager = new IdcClientManager ();
    try{
    // Create a new IdcClient Connection using idc protocol (i.e. socket connection to Content Server)
    IdcClient idcClient = manager.createClient ("idc://hostname for ucm:intradocserverport");
    // Create new context using the 'sysadmin' user
    IdcContext userContext = new IdcContext ("sysadmin");
    // Create an HdaBinderSerializer; this is not necessary, but it allows us to serialize the request and response data binders
    HdaBinderSerializer serializer = new HdaBinderSerializer ("UTF-8", idcClient.getDataFactory ());
    // Databinder for checkin request
    DataBinder dataBinder = idcClient.createBinder();
    dataBinder.putLocal("IdcService", "CHECKIN_UNIVERSAL");
    //dataBinder.putLocal("dDocName","TestRIDCCheckin");
    dataBinder.putLocal("dDocTitle", "Test RIDC Checkin");
    dataBinder.putLocal("dDocType", "ADACCT");
    dataBinder.putLocal("dDocAccount", "");
    dataBinder.putLocal("dSecurityGroup", "Public");
    dataBinder.addFile("primaryFile", new File("/home/oracle/cis"));
    dataBinder.putLocal is used set the metadata and details for the content .
    Hope this helps
    Thanks
    Srinath
    Edited by: srinathmenon on Aug 20, 2010 1:23 PM

Maybe you are looking for

  • Does mxctrllib provide a call which returns a reference to all the logical names in MAX?

    I'm looking for a call that returns all the MAX logical names on a system. I would populate a drop-down box with those names to allow the user to select a name at program run-time. Currently I hard code a particular logical name as a string and init

  • Embedding the page size into a document (envelope)

    Hi all. I'm new to this forum and sort of a newbie In indesign I created and envelope and actually had to use custom paper size of 9.5 x 4.125 inch. Print setup in indesign is set to Envelope Com10 for paper size. when I create the pdf using adobe ac

  • Collect BPM - Start process and correlation in one Receiver

    I'm using collect pattern based on timeout. Somehow in my infinite loop, in the receive step, I cannot combine "start process" with creating correlation and using it. All in the same receiver. When I try to activate my BPM, in the processing log I ge

  • Segmentation by Sales Office on CRM 7.0

    Hello Gentlemen, Hope you guys can help me on this, Need to implement a new infoset query for segmentation data on CRM 7.0 Web UI Segmentation applet, beacuse the std. ones do not support customer´s needs. The customer needs to make segmentation of p

  • EA1 - DBMS_OUTPUT prints to Script Output window

    All, I saw another post about the window switching from the DBMS Output window to the script window after a script is executed (I don't like that either), but this is different. My DBMS Output is being output to the Script Output window. Example: beg