[JBoss-user] [EJB 3.0] - BUG ? : IllegalArgumentException occurred calling getter of

2006-01-17 Thread chelaru.viorel
perfectly..who's fault is it ? jboss's because doesn't proxy the session bean ? or mine ? thanks, chelaru.viorel View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3917783#3917783 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - IllegalArgumentException occurred calling getter

2006-01-16 Thread chelaru.viorel
perfectly wellis it because i want to persist an entity from a thread, schedulable ? i don't know...just saying thanks chelaru.viorel View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3917723#3917723 Reply to the post : http://www.jboss.com/index.html

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: IllegalArgumentException occurred calling getter

2006-01-16 Thread chelaru.viorel
i found out that this is happening because the class is not proxied.but why the session beans of the .ejb3 jar deployed in my ear are proxied and the .ejb3 jar deployed directly in the deploy directory of jboss is not proxiedhow can i proxy it ??? please help, chelaru.viorel View

[JBoss-user] [EJB 3.0] - Re: ids for this class must be manually assigned before call

2006-01-16 Thread chelaru.viorel
yes, i put auto and i setted manually...i solved the problem letting the AUTO and ignoring the id setter thanks, chelaru.viorel View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3917781#3917781 Reply to the post : http://www.jboss.com/index.html?module=bbop

[JBoss-user] [EJB 3.0] - no transaction is in progress in Schedulable

2006-01-15 Thread chelaru.viorel
context but how can i get the persistence context ? thanks, chelaru.viorel View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3917515#3917515 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3917515

[JBoss-user] [EJB 3.0] - Re: Class Cast Exception with lookup

2006-01-15 Thread chelaru.viorel
hi, i have exactly the same problem only my interface is named LoginInterface and i have a single .ejb3 jar that is sittuated in my ear directory outside the war directory and iu get ClassCastException:$Proxy81 . i use jboss4.0.3SP1. thanks, chelaru.viorel View the original post : http

[JBoss-user] [EJB 3.0] - Re: Class Cast Exception with lookup

2006-01-15 Thread chelaru.viorel
same reply thanks, chelaru.viorel View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3917563#3917563 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3917563 --- This SF.net

[JBoss-user] [EJB 3.0] - Re: get EntityManager problem in a Schedulable

2006-01-05 Thread chelaru.viorel
hi, i found out how to resolve this problem : you have to write: EntityManagerFactory emf=Persistence.createEntityManagerFactory(em); emi=emf.getEntityManager(); BUT NOT IN THE CONSTRUCTOR OF THE SCHEDULABLE thanks, Viorel View the original post :

[JBoss-user] [EJB 3.0] - get EntityManager problem in a Schedulable

2006-01-04 Thread chelaru.viorel
hi, i'm trying to get the EntityManager em from a Schedulable like this : EntityManagerFactory emf=Persistence.createEntityManagerFactory(em); emi=emf.getEntityManager(); but i don't know where to put the persistence.xml to register em; i have another persisntence.xml witch is in the

[JBoss-user] [JNDI/Naming/Network] - HANamingService (HAJNDI) AutomaticDiscovery start error

2005-11-14 Thread chelaru.viorel
hi, i'am new with jboss (4.0.3SP1) and ejb3 and all this stuff. i'm learning and i got an error: Failed to start AutomaticDiscovery java.net.SocketException: error setting options at java.net.PlainDatagramSocketImpl.join(Native Method) at