Why I cannot connect to database after deploying application to OAS?

Hello experts...i have a new problem and here are the facts:
I`m using on Windows Xp:
Oracle Database 10.2.0
Oracle Application Server 10.1.3
Oracle Jdeveloper 10.1.3.3
I`m creating a new application using jdeveloper and i`m using 2 connection classes:
a) First connection class using:
InitialContext ctx=new InitialContext();
DataSource ds=ctx.lookup("jdbc/connDS");
Connection conn=ds.getConnection();
b) Second connection class using:
Connection conn = DriverManager.getConnection("jdbc:and the entire link goes here");
So far so good, but when I create a ear file using the First connection class and after i deploy it to OAS my application will not connect anymore to database!
If I will use the Second connection class, and create an ear file then deploy it to OAS, my application works fine, it connects to database but i have a problem. In my application users can upload and download the files they uploaded. The files are saved in DB as blob. The problem appears when users are downloading the files because for example file "example.doc" is uploaded on the server database and when a user try to download it the name of the file is like "example_doc" and my pc open it like an html in which is a server 500 error. Someone told me that happens because of my connection class... and I want to find out you`re opinion.
Why i cann`t connect to DB after deploy the application on OAS using the FIRST connection class?
- on Jdeveloper i can connect to DB using both of the connect classes (one at a time)
- I`m creating a war file from jdeveloper and deploy the ear file on the OAS
- on OAS i`ve created the connection pool and the data source and "The connection was establish succesfully"
Why the uploaded files are downloaded in this way? it`s the connection the problem?
- I want to tell you that when i`m extracting data from the DB table i`m not using a temp file, the conversion is made in the java class and the program throws me the file to download.
- as i told you in Jdeveloper both of the connection classes work!!! and when i`m using the FIRST connection class and try to download, the files ARE DOWNLOADED PERFECTLY CORRECT!
- if i`m using the SECOND connection class in jdeveloper, running the application on the built in oc4j instance and trying to download the same files, the files are DOWNLOADED BAD like I told you: the name of the file is like "example_doc" and my pc open it like an html in which is a server 500 error. with the pdf format is the same problem but my pc cannot open it telling something with "bad conversion...." error.
There are someone who had the same problem?
Theoretically i had to make the application to connect to the database after deploy it to OAS with the FIRST connection class and this way my files will be downloaded corectly... what to do?

