Kodo and GLUE

Hi,
We are using Kodo and the mind electric's GLUE 4.1
We are running into a problem with any Kodo-enhanced object with the Date
field. GLUE requires object to have no-argument constructor for SOAP
serialization. And unfortunately Kodoo's
com.solarmetric.kodo.util.ProxyDate object has a protected ProxyDate()
contructor. So GLUE would throws this error while trying to send a
Kodo-enhanced class:
electric.util.WrappedException: java.rmi.UnmarshalException:
java.io.IOException: no argument constructor is missing.
java.lang.IllegalAccessException: Class
electric.xml.io.complex.factories.DefaultFactory can not access a member
of class com.solarmetric.kodo.util.ProxyDate with modifiers ""
     at electric.proxy.handler.Proxy.getCompatibleException(Unknown Source)
     at electric.proxy.handler.Proxy.invoke(Unknown Source)
     at electric.util.proxy.proxy3.InvocationAdaptor.invoke(Unknown Source)
     at $Proxy0.getActivityLogs(Unknown Source)
     at com.bitfone.datastore.doQuery(ActivityLog.java:95)
So for all of my Kodo-enhanced objects with a Date field, my current
workaround is to manually iterate through the Collection returned from
Query and construct a new "transport" object with regular java.util.Date
instead of Kodo's ProxyDate.
Any help would be greatly appreciated,
John

You can extend SimpleProxyManager to do just that and override getDateCopy
and getDateProxy to return a ProxyDate subclass that has a public no-args
constructor:
e.g.
MyDateProxy extends ProxyDate
          public MyDateProxy () { super (System.currentTimeMillis ()); }
http://solarmetric.com/Software/Documentation/2.5.2/docs/ref_guide_conf_kodo.html#com.solarmetric.kodo.ProxyManagerClass
On Sat, 05 Jul 2003 01:21:14 +0000, John Dinh wrote:
Hi,
We are using Kodo and the mind electric's GLUE 4.1
We are running into a problem with any Kodo-enhanced object with the Date
field. GLUE requires object to have no-argument constructor for SOAP
serialization. And unfortunately Kodoo's
com.solarmetric.kodo.util.ProxyDate object has a protected ProxyDate()
contructor. So GLUE would throws this error while trying to send a
Kodo-enhanced class:
electric.util.WrappedException: java.rmi.UnmarshalException:
java.io.IOException: no argument constructor is missing.
java.lang.IllegalAccessException: Class
electric.xml.io.complex.factories.DefaultFactory can not access a member
of class com.solarmetric.kodo.util.ProxyDate with modifiers ""
     at electric.proxy.handler.Proxy.getCompatibleException(Unknown Source) at
     electric.proxy.handler.Proxy.invoke(Unknown Source) at
     electric.util.proxy.proxy3.InvocationAdaptor.invoke(Unknown Source) at
     $Proxy0.getActivityLogs(Unknown Source) at
     com.bitfone.datastore.doQuery(ActivityLog.java:95)
So for all of my Kodo-enhanced objects with a Date field, my current
workaround is to manually iterate through the Collection returned from
Query and construct a new "transport" object with regular java.util.Date
instead of Kodo's ProxyDate.
Any help would be greatly appreciated,
John--
Steve Kim
[email protected]
SolarMetric Inc.
http://www.solarmetric.com

