aspose file tools*
The moose likes JBoss/WildFly and the fly likes Jboss Starter Duke's Bank Application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Jboss Starter Duke Watch "Jboss Starter Duke New topic
Author

Jboss Starter Duke's Bank Application

farooq kadri
Greenhorn

Joined: Jun 25, 2009
Posts: 12
Hi All,

Am kinda new to learning JBoss. I am following the start guide for JBoss 4.0. URL : http://www.jboss.org/jbossas/docs/

I am facing issues in deploying the Duke's Bank application. I first extracted the j2ee-1_4-doc-tutorial_7.zip
Then extracted jbossj2ee-src.zip in the folder j2eetutorial14 as per page 21 of the guide.

I made the changes in the jboss-build.properties file,eg: D:\Jboss\jboss-4.0.0 (Thats is where my JBoss is installed)

Ran ant -f jboss-build.xml compile to compile and below is the error message that I am getting:

================================================================


D:\Jboss\jboss-4.0.0\j2eetutorial14\examples\bank>ant -f jboss-build.xml compile
Buildfile: jboss-build.xml

prepare:

compile:
[javac] Compiling 60 source files to D:\Jboss\jboss-4.0.0\j2eetutorial14\examples\bank\build

BUILD FAILED
D:\Jboss\jboss-4.0.0\j2eetutorial14\examples\bank\jboss-build.xml:55: D:\Jboss\jboss-4.0.0\j2eetutorial14\examples\bank\
Jbossjboss-4.0.0\client not found.

Total time: 1 second
D:\Jboss\jboss-4.0.0\j2eetutorial14\examples\bank>

================================================================

According to what I understand the issue is in the jboss-build.xml just above line 55. Below is the extract from the jboss-build.xml file

=================================================================


<!-- ================================================================ -->
<!-- Compiles the source code -->
<!-- ================================================================ -->
<target name="compile" depends="prepare">
<javac destdir="${build.dir}" classpathref="build.classpath"
debug="on">
<src path="${src.dir}"/>
</javac>
</target>


===============================================================

I am not able to understand where I am going wrong. Is it possible that the jbossj2ee-src.zip is not right.

Would greatly appreciate any help on this. Thanks
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10059
    
163

I made the changes in the jboss-build.properties file,eg: D:\Jboss\jboss-4.0.0 (Thats is where my JBoss is installed)


D:\Jboss\jboss-4.0.0\j2eetutorial14\examples\bank\Jbossjboss-4.0.0\client not found.


Looks like the JBOSS_HOME property is not correctly recognized. Can you try using a '/' instead of a '\' in the value of JBOSS_HOME, like this:



There was a similar issue discussed here


[My Blog] [JavaRanch Journal]
farooq kadri
Greenhorn

Joined: Jun 25, 2009
Posts: 12
Thank you very much. That worked!!!
 
jQuery in Action, 2nd edition
 
subject: Jboss Starter Duke's Bank Application