Kodo in  jbuilder

I have succeed in creating metedate and mapping and schema in
kodoworkbench for my project model,but I fail to run the project due to
kodo enhance. I think that the classes have been enhanced in
kodoworkbench . why ? the follow is the error message :
kodo.enhance.JDOEnhancer: kodo.util.FatalException: java.io.IOException:
org.xml.sax.SAXException:
file:/C:/Home/fashionASP/classes/com/ideal/platformASP/entity/package.jdo
[Location: Line: 20, C: 70]: Type "ProductDeploy" could not be
instantiated.-NestedThrowables:-java.io.IOException:
org.xml.sax.SAXException:
file:/C:/Home/fashionASP/classes/com/ideal/platformASP/entity/package.jdo
[Location: Line: 20, C: 70]: Type "ProductDeploy" could not be
instantiated.--at
kodo.meta.JDOMetaDataRepositoryImpl.getMetaDataInternal(JDOMetaDataRepositoryImpl.java:180)--at
kodo.meta.JDOMetaDataRepositoryImpl.getMetaData(JDOMetaDataRepositoryImpl.java:129)--at
kodo.enhance.JDOEnhancer.<init>(JDOEnhancer.java:110)--at
kodo.enhance.JDOEnhancer.run(JDOEnhancer.java:2181)--at
kodo.jdbc.integration.jbuilder.JDOEnhancerTask.doBuild(JDOEnhancerTask.java:101)--at
kodo.jdbc.integration.jbuilder.JDOEnhancerTask.build(JDOEnhancerTask.java:74)--at
com.borland.primetime.build.BuildTask.execute(Unknown Source)--at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)--at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)--at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)--at
java.lang.reflect.Method.invoke(Method.java:324)--at
org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:147)--at
org.apache.tools.ant.Task.perform(Task.java:341)--at
org.apache.tools.ant.Target.execute(Target.java:309)--at
org.apache.tools.ant.Target.performTasks(Target.java:336)--at
com.borland.primetime.build.y.executeTarget(Unknown Source)--at
com.borland.primetime.build.y.executeTargets(Unknown Source)--at
com.borland.primetime.build.y.build(Unknown Source)--at
com.borland.primetime.build.y.build(Unknown Source)--at
com.borland.primetime.build.BuildProcess.run(Unknown Source)--at
java.lang.Thread.run(Thread.java:534)--Caused by: java.io.IOException:
org.xml.sax.SAXException:
file:/C:/Home/fashionASP/classes/com/ideal/platformASP/entity/package.jdo
[Location: Line: 20, C: 70]: Type "ProductDeploy" could not be
instantiated.--at
com.solarmetric.meta.XMLMetaDataParser.parse(XMLMetaDataParser.java:320)--at
com.solarmetric.meta.XMLMetaDataParser.parse(XMLMetaDataParser.java:260)--at
com.solarmetric.meta.XMLMetaDataParser.parse(XMLMetaDataParser.java:240)--at
kodo.meta.JDOMetaDataRepositoryImpl.getMetaDataInternal(JDOMetaDataRepositoryImpl.java:175)--...
20 more--NestedThrowablesStackTrace:--java.io.IOException:
org.xml.sax.SAXException:
file:/C:/Home/fashionASP/classes/com/ideal/platformASP/entity/package.jdo
[Location: Line: 20, C: 70]: Type "ProductDeploy" could not be
instantiated.--at
com.solarmetric.meta.XMLMetaDataParser.parse(XMLMetaDataParser.java:320)--at
com.solarmetric.meta.XMLMetaDataParser.parse(XMLMetaDataParser.java:260)--at
com.solarmetric.meta.XMLMetaDataParser.parse(XMLMetaDataParser.java:240)--at
kodo.meta.JDOMetaDataRepositoryImpl.getMetaDataInternal(JDOMetaDataRepositoryImpl.java:175)--at
kodo.meta.JDOMetaDataRepositoryImpl.getMetaData(JDOMetaDataRepositoryImpl.java:129)--at
kodo.enhance.JDOEnhancer.<init>(JDOEnhancer.java:110)--at
kodo.enhance.JDOEnhancer.run(JDOEnhancer.java:2181)--at
kodo.jdbc.integration.jbuilder.JDOEnhancerTask.doBuild(JDOEnhancerTask.java:101)--at
kodo.jdbc.integration.jbuilder.JDOEnhancerTask.build(JDOEnhancerTask.java:74)--at
com.borland.primetime.build.BuildTask.execute(Unknown Source)--at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)--at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)--at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)--at
java.lang.reflect.Method.invoke(Method.java:324)--at
org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:147)--at
org.apache.tools.ant.Task.perform(Task.java:341)--at
org.apache.tools.ant.Target.execute(Target.java:309)--at
org.apache.tools.ant.Target.performTasks(Target.java:336)--at
com.borland.primetime.build.y.executeTarget(Unknown Source)--at
com.borland.primetime.build.y.executeTargets(Unknown Source)--at
com.borland.primetime.build.y.build(Unknown Source)--at
com.borland.primetime.build.y.build(Unknown Source)--at
com.borland.primetime.build.BuildProcess.run(Unknown Source)--at
java.lang.Thread.run(Thread.java:534)--

