OC4J 10.1.3.2 ... download .. ??

Hi,
I need to develop de mdb using database provider with oc4j, but
OC4J 10.1.3.4 ... doesnt work
OC4J 10.1.3.3 ... doesnt work
I found the error Bug . 6786060
DEPLOYMENT OF DATABASE PERSISTENCE PROVIDER VIA STANDALONE OC4J EM FAILS
Workaround..
Download OC4J 10.1.3.2 ...
where is OC4J 10.1.3.2 ...

You don't need to downgrade to the previous releases. As one of the comments to Mike Lehmann's post says, unset the ORACLE_HOME environment variable and execute in the shell from ORACLE_HOME/j2ee/home "java -jar oc4j.jar" to start oc4j. You can check the details of the bug on Metalink.
Gera

Similar Messages

  • OC4J 9.0.3 does not find JSP pages

    I had a working BC4J JSP application supporting my team's project management documents in JDev RC2 which I had successfully deployed into a standalone OC4J 9.0.3 on my Win2K workstation. Because the application failed with a jbo arrayoutofbounds exception when trying to bring up a 4K varchar2 field, I installed the newer OC4J 9.0.3 release, but tried to get JDev RC2 to deploy. Deployment seemed successful, but the JSP's were not recognized. (PS: The application still works with JDev's embedded OC4J engines).
    The JSP's are included in the deployed War file, but I do not see any classes compiled from the JSPs in the OC4J 9.0.3 directories. OC4J does bring up the static HTML pages.
    Seeing that JDev embeds OC4J 9.0.2, I downloaded the OC4J 9.0.2.1 production standalone version and again deployed -- the results were disappointingly the same, though, during the course of trying alternatives I received bc4j.xcfg not on path error.
    Grabbing at straws, I moved the application to the JDev 9.0.2 production version and tried to deploy to both the OC4J versions -- with the same results.
    I then created another workspace, with a single table BC4J component project, a BC4J JSP project, letting JDev generate the BrowseEdit.jsp components, added the default static html page object. Ran under embedded OC4J, but JSP page access failed, while access to the static HTML page worked.
    Because JDev deployments had never failed me before, I am at a complete loss. Too much of a black box!
    My desperation reminds me of a section from a Shakespeare sonnet -- appropriate here:
    "My thoughts and my discourse as madmen's are,
    at random from the true,
    vainly expressed,
    for I have sworn thee fair,
    and thought thee bright,
    who art as black as hell,
    and as dark as night."
    Can anyone help bring the old girl back?

    I meant to say application.xml file. Compare your settings to:
    <?xml version="1.0" standalone='yes'?>
    <!DOCTYPE orion-application PUBLIC "-//Evermind//DTD J2EE Application runtime 1.2//EN" "http://xmlns.oracle.com/ias/dtds/orion-application.dtd">
    <!-- The global application config that is the parent of all the other
         applications in this server. -->
    <orion-application autocreate-tables="true"
         default-data-source="jdbc/OracleDS">
         <web-module id="defaultWebApp" path="../../home/default-web-app" />
         <web-module id="dms0" path="../../home/applications/dms0.war" />
         <web-module id="dms" path="../../home/applications/dms.war" />
    <connectors path="./oc4j-connectors.xml"/>
         <persistence path="../persistence" />
    <!-- Path to the libraries that are installed on this server.
         These will accesible for the servlets, EJBs etc -->
         <library path="../../home/lib" />
         <library path="../../../BC4J/lib" />
         <library path="../../../ord/jlib/ordim.jar" />
         <library path="../../../ord/jlib/ordhttp.jar" />
         <library path="../../../jlib/uix2.jar" />
         <library path="../../../jlib/share.jar" />
         <library path="../../../jlib/regexp.jar" />
         <library path="../../../jlib/jdev-cm.jar" />
    <library path="../../../lib/dsv2.jar" />
    <library path="../../../rdbms/jlib/xsu12.jar" />
    <!-- Path to the taglib directory that is shared
         among different applications. -->
         <library path="../../home/jsp/lib/taglib" />
         <library path="../../../lib/oraclexsql.jar" />
         <library path="../../../jlib/LW_PfjBean.jar" />
         <library path="../../../jlib/bigraphbean.jar" />
         <library path="../../../jlib/bigraphbean-nls.zip" />
         <library path="../../../jlib/jewt4.jar" />
    <!-- Comment the following element to use principals.xml -->
         <jazn provider="XML" location="./jazn-data.xml" />
         <principals path="./principals.xml" />
         <log>
              <file path="../log/global-application.log" />
         </log>
    <commit-coordinator>
    <commit-class
    class="com.evermind.server.OracleTwoPhaseCommitDriver" />
    <property name="datasource"
    value="jdbc/OracleDS"/>
    <!-- Username and password are the optional properties
    replace with your commit_co-ordinator_super_user
         <property name="username"
         value="system" />
         <property name="password"
         value="manager" />
    -->
    </commit-coordinator>
         <data-sources path="data-sources.xml" />
         <namespace-access>
              <read-access>
                   <namespace-resource root="">
                        <security-role-mapping>
                             <group name="administrators" />
                        </security-role-mapping>
                   </namespace-resource>
              </read-access>
              <write-access>
                   <namespace-resource root="">
                        <security-role-mapping>
                             <group name="administrators" />
                        </security-role-mapping>
                   </namespace-resource>
              </write-access>
         </namespace-access>
    </orion-application>

  • OC4J Standalone Distribution - License needed?

    Hi,
    I'm using APEX 3.2 on a 10gR2 Database with an Oracle HTTP Server (Apache 1.3). In order to enable PDF generation within APEX, an OC4J standalone is needed according to PDF Printing in APEX:
    [http://www.oracle.com/technology/products/database/application_express/html/configure_printing.html#05]
    Can someone confirm that OC4J standalone does not need to be licensed separately? According to every Apex documentation the "Apache FOP with the OC4J standalone" is the way to go if you don't want to spend extra money on Oracle Licenses. And I definitely do not need the whole Oracle Application Server.
    What really disturbed me was the first sentence on the OC4J Standalone Distribution Web Page:
    [http://www.oracle.com/technology/software/products/ias/htdocs/utilsoft.html]
    All software on this page is to be used according to the development license unless you are a licensed Oracle Application Server customer. Oracle Application Server customers can use this software according to the terms and conditions of your Oracle Application Server license.
    I'm not a licensed Oracle Application Server customer but I wan't to use the OC4J standalone in a production enviroment! Do I need to license OC4J standalone?
    Regards,
    Marco

    hi %,
    The official oracle reply:
    Please find below additional information to OC4J licensing:
    OC4J Standalone version can be downloaded for free from OTN but its usage is subject to the OTN Agreement.The OTN agreement is very restrictive and it is important that the partner and end user know of these restrictions.
    There is a link to the OTN Agreement on the url provided:
    +[http://www.oracle.com/technology/software/products/ias/htdocs/utilsoft.html |http://www.oracle.com/technology/software/products/ias/htdocs/utilsoft.html ]+
    For example,  the OTN program cannot be used for internal data processing or for any commercial or production purposes, or for any purpose except the development of a single prototype of your application.
    For for any commercial or production purposes OC4J is part of Internet Application Server (Standard Standard One and Enterprise Editions) and WebLogic Suite. These programs would need to be licensed in order to use OC4J.
    Unfortunately, I do not have an Oracle supported way to genereate PDF within APEX which does not cause any additional license costs.
    cheers,
    Marco

  • NEWBIE - OC4J doesnt start

    Hi
    I just tried to install OC4J and Oracle Real Time Decision Server...
    I did everything as described in the manauals, but when I try to start OC4J I get this error message:
    C:\Program Files\OC4J\bin>oc4j -start
    Starting OC4J from C:\Program Files\OC4J\j2ee\home ...
    Exception in thread "main" java.lang.NoClassDefFoundError: authenticate=false
    I have no idea how to fix that and appreciate your help!
    Please let me know if you need other information.
    Thanks
    Alex

    Hi Steve and Olaf,
    Even I am also facing problem in installing OC4J 101330 version.
    I downloaded it and extracted the same.
    Then I went to /j2ee/home directory and ran the following command java -jar oc4j.jar - install.
    I m getting the following error:
    C:\OC4J\j2ee\home>java -jar oc4j.jar -install
    OC4J startup failed
    java.lang.NoClassDefFoundError: oracle/dms/instrument/TransTraceIntf
    at java.lang.Class.getDeclaredMethods0(Native Method)
    at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
    at java.lang.Class.getMethod0(Unknown Source)
    at java.lang.Class.getMethod(Unknown Source)
    at oracle.classloader.util.MainClass.invoke(MainClass.java:81)
    at oracle.oc4j.loader.boot.BootStrap.main(BootStrap.java:30)
    Appreciate your help in this regard.
    Thanks in advance,
    -- Naveen

  • (Newbie) OC4J errors

    Hi,
    I have an application deployed on Oracle 9iAS (9.0.3) on Solaris. My application deploys and runs fine for a while, then after days/weeks I start getting error messages like these in the error log:
    [date] [error] [client ip] MOD_OC4J_0058: Failed to handle response chunk data passed in from oc4j via ajp13.
    [date] [error] [client ip] MOD_OC4J_0035: After hdndling ajp13 response message, got an invalid value: -2.
    [date] [error] [client ip] MOD_OC4J_0121: Failed to service request with network worker: application_14 and it is not recoverable.
    [date] [error] [client ip] MOD_OC4J_0013: Failed to call destination: application's service() to service the request.
    To me it looks like my workers are dying - does anyone know how to fix this?
    Any help or suggestions would be greatly appreciated.
    Cheers,
    =Per

    Hi Steve and Olaf,
    Even I am also facing problem in installing OC4J 101330 version.
    I downloaded it and extracted the same.
    Then I went to /j2ee/home directory and ran the following command java -jar oc4j.jar - install.
    I m getting the following error:
    C:\OC4J\j2ee\home>java -jar oc4j.jar -install
    OC4J startup failed
    java.lang.NoClassDefFoundError: oracle/dms/instrument/TransTraceIntf
    at java.lang.Class.getDeclaredMethods0(Native Method)
    at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
    at java.lang.Class.getMethod0(Unknown Source)
    at java.lang.Class.getMethod(Unknown Source)
    at oracle.classloader.util.MainClass.invoke(MainClass.java:81)
    at oracle.oc4j.loader.boot.BootStrap.main(BootStrap.java:30)
    Appreciate your help in this regard.
    Thanks in advance,
    -- Naveen

  • Rotating logs in OC4J SO?

    Is there a way to configure OC4J stand alone version so that I can have access logs automatically rotated when the logs reach a certain size or when a period of time has elapsed? Ideally I would like to be able to pipe the web site access logs (and others) to a tool such as cronolog that handles log file rotation. I've tried to modify the http-web-site.xml file entry for the path to the access log so that it pipes to cronolog, but oc4j barfs. Anybody out there have any ideas?

    You can rotate logs in OC4J 9.0.4 using ODL. Please look at the OC4J Standalone userguide at http://download-west.oracle.com/docs/cd/B12314_01/web.904/b10323/advanced.htm#1015201
    regards
    Debu

  • JDeveloper 10.1.3.3.0:  Problem with Apache Axis 1.4 response handler

    I have written both a request handler and a response handler for calling a web service using Apache Axis 1.4.
    The request handler is working, but when the web service returns a soap fault, my response handler is not getting called (I have set breakpoints in both the "onFault" and "invoke" methods of the response handler, which extends "org.apache.axis.handlers.BasicHandler").
    Here is what my WSDD looks like:
    <deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
       <transport name="http" pivot="java:org.apache.axis.transport.http.HTTPSender"/>
       <globalConfiguration>
          <requestFlow>
             <handler name="MyRequestHandler" type="java:com.mycompany.MyRequestHandler"/>
          </requestFlow>
          <responseFlow>
             <handler name="MyResponseHandler" type="java:com.mycompany.MyResponseHandler"/>
          </responseFlow>
       </globalConfiguration>
    </deployment>Thanks!
    Jonathan
    Edited by: user1993443 on Mar 6, 2009 9:03 AM

    The OC4J version with comes in jdeveloper has instaled ADF, is a version prepared to test your aplications and well ready for that.
    The OC4J standalone version is this [http://www.oracle.com/technology/tech/java/oc4j/index.html] and is downloaded separately here [http://www.oracle.com/technology/software/products/ias/htdocs/utilsoft.html] .
    The structured folder of the OC4J standAlone is never is contended inside Jdeveloper folder and when you try to install ADF with ADF runtime installer you only need to map to your OC4J folder base.
    Good Luck.

  • SingleSign on with Sun Java Directory Server

    Hi,
    I wanted to know if there is any way to integrate the sun java server for the Single sign on of the App Server 10g(10.1.3.1.0).
    Any help is appreciated..

    Hi,
    What exactly do you want? If you want SSO for your oc4j containers see see: [http://download-west.oracle.com/docs/cd/B32110_01/web.1013/b28957/javasso.htm#BABDCCGB]
    If you want authentication and authorisation against Sun LDAP you need to configure the separate components of soa suite to use your sun ldap. See [http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b28982/service_config.htm#BABHBEGH] on how to configure e.g. bpel.
    Kind regards,
    Andre

  • Error while trying to run JSP page in Jdev

    I have integrated BPEL and business rules and it has a task form so if I am trying to run JSP page in JDeveloper, it gives below
    error:
    [Starting OC4J using the following ports: HTTP=8989, RMI=23892, JMS=9228.]
    D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\system\oracle.j2ee.10.1.3.39.84\embedded-oc4j\config>
    D:\Oracle-SaaS\Downloads\jdevstudio10131\jdk\bin\javaw.exe -client -classpath D:\Oracle-SaaS\Downloads\jdevstudio10131\j2ee\home\oc4j.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\system\oracle.j2ee.10.1.3.39.84\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    09/08/05 12:28:20 Error initializing server: At least one valid code-source or import-shared-library element is required for shared-library "global.libraries" in /D:/Oracle-SaaS/Downloads/jdevstudio10131/jdev/system/oracle.j2ee.10.1.3.39.84/embedded-oc4j/config/server.xml.
    09/08/05 12:28:20 Fatal error: server exiting
    Process exited with exit code 1.

    Looks lik eyou have not specified the correct shared libraries in your server.xml. Also, ensure that you have added the libraries in the right order in your BPEL Project in JDev.

  • Jdeveloper 3.0 installer problem

    When installing jdeveloper 3, the installer program halts at 80-90% at the ***preparing to install*** stage. We have run across the very same problem in several different machines, and the only change after installing JDeveloper 2 was installing Office 2000. The 3 machines we tired were all NT WKS .
    Anybody encountered the same problem?

    The OC4J version with comes in jdeveloper has instaled ADF, is a version prepared to test your aplications and well ready for that.
    The OC4J standalone version is this [http://www.oracle.com/technology/tech/java/oc4j/index.html] and is downloaded separately here [http://www.oracle.com/technology/software/products/ias/htdocs/utilsoft.html] .
    The structured folder of the OC4J standAlone is never is contended inside Jdeveloper folder and when you try to install ADF with ADF runtime installer you only need to map to your OC4J folder base.
    Good Luck.

  • Error Message while Installing OC4J_EXTENDED

    Hi --
    Installing the preconfigured version of the OC4J container containing the PDK -- downloaded from url http://download.oracle.com/otndocs/tech/ias/portal/files/OC4J_EXTENDED.zip -- followed all the instructions. After unzipping and setting config parms, while running the "startup" command, get an exception message that looks like this:
    Copying default deployment descriptor from archive at C:\Program Files\jdeveloper\j2ee\home\applications\portalTools/META-INF/orion-application.xml to deployment directory C:\Program Files\jdeveloper\j2ee\home\application-deployments\portalTools...
    java.lang.NullPointerException
    at java.io.File.<init>(Unknown Source)
    at oracle.security.jazn.JAZNConfig.getJAZNProperties(Unknown Source)
    at oracle.security.jazn.JAZNConfig.access$100(Unknown Source)
    at oracle.security.jazn.JAZNConfig$2.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jazn.JAZNConfig.getJAZNPropertiesNoCheck(Unknown Source)
    at oracle.security.jazn.JAZNConfig.<init>(Unknown Source)
    at oracle.security.jazn.JAZNConfig.initJAZNSingleton(Unknown Source)
    at oracle.security.jazn.JAZNConfig.getJAZNConfig(Unknown Source)
    at oracle.security.jazn.util.Dbg$2.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jazn.util.Dbg.getJAZNProperty(Unknown Source)
    at oracle.security.jazn.util.Dbg.getBoolJAZNAndSystemProperty(Unknown Source)
    at oracle.security.jazn.util.Dbg.<clinit>(Unknown Source)
    at oracle.security.jazn.JAZNConfig.parseJAZNConfig(Unknown Source)
    at com.evermind.server.XMLServerConfig.parseJAZNNode(XMLServerConfig.java:1050)
    at com.evermind.server.XMLServerConfig.parseDeploymentMainNode(XMLServerConfig.java:780)
    at com.evermind.server.deployment.EnterpriseArchive.parseDeploymentMainNode(EnterpriseArchive.java:309)
    at com.evermind.xml.XMLConfig.parseRootNode(XMLConfig.java:274)
    at com.evermind.xml.XMLConfig.init(XMLConfig.java:151)
    at com.evermind.server.ServerComponent.initDeployment(ServerComponent.java:317)
    at com.evermind.server.ServerComponent.copyAndDeploy(ServerComponent.java:386)
    at com.evermind.server.ServerComponent.deployAndInit(ServerComponent.java:527)
    at com.evermind.server.XMLApplicationServerConfig.parseApplicationConfig(XMLApplicationServerConfig.java:1644)
    at com.evermind.server.XMLApplicationServerConfig.sortApplicationConfigReferences(XMLApplicationServerConfig.java:2228)
    at com.evermind.server.XMLApplicationServerConfig.postInit(XMLApplicationServerConfig.java:320)
    at com.evermind.xml.XMLConfig.init(XMLConfig.java:181)
    at com.evermind.xml.XMLConfig.init(XMLConfig.java:92)
    at com.evermind.server.XMLApplicationServerConfig.init(XMLApplicationServerConfig.java:1935)
    at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:70)
    at java.lang.Thread.run(Unknown Source)
    The startup process continues without any other complaints, but -- because I've got other problems later on -- I wanted to check whether this error was common and benign.
    Any thoughts?

    Some additional followup...
    If instead of running the startup.bat file I switch to j2ee\home and execute
    java -jar oc4j.jar
    I get a slightly different error message.
    Error instantiating application at file: C:/Program Files/jdeveloper/j2ee/home/applications/portalTools.ear:
    Constructing UserManager for portalTools:
    caught oracle.security.jazn.JAZNInitException:
    Cannot locate default jazn.xml. Please define "oracle.home".
    this is followed by a series of errors that complain
    Error initializing site Oracle9iAS Containers for J2EE HTTP Web Site: No application named 'portalTools' found in the server
    ... is this another symptom of the same underlying problem? It suggests that "oracle.home" should be defined, so that file jazn.xml can be found. Sure sounds like it might be associated with the NullPointerException in my previous post -- since that occurred on the call to "getJAZNProperties"...
    Any thoughts what "oracle.home" should be defined as?

  • DMS with WebSphere

    Hi,
    I'm trying to get DMS Web-interface to run, but it seems to require Oralce XML Parser instead of JAXP parser, we are using for our own application. Is there any way around that? I managed to start Spy servlet, but it doesn't delivery any statistics besides JVM and TopLink session. All neccessary system properties are set as described in TopLink documentation. Unfortunateyl I failed to find any further documentation on that topic.So, any help would by highly appricated.
    WebSpehere 5.1, TopLink 10.1.3dp3r2, DMS jar from the OC4J 10.1.3 dp3 download.
    Regards
    Oleg

    I'm not sure on the XML parser requirement of DMS, but it sounds likely. You might want to try the app server or database forum for more generic info on DMS.
    If you are only seeing the TopLink session login time in the metrics then it is probably caused by the level being the default. At the default NORMAL level TopLink does not register any metrics. You need to set the DMS level to HEAVY or ALL for more metrics.
    This can be done through the DMS system property, oracle.dms.sensors
    i.e.
    java -Doracle.dms.sensors=HEAVY ...
    or,
    java -Doracle.dms.sensors=ALL ...

  • Why I cannot connect to database after deploying application to OAS?

    Hello experts...i have a new problem and here are the facts:
    I`m using on Windows Xp:
    Oracle Database 10.2.0
    Oracle Application Server 10.1.3
    Oracle Jdeveloper 10.1.3.3
    I`m creating a new application using jdeveloper and i`m using 2 connection classes:
    a) First connection class using:
    InitialContext ctx=new InitialContext();
    DataSource ds=ctx.lookup("jdbc/connDS");
    Connection conn=ds.getConnection();
    b) Second connection class using:
    Connection conn = DriverManager.getConnection("jdbc:and the entire link goes here");
    So far so good, but when I create a ear file using the First connection class and after i deploy it to OAS my application will not connect anymore to database!
    If I will use the Second connection class, and create an ear file then deploy it to OAS, my application works fine, it connects to database but i have a problem. In my application users can upload and download the files they uploaded. The files are saved in DB as blob. The problem appears when users are downloading the files because for example file "example.doc" is uploaded on the server database and when a user try to download it the name of the file is like "example_doc" and my pc open it like an html in which is a server 500 error. Someone told me that happens because of my connection class... and I want to find out you`re opinion.
    Why i cann`t connect to DB after deploy the application on OAS using the FIRST connection class?
    - on Jdeveloper i can connect to DB using both of the connect classes (one at a time)
    - I`m creating a war file from jdeveloper and deploy the ear file on the OAS
    - on OAS i`ve created the connection pool and the data source and "The connection was establish succesfully"
    Why the uploaded files are downloaded in this way? it`s the connection the problem?
    - I want to tell you that when i`m extracting data from the DB table i`m not using a temp file, the conversion is made in the java class and the program throws me the file to download.
    - as i told you in Jdeveloper both of the connection classes work!!! and when i`m using the FIRST connection class and try to download, the files ARE DOWNLOADED PERFECTLY CORRECT!
    - if i`m using the SECOND connection class in jdeveloper, running the application on the built in oc4j instance and trying to download the same files, the files are DOWNLOADED BAD like I told you: the name of the file is like "example_doc" and my pc open it like an html in which is a server 500 error. with the pdf format is the same problem but my pc cannot open it telling something with "bad conversion...." error.
    There are someone who had the same problem?
    Theoretically i had to make the application to connect to the database after deploy it to OAS with the FIRST connection class and this way my files will be downloaded corectly... what to do?

    no one knows nothing about this issue? :(... i`m dissapointed...

  • Deploying simple website made up of JSF pages

    Hi all,
    I have made a simple website containig only JSF pages.
    But I could not able to deploy it on the oracle app server 10.1.3.0.
    At the time of deploying it is not showing any error message.
    But the website is not showing when I enter the given URL.
    Can you plesase help me out.
    Can you tell me any propper user guide to deploy JSF pages on oracle app server 10.1.3.0.
    Thanks in advance.

    Hi,
    Except for specifying deployment plan, the procedure to deploy from JDev is the same. So, if your JSF application is running fine on the Embedded OC4J, then try deploying from JDev to App Server.
    Check if the JSPX files are extracted properly in the applications folder of the OC4J home.
    Check http://download.oracle.com/docs/cd/B31017_01/core.1013/b28764/deploy_em.htm#CACJCCEJ for more info
    Rgds
    Vikas

  • BUG - Client Authentication doesn't work !!! [standalone 10.1.3.0.0]

    i tried to enable client authentication in jdevloper oc4j with
    needs-client-auth="true" but it doesnt work.. i got SSL connection but server do not request client certificate
    i did not have problems with 10.1.2.0.2

    FYI - It is hard to tell where you went wrong in the configuration. Typically this kind of error comes up if there is a problem with the certificate. The process of securing OC4J is detailed here:
    http://download-west.oracle.com/otn_hosted_doc/ias/preview/web.1013/b14432.pdf
    Perhaps you can validate what you did vs the documentation.
    I cut and pasted the following from the docs so may not come out well:
    Creating the Secure Web Site Configuration File
    Specify the appropriate SSL settings under the <web-site> element, as illustrated in the following example.
    <web-site xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/
    web-site-10_0.xsd" port="4443" secure="true" display-name="My Secure Web Site">
    <access-log path="../log/secure-web-access.log" />
    <ssl-config factory="com.evermind.ssl.JSSESSLServerSocketFactory"
    keystore="../../server.keystore" keystore-password="welcome"
    provider="com.sun.net.ssl.internal.ssl.Provider" />
    </web-site>
    Note the additions to <web-site>, shown in bold:
    Add a secure attribute with the value set to true. Setting secure="true" specifies that the HTTP protocol is to use an SSL socket.
    Set the port attribute to an available port. The default for SSL ports is 443; in the example above, the port attribute is set to 4443.
    Add the <ssl-config> element. This element is required whenever the secure flag is set to true. This element takes the following attributes and elements:
    o The optional factory attribute is used to specify the third-party SSLSecureSocketFactory implementation to use if the application is not using JSSE.
    The Oracle implementation - com.evermind.ssl.JSSESSLServerSocketFactory - is used by default. (Note that although the default implementation is shown in the example, it is implicit and does not need to be specified.)
    If the application uses a third-party SSLServerSocketFactory implementation, you can use <property> subelements of <ssl-config> to send parameters to the factory.
    o The keystore and keystore-password attributes specify the directory path and password for the keystore. The specified keystore must contain the certificates of any clients that are authorized to connect to OC4J through HTTPS. The value of keystore can indicate either an absolute or relative directory path and includes the file name.
    o The optional provider attribute can be used to specify a security provider to use.
    By default, the Sun Microsystems implementation - com.sun.net.ssl.internal.ssl.Provider - is used. (Note that although the default implementation is shown in the example, it is implicit and does not need to be specified.)
    o One or more <property> elements containing parameters to pass to the SSLSecureSocketFactory. Each element contains a name attribute and a value attribute, enabling you to specify parameters as name/value pairs.
    When the Web site configuration file is ready, add a <web-site> element referencing it to server.xml, the OC4J configuration file located in the J2EE_HOME/config directory. Note that applications will not be able to bind to the Web site unless this notation exists in server.xml. For example:
    <application-server ... >
    <web-site path="./default-web-site.xml" />
         <web-site path="./mycustom-web-site.xml" />
    <web-site path="./secure-web-site.xml" />
    </application-server>
    When configuration is complete, OC4J listens for SSL HTTP requests on one port and non-SSL HTTP requests on another. You can disable either SSL requests or non-SSL requests by commenting out the appropriate *-web-site.xml in the server.xml configuration file.
    <!-- <web-site path="./secure-web-site.xml" /> commented out to remove SSL -->

  • Calling EJB from web application

    Hi All,
    i am writing the one j2ee application. i have the one web application and one stateless bean. now i want to call the session bean from the web application using the struts frame work... how can i call the ejb from the normal web applicaion....
    i deployed both in web logic successfully.. now how can i integrate those two applicaitions........
    Thanks
    Rao

    http://www.oracle.com/technology/sample_code/tech/java/oc4j/htdocs/oc4jsamplecode/servlettoejb.jar
    download one of the classical example from oracle code base and reverse-engineer it after extraction of the application.

Maybe you are looking for