Problem in getting jdbc connection with oracle for win 98

This is my code given below
import java.sql.*;
public class Oconnection
Connection conn;
Statement st;
PreparedStatement pst,pstissue,pstret,pstbook;
public Oconnection()
try
Class.forName("oracle.jdbc.driver.OracleDriver");
conn = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:orcl","system","manager");
catch(Exception ex)
System.out.println(ex.getMessage());
ex.printStackTrace();
public static void main(String args[])
new Oconnection();
*****************************************************8
Error
C:\Library>java Oconnection
Io exception: The Network Adapter could not establish the connection
java.sql.SQLException: Io exception: The Network Adapter could not establish the
connection
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:169)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:211)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:324)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:266)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
va:365)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:177)
at Oconnection.<init>(Oconnection.java:17)
at Oconnection.main(Oconnection.java:39)
I am using Oracle for win95 or i think it is oarcleforwin98 .
The sid of my database i found through query given was orcl, what changes should i do in the code so that it works.
should i use another driver coz i am using latest driver from oracle.com which is for oracle 8i. if a need a driver change where can i download it from please help me

http://forum.java.sun.com/thread.jsp?thread=291584&forum=48&message=1305045

Similar Messages

  • "Xandros" (linux flavor), shows "TNS 12203" connect with oracle server(win

    I am using oracle developer 6i and from 2000 on operating system "Xandros" (linux flavor),and working properly after instalation.
    Problem when i am connecting to this Machine with oracle server(windos) it shows "TNS 12203"
    i want to use xendros at client side to connect with Database Server on windows nt.
    Thanks

    Hi,
    here is the descroption of TNS 12203
    oerr TNS 12203
    12203, 00000, "TNS:unable to connect to destination"
    // *Cause: Invalid address specified or destination is not listening.
    // This error can also occur because of underlying network or network
    // transport problems.
    // *Action: Verify that the net service name you entered was correct.
    // Verify that the ADDRESS portion of the connect descriptor which
    // corresponds to the net service name is correct. Ensure that the
    // destination process (for example the listener) is running at the
    // remote node.
    Check if you see the database server from the client machine, and if listener is running and on which port, check tnsnames.ora on client.

  • JDBC Connectivity with Oracle:

    Hi!
    I am trying to find a driver for oracle 8i. I want connect to an oracle database from Home. I am want the driver work both locally and on the server. I went to oracle.com I couldn't get it. The links are bronken. Please let me know where can I get a free driver for oracle. Please either give me a like or email it to [email protected]
    Thanks,
    Michael

    You need to load the driver first as follows:
    Class.forName(oracle.jdbc.driver.OracleDriver);
    Then jdbc url :
    Connection connection = DriverManager.getConnection(jdbc:oracle:thin:@oraclehostname/IP Address of oracle server:1521:Oracle SID,username,password)
    Go forward!!!

  • Error trying to get jdbc connection with Sybase AS

    I'm usin JConnect 5.5 lib jconn2.jar
    -- sample
    Class.forName("com.sybase.jdbc2.jdbc.SybDriver"); -- loading driver
    -- continue with
    conn = DriverManager.getConnection("jdbc:sybase:Tds:malahit:1498/ceh32",user,pwd);
    I've got an error msg "No suitable driver"
    What is a problem?
    What do I do wrong?

    No suitable driver is caused if connection url is not correct. Sybase connection url format is :
    jdbc:sybase:Tds:<host>:<port>/<database>

  • Using multipool Connections with Oracle 8i OPS Parallel Server

    Does anyone have any experience using multipool JDBC connections with Oracle 8i OPS? During a oracle node failure, we are seeing all of the connections fail. Any help you could give me her would be greatly appreciated!

    hal lavender wrote:
    Hi,
    I am trying to achieve Load Balancing & Failover of Database requests to two of the nodes in 8i OPS.
    Both the nodes are located in the same data center.
    Here comes the config of one of the connection pools.
    <JDBCConnectionPool CapacityIncrement="5" ConnLeakProfilingEnabled="true"
    DriverName="oracle.jdbc.driver.OracleDriver" InactiveConnectionTimeoutSeconds="0"
    InitialCapacity="10" MaxCapacity="25" Name="db1Connection598011" PasswordEncrypted="{3DES}ARaEjYZ58HfKOKk41unCdQ=="
    Properties="user=ts2user" Targets="ngusCluster12,ngusCluster34" TestConnectionsOnCreate="false"
    TestConnectionsOnRelease="false" TestConnectionsOnReserve="true" TestFrequencySeconds="0"
    TestTableName="SQL SELECT 1 FROM DUAL" URL="jdbc:oracle:thin:@192.22.11.160:1421:dbinst01" />
    <JDBCConnectionPool CapacityIncrement="5" ConnLeakProfilingEnabled="true"
    DriverName="oracle.jdbc.driver.OracleDriver" InactiveConnectionTimeoutSeconds="0"
    InitialCapacity="10" MaxCapacity="25" Name="db2Connection598011" PasswordEncrypted="{3DES}ARaEjYZ58HfKOKk41unCdQ=="
    Properties="user=ts2user" Targets="ngusCluster12,ngusCluster34" TestConnectionsOnCreate="false"
    TestConnectionsOnRelease="false" TestConnectionsOnReserve="true" TestFrequencySeconds="0"
    TestTableName="SQL SELECT 1 FROM DUAL" URL="jdbc:oracle:thin:@192.22.11.161:1421:dbinst01" />
    <JDBCMultiPool AlgorithmType="Load-Balancing" Name="pooledConnection598011"
    PoolList="db1Connection598011,db2Connection598011" Targets="ngusCluster12,ngusCluster34" />
    Please let me know , if you need further information
    HalHi Hal. All that seems fine, as it should be. Tell me how you
    enact a failure so that you'd expect one pool to still be good
    when the other is bad.
    thanks,
    Joe

  • Problem in connecting with Oracle

    hi everybody
    I have a problem in connecting with Oracle express 10g. I got an error that doesn't allow me to connect. hope anyone can help me and solve this problem
    --------------------Configuration: test - JDK version 1.6.0_20 <Default> - <Default>--------------------
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:414)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
    at java.sql.DriverManager.getConnection(DriverManager.java:582)
    at java.sql.DriverManager.getConnection(DriverManager.java:185)
    at DB.dbConnect(test.java:36)
    at test.main(test.java:18)
    this is the code that I'm following
    import java.io.*; import java.sql.*; public class test2 {   public static void main(String[] args) {     try {       Connection con=null;       Class.forName("oracle.jdbc.driver.OracleDriver");       con=DriverManager.getConnection(         "jdbc:oracle:thin:@PLANET:1521:ORCL",         "scott",         "tiger");       Statement s=con.createStatement();       s.execute("INSERT INTO BOOKS VALUES('A Tale of Two Cities','William Shakespeare',4567891231,'05-JAN-1962')");             s.close();       con.close();   } catch(Exception e){e.printStackTrace();} } }
    Edited by: Vantasia on Nov 12, 2010 10:18 AM

    1. Is the connection url correct?
    "jdbc:oracle:thin:@PLANET:1521:ORCL" is fine.
    2. Is the TNS listener started?
    c:\oracle\product\ora10\bin> lsnrctl status
    3. Is a firewall between client and database server?
    Connection url with firewall would be different.
    http://download.oracle.com/docs/cd/B28359_01/java.111/b31224/jdbcthin.htm#i1004276

  • Getting JDBC Connection exception... what is the problem

    I have connection problem and I get the following... Do you have any idea what it might be? Many thanks.
    [java] org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    [java] The last packet successfully received from the server was 82 milliseconds ago. The last packet sent successfully to the server was 82 milliseconds ago.
    [java] at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:82)
    [java] at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:577)
    [java] at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:641)
    [java] at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:666)
    [java] at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:698)
    [java] at org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate.query(NamedParameterJdbcTemplate.java:133)
    [java] at org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate.query(NamedParameterJdbcTemplate.java:137)
    [java] at se.kth.ite.mss.KurserUtil.getSenasteValdaKurser(KurserUtil.java:71)
    [java] at org.apache.jsp.minasidor.kurser.nyaKurser_jsp._jspService(nyaKurser_jsp.java:91)
    [java] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    [java] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
    [java] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
    [java] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
    [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    [java] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    [java] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    [java] at se.kth.ite.portal.ContextLoggingFilter.doFilter(ContextLoggingFilter.java:53)
    [java] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    [java] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    [java] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    [java] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    [java] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    [java] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    [java] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    [java] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
    [java] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
    [java] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
    [java] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    [java] at java.lang.Thread.run(Thread.java:680)
    [java] Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    [java] The last packet successfully received from the server was 82 milliseconds ago. The last packet sent successfully to the server was 82 milliseconds ago.
    [java] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    [java] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    [java] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    [java] at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    [java] at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
    [java] at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1118)
    [java] at com.mysql.jdbc.ExportControlled.transformSocketToSSLSocket(ExportControlled.java:107)
    [java] at com.mysql.jdbc.MysqlIO.negotiateSSLConnection(MysqlIO.java:4553)
    [java] at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1330)
    [java] at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2312)
    [java] at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2122)
    [java] at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:774)
    [java] at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:49)
    [java] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    [java] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    [java] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    [java] at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    [java] at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
    [java] at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:375)
    [java] at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:289)
    [java] at java.sql.DriverManager.getConnection(DriverManager.java:582)
    [java] at java.sql.DriverManager.getConnection(DriverManager.java:185)
    [java] at org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS.getPooledConnection(DriverAdapterCPDS.java:205)
    [java] at org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS.getPooledConnection(DriverAdapterCPDS.java:150)
    [java] at org.apache.commons.dbcp.datasources.InstanceKeyDataSource.testCPDS(InstanceKeyDataSource.java:836)
    [java] at org.apache.commons.dbcp.datasources.SharedPoolDataSource.registerPool(SharedPoolDataSource.java:210)
    [java] at org.apache.commons.dbcp.datasources.SharedPoolDataSource.getPooledConnectionAndInfo(SharedPoolDataSource.java:169)
    [java] at org.apache.commons.dbcp.datasources.InstanceKeyDataSource.getConnection(InstanceKeyDataSource.java:701)
    [java] at org.apache.commons.dbcp.datasources.InstanceKeyDataSource.getConnection(InstanceKeyDataSource.java:676)
    [java] at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:113)
    [java] at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:79)
    [java] ... 29 more
    [java] Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    [java] at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)
    [java] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1764)
    [java] at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:241)
    [java] at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:235)
    [java] at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1206)
    [java] at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:136)
    [java] at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:593)
    [java] at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:529)
    [java] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:958)
    [java] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1203)
    [java] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1230)
    [java] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1214)
    [java] at com.mysql.jdbc.ExportControlled.transformSocketToSSLSocket(ExportControlled.java:92)
    [java] ... 53 more
    [java] Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    [java] at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:323)
    [java] at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:217)
    [java] at sun.security.validator.Validator.validate(Validator.java:218)
    [java] at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:126)
    [java] at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:209)
    [java] at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:249)
    [java] at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1185)
    [java] ... 61 more
    [java] Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    [java] at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:174)
    [java] at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:238)
    [java] at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:318)
    [java] ... 67 more

    >
    I have connection problem and I get the following... Do you have any idea what it might be?
    >
    It might be that you didn't post any code (using \ tags) for anyone to look at.
    People can't debug code that they can't see.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Long delays to get JDBC connection.

    My application uses Oracle 8.1.7 and Oracle JDBC Driver.
    I am getting log delays to get a new connection after the application is run for 2-3 hours. There is no specific time intraval as such. The problem goes off after 10-15 mts.
    Anybody experience such problems?
    Thanks
    Gens

    Debugging ur problem u might come across that u r not closing the connection after u have finished ur work with the connection , so the connection remains INACTIVE till oracle removes all these type of connection from the connection instances.
    to find the no of connections on the oracle database
    log on as system or any user having dba grants
    select MACHINE,LOGON_TIME,USERNAME from v$session where USERNAME = 'USERNAME';
    the quoted USERNAME should be the username u r connecting to oracle. for the above u will come to know the no of connections open. u can configure oracle to close INACTIVE connection imeediately ot close conection made in Java immediately after finishing ur work in them. if u r using a connection pool such a thing is not neccessary as a closed connection is returned back to the pool. however connections made in java have to be closed explicitly.
    good luck

  • Cannot establish connection with Oracle database

    Hello
    This is the first time I use BOE server with Crystal Report to execute some tests, and one issue is blocking me now, and I am not even sure if this is the right Forum where I should post it.
    I installed BOE server XI 3.1 SP4 on Linux machine (new installation), and then I uploaded some existing Crystal Report templates that are working fine on another BOE server. Those CR templates have to establish a connection with a remote Oracle database to get the data, and we pass all credentials for this purpose.
    The first time I run my first test I received this error that I could not find anywhere on the web :
    ErrorLog 2011  8 10  7:05:52.505 14215 356 (Administrator:82) (../reporthandler.cpp:12462): CReportHandler::buildReportViewerError: CSResultExceFailed to open the connection." FileName:"../reporthandler.cpp" LineNum:12458 ErrorCode:756 ErrorMsg:"Failed to open the connection.
    {FBAD55EE-BEAF-11E0-BC1C-005056813A72}.rpt" DetailedErrorMsg:""
    I believe that the CR was not able to establish the connection with Oracle, so I install Oracle Client on the same machine (test remote connection ==> pass), I set the ORACLE_HOME variable, and I edit the file <installation_home>/ bobje/java/CRConfig.xml to add the path to ojdbc14.jar, and finnaly restart the tomcat server. However I am still getting the same error message.
    Is there any hint that can help me troubleshooting this issue?
    Thank you

    do the reports use native oracle connectivity or JDBC ?
    what version of Oracle client did you install ?
    was it 32bit or 64bit client ?
    what your LD_LIBRARY_PATH variable set to ?
    what does it say in the CMC when you look at CR report's DB properties ?

  • Getting Pooled Connection with username and password

    hi,
    I am facing problems in getting pooled connections to MYSQL
    database.I am using Tomcat server.
    I tried the example given in Tomcat doc "JNDI how to", it
    works fine with one set of username and password which is
    given in server.xml. Now can anybody guide me thru the steps
    to get pooled connections to the same database with multiple
    username and passwords.
    Thankyou all in advance

    Now can anybody guide me thru the steps to get pooled
    connections to the same database with multiple
    username and passwords.Nope. Can't be done -- at least not that I've seen yet.
    Database/JDBC driver vendors seem unconcerned, or don't
    care about this scenario. I ragged on Informix years
    ago for this very feature. It should would make database
    admins jobs a lot easier if they could know "who" that
    connection belonged to that is running the outrageous
    SQL query without having to divine it by way of tracing
    socket/IP connections back thru the network to some machine.
    The only way I've seen to do it is to create your own
    connection pool code that handles user/password connections.
    -- but then the problem becomes you have a collection of
    mini-pools for each user. i.e. if you have 200 users, you
    end up with 200 connection pools with a couple/few connections
    in each sub-pool. Kinda defeats the purpse.
    So, apparently, everybody just deals with the single
    "generic" user/password connection pool.

  • Xa-problems when releasing jdbc connection

    We have a very strange problem with our WL setup.
    Weblogic 8.1.4 (2 cluster nodes)
    Oracle 9i stand alone db (although tested on RAC with 2 nodes)
    The application architecture is quite complicated, with several EJB-applications that communicate via JMS and RMI. Everything (except logging) runs under xa-transactions that span multiple applications. We use both xa (for everything but logging) and non-xa jdbc connection pools (Oracle thin driver).
    When we release a jdbc connection then the following node manager log entry is written:
    <Mar 13, 2006 11:11:02 AM UTC> <Error> <JDBC> <BEA-001112> <Test "SELECT 1 FROM DUAL" set up for pool "myPoolXA" failed with exception: "oracle.jdbc.xa.OracleXAException".>
    <Mar 13, 2006 11:11:02 AM UTC> <Error> <JDBC> <BEA-001035> <The following error has occured: XA operation failed : java.lang.NullPointerException
    at weblogic.jdbc.wrapper.VendorXAResource.rollback(VendorXAResource.java:78)
    at weblogic.jdbc.jta.DataSource.rollback(DataSource.java:1047)
    at weblogic.transaction.internal.XAServerResourceInfo.rollback(XAServerResourceInfo.java:1358)
    at weblogic.transaction.internal.XAServerResourceInfo.rollback(XAServerResourceInfo.java:687)
    at weblogic.transaction.internal.ServerSCInfo.startRollback(ServerSCInfo.java:729)
    at weblogic.transaction.internal.ServerTransactionImpl.localRollback(ServerTransactionImpl.java:1909)
    at weblogic.transaction.internal.ServerTransactionImpl.globalRollback(ServerTransactionImpl.java:2592)
    at weblogic.transaction.internal.ServerTransactionImpl.internalRollback(ServerTransactionImpl.java:385)
    at weblogic.transaction.internal.ServerTransactionImpl.rollback(ServerTransactionImpl.java:364)
    at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:279)
    at weblogic.ejb20.internal.StatelessEJBObject.postInvoke(StatelessEJBObject.java:140)
    at com.xx.myapp.ejb.MessageMgmt_s1i1u8_EOImpl.processMessage(MessageMgmt_s1i1u8_EOImpl.java:56)
    at com.xx.myapp.ejb.MessageMgmt_s1i1u8_EOImpl_CBV.processMessage(Unknown Source)
    at com.xx.myapp.ejb.TextMessageReceiverBean.onMessage(TextMessageReceiverBean.java:120)
    at weblogic.ejb20.internal.MDListener.execute(MDListener.java:370)
    at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:262)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2678)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:2598)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    As we understand the message this means that the jdbc resource wrapper crashes with a NPE.
    Are there any hints on this situation ?
    Regards
    Nikolaus Rumm

    Additional information:
    We use Hibernate as the persistence layer. The problem arises when the application detects a business problem and calls setRollbackOnly() on the session bean's ejb context, followed by a "throw ApplicationException" (extends java.lang.Exception).
    When we use unchecked exceptions for business exceptions (which violates the EJB spec) everything works fine.

  • ODI11 jdbc Cannot Get Jdbc Connection Exception - HELP!

    Dear
    I'm trying to make a conexion a new facility in the ODI 11 in a new machine.
    that occurs when you try to configure the conexion at exactly the moment that will define the repository of work the following error occurs.
    ==
    Parameters
    Odi user and password - OK (checked and is correct)
    Repository User and Master password - ok (checked and is correct)
    Driver List - oracle.jdbc.OracleDriver
    URL>
    jdbc: oracle: thin: @ (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = sss.rrr3.ttttj.ggg.br) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = RRR3) ))
    and
    Error Text>
    oracle.odi.core.config.MasterRepositoryResourceFailureException: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: Exception while getting connection: oracle.ucp.UniversalConnectionPoolException: Can not get connection Data Source
    at oracle.odi.core.repository.Repository.getMasterRepository (Repository.java: 74)
    at oracle.odi.core.OdiInstance.createMasterRepository (OdiInstance.java: 501)
    at oracle.odi.core.OdiInstance. <init> (OdiInstance.java: 553)
    at oracle.odi.core.OdiInstance.createInstance (OdiInstance.java: 529)
    at com.sunopsis.graphical.dialog.SnpsDialogLoginDetail.jButtonRepository_ActionPerformed (SnpsDialogLoginDetail.java: 1209)
    at com.sunopsis.graphical.dialog.SnpsDialogLoginDetail.connEtoC9 (SnpsDialogLoginDetail.java: 394)
    com.sunopsis.graphical.dialog.SnpsDialogLoginDetail.access at $ 15 (SnpsDialogLoginDetail.java: 390)
    com.sunopsis.graphical.dialog.SnpsDialogLoginDetail at $ IvjEventHandler.actionPerformed (SnpsDialogLoginDetail.java: 186)
    at javax.swing.AbstractButton.fireActionPerformed (AbstractButton.java: 1995)
    javax.swing.AbstractButton at $ Handler.actionPerformed (AbstractButton.java: 2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed (DefaultButtonModel.java: 387)
    at javax.swing.DefaultButtonModel.setPressed (DefaultButtonModel.java: 242)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased (BasicButtonListener.java: 236)
    at java.awt.AWTEventMulticaster.mouseReleased (AWTEventMulticaster.java: 272)
    at java.awt.AWTEventMulticaster.mouseReleased (AWTEventMulticaster.java: 272)
    at java.awt.Component.processMouseEvent (Component.java: 6267)
    at javax.swing.JComponent.processMouseEvent (JComponent.java: 3267)
    at java.awt.Component.processEvent (Component.java: 6032)
    at java.awt.Container.processEvent (Container.java: 2041)
    at java.awt.Component.dispatchEventImpl (Component.java: 4630)
    at java.awt.Container.dispatchEventImpl (Container.java: 2099)
    at java.awt.Component.dispatchEvent (Component.java: 4460)
    at java.awt.LightweightDispatcher.retargetMouseEvent (Container.java: 4577)
    at java.awt.LightweightDispatcher.processMouseEvent (Container.java: 4238)
    at java.awt.LightweightDispatcher.dispatchEvent (Container.java: 4168)
    at java.awt.Container.dispatchEventImpl (Container.java: 2085)
    at java.awt.Window.dispatchEventImpl (Window.java: 2478)
    at java.awt.Component.dispatchEvent (Component.java: 4460)
    at java.awt.EventQueue.dispatchEvent (EventQueue.java: 599)
    at java.awt.EventDispatchThread.pumpOneEventForFilters (EventDispatchThread.java: 269)
    at java.awt.EventDispatchThread.pumpEventsForFilter (EventDispatchThread.java: 184)
    at java.awt.EventDispatchThread.pumpEventsForFilter (EventDispatchThread.java: 178)
    java.awt.Dialog at $ 1.run (Dialog.java: 1046)
    java.awt.Dialog at $ 3.Run (Dialog.java: 1098)
    at java.security.AccessController.doPrivileged (Native Method)
    at java.awt.Dialog.show (Dialog.java: 1096)
    at java.awt.Component.show (Component.java: 1563)
    at java.awt.Component.setVisible (Component.java: 1515)
    at java.awt.Window.setVisible (Window.java: 842)
    at java.awt.Dialog.setVisible (Dialog.java: 986)
    at com.sunopsis.graphical.dialog.SnpsDialogLoginDetail.snpsInitializeDisplayAll (SnpsDialogLoginDetail.java: 1475)
    at com.sunopsis.graphical.dialog.SnpsDialogLoginDetail.snpsInitialize (SnpsDialogLoginDetail.java: 1421)
    at com.sunopsis.graphical.dialog.SnpsDialogLoginDetail.initialize (SnpsDialogLoginDetail.java: 1096)
    at com.sunopsis.graphical.dialog.SnpsDialogLoginDetail. <init> (SnpsDialogLoginDetail.java: 230)
    at com.sunopsis.graphical.dialog.SnpsDialogLoginDetail. <init> (SnpsDialogLoginDetail.java: 208)
    at oracle.odi.ui.LoginFactory.createLoginDetailDialog (LoginFactory.java: 218)
    at oracle.odi.ui.LoginFactory.createNewLogin (LoginFactory.java: 291)
    at com.sunopsis.graphical.dialog.SnpsDialogLogin.jToolBarButtonNew_ActionPerformed (SnpsDialogLogin.java: 853)
    at com.sunopsis.graphical.dialog.SnpsDialogLogin.connEtoC1 (SnpsDialogLogin.java: 166)
    com.sunopsis.graphical.dialog.SnpsDialogLogin at $ IvjEventHandler.actionPerformed (SnpsDialogLogin.java: 120)
    at javax.swing.AbstractButton.fireActionPerformed (AbstractButton.java: 1995)
    javax.swing.AbstractButton at $ Handler.actionPerformed (AbstractButton.java: 2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed (DefaultButtonModel.java: 387)
    at javax.swing.DefaultButtonModel.setPressed (DefaultButtonModel.java: 242)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased (BasicButtonListener.java: 236)
    at java.awt.AWTEventMulticaster.mouseReleased (AWTEventMulticaster.java: 272)
    at java.awt.AWTEventMulticaster.mouseReleased (AWTEventMulticaster.java: 272)
    at java.awt.Component.processMouseEvent (Component.java: 6267)
    at javax.swing.JComponent.processMouseEvent (JComponent.java: 3267)
    at java.awt.Component.processEvent (Component.java: 6032)
    at java.awt.Container.processEvent (Container.java: 2041)
    at java.awt.Component.dispatchEventImpl (Component.java: 4630)
    at java.awt.Container.dispatchEventImpl (Container.java: 2099)
    at java.awt.Component.dispatchEvent (Component.java: 4460)
    at java.awt.LightweightDispatcher.retargetMouseEvent (Container.java: 4577)
    at java.awt.LightweightDispatcher.processMouseEvent (Container.java: 4238)
    at java.awt.LightweightDispatcher.dispatchEvent (Container.java: 4168)
    at java.awt.Container.dispatchEventImpl (Container.java: 2085)
    at java.awt.Window.dispatchEventImpl (Window.java: 2478)
    at java.awt.Component.dispatchEvent (Component.java: 4460)
    at java.awt.EventQueue.dispatchEvent (EventQueue.java: 599)
    at java.awt.EventDispatchThread.pumpOneEventForFilters (EventDispatchThread.java: 269)
    at java.awt.EventDispatchThread.pumpEventsForFilter (EventDispatchThread.java: 184)
    at java.awt.EventDispatchThread.pumpEventsForFilter (EventDispatchThread.java: 178)
    java.awt.Dialog at $ 1.run (Dialog.java: 1046)
    java.awt.Dialog at $ 3.Run (Dialog.java: 1098)
    at java.security.AccessController.doPrivileged (Native Method)
    at java.awt.Dialog.show (Dialog.java: 1096)
    at java.awt.Component.show (Component.java: 1563)
    at java.awt.Component.setVisible (Component.java: 1515)
    at java.awt.Window.setVisible (Window.java: 842)
    at java.awt.Dialog.setVisible (Dialog.java: 986)
    at com.sunopsis.graphical.dialog.SnpsAbstractDialog.setVisible (SnpsAbstractDialog.java: 299)
    at oracle.odi.ui.OdiConnectController.handleEvent (OdiConnectController.java: 114)
    at oracle.ide.controller.IdeAction.performAction (IdeAction.java: 529)
    at oracle.ide.controller.IdeAction.actionPerformedImpl (IdeAction.java: 884)
    at oracle.ide.controller.IdeAction.actionPerformed (IdeAction.java: 501)
    oracle.odi.ui.docking.AbstractOdiDockableWindow at $ 1.actionPerformed (AbstractOdiDockableWindow.java: 203)
    at javax.swing.AbstractButton.fireActionPerformed (AbstractButton.java: 1995)
    javax.swing.AbstractButton at $ Handler.actionPerformed (AbstractButton.java: 2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed (DefaultButtonModel.java: 387)
    at javax.swing.DefaultButtonModel.setPressed (DefaultButtonModel.java: 242)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased (BasicButtonListener.java: 236)
    at java.awt.AWTEventMulticaster.mouseReleased (AWTEventMulticaster.java: 272)
    at java.awt.Component.processMouseEvent (Component.java: 6267)
    at javax.swing.JComponent.processMouseEvent (JComponent.java: 3267)
    at java.awt.Component.processEvent (Component.java: 6032)
    at java.awt.Container.processEvent (Container.java: 2041)
    at java.awt.Component.dispatchEventImpl (Component.java: 4630)
    at java.awt.Container.dispatchEventImpl (Container.java: 2099)
    at java.awt.Component.dispatchEvent (Component.java: 4460)
    at java.awt.LightweightDispatcher.retargetMouseEvent (Container.java: 4577)
    at java.awt.LightweightDispatcher.processMouseEvent (Container.java: 4238)
    at java.awt.LightweightDispatcher.dispatchEvent (Container.java: 4168)
    at java.awt.Container.dispatchEventImpl (Container.java: 2085)
    at java.awt.Window.dispatchEventImpl (Window.java: 2478)
    at java.awt.Component.dispatchEvent (Component.java: 4460)
    at java.awt.EventQueue.dispatchEvent (EventQueue.java: 599)
    at java.awt.EventDispatchThread.pumpOneEventForFilters (EventDispatchThread.java: 269)
    at java.awt.EventDispatchThread.pumpEventsForFilter (EventDispatchThread.java: 184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy (EventDispatchThread.java: 174)
    at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java: 169)
    at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java: 161)
    at java.awt.EventDispatchThread.run (EventDispatchThread.java: 122)
    Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: Exception while getting connection: oracle.ucp.UniversalConnectionPoolException: Unable to get Connection from Data Source
    at org.springframework.jdbc.datasource.DataSourceUtils.getConnection (DataSourceUtils.java: 82)
    at org.springframework.jdbc.core.JdbcTemplate.execute (JdbcTemplate.java: 524)
    at org.springframework.jdbc.core.JdbcTemplate.query (JdbcTemplate.java: 588)
    at org.springframework.jdbc.core.JdbcTemplate.query (JdbcTemplate.java: 613)
    at org.springframework.jdbc.core.JdbcTemplate.query (JdbcTemplate.java: 645)
    at org.springframework.jdbc.object.SqlQuery.execute (SqlQuery.java: 111)
    at org.springframework.jdbc.object.SqlQuery.execute (SqlQuery.java: 121)
    at org.springframework.jdbc.object.SqlQuery.execute (SqlQuery.java: 136)
    oracle.odi.core.repository.support.RepositoryUtils at $ RepositoryInfoSource.loadRepositoryInfo (RepositoryUtils.java: 179)
    at oracle.odi.core.repository.support.RepositoryUtils.loadMasterRepositoryInfo (RepositoryUtils.java: 373)
    at oracle.odi.core.repository.Repository.getMasterRepository (Repository.java: 72)
    ... 113 more
    Caused by: java.sql.SQLException: Exception while getting connection: oracle.ucp.UniversalConnectionPoolException: Unable to get Connection from Data Source
    at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.doGetConnection (LoginTimeoutDatasourceAdapter.java: 133)
    at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.getConnection (LoginTimeoutDatasourceAdapter.java: 62)
    at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection (DataSourceUtils.java: 113)
    at org.springframework.jdbc.datasource.DataSourceUtils.getConnection (DataSourceUtils.java: 79)
    ... 123 more
    Caused by: java.sql.SQLException: Exception while getting connection: oracle.ucp.UniversalConnectionPoolException: Unable to get Connection from Data Source
    at oracle.ucp.util.UCPErrorHandler.newSQLException (UCPErrorHandler.java: 541)
    at oracle.ucp.jdbc.PoolDataSourceImpl.throwSQLException (PoolDataSourceImpl.java: 587)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection (PoolDataSourceImpl.java: 668)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection (PoolDataSourceImpl.java: 613)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection (PoolDataSourceImpl.java: 607)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java: 39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java: 25)
    at java.lang.reflect.Method.invoke (Method.java: 597)
    oracle.odi.core.datasource.support.RuntimeClassLoaderDataSourceCreator at $ DataSourceInvocationHandler.invoke (RuntimeClassLoaderDataSourceCreator.java: 41)
    Proxy0.getConnection at $ (Unknown Source)
    oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter at $ ConnectionProcessor.run (LoginTimeoutDatasourceAdapter.java: 217)
    java.util.concurrent.Executors at $ RunnableAdapter.call (Executors.java: 441)
    java.util.concurrent.FutureTask at $ Sync.innerRun (FutureTask.java: 303)
    at java.util.concurrent.FutureTask.run (FutureTask.java: 138)
    at java.util.concurrent.ThreadPoolExecutor $ Worker.runTask (ThreadPoolExecutor.java: 886)
    at java.util.concurrent.ThreadPoolExecutor $ Worker.run (ThreadPoolExecutor.java: 908)
    at java.lang.Thread.run (Thread.java: 662)
    Caused by: oracle.ucp.UniversalConnectionPoolException: Unable to get Connection from Data Source
    at oracle.ucp.util.UCPErrorHandler.newUniversalConnectionPoolException (UCPErrorHandler.java: 421)
    at oracle.ucp.util.UCPErrorHandler.newUniversalConnectionPoolException (UCPErrorHandler.java: 389)
    at oracle.ucp.jdbc.DriverConnectionFactoryAdapter.createConnection (DriverConnectionFactoryAdapter.java: 133)
    oracle.ucp.common.UniversalConnectionPoolImpl at $ UniversalConnectionPoolInternal.createOnePooledConnectionInternal (UniversalConnectionPoolImpl.java: 1570)
    $ UniversalConnectionPoolInternal.access oracle.ucp.common.UniversalConnectionPoolImpl at $ 600 (UniversalConnectionPoolImpl.java: 1378)
    at oracle.ucp.common.UniversalConnectionPoolImpl.createOnePooledConnection (UniversalConnectionPoolImpl.java: 445)
    at oracle.ucp.common.UniversalConnectionPoolImpl.borrowConnectionWithoutCountingRequests (UniversalConnectionPoolImpl.java: 302)
    at oracle.ucp.common.UniversalConnectionPoolImpl.borrowConnection (UniversalConnectionPoolImpl.java: 129)
    at oracle.ucp.jdbc.JDBCConnectionPool.borrowConnection (JDBCConnectionPool.java: 119)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection (PoolDataSourceImpl.java: 655)
    ... 15 more
    Caused by: java.sql.SQLException: ORA-01017: password / username invalid; log-on denied
    at oracle.jdbc.driver.SQLStateMapping.newSQLException (SQLStateMapping.java: 70)
    at oracle.jdbc.driver.DatabaseError.newSQLException (DatabaseError.java: 133)
    at oracle.jdbc.driver.DatabaseError.throwSqlException (DatabaseError.java: 206)
    at oracle.jdbc.driver.T4CTTIoer.processError (T4CTTIoer.java: 455)
    at oracle.jdbc.driver.T4CTTIoer.processError (T4CTTIoer.java: 406)
    at oracle.jdbc.driver.T4CTTIoer.processError (T4CTTIoer.java: 399)
    at oracle.jdbc.driver.T4CTTIoauthenticate.receiveOauth (T4CTTIoauthenticate.java: 799)
    at oracle.jdbc.driver.T4CConnection.logon (T4CConnection.java: 368)
    at oracle.jdbc.driver.PhysicalConnection. <init> (PhysicalConnection.java: 508)
    at oracle.jdbc.driver.T4CConnection. <init> (T4CConnection.java: 203)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection (T4CDriverExtension.java: 33)
    at oracle.jdbc.driver.OracleDriver.connect (OracleDriver.java: 510)
    at oracle.ucp.jdbc.DriverConnectionFactoryAdapter.createConnection (DriverConnectionFactoryAdapter.java: 129)
    ... 22 more
    ==
    >
    I think the problem is in jdbc
    but exhausted my ideas on how to fix
    this
    where:
    ODI already reinstalled 11
    checked path in SO (JAVA_HOME, ODI_JAVA_HOME am using C: \ Program Files \ Java \ bin \ jdk1.6.0_23)
    ORACLE_CLASSES am using C: \ oracle \ product \ 10.2.0 \ client_1 \ jdbc \ lib \ ojdbc14.jar
    and
    ORACLE_HOME is using C: \ oracle \ product \ 10.2.0 \ client_1
    My OS is windows vista business (the client machine odi11)
    connecting to the database oracle11
    have any suggestions for a procedure, something that did not, forgot or did not even know.
    Thank you.

    Hi Ankit Jain
    yes it's the second option,
    exactly the error occurs when I click the icon to select the repository of work - work_dev
    then this exception is generated
    =
    I select for the field
    Drivers List -
    the value >> Oracle JDBC Driver
    and then is placed in the Driver Name field
    value>> oracle.jdbc.OracleDriver
    and after I put a URL
    jdbc: oracle: thin: @ (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = sss.rrr3.ttttj.ggg.br) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = RRR3) ))
    It should say
    that
    This is occurring on a machine, but others the same configuration is working
    I think it's something of the environment on this machine,
    but no longer know what to test
    grateful for your attention.

  • I am unable to get a connection with my ipad through my router but I am able to get in when at my friend's house

    I am unable to get a connection with my ipad with my wifi router.  Will I need to upgrade my router

    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
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    iOS 6 Wifi Problems/Fixes
    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/
    ~~~~~~~~~~~~~~~~~~~~~~~
    Look at 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/
    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.
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • How to connect with Oracle in java

    Hello!
    I would like to use java for my graduation project. And connect with Oracle in java.
    I used j2sdk1.4.2_04 and Oracle 9i release 9.2.0.1.0
    May I ask where could supply me information or content ?
    Thanks!!

    hi jus a sample code
    public class DbUtil {
    // Connection instance
    private static Connection conn = null;
    private Object connection;
    public DbUtil() {
         // Connect to the database
    dbConnect();
    * This method performs the clean up action and closes the application
    void exitDbUtil(){
    // If connected to database
    if (conn != null) {
    try {
    // Close the connection
    conn.close();
    conn=null;
    catch (Exception ex){      // Trap errors
    System.out.println(" Error while Closing the connection: "+ex.toString());
    * Creates a database connection object
    private void dbConnect() {
    try {
    String driverName = "oracle.jdbc.driver.OracleDriver";
    Class.forName(driverName);
    String url = "jdbc:oracle:thin:@" + ConnectionParams.s_hostName +
              ":" + ConnectionParams.s_portNumber +
              ":" + ConnectionParams.s_databaseSID;
    // Create a connection object
    conn = DriverManager.getConnection(url, ConnectionParams.s_userName,
                             ConnectionParams.s_password);
    catch(Exception e){

  • Exmpl of Servlet connect with ORacle

    Hi folks,
    Can anyone send me example of Java Servlet connectivity with Oracle.
    i m not able to connect servlet with oracle.
    u guys can reply me on [email protected]
    thanks
    dal hit

    No.
    The code for connecting to Oracle from a Servlet is no different from connecting to Oracle from any other Java application. So tell you what, you show us what you've tried and the error message(s) and we'll help you debug it.
    99.999% of the time it's a failure to put the driver Jar file into the classpath, the specifics of which vary from application server to application server. Which one are you using?
    u guys can reply me on [email protected]
    We can, but we won't. This is not your personal bugfixing service. Pay if you want that kind of help. If you want it for free, do it through the forums or go away.
    Probably you'll never read this response, but that's your problem not mine.

Maybe you are looking for