Cannot access VARCHAR2s on Oracle 9i

After upgrading from Oracle 8.1.7 to Oracle 9, I get an
exception when using JSP/JDBC to read data from columns
containing VARCHAR2s. I can successfully read columns
containing BLOBs, CLOBs, NUMBERs, and RAWs.
I still can select VARCHAR2 columns by using SQL*Plus so the
problem is with JDBC and not the database.
I get the following exception message:
java.sql.SQLException: ORA-00600: internal error code,
arguments: [ttcgcshnd-1], [0], [], [], [], [], [], []
The following code that worked on Oracle 8 fails to execute
properly on Oracle 9:
OracleResultSet rs = null;
String sql = "select name from users where id > 100";
rs = (OracleResultSet)s.executeQuery(sql);
I'm using Windows 2000, Tomcat 3.2.2, Java 1.3, and the latest
version of OracleJSP.
Has anyone run into this problem?
I've also entered this same query on the Database-General
discussion fourm.

I'm running into the same problems while running the XSQLservlet.
ORA-00600: internal error code, arguments: [ttcgcshnd-1], [0], [], [], [], [], [], []
PS It also fails on Char
It almost looks like this problem is more specifically related to the Oracle JDBC driver. All other applications from sqlplus to Toad no matter which version have no problem translating the data. This of course is a preliminary evaluation. I'm still looking into the problem

