Standalone oc4j and oracle 9i database on the same windows xp machine

I m trying to deploy my j2ee application in my local system using standalone oc4j container(Oracle Containers for J2EE 10g (10.1.3.1)).To configure OC4j,I had to mention ORACLE_HOME=d:\oc4j as a user defined env variable.after that the oc4j started running normally.then i installed oracle 9i database in the same system to use it as the database for the application.During installation it prompts that ORACLE_HOME is alredady set.However the installation completes successfully.But when i try opening sql plus,it throws and error asking to check oracle_home.Its only after changing oracle home to d:\oracle,that sql plus opened and i could log in to it.But after that oc4j would not run saying it cannot find relevant files.Is it not possible to have standalone oc4j and a database for a J2ee application on the same system.if its possible,how can we go ahead?Thanks in advance

user549113,
Problem with ORACLE_HOME has been discussed several times already in this forum. I suggest you search the forum archives for "ORACLE_HOME".
Good Luck,
Avi.

Similar Messages

  • Install Java (1.4) and Java (1.5) on the same Windows XP mc reqd for 2 apps

    I have a requirement to install 2 different versions of Java (1.4) and Java (1.5) on the same Windows XP machine. There are 2 applications one uses Java (1.4) and the other Java (1.5)
    Both the application is run by taking the JAVA Path , Classpath specified in the Environment variables on the Advanced tab in My Computer. How to achieve it ? Immediate help is required. Thanks in advance.

    {color:#ff0000}{size:20px}CROSS POSTED{size}{color}
    [http://forums.sun.com/thread.jspa?threadID=5333227]
    Cross posting is rude.
    db

  • Upload image to directory and data to database from the same form

    Hello all
    I'm playing at building a shopping cart (never done one
    before) from a tutorial by Gordon Knapp at www.webthang.com.
    I have created the site and it works perfectly. Now I want to
    extend it.
    There is a form that allows the user to add data to the
    database. I would also like to be able to upload an image to a
    directory on the server and add the data to the database at the
    same time from the same form. It would be good if the input field
    "<input name="product_picture" type="text" id="product_picture"
    tabindex="6" size="50" />" could be populated automatically by
    the filename of the image being uploaded, but this isn't a
    neccessity.
    I have looked at various ASP Upload packages and I can upload
    an image alone but none of them make it clear how to upload the
    image and add data to the database at the same time.
    As this is a private project I need any suggestions to by
    free.
    The tutorial shows how to create the site in Ultra Dev but
    worked perfectly well in DW. The page concerned looks like this. It
    is named 'admin_add.asp':
    <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
    <!--#include file="../Connections/con_ecom.asp" -->
    <%
    Dim MM_editAction
    MM_editAction = CStr(Request.ServerVariables("SCRIPT_NAME"))
    If (Request.QueryString <> "") Then
    MM_editAction = MM_editAction & "?" &
    Server.HTMLEncode(Request.QueryString)
    End If
    ' boolean to abort record edit
    Dim MM_abortEdit
    MM_abortEdit = false
    %>
    <%
    ' IIf implementation
    Function MM_IIf(condition, ifTrue, ifFalse)
    If condition = "" Then
    MM_IIf = ifFalse
    Else
    MM_IIf = ifTrue
    End If
    End Function
    %>
    <%
    If (CStr(Request("MM_insert")) = "add_form") Then
    If (Not MM_abortEdit) Then
    ' execute the insert
    Dim MM_editCmd
    Set MM_editCmd = Server.CreateObject ("ADODB.Command")
    MM_editCmd.ActiveConnection = MM_con_ecom_STRING
    MM_editCmd.CommandText = "INSERT INTO products
    (product_category, product_name, product_price, product_briefdesc,
    product_fulldesc, product_picture) VALUES (?, ?, ?, ?, ?, ?)"
    MM_editCmd.Prepared = true
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param1", 202, 1, 50,
    Request.Form("product_category")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param2", 202, 1, 50,
    Request.Form("product_name")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param3", 5, 1, -1,
    MM_IIF(Request.Form("product_price"),
    Request.Form("product_price"), null)) ' adDouble
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param4", 203, 1, 536870910,
    Request.Form("product_briefdesc")) ' adLongVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param5", 203, 1, 536870910,
    Request.Form("product_fulldesc")) ' adLongVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param6", 202, 1, 50,
    Request.Form("product_picture")) ' adVarWChar
    MM_editCmd.Execute
    MM_editCmd.ActiveConnection.Close
    ' append the query string to the redirect URL
    Dim MM_editRedirectUrl
    MM_editRedirectUrl = "admin_control.asp"
    If (Request.QueryString <> "") Then
    If (InStr(1, MM_editRedirectUrl, "?", vbTextCompare) = 0)
    Then
    MM_editRedirectUrl = MM_editRedirectUrl & "?" &
    Request.QueryString
    Else
    MM_editRedirectUrl = MM_editRedirectUrl & "&" &
    Request.QueryString
    End If
    End If
    Response.Redirect(MM_editRedirectUrl)
    End If
    End If
    %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN"
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    <title>Administration - Add Product</title>
    <link href="../scripts/admin.css" rel="stylesheet"
    type="text/css" />
    <script type="text/javascript"
    src="../scripts/ecom.js"></script>
    </head>
    <body onLoad="adminTitle()">
    <div id="wrapper">
    <div id="pageHeading">ADMINISTRATION - ADD
    PRODUCT</div>
    <div id="navBar"><a
    href="admin_control.asp">Control</a> | Add | <a
    href="admin_view.asp">View</a> | <a
    href="admin_update1.asp">Update</a> | <a
    href="admin_delete1.asp">Delete</a> | <a
    href="../Default.asp">Shop</a></div>
    <br />
    <form name="add_form" id="add_form" method="POST"
    action="<%=MM_editAction%>">
    <table border="1" align="center" id="tblArea">
    <tr>
    <td class="tdLabel">Product Category</td>
    <td colspan="2"><input name="product_category"
    type="text" id="product_category" tabindex="1" size="50"
    /></td>
    </tr>
    <tr>
    <td class="tdLabel">Product Name</td>
    <td colspan="2"><input name="product_name"
    type="text" id="product_name" tabindex="2" size="50"
    /></td>
    </tr>
    <tr>
    <td class="tdLabel">Product Price</td>
    <td class="tdContent" colspan="2"><input
    type="text" name="product_price" id="product_price" tabindex="3"
    size="50" /></td>
    </tr>
    <tr>
    <td class="tdLabel">Product Short
    Desciption</td>
    <td class="tdContent" colspan="2"><textarea
    name="product_briefdesc" id="product_briefdesc" cols="47" rows="4"
    tabindex="4"></textarea></td>
    </tr>
    <tr>
    <td class="tdLabel">Product Full
    Description</td>
    <td class="tdContent" colspan="2"><textarea
    name="product_fulldesc" id="product_fulldesc" cols="47" rows="5"
    tabindex="5"></textarea></td>
    </tr>
    <tr>
    <td class="tdLabel">Product Image File Name</td>
    <td class="tdContent" colspan="2"><input
    name="product_picture" type="text" id="product_picture"
    tabindex="6" size="50" /></td>
    </tr>
    <tr>
    <td class="tdLabel"> </td>
    <td align="center"><input type="reset" name="Reset"
    id="Reset" value="Reset Form" /></td>
    <td align="center"><input type="submit"
    name="Submit" id="Submit" value="Add To Shop" /></td>
    </tr>
    </table>
    <input type="hidden" name="MM_insert" value="add_form"
    />
    </form>
    </div>
    </body>
    </html>
    Hope you can help.
    Warm regards
    Martin

    Got it sorted.
    Found an excellent tutorial at Webthang.
    http://www.webthang.co.uk/tuts/tuts_dmx/rob15/rob15.asp

  • Can you run Embedded PL/SQL Gateway and Oracle HTTP Server at the same time

    Hi,
    I know this will sound a bit odd but their is a business case for asking this. Can you run APEX via the Embedded PL/SQL Gateway and the Oracle HTTP Server at the same time? Would their be any security/stability/etc issues I'd need to worry about? I know that I'll need to run them on different ports.
    Thank you,
    Martin Giffy D'Souza
    [http://apex-smb.blogspot.com/]

    I think I've done this in the past. Theres no technical reason why you can't do this as far as I know.
    I can't remember if I used different ports or same port.

  • Opening OEM for two Oracle 11gR2 Databases in the same web browser automatically log out.

    Hi to everyone,
    I have an issue regarding Oracle Enterprise Manager in 11gR2. I have two database (SWPROD, PDPROD) in a single server. When I open the OEM URL for  SWPROD it is successfully logged on but when I open the OEM URL for PDPROD and successfully logged on the other tab for SWPROD will automatically logged out. And when I switch to the other tab for PDPROD it is also automatically logged out. Both OEM URL is open in a single web browser like Mozilla Firefox. What would be the reason why both OEM URL will be logged out when I open them at the same time?
    Thank you for your incoming response.

    Well it seems the only way to clear these out of EM was to shut BOTH RAC nodes down and power them up one at a time.  Now the updates aren't shown as required and my compliance score is where it should be.
    Is this a bug ?  Seems pretty stupid to have to shut down both RAC nodes to fix this.  Powering a single RAC node off and back on did not clear this.
    Unless i'm missing something??

  • Oracle AS and Oracle 9i Client on the same server

    Hello,
    We have a Window 2000 server with Oracle 9i Client. A number of applications running on this server relies on Oracle 9i Client. Could I install Oracle AS on the same machine without causing any problems to the applications using Oracle 9i client?
    Thanks
    Slava

    Oracle software is multi home aware - which means you can install 10 different Oracle products and versions, each in its own unique Oracle Home directory, and switch between and run all 10 different products - even at the same time (assuming sufficient resources on the platform).
    You cannot "+consolidate+" different Oracle Homes - it is an unwise thing to do. The Oracle Universal Installer (OUI) has the means to determine when installing a new product, whether or not you have the option to install into an existing Oracle Home.
    And with OUI you also have the means to uninstall products in which case you can remove the corresponding Oracle Home from your platform.
    Note though that despite multiple homes, certain configuration files will be shared (e.g. +/etc/oratab+ on Unix systems). In such a case you may need to manually update such a configuration file after removing an Oracle Home from your system.
    Oracle XE sports its own installer (setup.exe on Windows) - so it does not use OUI. But it is multi-home aware - and can co-exists with other Oracle products in their specific Oracle Homes.

  • Installing ADI 7.2 and Apps 11.5.10 on same Windows XP Machine

    Hi,
    I am trying to setup a laptop for presales demos. I want to install Apps 11.5.10 as well as ADI 7.2 on the same laptop.
    I installed ADI 7.2 in c:\orant and it worked fine when i tried connecting to Apps 11.5.10 on a Linux box.
    Now I have installed 11.5.10 in d:\Oracle and the install has completed successfully. Its working fine.
    When I try to use ADI to access the local instance its not able to log in. Its giving a ORA-001403 error.
    How do I solve this problem. The ADI Diagnostic Wizard complains of duplicate files. Even after the duplicate files problem has been resolved the ADI gives the same error.
    Any help in resolving the problem would be greatly appreciated.
    Warm Regards
    Kumar

    You might want to try using vmware. It can partion your system into multiple operation systems. One for the 11i install and the other for the ADI client install.

  • IDS10g and Oracle 9i Release 2 on the same  windows XP or NT machineo

    I want to use Oracle 9i Enterprise Ed.Release 9.2.0.1 as Database and iDS 10g to develop a Database application,the twice on the same Windows XP machine.I was confused when trying to install the Repository 9i for SCM 9.0.4.3.14c and when reading the System Requirements in the Oracle SCM Repository Installation Guide to understand that to develop on the same machine I could just use Database 9i Enterp.Ed Release 9.2.0.2 using just Windows NT.
    Question:
    -Is that true?
    -Can I use the Oracle Database 9i Release 9.2.9.0.1 or 9.2.0.2 and iDS 10g on the same windows XP machine to develop my application and not Windows NT 4.0?
    Thanks for reading and for your response!

    Hello Sir Russel,
    Thank you very much for your Response.I have to say to excuse me for the quality of my Englich because I speak German and french Language better.
    I'm not using Oracle 10g because it was told me that iDS10g is not for the time supported by Oracle 10g.
    So I'm using iDS10g and Oracle 9iRelease2.
    I already knew the link you send for the Installation of the reposity and it is exactly there, where I have the problem with :[WINDOWS NT ONLY ]:In the System Requirements it is wrote:
    The client workstation(iDS 10g) and the database server(Oracle 9i) can be on the same machine [WINDOWS NT ONLY ]:So can I use Windows XP professional like I want instead of Windows NT or should I use windows NT 4 because of installing Oracle 9i and iDS10g on the SAME MACHINE?
    Thank you very much for responding.
    http://download-east.oracle.com/otn_hosted_doc/designer/doc_library/releases_6i48_9026/CDOC72/cmnhlp72/rep_insgde/igrepos_9i.htm
    Christian. OTN

  • IDS10g and Oracle 9i Release 2 on the same  windows XP or NT machine

    I want to use Oracle 9i Enterprise Ed.Release 9.2.0.1 as Database and iDS 10g to develop a Database application,the twice on the same Windows XP machine.I was confused when trying to install the Repository 9i for SCM 9.0.4.3.14c and when reading the System Requirements in the Oracle SCM Repository Installation Guide to understand that to develop on the same machine I could just use Database 9i Enterp.Ed Release 9.2.0.2 using just Windows NT.
    Question:
    -Is that true?
    -Can I use the Oracle Database 9i Release 9.2.9.0.1 or 9.2.0.2 and iDS 10g on the same windows XP machine to develop my application and not Windows NT 4.0?
    Thanks for reading and for your response!

    If this is true, then it would explaing the problem that I am having with running Designer 9.0.4.3.14 on the same machine that I am running Personal Oracle DB on.

  • Install two oracle8i database on the same machine

    Hi
    I am currently running oracle 8i on hp unix 11i.
    I would like to ask whether I could run another instance(another oracle 8i database ) on the same machine.
    In another word can I run two database on the same machine?
    Is there any implication by doing so?
    Thanks in advance

    Hi
    I am currently running oracle 8i on hp unix 11i.
    I would like to ask whether I could run another instance(another oracle 8i database ) on the same machine.
    In another word can I run two database on the same machine?
    Is there any implication by doing so?
    Thanks in advance Hi,
    You can create multiple databases on the same machine, if you have sufficient resources.

  • Having two oracle clients installed at the same time

    Hi, I was wondering if there is a way to have two oracle clients installed at the same time on one computer, and if there is a way to be changing the default client between the two. I need to have installed the oracle client 10g and 8 versions on the same computer, because we have a problem with a legacy application that for some reason only works with version 8, and we need the 10g because our new applications requires 8.1 or later. We are still migrating to the new system but we developers need to have the two clients. Any help is appreciated. Thanks in advance.

    Is it possible, sure.
    Technically, clients before 8.1.5 were not multi-home compliant, so having Oracle 8 and Oracle 10g clients on the same machine is almost certainly not supported. On the other hand, I know that a number of developers at Oracle had combinations of Oracle 7 clients Oracle 8 clients, Oracle 8i clients, and Oracle 9i clients on their development machines at the same, so you shouldn't have too many major issues.
    Most "default client" issues come down to which ORACLE_HOME is first in the system's PATH. Ideally, you would leave the Oracle 8 ORACLE_HOME first in the path and explicitly reference the 10g ORACLE_HOME when configuring anything that relies on the 10g client.
    Justin

  • How Standalone OC4J and the Oracle Application Server linked to each other

    Hi ,
    Please let me know what is the relation between a Standalone OC4J and the Oracle Application Server ?
    In my application The Oracle Application Server is installed in C drive and there is a Stand alone oC4j .
    Please tell me how they are linked to each other .
    Thank you .

    It depends on your need and what features and functionality of Oracle Application Server you are interested in. Note that OC4J is a component of Oracle Application Server that can run as a standalone component or within Oracle Application Server. Question #6 in earlier mentioned FAQ document states:
    OC4J standalone is J2EE 1.3 compatible (1.4 and 1.5 too in later releases of OC4J) and is able to be used in both development and small scale production environments. OC4J standalone provides its own inbuilt HTTP/S listener to allow clients to execute Web applications that it has deployed. Application deployment and server configuration of OC4J standalone is performed by the manual editing of a simple set of XML files.
    For large scale enterprise deployments, the Oracle Application Server product is likely to be more suitable with its comprehensive feature set including Oracle HTTP Server, process monitoring and management capabilities, and its configuration and management console.
    So if you are happy with what you see in standalone OC4J and scalability isn't an issue for you, you can stay with standalone OC4J and don't need to move to Oracle Application Server.
    PS: If you do decide to use OC4J that's embedded with Oracle Application Server, you can't move your standalone OC4J inside Oracle Application Server. You will have to reconfigure embedded OC4J again (as you might have done with standalone OC4J) and redeploy your applications.
    Hope this helps.
    Thanks
    Shail

  • Is it possible to perform network data encryption between Oracle 11g databases without the advance security option?

    Is it possible to perform network data encryption between Oracle 11g databases without the advance security option?
    We are not licensed for the Oracle Advanced Security Option and I have been tasked to use Oracle Network Data Encryption in order to encryption network traffic between Oracle instances that reside on remote servers. From what I have read and my prior understanding this is not possible without ASO. Can someone confirm or disprove my research, thanks.

    Hi, Srini Chavali-Oracle
    As for http://www.oracle.com/technetwork/database/options/advanced-security/advanced-security-ds-12c-1898873.pdf?ssSourceSiteId… ASO is mentioned as TDE and Redacting Sensitive Data to Display. Network encryption is excluded.
    As for Network Encryption - Oracle FAQ (of course this is not Oracle official) "Since June 2013, Net Encryption is now licensed with Oracle Enterprise Edition and doesn't require Oracle Advanced Security Option." Could you clarify this? Thanks.

  • Can we install Oracle 8i and 10g on the same windows server?

    I would like to install the Oracle server 8i and 10g on the same windows server? Is this possible.
    Forgive me if this question is already asked.
    Thanks in advance!
    Jay.

    WHICH Windows version? (There's more than one). It would be useful to be a little bit more precise (NT,2000,XP,2003, 32/64 bit) .
    For NT and 2000 it is possible to have both 8i and 10g, for XP and 2003 there's no support for 8i at all.

  • Can I create a database with the same name and DBID that one is dropped?

    Hello,
    I need to restore a backup database, made with Oracle Enterprise Manager, in a new one, because the original is dropped. I've tried it with the recovery tools but fails, i suppose because the dbid's are not the same.
    Then, Is it possible create a new database with the same old database dbid to restore de backup?
    Thank you very much.
    P.D.: I've too THE OLD spfile---.ora y el pwd---.ora

    I think you are using the same Composition Class on both project. On the properties tab, you can change this number (e.g.: EDGE-1637270).

Maybe you are looking for

  • Multiple iCloud accounts on one computer

    We would like to have two icloud accounts on our imac. One for music and other apple purchases, and one for calendars, addresses etc.  How would we set that up, both on the imac and on our separate ipads and iphones so we can all access the same itun

  • How to support Globalization in Oracle 8i?

    I need to display chinese characters In Reg Edit : HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOMEID\NLS_LANG Value name :NLS_LANG Value data :NA What value to set for display chinese characters? Regards

  • Copy entire chart of g/l account

    Hi : There existed one entire stardard chart of g/l account (int,company code 0001) and I am going to use it as my chart fo g/l account,how to implement it? Please advise.

  • Raised GPEngineException when runtime get the process instance

    Dear Ladies/Gentlemen: I have developped a guided procedure process, it pop up GPEngineException when it met the code like below. IUser userCurrentProcessorLogonID = UMFactory.getUserFactory().getUserByLogonID(wdUser.getSAPUser().getName()); IGPUserC

  • Where is the page listing changes in 3.6.x updates?

    There used to be a link in the "Firefox Updated" page that would take you to the page where the latest sub-versions changes were listed. Why can't I find it anymore? == after 3.6