[JBoss-user] Configuring message driven beans

2002-10-28 Thread Dushyant Shrivastava
Hi guys, Had a couple of questions regarding MDB configuration! My environment : JBOSS : 3.0.2 JDK : 1.4.1 Ant : 1.4.1 1. Is there any way to configure the queue name that the MDB binds to during run time??? I know that the jboss.xml file has the MDB d

RE: [JBoss-user] Entity Bean Performance Tuning Help

2002-10-28 Thread Bill Burke
Georg stop spewing nonsenseNever ever take out the synchronization interceptor! It registers synchronzations with the TM so that the entity bean changes get committed! Please read the for-pay docs or review the archives. I have explained this shit over and over. I've added a EntityLockMonit

RE: [JBoss-user] Erroneous deadlock detected???

2002-10-28 Thread Bill Burke
Queued pessmistic is useful for caching. Without it you can't cache. You're wrong that it turns jBoss into single tasking. It really depends on your application and there are other settings you can use. Buy the for-pay docs(or search the archives, I've answered these questions a million times be

Re: [JBoss-user] One J2EE Application, Multiple Oracle Datasource

2002-10-28 Thread Phuwarin . Supawarapong
Hello Alex, Got it. I look in the dtd file and make some change in the jbosscmp-jdbc.xml file, here below. It works. java:/STKD2D Oracle8 AttributeEJB ... RadiusEJB

Re: [JBoss-user] binding ejb to wrong datasource

2002-10-28 Thread Guy Rouillier
Why do you have a resource-ref section in jboss.xml? This section should be resource-manager. Here is a working section from one of my EJBs. java:/ordermanagementDB jdbc/ordermanagementDB - Original Message - From: "Sonnek, Ryan" <[EMAIL PROTECTED]> To: <[EMA

RE: [JBoss-user] Entity Bean Performance Tuning Help

2002-10-28 Thread Luttrell, Peter
That makes sense for the weird timing observations. I tried the value object pattern with a local ejbHome method. Utilizing a finder this reduced my time from ~2200ms to ~1600, then i tried an ejbSelect which took it down to ~1400ms. Then i tried your suggestion (bulk getter) and was able to get

[JBoss-user] error when redeploying

2002-10-28 Thread Emerson Cargnin - SICREDI Serviços
I'm redeploying an app that has struts jar inside (since it's better to manage it's versions). 20:06:07,582 ERROR [ActionServlet] Parsing error processing resource path /WEB-INF/struts-config.xml java.lang.LinkageError: loader constraints violated when linking org/apache/commons/digester/Object

RE: [JBoss-user] A question on Jboss scalability!

2002-10-28 Thread Bill Burke
I did ran ECPerf tests and the RICE study on both linux and win2k. Linux was 2 times slower than Win2k. Not sure why, not much of a sys-admin so wouldn't know what to tune. Some other performance tidbits: - JBossWeb (Jetty) is 30% faster than Tomcat 4.0.4 under the heavy load tests I did. (RIC

[JBoss-user] Possible CMR Bug with Transactions

2002-10-28 Thread Leon Doud
This application imports an XML document into a database. The data contains several one-to-many relations that are stored using fk's. There is one session bean that reads the XML and creates the entity beans. The entity beans all have bidirectional relationships. When testing, the session bean

RE: [JBoss-user] JBoss/Tomcat hanging on undeploy

2002-10-28 Thread Schnitzer, Jeff
How about a slightly different question: Has anyone else experienced this, or am I alone in the universe? :-) Thanks, Jeff Schnitzer [EMAIL PROTECTED] > -Original Message- > From: Schnitzer, Jeff > Sent: Thursday, October 24, 2002 2:19 PM > To: [EMAIL PROTECTED] > Subject: [JBoss-user]

Re: [JBoss-user] JBossNetSubTask.class and jboss-net_xml.xdt

2002-10-28 Thread Derek Lin
just follow the cvs instruction to check out jboss-head.  and build the jars.  (go to /build and type build) - Original Message - From: Ricardo Escalon To: [EMAIL PROTECTED] Sent: Monday, October 28, 2002 2:32 AM Subject: Re: [JBoss-user] JBossNetSubTask.class

Re: [JBoss-user] @jboss-net:web-service

2002-10-28 Thread Derek Lin
jboss-head is the cvs branch. sorry for the confusion.   -- Derek - Original Message - From: Ricardo Escalon To: [EMAIL PROTECTED] Sent: Monday, October 28, 2002 1:57 AM Subject: Re: [JBoss-user] @jboss-net:web-service Hello Derek,   Great response! Bu

Re: [JBoss-user] transactions in stateless session bean.

2002-10-28 Thread Justin Casp
I'm getting a similar error to the post quoted below (at least, I'm getting the same error message: "A CMR collection may only be used within the transction in which it was created") when attempting to iterate through a CMR Collection in a SLSB method. here are the relevant ejb-jar.xml transact

