No Connection to database server

Hi,
I want to get access from an application server to an oracle database server via a web application (jsp file). Therefore I use Oracle 10g JDeveloper.
So I have installed Apache Tomcat (version 5.5.15) at the application server and then I built a JDeveloper demo application exactly as shown by Oracle.
Everything worked, but when I started the application I got the message "Error 400 - Unable to connect to remote host or host not responding.".
The url is "http://<ip-Address of the application server>:8988/ws_zda-proj_jsf-context-root/faces/browse.jsp", the browse.jsp file is in the directory "C:\Program files\Apache-Software-Foundation\Tomcat\webapps\ws_zda_ora10g\proj_jsf\public_html".
By using th url "http://localhost:8080/ws_zda_ora10g/proj_jsf/public_html/browse.jsp" I get the Tomcat message "HTTP Status 404 - The requested resource is not available.".
Do I use a wrong port 8988 or is there an error in "ws_zda-proj_jsf-context-root" or what do I have to change?
I think there must be something wrong at the configuration.
I don't have any problems with watching the database in JDeveloper. So the JDBC configuration seems to be correct.
Regards
Toni

Apache Tomcat default port is 8080.Using 8080 doesn't make a difference.
HTTP Status 404 - The requested resource is not available indicates web server is not started.Tomcat service is running. Is there anything else that must be started?
Regards