Similar Messages

  • Cannot access VARCHAR2s on Oracle 9i using JSP/JDBC

    After upgrading from Oracle 8.1.7 to Oracle 9, I get an
    exception when using JSP/JDBC to read data from columns
    containing VARCHAR2s. I can successfully read columns
    containing BLOBs, CLOBs, NUMBERs, and RAWs.
    I still can select VARCHAR2 columns by using SQL*Plus so the
    problem is with JDBC and not the database.
    I get the following exception message:
    java.sql.SQLException: ORA-00600: internal error code,
    arguments: [ttcgcshnd-1], [0], [], [], [], [], [], []
    The following code that worked on Oracle 8 fails to execute
    properly on Oracle 9:
    OracleResultSet rs = null;
    String sql = "select name from users where id > 100";
    rs = (OracleResultSet)s.executeQuery(sql);
    I'm using Windows 2000, Tomcat 3.2.2, Java 1.3, and the latest
    version of OracleJSP.
    Has anyone run into this problem?
    I've also entered this same query on the Java-SQLJ/JDBC
    discussion fourm.

    I4ve installed Oracle 9i on RedHat 7.2.
    We develop with WebObjects and JBuilder.
    When i try to connect to the database via the EOModeller (JDBC) i got the same error:
    Stack Trace:
    JDBCAdaptorException: ORA-00600: Interner Fehlercode, Argumente: [ttcgcshnd-1], [0], [], [], [], [], [], []
    Then, i started creating and droping tables in the 9i Database >> it works fine.
    Can someone give an solution for this problem??

  • Cannot access APEX on Oracle 11g XE Beta on Windows 7

    Hello,
    I installed the Oracle 11g XE Beta on Windows 7 (32 bit). The installation went ok, and I am able to connect to the enterprise manager website using system/password and also using SQL Plus.
    I didn't see a link to APEX setup as part of the install and hence tried http://localhost/pls/apex to launch APEX but an error page shows up.
    Are there any post-install steps that I may have missed? Any pointers appreciated.
    Thanks,
    Manish

    Check your listener status output (in a command/dos box) , it should have the http endpoint port number and host bits for the apex URL. It should not be port 80 which is what you get when the port is not specified.
    $ lsnrctl status
    ... Listeneing Endpoints...
    ... PROTOCOL=tcp)(HOST=<your hostname>)(PORT=8080))(Presentation=HTTP) ...Given that output, apex URL would be http://<your hostname>:8080/apex

  • Cannot connect properly to Oracle on Linux from Windows

    Good day all,
    I’ve got 2 virtual machines running on my Mac:
    -     Centos 5.4 with Oracle 11gR2
    -     Windows 2003 server with Oracle 10gR2
    From Linux box I have access to Oracle database on Windows box (both directly and via a database link), however from Windows I have problems accessing the oracle database on the Linux box.
    From Windows, if I try to set up a connection using Oracle’s SQL Developer using connection type “Basic”, I get “IO Error: The Network Adapter could not establish the connection”. When I use “TNS”, then it works.
    From the linux box it all works fine as the “oracle” user, but when I log on as another user (in this case “informatica”) it doesn’t work properly any more.
    To sketch what both environments look like.
    Windows:
    -     Machine name WS2003Ora10g
    -     Etc/hosts
    o     127.0.0.1 localhost
    o     #loopback adapter
    o     192.168.12.100     localhost
    o     #network adapter
    o     192.168.12.10     WS2003Ora10g
    o     # external machine
    o     192.168.12.110     ilmserver
    -     system variables
    o     TNS_ADMIN, set to network/admin path in Oracle home dir
    listener
    C:\Documents and Settings\Administrator>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 24-AUG-2011 17:38:06
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
    Start Date 24-AUG-2011 16:29:33
    Uptime 0 days 1 hr. 8 min. 33 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\listener.ora
    Listener Log File C:\oracle\product\10.2.0\db_1\network\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=WS2003Ora10g)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "ora10gr2" has 1 instance(s).
    Instance "ora10gr2", status READY, has 1 handler(s) for this service...
    Service "ora10gr2XDB" has 1 instance(s).
    Instance "ora10gr2", status READY, has 1 handler(s) for this service...
    Service "ora10gr2_XPT" has 1 instance(s).
    Instance "ora10gr2", status READY, has 1 handler(s) for this service...
    The command completed successfully
    C:\Documents and Settings\Administrator>lsnrctl services
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 24-AUG-2011 17:40:43
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "ora10gr2" has 1 instance(s).
    Instance "ora10gr2", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:25 refused:0 state:ready
    LOCAL SERVER
    Service "ora10gr2XDB" has 1 instance(s).
    Instance "ora10gr2", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1002 state:ready
    DISPATCHER <machine: WS2003ORA10G, pid: 2852>
    (ADDRESS=(PROTOCOL=tcp)(HOST=WS2003Ora10g)(PORT=1031))
    Service "ora10gr2_XPT" has 1 instance(s).
    Instance "ora10gr2", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:25 refused:0 state:ready
    LOCAL SERVER
    The command completed successfully
    Linux
    -     Machine name ilmserver
    -     Etc/hosts
    o     127.0.0.1          localhost.localdomain localhost
    o     ::1          localhost6.localdomain6 localhost6
    o     192.168.12.1     routerip     rtrip
    o     192.168.12.110     ilmserver     ilmsvr
    o     192.168.12.10     WS2003Ora10g     winora
    system variables (in bashprofile)_
    o     export PATH=$PATH:/usr/java/jdk1.7.0/bin
    o     export PATH=$PATH:/usr/sbin
    o     export PATH=$PATH:/sbin
    o     export JAVA_HOME=/usr/java/jdk1.7.0
    o     PATH=$PATH:$HOME/bin
    o     export PATH
    o     export ORACLE_HOME=/home/oracle/app/oracle/product/11.2.0/dbhome_1
    o     export ORACLE_BASE=/home/oracle/app/oracle
    o     export ORACLE_SID=orcl
    o     export TNS_ADMIN=$ORACLE_HOME/network/admin
    o     export ORACLE_HOSTNAME=ilmserver
    o     export PATH=$PATH:$ORACLE_HOME/bin
    Both the "oracle" and the "informatica" user have these environment variables.
    listener
    Logged in as “oracle” user:*
    [oracle@ilmserver ~]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 24-AUG-2011 19:12:35
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 24-AUG-2011 17:30:39
    Uptime 0 days 1 hr. 41 min. 55 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File /home/oracle/app/oracle/diag/tnslsnr/ilmserver/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "orcl" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully
    [oracle@ilmserver ~]$ lsnrctl services
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 24-AUG-2011 19:13:28
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    Services Summary...
    Service "orcl" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:19 refused:0 state:ready
    LOCAL SERVER
    Service "orclXDB" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: ilmserver, pid: 9648>
    (ADDRESS=(PROTOCOL=tcp)(HOST=ilmserver)(PORT=52395))
    The command completed successfully
    But logged in as “informatica” user I get following:
    [informatica@ilmserver ~]$ lsnrctl status
    bash: lsnrctl: command not found
    [informatica@ilmserver ~]$ lsnrctl services
    bash: lsnrctl: command not found
    even though the oracle bin directory sits in PATH.
    Pinging from windows:
    C:\Documents and Settings\Administrator>ping ilmserver
    Pinging ilmserver [192.168.12.110] with 32 bytes of data:
    Reply from 192.168.12.110: bytes=32 time=1ms TTL=64
    Reply from 192.168.12.110: bytes=32 time<1ms TTL=64
    Reply from 192.168.12.110: bytes=32 time<1ms TTL=64
    Reply from 192.168.12.110: bytes=32 time<1ms TTL=64
    Ping statistics for 192.168.12.110:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 1ms, Average = 0ms
    That works fine.
    Telnet from Windows:
    C:\Documents and Settings\Administrator>telnet 192.168.12.110 1521
    Connecting To 192.168.12.110...Could not open connection to the host, on port 1521: Connect failed
    This result is the same for either just having port 1521 open, or turning the Linux firewall off altogether. Also same when using IP address.
    Just to be complete, here are the results from the Linux box.
    *[oracle@ilmserver informatica]$ ping WS2003Ora10g*
    PING WS2003Ora10g (192.168.12.10) 56(84) bytes of data.
    64 bytes from WS2003Ora10g (192.168.12.10): icmp_seq=1 ttl=128 time=1.63 ms
    64 bytes from WS2003Ora10g (192.168.12.10): icmp_seq=2 ttl=128 time=0.222 ms
    64 bytes from WS2003Ora10g (192.168.12.10): icmp_seq=3 ttl=128 time=0.255 ms
    64 bytes from WS2003Ora10g (192.168.12.10): icmp_seq=4 ttl=128 time=0.258 ms
    --- WS2003Ora10g ping statistics ---
    4 packets transmitted, 4 received, 0% packet loss, time 3000ms
    rtt min/avg/max/mdev = 0.222/0.593/1.639/0.604 ms
    *[oracle@ilmserver ~]$ telnet WS2003Ora10g 1521*
    Trying 192.168.12.10...
    Connected to WS2003Ora10g (192.168.12.10).
    Escape character is '^]'.
    ... works for all users.
    Checking out the port situation on Linux:
    [informatica@ilmserver ~]$ netstat -an | grep 1521
    tcp 0 0 127.0.0.1:1521 0.0.0.0:* LISTEN
    tcp 0 0 127.0.0.1:1521 127.0.0.1:43782 ESTABLISHED
    tcp 0 0 127.0.0.1:1521 127.0.0.1:44290 ESTABLISHED
    tcp 0 0 127.0.0.1:58289 127.0.0.1:1521 TIME_WAIT
    tcp 0 0 127.0.0.1:58287 127.0.0.1:1521 TIME_WAIT
    tcp 0 0 127.0.0.1:1521 127.0.0.1:43792 ESTABLISHED
    tcp 0 0 127.0.0.1:54116 127.0.0.1:1521 ESTABLISHED
    tcp 0 0 127.0.0.1:1521 127.0.0.1:44283 ESTABLISHED
    tcp 0 0 ::ffff:127.0.0.1:54123 ::ffff:127.0.0.1:1521 ESTABLISHED
    tcp 0 0 ::ffff:127.0.0.1:30135 ::ffff:127.0.0.1:1521 ESTABLISHED
    unix 2 [ ACC ] STREAM LISTENING 129262 /var/tmp/.oracle/sEXTPROC1521
    [ the sequence of dots means I took out a whole lot or lines with virtually the same information, only different port(s) ]
    What’s noticeable is that port 1521 seems solely assigned to the localhost IP-address, 127.0.0.1.
    Another thing I noticed is that from a different user in Linux, so not “oracle”, using SQL Developer I cannot access the local Oracle database via TNS. When choosing TNS the dropdown box for “Network Alias” – which normally is populated with entries from TNSNAMES.ORA – is completely empty. On a “users and groups” level I basically assigned all the groups the oracle user is member of, to the other user (called informatica).
    And to make it even more interesting, at first it worked using “Basic” (in SQL Developer), but since implementing the TNS_ADMIN environment variable, it doesn’t work at all !!!
    Trying it via SQLPLUS as the “informatica” doesn’t work either:
    [informatica@ilmserver ~]$ sqlplus system
    bash: sqlplus: command not found
    I’ve assigned the “dba” group to “informatica”, or rather, I have assigned all groups to the “informatica” user as the “oracle” user has.
    Needless to say I am no Linux expert, rather a quite inexperienced Linux-user.
    So bottom line, the situation I’d like to be able to create is the following:
    •     Linux Oracle DB accessible from “informatica” (or any other) user on Linux, via both TNS and java-based
    •     Linux Oracle DB accessible from remote machine (running Windows 2003 server) via both TNS and java-based
    •     And for Informatica to work properly, it says it needs the TNS_ADMIN environment variable, so the “informatica” user must have full Oracle connectivity with TNS_ADMIN in place.
    Any help is greatly appreciated.
    Thanks, Patrick

    Hi Billy,
    Thanks for your elaborate answer.
    Not sure whether I can use it though, since the application using the oracle database (i.e. Informatica ILM 5.3.2) appears to have a specific need for TNS.
    I thought I had a solution (not the prettiest for sure) by just copying TNSNAMES.ORA to an accessible location, change ownership to "informatica" user, have TNS_ADMIN point to it, and Bob should be my uncle. Well... he isn't!
    In SQL Developer when I choose TNS as connection type, the drop down box is STILL empty.....aaaaahhhh!!!!!
    I was advised to play around with primary groups, so I tried oinstall and dba as primary groups for informatica user, all to no avail.
    And I can't even test it with SQLPLUS because I don't have access to it as "informatica".
    Who knows what the exact reason for that is... I know I'm a far cry from an experienced linux user, but I assumed that having the Oracle Home bin directory in PATH, and assigning the oinstall group to informatica user, would ensure access to to any executable in there. Well... NOT!!!
    +[informatica@ilmserver ~]$ sqlplus system@orcl+
    bash: sqlplus: command not found
    This is driving me nuts. Thought that finding a solution for this wouldn't be this hard, but essentially I've been digging for 3 days now.
    To provide more background, here are the env.variables:
    [informatica@ilmserver ~]$ env
    SSH_AGENT_PID=21054
    HOSTNAME=ilmserver
    DESKTOP_STARTUP_ID=
    TERM=xterm
    SHELL=/bin/bash
    HISTSIZE=1000
    GTK_RC_FILES=/etc/gtk/gtkrc:/home/informatica/.gtkrc-1.2-gnome2
    WINDOWID=262nnnnn
    USER=informatica
    LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
    ORACLE_SID=orcl
    GNOME_KEYRING_SOCKET=/tmp/keyring-LXptz1/socket
    ORACLE_HOSTNAME=ilmserver
    ORACLE_BASE=/home/oracle/app/oracle
    SSH_AUTH_SOCK=/tmp/ssh-CFDat21018/agent.21018
    SESSION_MANAGER=local/ilmserver:/tmp/.ICE-unix/21018
    USERNAME=informatica
    TNS_ADMIN=/var/temp
    MAIL=/var/spool/mail/informatica
    PATH=/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/informatica/bin:/usr/java/jdk1.7.0/bin:/usr/sbin:/sbin:/home/oracle/app/oracle/product/11.2.0/dbhome_1/bin
    DESKTOP_SESSION=default
    GDM_XSERVER_LOCATION=local
    INPUTRC=/etc/inputrc
    PWD=/home/informatica
    JAVA_HOME=/usr/java/jdk1.7.0
    XMODIFIERS=@im=none
    LANG=en_US.UTF-8
    GDMSESSION=default
    SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
    SHLVL=2
    HOME=/home/informatica
    GNOME_DESKTOP_SESSION_ID=Default
    LOGNAME=informatica
    CVS_RSH=ssh
    DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-axxxxxxxxo,guid=xxxxxxxxxxxxxxxxxxxxxxx
    LESSOPEN=|/usr/bin/lesspipe.sh %s
    DISPLAY=:0.0
    ORACLE_HOME=/home/oracle/app/oracle/product/11.2.0/dbhome_1
    G_BROKEN_FILENAMES=1
    COLORTERM=gnome-terminal
    XAUTHORITY=/tmp/.gdmKEYS0V
    Thanks, Patrick

  • Class cannot access its superinterface

    We're migrating an application from jDeveloper 9 to jDeveloper 10g (10.1.3.5), and have got almost everything working on the new server.
    However, one thing is not working: whenever a DataTable is set up with an edittarget (to edit a row in a new webpage, and where state is maintained via a cookie),
    I get an error message in the resulting webpage.
    Here is an example of such an editable DataTable:
    <jbo:DataTable datasource="dsPrisliste" edittarget="ApPristilbudView_Edit.jsp" /> The "intermediate" file, ApPristilbudView_Edit.jsp, essentially does the following:
    <%@ page language="java" import="oracle.jbo.html.*, oracle.jbo.http.*" errorPage="errorpage.jsp" contentType="text/html;charset=windows-1252" %>
    <%@ taglib  uri="/webapp/DataTags.tld"  prefix="jbo" %>
    <html>
    <head>
    <META NAME="GENERATOR" CONTENT="Oracle JDeveloper">
    </head>
    <body>
    %>
    <jbo:ApplicationModule id="am" configname="myApp.bc.BcModSalgsRapp.BcModSalgsRappLocal" releasemode="Reserved" />
    <%
      session.setAttribute("ApPristilbud_am", am);
    %>
    <jbo:DataSource id="ds" appid="am" viewobject="ApPristilbudView" />
    <h4>Pristilbud</h4>
    <jbo:DataEdit datasource="ds" relativeUrlPath="DataEditApPristilbudComp.jsp" />
    <jbo:ReleasePageResources />
    </body>
    </html> which results in the error message:
    <font size="3">
    Error Message: class oracle.jbo.http.HttpSessionCookieImpl cannot access its superinterface oracle.jbo.http.BindingListener
    </font>
    <font size="3" color="blue">
    <tt>
    Pristilbud
    Application Error
    Error Message: class oracle.jbo.http.HttpSessionCookieImpl cannot access its superinterface oracle.jbo.http.BindingListener
    Ugyldig klasse: oracle.jbo.http.HttpSessionCookieImpl Laster: approd.web.aptest:0.0.0
    Kodekilde: /D:/oracle/10.1.3.1/OracleAS/j2ee/OC4J_approd/applications/approd/aptest/WEB-INF/lib/bc4jhtml.jar Konfigurasjon: WEB-INF/lib/ directory in D:\oracle\10.1.3.1\OracleAS\j2ee\OC4J_approd\applications\approd\aptest\WEB-INF\lib
    Avhengig klasse: DataEditApPristilbudComp Laster: approd.web.aptest.jsp32124385:0.0.0 Kodekilde: /D:/oracle/10.1.3.1/OracleAS/j2ee/OC4Japprod/application-deployments/approd/aptest/persistence/_pages/
    Konfigurasjon: *.jsp in D:\oracle\10.1.3.1\OracleAS\j2ee\OC4J_approd\application-deployments\approd\aptest\persistence\_pages
    javax.servlet.jsp.JspTagException: class oracle.jbo.http.HttpSessionCookieImpl cannot access its superinterface oracle.jbo.http.BindingListener
         Ugyldig klasse: oracle.jbo.http.HttpSessionCookieImpl
         Laster: approd.web.aptest:0.0.0
         Kodekilde: /D:/oracle/10.1.3.1/OracleAS/j2ee/OC4J_approd/applications/approd/aptest/WEB-INF/lib/bc4jhtml.jar
         Konfigurasjon: WEB-INF/lib/ directory in D:\oracle\10.1.3.1\OracleAS\j2ee\OC4J_approd\applications\approd\aptest\WEB-INF\lib
         Avhengig klasse: _DataEditApPristilbudComp
         Laster: approd.web.aptest.jsp32124385:0.0.0
         Kodekilde: /D:/oracle/10.1.3.1/OracleAS/j2ee/OC4J_approd/application-deployments/approd/aptest/persistence/_pages/
         Konfigurasjon: *.jsp in D:\oracle\10.1.3.1\OracleAS\j2ee\OC4J_approd\application-deployments\approd\aptest\persistence\_pages
         at oracle.jbo.html.jsp.datatags.ComponentTag.doStartTag(ComponentTag.java:70)
         at ApPristilbudView_Edit._jspService(_ApPristilbudView__Edit.java:119)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    </tt></font>
    Unfortunately, parts of that is in Norwegian:
    Laster = Loading
    Ugyldig klasse = invalid class
    Avhengig klasse = invalid class
    Kodekilde: Code source
    What can I try, to fix this problem? Obviously, this is a run-time error (I get no warnings or errors during compilation), so perhaps something is incorrectly configured on the server container instance ("OC4J_approd")?
    I should also mention that this (i.e., editing data) works perfectly when I run the application on the local server (from within JDeveloper)...
    - j
    Edited by: joakim00 on Dec 7, 2012 1:04 AM

    We're migrating an application from jDeveloper 9 to jDeveloper 10g (10.1.3.5), and have got almost everything working on the new server.
    However, one thing is not working: whenever a DataTable is set up with an edittarget (to edit a row in a new webpage, and where state is maintained via a cookie),
    I get an error message in the resulting webpage.
    Here is an example of such an editable DataTable:
    <jbo:DataTable datasource="dsPrisliste" edittarget="ApPristilbudView_Edit.jsp" /> The "intermediate" file, ApPristilbudView_Edit.jsp, essentially does the following:
    <%@ page language="java" import="oracle.jbo.html.*, oracle.jbo.http.*" errorPage="errorpage.jsp" contentType="text/html;charset=windows-1252" %>
    <%@ taglib  uri="/webapp/DataTags.tld"  prefix="jbo" %>
    <html>
    <head>
    <META NAME="GENERATOR" CONTENT="Oracle JDeveloper">
    </head>
    <body>
    %>
    <jbo:ApplicationModule id="am" configname="myApp.bc.BcModSalgsRapp.BcModSalgsRappLocal" releasemode="Reserved" />
    <%
      session.setAttribute("ApPristilbud_am", am);
    %>
    <jbo:DataSource id="ds" appid="am" viewobject="ApPristilbudView" />
    <h4>Pristilbud</h4>
    <jbo:DataEdit datasource="ds" relativeUrlPath="DataEditApPristilbudComp.jsp" />
    <jbo:ReleasePageResources />
    </body>
    </html> which results in the error message:
    <font size="3">
    Error Message: class oracle.jbo.http.HttpSessionCookieImpl cannot access its superinterface oracle.jbo.http.BindingListener
    </font>
    <font size="3" color="blue">
    <tt>
    Pristilbud
    Application Error
    Error Message: class oracle.jbo.http.HttpSessionCookieImpl cannot access its superinterface oracle.jbo.http.BindingListener
    Ugyldig klasse: oracle.jbo.http.HttpSessionCookieImpl Laster: approd.web.aptest:0.0.0
    Kodekilde: /D:/oracle/10.1.3.1/OracleAS/j2ee/OC4J_approd/applications/approd/aptest/WEB-INF/lib/bc4jhtml.jar Konfigurasjon: WEB-INF/lib/ directory in D:\oracle\10.1.3.1\OracleAS\j2ee\OC4J_approd\applications\approd\aptest\WEB-INF\lib
    Avhengig klasse: DataEditApPristilbudComp Laster: approd.web.aptest.jsp32124385:0.0.0 Kodekilde: /D:/oracle/10.1.3.1/OracleAS/j2ee/OC4Japprod/application-deployments/approd/aptest/persistence/_pages/
    Konfigurasjon: *.jsp in D:\oracle\10.1.3.1\OracleAS\j2ee\OC4J_approd\application-deployments\approd\aptest\persistence\_pages
    javax.servlet.jsp.JspTagException: class oracle.jbo.http.HttpSessionCookieImpl cannot access its superinterface oracle.jbo.http.BindingListener
         Ugyldig klasse: oracle.jbo.http.HttpSessionCookieImpl
         Laster: approd.web.aptest:0.0.0
         Kodekilde: /D:/oracle/10.1.3.1/OracleAS/j2ee/OC4J_approd/applications/approd/aptest/WEB-INF/lib/bc4jhtml.jar
         Konfigurasjon: WEB-INF/lib/ directory in D:\oracle\10.1.3.1\OracleAS\j2ee\OC4J_approd\applications\approd\aptest\WEB-INF\lib
         Avhengig klasse: _DataEditApPristilbudComp
         Laster: approd.web.aptest.jsp32124385:0.0.0
         Kodekilde: /D:/oracle/10.1.3.1/OracleAS/j2ee/OC4J_approd/application-deployments/approd/aptest/persistence/_pages/
         Konfigurasjon: *.jsp in D:\oracle\10.1.3.1\OracleAS\j2ee\OC4J_approd\application-deployments\approd\aptest\persistence\_pages
         at oracle.jbo.html.jsp.datatags.ComponentTag.doStartTag(ComponentTag.java:70)
         at ApPristilbudView_Edit._jspService(_ApPristilbudView__Edit.java:119)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    </tt></font>
    Unfortunately, parts of that is in Norwegian:
    Laster = Loading
    Ugyldig klasse = invalid class
    Avhengig klasse = invalid class
    Kodekilde: Code source
    What can I try, to fix this problem? Obviously, this is a run-time error (I get no warnings or errors during compilation), so perhaps something is incorrectly configured on the server container instance ("OC4J_approd")?
    I should also mention that this (i.e., editing data) works perfectly when I run the application on the local server (from within JDeveloper)...
    - j
    Edited by: joakim00 on Dec 7, 2012 1:04 AM

  • 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.

  • 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

  • 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

  • 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.

  • 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 !

  • 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

Maybe you are looking for