ORA-604 when connecting to apex application

Hello,
We have a production server with apex 3.1 + database 10.2.0.1 64 bit + oracle http server. We wanted to move OHS to a different server.
I have installed a standalone OHS from the oracle 10g companion CD on OEL 5 32bit and copied dads.conf from the production server.
Now when i try to get to the application from the new server by accessing /pls/mdok application I get:
"The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. "
and in the error log:
[Thu Mar 11 18:35:53 2010] [error] [client 172.16.10.99] [ecid: 1268328951:172.17.1.20:8159:0:125,0] mod_plsql: /pls/mdok/f HTTP-503 ORA-604
What could be wrong? Does it matter that my new http server is 32 bit and the database server is 64bit?

ok, found answer on another forum
The issue was the NLS_LANG setting.

Similar Messages

  • Oracle error ORA-604 when opening a connection

    I am facing an issue with my WCF service which is using ODP.NET version 4.112.2.0(x64) and Oracle 11g.
    The service runs without any problems on the test servers but on production server (Windows 2008 R2) when an attempt is made to call any service method it fails with the following Oracle error code Ora-604. the message is
    ORA-604: error occurred at recursive SQL level %s
    The exception is thrown when a call to meethod Open is made to open a connection.
    There is no inner exception. So far I have tried checking the connection string, the user permissions and setting the TNS_ADMIN environment variable but nothing has worked.
    Another thing to mention is that another WCF service which uses some of the same stored procedure I am using is working fine on the same server.
    Has anyone seen this before?
    Thanks,
    A

    Do you have a login trigger?
    select * from dba_triggers where triggering_event like 'LOGON%'
    If so, try disabling it.
    Does the working service use the same credentials as this problem service?
    Are you able to connect using sqlplus, with the same credentials from the same client to the same database? If it's not an ODP.NET specific problem, the dba guys might be able to help better: General Database Discussions
    Greg

  • Error Ora-604 on connect from Visual Studio 2008 to Oracle database

    Hello!
    I have installed Oracle 9.2.0.6 Database, Microsoft Visual Studio 2008 and today I succesfully installed ODP.NET 1110621.
    I wrote a simple console application like this:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using Oracle.DataAccess.Client;
    using Oracle.DataAccess.Types;
    using System.Data;
    namespace ConsoleApplication1
    class Program
    static void Main(string[] args)
    OracleConnection c = new OracleConnection();
    c.ConnectionString = "Data Source=(DESCRIPTION="
    + "(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.1)(PORT=1521)))"
    + "(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=ssss)));"
    + "User Id=user;Password=pwd;";
    c.Open();
    OracleCommand cmd = new OracleCommand();
    cmd.CommandText = "Select * from CATEGORY_TABLE";
    cmd.CommandType = CommandType.Text;
    cmd.Connection = c;
    OracleDataReader dr = cmd.ExecuteReader();
    while (dr.Read())
    Console.WriteLine(dr[0].ToString() + " " + dr[1].ToString());
    dr.Dispose();
    cmd.Dispose();
    c.Dispose();
    Console.ReadLine();
    at line c.Open(); appear runtime error : ORA-604 Error occurred at recursive SQL level 1
    How to solve it?

    Your issue is not SQL and PL/SQL so much as .NET so I would suggest you ask the question in the "Windows and .NET" forum.
    But a couple of thoughts:
    1. Your database is undoubtedly not at "HOST=192.168.1.1"
    This IP address is generally the address of the router not the server.
    2. Why would you install an unpatched version of software so old it is in desupport mode and then try to work with it using a current
    version of a Microsoft product? Would you be comfortable installing a 10 year old version of a Microsoft product and expect it to
    work well with Oracle 11gR1?

  • User error when connecting to Apex on XE with Oracle drive

    Hi,
    When I tried to connect to Apex (webdav) on an XE database to access themes and css with Oracle Drive it sends incorrect user or password message, I tried with sys, system and other users.
    With windows explorer I could connect using the same user.
    Any help to sove my problem is welcome
    thanks

    Steve_Macleod wrote:
    I am having some issues with connecting to Apex Listener via SQL Developer. I get "cannot connect to connection" when I attempt to connect.
    I do get apex pages (when I use the Glassfish default port - it doesn't seem to take the specified port which is defined as 7788 in the apex.properties at the config.dir location). The port specified in apex.properties is only used by Standalone Mode, the port that GlassFish uses is configured by GlassFish, not Listener.
    I have defined the user via the war config (which is written to the credentials file), and added the users under default config > file realm in Glassfish.You only need to do the former, doing the latter should have no effect, I would remove the user in the GlassFish file realm, to avoid causing confusion.
    I wonder if anyone has had a similar issue?
    Ensure you have spelt the role name correctly when setting up the user, any typos (it is case sensitive) and it won't match the role, and will therefore refuse access.
    You have disabled SSL verfication as well? (If you are not using SSL)
    http://docs.oracle.com/cd/E37099_01/doc/doc.20/e25066/install.htm#CHDJFAAI
    If neither of those work, try turning on logging in the Listener to see if the request is even reaching Listener (It sounds like it's not even connecting TBH).
    https://cdivilly.wordpress.com/2013/03/11/configuring-logging-with-oracle-application-express-listener-and-glassfish/
    I am using the following:
    Glassfish 3.1.2.2
    Apex Listener 2.0.2.133.14.50
    SQL Dev 3.2.09
    Edited by: Steve_Macleod on May 24, 2013 2:42 PM
    Edited by: Steve_Macleod on May 24, 2013 2:57 PM

  • ORA-01031 WHEN CONNECTING TO AUXILIARY DATABASE

    Hi
    i am currently trying to to create a standby database using RMAN using the ORACLE RMAN Backup and recovery book.
    I get the ORA-01031 when i connect to the auxiliary database.
    i do the following:
    RMAN> connect target sys/password@primary
    connected to target
    RMAN > connect auxiliary sys/password@aux1
    ORA-01031.............insufficient privileges
    obviously the database aux1 hasnt been created yet but i have configured the tns and listener and both work fine, also created a password file and created a pfile from the spfile in the primary database as instructed by the book. I also started the aux1 database in nomount mode as well.
    does any one have any ideas where i maybe going wrong?
    thanks

    conn sys/pwd@aux1 as sysdba ,what happens to this
    in sqlplus
    add an entry to your TNSNAMES.ora
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    We dont need this entry this is for OS authenicarion sorry
    then try again
    Version and OS?
    Message was edited by:
    Maran Viswarayar
    Message was edited by:
    Maran Viswarayar

  • Problem when I installing Apex Application

    Hi all,
    I facing this error when i installed my application :-
    ORA-20001: GET_BLOCK Error. ORA-20001: GET_STMT error. ORA-20001: Execution of the statement was unsuccessful. ORA-06550: line 1937, column 38: PLS-00123: program too large (Diana nodes) <pre>-- <br>-- <br>-- <br> <br>begin <br> <br> wwv_flow_api.g_varchar2_table := wwv_flow_api.empty_varchar2_table; <br> wwv_flow_api.g_varchar2_ta
    Can anybody help me and I appreciated that,
    Thank you,
    Tamara,

    Any body can help me ?
    Thanks again,
    Tamara

  • APEX 4.2.2 - ORA-6502 when logging in to application with anything other than Firefox!

    If I try to log into my application through anything other than Firefox I get the following message on the screen:
    Error
    Error processing request.
    ORA-06502: PL/SQL: numeric or value error
    OK
    If I try to access the APEX Builder through a browser other than Firefox, I get no HTML returned.
    Last night I upgraded from 4.1 to 4.2.2 and ran the patch that dealt with missing developer toolbars...
    Of course, I only ever use Firefox, but my users are using IE...
    Any ideas?
    Message was edited by: AndyH
    Clarified that this is a 4.2.2 issue.

    Hi,
    I do not know if this relating bug 16760897
    Oracle Application Express 4.2.2 - Known Issues
    Regards,
    Jari

  • ORA-12154 when connect to Ora10 using an odbc from visual C++

    Hello
    I have the follong problem , I have a machine that must access to an oracle database , I have made an Odbc Conection and if I make atest there is no one problem and the test is sucessfully . My problem is when I 'm trying to access using my visual c++ program in this case I get an ORA -12154 error , using the same odbc connection that I have probe, also I have probe this program over others machines and there is no problem to access to the database . Can anyone tell me something ??
    The machine is an windows XP and the programa is a Visual C++.net .

    Well we have find the problem , was the path of the application . this has 84 characters we have put our program in a shortest path and now works!!!!

  • Oracle raise ORA-03113 when connect to a remote oracle server using toad

    Hi there,
    when i use the tool toad connect to a remote oracle server which located in a different city,
    when i submit a query in toad,
    if the query returns many rows of data, it will raise the error ORA-03113:end-of-file on communication channel,
    however if the query returns only a few rows, i won't raise such error,
    however, when i use sqlplus connect to that remote server, it won't raise such error,
    what's the reason is, can any one tell me how to tackle this problem if using the tool toad. thanks/

    hi my oracle vsersion is:
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE 11.2.0.1.0 Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    my oracle server is 2 nodes rac server,
    and i've tried two different kind version of toad v9.6 and v10.5, and both have the same problem
    once i query a table, if the result returned more than 30 rows, then it will raise that error, if query returns less than 30 rows, it's ok.
    i assume it is a problem concern with network, but i don't know why no such error raise when using sqlplus ?

  • ORA-03115 when connect to Oracle8.0.5.1 on Linux

    My JDeveloper with JDBC(upgraded today) connects OK to Oracle8
    on NT and SUN. But there is error with Oracle8 for Linux.
    What's wrong?
    null

    Hi,
    You may wish to try high-performance Openlink drivers in order
    to provide connectivity to your Linux version of Oracle.
    Drivers can be downloaded at http://www.openlinksw.com
    -Stephen
    Marcus Vogel (guest) wrote:
    : Hi,
    : I'm always getting an ORA-3115 error when accessing an Oracle
    : database (8.0.5.1) on a SuSe 6.1 Linux server via JDBC.
    : The connect works fine, but when i do a SELECT it always
    brings
    : the error ORA-3115 'unsupported network datatype...' or ORA-
    3120
    : 'two task conversion routine: integer overflow'.
    : The same Java Applet with the same JDBC driver works fine with
    : Oracle 7.3.4 (on DEC) and with 8.1.5 (on Solaris).
    : Anybody got an idea where to look at?
    null

  • ORA-12546 When connecting without specifying sid in connect string

    I am currently having a difficult time connecting to an Oracle 9.2.0.4 database running on Red Hat Linux.
    I can successfully connect to this database with sqlplus as oracle whether a sid name is included in the connect string or not. I can also successfully connect to the instance through jdbc with jsp pages. However when I try to connect as root without specifying the sid I get an ORA-12546 TNS: Permission denied. I also receive this error when attempting to connect to the instance through php scripts. Note that root can connect through sqlplus with no problem as long as the sid is included in the connect string. Also note that the oracle user can connect either way.
    I turned on tracing and found that this error is occurring before it even gets to the listener as no log or trace entries are generated when the error occurs.
    Does anyone have any ideas?

    did you set the parameter TWO_TASK ?

  • Error  ora-12638 when connect

    when i try yo connect to oracle8I with(sql plus, oem: dba studio)using system ( sysdba, sysoper, normal) i got the error messge ora-12638 impossible to extract the preferences of users, can anyone help me please( it's a production database)
    thanks

    Which OS are you using? are you using the base version 8.1.6? Try upgrading to 8.1.6.3.1 on both the server and clients. or try setting
    sqlnet.authentication_services=(none)
    in your sqlnet.ora file.

  • ORA-28183 when connect proxy user with password from java

    1. Create user on database 10.2.0.1.0
    create user scott identified by tiger;
    create user jeff identified by secnt;
    grant connect, resource to scott;
    grant create session to jeff;
    alter user jeff grant connect through scott authenticated using password;
    2. Try to open proxy session from java
    DriverManager.registerDriver(new OracleDriver());
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@//db.garage:1521/ILINK", "scott", "tiger");
    if (conn != null && conn instanceof OracleConnection) {
         Properties properties = new Properties();
         properties.put(OracleConnection.PROXY_USER_NAME, "jeff");
         properties.put(OracleConnection.PROXY_USER_PASSWORD, "secnt");
         ((OracleConnection)conn).openProxySession(OracleConnection.PROXYTYPE_USER_NAME, properties);
         ((OracleConnection)conn).close(OracleConnection.PROXY_SESSION);
    conn.close();
    3. Got the following error for step 2
    Exception in thread "main" java.sql.SQLException: ORA-28183: proper authentication not provided by proxy
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:277)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:272)
         at oracle.jdbc.driver.T4CTTIoauthenticate.receiveOauth(T4CTTIoauthenticate.java:647)
         at oracle.jdbc.driver.T4CConnection.doProxySession(T4CConnection.java:852)
         at oracle.jdbc.driver.PhysicalConnection.openProxySession(PhysicalConnection.java:1548)
         at ch.tie.cluster.Test.run(Test.java:30)
         at ch.tie.cluster.Test.main(Test.java:19)
    4. If i grant connect without using password like:
    alter user jeff grant connect through scott
    everything is fine, but i need password authentication.
    Thanks in advance.

    did you try using the oci driver?

  • ORA-15000 when Connect to ASM with ASMSNMP

    With ASM of 11g2 on Redhat 5, I tried to connect the instance with ASMSNMP but failed[grid@cchordrdb admin]$ sqlplus / as sysasm
    SQL> conn asmsnmp/asmsnmp@ASM
    ERROR:
    ORA-15000: command disallowed by current instance typeIs this a problme or normai?

    Normal/expected,
    You have 2 options. Or via OS autentication (I guess in your case login as grid user and sqlplus / as sysasm) or via password file (connect usu/pwd@inst as sysasm).
    Regards,
    Cerreia

  • ORA-12154 when connects. Instant client installed.

    Hi. I am installed instant client 10.2 and cannot connect to database : give error ORA-12154: TNS:could not resolve the connect identifier specified. I am using Linux. I am set TNS_ADMIN and put into this directory file tnsnames.ora with all necessary instances, but have not no one result.

    Add the following line to sqlnet.ora in the directory to which TNS_ADMIN points:
    TRACLE_LEVEL_CLIENT = SUPPORT
    Then try again and examine the *.trc file created. This should tell you what's wrong.
    Yours,
    Laurenz Albe

Maybe you are looking for