[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Invalid invocation, check your deployment packaging, met
shibint
do-not-reply at jboss.com
Tue Jun 2 07:00:11 EDT 2009
Error Details
--------------
Sorry when i posted i did nt explain well. My problem is .
For Local JNDI Look up i am getting this error, insted if i am using remote JNDI Look up no errors.
Please help me now i want to migrate all application in jboss 4 to jboss 5.1
Ejb used 2.1 specification . Same way 3 errors shown in the stack trace .
ejb-jar
-------------
WarennummerBean
<ejb-name>WarennummerBean</ejb-name>
com.beo.atlas.beans2.warennummer.WarennummerHome
com.beo.atlas.beans2.warennummer.Warennummer
<local-home>com.beo.atlas.beans2.warennummer.WarennummerLocalHome</local-home>
com.beo.atlas.beans2.warennummer.WarennummerLocal
<ejb-class>com.beo.atlas.beans2.warennummer.WarennummerBean</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>com.beo.atlas.beans2.warennummer.WarennummerPK</prim-key-class>
True
<cmp-version>2.x</cmp-version>
<abstract-schema-name>WarennummerSchema</abstract-schema-name>
<cmp-field><field-name>id</field-name></cmp-field>
<cmp-field><field-name>userid</field-name></cmp-field>
<cmp-field><field-name>warennummer</field-name></cmp-field>
<cmp-field><field-name>warenbezeichnungteil1</field-name></cmp-field>
<cmp-field><field-name>msgtype</field-name></cmp-field>
<cmp-field><field-name>disable</field-name></cmp-field>
<cmp-field><field-name>timestamp1</field-name></cmp-field>
<query-method>
<method-name>findWarennummer</method-name>
<method-params>
<method-param>java.lang.String</method-param>
<method-param>java.lang.String</method-param>
</method-params>
</query-method>
<ejb-ql><![CDATA[SELECT OBJECT(o) from WarennummerSchema o WHERE o.userid = ?1 and o.warennummer = ?2]]></ejb-ql>
<query-method>
<method-name>findWarennummerById</method-name>
<method-params>
<method-param>java.lang.Integer</method-param>
</method-params>
</query-method>
<ejb-ql><![CDATA[SELECT OBJECT(o) from WarennummerSchema o WHERE o.id = ?1 ]]></ejb-ql>
<query-method>
<method-name>findWarennummerUser</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</query-method>
<ejb-ql><![CDATA[SELECT OBJECT(o) from WarennummerSchema o WHERE o.userid = ?1 AND (o.disable <> 'Y' or o.disable <> 'y' or o.disable is null)]]></ejb-ql>
<query-method>
<method-name>findByDescription</method-name>
<method-params>
<method-param>java.lang.String</method-param>
<method-param>java.lang.String</method-param>
</method-params>
</query-method>
<ejb-ql><![CDATA[SELECT OBJECT(o) from WarennummerSchema o WHERE o.userid = ?1 AND o.warenbezeichnungteil1 = ?2 AND ( o.disable <> 'Y' or o.disable <> 'y')]]></ejb-ql>
jboss.xml
----------
<ejb-name>WarennummerBean</ejb-name>
<jndi-name>myatlas/Warennummer</jndi-name>
<local-jndi-name>myatlas/WarennummerLocal</local-jndi-name>
JNDI Lookup
-----------
InitialContext context= new InitialContext();
WarennummerLocalHome home=(WarennummerLocalHome)context.lookup("myatlas/WarennummerLocal");
Collection records=home.findWarennummerUser(userid);
Error
-------------
2009-06-01 02:51:27,781 INFO [STDOUT] (Thread-542) Error - general :::javax.ejb.EJBException: Invalid invocation, check your deployment packaging, method=public abstract java.util.Collection com.beo.atlas.beans2.warennummer.WarennummerLocalHome.findWarennummerUser(java.lang.String) throws javax.ejb.FinderException
2009-06-01 02:51:27,781 ERROR [org.jboss.ejb.plugins.LogInterceptor] (Thread-542) EJBException in method: public abstract java.util.Collection com.beo.atlas.beans2.aufschubangaben.AufschubangabenLocalHome.findAufschubangabenUser(java.lang.String) throws javax.ejb.FinderException:
javax.ejb.EJBException: Invalid invocation, check your deployment packaging, method=public abstract java.util.Collection com.beo.atlas.beans2.aufschubangaben.AufschubangabenLocalHome.findAufschubangabenUser(java.lang.String) throws javax.ejb.FinderException
at org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:1132)
at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:106)
at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:203)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:187)
at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:106)
at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:137)
at org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:76)
at org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:45)
at org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:56)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:125)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:161)
at org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:230)
at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:205)
at org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java:99)
at org.jboss.ejb.plugins.security.PreSecurityInterceptor.invokeHome(PreSecurityInterceptor.java:88)
at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:132)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:107)
at org.jboss.ejb.EntityContainer.internalInvokeHome(EntityContainer.java:527)
at org.jboss.ejb.Container.invoke(Container.java:1046)
at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:362)
at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:133)
at $Proxy1234.findAufschubangabenUser(Unknown Source)
at com.beo.atlas.util.ValuesinApplicationScope.setAufschubangabenAppValues(Unknown Source)
at com.beo.atlas.util.ValuesinApplicationScope.setAnmelderObjects(Unknown Source)
at com.beo.atlas.util.AtlasThread.run(Unknown Source)
2009-06-01 02:51:27,781 INFO [STDOUT] (Thread-542) Error - general in setAufschubangabenAppValues() :::javax.ejb.EJBException: Invalid invocation, check your deployment packaging, method=public abstract java.util.Collection com.beo.atlas.beans2.aufschubangaben.AufschubangabenLocalHome.findAufschubangabenUser(java.lang.String) throws javax.ejb.FinderException
2009-06-01 02:51:28,156 INFO [STDOUT] (Thread-39)
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4234669#4234669
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4234669
More information about the jboss-user
mailing list