Error while trying to query mbean

I am getting an error while trying to query MBeans:
<Mar 27, 2007 4:27:32 AM MDT> <Warning> <JNDI> <BEA-050001> <WLContext.close() was called in a different thread than the one in which it was created.>
ERROR: Tue Mar 27 04:27:32 MDT 2007MBeanHome being refreshed weblogic.management.NoAccessRuntimeException: User guest does not have access permission on weblogic.admin.mbean.MBeanHome
Bea doc says that the cause of this error is that the context is closed in a different thread than the one that created it. I have multiple thread that query the mbeans. The code that does the above is in a synchronized block. The code runs fine on some environments. On wls 8.1 it is giving the above error.
Anyone faced this issue? Any ideas, suggestions?
thanks a lot
Jain

Hi Daniel
Thanks for your help. Here is some more info.
I have another application that goes out and tries to get the MBeanHome. Here is the code:
Environment env = new Environment();
env.setProviderUrl(t3URL);
env.setSecurityPrincipal(t3UserName);
env.setSecurityCredentials(t3Password);
ctx = env.getInitialContext();
mBeanHome = (MBeanHome) ctx.lookup MBeanHome.ADMIN_JNDI_NAME);
This code runs fine in the app. where it is not threaded. But the same code when run in a separate thread is throwing the error. It is happening only in wbl 8.1. In wls 6.1 it runs fine. It is strange. Any clues will be appreciated.

