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.

Similar Messages

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

  • 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

  • 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

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

  • 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

  • Java.security.AccessControlException: access denied (oracle.security.jazn.J

    Hi All.
    I am calling the getIdentityStoreFactory() method in the IdentityStoreFactoryBuilder class and I am getting the following error:
    oracle.security.idm.ConfigurationException: java.security.AccessControlException: access denied (oracle.security.jazn.JAZNPermission getOC4JIntegrationData)
    Any ideas what is going on and any possible fixes?
    thanks
    james

    I will move it to the OC4j and J2ee forum.
    Thanks for bring it to my attention.
    Message was edited by:
    user480263

  • Cannot access class javax.naming.Referenceable;

    Hi
    I am trying to create a connection pool and using the oracle.jdbc.pool.* in JavaBeans using JDeveloper 3.1.
    I am getting the following error.Unable to find the reason for this and the sun documentation says - no usage for this class.
    Error:
    cannot access class javax.naming.Referenceable; file javax/naming/Referenceable.class not found.
    Any help is greatly appreciated..
    thanks
    Yugandhar
    null

    You need to make sure $ORACLE_HOME/jdbc/lib/jndi.zip is on your classpath for this to work.

  • Cannot access class jclass.util.JCVector

    I need the libraries .
    Where can I get the libraries for my java application?.
    When I compile , I get this error:cannot access class jclass.util.JCVector.
    I have been looking for them in the sitraka home, but I haven�t
    found any.
    I have installed libraries for jclass.bwt. package but I imagine
    that it isn�t enough.
    Thanks alot-
    ras

    I dont know the class JCVector, but if you received the error message
    "cannot access class jclass.util.JCVector"
    It means that the class is there, but you cannot access.
    Why I cannot access if the class is there? - you should ask
    Problably the access permission of this class is not Public, it must be private or protected.
    The most common is the class is protected and it is in another package.
    So the JVM locate the class, but cannot access it from your current class, because the class you are trying to access is protected or private.
    Hope that i Helped
    JoseAugusto

  • Cannot access class java.nio.ByteBuffer

    Hi All -
    I'm trying to compile a java sample code.
    I keep getting the error described in the subject line
    cannot access class java.nio.ByteBuffer; file java\nio\ByteBuffer.class not found
    I have un-ziped the java sdk 1.4.1 src.zip to a directory under c:\ and added the java\nio directory to the project setting and compile with jdk runtime 1.4.1 and yet get the same error....
    I've tried by redirecting to src.zip and didn't work either....
    I would appreciate your feedbacks and sorry for the lame question, consider it as a newcomer to Java world.
    thanks in advance

    You test it by running the following line....
    java java.nio.ByteBuffer
    If it says "main not found" then your problem has nothing to do with the java install nor the classpath. The code you are trying to compile is wrong.
    If it says class not found then you use this line next....
    java -version
    If this returns nothing then you are not using the Sun VM (you are using the MS one.) If it returns a version below 1.4 then your PATH statement is wrong (and you should uninstall all sun versions then reinstall.) You can fix the MS VM problem by altering the path so the java path is first.
    If it does say 1.4 then you need to uninstall and reinstall because something is messed up.

  • 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

  • "cannot access class netcape.plugin.Plugin"

    Hello!
    I made a project consisting in several Java files, in Jbuilder. The program involves the use og a netscape plugin (a 3D browser). It works perfectly on my computer at work.
    When I try tu run exactly the same project at home, i get the error message:
    "cannot access class netcape.plugin.Plugin;neither class nor source found for netscape.plugin.Plugin"
    Does anyone know what this is about? Please tell me how to solve this problem!
    Thank you!

    Hi,
    Is netscape installed on your computer at home?
    The netscape.plugin.Plugin class resides in java40.jar (for Netscape 4.7). Try including it into your classpath.
    Hope this helps,
    Kurt.

  • Cannot access class javax.jms.TextMessage;

    Hi,
    I am trying to run standard page from JDev and i am getting below error from EOImpl.java.
    " cannot access class javax.jms.TextMessage; file javax\jms\TextMessage.class not found "
    I tried to import javax/jms dir to my local machine but i could not find jms directory under javax in OS. Can you guys pls help me to resolve this.
    Thanks,

    Hi Scott,
    Not sure wht you wanted me to try...
    I have something like this in the code which is causing that error..
    BusinessEvent businessevent = new BusinessEvent(s1, s2);
    businessevent.setData("Opportunity " + s2 + "updated");
    ArrayList arraylist = new ArrayList(1);
    arraylist.add(oadbtransaction);
    businessevent.setObject(arraylist);
    businessevent.setStringProperty("pLeadId", getLeadId().toString());
    java.sql.Connection connection1 = oadbtransaction.getJdbcConnection();
    businessevent.raise(connection1);
    Its asking me to import jms..but ii could not find those files in Unix..is there anyway to import these files OR any other solution to fix this error?
    Please help..

  • CANNOT ACCESS CLASS JAVA....

    I use Jdevelopper 10.1.2 and I make a little application for authentication against users in a table (Account in HR schema).
    (see loginapp.zip)
    I don't understand why just one java file don't compile in my Workspace!!!!
    Help please!!!
    Luc

    LoginAction.jar
    --Error(13,23): cannot access class loginapp.model.AppModule; file
    loginapp\model\AppModule.class not found
    See below exemple
    ADF MODEL
    // in AccountViewImpl.java
    public boolean SofeValideUsager( String p_username,
    String p_password)
    setMaxFetchSize(1);
    setWhereClause("username = p_username and password = p_password");
    executeQuery();
    boolean p_valide = first() != null;
    setWhereClause(null);
    setWhereClauseParams(null);
    setMaxFetchSize(0);
    return p_valide;
    //in AccountView.java
    public interface AccountView extends ViewObject
    boolean SofeValideUsager(String p_username, String p_password);
    ADF View Controller
    // in LoginAction.jar
    import loginapp.model.AppModule;
    import loginapp.model.AccountImpl;
    import loginapp.model.common.AccountView;
    public class LoginAction extends Action
    public ActionForward execute(ActionMapping mapping, ActionForm form,
    HttpServletRequest request, HttpServletResponse response) throws IOException,
    ServletException
    String p_user = (String)((DynaActionForm)form).get("user");
    String p_password = (String)((DynaActionForm)form).get("password");
    if (SofeValideUsager(p_user, p_password))
    { return mapping.findForward("success");}
    else
    { return mapping.findForward("fail");}

Maybe you are looking for

  • Why would hotspots work in the browser, but not in Device Central?

    I exported a small prototype from Fireworks CS5 to HTML & Images & tested my hotspots in my Firefox browser.  That worked fine. Then in Device Central CS5 I did File > Open File & selected the home page for this protototype.  None of the hotspots wor

  • How can I update to a 64 bit version to play games on facebook & zynga so I won't have any farther problems?

    I have windows 7 Home Premiun 64 bit bit computer & I use Google Chrome to play games on Facebook & Zynga.  My Shockwave on my computer is 32 bit.  How can I update so I won't have any farther problems?

  • IBM POS with SAP Issue.

    Dear Experts,        I am working at client site, have a peculiar issue please help by providing your suggessions or ideas to solve it. Here is the Issue : Every time a Transaction is completed at the terminal the data will be written (Appended) to t

  • List of differences between PSE 40 and PSE30

    A lot of users are asking what are the differences between PSE 30 and PSE 40. This Thread provides information on this subject. First, you will find information copied from the section "New Features" of the useful "Adobe Photoshop Elements 4.0 User G

  • Oracle APPS (E-Business Suite) Database

    A couple of questions; 1) Best practice suggests limiting access to the TNS Listener component of the APPS Database by only allowing access to an approved list of IP Addresses. In lots of Networks clients dont have static IP addresses, so how to acco