Having problem depolying app in glassfish

I wrote a simple app that enter data to DB and populate it in html
however, I can depoly it. Could you point out the error?
Publishing failed
Could not publish to the server.
java.lang.NullPointerException
Could not publish to the server.
java.lang.NullPointerException
cannot Deploy BookWeb
Deployment Error for module: BookWeb: Error occurred during deployment: Exception while deploying the app [BookWeb] : org.xml.sax.SAXParseException; lineNumber: 12; columnNumber: 15; Deployment descriptor file META-INF/persistence.xml in archive [classes]. cvc-complex-type.2.4.a: Invalid content was found starting with element 'Properties'. One of '{"http://java.sun.com/xml/ns/persistence":class, "http://java.sun.com/xml/ns/persistence":exclude-unlisted-classes, "http://java.sun.com/xml/ns/persistence":shared-cache-mode, "http://java.sun.com/xml/ns/persistence":validation-mode, "http://java.sun.com/xml/ns/persistence":properties}' is expected.. Please see server.log for more details.
<?xml version="1.0" encoding="UTF-8"?>
<persistence 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/xmls/ns/persistence/persistence_2_0.xsd"
               version="2.0">
     <persistence-unit name="chapter10PU" transaction-type="JTA">
          <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
          <jta-data-source>jdbc/__OraclePool</jta-data-source>
          <class>com.apress.javaee6.chapter10.Book</class>
          <Properties>
               <Property name="eclipselink.ddl-generation" value="create-tables"/>
               <Property name="eclipselink.logging.level" value="INFO"/>
          </Properties>
     </persistence-unit>
</persistence>

DId you tap the + sign to add an event?
Have a look at the manual:
iPhone User Guide (For iOS 6.1 Software)

