Linux JDBC Connection Problem from Win 98

Try to connect to linux Oracle 8.0.5.0.0 using JDK 1.2 and jdbc classes12_01.zip file
i receive a 17002 error Network adapter connection error.
Thanks

Try to connect to linux Oracle 8.0.5.0.0 using JDK 1.2 and jdbc classes12_01.zip file
i receive a 17002 error Network adapter connection error.
Thanks

Similar Messages

  • MSSQLServer jdbc connect problem on ODI 11G R2

    I have a MS SQL Server jdbc connect problem on ODI 11G R2 / Windows server 2008 64 bits.
    Tried, one by one, all versions of Microsoft drivers.
    Sqljdbc4.jar copied to : %appdata%\odi\oracledi\userlib\
    The Topology connect syntax is :
    driver: com.microsoft.sqlserver.jdbc.SQLServerDriver
    URL : jdbc:sqlserver://<host>:1433
    => All the topology tests end with time-outs.
    Installed 10G ODI.
    Works with 1.4 java and sqljdbc.jar version 2 jdbc driver.
    Times out with version 3 and/or Sqljdbc4.jar + JAVA_HOME & ODI_JAVA_HOME set to 1.6 path.
    also tried, with no success (time-outs) on either 10g or 11g :
    com.inet.tds.TdsDriver
    jdbc:inetdae7://<host>:1433?database=<DB>
    same results for :
    net.sourceforge.jtds.jdbc.Driver
    jdbc:jtds:sqlserver://<host>:1433
    Any suggestions for a fix?
    Many thanks in advance.

    Hello,
    ODI (11g) Studio is certified on Windows 32 bit only, not on 64bit.
    However you may still install it and configure ODI Studio to run with a 32 bit java.
    Details pls see Master Note For ODI 11g Install Issues And Questions (Doc ID 1214428.1).
    To connect to SQL Server:
    # Check and make sure the authentication mode of your Microsoft SQL Server Server is set to "SQL Server and Windows" or "Mixed", otherwise Oracle Data Integrator (ODI) is unable to connect to the database.
    # Before you create the Oracle Data Integrator (ODI) Dataserver in Topology Manager > Physical Architecture, stop all ODI processes, and place the JDBC Driver file in the ODI's userlib and "/drivers" folder.
    For ODI Studio (Local No Agent)
    %APPDATA%\odi\oracledi\userlib
    %APPDATA% is the Windows Application Data directory for the user (usually C:\Documents and Settings\<user>\Application Data).
    Standalone Agent
    ODI_HOME\oracledi\agent\drivers
    Note: If you decide to use the DataDirect driver that comes with ODI 11g install/ embedded in ODI 11g
    weblogic.jdbc.sqlserver.SQLServerDriver
    Then you don't need to worry about this step.
    # Make sure that the database is the default database of the user account employed by ODI for connection, and that the password is correct.
    # Verify (in your Microsoft SQL Server Server network configuration) that TCP/IP has been enabled on port 1433.
    For more details see How To Set Up JDBC Driver Connections For The Microsoft SQL Server For ODI (Doc ID 423914.1)
    If you try sqljdbc.jar, you need to configure ODI_JAVA_HOME to jdk1.5
    sqljdbc4.jar, jdk1.6 (since ODI 11g requires jdk1.6, I'd suggest sqljdbc4.jar)
    More see Compatibility Matrix For Java Machines And JDBC Drivers Used With ODI (Doc ID 807235.1)
    Hope that helps other people who run into this,
    Edited by: user742480 on Apr 4, 2011 12:06 PM

  • Re: create linux oracle 8 cd from win nt cd burner

    does anyone konw how to create a linux oracle 8 cd from win nt?
    i downloaded the tar file to my nt machine and i untar it. how
    do i make a copy of a cd without causing any format differences?
    null

    Here is how I did it!
    1.Get mkisofs onto your linux box,
    2.copy the tar onto your linux box (or smb mount the an nt share)
    3.tar -zxvf [tar name] in a new directory
    4. mkisoft -r [DIRNAME you just used] {NAME OF ISOIMAGE}
    you now have an iso image containg oracle with rock ridge
    extentions
    copy this on to nt and write to cd
    hope this helps
    Simon
    null

  • Connectivity problem from Verizon to China Telecom

    It was China Netcom last time. Now, it's China Telecom.
    (ref: http://forums.verizon.com/t5/FiOS-Internet/Connectivity-problem-from-Verizon-to-Asia/m-p/646257)
    MTR:
    HOST: alex-macmini.local Loss% Snt Last Avg Best Wrst StDev
    1.|-- 10.21.1.1 0.0% 10 0.4 0.5 0.4 0.6 0.0
    2.|-- l100.lsanca-vfttp-75.verizon-gni.net (72.67.93.1) 0.0% 10 8.5 8.9 5.7 21.5 4.5
    3.|-- g1-2-0-3.lsanca-lcr-22.verizon-gni.net (130.81.223.8) 0.0% 10 9.5 12.2 9.1 26.4 5.1
    4.|-- ae10-0.lax01-bb-rtr2.verizon-gni.net (130.81.199.106) 0.0% 10 10.7 11.1 9.9 15.7 1.6
    5.|-- 0.ae4.xl4.lax1.alter.net (140.222.227.129) 0.0% 10 14.9 13.5 10.3 15.9 1.9
    6.|-- 0.xe-11-2-0.gw2.lax1.alter.net (152.63.4.197) 0.0% 10 15.1 13.6 11.9 15.5 1.1
    7.|-- internet-gw.customer.alter.net (157.130.230.74) 20.0% 10 336.4 324.1 302.2 336.4 10.5
    8.|-- 202.97.90.129 10.0% 10 333.8 325.4 299.6 339.0 10.8
    9.|-- 202.97.51.137 10.0% 10 500.4 489.1 459.6 503.8 12.8
    10.|-- 202.97.34.81 30.0% 10 504.0 491.6 455.9 504.7 16.9
    11.|-- 202.97.33.169 10.0% 10 513.5 501.7 480.6 517.4 11.1
    12.|-- 119.147.222.34 10.0% 10 497.0 485.0 448.9 502.8 15.3
    13.|-- 119.147.222.202 50.0% 10 502.0 482.7 452.6 502.0 18.2
    14.|-- 119.147.27.226 10.0% 10 508.3 499.6 474.5 516.8 13.2
    15.|-- ??? 100.0 10 0.0 0.0 0.0 0.0 0.0
    16.|-- 183.60.57.155 0.0% 10 507.1 494.4 477.4 507.1 9.1
    Note 7, 8, 9 are in China. 20% gateway packet loss? Unacceptable. Consider how badly TCP was designed, congestion control would render the link useless.

    Things are only worse
    HOST: alex-macmini.local Loss% Snt Last Avg Best Wrst StDev
    1.|-- 10.21.1.1 0.0% 10 0.5 0.5 0.4 0.6 0.0
    2.|-- l100.lsanca-vfttp-75.verizon-gni.net (72.67.93.1) 0.0% 10 34.3 18.2 5.0 34.3 10.3
    3.|-- g1-2-0-2.lsanca-lcr-22.verizon-gni.net (130.81.223.12) 0.0% 10 10.2 11.7 9.4 14.8 1.7
    4.|-- so-3-1-0-0.lax01-bb-rtr2.verizon-gni.net (130.81.199.40) 0.0% 10 8.9 11.8 8.4 23.2 4.2
    5.|-- 0.ae4.xl4.lax1.alter.net (140.222.227.129) 0.0% 10 14.4 12.9 10.7 14.4 1.0
    6.|-- 0.xe-11-3-0.gw2.lax1.alter.net (152.63.4.201) 0.0% 10 10.7 13.8 10.7 26.4 4.5
    7.|-- internet-gw.customer.alter.net (157.130.230.74) 20.0% 10 343.6 345.2 337.0 350.7 5.2
    8.|-- 202.97.50.45 10.0% 10 347.0 347.7 339.7 353.5 4.6
    9.|-- 202.97.52.253 10.0% 10 489.7 491.5 482.4 510.1 7.9
    10.|-- 202.97.58.97 0.0% 10 494.0 494.9 489.6 498.8 3.3
    11.|-- 202.97.53.37 0.0% 10 496.6 498.9 494.2 502.7 2.9
    12.|-- 202.97.57.206 20.0% 10 494.7 498.6 494.7 501.7 2.6
    13.|-- bj141-130-154.bjtelecom.net (219.141.130.154) 50.0% 10 502.3 498.2 495.2 502.3 2.4
    14.|-- ??? 100.0 10 0.0 0.0 0.0 0.0 0.0
    15.|-- ??? 100.0 10 0.0 0.0 0.0 0.0 0.0
    16.|-- ??? 100.0 10 0.0 0.0 0.0 0.0 0.0
    17.|-- 219.239.92.194 0.0% 10 510.3 514.8 510.3 519.8 3.1
    18.|-- 124.202.11.62 0.0% 10 506.9 512.4 505.0 516.9 3.8
    19.|-- 124.202.11.30 20.0% 10 506.2 513.0 506.1 517.4 4.4
    20.|-- 115.182.92.1 0.0% 9 486.5 495.1 486.5 499.5 4.3

  • BLOB / CLOB operations using JDBC connections taken from WebLogic 6.0 connectrion pool

    Hi..
    I need to do some CLOB operations using JDBC connection taken
    from WebLogic 6.0 connection pool. Will weblogic 6.0 supports it.?
    I am getting errors when trying to do it in normal way .
    It seems like ResultSet.getClob() returns an RMI (kind of ) object
    instead of the Clob object.
    If you have any idea . Pls respond to [email protected]
    Nazilin

    Hi..
    I need to do some CLOB operations using JDBC connection taken
    from WebLogic 6.0 connection pool. Will weblogic 6.0 supports it.?
    I am getting errors when trying to do it in normal way .
    It seems like ResultSet.getClob() returns an RMI (kind of ) object
    instead of the Clob object.
    If you have any idea . Pls respond to [email protected]
    Nazilin

  • Filemaker JDBC connection problem

    I wonder if anyone with a lot of initiative and intelligence can help me with a connection problem.
    An ordinary copy of the Filemaker Pro database only accepts local JDBC connections - i.e. from the same machine.
    That's Ok because I also have a very expensive Filemaker Server license and Filemaker Server accepts connections from anywhere.
    However this causes me rather boring testing problems. My portable computer, where I write all my code, is a dual-boot machine (Windows and Linux), and for testing purposes I want to use an ordinary copy of Filemaker Pro on the Windows part, and throw queries at it from the Linux part. With the old version of Filemaker Pro, this was possible, with the new version, it is not (only connections from the same machine are accepted).
    Question: is there any way of writing a programme in the middle, hosted on the Windows part, that accepts connections from the Linux part, and then passes them on to the Filemaker Pro copy - which will then think that the query came from the local machine - and will then take the answer and relay it to the Linux part?
    Any help gratefully received.

    Question: is there any way of writing a programme in
    the middle, hosted on the Windows part, that accepts
    connections from the Linux part, and then passes them
    on to the Filemaker Pro copy - which will then think
    that the query came from the local machine - and
    will then take the answer and relay it to the Linux
    part?Just a small question. To my understanding dual boot means at a given time your computer will be running only one OS (either windows or linux) right?. Or are you running a VM with linux inside your windows?

  • App Server 8.1 JDBC Connection problem

    Dear Expert,
    Cu are using Sun Java System Application Server Enterprise Edition 8.1. Cu created one jdbc connection pool and datasource. They are called
    jdbc/RM
    From the App Server Admin Console -> Connection Pool, cu can "Ping" the database via the connection pool.
    Cu did the configuration on web.xml and sun-web.xml
    web.xml
    <resource-ref>
    <description>Oracle Database Connection - Rawmart</description>
    <res-ref-name>jdbc/RM</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    sun-web.xml
    <resource-ref>
    <res-ref-name>jdbc/RM</res-ref-name>
    <jndi-name>jdbc/RM</jndi-name>
    </resource-ref>
    In customer class,
    220: protected void initDataSource() throws NamingException {
    221: initContext = new InitialContext();
    222: envContext = (Context) initContext.lookup("java:comp/env");
    223: String dataSource = rConfigObject.getConfigValue("DATASOURCE");
    224: rDataSource = (DataSource) envContext.lookup(dataSource);
    225: }Exception occurs on line no. 222 already.
    From server.log, we get
    ================
    #|2005-06-03T11:36:11.562+0800|WARNING|sun-appserver-ee8.1|javax.enterprise.system.stream.err|_ThreadID=10;|
    javax.naming.NameNotFoundException: No object bound for java:comp/env [Root exception is java.lang.NullPointerException]
    at com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:161)
    at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:288)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at com.ns.DBObject.initDataSource(DBObject.java:222)
    at com.ns.DBObject.connectPool(DBObject.java:213)
    at com.ns.DBObject.<init>(DBObject.java:91)
    at com.ns.DBObject.getInstance(DBObject.java:122)
    at com.ncharter.NCContextListener.contextInitialized(NCContextListener.java:28)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4010)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4525)
    ===============
    Do you have any ideas on this problem? Thanks.
    Regards,
    Angus

    Try asking the Customer to fire up the JNDI browser in the admin console and try to browse the JNDI tree.
    What class is the InitialContext.lookup() happening in? Is that getting executed in the servlet class or a standalone client?
    thanks.

  • Database connection problem from RDBMSRealm

    Hi Everyone,
    I am implementing an application with Weblogic5.1, RDBMSRealm, Merant type 4 JDBC driver and SQL server 7.0. When I am starting
    the Weblogic server, I am getting an error as described as follows. Can anyone there give me a clue?
    As you see, I am using Merant Spy JDBC driver (for debugging).
    With this kind of driver, any JDBC calls to database server
    in the code will be displayed.
    As you know, there are a quite number of "prepareStatement" from RDBMSRealm. When the weblogic server is starting, they have to be initialized. I don't understand why it needs to make a connection for each "prepareStatement"?, and why it is still in connection mode after it is initialized?
    Thanks a lot.
    -John
    Thu Jan 18 16:01:00 EST 2001:<I> <System Props> weblogic.system.home = Ppg
    Thu Jan 18 16:01:00 EST 2001:<I> <System Props> weblogic.system.name = PpgServer
    Thu Jan 18 16:01:00 EST 2001:<I> <WebLogicServer> Loaded License : D:/weblogic/license/WebLogicLicense.xml
    Thu Jan 18 16:01:00 EST 2001:<I> <WebLogicServer> Server loading from weblogic.class.path. EJB redeployment enabled.
    registerDriver: driver[className=com.merant.datadirect.jdbc.sqlserver.SQLServerDriver,com.merant.datadirect.jdbc.sqlserver.SQLServerDriver@d071d920]
    skipping: driver[className=weblogic.jdbc.pool.Driver,weblogic.jdbc.pool.Driver@fdd92d]
    spy>> Connection accepted by SQLServer
    spy>> OK (Connection[1])
    getConnection returning driver[className=com.merant.jdbcspy.SpyDriver,com.merant.jdbcspy.SpyDriver@cee1d920]
    spy>> Connection[1].prepareStatement(String sql)
    spy>> sql = SELECT U_NAME, U_PASSWORD FROM users WHERE U_NAME = ?
    spy>> OK (PreparedStatement[1])
    spy>> Connection[1].prepareStatement(String sql)
    spy>> sql = SELECT A_NAME, A_PRINCIPAL, A_PERMISSION FROM aclentries WHERE A_NA..
    spy>> OK (PreparedStatement[2])
    spy>> Connection[1].prepareStatement(String sql)
    spy>> sql = SELECT U_NAME, U_PASSWORD FROM users
    spy>> OK (PreparedStatement[3])
    spy>> Connection[1].prepareStatement(String sql)
    spy>> sql = SELECT GM_GROUP, GM_MEMBER FROM groupmembers ORDER BY GM_GROUP
    spy>> OK (PreparedStatement[4])
    spy>> Connection[1].prepareStatement(String sql)
    spy>> sql = SELECT A_NAME, A_PRINCIPAL, A_PERMISSION FROM aclentries ORDER BY A..
    spy>> java.sql.SQLException: [MERANT][SQLServer JDBC Driver][SQLServer]Login fa..
    java.sql.SQLException: [MERANT][SQLServer JDBC Driver][SQLServer]Login failed. The maximum simultaneous user count of 5 licenses for this 'Standard Edition' server has been exceeded. Additional licenses should be ob
    tained and installed or you should upgrade to a full version.
    at com.merant.datadirect.jdbc.base.BaseExceptions.getException(BaseExceptions.java:72)
    at com.merant.datadirect.jdbc.sqlserver.tds.TDSRequest.processErrorToken(TDSRequest.java:401)
    at com.merant.datadirect.jdbc.sqlserver.tds.TDSRequest.processReplyToken(TDSRequest.java:1571)
    at com.merant.datadirect.jdbc.sqlserver.tds.TDSLoginRequest.processReplyToken(TDSLoginRequest.java:549)
    at com.merant.datadirect.jdbc.sqlserver.tds.TDSRequest.processTokensInReply(TDSRequest.java, Compiled Code)
    at com.merant.datadirect.jdbc.sqlserver.tds.TDSRequest.processReply(TDSRequest.java:1661)
    at com.merant.datadirect.jdbc.sqlserver.SQLServerImplConnection.open(SQLServerImplConnection.java:98)
    at com.merant.datadirect.jdbc.base.BaseConnection.getNewImplConnection(BaseConnection.java:405)
    at com.merant.datadirect.jdbc.base.BaseConnection.getImplConnection(BaseConnection.java:333)
    at com.merant.datadirect.jdbc.base.BaseStatement.getImplConnection(BaseStatement.java:1223)
    at com.merant.datadirect.jdbc.base.BaseStatement.getImplStatement(BaseStatement.java:1241)
    at com.merant.datadirect.jdbc.base.BasePreparedStatement.<init>(BasePreparedStatement.java:63)
    at com.merant.datadirect.jdbc.base.BaseConnection.prepareStatement(BaseConnection.java:960)
    at com.merant.jdbcspy.SpyConnection.prepareStatement(Unknown Source)
    at com.bea.ppg.rdbmsrealm.RDBMSDelegate.prepare(RDBMSDelegate.java:116)
    at com.bea.ppg.rdbmsrealm.RDBMSDelegate.<init>(RDBMSDelegate.java:187)
    at com.bea.ppg.rdbmsrealm.RDBMSDelegate$DFactory.newInstance(RDBMSDelegate.java:912)
    at weblogic.utils.reuse.Pool.getInstance(Pool.java:57)
    at com.bea.ppg.rdbmsrealm.RDBMSRealm.getDelegate(RDBMSRealm.java:115)
    at com.bea.ppg.rdbmsrealm.RDBMSRealm.getPermission(RDBMSRealm.java:515)
    at weblogic.security.acl.CachingRealm.getPermission(CachingRealm.java:1698)
    at weblogic.security.acl.CachingRealm.setupAcls(CachingRealm.java, Compiled Code)
    at weblogic.security.acl.CachingRealm.<init>(CachingRealm.java:706)
    at weblogic.security.acl.CachingRealm.<init>(CachingRealm.java:564)
    at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1750)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    Unable to initialize server: com.bea.ppg.rdbmsrealm.RDBMSException: realm initialization failed, Connection.prepareStatement() failed on statement "SELECT A_NAME, A_PRINCIPAL, A_PERMISSION FROM aclentries ORDER BY A
    _NAME, A_PRINCIPAL", - with nested exception:
    [java.sql.SQLException: [MERANT][SQLServer JDBC Driver][SQLServer]Login failed. The maximum simultaneous user count of 5 licenses for this 'Standard Edition' server has been exceeded. Additional licenses should be o
    btained and installed or you should upgrade to a full version.]
    fatal initialization exception
    com.bea.ppg.rdbmsrealm.RDBMSException: realm initialization failed, Connection.prepareStatement() failed on statement "SELECT A_NAME, A_PRINCIPAL, A_PERMISSION FROM aclentries ORDER BY A_NAME, A_PRINCIPAL", - with
    nested exception:
    [java.sql.SQLException: [MERANT][SQLServer JDBC Driver][SQLServer]Login failed. The maximum simultaneous user count of 5 licenses for this 'Standard Edition' server has been exceeded. Additional licenses should be o
    btained and installed or you should upgrade to a full version.]
    at com.bea.ppg.rdbmsrealm.RDBMSDelegate.<init>(RDBMSDelegate.java:210)
    at com.bea.ppg.rdbmsrealm.RDBMSDelegate$DFactory.newInstance(RDBMSDelegate.java:912)
    at weblogic.utils.reuse.Pool.getInstance(Pool.java:57)
    at com.bea.ppg.rdbmsrealm.RDBMSRealm.getDelegate(RDBMSRealm.java:115)
    at com.bea.ppg.rdbmsrealm.RDBMSRealm.getPermission(RDBMSRealm.java:515)
    at weblogic.security.acl.CachingRealm.getPermission(CachingRealm.java:1698)
    at weblogic.security.acl.CachingRealm.setupAcls(CachingRealm.java, Compiled Code)
    at weblogic.security.acl.CachingRealm.<init>(CachingRealm.java:706)
    at weblogic.security.acl.CachingRealm.<init>(CachingRealm.java:564)
    at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1750)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    D:\weblogic>goto finish
    D:\weblogic>cd Ppg
    D:\weblogic\Ppg>ENDLOCAL
    D:\weblogic\Ppg>

    John, this should be fairly easy to correct. Make sure that you are closing
    your prepared statements after you finish with then. Even if you have 3
    connections open and you don't close your statements, more connections will
    be opened to take care of need.
    Hope that this helps.
    Paul
    "John Wang" <[email protected]> wrote in message
    news:[email protected]...
    >
    All SQL server connections come from the code itself. As you see in themessage output, everytime when the server is initalizing a
    "prepareStatement(String sql)" which comes from RDBMSRealm, it is making a
    connection. When it starts the sixth, it is broken. In other words, to make
    the server start with RDMBSRealm, I have to have the number of SQL server
    licence at least the same as the number of "prepareStatement(String sql)" in
    RDBMSRrealm realm. Is my understanding correct here? Why is it still in
    connection mode after one "prepareStatement" is initialized? Any ideas?
    >
    Thanks.
    -John
    "Pete Cressman" <[email protected]> wrote:
    The same error? Hmm... the trace says:
    java.sql.SQLException: [MERANT][SQLServer JDBC Driver][SQLServer]Login
    failed. The maximum simultaneous user count of 5 licenses for this 'Standard
    Edition' server has been exceeded. Additional licenses should be obtained
    and installed or you should upgrade to a full version.
    >>
    Find out who is making so many connections. Sorry, that's the best I cansuggest. Good luck.
    >>
    "John Wang" <[email protected]> wrote:
    Hi Pete,
    Thanks for your help.
    As you suggested, I modified the value DEFAULT_POOL_SIZE = 2 or 1 and
    compiled it again. When I run, it still gave me the same error message. What
    could it be wrong?
    >>>
    -John
    "Pete Cressman" <[email protected]> wrote:
    RDBMSDelegates are pooled by RDBMSRealm. The connection in each
    RDBMSDelegate is held open until the class is disposed. the default pool
    size is 6. Your license is limited to 5 connections total. Modify the code
    in RDBMSRealm so DEFAULT_POOL_SIZE = 2 or 3.
    >>>>
    "John Wang" <[email protected]> wrote:
    Hi Everyone,
    I am implementing an application with Weblogic5.1, RDBMSRealm, Merant
    type 4 JDBC driver and SQL server 7.0. When I am starting
    the Weblogic server, I am getting an error as described as follows.Can anyone there give me a clue?
    >>>>>
    As you see, I am using Merant Spy JDBC driver (for debugging).
    With this kind of driver, any JDBC calls to database server
    in the code will be displayed.
    As you know, there are a quite number of "prepareStatement" fromRDBMSRealm. When the weblogic server is starting, they have to be
    initialized. I don't understand why it needs to make a connection for each
    "prepareStatement"?, and why it is still in connection mode after it is
    initialized?
    >>>>>
    Thanks a lot.
    -John
    Thu Jan 18 16:01:00 EST 2001:<I> <System Props> weblogic.system.home =Ppg
    Thu Jan 18 16:01:00 EST 2001:<I> <System Props> weblogic.system.name =PpgServer
    Thu Jan 18 16:01:00 EST 2001:<I> <WebLogicServer> Loaded License :D:/weblogic/license/WebLogicLicense.xml
    Thu Jan 18 16:01:00 EST 2001:<I> <WebLogicServer> Server loading fromweblogic.class.path. EJB redeployment enabled.
    registerDriver:driver[className=com.merant.datadirect.jdbc.sqlserver.SQLServerDriver,com.me
    rant.datadirect.jdbc.sqlserver.SQLServerDriver@d071d920]
    skipping:driver[className=weblogic.jdbc.pool.Driver,weblogic.jdbc.pool.Driver@fdd92d]
    spy>> Connection accepted by SQLServer
    spy>> OK (Connection[1])
    getConnection returningdriver[className=com.merant.jdbcspy.SpyDriver,com.merant.jdbcspy.SpyDriver@c
    ee1d920]
    >>>>>
    spy>> Connection[1].prepareStatement(String sql)
    spy>> sql = SELECT U_NAME, U_PASSWORD FROM users WHERE U_NAME = ?
    spy>> OK (PreparedStatement[1])
    spy>> Connection[1].prepareStatement(String sql)
    spy>> sql = SELECT A_NAME, A_PRINCIPAL, A_PERMISSION FROM aclentriesWHERE A_NA..
    spy>> OK (PreparedStatement[2])
    spy>> Connection[1].prepareStatement(String sql)
    spy>> sql = SELECT U_NAME, U_PASSWORD FROM users
    spy>> OK (PreparedStatement[3])
    spy>> Connection[1].prepareStatement(String sql)
    spy>> sql = SELECT GM_GROUP, GM_MEMBER FROM groupmembers ORDER BYGM_GROUP
    spy>> OK (PreparedStatement[4])
    spy>> Connection[1].prepareStatement(String sql)
    spy>> sql = SELECT A_NAME, A_PRINCIPAL, A_PERMISSION FROM aclentriesORDER BY A..
    spy>> java.sql.SQLException: [MERANT][SQLServer JDBCDriver[SQLServer]Login fa..
    java.sql.SQLException: [MERANT][SQLServer JDBC Driver][SQLServer]Login
    failed. The maximum simultaneous user count of 5 licenses for this 'Standard
    Edition' server has been exceeded. Additional licenses should be ob
    tained and installed or you should upgrade to a full version.
    atcom.merant.datadirect.jdbc.base.BaseExceptions.getException(BaseExceptions.j
    ava:72)
    atcom.merant.datadirect.jdbc.sqlserver.tds.TDSRequest.processErrorToken(TDSReq
    uest.java:401)
    atcom.merant.datadirect.jdbc.sqlserver.tds.TDSRequest.processReplyToken(TDSReq
    uest.java:1571)
    atcom.merant.datadirect.jdbc.sqlserver.tds.TDSLoginRequest.processReplyToken(T
    DSLoginRequest.java:549)
    atcom.merant.datadirect.jdbc.sqlserver.tds.TDSRequest.processTokensInReply(TDS
    Request.java, Compiled Code)
    atcom.merant.datadirect.jdbc.sqlserver.tds.TDSRequest.processReply(TDSRequest.
    java:1661)
    atcom.merant.datadirect.jdbc.sqlserver.SQLServerImplConnection.open(SQLServerI
    mplConnection.java:98)
    atcom.merant.datadirect.jdbc.base.BaseConnection.getNewImplConnection(BaseConn
    ection.java:405)
    atcom.merant.datadirect.jdbc.base.BaseConnection.getImplConnection(BaseConnect
    ion.java:333)
    atcom.merant.datadirect.jdbc.base.BaseStatement.getImplConnection(BaseStatemen
    t.java:1223)
    atcom.merant.datadirect.jdbc.base.BaseStatement.getImplStatement(BaseStatement
    .java:1241)
    atcom.merant.datadirect.jdbc.base.BasePreparedStatement.<init>(BasePreparedSta
    tement.java:63)
    atcom.merant.datadirect.jdbc.base.BaseConnection.prepareStatement(BaseConnecti
    on.java:960)
    at com.merant.jdbcspy.SpyConnection.prepareStatement(UnknownSource)
    atcom.bea.ppg.rdbmsrealm.RDBMSDelegate.prepare(RDBMSDelegate.java:116)
    atcom.bea.ppg.rdbmsrealm.RDBMSDelegate.<init>(RDBMSDelegate.java:187)
    atcom.bea.ppg.rdbmsrealm.RDBMSDelegate$DFactory.newInstance(RDBMSDelegate.java
    :912)
    at weblogic.utils.reuse.Pool.getInstance(Pool.java:57)
    atcom.bea.ppg.rdbmsrealm.RDBMSRealm.getDelegate(RDBMSRealm.java:115)
    atcom.bea.ppg.rdbmsrealm.RDBMSRealm.getPermission(RDBMSRealm.java:515)
    atweblogic.security.acl.CachingRealm.getPermission(CachingRealm.java:1698)
    atweblogic.security.acl.CachingRealm.setupAcls(CachingRealm.java, Compiled
    Code)
    atweblogic.security.acl.CachingRealm.<init>(CachingRealm.java:706)
    atweblogic.security.acl.CachingRealm.<init>(CachingRealm.java:564)
    atweblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1750)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    Unable to initialize server: com.bea.ppg.rdbmsrealm.RDBMSException:realm initialization failed, Connection.prepareStatement() failed on
    statement "SELECT A_NAME, A_PRINCIPAL, A_PERMISSION FROM aclentries ORDER BY
    A
    _NAME, A_PRINCIPAL", - with nested exception:
    [java.sql.SQLException: [MERANT][SQLServer JDBCDriver[SQLServer]Login failed. The maximum simultaneous user count of 5licenses for this 'Standard Edition' server has been exceeded. Additional
    licenses should be o
    btained and installed or you should upgrade to a full version.]
    fatal initialization exception
    com.bea.ppg.rdbmsrealm.RDBMSException: realm initialization failed,Connection.prepareStatement() failed on statement "SELECT A_NAME,
    A_PRINCIPAL, A_PERMISSION FROM aclentries ORDER BY A_NAME, A_PRINCIPAL", -
    with
    nested exception:
    [java.sql.SQLException: [MERANT][SQLServer JDBCDriver[SQLServer]Login failed. The maximum simultaneous user count of 5licenses for this 'Standard Edition' server has been exceeded. Additional
    licenses should be o
    btained and installed or you should upgrade to a full version.]
    atcom.bea.ppg.rdbmsrealm.RDBMSDelegate.<init>(RDBMSDelegate.java:210)
    atcom.bea.ppg.rdbmsrealm.RDBMSDelegate$DFactory.newInstance(RDBMSDelegate.java
    :912)
    at weblogic.utils.reuse.Pool.getInstance(Pool.java:57)
    atcom.bea.ppg.rdbmsrealm.RDBMSRealm.getDelegate(RDBMSRealm.java:115)
    atcom.bea.ppg.rdbmsrealm.RDBMSRealm.getPermission(RDBMSRealm.java:515)
    atweblogic.security.acl.CachingRealm.getPermission(CachingRealm.java:1698)
    atweblogic.security.acl.CachingRealm.setupAcls(CachingRealm.java, Compiled
    Code)
    atweblogic.security.acl.CachingRealm.<init>(CachingRealm.java:706)
    atweblogic.security.acl.CachingRealm.<init>(CachingRealm.java:564)
    atweblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1750)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    D:\weblogic>goto finish
    D:\weblogic>cd Ppg
    D:\weblogic\Ppg>ENDLOCAL
    D:\weblogic\Ppg>

  • STRUTS - JDBC connection problem

    im using tomcat 5.5.9, jdk 1.5, oracle database...
    � have a project in struts...
    my project works with my compiler with no problem...
    *i setup tomcat on C:\jakarta-tomcat-5.5.9
    and � made these setting for tomcat:
    � added these strings to my CLASSPATH
    --C:\jakarta-tomcat-5.5.9\common\lib\servlet-api.jar
    --C:\jakarta-tomcat-5.5.9\common\lib\jsp-api.jar
    after � deployed my project under tomcat there was a "classes12.zip" file under this path:
    C:\jakarta-tomcat-5.5.9\webapps\BILGISU\WEB-INF\lib
    � changed it to class.jar
    also � have other .jars under the same path above.
    these jars are:
    classes12.jar
    commons-beanutils.jar
    commons-collections.jar
    commons-dbcp.jar
    commons-digester.jar
    commons-fileupload.jar
    commons-lang.jar
    commons-logging.jar
    commons-pool.jar
    commons-validator.jar
    jakarta-oro.jar
    jdbc2_0-stdext.jar
    struts.jar
    struts-legacy.jar
    THE PROBLEM IS:
    my index page is a "login" page..
    i can open the login page under tomcat.
    but when � enter the username and password, page says it is wrong username or password although these are true parameters...
    i think i still have a connection problem but � dont know how to solve...
    MY SEARCHES SAYS:
    you have to reconfigure "C:\jakarta-tomcat-5.5.9\conf\server.xml" like that:
    <Resource name="jdbc/myoracle"
    auth="Container"
    type="javax.sql.DataSource"
    driverClassName="oracle.jdbc.driver.OracleDriver"
    url="jdbc:oracle:thin:[email protected]:1521:mysid"
    username="scott"
    password="tiger"
    maxActive="20"
    maxIdle="10"
    maxWait="-1"/>
    Resource name="jdbc/myoracle" ->HERE WHAT IS "myoracle"??? DOES IT BELONG TO MY PROJECT?
    you have to reconfigure "C:\jakarta-tomcat-5.5.9\conf\web.xml" like that:
    <resource-ref>
    <description>Oracle Datasource example</description>
    <res-ref-name>jdbc/myoracle</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    will i write this to my web.xml
    and what is "auth=Container" here???????
    thanks in advance
    yasin

    ONE MORE QUESTION
    Im defining the datasource in my "struts-config.xml"
    do i have to define them again in "tomcat/conf/server.xml" ...

  • Connection problem from datasource

    Hi,
    We have created 2 datasources in weblogic 9 and we deployed the webservice with out any issues.but we are not able to get the connection from datasource.We are not able to call the get.connection.
    Can you please help on this whether we need to change any settings for the datasources.
    Thanks,
    Milind

    Hi Milind,
    How your WebService is trying to get the Jdbc Connections? Can u please paste the Code snippet?
    Also can u please check in the AdminConsole in the JNDI tree of the respective server (where u are eploying your WebService) that the DataSource JNDI name is binded or not?
    As you mentioned that you are not able to cal "getConnection" can u please paste the StackTrace or the Error as well....
    Thanks
    Jay SenSharma

  • Getting Exception in jdbc connection got from DataSource in Oracle AS

    Hi
    i am using data source in my application.
    When my application is invoked it gets the jdbc connection from the data source, performs set of operations and then releases the connection.
    But if the application is invoked after a long time e.g. 10 hours then i get the following exceptions which i have logged:
    Io exception: Connection reset
    and the other exception is given below:
    Closed Connection
    The data-sources.xml is as follows:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE data-sources PUBLIC "Orion data-sources" "http://xmlns.oracle.com/ias/dtds/data-sources.dtd">
    <data-sources>
    <data-source
    name="MYDS"
    class="oracle.jdbc.pool.OracleConnectionCacheImpl"
    location="jdbc/myDSCON"
    connection-driver="oracle.jdbc.driver.OracleDriver"
    username="xxxxxxxx"
    password="xxxxxxxx"
    url="jdbc:oracle:thin:@localhost:1521:orcl"
    inactivity-timeout="30"
    max-connections="100" >
    <property name="cacheScheme" value="1" />
    </data-source>
    </data-sources>
    Please let me know what is wrong with my application or configuration setting or something is wrong with oracle application server.

    Hi,
    I found one solution which is for 10.1.2.x and i am using Oc4j 10.1.3.1 but solution is below
    Solution
    There is a new setting called "ValidateConnections" from 10.1.2.x. This setting will make sure to check the validity of the connections before it is assigned to the application.
    1. Download and apply the patch for unpublished bug 4305639 for your current 10.1.2.x version. If a patch is not already available then please submit a backport request to get the patch to your version.
    2. Set the command line option "-DValidateConnections=true" and restart the container. This can be set via EM AS control or by manually updating opmn.xml file. After the changes the options should look like
    <process-type id="oc4j_test1" module-id="OC4J">
    <module-data>
    <category id="start-parameters">
    <data id="java-options" value="-server -Djava.security.policy=/opt/oracle/jw101202/j2ee/oc4j_test1/config/java2.policy -Djava.awt.headless=true -DValidateConnections=true" />
    <data id="oc4j-options" value="-properties"/>
    Regards,

  • Test JDBC connection problem

    Hi all,
    I got a very weird problem when I click Test Connection Button.
    I installed xml publisher Enterprise 5.6.2 in the server, I attempt to configure Jdbc connection in this server. once I click the Test Connection Button after I input all information, all information will be cleaned in this server, i can not get any message if the connection works well.But if i use url like http://serverIP:15101/xmlpserver/ to login xml publisher on other machine, I will get successful or error message.
    who has same experience in JDBC configuration?how to solve it ,thanks in advance.

    Apologies ... not really sure what the issue is. I assume you are talking about setting up the JDBC connection for a data source?
    In that case the entries would be something like:
    connection string: jdbc:oracle:thin:@host.company.com:1525:ora10g
    un: oe
    pw oe
    driver class: oracle.jdbc.driver.OracleDriver

  • MS SQL Server 2K JDBC Connection Problem

    Hi,
    I have installed Sql Server 2000 with mixed mode authentication. I am able to connect to connect through ODBC with both Windows and server authentication.
    The same when i try with JDBC, i am not able to connect. I have added the driver jars to the classpath also.
    Heres the Code :
    try{
    Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
    con = java.sql.DriverManager.getConnection("jdbc:microsoft:sqlserver://localhost:1433;databaseName=pubs","sa","");
    if(con!=null) System.out.println("Connection Successful!");
    }catch(Exception e){
    e.printStackTrace();
    System.out.println("Error Trace in getConnection() : " + e.getMessage());
    Here is the error :
    java.lang.ClassNotFoundException: com.microsoft.jdbc.sqlserver.SQLServerDriver
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:281)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:115)
    at Connect.main(Connect.java:31)
    Error Trace in getConnection() : com.microsoft.jdbc.sqlserver.SQLServerDriver
    Kindly help.
    Thanks in Advance

    Thanks for the reply.
    I am not using any IDE, but the problem exists if i
    add the jar files into my classpath. I extracted the
    required files as suggested and tried, this time it
    works fine.
    If anyone could let me know why this problem is
    occuring it would be helpful.
    Thanks once againIt occured because MS didn't package their jar properly. You could try to re-jar the files or use a driver from another vendor.

  • Semmingly intractable JDBC connect problem

    Greetings,
    I am having massive difficulties getting our application to talk to our oracle database. We've (probably unwisely) upgraded the OS to RH9, the database to Oracle 9i and the JDK to 1.3.1 (from RH7, 8i and 1.2).
    The problem is that when I try to connect via JDBC in a jsp, it hangs for a long time and comes back with "ServletException: Io exception: the Network Adaptor could not make the connection." This seems to be a common problem, but I have worked extensively on this, and have tried all the posted remedies I can find: connect URL is verifiably correct, database/listener running, path, networking, different connect methods, etc.
    At a low level, what happens is that the listener establishes the connection, but never recieves a reply back, and I can't determine whether oracle is failing (no trace/log seems to support it) or if JDBC is failing. Since all I get is "Connection failed" in a single method call, I'm not sure how to diagnose that.
    Has anybody seen this before? It's killing me
    Thanks,
    --M                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Can you run a simple app that connects to Oracle successfully, no Tomcat or JSPs involved? I'd try that, if you haven't already.
    Here's a simple Java app that will let you try it:
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    public class ConnectionTest
        public static void main(String [] args)
            try
                if (args.length > 0)
                    Connection connection = ConnectionTest.getConnection(args[0]);
                    DatabaseMetaData meta = connection.getMetaData();
                    System.out.println("Database product: " + meta.getDatabaseProductName());
                    System.out.println("JDBC driver     : " + meta.getDriverName());
                    connection.close();
                else
                    System.out.println("No properties file given");
            catch (SQLException e)
                System.err.println("SQL state: " + e.getSQLState());
                System.err.println("SQL error: " + e.getErrorCode());
                e.printStackTrace(System.err);
            catch (Exception e)
                e.printStackTrace(System.err);
        public static Connection getConnection(final String propertiesName)
            throws ClassNotFoundException, SQLException,IOException
            Properties props=new Properties();
            FileInputStream in=new FileInputStream(propertiesName);
            props.load(in);
            in.close();
            String drivers=props.getProperty("jdbc.driver");
            Class.forName(drivers);
            String url=props.getProperty("jdbc.url");
            String username=props.getProperty("jdbc.username");
            String password=props.getProperty("jdbc.password");
            System.out.println("driver  : " + drivers);
            System.out.println("url     : " + url);
            System.out.println("username: " + username);
            System.out.println("password: " + password);
            return DriverManager.getConnection(url, username, password);
    }Save these properties (changed to your values) to ConnectionTest.properties:
    jdbc.driver     = oracle.jdbc.driver.OracleDriver
    jdbc.url        = jdbc:oracle:thin:@host:1521:SID
    jdbc.username   = username
    jdbc.password   = passwordCompile like this:
    javac ConnectionTest.javaRun like this (assuming ConnectionTest.properties and classes12.jar are in the same directory as ConnectionTest.class):
    java -classpath .:classes.12.jar ConnectionTest ConnectionTest.propertiesIt'll come back and tell you the database vendor name if the connection succeeds. - MOD
    MOD

  • Connection Problem from Client ?

    I can connect to database for SYS and SYSTEM but not for any other USER using JDBC (Oracle (Thin driver))
    Connection URL: jdbc:oracle:thin:@localhost:1521:xe
    USER Name: System
    Password:*****
    If I use other user then it give me problem.
    ERROR:
    ORA-01017: invalid username/password; logon denied
    jar file I tried are ojdbc6.jar and ojdbc14 seperately.
    =================
    SQLPlus from command line work fine
    1) sqlplus system/password@xe
    2) sqlplus sys/password@xe as sysdba
    3) sqlplus aaron/password@xe as sysdba
    when I tried
    sqlplus aaron/password@xe
    I got following error.
    ERROR:
    ORA-01017: invalid username/password; logon denied
    ==============
    Thanks
    AR

    Hello Aaron,
    how did you create you user? Did you notice that starting with 11g passwords are now case sensitive?
    -Udo

