Subject Re: [Firebird-Java] Re: firebird jca jdbc driver on weblogic 6.x
Author David Jencks
Fixing this will take more work than I thought at first. I hope to have
something by the end of the week.

david jencks

On 2002.09.06 02:12:12 -0400 Sachin Walia wrote:
> Hi,
>
> according to bea weblogic 7.0 docs weblogc needs object to be serialized
> not
> referencable..
>
> mentioned at the following url:
> http://edocs.bea.com/wls/docs70/faq/jca.html#293579
> <http://edocs.bea.com/wls/docs70/faq/jca.html#293579>
>
> it says
>
> BM_293579
>
> Q. Why do I get the following exception when viewing the JNDI tree?
>
> BM_293767isSerializable(class.javax.naming.Binding)
> java.io.NotSerializableException:
> java.io.PrintWriter at
> java.io.ObjectOutputStream.OutputObject
>
> BM_293580A. The Weblogic Server JNDI implementation requires objects to
> be
> serializable, not referencable. A PrintWriter cannot be serialized and
> therefore should be declared transient.
>
> Hope it helps,
>
> sachin
>
>
>
> -----Original Message-----
> From: David Jencks [mailto:davidjencks@...]
> Sent: Friday, September 06, 2002 10:49 AM
> To: Firebird-Java@yahoogroups.com
> Subject: Re: [Firebird-Java] Re: firebird jca jdbc driver on weblogic 6.x
>
>
> Is there any way you can find out if either the datasource or the
> ManagedConnectionFactory is being serialized and deserialized before you
> use it? I think that is the most likely explanation of this, but some
> confirmation would be nice before I spend a lot of time working around
> this.
>
> Thanks
> david jencks
>
> On 2002.09.06 00:29:36 -0400 Sachin Walia wrote:
> > thanks for the fix..
> >
> > It seems to work fine after removing the mentioned config property,
> >
> > however an exception is thrown when trying to retrieve connection from
> > the
> > DataSource.
> >
> > 1. Context c = new InitialContext();
> > 2. Object jdopmf = c.lookup("eis/firebirdCF");
> > 3. DataSource ds = (DataSource)jdopmf;
> > 4. Connection cn = ds.getConnection();
> >
> > at step 4 NullPointerException is raised..
> >
> > The complete stack trace is:
> >
> > <Sep 6, 2002 9:38:36 AM IST> <Error> <HTTP>
> > <[WebAppServletContext(24832665,Defa
> > ultWebApp,/DefaultWebApp)] Servlet failed with Exception
> > java.lang.NullPointerException
> > at
> > org.firebirdsql.jdbc.FBDataSource.getConnection(FBDataSource.java:97)
> >
> > at jsp_servlet.__img._jspService(__img.java:94)
> > at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
> > at
> > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
> > pl.java:265)
> > at
> > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
> > pl.java:200)
> > at
> > weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
> > rvletContext.java:2456)
> > at
> > weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
> > pl.java:2039)
> > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
> > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
> > >
> >
> > any suggestion is welcomed,
> >
> > sachin
> >
> >
> > -----Original Message-----
> > From: David Jencks [mailto:davidjencks@...]
> > Sent: Thursday, September 05, 2002 8:55 PM
> > To: Firebird-Java@yahoogroups.com
> > Subject: Re: [Firebird-Java] Re: firebird jca jdbc driver on weblogic
> 6.x
> >
> >
> > 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.UndeploymentExce
> > ption>
> > >
> > > java.lang.NullPointerException
> > > at
> > >
> >
> weblogic.connector.common.internal.ConnectionPool.<init>(ConnectionPool.java
> > :457)
> > > at
> > >
> >
> weblogic.connector.common.internal.ConnectionPoolManager.addManagedConnectio
> > nFactory(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.j
> > ava:359)
> > > at
> > >
> >
> weblogic.management.mbeans.custom.Application.setDeployed(Application.java:2
> > 93)
> > > 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(Configurati
> > onMBeanImpl.java:288)
> > > at
> > >
> >
> com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:135
> > 6)
> > > at
> > >
> >
> com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:133
> > 1)
> > > at
> > >
> >
> weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(Confi
> > gurationMBeanImpl.java:385)
> > > at
> > >
> >
> weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Configurati
> > onMBeanImpl.java:291)
> > > at
> > >
> >
> com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:135
> > 6)
> > > at
> > >
> >
> com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:133
> > 1)
> > > 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(ApplicationM
> > anager.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(ApplicationManag
> > er.java:200)
> > > at
> > >
> >
> weblogic.management.mbeans.custom.ApplicationManager$ApplicationPoller.run(A
> > pplicationManager.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.j
> > ava:359)
> > > at
> > >
> >
> weblogic.management.mbeans.custom.Application.setDeployed(Application.java:2
> > 93)
> > > 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(Configurati
> > onMBeanImpl.java:288)
> > > at
> > >
> >
> com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:135
> > 6)
> > > at
> > >
> >
> com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:133
> > 1)
> > > at
> > >
> >
> weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(Confi
> > gurationMBeanImpl.java:385)
> > > at
> > >
> >
> weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Configurati
> > onMBeanImpl.java:291)
> > > at
> > >
> >
> com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:135
> > 6)
> > > at
> > >
> >
> com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:133
> > 1)
> > > 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(ApplicationM
> > anager.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(ApplicationManag
> > er.java:200)
> > > at
> > >
> >
> weblogic.management.mbeans.custom.ApplicationManager$ApplicationPoller.run(A
> > pplicationManager.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'
> <http://java.sun.com/dtd/connector_1_0.dtd'>
> > < http://java.sun.com/dtd/connector_1_0.dtd'
> <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.FBManagedConnectionFacto
> > ry</managedconnectionfactory-class>
> > >
> > >
> >
> <connectionfactory-interface>javax.sql.DataSource</connectionfactory-interfa
> > ce>
> > >
> > >
> >
> <connectionfactory-impl-class>org.firebirdsql.jdbc.FBDataSource</connectionf
> > actory-impl-class>
> > > <connection-interface>java.sql.Connection</connection-interface>
> > >
> > >
> >
> <connection-impl-class>org.firebirdsql.jdbc.FBConnection</connection-impl-cl
> > ass>
> > > <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</co
> > nfig-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'
> <http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd'>
> > < http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd'
> <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/ <http://docs.yahoo.com/info/terms/>
> > < http://docs.yahoo.com/info/terms/ <http://docs.yahoo.com/info/terms/>
> >
> > >
> > >
> > >
> > >
> > >
> >
> >
> > Yahoo! Groups Sponsor
> >
> > ADVERTISEMENT
> >
> > <
> http://rd.yahoo.com/M=228862.2128520.3581629.2225242/D=egroupweb/S=17050067
> <http://rd.yahoo.com/M=228862.2128520.3581629.2225242/D=egroupweb/S=17050067
> >
> > 64:HM/A=1182727/R=0/* http://adfarm.mediaplex.com/ad/ck/990-1736-1039-336
> <http://adfarm.mediaplex.com/ad/ck/990-1736-1039-336> >
> >
> >
> > To unsubscribe from this group, send an email to:
> > Firebird-Java-unsubscribe@yahoogroups.com
> >
> >
> >
> > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
> > < http://docs.yahoo.com/info/terms/ <http://docs.yahoo.com/info/terms/>
> >
> .
> >
> >
> >
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> > <HTML><HEAD>
> > <META HTTP-EQUIV="Content-Type" CONTENT="text/html;
> charset=iso-8859-1">
> >
> >
> > <META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
> > <BODY>
> >
> >
> > <DIV><SPAN class=512101904-06092002><FONT face=Arial color=#0000ff
> > size=2>thanks
> > for the fix..</FONT></SPAN></DIV>
> > <DIV><SPAN class=512101904-06092002><FONT face=Arial color=#0000ff
> > size=2></FONT></SPAN> </DIV>
> > <DIV><SPAN class=512101904-06092002><FONT face=Arial color=#0000ff
> > size=2>It
> > seems to work fine after removing the mentioned config
> > property,</FONT></SPAN></DIV>
> > <DIV><SPAN class=512101904-06092002><FONT face=Arial color=#0000ff
> > size=2></FONT></SPAN> </DIV>
> > <DIV><SPAN class=512101904-06092002><FONT face=Arial color=#0000ff
> > size=2>however an exception is thrown when trying to retrieve
> connection
> > from
> > the DataSource.</FONT></SPAN></DIV>
> > <DIV><SPAN class=512101904-06092002><FONT face=Arial color=#0000ff
> > size=2></FONT></SPAN> </DIV>
> > <DIV><SPAN class=512101904-06092002><FONT face=Arial color=#0000ff
> > size=2>1.
> > Context c = new InitialContext();<BR>2. Object jdopmf =
> > c.lookup("eis/firebirdCF");<BR>3. DataSource ds =
> > (DataSource)jdopmf;<BR>4.
> > Connection cn = ds.getConnection();</FONT></SPAN></DIV>
> > <DIV><SPAN class=512101904-06092002><FONT face=Arial color=#0000ff
> > size=2></FONT></SPAN> </DIV>
> > <DIV><SPAN class=512101904-06092002><FONT face=Arial color=#0000ff
> > size=2>at
> > step 4 NullPointerException is raised..</FONT></SPAN></DIV>
> > <DIV><SPAN class=512101904-06092002><FONT face=Arial color=#0000ff
> > size=2></FONT></SPAN> </DIV>
> > <DIV><SPAN class=512101904-06092002><FONT face=Arial color=#0000ff
> > size=2>The
> > complete stack trace is:</FONT></SPAN></DIV>
> > <DIV><SPAN class=512101904-06092002><FONT face=Arial color=#0000ff
> > size=2></FONT></SPAN> </DIV>
> > <DIV><SPAN class=512101904-06092002><FONT face=Arial color=#0000ff
> > size=2><Sep 6, 2002 9:38:36 AM IST> <Error> <HTTP>
> > <[WebAppServletContext(24832665,Defa<BR>ultWebApp,/DefaultWebApp)]
> > Servlet
> > failed with
> >
> Exception<BR>java.lang.NullPointerException<BR>     
> ;  
> >
> > at
> >
> org.firebirdsql.jdbc.FBDataSource.getConnection(FBDataSource.java:97)</FONT>
> </SPAN></DIV>
> > <DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
> > <DIV><SPAN class=512101904-06092002><FONT face=Arial color=#0000ff
> > size=2>        at
> >
> jsp_servlet.__img._jspService(__img.java:94)<BR>    &nbs
> p;  
> >
> > at
> >
> weblogic.servlet.jsp.JspBase.service(JspBase.java:27)<BR>   &
> nbsp;   
> >
> > at
> >
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm<BR>pl.
> java:265)<BR>       
> >
> > at
> >
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm<BR>pl.
> java:200)<BR>       
> >
> > at
> >
> weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe<BR>rvl
> etContext.java:2456)<BR>       
> >
> > at
> >
> weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm<BR>pl.
> java:2039)<BR>       
> >
> > at
> >
> weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)<BR>  
> ;     
> >
> > at
> >
> weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)<BR>></FONT>&nbs
> p;</SPAN></DIV>
> > <DIV><SPAN class=512101904-06092002><FONT face=Arial color=#0000ff
> > size=2></FONT></SPAN> </DIV>
> > <DIV><SPAN class=512101904-06092002><FONT face=Arial color=#0000ff
> > size=2>any
> > suggestion is welcomed,</FONT></SPAN></DIV>
> > <DIV><SPAN class=512101904-06092002><FONT face=Arial color=#0000ff
> > size=2></FONT></SPAN> </DIV>
> > <DIV><SPAN class=512101904-06092002><FONT face=Arial color=#0000ff
> > size=2>sachin</DIV>
> > <DIV><BR></DIV></FONT></SPAN>
> > <BLOCKQUOTE>
> > <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
> > size=2>-----Original Message-----<BR><B>From:</B> David Jencks
> > [mailto:davidjencks@...]<BR><B>Sent:</B> Thursday,
> > September
> > 05, 2002 8:55 PM<BR><B>To:</B>
> > Firebird-Java@yahoogroups.com<BR><B>Subject:</B> Re: [Firebird-Java]
> > Re:
> > firebird jca jdbc driver on weblogic 6.x<BR><BR></FONT></DIV><TT>What
> > happens
> > if you take <BR>>    
> > <config-property><BR>>      
> >
> <config-property-name>BlobBufferLength</config-property-name><BR
> >>      
> >
> >
> <config-property-type>int</config-property-type><BR>> &n
> bsp;    
> >
> >
> <config-property-value></config-property-value><BR>> &nb
> sp;  
> >
> > </config-property><BR><BR><BR>out of ra.xml?<BR><BR>I think
> > perhaps I
> > need to convert this to an Integer property.<BR>If this is not it,
> you
> > may
> > need to ask Weblogic what their npe means, it is<BR>not terribly
> > informative.<BR><BR>thanks<BR>david jencks<BR><BR>On 2002.09.05
> > 01:05:36 -0400
> > sachinwalia wrote:<BR>> following is the server log and deployment
>
> > descriptor on deployment of<BR>> jca-jdbc driver as resource
> adapter
> > rar
> > file on weblogic 6.1 sp2 on<BR>> win2k and jdk 1.3.1<BR>>
> > <BR>>
> > ####<Sep 4, 2002 12:29:42 PM IST> <Error>
> > <Management>
> > <sachin><BR>> <sachin> <Application Manager
> > Thread>
> > <> <> <140002><BR>>
> <InvocationTargetException
> > setting
> > attribute Deployed on MBean<BR>>
> > solutions:Location=sachin,Name=firebird.rar,Type=ApplicationConfig
> > to<BR>>
> > value true. Method: public void<BR>>
> >
> weblogic.management.mbeans.custom.Application.setDeployed(boolean)<BR>>
> >
> > throws<BR>>
> >
> weblogic.management.DeploymentException,weblogic.management.UndeploymentExce
> ption><BR>>
> >
> > <BR>> java.lang.NullPointerException<BR>>
> >      
> > at<BR>>
> >
> weblogic.connector.common.internal.ConnectionPool.<init>(ConnectionPoo
> l.java:457)<BR>>
> >
> >       at<BR>>
> >
> weblogic.connector.common.internal.ConnectionPoolManager.addManagedConnectio
> nFactory(ConnectionPoolManager.java:54)<BR>>
> >
> >       at<BR>>
> >
> weblogic.j2ee.ResourceAdapterComponent.deploy(ResourceAdapterComponent.java:
> 189)<BR>>
> >
> >       at
> > weblogic.j2ee.Application.deploy(Application.java:231)<BR>>
> >       at
> >
> weblogic.j2ee.J2EEService.deployApplication(J2EEService.java:185)<BR>>
> >
> >       at<BR>>
> >
> weblogic.management.mbeans.custom.Application.setLocalDeployed(Application.j
> ava:359)<BR>>
> >
> >       at<BR>>
> >
> weblogic.management.mbeans.custom.Application.setDeployed(Application.java:2
> 93)<BR>>
> >
> >       at
> > sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)<BR>>
> >       at<BR>>
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)<BR>>
> >
> >       at
> > java.lang.reflect.Method.invoke(Method.java:324)<BR>>
> >       at<BR>>
> >
> weblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBeanImpl.
> java:1334)<BR>>
> >
> >       at<BR>>
> >
> weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.
> java:844)<BR>>
> >
> >       at<BR>>
> >
> weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.
> java:810)<BR>>
> >
> >       at<BR>>
> >
> weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Configurati
> onMBeanImpl.java:288)<BR>>
> >
> >       at<BR>>
> >
> com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:135
> 6)<BR>>
> >
> >       at<BR>>
> >
> com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:133
> 1)<BR>>
> >
> >       at<BR>>
> >
> weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(Confi
> gurationMBeanImpl.java:385)<BR>>
> >
> >       at<BR>>
> >
> weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Configurati
> onMBeanImpl.java:291)<BR>>
> >
> >       at<BR>>
> >
> com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:135
> 6)<BR>>
> >
> >       at<BR>>
> >
> com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:133
> 1)<BR>>
> >
> >       at<BR>>
> >
> weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:303)<BR
> >>
> >
> >       at
> >
> weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:185)<BR>>
> >
> >       at $Proxy7.setDeployed(Unknown
> > Source)<BR>>
> >       at<BR>>
> >
> weblogic.management.mbeans.custom.ApplicationManager.autoDeploy(ApplicationM
> anager.java:846)<BR>>
> >
> >       at<BR>>
> >
> weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager
> .java:811)<BR>>
> >
> >       at<BR>>
> >
> weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager
> .java:705)<BR>>
> >
> >       at<BR>>
> >
> weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManag
> er.java:200)<BR>>
> >
> >       at<BR>>
> >
> weblogic.management.mbeans.custom.ApplicationManager$ApplicationPoller.run(A
> pplicationManager.java:1020)<BR>>
> >
> > --------------- nested within: ------------------<BR>>
> > weblogic.management.DeploymentException:  - with nested
> > exception:<BR>> [java.lang.NullPointerException]<BR>>
> >       at<BR>>
> >
> weblogic.j2ee.ResourceAdapterComponent.deploy(ResourceAdapterComponent.java:
> 195)<BR>>
> >
> >       at
> > weblogic.j2ee.Application.deploy(Application.java:231)<BR>>
> >       at
> >
> weblogic.j2ee.J2EEService.deployApplication(J2EEService.java:185)<BR>>
> >
> >       at<BR>>
> >
> weblogic.management.mbeans.custom.Application.setLocalDeployed(Application.j
> ava:359)<BR>>
> >
> >       at<BR>>
> >
> weblogic.management.mbeans.custom.Application.setDeployed(Application.java:2
> 93)<BR>>
> >
> >       at
> > sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)<BR>>
> >       at<BR>>
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)<BR>>
> >
> >       at
> > java.lang.reflect.Method.invoke(Method.java:324)<BR>>
> >       at<BR>>
> >
> weblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBeanImpl.
> java:1334)<BR>>
> >
> >       at<BR>>
> >
> weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.
> java:844)<BR>>
> >
> >       at<BR>>
> >
> weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.
> java:810)<BR>>
> >
> >       at<BR>>
> >
> weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Configurati
> onMBeanImpl.java:288)<BR>>
> >
> >       at<BR>>
> >
> com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:135
> 6)<BR>>
> >
> >       at<BR>>
> >
> com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:133
> 1)<BR>>
> >
> >       at<BR>>
> >
> weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(Confi
> gurationMBeanImpl.java:385)<BR>>
> >
> >       at<BR>>
> >
> weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Configurati
> onMBeanImpl.java:291)<BR>>
> >
> >       at<BR>>
> >
> com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:135
> 6)<BR>>
> >
> >       at<BR>>
> >
> com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:133
> 1)<BR>>
> >
> >       at<BR>>
> >
> weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:303)<BR
> >>
> >
> >       at
> >
> weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:185)<BR>>
> >
> >       at $Proxy7.setDeployed(Unknown
> > Source)<BR>>
> >       at<BR>>
> >
> weblogic.management.mbeans.custom.ApplicationManager.autoDeploy(ApplicationM
> anager.java:846)<BR>>
> >
> >       at<BR>>
> >
> weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager
> .java:811)<BR>>
> >
> >       at<BR>>
> >
> weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager
> .java:705)<BR>>
> >
> >       at<BR>>
> >
> weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManag
> er.java:200)<BR>>
> >
> >       at<BR>>
> >
> weblogic.management.mbeans.custom.ApplicationManager$ApplicationPoller.run(A
> pplicationManager.java:1020)<BR>>
> >
> > ####<Sep 4, 2002 12:29:44 PM IST> <Warning> <J2EE>
> > <sachin> <sachin><BR>> <ExecuteThread: '11' for
> > queue:
> > 'default'> <system> <> <160007> <You<BR>>
> > are
> > running WebLogic Server in J2EE 1.3 mode. The implementation
> of<BR>>
> >
> > specific J2EE 1.3 features (EJB 2.0, JSP 1.2, Servlet 2.3, and
> > J2EE<BR>>
> > Connector Architecture 1.0) in BEA WebLogic Server 6.1 is of
> a<BR>>
> > non-final version of the appropriate specification. It is subject
> > to<BR>>
> > change in future releases once the specification becomes
> > finalized.<BR>>
> > This may cause application code developed for BEA WebLogic Server
> > 6.1<BR>>
> > that uses the new features of J2EE 1.3 to be incompatible with
> > the<BR>>
> > J2EE 1.3 platform supported in future releases of BEA WebLogic
> > Server.<BR>>
> > You may prevent this message from displaying in the future by<BR>>
>
> > de-selecting "J2EE 1.3 Notification" in the Administration
> Console.>
> >
> > <BR>> <BR>> -----------------Deployment
> > Descriptor--------------<BR>>
> > <BR>> ra.xml<BR>> <BR>> <?xml version="1.0"
> > encoding="UTF-8"?><BR>> <!DOCTYPE connector PUBLIC '-//Sun
> > Microsystems, Inc.//DTD Connector<BR>> 1.0//EN' '<A
> > href=" http://java.sun.com/dtd/connector_1_0.dtd'
> <http://java.sun.com/dtd/connector_1_0.dtd'> ">
> http://java.sun.com/dtd/connector_1_0.dtd'
> <http://java.sun.com/dtd/connector_1_0.dtd'> </A>><BR>>
> >
> > <connector><BR>>   <display-name>Firebird
> > Database
> > Connector</display-name><BR>>  
> > <vendor-name>David
> > Jencks</vendor-name><BR>>  
> > <spec-version>1.0</spec-version><BR>>  
> > <eis-type>FireBird RDBMS</eis-type><BR>>  
> > <version>1.0</version><BR>>  
> > <license><BR>>    
> >
> <license-required>false</license-required><BR>>  
> >
> > </license><BR>>  
> > <resourceadapter><BR>>    <BR>>
> >
> <managedconnectionfactory-class>org.firebirdsql.jca.FBManagedConnectio
> nFactory</managedconnectionfactory-class><BR>>   
> >
> > <BR>>
> >
> <connectionfactory-interface>javax.sql.DataSource</connectionfactor
> y-interface><BR>>   
> >
> > <BR>>
> >
> <connectionfactory-impl-class>org.firebirdsql.jdbc.FBDataSource</co
> nnectionfactory-impl-class><BR>>    
> >
> >
> <connection-interface>java.sql.Connection</connection-interface>
> <BR>>   
> >
> > <BR>>
> >
> <connection-impl-class>org.firebirdsql.jdbc.FBConnection</connectio
> n-impl-class><BR>>    
> >
> >
> <transaction-support>XATransaction</transaction-support><BR>>
>     
> >
> > <config-property><BR>>      
> >
> <config-property-name>Password</config-property-name><BR>>&nb
> sp;     
> >
> >
> <config-property-type>java.lang.String</config-property-type><BR
> >>      
> >
> >
> <config-property-value>sachin</config-property-value><BR>>&nb
> sp;   
> >
> > </config-property><BR>>    
> > <config-property><BR>>      
> >
> <config-property-name>BlobBufferLength</config-property-name><BR
> >>      
> >
> >
> <config-property-type>int</config-property-type><BR>> &n
> bsp;    
> >
> >
> <config-property-value></config-property-value><BR>> &nb
> sp;  
> >
> > </config-property><BR>>    
> > <config-property><BR>>      
> >
> <config-property-name>Database</config-property-name><BR>>&nb
> sp;     
> >
> >
> <config-property-type>java.lang.String</config-property-type><BR
> >>     
> >
> > <BR>>
> >
> <config-property-value>jdbc:firebirdsql:sachin/3050:/firebird/soapDB.g
> db</config-property-value><BR>>    
> >
> > </config-property><BR>>    
> > <config-property><BR>>      
> >
> <config-property-name>UserName</config-property-name><BR>>&nb
> sp;     
> >
> >
> <config-property-type>java.lang.String</config-property-type><BR
> >>      
> >
> >
> <config-property-value>sachin</config-property-value><BR>>&nb
> sp;   
> >
> > </config-property><BR>>    
> > <authentication-mechanism><BR>>     
>
> > <BR>>
> >
> <authentication-mechanism-type>BasicPassword</authentication-mechan
> ism-type><BR>>     
> >
> > <BR>>
> >
> <credential-interface>javax.resource.security.PasswordCredential</c
> redential-interface><BR>>    
> >
> > </authentication-mechanism><BR>>    
> >
> <reauthentication-support>false</reauthentication-support><BR>&g
> t;  
> >
> > </resourceadapter><BR>> </connector><BR>> <BR>>
> > ----weblogic-ra.xml---<BR>> <BR>> <?xml version="1.0"
> > encoding="UTF-8"?><BR>> <!DOCTYPE
> > weblogic-connection-factory-dd
> > PUBLIC '-//BEA Systems,<BR>> Inc.//DTD WebLogic 6.0.0
> > Connector//EN'<BR>> '<A
> > href=" http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd'
> <http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd'> ">
> http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd'
> <http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd'>
> </A>><BR>>
> >
> > <weblogic-connection-factory-dd><BR>>  
> >
> <connection-factory-name>firebirdCF</connection-factory-name><BR
> >>  
> >
> > <jndi-name>eis/firebirdCF</jndi-name><BR>>  
>
> > <pool-params><BR>>    
> >
> <initial-capacity>0</initial-capacity><BR>>   
>  
> >
> >
> <max-capacity>1</max-capacity><BR>>    
> >
> >
> <capacity-increment>1</capacity-increment><BR>>  &n
> bsp; 
> >
> >
> <shrinking-enabled>false</shrinking-enabled><BR>>  
>   
> >
> >
> <shrink-period-minutes>200</shrink-period-minutes><BR>> 
>  
> >
> > </pool-params><BR>>  
> > <map-config-property><BR>>    
> >
> <map-config-property-name>Database</map-config-property-name><BR
> >>   
> >
> > <BR>>
> >
> <map-config-property-value>jdbc:firebirdsql:sachin/3050:/firebird/soap
> DB.gdb</map-config-property-value><BR>>  
> >
> > </map-config-property><BR>>  
> > <security-principal-map><BR>>  
> > </security-principal-map><BR>>
> > </weblogic-connection-factory-dd><BR>> <BR>> <BR>>
> > <BR>>
> > thanks<BR>> <BR>> --- In Firebird-Java@y..., "sachinwalia"
> > <sachinw@s...> wrote:<BR>> > Hi,<BR>> > <BR>>
> >
> > does
> > anyone knows how to integrate firebird jca jdbc driver with<BR>>
> > >
> > weblogic 6.x / 7.0. the resource adapter is not getting deployed
> > on<BR>>
> > > weblogic and is throwing a battery of Exceptions. <BR>> >
> > <BR>>
> > > Please respond immediately. its very very urgent.<BR>> >
> > <BR>>
> > > thanks in advance.<BR>> > <BR>> > sachin
> walia<BR>>
> >
> > <BR>> <BR>> <BR>> To unsubscribe from this group, send an
> > email
> > to:<BR>> Firebird-Java-unsubscribe@yahoogroups.com<BR>>
> > <BR>> 
> > <BR>> <BR>> Your use of Yahoo! Groups is subject to <A
> > href=" http://docs.yahoo.com/info/terms/
> <http://docs.yahoo.com/info/terms/> "> http://docs.yahoo.com/info/terms/
> <http://docs.yahoo.com/info/terms/> </A><BR>>
> >
> > <BR>> <BR>> <BR>> <BR>> <BR></TT><BR><BR><TT>To
> > unsubscribe from this group, send an email
> >
> to:<BR>Firebird-Java-unsubscribe@yahoogroups.com<BR><BR></TT><BR><BR><TT>You
> r
> >
> > use of Yahoo! Groups is subject to the <A
> > href=" http://docs.yahoo.com/info/terms/
> <http://docs.yahoo.com/info/terms/> ">Yahoo! Terms of
> > Service</A>.</TT>
> > <BR></BLOCKQUOTE>
> > <br>
> >
> > <!-- |**|begin egp html banner|**| -->
> >
> > <table border=0 cellspacing=0 cellpadding=2>
> > <tr bgcolor=#FFFFCC>
> > <td align=center><font size="-1" color=#003399><b>Yahoo! Groups
> > Sponsor</b></font></td>
> > </tr>
> > <tr bgcolor=#FFFFFF>
> > <td align=center width=470><table border=0 cellpadding=0
> > cellspacing=0><tr><td align=center><font face=arial
> > size=-2>ADVERTISEMENT</font><br><a href="
> http://rd.yahoo.com/M=228862.2128520.3581629.2225242/D=egroupweb/S=170500676
> 4:HM/A=1182728/R=0/*http://adfarm.mediaplex.com/ad/ck/990-1736-1039-333
> <http://rd.yahoo.com/M=228862.2128520.3581629.2225242/D=egroupweb/S=17050067
> 64:HM/A=1182728/R=0/*http://adfarm.mediaplex.com/ad/ck/990-1736-1039-333>
>
> > " target="_top"><img border="0" src="
> http://us.a1.yimg.com/us.yimg.com/a/co/columbiahouse/d_300x250_4for49_idsoc.
> gif
> <http://us.a1.yimg.com/us.yimg.com/a/co/columbiahouse/d_300x250_4for49_idsoc
> .gif> "
> > height="250" width="300"></a></td></tr></table></td>
> > </tr>
> > </table>
> >
> > <!-- |**|end egp html banner|**| -->
> >
> >
> > <br>
> > <tt>
> > To unsubscribe from this group, send an email to:<BR>
> > Firebird-Java-unsubscribe@yahoogroups.com<BR>
> > <BR>
> > </tt>
> > <br>
> >
> > <br>
> > <tt>Your use of Yahoo! Groups is subject to the <a
> > href=" http://docs.yahoo.com/info/terms/
> <http://docs.yahoo.com/info/terms/> ">Yahoo! Terms of
> > Service</a>.</tt>
> > </br>
> >
> > </BODY></HTML>
> >
>
>
> Yahoo! Groups Sponsor
>
> ADVERTISEMENT
>
>
>
> <http://rd.yahoo.com/M=212804.2303158.3720906.2225242/D=egroupweb/S=17050067
> 64:HM/A=810373/R=0/*http://geocities.yahoo.com/ps/info?.refer=blrecs>
> <http://rd.yahoo.com/M=212804.2303158.3720906.2225242/D=egroupweb/S=17050067
> 64:HM/A=810373/R=1/*http://geocities.yahoo.com/ps/info?.refer=blrecs>
>
>
> To unsubscribe from this group, send an email to:
> Firebird-Java-unsubscribe@yahoogroups.com
>
>
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
> <http://docs.yahoo.com/info/terms/> .
>
>
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
>
>
> <META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
> <BODY>
>
>
> <DIV><FONT face=Arial color=#0000ff size=2><SPAN
> class=595420206-06092002>Hi,</SPAN></FONT></DIV>
> <DIV><FONT face=Arial color=#0000ff size=2><SPAN
> class=595420206-06092002></SPAN></FONT> </DIV>
> <DIV><FONT face=Arial color=#0000ff size=2><SPAN
> class=595420206-06092002>according to bea weblogic 7.0 docs weblogc needs
> object
> to be serialized not referencable..</SPAN></FONT></DIV>
> <DIV><FONT face=Arial color=#0000ff size=2><SPAN
> class=595420206-06092002></SPAN></FONT> </DIV>
> <DIV><FONT face=Arial color=#0000ff size=2><SPAN
> class=595420206-06092002>mentioned at the following url: <A
> href="http://edocs.bea.com/wls/docs70/faq/jca.html#293579">http://edocs.bea.com/wls/docs70/faq/jca.html#293579</A> </SPAN></FONT></DIV>
> <DIV><FONT face=Arial color=#0000ff size=2><SPAN
> class=595420206-06092002></SPAN></FONT> </DIV>
> <DIV><FONT face=Arial color=#0000ff size=2><SPAN
> class=595420206-06092002>it
> says</SPAN></FONT></DIV>
> <DIV><FONT face=Arial color=#0000ff size=2><SPAN
> class=595420206-06092002></SPAN></FONT> </DIV>
> <DIV><FONT face=Arial color=#0000ff size=2><SPAN
> class=595420206-06092002><A
> name=293579><FONT color=#000000 size=3> </FONT>
> <P class=head4><FONT color=#ff0000><STRONG>Q.</STRONG> </FONT>Why do I
> get the
> following exception when viewing the JNDI tree?</P></A><A name=293767>
> <BLOCKQUOTE><PRE><FONT face=Courier
color=#000000>isSerializable(class.javax.naming.Binding)
> <BR>java.io.NotSerializableException:<BR>java.io.PrintWriter at
> <BR>java.io.ObjectOutputStream.OutputObject
> </FONT></PRE></BLOCKQUOTE></A><A
> name=293580>
> <P><FONT color=#ff0000><STRONG>A. </STRONG></FONT>The Weblogic Server
> JNDI
> implementation requires objects to be serializable, not referencable. A
> PrintWriter cannot be serialized and therefore should be declared
> transient.</P>
> <P><SPAN class=595420206-06092002>Hope it helps,</SPAN></P>
> <P><SPAN class=595420206-06092002>sachin</SPAN></P>
> <P> </P></A></SPAN></FONT></DIV>
> <BLOCKQUOTE>
> <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
> size=2>-----Original Message-----<BR><B>From:</B> David Jencks
> [mailto:davidjencks@...]<BR><B>Sent:</B> Friday,
> September 06,
> 2002 10:49 AM<BR><B>To:</B> Firebird-Java@yahoogroups.com<BR><B>Subject:</B>
>
> Re: [Firebird-Java] Re: firebird jca jdbc driver on weblogic
> 6.x<BR><BR></FONT></DIV><TT>Is there any way you can find out if either
> the
> datasource or the<BR>ManagedConnectionFactory is being serialized and
> deserialized before you<BR>use it?  I think that is the most
> likely
> explanation of this, but some<BR>confirmation would be nice before I
> spend a
> lot of time working around<BR>this.<BR><BR>Thanks<BR>david
> jencks<BR><BR>On
> 2002.09.06 00:29:36 -0400 Sachin Walia wrote:<BR>> thanks for the
> fix..<BR>>  <BR>> It seems to work fine after removing the
> mentioned config property,<BR>>  <BR>> however an exception
> is
> thrown when trying to retrieve connection from<BR>> the<BR>>
> DataSource.<BR>>  <BR>> 1. Context c = new
> InitialContext();<BR>> 2. Object jdopmf =
> c.lookup("eis/firebirdCF");<BR>> 3. DataSource ds =
> (DataSource)jdopmf;<BR>> 4. Connection cn =
> ds.getConnection();<BR>>  <BR>> at step 4
> NullPointerException is
> raised..<BR>>  <BR>> The complete stack trace
> is:<BR>> 
> <BR>> <Sep 6, 2002 9:38:36 AM IST> <Error>
> <HTTP><BR>>
> <[WebAppServletContext(24832665,Defa<BR>>
> ultWebApp,/DefaultWebApp)]
> Servlet failed with Exception<BR>>
> java.lang.NullPointerException<BR>>        
>
> at<BR>>
> org.firebirdsql.jdbc.FBDataSource.getConnection(FBDataSource.java:97)<BR>> 
>
> <BR>>         at
> jsp_servlet.__img._jspService(__img.java:94)<BR>>        
>
> at
> weblogic.servlet.jsp.JspBase.service(JspBase.java:27)<BR>>        
>
> at<BR>>
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm<BR>>
>
> pl.java:265)<BR>>        
> at<BR>>
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm<BR>>
>
> pl.java:200)<BR>>        
> at<BR>>
> weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe<BR>>
>
> rvletContext.java:2456)<BR>>        
>
> at<BR>>
> weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm<BR>>
>
> pl.java:2039)<BR>>        
> at
> weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)<BR>>        
>
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)<BR>>
> >
> <BR>>  <BR>> any suggestion is welcomed,<BR>> 
> <BR>>
> sachin<BR>> <BR>> <BR>> -----Original Message-----<BR>>
> From:
> David Jencks [mailto:davidjencks@...]<BR>> Sent:
> Thursday,
> September 05, 2002 8:55 PM<BR>> To:
> Firebird-Java@yahoogroups.com<BR>>
> Subject: Re: [Firebird-Java] Re: firebird jca jdbc driver on weblogic
> 6.x<BR>> <BR>> <BR>> What happens if you take <BR>>
> >     <config-property><BR>>
> >      
> <config-property-name>BlobBufferLength</config-property-name><BR>>
>
> >      
> <config-property-type>int</config-property-type><BR>>
> >      
> <config-property-value></config-property-value><BR>>
> >     </config-property><BR>> <BR>>
> <BR>> out of ra.xml?<BR>> <BR>> I think perhaps I need to
> convert
> this to an Integer property.<BR>> If this is not it, you may need to
> ask
> Weblogic what their npe means, it<BR>> is<BR>> not terribly
> informative.<BR>> <BR>> thanks<BR>> david jencks<BR>>
> <BR>> On
> 2002.09.05 01:05:36 -0400 sachinwalia wrote:<BR>> > following is
> the
> server log and deployment descriptor on deployment of<BR>> >
> jca-jdbc
> driver as resource adapter rar file on weblogic 6.1 sp2 on<BR>> >
> win2k
> and jdk 1.3.1<BR>> > <BR>> > ####<Sep 4, 2002 12:29:42
> PM
> IST> <Error> <Management> <sachin><BR>> >
> <sachin> <Application Manager Thread> <> <>
> <140002><BR>> > <InvocationTargetException setting
> attribute
> Deployed on MBean<BR>> >
> solutions:Location=sachin,Name=firebird.rar,Type=ApplicationConfig
> to<BR>>
> > value true. Method: public void<BR>> >
> weblogic.management.mbeans.custom.Application.setDeployed(boolean)<BR>>
>
> > throws<BR>> ><BR>>
> weblogic.management.DeploymentException,weblogic.management.UndeploymentExce<BR>>
>
> ption><BR>> > <BR>> >
> java.lang.NullPointerException<BR>>
> >       at<BR>> ><BR>>
> weblogic.connector.common.internal.ConnectionPool.<init>(ConnectionPool.java<BR>>
>
> :457)<BR>> >       at<BR>>
> ><BR>>
> weblogic.connector.common.internal.ConnectionPoolManager.addManagedConnectio<BR>>
>
> nFactory(ConnectionPoolManager.java:54)<BR>>
> >       at<BR>> ><BR>>
> weblogic.j2ee.ResourceAdapterComponent.deploy(ResourceAdapterComponent.java:<BR>>
>
> 189)<BR>> >       at
> weblogic.j2ee.Application.deploy(Application.java:231)<BR>>
> >       at
> weblogic.j2ee.J2EEService.deployApplication(J2EEService.java:185)<BR>>
>
> >       at<BR>> ><BR>>
> weblogic.management.mbeans.custom.Application.setLocalDeployed(Application.j<BR>>
>
> ava:359)<BR>> >       at<BR>>
> ><BR>>
> weblogic.management.mbeans.custom.Application.setDeployed(Application.java:2<BR>>
>
> 93)<BR>> >       at
> sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)<BR>>
> >       at<BR>> ><BR>>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl<BR>>
>
> .java:25)<BR>> >       at
> java.lang.reflect.Method.invoke(Method.java:324)<BR>>
> >       at<BR>> ><BR>>
> weblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBeanImpl.<BR>>
>
> java:1334)<BR>> >       at<BR>>
> ><BR>>
> weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.<BR>>
>
> java:844)<BR>> >       at<BR>>
> ><BR>>
> weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.<BR>>
>
> java:810)<BR>> >       at<BR>>
> ><BR>>
> weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Configurati<BR>>
>
> onMBeanImpl.java:288)<BR>> >      
> at<BR>> ><BR>>
> com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:135<BR>>
>
> 6)<BR>> >       at<BR>>
> ><BR>>
> com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:133<BR>>
>
> 1)<BR>> >       at<BR>>
> ><BR>>
> weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(Confi<BR>>
>
> gurationMBeanImpl.java:385)<BR>>
> >      
> at<BR>> ><BR>>
> weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Configurati<BR>>
>
> onMBeanImpl.java:291)<BR>> >      
> at<BR>> ><BR>>
> com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:135<BR>>
>
> 6)<BR>> >       at<BR>>
> ><BR>>
> com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:133<BR>>
>
> 1)<BR>> >       at<BR>> >
> weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:303)<BR>>
>
> >       at<BR>>
> weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:185)<BR>>
>
> >       at $Proxy7.setDeployed(Unknown
>
> Source)<BR>> >       at<BR>>
> ><BR>>
> weblogic.management.mbeans.custom.ApplicationManager.autoDeploy(ApplicationM<BR>>
>
> anager.java:846)<BR>> >      
> at<BR>>
> ><BR>>
> weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager<BR>>
>
> .java:811)<BR>> >       at<BR>>
> ><BR>>
> weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager<BR>>
>
> .java:705)<BR>> >       at<BR>>
> ><BR>>
> weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManag<BR>>
>
> er.java:200)<BR>> >      
> at<BR>>
> ><BR>>
> weblogic.management.mbeans.custom.ApplicationManager$ApplicationPoller.run(A<BR>>
>
> pplicationManager.java:1020)<BR>> > --------------- nested
> within:
> ------------------<BR>> > weblogic.management.DeploymentException: 
>
> - with nested exception:<BR>> >
> [java.lang.NullPointerException]<BR>>
> >       at<BR>> ><BR>>
> weblogic.j2ee.ResourceAdapterComponent.deploy(ResourceAdapterComponent.java:<BR>>
>
> 195)<BR>> >       at
> weblogic.j2ee.Application.deploy(Application.java:231)<BR>>
> >       at
> weblogic.j2ee.J2EEService.deployApplication(J2EEService.java:185)<BR>>
>
> >       at<BR>> ><BR>>
> weblogic.management.mbeans.custom.Application.setLocalDeployed(Application.j<BR>>
>
> ava:359)<BR>> >       at<BR>>
> ><BR>>
> weblogic.management.mbeans.custom.Application.setDeployed(Application.java:2<BR>>
>
> 93)<BR>> >       at
> sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)<BR>>
> >       at<BR>> ><BR>>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl<BR>>
>
> .java:25)<BR>> >       at
> java.lang.reflect.Method.invoke(Method.java:324)<BR>>
> >       at<BR>> ><BR>>
> weblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBeanImpl.<BR>>
>
> java:1334)<BR>> >       at<BR>>
> ><BR>>
> weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.<BR>>
>
> java:844)<BR>> >       at<BR>>
> ><BR>>
> weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.<BR>>
>
> java:810)<BR>> >       at<BR>>
> ><BR>>
> weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Configurati<BR>>
>
> onMBeanImpl.java:288)<BR>> >      
> at<BR>> ><BR>>
> com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:135<BR>>
>
> 6)<BR>> >       at<BR>>
> ><BR>>
> com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:133<BR>>
>
> 1)<BR>> >       at<BR>>
> ><BR>>
> weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(Confi<BR>>
>
> gurationMBeanImpl.java:385)<BR>>
> >      
> at<BR>> ><BR>>
> weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Configurati<BR>>
>
> onMBeanImpl.java:291)<BR>> >      
> at<BR>> ><BR>>
> com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:135<BR>>
>
> 6)<BR>> >       at<BR>>
> ><BR>>
> com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:133<BR>>
>
> 1)<BR>> >       at<BR>> >
> weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:303)<BR>>
>
> >       at<BR>>
> weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:185)<BR>>
>
> >       at $Proxy7.setDeployed(Unknown
>
> Source)<BR>> >       at<BR>>
> ><BR>>
> weblogic.management.mbeans.custom.ApplicationManager.autoDeploy(ApplicationM<BR>>
>
> anager.java:846)<BR>> >      
> at<BR>>
> ><BR>>
> weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager<BR>>
>
> .java:811)<BR>> >       at<BR>>
> ><BR>>
> weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager<BR>>
>
> .java:705)<BR>> >       at<BR>>
> ><BR>>
> weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManag<BR>>
>
> er.java:200)<BR>> >      
> at<BR>>
> ><BR>>
> weblogic.management.mbeans.custom.ApplicationManager$ApplicationPoller.run(A<BR>>
>
> pplicationManager.java:1020)<BR>> > ####<Sep 4, 2002 12:29:44
> PM
> IST> <Warning> <J2EE> <sachin>
> <sachin><BR>>
> > <ExecuteThread: '11' for queue: 'default'> <system>
> <>
> <160007> <You<BR>> > are running WebLogic Server in J2EE
> 1.3
> mode. The implementation of<BR>> > specific J2EE 1.3 features
> (EJB 2.0,
> JSP 1.2, Servlet 2.3, and J2EE<BR>> > Connector Architecture 1.0)
> in BEA
> WebLogic Server 6.1 is of a<BR>> > non-final version of the
> appropriate
> specification. It is subject to<BR>> > change in future releases
> once
> the specification becomes finalized.<BR>> > This may cause
> application
> code developed for BEA WebLogic Server 6.1<BR>> > that uses the
> new
> features of J2EE 1.3 to be incompatible with the<BR>> > J2EE 1.3
> platform supported in future releases of BEA WebLogic Server.<BR>>
> > You
> may prevent this message from displaying in the future by<BR>> >
> de-selecting "J2EE 1.3 Notification" in the Administration Console.>
>
> <BR>> > <BR>> > -----------------Deployment
> Descriptor--------------<BR>> > <BR>> > ra.xml<BR>> >
>
> <BR>> > <?xml version="1.0" encoding="UTF-8"?><BR>> >
>
> <!DOCTYPE connector PUBLIC '-//Sun Microsystems, Inc.//DTD
> Connector<BR>> > 1.0//EN' ' <A
> href="http://java.sun.com/dtd/connector_1_0.dtd'">http://java.sun.com/dtd/connector_1_0.dtd'</A><BR>>
>
> <<A
> href="http://java.sun.com/dtd/connector_1_0.dtd'">http://java.sun.com/dtd/connector_1_0.dtd'</A>>
>
> ><BR>> > <connector><BR>> >  
> <display-name>Firebird Database
> Connector</display-name><BR>>
> >   <vendor-name>David
> Jencks</vendor-name><BR>>
> >   <spec-version>1.0</spec-version><BR>>
> >   <eis-type>FireBird
> RDBMS</eis-type><BR>>
> >   <version>1.0</version><BR>>
> >  
> <license><BR>> >    
> <license-required>false</license-required><BR>>
> >   </license><BR>> >  
> <resourceadapter><BR>> >    <BR>>
> ><BR>>
> <managedconnectionfactory-class>org.firebirdsql.jca.FBManagedConnectionFacto<BR>>
>
> ry</managedconnectionfactory-class><BR>>
> >   
> <BR>> ><BR>>
> <connectionfactory-interface>javax.sql.DataSource</connectionfactory-interfa<BR>>
>
> ce><BR>> >    <BR>> ><BR>>
> <connectionfactory-impl-class>org.firebirdsql.jdbc.FBDataSource</connectionf<BR>>
>
> actory-impl-class><BR>> >    
> <connection-interface>java.sql.Connection</connection-interface><BR>>
>
> >    <BR>> ><BR>>
> <connection-impl-class>org.firebirdsql.jdbc.FBConnection</connection-impl-cl<BR>>
>
> ass><BR>> >    
> <transaction-support>XATransaction</transaction-support><BR>>
>
> >     <config-property><BR>>
> >      
> <config-property-name>Password</config-property-name><BR>>
>
> >      
> <config-property-type>java.lang.String</config-property-type><BR>>
>
> >      
> <config-property-value>sachin</config-property-value><BR>>
>
> >     </config-property><BR>>
> >     <config-property><BR>>
> >      
> <config-property-name>BlobBufferLength</config-property-name><BR>>
>
> >      
> <config-property-type>int</config-property-type><BR>>
> >      
> <config-property-value></config-property-value><BR>>
> >     </config-property><BR>>
> >     <config-property><BR>>
> >      
> <config-property-name>Database</config-property-name><BR>>
>
> >      
> <config-property-type>java.lang.String</config-property-type><BR>>
>
> >      <BR>> ><BR>>
> <config-property-value>jdbc:firebirdsql:sachin/3050:/firebird/soapDB.gdb</co<BR>>
>
> nfig-property-value><BR>> >    
> </config-propert<br/><br/>(Message over 64 KB, truncated)