Need help with database configuration

Hi all,
I have an Oracle 9i release 2 Database running on Windows server 2000. There I intend to insert data using a consol application. The program runs fine from other machines connected to it through lan and data is inserted all right. But when I run the program on the same machine as the database server, it gives the following error message
"ORA-01843: not a valid month
ORA-06512: at "FASTDB.SPINSMODSALESCENTERSMESSAGES", line 16
ORA-06512: at line 1 .."
The program is written in C# and the server has .NET FrameWork 2.0 and MDAC 2.6 installed.
I don't understand if the program were wrong, then how does it run properly from other machines. And if it runs correctly on the other machines then why doesn't it run on the server machine..
The procedure looks like this
CREATE OR REPLACE PROCEDURE SPInsModSalesCentersMessages(pv_1MessageId integer,
     pv_2requestMsgs varchar2,
pv_3replyMsgs varchar2,
pv_4messageStatus integer,
     pv_5outStatus out integer,
     pv_6SerialNo varchar2,
     pv_7SaveDateTime varchar2)
AS
vn_IsMsgsId integer;
BEGIN
     pv_5outStatus:=-1;
     SELECT count(1) into vn_IsMsgsId
     FROM TBLDataTranc_Client
     WHERE TBLDataTranc_Client.messageId = pv_1MessageId;
     IF vn_IsMsgsId = 0 then
          INSERT INTO TBLDataTranc_Client(messageId,serialNo,saveDateTime,resquestMsgStr,replyMsgStr,messageStatus)
          VALUES(pv_1MessageId,pv_6SerialNo,to_date(pv_7SaveDateTime,'mm/dd/yyyy hh12:mi:ss AM'),pv_2requestMsgs,pv_3replyMsgs,pv_4messageStatus);
     ELSE
          UPDATE TBLDataTranc_Client
          SET      resquestMsgStr=pv_2requestMsgs,
          replyMsgStr=pv_3replyMsgs,
          messageStatus=pv_4messageStatus,
          serialNo=pv_6SerialNo,
          saveDateTime=to_date(pv_7SaveDateTime,'mm/dd/yyyy hh12:mi:ss AM')
          WHERE TBLDataTranc_Client.messageId = pv_1MessageId
          and TBLDataTranc_Client.messageStatus =1;
          pv_5outStatus:=1;
     END if;
end;
Please help me if you can.

Hi ...
You can use a StatsPack for guess the best distribution memory with your DB needs.
See metalink Note:228913.1
Regards

