i am getting the following exception using MS SQL as dabase and jdbc-odbc
driver while runing a client on a CMP running a finder method. below is the
trace of the exception

[User] java.rmi.ServerException: Load failed; nested exception is:
[User]  java.lang.NullPointerException
[User] java.lang.NullPointerException
[User]  at java.lang.reflect.Field.set(Native Method)
[User]  at
org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.setCMPFieldValue(JDBCComm
and.java:654)
[User]  at
org.jboss.ejb.plugins.jaws.jdbc.JDBCLoadEntityCommand.handleResult(JD
BCLoadEntityCommand.java:117)
[User]  at
org.jboss.ejb.plugins.jaws.jdbc.JDBCQueryCommand.executeStatementAndH
andleResult(JDBCQueryCommand.java:59)
[User]  at
org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.jdbcExecute(JDBCCommand.j
ava:160)
[User]  at
org.jboss.ejb.plugins.jaws.jdbc.JDBCLoadEntityCommand.execute(JDBCLoa
dEntityCommand.java:82)
[User]  at
org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.loadEntity(JAWSPers
istenceManager.java:150)
[User]  at
org.jboss.ejb.plugins.CMPPersistenceManager.loadEntity(CMPPersistence
Manager.java:341)
[User]  at
org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntityS
ynchronizationInterceptor.java:192)
[User]  at
org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstance
Interceptor.java:186)
[User]  at
org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.ja
va:133)
[User]  at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxIntercep
torCMT.java:263)
[User]  at
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:9
9)
[User]  at
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.
java:190)
[User]  at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
[User]  at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:323)
[User]  at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPCon
tainerInvoker.java:392)
[User]  at java.lang.reflect.Method.invoke(Native Method)
[User]  at
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:241)
[User]  at sun.rmi.transport.Transport$1.run(Transport.java:152)
[User]  at java.security.AccessController.doPrivileged(Native Method)
[User]  at sun.rmi.transport.Transport.serviceCall(Transport.java:148)
[User]  at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4
65)
[User]  at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport
.java:706)
[User]  at java.lang.Thread.run(Thread.java:484)


please somebody help.

