hi there,

earlier i posted a message about a problem i'm having with deploying an 
.ear file to an Orion Server (v. 1.2.7) -- copy attached at end of this 
message.

i also tried with 1.2.9 and the problem still remains.

the field 'context' referenced in the wrapper class is part of the 
generated wrapper code; ie. not my EJB class.

also noticed that this problem only (so far) happens when the CMP Entity 
bean has a compound primary key; all other single-field primary key EJBs 
deploy correctly.

Q1. anybody has any clues as to why is this happening?

also i'm getting the following error while deploying an (other) EJB:

-----
Auto-creating table: create table PolicyRule (pKey longvarbinary not null 
primary key, sequencedActions int, conditionListType int, ruleUsage char 
(255), mandatory boolean, uid longvarbinary, enabled int, priority int, 
typeOID char (255), description char (255), caption char (255), 
elementName char (255))

Warning: Error creating table: Wrong data type: BOOLEAN in statement 
[create table PolicyRule (pKey longvarbinary not null primary key, 
sequencedActions int, conditionListType int, ruleUsage char (255), 
mandatory boolean, uid longvarbinary, enabled int, priority int, typeOID 
char (255), description char (255), caption char (255), elementName char 
(255))]

-----

Q2. is boolean an unacceptable database (hSql) type?

Q3. does the java wrapper code for the home/remote classes survive a 
deploy attempt even if it fails? if yes, where does it live?


TIA + cheers;
rsn

-----
(previous message)

Hi,

First kudos to the Orion developers on this excellent product!

Second, while deploying an application with 25 EJBs (to an Orion server
ver. 1.2.7) through the console tool, i'm getting the following exception:

MyEJBHome_EntityHomeWrapper15.java:1286: Undefined variable: context
        ORList __theList = new String_ORList16(context);
                                               ^
MyEJBHome_EntityHomeWrapper15.java:1524: Undefined variable: context
        ORList __theList = new String_ORList16(context);
                                               ^
MyEJBHome_EntityHomeWrapper15.java:1762: Undefined variable: context
        ORList __theList = new String_ORList16(context);
                                               ^
3 errors
com.evermind.compiler.CompilationException: Syntax error in source
        at com.evermind.compiler.lf.run(JAX)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.evermind.compiler.le.q1(JAX)
        at com.evermind.compiler.ld.q1(JAX)
        at com.evermind.server.ejb.compilation.fs.afj(JAX)
        at com.evermind.server.ejb.compilation.fs.q1(JAX)
        at com.evermind.server.administration.gi.finish(JAX)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.evermind.server.rmi.bd.run(JAX)
        at com.evermind.server.rmi.bb.hz(JAX)
        at com.evermind.server.rmi.bb.run(JAX)
        at com.evermind.util.f.run(JAX)


I'd appreciate it if somebody can help me pin-point the cause(s),
considering that:

1. the same application ear file deploys successfully to the J2EE RI
(1.2.1.) server --client untested though, and
2. i have successfully deployed a smaller size application to the same
(version+instance of) Orion server.


TIA + cheers;
------------------------------------------------------------------------------
Raif S. Naffah
Forge Research Pty. Limited < http://www.forge.com.au >



Reply via email to