Using OC4J container of EBS 11

Hi,
in online documentation about the EBS 11 architecture I see that there is an OC4J container present.
(If this is not always the case, please let me know)
Does anyone know if it is accessible to deploy your own applications (small webservices)?
Thanks in advance,
Erik

We are now trying to use the Apache http server of EBS 8.0.6.
Is this a Oracle 9i Application server?
I posted this on the apache part of the OTN forum:
Hello,
At our project we want to access some plsql procedures via mod_plsql and a Apache http server.
We thought we could do that via adding a DAD to dads.conf like:
+<Location /X>+
SetHandler pls_handler
Order deny,allow
Deny from all
Allow from <ip-1> <ip-2> <ip-3>
PlsqlDatabaseUsername <username>
PlsqlDatabasePassword <password>
PlsqlDatabaseConnectString <server>:<port>:<SID>
+</Location>+
But there was no dads.conf present, most likely because it was an older version of the http server than expected.
It appeared to be an Oracle 9i Application Server (iAS).
We tried to spread the configuration over wdbsvr.app by adding:
+[DAD_X]+
connect_string   =  <server>:<port>:<sid>
password   =  <password>
username   = <username>
exclusion_list= sys.*
reuse   =  Yes
pathalias   =  X
pathaliasproc   =  /X
nls_lang=dutch_the netherlands.we8mswin1252
+;+
and adding to plsql.conf:
+<Directory /ucm>+
Order Deny,Allow
Deny from all
Allow from <ip-1> <ip-2> <ip-3>
+</Directory>+
The result was that at the expected url <server>:<port>/pls/X/procedure an authentication popup appeared only at the allowed ip-addresses.
So it seemed to have worked. However the required authentication was unexpected.
Does anyone know how to get rid of the required authentication?
If that is not possible: how I can find the required username and password?
Help is appreciated.
Best regards,
Erik
PS. We tried adding things like <location /pls/X> AuthAuthoritative off </Location> to files like httpd.conf but it did not seem to have any effect.

