[JBoss-user] [Persistence & CMP/JBoss] - Re: JDBCLoadRelationCommand producing NullPointerException

2005-01-12 Thread bsaravan
Correction: I am trying to deploy it in JBoss 4.0 RC2.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861836#3861836

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861836


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - JDBCLoadRelationCommand producing NullPointerException

2005-01-12 Thread bsaravan
Hi,

My application works under JBoss 3.2.1 but fails under JBoss 4.0.  I receive 
the following error:


  | 2005-01-11 17:59:31,078 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadRelationCommand.MediaEJB] load relation 
SQL: SELECT media_id, id FROM audio with (xlock) WHERE (media_id=?) OR 
(media_id=?)
  | 2005-01-11 17:59:31,078 ERROR [org.jboss.ejb.plugins.LogInterceptor] 
TransactionRolledbackLocalException in method: public abstract void 
com.harris.has.content.ejb.MediaEJB.update(com.harris.has.model.content.Media), 
causedBy:
  | java.lang.NullPointerException
  | at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadRelationCommand.execute(JDBCLoadRelationCommand.java:147)
  | at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadRelation(JDBCStoreManager.java:695)
  | at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge.load(JDBCCMRFieldBridge.java:1295)
  | at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge.getInstanceValue(JDBCCMRFieldBridge.java:649)
  | at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge.getValue(JDBCCMRFieldBridge.java:602)
  | at 
org.jboss.ejb.plugins.cmp.bridge.EntityBridgeInvocationHandler$FieldGetInvoker.invoke(EntityBridgeInvocationHandler.java:133)
  | at 
org.jboss.ejb.plugins.cmp.bridge.EntityBridgeInvocationHandler.invoke(EntityBridgeInvocationHandler.java:91)
  | at org.jboss.proxy.compiler.Runtime.invoke(Runtime.java:62)
  | at 
com.harris.has.content.ejb.MediaEJBBean$Proxy.getAudioEJB()
  | at com.harris.has.content.ejb.MediaEJBBean.update(MediaEJBBean.java:233)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 
  | 


Here is the relationship between MediaEJB and AudioEJB.


  | 
  | mediaEJB-audioEJB
  | 
  | mediaEJB
  | 
MediaEJBRelationshipRole
  | One
  | 
  | mediaEJB
  | MediaEJB
  | 
  | 
  | audioEJB
  | audioEJB
  | 
  | 
  | 
  | audioEJB
  | 
AudioEJBRelationshipRole
  | One
  | 
  | 
  | audioEJB
  | AudioEJB
  | 
  | 
  | mediaEJB
  | mediaEJB
  | 
  | 
  | 
  | 

Any ideas on what the problem could be?

Thanks,
Bala

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861835#3861835

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861835


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET] - Re: JBoss.Net doesn't work with Jboss 3.2.6RC2 and JBoss 4.0

2004-10-21 Thread bsaravan
I have the same problem as pepite.  I tried the technique as suggested by yaaarrrgg.  
Could not get it to work.  Has anyone else encountered this problem and resolved it?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852275#3852275

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852275


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: JBoss 4 + tomcat 5 clustering with TreeCache: can't conf

2004-10-13 Thread bsaravan
Since my questions are now more related to JBossCache than JBoss setup, I will post my 
questions in the JBossCache forum.

Thanks,
Bala

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851341#3851341

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851341


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: JBoss 4 + tomcat 5 clustering with TreeCache: can't conf

2004-10-13 Thread bsaravan
I solved my problem by commenting back the line in jboss-service.xml.  I didn't need 
Tomcat clustering, but I would like to use JBossCache for my application.  I am using 
JBoss 3.2.6RC2.  So how do I setup a Cache service for my application?

Thanks,
Bala

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851340#3851340

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851340


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user