[Users] Utilisation bc-EJB

Vincent Zurczak [via Petals Forums] ml-node+s974793n3899448h62 at n3.nabble.com
Tue Apr 10 14:27:35 CEST 2012



Bonjour,


lgracianette wrote
> 
> En EJB 2.1 je n'ai pas le WSDL.
> 
Vous pouvez regarder dans les logs du studio ?
Window > Show View > Error Log
Il doit y avoir une entrée liée à la génération qui a échoué. 

Sinon, le studio s'appuie sur CXF pour générer un WSDL depuis une classe
Java non-annotée JAX-WS. Vous êtes sûr qu'il ne manque pas une dépendance
pour votre EJB dans le class path de génération ? Est-ce que vous pouvez
tester avec une tâche ANT CXF (JavaToWs). 


lgracianette wrote
> 
> [Petals.JBI-Messaging.RouterServiceImpl]-FINEST 2012-04-05 14:16:13,955
> RouterServiceImpl.sendToProvider() Send attempt to endpoint
> 'CalendarEJB3RemotePort'
> [Petals.Transporter.LocalTransporter]-FINEST 2012-04-05 14:16:13,971
> -START-LocalTransporterImpl.sendSync()
> [Petals.JBI-Messaging.RouterMonitorServiceImpl]-FINEST 2012-04-05
> 14:16:13,971 -CALL-RouterMonitorServiceImpl.exchangeSent() Exchange Id :
> petals:uid:AC13D32D83DA26E0C92684075942495171
> [Petals.JBI-Messaging.RouterServiceImpl]-FINEST 2012-04-05 14:16:13,971
> -START-RouterServiceImpl.onExchange()
> [Petals.JBI-Messaging.RouterMonitorServiceImpl]-FINEST 2012-04-05
> 14:16:13,971 -CALL-RouterMonitorServiceImpl.exchangeReceived() Exchange Id
> : petals:uid:AC13D32D83DA26E0C92684075942495171
> [Petals.JBI-Messaging.RouterServiceImpl]-FINEST 2012-04-05 14:16:13,971
> -END-RouterServiceImpl.onExchange()
> [Petals.JBI-Messaging.RouterServiceImpl]-FINEST 2012-04-05 14:16:13,971
> -END-RouterServiceImpl.receive() Exchange Id :
> petals:uid:AC13D32D83DA26E0C92684075942495171 - Component : petals-bc-ejb
> [Petals.Container.Installer.petals-bc-ejb]-FINEST 2012-04-05 14:16:13,971
> -CALL-ComponentContextImpl.getTransactionManager()
> [Petals.Container.Installer.petals-bc-ejb]-FINEST 2012-04-05 14:16:13,971
> -END-DeliveryChannelImpl.poll()
> [Petals.Container.Components.petals-bc-ejb]-FINE 2012-04-05 14:16:13,971
> Accepting a JBI message with Id :
> petals:uid:AC13D32D83DA26E0C92684075942495171
> [Petals.Container.Installer.petals-bc-ejb]-FINEST 2012-04-05 14:16:13,971
> -CALL-DeliveryChannelImpl.accept()
> [Petals.Container.Components.petals-bc-ejb]-FINEST 2012-04-05 14:16:13,971
> Process an exchange as PROVIDER with id :
> petals:uid:AC13D32D83DA26E0C92684075942495171
> [Petals.Container.Installer.petals-bc-ejb]-FINEST 2012-04-05 14:16:13,971
> -START-DeliveryChannelImpl.poll()
> [Petals.JBI-Messaging.RouterServiceImpl]-FINEST 2012-04-05 14:16:13,971
> -START-RouterServiceImpl.receive() Component : petals-bc-ejb - Timeout :
> -1
> [Petals.Container.Components.petals-bc-ejb]-FINE 2012-04-05 14:16:13,971
> Intercepting message processing on ACCEPT
> [Petals.Container.Components.petals-bc-ejb]-SEVERE 2012-04-05 14:16:14,002
> Can't call : getTime : No Such Method error :
> java.lang.NoSuchMethodException:
> org.omg.stub.java.rmi._Remote_Stub.getTime()
>         at java.lang.Class.getMethod(Class.java:1605)
>         at
> org.ow2.petals.bc.ejb.service.EjbService.callEjbUsingJAXB(EjbService.java:226)
>         at
> org.ow2.petals.bc.ejb.service.EjbService.callEjb(EjbService.java:120)
>         at
> org.ow2.petals.bc.ejb.listeners.EjbBcJbiListener.onJBIMessage(EjbBcJbiListener.java:67)
>         at
> org.ow2.petals.component.framework.process.MessageExchangeProcessor.processInOutAsProvider(MessageExchangeProcessor.java:637)
>         at
> org.ow2.petals.component.framework.process.MessageExchangeProcessor.processAsProvider(MessageExchangeProcessor.java:372)
>         at
> org.ow2.petals.component.framework.process.MessageExchangeProcessor.process(MessageExchangeProcessor.java:234)
>         at
> org.ow2.petals.component.framework.process.MessageExchangeProcessor.run(MessageExchangeProcessor.java:177)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:662)
> [Petals.Container.Components.petals-bc-ejb]-SEVERE 2012-04-05 14:16:14,002
> Can't call : getTime : No Such Method error :
> [Petals.Container.Components.petals-bc-ejb]-FINE 2012-04-05 14:16:14,049
> Intercepting message processing on ACCEPT_RESPONSE
> [Petals.Container.Installer.petals-bc-ejb]-FINEST 2012-04-05 14:16:14,049
> -CALL-DeliveryChannelImpl.send() Exchange
> Id:petals:uid:AC13D32D83DA26E0C92684075942495171
> [Petals.Container.Installer.petals-bc-ejb]-FINEST 2012-04-05 14:16:14,049
> -START-ComponentContextImpl.getLogger()
> [Petals.Container.Installer.petals-bc-ejb]-FINEST 2012-04-05 14:16:14,049
> -START-ComponentContextImpl.getComponentLogger()
> [Petals.Container.Installer.petals-bc-ejb]-FINEST 2012-04-05 14:16:14,049
> -END-ComponentContextImpl.getComponentLogger()
> [Petals.Container.Installer.petals-bc-ejb]-FINEST 2012-04-05 14:16:14,049
> -END-ComponentContextImpl.getLogger()
> [Petals.Container.Components.petals-bc-ejb]-FINEST 2012-04-05 14:16:14,049
> Message Fault with Id 'petals:uid:AC13D32D83DA26E0C92684075942495171' to
> send
> [Petals.Container.Components.petals-bc-ejb]-FINEST 2012-04-05 14:16:14,049
> Operation : {http://ejb3.ejb.sample.com/}getTime
> [Petals.Container.Components.petals-bc-ejb]-FINEST 2012-04-05 14:16:14,049
> MEP : http://www.w3.org/2004/08/wsdl/in-out
> [Petals.Container.Components.petals-bc-ejb]-FINEST 2012-04-05 14:16:14,065
> Message Content : <?xml version="1.0" encoding="windows-1252"
> standalone="no"?><soapenv:Fault
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>soapenv:Server</faultcode><faultstring></faultstring><faultactor>http://petals.ow2.org/petals-bc-ejb</faultactor><detail><stackTrace></stackTrace></detail></soapenv:Fault>
> [Petals.Container.Installer.petals-bc-ejb]-FINEST 2012-04-05 14:16:14,065
> -CALL-ComponentContextImpl.getTransactionManager()
> 
Vous utilisez quoi pour invoquer le service Petals qui proxyfie l'EJB ? Soap
UI ?

-----
&laquo; Petals M.D. &raquo;
_______________________________________________
If you reply to this email, your message will be added to the discussion below:
http://forum.petalslink.com/Utilisation-bc-EJB-tp3883313p3899448.html
To start a new topic under Users (get help, provide help), email ml-node+s974793n2681628h42 at n3.nabble.com
To unsubscribe from Users (get help, provide help), visit http://forum.petalslink.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2681628&code=dXNlcnNAZm9ydW0ucGV0YWxzbGluay5vcmd8MjY4MTYyOHwtOTE3MDU0NjU4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://forum-list.petalslink.org/pipermail/users/attachments/20120410/23d9b8e1/attachment-0001.htm>


More information about the Users mailing list