Thin client connection to Unix with RMI

Hi All and thanks for reading this.
I am trying to run an application with a swing user interface on the client - a Windows box, and the work engine on the server - a unix box. I am trying to use rmi to communicate between the two. When I stay in the windows world, everthing works just fine. Unfortunately, not so fine when mixing the windows and unix worlds.
I have started the rmi registry on the server and am able to bind the work engine to the registry.
When I start up the client GUI and submit a job to the server, using an oracle jdbc thin client, I get the following null pointer exception at the time the application asks for its first connection:
// message when rebind occurs
DrillDownEngine bound
// start of execution of Implementation class
[dde.DrillDownEngine] Entered DrillDownEngine.executeTask [dde.OrderEntryList] Entered execute() in OrderEntryList
[dde.OrderEntryList] Have a new thread LIST: Order: 084146Qty: 1.0
// from within the thread as it is run by the server
[dde.OrderEntryList] Entered run() for thread in OrderEntryList
[dde.OrderEntryList] Value of currentThread = LIST: Order: 084146Qty: 1.0
[dde.OrderEntryList] About to look for sales report with report name = Cost Of S
ales
[dde.OrderEntryList] About to execute SalesDrilldownRun
[dde.SalesDrilldownRun] Entered DrilldownRun with runType of Cost of Sales
// just prior to first attemp to get a connection
[dde.SalesDrilldownRun] Run initialization prior to Table Instantiation
[dde.SalesDrilldownRun] Drilldown Run terminated
Error: null
Stack:
java.lang.NullPointerException
at oracle.jdbc.ttc7.O3log.marshal(O3log.java:612)
at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:258)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:362)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
va:536)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:328)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
// from here down the stack is in my application code
at pool.JDBCConnectionPool.getConnection(JDBCConnectionPool.java:132)
at data.DbTbl.<init>(DbTbl.java:92)
at ifsData.IfsDetTbl.<init>(IfsDetTbl.java:45)
at dde.DrilldownRun.init(DrilldownRun.java:121)
at dde.DrilldownRun.<init>(DrilldownRun.java:103)
at dde.SalesDrilldownRun.<init>(SalesDrilldownRun.java:36)
at dde.OrderEntryList.run(OrderEntryList.java:131)
None of the 3 arguments passed in the getConnection method is null.
Couldn't find anything about this type of error in Java or Oracle documentation.
Do you think this is a JDBC problem or an RMI problem?
Am now trying to make a connection using oci instead of thin client, but am now encountering security permissions problems - which I will ask about in another post just to try to keep things simpler.
Thanks in advance for any suggestions.

It turns out that there is a problem with the Oracle 9.2 dirvers for jdbc. If anyone experiences similar problems, roll back to version 9.0.1
I was using jdk1.4 and Oracle 9i.
Thanks

