Home » Fusion Middleware & Colab Suite » Weblogic & Application Server » deploy cmp ejb to standalone oc4j
deploy cmp ejb to standalone oc4j [message #76667] Wed, 19 March 2003 09:50
bezgouri
Messages: 3
Registered: September 2002
Junior Member
hi all,
i have generated tables from rational rose.
using jdeveloper, i create cmp beans.
when i deploy to standalone oc4j it works fine
but when i add my finder method to one of the beans and i redeploy it fails
i have the following error:
javax.ejb.EJBException: nested exception is: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1525)
at com.sun.ejb.sqlgen.SQLGenerator.generateCreateTableQuery(SQLGenerator.java:530)
at com.sun.ejb.sqlgen.SQLGenerator.<init>(SQLGenerator.java:240)
at com.sun.ejb.sqlgen.SQLGenerator.generateSQL(SQLGenerator.java:360)
at com.sun.ejb.sqlgen.SQLGenerator.generateSQL(SQLGenerator.java:309)
at com.evermind.server.ejb.deployment.EJBPackage.translateEjbqlQeries(EJBPackage.java:2100)
at com.evermind.server.ejb.compilation.Compilation.translateEjbqlQeries(Compilation.java:140)
at com.evermind.server.ejb.compilation.Compilation.compile(Compilation.java:178)
at com.evermind.server.administration.ServerApplicationInstallation.finish(ServerApplicationInstallation.java:526)
at java.lang.reflect.Method.invoke(Native Method)
at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:119)
at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:484)
javax.ejb.EJBException: nested exception is: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at com.sun.ejb.sqlgen.SQLGenerator.<init>(SQLGenerator.java:255)
at com.sun.ejb.sqlgen.SQLGenerator.generateSQL(SQLGenerator.java:360)
at com.sun.ejb.sqlgen.SQLGenerator.generateSQL(SQLGenerator.java:309)
at com.evermind.server.ejb.deployment.EJBPackage.translateEjbqlQeries(EJBPackage.java:2100)
at com.evermind.server.ejb.compilation.Compilation.translateEjbqlQeries(Compilation.java:140)
at com.evermind.server.ejb.compilation.Compilation.compile(Compilation.java:178)
at com.evermind.server.administration.ServerApplicationInstallation.finish(ServerApplicationInstallation.java:526)
at java.lang.reflect.Method.invoke(Native Method)
at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:119)
at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:484)
com.evermind.compiler.CompilationException: Error translating EJBQL: javax.ejb.EJBException: nested exception is: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at com.evermind.server.ejb.compilation.Compilation.translateEjbqlQeries(Compilation.java:143)
at com.evermind.server.ejb.compilation.Compilation.compile(Compilation.java:178)
at com.evermind.server.administration.ServerApplicationInstallation.finish(ServerApplicationInstallation.java:526)
at java.lang.reflect.Method.invoke(Native Method)
at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:119)
at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:484)

is this a problem of version of standalone oc4j
i need help
Previous Topic: INVALID - oracle 9i AS SSO hostname PLZZZZZZ help
Next Topic: urgent creating on solaris out of memory
Goto Forum:
  


Current Time: Sun Sep 27 20:21:42 CDT 2020