Similar Messages

  • Mavericks and MacMini - after sleep mode windows resized and glued to left upper corner

    Hi!
    I have MacMini and HDMI monitor. When I go to bed, I use sleep mode and off monitor using power button (I don't like standby light). When I woke up, I press on my touchpad to wake up my MacMini, after that I stand up and turning on monitor. All works fine, until I installed Mavericks. Now, after turning on, all windows changed size to very small and glued to left upper corner. I can't resize or move window. Only shutdown app can help. But, I can't shutdown Finder, I need reboot MacMini. It's very annoying.
    As I understand, this problem appear, when I wake up MacMini before turning monitor on. When I turned on monitor and after that woke up MacMini, windows don't change his sizes.
    What can I do to solve this problem?

    This issue is driving me insane. I lock my computer a couple of times a day as I go to meeting and what not. Everytime either Outlook or VMWare or Chrome will be screwed up when I awake it from sleep. I have to kill the app and start it back up again or I can't get it out of its weird "docked" mode. Basically the application window will be nearly off the screen. I can move it on the screen but the caption will be off screen still and I will not be able to size the window at all. It really messes VMWare's mind up when this happens.
    I wanted Mavericks as it was supposed to fix multiple monitor issues but it has made it worse. Very sorry I upgraded. I hope they fix it in the next bug patch. I just cuss at the stupid thing when I wake it.
    MacBook Pro 16g of memory with external 24" monitor via HDMI -> DVI connector. Laptop is primary monitor on the left, external monitor is on the right. Mavericks is in the doghouse just below both of them.

  • Openwin GL and GLU libraries

    I am working on a task involving a Pentium M processor that is running on Solaris 10 at x86. I have downloaded a SPEC product labeled Viewperf veriosn 8.1 that was written many years ago for use with openwin GL and GLU libraries. I am not sure if Solaris 10 even packages openwin GL and GLU libraires with their product. I need the openwin GL and GLU libraries to get this Viewperf version 8.1 to run on the Solaris 10. Is there a website or ftp site where I might download the openwin GL and GLU libraries that I need? I am using Sun Sudio 10 as the primary compiler . Studio 10 fails to compiler the entire Viewperf without considerable error notification under my present environment. I have deduced the problem to the lack of the open GL and GLU libraries as the real cause of the problem.
    Thanks to all that reply.

    I tried the libGL.so.1 as well as the libGLU.so.1 from the /usr/X11/lib/mesa directory. SPEC Viewperf compiles and links but the libGL and libGLU will not open according to the error I receive. Actually the error reads that it cannot open the libraries or that the file doesnot exist. I can see the files and did a file command to see if these were binaries. They are binaries. I can get this bencmark to work well in the Linux environment. Is there that much difference between the GL/GLU libaries of Linux and Solaris? I tried the NVIDIA libraries and got the execution to accept the GL library from NVIDIA but the GLU is not included in the NVIDIA and of course the execution still spilts out the GLU stating that the file cannot be open. So, I am still at a loss to get this benchmark to run on a Solaris operating environment.

  • Kodo and tangosol integration: ClassCastException in TangosolQueryCache

    Hello.
    I have tried to prepare my weblogic environment to work with kodo jdo 3.4.0 and tangosol coherence.
    So, i prepare kodo's ra.xml as
              <config-property>
                   <description>DataCache.</description>
                   <config-property-name>DataCache</config-property-name>
                   <config-property-type>java.lang.String</config-property-type>
                   <config-property-value>tangosol(TangosolCacheName=dist-kodo)</config-property-value>
              </config-property>
              <config-property>
                   <description>Plugin used to cache query results loaded from the data store. Must implement kodo.datacache.QueryCache.</description>
                   <config-property-name>QueryCache</config-property-name>
                   <config-property-type>java.lang.String</config-property-type>
                   <config-property-value>tangosol(TangosolCacheName=dist-kodo)</config-property-value>
              </config-property>
              <config-property>
                   <description>Remote Commit Provider.</description>
                   <config-property-name>RemoteCommitProvider</config-property-name>
                   <config-property-type>java.lang.String</config-property-type>
                   <config-property-value>sjvm</config-property-value>
              </config-property>
    When i start weblogic 8.1 i have found in STDOUT
    * Tangosol Coherence(tm): Enterprise Edition is licensed by Tangosol, Inc.
    * License details are available at: http://www.tangosol.com/license.jsp
    * Licensed for evaluation use with the following restrictions:
    * Effective Date : 1 Sep 2006 00:00:00 GMT
    * Termination Date : 1 Nov 2006 00:00:00 GMT
    * A production license is required for production use.
    * Copyright (c) 2000-2006 Tangosol, Inc.
    Tangosol Coherence Version 3.2/357 (Pre-release)
    2006-09-11 17:43:49.303 Tangosol Coherence 3.2/357 (Pre-release) <Info> (thread=main, member=n/a): sun.misc.AtomicLong is not supported on this JVM; using a syncrhonized counter.
    but when i trying to use datacache=tangosol, have ClassCastException
    2006-09-11 17:45:57.253 Tangosol Coherence 3.2/357 (Pre-release) <Error> (thread=DistributedCache:EventDispatcher, member=4): An exception occurred while dispatching the following event:
    CacheEvent: MapListenerSupport$FilterEvent{DistributedCache$BinaryMap deleted: key=Binary(length=141, value=0x0BACED00057372000C6B6F646F2E7574696C2E4964DDFCC3A1DB13765D0300024A000269644C00095F747970654E616D657400124C6A6176612F6C616E672F537472696E673B78700000000000000001740039636F6D2E626561722E66692E74726164656875622E646F6D61696E2E627573696E6573732E436C656172616E6365437573746F6D65724A444F78), value=null, filters=[MapEventFilter(mask=DELETED)]}
    2006-09-11 17:45:57.253 Tangosol Coherence 3.2/357 (Pre-release) <Error> (thread=DistributedCache:EventDispatcher, member=4): The following exception was caught by the event dispatcher:
    2006-09-11 17:45:57.253 Tangosol Coherence 3.2/357 (Pre-release) <Error> (thread=DistributedCache:EventDispatcher, member=4):
    java.lang.ClassCastException
         at kodo.datacache.TangosolQueryCache.entryDeleted(TangosolQueryCache.java:291)
         at com.tangosol.util.MapEvent.dispatch(MapEvent.java:199)
         at com.tangosol.util.MapEvent.dispatch(MapEvent.java:164)
         at com.tangosol.util.MapListenerSupport.fireEvent(MapListenerSupport.java:550)
         at com.tangosol.coherence.component.util.SafeNamedCache.translateMapEvent(SafeNamedCache.CDB:7)
         at com.tangosol.coherence.component.util.SafeNamedCache.entryDeleted(SafeNamedCache.CDB:1)
         at com.tangosol.util.MapEvent.dispatch(MapEvent.java:199)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.DistributedCache$ViewMap$ProxyListener.dispatch(DistributedCache.CDB:22)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.DistributedCache$ViewMap$ProxyListener.entryDeleted(DistributedCache.CDB:1)
         at com.tangosol.util.MapEvent.dispatch(MapEvent.java:199)
         at com.tangosol.coherence.component.util.CacheEvent.run(CacheEvent.CDB:18)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.Service$EventDispatcher.onNotify(Service.CDB:14)
         at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:35)
         at java.lang.Thread.run(Thread.java:534)
    2006-09-11 17:45:57.253 Tangosol Coherence 3.2/357 (Pre-release) <Error> (thread=DistributedCache:EventDispatcher, member=4): (The service event thread has logged the exception and is continuing.)
    When i have a look to TangosolQueryCache.jad (kodo part, decompiled from .class with jad) i found
    public void entryDeleted(MapEvent evt)
    QueryKey queryKey = (QueryKey)evt.getKey();
    boolean isExpired = true;
    keyRemoved(queryKey, isExpired);
    but in com.tangosol.util.MapEvent (tangosol.jar)
    public Object getKey()
    return m_oKey;
    So, in TangosolQueryCache tries to classcast Object to QueryKey.
    Any ideas how to resolve that problem?
    And in general, where i can find example of integration kodo datacache with tangosol coherence?
    At http://edocs.bea.com/kodo/docs40/full/html/ref_guide_caching.html examples is not so full.
    Thanks for answer.

    Hi Pavel,
    Key in this event is an instance of kodo.util.Id:
    00:  0B AC ED 00 05 73 72 00 0C 6B 6F 64 6F 2E 75 74  .¬í..sr..kodo.ut
    10:  69 6C 2E 49 64 DD FC C3 A1 DB 13 76 5D 03 00 02  il.Id�?üáÛ.v]...
    20:  4A 00 02 69 64 4C 00 09 5F 74 79 70 65 4E 61 6D  J..idL.._typeNam
    30:  65 74 00 12 4C 6A 61 76 61 2F 6C 61 6E 67 2F 53  et..Ljava/lang/S
    40:  74 72 69 6E 67 3B 78 70 00 00 00 00 00 00 00 01  tring;xp........
    50:  74 00 39 63 6F 6D 2E 62 65 61 72 2E 66 69 2E 74  t.9com.bear.fi.t
    60:  72 61 64 65 68 75 62 2E 64 6F 6D 61 69 6E 2E 62  radehub.domain.b
    70:  75 73 69 6E 65 73 73 2E 43 6C 65 61 72 61 6E 63  usiness.Clearanc
    80:  65 43 75 73 74 6F 6D 65 72 4A 44 4F 78           eCustomerJDOx   so, either kodo.datacache.TangosolQueryCache is listening to a wrong cache, or application attempts to remove something which is not removeable - did you try asking BEA support about this ?
    Anyway, this exception doesn't affect anything - The service event thread has logged the exception and is continuing.
    Regards,
    Dimitri

  • GenerationType.AUTO doesn't work correctly with Kodo and MySQL

    Greetings,
    I'm migrating applications from JBoss/Hibernate to WebLogic/Kodo. The following column annotation:
    @Id
    @Column(name="CUSTOMER_ID")
    @GeneratedValue(strategy = GenerationType.AUTO)
    public long getCustomerId()
    is supposed to generate auto-increment primary key in mysql. This is what happens with Hibernate. With Kodo, this seems to be equivalent with GenerationType.TABLE as a table named openjpa_sequence_table is created, containing sequence values. So what should one do in order to be able to use true auto-increment strategy with MySQL and Kodo ?
    Many thanks in advance,
    Nicolas

    Hi Nicolas,
    By setting the generation strategy to AUTO, you're essentially letting the JPA provider choose which strategy to use. It looks like Kodo is using the TABLE strategy by default and Hibernate is using the IDENTITY strategy here. You can set the strategy to IDENTITY if you want Kodo to behave similarly to Hibernate. However, it's worth pointing out that there may be a reason for Kodo not using the IDENTITY strategy by default.
    The docs at: http://edocs.bea.com/wls/docs103/kodo/full/html/ref_guide_pc_oid.html#ref_guide_pc_oid_pkgen_autoinc
    point out the following:
    "Statements inserting into tables with auto-increment / identity columns cannot be batched. After each insert, Kodo must go back to the database to retrieve the last inserted auto-increment value to set back in the persistent object. This can have a negative impact on performance. "
    - Matt

  • 1xM relation working in Hibernate doesn't work in Kodo and EclipseLink

    Greetings,
    I'm migrating some applications from JBoss/Hibernate to WebLogic 10gR3 and I found lots of JPA problems. In order to simplify the context, I used a very simple one to many bidirectional relationship between 2 entities. Using the following persistence.xml file:
    <?xml version="1.0"?>
    <persistence xmlns="http://java.sun.com/xml/ns/persistence"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
    version="1.0">
    <persistence-unit name="ww204-jpa" transaction-type="JTA">
    <provider>org.hibernate.ejb.HibernatePersistence</provider>
    <jta-data-source>cgDataSource</jta-data-source>
    <class>fr.simplex_software.jpa.Employee</class>
    <class>fr.simplex_software.jpa.Department</class>
    <exclude-unlisted-classes>true</exclude-unlisted-classes>
    <properties>
    <property name="hibernate.hbm2ddl.auto" value="create-drop" />
    <property name="hibernate.transaction.factory_class"
    value="org.hibernate.transaction.JTATransactionFactory" />
    <property name="hibernate.transaction.manager_lookup_class"
    value="org.hibernate.transaction.WeblogicTransactionManagerLookup" />
    <property name="jta.UserTransaction" value="java:comp/UserTransaction" />
    </properties>
    </persistence-unit>
    </persistence>
    the test works correctly on WebLogic 10gR3. Now, I'm modifying the persistence.xml to read:
    <?xml version="1.0"?>
    <persistence xmlns="http://java.sun.com/xml/ns/persistence"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
    version="1.0">
    <persistence-unit name="ww204-jpa" transaction-type="JTA">
    <provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider>
    <jta-data-source>cgDataSource</jta-data-source>
    <class>fr.simplex_software.jpa.Employee</class>
    <class>fr.simplex_software.jpa.Department</class>
    <exclude-unlisted-classes>true</exclude-unlisted-classes>
    <properties>
    <property name="kodo.jdbc.SynchronizeMappings" value="refresh" />
    </properties>
    </persistence-unit>
    </persistence>
    The test raises the following exception:
    Exception in thread "Main Thread" java.lang.ClassCastException: fr.simplex_software.jpa.Department
         at fr.simplex_software.slsb.Facade_7ky0ac_FacadeRemoteImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
         at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
         at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    If I modify the persistence.xml to read:
    <?xml version="1.0" encoding="UTF-8"?>
    <persistence version="1.0"
    xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
    <persistence-unit name="ww204-jpa" transaction-type="JTA">
    <provider>org.eclipse.persistence.jpa.PersistenceProvider </provider>
    <jta-data-source>cgDataSource</jta-data-source>
    <class>fr.simplex_software.jpa.Employee</class>
    <class>fr.simplex_software.jpa.Department</class>
    <exclude-unlisted-classes>true</exclude-unlisted-classes>
    <properties>
    <property name="eclipselink.ddl-generation" value="drop-and-create-tables" />
    <property name="eclipselink.ddl-generation.output-mode"
    value="database" />
    </properties>
    </persistence-unit>
    </persistence>
    the test raises the same exception. If I come back to the first persistence.xml file, the test works properly again. Is there something I'm doing wrong ?
    Many thanks in advance for any help.
    Nicolas

    Performing the following operations after having changed the persistence.xml file solve the problem:
    1. Undeploy the application.
    2. Run appc to re-generate stubs and copy them on the client CLASSPATH (see also How to run a Java EE client application ?
    3. Stop the server.
    4. Start the server.
    5. Re-deploy the application.
    All the above operations are purhaps not absolutely required but the whole procedure is sufficient to provide the expected result.
    Kind regards,
    Nicolas

  • Confusion about Kodo and JCA

    Hi,
    I'm a bit confused about Kodo's Connection Architecture strategy. It is my understanding that
    PMF's can be built to use the connection architecture. Along this line, one would configure the
    ConnectionFactory or ConnectionFactoryName, and possibly the ConnectionFactory2 and
    ConnectionFactory2Name properties in a PMF. The result of the PMF implementation supporting the
    connection architecture is nice integration with the application servers in terms of security,
    transaction, and connection management. One can lookup in JNDI a reference to a Kodo PMF that
    supports datastore transactions or to another one that supports optimistic transactions or to
    another one that supports NTR, and with proper settings of the transactional properties and suitable
    application code, one's sesson bean will work.
    But from what I can see of Kodo's JDOPersistenceManagerFactory class, it, itself, implements the
    ManagedConnectionFactory interface, meaning, I think, that this class is resource adaptor. And that
    the part that confuses me. Why would Kodo be a resource adaptor? I thought it used a resource
    adaptor, which I think is the same thing as a connection factory.
    Anyway, I'm puzzled, and I'm hoping that someone could straighten me out.
    David Ezzio

    David-
    The fact that Kodo can integrate into an application server as a
    Resource Adaptor, and section 3.2.2 of the specification that says that
    the PersistentManagerFactory should be able to utilize a Resource
    Adaptor to obtain connections to the data store are two separate issues.
    We implement Kodo itself as a Resource Adaptor in order to provide ease
    of integration into recent application servers. Your confusion is
    understandable, since we do not actually yet support the use of Resource
    Adaptors as the Connection Factories as per section 3.2.2.
    Does that make sense?
    David Ezzio <[email protected]> wrote:
    Hi,
    I'm a bit confused about Kodo's Connection Architecture strategy. It is my understanding that
    PMF's can be built to use the connection architecture. Along this line, one would configure the
    ConnectionFactory or ConnectionFactoryName, and possibly the ConnectionFactory2 and
    ConnectionFactory2Name properties in a PMF. The result of the PMF implementation supporting the
    connection architecture is nice integration with the application servers in terms of security,
    transaction, and connection management. One can lookup in JNDI a reference to a Kodo PMF that
    supports datastore transactions or to another one that supports optimistic transactions or to
    another one that supports NTR, and with proper settings of the transactional properties and suitable
    application code, one's sesson bean will work.
    But from what I can see of Kodo's JDOPersistenceManagerFactory class, it, itself, implements the
    ManagedConnectionFactory interface, meaning, I think, that this class is resource adaptor. And that
    the part that confuses me. Why would Kodo be a resource adaptor? I thought it used a resource
    adaptor, which I think is the same thing as a connection factory.
    Anyway, I'm puzzled, and I'm hoping that someone could straighten me out.
    David Ezzio--
    Marc Prud'hommeaux [email protected]
    SolarMetric Inc. http://www.solarmetric.com
    Kodo Java Data Objects Full featured JDO: eliminate the SQL from your code

  • Kodo and Weblogic

    Hello,
    i have some problems to deploy an application using Kodo (version 3.3.3)
    on Weblogic 8.1 (Service Pack 4).
    This application runs fine on JBoss 3.2.6 and Websphere 5. It seems that i
    have some difficulties configuring the classpath.
    Our application is an EAR containing one webapp module and an EJB module
    (this is this module that works with kodo). I tried the method described
    in
    <http://www.solarmetric.com/jdo/Documentation/3.3.4/docs/j2ee_tutorial_jca_installation.html#j2ee_tutorial_weblogic8>
    and i tried to include the RAR in the EAR.
    All jars are in the EAR (not in the WEB-INF/lib) and are referenced in the
    Class-Path entry of the manifest located in the EJB module jar.
    Problems are :
    (with kodo module outside the EAR) NoClassDefFound for classes in kodo jar
    if the jar is nor in the EAR nor in the server class path
    (with kodo module inside the EAR) NoClassDefFound for our classes when
    kodo try to get them.
    I tried dozens of differents configuration but no any of them worked.
    What is the correct class path policy to adopt to resolve the problem?
    Thanks for your help
    Laurent

    Can you post the complete error message and stack trace that you are
    receiving?
    Czinczenheim wrote:
    Hello,
    i have some problems to deploy an application using Kodo (version 3.3.3)
    on Weblogic 8.1 (Service Pack 4).
    This application runs fine on JBoss 3.2.6 and Websphere 5. It seems that i
    have some difficulties configuring the classpath.
    Our application is an EAR containing one webapp module and an EJB module
    (this is this module that works with kodo). I tried the method described
    in
    <http://www.solarmetric.com/jdo/Documentation/3.3.4/docs/j2ee_tutorial_jca_installation.html#j2ee_tutorial_weblogic8>
    and i tried to include the RAR in the EAR.
    All jars are in the EAR (not in the WEB-INF/lib) and are referenced in the
    Class-Path entry of the manifest located in the EJB module jar.
    Problems are :
    (with kodo module outside the EAR) NoClassDefFound for classes in kodo jar
    if the jar is nor in the EAR nor in the server class path
    (with kodo module inside the EAR) NoClassDefFound for our classes when
    kodo try to get them.
    I tried dozens of differents configuration but no any of them worked.
    What is the correct class path policy to adopt to resolve the problem?
    Thanks for your help
    Laurent
    Marc Prud'hommeaux
    SolarMetric Inc.

  • Audio jack and glue struck in audio jack!!!!!!!!!!!

    I got my audio jack struck and tried super glue it went super failure the glue struck in audio jack now i cant remove the glue and the broken piece and ready to change the audio jack not the whole logic board is it possible its mac book white plastic one!!!!!!!

    Apple strongly advises against super gluing your Mac computers. I think it's time to give in and take it into an authorised service provider or Apple retail Store before more damage is done.

  • How to import and 'glue' two AVI-parts together into one AVI of QT-movie?

    Hi,
    I thought it was much easier, but I didn't succeed in importing and putting together two parts of a downlaoded movie (example: part1.avi and part2.avi).
    First of all, in iMovie I didn't succeed in importing the two parts. What do I overlook here.
    Many thanks for your support.
    Kind regards,
    Marco

    {quote:title=marco538 wrote:}What do I overlook here. {quote}
    Tough to say without more detail. You can generally import movie files under File>>Import. Are you saying one piece imported properly and another one didn't?

  • Kodo 3 - inverse owner and order-column bug?

    Hi,
    I have problems to move an object from one ordered list collection to
    another.
    This is the scenario:
    A DocumentGroup is element of a tree, so it has children and a parent.
    Tree ordering is important, so it must be maintained.
    public class DocumentGroup
    * @link aggregation
    * @associates <{DocumentGroup}>
    * @supplierCardinality 0..*
    * @bidirectional <{de.daisi.model.DocumentGroup#parent}>
    * @clientCardinality 0..1
    * @supplierRole Children
    * @clientRole Parent
    private Vector children;
    * @bidirectional
    private DocumentGroup parent;
    public void addChild(DocumentGroup newChild)
    if (this.children.contains(newChild)==false)
    if (newChild.isRoot())
    newChild.setRoot(false);
    if (newChild.getParent()!=null)
    newChild.getParent().removeChild(newChild);
    // Add child
    newChild.setParent(this);
    this.children.add(newChild);
    if (this.tree!=newChild.getTree())
    newChild.setTree(this.tree);
    public void removeChild(DocumentGroup child)
    boolean removed = this.children.remove(child);
    if (removed)
    child.setParent(null);
    This is my mapping, the column DOCG_INDEX should be managed by KODO and
    ist NOT mapped to a Java field.
    <class name="DocumentGroup">
    <extension vendor-name="kodo" key="jdbc-class-map" value="base">
    <extension vendor-name="kodo" key="pk-column" value="DOCG_ID"/>
    <extension vendor-name="kodo" key="table" value="DOCUMENTGROUP"/>
    </extension>
    <extension vendor-name="kodo" key="jdbc-version-ind"
    value="version-number">
    <extension vendor-name="kodo" key="column" value="DOCG_LOCK"/>
    </extension>
    <field name="children">
    <collection element-type="DocumentGroup"/>
    <extension vendor-name="kodo" key="inverse-owner" value="parent"/>
    <extension vendor-name="kodo" key="jdbc-field-map" value="one-many">
    <extension vendor-name="kodo" key="table" value="DOCUMENTGROUP"/>
    <extension vendor-name="kodo" key="ref-column.DOCG_ID"
    value="DOCG_DOCG_ID"/>
    <extension vendor-name="kodo" key="order-column" value="DOCG_INDEX"/>
    </extension>
    </field>
    <field name="parent">
    <extension vendor-name="kodo" key="jdbc-field-map" value="one-one">
    <extension vendor-name="kodo" key="column.DOCG_ID"
    value="DOCG_DOCG_ID"/>
    </extension>
    </field>
    <field name="root">
    <extension vendor-name="kodo" key="jdbc-field-map" value="value">
    <extension vendor-name="kodo" key="column" value="DOCG_IS_ROOT"/>
    </extension>
    </field>
    <field name="tree">
    <extension vendor-name="kodo" key="jdbc-field-map" value="one-one">
    <extension vendor-name="kodo" key="column.DOCT_ID"
    value="DOCG_DOCT_ID"/>
    </extension>
    </field>
    </class>
    Now, if I move a document group several times (by invoking first
    removeChild() on the source group and then addChild() on the target
    group), the following error occurs:
    kodo.util.FatalUserException: Attempt to set column
    "DOCUMENTGROUP.DOCG_INDEX" to two different values: "0", "1" This usually
    occurs when you map different fields to the same column, but you do not
    keep the values of these fields in synch.
    at kodo.jdbc.runtime.VRow.setObjectInternal(VRow.java:95)
    at kodo.jdbc.sql.AbstractRow.setObject(AbstractRow.java:535)
    at kodo.jdbc.sql.AbstractRow.setInt(AbstractRow.java:301)
    at
    kodo.jdbc.meta.OneToManyFieldMapping.updateInverse(OneToManyFieldMapping.java:364)
    at
    kodo.jdbc.meta.OneToManyFieldMapping.update(OneToManyFieldMapping.java:299)
    at
    kodo.jdbc.runtime.UpdateManagerImpl.update(UpdateManagerImpl.java:303)
    at
    kodo.jdbc.runtime.UpdateManagerImpl.flush(UpdateManagerImpl.java:126)
    at
    kodo.jdbc.runtime.UpdateManagerImpl.flush(UpdateManagerImpl.java:71)
    at
    kodo.jdbc.runtime.JDBCStoreManager.flush(JDBCStoreManager.java:503)
    at
    kodo.runtime.DelegatingStoreManager.flush(DelegatingStoreManager.java:158)
    at
    kodo.runtime.PersistenceManagerImpl.flushInternal(PersistenceManagerImpl.java:760)
    at
    kodo.runtime.PersistenceManagerImpl.beforeCompletion(PersistenceManagerImpl.java:639)
    at
    kodo.runtime.LocalManagedRuntime.commit(LocalManagedRuntime.java:69)
    at
    kodo.runtime.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:411)
    So, is there an error in my mapping configuration?
    (I tried to leave out the "inverse-owner", but that does not change the
    behaviour.)
    Any help to make my tree editable with Kodo 3 would be great...

    Abe White wrote:
    Is there any way you could send us a test case that reproduces this
    problem? Saying you have to move a DocumentGroup "several times" makes
    me think it might be best if you sent us a program that shows exactly
    what you mean. Just zip up your DocumentGroup class, metadata, mapping,
    and a driver program showing the error and send it to
    [email protected]
    We'd really appreciate it.I sent a program for testing to the mail address above. So I hope you can
    reproduce this error.

  • Integration with Hibernate and KODO

    I'm aware that Coherence has some optimisation for distributed queries with indices etc, but are Hibernate/Kodo able to benefit from this? If you have any statistics or white papers covering query performance and optimisation between Hibernate and Kodo I'd be very interested.
         (From Paul Woodward).

    Hi Paul,
         At present, Kodo and Hibernate do not have direct support for our distributed query features.
         Note that if you use Coherence as a plug-in to your ORM provider, you still have the option of maintaining separate Coherence caches on which you may use distributed queries.
         Jon Purdy
         Tangosol, Inc.

  • Recent Kodo versions and WebSphere 4.0

    Hi,
    we may have to use WebSphere 4.0 with Kodo until the IT infrastructure
    department supports the latest version WebSphere 5.0.
    Is anyone still developing with Kodo and WebSphere 4.0? Can I use Kodo
    2.5 / 3.0 with the 'old' version of WebSphere?
    Thanks a lot!
    Yours,
    Carsten

    Carsten-
    Our only feedback is that Kodo has not been tested with Websphere
    versions before 5.0.
    Note that you can always just Kodo directly: the only hiccup might be in
    the automatic global transaction synchronization. As long as Websphere
    4.0 provides a JTA-compliant TransactionManager, though, you might be
    able to solve any problems you see by writing a custom ManagedRuntime
    implementation.
    I'm sure the rest of the community will be interested in hearing the
    results of your tests.
    In article <bn38qa$d1i$[email protected]>, Carsten Jahn wrote:
    Hi,
    we may have to use WebSphere 4.0 with Kodo until the IT infrastructure
    department supports the latest version WebSphere 5.0.
    Is anyone still developing with Kodo and WebSphere 4.0? Can I use Kodo
    2.5 / 3.0 with the 'old' version of WebSphere?
    Thanks a lot!
    Yours,
    Carsten
    Marc Prud'hommeaux [email protected]
    SolarMetric Inc. http://www.solarmetric.com

  • Kodo IDE's and Ant

    Hi,
    I'm just getting started with Kodo and I was wondering if it is possible to
    integrate the Kodo system into an IDE, I've noticed that some of the other
    JDO vendors have sample ant tasks which one can execute. Is there anything
    similar for Kodo?
    I am not familiar with Ant or Kodo as yet otherwise I would write my own,
    any help would be appreciated. I am using Websphere Studio Site Developer.
    Thanks

    Sena Gbeckor-Kove wrote:
    Hi,
    I'm just getting started with Kodo and I was wondering if it is possible to
    integrate the Kodo system into an IDE, I've noticed that some of the other
    JDO vendors have sample ant tasks which one can execute. Is there anything
    similar for Kodo?
    I am not familiar with Ant or Kodo as yet otherwise I would write my own,
    any help would be appreciated. I am using Websphere Studio Site Developer.
    ThanksI use a simple approach:
    <path id="build.classpath">
    <pathelement location="bin/"/> <!-- your .class files -->
    <pathelement
    location="${root.dir}/${jdo.dirname}/lib/kodo-jdoee.jar"
    />
    <pathelement
    location="${root.dir}/${jdo.dirname}/lib/jdo_0_95.jar"
    />
    <!-- other libraries go here ... -->
    </path>
    <target depends="compile" name="enhance">
    <java classname="com.solarmetric.kodo.enhance.JDOEnhancer" fork="yes">
    <classpath>
    <pathelement location="bin/"/>
    <path refid="build.classpath"/>
    </classpath>
    <arg line="src/package.jdo"/>
    </java>
    </target>
    root.dir is wherever you keep your libraries, and jdo.dirname is the
    kodo distribution directory below that.
    It would be nice to have a task which found all the .jdo files, but as
    long as you don't add them very often, this is fine. No9te that this
    assumes that you have a compile task which creates the .class files
    which are to be enhanced.
    I'm not sure if there are any issues using this with WSSD -- I use it
    with eclipse 2.
    Tom

  • Long tone on start up and then goes into open firmware

    I stumbled upon the older posts here and thought I'd add a solution.
    http://discussions.apple.com/thread.jspa?messageID=6115258
    It was about an emac starting up with a long tone and the led flashes a few times and then goes into Open firmware, and when doing "mac-boot" in open firmware, it attempts to start, shows the apple symbol, the screen goes dim and crashes.
    It could be a bad power switch. To confirm - you can remove the emac case, be careful not to touch the motitor's picture tube. Find the cable to the power switch; with a small wire just touch together the black and red wires on the power switch cable (or it might be red and green). This will start the emac. If it boots up and runs OK then the power switch was bad. Not sure where to buy a new switch. I soldered and glued my switch together.
    <Edited by Moderator>

    Or, you'll find both the short pigtail-cabled nVidia graphics driven power switch and the version with a longer cable used with the AIT graphics driven models here* for a good deal less.
    Note that the later ATI version can actually be used with either product generation.
    *I may receive compensation as a result of parts or services being ordered by users specified at the link shown in this message.

Maybe you are looking for

  • Questions on NWDI server management.

    Hi We implemented NWDI on the same server as that of the portal. (8GB RAM, 2.61 GHz AMD Opteron proc 285, Win 2003 OS) A lot of space in <b><drive>:/usr</b> is being utilised whenever I run the import in NWDI, so from time to time I will have to dele

  • I think I need a new Hard Drive

    iMovie keeps crashing. Thus, I think I need a new hard drive for my 2001 dual 800 G4 (Quick Silver). Can someone please tell me the best place to buy a new hard drive, how to install it, and then how to transfer everything over to the new one and thu

  • Suggestion: make UTF8 as default encoding

    JDeveloper still uses "System default" encoding for editor and compiler, not UTF8. Other tools, like IDEA uses UTF8 more than 5 years. JDeveloper can be ajusted to use UTF8, but it is needed to make this in 3 places at last. If a new developer will n

  • Adobe CC Application Maxes out Network Capacity

    Hi, We are deploying the Creative Cloud applications to around 150 Mac OS users, and are having some very bad network issues when we attempt to update more than one person at a time. Basically, we have a 100M pipe, and we're seeing it MAX OUT COMPLET

  • Maintain Substitute -- E-Recruiting

    In customer location, the hiring manager creates her admin as the substitute -- the business reason is, the admin can create requisition on behalf of her manager. In the management involvment, when the admin creates the requisition, she does not see