Similar Messages

  • Upgrade oc4j container from 10.1.2 to 10.1.3

    Hi to all,
    We use oc4j container 10.1.2 for old applications, but now we have developed ajax applications using oracle maps, but if i'm riight 10.1.2 doesn't support oracle maps.
    I've tried to install oracle application server oc4j container 10.1.3 in the same machine(i must use the same machine with red hat 3.4.4 opertive system) but i see a lot of conflicts with 10.1.2 and i cannot install that properly.
    Is there any possobility to upgrade oracle application server oc4j container without having a metalink account?Is there a patch or something similar?
    Thank you,
    Francesco Rizzello
    Edited by: francesco.rizzello on 10-nov-2009 20.31
    Edited by: francesco.rizzello on 10-nov-2009 20.33
    Edited by: francesco.rizzello on 10-nov-2009 21.06

    There shouldn't be any problems, I have in the same server one 10.1.2 App Server and a 10.1.3 and no conflicts, only when I installed I had the first App Server up, so the second recognize the ports used and it use a diferent one for his components.
    Can you tell about your conflicts?
    Greetings

  • Webbinding of OBI Publisher failing (OC4J contained into OAS)

    Hi
    I;m deploying OBI Publisher (earlier XML publisher) xmlpserver.EAR using OC4J contained into Oracle Application server. The deployment is getting successful. But when Binding Web Modules to a Web Site After Deployment it is giving me an error
    BindWebApp error: oracle.oc4j.admin.jmx.shared.exceptions.JMXRuntimeException
    Anyone of you have ever faced this problem. Do I need to put certain jar files in shared library.
    Regards,
    Parwez

    Solved it myself.
    For the benefit of others:
    It is possible to use oracle_proxy plug-in for OC4J stand-alone.
    Crucial points for the configuration are:
    - oracle_proxy config file specified correctly
    - xmlpserver roles specified correctly
    - right ports specified in instanceconfig.xml and xmlp-server-config.xml
    Regards,
    Michal

  • I unable to run ejb with application client using oc4j j2ee container

    Hi,
    I have installe oracle9i (1.0.2.2) oc4j j2ee container.
    I unable to run the ejbs . please help me how to run ejbs with application client and which files are shall configure.
    See the client application is :
    public static void main (String []args)
    try {
    //Hashtable env = new Hashtable();
    //env.put("java.naming.provider.url", "ormi://localhost/Demo");
    //env.put("java.naming.factory.initial", "com.evermind.server.ApplicationClientInitialContextFactory");
    //env.put(Context.SECURITY_PRINCIPAL, "guest");
    //env.put(Context.SECURITY_CREDENTIALS, "welcome");
    //Context ic = new InitialContext (env);
    System.out.println("\nBegin statelesssession DemoClient.\n");
    Context context = new InitialContext();
    Object homeObject = context.lookup("java:comp/env/DemoApplication");
    DemoHome home= (DemoHome)PortableRemoteObject.narrow(homeObject, DemoHome.class);
    System.out.println("Creating Demo\n");
    Demo demo = home.create();
    System.out.println("The result of demoSelect() is.. " +demo.sayHello());
    }catch ( Exception e )
    System.out.println("::::::Error:::::: ");
    e.printStackTrace();
    System.out.println("End DemoClient....\n");
    When I am running client application I got this type of Exception
    java.lang.SecurityException : No such domain/application: sampledemo
    at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java : 2040)
    at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java : 1884)
    at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java : 1491)
    at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java : 323)
    at com.evermind.server.rmi.RMIContext.lookup(RMIConext.java : 106)
    at com.evermind.server.administration.LazyResourceFinder.lookup(LazyResourceFinder.java : 59)
    at com.evermind.server.administration.LazyResourceFinder.getEJBHome(LazyResourceFinder.java : 26)
    at com.evermind.server.Application.createContext(Application.java: 653)
    at com.evermind.server.ApplicationClientInitialContext.getInitialContext(ApplicationClientInitialContextFactory.java :179 )
    at javax.naming.spi.NamingManager.getInitialContext(NamingManger.java : 246)
    at javax.naming.InitialContext.getDefaultInitialCtx(InitialContext.java : 246)
    at javax.naming.InitialContext.init(InitialContext.java : 222)
    at javax.naming.InitialContext.<init>(InitialContext.java : 178)
    at DemoClient.main(DemoClient.java : 23)
    .ear file is copied into applications directory.
    I have configured server.xml file like this
    <application name="sampledemo" path="../applications/demos.ear" />
    demos.ear file Contains following files
    application.xml
    demobean.jar
    Manifest.mf
    demobean.jar file contains following files
    application-client.xml
    Demo.class
    DemoBean.class
    DemoHome.class
    ejb-jar.xml
    jndi.properties
    Mainifest.mf
    Please give me your valuable suggestions. Which are shall i configure .
    Thanks & Regards,
    Badri

    Hi Badri,
    ApplicationClientInitialContextFactory is for clients which got deployed inside OC4J container..
    For looking up EJB from a stand alone java client please use RMIInitialContextFactory..So please change ur code....
    Also please check ur server.xml
    Since you have specified your ejb domain as "sampledemo"
    you have to use that domian only for look up..But it seems that you are looking up for "Demo" domain instead of "sampledemo" domain...So change your code to reflect that..
    Code snippet for the same is :
    Hashtable env = new Hashtable();
    env.put("java.naming.provider.url", "ormi://localhost/sampledemo");
    env.put("java.naming.factory.initial", "om.evermind.server.rmi.RMIInitialContextFactory");
    env.put(Context.SECURITY_PRINCIPAL, "guest");
    env.put(Context.SECURITY_CREDENTIALS, "welcome");
    Context ic = new InitialContext (env);
    Hope this helps
    --Venky                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • What OC4J Container?

    Hi everyone
    In eBS R12 on Unix , what is the script name for OC4J Container?
    is it adoacorectl.sh, or not?
    I am a bit confused.
    And is Apache this one : adapcctl.sh ?
    Many thanks
    Edited by: user107654321 on Jun 18, 2009 2:19 AM

    Hi,
    Oracle Containers for Java (OC4J) is an Oracle Application Server component that replaces the JServ component used in earlier releases of E-Business Suite. Based on J2EE standards, OC4J allows execution of Servlets, Java Server Pages (JSP), and Enterprise Java Beans (EJB).
    Oracle HTTP Server provides the foundation for the Oracle Application Server Web services. Built on Apache Web server technology, Oracle HTTP Server supports Java servlets, JavaServer Pages (JSPs), perl, PL/SQL, and CGI applications.
    Oracle Applications Concepts
    http://download.oracle.com/docs/cd/B53825_01/current/acrobat/121oacg.pdf
    Oracle Application Server 10g Documentation Library
    http://download.oracle.com/docs/cd/B14099_11/index.htm
    Regards,
    Hussein

  • Shut Down Of OC4J Container ist blocked

    Hi,
    i'vi got a problem with the new 10g iAS and if anybody's encountered the same or does know a solution, please let me know.
    The problem is:
    I'm not able to stop the OC4J container in the iAS cleanly.
    The reason is:
    There are two timers (java.util.Timer) running. These timers are cleanup timers, which run always throughout the application at intervalls (scheduleAtFixedRate). If i dont start the timers, the container will stop right away, without any error. If the timers are running the container is waiting for them to cancel and shutting down hardly after a timeout.
    I didn't have this problem with 9i and i dont have it in the embedded OC4J of the JDeveloper.
    Is there any workaround? How could i latch into the shutdown process, to cancel the timers myself?
    Best regards,
    Mirko

    The OC4J script is not the cause of this -- if the message is shown "shutting down OC4J' then the call has been made to OC4J and its in the process of shutting down.
    If you execute "set verbose=on" before executing oc4j.cmd, then you'll see the command that oc4j uses when -shutdown is performed is exactly that command you suggest:
    oc4j -shutdown -port 23791 -password welcome1Executing: D:\java\jdk150_11\bin\java -jar "d:\java\oc4j-10133-prod\j2ee\home\admin.jar" ormi://localhost:23791 oc4jadmin welcome1 -shutdown
    But as you are suggesting there are manual ways to shutdown OC4J that are equally valid to use; it's a matter of choice.
    What you could try is using the -force extra switch with the -shutdown command to force it to shutdown:
    java -jar admin.jar ormi://localhost:23791 oc4jadmin welcome1 -shutdown force
    If that fails, ctrl+c the process. It doesn't do any damage to it.
    A thread-dump (ctrl+break) on the hung process can help to identify any deadlock issues.
    oc4j.cmd is limited certainly, but it provides a simpler entry point IMHO for new users. And we still fully support/endorse the direct startup path using the runnable JAR file.
    -steve-

  • JNDI lookup help please-Bean to Bean callout locally in same oc4j container

    Hi - I'm fairly new to oc4j/ejb coding - I'm trying to get a simple application running to show that our code can be run in local mode - here is the scenario:
    - Bean A (our application bean) within Application A
    - Bean B (customer-developed bean) within Application B
    - Bean B calls Bean A
    - Bean A + Bean B are different application instances in the same oc4j container
    - Jsp (residing in ApplicationB) within the same oc4j container calling Bean B, which invokes Bean A
    ====
    I get the following exception (classes renamed to match scenario):
    javax.naming.NameNotFoundException: oracle.apps.applicationa.common.BeanA not found in anothercompany.applicationb.common.BeanB
    [java] at com.oracle.naming.J2EEContext.getSubContext(J2EEContext.java:93)
    [java] at com.oracle.naming.J2EEContext.lookup(J2EEContext.java:76)
    [java] at com.evermind.server.ApplicationContext.lookupJavaCompEnv(ApplicationContext.java:265)
    [java] at com.evermind.server.ApplicationContext.lookupJavaComp(ApplicationContext.java:132)
    [java] at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:306)
    [java] at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:120)
    [java] at javax.naming.InitialContext.lookup(InitialContext.java:347)
    - BeanA is part of application named "AppA" in server.xml
    - BeanB is part of application named "AppB" in server.xml
    - AppB has attribute 'parent="AppA"' in server.xml
    - If I change the Jsp file (residing in AppB) to call BeanA directly in the jsp code it works with no JNDI error, but changing the jsp code back to calling BeanB (which then calls BeanA) will throw the NameNotFoundException
    My Stateless Session Bean is very simple and I have tried not setting the context and setting the context. I'm thinking this is a very simple configuration issue, but have not been able to find the solution yet... I've tried playing with the setSessionContext method in the session bean but have had no luck and am not sure what to set the variables to or even if I'm in the correct method...
    public void setSessionContext(SessionContext ctx) {   
    if (verbose)
    System.out.println("setSessionContext called");
    Properties env = new Properties();
    // tried all three context factories...
    //env.put(Context.INITIAL_CONTEXT_FACTORY,"com.evermind.server.ApplicationInitalContextFactory");
    env.put(Context.INITIAL_CONTEXT_FACTORY,"com.evermind.server.ApplicationClientInitialContextFactory");
    //env.put(Context.INITIAL_CONTEXT_FACTORY,"com.evermind.server.rmi.RMIInitialContextFactory");
    // not sure what url to put, if any
    //env.put(Context.PROVIDER_URL, "ormi://localhost:23791/AppB");
    env.put(Context.PROVIDER_URL, "ormi://localhost/AppB");
    // tried with and without security principals... also tried sysadmin/sysadmin
    env.put(Context.SECURITY_PRINCIPAL, "guest");
    env.put(Context.SECURITY_CREDENTIALS, "welcome");
    // mProps is a local transient member var of type Properties
    mProps = env;
    // mCtx is a local transient member var of type SessionContext
    mCtx = ctx;
    (edit) additional info:
    - all beans/classes are in the same classes directory; there are no jar files, so in application.xml the specified classpath is "classes" which includes both appA and appB classes
    - I verified that if I point (appB) jsp directly to BeanA it works with the "parent" attribute set on appB in server.xml, and when I remove the "parent" attribute on appB in server.xml the jsp throws a NameNotFoundException
    edit #2:
    another interesting note is that the exception message says "oracle.apps.applicationa.common.BeanA not found in anothercompany.applicationb.common.BeanB"
    and usually the naming error I see is:
    "oracle.apps.applicationa.common.BeanA not found in appB"
    (as with the case when I use a jsp to access appA beans without setting the parent application of appB to appA)
    - also my j2ee/home/applications/appB/WEB-INF/web.xml includes the oracle.apps.applicationa.common.BeanA ejb-ref tag
    any help is appreciated - thanks!
    Message was edited by:
    oleon

    Hi Steve
    thanks for the reply - I currently have the parent attribute set in server.xml which is why the jsp connection works, but for some strange reason the bean cannot connect to other bean...
    my server.xml has something like...
    <application name="appA" location="appA" auto-start="true"/>
    <application name="appB" location="appB" parent="appA" auto-start="true"/>
    (ok, the tags might be off because I'm not in front of my workstation looking at the xml file...)
    on another interesting note, in the session bean for AppB I've tried searching for the ejb bean for app B (itself basically) with the default initial context and it cannot find its own bean within the same application... the message would be something like "NameNotFoundException: anothercompany.applicationb.common.BeanB not found in anothercompany.applicationb.common.BeanB"

  • Sort order in Java application (oc4j container) -- ear file deployment

    I have a Java application deploy in Oracle OC4J container (EAR file).
    In my Java application (jsp), I have a SQL statement who return data but the
    sort order is wrong. The letters "é" and all characters with accents
    appears at the end of the result.
    I tried many things to change the sort order (NLS parameters in database
    and OAS10g parameter files).
    When I use SQL*plus on database server, that's working.
    The sort order is wrong when I use the java application.
    Somebody can tell me what and where is the NLS parameters to change ?
    Thanks
    Robin

    Robin,
    I'm only guessing, but it could either be related to the java locale or the CHARSET attribute of the HTML header -- and nothing to do with the NLS parameters.
    Maybe you should try the Globalization Support forum?
    Good Luck,
    Avi.

  • Sort order in Java Application (deploy in Oracle oc4j container)

    I have a Java application deploy in Oracle OC4J container (EAR file).
    In my Java application (jsp), I have a SQL statement who return data but the
    sort order is wrong. The letters "é" and all characters with accents
    appears at the end of the result.
    I tried many things to change the sort order (NLS parameters in database
    and OAS10g parameter files).
    When I use SQL*plus on database server, that's working.
    The sort order is wrong when I use the java application.
    Somebody can tell me what and where is the NLS parameters to change ?
    Thanks
    Robin

    Robin,
    I'm only guessing, but it could either be related to the java locale or the CHARSET attribute of the HTML header -- and nothing to do with the NLS parameters.
    Maybe you should try the Globalization Support forum?
    Good Luck,
    Avi.

  • OEM in Linux and Unix Memory difference on Deployed OC4J Container

    I have 2 Oracle 9iAS environments 1 each for production and test.
    My Prod servers are on AIX (Unix)
    My Test server is on Linux
    Under Enterprise Manager If I create an OC4J container exactly the same in both and deploy an application exactly the same in both could someone tell me why the memory usage display is widely different - on linux its much more used than on unix?
    Perplexing.

    The code gets pretty messy as I have both a SendMail and MailMessage class that I use. Basically for not authenticated messages (I need authenticated), the example on metalink Doc ID: Note:234490.1 with subject "Mail Service Setup" is what I used to get this going.
    I updated the local application.xml file located in C:\jdev1012\jdev\system10.1.2.2.0.1929\oc4j-config\application.xml
    <mail-session location="mail/mailsession" smtp-host="my.mail.server">
    <property name="mail.transport.protocol" value="smtp"/>
    </mail-session>
    On a datapage, I have a button with event_Email. In the action class I have an onEmail() method that calls the code to create a message and send it with the email transport.
    In my libraries in JDeveloper, I created one called JavaMail which has activation.jar and mail.jar. This is added to the project.
    Everything works fine when running locally. The problem is in deployment. The OC4J container that I deploy to has a java2.policy file. At first the classpath, and the location in the policy file for mail.jar and activate.jar were not the same. I updated the policy file to use the files in the classpath. Since mail.jar and activate.jar on the OAS server are in the classpath, I didn't include these files in the deployment.
    When trying to run, I don't get any messages, just a 500 Error.
    If I try to implement a policy file on the local OC4J in JDeveloper, I get lots of problems, and I gave up on that route.
    Hope that adds more info. Thanks, Ken

  • JMS1.1 Domain Unification sample using OC4J 10g

    I am trying to run the JMS1.1 Domain Unification sample using OC4J 10g
    I am not sure why I get the Invalid provider URL exception at run time when trying to run AsyncClient using listenTopic in Ant. The code prints out the provider URL accurately from my ConnectionParam.java file but exception happens after that. I am running the J2EE container using OC4J and can access http://localhost:8888/adminoc4j as an admin user.
    ++++++++++++++++++++++++++++++++
    C:\JMS1.1>c:\apache-ant-1.6.1\bin\ant listenTopic
    Buildfile: build.xml
    listenTopic:
    [java] local url...
    [java] http://localhost:8888/adminoc4j
    [java] env Hashtable populated...
    [java] javax.naming.NamingException: Invalid provider URL
    [java] at com.evermind.server.rmi.RMILocation.parseURL(RMILocation.java
    :83)
    ++++++++++++++++++++++++++
    This is the initialize method from AsyncClient.java.
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++=
    public void initialize() throws Exception{
    Hashtable env = new Hashtable();
    // set the environment properties
    env.put(Context.INITIAL_CONTEXT_FACTORY,
         "com.evermind.server.rmi.RMIInitialContextFactory");
    System.out.println("local url...");
    System.out.println(ConnectionParams.PROVIDER_URL);
    env.put(Context.PROVIDER_URL, ConnectionParams.PROVIDER_URL);
    env.put(Context.SECURITY_PRINCIPAL, ConnectionParams.USERNAME);
    env.put(Context.SECURITY_CREDENTIALS, ConnectionParams.PASSWORD);
         System.out.println("env Hashtable populated...");
    // get the initial context
    InitialContext ctx = new InitialContext(env);
         System.out.println("got context...");
    // lookup the queue and topic objects
    Destination topic = (Destination) ctx.lookup("jms/sampleTopic");
         System.out.println("looked up topic...");
    // lookup a connection factory
    ConnectionFactory factory = (ConnectionFactory) ctx.lookup("jms/sampleConnectionFactory");
    // create a connection
    Connection connection = factory.createConnection();

    Sorted out the answer myself.
    +++++++++++++++++++++++++++++
    The URL in ConnectionParams should use ormi protocol as given in the sample example.
    Good example and it all works! Thanks.
    +++++++++++++++++++++++++++++++++++++++++++++
    public class ConnectionParams{
    // variable for OC4J Provider URL
    public static String PROVIDER_URL="ormi://localhost:23791";
    +++++++++++++++++++++++++++++++++++++++++++++

  • 9.0.3: OC4J container start "hang" - urgent

    I installed 9.0.3 on a win2k machine that was previously running 9.0.2. I migrated preferences, workspaces, etc., rebuilt my project, and tried to run it. The tab for the oc4j container appears, and there is a message that it is starting, but it never finishes launching (opens window, browser, posts message to window about having started). I restarted jdev, rebuilt the project, tried again - same thing. Rebooted, restarted, rebuilt, same thing. I tried starting the debugger because it will kill the current oc4j instance and restart, and it said that it needed to do that, but never returned either. I have a developer down, so a speedy response would be greatly appreciated.

    I've reread all your messages again. Here's a summary of the information you've provided so far (please make any corrections or additions):
    * Platform is Win2k. (Not sure if reproduces on other platforms.)
    * Severe performance degradation in JDev 9.0.3 Preview compared to 9.0.2 Production.
    * Specific issue is with embedded OC4J, which does not complete its startup.
    * Restarting and reinstalling JDev and rebooting Windows do not improve the situation.
    * While OC4J is struggling to start up, other IDE responsiveness is extremely sluggish.
    * The Run | Terminate | Embedded OC4J menu item is disabled. No context menu at all when right-clicking on "Embedded OC4J" in the Run Manager.
    * A migration bug (2525992) is involved, but we've ruled it out as the cause of performance problems, because embedded OC4J problems are still observed in a brand new (not migrated) 9.0.3 install.
    * Problem occurs only if the .jws and .jpr are on a LAN drive. OK for source and classes to be on LAN drive.
    * Problem disappears entirely if Workspace and Project are moved to a local drive.
    * LAN drive is a NetWare resource.
    The keymap exception that you got appears to be unrelated. A similar exception was reported internally as bug 2493459, which was fixed last week in the 9.0.3 Production code line.
    Based on your information so far, I can offer the following details:
    (1) When you have files on a network volume, and these files are open in JDeveloper, if you switch to another Windows app and then come back to JDev, JDev will check those files' timestamps to see if their content needs to be reloaded in the IDE. Unfortunately, this reloading code runs on the AWT Event thread, which means that painting will be frozen until all open files have been scanned. This can lead to an extremely sluggish response in the UI. Currently there is no work-around to this problem. I have filed bug 2566932 for this issue, which I am pushing to get fixed for 9.0.3 Production.
    (2) One of the behaviors that changed between JDev 9.0.2 and 9.0.3 Preview with regard to embedded OC4J is the following command-line flag:
    -Doracle.j2ee.dont.use.memory.archive=true
    This affects the behavior of the OC4J classloaders, and it usually produces a much faster startup time for the server. However, it theoretically could cause performance problems if classes are located on a remote network drive, but we don't have a lot of good data on this. One thing you could try then is to disable this flag:
    - Go to Tools | Preferences - Embedded OC4J
    - CHECK the box labeled "Load All System JARs During OC4J Startup".
    Now try to run your webapp again and see if there is a difference.
    (3) If you are running jdev.exe instead of jdevw.exe, one of the things you can do is hit Ctrl-Break in the console window. If you do this while JDev is hung, you will get a stack dump of all the live threads. Please email the entire thread stack dump to me, Armand.Dijamco at oracle . com.
    Thanks again!

  • Declarative java object cache in non oc4j container

    hello,
    i'm trying to use the cache.jar from 10g in a standalone application.
    i've followed the j2ee services guide and use cache.open(path_to_javacache.xml). javacache.xml has preload-file defined, in which i've declared my userdefined classloader and userdefined cached object. the implementations of both implement declarable. however,when i use cacheaccess.getaccess(region_name) i get regionnotfoundexception.
    i've also tried to use the configurator alternative, where i specify the declarative cache xml file. but this gives me a classcastexception.
    any suggestions. better yet is there a sample program that
    shows the use of a decl cache in a non oc4j container.
    thanks

    Hi,
    I ran into the same problem while evaluating OC4J V9 Java Cache standalone.
    Cache.open() silently ignores errors:
    * Cache.open(path_to_javacache.xml) seems to silently swallow alle error messages (in your case the ClassCastException) and the ignore the configuration file
    * so to get meaningful error messages, first attempt to open the file with new Configurator(path_to_javacache.xml)
    * once there are no more errors, you can open it with Cache.open(path_to_javacache.xml)
    Now, to get around the ClassCastException:
    * you need to add xmlparserv2.jar from your oc4j distribution
    * this must be the first xml-parser in your classpath (when e.g. xerces.jar comes first, you will get a ClassCastException)
    A relative javacache.xml is relative to your working directory.
    The preload-file - Path seems to be relative to the javacache.xml path, if it is not absolute. I keep javacache.xml and preload-file together which worked for me.
    Hope this help,
    Andreas

  • Adding automatic header using OC4J

    Hi,
    I have a web application coded in pure java and deployed to an OC4J container. In that application, I used iFrame to open a new session in another server in the frame. The new frame shows Oracle BI reports, as if it is a part of the developed application. However, as the security settings of Internet Explorer, the session is lost in the frame, and the frame forwards itself to the logon screen of the BI application. This can be solved by lowering security settings of IE, however, as there is hundreds of users and we don't want to change the IE security settings.
    Searching through web, I have found that, adding header information to the target application solves the problem, too. This can be done by the following (I am not sure whether this is Java or C# code, bu I am sure, this can be done in each):
    HttpContext.Current.Response.AddHeader("p3p", "CP=\IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\");
    However, as the target application to be opened is a packaged application by Oracle (oracle BI), we cannot add this header information to the application.
    Finally, my question is: Is there a way to add this header information directly into OC4J so this is added to BI pages and I can restore my session?
    I hope I made myself clear enough :)
    Thanks a lot
    Özgür

    Hey Zvika,
    Chek out this website:  http://zone.ni.com/devzone/cda/epd/p/id/4759
    NI doesn't support any changes in the xsl however so if you change it you are on your own.  You can look to this website for help with that: http://www.w3.org/XML/
    Regards,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • How to run war file using oc4j

    hi to all..
    i'm new to oc4j .. i used to work on tomcat..
    i deployed the war file and all i have to do is to run the app. but i guess oc4j has different way in this ..
    you may say google for it, or read the oc4j tutorial i read it before but i just can't understand it..
    somebody pls can expalin the way simply...

    as i understood from the site:
    that there's three enviorment variables to be created :
    JAVA_HOME, ORACLE_HOME, (web-app-name)_HOME
    i created them, and started oc4j container correctly...
    after that i understand that i should go the explorer and reach the app at its root and the index.html will work (or the sat welcome-file page)
    and i'm trying that but it's just not working...
    the next error is appearing ...
    2007-07-26 11:28:23.453 NOTIFICATION  J2EE JSP-0008 Unable to dispatch JSP Page
    : Exception:oracle.jsp.parse.JspParseException: /Timing/timesheetmain.js
    p: Line # 4, <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    Error: "http://java.sun.com/jsf/html" is not a registered TLD namespace.am really confused and i need to work it today, my manager wants the project tomorrow..

Maybe you are looking for

  • Some info abt SCHEDULE LINES - VBEP; VBBE for OPEN quantites?

    Hi Experts, Pls. clarify me that, Am trying to show up the OPEN or BALANCE or BACK quantities in the report FOR EACH SCHEDULE LINE FOR EACH ITEM/POSNR. So, I need to look/subtract the VBEP-WMENG, VBFA-RFMNG for Delivery i.e. "J" VBTYP_N and the BALAN

  • Using Library Items

    Hi, Can anybody help me on the following  scripts. I have a Indesign library which contain Box Frame. This a text frames. What I want is, pull the element from the library and place some text in the textframe and place that element in the indesign  p

  • I am upgrading it to Enterprise Portal 6.0 Service Pack 22.

    Hi, I need to upgrade Enterprise Portal 6.0 Service Pack 09. I am upgrading it to Enterprise Portal 6.0 Service Pack 22. I am writting the download files names: 1> WebAS 6.40 SP22(Part 2/4): SAPInst Control File for Oracl--> CTRLORA22_0-20000118.SAR.

  • Database Delete from problem

    how do i make it so that when i do a DELETE query to delete a entry in database so it doesnt say #DELETED# in the database?

  • Strange preferences showing up

    I recently updated my server to 10.5.6. Since then I have had some clients show thousands of strange preferences in their libraries. This causes major slowdown issues at login. The preferences show up at login. I've watched from the server and seen h