[mdr-users] MDR in distributed enviroment
"Santiago Gil" <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.mdr.user |
|---|---|
| Message-ID | <000301c57168$ba4022b0$12b94f45@SGB> |
Hello MDR users, Im working in a project which is using MDR for storing metadata and is deployed in J2EE (JBoss) so that it can be accessed remotely. The classes involved in the communication (which for that reason need to be Serializable), have instances of some metadata classes created by MDR. So the problem comes when I try to deploy the project and communicate with it. So, one exception occur about some classes inside MDR which need to be Serializable. I tried to make all the (inside) classes Serializable (or transient), but then I have to make other classes Serializable as Well, for instance DB Drivers, or java.lang.* ... I also tried with different storagemodels (JDBC, BTree, or memory), but the same problem comes. So.. any suggestions or walk-arounds? I included part of the client Side exception trace. Thanks in advance. Client Side Exception Trace: java.lang.reflect.UndeclaredThrowableException at $Proxy1.getConnection(Unknown Source) .... Caused by: java.io.NotSerializableException: java.lang.ref.WeakReference at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369) the NotSerializable class is different depending the storageModel (BTree, memory, JDBC) you use. Santiago Gil Bohórquez ---------------------------------------- Estudiante de Ingeniería de Sistemas y Computación Universidad de Los Andes --------------------------------------- Teléfonos: (+57) 310 800 1393 (+57 1) 2745263 --------------------------------------- E-Mails: [email protected] [email protected] [email protected]