Similar Messages

  • Error while trying to use '{' in the query

    Hi,
    The below mentioned query is giving Error while trying to use '{'
    Query:
    select s,x from table(SEM_MATCH(
    '{?s rdf:type <http://www.cs.com/sbip/dwh/mdm/data_modeling#Base_Term> .
    ?s ?p ?x}',
    SEM_Models('foundation'),
    SEM_RuleBases('OWLPRIME'),
    SEM_ALIASES(SEM_ALIAS('dm','http://www.cs.com/sbip/dwh/mdm/data_modeling#'),
    SEM_ALIAS('owl','http://www.w3.org/2002/07/owl#')), null, 'INVALID'))
    where regexp_like(x,'Customers','i');
    Error details:
    ORA-29532: Java call terminated by uncaught Java exception: oracle.spatial.rdf.server.TokenMgrError: Lexical error at line 1, column 1. Encountered: "{" (123), after : ""
    ORA-06512: at "MDSYS.RDF_MATCH_IMPL_T", line 178
    ORA-06512: at "MDSYS.RDF_MATCH_IMPL_T", line 67
    ORA-06512: at line 4
    I am unable to use Option, Filter in query.
    Any solution?
    Please let me know do i need to apply any patch?
    Note: I am using Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    Regards,
    Kavitha.

    Hi,
    For OPTIONAL support in 11.1.0.7.0, you need the following patch
    Patch 7600122: CURLY BRACE SYNTAX,VIRTUAL MODELS, NETWORK INDEXES AND HINTO FRAMEWORK SUPPORT
    Support for SPARQL FILTERs in SEM_MATCH is not available for 11.1.0.7.0. You will need version 11.2.0.1.0 or later for FILTER support. With 11.2.0.1.0, we recommend that you apply our latest patch set:
    Patch 9819833: SEMANTIC TECHNOLOGIES 11G R2 FIX BUNDLE 2
    All of the above patches are available through My Oracle Support.
    Thanks,
    Matt

  • Error while trying to retrieve text for error ORA-12154

    Hello,
    I try to install php 5.1.2 on a WIN2003 server and IIS6 with the OCi8 extension without success from several days.
    On my server I've a 920 oracle client and the 10.1 instant client, I copy the tnsnames.ora in the instant client's directory.
    I've declare many environnement variables :
    - NLS_LANG : AMERICAN_AMERICA.WE8MSWIN1252
    - TNS_ADMIN : E:\...\oracle\instantclient_10_1
    - ORA_NLS33 : E:\..\oracle\920\ocommon\nls\ADMIN\DATA
    With the php command line the oci_connect function correctly works : the php command line use the instant client's tnsnames.ora. I can query with success my database.
    When I try to load a web php script (the same as the php command line script) I have the following error " Error while trying to retrieve text for error ORA-12154" ( oci_connect( $user , $pass, $sid ) . The $sid variable have the value of an alias declared in the tnsnames.ora.
    If I replace the sid's alias by something like this " (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=xx.xx.xx.xx)(PORT=1521)))(CONNECT_DATA=(SID=xx)" in the oci_connect function, I have another error : Error while trying to retrieve text for error ORA-12705.
    A web page with the phpinfo function displays the following messages about oci8 extension : It seems to be correct.
    oci8
    OCI8 Support enabled
    Revision $Revision: 1.269.2.8 $
    Active Persistent Connections 0
    Active Connections 0
    Temporary Lob support enabled
    Collections support enabled
    Do you have any idea ? Thanks a lot

    The web server is not seeing the Oracle environment correctly. You need to set PATH to the instant client libraries. ORA_NLS33 is not used for Oracle 10g clients. Perhaps you have some library conflict with two versions of Oracle on the machine?
    These may help:
    http://www.oracle.com/technology/tech/php/htdocs/php_troubleshooting_faq.html#envvars
    http://blogs.oracle.com/opal/2006/05/01

  • Error while trying to create tree using same EMP how to tutorial

    Hi,
    I get the following error while trying to create a sample tree similar to the one
    posted in the how-tos web page.
    The final query that creates the tree is also as follows
    The Current Query shown in my apex window and the one on the howtos tutorial is as follows
    select "EMPNO" id,
    "MGR" pid,
    "ENAME" name,
    null link,
    null a1,
    null a2
    from "RJOSEEMPCLUB"."EMP"
    where DEPTNO = 1
    The error is as follows
    ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    Debug:
    1: begin
    2: wwv_flow_wiz_confirm.create_tree (
    3: p_flow_id => :FB_FLOW_ID,
    4: p_region_template => replace(:F4000_P112_REGION_TEMPLATE,'%'||'null%',null),
    5: p_start_option => :F4000_P112_START_OPTION,
    6: p_owner => :F4000_P112_OWNER,
    7: p_table_name => :F4000_P112_TABLE,
    8: p_id => :F4000_P112_ID,
    9: p_pid => :F4000_P112_PID,
    10: p_name => :F4000_P112_NAME,
    11: p_link_option => :F4000_P112_LINK_OPTION,
    12: p_link_page_id => :F4000_P112_LINK_PAGE_ID,
    13: p_link_item => :F4000_P112_LINK_ITEM,
    14: p_where => :F4000_P112_WHERE,
    15: p_order_by => :F4000_P112_ORDER_BY,
    16: p_page_id => :F4000_P112_PAGE_ID,
    17: p_page_name => :F4000_P112_PAGE_NAME,
    18: p_tab_set => :F4000_P112_TAB_SET,
    19: p_tab_text => :F4000_P112_TAB_TEXT,
    20: p_region_name => :F4000_P112_REGION_NAME,
    21: p_tree_name => :F4000_P112_TREE_NAME,
    22: p_tree_type => :F4000_P112_TREE_TYPE,
    23: p_max_levels => :F4000_P112_MAX_LEVELS);
    24: end;

    Hi Kart,
    If you have the sample EMP table, the DEPTNO values are 10, 20 or 30.
    Did you specify a root value for the tree?
    Regards
    Andy

  • Error while trying to retrieve reports

    Hi ,
    I am getting the below error while trying to retrieve reports.
    "5203:ADM Error proceessing results from query:The dataform grid is invalid. Verify that all members selected are in Essbase. "
    Can any one help me know the cause of this error and how to get rid of it?
    Thanks in advance

    It sounds like you have a grid (visible or hidden) with an invalid member name in it. IT could be caused by the member being hard coded into a row or column and then the member being deleted or renamed in the outline. The only way to fix it is to check each member anme in the grids and determine what changed.

  • Error While Trying to Connect Weblogic

    im gettting an error while trying to connect server on jdeveloper 11.1.1.1.5
    The server is on LAN and installed on other PC I can also access the console and login correctly to console. After doing application server connection and testing the connection it gives me following error
    Testing JSR-160 Runtime ... failed.
    Cannot establish connection.
    Testing JSR-160 DomainRuntime ... skipped.
    Testing JSR-88 ... skipped.
    Testing JSR-88-LOCAL ... skipped.
    Testing JNDI ... skipped.
    Testing JSR-160 Edit ... skipped.
    Testing HTTP ... success.
    Testing Server MBeans Model ... skipped.
    Testing HTTP Authentication ... success.
    2 of 9 tests successful.
    any solution do u have
    regards
    Edited by: user5386925 on 22.Haz.2011 01:49

    Disable proxy settings in JDeveloper (Tools -->Preferences --> Web Browser and Proxy).
    Then, re-start JDeveloper IDE and re-test your application server Connection,it should work fine.

  • Error while trying to start OC4j11g in standalone mode

    I get the following error while trying to start OC4j 11g 11.1.1 in standalone mode:
    Error initializing server: Shared library "oracle.fabric.runtime" could not be found.
    FYI, I have the imports for oracle.fabric, oracle.fabric.interceptors in server.xml already.
    Any thoughts?
    Thanks
    Ramesh

    I deployed the map example app that Oracle posted online (GEOTAGS - Oracle Open World Conference in 2007) on the JDeveloper's embeded OC4J 11g Tech Preview 3. The deployment went well. However, it doesn't seem to work when I go to the main.jsp (http://localhost:8888/geotags/main.jsp). The following is the error. Please tell me what I need to do to solve this problem.
    C:\jdeveloper11\jdev\bin>rem ===================================================
    ========================
    Starting OC4J with command: "C:\devtools\Java\jdk1.5.0_14\\bin\java.exe" -XX:Max
    PermSize=512m -jar oc4j.jar
    Apr 4, 2008 5:23:57 PM oracle.j2ee.xml.XMLMessages warningException
    WARNING: Exception Encountered
    08/04/04 17:24:05 WARNING: ApplicationServer.enableOC4JDocumentChangeNotifier Al
    ternate DocumentChangeNotifier in use!
    08/04/04 17:24:05 JMS server will listen on port 9127.
    08/04/04 17:24:06 oracle.j2ee.jms.oc4j.JMSServer startup complete
    08/04/04 17:24:08 Don't know how to map non-serializable type: interface javax.m
    anagement.j2ee.statistics.Stats to Open MBean Type.
    08/04/04 17:24:09 WARNING: J2EE JNDI-00002
    08/04/04 17:24:09 WARNING: No javax.jms.ConnectionFactory found at null
    08/04/04 17:24:12 WARNING: oracle.j2ee.jmsrouter.RouterException: JMS Destinatio
    n, {0}, does not exist
    08/04/04 17:25:03 Oracle Containers for J2EE 11g (11.1.1.0.0) initialized.
    08/04/04 17:32:29 geotags: JspServlet error: Servlet unable to dispatch to the f
    ollowing requested page: The following exception occurred:oracle.jsp.parse.JspPa
    rseException: /main.jsp: Line # 4, <%@ taglib uri="http://java.sun.com/jsf/core"
    prefix="f"%>
    Error: Internal error, registered Directive handlers MUST descend from JspDirect
    ive or one of its subclasses: {0}
    08/04/04 17:32:29 Unable to dispatch JSP Page : The following exception occurred
    :oracle.jsp.parse.JspParseException: /main.jsp: Line # 4, <%@ taglib uri="http:/
    /java.sun.com/jsf/core" prefix="f"%>
    Error: Internal error, registered Directive handlers MUST descend from JspDirect
    ive or one of its subclasses: {0}

  • Serious system error while executing the query: java.lang.OutOfMemoryError

    From ALSB, we are trying to insert records in a table, by calling the ALDSP webservice. It is working fine when the xml (ie., given as input to the ALDSP webservice) is small. But facing the following error when the input xml size is large.
    <ALDSP> <BEA-000000> <Product> <Serious system error while executing the query:
    {ld:ABC/Test}createTest:1
    java.lang.OutOfMemoryError: Java heap space
    We do not want to increase the heap size. Is there any other way we can solve this problem?

    In logical dataservice of ALDSP we have created a procedure called createTest, which is used to insert mulitple rows in the table. We have created a webservice for that logical DataService.
    Using the ALSB, we are calling the webservice -> createTest Operation and we are passing xml as input to that createTest function.
    Input xml:
    <ns1:createTest>
    <ns1:createTemps>
    <ns0:createTemp>
         <ns0:field1>1</ns0:field1>
              <ns0:field10>test1</ns0:field10>
    </ns0:createTemp>                
    <ns0:createTemp>
         <ns0:field1>2</ns0:field1>
              <ns0:field10>test2</ns0:field10>
    </ns0:createTemp>
         </ns1:createTemps>     
    </ns1:createTest>
    each ns0:createTemp represent a row that need to be inserted in the table.
    When the number of ns0:createTemp is less ( when the number of rows that need to be inserted is less) then no problem occurs, it is getting inserted properly. But when there are more number of ns0:createTemp then we are getting the following error
    <ALDSP> <BEA-000000> <Product> <Serious system error while executing the query:
    {ld:ABC/Test}createTest:1
    java.lang.OutOfMemoryError: Java heap space

  • Excel service and OWA - getting ERROR while trying to open/edit Excel documents

    Hi All,
    We have configured SharePoint 2013 with Excel Service and OWA (Office Web Apps).
    After configuring, we are able to view/edit Word or PowerPoint documents from the browser (as OWA is configured). But we are getting errors while trying to open/edit Excel documents.
    We are not able to view/edit the excel workbook from the browser (through OWA).
    To open the excel in the browser, decision has to be taken at the farm level on what to be used – Excel Service or OWA Server? Is it possible to do setting at site collection level?
    Error details are given below:
    Event code: 3005
    Event message: An unhandled exception has occurred.
    Event time: 3/25/2013 1:29:08 PM
    Event time (UTC): 3/25/2013 7:59:08 AM
    Event ID: fc2e0530f493493896e6c8b6297a0423
    Event sequence: 10
    Event occurrence: 3
    Event detail code: 0
    Application information:
        Application domain: /LM/W3SVC/2/ROOT/x-1-130086717598089315
        Trust level: Full
        Application Virtual Path: /x
        Application Path: C:\Program Files\Microsoft Office Web Apps\ExcelServicesWfe\
        Machine name: VHYDMANTHSTP-02
    Process information:
        Process ID: 1252
        Process name: w3wp.exe
        Account name: NT AUTHORITY\NETWORK SERVICE
    Exception information:
        Exception type: ArgumentException
        Exception message: An entry with the same key already exists.
       at System.Collections.Generic.TreeSet`1.AddIfNotPresent(T item)
       at System.Collections.Generic.SortedDictionary`2..ctor(IDictionary`2 dictionary, IComparer`1 comparer)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.GetInstalledUICultures()
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.IsUICultureSupported(String cultureTag, CultureInfo& cultureInfo)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentUICulture(String cultureTag, Boolean useOleo, Boolean allowCustomFallback)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentUICultureFromFrontEnd(String uiCultureTag, Boolean allowFallback)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentCulturesFromFrontEnd(String uiCultureTag, String dataCultureTag)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.Microsoft.Office.Excel.Server.Host.IEwaHost.SetCurrentCulturesFromContext(HttpContext context)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.Microsoft.Office.Excel.Server.Host.IEwaHost.PreProcessRequest(HttpContext context)
       at Microsoft.Office.Excel.WebUI.XlPreview.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Request information:
        Request URL:
    http://mysrevr/x/_layouts/xlpreview.aspx?ui=en-US&rs=en-US&WOPISrc=http://myservernames1/_vti_bin/wopi.ashx/files/f36d669ceb814d67bdad0e1e1f98e466&wdSmallView=1
        Request path: /x/_layouts/xlpreview.aspx
        User host address: 10.81.138.92
        User: 
        Is authenticated: False
        Authentication Type: 
        Thread account name: NT AUTHORITY\NETWORK SERVICE
    Thread information:
        Thread ID: 13
        Thread account name: NT AUTHORITY\NETWORK SERVICE
        Is impersonating: False
        Stack trace:    at System.Collections.Generic.TreeSet`1.AddIfNotPresent(T item)
       at System.Collections.Generic.SortedDictionary`2..ctor(IDictionary`2 dictionary, IComparer`1 comparer)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.GetInstalledUICultures()
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.IsUICultureSupported(String cultureTag, CultureInfo& cultureInfo)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentUICulture(String cultureTag, Boolean useOleo, Boolean allowCustomFallback)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentUICultureFromFrontEnd(String uiCultureTag, Boolean allowFallback)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentCulturesFromFrontEnd(String uiCultureTag, String dataCultureTag)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.Microsoft.Office.Excel.Server.Host.IEwaHost.SetCurrentCulturesFromContext(HttpContext context)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.Microsoft.Office.Excel.Server.Host.IEwaHost.PreProcessRequest(HttpContext context)
       at Microsoft.Office.Excel.WebUI.XlPreview.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    I have the same issue while opening the file , i have checked every thing twice. but unable to fix this thing . can any one help.
    One more thing which is i am wondering none of the MS representative replied on this post which is originally posted on March 27-2013.
    is microsoft alive??
    Imran Bashir Network Administrator MCP, JNCIA-EX,ER,JNIOUS +92-333-4330176

  • "Error while trying to sync Audio and Midi"

    "Error while trying to sync Audio and Midi" I have been having this problem now and then for some time. Now, I can't run any audio files without a lot of popping. I tried all the suggestions on the support document for this issue. I even downloaded new drivers from Motu for my Express XT Midi interface and my 828MK11 Audio interface. There has been no change. HEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEELP!!!!!!
    Also, I have tried reseting the 828 to factory default and that does not help.
    Jonathan Jenkins

    Hi,
    I solved my own problem by resetting the factory presets:
    Follow these steps to restore the MOTU 828mkII to Factory Default Settings.
    Disconnect the firewire cable from the 828mkII
    Press the Setup knob
    Turn the Setup knob all the way to the right
    Press the Select knob
    Press the Value knob
    Power off the interface and plug the firewire cable back in
    Power the interface back on
    The same steps can be followed to restore the Factory Default Settings on a Traveler.
    -Robert

  • "Error While Trying To Synchronise Audio And Midi"...non-tempo event found

    "Error While Trying To Synchronise Audio And Midi"...non-tempo event found
    now when I shutdown Logic And relaunch the Project, the notes hang and "WHAT THE FRIIGIN"
    (this was a bug way back when Logic7 was first released)
    this is bad!
    SvK

    Thanks Steven.
    big help. In our session we keep getting this problem where the song counter stops, the music keeps playing and we get an error message saying:
    Non Tempo-Event found in Sync Reference
    We looked in the tempo list and somehow there was a tempo event of 0.00 tempo in there.
    We deleted it, got the same error message, but the prob seems to be fixed.
    Apple, please fix this!
    Thanks
    Felix

  • Error while trying to save layout:Console layout (Access is denied)

    Got an error while trying to save changes made in the layout,
    The error message is
    1) 'Preference.properties' (Access is denied), In the details button 'java.io.FileNotFoundException...'
    2) and on continuing futher, another message displayed is - 'Error while trying to save layout:Console layout (Access is denied)
    There is no Oracle Error Number associated with this message. It is a Oracle Warehouse Builder Error
    I have checked that
    1) this file exist in owb home/owb/bin/admin/Preference.properties
    2) It is not read only
    3) tried to set a parameter REPOS_DB_VERSION_ALLOWED=Oracle 10g
    as specified in the Installation and Admin Guide
    Please can you help?

    Also, not that you shouldn't get to the bottom of this, but you should be aware that any of your development or mapping changes are likely still being saved to the respository.
    In other words, you could continue working and just ignore these errors. We ran into this situation (it was indeed simply file permissions on the owb directories), but we noticed right away that at least our actual OWB work was in fact still being committed to the respository every time.

  • HT4436 When trying to sign in I keep getting the error message, "iCloud encounterd a error while trying to connect to the server". How can I get signed in?

    When trying to sign in to iCloud, I always get the message, iCloud has encountered a error while trying to connect to the server. How do I get in????

    Hello,
    Try following step and check if issue gets resolved or not.
    Find Acrobat.exe on your computer.  Right click the program and click 'Troubleshoot Compatibility'.  Set the compatibility to Windows XP service pack 3.
    Regards,
    Anoop

  • Error while trying to remove an object with dsrm command

    hello,
    i get an error while trying to delete an object computer with the command line tool, DSRM. i get this view:
    actually, it's a one of hundreds of commands, that help cleaning the active directory of the obsolete objects. it is saying : "Access Denied" (in french, accès refusé). i say that the account used to execute this command, is a member of domain
    admins group, and enterprise admins group too. so i cannot believe it's a mater of some missing rights... :/
    thanks in advance, for your help,
    regards
    Lotfi BOUCHERIT

    Hi,
    I was able to reproduce your issue when using a non-elevated command prompt in a 2008R2 box. So please try to elevate your command prompt and your command will most likely go through.
    In addition to above, I'd suggest you look in to PowerShell instead, which in most cases is more effective.(and doesn't need to run in an elevated prompt to make AD-Changes)
    The same as above could be done with the powershell cmdlet Remove-AdComputer.
    Remove-AdComputer -Identity "Distinguishedname"
    Hope this helps you!
    Microsoft Certified Trainer
    MCSE: Desktop, Server, Private Cloud, Messaging
    Blog: http://365lab.net

  • "error while trying to synchronize Audio and MIDI"

    Hello All,
    Just got Logic 8... installed (as upgrade from 7)
    I keep (consistantly) getting this:
    "error while trying to synchronize Audio and MIDI" when in play or record mode... has anyone any ideas regarding a 'fix' or maybe even to point out stupidity on my part re settings; I'm open to comments here and would obviously love to get this fixed/sorted out.
    System is basically: G5 Dual 1.8/OS 10.4.10/MOTU 828 Mk2
    Thanks in advance.

    Hi,
    I first did what the manual was telling me but that made no difference as the sync would drop within 5 to 15 bars... very frustrating.
    Since my original posting I have spoken with MOTU regarding this Audio/MIDI sync problem. There is evidently a simple reset that needs to be done (that is if like me you are using a MOTU 828 Mk2 interface), you have to toggle through both digital input and output settings in the Audio Control Panel. The problem then goes away.
    I hope that is helpful. I think that this probably is relevant to all MOTU interfaces, or is at least worth trying if you are having this problem... maybe other manufacturers too... ?
    Cheers, Kick

Maybe you are looking for