• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

Java Application Client Project

Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am having trouble with a test Application Client Project in Eclipse. Any help you can give me about what I am doing wrong if appreciated. I am using the following software:

  • jdk1.8.0_25
  • Eclipse Luna Release (4.4.0) Build id: 20140612-0600
  • GlassFish Server Open Source Edition 4.0 (build 89)

  • I have an Enterprise Application Project named TestApp. It has nothing of interest.

    I have an EJB Project named TestEJB. It has the following things of interest.



    I have an Application Client Project named TestAppClient. It has the following things of interest.



    The EJB and Application Client Project are in the EAR project, and the project deploys successfully. In order to get the JNLP file, I need to add an exception for port 8080 of my machine as you see below.

    Next, I navigate to http://localhost:8080/TestApp/TestAppClient in my browser, and it downloads a JNLP file to my computer. It takes a really long time to download even though I am running this on the same machine as the server. When it starts, I see the following prompt. The name of the app has nothing to do with my code.

    Running the application fails with the following output.

    Launch File tab

    Exception tab

    Console tab

    If I look in my cache viewer, I see the application takes up 76,393 KB! That explains the slowness.

    Any help you can offer about what I am doing wrong is appreciated.
    The knights of nee want a shrubbery. And a tiny ad:
    a bit of art, as a gift, the permaculture playing cards
      Bookmark Topic Watch Topic
    • New Topic