Bonjour à tous !

J'ai un problème avec un jar depuis plus de deux semaines et enfin j'ai décidé de poster ici pour vous demander.

Mon application essaie d'appeler une méthode (isProduitInCatalogue) qui a l'interface dans un jar client. Ce jar appelles un autre pour l’implémentation de la méthode. Je peux unzipper les deux jars et voir que la méthode existe toujours, mais quand j’exécute l'application, j'ai l'erreur suivante :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
23-09-2011 17:49:02,056 ERROR [TP-Processor3] OrderService.checkOrder(707) | Erreur :
javax.management.RuntimeMBeanException
        at org.jboss.mx.interceptor.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:176)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:163)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:201)
        at $Proxy17.invoke(Unknown Source)
        at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:769)
        at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:573)
        at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:387)
        at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:166)
Caused by: java.lang.IllegalStateException: Failed to find method for hash:2291548676764419244 available={4121927297169232143=public abstract void javax.ejb .EJBHome.remove(javax.ejb.Handle) throws java.rmi.RemoteException,javax.ejb.RemoveException, 2518505976925648856=public abstract java.lang.String com.inapa. interfaces.MarquesReferences.getXmlFamille(int,int,int,int) throws java.rmi.RemoteException, -374721343595414112=public abstract com.inapa.bean.data.GammeDa ta com.inapa.interfaces.MarquesReferences.getGammeData(int,int) throws java.rmi.RemoteException, 6979774737603932518=public abstract java.lang.String com.in apa.interfaces.MarquesReferences.getProduitPnum(int) throws java.rmi.RemoteException, 8904670208169961675=public abstract java.lang.String com.inapa.interfa ces.MarquesReferences.getXmlMarquesFamille(int,int) throws java.rmi.RemoteException, -3475799604217798784=public abstract java.lang.String com.inapa.interfa ces.MarquesReferences.getXmlListMarqAssoData(int,int,int) throws java.rmi.RemoteException, -9173306844608227035=public abstract java.lang.String com.inapa.i nterfaces.MarquesReferences.getXmlListeMarquesParMotCle(int,int,java.lang.String,int) throws java.rmi.RemoteException, 6660481556683164362=public abstract j ava.lang.String com.inapa.interfaces.MarquesReferences.getXmlListeMarquesRMC(int,int,int,int,int,int,int,int,int,int,int,int,int,int,java.lang.String,int,fl oat,float,boolean,int) throws java.rmi.RemoteException, -7503986558216913273=public abstract com.inapa.bean.data.MarqueTree com.inapa.interfaces.MarquesRefe rences.getMarqueTree(int,int,int,int,int) throws java.rmi.RemoteException, -1138595426320929033=public abstract java.lang.String com.inapa.interfaces.Marque sReferences.getXmlListeFamilleRMC(int,int,int) throws java.rmi.RemoteException, 8981122088959051067=public abstract javax.ejb.HomeHandle javax.ejb.EJBHome.g etHomeHandle() throws java.rmi.RemoteException, 118301413100400912=public abstract java.lang.String com.inapa.interfaces.MarquesReferences.getXmlListeProdui ts(int,int,int) throws java.rmi.RemoteException, -1001611921033158842=public abstract java.lang.String com.inapa.interfaces.MarquesReferences.getXmlListeGam mesParFamilleRMC(int,int,int,int) throws java.rmi.RemoteException, -4288096345404493577=public abstract java.lang.String com.inapa.interfaces.MarquesReferen ces.getXmlListeFamille(int) throws java.rmi.RemoteException, -288720750907835580=public abstract java.lang.String com.inapa.interfaces.MarquesReferences.get XmlMarqueData(int,int) throws java.rmi.RemoteException, -3487465067473463577=public abstract void com.inapa.interfaces.MarquesReferences.setListeMarqSubs(ja va.util.Vector) throws java.rmi.RemoteException, 1657526657513890081=public abstract java.lang.String com.inapa.interfaces.MarquesReferences.getXmlGamme(int ,int,int,int) throws java.rmi.RemoteException, -1353843067290856967=public abstract com.inapa.bean.data.ProduitData com.inapa.interfaces.MarquesReferences.g etProduitData(java.lang.String,int) throws java.rmi.RemoteException, 3126100139429711630=public abstract java.lang.String com.inapa.interfaces.MarquesRefere nces.getXmlListeRmcFinition(int,int,int,int,int,int) throws java.rmi.RemoteException, 5117355791054534663=public abstract java.lang.String com.inapa.interfa ces.MarquesReferences.getXmlListeEnvironnement(int,int) throws java.rmi.RemoteException, 7967957965284275163=public abstract java.lang.String com.inapa.inte rfaces.MarquesReferences.getXmlChampsFiltres(int,int,int,int,int,int) throws java.rmi.RemoteException, -5030496572608632427=public abstract com.inapa.bean.d ata.ProduitData com.inapa.interfaces.MarquesReferences.getProduitData(int,int) throws java.rmi.RemoteException, -667710202958755991=public abstract com.inap a.bean.data.MarqueCountData com.inapa.interfaces.MarquesReferences.getCountMarquesProduitsRMC(int,int,int,int,int,int,int,int,int,int,int,int,int,int,java.l ang.String,int,float,float,boolean,int) throws java.rmi.RemoteException, 5593312529909318144=public abstract java.lang.String com.inapa.interfaces.MarquesRe ferences.getXmlPDFCatalogues(int) throws java.rmi.RemoteException, -8751514728124814185=public abstract java.lang.String com.inapa.interfaces.MarquesReferen ces.getXmlListeCouleursDominantes(int,int,int,int) throws java.rmi.RemoteException, -2956783282253520982=public abstract java.lang.String com.inapa.interfac es.MarquesReferences.getXmlListeFamille(int,int,int) throws java.rmi.RemoteException, 1259507471824355435=public abstract java.lang.String com.inapa.interfa ces.MarquesReferences.getXmlListeProduits(int) throws java.rmi.RemoteException, -7116493949230775827=public abstract java.lang.String com.inapa.interfaces.M arquesReferences.getXmlListeMarquesRMC(int,int,int,int,int,int,int,int,int,int,int,int,int,int,java.lang.String,int,float,float,int) throws java.rmi.RemoteE xception, 6039341233515056036=public abstract java.lang.String com.inapa.interfaces.MarquesReferences.getXmlPDFMarquesDistributeur(int,int) throws java.rmi. RemoteException, -952889445610599309=public abstract java.lang.String com.inapa.interfaces.MarquesReferences.getXmlMarquesGammeRMC(int,int,int,int,int) thro ws java.rmi.RemoteException, 8832252696133801085=public abstract int com.inapa.interfaces.MarquesReferences.setMarqueData(com.inapa.bean.data.MarqueData) th rows java.rmi.RemoteException, -3308023138697003656=public abstract com.inapa.bean.data.MarqueCountData com.inapa.interfaces.MarquesReferences.getCountMarqu esProduitsRMC(int,int,int,int,int,int,int,int,int,int,int,java.lang.String,int,float,float,int) throws java.rmi.RemoteException, 3403569823568105723=public  abstract java.util.Vector com.inapa.interfaces.MarquesReferences.getListeMarqAsso(int,int) throws java.rmi.RemoteException, -5614743077431900701=public abst ract void com.inapa.interfaces.MarquesReferences.setListeMarqAsso(com.inapa.bean.data.MarqAssoData) throws java.rmi.RemoteException, -4177860261685105835=pu blic abstract com.inapa.interfaces.MarquesReferences com.inapa.interfaces.MarquesReferencesHome.create() throws javax.ejb.CreateException,java.rmi.RemoteExc eption, -8962422837656262141=public abstract com.inapa.bean.data.ProduitDispoData com.inapa.interfaces.MarquesReferences.getProduitDispoData(java.lang.Strin g,int) throws java.rmi.RemoteException, 7141378255233429900=public abstract java.lang.String com.inapa.interfaces.MarquesReferences.getXmlMarquesGamme(int,i nt) throws java.rmi.RemoteException, -1301055839571531544=public abstract com.inapa.bean.data.MarqueData com.inapa.interfaces.MarquesReferences.getMarqueDat a(java.lang.String,int) throws java.rmi.RemoteException,com.inapa.exception.I21Exception, 4488806123596516053=public abstract java.util.Vector com.inapa.int erfaces.MarquesReferences.getListeGroupeProduits(int) throws java.rmi.RemoteException, -3587523624801887731=public abstract java.lang.String com.inapa.inter faces.MarquesReferences.getXmlChampsDescriptifs(int,int,int) throws java.rmi.RemoteException, 3424865054187042101=public abstract java.lang.String com.inapa .interfaces.MarquesReferences.getXmlProduitDispoData(java.lang.String,int) throws java.rmi.RemoteException, -7423251857241384719=public abstract void javax. ejb.EJBHome.remove(java.lang.Object) throws java.rmi.RemoteException,javax.ejb.RemoveException, -1225864925247205563=public abstract void javax.ejb.EJBObjec t.remove() throws java.rmi.RemoteException,javax.ejb.RemoveException, 2223526288751793383=public abstract com.inapa.bean.data.FamilleData com.inapa.interfac es.MarquesReferences.getFamilleData(int,int) throws java.rmi.RemoteException, -6852156164036344347=public abstract java.util.Vector com.inapa.interfaces.Mar quesReferences.getListeEnvironnement(int) throws com.inapa.exception.I21Exception,java.rmi.RemoteException, -3260590760910195779=public abstract javax.ejb.H andle javax.ejb.EJBObject.getHandle() throws java.rmi.RemoteException, 7557536285376906963=public abstract int com.inapa.interfaces.MarquesReferences.getOnl yMarqueForGamme(int,int,int,int,int) throws java.rmi.RemoteException, 8594593460157411074=public abstract javax.ejb.EJBObject javax.ejb.Handle.getEJBObject( ) throws java.rmi.RemoteException, -8281964754442376436=public abstract java.lang.String com.inapa.interfaces.MarquesReferences.getXmlListeMarques(int) thro ws java.rmi.RemoteException, -992935358822352543=public abstract java.lang.String com.inapa.interfaces.MarquesReferences.getXmlListeRmcForm(int,int,int,int)  throws java.rmi.RemoteException, 8286378731332202307=public abstract java.lang.String com.inapa.interfaces.MarquesReferences.getXmlListeGammesParFamille(in t,int) throws java.rmi.RemoteException, 4512095171315154818=public abstract javax.ejb.EJBHome javax.ejb.EJBObject.getEJBHome() throws java.rmi.RemoteExcepti on, 8332696005882877577=public abstract com.inapa.bean.data.MarqueCountData com.inapa.interfaces.MarquesReferences.getCountMarquesProduitsRMC(int,int,int,in t,int) throws java.rmi.RemoteException, 8580305087288363145=public abstract com.inapa.bean.data.MarqueData com.inapa.interfaces.MarquesReferences.getMarqueD ata(int,int) throws java.rmi.RemoteException, -8043209775540393051=public abstract java.lang.String com.inapa.interfaces.MarquesReferences.getXmlGroupeProdu it(int,int) throws java.rmi.RemoteException, -9020164274461358950=public abstract java.lang.String com.inapa.interfaces.MarquesReferences.getXmlMarquesForFa mille(int,int,int,int,int) throws java.rmi.RemoteException, 7063121647353478110=public abstract java.lang.String com.inapa.interfaces.MarquesReferences.getX mlMarquesForGamme(int,int,int,int,int) throws java.rmi.RemoteException, 589567099976639727=public abstract void com.inapa.interfaces.MarquesReferences.setLi steMarqAsso(java.util.Vector) throws java.rmi.RemoteException, 7415355246179212884=public abstract boolean javax.ejb.EJBObject.isIdentical(javax.ejb.EJBObje ct) throws java.rmi.RemoteException, -8498078829687653562=public abstract int com.inapa.interfaces.MarquesReferences.setReferenceData(com.inapa.bean.data.Pr oduitData) throws java.rmi.RemoteException, 4733392130691310554=public abstract java.lang.String com.inapa.interfaces.MarquesReferences.getXmlChampsDescript ifs(int,int) throws java.rmi.RemoteException, 2201775639851473283=public abstract java.lang.String com.inapa.interfaces.MarquesReferences.getXmlListeProduit sFicheMarqueConditionnement(int,int,int,int,int,int,int,int,java.util.Hashtable,boolean,int,int) throws java.rmi.RemoteException, -5424675517500761346=publi c abstract java.lang.String com.inapa.interfaces.MarquesReferences.getXmlRmcGram(int,int,int,int) throws java.rmi.RemoteException, -883843542736932254=publi c abstract java.lang.Object javax.ejb.EJBObject.getPrimaryKey() throws java.rmi.RemoteException, 2090578623114583729=public abstract java.lang.String com.in apa.interfaces.MarquesReferences.getXmlListeMarques(int,int,int) throws java.rmi.RemoteException, -4655174337736580205=public abstract void com.inapa.interf aces.MarquesReferences.setListeMarqSubs(com.inapa.bean.data.MarqSubsData) throws java.rmi.RemoteException, -165064432683986132=public abstract java.util.Vec tor com.inapa.interfaces.MarquesReferences.getListeMarqSubs(int,int) throws java.rmi.RemoteException, 3781219857755091396=public abstract javax.ejb.EJBMetaD ata javax.ejb.EJBHome.getEJBMetaData() throws java.rmi.RemoteException}
        at org.jboss.invocation.MarshalledInvocation.getMethod(MarshalledInvocation.java:407)
        at org.jboss.ejb.Container.invoke(Container.java:958)
        at sun.reflect.GeneratedMethodAccessor66.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.jboss.invocation.unified.server.UnifiedInvoker.invoke(UnifiedInvoker.java:231)
        at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:201)
        at $Proxy17.invoke(Unknown Source)
        at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:769)
        at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:573)
        at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:387)
        at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:166)
        at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:163)
        at org.jboss.remoting.Client.invoke(Client.java:1634)
        at org.jboss.remoting.Client.invoke(Client.java:548)
        at org.jboss.invocation.unified.interfaces.UnifiedInvokerProxy.invoke(UnifiedInvokerProxy.java:183)
        at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:365)
        at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:197)
        at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
        at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
        at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112)
        at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
        at $Proxy14.isProduitInCatalogue(Unknown Source)
        at com.inapa.ws.service.OrderService.checkOrder(OrderService.java:473)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:194)
        at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:102)
        at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
        at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114)
        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:173)
        at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:167)
        at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:142)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
        at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
        at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
        at java.lang.Thread.run(Thread.java:595)

J'ai déjà essayé à :
- voir que le jar client (avec les interfaces) est créé en même temps que le jar avec les implémentations
- redeployer tout le war client encore une fois
- chercher par toute l'Internet ce problème sans réussir

Quelqu’un a une idée ?

Merci à tous !

PD : désolé par mon français, je suis espagnol habitant en France