Re: [JBoss-user] question about caching session beans in the weblayer

2002-10-28 Thread Emerson Cargnin - SICREDI Serviços
sorry it was meant to be a private msg... Emerson Cargnin - SICREDI Serviços wrote: i have been looking at your servicelcoator imp and i have some questions : 1 - does it always create a new initial context for every new home? 2 - why doesn't putting the logic in lazy loading of homes after th

Re: [JBoss-user] question about caching session beans in the weblayer

2002-10-28 Thread Emerson Cargnin - SICREDI Serviços
i have been looking at your servicelcoator imp and i have some questions : 1 - does it always create a new initial context for every new home? 2 - why doesn't putting the logic in lazy loading of homes after the null testing for a given home? Greg Turner wrote: All I have been working on this

[JBoss-user] binding ejb to wrong datasource

2002-10-28 Thread Sonnek, Ryan
does anyone know why my ejb resources are always trying to bind to java:/DefaultDS?? in jboss 3.0.3 when i deploy my ejb's, they always try to bind to DefaultDS instead of the datasource i have configured for them. i have 3 datasources configured, DefaultDS, was1DS, and was2DS to oracle databases

Re: [JBoss-user] Confused about JBoss Version Control and versions

2002-10-28 Thread Emerson Cargnin - SICREDI Serviços
i have just reaserched about patterns on branches and releases (to define our way of doing this), and one of the most import detail when getting a bug fixed is do it first in the least modified branch (I thing this would be a stable branch , like 3.0) and after that propagate it to other branch

[JBoss-user] servlet Mapping configuration error

2002-10-28 Thread Pankaj Jain
hi, I had perpared an application which works fine in jboss integrated with jetty web server but If i am putting the same application in jboss integrated with tomcat server, then i get the error "No Context configured to process the request" when i access any servlet of the application. I can able

[JBoss-user] A question on Jboss scalability!

2002-10-28 Thread Rahul Ganjoo
Hi All! I have a few queries regarding application performance and scalability of a web based app. Jboss: 3.x Tomcat:4.0.4 Op Sys: Linux(red hat 7.2),win2k,solaris DB:Oracle 9i H/W:Pentium 4 dual ,1GB RAM. Now using a profiling/testing tool we saw that not more than 440 users could use the system

Re: [JBoss-user] One J2EE Application, Multiple Oracle Datasource

2002-10-28 Thread snpe
Or You can create database link and synonym in one database to another database and work in JBoss like only one database regards Haris Peco On Monday 28 October 2002 11:17 am, Alex Loubyansky wrote: > Hello Phuwarin, > > PSsc> > > PSsc> > PSsc>java:/STKD2D > PSsc>Oracle8 > P

Re: [JBoss-user] One J2EE Application, Multiple Oracle Datasource

2002-10-28 Thread Alex Loubyansky
Hello Phuwarin, PSsc> PSsc> PSsc>java:/STKD2D PSsc>Oracle8 PSsc> PSsc> PSsc> java:/STK3D mySQL PSsc> .. PSsc> PSsc> PSsc> See jbosscmp-jdbc_3_0.dtd for more info. PSsc> Can I have another jboss

[JBoss-user] One J2EE Application, Multiple Oracle Datasource

2002-10-28 Thread Phuwarin . Supawarapong
With JBoss 3.0.3, How can I configure the entity bean using different datasource in the same J2EE application. I have already configured the oracle-service.xml bounding to different database instant and successfully test to connect to each datasource in different application. Each application havi

Re: [JBoss-user] JBossNetSubTask.class and jboss-net_xml.xdt

2002-10-28 Thread Ricardo Escalon
Okay just some dumb questions.   I found the class you are using int he CVS of sourceforge.org, but how do I download that version of JBoss, or do I just download the JBossNetSubTask.class and then try and compile it.   What do I do then, do jar it and drop it on the ant/lib?   Can you give

Re: [JBoss-user] @jboss-net:web-service

2002-10-28 Thread Ricardo Escalon
Hello Derek,   Great response! But what exactly is that jboss-head? is it a web page or a folder. I've not been able to find it.   Regards   Ricardo - Original Message - From: Derek Lin To: [EMAIL PROTECTED] Sent: Sunday, October 27, 2002 1:22 AM Subject: Re:

[JBoss-user] jboss and customized authorization

2002-10-28 Thread Karri Niemelä
I'm trying to write this customized security proxy class to protect a bean. Now the problem seems to be be that EJBContext object is always for somereason set to null, which makes it impossible to detect "caller's principal" etc... Client calling this bean is servlet. Any ideas why this happens?