Please help me.
When I try to deploy CMP whis some select method under Jboss3.2.3 on Win2000, it's
work good, but on Linux i catch exception:
19:36:56,693 INFO [EjbModule] Deploying primerc
19:36:57,650 INFO [primerc] Table 'PRIMERC' create succesfull
19:36:57,652 ERROR [EntityContainer] Starting failed
org.jboss.deployment.DeploymentException: Error compiling EJB-QL statement 'SELECT
OBJECT(o) FROM primerc o WHERE o.st = ?1'; - nested throwable:
(java.lang.NoSuchMethodError)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.(JDBCEJBQLQuery.java:50)
at
org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.createEJBQLQuery(JDBCCommandFactory.java:59)
at
org.jboss.ejb.plugins.cmp.jdbc.JDBCQueryManager.start(JDBCQueryManager.java:212)
at
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDBCStoreManager.java:490)
.................................
My jboss-ql declaration is -
- <query-method>
<method-name>ejbSelectMethod1</method-name>
- <method-params>
<method-param>java.lang.String</method-param>
</method-params>
</query-method>
- <jboss-ql>
- <![CDATA[
SELECT OBJECT(o) FROM PrimerC o WHERE o.st = ?1
]]>
</jboss-ql>
.........................
If i don't use this Select method, my cmp bean deploy under linux to.
What difference between Linux and Win2000?
<a
href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825730#3825730">View
the original post</a>
<a
href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825730>Reply
to the post</a>
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user