-
1. Re: DeploymentException: Error compiling EJB-QL for Roster a
daniels Aug 19, 2004 9:47 AM (in response to vishwajit_pantvaidya)Hi,
I had the same problem with JBoss 3.2.5, and I will try to explain you how to fix it.
Your problem is that the EJB-QL command contains Enter in the select command:
select distinct object(p) from Player p
where p.salary between ?1 and ?2
Try to change the select command to look like this (write the select command in only one line) :
select distinct object(p) from Player p where p.salary between ?1 and ?2
Daniel S. -
2. Re: DeploymentException: Error compiling EJB-QL for Roster a
vishwajit_pantvaidya Aug 26, 2004 3:06 PM (in response to vishwajit_pantvaidya)That worked. Thanks for your help Daniels.
But now I am getting the following error :
WARN [ServiceController] Problem starting service jboss.j2ee:jndiName=local/LeagueEJB,service=EJBRuntimeErrorException: java.lang.NoSuchMethodError Cause: java.lang.NoSuchMethodError at org.jboss.mx.server.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:99)
Possibly this is some simple problem and I may need to look into the code - but please let me know if you know offhand the cause and/or solution.
Again, appreciate the help.