This content has been marked as final.
Show 4 replies
-
1. Re: EJB - java.lang.ClassCastException - newbie
gunzip Apr 3, 2004 6:17 PM (in response to gunzip)I'm with JBoss 3.2.3 Java 1.4.2
I've heard its necessary to create CLIENT jar file with the home interface and
put in the lib on ant
I'm not sure how to do it, coudl someone give me an 'idiots' guide?
I tried to generate a jar via ant using the same tags as in the EJB but they didnt generate anything, I tried jar -c filename, but didnt work -
2. Re: EJB - java.lang.ClassCastException - newbie
gunzip Apr 4, 2004 8:25 PM (in response to gunzip)NOBODY KNOWS?
-
3. Re: EJB - java.lang.ClassCastException - newbie
juha Apr 5, 2004 12:46 AM (in response to gunzip)This class name from your descriptior
org.jboss.dww.HelloHome
Does not match the class name your using in your code. -
4. Re: EJB - java.lang.ClassCastException - newbie
gunzip Apr 5, 2004 6:56 AM (in response to gunzip)Yes, that was the problem
thanks.
If it is not asking too much, coudl you give me an example
of how a web site using EJB(jar) and Hibernate(sar) and WAR should be structured
so ANT would not keep adding useless class to all their directories
I'm not sure what they need in terms of classes and mapping, just in terms of XMLs