yes, Thanks to both of you, the earlier version of the driver worked.
onto the next tutorial !
Thanks for the help
-cheryl
Gentry, Michael (Contractor) wrote:
>I think Andrus' suggest is a good place to start. I thought at first
>you might have gotten something strange in your DataNode XML file, but
>that doesn't appear to be the case. Your output logs the correct
>driver, too, but then runs off into the weeds, so it sounds like it is
>the driver itself.
>
>/dev/mrg
>
>
>-----Original Message-----
>From: Cheryl Norsworthy [mailto:cheryl_a_norsworth..aytheon.com]
>Sent: Friday, June 10, 2005 5:03 PM
>To: cayenne-use..bjectstyle.org
>Subject: Re: problems with cayenne-cmd-app tutorial
>
>
>sorry, I forgot the other files
>
>
>
>Gentry, Michael (Contractor) wrote:
>
>
>
>>Are you using Cayenne 1.1? Could you add your Cayenne .xml files, too
>>(stripping your DB password out, of course)?
>>
>>Thanks,
>>
>>/dev/mrg
>>
>>
>>-----Original Message-----
>>From: Cheryl Norsworthy [mailto:cheryl_a_norsworth..aytheon.com]
>>Sent: Friday, June 10, 2005 4:18 PM
>>To: cayenne-use..bjectstyle.org
>>Subject: problems with cayenne-cmd-app tutorial
>>
>>
>>I've had a bunch of problems but am at the point of running with
>>
>>java test.Main metro
>>
>>and I get the following
>>java test.Main metro
>>INFO QueryLogger: Created connection pool:
>>jdbc:mysql://localhost/test_cayenne
>> Driver class: com.mysql.jdbc.Driver
>> Min. connections in the pool: 1
>> Max. connections in the pool: 1
>>Exception in thread "main" java.lang.NoClassDefFoundError:
>>org/aspectj/lang/Signature
>> at java.lang.Class.forName0(Native Method)
>> at java.lang.Class.forName(Class.java:164)
>> at
>>org.objectstyle.cayenne.conn.DriverDataSource.<init>(DriverDataSource.j
>>
>>
>a
>
>
>>va:93)
>> at
>>org.objectstyle.cayenne.conn.PoolManager.<init>(PoolManager.java:147)
>> at
>>org.objectstyle.cayenne.conf.DriverDataSourceFactory.getDataSource(Driv
>>
>>
>e
>
>
>>rDataSourceFactory.java:128)
>> at
>>org.objectstyle.cayenne.conf.RuntimeLoadDelegate.shouldLoadDataNode(Run
>>
>>
>t
>
>
>>imeLoadDelegate.java:438)
>> at
>>org.objectstyle.cayenne.conf.ConfigLoader$NodeHandler.init(ConfigLoader
>>
>>
>.
>
>
>>java:377)
>> at
>>org.objectstyle.cayenne.conf.ConfigLoader$DomainHandler.startElement(Co
>>
>>
>n
>
>
>>figLoader.java:264)
>> at
>>com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startEleme
>>
>>
>n
>
>
>>t(AbstractSAXParser.java:533)
>> at
>>com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanSt
>>
>>
>a
>
>
>>rtElement(XMLNSDocumentScannerImpl.java:330)
>> at
>>com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$
>>
>>
>F
>
>
>>ragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1
>>
>>
>6
>
>
>>93)
>> at
>>com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.
>>
>>
>s
>
>
>>canDocument(XMLDocumentFragmentScannerImpl.java:368)
>> at
>>com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML
>>
>>
>1
>
>
>>1Configuration.java:834)
>> at
>>com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML
>>
>>
>1
>
>
>>1Configuration.java:764)
>> at
>>com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.ja
>>
>>
>v
>
>
>>a:148)
>> at
>>com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Abst
>>
>>
>r
>
>
>>actSAXParser.java:1242)
>> at
>>org.objectstyle.cayenne.conf.ConfigLoader.loadDomains(ConfigLoader.java
>>
>>
>:
>
>
>>114)
>> at
>>org.objectstyle.cayenne.conf.DefaultConfiguration.initialize(DefaultCon
>>
>>
>f
>
>
>>iguration.java:185)
>> at
>>org.objectstyle.cayenne.conf.Configuration.initializeSharedConfiguratio
>>
>>
>n
>
>
>>(Configuration.java:296)
>> at
>>org.objectstyle.cayenne.conf.Configuration.initializeSharedConfiguratio
>>
>>
>n
>
>
>>(Configuration.java:278)
>> at
>>org.objectstyle.cayenne.conf.Configuration.initializeSharedConfiguratio
>>
>>
>n
>
>
>>(Configuration.java:261)
>> at
>>org.objectstyle.cayenne.conf.Configuration.getSharedConfiguration(Confi
>>
>>
>g
>
>
>>uration.java:224)
>> at test.Main.createContext(Main.java:47)
>> at test.Main.<init>(Main.java:34)
>> at test.Main.main(Main.java:29)
>>
>>
>>I've tried all sorts of classpath changes, I am using
>>/mysql-connector-java-3.1.8 as the jdbc driver for mysql and can
>>successfully test from preferences tab
>>
>>any ideas ?
>>
>>-cheryl
>>
>>
>>
>>
>>
>>
>>
>
>
>
This archive was generated by hypermail 2.0.0 : Fri Jun 10 2005 - 17:13:00 EDT