G1.1 to G2.0-M6 migration: JDBC ClassCastException: DelegatingDriver

2007-07-15 Thread Xh
Hi All, I'm migrating my application from G1.1 to G2.0-M6 and have very strange error... I use for my Web application embedded Derby. I have successfully created pool, I use the same web-application.xml and web.xml files that were used in G1.1. the datasource fetched from JNDI is not NULL,

Re: Ear deploys as an EJB JAR?

2007-07-15 Thread Adam OGorman
Hello, I have tried deploying using the server plug in from eclipse, the Geronimo (WASCE2.0) web admin console and also from the command line using the following: java -jar deployer.jar --verbose --password manager --user system deploy c:\deploy\lunchinator.ear C:\deploy\dgreen-plan.xml my

Re: G1.1 to G2.0-M6 migration: JDBC ClassCastException: DelegatingDriver

2007-07-15 Thread Xh
Hi, - Original Message I think you need to change the dependency from the derby jar to system-database dependency groupIdorg.apache.geronimo.configs/groupId artifactIdsystem-database/artifactId typecar/type /dependency I have no

Re: G1.1 to G2.0-M6 migration: JDBC ClassCastException: DelegatingDriver

2007-07-15 Thread YunFeng Ma
There are two ways to connect to Derby in Geronimo. The first way: Embedded Your deployment plan uses this way because of the following config config-property-setting name=Password/ config-property-setting name=LoginTimeout/