New OC4J Instance

Hi,
i am bit new with the Oracle 9iAS . I want to know when is the decision to create new OC4J instance taken ? I have a single J2EE application running on the OC4J middle tier, there is a new J2EE application coming up.
So when should i take the decision to create a new OC4J for applications to be deployed. Can some body help me out in this.
All suggestions are welcome.
Thanks in advance
Giriraj B
email :- [email protected]

Is there a servlet mapped to HomeServlet in the web.xml file so it can be accessed like that?
Can you access any other resources -- ie a .html or .jsp page in that deployed app?
If you are using Internet Exploder, then one thing to try is turn off the "Show Friendly Error Pages" option in the custom settings. By default IE hides the error details, which might give you some more information here.
cheers
-steve-

Similar Messages

  • How can I create a new OC4J Instance in Application Server Control

    Hi All,
    Is there any way to create a new OC4J Instance in Application Server Control of installed SOA Suite, so that it gets listed in Cluster Topology page.
    Thanks
    Krrish

    Hi Eric,
    Thanks for the reply.
    it is pretty simple..which I didnt try earlier..
    Thanks
    Krrish

  • Javascript error when creating a new OC4J instance?

    Hi
    Im trying to deploy the documentum portlet, and a requirement was to install Ant, Java SDK....and i did
    after that...on my Application server machine (the portal), when i login to the enterprise manager to start a new OC4j instance, my browser shows a script error in the status bar in IE 6.0.
    it says: Object expected, ....and whenever i click "Create OC4j instance" the page is scrolled up to the top part of the page. so there is some kind of javascript error. how can i fix this? its stopping me from my development process.
    Your help is appreciated. thanks
    Faisal[b]

    On Windows this is caused most often by the temporary directory setting.
    Change the temporary directory to some fixed directory writable by anybody, e.g. "C:\temp".
    Change this in:
    Registry entry: hkey_local_machine\software\oracle\key_<oashome>\REPORTS_TMP
    <oashome>\opmn\conf\opmn.xml: search for environment variable TEMP (under ias-instance)
    Good luck!

  • How to setup new OC4J instance to host jdev business component (EJB)

    From Jdeveloper 9.0.3 I want to deploy a business component to an new oc4j instance running under 9ias version 9.0.3.
    In jdeveloper I have built and tested an application server connection (type=Oracle Application Sever Remote DCM) to my new oc4j instance on 9ias. My understanding is that the jdeveloper deployment profile wizard will help me construct a profile to build what is known as an "EJB session bean".
    Using EmWebSite, I have created and started the new oc4j instance, and i constructed a datasource to be used for the database connection.
    Is there anything else that I will need to do to the new 9ias oc4j instance prior to building the deployment profile in jdeveloper, and then running the deployment? For instance, does this new oc4j instance somehow have the necessary hooks in it to support this bc4j component? Do I need to install any missing jar files? Do I need to define rmi ports ? Do I need to configure BC4J support?
    BTW ... I have tried to pursue this topic from the Jdeveloper side but the support personnel are not familar with 9ias 903, nor are they familar with 9ias Remote DCM deployment.

    Yes, you should be able to deploy an BC4J application without making any other changes to an IAS instance. For standalone OC4J please look at http://otn.oracle.com/products/jdev/htdocs/config_oc4j_for_bc4j.html
    regards
    Debu

  • Error when creating new oc4j-instance

    1.
    when i create a new oc4j-instance via EMWeb i get the following:
    The operation failed.. Instance: iasdb.test.xxx.ch Message: Keine Meldung für diese Exception definiert. Base Exception: java.lang.NoClassDefFoundError:nullKeine Meldung für diese Exception definiert.
    the german text means: no message defined for this exception.
    when i then refresh the website the oc4j-instance is created, but down.
    2.
    when i try to deploy an application to any OC4J-instance manually i get the following error:
    Web-Anwendung ee konnte nicht eingesetzt werden Error while parsing oc4j configuration files. Root Cause: D:\Oracle\9iAS\j2ee\OC4J_AA\config\.\default-web-site.xml (Das System kann den angegebenen Pfad nicht finden). D:\Oracle\9iAS\j2ee\OC4J_AA\config\.\default-web-site.xml (Das System kann den angegebenen Pfad nicht finden)
    OC4J_AA whas a instance i once created and deleted then. it shoud no more exist.
    where does this error come from?

    Hi Stefan -
    I'm not sure where this error comes from, I've never seen it. Particularly in German! ;-)
    I think the best way to get more information on this is to repost your message to the general 9iAS forum. I believe that there are people monitoring that forum who look afer the management console and who might be able to help you further.
    -steve-

  • How to create new OC4J instance in AS 10.1.3 with BC4J- and ADF-Libraries

    Hi
    I have done all the steps mentioned in this thread:
    How to create new OC4J instance in AS 10.1.3
    However, the new created OC4J instance obviously misses some libraries. If I deploy my Application to this OC4J I get an internal error: Class not found: oracle.jbo.JboException.
    The same Application runs well in the "home" Instance.
    What is the trick, to create a new OC4J instance, which more or less behaves the same way as the "home" instances (and especially has all the same libraries)?
    Thanks for your help
    Frank Brandstetter

    I encountered this last month. I definitely agree that it is a glaring omission to not have "Create Like" functionality when instantiating new containers. Here's my notes on the manual steps required after using createinstance to create the fresh container. Not too bad. I've been deploying ADF applications to the new container with no problems after this.
    ==============
    The default (home) OC4J container is pre-configured for ADF 10.1.3 applications; however, when $ORACLE_HOME/bin/createinstance is used to create additional containers, these containers are not configured automatically to host ADF 10.1.3 applications.
    I followed these manual steps:
    1. $ORACLE_HOME/j2ee/home/config/server.xml defines three shared libraries that "install" the needed JARs for Oracle ADF applications in your application server instance (container). Note that "install" does not necessarily mean available to applications (see Step 2). Copy the three shared library element definitions to the <application-server> element of your new container (in server.xml).
    <shared-library name="oracle.expression-evaluator" version="10.1.3" library-compatible="true">
         <code-source path="/usr2/oracle/as10130/jlib/commons-el.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/oracle-el.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/jsp-el-api.jar"/>
    </shared-library>
    <shared-library name="adf.oracle.domain" version="10.1.3" library-compatible="true">
         <code-source path="/usr2/oracle/as10130/BC4J/lib"/>
         <code-source path="/usr2/oracle/as10130/jlib/commons-cli-1.0.jar"/>
         <code-source path="/usr2/oracle/as10130/mds/lib/concurrent.jar"/>
         <code-source path="/usr2/oracle/as10130/mds/lib/mdsrt.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/share.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/regexp.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/xmlef.jar"/>
         <code-source path="/usr2/oracle/as10130/BC4J/jlib/adfmtl.jar"/>
         <code-source path="/usr2/oracle/as10130/BC4J/jlib/adfui.jar"/>
         <code-source path="/usr2/oracle/as10130/BC4J/jlib/adf-connections.jar"/>
         <code-source path="/usr2/oracle/as10130/BC4J/jlib/dc-adapters.jar"/>
         <code-source path="/usr2/oracle/as10130/ord/jlib/ordim.jar"/>
         <code-source path="/usr2/oracle/as10130/ord/jlib/ordhttp.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/ojmisc.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/jdev-cm.jar"/>
         <code-source path="/usr2/oracle/as10130/lib/xsqlserializers.jar"/>
         <import-shared-library name="oracle.xml"/>
         <import-shared-library name="oracle.jdbc"/>
         <import-shared-library name="oracle.cache"/>
         <import-shared-library name="oracle.dms"/>
         <import-shared-library name="oracle.sqlj"/>
         <import-shared-library name="oracle.toplink"/>
         <import-shared-library name="oracle.ws.core"/>
         <import-shared-library name="oracle.ws.client"/>
         <import-shared-library name="oracle.xml.security"/>
         <import-shared-library name="oracle.ws.security"/>
         <import-shared-library name="oracle.ws.reliability"/>
         <import-shared-library name="oracle.jwsdl"/>
         <import-shared-library name="oracle.http.client"/>
         <import-shared-library name="oracle.expression-evaluator"/>
    </shared-library>
    <shared-library name="adf.generic.domain" version="10.1.3" library-compatible="true">
         <code-source path="/usr2/oracle/as10130/BC4J/jlib/bc4jdomgnrc.jar"/>
         <code-source path="/usr2/oracle/as10130/BC4J/lib"/>
         <code-source path="/usr2/oracle/as10130/jlib/commons-cli-1.0.jar"/>
         <code-source path="/usr2/oracle/as10130/mds/lib/concurrent.jar"/>
         <code-source path="/usr2/oracle/as10130/mds/lib/mdsrt.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/share.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/regexp.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/xmlef.jar"/>
         <code-source path="/usr2/oracle/as10130/BC4J/jlib/adfmtl.jar"/>
         <code-source path="/usr2/oracle/as10130/BC4J/jlib/adfui.jar"/>
         <code-source path="/usr2/oracle/as10130/BC4J/jlib/adf-connections.jar"/>
         <code-source path="/usr2/oracle/as10130/BC4J/jlib/dc-adapters.jar"/>
         <code-source path="/usr2/oracle/as10130/ord/jlib/ordim.jar"/>
         <code-source path="/usr2/oracle/as10130/ord/jlib/ordhttp.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/ojmisc.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/jdev-cm.jar"/>
         <code-source path="/usr2/oracle/as10130/lib/xsqlserializers.jar"/>
         <import-shared-library name="oracle.xml"/>
         <import-shared-library name="oracle.jdbc"/>
         <import-shared-library name="oracle.cache"/>
         <import-shared-library name="oracle.dms"/>
         <import-shared-library name="oracle.sqlj"/>
         <import-shared-library name="oracle.toplink"/>
         <import-shared-library name="oracle.ws.core"/>
         <import-shared-library name="oracle.ws.client"/>
         <import-shared-library name="oracle.xml.security"/>
         <import-shared-library name="oracle.ws.security"/>
         <import-shared-library name="oracle.ws.reliability"/>
         <import-shared-library name="oracle.jwsdl"/>
         <import-shared-library name="oracle.http.client"/>
         <import-shared-library name="oracle.expression-evaluator"/>
    </shared-library>
    2. To make the necessary ADF and JSF support libraries available to your deployed ADF application, the default application (that your ADF application and the majority of applications should inherit from) should explicitly import the shared library in the <orion-application> element of $ORACLE_HOME/j2ee/<your container>/config/application.xml.
    <imported-shared-libraries>
         <import-shared-library name="adf.oracle.domain"/>
    </imported-shared-libraries>
    Note: the adf.oracle.domain shared library imports several other shared libraries including oracle.expression-evaluator.

  • New OC4J Instance : Deployed EAR File : Page not Found !

    Hi,
    I have installed the Oracle Apps Middle Tier on one of my systems.
    I created a new OC4J instance named OC4J_Custom and deployed an ear file with a couple of Test Servlets. Now, when I enter the URL for the Middle Tier OC4J :
    http://middletier:7778/my_app/HomeServlet
    I only see a " The page cannot be displayed " error !.
    I even checked in the mod_oc4j.conf file - the settings seem to be correct :
    Oc4jMount /my_app OC4J_Custom
    Oc4jMount /my_app/* OC4J_Custom
    Do I need to do any other settings ?
    Regards,
    Sandeep

    Is there a servlet mapped to HomeServlet in the web.xml file so it can be accessed like that?
    Can you access any other resources -- ie a .html or .jsp page in that deployed app?
    If you are using Internet Exploder, then one thing to try is turn off the "Show Friendly Error Pages" option in the custom settings. By default IE hides the error details, which might give you some more information here.
    cheers
    -steve-

  • Error in creating new OC4J instance

    Hi All,
    I am trying to Create a new OC4J Instance with the Help of "Oracle Enterprise Manager 10g for Application Server Control" , but the following Error message is displayed.
    "Error:
    The configuration files for this Oracle Application Server instance are inconsistent with the
    configuration stored in the repository. In order to protect the repository,
    no further configuration or deployment operations are allowed until the problem with the configuration on the filesystem is resolved. This condition arises when a prior operation was unsuccessful. The exception associated with this failed operation is:
    {0}
    . Please also check the logs located at
    ORACLE_HOME/dcm/logs to determine why DCM was unsuccessful in updating
    the configuration files on disk. Some possible causes are:
    * permissions on files
    * file contention issues on Windows NT
    * internal Oracle error
    After resolving the problem that prevented DCM from updating the configuration
    files, you may use the dcmctl resyncInstance command to resolve the problem.
    Alternatively, you can stop and then restart the active dcmctl or EMD
    process and resyncInstance will automatically be performed."
    Can anyone tell me how to resolve this problem and create a new OC4J instance?

    Hi Jason,
    Thanks for your help.
    I tried DCM tool but it is giving the same error. Is there any other tool to resolve this problem?
    Have you worked on Oracle Content Management SDK (Oracle CM SDK)?
    Actually, I am currently working on Oracle CM SDK. I have to dvelope an Content Management application (like WebstarterApplication which is provided)from scratch which can enable end user
    1. To browse through the documents in the repository.
    2. To open the documents form the repository itself.
    3. To edit and save the document in the place in the repository.
    I found that in WebstarterApplication (an CM SDK Application which is provided as demo), 1st and 2nd features are there but 3rd one is not.
    So, I am going to develope an application from scratch.
    Then is it necessary to create an OC4J Instance?
    Please suggest me what should be the steps to be followed to develope such an application from scratch.
    Thanks.

  • Error generating new OC4J instance?

    using 9iAS J2EE Container Version 9.0.2.0.0
    on Win 2000 Server
    when trying to generate a new OC4J instance from EM GUI I get an error message
    The operation failed.. Instance: RAB9iAS.rabdev001.p01.xy.loc Message: Keine Meldung für diese Exception definiert. Base Exception: java.lang.NoClassDefFoundError:nullKeine Meldung für diese Exception definiert.
    German text roughly translates to: "no message defined for this exception"
    (The traffic light shows an exclamation mark and the checkbox next to "JServ" is disabled, JServ is not running. Is this normal?)
    Any ideas?
    Which log files might provide more info?
    I'm new to 9iAS, so please keep it simple ...

    Hi Jason,
    Thanks for your help.
    I tried DCM tool but it is giving the same error. Is there any other tool to resolve this problem?
    Have you worked on Oracle Content Management SDK (Oracle CM SDK)?
    Actually, I am currently working on Oracle CM SDK. I have to dvelope an Content Management application (like WebstarterApplication which is provided)from scratch which can enable end user
    1. To browse through the documents in the repository.
    2. To open the documents form the repository itself.
    3. To edit and save the document in the place in the repository.
    I found that in WebstarterApplication (an CM SDK Application which is provided as demo), 1st and 2nd features are there but 3rd one is not.
    So, I am going to develope an application from scratch.
    Then is it necessary to create an OC4J Instance?
    Please suggest me what should be the steps to be followed to develope such an application from scratch.
    Thanks.

  • Oracle AS 10gR2: create new oc4j instance supporting ssl/https

    hi,
    i've got an oracle application server 10.1.2 (infra and midtier).
    in the midtier i want to add a new oc4j-instance which is possible via oracle enterprise manager 10g. after i've created the new oc4j-instance and deployed a war-file ("myapp") i can access a jsp of the deployed application with "http://myserver/myapp/test.jsp". now i want to enable ssl/https for my new oc4j-instance.
    i did the following steps according to the manual (http://download-west.oracle.com/docs/cd/B14099_19/web.1012/b14013/configssl.htm):
    1) created certificate with keytool
    2) added secure-web-site.xml (new oc4j-instance)
    3) modified sever.xml (new oc4j-instance)
    4) restarted new oc4j-instance
    my test.jsp is still available with "http://myserver/myapp/test.jsp", but when i try to access it with "https://myserver/myapp/test.jsp" i get an error that the resource is not found. strange that when accessing test.jsp with http it is searched in the folder of my new oc4j-instance (%ORACLE_HOME%/j2ee/oc4jnew/...), but when i want to access the page through https the server looks for the jsp in the default oc4j "home" (%ORACLE_HOME%/j2ee/home/...).
    what's the reason for that an how can i correct it?
    regards,
    matthias
    Edited by: matthias on Apr 26, 2010 4:15 PM

    You need to secure the HTTP Server and not the OC4J, remember that HTTP and WebCache are your frontends for any presentation layer, you need to modify ssl.conf and webcache in WebCache Admin page (in EM Console) to make them use ssl ports, as well as you want to use url with no port, you need to use port 443.
    Greetings

  • Error in Create 'New OC4J Instance'

    First time i created the oc4j instance. and Then deleted the instance.
    After that i am trying to create the same instance it is showing the error "unique Constraint error". I checked the following things,
    1. There is no directory of that instance under "<oracle_home>/j2ee"
    2. There is no entries in opmn.xml
    After that even if i specify the different name, it displays the following error,
    "Internal Error Instance creation failure. Root Cause: No config data persisted for component orionp.."
    Can any one suggest what could be the problem/solution?
    Thanks Ramesh

    Hi Jason,
    Thanks for your help.
    I tried DCM tool but it is giving the same error. Is there any other tool to resolve this problem?
    Have you worked on Oracle Content Management SDK (Oracle CM SDK)?
    Actually, I am currently working on Oracle CM SDK. I have to dvelope an Content Management application (like WebstarterApplication which is provided)from scratch which can enable end user
    1. To browse through the documents in the repository.
    2. To open the documents form the repository itself.
    3. To edit and save the document in the place in the repository.
    I found that in WebstarterApplication (an CM SDK Application which is provided as demo), 1st and 2nd features are there but 3rd one is not.
    So, I am going to develope an application from scratch.
    Then is it necessary to create an OC4J Instance?
    Please suggest me what should be the steps to be followed to develope such an application from scratch.
    Thanks.

  • How create command-line a new OC4J instance?

    I have no access to OAS console and I need to create it with command-line.
    Do you know sintaxis?
    Thanks in advance.
    Message was edited by:
    JohnRC

    depends on version

  • Error while undeploying/creating OC4J instance

    Hi,
    following error is shown while I'm trying to undeploy an application on AS 10.1.2.0.2:
    An error occured while undeploying the application. An exception has occurred while manipulating the DCM repository
    database. Please refer to the accompanying exception for more details.
    Resolution:
    Base Exception:
    java.sql.SQLException
    OALL8 is in an inconsistent state.. OALL8 is in an inconsistent state.
    And following while creating a new OC4J instance:
    An exception has occurred while manipulating the DCM repository
    database. Please refer to the accompanying exception for more details.
    According to google the OALL8 has something to do with the JDBC driver.
    Thanks in advance,
    Koen Verhulst

    Are you doing this using the EM GUI? Or using dcmctl?
    Either way, I'd try to remove the lk file that you had (no idea why that file was around - did you do multiple installs on the same box?)
    and then retry the operation.

  • Can't Create OC4J Instance

    Hi,
    Oracle Application Server 10.1.3.3.0
    While creating new OC4J instance we got the following error:
    "Creation of OC4J instance "App" failed due to the error: Caught exception calling invoke on oc4j:name=Singleton,type=OpmnConfig"
    Any ideas ?
    Thanks in advance :)

    I started restarting the complete application server... It stopped forcefully and then never started...
    Sorry to disappoint you, but I reinstalled the complete thing :)
    Aalap Sharma :)

  • Install PDK in an OC4J instance of OracleAS

    Hello.
    I have installed an OracleAS + Portal 10g (9.0.4), and I have created a new OC4J instance, named OC4J_newinstance.
    My question is: How do I install PDK in OC4J_newinstance?
    I have found a lot of tutorials and forums, but all of them explained how to install PDK in an OC4J STANDALONE instance. Please help me, and thanks in advance!
    Greetings!
    ps: I need to install PDK because I want to develop my own portlets, using my own JSP pages. I already have done that, but using an OC4J STANDALONE instance, and I want to use my OracleAS OC4J_newinstance.

    Hi Shail,
    i referred the link you have sent it was helpful to me, but the thing is while deleting the shared library apache.webservices it is saying the shared library is in use. When we brought down the Application Server and try to run the removeSharedLibrary command we got other error.
    Error: "Failed at "Could not get DeploymentManager".
    This is typically the result of an invalid deployer URI format being supplied, the target server not being in a started state or incorrect authentication details being supplied.
    Is the way which i have done is correct ?? Please reply me.
    Thank You,
    Ravi kumar.

Maybe you are looking for

  • BG color screen layout

    Hello, Within the administrator console it is possible to adjust the screen layout (combination of thin/thick channels) under Manage Domains/Applications/Desktop. Does anyone know if it is possible to define different back ground colors for each thin

  • When I call someone, an unusual number shows up on...

     I have a problem with my Skype service. When I call people, the number: 661-380-3000 appears to them as the number I am calling from. I have no idea what this number is. It's no where close to my skype number. Please help. I'm paying for an online n

  • How to send changes in equipment/functionlocation to XI ?

    When ever an equipment or function location changed or created the data shall be posted or send to XI. How to do it? Is  doc necessary ? If so what create the idoc when change takes place in SAP?

  • UIDefaults key for cell in JTable

    Dear friends, My table is almost done, but when the user selects a cell, the oter cells of the selected line becomes with a white foreground... what is the KEY into te UIDefaults for the cells foreground ? beter asking: what is the colors entries for

  • Error : cannot set up certs for trusted CAs, help !

    Hi ! I am attempting to use the javax.crypto classes in order to decrypt and encrypt information. But i get the follow message when i change the executing directory : -> cannot set up certs for trusted CAs If i decompress all follow jar files: jce1_2