Maybe you are looking for

  • 64 bit installation in Lightroom 2 for MAC

    The readme file that came with Lightroom 2 for MAC states: "Mac: Lightroom 2 is a 32-bit application by default. For customers using OS X 10.5 on an Intel-based computer, Lightroom 2.0 can be used as a 64-bit application by selecting Adobe Lightroom

  • Why Aren't Albums Showing Up?/Should I Upgrade My iPod To The 4G?

    I recently purchased two new CDs and I uploaded them earlier this morning and put them on my ipod touch 3G. When I checked my ipod to make sure they were all there one of them isn't in the album list. It's not under compilations. It IS on the ipod bu

  • How to consider the Bank overdraft Accounts in SAP

    Hi, If there is any overdraft in Bank Current Account the client is asking that it should reflect on Liabilities side and if it has a debit balance it should show on Assets side. Is it possible if we create only one account depending on the balance i

  • I recently downloaded Aperture 3 from itunes. I have a problem with faces.

    I recently downloaded Aperture 3 from itunes. I have a problem with Faces. In Faces Mode when a particular face is selected it is wrongly including, from the 11.5k photos in my Aperture library, people with different names and photos where people hav

  • Need help with java browser "Back" button

    All: I'm trying to make the "Back" button in my Java web browser work. Any help would be greatly appreciated. Here is my code: import javax.swing.*; import java.net.*; import java.awt.*; import java.awt.event.*; import javax.swing.event.*; import jav