For Programmers: Free Programming Magazines  


Home > Archive > Java Beans > April 2005 > Trouble running Tassie Online Book store EJBs on JBoss









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Trouble running Tassie Online Book store EJBs on JBoss
lonely sagittarian

2005-04-28, 4:00 am

Hi
> I am trying to run the Tassie Online Book Store
> Example. It is on:


http://benmira.free.fr/en/j2ee/sessionEJB.htm
>
> While I successfully compiled the Search (plus the
> other 2), BookDetails( plus the other 2). Finally when
> i come to the Cart set of EJBs, I am able to compile
> Cart.java, and CartHome.java. But when i try to
> compile Cartbean.java compilation fails.
>
> The details are as below:
>
> C:\classes>javac -classpath
> C:\jboss\client\jboss-j2ee.jar;. com/brainysoftware/
> tassie/ejb/CartBean.java
> com/brainysoftware/tassie/ejb/CartBean.java:35: cannot
> resolve symbol
> symbol : variable cart
> location: class com.brainysoftware.tassie.ejb.CartBean
> cart.add(row);
> ^
> com/brainysoftware/tassie/ejb/CartBean.java:40: cannot
> resolve symbol
> symbol : variable cart
> location: class com.brainysoftware.tassie.ejb.CartBean
> return cart;
> ^
> 2 errors
>
> ----------------------


I even tried compiling all the EJB's using javac/*.java. ( offcourse
by setting the classpath).
>
> Do you have any suggestions as to what is wrong?
> Perhaps I am missing something really obvious in all
> my inexperience. Your kind help is highly appreciated.
>
> sincerely
> ilango gurusamy
>


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com