geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lin Sun" <linsun....@gmail.com>
Subject Re: Problems Connecting to Pervasive SQL Database
Date Wed, 23 Jul 2008 15:45:09 GMT
Hi,

I don't remember seeing anyone configure G w/ pervasive SQL database
server but we'll try to help you.

The error looks like the connector failed to load the jdbc drivers.
Here are some things I can think of -

- After you upload these files via admin console, what does these file
look like in the repository?  They should be located somewhere under
geronimo_home/repository/com/pervasive/jdbc/
I don't know if the admin console would convert these jars to a maven2
recognizable format (such as name-version.jar, for example
sqljdbc-1.1.jar).
If the admin console doesn't you'll want to convert these jars to a
maven2 recognizable format yourself before upload these files via
admin console.

- When you create a db pool via admin console, make sure you pick the
jars you installed onto the repository as dependencies.

- If you still fail to deploy the pool, can you use the show plan
button before deploying the pool to show us the plan?

Thanks,

Lin


On Wed, Jul 23, 2008 at 4:06 AM,  <tpoth@gmfoto.de> wrote:
>
> Hi All,
>
> i'm currently in evaluating the geronimo Version 2.1.1 on Mac OS X with Mac
> OS X 10.5.4 installed.
> Java version is 1.5.0_13
>
> I had to use a Pervasive SQL Database Server (v9.5 SP2), but at deployment
> time it fails.
>
> The Problem as follows:
> I've added the three jar archives jpscs.jar, pvjdbcv2.jar and pvjdbcv2x.jar
> to the repository.
>
> Therefore i uploaded the three files seperate via Server Console -
> Service/Repository
> as group i give the package name com.pervasive.jdbc.v2
> as artifact i give the Name of the jar (without .jar)
> as version i took 1 (don't realy know the right Version of the jar's)
> as type i inserted jar
>
> Now i created a new database pool with the wizzard under Services/Database
> Pools
> Her i give the credentials for jdbc connection to our server
>
> The connection test is ok
> Test Result: Connected toPervasive.SQL 09.52.0043 000
>
> If i know click the Deploy button the error occurs:
> Error Deploying: Unable to deploy: jdbc/rational - see the log for details
>
> In the console i see this ouput:
> 09:59:28,643 WARN  [geronimo-commands:start-server] Deployer operation
> failed: Can not load activation spec class
> 09:59:28,710 WARN  [geronimo-commands:start-server]
> org.apache.geronimo.common.DeploymentException: Can not load activation spec
> class
> 09:59:28,710 WARN  [geronimo-commands:start-server]         at
> org.apache.geronimo.connector.deployment.ConnectorModuleBuilder.setUpDynamicGBean(ConnectorModuleBuilder.java:625)
> 09:59:28,711 WARN  [geronimo-commands:start-server]         at
> org.apache.geronimo.connector.deployment.ConnectorModuleBuilder.setUpDynamicGBeanWithProperties(ConnectorModuleBuilder.java:692)
> 09:59:28,711 WARN  [geronimo-commands:start-server]         at
> org.apache.geronimo.connector.deployment.ConnectorModuleBuilder.getManagedConnectionFactoryInfoMap(ConnectorModuleBuilder.java:660)
> 09:59:28,711 WARN  [geronimo-commands:start-server]         at
> org.apache.geronimo.connector.deployment.ConnectorModuleBuilder.initContext(ConnectorModuleBuilder.java:462)
> 09:59:28,711 WARN  [geronimo-commands:start-server]         at
> org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:595)
> 09:59:28,727 WARN  [geronimo-commands:start-server]         at
> org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:254)
> 09:59:28,728 WARN  [geronimo-commands:start-server]         at
> org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:133)
> 09:59:28,728 WARN  [geronimo-commands:start-server]         at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 09:59:28,728 WARN  [geronimo-commands:start-server]         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 09:59:28,728 WARN  [geronimo-commands:start-server]         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 09:59:28,728 WARN  [geronimo-commands:start-server]         at
> java.lang.reflect.Method.invoke(Method.java:585)
> 09:59:28,728 WARN  [geronimo-commands:start-server]         at
> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
> 09:59:28,728 WARN  [geronimo-commands:start-server]         at
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
> 09:59:28,759 WARN  [geronimo-commands:start-server]         at
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867)
> 09:59:28,759 WARN  [geronimo-commands:start-server]         at
> org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
> 09:59:28,759 WARN  [geronimo-commands:start-server]         at
> org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
> 09:59:28,759 WARN  [geronimo-commands:start-server]         at
> org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
> 09:59:28,759 WARN  [geronimo-commands:start-server]         at
> java.lang.Thread.run(Thread.java:613)
> 09:59:28,759 WARN  [geronimo-commands:start-server] Caused by:
> java.lang.ClassNotFoundException: org.tranql.connector.jdbc.JDBCDriverMCF in
> classloader console.dbpool/jdbc%2Frational/1.0/rar
> 09:59:28,759 WARN  [geronimo-commands:start-server]         at
> org.apache.geronimo.kernel.config.MultiParentClassLoader.loadOptimizedClass(MultiParentClassLoader.java:428)
> 09:59:28,779 WARN  [geronimo-commands:start-server]         at
> org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:278)
> 09:59:28,779 WARN  [geronimo-commands:start-server]         at
> java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> 09:59:28,779 WARN  [geronimo-commands:start-server]         at
> org.apache.geronimo.connector.deployment.ConnectorModuleBuilder.setUpDynamicGBean(ConnectorModuleBuilder.java:622)
> 09:59:29,383 WARN  [geronimo-commands:start-server]         ... 17 more
>
>
> Has anybody an idea, what's going wrong?
> Thanks in advance...
>
> Best regards
>
> GM-Foto GmbH
> Thomas Poth
>
> IT-Manager
> Tel.: 0049-69-238570-0
> Fax: 0049-69-238570-30
> Mail: poth@gmfoto.de
> Web: www.gmfoto.de
>
>
> --------------------------------------------------------------------------------------------------------------
> GM-Foto GmbH, Taunusstraße 47, D-60329 Frankfurt am Main
> Telefon: +49 69 238570-0, Telefax: +49 69 238570-30
> Eingetragen beim Amtsgericht Frankfurt am Main: HRB 19494
> Geschäftsführer: Walter Adler und Harald Remsperger
>
> Öffnungszeiten: Montag - Freitag, 9:00 - 18:30 Uhr
>
> Internet: http://www.gmfoto.de , E-Mail: gmfoto@gmfoto.de
> --------------------------------------------------------------------------------------------------------------

Mime
View raw message