Oracle 8i & JNDI Problem

I am trying to connect to a remote instance of Oracle 8i. The DataSource object is bound, but when I do a lookup I get a null pointer exception.
Here's the source code so far:
public class ConnectionManager {
private static ConnectionManager instance = null;
private static String USER_NAME = "dyn3";
private static String PASSWORD = "dyn3";
private static String DRIVER_TYPE = "thin";
private static String DATABASE_SERVER_NAME = "3.87.208.60";
private static int PORT = 1521;
private static String DATABASE_NAME = "etest";
private static int MAX_CONNECTIONS = 500;
public static final String ORACLE_DATABASE_URL = "@3.45.93.127:1521:";
public static final String ORACLE_DATABASE_SID = "media6";
private static String BIND_NAME =
DATABASE_NAME+"@"+DATABASE_SERVER_NAME+":"+PORT;
private InitialContext initCtx = null;
* Loads the Oracle JDBC driver
* @see oracle.jdbc.driver.OracleDriver
* @see java.sql.DriverManager
private ConnectionManager() throws Exception {
try {
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
createOracleDataSource();
}catch(Exception s) {
s.printStackTrace();
throw s;
private void createOracleDataSource()
throws SQLException, NamingException {
DataSource ods = new DataSource();
ods.setDriverType(DRIVER_TYPE);
ods.setServerName(DATABASE_SERVER_NAME);
ods.setDatabaseName(DATABASE_NAME);
ods.setPortNumber(PORT);
ods.setUser(USER_NAME);
ods.setPassword(PASSWORD);
ods.setMaxLimit(MAX_CONNECTIONS);
rebind(ods);
private void rebind(OracleConnectionCacheImpl ods)
throws NamingException {
try {
File directory = new File("jdbc");
if ( ! (directory.exists()) ) {
directory.mkdir();
System.out.println("url= "+directory.toURL().toString());
Hashtable env = new Hashtable ();
env.put (Context.INITIAL_CONTEXT_FACTORY,
"com.sun.jndi.fscontext.RefFSContextFactory");
env.put (Context.PROVIDER_URL,
directory.toURL().toString());
initCtx = new InitialContext(env);
System.out.println("Context = "+initCtx);
System.out.println("BIND_NAME="+BIND_NAME);
initCtx.rebind(BIND_NAME, ods);
}catch(NameAlreadyBoundException n) {
//do nothing - this is OK
}catch(NamingException ne) {
ne.printStackTrace();
throw ne;
}catch(Exception e) {
e.printStackTrace();
* Returns an instance of ConnectionManager
public static ConnectionManager getInstance() throws Exception {
if (instance == null) {
instance = new ConnectionManager();
return instance;
* Gets a connection to the database
public Connection getConnection() throws SQLException, NamingException {
DataSource pds = (DataSource)initCtx.lookup(BIND_NAME);
return pds.getConnection();
Can anyone shed some light on this problem? The Oracle manuals aren't much help.
Thanks!

You can use internet just to check if the apache server embedded with your oracle, not to verify oracle itself. Open a prompt in your host and try to access it by sqlplus "/ as sysdba" this should let you connect, then verify listener is up and running, lsnrctl status , this will let you know if you are able to connect, next if you want to access it from outside, install an 8i client on a remote pc and configure connectivity files using netca.
~ Madrid

Similar Messages

  • Oracle 10g forms problem

    hi
    can any body help me?
    i have installed oracle developer 10g with oracle 8i database
    when i run any form including the test.fmx
    it always ask to install JInitiator although it has been installed (appears in the control panel and in c:\program file\oracle folder)
    another problem appears after completing the installtion of JInitiator
    the browser views the HTML tags of the form not execute it
    so does any body have any idea???

    From the Windows Start menu, choose Run, type regedit, and click OK.
    Expand the registry nodes HKEY_LOCAL_MACHINE > SOFTWARE > ORACLE.
    Make a backup copy of this key by right-clicking it and selecting Export from the context menu.
    Select one of the HOME nodes beneath the ORACLE node (the one for Developer Suite). Ensure that you have opened the correct node by verifying that the key FORMS90_PATH exists in that node.
    From the Registry Editor menu, select Edit > New > String Value. Type in the name FORMS90_HIDE_OBR_PARAMS.
    Double-click FORMS90_HIDE_OBR_PARAMS and in the Value data field enter false, then click OK.
    Close the registry editor.
    Now when you run a form from Forms Builder, it should show parameters, including userid, in the URL, but it should run fine.
    15. Set the path for Forms Builder to locate icons:
    a) Double-click the UI_ICON key to open it for editing.
    b) For the value data, append the path to the .gif file that you will use for the
    button icon, which is the \icons subdirectory of your lab directory. Separate this
    path from the remainder of the string with a semicolon; for example:
    ;e:\labs\lab\icons, then click OK.

  • Oracle Report Printing problem

    Dear All,
    i m using below code on button in oracle forms 6i problem is that when i click on button report should be print
    on network printer but it's print blank page however network printer is not my default printer when i set default printer
    to this network printer its working fine.
    and also its working when i set mode=character and network printer is not default printer but when i set mode=default or bitmap and notwork printer is not default then its print blank page.
         DECLARE
              p_list     PARAMLIST;
         BEGIN
         p_list := get_parameter_list('importdata');
         IF NOT Id_Null(p_list) THEN
    Destroy_Parameter_List('importdata');
         END IF;
              p_list := Create_Parameter_List('importdata');
              Add_Parameter(p_list,'P_IGM_NO',TEXT_PARAMETER,'10117/11');
              Add_Parameter(p_list,'P_INDEX_NO',TEXT_PARAMETER,'498');
              Add_Parameter(p_list,'P_CHR_NO',TEXT_PARAMETER,'CL-APL100/011');
              Add_Parameter(p_list,'P_CONTAINER_NO',TEXT_PARAMETER,'APHU6305929');
              Add_Parameter(p_list,'P_USER',TEXT_PARAMETER,'ALI');
              Add_Parameter(p_list,'P_BAL_QTY',TEXT_PARAMETER,0);
              Add_Parameter(p_list, 'PARAMFORM', TEXT_PARAMETER, 'NO');
              Add_Parameter(p_list,'DESTYPE',TEXT_PARAMETER,'PRINTER');
         Add_Parameter(p_list,'DESNAME',TEXT_PARAMETER,'\\192.168.1.67\epson');
         RUN_PRODUCT(REPORTS,'\\ORASERV\Atlas6I\Import\System\Reports\abc.rep',
         SYNCHRONOUS,
         RUNTIME,
         FILESYSTEM,
         p_list,
         NULL);
         END;

    i have made one oracle 6i reports. its is quite wide.when i run the report it shrink into too small font.
    and i increse it font size it by pressing + button on menu bar it looks okay.
    >
    The + button only causes a zoom in on the screen. It is not affecting the actual layout.
    >
    but the problem is that when i take print out of it ,it's printout comes in its intial format(in small font) evenif i choose different type of paper size or different orientation . it's printout is coming in too small font.
    pl tell me how to overcome this problem>
    The report rendering engine tries to fit the report page into the physical page size. This results in shrinking of font size,etc.
    To fix
    a) reduce the content on the report to something reasonable for printing.(Std paper sizes and orientation)
    b) change the page size selection. Of course, you will need a printer and paper of the size you set.
    Cheers,

  • Oracle 10G connection problem

    Oracle 10G connection problem
    I launch my db with the following script:
    su - oracle -c "export ORACLE_HOME=/u01/app/oracle/product/10.1.0/db_1 && /u01/app/oracle/product/10.1.0/db_1/bin/dbstart"
    su - oracle -c "export ORACLE_HOME=/u01/app/oracle/product/10.1.0/db_1 && /u01/app/oracle/product/10.1.0/db_1/bin/lsnrctl start"
    Here is the output:
    SQL*Plus: Release 10.1.0.2.0 - Production on Fri Feb 27 22:17:51 2004
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    SQL> Connected to an idle instance.
    SQL> ORACLE instance started.
    Total System Global Area 188743680 bytes
    Fixed Size 778036 bytes
    Variable Size 162537676 bytes
    Database Buffers 25165824 bytes
    Redo Buffers 262144 bytes
    Database mounted.
    Database opened.
    SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Database "orcl" warm started.
    LSNRCTL for Linux: Version 10.1.0.2.0 - Production on 27-FEB-2004 22:17:59
    Copyright (c) 1991, 2004, Oracle. All rights reserved.
    Starting /u01/app/oracle/product/10.1.0/db_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 10.1.0.2.0 - Production
    System parameter file is /u01/app/oracle/product/10.1.0/db_1/network/admin/listener.ora
    Log messages written to /u01/app/oracle/product/10.1.0/db_1/network/log/listener.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xavan_fi
    xe)(PORT=1521)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.1.0.2.0 - Production
    Start Date 27-FEB-2004 22:17:59
    Uptime 0 days 0 hr. 0 min. 0 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/10.1.0/db_1/network/admin/listener.ora
    Listener Log File /u01/app/oracle/product/10.1.0/db_1/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xavan_fi
    xe)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    But when i try to connect with sqlplus:
    oracle@xavan_fixe oracle $ sqlplus
    SQL*Plus: Release 10.1.0.2.0 - Production on Ven. Févr. 27 22:19:32 2004
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Enter user-name: scott
    Enter password:
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory

    When you go to get connection you have to set the ORACLE_SID enviroment variable or use the service name in the string to get connection.
    Joel Pérez

  • New version of JDev causing JNDI problems

    We just upgraded to the newest Developer Preview of JDEV and all of a sudden client code that compiled and ran fine under the old version is no longer running. I'm guessing something changed in the libraries, but I'm not sure what and why this is occurring.
    Here's what happened:
    1) It seems that the constructor for InitialContext having a parameter for Properties is no longer available. PITA...but whatever, I switched it to use the Hashtable environment which should I figured work. However:
    2) Upon switching to the new environment passage I get an exception:
    javax.naming.CommunicationException with the topmost stacked function being oracle.oc4j.security.KeyExchange.getKeyAgreement.
    I'm guessing that passing the string password into the environment is no longer acceptable?!? WTF!
    So, does anyone have any suggestions to fix this. I'm sure we should be using jndi.properties and all that jazz, but we have tons of client code that works this way and I'm not about to go changing it all unless I really have to.
    edit: I tried a sample piece of code using jndi.properties file and am getting the same exception. Maybe this is a problem between the two libraries (OC4J server & the lib on JDev??) GRRRRRRR!
    Message was edited by:
    [email protected]

    OK...turned out to be the second one. I guess the new JDEV libs aren't compatible with the older server I'm running? I just had to remove all the Jdev libraries from the project and point them to the libs within the server install.
    So...if anyone else runs into this...that's how I fixed it. Sorry I wasted y'alls time and threadspace :D.

  • JNDI problems in OC4J

    Hi,
    I'm running OC4J integrated with the SOA Suite 10.1.3.3.
    I have a legacy web service created with XFire and deployed in OC4J, lets call it HelloWorldService. I would like to bind a POJO object from within this service with JNDI.
    I would then like to lookup this object from another web service which is a EJB3 session bean, deployed in the same OC4J instance. Lets call it LookupBean.
    I can see in the JNDI browser that the POJO is bound under the HelloWorldService. But when i try to lookup the POJO i get an error saying that the POJO cannot be found.
    This is how i bind the POJO from HelloWorldService
    Context initialContext = new InitialContext();
    initialContext.bind("HelloWorldServicePOJO", obj);
    This is how i try to do the lookup from LookupBean:
    Hashtable env = new Hashtable();
    env.put("java.naming.factory.initial",
    "com.evermind.server.rmi.RMIInitialContextFactory");
    env.put("java.naming.provider.url","ormi://localhost:12401/HelloWorldService");
    //env.put("java.naming.provider.url","opmn:ormi://localhost:6003:home/HelloWorldService");
    env.put("java.naming.security.principal","oc4jadmin");
    env.put("java.naming.security.credentials","oc4jadmin");
    Context context = new InitialContext(env);
    POJO obj = (POJO) context.lookup("HelloWorldServicePOJO");
    I have tried also with the out commented line above, but it does not work. What can be wrong?
    Thanks,
    Mattias

    Hi,
    thanks for the link, but I already knew it and read a lot in it. I still don't get what exactly is going wrong. I replaced the jgroups-core.jar by my jgroups-jar which results in the same exception. It also seems that somehow the commons-logging.jar-classes from /webservices is being loaded even though it's not in the classpath of my application. I noticed this when I replaced every commons-logging.jar by the commons-logging-api.jar from JCL 1.0.4 (which we use in our application) since my EJBs could not be loaded then due to the following problem:
    06/08/04 15:34:42 oracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: Error initializing ejb-modules: [cms-core:pbb-jms-receiver-1.0:Importer_Topic] - Unable to load ejb-class com.pironet.pbng.jms.mdb.asynchron.ImporterTopicSubscriber, see section 23.2 of the EJB 2.1 specificationjava.lang.ExceptionInInitializerError
    06/08/04 15:34:42 at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:510)
    06/08/04 15:34:42 Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Category
    06/08/04 15:34:42 at java.lang.Class.getDeclaredConstructors0(Native Method)
    06/08/04 15:34:42 at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
    06/08/04 15:34:42 at java.lang.Class.getConstructor0(Class.java:2640)
    06/08/04 15:34:42 at java.lang.Class.getConstructor(Class.java:1629)
    06/08/04 15:34:42 at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:410)
    06/08/04 15:34:42 ... 27 more
    It seems like the initialization of the jchannel happens, even though it's being initialized in my application, in one of the classloaders which don't have access to my libs...and I'm definitely not going to add all my jars into locations the root-classloader (or whoever) has access to.

  • Crazy JNDI Problem... (Third Party DB Driver Effects Lookup???) (OAS 10g)

    Ok folks, I need some help here...
    The scenario is this...
    I have a simple web app (one jsp) which is used as a "status checker" to ensure that all the session beans we expected to be deployed are actually deployed and that they can be looked up with JNDI and run some small status routine... That war file for that app is included in the ear file with all of the session ejb jar deployments...
    Now, the collection of session beans references three different datasources at one time or another... 2 of which are oracle databases and 1 is a DB2 database...
    Lets name them as follows...
    OracleDataSource1
    OracleDataSource2
    DB2DataSource
    Now, if I configure the three datasources in the oracle standalone OC4J 10g datasource file and deploy the ear file to standalone OC4J 10g, all of the lookups work, and it successfully uses the datasources... no problems at all...
    Ok, so now I try to deploy the ear on OAS 10g using the enterprise manager console, and deployment works fine...
    If I run the app before configuring the datasources, of course the lookups work, but the status routines of certains beans fail because they are not able to look up the datasources... no big deal, just start adding the datasources...
    I configure OracleDataSource1 and rerun... now things still work, the lookups for all the beans works fine, and some pass now, but others still want the other datasources...
    Now configure OracleDataSource2 and rerun... as before, things all work great but there are still complaints looking for the DB2DataSource from a couple of the routines...
    Herein lies the problem...
    I configure DB2DataSource and rerun, and boom, my program crashes claiming that the lookup of the bean failed...
    Now mind you, these beans have all been looked up numerous times during previous runs, and absolutely nothing has been changed with the application... in fact, even the beans that wanted the DB2DataSource were looked up successfully and then just complained of no datasource during their status routine execution...
    It's just that once I configure the DB2DataSource, all of a sudden my lookups don't work... I have tried commenting out a couple of the beans, and regardless of which lookups are commented out, it still fails saying it can't find any of the beans, even if the beans i'm trying to look up don't use the DB2DataSource, it doesn't seem to matter...
    The InitialContext used for the lookup uses the default "new InitialContext()" constructor and the lookups work fine when the DB2DataSource is not configured, but once it is, the lookups fail saying the objects are not found...
    I have consulted with a few other developers here, and noone can seem to understand why this behavior is happening... I have added debugging statements to print the contents of the context's environment, and it is always empty regardless of whether the lookups pass or fail...
    The ONLY difference I can see with this DB2DataSource is that it uses an external 3rd party driver... The oracle connections use a driver which was packaged with the OAS installation... I feel pretty strongly that it has to do with the driver because if I have the DB2DataSource configured (causing the failure) and then I edit that datasource to say that it should us the oracle driver, miraculously it causes the lookups to work again, except now I get the error saying the oracle driver doesn't like my DB2 jdbc url...
    I'm sorry for the long post, but I'm hoping that at least one person has encountered this before... I cannot think of any reason why the configuration of that datasource with the third party driver would cause these problems, especially when the exact same configuration and setup DOES work with standalone OC4J 10g, even with the DB2DataSource configured... ????? And the fact that the lookups work fine until that datasource is configured really blows my mind... i wouldn't think the datasource configuration should have anything to do with whether the lookups of the session beans succeed or not... hahaha...
    Any help would be great... I'm pullin my hair out here... :)
    Thanks,
    -Garrett

    No, I have not asked on the oracle forums yet... :)
    It seems that the cause is the driver itself... if I set a different driver for the datasource configuation, the lookups work but it just complains about the driver not being correct for the individual beans...
    I have found some documentation claiming that there is an OAS version of the DB2 driver, as well as a Merant version, but I can't seem to find jar files for either...
    Does anyone know where I can download the "YMdb2.jar" file? Supposedly this contains the DB2 DataDirect driver that I need...
    Thanks,
    -Garrett

  • URGENT:Testing deployed OAS EJB Aplication (JNDI Problem)

    Please I need urgently help on this subject matter:
    Environment:
    OAS 4.0.8.2a on NT 4.5 SP5
    Jdeveloper 3.1
    Oracle 8R2
    After succesfull deployment of BC4J aplication on OAS I want simply test it. When I click to test on the appModule on the tree, the dialog asking the connection information appears..I choose OAS option from the drop down box.
    The error message I get is:
    "apps/ejb/ClientesProjectOAS/pkgClientes/PkgClientesModule is not the name of a registered component"
    I have tried with other variants too taking into account what OAS Administration shows..but no luck!
    Now, WHAT SHOULD BE PUT TO THE "JNDI PATH" and "CLIENT JAR PATH" options. This is the most confusing point to me and there are practically no valid/good information on online help.
    Thanx.
    Best regards,
    Ari Supperi
    [email protected]

    I have (almost) the same problem. Any idea? My weak english must be the reason, but I cannot find out what to enter into the JNDI and the Client jar path during testing my OAS deployed AppModule.
    Thx,
    Tib
    null

  • 10G JNDI problems

    I migrated from 9.0.3 to 9.0.4 and now have the following problem. I am using the local OC4J instance. I am attempting to get the connection to the database using the following code:
    try
    Context ctxt = new InitialContext();
    DataSource ds = (DataSource PortableRemoteObject.narrow(ctxt.lookup("jdbc/RVDS"), DataSource.class);
    con = ds.getConnection();
    catch (Exception ex)
    ex.printStackTrace();
    The stack trace is as follows:
    04/04/05 12:46:36 javax.naming.NamingException: com.evermind.server.ApplicationInitialContextFactory should only be used inside Orion server environments. For client com.evermind.server.ApplicationClientInitialContextFactory or com.evermind.server.rmi.RMIInitialContextFactory should be used
    04/04/05 12:46:36      at com.evermind.server.PreemptiveApplicationContext.getContext(PreemptiveApplicationContext.java:31)
    04/04/05 12:46:36      at com.evermind.naming.FilterContext.lookup(FilterContext.java:138)
    04/04/05 12:46:36      at javax.naming.InitialContext.lookup(InitialContext.java:347)
    04/04/05 12:46:36      at MVRInit.jspService(MVRInit.jsp:35)
    04/04/05 12:46:36      at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:139)
    ...MORE...
    This was working just fine in 9.0.3, Any ideas what is happening?

    Kevin -- I'm not sure why it's not working anymore. What you have there looks kind of funky -- you're doing a remote cast on a local object. The stacktrace is telling you that it's not a supported operation -- when you just construct an InitialContext with no parameters, it gives you ApplicationInitialContextFactory, which doesn't support this remote lookup and casting
    If you want to get a datasource from JNDI from a servlet/ejb running in the local OC4J container, then it's actually a little bit easier to do. There's no need to do the PortableRemoteObject.narrow(string,class).
    If you had a datasource defined with a location of "jdbc/RVDS", and assuming you don't want to do the fully abstract resource-ref-mapping, then you should be able to get the datasource just by doing a lookup of the initialcontext.
    try
      InitialContext ic = new InitialContext();
      DataSource ds = (DataSource)ic.lookup("jdbc/RVDS");
      Connection con = ds.getConnection();
    If you were running on a remote node (ie application client) and wanted to get a DS from an OC4J instance, then you'd need to use the ApplicationClientInitialContextFactory and specify a corresponding resource ref entry in the deployment descriptor and then look that up.
    hope that helps
    -steve-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Oracle connection pool problem (dbcp binded with  jtom)

    Hi,
    my webserver is Tomcat5.0.18, I want to offer the connection pool and transaction management
    in my currently system
    I know in Tomcat5.0 version, we can use the DBCP to offer the database connection pool
    service, to apply the transaction management in my system, I adapt the JTOM
    now, my problem is
    to use DBCP, I setup the datasource factory to be
    org.apache.commons.dbcp.BasicDataSourceFactory, the connection pool is ok, but
    the transaction management offerred by JTOM will failure
    to make the tranaction management of JTOM succeed, I have to setup the datasource factory to be
    org.objectweb.jndi.DataSourceFactory, but the connection pool offerred by Tomcat will failure now
    it seems that these two datasource factory has conflict
    How can I do?, I don't want to use the connection pool offerred in JTOM
    Anyone can help me??
    Thanks in advance

    Hi,
    I don't know the solution for JOTM, but you could try this JTA and its connection pools:
    http://www.atomikos.com ships a JTA that integrates with Tomcat and also provides JDBC connection pooling. There is a GUI control panel so that you don't have to know the XML details for Tomcat's config files.
    Best,
    Guy

  • Oracle 11g Installation problems

    Hi there, Im a new Oracle's user, and I am trying to install Oracle 11g in my computer I have Windows Vista SP2 32bits, but I have a lot of problems.
    The program send me various messages of Warnings and Errors so I couldnt finished the complete instalation and configuration.
    Somebody can help me with some of this errors.
    This are the errors: (In Spanish)
    ORA-31011: Fallo en el analisis de XML
    ORA-19202: Se ha producido un error en el procesamiento
    ORA-06512: en "SYS.XMLTYPE", linea 272
    ORA-06512: en "XDB.XDB_CONFIGURATION", linea 69
    ORA-06512: en "XDB.DBMX_XDB", linea 209
    ORA-06512: en "XDB.XDB_CONFIGURATION", linea 92
    La configuración de Enterprise Manager ha fallado debido al
    siguiente error:
    Error al iniciar Database Control
    Consulte el archivo log en C:\oraclecfgtoollogsdbca\orc\emConfig.log para obtener mas información
    Posteriormente, puede reintentar la configuración de esta base de datos con
    Enterprise Manager ejecutando manualmente el archivo de comandos C:\oracle\product\11.1.0\db_1\bin\emca
    nstaller ha instalado productos en el grupo de componentes "Oracle Windows Interfaces".
    Para soportar un desarrollo perfecto en Microsoft Visual Studio con la base de datos Oracle,
    Oracle recomienda descargar e instalar la última versión de
    "Oracle Developer Tools for Visual Studio .NET" de Oracle Technology Network.
    I will aprecciatte your help.
    Thank you!

    user12191943 wrote:
    I have Windows Vista SP2 32bitsPlease specifiy WHICH edition of Vista. Oracle does have many problems with Vista Home.

  • Oracle 10g Installation Problem on SUSE Linux 10

    Hello Friends,
    I want to install SAP Solution Manager 7.0 with Oracle 10g on SUSE Linux 10.0.
    But, while starting the Installation i am getting following Errors.
    Starting Oracle Universal Installer...
    Checking installer requirements...
    Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1,
    asianux-2 or SuSE-10
                                          Passed
    All installer requirements met.
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2009-04-22_03-59-38PM. Please wait ...
    Error in writing to directory /tmp/OraInstall2009-04-22_03-59-38PM. Please ensure that this directory is
    writable and has atleast 60 MB of disk space. Installation cannot continue.
    : Success
    I have checked the Permissions and the Size of /tmp Directory, which is as followed:
    drwxr-xr-x  11 root root    0 2009-04-22 21:19 sys
    drwxrwxrwt  52 root root 1824 2009-04-22 16:00 tmp
    drwxr-xr-x  15 root root  408 2009-04-19 14:43 usr
    Filesystem           1K-blocks      Used Available Use% Mounted on
    /dev/sda10             2104376     73112   2031264   4% /tmp
    I am starting the Oracle 10g Installation within orasm7 User which is a member of dba, users, disk groups.
    The directories which are created upon starting the Oracle Installation in /tmp directory are having the situations as followed:
    drwxr-xr-x 3 orasm7   dba          128 2009-04-21 18:41 OraInstall2009-04-21_06-41-14PM
    drwxr-xr-x 3 orasm7   dba          128 2009-04-21 18:41 OraInstall2009-04-21_06-41-25PM
    drwxr-xr-x 3 orasm7   dba          128 2009-04-22 15:59 OraInstall2009-04-22_03-59-38PM
    The Oracle Installation log is as follwoed:
    Using paramFile: /home/MyData/51031676/database/install/oraparam.ini
    Checking installer requirements...
    Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1, asianux-2 or SuSE-10
                                          Passed
    All installer requirements met.
    The commandline for unzip:
    /home/MyData/51031676/database/install/unzip -qqq ../stage/Components/oracle.swd.jre/1.4.2.0.8
    /1/DataFiles/\*.jar -d /tmp/OraInstall2009-04-22_03-59-38PM
    I have set DISPLAY variable in this way before starting Installation:
    DISPLAY=$HOSTNAME:0.0
    export DISPLAY
    I tried to search the solution over the internet for this kind of problem, but i am not able to find its solution. Even i tried to start the Orale installation using this parameter: ./runInstaller ignoreSysPrereqs, but still it is giving the same unexpected error.
    I have a doubt on File/Directory permissions which are created for Installation in /tmp. The umask setiing of the system is 0022.
    Please, help me for this issue.
    Thanks & Regards,
    Bhavik G. Shroff

    Hi Markus,
    How are you ?
    Thank you very much for your reply.
    I was executing wrong runInstaller file. RUNINSTALLER is right file for starting the execution. But still i am facing the same error, which is as followed.
    Preparing response files. Please wait:
    ======================================
    Working on /home/MyData/51031676/database/SAP/SVRCUSTOM.RSP
    /home/MyData/51031676/database/SAP/SVRCUSTOM.RSP --> /tmp/.orainst_rsp.27450: Done
    Starting Oracle Universal Installer...
    Checking installer requirements...
    Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1, asianux-2 or SuSE-10
                                          Passed
    All installer requirements met.
    Preparing to launch Oracle Universal Installer from /home/orasm7/tmpora/OraInstall2009-04-22_05-25-26PM. Please wait ...
    Error in writing to directory /home/orasm7/tmpora/OraInstall2009-04-22_05-25-26PM. Please ensure that
    this directory is writable and has atleast 60 MB of disk space. Installation cannot continue.
    : Success
    SHROFF:~ # cd /home/orasm7/tmpora/
    SHROFF:/home/orasm7/tmpora # ll
    total 0
    drwxr-xr-x 3 orasm7 dba 128 Apr 22 17:25 OraInstall2009-04-22_05-25-26PM
    SHROFF:/home/orasm7/tmpora # cd OraInstall2009-04-22_05-25-26PM/
    SHROFF:/home/orasm7/tmpora/OraInstall2009-04-22_05-25-26PM # ll
    total 4
    drwxr-xr-x 2 orasm7 dba 304 Apr 22 17:25 images
    -rwxr-xr-x 1 orasm7 dba 504 Apr 22 17:25 installActions2009-04-22_05-25-26PM.log
    SHROFF:/home/orasm7/tmpora/OraInstall2009-04-22_05-25-26PM #
    I have a doubt on tmp_netca_file & tmp_dbca_file variable.
    Please give your suggestion for the same.
    Regards,
    Bhavik G. Shroff
    Edited by: Bhavik G. Shroff on Apr 22, 2009 2:10 PM

  • Oracle 10g installation problem on RHEL4

    hi,
    I am installing oracle 10g on red hat linux. I read the complete documentation and the mailing lists and have installed all the required RPMs.
    When I start install, I get the following three errors:
    error in invoking target 'install' of makefile
    'u/01/app/oracle/ctx/lib/ins_ctx.mk'.
    error in invoking target 'agent nmo nmb' of makefile
    'u/01/app/oracle/ctx/lib/ins_sysman.mk'.
    error in invoking target 'all_no_orcl' of makefile
    'u/01/app/oracle/ctx/lib/ins_rdbms.mk'.
    This error is popped up when the link part is going on. I am installing the standard edition and have done all the possible things mentioned in the documentation.
    Can someone pls help me understand where is the problem
    thanx in advance,
    jayesh

    i had the same sequence of errors on installing (10g on Redhat AS4)
    The first error (INFO: /usr/bin/ld: crt1.o: No such file: No such file or directory
    ) is solved by installing the following package (you need the glibc-devel i386 package installed as well as the x86_64 version)
    up2date --arch=i386 glibc-devel
    The second error, I am currently stuck at (error in invoking target agent nmo nmb...of makefile ins_sysman.mk)
    INFO: /app/oracle/oracle/product/10.2.0/db_1/lib32//libnls10.a(lmsagb.o)(.text+0xa3): In function `lmsagbcmt':
    : undefined reference to `SltsPrRead'
    /app/oracle/oracle/product/10.2.0/db_1/lib32//libnls10.a(lmsagb.o)(.text+0x10a):
    Any ideas, people, please?
    Cheerio,
    Nic

  • OracleAS 10g Installation Problem on RedHat AS 3.0

    Hi
    I need to install OracleAS 10g on RedHat AS 3.0 and it seems that I need a patch (Patch 3006854) and the installation is impossible without it.I just started using oracleAS 10g and I dont have any metalink id.
    I think something is wrong here.
    a free trial version with a commercial patch !!!
    can any one please help me out.
    regards yashar

    dear fredrik
    I tried to install it according to the installation guid on http://www.oracle-base.com/articles/10g/OracleAS10gInstallationOnRedHatAS3.php as you see it asked for installation of a patch.
    and yes I tried to install it without installing this patch and I got an error saying that I am missing a file named ld.so in /etc.I thought it might be connected to that patch.
    beside when I was looking for the solution to my problem I saw many people having the same problem and asking the exact same question.
    please notify about any solution that you think might help me solving this problem. I am in a hurry
    regards yashar

  • Oracle 10g Installation Problem in HP-UX 11.31

    Hi
    I am installing ERP 2005 SR2 on HP-UX 11.31 OS with ORACLE database.  When I am running ./RUNINSTALLER getting following error. Error Log as follows
    Using paramFile: /oracle/stage/102_64/database/install/oraparam.ini
    Checking installer requirements...
    Checking operating system version: must be B.11.23.    Actual B.11.31
                                          Failed <<<<
    Exiting Oracle Universal Installer, log for this session can be found at /tmp/OraInstall2008-07-16_11-26-39AM/installActions2008-07-16_11-26-39AM.log
    When I look into oraparam.ini file from given path found entries as follows
    [Certified Versions]
    #You can customise error message shown for failure through CERTIFIED_VERSION_FAILURE_MESSAGE
    Solaris=5.6,5.7,5.8,5.9
    Linux=redhat-2.1AS
    HPUX=B.11.23
    Decunix=V5.1A,V5.1
    AIX=5.1.0.0
    [HPUX-B.11.23-required]
    #PATCHES required by JRE and Product, /usr/sbin/swlist -l patch gets list of patches on system
    PATCHES=
    #PACKAGES required by JRE and Product, /usr/sbin/swlist -l product gets list of packages on system
    PACKAGES=
    #Patch bundles required for Oracle.
    #/usr/sbin/swlist -l bundle gives list of bundles.
    #Each item should follow the format "bundle:version"
    #ex.,GOLDBASE11i:B.11.11.0106.9,GOLDAPPS11i:B.11.11.0106.9
    BUNDLE=
    #Minimum swap space required by OUI, Increase it if your product installation so requires
    SWAP_SPACE=250
    TEMP_SPACE=250
    BUNDLE_FAILURE_MESSAGE=Some patch bundles were not found on the system. Please verify if the system is at a higher bundle level.
    Please let me know how to overcome this problem.
    Regards
    Jayakar

    Hi ,
    If anyone come across this kind of errors don't try to perform any workaround which is not recommended by sap as later in post installation steps there will be errors so please go through below SAP note as it has some workarounds recommends by SAP
    Note 980426 - Oracle 10.2 Software installation on new operating systems
    Shanaka.

Maybe you are looking for

  • TS2756 I can no longer connect via USB/service missing

    ..& my iPhone does not show up on the list anymore.  I can still use Wi-Fi, though.  I would like to be able to use the USB connection again.  Resetting the network settings doesn't help.  BTW, I'm using it with my MacBook Pro running 10.7.5 and my i

  • Back to my Mac and passwords?

    Hi, I have been using BtmM with my MB and my MBP so far so good, I am using an AE as router and Comcast for my ISP. I do have a small problem with my password. I can see my MBP on my MB finder I click and go to screen sharing, I enter my MB user name

  • How do I get music off my ipod and on to my itunes acount?

    I need to burn a CD for a freind but I cannot get my music off of my Ipod and on to my computer. I want to put it in a play list I made but it will not let me drag it.

  • Error in data loads-Error occured in the data seletion

    Hi, We have to do an init load for Period 10 from data source 0EC_PCA_3. When the period changes we usually copy the previous infopack and change the fiscal yesr period and do an init load. This time we have to change the fiscal period to 010, we cre

  • Why is there no stand alone student edition of Photoshop CC?

    I am a community college photography professor.  In the Digital Photography courses I teach, my students learn to use Photoshop and Bridge.  In the past, students could purchase PS for a significant discount.  Now the discount they are being offered