thanks.


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> [EMAIL PROTECTED]
> Sent: Friday, July 13, 2001 5:04 PM
> To: [EMAIL PROTECTED]
> Subject: JBoss-user digest, Vol 1 #1115 - 7 msgs
>
>
> Send JBoss-user mailing list submissions to
>       [EMAIL PROTECTED]
>
> To subscribe or unsubscribe via the World Wide Web, visit
>       http://lists.sourceforge.net/lists/listinfo/jboss-user
> or, via email, send a message with subject or body 'help' to
>       [EMAIL PROTECTED]
>
> You can reach the person managing the list at
>       [EMAIL PROTECTED]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of JBoss-user digest..."
>
>
> Today's Topics:
>
>    1. RE: Servlet to EJB Communication with Embedded Tomcat (John
> P. Coffey)
>    2. Re: O/R mapping for an Array (Michael Jara)
>    3. Local class not compatible error. (Daryl Beattie)
>    4. RE: O/R mapping for an Array (Alex Radka)
>    5. More than one TopicConnectionFactory?? (Scott Bermon)
>    6. Re: SB timeout -> passivation -> activation failure (Michael Jara)
>    7. RE: BLOB (Jord Sonneveld)
>
> --__--__--
>
> Message: 1
> From: "John P. Coffey" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Subject: RE: [JBoss-user] Servlet to EJB Communication with
> Embedded Tomcat
> Date: Fri, 13 Jul 2001 16:16:25 -0400
> Reply-To: [EMAIL PROTECTED]
>
> It looke like I was missing the first sentence, doh!  It should have read
>
> I have a basic problem calling invoking an EJB from a servlet
> when using the
> embedded (single VM) tomcat solution.  If I use a separate vm everything
> works fine.  With the separate VM solution I has to ensuer that I called
> System.setProperty("java.security.auth.login.config",
> "file:../client/auth.conf"); so that ClientLogin module was used.  The
> client login module seems to store the userid and password and marshall it
> along to the server for server side autnentication against the
> DataBaseServerLoginModule (that I have setup).   So basically this works.
>
> John.
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of John P.
> Coffey
> Sent: Friday, July 13, 2001 3:18 PM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] Servlet to EJB Communication with Embedded Tomcat
>
>
> everything works fine.  With the separate VM solution I has to
> ensuer that I
> called System.setProperty("java.security.auth.login.config",
> "file:../client/auth.conf"); so that ClientLogin module was used.  The
> client login module seems to store the userid and password and marshall it
> along to the server for server side autnentication against the
> DataBaseServerLoginModule (that I have setup).   So basically this works.
>
> The problem occurs when I try to use the embedded tomcat, if I specify the
> above in the servlet's init method, the Jboss Server side will come back
> with an authenticatino exception, I stepped through the code and the
> security within the JBoss server does not have a security principal or
> credentials associated with it and when it calls the
> DatabaseServerLoginModule it dies and fails to authenticate.
>
> Is there somethign stupid I am misssing here.  I know it is
> possible because
> I have modified the jaas test project to talk to my database and
> extract the
> group and role information from my PDSDataSource as per the
> auth.conf below
> (in the tomcat directory).
>
> jboss.xml
>       <!-- All bean containers use this security manager by
> default @JC -->
>       <security-domain>java:/jaas/other</security-domain>
>       <container-configurations>
>       <container-configuration>
>               <container-name>Standard CMP EntityBean</container-name>
>
> <role-mapping-manager>java:/jaas/other</role-mapping-manager>
>
> <authentication-module>java:/jaas/other</authentication-module>
>       </container-configuration>
>       <container-configuration>
>               <container-name>Standard Stateless
> SessionBean</container-name>
>
> <role-mapping-manager>java:/jaas/other</role-mapping-manager>
>
> <authentication-module>java:/jaas/other</authentication-module>
>       </container-configuration>
>       <container-configuration>
>               <container-name>Standard Stateful
> SessionBean</container-name>
>
> <role-mapping-manager>java:/jaas/other</role-mapping-manager>
>
> <authentication-module>java:/jaas/other</authentication-module>
>       </container-configuration>
>       </container-configurations>
>
> I am really curious is there a way to use the role definitions in tomcat's
> web.xml to secure servlet alias's and to also pass useir/password
> information along with post parameters?
>
> John Coffey
> Pingtel Corporation
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
>
> --__--__--
>
> Message: 2
> From: "Michael Jara" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Subject: Re: [JBoss-user] O/R mapping for an Array
> Date: Fri, 13 Jul 2001 14:32:27 -0600
> Reply-To: [EMAIL PROTECTED]
>
> I needed to persist some arrays as part of an entity bean too.  I was
> formerly using Orion, which does that automatically.  With JBoss, it looks
> like you have to do it one of three ways:
>
> 1. Save it yourself using JDBC to write to another table, keyed to your
> bean.  (requires a certain amount of coding.)
> 2. Serialize the object (simple, but not good if you need plain
> text... such
> as if the array contains foreign keys.)
> 3. Use Cocobase.  (Expensive.)
>
> I ended up with #1.
>
> Mike
>
> ----- Original Message -----
> From: "Anthony IVETAC" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, July 13, 2001 8:09 AM
> Subject: [JBoss-user] O/R mapping for an Array
>
>
> > I would like one of my entity beans to have an attribute of
> type Array (or
> any
> > Java list), but am not sure how to define the O/R mapping for
> this type -
> can
> > anyone please help me? I assume that a new table will be created for the
> array
> > to be stored in.
> >
> > The values stored in the array will all be of primitive type.
> >
> > Thankyou very much.
> >
> >
> >
> >
> > _______________________________________________
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/jboss-user
> >
>
>
>
> --__--__--
>
> Message: 3
> From: Daryl Beattie <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Date: Fri, 13 Jul 2001 16:41:03 -0400
> Subject: [JBoss-user] Local class not compatible error.
> Reply-To: [EMAIL PROTECTED]
>
> This message is in MIME format. Since your mail reader does not understand
> this format, some or all of this message may not be legible.
>
> ------_=_NextPart_001_01C10BDC.22607C06
> Content-Type: text/plain;
>       charset="iso-8859-1"
>
> Hi everyone,
>
>         Does anybody know what this error means? I'm using
> JBoss-2.4.0_Tomcat-3.2.2. The code works in normal JBoss-2.2.1... But in
> 2.4.0 it gives me this. The code is not much more complicated than the
> InterestBean example. After "Got context" I usually see "Got
> reference", but
> instead, I get this:
>
>      [java] .2724 [main] INFO Authentication Module Tester  - Got context
>      [java] 2724 [main] INFO Authentication Module Tester  - Got context
>      [java] 2724 [main] ERROR Authentication Module Tester  -
> javax.naming.CommunicationException [Root exception is
> java.io.InvalidClassException:
> org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy; Local class not
> compatible:
> stream classdesc serialVersionUID=432426690456622923 local class
> serialVersionUID=6136307389075444997]
>      [java] 2724 [main] ERROR Authentication Module Tester  -
> javax.naming.CommunicationException [Root exception is
> java.io.InvalidClassException:
> org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy; Local class not
> compatible:
> stream classdesc serialVersionUID=432426690456622923 local class
> serialVersionUID=6136307389075444997]
>
>         I'd appreciate any input. Thanks. :)
>
> Sincerely,
>
>         Daryl.
>
>
> Daryl Beattie
> Java Developer/Research and Development
> ScreamingMedia
> 601 West 26 Street 13 Floor
> New York New York 10001
> T 212 691 7900 F 212 691 1483
> Direct 212 659 1895
> www.screamingmedia.com <http://www.screamingmedia.com/>
>
>
>  <http://www.screamingmedia.com/> ScreamingMedia
>
> ScreamingMedia  <http://www.screamingmedia.com/en/press/> makes headlines
>
>
>
> ------_=_NextPart_001_01C10BDC.22607C06
> Content-Type: text/html;
>       charset="iso-8859-1"
>
> <!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 5.00.3315.2870" name=GENERATOR></HEAD>
> <BODY>
> <DIV><FONT face=Arial size=2><SPAN class=846573520-13072001>Hi
> everyone,</SPAN></FONT></DIV>
> <DIV><FONT face=Arial size=2><SPAN
> class=846573520-13072001></SPAN></FONT>&nbsp;</DIV>
> <DIV><FONT face=Arial size=2><SPAN
> class=846573520-13072001>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
> ; Does anybody
> know what this error means? I'm using JBoss-2.4.0_Tomcat-3.2.2.
> The code works
> in normal JBoss-2.2.1... But in 2.4.0 it gives me this. The code
> is not much
> more complicated than the InterestBean example. After "Got
> context" I usually
> see "Got reference", but instead, I get this:</SPAN></FONT></DIV>
> <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
> <DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp; [java]
> .2724 [main] INFO
> Authentication Module Tester&nbsp; - Got
> context<BR>&nbsp;&nbsp;&nbsp;&nbsp;
> [java] 2724 [main] INFO Authentication Module Tester&nbsp; - Got
> context<BR>&nbsp;&nbsp;&nbsp;&nbsp; [java] 2724 [main] ERROR
> Authentication
> Module Tester&nbsp; - javax.naming.CommunicationException [Root
> exception is
> java.io.InvalidClassException:
> org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy;
> Local class not compatible: stream classdesc
> serialVersionUID=432426690456622923
> local class
> serialVersionUID=6136307389075444997]<BR>&nbsp;&nbsp;&nbsp;&nbsp;
> [java] 2724 [main] ERROR Authentication Module Tester&nbsp; -
> javax.naming.CommunicationException [Root exception is
> java.io.InvalidClassException:
> org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy;
> Local class not compatible: stream classdesc
> serialVersionUID=432426690456622923
> local class serialVersionUID=6136307389075444997]</FONT></DIV>
> <DIV>&nbsp;</DIV>
> <DIV><FONT face=Arial size=2><SPAN
> class=846573520-13072001>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I'd
> appreciate any input. Thanks. :)</SPAN></FONT></DIV>
> <DIV><FONT face=Arial size=2><SPAN
> class=846573520-13072001></SPAN></FONT>&nbsp;</DIV>
> <DIV><FONT face=Arial size=2><SPAN
> class=846573520-13072001>Sincerely,</SPAN></FONT></DIV>
> <DIV><FONT face=Arial size=2><SPAN
> class=846573520-13072001></SPAN></FONT>&nbsp;</DIV>
> <DIV><FONT face=Arial size=2><SPAN
> class=846573520-13072001>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> Daryl.</SPAN></FONT></DIV>
> <DIV>&nbsp;</DIV>
> <DIV>
> <P><FONT face=verdana size=1>Daryl Beattie<BR>Java Developer/Research and
> Development<BR><B>ScreamingMedia</B><BR>601 West 26 Street 13
> Floor<BR>New York
> New York 10001<BR>T 212 691 7900 F 212 691 1483<BR>Direct 212 659
> 1895<BR><A
> href="http://www.screamingmedia.com/";
> target=_blank>www.screamingmedia.com</A>
> <P><A href="http://www.screamingmedia.com/"; target=_blank><IMG
> alt=ScreamingMedia border=0
> src="http://www.screamingmedia.com/en/logos/logo_157x40.gif";></A><
> BR><BR><A
> href="http://www.screamingmedia.com/en/press/";
> target=_blank>ScreamingMedia
> makes headlines</A></FONT></P></DIV>
> <DIV>&nbsp;</DIV></BODY></HTML>
>
> ------_=_NextPart_001_01C10BDC.22607C06--
>
>
> --__--__--
>
> Message: 4
> From: "Alex Radka" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Subject: RE: [JBoss-user] O/R mapping for an Array
> Date: Fri, 13 Jul 2001 16:52:43 -0400
> Reply-To: [EMAIL PROTECTED]
>
> Not %100 what context you need it in, but exolab's castor offers
> (free) O/R
> mapping and persistence.  Even a link to it off the Jboss page (3rd party
> tools).
>
> I just wrap the calls in a session bean, but there are others
> that use it as
> a persistence tool in BMP.
>
> Type of things it does:
> I have a customer that has a 1:many relationship with locations.
>
> I can map a location to a customer. When I load the customer, it
> writes the
> SQL to pull all the related locations and fill my customer object,
> accordingly. I can create/update/remove locations by updating the customer
> object and things are nicely kept track of in the DB and in cache.
>
> Take a look it sounds like what you need.
>
> Alex
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Michael Jara
> Sent: Friday, July 13, 2001 4:32 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] O/R mapping for an Array
>
>
> I needed to persist some arrays as part of an entity bean too.  I was
> formerly using Orion, which does that automatically.  With JBoss, it looks
> like you have to do it one of three ways:
>
> 1. Save it yourself using JDBC to write to another table, keyed to your
> bean.  (requires a certain amount of coding.)
> 2. Serialize the object (simple, but not good if you need plain
> text... such
> as if the array contains foreign keys.)
> 3. Use Cocobase.  (Expensive.)
>
> I ended up with #1.
>
> Mike
>
> ----- Original Message -----
> From: "Anthony IVETAC" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, July 13, 2001 8:09 AM
> Subject: [JBoss-user] O/R mapping for an Array
>
>
> > I would like one of my entity beans to have an attribute of
> type Array (or
> any
> > Java list), but am not sure how to define the O/R mapping for
> this type -
> can
> > anyone please help me? I assume that a new table will be created for the
> array
> > to be stored in.
> >
> > The values stored in the array will all be of primitive type.
> >
> > Thankyou very much.
> >
> >
> >
> >
> > _______________________________________________
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/jboss-user
> >
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
>
>
> --__--__--
>
> Message: 5
> From: Scott Bermon <[EMAIL PROTECTED]>
> To: "'[EMAIL PROTECTED]'"
>        <[EMAIL PROTECTED]>
> Date: Fri, 13 Jul 2001 13:56:26 -0700
> Subject: [JBoss-user] More than one TopicConnectionFactory??
> Reply-To: [EMAIL PROTECTED]
>
> This message is in MIME format. Since your mail reader does not understand
> this format, some or all of this message may not be legible.
>
> ------_=_NextPart_001_01C10BDE.48258BF0
> Content-Type: text/plain;
>       charset="iso-8859-1"
>
> Can I create more than one TopicConnectionFactory?
>
> I would like to use one for Durable Subscribers and the other
> for non-durable.
>
> But when I try to access the DurableTopicConnFactory it says it's
> not bound.
>
> In JNDIView there is only one entry for TopicConnectionFactory.
>
> HELP!
>
> jboss.xml
> --------------
> ....
> <resource-ref>
>     <res-ref-name>jms/DurableTopicConnFactory</res-ref-name>
>     <resource-name>jms/DurableTopicConnFactory</resource-name>
> </resource-ref>
> <resource-ref>
>      <res-ref-name>jms/TopicConnectionFactory</res-ref-name>
>      <resource-name>jms/TopicConnectionFactory</resource-name>
> </resource-ref>
> .....
>
>
>
> ejb-jar.xml
> ---------------
> ....
> <resource-ref>
>       <description>Supports Durable Subscriber for AFS-ATS</description>
>       <res-ref-name>jms/DurableTopicConnFactory</res-ref-name>
>       <res-type>javax.jms.TopicConnectionFactory</res-type>
>       <res-auth>Container</res-auth>
>  </resource-ref>
>  <resource-ref>
>       <description></description>
>       <res-ref-name>jms/TopicConnectionFactory</res-ref-name>
>       <res-type>javax.jms.TopicConnectionFactory</res-type>
>      <res-auth>Container</res-auth>
> </resource-ref>
>
>
> ------_=_NextPart_001_01C10BDE.48258BF0
> Content-Type: text/html;
>       charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
> charset=3Diso-8859-1">
>
>
> <META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR></HEAD>
> <BODY>
> <DIV><SPAN class=3D254424720-13072001><FONT face=3DArial size=3D2>Can I =
> create more=20
> than one TopicConnectionFactory?</FONT></SPAN></DIV>
> <DIV><SPAN class=3D254424720-13072001><FONT face=3DArial=20
> size=3D2></FONT></SPAN>&nbsp;</DIV>
> <DIV><SPAN class=3D254424720-13072001><FONT face=3DArial size=3D2>I =
> would like to use=20
> one for Durable Subscribers and the other</FONT></SPAN></DIV>
> <DIV><SPAN class=3D254424720-13072001><FONT face=3DArial size=3D2>for=20
> non-durable.</FONT></SPAN></DIV>
> <DIV><SPAN class=3D254424720-13072001><FONT face=3DArial=20
> size=3D2></FONT></SPAN>&nbsp;</DIV>
> <DIV><SPAN class=3D254424720-13072001><FONT face=3DArial size=3D2>But =
> when I=20
> </FONT></SPAN><SPAN class=3D254424720-13072001><FONT face=3DArial =
> size=3D2>try to=20
> access the DurableTopicConnFactory it says it's not =
> bound.</FONT></SPAN></DIV>
> <DIV><SPAN class=3D254424720-13072001><FONT face=3DArial=20
> size=3D2></FONT></SPAN>&nbsp;</DIV>
> <DIV><SPAN class=3D254424720-13072001><FONT face=3DArial size=3D2>In =
> JNDIView there is=20
> only one entry for TopicConnectionFactory.</FONT></SPAN></DIV>
> <DIV><SPAN class=3D254424720-13072001><FONT face=3DArial=20
> size=3D2></FONT></SPAN>&nbsp;</DIV>
> <DIV><SPAN class=3D254424720-13072001><FONT face=3DArial=20
> size=3D2>HELP!</FONT></SPAN></DIV>
> <DIV><SPAN class=3D254424720-13072001><FONT face=3DArial=20
> size=3D2></FONT></SPAN>&nbsp;</DIV>
> <DIV><SPAN class=3D254424720-13072001><FONT face=3DArial=20
> size=3D2>jboss.xml</FONT></SPAN></DIV>
> <DIV><SPAN class=3D254424720-13072001><FONT face=3DArial=20
> size=3D2>--------------</FONT></SPAN></DIV>
> <DIV><SPAN class=3D254424720-13072001><FONT face=3DArial=20
> size=3D2>....</FONT></SPAN></DIV>
> <DIV><SPAN class=3D254424720-13072001><FONT face=3DArial=20
> size=3D2>&lt;resource-ref&gt;<BR>&nbsp;&nbsp;&nbsp;=20
> &lt;res-ref-name&gt;jms/DurableTopicConnFactory&lt;/res-ref-name&gt;<BR>=
> &nbsp;&nbsp;&nbsp;=20
> &lt;resource-name&gt;jms/DurableTopicConnFactory&lt;/resource-name&gt;<B=
> R>&lt;/resource-ref&gt;<BR>&lt;resource-ref&gt;<BR>&nbsp;&nbsp;&nbsp;&nb=
> sp;=20
> &lt;res-ref-name&gt;jms/TopicConnectionFactory&lt;/res-ref-name&gt;<BR>&=
> nbsp;&nbsp;&nbsp;&nbsp;=20
> &lt;resource-name&gt;jms/TopicConnectionFactory&lt;/resource-name&gt;<BR=
> >&lt;/resource-ref&gt;</FONT></SPAN></DIV>
> <DIV><SPAN class=3D254424720-13072001><FONT face=3DArial=20
> size=3D2>.....</FONT></SPAN></DIV>
> <DIV><SPAN class=3D254424720-13072001><FONT face=3DArial=20
> size=3D2></FONT></SPAN>&nbsp;</DIV>
> <DIV><SPAN class=3D254424720-13072001><FONT face=3DArial=20
> size=3D2></FONT></SPAN>&nbsp;</DIV>
> <DIV><SPAN class=3D254424720-13072001><FONT face=3DArial=20
> size=3D2></FONT></SPAN>&nbsp;</DIV>
> <DIV><SPAN class=3D254424720-13072001><FONT face=3DArial=20
> size=3D2>ejb-jar.xml</FONT></SPAN></DIV>
> <DIV><SPAN class=3D254424720-13072001><FONT face=3DArial=20
> size=3D2>---------------</FONT></SPAN></DIV>
> <DIV><SPAN class=3D254424720-13072001><FONT face=3DArial=20
> size=3D2>....</FONT></SPAN></DIV>
> <DIV><SPAN class=3D254424720-13072001><FONT face=3DArial=20
> size=3D2>&lt;resource-ref&gt;<BR>&nbsp;&nbsp; &nbsp;&nbsp;=20
> &lt;description&gt;Supports Durable Subscriber for=20
> AFS-ATS&lt;/description&gt;<BR>&nbsp; &nbsp;&nbsp;&nbsp;=20
> &lt;res-ref-name&gt;jms/DurableTopicConnFactory&lt;/res-ref-name&gt;<BR>=
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
> &lt;res-type&gt;javax.jms.TopicConnectionFactory&lt;/res-type&gt;<BR>&nb=
> sp;&nbsp;&nbsp;&nbsp;&nbsp;=20
> &lt;res-auth&gt;Container&lt;/res-auth&gt;<BR>&nbsp;&lt;/resource-ref&gt=
> ;<BR>&nbsp;&lt;resource-ref&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
> &lt;description&gt;&lt;/description&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
> ;=20
> &lt;res-ref-name&gt;jms/TopicConnectionFactory&lt;/res-ref-name&gt;<BR>&=
> nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
> &lt;res-type&gt;javax.jms.TopicConnectionFactory&lt;/res-type&gt;<BR>&nb=
> sp;&nbsp;&nbsp;&nbsp;=20
> &lt;res-auth&gt;Container&lt;/res-auth&gt;<BR>&lt;/resource-ref&gt;</FON=
> T></SPAN></DIV>
> <DIV><SPAN class=3D254424720-13072001><FONT face=3DArial=20
> size=3D2></FONT></SPAN>&nbsp;</DIV></BODY></HTML>
>
> ------_=_NextPart_001_01C10BDE.48258BF0--
>
>
> --__--__--
>
> Message: 6
> From: "Michael Jara" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Subject: Re: [JBoss-user] SB timeout -> passivation -> activation failure
> Date: Fri, 13 Jul 2001 14:52:55 -0600
> Reply-To: [EMAIL PROTECTED]
>
> I haven't done much experimenting with performance settings, but you might
> be able fix this with some adjustments the container cache policy.  See
> http://www.jboss.org/documentation/HTML/ch06s08.html, the section on
> "Advanced cache configuration".  You might try adjusting the
> <max-bean-age>
> setting.  (I assume this can apply to stateful session bean timeouts.)
>
> Mike
>
> ----- Original Message -----
> From: "Mike Finn" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, July 13, 2001 11:40 AM
> Subject: [JBoss-user] SB timeout -> passivation -> activation failure
>
>
> > If I let a 'connected' client sit around for more than apporx 20
> > minutes it blows on its next attempt to use a remote method
> > of the SessionBean (only the one session appears to be blown, since
> > I can start a new client session without restarting the server).
> >
> > What I want is to be able to have the client's session stay alive for
> > a very long time (12-15 hours total) and be able to survive 2-3 hours
> > of inactivity.  It seems (from the messages below) that my sessions
> > cannot be restored once passivated.
> >
> > Is this a timeout/activation problem that can be fixed by changing my
> > configuration?
> > Is there any more info I can provide to help diagnose the problem?
> > or more simply.... Help! How can I fix this?
> >
> > Thanks in advance for any help.
> > Mike
> >
> > Server = JBoss-2.2.1_Tomcat-3.2.1
> >
> > ***** Messages that seem relevant which appear in server log
> ***********
> >
> > [Bean Cache] Scheduling for passivation overaged bean
> gb/Session with id =
> > 995041851805 - Cache size = 2
> > [Bean Cache] Aging out from cache bean gb/Sessionwith id = 995041851805;
> > cache size = 2
> > [Container factory] Scheduled passivation of bean gb/Session with id =
> > 995041851805
> > [Container factory] Passivated bean gb/Session with id = 995041851805
> > ...
> > ....  (other non-relevant stuff)
> > ....
> > [gb/Session] TRANSACTION ROLLBACK EXCEPTION:$Proxy6; nested
> exception is:
> >         java.rmi.NoSuchObjectException: $Proxy6
> > [gb/Session] java.rmi.NoSuchObjectException: $Proxy6
> > [gb/Session]    at
> >
> org.jboss.ejb.plugins.AbstractInstanceCache.get(AbstractInstanceCa
> che.java:1
> 7
> > 3) [gb/Session]    at
> >
> org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(St
> atefulSess
> i
> > onInstanceInterceptor.java:157) [gb/Session]    at
> >
> org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT
> .java:133)
> > [gb/Session]    at
> >
> org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInter
> ceptorCMT.
> j
> > ava:263) [gb/Session]    at
> > org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:99)
> > [gb/Session]    at
> > org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
> > [gb/Session]    at
> >
> org.jboss.ejb.StatefulSessionContainer.invoke(StatefulSessionConta
> iner.java:
> 3
> > 26) [gb/Session]    at
> >
> org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMP
> ContainerI
> n
> > voker.java:392) [gb/Session]    at
> java.lang.reflect.Method.invoke(Native
> >  Method)
> > [gb/Session]    at
> > sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:241)
> > [gb/Session]    at sun.rmi.transport.Transport$1.run(Transport.java:142)
> > [gb/Session]    at java.security.AccessController.doPrivileged(Native
> Method)
> > [gb/Session]    at
> >  sun.rmi.transport.Transport.serviceCall(Transport.java:139)
> [gb/Session]
> >  at
> > sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:443)
> > [gb/Session]    at
> >
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransp
> ort.java:6
> 4
> > 3) [gb/Session]    at java.lang.Thread.run(Thread.java:484)
> >
> > ===================
> > Mike Finn
> > Tactical Executive Systems
> > [EMAIL PROTECTED]
> >
> > _______________________________________________
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/jboss-user
> >
>
>
>
> --__--__--
>
> Message: 7
> Subject: RE: [JBoss-user] BLOB
> Date: Fri, 13 Jul 2001 17:02:51 -0400
> From: "Jord Sonneveld" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
>
> you'll need to create a class that implements blob, and knows how to
> serialize your image according to the blob interface.
>
> j\s
>
> -----Original Message-----
> From: david [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 13, 2001 3:20 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] BLOB
>
>
> Hi,
> Well, I wonder if it can work, I could find no way in the jdbc spec to
> create a new blob!  So maybe you could read the picture but I don't know
>
> how JAWS could insert a new row.  I hope I'm wrong, please tell me how.
>
> Thanks
> David Jencks
>
> On 2001.07.12 04:31:21 -0400 Burkhard Vogel wrote:
> > Hi,
> > If your DB driver supports blobs, why not (oracle has problems, AFAIK)
>
> > Burkhard
> > ----- Original Message -----
> > From: "Ivan Novick" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, July 12, 2001 9:16 AM
> > Subject: [JBoss-user] BLOB
> >
> >
> > > Can an entity bean contain a BLOB type attribute that represents a
> > picture
> > > in a database?
> > >
> > > Ivan
> > >
> > >
> > > _______________________________________________
> > > JBoss-user mailing list
> > > [EMAIL PROTECTED]
> > > http://lists.sourceforge.net/lists/listinfo/jboss-user
> >
> >
> > _______________________________________________
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/jboss-user
> >
>
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
>
> --__--__--
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
> End of JBoss-user Digest


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to