Subject Re: [Firebird-Java] Re: firebird jca jdbc driver on weblogic 6.x
Author David Jencks
What happens if you take
> <config-property>
> <config-property-name>BlobBufferLength</config-property-name>
> <config-property-type>int</config-property-type>
> <config-property-value></config-property-value>
> </config-property>


out of ra.xml?

I think perhaps I need to convert this to an Integer property.
If this is not it, you may need to ask Weblogic what their npe means, it is
not terribly informative.

thanks
david jencks

On 2002.09.05 01:05:36 -0400 sachinwalia wrote:
> following is the server log and deployment descriptor on deployment of
> jca-jdbc driver as resource adapter rar file on weblogic 6.1 sp2 on
> win2k and jdk 1.3.1
>
> ####<Sep 4, 2002 12:29:42 PM IST> <Error> <Management> <sachin>
> <sachin> <Application Manager Thread> <> <> <140002>
> <InvocationTargetException setting attribute Deployed on MBean
> solutions:Location=sachin,Name=firebird.rar,Type=ApplicationConfig to
> value true. Method: public void
> weblogic.management.mbeans.custom.Application.setDeployed(boolean)
> throws
> weblogic.management.DeploymentException,weblogic.management.UndeploymentException>
>
> java.lang.NullPointerException
> at
> weblogic.connector.common.internal.ConnectionPool.<init>(ConnectionPool.java:457)
> at
> weblogic.connector.common.internal.ConnectionPoolManager.addManagedConnectionFactory(ConnectionPoolManager.java:54)
> at
> weblogic.j2ee.ResourceAdapterComponent.deploy(ResourceAdapterComponent.java:189)
> at weblogic.j2ee.Application.deploy(Application.java:231)
> at weblogic.j2ee.J2EEService.deployApplication(J2EEService.java:185)
> at
> weblogic.management.mbeans.custom.Application.setLocalDeployed(Application.java:359)
> at
> weblogic.management.mbeans.custom.Application.setDeployed(Application.java:293)
> at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at
> weblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBeanImpl.java:1334)
> at
> weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:844)
> at
> weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:810)
> at
> weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:288)
> at
> com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
> at
> com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
> at
> weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:385)
> at
> weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:291)
> at
> com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
> at
> com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
> at
> weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:303)
> at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:185)
> at $Proxy7.setDeployed(Unknown Source)
> at
> weblogic.management.mbeans.custom.ApplicationManager.autoDeploy(ApplicationManager.java:846)
> at
> weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:811)
> at
> weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:705)
> at
> weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:200)
> at
> weblogic.management.mbeans.custom.ApplicationManager$ApplicationPoller.run(ApplicationManager.java:1020)
> --------------- nested within: ------------------
> weblogic.management.DeploymentException: - with nested exception:
> [java.lang.NullPointerException]
> at
> weblogic.j2ee.ResourceAdapterComponent.deploy(ResourceAdapterComponent.java:195)
> at weblogic.j2ee.Application.deploy(Application.java:231)
> at weblogic.j2ee.J2EEService.deployApplication(J2EEService.java:185)
> at
> weblogic.management.mbeans.custom.Application.setLocalDeployed(Application.java:359)
> at
> weblogic.management.mbeans.custom.Application.setDeployed(Application.java:293)
> at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at
> weblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBeanImpl.java:1334)
> at
> weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:844)
> at
> weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:810)
> at
> weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:288)
> at
> com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
> at
> com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
> at
> weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:385)
> at
> weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:291)
> at
> com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
> at
> com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
> at
> weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:303)
> at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:185)
> at $Proxy7.setDeployed(Unknown Source)
> at
> weblogic.management.mbeans.custom.ApplicationManager.autoDeploy(ApplicationManager.java:846)
> at
> weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:811)
> at
> weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:705)
> at
> weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:200)
> at
> weblogic.management.mbeans.custom.ApplicationManager$ApplicationPoller.run(ApplicationManager.java:1020)
> ####<Sep 4, 2002 12:29:44 PM IST> <Warning> <J2EE> <sachin> <sachin>
> <ExecuteThread: '11' for queue: 'default'> <system> <> <160007> <You
> are running WebLogic Server in J2EE 1.3 mode. The implementation of
> specific J2EE 1.3 features (EJB 2.0, JSP 1.2, Servlet 2.3, and J2EE
> Connector Architecture 1.0) in BEA WebLogic Server 6.1 is of a
> non-final version of the appropriate specification. It is subject to
> change in future releases once the specification becomes finalized.
> This may cause application code developed for BEA WebLogic Server 6.1
> that uses the new features of J2EE 1.3 to be incompatible with the
> J2EE 1.3 platform supported in future releases of BEA WebLogic Server.
> You may prevent this message from displaying in the future by
> de-selecting "J2EE 1.3 Notification" in the Administration Console.>
>
> -----------------Deployment Descriptor--------------
>
> ra.xml
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE connector PUBLIC '-//Sun Microsystems, Inc.//DTD Connector
> 1.0//EN' 'http://java.sun.com/dtd/connector_1_0.dtd'>
> <connector>
> <display-name>Firebird Database Connector</display-name>
> <vendor-name>David Jencks</vendor-name>
> <spec-version>1.0</spec-version>
> <eis-type>FireBird RDBMS</eis-type>
> <version>1.0</version>
> <license>
> <license-required>false</license-required>
> </license>
> <resourceadapter>
>
> <managedconnectionfactory-class>org.firebirdsql.jca.FBManagedConnectionFactory</managedconnectionfactory-class>
>
> <connectionfactory-interface>javax.sql.DataSource</connectionfactory-interface>
>
> <connectionfactory-impl-class>org.firebirdsql.jdbc.FBDataSource</connectionfactory-impl-class>
> <connection-interface>java.sql.Connection</connection-interface>
>
> <connection-impl-class>org.firebirdsql.jdbc.FBConnection</connection-impl-class>
> <transaction-support>XATransaction</transaction-support>
> <config-property>
> <config-property-name>Password</config-property-name>
> <config-property-type>java.lang.String</config-property-type>
> <config-property-value>sachin</config-property-value>
> </config-property>
> <config-property>
> <config-property-name>BlobBufferLength</config-property-name>
> <config-property-type>int</config-property-type>
> <config-property-value></config-property-value>
> </config-property>
> <config-property>
> <config-property-name>Database</config-property-name>
> <config-property-type>java.lang.String</config-property-type>
>
> <config-property-value>jdbc:firebirdsql:sachin/3050:/firebird/soapDB.gdb</config-property-value>
> </config-property>
> <config-property>
> <config-property-name>UserName</config-property-name>
> <config-property-type>java.lang.String</config-property-type>
> <config-property-value>sachin</config-property-value>
> </config-property>
> <authentication-mechanism>
>
> <authentication-mechanism-type>BasicPassword</authentication-mechanism-type>
>
> <credential-interface>javax.resource.security.PasswordCredential</credential-interface>
> </authentication-mechanism>
> <reauthentication-support>false</reauthentication-support>
> </resourceadapter>
> </connector>
>
> ----weblogic-ra.xml---
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE weblogic-connection-factory-dd PUBLIC '-//BEA Systems,
> Inc.//DTD WebLogic 6.0.0 Connector//EN'
> 'http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd'>
> <weblogic-connection-factory-dd>
> <connection-factory-name>firebirdCF</connection-factory-name>
> <jndi-name>eis/firebirdCF</jndi-name>
> <pool-params>
> <initial-capacity>0</initial-capacity>
> <max-capacity>1</max-capacity>
> <capacity-increment>1</capacity-increment>
> <shrinking-enabled>false</shrinking-enabled>
> <shrink-period-minutes>200</shrink-period-minutes>
> </pool-params>
> <map-config-property>
> <map-config-property-name>Database</map-config-property-name>
>
> <map-config-property-value>jdbc:firebirdsql:sachin/3050:/firebird/soapDB.gdb</map-config-property-value>
> </map-config-property>
> <security-principal-map>
> </security-principal-map>
> </weblogic-connection-factory-dd>
>
>
>
> thanks
>
> --- In Firebird-Java@y..., "sachinwalia" <sachinw@s...> wrote:
> > Hi,
> >
> > does anyone knows how to integrate firebird jca jdbc driver with
> > weblogic 6.x / 7.0. the resource adapter is not getting deployed on
> > weblogic and is throwing a battery of Exceptions.
> >
> > Please respond immediately. its very very urgent.
> >
> > thanks in advance.
> >
> > sachin walia
>
>
>
> To unsubscribe from this group, send an email to:
> Firebird-Java-unsubscribe@yahoogroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
>
>