users@glassfish.java.net

Re: javax.ejb.CreateException: Could not create stateless EJB

From: <glassfish_at_javadesktop.org>
Date: Sun, 07 Dec 2008 20:53:01 PST

Hi

 I am studyig ejb3 in action, but getting a few problems.
 I have downloaded the source code of the book and unzipped it in D:\ejb\books\glassfish.
 I have the Java System Application Server 9.1_01 (glassfish) installed.

 But I am getting following error on executing ant in glassfish directory of source code:
================
D:\ejb\books\glassfish>ant
Buildfile: build.xml

init:
     [echo] -----> Initializing project properties

DropDerbyDataSource:

BUILD FAILED
D:\ejb\books\glassfish\build.xml:82: Execute failed: java.io.IOException: CreateProcess: ${env.J2EE_HOME}\bin\asadmin.bat delete-jdbc-resource --user admin
 --host localhost --port 2697 jdbc/ActionBazaarDS error=2
============
I have changed the common.xml for the local settings on my laptop.
But the error is still there.

 Would anybody be kind enough to help?

Regards
[Message sent by forum member 'pankajsac' (pankajsac)]

http://forums.java.net/jive/thread.jspa?messageID=320546