-
1. Re: Dike's Bank example - build failed
huawang_99 Feb 22, 2005 4:41 PM (in response to alexmo)Did you modified jboss-build.xml to have jboss.home point to the directory where you installed Jboss? Hope that will help
Hua -
2. Re: Dike's Bank example - build failed
huawang_99 Feb 22, 2005 6:23 PM (in response to alexmo)Sorry, the file you should modified is "jboss-build.properties" to add jboss.home instead of jboss-build.xml.
Good luck -
3. Re: Dike's Bank example - build failed
alexmo Feb 22, 2005 11:34 PM (in response to alexmo)There is no jboss-build.properties file in the downloaded .zip archive, only build.properties, and I did set the jboss.home to the JBOSS install directory (C:\jboss-4.0.1sp1). To be sure, I duplicated the build.properties file, and renamed it jboss-build.properties - but nothing changed. The build still fails.
Thanks for the reply, though. -
4. Re: Dike's Bank example - build failed
bpcrao Jun 10, 2005 6:13 AM (in response to alexmo)Exactly same problem, help :)
-
5. Re: Dike's Bank example - build failed
norman.richards Jun 10, 2005 9:38 AM (in response to alexmo)It is there:
[gettingstarted]$ jar tvf jbossj2ee-src.zip | grep jboss-build.properties 293 Wed Nov 24 11:16:42 CST 2004 jboss-build.properties
-
6. Re: Dike's Bank example - build failed
clairecostello Jun 13, 2005 6:56 AM (in response to alexmo)The jboss-build.properties file is in the root directory of the J2EE tutorial folder structure (where you installed tutorial).
-
7. Re: Dike's Bank example - build failed
victor.declerk Jun 18, 2005 7:24 AM (in response to alexmo)Note this:
Make sure you have the 1.3 tutorial files and not the 1.4 ones, which contain the same examples but with a different directory layout.(The Duke's Bank Application Chapter)
-
8. Re: Dike's Bank example - build failed
hmkarw Jun 26, 2005 9:47 PM (in response to alexmo)I got a different kind of a failure, did everything by the book. Am I missing something or the docs are incomplete?
Compiling 5 source files to C:\jboss-4.0.2\src\examples\bank\build C:\jboss-4.0.2\src\examples\bank\src\com\jboss\ebank\TellerBean.java:16: package com.sun.ebank.ejb.account does not exist import com.sun.ebank.ejb.account.AccountController; ^ C:\jboss-4.0.2\src\examples\bank\src\com\jboss\ebank\TellerBean.java:17: package com.sun.ebank.ejb.account does not exist import com.sun.ebank.ejb.account.AccountControllerHome; ^ C:\jboss-4.0.2\src\examples\bank\src\com\jboss\ebank\TellerBean.java:18: package com.sun.ebank.util does not exist import com.sun.ebank.util.AccountDetails; ^ C:\jboss-4.0.2\src\examples\bank\src\com\jboss\ebank\TellerBean.java:26: cannot find symbol symbol : class AccountController location: class com.jboss.ebank.TellerBean private AccountController getController() ^ C:\jboss-4.0.2\src\examples\bank\src\com\jboss\ebank\web\CustomerHackFilter.java:5: package com.sun.ebank.util does not exist import com.sun.ebank.util.Debug; ^ C:\jboss-4.0.2\src\examples\bank\src\com\jboss\ebank\web\CustomerHackFilter.java:6: package com.sun.ebank.web does not exist import com.sun.ebank.web.*; ^ C:\jboss-4.0.2\src\examples\bank\src\com\jboss\ebank\TellerBean.java:32: cannot find symbol symbol : class AccountControllerHome location: class com.jboss.ebank.TellerBean AccountControllerHome home = (AccountControllerHome) ^ C:\jboss-4.0.2\src\examples\bank\src\com\jboss\ebank\TellerBean.java:32: cannot find symbol symbol : class AccountControllerHome location: class com.jboss.ebank.TellerBean AccountControllerHome home = (AccountControllerHome) ^ C:\jboss-4.0.2\src\examples\bank\src\com\jboss\ebank\TellerBean.java:40: cannot find symbol symbol : class AccountController location: class com.jboss.ebank.TellerBean AccountController mgr = getController(); ^ C:\jboss-4.0.2\src\examples\bank\src\com\jboss\ebank\TellerBean.java:41: cannot find symbol symbol : class AccountDetails location: class com.jboss.ebank.TellerBean AccountDetails details = mgr.getDetails(accountID); ^ C:\jboss-4.0.2\src\examples\bank\src\com\jboss\ebank\TellerBean.java:53: cannot find symbol symbol : class AccountController location: class com.jboss.ebank.TellerBean AccountController mgr = getController(); ^ C:\jboss-4.0.2\src\examples\bank\src\com\jboss\ebank\TellerBean.java:60: cannot find symbol symbol : class AccountDetails location: class com.jboss.ebank.TellerBean AccountDetails details = (AccountDetails) it_list.next(); ^ C:\jboss-4.0.2\src\examples\bank\src\com\jboss\ebank\TellerBean.java:60: cannot find symbol symbol : class AccountDetails location: class com.jboss.ebank.TellerBean AccountDetails details = (AccountDetails) it_list.next(); ^ C:\jboss-4.0.2\src\examples\bank\src\com\jboss\ebank\web\CustomerHackFilter.java:40: cannot find symbol symbol : class BeanManager location: class com.jboss.ebank.web.CustomerHackFilter BeanManager beanManager = ^ C:\jboss-4.0.2\src\examples\bank\src\com\jboss\ebank\web\CustomerHackFilter.java:41: cannot find symbol symbol : class BeanManager location: class com.jboss.ebank.web.CustomerHackFilter (BeanManager) session.getAttribute("beanManager"); ^ C:\jboss-4.0.2\src\examples\bank\src\com\jboss\ebank\web\CustomerHackFilter.java:44: cannot find symbol symbol : variable Debug location: class com.jboss.ebank.web.CustomerHackFilter Debug.print("hack - Creating bean manager."); ^ C:\jboss-4.0.2\src\examples\bank\src\com\jboss\ebank\web\CustomerHackFilter.java:45: cannot find symbol symbol : class BeanManager location: class com.jboss.ebank.web.CustomerHackFilter beanManager = new BeanManager(); ^ C:\jboss-4.0.2\src\examples\bank\src\com\jboss\ebank\web\CustomerHackFilter.java:49: cannot find symbol symbol : class CustomerBean location: class com.jboss.ebank.web.CustomerHackFilter CustomerBean customerBean = new CustomerBean(); ^ C:\jboss-4.0.2\src\examples\bank\src\com\jboss\ebank\web\CustomerHackFilter.java:49: cannot find symbol symbol : class CustomerBean location: class com.jboss.ebank.web.CustomerHackFilter CustomerBean customerBean = new CustomerBean(); ^ C:\jboss-4.0.2\src\examples\bank\src\com\jboss\ebank\web\CustomerHackFilter.java:52: cannot find symbol symbol : variable Debug location: class com.jboss.ebank.web.CustomerHackFilter Debug.print("hack - added customerBean to request");
-
9. Re: Dike's Bank example - build failed
philipp.kanne Jul 7, 2005 3:36 AM (in response to alexmo)@hmkarw: you have to download the j2ee-1.4 tutorial from sun first. See at
http://java.sun.com/j2ee/1.4/download.html#tutorial -
10. Re: Dike's Bank example - build failed
nguyenht Jul 20, 2005 6:06 AM (in response to alexmo)Great ! i've same problem. Some one add this comment to Getting Start for JBoss AS.
-
11. Re: Dike's Bank example - build failed
steven.zhong Jul 27, 2005 7:43 PM (in response to alexmo)hi, guys, just cp the properties file to the j2eetutorial14's top level directory. copy the libs dirctory to the the top level directory. overwrite the bank directory of j2eetoturial.
you will get the correct response. -
12. Re: Dike's Bank example - build failed
jbcoffie Aug 3, 2005 7:24 PM (in response to alexmo)I had the same problem today but got it working! Go to the sun site and download update 5 instead of update 4.
The needed files (AccountController.java, etc) were available and it compiled fine.
Regards! -
13. Re: Dike's Bank example - build failed
eferreyra Sep 26, 2005 10:03 AM (in response to alexmo)I have this in jboss-build.properties
jboss.home=c:/jboss-4.0.3RC1
jboss.server=${jboss.home}/server/default
jboss.deploy.dir=${jboss.server}/deploy
im trying to do the ANT build with eclipse, and i get this error...
C:\Proyectos\j2eetutorial14\examples\bank\jboss-build.xml:59: C:\Proyectos\j2eetutorial14\examples\bank\${jboss.home}\client not found.
some idea ?? -
14. Re: Dike's Bank example - build failed
eferreyra Sep 26, 2005 10:08 AM (in response to alexmo)ups
I Change:
for
and there is, i move this file before so i can see in the Eclipse WorkSpace ...
THANKS