Similar Messages

  • HT2731 I am having problems downloading apps onto my iPhone and also computer, am having to constantly put in my Apple ID and password only to get authorization notices?? Is this to do with my home computer and how do I fix it??? Am getting concerned re m

    I am having problems downloading apps onto my iphone5 am concerned whether this is coming from my home computer as saying authorization constantly and am ready to get rid of iTunes!!!!

    If you really are running OS 10.4.6 you have a long way to go!
    So, assuming you are not, what version of OS X do you have?

  • I have been having problems downloading apps with my cellular data. I try installing apps from the app store and when it starts loading it just stays loading for a while but all of a sudden it loads all the way and then it restarts It goes back to waiting

    I have been having problems downloading apps with my cellular data. I try installing apps from the app store and when it starts loading it just stays loading for a while but all of a sudden it loads all the way and then it restarts. It goes back to waiting

    https://discussions.apple.com/message/19584729#19584729

  • Is anyone else having problems downloading apps with the new iOS 7?

    Is anyone else having problems downloading apps with the new iOS 7?

    Try This...
    Close All Open Apps... Sign Out of your Account... Perform a Reset... Try again...
    Reset  ( No Data will be Lost )
    Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Release the Buttons.
    http://support.apple.com/kb/ht1430
    If no joy...
    Reset all settings
    Settings > General > Reset > Reset all Settings.
    This will return all iDevice settings to factory defaults... you will not lose any data.... But you will have to re-enter all of the device settings.

  • Having problems with apps downloading on ipad 3, since new iOS update.

    iPad 3 having problems downloading apps with new iOS 7? Where can I get answers.

    Can you describe these "problems"?  Are these new apps just purchased or upgrading existing apps?

  • HT1349 I'm having problems downloading apps to my iPad using wifi at a McDonalds.  The apps all stay in a"waiting" mode.  I can't delete them or get them to install.  This is the second time that this has happened.  Advice?

    I am having problems downloading apps while using wifi in a public setting.  The apps will show up on my screen and say "waiting".  They will not install.  I can't even delete them from my screen.  This has happened before and I had to reset my iPad to factory settings.  I hope I don't have to do this again.  Any advice?

    Well, typically one of the fixes that I would suggest is to try to delete the waiting icons. WIFi in a public places like McDonalds, Starbucks, B&N, etc. is not the greatest and I would avoid those places for downloading and updating apps. But I do realize that not everybody has access to Wifi in their homes.
    These are all things that have worked at one time or another for other users. Hopefull one of them will work for you. Just ignore whatever does not apply or anything that you have already tried.
    Reboot 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.
    Make sure that you do not have a stalled download in iTunes - a song or podcast .... if you have a download in there that did not finish, complete that one first. Only one thing can download at a time on the iPad so that could be what is causing the problem.
    If that doesn't work - sign out of your account, restart the iPad and then sign in again.
    Settings>iTunes & App Store>Apple ID. Tap your ID and sign out. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Go back to Settings>iTunes & App Store>Sign in and then try to update again. Tap one waiting icon only if necessary to start the download stream.
    You can also try deleting the waiting icons - tap and hold down on an icon until it wiggles - the tap the X on the icon to delete it. Then try to download again.
    You can try resetting all settings. Settings>General>Reset>Reset All Settings. You will have to enter all of your app preferences and device settings again.
    If all else fails, download the updates or the apps in iTunes on your computer and then sync the content to your iPad.

  • Am having problems buying app from App Store ... It's not recognizing my credit card security code... It's says " incorrect code" any help pls wot do I do

    Am having problems buying app from App Store ... It's not recognizing my credit card security code... It's says " incorrect code" any help pls wot do I do

    This can be caused by a few things.
          Make sure the billing card address, the one on the statement is the exact
                 same as in iTunes.
          Note even the zip code being off can cause this.
           Try a different CC
          and the way the always works
              An iTunes GC.

  • Im having problems downloading apps and books onto my iPad. I live in Spain but my apple ID and purchases are made through my british account and address, does that make a difference

    Im having trouble downloading apps and books onto my iPad. I live in Spain, but I'm registered with Apple in the uk, and use Uk details, does this make a difference? Ive 7.1 GB available… Version  iOS 7.1.2.. can anyone help please

    Johnathan Burger wrote:
    IiTunes user agreement:
    The iTunes Service is available to you only in the United States, its territories, and possessions. You agree not to use or attempt to use the iTunes Service from outside these locations. Apple may use technologies to verify your compliance.
    http://www.apple.com/legal/internet-services/itunes/us/terms.html
    substitute any country that your account is in.
    It has to do with licensing and copyright laws varying worldwide.
    Yes, I know. Which is why I won't argue over it.   As I said I've never had an issue with it when travelling.
    And Apparently the purchase is working fine for the OP, its the actual download that gets hung up.
    Anyway, If the Purchase is going fine, then its more likely an issue with the internet connection.
    Are you on Cell service when trying to download rather than Wifi?

  • Anyone else having problems downloading apps

    having constant time outs to adobe servers trying to download updates and get on help pages

    Follow this link to a person who has had the same problem and "Digital Girl"s fix seems to work as I am downloading apps now on my iPhone and on my macbook.  Once the phone is done, I'm going to confirm that it worked as well on the other computer as well. 
    https://discussions.apple.com/message/17500910#17500910
    If that doesn't work, below is the post she left with the instructions she gave I hope it helps you out.
    Digital Girl
    Re: iTunes Error Message: iTunes Store is Temporarily Unavailable 
    Feb 4, 2012 4:23 PM (in response to mswinger)
    Hi mswinger, I'll do my best to try and help, go to the terminal and put lookupd -flushcache if that doesn't work, you can try sudo dscacheutil -flushcache while logged out of iTunes.
    Is there an "ampersand" in your account details: name: address, etc? Or is there a "period"?  If so, you could try removing those, click update, then go to your billing detaisl and see if there is anything that needs to be updated.
    Clearing the DNS Cache might help with speed and reset any error messages you are getting with any downloads in waiting.
    I hope you'll able to get it working.

  • HT204266 I'm currently having problems downloading apps or updates, is there a problem generally or is it just me?

    I'm unable to download new apps on my iPhone 5, iTunes for PC or iPad 3. I thought it may have been due to my password somehow being wrong but after changing it I'm still unable to update existing apps or download new apps. Is this a general problem or only affecting me?

    Forgot to mention using latest version of iTunes on a windows 7 PC and both my iPhone 5 and iPad 3 are running iOS 6.1. I notice a few others are having the same or similar problems.

  • Having problem in app store cos id is wrong

    Hi there,
    I've recently registered my sister's account in app store but the problem is the e-mail id is wrong so I can't get the verification code. Please advise me that what can I do further?

    Thanks for your reply but I solved the problem myself. I wrote the wrong id and then edited into correct one after that I got the verification e-mail and I can use it now.
    How you can?
      https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/ Use that URL and then I clicked on Manage Accoount so you can put the wrong Id on it and in the next step you are able to edit the correct e-mail id and get your verification e-mail.

  • Is anyone else having problems with App Store not processing updates?

    For last 36 hours, App Store is not processing updates. Rebooted, and hard rebooted. Tried tapping on apps to force a download, from the Purchased list and the home screen. Ipad also will not access new 8.1 version today. Any suggestions?

    The iTunes and Mac App Store / iCloud problem spontaneously resolved for me as of 21:54 Pacific Standard Time on 9/30/2012.
    Someone at Apple was aware of and fixed the problem. Finally.
    Yeah!

  • Anyone else having problems with App Store and it asking for you to accept terms and conditions

    Every time I try to use the App Store for updates or to download new apps, it asks me to accept new terms and conditions. I "accept" and it tells me to re-attempt download. When I try to do so! It brings up the box saying I need to accept the new terms and conditions. This loop continues indefinitely on all my Apple products.

    The iTunes and Mac App Store / iCloud problem spontaneously resolved for me as of 21:54 Pacific Standard Time on 9/30/2012.
    Someone at Apple was aware of and fixed the problem. Finally.
    Yeah!

  • Having problem with App Store. Says problem with billing, but I'm installing a free App.

    Problem installing a free App.

    Clarence,
    If you have a credit card on file with your apple id you can remove it and select the option for none, if something is wrong with your credit or billing information it will prevent you from downloading any content until its resolved.

  • Having problem arranging apps across pages

    I am not able to move apps from one screen to next. Is this a problem or is iPad different from iPhone/iPod?  Does my iPad2 have a problem? 
    <Edited by Host>

    cameramike wrote:
    Geez, you think I don't know that... Never mind.  
    How in the world can you expect anyone on this site to know what you know and don't know? Your profile indicates absolutely nothing to the rest of us trying to help you. 
    I think I may have bad something. Edges of display require more time to react.  Or apple has problem with icon arrangement
    Apple doesn't have the problem ... you do. I have NEVER once had a problem moving an app from one screen to the next and neither do the majority of iOS device users I would suspect.
    Guess all is not perfect.
    No - nothing is perfect. On this topic I agree with you.
      Maybe when I can jaibreak and install gridlock it will get better.
    Do this at your own risk and remember you could void the warranty on your iPad if you do it.
    I'm sure since you are such an expert that you tried a hard reset. If not it might be worth a try.