all the classes in the package have been complied , or the classes can
not be added to the metadata in the workbench .
Greg Campbell wrote:
Is the "ProductDeploy" class compiled? The JDOEnhancer works on compiled
bytecode (ProductDeploy.class) not source code (ProductDeploy.java).
Thanks,
Greg
"qiyongzhen" <[email protected]> wrote in message
news:[email protected]...
I have succeed in creating metedate and mapping and schema in
kodoworkbench for my project model,but I fail to run the project due to
kodo enhance. I think that the classes have been enhanced in
kodoworkbench . why ? the follow is the error message :
kodo.enhance.JDOEnhancer: kodo.util.FatalException: java.io.IOException:
org.xml.sax.SAXException:
file:/C:/Home/fashionASP/classes/com/ideal/platformASP/entity/package.jdo
[Location: Line: 20, C: 70]: Type "ProductDeploy" could not be
instantiated.-NestedThrowables:-java.io.IOException:
org.xml.sax.SAXException:
file:/C:/Home/fashionASP/classes/com/ideal/platformASP/entity/package.jdo
[Location: Line: 20, C: 70]: Type "ProductDeploy" could not be
instantiated.--at
kodo.meta.JDOMetaDataRepositoryImpl.getMetaDataInternal(JDOMetaDataRepositor
yImpl.java:180)--at
>
kodo.meta.JDOMetaDataRepositoryImpl.getMetaData(JDOMetaDataRepositoryImpl.ja
va:129)--at
kodo.enhance.JDOEnhancer.<init>(JDOEnhancer.java:110)--at
kodo.enhance.JDOEnhancer.run(JDOEnhancer.java:2181)--at
kodo.jdbc.integration.jbuilder.JDOEnhancerTask.doBuild(JDOEnhancerTask.java:
101)--at
>
kodo.jdbc.integration.jbuilder.JDOEnhancerTask.build(JDOEnhancerTask.java:74
)--at
com.borland.primetime.build.BuildTask.execute(Unknown Source)--at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)--at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)--at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
..java:25)--at
java.lang.reflect.Method.invoke(Method.java:324)--at
org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:147)--at
org.apache.tools.ant.Task.perform(Task.java:341)--at
org.apache.tools.ant.Target.execute(Target.java:309)--at
org.apache.tools.ant.Target.performTasks(Target.java:336)--at
com.borland.primetime.build.y.executeTarget(Unknown Source)--at
com.borland.primetime.build.y.executeTargets(Unknown Source)--at
com.borland.primetime.build.y.build(Unknown Source)--at
com.borland.primetime.build.y.build(Unknown Source)--at
com.borland.primetime.build.BuildProcess.run(Unknown Source)--at
java.lang.Thread.run(Thread.java:534)--Caused by: java.io.IOException:
org.xml.sax.SAXException:
file:/C:/Home/fashionASP/classes/com/ideal/platformASP/entity/package.jdo
[Location: Line: 20, C: 70]: Type "ProductDeploy" could not be
instantiated.--at
com.solarmetric.meta.XMLMetaDataParser.parse(XMLMetaDataParser.java:320)--at
>
com.solarmetric.meta.XMLMetaDataParser.parse(XMLMetaDataParser.java:260)--at
>
com.solarmetric.meta.XMLMetaDataParser.parse(XMLMetaDataParser.java:240)--at
>
kodo.meta.JDOMetaDataRepositoryImpl.getMetaDataInternal(JDOMetaDataRepositor
yImpl.java:175)--...
20 more--NestedThrowablesStackTrace:--java.io.IOException:
org.xml.sax.SAXException:
file:/C:/Home/fashionASP/classes/com/ideal/platformASP/entity/package.jdo
[Location: Line: 20, C: 70]: Type "ProductDeploy" could not be
instantiated.--at
com.solarmetric.meta.XMLMetaDataParser.parse(XMLMetaDataParser.java:320)--at
>
com.solarmetric.meta.XMLMetaDataParser.parse(XMLMetaDataParser.java:260)--at
>
com.solarmetric.meta.XMLMetaDataParser.parse(XMLMetaDataParser.java:240)--at
>
kodo.meta.JDOMetaDataRepositoryImpl.getMetaDataInternal(JDOMetaDataRepositor
yImpl.java:175)--at
>
kodo.meta.JDOMetaDataRepositoryImpl.getMetaData(JDOMetaDataRepositoryImpl.ja
va:129)--at
kodo.enhance.JDOEnhancer.<init>(JDOEnhancer.java:110)--at
kodo.enhance.JDOEnhancer.run(JDOEnhancer.java:2181)--at
kodo.jdbc.integration.jbuilder.JDOEnhancerTask.doBuild(JDOEnhancerTask.java:
101)--at
>
kodo.jdbc.integration.jbuilder.JDOEnhancerTask.build(JDOEnhancerTask.java:74
)--at
com.borland.primetime.build.BuildTask.execute(Unknown Source)--at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)--at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)--at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
..java:25)--at
java.lang.reflect.Method.invoke(Method.java:324)--at
org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:147)--at
org.apache.tools.ant.Task.perform(Task.java:341)--at
org.apache.tools.ant.Target.execute(Target.java:309)--at
org.apache.tools.ant.Target.performTasks(Target.java:336)--at
com.borland.primetime.build.y.executeTarget(Unknown Source)--at
com.borland.primetime.build.y.executeTargets(Unknown Source)--at
com.borland.primetime.build.y.build(Unknown Source)--at
com.borland.primetime.build.y.build(Unknown Source)--at
com.borland.primetime.build.BuildProcess.run(Unknown Source)--at
java.lang.Thread.run(Thread.java:534)--

