[NewBie] Not able to connect JPA and Hibernate ?

Hi,
In last few days I have read some tutorial and started doing JPA and Hibernate tutorials. But I am not able to make it work. Can some one please point out what is that I am doing wrong? Here are the details of what I am doing
I am using
IDE : Eclipse EE Indigo
Following jars
antlr-2.7.6.jar
commons-collections-3.2.jar
dom4j-1.6.1.jar
hibernate-annotations-3.4.0.GA.jar
hibernate-commons-annotations-3.1.0.GA.jar
hibernate-entitymanager-3.4.0.GA.jar
hibernate-jpa-2.0-api.jar
hibernate3-3.3.2.GA.jar
javaee-api-5.0-3.jar
javassist-3.9.0.GA.jar
junit-4.8.2.jar
log4j-1.2.12.jar
slf4j-api-1.6.1.jar
slf4j-simple-1.6.1.jar
sqljdbc.jar => For connecting to MS SQL Server database
junit-4.8.2 => For testing the application
The target runtime is set as JBoss 5.0 with jars of JBoss 6.0
Here is my persistence.xml. This file is under "src\META-INF"
<?xml version="1.0" encoding="UTF-8"?>
<persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
     <persistence-unit name="JH1" transaction-type="RESOURCE_LOCAL">
          <provider>org.hibernate.ejb.HibernatePersistence</provider>
          <class>entity.Users</class>
          <exclude-unlisted-classes>false</exclude-unlisted-classes>
          <properties>
               <property name="hibernate.dialect" value="org.hibernate.dialect.SQLServerDialect"/>
               <property name="hibernate.show_sql" value="true"/>
               <property name="javax.persistence.jdbc.url" value="jdbc:sqlserver://localhost:1433;databaseName=TempEPMUser"/>
               <property name="javax.persistence.jdbc.user" value="user"/>
               <property name="javax.persistence.jdbc.password" value="password"/>
               <property name="javax.persistence.jdbc.driver" value="com.microsoft.sqlserver.jdbc.SQLServerDriver"/>
               <property name="javax.persistence.transactionType" value="RESOURCE_LOCAL"/>
          </properties>
     </persistence-unit>
