Re: [JBoss-user] TRANSACTION ROLLBACK EXCEPTION - need help

2001-07-15 Thread Burkhard Vogel

Hi,
another one for the record books 885 lines for two lines of question
Looks like you use primitives for your CMP-bean and try to set one to
null???
Burkhard
- Original Message -
From: "Sanjeev.Srinivas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, July 14, 2001 12:24 AM
Subject: [JBoss-user] TRANSACTION ROLLBACK EXCEPTION - need help


> 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.
>
[SNIP]


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



[JBoss-user] TRANSACTION ROLLBACK EXCEPTION - need help

2001-07-13 Thread Sanjeev.Srinivas

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.logi