Similar Messages

  • NEED HELP WITH WORKFLOW CONFIGURATION

    I need help with 3 situations below. Please help me with these. How do I configure these. I also haveto provide specs to the Abaper. What exactly do I need to include in the specs. I anyone has the specs similar to these please send me over. Also tell me what I need to do to get these requirements fulfilled.
    1)  Description:
    This is a workflow requirement to serve as a reminder of upcoming investment
    maturities.
    Requirements Details:
    Create a workflow to serve as a reminder of upcoming investment maturities.
    Donor System Processing Narrative:
    Read the maturity dates on investments.
    Target System Processing Narrative:
    Send a notice to the parties that an investment will be maturing soon.
    2)  Description:
    Implement workflow to route invoice receipts using a one time vendor for management
    review and posting
    Desired Functionality:
    If a one time vendor is entered by the AP Voucher Clerk the invoice will be automatically
    parked by the program and a workflow notification triggered to the Accounting
    Supervisor and Accounting Manager (backup). The Accounting Supervisor will review
    the parked document and imaged copy of the actual invoice and post the parked
    document.
    3)  Description:
    An approval workflow is needed for credit memos posted to SAP customer accounts.
    Desired Functionality:
    The Cash Journal Clerk will post a credit memo to the customer account using transaction
    FV75 Park Customer Invoice. This transaction will automatically trigger a workflow to
    the Accounting Manager for approval and then to the CFO who will approve and post the
    parked document. (In order for this transaction to automatically trigger what configuration needs to be done).

    Bob;
    You can borrow the example code that ships with both NI-DAQ (in case you are doing NI-DAQ function calls) and Labview. The best examples to start with are the ones that have the prefix STC.
    Hope this helps.
    Filipe A.
    Applications Engineer
    National Instruments

  • Need help with AS8 configuration

    Our present situation is like this:
    AS7 with single domain and multiple server instances
    instance A running on port xxx containing app1
    instance B running on port yyy containing app2
    instance C running on port zzz containing app3
    Now, when I move to AS8.1 PE, I dont see the option to create a server instance inside a domain. I need to create 3 domains in order to accomplish the same task as above. Not only that, now I need to login to 3 different admin servers to manage the 3 apps on 3 ports
    I need help with some options I can use
    thanks

    I'm not sure but i think that on 8.1 pe you can have only one server instance by default...
    But you can olso try by command line tool asadminin [installdir soas]/binuse:
    asadmin --help for a list of commands available.
    In the list should be create-instance to create a stand alone instance.
    Hi
    Stefano

  • Need help with 6300 configuration settings

    I can't get sms, email or web to work on my lovely new 6300 phone (an xmas present from my daughter) :-(
    I travel between England and France and have an Orange sim card for England and an SFR card and contract in France (Orange doesnt work in the mountains).
    I managed to text when in England with the orange card. On arriving in France I found the phone was locked to Orange (first headache, given that I live in the country, over 50 miles from any Nokia dealer). I got the phone unlocked, but SMS etc were still not working and local mobile outlets hadnt a clue. So I'm on my own.
    Rummaging around this site I realised I probably needed to additional settings, and downloaded these.
    Now for the real nightmare: how the hell to set these configuration settings. I seem to be going round in circles. Is there anybody out there who could help me make some sense of the following settings???!!!
    Although helpful, this site is not good at explaining the significance of the following (and whats more I feel they should probably be listed in the reverse order?)
    - default config setting
    - preferred access point
    - personal config setting
    DEFAULT CONFIG SETTING
    I have a choice of
    - orange (inherited with branded phone and presumably needed when back in the UK?)
    - personal config
    - SFR MMS (downloaded by me from Nokia)
    - Wanadoo (downloaded by me from Nokia)
    Ive chosen personal config (see below)
    ACTIVATE DEFAULT IN ALL APPS
    I have said no ??
    PREFERRED ACCESS POINT
    Ive created one called 'Fra access point' (see next) so as to have alternative to all the orange ones,
    PERSONAL CONFIG SETTING
    I've made three: FRA access point, FRA mailbox and Fra web
    The access point has data bearer as Packet data (dont ask me what this means!) and I made up my own user name and password
    Well, there you are. I would at least like to have the sms working (I suspect the email may be another hurdle as my pop and sms servers are different).
    I do hope someone can help me

    I was disappointed by the deafening silence which followed my cry for help - perhaps a bit too meaty for a Friday afternoon?
    Anyhow, amazingly, after a loooong and expensive phone call to SFR (Vodaphone) the problem has been resolved (sort of).
    I had been fiddling around with the configurations under Settings. It turned out there are MORE settings under Message settings and these included the need to specify a number for the Message Centre. (Nowhere on the SFR site is this number given, plus their link for downloading configurations is not working...)
    Be warned, I might be back in a week or two when I have more energy to tackle email.

  • Need help with database connection and trasaction!

    Hi, I'm trying to load data from a huge report to DB2. My old way of doing this is: 1. using DriverManger.getConnection to get a connection.
    2. Then set autoCommit to false.
    3. Keep the connection open.....
    4. con.commit once I reach a section, let's say around 5000 records per section.
    5. Close the connection once I finish loading, (Finally block)
    I'm still new in the java world and kind of concern of the way of what I'm doing. Then I did some research. Perhaps using javax.sql.DataSource is a better approach. But I couldn't use it in WSAD. Do I need do some configuration? I heard it's in j2ee 1.4 . Is that the reason I couldn't use it?
    And.......I tried to use DAO pattern to talk with DB. By that way, I have to open and close connection everytime I invoke the dao method. Then how can I control the transaction? Because I don't want to insert each record data in to the table right away. I want to do the commit once I get all records for one section. No idea how can I achieve this.
    Any suggestion will be really appreciated!!!

    I'm still new in the java world and kind of concern
    of the way of what I'm doing. Then I did some
    research. Perhaps using javax.sql.DataSource is a
    better approach. But I couldn't use it in WSAD. Do I
    need do some configuration? I heard it's in j2ee 1.4
    . Is that the reason I couldn't use it?What you need to do is configure a Connection datasource. WSAD has that. You just need to go through the documentation and find out. I never worked on it.
    And.......I tried to use DAO pattern to talk with DB.
    By that way, I have to open and close connection
    everytime I invoke the dao method. Then how can I
    control the transaction? Because I don't want to
    insert each record data in to the table right away. I
    want to do the commit once I get all records for one
    section. No idea how can I achieve this.Since you want to simply insert multiple records, you might want to insert them in a batch. This is available in PreparedStatements.
    $ Carol.

  • Need help with error configuring Identity Management in OAS 10g

    Hi,
    I am configuring SSO in OAS 10g, After successful installation (with sso option selected) when I go to the management interface and attempt to configure Identity Management it fails with the following error:
    Error configuring identity management. oracle.ias.configtool.config.ConfigException: Unable to retrieve SSO DB information.Base Exception: oracle.ias.configtool.config.ConfigException: oracle.ias.configtool.config.ConfigException: oracle.ias.configtool.config.ConfigException: Unable to retrieve SSO DB information . Base Exception : Error when reading seeAlso of replicaid entry - java.lang.NullPointerException Status code 3
    I am totally stumped, cant find any instance of this error in docs etc. PLEASE HELP.
    I am trying to setup OAS to SSO with MS AS for oracle ebusiness suite 11i.
    Thanx in Advance,
    Sean

    Check that your insfrastructure database is up and running, it's accesible, as well, check for OID procs and demons that ports for OID are open and that you can make ldapbind this last may not be necesary as the error say about database, but is good to check also. Go to *$ORACLE_HOME/opmn/logs* and check the files there to see if other process are having problems.
    Greetings

  • Need help with AAA configuration

    I am trying to configure AAA on my network devices. I am using TACACS+ with an ACS (3.2) server. I have setup two user groups in the ACS server, one with enable priviledges and one without. I am able to get the AAA configuration to work when telnetting into the devices. However, when logging into the console port, the user group with enable priviledges do not go directly into enable mode as the telnetted users do. How to fix this?

    Hi,
    You will need to use the following command :-
    aaa authorization console
    This command will not show up on the help.
    Regards,
    Vivek

  • Need help with database migration using export/import

    Hi,
    I am planning to do a database migration from 8.0.6 to 10.2.0.4. I am using export/import. Please answer some of my queries:
    1) Do i need to do full export using SYS/SYSTEM user.
    exp80 system/manager file=c:full.dmp log=c:\full.txt full=y consistent=y
    2) Will there be any data corruption while export.
    3) Is export/import the only method of migration/upgradation.
    Please help
    Thanks.

    I'll answer the specifics that I know about your questions, but please look at the post from Srini for additional info:
    1) Do i need to do full export using SYS/SYSTEM user.
    exp80 system/manager file=c:full.dmp log=c:\full.txt full=y consistent=yA full export will move as much information (metadata/data) as possible. In order to do a full export/import, you need to do this from a
    privileged account. A privileged account is one with EXP_FULL_DATABASE for export and IMP_FULL_DATABASE for import.
    2) Will there be any data corruption while export.The data in the objects that you are exporting is being read, nothing is written to user data. I'm not sure what this is available in 8.0.6,
    but if you need a consistent export, look to see if consistent=y is available in 8.0.6. All this means is that the dump file created will have
    consistent data in it.
    3) Is export/import the only method of migration/upgradation.If you are changing hardware, the only supported way from 8.0 to 10.2.0.4, that I know of, is using exp/imp.
    Hope this helps.
    Dean

  • Student needs help with database planning

    Preliminary Plan
    I work at the headquarters of a small company of 8 offices and 26 employees. I am the central database system. Right now, information is only accessible through me, by me, from me, and to me via fax, phone, mail, or email. I have several spreadsheets with different information resulting from personal information, cell phone information, laptop information, government vehicle information, contract information, and training information.
    I want to develop a database that will automatically keep track of this information as entered by the user. Whenever there is a change or update, the system will be able to automatically accept this information into the system. Information will come from each workstation in the office that only the managers and I can see. The managers will however only have access to their individual employee information, but I will have access to ALL the employee information. All information created, provided, and maintained between me and the managers will be conducted through RDBMS. Triggers will be used so that information can be updated or inserted through SQL. LAN-to-LAN connections are already in place so that information on the network can be accessible. Preliminary plan is as follows:
    WEEK 2: January 15-21, 2007
    Develop preliminary plan for two sentence concept of BPS
    WEEK 3: January 22-28, 2007
    Finalization of preliminary plan
    Creating the database i.e., connecting, granting privileges, adding systems
    Designing and creating tables, databases which are already in spreadsheet format
    WEEK 4: January 29-February 4, 2007
    Designing and creating tables, databases which are already in spreadsheet format
    Installing, configuring, and securing the database;
    WEEK 5: February 5-11, 2007
    Develop triggers using SQL; test database
    WEEK 6: February 12-18, 2007
    Design, develop, and test user interface application
    WEEK 7: February 19-25, 2007
    Test application again. Test database again. Test project application and database together.
    WEEK 8: February 26-March 4, 2007
    Finalize project details to incorporate into a PowerPoint presentation for submission.
    WEEK 9: March 5-11, 2007
    Demonstrate and present project. Evaluations due.

    My major is information system. I want to be able to
    access information from all 8 stations where the user
    inputs the information, but only have access to their
    employees and I will have access to all 26 employees.
    I being the central database system.Still quite vague, if you ask me. If it's just an entry formular with user authentification, your time schedule may work. Installing XE and developing with APEX could just be the right tool for this job, but without any further information (data structures, authentification concept, user interface) it will remain pure speculation from my side. Why not ask your teacher if he/she thinks your plan is reasonable?
    C.

  • Need help with hybrid configuration

    Hello,
    This is the first time I am working with Lync Online. My task is to install Lync on premises and we either will keep it together, or we migrate to the local Lync.
    The Lync online is running for about a year now, so I know that everything is configured correctly.
    I installed and configured local Lync SE server, Lync Edge server and Reverse Proxy server. Everything is setup and configured. I added a user that I use for installation to that Lync and it can login. I configured federation with another company and federation
    works.
    I run the following PowerShell commands on local Lync server:
    Set-CsAccessEdgeConfiguration -UseDnsSrvRouting -AllowOutsideUsers 1 -AllowFederatedUsers 1 -EnablePartnerDiscovery 1
    Set-CsHostingProvider -Identity LyncOnline -EnabledSharedAddressSpace $true -HostsOCSUsers $true -VerificationLevel UseSourceVerification -AutodiscoverUrl
    https://webdir.online.lync.com/Autodiscover/AutodiscoverService.svc/root
    I thought that at this time I should be able to see status and communicate between my user that is on local Lync and everyone else in the company that is on Lync online. This does not happen. When I do search in my Lync client, it shows me all other people
    but I cannot IM to them, I do not see their status and they are displayed with icon of the phone. If I check details of the user, it shows me correct phone numbers, title, email address, etc...
    Can someone tell me what am I missing? Why it does not work?
    Thank you. Eric.

    Hi,
    Did you integration Lync and Exchange? Please check if you disable your Lync client from creating an Outlook contact from your Lync contacts. If you disable it, please enable it and then try again.
    Here is a similar case may help you:
    http://social.technet.microsoft.com/Forums/lync/en-US/42ea568c-5cf8-49f7-8d02-3d444b03f9f6/federated-contacts-showing-up-as-only-phone-numbers?forum=ocsaddressbook
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • NEED HELP WITH DATABASE WEB SERVICE INTEGRATION

    Hello everybody. I have created a web service with returns a list of records extracted from a database. It works, Apex references the web service and get the result when I test it, but I want to display results in a page type "Form and Report on Web Service" and when I associate the web service to the page and click on "Finish Button" I get this message:
    "This Web service does not have a result tree in its definition that is appropriate for a report. You may wish to run the Form on Web Service wizard instead.".
    It is correct, of course, but I do not have an example of how to do an appropriate definition for this kind of report.What kind of definition is it waiting for? What I do in the web service is to return a list of items (a resultset of a query such as "SELECT PRODUCTID, PRODUCTNAME, PRICE, IMAGEHREF FROM PRODUCTS") concatenated in a string (commas-separated values). What kind of output must the web service produce or how have I to structure the associated wsdl document in order to display the result with a "form and report on web service" page?
    Every help or example is welcome.
    Thanks a lot and have a nice day
    Stefano-ITALY

    i saw that it is giving this below error but not sure why ??
    org.apache.axis2.AxisFault: Exception occurred while trying to invoke service method registerEmployee
    at org.apache.axis2.util.Utils.getInboundFaultFromMes sageContext(Utils.java:486)
    at org.apache.axis2.description.OutInAxisOperationCli ent.handleResponse(OutInAxisOperation.java:343)
    at org.apache.axis2.description.OutInAxisOperationCli ent.send(OutInAxisOperation.java:389)
    at org.apache.axis2.description.OutInAxisOperationCli ent.executeImpl(OutInAxisOperation.java:211)
    at org.apache.axis2.client.OperationClient.execute(Op erationClient.java:163)
    at webservice.EmployeeServiceStub.registerEmployee(Em ployeeServiceStub.java:488)
    at webservice.EmployeeClient.main(EmployeeClient.java :22)can anyone suggest why this might come ?
    thanks

  • Need Help with Database Connection

    Hello,
    i have the order to create a Dynamic pfd with Adobe Live Cycle Designer which takes some source information from a Microsoft Access Database.
    I am absolutely new in Adobe Live Cycle Designer, but I have experiences in VBA, C++ and Delphi...
    Thanks for Help

    Ok, got it...

  • Need help with database retrieval

    This is the code im using to get a column from my database and display its contents into a JTextArea but for some reason it says this in the msdos box
    Sending query: SELECT *
    FROM words;
    java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver]Invalid characte
    r value for cast specification on column number 1 (MoreThings)
    at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6879)
    at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7036)
    at sun.jdbc.odbc.JdbcOdbc.SQLGetDataInteger(JdbcOdbc.java:3766)
    at sun.jdbc.odbc.JdbcOdbcResultSet.getDataInteger(JdbcOdbcResultSet.java
    :5501)
    at sun.jdbc.odbc.JdbcOdbcResultSet.getInt(JdbcOdbcResultSet.java:567)
    at WhiteBoardServer.displayField(WhiteBoardServer.java:423)
    at WhiteBoardServer.getWords(WhiteBoardServer.java:406)
    at WhiteBoardServer.<init>(WhiteBoardServer.java:43)
    at WhiteBoardServer.main(WhiteBoardServer.java:490)
    Query successful
    And this is the code i used for retieving the information
    public void getWords()
    try
    Statement statement = dbConnection.createStatement();
    String query = "SELECT * FROM words";
    System.out.println("\nSending query: " + dbConnection.nativeSQL( query ) + "\n" );
    ResultSet rs = statement.executeQuery( query );
    displayField( rs );
    System.out.println( "\nQuery successful\n" );
    statement.close();
    catch ( SQLException sqlex )
    sqlex.printStackTrace();
    // Method to display the data from the database for tab1
    public void displayField( ResultSet rs )
    try
    rs.next();
    int recordNumber = rs.getInt( 1 );
    if ( recordNumber != 0 )
    generateT.setText( rs.getString( 1 ) );
    else{}
    catch ( SQLException sqlex )
    sqlex.printStackTrace();
    // output.append( sqlex.toString() );
    Any help is appreciated

    1. Don't do 'SELECT *' it's yucky, and you never know what your gonna get.
    2. In one point you are doing getInt and two lines later you are doing setString, on the same column. I think the driver is asking you to make up your mind.

  • Need help with database error

    hi i get this error when trying to create a program -
    >  Could not allocate space for object 'SNAP' in database 'D01' because the 'PRIMARY' filegroup is full.
    can someone tell me how to fix this problem.
    thanks in advance

    Yes,
    Wat version of SQL are you using?
    For SQL 2000 logon to Enterprise Manager, from the console window navigate to the database and check the name of the database that you have provided. right click and go to properties and check the "datafiles" tab. At the bottom of the screen you will find file properties, check wat are the properties.
    also you can delete the data from SNAP table by running some standard progam "RSSNAPDL". Refer SAP Notes 11838, 40918 and 126974 and then implement the program in your system so that the SNAP table doesnt get full.
    Thank you
    Abhijeet

  • Need help with classpath configuration for external jar files

    We have coded our own JAAS login module, and it uses classes located in jar files, and these jar files were not created using SAP dev studio, e.g. they were provided by a third party vendor as a set of tools.
    So, how do we deploy these jar files so that our SAP JAAS login module can find them ? We found we can run consoleconfig.sh to change the classpath which SAP J2EE engine uses, but we wondered if there was a better way to do this. Of course, if the jar files were created by us, we can include them in the dev studio project and they would be deployed using SDM, and this would not require any changes to classpath using consoleconfig.sh
    Thankyou in advance for your help.

    I noticed nobody has sent any feedback on this yet, so I wondered if I have posted to the wrong forum ? Any thoughts on this ?
    Thanks,
    Tim

