• Post Reply Bookmark Topic Watch Topic
  • New Topic

Failure to run simple clientsessionmdb example from Sun Java EE tutorial

 
Anton Shaikin
Ranch Hand
Posts: 65
IntelliJ IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,
I'm fairly new to Java EE technology. I'm trying to run simple web-application that makes use of JMS from official Sun Java EE 5 tutorial. Here's the link that describes the contents of this application: http://download.oracle.com/docs/cd/E17477_01/javaee/5/tutorial/doc/bncgw.html
I set JAVA_HOME, ANT_HOME, started the Glassfish server v3, and from the root directory issue following commands:

Until this point everything runs smoothly with no problems. But when I execute

I get the following output:

What could be the possible reason? I ran the updatetool from {glassfish.root}/bin and checked the installed applications. Among them I found ejb container, so that means that it is already installed, but what other container is required to run this simple application? I'm getting really frustrated, since I spent the whole day trying to figure out what I'm doing wrong to no avail. So I would really appreciate any help. And of course, I'm willing to give you more information upon request
P.S. Also, there is configuration file build.properties and here its contents:

I'm trying to deploy my application on localhost which is specified in build.properties file.
 
Anton Shaikin
Ranch Hand
Posts: 65
IntelliJ IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I solved the problem by installing Glassfish v2 (since the example was in Java EE 5 tutorial). Didn't know the difference could be so huge
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!