Problem in connecting to times ten from jsp

Hi sir,
I am trying to connect with timesten from jsp. But am getting following Exception.
SQLException: Problems with loading native library/missing methods: no ttJdbcCS70 in java.library.path
I am using myeclipse 8.6 ide. I have diployed my project in myeclipse tomcat server.
Please help me in resolving this problem.
Follosing is my code.
display.jsp:
<%@page import="com.tbss.RealTimeDAO,com.tbss.RealTimeCallReport,java.util.*"%>
<%
RealTimeDAO rdao=new RealTimeDAO();
List<RealTimeCallReport> list=rdao.getRecords();
pageContext.setAttribute("list",list);
out.print("list"+list+"\n");
Iterator<RealTimeCallReport> i=list.iterator();
while(i.hasNext()){
RealTimeCallReport rp=i.next();
out.println(rp.getCompaignID()+"\t"+rp.getConnectedPhone()+"\t"+rp.getRecordID()+"\t"+rp.getSessionDuration()+"<br/>");
%>
RealTimeDAO.java
public class RealTimeDAO {
public List<RealTimeCallReport> getRecords(){
List<RealTimeCallReport> list=new ArrayList<RealTimeCallReport>();
try {
// create the TimesTen data source and set the connection URL
TimesTenDataSource ttds = new TimesTenDataSource();
ttds.setUrl("jdbc:timesten:client:dsn=ttc1;UID=ttsa;PWD=abc123");
// connect to the TimesTen database
TimesTenConnection ttcon = (TimesTenConnection) ttds.getConnection();
// create and execute the statement
Statement stmt = ttcon.createStatement();
ResultSet rset = stmt.executeQuery("select * from REAL_TIME_CALL_REPORT");
// process the result set
while(rset.next()) {
RealTimeCallReport rp=new RealTimeCallReport();
rp.setCompaignID(rset.getLong("CAMPAIGN_ID"));
rp.setConnectedPhone(rset.getLong("CONNECTEDPHONE"));
rp.setRecordID(rset.getLong("RECORD_ID"));
rp.setSessionDuration(rset.getString("SESSION_DURATION"));
rp.setSessionID(rset.getString("SESSION_ID"));
list.add(rp);
return list;
} catch(SQLException e) {
e.printStackTrace();
return null;
}

The driver requires a shared library (nothing to do with java itself.)
The shared library is not in the shared library path. The error suggests that the OS is Windows which means that the PATH (env variable) of the executable must have the directory of the shared library in it.

Similar Messages

  • How do I connect to Time Capsule from a Windows 8.1 machine which is on a Windows domain. I have been able to connect from a Windows 7 machine on a Windows domain to a Time Capsule. Airport utility is not displaying the Time Capsule Win8.1 machine

    How do I connect to Time Capsule from a Windows 8.1 machine which is on a Windows domain. I have been able to connect from a Windows 7 machine on a Windows domain to a Time Capsule. Airport utility is not displaying the Time Capsule Win8.1 machine.
    I have checked that the firmware has been updated to 7.6.4 . Similalrly the Win8.1 machine has been loaded with the update specified in another discussion.

    Firstly how are you connecting to the TC.. wireless or ethernet?
    Please open a command window and ping it.. ping by name and by IP address.
    If ping succeeds at least by IP it should work.
    In windows explorer type
    \\10.0.1.1 (or whatever the TC ip is.. that is the default).
    Having the airport utility for windows loaded can help the process. As it loads bonjour for windows.
    7.6.4 firmware on the TC is useless. It works better on 7.6.1
    If the ping does not succeed by either name or IP address yet you have internet through the TC, then your network is setup wrongly. You are have firewalls blocking local IP. Take down all the firewalls.

  • Accessing Times Ten from C++

    Hello Everybody,
    I have installed Times Ten 7.0.4. Now I want to access database through C++, something like creating a driver for Times Ten. I am using Borland bloodshed C++ editor.
    Is it possible to access database like this, if so then what header files, libraries do I need to use ?
    I wanted to perform all database operations, like create, insert, update, ... etc
    Thanks,
    Prashant

    Hey Yes I have seen the document its nice but what I want is how can I use it in Borland Bloodshed C++, I mean where from can I get libraries / include files etc.
    Can anybody send me the sample code for jus setting up the connection.
    Thanks,
    Prashant

  • Can't connect to Time Capsule from MBA

    Hi,
    For some weeks I am facing an issue connecting to my Time Capsule. My setup is:
    Time Capsule 802.11ac 3TB (the most recent one), running 7.7.2 (latest firmware), setup with Back To My Mac
    Mac Book Air 13" Late 2010, running Mavericks 10.9.1, Airport Utility 6.3.2, setup with Back to My Mac
    iPhone 4S running iOS 7.0.4
    Basically, I can't connect to the Time Capsule from my Mac Book Air:
    Time Machine doesn't see it in the list of backup disks to choose from
    Airport Utility on Mac Book Air doesn't find itHowever, it is listed under "Other Wi-Fi Devices / Remote Base Stations", from there I can configure it (i think this is thanks to the Back To My Mac settings)
    Finder shows it in the left pane, and can connect to it
    AirPort Utility for iOS on my iPhone sees it fine and can configure it with no issue
    What I could get to work:
    Choose "configure other" in Airport Utility File Menu, type IP address and passwd of the Time Capsule, and Airport Utiliy can configure it (but it still not displayed in the main screen)
    After doing this once, the TC became available in Time Machine (seems to work, first backup ongoing...)
    I tried rebooting, removing .plist files, even did a fresh Mavericks install on my Mac Book Air, same issue.
    Any suggestions ? Is this an issue with Airport Utility ?

    I think it more likely an issue with Mavericks networking.
    MOST IMPORTANT.
    Do you have ipv6 set to link-local for the wireless client in the MBA??
    This is now essential.. and automatic doesn't cut it. Set to the actual ipv6 requirement.
    This is not unusual problem BTW..
    http://support.apple.com/kb/TS4597
    For mavericks I would also ensure your TC has all naming that is short, no spaces and pure alphanumeric. That includes the TC itself plus the wireless.

  • Connecting to Time Capsule from off Site (Windows 7)

    Hi All!
    First off, thanks for reading my post, it means a lot to me to get such great help from the community.
    I have a Time Capsule (2TB) setup in my home with my most of my Windows 7 user profile redirected to it.  It was just purchased over the weekend from the Apple store after my 7 year old Apple router finally died, so it should be the latest and greatest.  I have setup DynamicDNS and can connect to my time capsule using the dynamic host name from inside my house (capsule.notmyrealdns.net).  So, to reiterate in case I'm not being totally clear, if I map a network drive in Windows from my home desktop to \\capsule.notmyrealdns.net\hammonjj, I can connect to that share without any problems.  For reference, hammonjj is the username I created in the Time Capsule management utility and TC created a share called hammonjj, which is what I am connecting to.
    However, from off site I can not map this drive.  When I try to map it, I get a network error, which I have listed below (I am checking the box to connect using different credentials, btw).  I have tried to ping my DNS host name and it both responds and kicks back the correct IP for my home connection.  I have also double checked both my usename and password and have since gone under port mapping and added both Personal File Sharing and Windows File Sharing to the list of exceptions and checked the box for enabling access over WAN in the Airport Utility; I chose a random public port, but kept the default private ports.
    The error:
    Windows cannot access \\capsule.notmyrealdns.net\hammonjj
    Check the spelling of the name.  Otherwise.......blah blah blah.
    Thanks again for the help!  I'm sure this is just a silly oversight on my part, but I can't seem to figure it out on my own.  I bow before the Apple Community!
    James

    It is not an oversight on your part.. you cannot connect via SMB over the internet.. practically every ISP .. certainly any responsible ISP blocks the port otherwise just about every windows system on the internet would be fully exposed as people share folders without passwords.
    Use vpn .. that is the only secure way from windows.

  • How do i connect my time capsule from outside my home? i dont have static ip

    sorry about my english...
    its been 4 months now and still I am not able to connect my time capsule via internet from outside . i have read enough forums and discussion but i am confused because every discussion has different answer. please anyone can explain me the simplest way to configure my time capsule so i can connect it from other computers. i am using windows 7 64bit os.i am not advance user of networking so please explain me in detail.
    some questions.
    1. is it possible to use time capsule as nas using dynamic ip address?
    2. if yes how and where can i get exact detail about this.
    3. how to connect my time capsule form my iphone,ipad or other computers . connect through ip address or something else?
    4. is it any simple installation way to do this? i heard about bonjour and icloud but dont know how to connect through this.
    please help me
    thank you
    sachin

    i am using windows 7 64bit os.i am not advance user of networking so please explain me in detail.
    Here is your primary issue.. you cannot connect with win7 ..
    Windows only offers SMB protocol which just about every ISP.. all responsible ones ...block..
    Time Capule offers AFP to internet and only AFP.
    You need to use a Mac to connect.. then use BTMM and iCloud as there is no dyndns in the TC anyway. (Actually there is a dyndns but only for apple btmm use...  you cannot access.
    If you want to or have to use windows.. then get a proper vpn router that offers vpn endpoints to windows and has dyndns.. setup the TC in bridge behind the vpn router and access via vpn .. this is the only safe way of connecting using SMB.

  • How to close all active connections in Times ten database

    Hi,
    I am new to Times Ten database.
    Uisng ttsatus utility I am able to find our the active conenctions but not sure how to close this. I m using windows as OS
    Request your help in this regards
    Regards,
    Harmeet

    Is there a way to manually kill a lock from a transaction or roll back transaction etc.
    In oracle, we just kill the user session.
    I have an issue with read-only cache, stuck with the below lock.
    I end up in bouncing the dameon (!!@!@)
    stopping cachemanager took time.. but still this lock was active.
    ========================
    [ttadmin:lmmk672@MARTD] /psimofmmk2/TimesTen/palmttd1/bin > ttXactAdmin palmttd1
    2012-05-31 13:48:23.872
    /psimofmmk2/TimesTen/data/palmttd1/data/palmttd1
    TimesTen Release 11.2.2.2.0
    Outstanding locks
    PID Context TransID TransStatus Resource ResourceID Mode SqlCmdID Name
    Program File Name: timestensubd
    12743 0x2aafe00008c0 138.1298 Active Database 0x01312d0001312d00 IX 0
    Program File Name: timestenorad
    13824 0x2aaff8199410 12.83968 Active Database 0x01312d0001312d00 IX 0
    Command 21019064176 S 21019064176
    Table 1732240 W 21018623224 PALM_DBO.EXTRNL_AVAILABILITY_COMBD
    Row BMUFVUAAAAaAAAAJBu S 21018623224 SYS.TABLES
    Row BMUFVUAAAA3AAAAEhq Sn 21018623224 SYS.CACHE_GROUP
    Table 1732480 S 21018623224 PALM_DBO.T10_TEST
    Row BMUFVUAAAAaAAAAIBv S 21018623224 SYS.TABLES
    Row BMUFVUAAAA3AAAADhr Sn 21018623224 SYS.CACHE_GROUP
    Table 1732528 S 21018623224 PALM_DBO.EXCHANGE_TIME
    Row BMUFVUAAAAaAAAALBv S 21018623224 SYS.TABLES
    Row BMUFVUAAAA3AAAAEhr Sn 21018623224 SYS.CACHE_GROUP

  • Can't connect to Time Capsule from Windows

    I have a time capsule that I have set up at work which works great with my laptop (MacBook Pro) at work. However, when I try to map the Time Capsule from home (Windows 7, not the same subnet), I cannot do so.
    I have been able to ping it, as well as access the Time Capsule configuration page through the AirPort Utility that I have installed on my Windows machine at home (I do so by going to File...>Configure Other... and then log on). So I can communicate with it but I can't map it using the Windows "Map Network Drive" command.
    Any thoughts?

    I figured it out. I had to change the Time Capsule to only allow File Sharing with Accounts. Then, using the "Map Network Drive" and \\ipaddressaccountname and - viola!

  • If anybody have a problem with connection to smtp server from iPhone

    If anybody have a problem with connection to smtp server just add new server
    Seetings → Mail, Contacts, Calendars → User Me account → Account → Under Advanced choose Mail → SMTP → Add Server
    smtp.me.com
    user name ([email protected])
    password
    Apple, i am in love with your product, please fix this so we could injoy it even more.

    Might be something to help you here >  iCloud: Mail server information

  • Can't access a USB Drive connected to Time Capsule from a Windows PC.  Apple Care can't/won't assist.  HELP!!!

    Trying to get my Windows 7 PC to access the USB Drive that is connected to my Time Capsule.  I have a Fat32 Formatted USB drive connected to a 2TB Time Capsule and I'm trying to get access to that drive from a Windows 7 PC.  I've attempted to map the network drive (based on some 3-4 year old articles I could find online) but any time I access a file from the PC, the Time Capsule "freaks out" and disconnects all connections to it which forces me to unplug it to restart the Tim Capsule.  I'm at a loss now as to what to do.
    Spent a few hours talking to Apple about this and much more.  Apple Care can't or won't help with this particular problem (the guy I talked to, as nice and helpful as he wanted to be, had no experience supporting their hardware in a Windows environment).
    Someone has to know how to fix this so, PLEASE, help if you can!

    First off, Archon23, what you want to achieve is possible.  I have access to both my Time Capsule (TC) and the USB drive connected to it, from a Win. 7 and Win. XP machine.
    Here is what I see from the Windows side of things:
         From My Computer - TC USB Drive (Y)
         From Windows HomeNet - Time Capsule:
    Now getting there is the trick.
    One caveat before proceeding:  I am not well versed in Windows Networks, Windows Sharing and Firewall settings so some of the following may not be elegant, may not be absolutely required, and may not be the best way of getting there.  But it is what I did to see both the TC drive and it's attached USB  drive on the Windows side of my network..
    1.) First, I added Airport Utility to the Inbound rules of Win 7 Firewall
    While poking around my Network Sharing and Firewall settings trying to figure this out, I got a Pop-up recommending I do that.  AND I did that. Oh, and while you are at it, make sure you have a Home network established. 
    2.) Next, on a hunch, I installed a USB Wi-Fi Adapter (under $20) to my Win PC, enabled that Wi-Fi connection and disabled my Ethernet connection.  I was getting no where on this matter with my Ethernet connection to a DSL Gateway.  But with a Wi-Fi connection to my AirPort Express Base Station, I made progress.
    3.) Finally, while poking around my Network Sharing Center some more, one by one I started the various network device Setup Wizards in there, and Trouble Shooters, to find the elusive TC/USB devices in question...AND voila, it worked.   And it's stable, been this way for going on two weeks now.
    Good luck.

  • Connect to dbf file from jsp with servletexec??

    I am trying to connect to a dbf file from a jsp page on an win2003Server with ServletExec. But i get the exception "no suitable driver".
    It works fine with the exact same code and file on my winxp machine. This is the connectionstring: url = "jdbc:odbc:;DRIVER=Microsoft dBase VFP Driver (*.dbf);Sourcedb=E:\\Data\\der\\Solutions;Sourcetype=dbf";
    I can create a "Microsoft dBase VFP Driver" odbcConnection from the controlPanel and than use the connection from MicrosoftAccess and it works as it should. But I can't use it from the jsp code like this: url="jdbc:odbc:testdriver" .
    It feels like I am missing something in servletexec. Like a classpath to the odbcdriver. But in all my other installations I have not done anything more than installed the servletexc correctly and added the classpath for parser.jar and jaxp.jar.
    Am I missing something here???
    Zoktrax

    Try putting a Class.forName( "my.jdbc.DriverClass" ) before DriverManager.getConnection( url, user, password ), where "my.jdbc.DriverClass" is the fully-qualified class name of the JDBC driver class. I think that JDBC driver classes have static initializers that register the driver class with the DriverManager. I had a similar problem and the Class.forName( ) fixed it.
    If that doesn't work, double-check your URL.
    - Jesse

  • Problem Accessing Class in my package from jsp file

    Hi,
    I am using Apache tomcat server and i have made package which contains a class for database connection. I have imported this package in my jsp file but when i run the jsp tomcat gives the class not found exception. i have placed the jsp file in /webapps/my_project/ folder and the package in the /webapps/my_project/WEB-INF/classes/ folder.
    Still its not working.
    Please help me out!!!!!!!!

    hi,
    Thanks for ur reply. You have guessed it right, i dont have a .jar file its a .class file in a package subfolder. I have tried out ur suggestion but it didnt work. The following error i shown when i run it.
    org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.
    C:\Apache Tomcat 4.0\work\localhost\_\College\test$jsp.java:4: Package college_lib not found in import.
    import college_lib.*;
    ^
    1 error, 1 warning
    Here, College_lib is the package name which contains the class my class file
    Is there any problem with my Apache Tomcat4.0 or any other thing.
    Message was edited by:
    Despo

  • With new update 6.1.3 problem wifi connection each time to connect

    Hi every one
    i am facing new problem with update iOs 6.1.3 wifi conectivity problem already we are facing battery problem if we comapre with apple company standard.
    each time when i try to connect my wifi in my home lawn IPHONE 5 giving wifi connectivity issue. i am very worry about this issue!
    apple is the still fast and soft usage phone in the world as we compared with modern use.
    i request to apple please try to slove battery and wifi connection issue to make iphone 5 much pretty by his hardware and software
    Thanks
    Muhammad Ali

    Save battery
    1. Lower brightness (Major)
    2. Turn off WiFi when not using
    3. Turn off 3G when not using
    4. Turn off Bluetooth when not using
    5. Minimize use of Location Service; you can turn it off for certain apps
    6. Turn off push notification (Major)
    7. Fetch new data less frequently or manually
    8. Turn off push mail (Major)
    9. Auto-check fewer mail account

  • Internet connection to Time Capsule from PC?

    OK, here goes:
    I have a time capsule acting as a router, connected to the internet via a vdsl modem (Huawei). On the LAN I have 2 PC's, a Mac Book Air, and an Apple TV all connecting successfully and able to access both the internet and the TC's hard drive. I have a static IP address (provided by Zen, my ISP). I have managed to connect over the internet to the TC on the MBA using afp:
    <static ip address>, but cannot connect a PC over the internet to the TC. I think I have mapped relevant ports on the TC (548 and 445), but I'm no expert. Are there ports on the vdsl that need mapping, and if so, how does one go about that? Any other ideas? All help welcome - I'm tearing my hair out!
    Thanks

    johnfromdraper wrote:
    Did this screenshot come through?
    No blank sorry.. the file should be png or jpg..
    I just do Shift Command 4 .. which offers you a cursor which is able to place a boarder around the object and when you release the mouse will take the shot.. easy and the files are png.
    Ok your public IP is ok. at least from outside the system.
    Now you need to check that the IP inside the system is the same.
    We never discussed OS version you were running.. I should have asked.
    Airport utility in Lion or Mountain Lion is a toy..
    If you run Lion.. download and install 5.6 which is a tool.
    http://support.apple.com/kb/DL1482
    If you run Mountain Lion.. Apple offer nothing but toys.. but you can actually load the tool.. download the above Airport utility version.
    Then download and install unpkg utiity.
    http://www.timdoug.com/unpkg/
    This is excellent tiny tool.. open the unpkg..
    Open the 5.6 dmg.. and drag the pkg across to unpkg and it will load it into a suitably named directory on the desktop for you.. drag the utility to your utility folder.
    Now you can actually control the TC and do some work.
    Check the summary page and make sure the people are giving you a public IP. same as the one you get.
    BUT I also recommend you do a full factory reset of the TC.. as it is running the wrong IP.
    http://support.apple.com/kb/HT3728
    Basically this is same as hard reset but you start with the TC unplugged.. hold in reset..power on the TC.. using your third arm.. without releasing the reset button.. and wait about 10sec until the front led flashes rapidly.
    Then you can redo the setup with a real utility..

  • Problems in connecting to windows domain from a L3 switch

    Hello,
    I have a Cisco L3 switch with two subnets on that switch. I dont have vlan for each subnet, all i did is confiugred two IP's for the single vlan, meaning the switch will have a IP in the server subnet and a secondary IP in the client subnet range. For the client subnet, the secondary IP will be the gateway and for the servers, the primary ip will be the gateway.
    The issue is the Domain controller is in one subnet and the clients are in another subnet.
    Because of this they are not able to see each other and the clients cant join the domain. Also the DHCP is not working,meaning clients are not getting an IP from the DHCP server. The scope is set to the range of Client IP range.
    The only way to fix this, i have given dual IP's to this DC and then the systems clients started joing the domain.
    I dont want to have the server with dual IP's.
    What is the best way i can ensure that my Domain is in the server subnet and the clients who are in client subnet can join them over the Cisco L3 switch as both the server subnet switch and the client switch connected to the L3 which acts as the core switch at the site.

    hello,
    Thanks for your reply.
    Sorry that i didnt tell earlier that every thing works fine except the DHCP/Domain issue. This shows routing is ok.
    Also i have complaints saying that when i have a user setup with a client ip, the performance is very slow, the moment i change that to a server IP range, the performance is very good.
    The pity here is both for the client ip range and the Server IP range, the gateway is the L3 as i have configured dual IP's for that vlan in the L3, one for the Client IP range and the other for the server IP range.
    The DHCP server will start issuing IP's to the client when the moment i change the IP of the DHCP server to the same range as that of the scope, i mean when i assign an IP to the DHCP server in the client IP range.
    Both the DHCP and domain are the same machine and hence i have both problems ie DHCP not working and clients not able to join the domain.
    think it should be some kind of broadcast issue here since both the DHCP and the Domain uses broadcasts.
    I have tried using ip-helper address as well and still no luck :(

Maybe you are looking for