1 Reply Latest reply on Mar 17, 2004 4:37 AM by Alexey Loubyansky

    Difference between Linux and Win2000?

    Alex Newbie

      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?