Similar Messages

  • (Cisco Historical Reporting / HRC ) All available connections to database server are in use by other client machines. Please try again later and check the log file for error 5054

    Hi All,
    I am getting an error message "All available connections to database server are in use by other client machines. Please try again later and check the log file for error 5054"  when trying to log into HRC (This user has the reporting capabilities) . I checked the log files this is what i found out 
    The log file stated that there were ongoing connections of HRC with the CCX  (I am sure there isn't any active login to HRC)
    || When you tried to login the following error was being displayed because the maximum number of connections were reached for the server .  We can see that a total number of 5 connections have been configured . ||
    1: 6/20/2014 9:13:49 AM %CHC-LOG_SUBFAC-3-UNK:Current number of connections (5) from historical Clients/Scheduler to 'CRA_DATABASE' database exceeded the maximum number of possible connections (5).Check with your administrator about changing this limit on server (wfengine.properties), however this might impact server performance.
    || Below we can see all 5 connections being used up . ||
    2: 6/20/2014 9:13:49 AM %CHC-LOG_SUBFAC-3-UNK:[DB Connections From Clients (count=5)]|[(#1) 'username'='uccxhrc','hostname'='3SK5FS1.ucsfmedicalcenter.org']|[(#2) 'username'='uccxhrc','hostname'='PFS-HHXDGX1.ucsfmedicalcenter.org']|[(#3) 'username'='uccxhrc','hostname'='PFS-HHXDGX1.ucsfmedicalcenter.org']|[(#4) 'username'='uccxhrc','hostname'='PFS-HHXDGX1.ucsfmedicalcenter.org']|[(#5) 'username'='uccxhrc','hostname'='47BMMM1.ucsfmedicalcenter.org']
    || Once the maximum number of connection was reached it threw an error . ||
    3: 6/20/2014 9:13:49 AM %CHC-LOG_SUBFAC-3-UNK:Number of max connection to 'CRA_DATABASE' database was reached! Connection could not be established.
    4: 6/20/2014 9:13:49 AM %CHC-LOG_SUBFAC-3-UNK:Database connection to 'CRA_DATABASE' failed due to (All available connections to database server are in use by other client machines. Please try again later and check the log file for error 5054.)
    Current exact UCCX Version 9.0.2.11001-24
    Current CUCM Version 8.6.2.23900-10
    Business impact  Not Critical
    Exact error message  All available connections to database server are in use by other client machines. Please try again later and check the log file for error 5054
    What is the OS version of the PC you are running  and is it physical machine or virtual machine that is running the HRC client ..
    OS Version Windows 7 Home Premium  64 bit and it’s a physical machine.
    . The Max DB Connections for Report Client Sessions is set to 5 for each servers (There are two servers). The no of HR Sessions is set to 10.
    I wanted to know if there is a way to find the HRC sessions active now and terminate the one or more or all of that sessions from the server end ? 

    We have had this "PRX5" problem with Exchange 2013 since the RTM version.  We recently applied CU3, and it did not correct the problem.  We have seen this problem on every Exchange 2013 we manage.  They are all installations where all roles
    are installed on the same Windows server, and in our case, they are all Windows virtual machines using Windows 2012 Hyper-V.
    We have tried all the "this fixed it for me" solutions regarding DNS, network cards, host file entries and so forth.  None of those "solutions" made any difference whatsoever.  The occurrence of the temporary error PRX5 seems totally random. 
    About 2 out of 20 incoming mail test by Microsoft Connectivity Analyzer fail with this PRX5 error.
    Most people don't ever notice the issue because remote mail servers retry the connection later.  However, telephone voice mail systems that forward voice message files to email, or other such applications such as your scanner, often don't retry and
    simply fail.  Our phone system actually disables all further attempts to send voice mail to a particular user if the PRX5 error is returned when the email is sent by the phone system.
    Is Microsoft totally oblivious to this problem?
    PRX5 is a serious issue that needs an Exchange team resolution, or at least an acknowledgement that the problem actually does exist and has negative consequences for proper mail flow.
    JSB

  • MDM 71 - mdm console and clix - unable to connect to database server

    Hi,
    environment, MDM 7.1, AIX 6, Oracle 10.2.0.4 (installed as part of a standalone java AS)
    i've an issue. I have installed MDM 71 via sapinst, before that I installed a standalone java application server. During the installation, i gave the 'oracle client', 'oracle home' and 'oracle sqlplus utility' to be those of the oracle database installed for the java AS.
    After sapinst completed I tested my connection to the database via
    tnsping <SID> = OK
    sqlplus system/passwd@<SID> = OK
    When i start up the mdm console (7.1.02.90) i can mount the MDM server, BUT when I try to configure the database settings i get
    error  'unable to connect to database server'
    I get the same error when i use clix dblist
    Error: 0x84020004, Unable to connect with Database Server
    Has anybody got any ideas.

    To see why the MDM is not able to connect to database, do the following:
    % cd /usr/sap/<SID>/MDSxx/log
    % ls -ltr
    You will find last updated log file with name like MDS_LogXXUX101224X164953.csv
    % tail -100 MDS_LogXXUX101224X164953.csv
    You will see the reason for not being able to connect. If the reason is:
    ",MDSAdminServerXGetAvailableReps,Oracle_DBConnection.cpp,205,,,,server_user,server_global,,,
    2011-09-23T06:10:48.933,6       ,24,"Service 'SID', Schema 'system', ERROR CODE=12154 ||| ORA-12154: TNS:could not resolve the connect identifier specified
    OCI Attach, try again ...
    Then edit the /oracle/SID/112_64/network/admin/tnsnames.ora with entry like following:
    SID.WORLD =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS =
            (COMMUNITY = SAP.WORLD)
            (PROTOCOL = TCP)
            (HOST = hostname)
            (PORT = PORT_NO)
        (CONNECT_DATA =
          (SID = SID)
          (GLOBAL_NAME = SID.WORLD)
    then issue:
    tnsping SID
    If result is like
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (COMMUNITY = SAP.WORLD) (PROTOCOL = TCP) (HOST = hostname) (PORT = PORT_NO))) (CONNECT_DATA = (SID = SID) (GLOBAL_NAME = SID.WORLD)))
    OK (0 msec)

  • What's wrong with this MySQL connection? "Could not create connection to database server"

    I'm able to connect to other MySQL databases but this one particular remote MySQL connection isn't working and I cannot figure it out.  It probably has something to do with the remote server, not CF, but I thought I'd post it here if anyone had an idea.  The MySQL account has full priviledges.
    Here is the message when I try to validate the data source:
    Connection verification failed for data source: test
    com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException:  Could not create connection to database server. Attempted reconnect 3  times. Giving up.
    The root cause was that:  com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException:  Could not create connection to database server. Attempted reconnect 3  times. Giving up.

    This happened on two servers.  One one, the cause was that skip-networking was turned on.  In the other situation, it appears that the database name was case sensitive, so TEST was not the same as test.  Even though I edited the data source in the CF administrator, it still didn't work (very misleading).  When a coworker entered a new data source with the same information (uppercase database name this time from the start), it worked.
    Has anyone else seen this problem with the case sensitive database names?  And with the data source in CF not updating the case correctly?  Seems like a bug in CF.

  • 'Unable to connect to database server' on local test server (CS4)

    I am a php/MySql newb. Have designed static sites in DW since Macromedia DW 4 days.
    I have set up a testing server on my Mac running OSX 10.6.7 using MAMP 1.9.5 and Dreamweaver CS4 to  test my osCommerce store (I like to see what's happening visually, even if I just change a small variable in the code). Although I have imported the store database  from my remote server, and the connection tests in the DW Database  window to the store, mysql, and information schema databases in  Dreamweaver are successful, I still get "Unable to connect to the  database server!" when I try to preview a .php page with Live View or with a browser. I'm using the  correct ports in my site definition (8888 and 8889). MAMP shows Apache  and MySQL running, of course. Have tried logging in as root and as my ususal username witht the correct passwords. Everything seems to be right...but it's  still wrong.
    Do I also need to import the mysql and information  schema databases from my remote server to replace the ones that came  with MAMP? If so, where do I put the information schema db? Although it  shows as a database in PhpMyAdmin, I don't see a folder or doc by that  name anywhere in MAMP - it must be buried pretty deep! (I did find a  file called information_schema_relations.lib.php in  MAMP/bin/phpMyAdmin/libraries. Is that it?)
    Or is it something else entirely?
    Note  that though I'm a fairly savvy user, I am not a developer or coder.  Strictly a GUI/static design guy with a liberal arts education. Keep the answers  simple and in plain English, thanks. 
    Have also posted this on the MAMP forum.

    Hi Kanstantin,
    Ieve tested the database connectivity through sqlplus using SYSTEM. But when I try to connect (Mount the repositiry server from MDM console, I facing  the problem mentioned.
    Please let me know if I need to do anything else.
    For your info:
    The following are the tnsnames entries
    EXTPROC_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
    MD7 =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = mysapplm)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = MD7)
          (INSTANCE_NAME = MD7)
          (GLOBAL_NAME = MD7)
        (HS = OK)
    The following are the entries in listener.ora file
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = I:\oracle\MD7\102)
          (PROGRAM = extproc)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
          (ADDRESS = (PROTOCOL = TCP)(HOST = mysapplm)(PORT = 1521))
    Regrads,
    Varadhu
    Edited by: Varadhu on Aug 6, 2009 10:49 AM

  • How to connect several database server

    I want to build a web site using jsp servlet for my university course purpose. In the background i will have three servers one is database server like server A another is certificate authority server like server B and the other one is Bank server like server C. Next, user will input through login page(say for example user name & password for database server A, certificate credentials for server B) then the login page will check user credentials kept in server A and at the same time with server B(CA server). If the user credentials kept in both of these servers(A &B) are matched then the page will inform that this is the valid user and connect to the bank server for money transaction. I hope now the my problem is clear to you. please answer me how can i prepare for that.
    what are the concepts related to that and have any demo code which i can use for that purpose.

    Cross posted all over the place.
    [http://forum.java.sun.com/thread.jspa?threadID=5290428]

  • I have problems to connect with Database Server in MDM SP5

    Hi,
    I am upgrading to SP and get problems to connect to the database server. I am able to start and stop the MDM server, but if I tru to create a new repsoitory or unarchive a repository I get this errormessage. "Unable to connect with Datase Server". In ealier versions og MDM i did not give any username or password whwn I made a new repositirt. Do you need to that no?
    I see in the mds.ini file that there is defined a user "Sql Server DBA Username=master ". I sthis the user we shall use or is there another user?
    Regars John-Kjell Hoset

    Hi John,
    I too faced the same problem and get rid of it by installing
    SQL Server 2000 Driver for JDBC Service Pack 3
    which you can download from
    http://www.microsoft.com/downloads/details.aspx?FamilyId=07287B11-0502-461A-B138-2AA54BFDC03A&displaylang=en
    and i installed Microsoft SQL Server 2000 Desktop Engine (MSDE 2000) Release A
    which you can download from
    http://www.microsoft.com/downloads/details.aspx?FamilyID=413744D1-A0BC-479F-BAFA-E4B278EB9147&displaylang=en
    Install with setup SAPWD="YourPassword"
    I connected MDM Console wiht DBMS with Login credentials as
         UserName        sa
         Password         YourPassword
    Hope this help to solve your problem.
    Regards,
    Santosh.

  • Unable to connect with Database server in MDM

    Hi Experts,
    I have installed the MDM server 7.1 on windows 64 bit box, but installed MDM console (32 bit).
    Getting the issue like below
    Can anybody please help me out to fix the issue.
    Thanks in advance,
    Bhaskar N

    dear
    Did you install Oracle client on MDM server.  If not please install it and revert with the result..
    Please check SAP Note 1350635 - "Problem connecting to database from MDM console" & Note 1363797 -" Oracle connection problem".. Kindly also check the log in MDM console and revert with the result.
    Also, Please check Configurations Settings as mention in [MDM installation Document|https://websmp209.sap-ag.de/~sapidb/011000358700001668492008E] from Page no 42 to 45.
    do the following
    You need to create tnsnames.ora file even on the host where MDM is installed and define Oracle database host and instance there. Then, MDM user needs to have access to oracle client libraries and needs to have access to this tnsnames.ora file as well. Once you set this up, it will work fine.

  • Unable to connect to database server : MDM 7.1

    Hello All,
    I installed MDM 7.1 and I am unable to create/mount/unarchieve repository : Error message I am getting is :
    Unable to connect to Database
    I installed MSDE : Light version of SQL server... On command prompt I used: setup.exe sapwd=abcd SECURITYMODE=SQL
    Its an mixed mode..
    Dont know MSDE is okey to use for MDM 7.1? Any one faced such issue?
    Thanks in advance
    Rajeev

    Hi,
    Did you install Oracle client on MDM server.  If not please install it and revert with the result..
    Please check SAP Note 1350635 - "Problem connecting to database from MDM console" & Note 1363797 -" Oracle connection problem".. Kindly also check the log in MDM console and revert with the result.
    Also, Please check Configurations Settings as mention in [MDM installation Document|https://websmp209.sap-ag.de/~sapidb/011000358700001668492008E] from Page no 42 to 45.
    Check it and revert with your findings.
    Regards,
    Shiv

  • ODBC (RDO) Connection Information : DataBase Server ID Greyed out

    Post Author: Eany
    CA Forum: Data Connectivity and SQL
    When I select the refresh option (Crystal XI) for a report which previously worked fine, I get sent to the ODBC (RDO) connection Information screen.
    The first box for Server ID is greyed out.
    When I go to enter the password, I get
    Login Failed
    HY000 General Error : Invalid file dsn  Database Vendor Error 556.
    But If I then create a new report, selecting the same dsn as was used for the report above, there is no problem.

    Hi Thib,
    It won't work, WEB servers do not allow you to "Browse" their folder structures directly. You could how ever create a WEB Service to do this, it does the querying for you and then passes the data back. You'll have to search the WEB for more info on how to create a WEB Service and then check with your security guys if this is something you want to do.
    Bottom line is ODBC or native or OLE DB is not going to work. And if you do open it up so you could it would be a major security hole for anyone to get to.
    Other options are to create a VPN server so you can remotely connect to the server and get direct access to the table.
    There are other options also, what you want to do is not doable.
    You did not say why you want to do this? Add more info and someone may have a suggestion for you.
    Major DB's like Oracle, MS SQL Server and others allow this to work through their clients so you may want to look at that option also.
    Thank you
    Don

  • Can't connect to database server

    I've been using oracle db 8.0 since one year ago. Since about 3 months ago, i can't connect to my server database, even i do nothing which can change oracle settings.
    Why this thing happen ? and what should I do to solve this problem ?
    Note : When i tried to access the service name via net8 assistant, a window popup show this warning : Comment information has been detected in your Network Configuration files which may be lost or repositioned when you save your network Configuration. Do you wish to continue ??
    If I continue this process when i tested connection this error message come :tnswriter failure

    I've been using oracle db 8.0 since one year ago. Since about 3 months ago, i can't connect to my server database, even i do nothing which can change oracle settings.
    Why this thing happen ? and what should I do to solve this problem ?
    Note : When i tried to access the service name via net8 assistant, a window popup show this warning : Comment information has been detected in your Network Configuration files which may be lost or repositioned when you save your network Configuration. Do you wish to continue ??
    If I continue this process when i tested connection this error message come :tnswriter failure

  • Create connection multiple database server connection with sinle client

    My problem is like this. I have 3 database servers like server A,server B,Server C. First Client will communicate with server A and Server B at the same time. Then if the connection is done then i need communicate with server C. Is there anybody who has the sample code for this. Please help me i am facing problems with this.

    I want to build a web site using jsp servlet for my university course purpose. In the background i will have three servers one is database server like server A another is certificate authority server like server B and the other one is Bank server like server C. Next, user will input through login page(say for example user name & password for database server A, certificate credentials for server B) then the login page will check user credentials kept in server A and at the same time with server B(CA server). If the user credentials kept in both of these servers(A &B) are matched then the page will inform that this is the valid user and connect to the bank server for money transaction. I hope now the my problem is clear to you. please answer me how can i prepare for that.
    what are the concepts related to that and have any demo code which i can use for that purpose.

  • P6 EPPM configuration wizard won't connect to database server

    I have installed P6 8.3 and Weblogic on one server (application server). On another server SQL is installed. When i run the P6 EPPM Configuration Wizard i get as far as the step 'Database Type & Connection' where i can fill in the details of the server and database to connect to. But then when i press 'next' nothing happens. I don't get any error, but the wizard is not going to the next step. I've tried it with all the options 'Create a new database', 'Upgrade an existing database' or simply 'Connect to an existing database'.
    I've read in the documentation that to run the P6 Eppm wizard you need to be on an oracle or sql server, but how can i do that when the necessary files are on another server? As far as i was told it's possible to use two separate servers?
    I hope someone can help.

    Hi,
    JRE 1.8.0_40 is not supported. Please check the tested configurations document for your version, client and browser sheet, uninstall JRE 8 U 40, install a supported version, update the JAVA_HOME, run P6 and try again.
    Let me know the results.
    Regards,
    Pablo
    ========
    Was our answer helpful?
    If so, highlight the information for other Community members by rating it or marking the answer as correct.
    Just hit the “Correct Answer” link on the answer, or rate it by clicking "Helpful Answer" or "Like".

  • Unable to Connect to database server

    Hi All,
    I have installed Oracle 11g R2 database, I used it for almost a month now and then today when I tried to log in into it I am getting this error.
    An error was encountered performing the requested operation:
    Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    Vendor code 12505)
    I opened the enterprise manager and found that the database instance & Agent Connection Instance was down, when I tried to start that I got this error,
    " SQL*Plus: Release 11.2.0.1.0 Production on Thu Aug 22 15:48:40 2013 Copyright (c) 1982, 2010, Oracle. All rights reserved. SQL> SQL> ERROR: ORA-12640: Authentication adapter initialization failed    "
    lsnrctl status output:
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
    Start Date                22-AUG-2013 15:38:25
    Uptime                    0 days 0 hr. 53 min. 40 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\app\psabneka\product\11.2.0\dbhome_1\network\admin\listener.ora
    Listener Log File         c:\app\psabneka\diag\tnslsnr\psabneka-lap\listener\alert\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    LSNRCTL>
    Please suggest some workaround.
    -Prashant

    Please, post:
    type C:\app\psabneka\product\11.2.0\dbhome_1\network\admin\listener.ora
    hope this helps

  • Remote connection to database server

    hi all
    i have a scenario which i wanna resolve
    i have oracle 10g on redhat linux at office premises and i wanna connect my home pc (windows 7 home premium) to this server to run my application (forms and reports) from home
    any help
    regards
    Hasan

    844776 wrote:
    other than LAN
    i mean remote
    via DSL or wifi
    I agree with Rafi, you need to have your company set up a vpn-endpoint at the office, and then, using a vpn-client on your home machine, you'll be able to run your applications from home.
    A second alternative is connecting a tunnel over ssh to a server at the office, and then send the application traffic through that.
    It's wery hard for us to give you any good suggestions without knowing the details of your network, so I suggest that you talk to the IT/IS-dept at your workplace, so that they can help you with this problem.
    Brgds
    Johan

Maybe you are looking for