of course you put that in the doco, right?

:)))

regards

marc


|-----Original Message-----
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of Oleg Nitz
|Sent: Wednesday, October 11, 2000 10:36 AM
|To: [EMAIL PROTECTED]
|Subject: [jBoss-User] CastorJDO tip
|
|
|Hi,
|
|   I address this message to jBoss users who use CastorJDO module.
|I'd like to tell about one problem that you may meet
|and about the solution of the problem.
|If you have two beans in two jar files that access the same JDO class
|via Castor, then the changes that are done by one of the beans are not
|visible to the other bean, because the two examples of the same JDO
|Class loaded by different class loaders have separate caches.
|The solution is to move the JDO classes from the bean jar files to
|some common jar file, and either to place this jar file to lib/ext,
|or to add it to the common class path by means of additional
|ClassPathExtension MLET in jboss.conf. In this case you should also
|change the CastorJDO MLET, the fifth argument should be added and set
|to "true", e.g.:
|
|<MLET CODE = "org.jboss.jdo.castor.CastorJDOImpl"
|      ARCHIVE="jboss.jar,castor-0.8.8.jar" CODEBASE="../lib/ext/">
|   <ARG TYPE="java.lang.String" VALUE="file:../conf/database.xml">
|   <ARG TYPE="java.lang.String" VALUE="dataObjectsJndiName">
|   <ARG TYPE="java.lang.Integer" VALUE="0">
|   <ARG TYPE="java.lang.Boolean" VALUE="false">
|   <ARG TYPE="java.lang.Boolean" VALUE="true">
|</MLET>
|
|Best regards,
| Oleg Nitz    
|
|
|
|
|--
|--------------------------------------------------------------
|To subscribe:        [EMAIL PROTECTED]
|To unsubscribe:      [EMAIL PROTECTED]
|Problems?:           [EMAIL PROTECTED]
|
|


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to