Problem Initializing data-source oc4j

Hi,
When starting the oc4j container I get the following error.
ora03 $ Error initializing data-source 'jdbc/OracleCoreDS': DriverManagerDataSource driver 'oracle.jdbc.driver.OracleDri
ver' not found
Error initializing data-source 'jdbc/css_userCoreDS': DriverManagerDataSource driver 'oracle.jdbc.driver.OracleDriver' n
ot found
Error initializing data-source 'jdbc/AnteDateCoreDS': DriverManagerDataSource driver 'oracle.jdbc.driver.OracleDriver' n
ot found
Warning: Error reading transaction-log file (/u01/web/ias102/j2ee/home/persistence/transaction.state) for recovery: prem
ature end of file
Forced or abrubt (crash etc) server shutdown detected, starting recovery process...
Recovery completed, 0 connections committed and 0 rolled back...
Oracle9iAS (1.0.2.2.1) Containers for J2EE initialized
Here is my data-sources.xml
<?xml version = '1.0' encoding = 'windows-1252'?>
<!DOCTYPE data-sources PUBLIC "Orion data-sources" "http://xmlns.oracle.com/ias/dtds/data-sources.dtd">
<data-sources>
<data-source
     class="com.evermind.sql.DriverManagerDataSource"
     connection-driver="oracle.jdbc.driver.OracleDriver"
     ejb-location="jdbc/css_userDS"
     inactivity-timeout="30"
     location="jdbc/css_userCoreDS"
     name="css_userDS"
     password="css"
     url="jdbc:oracle:thin:@oradev01.nf.prv:1521:css"
     username="css_user"
     xa-location="jdbc/xa/css_userXADS"/>
<data-source
     class="com.evermind.sql.DriverManagerDataSource"
     connection-driver="oracle.jdbc.driver.OracleDriver"
     ejb-location="jdbc/AnteDateDS"
     inactivity-timeout="30"
     location="jdbc/AnteDateCoreDS"
     name="AnteDateDS" password="date"
     url="jdbc:oracle:thin:@oradev01.nf.prv:1521:test"
     username="antedate"
     xa-location="jdbc/xa/AnteDateXADS"/>
</data-sources>
I have made sure that the classes12.zip in in my CLASSPATH. OS HP-UX 11.00. Help!!!

David,
OC4J does not pickup the CLASSPATH from $CLASSPATH env variable. Do you have the classes12.zip in $OC4J_HOME/j2ee/home/lib directory?
If not can you please put that in that directory and restart your server.
regards
Debu Panda
Oracle