no one knows nothing about this issue? :(... i`m dissapointed...

Similar Messages

  • Cannot connect to database after installing 10g

    Hello friends at www.oracle.com ,
    after installing Oracle 10g, I am trying to use programs like SQL*Plus or Forms Builder. However, these programs are asking me for the host string, and:
    - I cannot simply ignore this question, because I cannot connect without this information.
    - But I don't know how I can configure a host string for local access.
    - And I don't know if there's already a default host string for me to use after installing Oracle 10g, because I have no practice in database configuration, since I'm a developer.
    Please help me.
    Best regards,
    Franklin Goncalves Jr.

    Hi ,
    Few pointers which may help you , but a small caveat all instructions pertaining to way we do internally in oracle , so there could be some mismatch at customer end , but more or less logic should be same , in case you can't any step revert back :
    1. When Db asks you for connect string essentially it asks for the complete description of the db to connect including :
    Db server machine name / ip - that can be resolved from your system if it's a remote server .
    Username , Password ,
    Db Instance Name - TnsAlias mentioned in TnsNames.ora .
    Now there are few Env. variables that you need to set before running / starting an oracle db instance .
    1. Oracle_Home - Essentially Oralce Installation directory .
    2. Oracle_sid - unique identifier for Oracle Instance .
    3. For OracleDb only set T_Work and TNS_ADMIN env. variables as %Oracle_Home%\work directory and place your Listener.ora file in that folder .
    4. Make your initial parameter file init<Oracle_Sid>.ora in %Oracle_Home%\database -- default location .
    5. Create Oracle Instance specific services to run on a Windows machine , essentially they will be two and default nomenclature is :
    Oracle Service - OracleService<Oracle_Sid>
    Listener Service - Oracle<oracle_sid>TnsListener
    Now in %Oracle_Home%\bin directory you have couple have tools to help you in whole process including lsnrctl.exe , tnsping.exe , sqlplus.exe .
    and onec you start oracle instance like this :
    SQlPlus "/as sysdba" -- OS Authentication
    --- Connected to Idle instance
    Sql> startup --> this will take default parameter file
    Check out dump location for log and trace files generated if enabled .
    Now client setting :
    1. This is the place where you need appropriate connect string with all components as mentioned above .
    Check out any good site for exact syntax , but you need to make sure regarding client you are using for e.g:
    ODP.Net , Java Driver etc .
    For Client few important settings :
    Execution directory should contain tnsnames.ora
    Create T_WORK and TNS_ADMIN for execution directory .
    check out for listener connectivity using :
    tnsping <TnsAlias>
    Imp -- Include all relevant stuff in System PATH for execution from anywhere .
    Once it connects tehn you can use appropriate username / password for connecting with appropriate connection string .
    Normally while installing oracle you would have set the username and password to be changed later .
    or otherwise onec you log in as sysdba, you can create new username/password and give it sysdba permissions .
    Also imp. thing for connecting from a remote system is having Sqlnet.ora authentication file in client's T_WORK and TNS_ADMIN .
    I hope it helps upto some extent .
    regards ,
    Mrinal

  • Cannot connect to Database after install Developer Suite

    Help..
    I installed Oracle Database and everything seems work properly. I can connect to the database. (system/oracle@orcl)
    well, but after I install the developer suite, I can't connect to the database anymore.
    I did check the services and both OracleOraDb10g_home1TNSListener and OracleServiceORCL are started.
    I try to search help from google but I cannot solve the problem by myself. I also include two ora file below,
    tnsnames.ora
    =====
    # tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ====
    listener.ora
    ===
    # listener.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    ====
    everything seems should working properly but I still have problem cannot connect to the database. SQLPlus says "ORA-12154" and "ORA-12514"
    please help me.. I need to finish my project within next 2 weeks or I have to study one more year. T_T

    Hi ...
    The Oracle Doc points out as actions in this type of error:
    - If you are using local naming (TNSNAMES.ORA file):
    - Make sure that "TNSNAMES" is listed as one of the values of the NAMES.DIRECTORY_PATH parameter in the Oracle Net profile (SQLNET.ORA)
    - Verify that a TNSNAMES.ORA file exists and is in the proper directory and is accessible.
    - Check that the net service name used as the connect identifier exists in the TNSNAMES.ORA file.
    - Make sure there are no syntax errors anywhere in the TNSNAMES.ORA file. Look for unmatched parentheses or stray characters. Errors in a TNSNAMES.ORA file may make it unusable.
    - If you are using directory naming:
    - Verify that "LDAP" is listed as one of the values of the NAMES.DIRETORY_PATH parameter in the Oracle Net profile (SQLNET.ORA).
    - Verify that the LDAP directory server is up and that it is accessible.
    - Verify that the net service name or database name used as the connect identifier is configured in the directory.
    - Verify that the default context being used is correct by specifying a fully qualified net service name or a full LDAP DN as the connect identifier
    - If you are using easy connect naming:
    - Verify that "EZCONNECT" is listed as one of the values of the NAMES.DIRETORY_PATH parameter in the Oracle Net profile (SQLNET.ORA).
    - Make sure the host, port and service name specified are correct.
    - Try enclosing the connect identifier in quote marks. See the Oracle Net Services Administrators Guide or the Oracle operating system specific guide for more information on naming.According to the above and my LISTENER settings in listener.ora file which is...
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = myhost)(PORT = 1521))
      )there is one ')' missing closing parenthesis....
    So , modify your LISTENER settings ... according to the below....The difference is the ')' in bold....
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    Can you connect now.....????
    Regards,
    Simon

  • Cannot connect to database after apex 2.2 install

    I have installed HTML DB from Companion CD Release 2 (10.2.0.1.0) and then i upgrade to apex 2.2. Apex is working, but when i try to connect my database form command line, i get:
    sqlplus SYS/pass as sysdbaSQL*Plus: Release 10.1.0.3.0 - Production on N Sie 13 20:23:41 2006
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    ERROR:
    ORA-12560: TNS:protocol adapter error
    Enter user-name:
    sqplus works when i set ORACLE_SID, but my oracle applications don't.
    How repair that? My system is WinXP SP2.

    You need to check your listener and its settings.
    There are many ways to do this, so I recommend that you start by reading http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14196/network.htm#sthref173
    Apex can work without this, because it is entirely inside the database, and (I think) sqlplus can bypass the listener, particularly when connecting as sysdba.
    Without setting ORACLE_SID, you could have connected with
    sqlplus sys/pass@service as sysdba

  • Cannot connect to database after change of server ip

    hi gems..
    the ip of our database server has got changed.
    Windows server, 11gr2 database version, archivelog mode.
    i have changed the tnsnames.ora and the listener.ora manually with the new ip.
    I am able to connect to sqlplus "/as sysdba" (since authentiacetion services is NTS)
    But i am not able to connect to 'sqlplus sys/password@sid as sysdba'
    it is throwing the error of
    ERROR:
    ORA-12560: TNS:protocol adapter error
    pls help...

    tnsping sid:
    E:\>tnsping ORCL
    TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 28-FEB-2
    012 19:11:53
    Copyright (c) 1997, 2010, Oracle. All rights reserved.
    Used parameter files:
    E:\app\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.184.1
    32.101)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl)
    TNS-12560: TNS:protocol adapter error
    E:\>
    lsnrctl status
    E:\>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 28-FEB-2012 19:13
    :13
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.184.132.101)(PORT=152
    1)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    32-bit Windows Error: 61: Unknown error
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    32-bit Windows Error: 2: No such file or directory
    listener.ora
    # listener.ora Network Configuration File: E:\app\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = E:\app\product\11.2.0\dbhome_1)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:E:\app\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.184.132.101)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    ADR_BASE_LISTENER = E:\app
    ipconfig
    E:\>ipconfig
    Windows IP Configuration
    Ethernet adapter Local Area Connection:
    Connection-specific DNS Suffix . :
    IP Address. . . . . . . . . . . . : 10.184.132.101
    Subnet Mask . . . . . . . . . . . : 255.255.252.0
    Default Gateway . . . . . . . . . : 10.184.132.1
    i have changed the ip 10.184.132.101 manually as per the new ip.

  • I am trying to connect to my friend's wifi, i have a very strong signal indicated on my ipad, but cannot connect to the internet.  Yesterday i connected without any problem, can anybody tell me why i cannot connect today?

    i am trying to connect to my friend's wifi, i have a very strong signal indicated on my ipad, but cannot connect to the internet.  Yesterday i connected without any problem, can anybody tell me why i cannot connect today?

    Some things to try first:
    1. Turn Off your iPad. Then turn Off (disconnect power cord for 30 seconds or longer) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    2. Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    3. Change the channel on your wireless router (Auto or Channel 6 is best). Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    4. Go into your router security settings and change from WEP to WPA with AES.
    5.  Renew IP Address: (especially if you are droping internet connection)
        •    Launch Settings app
        •    Tap on Wi-Fi
        •    Tap on the blue arrow of the Wi-Fi network that you connect to from the list
        •    In the window that opens, tap on the Renew Lease button
    6. Potential Quick Fixes When Your iPad Won’t Connect to Your Wifi Network
    http://ipadinsight.com/ipad-tips-tricks/potential-quick-fixes-when-your-ipad-won t-connect-to-your-wifi-network/
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    iOS 6 Wifi Problems/Fixes
    Wi-Fi Fix for iOS 6
    https://discussions.apple.com/thread/4823738?tstart=240
    How To: Workaround iPad Wi-Fi Issues
    http://www.theipadfan.com/workaround-ipad-wifi-issues/
    Another Fix For iOS 6 WiFi Problems
    http://tabletcrunch.com/2012/10/27/fix-ios-6-wifi-problems-ssid/
    Wifi Doesn't Connect After Waking From Sleep - Sometimes increasing screen brightness prevents the failure to reconnect after waking from sleep. According to Apple, “If brightness is at lowest level, increase it by moving the slider to the right and set auto brightness to off.”
    Fix For iOS 6 WiFi Problems?
    http://tabletcrunch.com/2012/09/27/fix-ios-6-wifi-problems/
    Did iOS 6 Screw Your Wi-Fi? Here’s How to Fix It
    http://gizmodo.com/5944761/does-ios-6-have-a-wi+fi-bug
    How To Fix Wi-Fi Connectivity Issue After Upgrading To iOS 6
    http://www.iphonehacks.com/2012/09/fix-wi-fi-connectivity-issue-after-upgrading- to-ios-6.html
    iOS 6 iPad 3 wi-fi "connection fix" for netgear router
    http://www.youtube.com/watch?v=XsWS4ha-dn0
    Apple's iOS 6 Wi-Fi problems
    http://www.zdnet.com/apples-ios-6-wi-fi-problems-linger-on-7000004799/
    ~~~~~~~~~~~~~~~~~~~~~~~
    How to Boost Your Wi-Fi Signal
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Boost-Your-Wi-Fi-Signal.h tm
    Troubleshooting a Weak Wi-Fi Signal
    http://ipad.about.com/od/iPad_Troubleshooting/a/Troubleshooting-A-Weak-Wi-Fi-Sig nal.htm
    How to Fix a Poor Wi-Fi Signal on Your iPad
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Fix-A-Poor-Wi-Fi-Signal-O n-Your-iPad.htm
    iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    WiFi Connecting/Troubleshooting http://www.apple.com/support/ipad/wifi/
    How to Fix: My iPad Won't Connect to WiFi
    http://ipad.about.com/od/iPad_Troubleshooting/ss/How-To-Fix-My-Ipad-Wont-Connect -To-Wi-Fi.htm
    iOS: Connecting to the Internet http://support.apple.com/kb/HT1695
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Connect iPad to Wi-Fi (with troubleshooting info)
    http://thehowto.wikidot.com/wifi-connect-ipad
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    Fix Slow WiFi Issue https://discussions.apple.com/thread/2398063?start=60&tstart=0
    How To Fix iPhone, iPad, iPod Touch Wi-Fi Connectivity Issue http://tinyurl.com/7nvxbmz
    Unable to Connect After iOS Update - saw this solution on another post.
    https://discussions.apple.com/thread/4010130
    Note - When troubleshooting wifi connection problems, don't hold your iPad by hand. There have been a few reports that holding the iPad by hand, seems to attenuate the wifi signal.
    Wi-Fi or Bluetooth settings grayed out or dim
    http://support.apple.com/kb/TS1559
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • Cannot connect to database host...

    Hello,
    First, I want to say i'm not so good in english that's why i'm apologies for this.
    I try to use Sun VDI, my computer doesn't work in 64 bits that's why i use this product in 32 bits so I'm in a product envionnement.
    I've installed A mysql 5 server in a 2003 server with php, phpmyadmin to see database, and when i install sun vdi in my solaris 10 i have this error message:
    Cannot connect to database host...ip:3306 as user root, but when i've install mysql i've just root for user and i use this he work, and i use this login to connect in my database.
    What can Have to do now? My port is really 3306 when i install mysql and the two machine is in the same network, ping work.
    Thanks for yours futur answers
    Regards,

    Select (1/2/0) : 1
    Specify an administrator password: (in my case) xxxxxxxx _(password of my sql)_ <------ This is wrong. This can be any desired admin password.
    specify a cluster signature: 7727kkkk
    again
    you can only connect to a remote MYSQL database in a 32-bit system.
    Continue? (y/n): y
    Enter the dns name of mysql server: _192.168.168.165_ <------- This is wrong. This is an IP address and not a DNS name (not sure if that is really a problem here).
    Enter the port of mysql server : 3306
    enter mysql priviliged administrator: root_ <------- This is wrong. Here you have to enter the admin user name of your database.
    enter mysql priviliged administrator password: xxxxxxxx_ <------- Here you enter the corresponding password for this user (so password of your MySQL account)
    Do you want to use a Socket secure layer (ssl) connection for '192.168.168.165'? (yn): n
    Cannot connect to database host 192.168.168.x:3306 as user 'root'
    Please make you shure connexion daitels you have provided are correct
    Where i have wrong please?

  • AHHHHHHH! Install cannot connect to database error!

    I am so frustrated with application server install...
    I'm trying to install SOA 10.1.3, advanced option, 1st option
    When it asks me for database account, host name, service name I enter all this info in then i click next...
    This is when I get the Install cannot connect to database error even though db i'm trying to connect to is on same machine!
    Anyone have any ideas other than laying off medication as to what the problem is?

    Check the requirement chapter in the Installation Guide, but it should be similar to:
    127.0.0.1               localhost.localdomain localhost
    192.168.1.88            yourserver.domain.com yourserverHowever, I don't think you should change any of this after a installation...

  • TS4502 why i cannot connect from computer to my ipad

    why i cannot connect from computer to my ipad

    you need to install latests version of itunes on the computer

  • Cannot connect to database via TNS

    Hello!
    I installed XE with default settings and have some trouble. I cannot connect to database via TNS. Two symptoms:
    1. I can connect with SQLPLUS system/pwd (locally, without tns name input), but CANNOT connect with SQLPLUS system/pwd@EX (WITH TNS NAME input).
    2. I cannot start Database Home Page.
    How to avoid this problem? Any ideas?
    DETAILS:
    PC configuration: Win2k+SP4, 512Mb, Outpost Firewall (disabled!), No another Oracle products being installed.
    TNSNAMES.ORA file:
    ************* BEGIN TNSNAMES *****************************************
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = pz)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    ************* END OF TNSNAMES *****************************************
    Listener status:
    ************* BEGIN STATUS *****************************************
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Prod
    ction
    Start Date 22-MAR-2006 17:27:15
    Uptime 0 days 1 hr. 8 min. 53 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File D:\oracle\ora10xe\app\oracle\product\10.2.0\server\ne
    work\admin\listener.ora
    Listener Log File D:\oracle\ora10xe\app\oracle\product\10.2.0\server\ne
    work\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=pz)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8080))(Presentation
    HTTP)(Session=RAW))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "XEXDB" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Service "XE_XPT" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Service "xe" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    The command completed successfully
    ************* END OF STATUS *****************************************
    NETSTAT -an results:
    ************* BEGIN NETSTAT *****************************************
    Proto Local Address Foreign Address State
    TCP 0.0.0.0:1521 0.0.0.0:0 LISTENING
    TCP 0.0.0.0:2298 0.0.0.0:0 LISTENING
    TCP 127.0.0.1:2455 127.0.0.1:8080 ESTABLISHED
    TCP 127.0.0.1:8080 0.0.0.0:0 LISTENING
    TCP 127.0.0.1:8080 127.0.0.1:2382 CLOSE_WAIT
    TCP 127.0.0.1:8080 127.0.0.1:2455 ESTABLISHED
    TCP 192.168.200.49:1521 192.168.200.49:2298 ESTABLISHED
    TCP 192.168.200.49:2298 192.168.200.49:1521 ESTABLISHED
    <truncated>
    ************* END OF NETSTAT *****************************************
    I found following error in SQLNET.LOG:
    *************** START LOG *********************************************
    Fatal NI connect error 12570, connecting to:
    (LOCAL=NO)
    VERSION INFORMATION:
         TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
         Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
         Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
    Time: 22-MAR-2006 17:28:59
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12570
    TNS-12570: TNS:packet reader failure
    ns secondary err code: 12560
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    *************** END OF LOG *******************************************

    I successfully connect with XE client to another Oracle databases from LAN, including 8i and 9i databases.
    But cannot connect from another machines to my XE.

  • Cannot connect to database via JApplet

    Hi,
    I created a Java application which allows me to send information to my mysql database using the jdbc connector via a JFrame. However when i modified the file to be a JApplet the info will not sent and i cannot connect to the database? Any particular reason for this?
    I need it to be a JApplet so i can add it to a browser window.
    Code: ( java )
    private void save ()
    Connection conn = null;
    try
    Statement stmt;
    String userName = "root";
    String password = "PASSWORD";
    String url = "jdbc:mysql://localhost:3306/DATABASE";
    Class.forName ("com.mysql.jdbc.Driver").newInstance ();
    conn = DriverManager.getConnection (url, userName, password);
    System.out.println ("Database connection established");
    //Get a statement object
    stmt = conn.createStatement();
    stmt.executeUpdate( "INSERT INTO TABLE(Info i know to put in) VALUES('Values i know to put in')");
    catch (Exception e)
    System.err.println ("Cannot connect to database server");
    finally
    {if (conn != null)
              {try
                   {conn.close ();       
    System.out.println ("Database connection terminated");
    catch (Exception e) { /* ignore close errors*/  }
    As i said above it works fine as a JFrame but not as a JApplet. Any help would be great.
    Thanks G

    Your error reporting is not good. You print a meanningless message or ignore the error.
    Print the stacktrace in the catch blocks.
    Change the code, rerun it and then check the Java Console for output.
    I'm guessing you'll see a security error. Unsigned applets can't access the client file system. If so, sign the applet.

  • Cannot connect to Database attempts hang (no errors)

    hi, i have oracle 9.2 on solaris 5.8
    weirdly, today we could not connect the db anymore. even these does not work on the server:
    sqlplus /nolog
    SQL> connect /as sysdba
    sqlplus "/ as sysdba"
    sqlplus system/**
    ALL attemps just hang , no errors.
    what can i do?
    i think the only way is reboot the machine?
    any ideas?

    here is the output
    bash-2.05# vmstat 2 20
    kthr memory page disk faults cpu
    r b w swap free re mf pi po fr de sr f0 m0 m1 m2 in sy cs us sy id
    0 0 0 1940080 1012952 9 25 51 0 0 0 0 0 7 5 7 729 777 245 15 3 82
    0 0 0 1828840 855200 0 4 0 0 0 0 0 0 386 7 387 5626 62112 3614 25 40 35
    0 0 0 1828840 855200 0 0 0 0 0 0 0 0 384 7 384 5611 62299 3786 23 40 37
    0 1 0 1828840 855200 0 0 0 0 0 0 0 0 372 6 373 5582 63459 3754 24 39 37
    0 2 0 1828840 855200 0 0 0 0 0 0 0 0 391 7 391 5640 63245 3976 23 38 40
    0 0 0 1828840 855200 0 0 0 0 0 0 0 0 374 18 374 5789 61626 3760 24 37 3
    9
    0 0 0 1828840 855200 0 0 0 0 0 0 0 0 373 7 373 5536 62333 3888 20 47 34
    0 0 0 1828840 855200 0 0 0 0 0 0 0 0 376 7 376 5585 62463 3594 24 42 35
    0 0 0 1828840 855200 0 0 0 0 0 0 0 0 354 8 354 5364 61787 3396 24 41 36
    0 0 0 1828840 855200 0 0 0 0 0 0 0 0 378 7 378 5616 61667 3777 18 47 35
    0 0 0 1828840 855200 0 0 0 0 0 0 0 0 364 11 364 5494 63075 3616 24 40 3
    6
    0 2 0 1828840 855200 0 0 0 0 0 0 0 0 388 8 388 5733 62161 3947 22 39 39
    0 0 0 1828840 855200 0 0 0 0 0 0 0 0 388 8 388 5702 61873 4142 22 43 35
    0 1 0 1828840 855200 0 0 0 0 0 0 0 0 383 7 383 5584 63365 3815 28 33 40
    1 0 0 1828840 855200 0 0 0 0 0 0 0 0 387 7 387 5643 63920 3846 29 29 41
    0 0 0 1828840 855200 0 0 0 0 0 0 0 0 378 10 378 5650 61793 3914 23 40 3
    6
    0 0 0 1828840 855200 0 0 0 0 0 0 0 0 388 7 389 5644 62798 4064 24 36 40
    0 0 0 1828840 855200 0 0 0 0 0 0 0 0 377 11 377 5592 62206 3941 23 47 3
    0
    0 0 0 1828840 855200 0 0 0 0 0 0 0 0 379 8 380 5605 61121 3959 21 50 29
    kthr memory page disk faults cpu
    r b w swap free re mf pi po fr de sr f0 m0 m1 m2 in sy cs us sy id
    0 0 0 1828840 855200 0 0 0 0 0 0 0 0 379 7 379 5511 61964 3549 19 46 35
    Also, i cannot connect the database, i dont have any active connections, cannot run any sql statements..

  • Cannot connect to database master at SQL server at SERVERNAME

    I have installed SQL 2008 R2 in a fresh win 2008 R2. I’m running the sharepoint configuration Wizard using the database server name with the correct domain
    credentials but I get the following error message. “Cannot connect to database master at SQL server at
    SERVERNAME. The database might not exist, or the current user does not have permission to connect”
    I‘m able to login to the new SQL server using the “SQL server management studio” with no problems. I used the sa account and a domain account.
    The sharepoint server is also a new installation. And both servers have the firewall disabled.
    Thanks in advance for your help.
    Simon

    Hi,
    What is your SharePoint server’s version?
    Please make sure you use the farm admin account to launch SharePoint configuration wizard. If not, please log in with this account, then check the effect.
    In addition, check if you create a named instance, such as, servername\sharepoint, however, you only specify the servername in the configuration wizard. If this is
    the case, change to servername\sharepoint, then check the effect.
    Thanks,
    Rock Wang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
    contact [email protected]
    Regards, Rock Wang Microsoft Online Community Support

  • I have several iPod touches and there is always one that cannot connect to wifi. after several weeks it usually rights itself. what is going on?

    I have several iPod touches and there is always one that cannot connect to wifi. after several weeks it usually rights itself. what is going on?

    Matthew...
    Try here > iOS: Troubleshooting Wi-Fi networks and connections

  • Why i cannot connect my dvd writer and cd writer using ide2???

    why i cannot connect my dvd writer and cd writer using ide2???
    can anyone help?

    Why is it that i cannot connect both the harddisk to IDE1 and both writers to IDE2 or IDE3?
    Currently i am only connecting my Samsung 80G and Sony DRU810A to IDE1.
    Can anyone help?
    PowerLogic 450W
    Intel Pentium 4 2.8Ghz FSB 533/775
    512Mhz Kingston PC - 4300 DDR2 533 CL4
    MSI 915P Neo2 FR
    Samsung 80G 7200rpm 2MB
    Maxtor 40G 7200rpm 2MB
    Sony DRU810A 16xDVD+-R (8xDL)
    Iomega cdrw 40x12x40

Maybe you are looking for

  • Exception in Integration Configuration

    Hello, we get an exception in the Integration Directory when we create an Integration Configuration. When saving the changes we get the following error message: Internal error: Link from Integrated Configuration | bs_cbp_c | http://BusinessPartner/as

  • TS4185 FaceTime keeps dropping sound

    When using FaceTime on my iMac I lose sound after approx 10 mins, sometimes a lot less. Does anyone know what may be causing this, my broadband speed is v good and handles video etc well in all other software.

  • Name of restore file(s) for ipad 2

    My genius appointment at the apple store where I just spent $900 (tax included) cannot answer this question. What is the name of the restore file that's created when I sync my iPad with my windows 7 notebook? When I hold the shift key down on my note

  • IPhone photos turned gray with "jpg" written on them!

    Hi ~ I have found this issue on several forums but none ever were resolved...  All the photos that were taken on the phone (hundreds!) have all turned gray and have "jpg" on them!  When I try to open them, they won't open but sometimes flash a quick

  • Font Display Panel Problems

    I was reading an online article about using iWeb http://www.mymac.com/showarticle.php?id=3047 and there is a screen shot of the font display panel This is the panel many applications use to allow the user to adjust the fonts. If you open TextEdit and