</persistence>
Here is the Users.java code. This is the entity class created using the context menu item JPA Entities from tables
package entity;
import java.io.Serializable;
import javax.persistence.*;
import java.sql.Timestamp;
import java.math.BigDecimal;
* The persistent class for the Users database table.
@Entity
public class Users implements Serializable { 
private static final long serialVersionUID = 1L;
@Id
@GeneratedValue(strategy=GenerationType.AUTO)
@Column(name="Usr_UserID")
private long usr_UserID;
@Column(name="Usr_DeptId")
private BigDecimal usr_DeptId;
public Users() { 
public long getUsr_UserID() { 
return this.usr_UserID;
public void setUsr_UserID(long usr_UserID) { 
this.usr_UserID = usr_UserID;
Here is the testing code TestUser.java
package testentity;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.EntityTransaction;
import javax.persistence.Persistence;
import javax.persistence.PersistenceException;
import org.apache.log4j.BasicConfigurator;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import entity.Users;
public class TestUser {
     private EntityManagerFactory emf;
     private EntityManager em;
     @Before
     public void initEmfAndEm(){
          BasicConfigurator.configure();
          try {
               emf = Persistence.createEntityManagerFactory("JH1");
          } catch (PersistenceException pe) {
               System.out.println(pe.getMessage());
          em = emf.createEntityManager();
     @After
     public void cleanup() {
          em.close();
     @Test
     public void emptyTest() {
          EntityTransaction et = em.getTransaction();
          et.begin();
          @SuppressWarnings("unchecked")
          final List<Users> listUser = em.createQuery("select usr_DeptID from Users").getResultList();
          et.commit();
          for (Users usr: listUser){
               int depid = usr.getUsr_DeptId().intValue();
               System.out.println("User Department id is "+depid);
When I execute the code I get following error message
java.lang.UnsupportedOperationException: The user must supply a JDBC connection
at org.hibernate.connection.UserSuppliedConnectionProvider.getConnection(UserSuppliedConnectionProvider.java:54)
at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446)
at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167)
at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:142)
at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:85)
at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1354)
at org.hibernate.ejb.TransactionImpl.begin(TransactionImpl.java:38)
at testentity.TestUser.emptyTest(TestUser.java:42)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)

Hi,
Try following the JPA tutorials for WebLogic, JPA using EclipseLink or Hibernate will be the same if you stick to the specification. WebLogic 10.3.4.0 ships with a Java EE 6 compliant JPA 2.0 implementation in EclipseLink - you may want to give that a try.
http://wiki.eclipse.org/EclipseLink/Examples/JPA/WebLogic_Web_Tutorial
http://wiki.eclipse.org/EclipseLink/Examples/Distributed
I also have a JBoss 6 tutorial for getting JPA working as well.
BTW, your persistence unit is currently application managed - try switching to container managed - then most of your jar dependencies will go away as everything is already setup for you to do dependency injection via the container.
http://wiki.eclipse.org/EclipseLink/Examples/JPA/JBoss_Web_Tutorial
thank you
Michael O'Brien
http://www.eclipselink.org

Similar Messages

  • I have the new ipad and inserted  a new tata docomo sim , it shows network but is not able to connect to the internet,,, can any1 plzz help me out

    i have the new ipad and inserted  a new tata docomo sim in it, it shows network but is not able to connect to the internet,,, can any1 plzz help me out

    Let's start with the most obvious? Have you paid for service? If yes, thry THIS.

  • HT4623 I have an IPhone4 and is updated with version 6.1.3 and I am not able to connect with face time calls. I have checked the date ant time. I used to be able to use face time with no problem. since the late os upgrace I have not been able to connect w

    I have an IPhone4 and is updated with version 6.1.3 and I am not able to connect with face time calls. I have checked the date ant time. I used to be able to use face time with no problem. Since the late os upgrace I have not been able to connect with face time.

    Read http://support.apple.com/kb/ts3367

  • TS1398 I have an ipad and just recently am not able to connect to home wireless wifi, the hourglass just spins when clicking the network to connect, other devices work fine

    I have an ipad 2 and just recently am not able to connect to home wireless wifi, the hour glass just spins when clicking the network to connect, other devices work fine and can connect.  Was able to connect at school, but not here at home all of a sudden, help?

    iOS 6 Wifi Problems/Fixes
    Fix For iOS 6 WiFi Problems?
    http://tabletcrunch.com/2012/09/27/fix-ios-6-wifi-problems/
    Did iOS 6 Screw Your Wi-Fi? Here’s How to Fix It
    http://gizmodo.com/5944761/does-ios-6-have-a-wi+fi-bug
    How To Fix Wi-Fi Connectivity Issue After Upgrading To iOS 6
    http://www.iphonehacks.com/2012/09/fix-wi-fi-connectivity-issue-after-upgrading- to-ios-6.html
    iOS 6 iPad 3 wi-fi "connection fix" for netgear router
    http://www.youtube.com/watch?v=XsWS4ha-dn0
    Apple's iOS 6 Wi-Fi problems
    http://www.zdnet.com/apples-ios-6-wi-fi-problems-linger-on-7000004799/
    ~~~~~~~~~~~~~~~~~~~~~~~
    Look at iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    WiFi Connecting/Troubleshooting
    http://www.apple.com/support/ipad/wifi/
    How to Fix: My iPad Won't Connect to WiFi
    http://ipad.about.com/od/iPad_Troubleshooting/ss/How-To-Fix-My-Ipad-Wont-Connect -To-Wi-Fi.htm
    iOS: Connecting to the Internet
    http://support.apple.com/kb/HT1695
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    Additional things to try.
    Try this first. Turn Off your iPad. Then turn Off (disconnect power cord for 30 seconds or longer) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    Change the channel on your wireless router (Auto or Channel 6 is best). Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    Another thing to try - Go into your router security settings and change from WEP to WPA with AES.
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    If none of the above suggestions work, look at this link.
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    Fix Slow WiFi Issue https://discussions.apple.com/thread/2398063?start=60&tstart=0
    Unable to Connect After iOS Update - saw this solution on another post.
    https://discussions.apple.com/thread/4010130
    Note - When troubleshooting wifi connection problems, don't hold your iPad by hand. There have been a few reports that holding the iPad by hand, seems to attenuate the wifi signal.
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • HT204409 I have a MacBook Pro and not able to connect to Internet? PLEASE help!

    I have a MacBook Pro and not able to connect to Internet.  I have other HP comp and iPad and am able to connect.  I have contacted AppleCare....they said disconnect router and leave unplugged for an hour, which I did...still no connection.  Any suggestions?  Thanks!

    Call Apple Care back & tell them their suggestion did not work. 
    Solution may be found if you search in the "More Like This" section over in the right column.

  • HT1212 my iphone'"s screen was smashed resulting in not able to unlock passcode and now i can't connect to itunes to synced with my divice before sending in for repair. what can i do

    my iphone's screen was smashed resulting in not able to unlock passcode and now i can't connect to itunes to synced with my divice before sending in for repair. what can i do

    Sorry, there is nothing you can do.
    FYI: Damage like that is not covered by warranty, & all Apple will offer you is an out of warranty replacement...cost, in the US, for an iPhone 4, is US $149.

  • HT201263 I am not able to restore neither from iTunes nor from iCloud. The proble with iTunes is it says that the backup is corrupted or incompatible. And I am not able to connect to iCloud for restoring. I have IOS 7.0.4 when I have taken the backup.

    I am not able to restore neither from iTunes nor from iCloud. The proble with iTunes is it says that the backup is corrupted or incompatible. And I am not able to connect to iCloud for restoring. I have IOS 7.0.4 when I have taken the backup.
    iCloud does not connect and it says Request Timed out.
    Not Sure how to restore my iPad.
    Please help!!
    Thanks

    my problem is with I cloud not iTunes what's up with apple haven't they got the brains to sort out this prob, that they have to let the "community " know instead of helping to fix the problem without having to go through all the hassle of signing in writing a small blog & then leaving it until someone bored with time to write their blog to at some point fix the prob or not ! oh nearly forgot my prob like
    HRESULT:0X80070570 no clear explanation as to what this means or why in plain English for the not techno phoebes

  • I have updated my iphone 4s with ios6 and now im not able to connect to itunes store. I can open the apps store but cannot install any app?  Anyone facing the same issue..

    I have updated my iphone 4s with ios6 and now im not able to connect to itunes store. I can open the apps store but cannot install any app?  Anyone facing the same issue..

    I have a 4S and upgraded to iOS 6 last week without any issues.
    Have you tried resetting your phone (hold the power and home buttons down together until the silver apple appears)?

  • Not able to connect Iphone 4s to MacBook Air. iTunes gives an error  message and there is a constant aural

    Hi,
    I am not able to connect my iPhone 4s to my Macbook Air. There is constant audio alert and the iTunes error message says" ITunes could not connect to this phone. The device is no longer connected. I have been connecting with our any problem to my Windows Laptop (Win7) but get this error message on the recently purchased MacBook Air.
    Request a solution. Best wishes,
    Ashokcee

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    The title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen.Click the Clear Display icon in the toolbar. Then try the action that you're having trouble with again. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    Some private information, such as your name, may appear in the log. Anonymize before posting.

  • My time capsule sometimes is not able to connect or appear like is out or range , and need wait a few min. to connect again

    sometimes , the time capsule is not able to connect and it take a few min. to connect again , even using the airport utilities cannot connect , it shows like is out of the range  , when is connect to the line , also cannot use using the new ipad, iphone 4s or airport .

    janeyq wrote:
    If we replace our Time Capsule, what is the best way to handle the data stored on the old TC?
    Archive the material via airport utility (old v5 not v6).. to a USB drive of suitable size for all the data.
    Do this before the TC dies. Once dead you will have no choice but to repair it.. or to open and remove the HD and put it in a holder.

  • Recently updated to itunes 10.6.1, but during update it says itunes does not have a valid signature and update fails ,now older version is not able to connect to itunes store

    Recently updated to itunes 10.6.1, but during update it says itunes does not have a valid signature and update fails ,now older version is not able to connect to itunes store error 306. I am using windows 7.

    (Apologies for butting in, wha.)
    now older version is not able to connect to itunes store error 306. I am using windows 7.
    If you still get the 306 after updating to 10.6.1.7, perhaps try the following user tip:
    iTunes for Windows 9.0.x: Error 306

  • HT1695 My new iPad with Retina Display is not able to connect to the Wi-Fi of my new Time Capsule. It used to connect, but now it just spins and spins and never connects. I've tried rebooting everything many times.

    My new iPad with Retina Display is not able to connect to the Wi-Fi of my new Time Capsule. It use to connect, but now it just spins and spins and never connects. I've tried rebooting everything many times.

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

  • My iphone is not able to connect to itunes and shows the msg "cannot connect to itunes store", my iphone is not able to connect to itunes and shows the msg "cannot connect to itunes store"

    my iphone is not able to connect to itunes and shows the msg "cannot connect to itunes store"

    Hello there, Nau1988.
    The following Knowledge Base article should help with troubleshooting your issue:
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    In your case, focus on the section titled "Troubleshooting on an iPhone, iPad or iPod Touch", there are detailed steps here for working to a resolution of your issue.
    Additionally you might want to review the recommendations in this article as well:
    iTunes for Windows: iTunes Store connection troubleshooting
    http://support.apple.com/kb/HT1527
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro D.

  • HT204368 I am having trouble pairing my iPhone4 with bluetooth device. It was connected but is not able to connect after both devices were shut and then switched on, as per Apple instructions. phone does find any bluetooth device closeby. how to fix?

    I am having trouble pairing my iPhone4 with bluetooth device. It was connected but is not able to connect after both devices were shut and then switched on, as per Apple instructions. phone does find any bluetooth device closeby. how to fix?

    NovaRiddle wrote:
    I am having trouble pairing my iPhone4 with bluetooth device. ...
    Depends on the device...
    Have a look here for Supported Bluetooth Profiles
    http://support.apple.com/kb/HT3647

  • Hello! i am using ipad n i am not able to connect to itunes store.Whenever i open itunes it syas "cannot connect to itunes store".i tried resetting the network settings n also tried changing the dat and time settings as mentioned but it still doesnt work!

    hello! i am using ipad n i am not able to connect to itunes store.Whenever i open itunes it syas "cannot connect to itunes store".i tried resetting the network settings n also tried changing the dat and time settings as mentioned but it still doesnt work!please help!

    Saw this on another post.
    Applecare Senior Advisor Txx Bxxx (I have his contact info in an email he just sent) just confirmed with me that the problem people are having with the App Store not loading is an apple issue with there servers, ITS NOT YOUR IPAD so don't go restoring it!   It's not happening to everyone however but they are looking into it, its really hit or miss.
    In the meantime ...........
    The Complete Guide to Using the iTunes Store
    http://www.ilounge.com/index.php/articles/comments/the-complete-guide-to-using-t he-itunes-store/
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/TS3297
    Best Fixes for ‘Cannot Connect to iTunes Store’ Errors
    http://ipadinsight.com/ipad-tips-tricks/best-fixes-for-cannot-connect-to-itunes- store-errors/
    Try this first - Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    This works for some users. Not sure why.
    Go to Settings>General>Date and Time> Set Automatically>Off. Set the date ahead by about a year.Then see if you can connect to the store.
     Cheers, Tom

Maybe you are looking for

  • IWeb Failure when trying to save

    I have moved my domain folder over from my imac to my new power book. Both have ilife 2009 and Lepard OS X, 10.5.7 running. When I go to save It crashes and needs to close. Here is the error console information that is produced pasted below. I have n

  • IPod Touch 2G electronic discharge when connecting

    Hello, I just wanted to connect my iPod Touch 2G to my PC to put some music on when suddenly i was getting an electrical discharge. I felt the charge coming from the cable trough my finger. This happend before, when i was using a dock. Thought it was

  • Mouse Settings

    Got an iMac next to my vista desktop. Trouble is, I hate using the Mac. Yet I need it for work. The problem is the cursor control, I don't know if it's standard with all Macs but it has some sort of accelerator, and depending how fast I move the mous

  • CSS - manually highlight current page link?

    In the sidebar navigation on this page I want to highlight the current page link with a CSS class. I wrote a class called "current" and applied it to the link. But nothing changes. I've used this on other sites, but something is tripping me up this t

  • Empty white folder but has number next to it!

    After changing a blue folder name in .Mac on my MacBook using the Mail application, a white folder appeared. There is one blue subfolder inside. All my emails in that white folder have disappeared. Next to the white folder is the number 2150, the num