Caros,
Não consigo encontrar a solução para o problema. Alguém tem alguma dica ?
Eu percebi que o jBoss está sempre carregando os ejbs com o mesmo valor
(local/<nome_
18:57:53,453 INFO [EjbModule] Deploying ShippingItem
18:57:53,640 INFO [EjbModule] Deploying Hold
18:57:53,656 INFO [EjbModule] Deploying PilingUp
18:57:53,671 INFO [EjbModule] Deploying Stack
18:57:53,687 INFO [EjbModule] Deploying Patio
18:57:53,703 INFO [EjbModule] Deploying Local
18:57:53,718 INFO [EjbModule] Deploying Product
18:57:53,734 INFO [EjbModule] Deploying LocalType
18:57:53,750 INFO [EjbModule] Deploying ProductType
18:57:53,765 INFO [EjbModule] Deploying StaffHold
18:57:53,765 INFO [EjbModule] Deploying StaffControl
18:57:53,796 INFO [EjbModule] Deploying Reports
18:57:53,796 INFO [EjbModule] Deploying YardMap
18:57:55,500 INFO [BaseLocalProxyFact
'ShippingItem' to jndi 'local/ShippingItem
18:57:55,531 INFO [BaseLocalProxyFact
jndi 'local/Hold@
18:57:55,546 INFO [BaseLocalProxyFact
jndi 'local/PilingUp@
18:57:55,562 INFO [BaseLocalProxyFact
jndi 'local/Stack@
18:57:55,578 INFO [BaseLocalProxyFact
jndi 'local/Patio@
18:57:55,593 INFO [BaseLocalProxyFact
jndi 'local/Local@
18:57:55,625 INFO [BaseLocalProxyFact
jndi 'local/Product@
18:57:55,640 INFO [BaseLocalProxyFact
to jndi 'local/LocalType@
18:57:55,656 INFO [BaseLocalProxyFact
to jndi 'local/ProductType@
18:57:55,671 INFO [BaseLocalProxyFact
to jndi 'local/StaffHold@
18:57:55,703 INFO [BaseLocalProxyFact
'StaffControl' to jndi 'local/StaffControl
18:57:55,734 INFO [BaseLocalProxyFact
jndi 'local/Reports@
18:57:55,750 INFO [BaseLocalProxyFact
jndi 'local/YardMap@
2009/8/31 Leonardo Peruch <theleoap@gmail.
> Caros,
>
>
>
> Tenho uma aplicação rodando com Eclipse 3.4.3 (JDK1.4) + EJB 2.0 + JBoss
> 4.0. O fato é que não estou conseguindo rodar o módulo EJB corretamente no
> JBoss, porque o sistema dispara a mensagem de erro abaixo ao consultar o
> EJB.
>
>
>
> Percebi que e algo relacionado com a configuração do arquivo jboss.xml
> (arquivo necessário para rodar aplicação no jBoss) porque no WebSphere
> funcionou corretamente.
>
>
> Vocês tem alguma idéia do que possa estar acontecendo ?
>
>
>
> Segue abaixo a mensagem de erro e em seguida os arquivos jboss.xml e
> ejb-jar.xml.
>
>
>
> AxisFault
>
> faultCode: {*
> http://schemas.
> *
>
> faultSubcode:
>
> faultString: *java.lang.ClassCas
> from jndi does not have the same type as the one specified in the config
> file
>
> faultActor:
>
> faultNode:
>
> faultDetail:
>
> {*
> http://xml.apache.
> *: The home object retrieved from jndi does not have the same type as the
> one specified in the config file
>
> at org.apache.axis.
> EJBProvider.
>
> at
> org.apache.axis.
> EJBProvider.
>
> at
> org.apache.axis.
> JavaProvider.
>
> at
> org.apache.axis.
> JavaProvider.
>
> at
> org.apache.axis.
> JavaProvider.
>
> at org.apache.axis.
> JavaProvider.
>
> at org.apache.axis.
> InvocationStrategy.
>
> at org.apache.axis.
> SimpleChain.
>
> at org.apache.axis.
>
> at org.apache.axis.
> SOAPService.
>
> at org.apache.axis.
> AxisServer.java:
>
> at org.apache.axis.
> AxisServlet.
>
> at javax.servlet.
> HttpServlet.
>
> at org.apache.axis.
> AxisServletBase.
>
> at javax.servlet.
> HttpServlet.
>
> at
> org.apache.catalina
> ApplicationFilterCh
>
> at org.apache.catalina
> ApplicationFilterCh
>
> at org.jboss.web.
> ReplyHeaderFilter.
>
> at
> org.apache.catalina
> ApplicationFilterCh
>
> at org.apache.catalina
> ApplicationFilterCh
>
> at org.apache.catalina
> StandardWrapperValv
>
> at org.apache.catalina
> StandardContextValv
>
> at
> org.jboss.web.
> SecurityAssociation
>
> at org.jboss.web.
> JaccContextValve.
>
> at org.apache.catalina
> StandardHostValve.
>
> at org.apache.catalina
> ErrorReportValve.
>
> at org.jboss.web.
> CachedConnectionVal
>
> at org.apache.catalina
> StandardEngineValve
>
> at org.apache.catalina
> CoyoteAdapter.
>
> at org.apache.coyote.
> Http11Processor.
>
> at
> org.apache.coyote.
> *Http11BaseProtocol
>
> at org.apache.tomcat.
> PoolTcpEndpoint.
>
> at org.apache.tomcat.
> MasterSlaveWorkerTh
>
> at java.lang.Thread.
>
>
>
> *Segue o arquivo jboss.xml*
>
>
>
> <?xml version=*"1.
>
> <!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 4.0//EN" "
> http://www.jboss.
>
>
>
> <jboss>
>
>
>
> <enterprise-
>
>
>
> <session>
>
> <ejb-name>YardMap<
>
> <jndi-name>*
>
> <resource-ref>
>
> <res-ref-name>
>
> <jndi-name>java:
>
> </resource-ref>
>
> </session>
>
>
>
> <session>
>
> <ejb-name>StaffCont
>
> <jndi-name>*
>
> <resource-ref>
>
> <res-ref-name>
>
> <jndi-name>java:
>
> </resource-ref>
>
> </session>
>
>
>
> <session>
>
> <ejb-name>Reports<
>
> <jndi-name>*