[JBoss-user] [EJB 3.0] - issue finding entity with EmbeddedId using EntityManager.fin

2006-07-07 Thread ablevine1
I have a table similar to the following MY_TABLE( COL1 VARCHAR, COL2 VARCHAR, COL3 VARCHAR, COL4 VARCHAR, PRIMARY KEY(COL1, COL2, COL3) ) where there is a composite primary key mad up of columns COL1, COL2, COL3. I have the following class structure (none, some non-pertinent code is left out) @E

[JBoss-user] [Remoting] - Re: Error connecting to ejb3 cluster

2006-07-07 Thread ablevine1
I've noticed that on my companies linux machines (which are using debian sarge linux dist.), using the hostname does not work here. You need the IP address, otherwise it resolves to the loopback address and remote connections do not work. The only solution we could get to work was using the -b

[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Javassist errors with latest jboss

2006-06-08 Thread ablevine1
I believe I figured out what the underlying issue is. see this post: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=84174 Apparently, when entities use inheritance and have a return type for an overridden method that is different form the base class the "duplicate method" exception oc

[JBoss-user] [EJB 3.0] - Re: Problem with Sub Classes in JBoss 4.0.4GA

2006-06-08 Thread ablevine1
I am getting this same problem. This was not an issue in jboss-4.0.4.GA for me until I upgraded to jboss-4.0.4.GA-Patch1. When entities use inheritance and have a return type for an overridden method that is different form the base class the "duplicate method" exception occurrs. Has anyone re

[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Javassist errors with latest jboss

2006-06-08 Thread ablevine1
I am getting the same error. I just wanted to add a little bit of information. For me my code worked fine with jboss-4.0.4.GA using the ejb3-clustered configuration. As soon as I updated to jboss-4.0.4-Patch1 with the same configuration and code, I began getting the errors described above. S

[JBoss-user] [Remoting] - Re: Error connecting to ejb3 cluster

2006-05-24 Thread ablevine1
upon further notice this seems that it may be primarily an issue with debian linux. When I tried the same set up on ubuntu linux, the jboss.bind.address resolved properly to the address of the machine instead of the loopback address. Has anyone else seen this happen?? Is there potentially some

[JBoss-user] [Remoting] - Re: Error connecting to ejb3 cluster

2006-05-18 Thread ablevine1
After trying several more permutations I finally got it to work with the ejbs by changing the line socket://${jboss.bind.address}:3873 to socket://my_ip:3873 in ejb3.deployer/META-INF/jboss-service.xml. Then similary for jms, I had to update it in the file: jms/uil2-service.xml I noticed tha

[JBoss-user] [JBossCache] - Re: TransactionManager Name not bound?

2006-05-18 Thread ablevine1
yes. exactly like that. -Alex View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944749#3944749 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944749 --- Using Tomcat b

[JBoss-user] [Remoting] - Error connecting to ejb3 cluster

2006-05-18 Thread ablevine1
I am currently using jboss-4.0.4.GA on debian linux with the ejb3-clustered configuration. Whenever I try and get a remote client to use a session ben running in my server it fails. It first successfully connects to the JNDI port and receives a session stub back, but then when a mehtod call is

[JBoss-user] [Clustering/JBoss] - Re: same node in multiple clusters

2006-05-16 Thread ablevine1
Brian, thanks for the quick response. I am currently using jboss-4.0.4 which does not seem to have the tc5-cluster-service.xml file but instead has a tc5-cluster.sar directory. Am I safe to assume that the tc5-cluster.sar/META-INF/jboss-service.xml file is what I would edit to manage the weba

[JBoss-user] [JBossCache] - Re: TransactionManager Name not bound?

2006-05-16 Thread ablevine1
I get a similar "TransactionMananger not bound" error, however it occurrs in my JBoss AS startup. I am running jboss-4.0.4.GA with the ejb3-clustered configuration. I have not changed any of the config files from the defaults and I get the following exception trace in server.log when I start up

[JBoss-user] [Clustering/JBoss] - same node in multiple clusters

2006-05-12 Thread ablevine1
I have a setup where I have 4 servers A, B, C, and D. I want my EJBs clustered across all of them, but I want to isolate my HA-JMS to A and B, while isolating my webapp clustering to C and D. I was assuming that I could achieve this by making three partitions on called ejbPartition, to which a

[JBoss-user] [EJB 3.0] - Re: Binding to a bean in a jsp page

2006-04-24 Thread ablevine1
How did you get the jstl core taglib to work?? When I use the following taglib statementL <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"; %> I get an error saying that there is no taglib that corresponds to the uri: I also tried using the uri "http://java.sun.com/jstl/core"; whic

[JBoss-user] [EJB 3.0] - Re: serialVersionUID mismatch using remote client and jboss-

2006-04-07 Thread ablevine1
Nevermind. fixed this one. In addition to the current jboss jars, I also had some of the old ones in my classpath. However now I get an exception saying that it cannot find the class org.hibernate.collection.PersistentSet. Does anyone know which jar this is in?? View the original post : http:/

[JBoss-user] [EJB 3.0] - Re: Adding jars to ejb3-jar file

2006-04-07 Thread ablevine1
oops that should have been: Class-Path: A.jar B.jar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935886#3935886 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3935886 -

[JBoss-user] [EJB 3.0] - Re: Adding jars to ejb3-jar file

2006-04-07 Thread ablevine1
if you want ejbA.jar to have access to classes in A.jar and B.jar then add this line to the manifest of ejbA.jar: Class-Path: a.jar b.jar Then put A.jar and B.jar in the same directory as ejbA.jar in your ear file. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic

[JBoss-user] [EJB 3.0] - serialVersionUID mismatch using remote client and jboss-4.0.

2006-04-06 Thread ablevine1
Im am currently using jboss 4.0.4.CR2 and trying to get the server(jboss) to return an entity bean via a call to a session bean. When I run my test program, I can see the Entity bean being loaded on the server side, but then It fails to marshal it on the client side with the following stack trac