JBuilder SchemaTool Integration
Hi,
I'm having problems getting the SchemaTool integration with JBuilder to
work with a database driver other than the InstantDB or Hypersonic
drivers. I'm attempting to use the Oracle thin client JDBC drivers.
I added entries for classes12.zip and nls_charset12.zip into the
KodoJDO.library file in the JBuilder7\lib directory, but this doesn't seem
to have any affect. When attempting to retrieve a list of classes in the
schema of the database, I get an exception that the driver wasn't found as
in the below. I'm able to get it to work from the command line...
Thanks,
Jeff
Executing list
javax.jdo.JDOFatalDataStoreException: An error occurred while connecting
to the data store for user "isoserve" at URL
"jdbc:oracle:thin:@arjuna:1521:arjuna".
NestedThrowables:
java.sql.SQLException: No suitable driver
Hi Marc,
Looks like JBuilder will only load .jar files and not .zip files. I was
using classes12.zip and nls_charset12.zip so I changed their extensions to
jar and it works now...
Thanks,
Jeff
Marc Prudhommeaux wrote:
Jeff-
Try putting the driver jars in JBuilder7\\lib\\ext\\ instead. I\'ve had no
problems connecting to other databases.
If that doesn\'t work, can you check to see if code that you write is
able to access the driver classes itself? You might also try to add the
jars to the project\'s required libraries preference.
If all else fails, try to add the driver jar files to JBuilder\'s
CLASSPATH in the startup batch file, but that really shouldn\'t be
necessary.
In article <akodj1$5s5$[email protected]>, Jeff Carnegie wrote:
Hi,
I\'m having problems getting the SchemaTool integration with JBuilder to
work with a database driver other than the InstantDB or Hypersonic
drivers. I\'m attempting to use the Oracle thin client JDBC drivers.
I added entries for classes12.zip and nls_charset12.zip into the
KodoJDO.library file in the JBuilder7\\lib directory, but this doesn\'t
seem
to have any affect. When attempting to retrieve a list of classes in the
schema of the database, I get an exception that the driver wasn\'t found as
in the below. I\'m able to get it to work from the command line...
Thanks,
Jeff
Executing list
javax.jdo.JDOFatalDataStoreException: An error occurred while connecting
to the data store for user \"isoserve\" at URL
\"jdbc:oracle:thin:@arjuna:1521:arjuna\".
NestedThrowables:
java.sql.SQLException: No suitable driver
Marc Prud\'hommeaux [email protected]
SolarMetric Inc. http://www.solarmetric.com
Kodo Java Data Objects Full featured JDO: eliminate the SQL from your code
Similar Messages
-
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 AMStephen 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 6 enterprise and weblogic server 6.1 integration problem
hello,
i am using jbuilder 6 enterprise and weblogic server 6.1. i just got a new
workstation and imported my old project from cvs into jbuilder and
everything is fine up to this point.
the application in question is using servlet filters, so i absolutely need
web application version 2.3. it seems, though, that my jbuilder believes for
some reason that only tomcat 4 and borland enterprise server are capable of
using servlet filters. i cannot remember how i fixed this last time around,
but i did somehow. i had a recollection that the jb6_all_001 patch did the
trick, but obviously it didn't this time, at least. what is really annoying
is that the wizard does not allow me to create servlet filters and the
webapp dd editor does not allow me to configure filters, either. of course,
i can edit web.xml manually, but starting the server changes the dtd back to
2.2 and removes everything that is 2.3 specific.
please help me fix this?at the moment it is possible for me to work, though. i worked around the
problem and i set web.xml as a read only file. i still can't use wizards to
create servlets and i can't edit web.xml with jbuilder. -
Sony Ericsson SDK integration in Jbuilder
Hello, how could I use SE SDK in Jbuilder? (since now i used Java Wireless Toolkit)
Did you set up the JDeveloper Wireless Extension?
Maybe some of the documents here will help:
http://www.oracle.com/technology/tech/wireless/tools/index.html
You might want to post this also on the wireless forum:
http://forums.oracle.com/forums/forum.jsp?forum=49 -
Integrating weblogic & jbuilder 3.5
I am trying to debug a servlet through jbuilder under weblogic however i cannot get weblogic to start properly. I get a bunch of the following stack traces. Thanks in advance for any help.
Fri Sep 01 14:53:49 MDT 2000:<E> <Service>
java.lang.reflect.InvocationTargetException: java.security.AccessControlException: access denied (java.lang.RuntimePermission setContextClassLoader )
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:195)
at java.security.AccessController.checkPermission(AccessController.java:403)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.Thread.setContextClassLoader(Thread.java:1130)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.jndi.internal.Utils.setContextClassLoader(Utils.java:73)
at weblogic.jndi.WLInitialContextFactoryDelegate.newLocalContext(WLInitialContextFactoryDelegate.java:279)
at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:240)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:205)
at weblogic.jndi.Environment.getContext(Environment.java:122)
at weblogic.jndi.Environment.getInitialContext(Environment.java:105)
at weblogic.jms.server.JMSManager.getContext(JMSManager.java:888)
at weblogic.jms.server.JMSManager.getContext(JMSManager.java:872)
at weblogic.jms.server.JMSManager.doInitFromProperties(JMSManager.java:485)
at weblogic.jms.server.JMSManager.initFromProperties(JMSManager.java:474)
at weblogic.jms.server.JMSManager.init(JMSManager.java:301)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:1253)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)
jasonI lately evaluated JBuilder 5 for a client, and found it quite good and fast, BUT then again the machines that we where working on were quite good as well.
I have found JBuilder as resource hungry earlier, and I remember a few things that we used (besides restarting it.... ;O)) ) to do to aviod the snail like effect to seep in.
In your Project Properties [Project -> Project Properties]
1. In Libraries tab dont use the "JBuilder Runtime Enviorment" instead install jdk from sun and use that one.
2. In Run/Debug tab you can specefy it to use java.exe and javac.exe from another location besides the one in JBuilder, use the one you install your self from sun
3. In Run/Debug tab you can specefy in Java JVM Parameters -mx50m to say that the JVM should start with specefied maximum memory allocation
In your IDE Options [Tools -> IDE Options]
DISABLE Auto Completion and Auto Correction, it really slows things down by popping everytime.
You can get Auto Correct in code anytime by pressing [Ctrl + Space] and the parameter list by [Ctrl + Shift + Space]
To end it all I'd say change your IDE!!! ;O)))
Hope this helps
Caio
Omer -
Jbuilder 6.0 Enterprise Integration
Hi
Does anybody know of a plug-in to Jbuilder 6.0, that make deployment to OC4J release 2 easy!
Regards
MortenHi Morten,
I must be missing something here! I'm sure you are aware of Borland's
"Code Central", aren't you? Well they have the plug-in (Borland uses
the term "opentool") that (I think) you're looking for. Just point
your Web browser at:
http://radweb.borland.com/codecentral/ccweb.exe/listing?id=17136
Hope this helps you.
Good Luck,
Avi. -
JBuilder Integration - Drop Mapping
JBuilderX, Kodo 3.0.3
I created a simple project with one class called Entity with a couple fields
and chose Create JDO Metadata and an Entity.jdo was created. I did Create
Mapping on the .jdo and chose None for the schema action and an
Entity.mapping was created (so far, so good). I then chose Drop Mapping
Info, again with None for the schema action. The Entity.mapping file is now
empty and a warning appears in the JBuilder messages pane (all messages
pasted below). What is the log it is referring to (some log other than these
messages?). Why could it not remove the file, does JBuilder have it open? I
now have to delete the file manually before I can do Create Mapping again,
otherwise I just get a org.xml.sax.SAXParseException: Premature end of file.
Writing to file "D:\Projects\TestKodo\src\testkodo\Entity.jdo".
Using dictionary class "kodo.jdbc.sql.DB2Dictionary" (DB2/NT SQL08013 ,IBM
DB2 JDBC Universal Driver Architecture 1.3.70).
Parsing metadata resource
"file:/D:/Projects/TestKodo/src/testkodo/Entity.jdo".
Creating a default mapping for type "class testkodo.Entity".
Writing to file "D:\Projects\TestKodo\src\testkodo\Entity.mapping".
Parsing metadata resource
"file:/D:/Projects/TestKodo/src/testkodo/Entity.jdo".
Using dictionary class "kodo.jdbc.sql.DB2Dictionary" (DB2/NT SQL08013 ,IBM
DB2 JDBC Universal Driver Architecture 1.3.70).
Parsing metadata resource
"file:/D:/Projects/TestKodo/src/testkodo/Entity.jdo".
Parsing metadata resource
"file:/D:/Projects/TestKodo/src/testkodo/Entity.mapping".
Could not delete unused mapping file
"D:\Projects\TestKodo\src\testkodo\Entity.mapping".
Some of the following mappings may not have been dropped: [testkodo.Entity].
Undropped mappings will not affect the system. See the log for possible
reasons for the failure.I see the same behaviour in Eclipse 3M7.
"Gerald Turnquist" <[email protected]> wrote in message
news:c3kk6t$4hb$[email protected]..
JBuilderX, Kodo 3.0.3
I created a simple project with one class called Entity with a couplefields
and chose Create JDO Metadata and an Entity.jdo was created. I did Create
Mapping on the .jdo and chose None for the schema action and an
Entity.mapping was created (so far, so good). I then chose Drop Mapping
Info, again with None for the schema action. The Entity.mapping file isnow
empty and a warning appears in the JBuilder messages pane (all messages
pasted below). What is the log it is referring to (some log other thanthese
messages?). Why could it not remove the file, does JBuilder have it open?I
now have to delete the file manually before I can do Create Mapping again,
otherwise I just get a org.xml.sax.SAXParseException: Premature end offile.
>
>
Writing to file "D:\Projects\TestKodo\src\testkodo\Entity.jdo".
Using dictionary class "kodo.jdbc.sql.DB2Dictionary" (DB2/NT SQL08013 ,IBM
DB2 JDBC Universal Driver Architecture 1.3.70).
Parsing metadata resource
"file:/D:/Projects/TestKodo/src/testkodo/Entity.jdo".
Creating a default mapping for type "class testkodo.Entity".
Writing to file "D:\Projects\TestKodo\src\testkodo\Entity.mapping".
Parsing metadata resource
"file:/D:/Projects/TestKodo/src/testkodo/Entity.jdo".
Using dictionary class "kodo.jdbc.sql.DB2Dictionary" (DB2/NT SQL08013 ,IBM
DB2 JDBC Universal Driver Architecture 1.3.70).
Parsing metadata resource
"file:/D:/Projects/TestKodo/src/testkodo/Entity.jdo".
Parsing metadata resource
"file:/D:/Projects/TestKodo/src/testkodo/Entity.mapping".
Could not delete unused mapping file
"D:\Projects\TestKodo\src\testkodo\Entity.mapping".
Some of the following mappings may not have been dropped:[testkodo.Entity].
Undropped mappings will not affect the system. See the log for possible
reasons for the failure. -
Integration beetwen Version 8 PE and JBuilder
Hello.
Do you know any plugin for making the JBuilder IDE and the Sun Java System Applica Server 8 PE cooperate? I have downloaded a plugni for Sun ONE 7, but it doesn't seem to work.
Thank you,
Cristi.I believe it is not yet available. One of the reasons is that Sun Java System App Server 8 is J2EE 1.4 based and most tools are not there yet.
So far, NetBeans IDE (http://www.netbeans.org) and Java Studio Creator (http://www.sun.com/jscreator) are the 2 IDE I know that integrate with AS 8.
-Alexis -
WebLogic 6.1 and JBuilder 5.0 integration failure
I download Weblogic6.1 from www.bea.com.
Running program and enter the password,output the following information .
C:\bea\jdk131\bin\javaw -classpath "C:\javaprogram\Administrator\jbproject\dirfile\classes;C:\bea\wlserver6.1\lib\weblogic_sp.jar;C:\bea\wlserver6.1\lib\weblogic.jar;C:\Borland\AppServer\lib\asrt.jar;C:\Borland\AppServer\lib\vbdev.jar;C:\Borland\AppServer\lib\vbjdev.jar;C:\Borland\AppServer\lib\vbjorb.jar;C:\Borland\AppServer\lib\vbsec.jar;C:\Borland\AppServer\lib\migration.jar;C:\bea\jdk131\jre\lib\i18n.jar;C:\bea\jdk131\jre\lib\jaws.jar;C:\bea\jdk131\jre\lib\rt.jar;C:\bea\jdk131\jre\lib\sunrsasign.jar;C:\bea\jdk131\lib\dt.jar;C:\bea\jdk131\lib\htmlconverter.jar;C:\bea\jdk131\lib\tools.jar"
weblogic.Server
<2002-1-8 下午05时17分14秒> <Info> <Security> <Getting
boot password from user.>
Enter password to boot WebLogic server:croot123(ENTER password)
$$$$$$$$$$$$$$$$ License Exception $$$$$$$$$$$$$$$$
Unable to start WebLogic Server !!
Missing license file for: WebLogic Server 6.1
$$$$$$$$$$$$$$$$ License Exception $$$$$$$$$$$$$$$$
But while I enter the same password, WebLogic6.1 will run .(in win2000 environment
In the installation directory I can't find weblogic_sp.jar .
JAVA's VM parameters:
-hotspot -ms64m -mx64m -classpath ".;c:\bea\wlserver6.1\lib\weblogic_sp.jar;c:\bea\wlserver6.1\lib\weblogic.jar"
-Dweblogic.Domain=mydomain
-Dweblogic.Name=myserver -Dbea.home=c:\bea
-Dweblogic.management.password=
-Dweblogic.ProductionModeEnabled=true
-Djava.security.policy==c:\bea\wlserver6.1/lib/weblogic.policy
Help me! Thanks a lot.I figured out what was happening, but I'm still not sure why.
It turned out CF was trying to read the databases in
/usr/local/mysql5/data, when I had them installed in
/var/lib/mysql. I find this weird, because other clients I used
(mysql command line, Query Browser and Adminsitrator), had no
problems connecting to the same exact databases. I created symbolic
links to each of the databases from /usr/local/mysql5/data to
/var/lib/mysql and it started working. I have a theory right now
that it has to do with the /tmp/mysql.sock file, because i change
it to use /tmp/mysql5.sock and i think CF is trying to use the
former, but i don't care testing this at the moment.
Anyway, this was 2 days ago. Today I started running into
long running query problems that were timing out my scripts. This
actually happened yesterday too, but they went away after I shut
off query cache and innodb. I couldn't figure out what was wrong
today, so I decided to revert back to an older driver
mysql-connector-java-3.0.17-ga-bin.jar and now everything seems to
be running ok again.
I'm going to try using the 3.1 drivers when there is less
traffic on the servers tonight, and hopefully they will be fine.
Then i'll try turning the other stuff back on i turned off in
mysql.
I wish I had some more luck with the 5.0.4 drivers. I'll try
to followup later on with my findings. -
Deployment and debugging from JBuilder
Hi,
i build a JATO application that deployed as a war file and run
perfectly on an external Tomcat.
But running this app on the integrated Tomcat of the JBuilder tool
results in the following error :
Application Error - javax.servlet.ServletException: Invalid reqest -
request handler "Login" not found
On that way, debugging the application is not possible.
Any idea what's wrong ?
I've heard there is a deployment tool document ? Where is it ?
thanks for your helpHi--
None of our team has experience running JATO apps in JBuilder. The main
thing to check when running in an IDE is that the web.xml is properly
registered. Because you've received a JATO error, I assume it is in your
case. Therefore, it must be something else.
The error you sent means that the lookup for the LoginViewBean class failed.
This is probably a silly question, but are all of your classes compiled and
under the /WEB-INF/classes directory? Any other reason your application
classes might not be found?
Todd
Todd Fast
Senior Engineer
Sun Microsystems, Inc.
todd.fast@s...
----- Original Message -----
From: <donnetmonay@y...>
Sent: Tuesday, November 20, 2001 1:26 AM
Subject: [iPlanet-JATO] deployment and debugging from JBuilder
Hi,
i build a JATO application that deployed as a war file and run
perfectly on an external Tomcat.
But running this app on the integrated Tomcat of the JBuilder tool
results in the following error :
Application Error - javax.servlet.ServletException: Invalid reqest -
request handler "Login" not found
On that way, debugging the application is not possible.
Any idea what's wrong ?
I've heard there is a deployment tool document ? Where is it ?
thanks for your help
For more information about JATO, please visit:
http://developer.iplanet.com/tech/appserver/framework/index.jsp -
Differences between jdeveloper&jbuilder
Hello everybody!!!!
I'm trying to understand the difference between jdeveloper&jbuilder but.....no result!!!
I would develop a project wich should connecting on Oracle database and making statistics with data (it have been stored from file with SQLLOAD), and also it should read an UDP messages(port514) and store them to database ,so I can't decide wich programming langage to use...and wich are the better???
Thank you.thank you for your reply!!!!
so I have installed an Oracle 8i on my PC(OS=XP Pro) ,and I think that is not possible to use jdeveloper (is it necessary to uninstall it and install Oracle9i?what I should do?)and I haven't a big knowledge about jdeveloper (making interfaces"Forms",writing SQL command,connecting to database,it's like developer2000 ?,and also the BIBeans should I install it or it's integrated with Oracle9i?(if you have an example with this tool please send it to me on my e-mail([email protected])and thank you very much
:-))) -
Maintaining referential integrity using MS SQL server
Some time ago I posted a question relating to the following extension:
<extension vendor-name="kodo" key="jdbc-delete-action" value="null"/>
Kodo generates a "on delete set null" constraint for this, however ms sql
server does not support this. Since I don't want to matain this referential
integrity in my java code (meaning as soon as an object is deleted, setting
all references to it to null), I tried to implement a custom dictionary with
the default ms sql server solution for this problem: creating a trigger by
overriding the "getAddForeignKeySQL" method. This works fine when creating a
database from scratch using the schema tool, however, when updating an
existing databasebase schema, this is ignored, thereby not solving the
problem of having the database maintenance automated. I suppose I have to
write code for checking whether the trigger already exists. Browsing through
the code, I couldn't figure out how this is done. Can someone give me
suggestions on how to do this (and if this takes a lot of effort).
I also would like to know whether solarmetric has intentions to deal with
this problem in their framework. To be honest, I was quite surprised that
Kodo doesnt take care of this, leaving my database in an inconsistent state.
kind regards,
Christiaan"Abe White" <[email protected]> schreef in bericht
news:caaunu$ecj$[email protected]..
>
I also would like to know whether solarmetric has intentions to dealwith
this problem in their framework. To be honest, I was quite surprisedthat
Kodo doesnt take care of this, leaving my database in an inconsistentstate.
>
Well, I would say that you're the one leaving the database in an
inconsistent state by not keeping your object model consistent :)From the manual:
6.2.2.12. jdbc-delete-action
If a field holds a relation to another object, you can use the
jdbc-delete-action field extension to control the delete action of the
database foreign key that models this relation. Possible values are:
null: Null the column(s) of this foreign key when the related record is
deleted.
It does mean that if the primary key record is deleted, all foreign keys to
the record are set to null, right? Since the jdo framework is about database
independence, not writing sql code (and of course lots more;) and Kodo
supports ms sql server, I would have expected that kodo to set the foreign
key to null if the object is deleted. Even if I do know sql server supports
does not support a 'on delete set null' sql statement;)
>
We have no plans to create triggers at this time.
What do you mean when you say "it is ignored" when you're updating?
Exactly what tool are you running, what actions are you running with, is
the foreign key extension present, and what is the outcome?Like I said, I wrote code in the "getAddForeignKeySQL" in the dictionary, so
a trigger is created when creating the database in the workbench (by running
the schematool). However, if the table already exists, but not the trigger,
refreshing the database from the workbench does not call the
getAddForeignKeySql to add the trigger to the table. -
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)-- -
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 MorrisIt 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 -
Can BI Beans be used on JBuilder 4?
Can BI Beans be used from the JBuilder 4 IDE together with the Oracle 9i database? Are there any special requirements to get that set up?
thanks.BI Beans are standard Java Beans, and can be used with other Java IDEs than JDeveloper. However, you will not have the advantage of the JDeveloper integration, UI customizers, live access to OLAP data, wizards etc.
Maybe you are looking for
-
Drill through to another report with bins in OBIEE 11g
Hi Everyone, We have a specific scenario that is as follows: Bar chart with 3 bars: '0-30', '31-60' and 'other' these bars repsent the number of people who are in that age bucket. This was accomplished by taking the peron's Age (a dimension with an a
-
Ipod will sync on windows vista but not xp
Hi, my ipod classic will sync to a pc running windows vista but wont sync to a pc running windows xp, has anyone got any ideas as to why this would be or how it can be overcome please.
-
IPod not recognised and nothing is working.
After six months of working beautifully, my 5th gen iPod is not being recognised by iTunes or Windows. The "do not disconnect" icon doesn't even show up. I've tried all the solutions in the other thread on the topic, but they don't work; I can't rest
-
my ipod classic has never made a good sync. it does only sync a few songs at a time, no matter if it is manually or not. i have to push the sync button many, many, many times before it is done. it only sync mmmm, like 100 MB at once. and now, it isn'
-
Abnormal difference in PO price & GR price-urgent
Hi, I am facing a strange situation where there is a huge difference between the PO price for a particular item & the GR value. There has been no Invoice done for this material. Initially stock was uploaded through mov type 561 with proper value. Tha