Cannot Access EM Oracle 10gAS 10.1.3

Hi
We are facing issue when logging to console of 10g Application Server Control. When we hit the url it is asking for username and password.
Intially, we tried using oc4jadmin as username and password, but didnt worked.
Secondly, we changed the oc4jadmin password in system-jazn-data.xml available at /appldev/inst/apps/DEV_oracleadmin/ora/10.1.3/j2ee/oafm/config and restarted the server. But on trying to login it is giving the error 401 Unauthorized.
Thirdly, we were able to login using ias_admin user and secret password. but it then doesn't show anything. seems there no role assined to it.
Could you please check for the issues, and let us know if any suggessions/workarounds.
Regards
Vimal
Edited by: 834773 on Oct 10, 2012 5:31 PM

Roy wrote:
Hi,
OAS 10gR3 with IDM 11g sounds interesting to me as i have never tried the same.
Anyways i belive your user store is OID. Follow this link to reset a OID user password:- http://onlineappsdba.com/index.php/2011/01/23/how-to-update-user-password-in-oid-single-account-or-bulk-command-line-or-gui/.
Roy,
Intially we tried to change password using ldapmodify command, it gave error message invalid credentials.
Next we tried to change the password through ODSM console, in ODSM we could not find the user oc4jadmin.

Similar Messages

  • Error: (0) cannot access directory oracle\jbo\common\appmgr; verify that directory is

    Help!
    Error: (0) cannot access directory oracle\jbo\common\appmgr; verify that directory is reachable from classpath and/or sourcepath.
    hi,
    I am Yun Dai P.R.China nanchang
    [email protected]
    when I compile the *.jsp, I always get this error message,
    My software settings:
    Jdeveloper 3.1;
    Oracle 8i RDBMS;
    Win2000 server (sp1);
    how can I solve this problem?
    featureBean.java and feature.jsp:
    feature.jsp:
    <%@ page contentType="text/html;charset=WINDOWS-1252"%>
    <%@ page language = "java" errorPage="errorpage.jsp" import = "java.util.*, oracle.jbo.*, javax.naming.*, oracle.jdeveloper.html.*, oracle.jbo.common.appmgr.*, oracle.jbo.html.databeans.*" %>
    <%
    // make sure the application is registered
    oracle.jbo.html.jsp.JSPApplicationRegistry.registerApplicationFromPropertyFile(session, "package1_Package1Module");
    %>
    <html>
    <head>
    <LINK REL=STYLESHEET TYPE="text/css" HREF="<%=session.getValue("CSSURL")%>">
    <title>Welcome to JDeveloper Auctions</title>
    </head>
    <body bgcolor="#FFFFFF" TEXT="black" BGCOLOR="#FFFFFF" LINK="#336699" ALINK="#6699CC" >
    <p><br>
    <table BORDER=0 CELLSPACING=0 CELLPADDING=4 WIDTH="100%" >
    <tr><td BGCOLOR="#336699"><b><font face="Arial" color="#FFFFFF" >Today's Featured Items</font></b></td></tr>
    </table>
    <br>
    <center>
    <!-- Features Begin -->
    <jsp:useBean class="auctionbeans.featureBean" id="features" scope="request" >
    <%
    features.initialize(application,session, request,response,out,"package1_Package1Module.srchItemsView");
    features.render();
    %>
    </jsp:useBean>
    <!-- Features End -->
    </center>
    </body> </html>
    featureBean.java
    package auctionbeans;
    import java.io.*;
    import oracle.jbo.*;
    import oracle.jdeveloper.html.*;
    public class featureBean extends oracle.jdeveloper.html.DataWebBeanImpl {
    public void render() {
    try
    out.println( "<td> <!-- left panel featured items -->");
    out.println( "");
    out.println( "<font face=verdana,arial,helvetica size=-1><b>Today's Featured Items...</b></font>");
    out.println( "<br clear=left>");
    out.println( "");
    out.println( "");
    out.println( "<!-- item 1 -->");
    out.println( "");
    out.println( "<p>");
    out.println( "<A href=\"srch_results.jsp?QRY=cat_id=10\">");
    out.println( "<font face=verdana,arial,helvetica size=-1><b>In Software</b></font><br>");
    out.println( "</a>");
    out.println( "<strong><font face=verdana,arial,helvetica color=#cc6600> Oracle JDeveloper 3.0</font></strong><br>");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "<table border=0 align=left cellpadding=0 cellspacing=0>");
    out.println( "<tr>");
    out.println( "<td>");
    out.println( "<A href=\"BidsView_Browse.jsp?ITEMROWINDEX=39\">");
    out.println( "<IMG border=0 src=\"/bc4jauctions/webapp/images/jdevlogo.gif\"></a>");
    out.println( "</td></tr><tr><td><center><font face=verdana,arial,helvetica size=-2>");
    out.println( "");
    out.println( "<A href=\"BidsView_Browse.jsp?ITEMROWINDEX=39\">Details</a>");
    out.println( "");
    out.println( "</font></center>");
    out.println( "</td></tr></table>");
    out.println( "");
    out.println( "<b>Oracle JDeveloper Suite 3.0</b> provides a complete and integrated Java development and deployment environment for");
    out.println( "creating enterprise-scale, high performance e-bus iness applications.");
    out.println( "<br>");
    out.println( "<br>");
    out.println( "Go to <A href=\"srch_results.jsp?QRY=cat_id=10\">Software</a>");
    out.println( "<br clear=left>");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "<!-- item 3 --></p>");
    out.println( "<p>");
    out.println( "<font face=verdana,arial,helvetica size=-1><b>");
    out.println( "<A href=\"srch_results.jsp?QRY=cat_id=1\">");
    out.println( "In");
    out.println( " Automotive</b></font><br></A>");
    out.println( "<strong><font face=verdana,arial,helvetica color=#cc6600> 2000 BMW Z8</font></strong><br>");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "<table border=0 align=left cellpadding=0 cellspacing=0><tr><td>");
    out.println( "<A href=\"BidsView_Browse.jsp?ITEMROWINDEX=1\">");
    out.println( "<IMG alt=\"\" border=0 src=\"/bc4jauctions/webapp/images/z8-sm.gif\" ></a>");
    out.println( "</td></tr><tr><td><center><font face=verdana,arial,helvetica size=-2>");
    out.println( "");
    out.println( "<A href=\"BidsView_Browse.jsp?ITEMROWINDEX=1\">Details</a>");
    out.println( "");
    out.println( "</font></center>");
    out.println( "</td></tr></table> <b>A 2000 BMW Z8 Featured in the new James Bond Thriller,");
    out.println( "<a href=\"BidsView_Browse.jsp?ITEMROWINDEX=14\">'The World is Not Enough'</a></b> is now available! Are you looking for the");
    out.println( " quintessence, the ultimate passion for driving? The");
    out.println( " answer to this is: The BMW 8 Series coup? This");
    out.println( " exquisite sports coupe turns mobility into an exhilarating");
    out.println( " experience. The 8 Series is fascinating as a design");
    out.println( " object, and is an impressive carrier of state-of-the-art");
    out.println( " technology.</p>");
    out.println( "<p>");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "Go to <A href=\"srch_results.jsp?QRY=cat_id=1\">Automotive</a>");
    out.println( "<br clear=left>");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "<!-- item 3 --></p>");
    out.println( "<p>");
    out.println( "<font face=verdana,arial,helvetica size=-1><b>");
    out.println( "<A href=\"srch_results.jsp?QRY=cat_id=1\">");
    out.println( "In");
    out.println( " Automotive</b></font><br></A>");
    out.println( "<strong><font face=verdana,arial,helvetica color=#cc6600> 1998 Acura NSX</font></strong><br>");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "<table border=0 align=left cellpadding=0 cellspacing=0><tr><td>");
    out.println( "<A href=\"BidsView_Browse.jsp?ITEMROWINDEX=2\">");
    out.println( "<IMG alt=\"BidsView_Browse.jsp?ITEMROWINDEX=2\" border=0 src=\"/bc4jauctions/webapp/images/acura-sm.jpg\" ></a>");
    out.println( "</td></tr><tr><td><center><font face=verdana,arial,helvetica size=-2>");
    out.println( "");
    out.println( "<A href=\"BidsView_Browse.jsp?ITEMROWINDEX=2\">Details</a>");
    out.println( " ");
    out.println( "</font></center>");
    out.println( "</td></tr></table><b>A 1998 Acura NSX");
    out.println( " has been put up for auction!</b> <br>A vehicle like the NSX comes along perhaps once in a generation. It");
    out.println( "represents everything that motivates a passionate driver to get into cars.");
    out.println( "It's the chance to design an exotic car from the ground up.</p>");
    out.p rintln( "<p> ");
    out.println( " ");
    out.println( " ");
    out.println( "");
    out.println( "Go to <A href=\"srch_results.jsp?QRY=cat_id=1\">Automotive</a>");
    out.println( "<br clear=left>");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "<!-- item 2 --></p>");
    out.println( "");
    out.println( "<p>");
    out.println( "<A href=\"srch_results.jsp?QRY=cat_id=12\">");
    out.println( "<font face=verdana,arial,helvetica size=-1><b>In Miscellaneous</b></font><br>");
    out.println( "</a>");
    out.println( "<strong><font face=verdana,arial,helvetica color=#cc6600> Lion King BroadWay Show Tickets</font></strong><br>");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "<table border=0 align=left cellpadding=0 cellspacing=0><tr><td>");
    out.println( "<A href=\"BidsView_Browse.jsp?ITEMROWINDEX=45\">");
    out.println( "<IMG alt=\"\" border=0 src=\"/bc4jauctions/webapp/images/lking-sm.jpg\" ></a>");
    out.println( "</td></tr><tr><td><center><font face=verdana,arial,helvetica size=-2>");
    out.println( "");
    out.println( "<A href=\"BidsView_Browse.jsp?ITEMROWINDEX=45\">Details</a>");
    out.println( "");
    out.println( "</font></center>");
    out.println( "</td></tr></table><b>Act now to get Lion King BroadWay Show Tickets!</b> <br>We have Lion King broadway tickets for the orchestra, mezzanine and balcony sections available");
    out.println( " for delivery today! The lion king has been the hottest broadway show ticket since it opened, and");
    out.println( " the demand has not let down since winning six Tony award nominations. The lion king on");
    out.println( " broadway is a fantastic show that you must see to appreciate.");
    out.println( "");
    out.println( "<p>");
    out.println( "Go to <A href=\"srch_results.jsp?QRY=cat_id=12\"><U><FONT");
    out.println( " color=#0000ff>Miscellaneous</FONT></U></a>");
    out.println( "<br clear=left>");
    out.println( "");
    out.println( "");
    out.println( "<br>");
    out.println( "<br>");
    out.println( "<center>");
    out.println( "<img src=\"/bc4jauctions/webapp/images/bc4jvisa.gif\">");
    out.println( "</center>");
    out.println( "<br>");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "</td>");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "");
    out.println( "<!-- Left panel end -->");
    out.println( "");
    } catch(Exception ex)
    throw new RuntimeException(ex.getMessage());
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by sarantos:
    I had the same problem!What you have to do is to remove this statement from the import of every jsp (in the very first tag).<HR></BLOCKQUOTE>
    I tried to do what you propose, it been compiled, but works not properly
    null

  • PDK 9.0.4 Error: cannot access class oracle.security.jazn.realm.RealmUser

    Dear Forum,
    we are developing portlets for Portal 3.0.9.8. We use the default JPDK version, that comes with the standalone Oracle OC4J 9.0.4 bundled with PDK.
    We want to improve our portlet by check the userid of the portal user. Therefore, we want to use oracle.portal.provider.v2.ProviderUser.getUser().getName()
    in a JSP.
    First - even before the method call - we included
    <%@ page import="oracle.portal.provider.v2.http.ServletProviderUser" %>
    But even this 1 statement gives in JDeveloper 9.0.4 with the libs pdkjava and ptlshare from the OC4J the following error:
    Error: cannot access class oracle.security.jazn.realm.RealmUser; file oracle\security\jazn\realm\RealmUser.class not found
    What is wrong here? What missing library we must include?
    Thank You in advance

    Problem solved. Need to include jazn.jar in project's lib-paths.

  • Cannot access class oracle.sql.BLOB;

    Hi,
    I am trying to save a .tif file into Oracle database. When I run the program in JDeveloper I get the following errors:
    Error(9,19): cannot access class oracle.sql.BLOB; file oracle\sql\BLOB.class not found
    Error(59,29): class BLOB not found in class mypackage1.ImageUpload
    package mypackage1;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.sql.*;
    import java.util.Properties;
    import oracle.sql.BLOB;
    Blob imgblob = rs.getBlob(1);
    OutputStream blobos = ((BLOB) imgblob).getBinaryOutputStream();
    ...................Any help is appreciated. Thanks

    What package do I need to include in my classpath for
    this. ThanksWhy don't you inspect your JAR files? Do you have WinZip? Open them with it and find the class.

  • Error: cannot access class oracle.security.jazn.realm.RealmUser

    Hi,
    I try to compile this simple jsp, which use jpdkv2, with jdeveloper 9i.
    But I obtain this error:
    Error: cannot access class oracle.security.jazn.realm.RealmUser; file oracle\security\jazn\realm\RealmUser.class not found
    Someone has an idea ?
    Source code of my jsp:
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@page import = "oracle.portal.provider.v2.render.PortletRenderRequest" %>
    <%@page import = "oracle.portal.provider.v2.http.HttpCommonConstants" %>
    <%
    PortletRenderRequest portletRequest = (PortletRenderRequest)
    request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    %>
    <HTML>
    <HEAD>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
    <TITLE>
    Hello World
    </TITLE>
    </HEAD>
    <BODY>
    <H2>
    The current time is:
    </H2>
    <P>
    <% out.println((new java.util.Date()).toString()); %>
    </P>
    <P>Hello: <%= portletRequest.getUser().getName() %></P>
    </BODY>
    </HTML>

    Please check if jazn.jar is available under your <YOUR_OC4J_PATH>\j2ee\home folder.
    This library files contains all the security related classes required by jpdkv2 providers.

  • Cannot access class oracle.jheadstart.model.adfbc.JhsApplicationModuleImpl;

    Error(2,38): cannot access class oracle.jheadstart.model.adfbc.JhsApplicationModuleImpl; file oracle\jheadstart\model\adfbc\JhsApplicationModuleImpl.class not found
    Hi,
    I am working on demo application from JHeadstart Developer's Guide (ch2). I got the above error when I tried to test the ADF BC.
    I checked the Project properties of the model and there was no jheadstart subfolder under oracle folder.
    I followed the install.html for JHeadstart download without problem.
    I am wondering if the .jar files from JHeadstart that I copied to Jdeveloper is where the issue is?
    Any help is much appreciated.
    Ahsan

    Sandra,
    Thanks for your prompt and helpful response.
    When you are at page 2-9 in the Getting Started chapter, you should not have run the Application Generator yet, therefore your Application Module should not extend JhsApplicationModuleImpl yet.
    CORRECT.
    Or did you explicitly set the ADF BC Base Class properties to JhsApplicationModuleImpl?
    YES I DID THIS.
    The paragraph that describes this does mention that JHeadstart sets it up for you, you don't have to do it yourself. Is that where the confusion originated?
    YES I UNDERSTOOD THIS ALSO BUT THE CONFUSION WAS NOT HERE.
    MY SUGGESTION: if you modified the first sentence on page 2-10 to something like (You need to 'run the JAG' before you do Right-click the "HRService"Application Module and choose 'Test' 'otherwise you will get an error') would resolve the confusion for me.

  • Error: cannot access directory oracle\jsp\runtime

    I got this error when try to add a existing project to JDeveloper 9.0.3.4
    Error: cannot access directory oracle\jsp\runtime; verify that directory is reachable from classpath and/or sourcepath
    can someone help me?
    thanks

    Xinwei -
    Make sure you have added the correct libraries to your project; adding JSP Runtime to your project should alleviate this error.
    Hope this helps,
    Lynn
    Java Tools Team

  • Error: cannot access class oracle.jbo.server.ViewObjectImpl;

    hi
    while compiling my project
    i m getting this error..
    Error: cannot access class oracle.jbo.server.ViewObjectImpl; file oracle\jbo\server\ViewObjectImpl.class not found
    please help.
    regards
    naveen

    Are the fwk class libraries included in jdev project ?
    Thanks
    Tapash

  • Cannot access directory oracle\jbo\Client

    Hi
    I got this error on trying out a batch client approach,
    Error(3,1): cannot access directory oracle\jbo\Client; verify that directory is reachable from classpath and/or sourcepath
    Can anyone advise where I can find this "oracle\jbo\Client"?
    Was it an installation or configuration problem?
    Many Thanks

    There are various predefined "BC4J .." libraries available in the ide. For exmaple If you are using the bc4j ejb client then goto
    Project Properties->Libraries and
    "BC4J EJB client" to the selected list.
    Dhiraj

  • Error: cannot access class oracle.jsp.runtime.HttpJsp; file oracle\jsp\runtime\HttpJs

    Hello,
    where is now oracle\jsp\runtime\HttpJsp.class located?
    thanks.
    Oleg.

    Same problem,
    Error: cannot access class oracle.jsp.runtime.HttpJsp; file oracle\jsp\runtime\HttpJsp.class not found
    Thanks
    aldo

  • After installing WLS, oracle cannot access directory

    We have installed WLS many times on RHEL 5.6 and cannot determine why, but on occasionthe oracle user loses the ability to access /opt directory. The directory structure is listed as only question marks.
    [oracle@racparticipant opt]$ ll
    total 36
    ?--------- ? ? ? ? ? IrsamInstall
    drwxr-xr-x 12 root root 4096 Jan 5 13:14 likewise
    drwx------ 2 root root 16384 Jan 5 12:46 lost+found
    ?--------- ? ? ? ? ? oracle
    ?--------- ? ? ? ? ? oraInventory
    ?--------- ? ? ? ? ? sun
    drwxr-xr-x 7 root root 4096 Jan 5 13:12 Symantec
    Once this occurs, the oracle user cannot access this directory or its subdirectories. If I login as root, everything is fine.
    We have not found anything online regarding this or anything useful...
    Ideas?

    Form the "id" output showing "context=user_u:system_r:unconfined_t:SystemHigh" I can see you have SELinux enabled.
    Unfortunately I'm not very familiar with SELinux. The Oracle recommendation is usually to have it disabled, not supported, at least prior to 11gR2. You may have to modify the security context of the /opt directory using the chcon command to allow access (http://wiki.centos.org/HowTos/SELinux). Firewall and SELinux are enabled by default and more changes are most likely required for Weblogic to work.
    What happens if you disable SELinux or set it to permissive and try again? You can disable SELinux by editing /etc/selinux/config and change the SELINUX line to SELINUX=disabled. Then reboot the system and try again. Alternatively you can also use the kernel "enforcing=0" parameter or use "echo 0 >/selinux/enforce" to temporarily disable enforcement, but I guess disabling it in /etc/selinux/config is easier.
    Edited by: Dude on Jan 8, 2012 1:46 AM

  • Cannot access Oracle BAM Start Page

    Although Oracle BAM installation completed without any error and I can start BAM related services without any issue, I cannot access Oracle BAM Start Page because of the following error.
    You are unable to connect to the Oracle BAM services. Contact your system administrator if the error persists. [ErrorSource="ActiveDataCache", ErrorID="ADCServerConnectionError"] The requested name is valid, but no data of the requested type was found [ErrorSource="mscorlib"] Debugging information: Oracle.BAM.ActiveDataCache.ServerUnavailableException: You are unable to connect to the Oracle BAM services. Contact your system administrator if the error persists. ---> System.Net.Sockets.SocketException: The requested name is valid, but no data of the requested type was found Server stack trace: at System.Net.Dns.GetHostByName(String hostName) at System.Net.Dns.Resolve(String hostName) at System.Runtime.Remoting.Channels.RemoteConnection..ctor(SocketCache socketCache, String machineAndPort) at System.Runtime.Remoting.Channels.SocketCache.GetSocket(String machineAndPort) at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.SendRequestWithRetry(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream) at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream) at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at Oracle.BAM.ActiveDataCache.Common.Core.IDataStore.Exists(String strDatasetID) at Oracle.BAM.ActiveDataCache.Remoting.ServerWrapper.Exists(String strDatasetID) --- End of inner exception stack trace --- at Oracle.BAM.ActiveDataCache.Remoting.ServerWrapper.Exists(String strDatasetID) at Oracle.BAM.ActiveDataCache.SystemType.LoadSchema(Boolean bCache) at Oracle.BAM.ActiveDataCache.Context.LoadUser() at Oracle.BAM.ActiveDataCache.Context..ctor(String strDomain) at Oracle.BAM.Web.WebPage.CreateContext(String strUserName) at Oracle.BAM.Common.Threading.SynchedHash.GetObject(String strKey, Object oLock) at Oracle.BAM.Common.Threading.SynchedHash.GetObject(String strKey) at Oracle.BAM.Web.WebPage.GetContext() at Oracle.BAM.StartPage.StartUp.Initialize()
    Do you have any idea ?
    Although I checked ActiveDataCache.log, it is empty ( looks no problem ).
    My environment as below.
    OS : Windows 2003 R2 Enterprise Edition Service Pack 1
    Oracle version : 10.1.0.2
    Oracle BAM version : 10.1.2
    Thanks in advance

    Hi,
    I've installed BAM 10.1.2 on Windows 2000 Professional. I have IIS 5.0 and Microsoft 1.1 .Net Framework installed on my PC. I'm able to use the Design Studio and Admin from Oracle BAM Enterprise Link. The installation completed successfully but I'm still not able to open the BAM start page.
    I see the error:
    Server Error in '/' Application.
    Configuration Error
    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
    Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
    Source Error:
    Line 263:          <!--authentication mode="Windows"/-->
    Line 264: <!--<authentication mode="None">-->
    Line 265: <authentication mode="Windows">
    Line 266:
    Line 267: </authentication>
    Source File: C:\OracleBAM\BAM\web.config Line: 265
    I've checked that OracleBAM appears as a virtual directory in IIS (from Personal Web Server) and there were no errors in installation. The Access Permissions is set to 'Read' and Application Permissions to 'Scripts'
    Should the authentication mode take any other parameters ?
    Let me know what can be done to resolve this issue.
    Thanks in advance !

  • Oracle error ORA-22905: cannot access rows from a non-nested table item

    Oracle error ORA-22905: cannot access rows from a non-nested table item
    Creating a report using oracle plsql code .
    Getting error ;
    Oracle error ORA-22905: cannot access rows from a non-nested table item
    when I am trying to pass data in clause in pl sql proc
    basically I have a proc which takes 2 parameters(a and b)
    proc (
    P_a varchar2,
    p_b varchar2,
    OUT SYS_REFCURSOR
    culprit code which is giving me  the error and on google they say cast it but I dont know how to do it in my context
    --where  id in (
    --        SELECT * FROM THE (SELECT p_cd_common.get_table_from_string(P_a) FROM dual)
    --        union
    --        SELECT * FROM THE (SELECT p_cd_common.get_table_from_string(P_b) FROM dual)
    data sample returned from this :SELECT * FROM THE (SELECT p_cd_common.get_table_from_string(P_a) FROM dual)
    'Abc','def',
    data sample returned from this;SELECT * FROM THE (SELECT p_cd_common.get_table_from_string(P_b) FROM dual)
    'fgd','fth',
    Any answers ?
    How to pass data in clause in a better way

    Why are you creating a duplicate post? I already asked you to post p_cd_common.get_table_from_string. In particular what is function return type and where it is declared. As I already mentioned, most likely function return type is declared in the package and therefore is PL/SQL type. And TABLE operator can only work with SQL types.
    SY.

  • Oracle 10G R2: Cannot access a table whose name is a reserved keyword

    Hello,
    Oracle 10G R2 database being accessed using Oracle 10G thin driver in Java.
    There is a table named GROUP in the db - GROUP is a reserved keyword of course.
    When I execute the statement (after getting the database metadata object from a java.sql.Connection to the DB):
    oracle.jdbc.OracleDatabaseMetaData.getIndexInfo(null, "MYDB", "GROUP", false, true)
    I get:
    Exception in thread "main" java.sql.SQLException: ORA-00903: invalid table name
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
    at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:207)
    at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:946)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1160)
    at oracle.jdbc.driver.OracleStatement.executeUpdateInternal(OracleStatement.java:1606)
    at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:1571)
    at oracle.jdbc.OracleDatabaseMetaData.getIndexInfo(OracleDatabaseMetaData.java:3485)
    When I execute the statement:
    oracle.jdbc.OracleDatabaseMetaData.getIndexInfo(null, "MYDB", "\"GROUP\"", false, true)
    the result set is empty
    What is the correct way for me to get the index info from the table named GROUP?
    Thanks,
    Sundeep

    user5486925 wrote:
    oracle.jdbc.OracleDatabaseMetaData.getIndexInfo(null, "MYDB", "\"GROUP\"", false, true)
    the result set is empty
    Which would suggest you are using the correct name as a quoted identifier. Presumably the code you are using works for other tables. But you might try variations in case.
    You can also query the database directly to get the index information rather than using the metadata.
    What is the correct way for me to get the index info from the table named GROUP?The correct way is to not use reserved words.

  • Cannot access Oracle instances

    Hi,
    I'm hoping I can get some help. I am currently trying to access an Oracle instance, however whenever I try to access the instance via Oracle appliactions (enterprise manager, SQLPLUS) or a third party application, the application just hangs. I get no error message returned whatsoever. I have also tried connecting to a 'non-existant' schema and I get back the message 'TNS could not resolve service name' which i would expect. Any help would be much appreciated.

    Hi
    sqlnet.ora and tnsnames.ora look ok.
    Used tnsping on the service and it has returned:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
    (HOST = cvge561a)(PORT = 1521))) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_N
    AME = GEOSTORE)))
    and from there it just hangs
    I have tried the NET configuration wizard and go through the steps of editing the current listener. I have selected NO to configure another listener and then the application just hangs again.
    This is all that is returned from trying to run sqlplus in the command prompt
    SQL*Plus: Release 9.2.0.6.0 - Production on Thu Jan 10 14:16:52 2008
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    From here, it does not connect to the DB, neither does it give an error message. However, if you put in the incorrect values, it will return:
    SQL*Plus: Release 9.2.0.6.0 - Production on Thu Jan 10 14:19:20 2008
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    ERROR:
    ORA-12154: TNS:could not resolve service name
    as expected.

Maybe you are looking for