Forums Register Login

Failure to run simple clientsessionmdb example from Sun Java EE tutorial

+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
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
Enjoy the full beauty of the english language. Embedded in this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 2005 times.
Similar Threads
Problem deploying war with ant in glass fish 3.1.1
executing a .bat file through ANT
J2EE 1.5 tutorial
Getting Error:- Chapter 3 of EJB 3 in action using glassfish server 2.1
sun one server problem
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 20:15:22.