Similar Messages

  • Thin Client connection not failing over

    I'm using the following thin client connection and the sessions do not failover. Test with SQLPLUS and the sessions do fail over. One difference I see between the two different connections is the thin connection has NONE for the failover_method and failover_type but the SQLPLUS connection show BASIC for failover_method and SELECT for failover_type.
    Is there any issues with the thin client the version is 10.2.0.3
    jdbc:oracle:thin:@(description=(address_list=(load_balance=YES)(address=(protocol=tcp)(host=crpu306-vip.wm.com)(port=1521))(address=(protocol=tcp)(host=crpu307-vip.wm.com)(port=1521)))(connect_data=(service_name=ocsqat02)(failover_mode=(type=select)(method=basic)(DELAY=5)(RETRIES=180))))

    You have to use (FAILOVER=on) as well on jdbc url.
    http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/advcfg.htm#sthref1292
    Example: TAF with Connect-Time Failover and Client Load Balancing
    Implement TAF with connect-time failover and client load balancing for multiple addresses. In the following example, Oracle Net connects randomly to one of the protocol addresses on sales1-server or sales2-server. If the instance fails after the connection, the TAF application fails over to the other node's listener, reserving any SELECT statements in progress.sales.us.acme.com=
    (DESCRIPTION=
    *(LOAD_BALANCE=on)*
    *(FAILOVER=on)*
    (ADDRESS=
    (PROTOCOL=tcp)
    (HOST=sales1-server)
    (PORT=1521))
    (ADDRESS=
    (PROTOCOL=tcp)
    (HOST=sales2-server)
    (PORT=1521))
    (CONNECT_DATA=
    (SERVICE_NAME=sales.us.acme.com)
    *(FAILOVER_MODE=*
    *(TYPE=select)*
    *(METHOD=basic))))*
    Example: TAF Retrying a Connection
    TAF also provides the ability to automatically retry connecting if the first connection attempt fails with the RETRIES and DELAY parameters. In the following example, Oracle Net tries to reconnect to the listener on sales1-server. If the failover connection fails, Oracle Net waits 15 seconds before trying to reconnect again. Oracle Net attempts to reconnect up to 20 times.sales.us.acme.com=
    (DESCRIPTION=
    (ADDRESS=
    (PROTOCOL=tcp)
    (HOST=sales1-server)
    (PORT=1521))
    (CONNECT_DATA=
    (SERVICE_NAME=sales.us.acme.com)
    *(FAILOVER_MODE=*
    *(TYPE=select)*
    *(METHOD=basic)*
    *(RETRIES=20)*
    *(DELAY=15))))*

  • Client connection using UNIX Domain Socket

    Hello all,
    I am getting the following error when I try to connect from a 32-bit TimesTen client to the 64-bit TimesTen data manager via UNIX domain socket.
    NOTE: I can make SHM connections from 32-bit client to 64-bit server though.
    # ttisqlcs test_uds
    Copyright (c) 1996-2007, Oracle. All rights reserved.
    Type ? or "help" for help, type "exit" to quit ttIsql.
    All commands must end with a semicolon character.
    connect "DSN=test_uds";
    08001: Unable to connect to data source (DSN: test_uds; Network Address: ttLocalHost; Port Number: 18003). Please refer to TimesTen Server log to see if connection over UNIX domain socket is allowed at this point in time
    The command failed.
    Done.
    Both 32-bit client and 64-bit server processes run on the same box. I do not see any errors in the user or server log files.
    Entry in sys.ttconnect.ini file
    [ttLocalHost-tt_704_dev]
    Description=TimesTen Server
    Network_Address=ttLocalHost
    TCP_PORT=18003
    Entry in sys.odbc.ini file
    [test_uds]
    Driver=/ttsoft/TimesTen32/TimesTen/tt70_32/lib/libttclient.so
    TTC_SERVER=ttLocalHost-tt_704_dev
    TTC_SERVER_DSN=test
    Thanks,
    Senthil.

    Could this be bug 4950822? This was documented in the 6.0.3 Release Notes "Known Limitations" section:
    "On Unix, when using ttlocalhost, a client of one TimesTen instance cannot connect with a server of another TimesTen instance. The workaround is to use ttShmHost (shared memory IPC) or localhost (127.0.0.1)."
    The error message received matches the one you're seeing.

  • HELP! Having trouble connecting to EJB with RMI client

    I've got a simple stateless session EJB deployed and I'm trying to connect
    to it using a standalone
    RMI client. I'm getting the following error back when I first do a
    context.lookup("ejb/beanname"):
    org.omg.CORBA.COMM_FAILURE: minor code: 1 completed: Maybe
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Exception.java:42)
    at java.lang.RuntimeException.<init>(RuntimeException.java:47)
    at org.omg.CORBA.SystemException.<init>(SystemException.java:49)
    at org.omg.CORBA.COMM_FAILURE.<init>(COMM_FAILURE.java:77)
    at org.omg.CORBA.COMM_FAILURE.<init>(COMM_FAILURE.java:63)
    at
    com.sun.corba.ee.internal.iiop.IIOPConnection.purge_calls(Compiled Code)
    at com.sun.corba.ee.internal.iiop.ReaderThread.run(Compiled Code)
    Any troubleshooting advice would be greatly appreciated.
    BTW: After this error, iPlanet's cxs process seems to die! Until I restart
    cxs I get no connection failures
    of the form:
    javax.naming.CommunicationException:
    Cannot connect to ORB. Root exception is org.omg.CORBA.COMM_FAILURE:
    minor code: 1398079490 completed: No
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.lang.RuntimeException.<init>(RuntimeException.java:47)
    at org.omg.CORBA.SystemException.<init>(SystemException.java:49)
    at org.omg.CORBA.COMM_FAILURE.<init>(Compiled Code)
    at org.omg.CORBA.COMM_FAILURE.<init>(Compiled Code)
    at com.sun.corba.ee.internal.iiop.IIOPConnection.writeLock(Compiled
    Code)
    at com.sun.corba.ee.internal.iiop.IIOPConnection.send(Compiled Code)
    at com.sun.corba.ee.internal.iiop.IIOPOutputStream.invoke(Compiled
    Code)
    at
    com.sun.corba.ee.internal.iiop.ClientRequestImpl.invoke(ClientRequestImpl.ja
    va:74)
    at
    com.sun.corba.ee.internal.corba.ClientDelegate.invoke(ClientDelegate.java:16
    0)
    at
    com.sun.corba.ee.internal.corba.InitialNamingClient.resolve(InitialNamingCli
    ent.java:199)
    at
    com.sun.corba.ee.internal.corba.InitialNamingClient.cachedInitialReferences(
    InitialNamingClient.java:278)
    at
    com.sun.corba.ee.internal.corba.InitialNamingClient.resolve_initial_referenc
    es(InitialNamingClient.java:187)
    at
    com.sun.corba.ee.internal.corba.ORB.resolve_initial_references(ORB.java:1422
    at
    com.sun.corba.ee.internal.POA.POAORB.resolve_initial_references(POAORB.java:
    541)
    at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:252)
    at com.sun.jndi.cosnaming.CNCtx.initUsingUrl(Compiled Code)
    at
    com.sun.jndi.cosnaming.CNCtx.initOrbAndRootContext(CNCtx.java:185)
    at com.sun.jndi.cosnaming.CNCtx.<init>(CNCtx.java:72)
    .... stuff deleted....
    Is RMI client support in iPlanet 6.0 truly this buggy or am I missing
    something?
    Jack Profit
    [email protected]

    Make sure to review the Converter sample and employ all of the workarounds
    listed there.
    David
    Jack Profit wrote:
    I've got a simple stateless session EJB deployed and I'm trying to connect
    to it using a standalone
    RMI client. I'm getting the following error back when I first do a
    context.lookup("ejb/beanname"):

  • AP server client connection on SoH with System Replication

    Hi Experts
    I'm using Business Suite on HANA with  System Replication for HA purpose.
    As client access from ABAP server to HANA DB, I use DNS redirection.
    When I takeover to secondary system & after DNS redirection, the working process of user client (SAPGUI)  remains for a while until rdisp/max_wprun_time's limit.
    (means it not automatically restart process.)
    After creating new session from SAPGUI, it works correctly.
    Is this normal procedure?
    If it automatically re-connect with new DB connection, it would be useful.
    BR
    Yoh

    Thanks for the response
    I think I understand what you are saying, I just want to make sure I get it fully. I need to create a separate thread that runs just my connection process to make sure that the processes actually occur? If so, how would I go about doing this?
    Thanks again

  • Clients connect to wifi with certificate that expires every month - correct way to handle expired certificates?

    Hi all
    I'm sorry if this is the wrong forum to ask this question. Also my knowledge in this area is somewhat limited, which I why I need your help :-)
    We use wireless networks primarily in my company for all our clients and use a certificate to authenticate to the network. This certificate expires after 1 month and we automatically renew them 1 week before expiry. Relatively often we have users that
    are not connected to the network for a few weeks or more and then the certificate expires before being renewed. Then we have to connect them to the wired network to get the certificate updated, so they can connect to the wireless network again.
    What is the correct approach to solve this issue? We feel extending the life of the certificate would be a too big security compromise. Is there some way you could automatically allow an expired certificate briefly with the sole purpose of renewing the certificate?
    Or how would you normally resolve this issue?
    Thanks for any help/knowledge you can provide :-)

    > Setting the validity period that high, means that the certificate could be cracked before expiry.
    then you should be scary of CAs which validity is 10 or more years. And they use the same cryptography as end-entity certificates (key length and signature algorithms). It is a paranoya. Just make sure if client certificates use at least 2048 bit long
    keys and use SHA1 (or better) signature algorithm. In this case there is a little chance that certificate will be successfully cracked in 2 years.
    If there is an evidence (or indications) of client private key compromise -- immediately revoke the certificate and publish new CRL ASAP. You cannot protect clients from key compromise by using short-living certificates, because key compromise is ususally
    achieved by gaining a control over the private key (malware on client computer). Therefore, there is nothing wrong in issuing client certificates with 1 or 2 year validity.
    My weblog: en-us.sysadmins.lv
    PowerShell PKI Module: pspki.codeplex.com
    PowerShell Cmdlet Help Editor pscmdlethelpeditor.codeplex.com
    Check out new: SSL Certificate Verifier
    Check out new:
    PowerShell FCIV tool.

  • Using SBO with Wyse Winterm S30 Thin Clients

    I have a customer who is using Microsoft Terminal Services via Wyse Winterm S30 Thin cllents to access SBO over a VPN.  We are experiencing excessive rolling (redisplay) when screens are refreshed. The problem is compounded if a Marketing Document contains multiple Text lines. We have two terminal servers, each with about 12 thin clients connected.
    I would appreciate feedback from anyone with experience of using thin clients, regardless of brand.

    Hi,
    Thin clients normally have a low memory allocation on the video card (8mb to 16MB) so this can be a problem.  Check to see if you can change this in the BIOS on the WYSE.  If not connect at 256 Colours to reduce this.  If you have pictures linked to products then their resolution will not be good but for SAP itself the difference is small.  Also rename the SAPSS.AVI to .old if you have not already done so so that the splash screen does not come up when logging in.
    In my multimedia testing on thin clients, unrelated to SBO, I found that both memory and processor power made a huge difference, which is contrary to thin client manufacturer claims.  As an example I used a 200MHz/64MB TC for a flash application and sound was about 3 seconds behind the image and the image update would skip 3 to 5 frames when updating.  Moving to a 800Mhz/128MB TC The frame refresh rate was almost perfect and the sound was only about 0.5 seconds behind.  I would therefore test on a more powerful thin client to see if it improves performance.
    The S30 is a 400MHz (rated @ 533 on performance by AMD).   Try a 1GHz TC with the maximum Video memory you can find.
    We are currently using VXL Itona 800Mhz/128MB and do not experience too much rolling but we are using 256 colours.
    Hope this helps.

  • Make a test with thin client

    Hi all,
    I'm facing a strange boring problem. I've a tomcat runs a webapp that using thin client connects to a remote DB.
    From about a week is not able to connect anymore. Java hangs and report this error:
    java.sql.SQLException: Io exception: Connection reset
    So I've no firewall and listener is correctly working. Telnet to listener is working.
    Does anyone has a simple java class to run to make a connection test?
    Thanks
    Stefano

    Use preparedStatement either like this
    String query = update tableName set datefield= TO_DATE(?, 'YYYY-MM-DD HH24:MI') where id= ? ";
    and setString(1, string);
    or
    String query = "update tableName set datefield= ? where id= ?";
    and setTimestamp() or setDate () depends what you need in your date field .
    Bets regads Alexey.

  • TNS: connection closed error with SQL*net

    Hi all,
    I've got a new installation of Oracle 11.1.0.6.0 enterprise (Linux). It works fine with direct sqlplus connections but I'm having problems with SQL*net and JDBC thin client connections.
    The database is built correctly and works fine:
    user@cthulhu bash[61]: sqlplus user/pwd
    SQL*Plus: Release 11.1.0.6.0 - Production on Mon Aug 4 12:59:53 2008
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    PL/SQL Release 11.1.0.6.0 - Production
    CORE 11.1.0.6.0 Production
    TNS for Linux: Version 11.1.0.6.0 - Production
    NLSRTL Version 11.1.0.6.0 - Production
    SQL>
    but if I try to connect using SQL*net I get errors. I have my TNS listener configured and it starts without errors, reporting the database as a service, and tnsping is fine:
    user@cthulhu bash[62]: tnsping cthulhu_mar
    TNS Ping Utility for Linux: Version 11.1.0.6.0 - Production on 04-AUG-2008 13:02:07
    Copyright (c) 1997, 2007, Oracle. All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=TCP)(HOST=192.168.2.30)(PORT=1521)) (CONNECT_DATA=(SID=mar)))
    OK (10 msec)
    user@cthulhu bash[63]: sqlplus user/pwd@cthulhu_mar
    SQL*Plus: Release 11.1.0.6.0 - Production on Mon Aug 4 13:02:41 2008
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    ERROR:
    ORA-12537: TNS:connection closed
    Enter user-name:
    In listener.log:
    Mon Aug 04 13:02:41 2008
    04-AUG-2008 13:02:41 * (CONNECT_DATA=(SID=mar)(CID=(PROGRAM=sqlplus)(HOST=cthulhu)(USER=marbur))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.2.30)(PORT=41754)) * establish * mar * 12518
    TNS-12518: TNS:listener could not hand off client connection
    TNS-12547: TNS:lost contact
    TNS-12560: TNS:protocol adapter error
    TNS-00517: Lost contact
    Linux Error: 32: Broken pipe
    This is a new instance of Oracle so there is no problem with listener.log being too large (as I've seen elsewhere). I've also tried increasing PROCESSES and SESSIONS in the initSID.ora file without any impact. The listener ports are open through the firewall (and disabling it temporarily makes no difference).
    Any suggestions?!
    Thanks, Matt

    This means nothing to me, but it could to someone else......
    from listener trace:
    2008-08-04 16:19:05.135381 : nlpcaini:env[161] = OLDPWD=/u01/app/oracle/product/11.1.0/db_1
    2008-08-04 16:19:05.135407 : nlpcaini:env[162] = ORA_NET2_DESC=12,15
    2008-08-04 16:19:05.135432 : nlpcaini:env[163] = ORACLE_SPAWNED_PROCESS=1
    2008-08-04 16:19:05.135465 : nlpcaini:exit
    2008-08-04 16:19:05.135498 : nsc2addr:normal exit
    2008-08-04 16:19:05.135536 : nsbeqaddr:entry
    2008-08-04 16:19:05.135566 : nsbeqaddr:connecting...
    2008-08-04 16:19:05.135603 : nsopen:entry
    2008-08-04 16:19:05.135633 : nsmal:entry
    2008-08-04 16:19:05.135667 : nsmal:1012 bytes at 0x81a8538
    2008-08-04 16:19:05.135694 : nsmal:normal exit
    2008-08-04 16:19:05.135722 : nsopenmplx:entry
    2008-08-04 16:19:05.135749 : nsmal:entry
    2008-08-04 16:19:05.135779 : nsmal:2020 bytes at 0x81a8930
    2008-08-04 16:19:05.135804 : nsmal:normal exit
    2008-08-04 16:19:05.135831 : nsiorini:entry
    2008-08-04 16:19:05.135861 : nsbal:entry
    2008-08-04 16:19:05.135889 : nsbgetfl:entry
    2008-08-04 16:19:05.135918 : nsbgetfl:normal exit
    2008-08-04 16:19:05.135966 : nsmal:entry
    2008-08-04 16:19:05.135995 : nsmal:84 bytes at 0x81b3dd8
    2008-08-04 16:19:05.136020 : nsmal:normal exit
    2008-08-04 16:19:05.136057 : nsbal:normal exit
    2008-08-04 16:19:05.136085 : nsiorini:exit (0)
    2008-08-04 16:19:05.136112 : nscpxget:entry
    2008-08-04 16:19:05.136139 : nscpxget:normal exit
    2008-08-04 16:19:05.136168 : nsopenalloc_nsntx:nlhthput on mplx_ht_nsgbu:ctx=81a8538, nsntx=81a8930
    2008-08-04 16:19:05.136196 : nsopenmplx:normal exit
    2008-08-04 16:19:05.136225 : ntpcon:entry
    2008-08-04 16:19:05.136253 : ntpcon:toc = 6
    2008-08-04 16:19:05.136283 : ntpcon:exit
    2008-08-04 16:19:05.136313 : nsopen:opening transport...
    2008-08-04 16:19:05.136341 : ntpcon:entry
    2008-08-04 16:19:05.136367 : ntpcon:toc = 1
    2008-08-04 16:19:05.136404 : sntpcall:entry
    2008-08-04 16:19:05.157048 : sntpcall:detaching from parent with additional fork
    2008-08-04 16:19:05.157304 : sntpcall:hdl[IR]=17, hdl[IW]=16
    2008-08-04 16:19:05.157350 : ntpcon:exit
    2008-08-04 16:19:05.157390 : nserror:entry
    2008-08-04 16:19:05.157428 : nsoptions:entry
    2008-08-04 16:19:05.157459 : nsoptions:lcl[0]=0x0, lcl[1]=0x2006, gbl[0]=0x0, gbl[1]=0x0, cha=0x0
    2008-08-04 16:19:05.157488 : nsoptions:Vectored IO not supported.
    2008-08-04 16:19:05.157518 : nsoptions:lcl[0]=0xf4ffe9ff, lcl[1]=0x6016, gbl[0]=0xe881, gbl[1]=0x0
    2008-08-04 16:19:05.157545 : nsoptions:normal exit
    2008-08-04 16:19:05.157574 : nsnainit:entry
    2008-08-04 16:19:05.157603 : nsnainit:normal exit
    2008-08-04 16:19:05.157642 : nsopen:global context check-in (to slot 6) complete
    2008-08-04 16:19:05.157675 : nsopen:lcl[0]=0xf4ffe9ff, lcl[1]=0x6016, gbl[0]=0xe881, gbl[1]=0x0, tdu=4096, sdu=8192
    2008-08-04 16:19:05.157706 : nsfull_opn:entry
    2008-08-04 16:19:05.157735 : nsfull_opn:cid=6, opcode=65, bl=0, what=0, uflgs=0x0, cflgs=0x0
    2008-08-04 16:19:05.157761 : nsfull_opn:nsctx: state=7, flg=0x4001, mvd=0
    2008-08-04 16:19:05.157790 : nsfull_opn:normal exit
    2008-08-04 16:19:05.157816 : nsopen:normal exit
    2008-08-04 16:19:05.157854 : nsevreg:entry
    2008-08-04 16:19:05.157884 : nsevreg:begin registration process for 6
    2008-08-04 16:19:05.157912 : nsevregPrePost:entry
    2008-08-04 16:19:05.157940 : nsevregPrePost:normal exit
    2008-08-04 16:19:05.157968 : nsevreg:sgt=0, evn=1, evt[2]=0x0
    2008-08-04 16:19:05.157996 : nsevreg:begin notification process for 6
    2008-08-04 16:19:05.158022 : nsevregAffectNotif:entry
    2008-08-04 16:19:05.158050 : nsevregAffectNotif:exit (0)
    2008-08-04 16:19:05.158078 : nsevreg:rdm=0, sgt=0, evt[0]=0x800, [1]=0x800, [2]=0x0, nrg=0
    2008-08-04 16:19:05.158105 : nsevreg:registering for 0x800
    2008-08-04 16:19:05.158135 : ntpctl:entry
    2008-08-04 16:19:05.158162 : ntpctl:exit
    2008-08-04 16:19:05.158203 : nsevreg:normal exit
    2008-08-04 16:19:05.158260 : nsbeqaddr:error exit
    2008-08-04 16:19:05.158289 : nsbequeath:error exit
    2008-08-04 16:19:05.158342 : nsglhe:exit

  • Runtime error - class not found using JDBC driver and thin client

    Hi,
    We are running a small Java application on a Sun server which acts as a thin client connecting to an Oracle 8i server running on a different server.
    JDK version: 1.3.1_01
    OS version: Solaris 7
    JDBC classes file: classes12.zip
    It compiles fine, but get a runtime error (the DriverManager.registerDriver method )
    cruncher [40]% javac -classpath /export/home/mrscot/classes12.zip JDBCtest.java
    cruncher [41]% java JDBCtest
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver
    at JDBCtest.main(JDBCtest.java:7)
    cruncher [42]%
    Program:
    import java.sql.*;
    import java.math.*;
    class JDBCtest {
    public static void main (String args []) throws SQLException {
    try {
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Connection conn = DriverManager.getConnection(
    "jdbc:oracle:thin@xxxxxxxxx:1521:xxxx", <userid>,<password>);
    Statement stmt = conn.createStatement ();
    ResultSet rset = stmt.executeQuery (".............");
    while (rset.next ())
    System.out.println (rset.getString ("......."));
    rset.close();
    stmt.close();
    conn.close();
    } catch (Exception e) {
    System.out.println("Error: " + e);
    Any ideas? Probably something very, very stupid I'm overlooking!
    Thanks
    Scotty ([email protected])

    Supplementary question:
    Hi,
    We are running a small Java application on a Sun server which acts as a thin client connecting to an Oracle 8i server running on a different server.The Oracle version is 8.1.6
    Will the 'classes12.zip' for 8.1.7 work with
    1.3.1 of the Java JDK, and Oracle 8i 8.16 ??
    Thanks Scotty

  • JDBC thin client downloads locally, not through internet

    Using same code, environment, server, etc,:
    the thin client will download successfully if the server is accessed as part of the internal network. Access with the server outside the local network (via internet) does not seem to download all the parts of the thin client.
    I have tried with the thin client jars (both), and with classess rather than jar (so I can see where it stops).
    The environment is O8iEnterprise, NT server4 (SP6), IIS, JRUN 2.3x, IE5, java 1.2x/applets, 1.3 plugin
    What am I missing for the internet access setup? Thx.

    are you using latest drivers - http://www.oracle.com/technology/tech/java/sqlj_jdbc/index.html
    you may want to check some options reducing jdbc connection cost from the otn samples - http://www.oracle.com/technology/sample_code/tech/java/sqlj_jdbc/index.html

  • Very choppy sound on t5570e Thin client

    Hello dear HP support forum and forum gurus.
    Our company bought approx 3 000 Thin Clients (t5570e) for a big organization in our country. The problem we encountered is associated with sound.
    Every thin client connects to a Terminal Server /WinServer 2008R2/ via RDP (port:3389). Every RDServer configured identically.
    Let’s take one site (biggest one) with 6 RDServers and 800-850 users. The strange things happens!!! On some RDServers (ok RDServrs hostnames: TS1, TS4, TS5) users can view videos on YouTube with perfect sound, but the same user on another RDServer of the same RDfarm can view YouTube video but with very choppy sound (not ok RDServrs hostnames: TS2, TS3, TS6).
    I mentioned when user starts its RDP session and when RD Connection Broker redirected that user to ok RDServers HP Velocity tray icon on Thin Client became green. But when RD Connection Broker redirected that user to not ok RDServers, HP Velocity tray icon on Thin Client remains blue. Anyway, at a moment when I mentioned this behavior of HP Velocity tray icon on Thin Client, HP Velocity Server Side applications weren’t installed on any RDServer.
    A few weeks ago I installed HP Velocity Server Side x64 on all RDServers. Now I see HP Velocity Tray Icon on my RDServer. I can even view IP Addresses of a thin clients that redirected to a RDServer. But the problem remains.
    Now, when RD Connection Broker redirected a user to not ok RDServer, HP Velocity tray Icon became green but even after installing Server Side App, sound remains very choppy.
    Please help me understand what the problem is?
    Regards

    Hi @vdadashzadeh ,
    Welcome to the HP Support Forums! To get your issue more exposure I would suggest posting it in the commercial forums since this is a commercial product. You can do this at http://h30499.www3.hp.com/hpeb/
    I hope this helps!
    Best,
    Russ
    I worked for HP.

  • Oracle thin client stop working

    I just applied hotfix 3 to my MX 7 standard deployment and
    all my thin client connections to Oracle database now stop working.
    When I tried to verify those data source in Administration, I
    received the error "java.sql.SQLException: No suitable driver
    available". All the connect work fine before the hoxfix.
    My configuration is:
    Windows 2000 Server
    Coldfusion MX server version 7,0,0,91690
    Java version 1.4.2_05
    Java VM Specification Version 1.0
    Java VM version 1.4.2_05-b04
    Java Class Version 48.0
    Please help.

    Thank you for your assistance but my thin client connect is
    still not working. I found the jvm.config file in directory
    c:\ColdFusionMX7\runtime\bin. The content of the file is as follow:
    # VM configuration
    # Where to find JVM, if {java.home}/jre exists then that JVM
    is used
    # if not then it must be the path to the JRE itself
    java.home=C:/CFusionMX7/runtime/jre
    # If no java.home is specified a VM is located by looking in
    these places in this
    # order:
    # 1) bin directory for java.dll (windows) or
    lib/<ARCH>/libjava.so (unix)
    # 2) ../jre
    # 3) registry (windows only)
    # 4) JAVA_HOME env var plus jre (ie $JAVA_HOME/jre)
    # Arguments to VM
    java.args=-server -DJINTEGRA_NATIVE_MODE
    -DJINTEGRA_PREFETCH_ENUMS -Xmx512m -Dsun.io.useCanonCaches=false
    -XX:MaxPermSize=128m -Dcoldfusion.rootDir={application.home}/../
    -Dcoldfusion.libPath={application.home}/../lib -XX:+UseParallelGC
    -Dcoldfusion.classPath={application.home}/../../classes,{application.home}/../lib/updates ,{application.home}/../lib/,{application.home}/../gateway/lib/,{application.home}/../wwwro ot/WEB-INF/cfform/jars,d:\\oracle9i\\jdbc\\lib\\ojdbc14.jar;C:\\CFusionMX7\\lib\\pdflib.ja r
    # commas will be converted to platform specific separator and
    the result will be passed
    # as -Djava.ext.dirs= to the VM
    java.ext.dirs={jre.home}/lib/ext
    # where to find shared libraries
    java.library.path={application.home}/../lib,{application.home}/../jintegra/bin,{applicatio n.home}/../jintegra/bin/international
    system.path.first=false
    # set the current working directory - useful for Windows to
    control
    # the default search path used when loading DLLs since it
    comes
    # before system directory, windows directory and PATH
    java.user.dir={application.home}/../../lib
    # JVM classpath
    java.class.path={application.home}/servers/lib,{application.home}/../lib/macromedia_driver s.jar,{application.home}/lib/cfmx_mbean.jar,{application.home}/lib
    Are you talking about Coldfusion classpath or JVM
    classpath?

  • Oracle Thin Client Error when Inserting

    Cold Fusion 8 fully patched on Windows Server 2008 fully
    patched
    Oracle 8.1.7.1 on Linux as DB with Network Option
    (encryption)
    Oracle Client 10.2.0.3 Thin Client (tried with ojdbc14 and
    ojdbc12 classes)
    SELECT, DELETE, UPDATE statements all work just fine.
    When an INSERT statement is sent to the DB it is processed
    (the insert is made and committed!) but we are getting a database
    error message "Typlänge größer als Höchstwert"
    which translates approximately to typ length is larger than the
    limit.
    Several threads show this as a problem when the return from
    the db is too large but this is definately not the case (a simple
    insert of one small row).
    The SQL that is run at the DB includes a suffix of "RETURNING
    ROWID" which is not part of our SQL and is apparently added by CF
    or the thin client. We do not handle the return value (we tried but
    that did not help either).
    Due to the fact that the INSERT is actually made and
    committed, we assume the problem must be at the client end and not
    in the database.
    This is a blocking problem and appears to be confined to CF 8
    with the Thin Client.
    CF 8 with an ODBC connection to the same DB works OK.
    Be very glad for any help as we want to go to production with
    this environment.
    Cheers
    Thomas

    I noticed in LiveDocs for
    cfquery
    for CF 8 that the
    result parameter is a little different than described for
    CF7 in that it mentions the ROWID being returned for Oracle insert
    statements.
    What happens when you try including a result parameter (even
    if you don't end up using the result_name.ROWID variable)?
    result Optional Name for the structure in which cfquery
    returns the result variables. For more information, see Usage.
    The cfquery tag also returns the following result variables
    in a structure. You can access these variables with a prefix of the
    name you specified in the result attribute. For example, if you
    assign the name myResult to the result attribute, you would
    retrieve the name of the SQL statement that was executed by
    accessing #myResult.sql#. The result attribute provides a way for
    functions or CFCs that are called from multiple pages, possibly at
    the same time, to avoid overwriting results of one call with
    another. The result variable of INSERT queries contains a key-value
    pair that is the automatically generated ID of the inserted row;
    this is available only for databases that support this feature. If
    more than one record was inserted, the value can be a list of IDs.
    The key name is database-specific.
    result_name.ROWID Oracle only. The ID of an inserted row.
    This is not the primary key of the row, although you can retrieve
    rows based on this ID.
    I have a hunch that there are differences between Oracle 8i
    and 10g in how the rowid value is being "returned".
    Phil

  • HP t510 Thin Client and USB Printer Redirectiion

    We have HP t510 thin clients connecting to server side XenCenter and running Windows 7 virtual sessions hosted on the server. We are trying to connect a USB lablewriter printer to one of the thin clients. On the t510 device, XEN Connection General Settings Manager/Local Resources/Local Device Redirection is selected for Printers/Printer Mapping. Also on the t510 device under Peripherals/USB Manager, Protocol/All USB is set to Citrix and Devices has the USB printer selected/checked and set to Redirect.
    We have also tried within the assigned Windows session, a registry key has been created under HKLM\SOFTWARE\Citrix\ICA Client\GenericUSB\Devices, using both a generic redirect for all usb printers as well as device specific using the VID and PID hardware information of the printer.
    When we have booted into the Windows session and have installed the USB drivers/printing software and physically conencted the usb printer, it is not being recognized by Windows at all. Device Manager is not showing any unknown devices or anything.
    Has anyone seen this same issue? Is there an easy workaround? Will there need to be a hardware policy written in XENCenter?
    Thank you,
    Gregory Hall

    Hi Mitchell,
    You might get better assistance on the HP Enterprise Business Forum since you have a business class PC.
    I'll also ask a moderator to escalate your issue.
    HP DV9700, t9300, Nvidia 8600, 4GB, Crucial C300 128GB SSD
    HP Photosmart Premium C309G, HP Photosmart 6520
    HP Touchpad, HP Chromebook 11
    Custom i7-4770k,Z-87, 8GB, Vertex 3 SSD, Samsung EVO SSD, Corsair HX650,GTX 760
    Custom i7-4790k,Z-97, 16GB, Vertex 3 SSD, Plextor M.2 SSD, Samsung EVO SSD, Corsair HX650, GTX 660TI
    Windows 7/8 UEFI/Legacy mode, MBR/GPT

Maybe you are looking for