[JBoss-user] [Connectors and JCA/JBoss] - Re: Cant connect to db

2004-03-08 Thread aslani
Adrian I dont care how many questions U have answered and who U are. I just started learning J2EE the past 2 months and off course I am having problems understanding it. If thats a problem for U, dont answer my questions, I am sure there is ppl. with manners out there that can help me. Why are

[JBoss-user] [EJB/JBoss] - Re: Getting ClassCastException in client

2004-03-08 Thread aslani
hi dennislee, if I try your suggestion I get this error: | org/openbroad/j2ee/client/user/view/model/FilelistModel.java [81:1] cannot resolve symbol | symbol : method elements () | location: interface java.util.Enumeration | col = fileRemoteHome.findAll().elements(); |

[JBoss-user] [EJB/JBoss] - Getting ClassCastException in client

2004-03-07 Thread aslani
Am getting an ClassCastException when I try to parse Object to File and I really dont know why? This is the find method in BMP bean: public Enumeration ejbFindAll() | { | Vector l = new Vector(); | Connection con = null; | ResultSet rs = null; | t

[JBoss-user] [Connectors and JCA/JBoss] - Re: Cant connect to db

2004-03-07 Thread aslani
Then don't lol http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824576#3824576";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3824576>Reply to the post --- This SF.Net email is spons

[JBoss-user] [Connectors and JCA/JBoss] - Re: Cant connect to db

2004-03-06 Thread aslani
I allready seached the google to find a solution to the error and couldn't find anything. Then I asked here and why is that a problem for U? http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824533#3824533";>View the original post http://www.jboss.org/index.html?module=bb&op=posting

[JBoss-user] [Connectors and JCA/JBoss] - Re: Cant connect to db

2004-03-06 Thread aslani
Anyway i tried like this with XDoclet: [EMAIL PROTECTED] * res-ref-name="OpenBroadDB" * res-type="DataSource" * res-auth="Container" But still I got the same error? http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824513#3824513";>View the original post http://www.

[JBoss-user] [Connectors and JCA/JBoss] - Re: Cant connect to db

2004-03-06 Thread aslani
Hi adrian I dont have any definition in neither ejb-jar.xml or jboss.xml. Am using XDoclet, so how could I solve this? http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824512#3824512";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3824512>R

[JBoss-user] [Connectors and JCA/JBoss] - Cant connect to db

2004-03-06 Thread aslani
Am trying to connect to db from BMP bean but getting this error: 14:16:08,140 INFO [EJBDeployer] Deployed: file:/D:/Udvikling/JBoss/jboss-3.2.3/ | jboss-3.2.3/server/default/deploy/OpenBroad-0.2.5_EJB.jar | 14:16:08,171 INFO [MainDeployer] Deployed package: file:/D:/Udvikling/JBoss/jbo | s

[JBoss-user] [EJB/JBoss] - Re: Error when deploying BMP bean?

2004-03-06 Thread aslani
thx alot... http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824498#3824498";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3824498>Reply to the post --- This SF.Net email is sponsored by:

[JBoss-user] [EJB/JBoss] - Error when deploying BMP bean?

2004-03-06 Thread aslani
When I try to create my BMP bean with XDoclet like this: /** | * FileBMPBean | * | * @author OpenBroad Group | * | * @ejb.bean | * name="FileBMP" | * type="BMP" | * local-jndi-name="ejb/entity/BMP/FileBMP" | * primkey-field="id" | * | [EMAIL PR

[JBoss-user] [EJB/JBoss] - Getting exception after putting relations between entity bea

2004-03-02 Thread aslani
After putting relations between CMP beans, we are getting this exception when calling CMP beans from stateless beans. Can someone plz help us, we are stuck : org.jboss.tm.JBossTransactionRolledbackException: Internal error getting results for field member type; CausedByException is: |

[JBoss-user] [Persistence & CMP/JBoss] - Re: Get an JBossTransactionRolledbackException ?

2004-03-01 Thread aslani
Hi again The entire code can be downloadet from my site on : http://www.aslani.dk/source.zip By running ant on build.xml U can generate the hole struktur. Thx again for helping me... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823692#3823692 Reply to th

[JBoss-user] [Persistence & CMP/JBoss] - Re: Get an JBossTransactionRolledbackException ?

2004-02-29 Thread aslani
Java type = String Column type = varchar 100 value = aslani version = jboss-3.2.3 thx trying to help me... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823503#3823503 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&

[JBoss-user] [Persistence & CMP/JBoss] - Re: Get an JBossTransactionRolledbackException ?

2004-02-28 Thread aslani
no loubyansky, am accessing them through my session beans... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823420#3823420 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823420

[JBoss-user] [Persistence & CMP/JBoss] - Get an JBossTransactionRolledbackException ?

2004-02-28 Thread aslani
After putting relations to my CMP entities I get this exception when I try to run my client. Can someone plz support me on this? org.jboss.tm.JBossTransactionRolledbackException: Internal error getting results for field member user; CausedByException is: | Unable to load to deserializ