Maybe you are looking for

  • Is graphic card upgrade on Satellite L300-21W possible?

    Hi! I`m thinking to buy Toshiba Satellite L300-21W but i wat to play some games on it like Cod2 but I think that her serial graphic card is weak so my question is: " CAN I REPLACE GRAPHIC CARD WITH BETTER ONE OR NOT( and with which one if you know)!?

  • Late 2006 iMac won't recognize external monitor

    My late 2006 iMac doesn't recognize an external VGA monitor connected via the mini-dvi port with adapter and cabling. Doesn't show up in Displays System Preferences - at times the mouse does show up but not the full display. Any suggestions - Am I mi

  • Error in TOC when merged

    Dear Members, I had imported the Winhelp files to .chm files. Those files when merged with the main chm produces an invalid TOC with word document name as the book and topic title as pages. But when it is not merged it works fine. I had created TOC m

  • Urgent : Runtime error

    hi All Gurus, i am getting Runetime error while going to convert planned order to process order by using T.Code: MD04. Error : "Runtime Error          SAPSQL_ARRAY_INSERT_DUPREC Except.                CX_SY_OPEN_SQL_DB" "|ShrtText                    

  • Presentation services on logging gives error

    Hi All, When I try to login in presentation srevices I am getting the below error: Error Codes: WH4KCFW6:OPR4ONWY:U9IM8TAC Odbc driver returned an error (SQLDriverConnectW). State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A g