Logging for one session

I'm using java.util.Logging mechanism for logging in my web application. I always use logger via class name - e.g. Logger.getLogger(MyClass.class.getName()).log(....)Now, I wonder if there is a technique or best practice to show only log records for one user session.
For example.. I have a servlet that after receiving request creates one thread, which creates n-threads to get some data from different web services. Naturally there can be many concurrent users using this servlet. I would like to use logging mechanism to show log records only for particular user (session).
The only solution that came on my mind is to put sessionId into all threads names, create custom Logging handler that puts thread name as record parameter and then filter out records that contain parameter with chosen sessionId.
Is there a better solution?
Thanks.

Hi Gus,
One of the things getting logged is the session id.Do you mean the database session id or the Apex session? The database session id changes when a different session is used in the pool. The Apex session doesn't change until the user logs out.
So we set an application item to the value of the session id during authentication.You don't need to do this. The database session can be found in the user context using SYS_CONTEXT('USERENV', 'SESSIONID'). The Apex session is available using V('SESSION'), it is also can be found in the user context, together with the Apex username using SYS_CONTEXT('USERENV', 'CLIENT_IDENTIFIER'). So you can get the session ids from the context when you log information.
Rod West

Similar Messages

  • How to keep logs for one week through sm36 jobs creation

    Hi
       As i define a job through sm36. Its logs removed next day , but its logs removed through sm37 through next days. But some of the job logs does not removed for even one week. can somebody be help me to sort it out . I want to keep job logs for one week then where i have to define it. If some job is defined which remove all these logs then where we have to define that these logs will remain for one week , because some of the job logs will remain there for one week.
    Thanks in advance
    Regards
    Ravi Kant Arya
    +91 9999530385

    Hello,
    please check the variants of the report used in the job SAP_REORG_JOBS. With the report RSBTCDEL2 you can specify very detailed how long logs should be kept for which jobs (e.g. depending on the job name or job class).
    Regards
    Christian

  • Disabling Materialized View Logs for a session

    Hi all.
    I was wondering if it is possible to disable the fast refresh log for materialized views for just a given session. So for all other sessions except this one the log would be added to. I'm using 11g.
    In Oracle Database 11g, The Complete Reference on page 447 it states:
    "As of Oracle 11g, the capture of changes in materialized view logs can be disabled for an individual session while logging continues for changes made by other sessions". But no instructions are given
    Does anyone know how to do this? I have not been able to find the answer by looking around.
    Thanks!

    Yeah, I had saw that Oracle mentioned it here also: http://download.oracle.com/docs/cd/B28359_01/server.111/b28279/chapter1.htm#FEATURENO07197
    Any idea of what the code might look like? I've never had to alter an individual session for Oracle before.

  • I want my mac to start on its own just for one session.

    Hello,
    Is there a way to have my mac start on its own for just one session and thats it. A one time deal?
    Thanks

    Oops, really for Warrior Ant.
    Don't ask me to do it but that might be Applescriptable. I think there is a forum for A'S'.
    Oops, really for Warrior Ant.
    Don't ask me to do it but that might be Applescriptable. I think there is a forum for A'S'.
    http://discussions.apple.com/forum.jspa?forumID=724
    There it is.
    Message was edited by: Jpfresno w Link

  • Parental Control not logging for one user only

    Hi, my two kids have parental control turned on for their individual accounts. On one account I get logs of their activity, the other I do not inside parental control preference pane. I found in the account that does not get logged the following:com.apple.familycontrols.overrides.plist.
    Anyone know what this is and why it might be in that account?
    Also any ideas as to why one account would not be getting logged?
    I can see the details in her user account inside Library/applicationsupport/apple/parentalcontrol.
    Imac G5, 2gb ram, 10.5.6

    The familycontrols.overrides property list interests me, especially because I can't find any information on it! Looking at its contents suggests that it is a temporary file created whenever an admin authorizes the managed user to exceed their daily login time limit (e.g., 30 minutes extra).
    As for the not logging problem, I have it too. It seems to me that events.data -- the actual log -- is too large at 54 MB and am deleting it. (I note that it was updated at the time the managed user last used his account, so something is being recorded.) Wish me luck.

  • Pulling Multiple Approver Names from Workflow Logs for One Work Item

    I have a workflow design which requires multiple approvals per single work item.  I happen to have another functional design that is also pulling data from those same workflow logs.  Assuming I have multiple approvals at various levels for a single work item which table do I need to reference along with which fields to reference the different approvers per level of approval?

    Hello,
    The same tables. The principle is the same, just more agents.
    regards
    Rick Bakker
    Hanabi Technology

  • Apple Tv no photos. Home sharing only lasts for one session

    My Apple Tv only shares photos for a while then my computers name disappears from head list I can only access Music after subscribing to I match and using I cloud. Have tried some ideas suggested by others with similar problems; and 4 calls with Apple TV support culminated in in 2 responses "we are not trained to assist with entering access ports in port forwarding. " Try calling BT re your home hub. Bt check out all ok with set up . Final response from Apple support "must be your Dell computer (only one year old and all is well!! Other people seem to feel abandoned by Apple. I had a response to an email as a last resort which was full of meaning less platitudes and attached 3 links to Apple support pages. Have now spent about 30 hours on this and next step is return to Amazon to see if they will exchange or refund. I do thinkl that Apple tv is a great concept. Why is it the Itunes store and paid for purchase areas always work fine. Am I being uinkind? If not please let me know of same problem and any fix that works because I am pretty fed up with it.

    Troubleshooting Home Sharing
    http://support.apple.com/kb/TS2972

  • How to enable remote debugging for a session other than the current one

    Hi all,
    I am trying to figure out how to enable remote debugging for a session other than the one I am currently using.
    More specifically, we have an application that is making database calls to Oracle 11gR2. Something is causing an exception during this invocation. My system is currently not set up to recompile said application, so I can't just add the debug call to the code and recompile. Therefore I would like to be able to log into the database (as sys, if necessary) and invoke dbms_debug_jdwp.connect_tcp on the desired session.
    The docs indicate that I should be able to do so:
    dbms_debug_jdwp.connect_tcp(
    host IN VARCHAR2,
    port IN VARCHAR2,
    session_id IN PLS_INTEGER := NULL,
    session_serial IN PLS_INTEGER := NULL,
    debug_role IN VARCHAR2 := NULL,
    debug_role_pwd IN VARCHAR2 := NULL,
    option_flags IN PLS_INTEGER := 0,
    extensions_cmd_set IN PLS_INTEGER := 128);
    But when I try (even as sys), I get the following:
    exec dbms_debug_jdwp.connect_tcp('1.2.3.4',5678,<session id>,<session serial>);ORA-00022: invalid session ID; access denied
    ORA-06512: at "SYS.DBMS_DEBUG_JDWP", line 68
    ORA-06512: at line 1
    00022. 00000 - "invalid session ID; access denied"
    *Cause:    Either the session specified does not exist or the caller
    does not have the privilege to access it.
    *Action:   Specify a valid session ID that you have privilege to access,
    that is either you own it or you have the CHANGE_USER privilege.
    I've tried granting the 'BECOME USER' privilege for the relevant users, but that didn't help. I read something about having to set some kind of ACL as of 11gR1, but the reference documentation was very confusing.
    Would someone be able to point me in the right direction? Is this even possible, or did I misread the documentation?

    Interesting deduction, that would be very useful indeed. I hate recompiling just to add the debug call, and it can't be done in our production environment. But it seems unlikely to me it would be implemented this way.
    I would cross-post this in the SQL AND PL/SQL forum though, as this is really a database issue, not with the SQL Developer tool. Do add the links to the other posts in each.
    Regards,
    K.

  • One or more post-processing actions failed. Consult the OPP service log for details.

    hi expert plz help me i can't understand here what can i do to resove this error.
    here is the logfile details of output post processor
    ebs- 11i (11.5.10.2)
    os - rhel 4
    [9/2/13 4:54:48 PM] [main] Starting GSF service with concurrent process id = 2984174.
    [9/2/13 4:54:48 PM] [main] Initialization Parameters: oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=5
    [9/2/13 4:54:48 PM] [Thread-14] Service thread starting up.
    [9/2/13 4:54:48 PM] [Thread-15] Service thread starting up.
    [9/2/13 4:59:34 PM] [OPPServiceThread0] Post-processing request 21672063.
    [9/2/13 4:59:35 PM] [2984174:RT21672063] Executing post-processing actions for request 21672063.
    [9/2/13 4:59:35 PM] [2984174:RT21672063] Starting XML Publisher post-processing action.
    [9/2/13 4:59:35 PM] [2984174:RT21672063]
    Template code: PURCHASE_REGISTER_ITEMWISE
    Template app:  CONA
    Language:      en
    Territory:     00
    Output type:   PDF
    [090213_045936406][][EXCEPTION] [DEBUG] ------- Preferences defined PreferenceStore -------
    [090213_045936407][][EXCEPTION] [DEBUG] ------- Environment variables stored in EnvironmentStore -------
    [090213_045936408][][EXCEPTION] [DEBUG]  [FND_JDBC_IDLE_THRESHOLD.LOW]:[-1]
    [090213_045936408][][EXCEPTION] [DEBUG]  [SECURITY_GROUP_ID]:[0]
    [090213_045936408][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_DECAY_INTERVAL]:[300]
    [090213_045936408][][EXCEPTION] [DEBUG]  [NLS_CHARACTERSET]:[US7ASCII]
    [090213_045936408][][EXCEPTION] [DEBUG]  [RESP_APPL_ID]:[-1]
    [090213_045936408][][EXCEPTION] [DEBUG]  [NLS_LANGUAGE]:[AMERICAN]
    [090213_045936408][][EXCEPTION] [DEBUG]  [FND_JDBC_BUFFER_MIN]:[1]
    [090213_045936409][][EXCEPTION] [DEBUG]  [FND_JDBC_BUFFER_MAX]:[2]
    [090213_045936409][][EXCEPTION] [DEBUG]  [NLS_NUMERIC_CHARACTERS]:[.,]
    [090213_045936409][][EXCEPTION] [DEBUG] [APPS_JDBC_URL]:[jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=demo.oriplast.com)(PORT=1526)))(CONNECT_DATA=(SID=ORIDEMO)))]
    [090213_045936409][][EXCEPTION] [DEBUG]  [RESP_ID]:[-1]
    [090213_045936409][][EXCEPTION] [DEBUG]  [FND_MAX_JDBC_CONNECTIONS]:[500]
    [090213_045936410][][EXCEPTION] [DEBUG]  [FND_JDBC_USABLE_CHECK]:[false]
    [090213_045936410][][EXCEPTION] [DEBUG]  [USER_ID]:[-1]
    [090213_045936410][][EXCEPTION] [DEBUG]  [NLS_TERRITORY]:[AMERICA]
    [090213_045936410][][EXCEPTION] [DEBUG]  [FND_JDBC_PLSQL_RESET]:[false]
    [090213_045936410][][EXCEPTION] [DEBUG]  [FND_JDBC_CONTEXT_CHECK]:[true]
    [090213_045936418][][EXCEPTION] [DEBUG]  [NLS_DATE_FORMAT]:[DD-MON-RR]
    [090213_045936418][][EXCEPTION] [DEBUG]  [FND_JDBC_BUFFER_DECAY_SIZE]:[5]
    [090213_045936418][][EXCEPTION] [DEBUG] [FND_JDBC_IDLE_THRESHOLD.HIGH]:[-1]
    [090213_045936418][][EXCEPTION] [DEBUG]  [NLS_SORT]:[BINARY]
    [090213_045936418][][EXCEPTION] [DEBUG]  [NLS_DATE_LANGUAGE]:[AMERICAN]
    [090213_045936419][][EXCEPTION] [DEBUG]  [LOGIN_ID]:[-1]
    [090213_045936419][][EXCEPTION] [DEBUG] ------- Properties stored in Java System Properties -------
    [090213_045936419][][EXCEPTION] [DEBUG] [APPLTMP]:[/u03/ORIDEMO/LIVE_APPL/livecomn/temp]
    [090213_045936419][][EXCEPTION] [DEBUG]  [java.runtime.name]:[Java(TM) 2 Runtime Environment, Standard Edition]
    [090213_045936419][][EXCEPTION] [DEBUG]  [sun.boot.library.path]:[/u03/ORIDEMO/LIVE_APPL/livecomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/i386]
    [090213_045936419][][EXCEPTION] [DEBUG]  [java.vm.version]:[1.4.2_04-b05]
    [090213_045936419][][EXCEPTION] [DEBUG]  [OVERRIDE_DBC]:[true]
    [090213_045936419][][EXCEPTION] [DEBUG] [dbcfile]:[/u03/ORIDEMO/LIVE_APPL/liveappl/fnd/11.5.0/secure/ORIDEMO_demo/oridemo.dbc]
    [090213_045936419][][EXCEPTION] [DEBUG]  [java.vm.vendor]:[Sun Microsystems Inc.]
    [090213_045936420][][EXCEPTION] [DEBUG]  [java.vendor.url]:[http://java.sun.com/]
    [090213_045936420][][EXCEPTION] [DEBUG]  [path.separator]:[:]
    [090213_045936420][][EXCEPTION] [DEBUG] [APPLCSF]:[/u03/ORIDEMO/LIVE_APPL/livecomn/admin]
    [090213_045936420][][EXCEPTION] [DEBUG]  [java.vm.name]:[Java HotSpot(TM) Client VM]
    [090213_045936420][][EXCEPTION] [DEBUG]  [file.encoding.pkg]:[sun.io]
    [090213_045936420][][EXCEPTION] [DEBUG]  [user.country]:[US]
    [090213_045936420][][EXCEPTION] [DEBUG]  [sun.os.patch.level]:[unknown]
    [090213_045936420][][EXCEPTION] [DEBUG] [java.vm.specification.name]:[Java Virtual Machine Specification]
    [090213_045936421][][EXCEPTION] [DEBUG] [user.dir]:[/u03/ORIDEMO/LIVE_APPL/livecomn/admin/log/ORIDEMO_demo]
    [090213_045936421][][EXCEPTION] [DEBUG] [java.runtime.version]:[1.4.2_04-b05]
    [090213_045936421][][EXCEPTION] [DEBUG] [java.awt.graphicsenv]:[sun.awt.X11GraphicsEnvironment]
    [090213_045936421][][EXCEPTION] [DEBUG] [java.endorsed.dirs]:[/u03/ORIDEMO/LIVE_APPL/livecomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/endorsed]
    [090213_045936421][][EXCEPTION] [DEBUG]  [os.arch]:[i386]
    [090213_045936421][][EXCEPTION] [DEBUG] [JTFDBCFILE]:[/u03/ORIDEMO/LIVE_APPL/liveappl/fnd/11.5.0/secure/ORIDEMO_demo/oridemo.dbc]
    [090213_045936421][][EXCEPTION] [DEBUG]  [java.io.tmpdir]:[/tmp]
    [090213_045936422][][EXCEPTION] [DEBUG]  [line.separator]:[
    [090213_045936422][][EXCEPTION] [DEBUG] [java.vm.specification.vendor]:[Sun Microsystems Inc.]
    [090213_045936422][][EXCEPTION] [DEBUG]  [os.name]:[Linux]
    [090213_045936422][][EXCEPTION] [DEBUG]  [FND_JDBC_BUFFER_MIN]:[1]
    [090213_045936422][][EXCEPTION] [DEBUG]  [cpid]:[2984174]
    [090213_045936422][][EXCEPTION] [DEBUG]  [sun.java2d.fontpath]:[]
    [090213_045936423][][EXCEPTION] [DEBUG] [java.library.path]:[/u03/ORIDEMO/LIVE_APPL/livecomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/i386/client:/u03/ORIDEMO/LIVE_APPL/livecomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/i386:/u03/ORIDEMO/LIVE_APPL/livecomn/util/java/1.4/j2sdk1.4.2_04/jre/../lib/i386:/u03/ORIDEMO/LIVE_APPL/liveora/iAS/lib:/u03/ORIDEMO/LIVE_APPL/liveora/8.0.6/network/jre11/lib/i686/native_threads:/u03/ORIDEMO/LIVE_APPL/liveora/8.0.6/network/jre11/lib/linux/native_threads:/u03/ORIDEMO/LIVE_APPL/liveappl/cz/11.5.0/bin:/u03/ORIDEMO/LIVE_APPL/liveora/8.0.6/lib:/usr/X11R6/lib:/usr/openwin/lib]
    [090213_045936423][][EXCEPTION] [DEBUG]  [java.specification.name]:[Java Platform API Specification]
    [090213_045936423][][EXCEPTION] [DEBUG]  [java.class.version]:[48.0]
    [090213_045936423][][EXCEPTION] [DEBUG] [java.util.prefs.PreferencesFactory]:[java.util.prefs.FileSystemPreferencesFactory]
    [090213_045936423][][EXCEPTION] [DEBUG]  [os.version]:[2.6.9-82.ELsmp]
    [090213_045936424][][EXCEPTION] [DEBUG]  [LONG_RUNNING_JVM]:[true]
    [090213_045936424][][EXCEPTION] [DEBUG]  [user.home]:[/home/appdemo]
    [090213_045936424][][EXCEPTION] [DEBUG]  [user.timezone]:[GMT+05:30]
    [090213_045936424][][EXCEPTION] [DEBUG] [java.awt.printerjob]:[sun.print.PSPrinterJob]
    [090213_045936424][][EXCEPTION] [DEBUG]  [file.encoding]:[ANSI_X3.4-1968]
    [090213_045936424][][EXCEPTION] [DEBUG]  [java.specification.version]:[1.4]
    [090213_045936424][][EXCEPTION] [DEBUG]  [CACHEMODE]:[DISTRIBUTED]
    [090213_045936424][][EXCEPTION] [DEBUG] [java.class.path]:[/u03/ORIDEMO/LIVE_APPL/livecomn/util/java/1.4/j2sdk1.4.2_04/lib/dt.jar:/u03/ORIDEMO/LIVE_APPL/livecomn/util/java/1.4/j2sdk1.4.2_04/lib/tools.jar:/u03/ORIDEMO/LIVE_APPL/livecomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/rt.jar:/u03/ORIDEMO/LIVE_APPL/livecomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/charsets.jar:/u03/ORIDEMO/LIVE_APPL/livecomn/java/appsborg2.zip:/u03/ORIDEMO/LIVE_APPL/livecomn/java/apps.zip:/u03/ORIDEMO/LIVE_APPL/liveora/8.0.6/forms60/java:/u03/ORIDEMO/LIVE_APPL/livecomn/java]
    [090213_045936424][][EXCEPTION] [DEBUG]  [user.name]:[appdemo]
    [090213_045936424][][EXCEPTION] [DEBUG] [DBCFILE]:[/u03/ORIDEMO/LIVE_APPL/liveappl/fnd/11.5.0/secure/ORIDEMO_demo/oridemo.dbc]
    [090213_045936425][][EXCEPTION] [DEBUG] [java.vm.specification.version]:[1.0]
    [090213_045936425][][EXCEPTION] [DEBUG] [java.home]:[/u03/ORIDEMO/LIVE_APPL/livecomn/util/java/1.4/j2sdk1.4.2_04/jre]
    [090213_045936425][][EXCEPTION] [DEBUG]  [sun.arch.data.model]:[32]
    [090213_045936425][][EXCEPTION] [DEBUG]  [user.language]:[en]
    [090213_045936425][][EXCEPTION] [DEBUG]  [java.specification.vendor]:[Sun Microsystems Inc.]
    [090213_045936425][][EXCEPTION] [DEBUG]  [java.vm.info]:[mixed mode]
    [090213_045936425][][EXCEPTION] [DEBUG] [logfile]:[/u03/ORIDEMO/LIVE_APPL/livecomn/admin/log/ORIDEMO_demo/FNDOPP2984174.txt]
    [090213_045936425][][EXCEPTION] [DEBUG]  [java.version]:[1.4.2_04]
    [090213_045936425][][EXCEPTION] [DEBUG] [java.ext.dirs]:[/u03/ORIDEMO/LIVE_APPL/livecomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/ext]
    [090213_045936426][][EXCEPTION] [DEBUG] [sun.boot.class.path]:[/u03/ORIDEMO/LIVE_APPL/livecomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/rt.jar:/u03/ORIDEMO/LIVE_APPL/livecomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/i18n.jar:/u03/ORIDEMO/LIVE_APPL/livecomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/sunrsasign.jar:/u03/ORIDEMO/LIVE_APPL/livecomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/jsse.jar:/u03/ORIDEMO/LIVE_APPL/livecomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/jce.jar:/u03/ORIDEMO/LIVE_APPL/livecomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/charsets.jar:/u03/ORIDEMO/LIVE_APPL/livecomn/util/java/1.4/j2sdk1.4.2_04/jre/classes]
    [090213_045936426][][EXCEPTION] [DEBUG]  [java.vendor]:[Sun Microsystems Inc.]
    [090213_045936426][][EXCEPTION] [DEBUG]  [FND_JDBC_BUFFER_MAX]:[2]
    [090213_045936426][][EXCEPTION] [DEBUG]  [file.separator]:[/]
    [090213_045936426][][EXCEPTION] [DEBUG] [java.vendor.url.bug]:[http://java.sun.com/cgi-bin/bugreport.cgi]
    [090213_045936426][][EXCEPTION] [DEBUG] [sun.io.unicode.encoding]:[UnicodeLittle]
    [090213_045936426][][EXCEPTION] [DEBUG]  [sun.cpu.endian]:[little]
    [090213_045936426][][EXCEPTION] [DEBUG]  [APPLOUT]:[out/ORIDEMO_demo]
    [090213_045936427][][EXCEPTION] [DEBUG]  [sun.cpu.isalist]:[]
    [9/2/13 4:59:40 PM] [UNEXPECTED] [2984174:RT21672063] java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at oracle.apps.xdo.common.xml.XSLT10gR1.invokeParse(XSLT10gR1.java:517)
            at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:224)
            at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:177)
            at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
            at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
            at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
            at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1657)
            at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:967)
            at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5888)
            at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3438)
            at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3527)
            at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
            at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:153)
    Caused by: java.io.UnsupportedEncodingException: &Encoding
            at sun.io.Converters.getConverterClass(Converters.java:215)
            at sun.io.Converters.newConverter(Converters.java:248)
            at sun.io.ByteToCharConverter.getConverter(ByteToCharConverter.java:64)
            at sun.nio.cs.StreamDecoder$ConverterSD.<init>(StreamDecoder.java:223)
            at sun.nio.cs.StreamDecoder$ConverterSD.<init>(StreamDecoder.java:209)
            at sun.nio.cs.StreamDecoder.forInputStreamReader(StreamDecoder.java:76)
            at java.io.InputStreamReader.<init>(InputStreamReader.java:83)
            at oracle.xdo.parser.v2.XMLReader.setEncoding(XMLReader.java:848)
            at oracle.xdo.parser.v2.XMLReader.checkXMLDecl(XMLReader.java:2718)
            at oracle.xdo.parser.v2.XMLReader.pushXMLReader(XMLReader.java:471)
            at oracle.xdo.parser.v2.XMLParser.parse(XMLParser.java:263)
            ... 17 more
    [9/2/13 4:59:40 PM] [2984174:RT21672063] Completed post-processing actions for request 21672063.
    [9/2/13 5:10:51 PM] [OPPServiceThread1] Post-processing request 21672114.
    [9/2/13 5:10:51 PM] [2984174:RT21672114] Executing post-processing actions for request 21672114.
    [9/2/13 5:10:51 PM] [2984174:RT21672114] Starting XML Publisher post-processing action.
    [9/2/13 5:10:51 PM] [2984174:RT21672114]
    Template code: PURCHASE_REGISTER_ITEMWISE
    Template app:  CONA
    Language:      en
    Territory:     00
    Output type:   PDF
    [9/2/13 5:10:51 PM] [UNEXPECTED] [2984174:RT21672114] java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at oracle.apps.xdo.common.xml.XSLT10gR1.invokeParse(XSLT10gR1.java:517)
            at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:224)
            at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:177)
            at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
            at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
            at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
            at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1657)
            at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:967)
            at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5888)
            at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3438)
            at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3527)
            at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
            at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:153)
    Caused by: java.io.UnsupportedEncodingException: &Encoding
            at sun.io.Converters.getConverterClass(Converters.java:215)
            at sun.io.Converters.newConverter(Converters.java:248)
            at sun.io.ByteToCharConverter.getConverter(ByteToCharConverter.java:64)
            at sun.nio.cs.StreamDecoder$ConverterSD.<init>(StreamDecoder.java:223)
            at sun.nio.cs.StreamDecoder$ConverterSD.<init>(StreamDecoder.java:209)
            at sun.nio.cs.StreamDecoder.forInputStreamReader(StreamDecoder.java:76)
            at java.io.InputStreamReader.<init>(InputStreamReader.java:83)
            at oracle.xdo.parser.v2.XMLReader.setEncoding(XMLReader.java:848)
            at oracle.xdo.parser.v2.XMLReader.checkXMLDecl(XMLReader.java:2718)
            at oracle.xdo.parser.v2.XMLReader.pushXMLReader(XMLReader.java:471)
            at oracle.xdo.parser.v2.XMLParser.parse(XMLParser.java:263)
            ... 17 more
    [9/2/13 5:10:51 PM] [2984174:RT21672114] Completed post-processing actions for request 21672114.
    thaks
    pritesh

    hi experts
    thanks for ur replay,
    this issue is occured with only the particular request and this is custom report. i try some step
    down the manager run the cmclean.sql, increease the  processes of output postprocessor but not get the any type of effect on issue...
    and also follow the step that describe in the below doc:
    Output Post Processor (OPP) Log Contains Error "oracle.xdo.parser.v2.XMLParseException: Unexpected EOF" (Doc ID 1273272.1)
    To Bottom
    request log file details below:
    +---------------------------------------------------------------------------+
    CONA Custom: Version : UNKNOWN - Development
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    PURCHASE_REGISTER_ITEMWISE module: Ori - Purchase Register - Item wise (15x12)
    +---------------------------------------------------------------------------+
    Current system time is 02-SEP-2013 17:10:29
    +---------------------------------------------------------------------------+
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    P_SEGM='02'
    P_CHART_OF_ACCOUNTS_ID='50268'
    p_from_date='2012/04/01 00:00:00'
    p_to_date='2012/04/05 00:00:00'
    P_YES_NO='No'
    XML_REPORTS_XENVIRONMENT is :
    /u03/ORIDEMO/LIVE_APPL/liveora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    XENVIRONMENT is set to /u03/ORIDEMO/LIVE_APPL/liveora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    _AMERICA.UTF8
    Report Builder: Release 6.0.8.25.0 - Production on Mon Sep 2 17:10:29 2013
    (c) Copyright 1999 Oracle Corporation.  All rights reserved.
    Enter Username:
    +---------------------------------------------------------------------------+
    Start of log messages from FND_FILE
    +---------------------------------------------------------------------------+
    +---------------------------------------------------------------------------+
    End of log messages from FND_FILE
    +---------------------------------------------------------------------------+
    +---------------------------------------------------------------------------+
    Executing request completion options...
    +------------- 1) PUBLISH -------------+
    Beginning post-processing of request 21672114 on node DEMO at 02-SEP-2013 17:10:51.
    Post-processing of request 21672114 failed at 02-SEP-2013 17:10:51 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.
    +--------------------------------------+
    +------------- 2) PRINT   -------------+
    +--------------------------------------+
    Finished executing request completion options.
    +---------------------------------------------------------------------------+
    Concurrent request completed
    Current system time is 02-SEP-2013 17:10:52
    +---------------------------------------------------------------------------+
    i check the document that u all suggest above after that i update u as soon as possible..
    thanks & regards
    pritesh ranjan

  • The session variable, NQ_SESSION.OU_ORG, has no value definition.Please have your System Administrator look at the log for more details on this error. (HY000)

    Hi All,
    I have created a user 'Bitest' and group 'Bi_Test_Group'. Assigned the user to the group and the group to BI consumer role.
    I gave access to only procurement and spend catalog folder reports and Dashboards.
    When I login to BI Presentation Services with above created user and open any procurement and spent catalog dashboard i am getting below error in every report.
    Its BI Apps 7.9.6.3 installation.I gave read  access to group to all procurement and spent subject area.
    Error Codes: OAMP2OPY:OPR4ONWY:U9IM8TAC:OI2DL65P:OI2DL65P 
    Odbc driver returned an error (SQLExecDirectW). 
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 23006] The session variable, NQ_SESSION.OU_ORG, has no value definition.Please have your System Administrator look at the log for more details on this error. (HY000) 
    SQL Issued: {call NQSGetQueryColumnInfo('SELECT Fact."PO Amount" FROM "Procurement and Spend - Purchase Orders"')}
    SQL Issued: SELECT Fact."PO Amount" FROM "Procurement and Spend - Purchase Orders"
    Please help me in resolving this issue and getting results on Dashboard.
    Thanks in advance
    Thanks,
    Sandeep

    Check your query or connection pool settings etc

  • I have qualitynet either wired internet. I buy a card good for a month at a time, I can only log into one device at any one time.  Are there settings I can adjust on my airport express to allow all my devices to connect to wi-fi without having to log out.

    I have qualitynet either wired internet. I buy a card good for a month at a time, I can only log into one device at any one time.  Are there settings I can adjust on my airport express to allow all my devices to connect to wi-fi without having to log out of one devise before using another?

    Some Internet providers that limit access to a single device at a time do so by the device's hardware MAC address. If your ISP is one of those, you may be able to substitute the MAC address of your AirPort Express base station for the computer. I would suggest that you contact them to find out if this is allowable.

  • How to open multiple sessions for one user?

    Sorry for the silly question but I couldn't find it googling or searching through this forum, so I started wondering whether it's possible in SQL Developer to open multiple sessions for one user. I'm fairly new to SQL Developer and databases in general.
    When I open SQL Developer and connect to a schema, a worksheet opens named MYSCHEMA. If I disconnect then connect, another worksheet opens, named MYSCHEMA~1. I assumed these were different sessions, but if I enter into one worksheet:
    select col1 from my_table where row_id = 1
    -- shows result is 1
    update my_table set col1 = 0 where row_id = 1
    select col1 from my_table where row_id = 1
    -- shows result is 0and then enter into the second worksheet:
    select col1 from my_table where row_id = 1
    -- shows result is 0I would have expected the second worksheet to report 1 because the first worksheet did not issue a COMMIT. Thus, I'd guess both worksheets are the same session? Is that right? If so, how do I have two sessions open simultaneously (opened by same user)?
    I'm trying to implement the code at the bottom of this post, for which testing requires at least two sessions:
    Re: Help with Procedure
    Edited by: tem on Apr 18, 2012 6:44 AM

    Thanks Jim,
    Ctrl-Shift-N doesn't do anything for me. I'm on a mac -- by experimenting it looks like command-N does what you're looking for. This appears to be the same as left-clicking on the "New" icon in the top left corner of SQL Developer, or selecting from the pull-down menu, File > New.
    This opens "Create a New" window that appears to be a wizard. What would I select at this point? Options are: Database Connection, Table, View, Package, ...
    I don't see an option for "Worksheet".
    UPDATE:
    OK, I found that if I select "SQL File", a worksheet becomes available. Perhaps this is what you intended. However, when I issue the command
    select col1 from my_table where row_id = 1;it still returns 0 instead of 1. Hmm, maybe my initial assumption was wrong -- if this is a second (e.g. different) session, should I expect the changes made in the first session in SQL Developer (the UPDATE command) WITHOUT a commit, to be observed in this second session? I thought that changes made in one session were not viewable in a different session until these changes are committed in the first session? If so, how to show this in SQL Developer? I must be missing something basic here.
    Or, is SQL Developer issuing some sort of "auto-commit" without my knowledge?
    Edited by: tem on Apr 18, 2012 8:00 AM

  • Hi, I forgot my user password mac 10.9.4 I don't need it to log in but i need it to make changes, etc. It says a password hasn't been set for this account but it still asks for one when i click on the lock icon. can anyone help me? thx!

    Hi, I forgot my user password mac 10.9.4 I don't need it to log in but i need it to make changes, etc. It says a password hasn't been set for this account but it still asks for one when i click on the lock icon. can anyone help me? thx!

    This is a little confusing since you say you have forgotten your password and then the system says you have not entered a password.  Even with an Admin account you must have a password to install software.
    If you are using Mac OS X 10.7 or above, you can change the admin password by restarting holding the Command and R keys, from the menu bar select Utilities, then Terminal.  When the Terminal window opens, at the cursor type exactly:
    resetpassword
    and press Enter.  When the Reset Password window opens, select the internal hard drive, and then the user account.  Type a new password twice, leave the Hint blank, and then Save.  Accept the next dialog that opens, and at the bottom of the Reset Password window agree to resetting the home directory permissions.
    Quit the Reset Password window, go to the apple left side of the menu bar, Restart.
    And you have a new password for your account.

  • In private browsing not working in Firefox 3.6.12 If I open yahoomail one session for one account and if I open other session for yahoomail, it automatically opens the earlier mail account.

    In private browsing not working in Firefox 3.6.12 If I open yahoomail one session for one account and if I open other session for yahoomail, it automatically opens the earlier mail account. But if I want to use more than one yahoomail accounts, in private browsing is not working. Please suggest.

    That problem isn't related to Private Browsing specifically, that's how Firefox works with regards to multiple "sessions" with the same server - only one logon is allowed at any time. Try using one of these extensions to be able to run multiple session cookies.
    Multifox: <br />
    http://br.mozdev.org/multifox/ <br />
    Cookie Swap extension: <br />
    https://addons.mozilla.org/firefox/3255/ <br />
    Cookie Pie extension: <br />
    http://www.nektra.com/oss/firefox/extensions/cookiepie/

  • How to get number of failed log atempt for one user ( schema )

    Hi All,
    If one use try to connecte with wrrong password he will get this message ORA-1017. and the nombre of failed log atemp will increase.
    Then who can i check this number for one user in my date base ?
    Cheers
    Fayçal.

    Enable the audit by setting
    alter system set audit_trail=true scope=spfile;.
    Setting this parameter bounce of database
    Enable the following audit option
    SQL>AUDIT ALL BY ACCESS WHENEVER NOT SUCCESSFUL
    Then query AUD$ as the following example
    SQL> select returncode, action#, userid, userhost, terminal from aud$
    Regards,
    Anand

Maybe you are looking for