• 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 ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Jboss Starter Duke's Bank Application

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
farooq kadri
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you very much. That worked!!!
 
reply
    Bookmark Topic Watch Topic
  • New Topic