Similar Messages

  • Problem in Data Source

    Hello,
    The database connection is not created from data-sources.xml in the server start up. I am really worried as where exactly the problem is...!!! Everywhere, it is mentioned that, OC4J configures the settings from the \config directory during server start.
    I wonder as why there is a problem in database connection. Below is the data-sources.xml file in config directory.
    <?xml version="1.0"?>
    <!DOCTYPE data-sources PUBLIC "-//Evermind//- Data-sources configuration" "http://xmlns.oracle.com/ias/dtds/data-sources.dtd">
    <data-sources>
         <data-source
              class="com.evermind.sql.DriverManagerDataSource"
              name="OracleDS"
              location="jdbc/OracleCoreDS"
              xa-location="jdbc/xa/OracleXADS"
              ejb-location="jdbc/OracleDS"
              connection-driver="oracle.jdbc.driver.OracleDriver"
              username="scott"
              password="tiger"
              url="jdbc:oracle:thin:@localhost:5521:oracle"
              inactivity-timeout="30"
         />
    </data-sources>
    Should i initialize any item before database connection? I have tried this with JDeveloper and Stand alone OC4J. Connection was made to the database. But i dont understand why is the problem in remote machine.
    Kindly suggest me as how i can proceed...
    Thanx and Regards,
    Achyuth

    Achyuth -- Data source min connections were not always honored in releases prior to v9021. In releases v9021 and later the behavior is honored with certain restrictions that are described in the documentation. From reading another posting you made it appears that you are on v1022x so connections are not made on startup but on use.
    Thanks -- Jeff

  • Problem in data sources for transaction data through flat file

    Hello Friends,
    While creating the data sources for transaction data through flat file, I am getting the following error "Error 'The argument '1519,05' cannot be interpreted as anumber' while assigning character to application structure" Message no. RSDS016
    If any one come across this issue, please provide me the solution.
    Thanks in Advance.
    Regards
    Ravi

    Hallo,
    just for information.
    I had the same problem.
    Have changed the field type from CURR to DEC and have set external instead of internal.
    Then, the import with flatfile worked fine.
    Thank you.

  • Problem with Data source- full load is not extracting where as delta can.

    Hi All,
    I have a problem in loading of the region values into BW.
    Data Source 0CRM_OPPT_I is used to fetch opportunities ( same as Sales Orders in ECC) from CRM system.Data source has a field 0CRM_TR which gives the values of region values pof the employee responsible. problem here is that CRM_TR value is not being fetched when the record was first created, but the value is being flown to BW in the delta run i.e. when a change happened in record.
    Please anyone help us out in resolving this issue.
    Regards,
    Haaris.

    Hi Hari.......
    Hav u done init........if yes........What u hav done....I mean.....init with or w/o data transfer.....?
    It has picked records or not? if yes...........after init.........hav u checked the Delta queue(RSA7) in the source system...........is the Total field is 0 or not.........if 0..then....
    Look if u r using Direct delta.then after init.any changes or new records will get recorded in the Delta queue(RSA7) directly..........but if the Update mode is Unserialized V3 update or Qued delta.then data will accumulated in the Update table and the Extraction Queue respectively...........in that case u hav to schedule V3 jobs to pull them in RSA7............otherwise delta load will pick 0 records only........
    Check the update mode of the Datasource in LBWE.......
    Check this..........it may help u........
    Steps to do init load from CRM
    Regards,
    Debjani.......

  • Problem in Data Source Creation

    Hi,
    I am trying to create a Data Source from trans. RSO2
    from -extraction from DB view - view/table -(my table name).
    But when i am trying to save this, it is giving the error "Invalid Extract structure template (my table name)".
    My table is valid and existung in that client.
    What should be done in this case????

    mayank,
    your extract structure will have some currency fields and/or some unit fields ..
    if you go to the base tables , there is a tab for currency fields .. check that andfind out the lookup that the field you want uses , bring that into the view and then generate your datasource.
    fields like MEINH , MEINS will be used for unit lookup ad TCURC etc fo currency lookups , you would have to bring these fields into the view..
    Hope it elps..
    Arun
    Assign points if useful

  • Problem in data source mapping - CAF entity service.

    Hi,
    I created an external service for the bapi given below.
    It has 2 tables as input parameters.
    In entity service I created attributes(for input parameters) for table1 and table2. but in data source i couldn't map more than one attribute to the MATNRSELECTION and PLANTSELECTION.The attributes of the bapi are under the same collection.
    I'm using NWDS version 7.0.06.
    BAPI_MATERIAL_GETLIST (To List all Materials for a Particular Plant)
    Input Parameters:
    Table1: MATNRSELECTION
    MATNRSELECTION-SIGN
    MATNRSELECTION-OPTION
    MATNRSELECTION-MATNR_LOW
    Table 2: PLANTSELECTION
    PLANTSELECTION-SIGN
    PLANTSELECTION-OPTION
    PLANTSELECTION-PLANT_LOW
    Regards,
    Shobhendra

    in your entity if you did create 2 attributes for one material number and one for plant, you can map them to the corresponding MATNRSELECTION-MATNR_LOW and PLANTSELECTION-PLANT_LOW.
    For the sign and option, you should uncheck the IsNull parameter in the "Entity to External Operation parameters" mapping window of the Datasource Tab of your entity. And you should set default values like sign = I and option = EQ or something like that.
    But if you want to pass a list of material numbers or plants, I do have a recollection from last year experiments of some limitation using collections as input parameters. maybe somebody else had better success with that

  • Problem transporting data source on R/3 side - missing text

    Hi guys
    We are trying to transport a BC data source with enhancement from DEV to TEST. The person doing the enhancement is long gone.
    When we try to include the data source in a transport, we get the error:
    "The short text of data source … is not maintained in language E"
    If we login in English we can see the short text missing. However this being BC, how do we add the text?
    Hope you can help guys...
    Kind regards
    Karsten

    Hi Karsten,
    This text missing, is from the transfer structure?
    You may access from transaction se11 and edit the transfer structure in English, and add the missing texts in that language.
    Let me know if you need any further help.
    Hope it helps.
    Regards,
    Diego Lombardini.

  • Console - problem creating data source

    I have just installed Weblogic Server 10.3.5 in my computer running wls1035_win32.exe. I created a simple domain.
    I'm not being able to create a data source. The button NEW in "Services - Data Sources" is enabled but nothing happens when I click on it.
    No message seems to be logging in any logger file (console, adminServer.log).
    Can somebody help me?

    The steps are provided here: http://download.oracle.com/docs/cd/E21764_01/apirefs.1111/e13952/taskhelp/jdbc/jdbc_datasources/CreateDataSources.html
    http://middlewaremagic.com/weblogic/?p=7265

  • data-source problem error 503

    i m using oracle10g database . through jdev-embedded 0c4j , i want to run my strut application . i m having problems with data-source entry.
    i give either of following 2 entries in struts-config.xml and get this error
    503 Service Unavailable
    Servlet error: Initializing application data source org.apache.struts.action.DATA_SOURCE
    my data-source entries are
    1
    data-source type="org.apache.commons.dbcp.BasicDataSource"
    name="jdev-connection-DBConnection1"
    connection-driver="oracle.jdbc.driver.OracleDriver"
    username="scott" password="tiger"
    url="jdbc:oracle:thin:@localhost:1521:ORCL"
    inactivity-timeout="30"/>
    ps :- i have added dbcp in my default project properties
    or i use
    <data-source name="jdev-connection-DBConnection1"
    class="com.evermind.sql.DriverManagerDataSource"
    location="jdbc/DBConnection1CoreDS"
    xa-location="jdbc/xa/DBConnection1XADS"
    ejb-location="jdbc/DBConnection1DS"
    pooled-location="jdbc/DBConnection1PooledDS"
    connection-driver="oracle.jdbc.driver.OracleDriver"
    username="scott" password="tiger"
    url="jdbc:oracle:thin:@localhost:1521:ORCL"
    inactivity-timeout="30"/>

    To get quicker help (or to get help at all), please use a more suitable forum. I think, your problem is not a general database problem, but very specific. Try
    http://forums.oracle.com/forums/index.jsp?cat=13
    (topic OC4J/J2EE)

  • OC4J data-source.xml other data base like postgresql

    Hi i need to use a DataSource in OC4J with other database (any), i am setting the data-source.xml like:
    <\datasource
    class="com.evermind.sql.DriverManagerDataSource"
    name="DSPropiedades" location="jdbc/DSPropiedadesCoreDS"
    xa-location="jdbc/xa/DSPropiedadesXADS"
    ejb-location="jdbc/DSPropiedades"
    connection-driver="com.borland.datastore.jdbc.DataStore"
    username="sample"
    password="sample"
    url="jdbc:borland:dslocal:D:/seguridaddb/seguridad.jds"
    inactivity-timeout="300"
    />
    and i had put the database.jar in the OC4j directory's
    D:\ora10i\jdbc\lib
    D:\ora10i\j2ee\home\lib
    D:\ora10i\lib
    but i always obtain the same error
    Error initializing data-source 'jdbc/DSPropiedadesCoreDS': DriverManagerDataSource Driver 'com.borland.datastore.jdbc.DataStore' not found

    Liliana,
    From the [lack of] information you have posted, I am assuming you are using OC4J stand-alone version 10g -- but I'm not sure because I couldn't find any of those details in your post. It always helps to include version and platform information.
    If my assumption is correct, then the default location for third-party JAR files (including your JDBC driver) is the
    "j2ee/home/applib"
    subdirectory of the OC4J installation. For example, on my Windows XP machine (again, I couldn't see what platform you are using, so I am assuming it is also Windows), the actual path is:
    C:\OC4J_10_0_3\j2ee\home\applib
    If you want to see other examples of "data-sources.xml" files (apart from the one that comes with OC4J), try searching the following Web sites:
    http://www.orionserver.com
    http://www.orionsupport.com
    http://kb.atlassian.com
    Good Luck,
    Avi.

  • Excel Functions Do Not Work When Data Source is BW

    Hello,
    My platform is, BOBJ BI 4.0. Data source is SAP BW. BW is connected to XCelsius with BEx. My problem is, excel functions do not work when data source is BW. For example, Excel cell A1=quantity1  B1= quantity2   C1= excel function "=A1+B1" When data source is Excel, for example A1=5, B1=9 C1 automatically equals to 14. (There is no problem when data source is Excel) But, in BW, for example when BW set values to A1=5, B1=9, the system does not calculate C1. C1 always equals to initial value, the system does not care any excel calculation when data source is BW.  Any guess for my problem? Thank you for your effort.

    Hi,
    As you are using very simple formula,it will work no matter which source you are consuming.As mentioned,try to place a simple component(Eg:spreadsheet),just to check whether you are getting the right calculated value or not.
    As you are using BW as source,the Preview option will not show the runtime data,so you need to publish in Portal to check whether the calculation happened or not.
    As far as I know only few fromulas are supported in Xcelsius,but these kind of simple formulas are very much supported.
    Rgds,
    Murali

  • Data Sources (Tomcat) - mysql

    I tried setting up a Data Source in Tomcat to use a mysql driver, but couldn't get it to work (my Servet wasn't able to find it using a context lookup). I got told by someone that Tomcat had a problem with Data Sources.
    So I placed the mm.mysql.jar file into Tomcat's /common/lib/ and am now using the drivers directly like this;
    ClassLoader cl = this.getClass().getClassLoader();
    Class.forName("org.gjt.mm.mysql.Driver", true, cl).newInstance();
    conn = DriverManager.getConnection("jdbc:mysql://xxx.xxx.no/dbname?user=xxx&password=xxxx");It works fine,
    but I'm wondering if this will cause problems for me later? What about connection pooling etc. that I had to specify when setting up the data source in Tomcat.

    PROGRESS !!
    Initial problem
    To set up a connection with DataSource by following
    JWSDP-1.0 tutorial on Servlet's
    I set up a connection with DriverManager by following
    http://www-106.ibm.com/developerworks/java/library/j-banner/?dwzone=java
    I set up a connection with DataSource by following
    -- TOMCAT 4.1.12 > DOCUMENTATION > JNDI DataSource Howto
    My guessing thought is that the root cause might be a mysql-configuration theme ..
    for example, to configure
    "javauser@localhost identified by 'javadude' "
    actually GIVES acces,but if you try
    c:>mysql -u javauser -pjavadude
    I get denied acces ..!?

  • Visual Composer 7.0: system (data source) does not appear

    Hi...
    There is a problem: system (data source) does not appear in Visual Composer 7.0
    1. There is a connector MDM. It is made by PCD. It has been tested. The test is ok.
    2. However, as the data source in Visual Composer a connector MDM does not appear.
    3. This problem affects all types of connectors, but the Web Service Connector. Connector Web Service is always there.
    What the .....?
    P.S. The role of the creator of the connector is the same user of Visual Composer
    Thanks...

    Hi...
    There is a problem: system (data source) does not appear in Visual Composer 7.0
    1. There is a connector MDM. It is made by PCD. It has been tested. The test is ok.
    2. However, as the data source in Visual Composer a connector MDM does not appear.
    3. This problem affects all types of connectors, but the Web Service Connector. Connector Web Service is always there.
    What the .....?
    P.S. The role of the creator of the connector is the same user of Visual Composer
    Thanks...

  • Copa data source (urgent urgent)

    HI friends
    M newly jioned in BI. in reports some fields are showing blanks. i cheked in BI side every thing ok. i cheked the in the source system in RSA3 data for that data source(copa data source) ter also same fields are missing.this is COPA extraction. i think main problem is DATA SOURCE is it corrcte ?.  i need to check some wer else.plz m in confuse plz advise me.
    Regards
    siva

    Hi
    Usually, if the data is missing in COPA, then the next source will be veryfying SD data.
    Say some of the condition types were created in SD module but those were not updated/mapped/configured in COPA, so obviously those values/fields will be missing in COPA and BI.
    Hope this helps.
    regards
    S

  • Problem using JDBC (JNDI) DataSource and data-sources.xml w/ OC4J

    I have a JClient application developed in JDev X. It works fine when using a JDBC URL for the connection (which then writes the connection into the BC4J.xcfg files, one for each application module). However, I would like the app to retrieve the data source from the server's data-sources.xml file. However, when, on the configurations tab of the application module I set the connection type to JDBC DataSource, and give it the JNDI name, it does not work, either with the embedded OC4J or the stand-alone OC4J. Any suggestions???
    In the stand alone OC4J I verified that the data source exists (using java -jar admin.jar ormi://nemethzoltan3 admin welcome -application adatklinika -testDataSource -location jdbc/adatklinikaCoreDS) ... so the data source is defined in the data-sources.xml. Of course the error I get is JBO-30003.
    If I just try to "test" the data source in Jdeveloper (using the context menu of the app module, and setting it to use the adatklinikaCoreDS) I get a JNDI error: unable to lookup data source and at level 3 a "javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial". I checked, the data source is defined under tools->embedded OC4J properties->data sources.
    If I try to run the main form, simply nothing happens.
    Please help!!!

    Ok, figured out why running from jdeveloper wasn't working: the embedded OC4J server wasn't started (start it by running an html page from your project or something...and make sure you don't have a stand-alone oc4j running). AND more importantly it didn't have the library "embedded oc4j client" library included (project properties -> profiles -> development -> libraries)...which is needed for whatever reason.
    Now to try and get it working with the stand-alone OC4J...

Maybe you are looking for

  • Need help using applescript to export a playlist

    I'm trying to use applescript to get iTunes to export the current playlist as XML. I know this can be done via the File ->Export menu but I'd like to script this.

  • IMovie runs SLOW!!!

    I'm using iMovie on the iPad 2 and I'm trying to create a slideshow. It has become unmanageable. There are a LOT of photographs in it but I read numerous reviews that the iPad version runs better than the full sized OSX version. This has not been my

  • How to use a java version on a CD application?

    i need to specify the location of a version of java on a cd, meaning that i want the java applet on the cd to use the version of java that i will supply on the cd, regardless of what is on the machine itself. can i do this? and how? thanks

  • Type Group

    what is Type Group? explain it?

  • Essbase Studio - Import Catalog using an automatic process

    Hello, I'd like to make the process of importing Essbase Studio catalog more automatic in the customer environment. Instead of having to open Essbase Studio application every time I want to deploy a new version of the catalog ( either full or partial