-
1. Re: 4.0.5 Problems
alex.pinkin Nov 21, 2006 10:39 AM (in response to djr667)yes we will soon be releasing installer 1.2.0.CR1 which should fix EJB3 issues. sorry for the inconvenience
-
2. Re: 4.0.5 Problems
boby Nov 27, 2006 8:53 AM (in response to djr667)I installed JBoss and EJB3 with the installer 1.2.0CR1 et my problem persists always. After deployment concerning a method (EJB3 session remoting) using an application specific object, I have always this error :
java.lang.IllegalArgumentException: Wrong target.
When I install jboss with the zip file, I don't have this problem.
I thought that it was resolved reading this message.
I hope that you could resolve this problem.
Regards,
J. Bordeau. -
3. Re: 4.0.5 Problems
herkules Nov 27, 2006 11:35 AM (in response to djr667)Hi,
for me the CR1 has the same problem, EJB3 hot deploy still doesn't work.
What exactly is the JBoss 4.0.5.GA? Is it file distribution or jems beta3 or jems CR1? They differ.
djr667 - thanks for notice.
JBoss - thanks for your support.
Jan -
4. Re: 4.0.5 Problems
vralev Nov 27, 2006 1:55 PM (in response to djr667)Please see http://jboss.com/index.html?module=bb&op=viewtopic&p=3988985#3988985.
And if anyone has non-confidential ejb3-jars which are not hot-deployable send them to vladimir.ralev@jboss.com or vralev@redhat.com -
5. Re: 4.0.5 Problems
boby Nov 27, 2006 3:20 PM (in response to djr667)Im going to see tomorow if I can send to you my .ear containing a .war and 2 jars.
During the first deployment, the changes are take in account. These are the next deployments which occur a java.lang.IllegalArgumentException.
I have 2 computers, one with windows to develop my application and my jboss server is under Linux (Debian). When I want to use my EJB3 remote the first time, everything works, but not the next times except after a jboss reboot.
The problem is occured only when I want to call some methods with MyObjects in arguments, otherwise other methods work everytime.
Maybe our problem comes from our application.xml. On the other hand, I dont have problem with the jndi.
Thanks. -
6. Re: 4.0.5 Problems
boby Nov 28, 2006 3:12 AM (in response to djr667)Im sorry, I asked my boss. He does not prefer to send our jar application. I dont understand really, but the decison doest not belong to me.
Regards.
J. Bordeau. -
7. Re: 4.0.5 Problems
djr667 Nov 29, 2006 4:58 AM (in response to djr667)Installed JEMS 1.2.0.CR1 and everything appears to work OK.
Even re-deploying a library Session-bean works OK with no need to redeploy any referening beans.
Dave -
8. Re: 4.0.5 Problems
alex.pinkin Nov 30, 2006 9:25 PM (in response to djr667)Good to know, djr667. Let us know if you run into any other issues
-
9. Re: 4.0.5 Problems
herkules Dec 2, 2006 4:13 AM (in response to djr667)Hi,
for me the redeploy doesn't work even in jems 1.2.0.CR1.
I compiled ex06_5 sample from "Enterprise JavaBeans 3.0" book, deployed to JBoss. Started JBoss and test client - works fine. Then I deleted the titan.jar and deployed it again (no recompile, no change, Jboss still running) and now the client throws:[java] Caused by: java.lang.IllegalArgumentException: Wrong target. class com.titan.travelagent.TravelAgentBean for public long com.titan.travelagent.TravelAgentBean.createCustomer(com.titan.domain.Customer)
The samples are available at http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=187246&release_id=419708
Thank you for your support, Jan -
10. Re: 4.0.5 Problems
boby Dec 4, 2006 3:44 AM (in response to djr667)Yes, I have the same error than jan_bar.
-
11. Re: 4.0.5 Problems
milx Dec 17, 2006 4:23 PM (in response to djr667)Same problem here, have to restart or I get the "Wrong target" error.
-
12. Re: 4.0.5 Problems
dimitris Dec 18, 2006 3:58 AM (in response to djr667)You next option is to try EJB3 RC9 Patch1:
http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=132063 -
13. Re: 4.0.5 Problems
bustanil Dec 18, 2006 4:52 AM (in response to djr667)Hi,
I have installed EJB3 RC9 Patch1 on my existing jboss-4.0.5 to fix the redeploy problem as suggested then I recompiled and redeployed the code. But, the "wrong target class" problem still appears. Is there anything i missed?
Maybe i should go back to jboss-4.0.4?
Best regards,
Bustanil Arifin -
14. Re: 4.0.5 Problems
herkules Dec 18, 2006 5:24 AM (in response to djr667)Thank you Dimitris, I installed the patch but the problem persists, still the same trouble as described at "Sat Dec 2, 2006 04:13 AM".
Can you replicate the problem or it works for you? Maybe the problem is not in JBoss, but it worked in 4.0.4.
My settings:
Windows 2000
Java: 1.5.0_07-b03
or
Gentoo Linux
Java: 1.5.0_08-b03