[JBoss-user] ejb-ql count and where

2003-09-20 Thread Stefan Groschupf
Hi, I got my ejbSelect running well now but running in trouble with the ejb ql syntax now. I have a entity bean called OccurrenceBean that has an relation to a topic bean and to a document bean . Now o wish to find the 10 topics of a given document that have that have the most association to o

[JBoss-user] ear redeployment error on Jboss 3.2.2RC4

2003-09-20 Thread Egger Lothar
hi all i got some exception on redeploying an ear. is this a bug? cheers lothar 14:05:24,453 INFO [Engine] ContextConfig[/intranet]: Added certificates -> request attribute Valve 14:05:24,677 WARN [EmbeddedTomcatService] Unable to invoke setDelegate on class loader:[EMAIL PROTECTED] 14:05:24,

Re: [JBoss-user] commit-option A: CMP fields not updated bug?

2003-09-20 Thread Scott M Stark
Your going to have to create a bug report with a testcase as I certainly don't see this behavior. Submit the bug report here: https://sourceforge.net/tracker/?group_id=22866&atid=376685 -- Scott Stark Chief Technology Officer JBoss Group, LLC Martin

Re: [JBoss-user] JBoss welcomes the Hibernate project

2003-09-20 Thread Jarkko Lietolahti
Hello, Any information what will happen to the current JBossJDO implementation and will it make to Jboss 4.0 or atleast to JBoss 4.0DR3? I've noticed that the current Jboss CVS version no longer include the persistence-project (and thus no jboss-persistence and jbossdo.jar etc...) is this a

Re: [JBoss-user] ejbSelect

2003-09-20 Thread Adrian Brock
"A select method is a query method that is not directly exposed to the client in the home or component interface. The bean provider typically calls a select method within a business method." If you want to expose it in the home add an ejbHome that delegates to ejbSelect Regards, Adrian On Sat, 2

[JBoss-user] ejbSelect

2003-09-20 Thread Stefan Groschupf
Hi friends, please help me, I browse since hours the web and documentation's to find my problem. I wish to use an ejb.select method since I want to use a "distinct", Bill told me it is implemented in 3.2.x I use xdoclet for generating my home interfaces and have this code in my Bean implementat

RE: [JBoss-user] JBoss with WAP Server

2003-09-20 Thread Marco.Mistroni
Hi Lior have u tested with a real phone? thanx and regards marco > -Original Message- > From: ext Lior Kanfi [mailto:[EMAIL PROTECTED] > Sent: 17 September, 2003 12:22 > To: [EMAIL PROTECTED] > Subject: [JBoss-user] JBoss with WAP Server > > > Hi, > > I have used JBoss-T

Re: [JBoss-user] load-balance polices

2003-09-20 Thread Adrian Brock
On Fri, 2003-09-19 at 10:47, Rafal Kedziorski wrote: > hi, > > in the latest (2003-08-03) payed clustering documentation on page 37 > listing 5-5 and 5-6 shows how poxies works. > > Now my question. We workinf with JBoss 3.2.2RC2 and 3.2.2RC4 and start to > develop an application which will run

RE: [JBoss-user] Thread and MDB

2003-09-20 Thread Sacha Labourey
Your MDB is transacted and the transaction has a timeout => - either make the timeout value higher - or manages the Tx yourself in your MDB Cheers, Sacha xxx Sacha Labourey General Manager JBoss Group (Europe) SàRL xxx > -Original Message

Re: [JBoss-user] Thread and MDB

2003-09-20 Thread gabriel
Scott, the problem is that I´m receiving some kind of timout exception while executing my MDB, and when it happens the MDB onMessage is called again. It seems to lock the message in the queue, and then it is called lots of times. Thanks for your help. Gabriel Scott M Stark <[EMAIL PROTECTED]> e

Re: [JBoss-user] JUnitEJB and ear scoping

2003-09-20 Thread Scott M Stark
You can try the JBoss testsuite variation of the EJBTestCase that allows the jndi name of the session runner to be changed per deployment and uses the thread context class loader to load the test case rather than Class.forName which causes problems. See the testsuite/src/main/org/jboss/test/util/ej

Re: [JBoss-user] how to access servlet context

2003-09-20 Thread Scott M Stark
That is correct, getResourceAsStream should always work, it is the ServletContext.getRealPath(String) that is not guarenteed to work if the war is not unpacked. -- Scott Stark Chief Technology Officer JBoss Group, LLC Anders Engström wrote: On Mon,

Re: [JBoss-user] ClassCircularityError-QueuedPessimisticEJBLock$TxLock

2003-09-20 Thread Scott M Stark
See bug#4699981, ClassCircularityError thrown without reason during class loading http://developer.java.sun.com/developer/bugParade/bugs/4699981.html -- Scott Stark Chief Technology Officer JBoss Group, LLC Toshiya Kobayashi wrote: > Hi all, >

Re: [JBoss-user] JMS Use: Multiple Server Versions?

2003-09-20 Thread Scott M Stark
Its possible but will depend on whether the jms invocation protocol has changed in an incompatible way between versions. The non-protocol specific objects can also change incompatibly at times. Neither should occur within a x.y.z series where z is changing, but is likely y or x changes.

Re: [JBoss-user] Thread and MDB

2003-09-20 Thread Scott M Stark
You can do that if you want. -- Scott Stark Chief Technology Officer JBoss Group, LLC [EMAIL PROTECTED] wrote: Hello, can anyone help me with MDBs? Can I use threads with MDB in JBoss? Is there any problem on using it? Is it possible to call Thre

Re: [JBoss-user] load-balance polices

2003-09-20 Thread Scott M Stark
If you always want the ejb calls to ignore any colocated beans you would need to replace the org.jboss.invocation.InvokerInterceptor in the proxy-factory-config for the bean to use a variation that bypassed the colocation check. Its invoke method would simply be: public Object invoke(Invocation

Re: [JBoss-user] sar file META-INF and *-ds.xml files

2003-09-20 Thread Scott M Stark
Put the -ds.xml file in the sar outside of the META-INF dir and either put the mbean configuration in the -ds.xml. -- Scott Stark Chief Technology Officer JBoss Group, LLC Brian Wallis wrote: I am porting an app from 3.0.7 to 3.2.1 and have a -serv

Re: [JBoss-user] load-balance polices

2003-09-20 Thread Bob Cotton
Two things, I think you can set a LoadBalance policy on home lookups. xdoclet tags: * @jboss.cluster-config * partition-name="MyCluster" * home-policy="org.jboss.ha.framework.interfaces.RoundRobin" * bean-policy="org.jboss.ha.framework.interfaces.RoundRobin" The other way is not to cal

Re: [JBoss-user] CMT transaction timeouts

2003-09-20 Thread Scott M Stark
You would need to use a UserTransaction. -- Scott Stark Chief Technology Officer JBoss Group, LLC Meyer-Willner, Bernhard wrote: Hi, is it possible to set a different TX timeout for certain container managed transactions other than the default on

Re: [JBoss-user] commit-option A: CMP fields not updated bug?

2003-09-20 Thread Scott M Stark
I don't see this behavior so submit a bug report with an example to sourceforge: http://sourceforge.net/tracker/?group_id=22866&atid=376685 so we can look into your particular case. -- Scott Stark Chief Technology Officer JBoss Group, LLC Martin Vi