Similar Messages

  • Package.jdo in JBuilder

    Hi,
    The user manual states that "creating and editing package.jdo metadata files
    for multiple classes is currently not supported in the JBuilder interface."
    Whenever I make/rebuild/run my project from JBuilder, it executes the
    enhancer against each of my .jdo files (which are growing in number) making
    the make/rebuild/run time consuming. Is there a work around for this? Is
    there any time frame for Kodo to support package.jdo files in JBuilder?
    Thanks,
    Jeff

    The user manual states that "creating and editing package.jdo metadata files
    for multiple classes is currently not supported in the JBuilder interface."That's correct. You're free to use package-level metadata with Kodo and
    JBuilder, you just won't be able to manipulate these files through Kodo's
    JBuilder integration (you can certainly edit them by hand).
    I don't think there is a definite timetable on correcting this issue, but
    we are aware of it.

  • Inner Class metadata file name?

    Dear All,
    I have a problem creating metadata file for static inner class. My
    environment (JBuilder 7.0 enterprise, KODO 1.4.1)
    Here is my example:
    package com.test;
    public class ClassA
    public static class ClassB
    private String f1;
    private String f2;
    Now I have the following problems:
    1. I have to manually define metadata file (I can't use JBuilder Kodo
    plugin it can't generate one for me when I want inner class to be JDO
    persistent)
    2. What name of .jdo file should be? I tried both "ClassB.jdo" and
    "ClassA.jdo" with no success... In JBiulder there is a KODO DataBase
    schema tool that complains that it can't find metadata for the file (see
    at the end trace stack:
    3. Here is my metadata file content, is it correct?
    <?xml version="1.0"?>
    <jdo>
    <package name="com.test">
    <class name="ClassA$ClassB"/>
    </package>
    </jdo>
    ==========
    Mon Mar 31 15:47:38 SGT 2003: ERROR: javax.jdo.JDOFatalUserException: Type
    "class com.test.ClassA$ClassB" does not have JDO metadata.
    Mon Mar 31 15:47:38 SGT 2003: ERROR: javax.jdo.JDOFatalUserException: Type
    "class com.test.ClassA$ClassB" does not have JDO metadata.
         at
    com.solarmetric.kodo.impl.jdbc.ormapping.Mapping.createMappings(Mapping.java:108)
         at
    com.solarmetric.kodo.impl.jdbc.ormapping.Mapping.createMappings(Mapping.java:85)
         at
    com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.createMappings(SchemaTool.java:802)
         at
    com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.refresh(SchemaTool.java:333)
         at
    com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.refresh(SchemaTool.java:321)
         at
    com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.main(SchemaTool.java:1136)
         at
    com.solarmetric.modules.integration.ui.SchemaToolDialog.execute(SchemaToolDialog.java:236)
         at
    com.solarmetric.modules.integration.ui.SchemaToolDialog.execute(SchemaToolDialog.java:217)
         at
    com.solarmetric.modules.integration.ui.SchemaToolDialog.actionPerformed(SchemaToolDialog.java:202)
         at
    javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1450)
         at
    javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1504)
         at
    javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250)
         at
    javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:216)
         at java.awt.Component.processMouseEvent(Component.java:3715)
         at java.awt.Component.processEvent(Component.java:3544)
         at java.awt.Container.processEvent(Container.java:1164)
         at java.awt.Component.dispatchEventImpl(Component.java:2593)
         at java.awt.Container.dispatchEventImpl(Container.java:1213)
         at java.awt.Component.dispatchEvent(Component.java:2497)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
         at java.awt.Container.dispatchEventImpl(Container.java:1200)
         at java.awt.Window.dispatchEventImpl(Window.java:914)
         at java.awt.Component.dispatchEvent(Component.java:2497)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
         at
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
         at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
         at java.awt.Dialog.show(Dialog.java:380)
         at com.borland.primetime.ui.DefaultDialog.show(Unknown Source)
         at java.awt.Component.show(Component.java:946)
         at java.awt.Component.setVisible(Component.java:903)
         at com.borland.primetime.ui.DefaultDialog.showModalDialog(Unknown Source)
         at com.borland.primetime.ui.DefaultDialog.showModalDialog(Unknown Source)
         at
    com.solarmetric.modules.integration.jbuilder.SchemaToolAction.perform(SchemaToolAction.java:60)
         at
    com.solarmetric.modules.integration.jbuilder.SafeBrowserAction.actionPerformed(SafeBrowserAction.java:72)
         at com.borland.primetime.ide.BrowserAction.actionPerformed(Unknown Source)
         at com.borland.primetime.actions.r.actionPerformed(Unknown Source)
         at
    javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1450)
         at
    javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1504)
         at
    javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:279)
         at
    javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:886)
         at
    java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:230)
         at java.awt.Component.processMouseEvent(Component.java:3715)
         at java.awt.Component.processEvent(Component.java:3544)
         at java.awt.Container.processEvent(Container.java:1164)
         at java.awt.Component.dispatchEventImpl(Component.java:2593)
         at java.awt.Container.dispatchEventImpl(Container.java:1213)
         at java.awt.Component.dispatchEvent(Component.java:2497)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
         at java.awt.Container.dispatchEventImpl(Container.java:1200)
         at java.awt.Window.dispatchEventImpl(Window.java:914)
         at java.awt.Component.dispatchEvent(Component.java:2497)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
         at
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
         at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
    ==============
    best regards,
    Ruslan Zenin

    Ruslan-
    In article <[email protected]>, Ruslan Zenin wrote:
    1. I have to manually define metadata file (I can't use JBuilder Kodo
    plugin it can't generate one for me when I want inner class to be JDO
    persistent)Yes, this is a limitation of Kodo's JBuilder integration currently.
    2. What name of .jdo file should be? I tried both "ClassB.jdo" and
    "ClassA.jdo" with no success... In JBiulder there is a KODO DataBase
    schema tool that complains that it can't find metadata for the file (see
    at the end trace stack:Well, you can certainly put it in the packagename.jdo file if you want
    to go that route. Otherwise, you can define it in a file named
    "ClassA$ClassB.jdo" (assuming that the IDE will allow you to create a
    file with a '$' character in it).
    3. Here is my metadata file content, is it correct?Yes, that looks correct.
    <?xml version="1.0"?>
    <jdo>
    <package name="com.test">
    <class name="ClassA$ClassB"/>
    </package>
    </jdo>
    ==========
    Mon Mar 31 15:47:38 SGT 2003: ERROR: javax.jdo.JDOFatalUserException: Type
    "class com.test.ClassA$ClassB" does not have JDO metadata.
    Mon Mar 31 15:47:38 SGT 2003: ERROR: javax.jdo.JDOFatalUserException: Type
    "class com.test.ClassA$ClassB" does not have JDO metadata.
         at
    com.solarmetric.kodo.impl.jdbc.ormapping.Mapping.createMappings(Mapping.java:108)
         at
    com.solarmetric.kodo.impl.jdbc.ormapping.Mapping.createMappings(Mapping.java:85)
         at
    com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.createMappings(SchemaTool.java:802)
         at
    com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.refresh(SchemaTool.java:333)
         at
    com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.refresh(SchemaTool.java:321)
         at
    com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.main(SchemaTool.java:1136)
         at
    com.solarmetric.modules.integration.ui.SchemaToolDialog.execute(SchemaToolDialog.java:236)
         at
    com.solarmetric.modules.integration.ui.SchemaToolDialog.execute(SchemaToolDialog.java:217)
         at
    com.solarmetric.modules.integration.ui.SchemaToolDialog.actionPerformed(SchemaToolDialog.java:202)
         at
    javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1450)
         at
    javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1504)
         at
    javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250)
         at
    javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:216)
         at java.awt.Component.processMouseEvent(Component.java:3715)
         at java.awt.Component.processEvent(Component.java:3544)
         at java.awt.Container.processEvent(Container.java:1164)
         at java.awt.Component.dispatchEventImpl(Component.java:2593)
         at java.awt.Container.dispatchEventImpl(Container.java:1213)
         at java.awt.Component.dispatchEvent(Component.java:2497)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
         at java.awt.Container.dispatchEventImpl(Container.java:1200)
         at java.awt.Window.dispatchEventImpl(Window.java:914)
         at java.awt.Component.dispatchEvent(Component.java:2497)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
         at
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
         at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
         at java.awt.Dialog.show(Dialog.java:380)
         at com.borland.primetime.ui.DefaultDialog.show(Unknown Source)
         at java.awt.Component.show(Component.java:946)
         at java.awt.Component.setVisible(Component.java:903)
         at com.borland.primetime.ui.DefaultDialog.showModalDialog(Unknown Source)
         at com.borland.primetime.ui.DefaultDialog.showModalDialog(Unknown Source)
         at
    com.solarmetric.modules.integration.jbuilder.SchemaToolAction.perform(SchemaToolAction.java:60)
         at
    com.solarmetric.modules.integration.jbuilder.SafeBrowserAction.actionPerformed(SafeBrowserAction.java:72)
         at com.borland.primetime.ide.BrowserAction.actionPerformed(Unknown Source)
         at com.borland.primetime.actions.r.actionPerformed(Unknown Source)
         at
    javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1450)
         at
    javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1504)
         at
    javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:279)
         at
    javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:886)
         at
    java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:230)
         at java.awt.Component.processMouseEvent(Component.java:3715)
         at java.awt.Component.processEvent(Component.java:3544)
         at java.awt.Container.processEvent(Container.java:1164)
         at java.awt.Component.dispatchEventImpl(Component.java:2593)
         at java.awt.Container.dispatchEventImpl(Container.java:1213)
         at java.awt.Component.dispatchEvent(Component.java:2497)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
         at java.awt.Container.dispatchEventImpl(Container.java:1200)
         at java.awt.Window.dispatchEventImpl(Window.java:914)
         at java.awt.Component.dispatchEvent(Component.java:2497)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
         at
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
         at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
    ==============
    best regards,
    Ruslan Zenin
    Marc Prud'hommeaux [email protected]
    SolarMetric Inc. http://www.solarmetric.com

  • Kodo 3.1.5 - JBuilder X Integration Problem

    Hi,
    I am a newbie to both JBuilder X and Kodo, but I need to get a legacy application working with that environment (for maintenance purposes).
    My issue seems basic, but heck if I can figure it out. I am trying to configure Kodo to work with JBuilder. All I change in the Kodo 3.1.5 Configuration Utility is setting the "Connection Driver" to: "oracle.jdbc.driver.OracleDriver". When I try to save this, I get the following exception:
    WARN -- oracle.jdbc.driver.OracleDriver
    kodo.util.FatalDataStoreException: oracle.jdbc.driver.OracleDriver
    NestedThrowables:
    java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
         at kodo.jdbc.sql.SQLExceptions.getFatalDataStore(SQLExceptions.java:42)
         at kodo.jdbc.sql.SQLExceptions.getFatalDataStore(SQLExceptions.java:24)
         at kodo.jdbc.schema.DataSourceFactory.createDataSource(DataSourceFactory.java:96)
         at kodo.jdbc.conf.JDBCConfigurationImpl.createConnectionFactory(JDBCConfigurationImpl.java:954)
         at kodo.jdbc.conf.JDBCConfigurationImpl.getConnectionFactory(JDBCConfigurationImpl.java:869)
         at kodo.jdbc.conf.JDBCConfigurationImpl.getDataSource(JDBCConfigurationImpl.java:960)
         at kodo.jdbc.runtime.JDBCStoreManager.setPersistenceManager(JDBCStoreManager.java:68)
         at kodo.runtime.PersistenceManagerImpl.initialize(PersistenceManagerImpl.java:196)
         at kodo.runtime.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:139)
         at kodo.runtime.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:102)
         at kodo.runtime.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:95)
         at kodo.jdbc.ide.configuration.ConfigurationComponent.validateConfiguration(ConfigurationComponent.java:299)
         at kodo.jdbc.integration.jbuilder.ConfigurationPage.isPageValid(ConfigurationPage.java:255)
         at com.borland.primetime.properties.g.isPageValid(Unknown Source)
         at com.borland.primetime.properties.PropertyDialog.a(Unknown Source)
         at com.borland.primetime.properties.PropertyDialog.saveAndClose(Unknown Source)
         at com.borland.primetime.properties.j.actionPerformed(Unknown Source)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
         at java.awt.Component.processMouseEvent(Component.java:5100)
         at java.awt.Component.processEvent(Component.java:4897)
         at java.awt.Container.processEvent(Container.java:1569)
         at java.awt.Component.dispatchEventImpl(Component.java:3615)
         at java.awt.Container.dispatchEventImpl(Container.java:1627)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
         at java.awt.Container.dispatchEventImpl(Container.java:1613)
         at java.awt.Window.dispatchEventImpl(Window.java:1606)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
         at java.awt.Dialog$1.run(Dialog.java:540)
         at java.awt.Dialog.show(Dialog.java:561)
         at com.borland.primetime.ui.DefaultDialog.show(Unknown Source)
         at java.awt.Component.show(Component.java:1133)
         at java.awt.Component.setVisible(Component.java:1088)
         at com.borland.primetime.properties.PropertyManager.showPropertyDialog(Unknown Source)
         at kodo.jdbc.integration.jbuilder.Actions$ConfigureKodoAction.perform(Actions.java:130)
         at kodo.jdbc.integration.jbuilder.Actions$ConfigureKodoAction.perform(Actions.java:124)
         at kodo.jdbc.integration.jbuilder.SafeBrowserAction.actionPerformed(SafeBrowserAction.java:70)
         at com.borland.primetime.ide.BrowserAction.actionPerformed(Unknown Source)
         at com.borland.primetime.actions.ActionButton.a(Unknown Source)
         at com.borland.primetime.actions.ActionButton.fire(Unknown Source)
         at com.borland.primetime.actions.ActionButton.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Component.java:4897)
         at java.awt.Container.processEvent(Container.java:1569)
         at java.awt.Component.dispatchEventImpl(Component.java:3615)
         at java.awt.Container.dispatchEventImpl(Container.java:1627)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
         at java.awt.Container.dispatchEventImpl(Container.java:1613)
         at java.awt.Window.dispatchEventImpl(Window.java:1606)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    Caused by: java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
         at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:219)
         at kodo.jdbc.schema.DataSourceFactory.createDataSource(DataSourceFactory.java:55)
         ... 65 more
    NestedThrowablesStackTrace:
    java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
         at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:219)
         at kodo.jdbc.schema.DataSourceFactory.createDataSource(DataSourceFactory.java:55)
         at kodo.jdbc.conf.JDBCConfigurationImpl.createConnectionFactory(JDBCConfigurationImpl.java:954)
         at kodo.jdbc.conf.JDBCConfigurationImpl.getConnectionFactory(JDBCConfigurationImpl.java:869)
         at kodo.jdbc.conf.JDBCConfigurationImpl.getDataSource(JDBCConfigurationImpl.java:960)
         at kodo.jdbc.runtime.JDBCStoreManager.setPersistenceManager(JDBCStoreManager.java:68)
         at kodo.runtime.PersistenceManagerImpl.initialize(PersistenceManagerImpl.java:196)
         at kodo.runtime.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:139)
         at kodo.runtime.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:102)
         at kodo.runtime.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:95)
         at kodo.jdbc.ide.configuration.ConfigurationComponent.validateConfiguration(ConfigurationComponent.java:299)
         at kodo.jdbc.integration.jbuilder.ConfigurationPage.isPageValid(ConfigurationPage.java:255)
         at com.borland.primetime.properties.g.isPageValid(Unknown Source)
         at com.borland.primetime.properties.PropertyDialog.a(Unknown Source)
         at com.borland.primetime.properties.PropertyDialog.saveAndClose(Unknown Source)
         at com.borland.primetime.properties.j.actionPerformed(Unknown Source)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
         at java.awt.Component.processMouseEvent(Component.java:5100)
         at java.awt.Component.processEvent(Component.java:4897)
         at java.awt.Container.processEvent(Container.java:1569)
         at java.awt.Component.dispatchEventImpl(Component.java:3615)
         at java.awt.Container.dispatchEventImpl(Container.java:1627)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
         at java.awt.Container.dispatchEventImpl(Container.java:1613)
         at java.awt.Window.dispatchEventImpl(Window.java:1606)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
         at java.awt.Dialog$1.run(Dialog.java:540)
         at java.awt.Dialog.show(Dialog.java:561)
         at com.borland.primetime.ui.DefaultDialog.show(Unknown Source)
         at java.awt.Component.show(Component.java:1133)
         at java.awt.Component.setVisible(Component.java:1088)
         at com.borland.primetime.properties.PropertyManager.showPropertyDialog(Unknown Source)
         at kodo.jdbc.integration.jbuilder.Actions$ConfigureKodoAction.perform(Actions.java:130)
         at kodo.jdbc.integration.jbuilder.Actions$ConfigureKodoAction.perform(Actions.java:124)
         at kodo.jdbc.integration.jbuilder.SafeBrowserAction.actionPerformed(SafeBrowserAction.java:70)
         at com.borland.primetime.ide.BrowserAction.actionPerformed(Unknown Source)
         at com.borland.primetime.actions.ActionButton.a(Unknown Source)
         at com.borland.primetime.actions.ActionButton.fire(Unknown Source)
         at com.borland.primetime.actions.ActionButton.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Component.java:4897)
         at java.awt.Container.processEvent(Container.java:1569)
         at java.awt.Component.dispatchEventImpl(Component.java:3615)
         at java.awt.Container.dispatchEventImpl(Container.java:1627)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
         at java.awt.Container.dispatchEventImpl(Container.java:1613)
         at java.awt.Window.dispatchEventImpl(Window.java:1606)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    So, it appears that it cannot find the Oracle class (oracle.jdbc.driver.OracleDriver). The ojdbc14.jar is in both my "required libraries" and my "classpath" for the JBuilder Project.
    Anyone know what I am doing wrong here?
    Thanks, in advance.
    Edited by houckman at 06/11/2007 8:25 AM

    Stephen Kim wrote:
    Did you set the StoreCharsAsNumbers=false in your DBDictionary setting?
    kodo.jdbc.DBDictionary: StoreCharsAsNumbers=false
    Jaime De La Jara F. wrote:
    Yes, but it seems we did something wrong, fortunely, after defining the
    correct CLASSPATH, we've got the mapping files with the right db
    structure, however there are some details to correct since when we execute
    the application, kodo complains about an int field not being compatible
    with a
    char column in the db, but the field is defined as char. Here is the error
    message :
    Caused by: kodo.jdbc.meta.MappingInfoNotFoundException: The "column"
    attribute/extension for field "cl.eclac.sca.modelo.Vertice.letter" names a
    column "LETTERX" in table "VERTICEX" whose type (CHAR) is not compatible
    with the type of the field (INTEGER).
    We are using Sybase adaptive Server 12.5. Any hint about this problem
    would
    be appreciated.
    No, we didn't try that option, however since the error was restricyed to
    only one class, we converted the field to a String and everything worked
    just fine. Thanks for the hint, we'll try it.

  • JBuilder 10 under Linux kodo.properties cannot be setup

    Where should the kodo.properties file go in a project under JBuilder 10
    and Suse Linux 9?
    At the moment I get an error in the verbose output of JBx:
    Exception occurred during event dispatching:
    java.lang.NoSuchMethodError: javax.jdo.PersistenceManagerFactory.close()V
    at
    kodo.jdbc.ide.configuration.ConfigurationComponent.validateConfiguration(ConfigurationComponent.java:304)
    at
    kodo.jdbc.integration.jbuilder.ConfigurationPage.isPageValid(ConfigurationPage.java:253)
    at com.borland.primetime.properties.g.isPageValid(Unknown Source)
    at com.borland.primetime.properties.PropertyDialog.a(Unknown
    Source)
    at
    com.borland.primetime.properties.PropertyDialog.saveAndClose(Unknown
    Source)
    at com.borland.primetime.properties.j.actionPerformed(Unknown
    Source)
    at
    javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
    at
    javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
    at
    javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
    at
    javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
    at
    javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
    at java.awt.Component.processMouseEvent(Component.java:5100)
    at java.awt.Component.processEvent(Component.java:4897)
    at java.awt.Container.processEvent(Container.java:1569)
    at java.awt.Component.dispatchEventImpl(Component.java:3615)
    at java.awt.Container.dispatchEventImpl(Container.java:1627)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at
    java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
    at
    java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
    at
    java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
    at java.awt.Container.dispatchEventImpl(Container.java:1613)
    at java.awt.Window.dispatchEventImpl(Window.java:1606)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
    at
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
    at java.awt.Dialog$1.run(Dialog.java:540)
    at java.awt.Dialog.show(Dialog.java:561)
    at com.borland.primetime.ui.DefaultDialog.show(Unknown Source)
    at java.awt.Component.show(Component.java:1133)
    at java.awt.Component.setVisible(Component.java:1088)
    at
    com.borland.primetime.properties.PropertyManager.showPropertyDialog(Unknown
    Source)
    at
    kodo.jdbc.integration.jbuilder.Actions$ConfigureKodoAction.perform(Actions.java:130)
    at
    kodo.jdbc.integration.jbuilder.SafeBrowserAction.actionPerformed(SafeBrowserAction.java:65)
    at com.borland.primetime.ide.BrowserAction.actionPerformed(Unknown
    Source)
    at com.borland.primetime.actions.s.actionPerformed(Unknown Source)
    at
    javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
    at
    javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
    at
    javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
    at
    javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
    at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
    at
    javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1113)
    at
    javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:943)
    at
    java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
    at java.awt.Component.processMouseEvent(Component.java:5100)
    at java.awt.Component.processEvent(Component.java:4897)
    at java.awt.Container.processEvent(Container.java:1569)
    at java.awt.Component.dispatchEventImpl(Component.java:3615)
    at java.awt.Container.dispatchEventImpl(Container.java:1627)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at
    java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
    at
    java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
    at
    java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
    at java.awt.Container.dispatchEventImpl(Container.java:1613)
    at java.awt.Window.dispatchEventImpl(Window.java:1606)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
    at
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
    at
    java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
    at
    java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    Any help would be appreciated
    Daniel Morris

    It appears you are using an old version of jdo jars. Be sure to remove
    the old one and use the 1.01 jars.
    Kodo's plugin is configured within the IDE and does not read any
    kodo.properties file.
    Daniel Morris wrote:
    Where should the kodo.properties file go in a project under JBuilder 10
    and Suse Linux 9?
    At the moment I get an error in the verbose output of JBx:
    Exception occurred during event dispatching:
    java.lang.NoSuchMethodError: javax.jdo.PersistenceManagerFactory.close()V
    at
    kodo.jdbc.ide.configuration.ConfigurationComponent.validateConfiguration(ConfigurationComponent.java:304)
    at
    kodo.jdbc.integration.jbuilder.ConfigurationPage.isPageValid(ConfigurationPage.java:253)
    at com.borland.primetime.properties.g.isPageValid(Unknown Source)
    at com.borland.primetime.properties.PropertyDialog.a(Unknown
    Source)
    at
    com.borland.primetime.properties.PropertyDialog.saveAndClose(Unknown
    Source)
    at com.borland.primetime.properties.j.actionPerformed(Unknown
    Source)
    at
    javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
    at
    javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
    at
    javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
    at
    javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
    at
    javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
    at java.awt.Component.processMouseEvent(Component.java:5100)
    at java.awt.Component.processEvent(Component.java:4897)
    at java.awt.Container.processEvent(Container.java:1569)
    at java.awt.Component.dispatchEventImpl(Component.java:3615)
    at java.awt.Container.dispatchEventImpl(Container.java:1627)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at
    java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
    at
    java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
    at
    java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
    at java.awt.Container.dispatchEventImpl(Container.java:1613)
    at java.awt.Window.dispatchEventImpl(Window.java:1606)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
    at
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
    at java.awt.Dialog$1.run(Dialog.java:540)
    at java.awt.Dialog.show(Dialog.java:561)
    at com.borland.primetime.ui.DefaultDialog.show(Unknown Source)
    at java.awt.Component.show(Component.java:1133)
    at java.awt.Component.setVisible(Component.java:1088)
    at
    com.borland.primetime.properties.PropertyManager.showPropertyDialog(Unknown
    Source)
    at
    kodo.jdbc.integration.jbuilder.Actions$ConfigureKodoAction.perform(Actions.java:130)
    at
    kodo.jdbc.integration.jbuilder.SafeBrowserAction.actionPerformed(SafeBrowserAction.java:65)
    at com.borland.primetime.ide.BrowserAction.actionPerformed(Unknown
    Source)
    at com.borland.primetime.actions.s.actionPerformed(Unknown Source)
    at
    javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
    at
    javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
    at
    javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
    at
    javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
    at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
    at
    javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1113)
    at
    javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:943)
    at
    java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
    at java.awt.Component.processMouseEvent(Component.java:5100)
    at java.awt.Component.processEvent(Component.java:4897)
    at java.awt.Container.processEvent(Container.java:1569)
    at java.awt.Component.dispatchEventImpl(Component.java:3615)
    at java.awt.Container.dispatchEventImpl(Container.java:1627)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at
    java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
    at
    java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
    at
    java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
    at java.awt.Container.dispatchEventImpl(Container.java:1613)
    at java.awt.Window.dispatchEventImpl(Window.java:1606)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
    at
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
    at
    java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
    at
    java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    Any help would be appreciated
    Daniel Morris
    Steve Kim
    [email protected]
    SolarMetric Inc.
    http://www.solarmetric.com

  • Strange behaviour of JBuilder Plug-In with Inner class

    Hi, I'm using the Kodo 2.5.2 Plug-In with JBuilder 8. I have an inner
    persistent class. It seems that it is necessary to have a zero length file
    named EnclosingClass$InnerClass.java for the build process to work, since
    if I delete this file and run the application it throws an exception
    saying that the Inner class has not an specified field which it really
    has. I don't know if this is a bug of the Kodo implementation or of the
    JBuilder Plug-In.
    Thanks for any help.
    Jaime.

    This is one of the limitations of the JBuilder plugin. Hopefully it
    will be resolved in the next iteration of our plugins for 3.x.
    Jaime De La Jara F. wrote:
    Hi, I'm using the Kodo 2.5.2 Plug-In with JBuilder 8. I have an inner
    persistent class. It seems that it is necessary to have a zero length file
    named EnclosingClass$InnerClass.java for the build process to work, since
    if I delete this file and run the application it throws an exception
    saying that the Inner class has not an specified field which it really
    has. I don't know if this is a bug of the Kodo implementation or of the
    JBuilder Plug-In.
    Thanks for any help.
    Jaime.
    Steve Kim
    [email protected]
    SolarMetric Inc.
    http://www.solarmetric.com

  • Kodo JDO 2.3.0 beta 5

    All,
    We have just released a new beta release of Kodo JDO 2.3.0. This beta
    includes functional managed transaction integration, WebSphere support, many
    bug fixes, documentation improvements, and more.
    We are planning on releasing Kodo JDO 2.3.0 RC1 on Monday. Barring any bugs
    that you guys turn up in the next couple days, it will be the same core code
    base as beta 5 plus a revival of our JBuilder integration and even more
    documentation improvements.
    If you see any bugs in beta 5, please let us know as soon as possible. At
    this point, we are quite confident in the performance and correctness of
    Kodo JDO 2.3.0, but, of course, the earlier we find bugs, the better.
    Also, if you've made a bug report recently and you don't see the fix in beta
    5, please let us know.
    See http://www.solarmetric.com/Software/beta/2.3.0 for more info and to
    download the release.
    -Patrick
    Patrick Linskey [email protected]
    SolarMetric Inc. http://www.solarmetric.com

    To confuse it even more I only observe this behaviour when I enchance all
    persistent classes at once.
    If I enchance all classes and then recompile and reenchance just OrgUnit
    (the rest are skipped by Kodo) it works as it suppose to
    I can reproduce this behaviour any time it is consistent
    "Alex Roytman" <[email protected]> wrote in message
    news:[email protected]...
    Abe, Patrick,
    I found something which looks like a serious enhancement bug. I cantfigure
    out what is going on but the symptoms are:
    getter of a PC reference will return null if reference has not beenresolved
    yet under some strange conditions:
    t.jdo.beginTransaction();
    try {
    //call t.jdo.getOrgUnit(2).getOrgUnitType() //*0* if I uncoment
    it subsequent code works
    OrgUnit leg = OrgUnit.newInstance(); //*1*
    leg.setOrgUnitType(t.jdo.getOrgUnitType(20));
    leg.setParent(t.jdo.getOrgUnit(2)); // note it is the sameorgUnit
    as in *0*
    if (leg.getParent().getOrgUnitType() == null) {   //*3*
    System.out.println("leg.getParent().getOrgUnitType() == null");
    // returns null here but it should not !!!!!
    leg.setName("Leg");
    t.jdo.commitTransaction();
    } catch (Exception e) {
    e.printStackTrace();
    t.jdo.rollbackTransaction();
    but call to t.jdo.getOrgUnit(2).getOrgUnitType() returns appropriate value
    just fine - not null
    note t.jdo.getOrgUnit(2) is nothing but a wraper for PM.getInstanceById()
    if I call t.jdo.getOrgUnit(2).getOrgUnitType() *0* before *1* it worksand
    *3* returns non null
    "Patrick Linskey" <[email protected]> wrote in message
    news:B95D3083.3A84%[email protected]...
    All,
    We have just released a new beta release of Kodo JDO 2.3.0. This beta
    includes functional managed transaction integration, WebSphere support,many
    bug fixes, documentation improvements, and more.
    We are planning on releasing Kodo JDO 2.3.0 RC1 on Monday. Barring anybugs
    that you guys turn up in the next couple days, it will be the same corecode
    base as beta 5 plus a revival of our JBuilder integration and even more
    documentation improvements.
    If you see any bugs in beta 5, please let us know as soon as possible.
    At
    this point, we are quite confident in the performance and correctness of
    Kodo JDO 2.3.0, but, of course, the earlier we find bugs, the better.
    Also, if you've made a bug report recently and you don't see the fix inbeta
    5, please let us know.
    See http://www.solarmetric.com/Software/beta/2.3.0 for more info and to
    download the release.
    -Patrick
    Patrick Linskey [email protected]
    SolarMetric Inc. http://www.solarmetric.com

  • Kodo Error - plug-in

    Kodo plug-in and JBuilder:
    If I create one class with absolutely nothing in it except one declaration:
    private ArrayList test = new ArrayList();
    and then compile that class and then right click on the class and select
    "Create JDO metadata" it successfully creates the the .jdo file
    If I create another class with nothing in it except one declaration:
    private ArrayList<String> test = new ArrayList<String>();
    and then compile that class and then right click on the class and select
    "Create JDO metadata" I get the following Kodo error.
    com.borland.jbuilder.jot.JotParseException: <identifier> expected at line
    24
    at com.borland.jbuilder.jot.src.JotLog.printError(Unknown Source)
    at com.borland.compiler.frontend.Report.error(Unknown Source)
    at com.borland.jbuilder.jot.src.JotParser.a(Unknown Source)
    at com.borland.jbuilder.jot.src.JotParser.a(Unknown Source)
    at com.borland.jbuilder.jot.src.JotParser.a(Unknown Source)
    at com.borland.jbuilder.jot.src.JotParser.k(Unknown Source)
    at com.borland.jbuilder.jot.src.JotParser.l(Unknown Source)
    at com.borland.jbuilder.jot.src.JotParser.addDef(Unknown Source)
    at com.borland.jbuilder.jot.src.JotParser.a(Unknown Source)
    at com.borland.jbuilder.jot.src.JotParser.a(Unknown Source)
    at com.borland.jbuilder.jot.src.JotParser.a(Unknown Source)
    at com.borland.jbuilder.jot.src.JotParser.b(Unknown Source)
    at com.borland.jbuilder.jot.src.JotParser.compilationUnit(Unknown Source)
    at com.borland.jbuilder.jot.src.SrcFile.elementParse(Unknown Source)
    at com.borland.jbuilder.jot.src.k.l(Unknown Source)
    at com.borland.jbuilder.jot.src.l.l(Unknown Source)
    at com.borland.jbuilder.jot.src.SrcFile.getPackage(Unknown Source)
    at
    kodo.jdbc.integration.jbuilder.JDOFileNode.getClassName(JDOFileNode.java:286)
    at
    kodo.jdbc.integration.jbuilder.JDOFileNode.getClassName(JDOFileNode.java:300)
    at
    kodo.jdbc.integration.jbuilder.JDOFileNode.assignUrl(JDOFileNode.java:247)
    at
    kodo.jdbc.integration.jbuilder.JDOFileNode.createNewNode(JDOFileNode.java:208)
    at
    kodo.jdbc.integration.jbuilder.JDOFileCreateAction.perform(JDOFileCreateAction.java:52)
    at
    kodo.jdbc.integration.jbuilder.SafeBrowserAction.actionPerformed(SafeBrowserAction.java:70)
    at com.borland.primetime.ide.BrowserAction.actionPerformed(Unknown
    Source)
    at
    com.borland.primetime.actions.ActionMenuItem$2.actionPerformed(Unknown
    Source)
    at
    javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
    at
    javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
    at
    javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
    at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
    at
    javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
    at
    javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
    at
    java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
    at java.awt.Component.processMouseEvent(Component.java:5488)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3107)
    at java.awt.Component.processEvent(Component.java:5253)
    at java.awt.Container.processEvent(Container.java:1966)
    at java.awt.Component.dispatchEventImpl(Component.java:3955)
    at java.awt.Container.dispatchEventImpl(Container.java:2024)
    at java.awt.Component.dispatchEvent(Component.java:3803)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
    at java.awt.Container.dispatchEventImpl(Container.java:2010)
    at java.awt.Window.dispatchEventImpl(Window.java:1825)
    at java.awt.Component.dispatchEvent(Component.java:3803)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
    at
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

    Schneider wrote:
    Hi,
    I have added Kodo plugin (2.1.0) to Eclipse (3.1.1) plugin folder as
    described in the manual. I've also copied all the Kodo libraries and
    classes12.jar into Eclipsepluginskodo.eclipse_2.1.0 and modified
    plugin.xml.
    I can see the menu item "Kodo" in Eclipse, but I can't start the Kodo
    preferences under Windows->Preferences. Following Error:
    Plug-in kodo was unable to load class
    kodo.jdbc.integration.eclipse.KodoPlugin.
    Does anyone have an idea?
    Thanks,
    Ingo SchneiderI use http://www.eclipse.org/dali plugin for EJB3-persistence. It allows
    me to have different EJB3 vendors. KODO was ok for me to work with.

  • Kodo extension under JBuilder7 causes it to hang

    Hi,
    I'm using JBuilder7 with Kodo 2.3.2 and it seems like the IDE freezes or
    hangs when I'm
    compiling code.
    If I run JBuilder with the -verbose enabled I see the following:
    Tue Oct 08 14:12:53 EDT 2002: + JDOEnhancerTask.build
    (jdoFileUrl=file:///D%|/J
    DOTestProjects/JDOPrototypeTest/src/com/siemens/financial/jdoprototype/bos/P
    ersn
    ame.jdo,buildProcess=com.borland.primetime.build.BuildProcess@64aafa
    Exception occurred during event dispatching:
    Does anyone know what could be causing this?
    Thanks in advance.

    Based on the information you posted, there are two possible causes for
    this problem: either one of the methods in our enhancer task is causing
    the hang (seems unlikely given the undeterministic nature of the problem),
    or we are throwing a RuntimeException out of the OpenTools build()
    method, which is in turn somehow causing JBuilder to hang.
    In Kodo JDO 2.3.3 and prior, there were three lines after the one that
    caused the printout you reported and before a try-catch block that catches
    all exceptions and does some reporting. 2.3.4 includes these three lines
    in the try-catch block.
    So, my anticipation is that the hang will go away, replaced with a build
    error triggered by the unexpected exception.
    It is also possible that the hang is occurring in our code, in which case
    you'll continue to see the hang. Hopefully that's not the case. If it is,
    please try to give us a reproducible test case (we have yet to see this
    problem internally).
    -Patrick
    In article <anv84m$na$[email protected]>, TJanusz wrote:
    Hi,
    I'm using JBuilder7 with Kodo 2.3.2 and it seems like the IDE freezes or
    hangs when I'm
    compiling code.
    If I run JBuilder with the -verbose enabled I see the following:
    Tue Oct 08 14:12:53 EDT 2002: + JDOEnhancerTask.build
    (jdoFileUrl=file:///D%|/J
    DOTestProjects/JDOPrototypeTest/src/com/siemens/financial/jdoprototype/bos/P
    ersn
    ame.jdo,buildProcess=com.borland.primetime.build.BuildProcess@64aafa
    Exception occurred during event dispatching:
    Does anyone know what could be causing this?
    Thanks in advance.
    Patrick Linskey [email protected]
    SolarMetric Inc. http://www.solarmetric.com

  • RC1 Jbuilder Plugin

    When configuring the connction properties for the plugin I can't enter a
    "custom" db dictionary. Only the items in the list can be
    entered/selected.
    I tried entering
    kodo3;kodo.jdbc.DBDictionary=com.marc.kodo3.dict.TeradataDictionary in
    jbuilders's user.properties file (and restarted) but the setting does not
    appear to take. The message in the console still inicates that the
    generic dictionary is being used.
    -marc

    I think I have this one figured out. Here are the steps to reproduce...
    1. Close all projects in jbuilder
    2. Go into the Kodo control panel and make sure that nothing is selected
    for the db dictionary class.
    3. Shutdown and Restart JBuilder.
    4. If you go into the control panel you won't be able to type anything in
    db dictionary class edit box. --- This is the problem I was seeing.
    If at this point you open a project and go back into the control panel you
    will be able to enter a db dictionary class.
    Seems like this is a pretty minor problem since there is an easy workaround
    -marc
    Stephen Kim wrote:
    I know this is not ideal, but for debugging purposes, if you add your
    DBDictionary class to kodo-jdo.jar in the appropriate place (i.e. right
    path), does the problem go away?
    Marc Sheftel wrote:
    When configuring the connction properties for the plugin I can't enter a
    "custom" db dictionary. Only the items in the list can be
    entered/selected.
    I tried entering
    kodo3;kodo.jdbc.DBDictionary=com.marc.kodo3.dict.TeradataDictionary in
    jbuilders's user.properties file (and restarted) but the setting does not
    appear to take. The message in the console still inicates that the
    generic dictionary is being used.
    -marc
    Steve Kim
    [email protected]
    SolarMetric Inc.
    http://www.solarmetric.com

  • MANIFEST.MF included with kodo-persistence.rar

    The MANIFEST.MF included with the kodo-persistence.rar in kodo 4.1.1 has only info about "JDO" and not "JPA". Was it incorrectly packaged? Is there another kodo-persistence.rar that can be downloaded for JCA? Here are the contents of the MANIFEST.MF in kodo-4.1.1/jca/persistence/META-INF/kodo-persistence.rar
    Premain-Class: kodo.enhance.PCEnhancerAgent
    Main-Class: kodo.enhance.PCEnhancer
    Built-By: BEA Systems, Inc.
    Implementation-Vendor: BEA Systems, Inc.
    Implementation-Version: 4.1.1
    OpenTools-UI: kodo.jdbc.integration.jbuilder.KodoTools
    OpenTools-Build: kodo.jdbc.integration.jbuilder.KodoBuilder
    OpenIDE-Module: kodo.jdbc.integration.netbeans/1
    OpenIDE-Module-Name: Kodo
    OpenIDE-Module-Short-Description: Kodo for SunOne-NetBeans
    OpenIDE-Module-Install: kodo/jdbc/integration/netbeans/KodoModule.class
    OpenIDE-Module-Module-Dependencies: org.netbeans.modules.java/1 > 1.7
    OpenIDE-Module-Layer: kodo/jdbc/integration/netbeans/kodo-layer.xml
    Name: kodo/
    Specification-Title: Java Data Objects
    Specification-Vendor: Sun
    Implementation-Vendor: BEA Systems, Inc.
    Specification-Version: 2.0.0
    Implementation-Version: 4.1.1
    Implementation-Title: kodo
    Name: kodo/jdbc/integration/netbeans/KodoMenuAction.class
    OpenIDE-Module-Class: Action
    Name: kodo/jdbc/integration/netbeans/MappingDataLoader.class
    OpenIDE-Module-Class: Loader
    Install-Before: org.openide.loaders.XMLDataObject, org.netbeans.module
    s.xml.core.XMLDataObject
    Name: kodo/jdbc/integration/netbeans/JDODataLoader.class
    OpenIDE-Module-Class: Loader
    Install-Before: org.openide.loaders.XMLDataObject, org.netbeans.module
    s.xml.core.XMLDataObject

    The manifest should be seen only as a file that can contain information about the files packaged in a JAR file. There is no requirement to contain information about all the files packaged in the jar.
    You are using the correct rar file.
    Laurent

  • Kodo 2.5 + SAP DB

    Hallo,
    we intend to apply in our project Kodo OR-mapping in connection with SAP
    DB.
    At the moment SAB DB is not supported with the actual KODO release.
    If somebody has an experience in integration of SAP DB with KODO ?
    Thanks a lot in advance,
    Nikolai

    Kodo 2.5.4 Jbuilder 9 plugin is great, only compiles the files once per .JDO
    instead of 3 times in 2.5.3
    But still in Jbuilder 9, patch 2 you get a debug message window due to the
    Logging output.
    1/3ed my compile time though!
    Graham Cruickshanks
    "Greg Campbell" <[email protected]> wrote in message
    news:bmg4et$fl3$[email protected]..
    All,
    Kodo 2.5.4 is now available. It contains a number of bugfixes, including
    some changes related to data caching, XA transactions, scrolling result
    lists, incremental flushing and more. For more information, please seethe
    release notes at:
    http://www.solarmetric.com/Software/Documentation/latest/docs/relnotes.html
    >
    Additionally, there are some performance improvements.
    Enjoy,
    -Greg

  • Kodo 3.2.2 Now Available!

    All,
    Kodo 3.2.2 is now final and available. Feel free to download it at:
    http://www.solarmetric.com/jdo/Evaluate/
    There are a few new features in addition to bug fixes in this patch release:
    * Added ability to receive a callback when Kodo discovers an orphaned
    database key
    * JBuilder plugin can now control logging verbosity
    You can find the release notes at:
    http://www.solarmetric.com/Software/Documentation/3.2.2/docs/relnotes.html
    Enjoy!
    Steve Kim
    [email protected]
    SolarMetric Inc.
    http://www.solarmetric.com

    Problem is solved. I think I had a problem with my account.
    "Dominique Jean-Prost" <[email protected]> a __crit dans le
    message de news:c8uptk$ui$[email protected]..
    Hello,
    I'm trying to download evaluation copy of kodo 3.1.2, and I keep on having
    this error after license agreement :
    Fatal error: Cannot instantiate non-existent class: in
    /home/devel/www/solarmetric/secure/dbclasses.inc on line 280
    Can you fix the problem please ?
    Regards,
    Dom
    "Greg Campbell" <[email protected]> a __crit dans le message de
    news:c8tvat$374$[email protected]..
    All,
    Due to a small but critical problem in Kodo 3.1.1 we have now releasedKodo
    3.1.2.
    Get your copy while supplies last at:
    http://www.solarmetric.com/Software/Evaluate/ !
    This patch release has some interesting new features and a number of bug
    fixes as compared to 3.1.0. Please upgrade today! Highlights of 3.1.2
    include:
    - JDOQL Browser and Query Builder in Workbench
    - Support for data compression and filtering when using remote
    PersistenceManagers
    - Improvements to Development Workbench and integrated mapping tools
    (see
    screenshots)
    - XML Store Manager sample
    - Support for byte array primary key fields for legacy schemas that use
    binary columns for primary keys
    There are a number of additional notable changes and bugfixes. For more
    information, please see the release notes at:
    http://www.solarmetric.com/Software/Documentation/3.1.2/docs/relnotes.html
    >>
    Enjoy,
    -Greg
    Greg Campbell
    SolarMetric Inc.

  • Please remove Class-Path from kodo-jdo-runtime.jar manifest

    This is repost. Class-Path should not be in manifest of
    kodo-jdo-runtime.jar
    It causes problems with security manager when using signed jars under
    webstart. It can potentially cause all kind of other problems due to class
    path conflicts
    Seems to be a problem in manifest. It is due to Class-Path in manifest. I
    deleted manifest from kodo-jdo-runtime and signed it seems to be ok.
    I got more meaningful error now - serp.jar is missing
    I would suggest to remove Class-Path from this jar. I've seen some very
    weired behaviour of systems with Class-Path in different jars. I believe it
    should be only in your application jar
    Class-Path: serp.jar jca1.0.jar jca.jar crimson.jar xerces.jar jaxp.jar
    jdo1_0.jar jdo.jar jdbc2_0-stdext.jar jndi.jar jta-spec1_0_1.jar jta.jar
    I would also remove following:
    Main-Class: com.solarmetric.kodo.enhance.JDOEnhancer
    OpenTools-UI: com.solarmetric.modules.integration.jbuilder.KodoTools
    OpenTools-Build: com.solarmetric.modules.integration.jbuilder.KodoBuilder
    because it does not belong to kodo-jdo.runtime.jar
    "Alex Roytman" <[email protected]> wrote in message
    news:ahi05g$veq$[email protected]..
    I am having troubles running kodo 2.3 application under web start.
    I am getting following error:
    Missing signed entry in resource:
    http://ptilx1/usorg/webstart/lib/kodo-jdo-runtime.jar
    I signed kodo-jdo-runtime.jar as usual
    The same deployment worked fine with Kodo 2.2.5

    Alex-
    In article <ahk7vi$cmf$[email protected]>, Alex Roytman wrote:
    This is repost. Class-Path should not be in manifest of
    kodo-jdo-runtime.jar
    It causes problems with security manager when using signed jars under
    webstart. It can potentially cause all kind of other problems due to class
    path conflictsThanks for the feedback. We will remove the entries. In general, it is nice
    to have it in the Class-Path, since they you only need to
    kodo-jdo-runtime.jar in the CLASSPATH variable, but we were not aware of
    it causing any problems.
    Seems to be a problem in manifest. It is due to Class-Path in manifest. I
    deleted manifest from kodo-jdo-runtime and signed it seems to be ok.
    I got more meaningful error now - serp.jar is missing
    I would suggest to remove Class-Path from this jar. I've seen some very
    weired behaviour of systems with Class-Path in different jars. I believe it
    should be only in your application jar
    Class-Path: serp.jar jca1.0.jar jca.jar crimson.jar xerces.jar jaxp.jar
    jdo1_0.jar jdo.jar jdbc2_0-stdext.jar jndi.jar jta-spec1_0_1.jar jta.jar
    I would also remove following:
    Main-Class: com.solarmetric.kodo.enhance.JDOEnhancer
    OpenTools-UI: com.solarmetric.modules.integration.jbuilder.KodoTools
    OpenTools-Build: com.solarmetric.modules.integration.jbuilder.KodoBuilder
    because it does not belong to kodo-jdo.runtime.jarCorrect again: we will remove it in the upcoming release.
    "Alex Roytman" <[email protected]> wrote in message
    news:ahi05g$veq$[email protected]..
    I am having troubles running kodo 2.3 application under web start.
    I am getting following error:
    Missing signed entry in resource:
    http://ptilx1/usorg/webstart/lib/kodo-jdo-runtime.jar
    I signed kodo-jdo-runtime.jar as usual
    The same deployment worked fine with Kodo 2.2.5
    Marc Prud'hommeaux [email protected]
    SolarMetric Inc. http://www.solarmetric.com
    Kodo Java Data Objects Full featured JDO: eliminate the SQL from your code

  • JBuilder plugin malfunctions in 2.5.2

    The KodoJDO.library brings strange behavior in JBuilder 9.
    When I copied the jars in <kodo>/lib into <jbuilder>/lib/ext and
    KodoJDO.library into <jbuilder>/lib, strange things happened in JBuilder:
    right click on a file in the project tab has no effect at all, not like
    2.5.0 in which right click will bring a popup menu showing "create
    metadata..."

    Oh, I carelessly deleted the file "bes_ddeditor.config" in jbuilder's
    lib/ext directory. Now everything is ok!
    Sorry for bothering you...
    The KodoJDO.library brings strange behavior in JBuilder 9.
    When I copied the jars in <kodo>/lib into <jbuilder>/lib/ext and
    KodoJDO.library into <jbuilder>/lib, strange things happened in JBuilder:
    right click on a file in the project tab has no effect at all, not like
    2.5.0 in which right click will bring a popup menu showing "create
    metadata..."

Maybe you are looking for

  • Can't change iCloud to a different Apple ID on iphone

    My daughter's iPhone 4 have my Apple ID entered as the Apple ID for her iCloud account information.  We want to change this to her own Apple ID, but the ID is "grayed out" and cannot be changed.  I have turned off all iCloud services, rebooted the ph

  • How to run jmap and jhat in Java 1.4

    Hi All, I need a histogram to analyse the heap memory details for the weblogic managed servers in a production environment. I was planing to use the *jmap -histo PID* command to analyse it. But my java process is running on v1.4.2.10. I have heard jm

  • Faces Error

    Hello. I have an big Problem with Faces. After iPhoto scans my Library i selected 5 to 10 Pictures from one Person an gives them a name. After that i click on the Face botton on the left top on iPhoto. In the corkboard i see the first picture and the

  • Google Web Toolkit (GWT)

    I am trying to understand the benefits GWT. Seems like coding Java Script and DHTML by hand or using the JSP/JSF model (any update triggers page reload) is no longer considered good UI design. I see a lot of buzz around the new Google Toolkit Release

  • View constraints in 10g

    In 10g what is the use of primary key constraint on view . Data will come from base table. So constraints of base table will affect data.