-
-
2. Re: Bank example compile error.
hncen Oct 21, 2006 1:49 AM (in response to dream2732)I also encounted this error today. Does anyone know how to solve it?
-
3. Re: Bank example compile error.
vegas Nov 2, 2006 2:34 PM (in response to dream2732)That problem is caused by not having the jboss.home variable set in the jboss-build.properties file that lives at the root of the j2eetutorial14 directory. That ServiceImpl thing lives in one of the jars inside of jboss.home/server/client, I'm not sure exactly which one...
-
4. Re: Bank example compile error.
daniellaw Apr 17, 2007 7:05 AM (in response to dream2732)I have the same problem :-( I have defined the jboss.home variable. But it does not help... any ideas?
While reading the getting started tutorial I realized that i don't have a tomcat component installed. Is there something missing in my installation? I installed JBoss version 4.2.0.CR1.
Cheers, Daniel -
5. Re: Bank example compile error.
peterj Apr 17, 2007 12:57 PM (in response to dream2732)Um, the Getting Started guide is for 4.0.4, though I have successfully followed the Duke's Bank steps for 4.0.5. You should try it with that, and not with 4.2 (unless you are planning to modify the tutorial to work with 4.2)
-
6. Re: Bank example compile error.
daniellaw Apr 20, 2007 3:36 AM (in response to dream2732)Thank you very much! I now used the 4.0.5 version and it worked :-)
Cheers, Daniel -
7. Re: Bank example compile error.
sgoel108 Apr 26, 2007 2:04 PM (in response to dream2732)Hello
Thank you for the feedback. Are there plans for upgrading the tutorial to match with 4.2.0 or 5.0.o JBoss version.
A response on time line, if any, will be much appreciated.
Thanks
SG -
8. Re: Bank example compile error.
himm66 May 10, 2007 5:19 AM (in response to dream2732)
Hi all
Welcome to the cheapest discount cigarettes store ever. You can find here all the brands at a low price. Online cigarettes, cheap smokes. http://www.all-cigarettes-brands.com , http://www.cheap-cigarettes-brands.com , http://www.smoker-heaven.com http://www.the-cheapest-cigarettes.com , http://www.best-buy-cigarettes.com , http://www.smoke-discount-cigarettes.com
Cheap Drugs Online, the best online drug store with high quality products. Visit our online shop and you will not be disappointed. http://www.all-drugs-online.com , http://www.viagra-vitamins.com , http://www.medoutlet.net http://www.pharmawholesaler.com
Our online cigarettes shop is the best choice for smokers.. You can find here Marlboro, Camel, Kent and other brands at a lowest price. Online discount cigarettes. http://www.cigbrand.com ,
http://www.cigarettes-market.com , http://www.smoke4sale.com , http://www.topcigshop.com
You can buy best cigarettes online now!!! Discount Marlboro, Davidoff, Parliament and other premium and generic brands from Europe at our Eshop only. Cheap cigarettes prices. http://www.topcigarettesonline.com , http://www.salecigarettesonline.com , http://www.shop-smoke.com , http://www.shop-cigarette.com
Cheap cigarettes from Europe!!! Visit our online cigarettes shop to order all the famous brands: Marlboro, Camel, Chesterfield, Kent at discount. Cheap prices, best quality you always imagined. Buy now and you will win!!!
http://www.cigarettes-blog.com , http://www.buy-euro-cigarettes.com , http://www.discount-euro-cigarettes.com
Buy the best cheapest cigarettes online. You can purchase all the famous European brands at discount: Marlboro, Camel, Chesterfield, Kent. Make your choice to buy the best: http://www.all4smokers.net , http://www.smokingbrands4sale.com, http://www.marlboro4sale.net http://www.on-line-cigarettes.com
Cheap best Steroids Online, the best online store offers all the medicines for bodybuilding. Be nice and healthy with high quality products. Visit our online shop and you will not be disappointed. http://www.medoutlet.net , http://www.fitnessmed.net http://www.pharmasport.org -
9. same problem with Bank example compile error.
lutuanhui May 29, 2007 4:41 AM (in response to dream2732)Hi :
I met the same problem as dream2732 except for version 4.0.4,Is there anyone who solved this problem? Please share me your solution.
Thanks!"dream2732" wrote:
I carefully followed the getting started guide (for version 4.0.3SP1) to the point where it says "compiling the java source"--environment variables, I believe are set up correctly, and I also pointed jboss.home to my local jboss installation directory, when I ran the ant command "ant -f jboss-build.xml compile", get the following error :
[javac] C:\Documents and Settings\powerpc\Desktop\ff_down\j2eetutorial14\
examples\bank\src\com\jboss\ebank\WSClient.java:15: package org.jboss.ws.jaxrpc
does not exist
[javac] import org.jboss.ws.jaxrpc.ServiceFactoryImpl;
[javac] ^
[javac] C:\Documents and Settings\powerpc\Desktop\ff_down\j2eetutorial14\
examples\bank\src\com\jboss\ebank\WSClient.java:16: package org.jboss.ws.jaxrpc
does not exist
[javac] import org.jboss.ws.jaxrpc.ServiceImpl;
[javac] ^
[javac] C:\Documents and Settings\powerpc\Desktop\ff_down\j2eetutorial14\
examples\bank\src\com\jboss\ebank\WSClient.java:31: cannot find symbol
[javac] symbol : class ServiceFactoryImpl
[javac] location: class com.jboss.ebank.WSClient
[javac] ServiceFactoryImpl factory = new ServiceFactoryImpl();
[javac] ^
[javac] C:\Documents and Settings\powerpc\Desktop\ff_down\j2eetutorial14\
examples\bank\src\com\jboss\ebank\WSClient.java:31: cannot find symbol
[javac] symbol : class ServiceFactoryImpl
[javac] location: class com.jboss.ebank.WSClient
[javac] ServiceFactoryImpl factory = new ServiceFactoryImpl();
[javac] ^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 4 errors
Has anyone experienced this before? Any input is appreciated. -
10. Re: Bank example compile error.
peterj May 29, 2007 10:54 AM (in response to dream2732)The compiler should have found that class in the client/jbossws-client.jar file, and the client directory is in the classpath for the compiler. What are the contents of your jboss-build.properties file (it is in the base j2eetutotial14 directory)?
-
11. Re: Bank example compile error.
alanc Jun 12, 2007 8:04 AM (in response to dream2732)I'd really like to know how those people who got Duke's Bank working with JBoss 4.0.5 did it.
I'm using 4.0.5 on Windows with the IBM Java 5 JDK.
I have set the jboss.home value to the location of my JBoss installation, which is C:/jboss/jboss-4.0.5.GA.
I have executed all the steps of the tutorial from the first ANT task, compile, through creating and populating the db tables, up to the deploy task.
I did find one discrepancy between the tutorial and JBoss 4.0.5. In the hsqldb-ds.xml file, the mBean for accessing the db in server-mode (the second last mBean in the file) had an extra attribute not shown in the tutorial. This was the "BindAttribute", which I set to "localhost" as in the <connection-url> from the top of the file. But in all other respects I have followed the tutorial exactly.
However, when I log into the application through my browser, entering the designated username ("200") and password ("j2ee"), I get an error.
On screen it is listed as a JspTagException in JSP /template/links.jsp:33 30. But the logs indicate the problem really starts with a NoClassDefFound exception when trying to call ejbCreate() for CustomerControllerBean.
I don't get it. I haven't hacked the build file. I haven't hacked the server (I started with a clean installation, running the default server as per the tutorial). I haven't hacked the tutorial sources, other than to copy the JBoss files in on top of the original Sun ones. Nor have I hacked the generated .EAR file to remove a .jar or change its visibility.
Can any of those who have got this tutorial to work suggest what is going wrong here? -
12. Re: Bank example compile error.
peterj Jun 12, 2007 11:38 AM (in response to dream2732)Somewhere along the line one of the JSP-related libraries changed. Perhaps it was a change in Tomcat 5.5. It has been a while since I tracked down the problem. A lengthy discussion, and the sourlion, can be found in the post http://www.jboss.com/index.html?module=bb&op=viewtopic&t=93866.
-
13. Re: Bank example compile error.
alanc Jun 12, 2007 8:46 PM (in response to dream2732)Thanks for the suggestion, Peter, but unfortunately it doesn't seem to have solved my problem.
As per the other forum thread, I removed the \$ combination from the .jsp files (accountList.jsp, atmAck.jsp and transferAck.jsp), recompiled and redeployed, but I still get the same error.
Starts with the java.lang.NoClassDefFoundError in CustomerControllerHome.create(), and further down the stack trace there is a Null Pointer Exception on CustomerBean.getAccounts(). -
14. Re: Bank example compile error.
peterj Jun 13, 2007 10:37 AM (in response to dream2732)Could you try the Sun JDK 1.5? That is the only other thing I see that you did differently than what I did.
If that doesn't work, post the stack trace, maybe that will give me a clue.