Maybe you are looking for

  • Outputstream and inputstream at servlet

    hi i need send count_s to my applet from servlet what's i'm doing wrong ?my servlet code is : import java.net.*; import java.io.*; import javax.servlet.*; import javax.servlet.http.*; public class CountServlet extends HttpServlet{      String count_s

  • Using Safari to connect to ORACLE forms

    Hallo, I want to test Safari as a browser to connect to ORACLE forms (10/11). When I try to do this, it tells me that it needs to download and install the appropriate jInitiator. Although it is already installed on my PC (I am using IE and Firefox to

  • Permission to view particular report only in SharePoint 2013

    Hi, How to setup the permissions in SharePoint 2013 for a particular report for a particular user? The report is of SSRS 2012 with SharePoint mode. We have many folders containing different reports. We are trying to provide access for a particular us

  • How to sign a java applet using iPlanet SSL certificate?

    Dear all, I have a IPlanet web server with SSL installed, can I use the SSL certificate to sign my java applet which will run on the server? how to sign a java applet in this scenario? somebody please help me! thanks! yours sincerely dashel

  • Printing and shipment timelines for iPhoto Book

    Hi - I uploaded a book with about 48 pages on the 16th of Jan. I keep checking the order history status to see when it will ship and it's been on "Printing" for 3 days... I've printed 3 other books in the past (about two years ago) and don't recall i