[JBoss-user] CMP Mapping for user defined types

2003-07-29 Thread Brian Wallis
This may be just an ignorant CMP question, but... Can I define a mapping (in the jaws type-mappings for a database) so that I can use a user defined class. In this instance I'm interested in a simple Enum class. In my CMP bean definition I want the persistent attribute to be of type my.packag

[JBoss-user] [GWAVA:8hob8u1b] SPAM block message notification

2003-07-29 Thread GWAVA
This is an automated Notification e-mail message from GWAVA. The message you sent, from the address [EMAIL PROTECTED] to [No To Addresses] Concerning: [JBoss-user] $(G¹Ú¤Û¹Ï®w2003/7/28 ¤W¤È 08:26:03 Was not delivered because the message was found to be Spam by the e-mail system in use at the i

Re[2]: [JBoss-user] CMR Problem in 3.2.2RC2

2003-07-29 Thread Alexey Loubyansky
Hello Gavin, can you provide a testcase? Previously, you posted the source files and I integrated them into a testcase. Can you send me a ready-to-run testcase so I need just issue 'build run' or like that? I'll correct it and send it back to you fixed. alex Tuesday, July 29, 2003, 12:20:04 AM,

Re: [JBoss-user] Client Access to JBoss EJBs

2003-07-29 Thread Christofer Dutz
No I didn't. I only used the everyone role. I think that way I don'r have to specify the Administrator role. I only used this, so I could play a little with everything, when I get everything to work. chris Wolfgang Helbig wrote: Did you specify the role "Administrator" in the assembly descripto

Re: [JBoss-user] error while creating entity bean

2003-07-29 Thread Alexey Loubyansky
Hello Raghuram, I guess, the bean should be created successfully. It is just a info-stacktrace. Do you open connections yourself somewhere in the code? alex Monday, July 28, 2003, 11:04:08 AM, Raghuram Raghuram wrote: R> hi, R> i get the following error when i am trying to create an entity thro

[JBoss-user] incoherent CMR behavior

2003-07-29 Thread Ionel Gardais
Hi, I am facing a strange problem with CMR. Here is the background : I have some tables and the corressponding EJBs BusinessUnit idTeam idProject Project --- *id name version Team id Team2Managers idTeam idPerson Team2Members - idTeam idPerson Person

Re: [JBoss-user] Can I keep an open JDBC connection through the life of stateless bean?

2003-07-29 Thread Alexey Loubyansky
Hello Anton, this is not a good idea. First of all, you should use BMT if you choose to manage transactions yourself. Second, connection pool can quickly run out of the number of available connections. SLSB are pooled. In your case connection is established per SLSB instance. This means you should

Re: [JBoss-user] Application deadlock detected: Two or more transactions contention.

2003-07-29 Thread Alexey Loubyansky
Hello Ittay, the deadlock, probably, occurs in value object creation. So, pay attention to it or post more details/code snippets. alex Tuesday, July 29, 2003, 8:19:45 AM, Ittay Dror wrote: ID> Hi, ID> The message in the subject happens with the following scenario: ID> 1. A stateless session be

Re: [JBoss-user] CMP Mapping for user defined types

2003-07-29 Thread Alexey Loubyansky
Hello Brian, besides using LOBs, AFAIK, the only choice is DVC. Something like this: A phone number org.jboss.docs.cmp2.crimeportal.PhoneNumber areaCode area_code exchange exchange

RE: [JBoss-user] error while creating entity bean

2003-07-29 Thread Raghuram
hi alex, I had not closed a connection in a dao method which was called before the bean create. However, the bean was not getting created. After i closed the connection it is working fine. thanks for your help raghuram -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Be

Re: [JBoss-user] CMP Mapping for user defined types

2003-07-29 Thread Stephen Coy
I'm not sure if it's possible either, but a good place to start might be to have a look at the java.sql.SQLData interfaces. Steve Coy On Tuesday, July 29, 2003, at 04:58 PM, Brian Wallis wrote: This may be just an ignorant CMP question, but... Can I define a mapping (in the jaws type-mapping

Re: [JBoss-user] incoherent CMR behavior

2003-07-29 Thread Ionel Gardais
Hi agan, I tried the following : - delete the default datasource - specify a per-bean datasource for each beans With this, the relation-tables are created in the Hypersonic database, not either under java:/QualiteDS nor java:/BaseTestDS Is there a way to specify the datasource for the realtion-t

[JBoss-user] doubt regarding RO/RW implementation

2003-07-29 Thread Raghuram
hi, i want to deploy the same entity as a Read Only and a Read Write entity bean with cache invalidation, as mentioned in the docs. I've created two entries in the jboss.xml which map to two different jndi names. It seems that i need to have two distinct ejb-name values for them too, which also imp

Re: [JBoss-user] incoherent CMR behavior

2003-07-29 Thread Alexey Loubyansky
Hello Ionel, it is a limitation. I guess, the generated SQL spans two datasources. Hence, it can't be executed. You should use the same datasource. alex Tuesday, July 29, 2003, 10:36:08 AM, Ionel Gardais wrote: IG> Hi, IG> I am facing a strange problem with CMR. IG> Here is the background : I

Re[2]: [JBoss-user] incoherent CMR behavior

2003-07-29 Thread Alexey Loubyansky
from jbosscmp-jdbc_3_2.dtd alex Tuesday, July 29, 2003, 11:07:57 AM, Ionel Gardais wrote: IG> Hi agan, IG> I tried the following : IG> - delete the default datasource IG> - specify a per-bean datasource for each beans IG> With this, the relation-tables are created in the Hypersonic databas

Re: [JBoss-user] incoherent CMR behavior

2003-07-29 Thread Ionel Gardais
Hi Alex, Is there a way to override this limitation ? For example, can I specify the database inside the EJB/JBOSS-QL query ? (as in SQL, database.table.field) This problem (which appears not to be one) is a part of my need to reuse beans across different applications. The problem is still ful

Re: [JBoss-user] CMP Mapping for user defined types

2003-07-29 Thread Anders Engström
On Tue, Jul 29, 2003 at 04:58:10PM +1000, Brian Wallis wrote: > > This may be just an ignorant CMP question, but... > > Can I define a mapping (in the jaws type-mappings for a database) so that I > can use a user defined class. In this instance I'm interested in a simple > Enum class. > > In m

Re[2]: [JBoss-user] incoherent CMR behavior

2003-07-29 Thread Alexey Loubyansky
Tuesday, July 29, 2003, 12:19:27 PM, Ionel Gardais wrote: IG> Hi Alex, IG> Is there a way to override this limitation ? IG> For example, can I specify the database inside the EJB/JBOSS-QL query ? IG> (as in SQL, database.table.field) Unfortunately, no. IG> This problem (which appears not to be

[JBoss-user] Unable to passivate due to ctx lock

2003-07-29 Thread Raghuram
Hi, I am getting the above warning "Unable to passivate due to ctx lock" with jboss 3.2.1 . I've deployed some entity beans with commit option C and i guess this message relates to that. I went through the development mailing list and found that this had been recorded as a thing to be fixed. What a

[JBoss-user] 大企业动态跟踪网

2003-07-29 Thread 中国大企业动态跟踪网
Title: 中国大企业动态跟踪网 中国大企业动态跟踪网 追踪中国顶尖支柱型企业4000余家每日动态!  有效监控您的竞争对手!   了解您的大客户动态!    跟踪您的合作伙伴动态!

Re: [JBoss-user] Application deadlock detected: Two or moretransactions contention.

2003-07-29 Thread Ittay Dror
On Tue, 2003-07-29 at 10:53, Alexey Loubyansky wrote: > Hello Ittay, > > the deadlock, probably, occurs in value object creation. So, pay > attention to it or post more details/code snippets. ok. sorry if i've sent too little information. here is a code snippet of how a value object is created. i

Re[2]: [JBoss-user] Application deadlock detected: Two or more transactions contention.

2003-07-29 Thread Alexey Loubyansky
ID> the code is from xpetstore (this is not the code which fails, but is ID> similar). As you can see it does nothing more than create a regular Are you jeering? You offer to find a bug in a code that does not fail? Some threads are accessing the same set of beans in different order. Try to inves

Re: Re[2]: [JBoss-user] Application deadlock detected: Two or moretransactions contention.

2003-07-29 Thread Davide Pozza
Hi Alexey, On the previous post you say: > Some threads are accessing the same set of beans in different order. Many times reading other posts or the JBoss documentation, I've found this phrase, but I can't understand it very well... What's the meaning of the "entity beans ordered access" (see "J

Re: [JBoss-user] incoherent CMR behavior

2003-07-29 Thread Ionel Gardais
Alexey Loubyansky wrote: IG> Is there a way to override this limitation ? IG> For example, can I specify the database inside the EJB/JBOSS-QL query ? IG> (as in SQL, database.table.field) Unfortunately, no. I've just look into the EJB 2.1 spec. 11.2.1 : Abstract schema type and query domains "

Re[4]: [JBoss-user] Application deadlock detected: Two or more transactions contention.

2003-07-29 Thread Alexey Loubyansky
Hello Davide, let's consider a simple case. There are two entity beans BeanA and BeanB. And two threads/transactions T1 and T2 accessing these beans. Accessing in the same order: T1: -> BeanA -> BeanB T2: -> BeanA -> BeanB Accessing in the opposite order: T1: -> BeanA -> BeanB T2: -> BeanB -> Be

Re[2]: [JBoss-user] incoherent CMR behavior

2003-07-29 Thread Alexey Loubyansky
Yes to both. alex Tuesday, July 29, 2003, 3:18:56 PM, Ionel Gardais wrote: IG> Alexey Loubyansky wrote: >>IG> Is there a way to override this limitation ? >>IG> For example, can I specify the database inside the EJB/JBOSS-QL query ? >>IG> (as in SQL, database.table.field) >> >>Unfortunately, n

AW: Re[2]: [JBoss-user] Application deadlock detected: Two or moretransactions contention.

2003-07-29 Thread Janardhan Burugupalli
hi All, I have a similar type of problem regarding the deadlock. My client hangs and after some time i get the following message 13:15:34,646 WARN [TransactionImpl] Transaction TransactionImpl:XidImpl [FormatId=257, GlobalId=Entwicklung16//7, BranchQual=] timed out. status=STATUS_ACTIVE 13:25:1

Re: [JBoss-user] Application deadlock detected: Two or more transactionscontention.

2003-07-29 Thread Scott M Stark
It means draw the sequence diagram for the workflow in question, including the transactional and method level locks for two threads that cause the deadlock scenario. If the transaction attributes allow for sequences that access a given beanX which access beanY using a different transaction then

RE: [JBoss-user] Clustering Problem

2003-07-29 Thread Sacha Labourey
> I have also seen this behavior. > > Sacha, any idea when re-deploying without first > deleting is going to work? It seems odd to me that it > works locally just fine, but it can't seem to > propogate the change to other nodes in the cluster. Was that on NFS? I've just tried now and it works (

Re: [JBoss-user] incoherent CMR behavior

2003-07-29 Thread Ionel Gardais
I can't find the JBoss' JIRA page and the sf.net tasks list page is forbidden to me ... where to point my browser to get the JIRA for JBoss ? As it is not a bug, I don't want to add it into the bug list thanks, ionel --- This SF.Net email spon

Re[2]: [JBoss-user] incoherent CMR behavior

2003-07-29 Thread Alexey Loubyansky
There is Tracker. Use Feature request for it. Thanks, alex Tuesday, July 29, 2003, 4:37:23 PM, Ionel Gardais wrote: IG> I can't find the JBoss' JIRA page and the sf.net tasks list page is IG> forbidden to me ... IG> where to point my browser to get the JIRA for JBoss ? IG> As it is not a bug,

Re: [JBoss-user] incoherent CMR behavior

2003-07-29 Thread Scott M Stark
Log an RFE on SourceForge: https://sourceforge.net/tracker/?group_id=22866&atid=376688 -- Scott Stark Chief Technology Officer JBoss Group, LLC Ionel Gardais wrote: I can't find the JBoss' JIRA page and the sf.net tasks list page is forbidden to m

[JBoss-user] Geting real performance data from the SPECjAppServer2002

2003-07-29 Thread Christofer Dutz
Hi, After finishing my las exam for the next time, I just chatted with my colleague who is helping me with my work on the SPECjAppServer2002. He told me that he was able to get rid of some nasty deadlock-problems we were having and that everything scales up nicely to TxRate 5. Next step will be

RE: [JBoss-user] incoherent CMR behavior

2003-07-29 Thread Alan Bell
Please remove my email address from your distribution list. I can't even start to understand what this is about! Thanks, Alan Bell -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Scott M Stark Sent: Tuesday, July 29, 2003 3:36 PM To: [EMAIL PROTECTED] S

RE: [JBoss-user] Clustering Problem

2003-07-29 Thread Sacha Labourey
I just did exactly that with: - 3.2.2RC2 - Branch_3_2 (future RC3) And it works as expected. Could you please try again on a non-NFS filesystem? > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Nishant Aggarwal > Sent: lundi, 28. juillet 2003 2

Re: [JBoss-user] Help - Cipher (NoClassDefFoundError)

2003-07-29 Thread Keene Hammond
Scott M Stark wrote: This works fine for me with 1.4.1_03 and 1.4.2. JBoss Bootstrap Environment JBOSS_HOME: /home/jboss/jboss-3.2.2RC2 JAVA: /usr/java/j2sdk1.4.2/bin/java JAVA_OPTS: -server -Dprogram.name=run.sh ... 20:39:17,795 INFO [Server] Starting JBoss (MX MicroKernel)... 20:39:17,

[JBoss-user] JMS / JBossMQ JDBC2 PersistenceManager & Hypersonic log filesize

2003-07-29 Thread Chris May
Hi all, We've recently switched an application from using JBoss 3.0.7 to 3.2.1. In doing so, the default persistence store for JMS messages has changed from the old File-base one to a new hypersonic DB-based system When the system is running, Hypersonic seems to create a log file with an entry

[JBoss-user] Thread performance - new information and data that fits expectations

2003-07-29 Thread Jon Barnett
Having discovered a problem with expectations on the JVM, we revisited our original tests and invoked some GC settings. It returned a response curve that was in line with our original expectations. It also highlights the importance of the GC implementation. There were a few strange test variations

RE: [JBoss-user] Thread performance - new information and data that fits expectations

2003-07-29 Thread JD Brennan
What GC settings did you use? I did a quick scan and search of the paper, but couldn't find any mention of them. Thanks! Great to see these interesting test results! JD -Original Message- From: Jon Barnett [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 29, 2003 10:51 AM To: [EMAIL PROTE

[JBoss-user] (광고)이메일마케팅의 모든것, 추출에서 발송까지!!@

2003-07-29 Thread wildmailer
Title: 와일드메일러 홍보     [홈페이지] [특징]       

[JBoss-user] 中国机械行业网 www.cnjx.cn

2003-07-29 Thread chnmachine
您好! 当今社会已经步入信息化时代,快速及时的信息是企业占领商机的先决条件,互联网---现代社会的 信息高速公路,以它的迅速及时的信息互动,逐步的被众商家所青睐。 中国机械行业网我们为您所搭建的一个网上商业平台,为您提供及时准确的商业信息:在线论 坛为众商家营建的互动式的交流场所;产品展厅以详实的图片和文字介绍发布您的最新产品; 另外,我们还提供了在线招聘和技术咨询等服务。更多详细的情况请登录我们的网站www.cnjx.cn 我相信,我们的网站一定会成为您得力的助手!

RE: Re[2]: [JBoss-user] CMR Problem in 3.2.2RC2

2003-07-29 Thread Gavin Matthews
Alex, Attached is the standalone case - it exhibits the same behaviour (i.e. the cmr problem). It's hacked out of our inhouse environment so the build scripts could be cleaner, however they should work fine for you. I believe all you will need to modify some of the paths in cmrtest-config.xml:

[JBoss-user] Fw: NORTON SYSTEMWORKS FINAL CLEARANCE SALE!9 238428

2003-07-29 Thread 238428
Title: Norton SystemWorks 2003 Software Suite Professional Edition Five Feature-Packed Utilities Norton SystemWorks 2003 Software Suite Professional Edition Five Feature-Packed Utilities, One Great Price A $300 Combined Retail Value for Only $38.95!! ** 211203583 Norton Ant

RE: [JBoss-user] Thread performance - new information and data that fits expectations

2003-07-29 Thread Jon Barnett
If you look at the Appendix D results, the first section shows the toggling of the new parallel GC and concurrent mark/sweep algorithms. Section 1.3.1 mentions that we employ server mode for JVMs. This second one is also important because it limits the variance in results you get from a client-mode

[JBoss-user] exception for class cast

2003-07-29 Thread Ittay Dror
i get this exception: message - Find failed: java.sql.SQLException: Cannot convert class java.util.Date to SQL type requested due to java.lang.ClassCastException - java.util.Date the strange thing is that all i'm doing is reloading the same page over and over, and the data doesn't change! i get th

Re: Re[2]: [JBoss-user] Application deadlock detected: Two or moretransactions contention.

2003-07-29 Thread Ittay Dror
On Tue, 2003-07-29 at 14:57, Alexey Loubyansky wrote: > ID> the code is from xpetstore (this is not the code which fails, but is > ID> similar). As you can see it does nothing more than create a regular > > Are you jeering? You offer to find a bug in a code that does not fail? > Some threads are

RE: [JBoss-user] Clustering Problem

2003-07-29 Thread Nishant Aggarwal
Hi Sacha, Thanks for the help! It's working on NFS system in the "3.2.2RC2" release available! But I am getting the following ClassCastException in the server log for 3.2.2RC2: - 09:33:51,658 INFO [ClusteredHTTPSessionService] Starting 09:33:51,