[JBoss-user] Re: ejbCreate followed by ejbStore (originally at [JBoss-user])

2003-10-29 Thread Muraly R
Hi Henrique, Please send your mails to the users list. This will help you to get better responses and suggestions. In my case what was the issue was the call to ejb-store was getting stuck after completing ejb-Create. For this I did the following two steps: 1. Set a flag a which w

[JBoss-user] fast questions

2003-10-29 Thread Ionel GARDAIS
Hi there, - i have read somewhere (but i can't remember where) that JBoss provides a universal way to develop server-style extentions (listening on a certain port ...) What is this stuff ? - When creating/deploying a service MBean, how to access it, call the methods ? BTW, who calls the methods ?

RE: [JBoss-user] forums down/slow?

2003-10-29 Thread Eric J Kaplan
You know what, it's just slow from my machine. I just tried another machine (same internet connection) and it's uber fast as well. Damn explorer must be doing something funky. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bill Burke Sent: Wednesday, Oc

RE: [JBoss-user] a to cmp

2003-10-29 Thread Eric J Kaplan
Title: Message Thanks Rod.  This will help tremendously.  I will let you all know how it turns out.   -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rod Macpherson Sent: Wednesday, October 29, 2003 4:24 PM To: [EMAIL PROTECTED] Subject: RE: [JBo

Re: [JBoss-user] forums down/slow?

2003-10-29 Thread Bill Burke
forums are uber fast for me over cable modem. Eric J Kaplan wrote: Thanks Ionel. We still see a problem (just with the forums, I can get to other parts of jboss.org just fine). I'm located in New Jersey, USA. Our ISP is a major vendor, and we don't have problems with other sights. Very very str

RE: [JBoss-user] a to cmp

2003-10-29 Thread Rod Macpherson
Title: Message I second the middlegen motion. Generates the Bean classes with XDoclet tags and XDoclet does the rest: homes, remotes, descriptors. The sample is rather involved so here are the basic components for your own ant script: a classpath, a Middlegen task and an XDoclet task. I thin

Re: [JBoss-user] cascade-delete in 3.2.2

2003-10-29 Thread Alexey Loubyansky
Is sync-on-commit-only set to true in RC4? I guess, it is false in final and, hence, is the expected behaviour. Markus Härnvi wrote: Hi! Could you post a stacktrace, please? And some description of what was going to be cascade-deleted? Sure. SearchCriteria has zero or more children called

Re: [JBoss-user] cascade-delete in 3.2.2

2003-10-29 Thread Markus Härnvi
Hi! > Could you post a stacktrace, please? And some description of what was > going to be cascade-deleted? Sure. SearchCriteria has zero or more children called HostCriteria. Deleting a SearchCriteria should delete all related HostCriteria. The key fields in the database looks like this:

Re: [JBoss-user] catch exception problem ...

2003-10-29 Thread Rafal Kedziorski
At 17:22 29.10.2003, Adrian Brock wrote: What do you mean you can't catch it? try { // Do something } catch (javax.ejb.TransactionRolledbackLocalException e) { // Failed, there is a separate exception for remote. } Repeating the question does not provide any new information :-( I will catch except

RE: [JBoss-user] a to cmp

2003-10-29 Thread Eric J Kaplan
Absolutely Edgar. I want to thank everyone for their suggestions, I'll check them all out. This is invaluable to someone who'd rather spend their time painting the mona lisa than painting by numbers. :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Edg

Re: [JBoss-user] cascade-delete in 3.2.2

2003-10-29 Thread Alexey Loubyansky
Could you post a stacktrace, please? And some description of what was going to be cascade-deleted? Thanks. Markus Härnvi wrote: Thanks Scott for the answer about SSL/Tomcat! Next one: :) I'm using cascade-delete between a few CMP beans. My test cases that works in 3.2.2RC4 now fails in 3.2.2

RE: [JBoss-user] Transactions on Stateful beans

2003-10-29 Thread Alban Soupper
Hi Adrian, Thanks for the reply. I had already try your ping/noop solution for testing if a stateful bean is alive. But here I came on the other error in some case: "Application Error: tried to enter Stateful bean with different transaction context" :(( because my stateful bean is already invol

Re: [JBoss-user] a to cmp

2003-10-29 Thread Edgar Silva
Hi Eric ... I have been using a Eclipse Plug-in called *Lomboz *, it's free and can be a great choice to you. Nevertheless, there is another plug in called *MyEclipse Enterprise Workbench

Re: [JBoss-user] catch exception problem ...

2003-10-29 Thread Adrian Brock
I didn't make it clear, you shouldn't do this inside the transaction. This should be in your servlet or whatever invokes the object that forms the transactional boundary. Regards, Adrian On Wed, 2003-10-29 at 16:22, Adrian Brock wrote: > What do you mean you can't catch it? > > try > { > // Do

Re: [JBoss-user] catch exception problem ...

2003-10-29 Thread Adrian Brock
What do you mean you can't catch it? try { // Do something } catch (javax.ejb.TransactionRolledbackLocalException e) { // Failed, there is a separate exception for remote. } Repeating the question does not provide any new information :-( Regards, Adrian On Wed, 2003-10-29 at 15:52, Rafal Kedzio

[JBoss-user] cascade-delete in 3.2.2

2003-10-29 Thread Markus Härnvi
Thanks Scott for the answer about SSL/Tomcat! Next one: :) I'm using cascade-delete between a few CMP beans. My test cases that works in 3.2.2RC4 now fails in 3.2.2 with the following message: javax.ejb.RemoveException: Could not remove 16 at org.jboss.ejb.plugins.cmp.jdbc.JDBCRemoveEntityComma

[JBoss-user] Moving from development to production

2003-10-29 Thread Brian McSweeney
Hi all,   I’ve searched the archives but couldn’t find what I was looking for.   I’m moving towards my production server and I’d love a simple list of what to change in the configuration files for a production server.   My app is   Struts à stateless session beans à ejb cmp entity

Re: [JBoss-user] catch exception problem ...

2003-10-29 Thread Rafal Kedziorski
At 15:55 29.10.2003, Adrian Brock wrote: I'm not sure I understand your question. A transaction rollback could happen at any time due to a transient or permenant failure. In the same trasaction I create new user entity bean, address entity bean and user data entity bean [in the last mail -> public

Re: [JBoss-user] Interesting interview with Rod Johnson

2003-10-29 Thread Adrian Brock
On Wed, 2003-10-29 at 15:07, Vladyslav Kosulin wrote: > http://theserverside.com/events/index.jsp > EJB, AOP, object persistence... > I could sign every statement he made, especially about entity beans! > I found only one (but pretty important) mistake he made: JBoss AOP definitely > can be used w

[JBoss-user] Interesting interview with Rod Johnson

2003-10-29 Thread Vladyslav Kosulin
http://theserverside.com/events/index.jsp EJB, AOP, object persistence... I could sign every statement he made, especially about entity beans! I found only one (but pretty important) mistake he made: JBoss AOP definitely can be used without JBoss server. Vlad ---

Re: [JBoss-user] Transactions on Stateful beans

2003-10-29 Thread Adrian Brock
On Wed, 2003-10-29 at 14:18, Alban Soupper wrote: > Hi all, > > I have some difficulties with the transactions on Stateful beans. > My client may spawn many requests in a very short time, and the request > processing accesses some controllers (My stateful beans). > This leads sometimes to an excep

RE: [JBoss-user] Transactions on Stateful beans

2003-10-29 Thread Stephane Nicoll
Statefull session bean are attached to a client instance. In NO case should it be shared. Regards, Stephane -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Alban Soupper Sent: Wednesday, October 29, 2003 3:18 PM To: JBoss User (E-mail) Subject: [JBoss-user]

RE: [JBoss-user] a to cmp

2003-10-29 Thread Stephane Nicoll
middlegen.   Regards,   Stephane -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Eric J KaplanSent: Wednesday, October 29, 2003 3:06 PMTo: [EMAIL PROTECTED]Subject: [JBoss-user] a to cmp All   Anyone know of a good product (or ec

Re: [JBoss-user] a to cmp

2003-10-29 Thread Marek Lange
Eric J Kaplan wrote: Anyone know of a good product (or eclipse plugin) that I can point at my database and have it generate cmp entity beans (files with xdoclet tags would be ok). Yes, I realize I’ll have to tweak the files afterward, but there’s a lot of this that can be automated. Middlegen

Re: [JBoss-user] a to cmp

2003-10-29 Thread Dave Smith
I have a perl script that converts an external database schema definition to a CMP bean. On Wed, 2003-10-29 at 09:15, Neal Sanche wrote: > On October 29, 2003 09:06 am, Eric J Kaplan wrote: > > Anyone know of a good product (or eclipse plugin) that I can point > > at my database and have it gen

RE: [JBoss-user] a to cmp

2003-10-29 Thread Comtois, Pierre
Title: Message I started using Lomboz ... http://www.objectlearn.com/index.html not sure if it can create cmps from DB but it seems to be a good tool to investigate.       Pierre Comtois Business Acceleration Services, Solutions Consulting 45 O'Connor Street, Suite 500    ·    Ottawa, Onta

RE: [JBoss-user] how to upgrade from 3.0.4 to 3.2.2

2003-10-29 Thread Eric J Kaplan
Gary Thanks, this seems to work. Just some bookkeeping to deal with now, like the fact that my ejb-jar didn't define a doctype element. Eric -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric J Kaplan Sent: Wednesday, October 29, 2003 8:59 AM To: [EMA

RE: [JBoss-user] a to cmp

2003-10-29 Thread Eric J Kaplan
Thanks Neal, will try. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neal Sanche Sent: Wednesday, October 29, 2003 9:16 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] a to cmp On October 29, 2003 09:06 am, Eric J Kaplan wrote: > Anyone know of a g

RE: [JBoss-user] jBoss 3.2.2 OILServerILService Connection failure(1).

2003-10-29 Thread Torsten Terp
Hi, Thanks... Ok that explains why we have'nt seen it before. I discovered that sometimes the queueSession and queueConnection was'nt closed properly, after fixing that the problem went away... Client and server are in the same vm yes, but by design we should be able to run in different vm's..

Re: [JBoss-user] a to cmp

2003-10-29 Thread Konstadinis Euaggelos
There is a tool for it, middlegen, which need some configuration it's ant based project which takes as an input a database and gives as output entities-beans, primarykeygenerator, jsp etc..   I think it's what do you need.   http://boss.bekk.no/boss/middlegen/     Vangos...   - Origi

RE: [JBoss-user] Newbee! Jboss how to needed !!

2003-10-29 Thread Comtois, Pierre
You'll find what you need here ... See the JB Quick Start ... Excellent doco http://sourceforge.net/docman/?group_id=22866 >Pierre Comtois >Business Acceleration Services, Solutions Consulting >45 O'Connor Street, Suite 500*Ottawa, Ontario K1P 1A4 >Ph: 613-787-4649 * FAX: 613-567-6053

[JBoss-user] Transactions on Stateful beans

2003-10-29 Thread Alban Soupper
Hi all, I have some difficulties with the transactions on Stateful beans. My client may spawn many requests in a very short time, and the request processing accesses some controllers (My stateful beans). This leads sometimes to an exception: "Application Error: tried to enter Stateful bean with di

Re: [JBoss-user] a to cmp

2003-10-29 Thread Neal Sanche
On October 29, 2003 09:06 am, Eric J Kaplan wrote: > Anyone know of a good product (or eclipse plugin) that I can point > at my database and have it generate cmp entity beans (files with > xdoclet tags would be ok). Yes, I realize I'll have to tweak the > files afterward, but there's a lot of this

[JBoss-user] a to cmp

2003-10-29 Thread Eric J Kaplan
All   Anyone know of a good product (or eclipse plugin) that I can point at my database and have it generate cmp entity beans (files with xdoclet tags would be ok).  Yes, I realize I’ll have to tweak the files afterward, but there’s a lot of this that can be automated.   Regards   Eri

RE: [JBoss-user] how to upgrade from 3.0.4 to 3.2.2

2003-10-29 Thread Eric J Kaplan
Gary Thanks, I'll give it a try. Regards Eric -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gary S. Cuozzo Sent: Tuesday, October 28, 2003 5:47 PM To: JBoss-user Subject: RE: [JBoss-user] how to upgrade from 3.0.4 to 3.2.2 Eric, For your datasource c

Re: [JBoss-user] SSL on JBoss 3.2.2 / Tomcat

2003-10-29 Thread Scott M Stark
Yes, these can be safely ignored. The default threshold level for the tomcat classes needs to be upped to info in the log4j.xml config to remove these from the log. Scott Stark Chief Technology Officer JBoss Group, LLC Markus Härnvi wrote: Hi! I'm

Re: [JBoss-user] catch exception problem ...

2003-10-29 Thread Adrian Brock
OMAException is an application exception correct? (not a RuntimeExecpton, RemoteException or Error) JBoss will still try to commit the transaction if you throw an application exception. The previous work done in the transaction has violated a foreign key constraint, the commit fails. If you don'

[JBoss-user] catch exception problem ...

2003-10-29 Thread Rafal Kedziorski
hi, I have follow problem. My servlet is calling one stateless session bean and catch some exceptions: // register user try { RegisterFacadeBeanLocalHome registerFacadeHome = (RegisterFacadeBeanLocalHome) serviceLocator.getLocalHome(JNDINamesRegister.REGISTER_FACADE_SSLSB); registerFac

RE: [JBoss-user] Newbee! Jboss how to needed !!

2003-10-29 Thread Sacha Labourey
You may want to download that PDF: http://www.oreilly.com/catalog/entjbeans3/workbooks/index.html > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > ARUN PRASAD > Sent: mercredi, 29. octobre 2003 10:55 > To: [EMAIL PROTECTED] > Subject: [JBoss-user

Re: [JBoss-user] Problem with SQL query for MySQL

2003-10-29 Thread Alexey Loubyansky
Branch_3_2 Rafal Kedziorski wrote: At 20:24 28.10.2003 +0200, Alexey Loubyansky wrote: It is fixed now. In main cvs branch? Regards, Rafal alex Rafal Kedziorski wrote: hi, I'm using MySQL 4.0.13 and 4.0.14 (4.0.16 I will test tomorrow) and JBoss 3.2.2. And I have problems with this query (

RE: [JBoss-user] Newbee! Jboss how to needed !!

2003-10-29 Thread john
> Could any give any pointers about How to's , Getting started > documentations ?? I'm a newbie too and I've been working through http://www.mastertech.net/spumer/Jboss%203%20step-by-step.pdf Hopefully others will provide more :-) Cheers J ---

RE: [JBoss-user] Newbee! Jboss how to needed !!

2003-10-29 Thread Hugh O'Donnell
Paul Shall we just go ahead cancel it ? Kind Regards, Hugh O'Donnell Director www.blueTanso.com tel: 01475 806827 fax: 01475 807107 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of ARUN PRASAD Sent: 29 October 2003 09:55 To: [EMAIL PROTECTED] Subject: [JBo

[JBoss-user] Newbee! Jboss how to needed !!

2003-10-29 Thread ARUN PRASAD
Hi !! I have managed to install jboss jboss-3.2.1_tomcat-4.1.24 on Redhat 9 running on an IBM Netfinity Server Could any give any pointers about How to's , Getting started documentations ?? Need to the top honcos that Jboss is a viable J2EE App server (currently on Websphere) --- regards Arun

[JBoss-user] SSL on JBoss 3.2.2 / Tomcat

2003-10-29 Thread Markus Härnvi
Hi! I'm using JBoss 3.2.2 with Tomcat. I try to set up SSL protected access to the web applications. Here's the configuration in jboss-service.xml: At startup I get this debug output: 10:48:26,016 DEBUG [Http11Protocol] Attribute port: 8443 10:48:26,020 DEBUG [Http11Protocol] Attribute

[JBoss-user] Log4j SMTP appender

2003-10-29 Thread Brian McSweeney
Hi all,   I sent this email before but got no response. I couldn’t find it on the archives so I’ll try posting it again.     I’m trying to get the log4j SMTP appender working so that when my code gets an error, I get sent an email.   I’m also trying to do this asynchronously. I’m fol