Re: [JBoss-user] Re: Hibernate or ejb

2003-03-13 Thread kiuma
Kevin O'Neill wrote: On Thu, 13 Mar 2003 18:52:39 +0100, Andreas Mecky wrote: we are currently using hibernate in a web project. Very nice. We did some additional code generation and it is very handy. BUT: stay with your EJB-CMP. It will prevent a lot of headache. There are certain "little thi

[JBoss-user] ★网络营销大全--助您一臂之力

2003-03-13 Thread thsa
★网络营销大全--助您一臂之力 您现在还在为了推销产品而四处奔波吗? 您还在为网站访问数量上不去而焦急吗? 本站为您提供全方位网络营销策略。 ★一起来吧!你面对的客户将是全中国!详情请访问http://www.8he8.com ★ ★ 本站代办网络宣传任务: 广告邮件发送、商务网站登陆信息多站连发。 联系方式:0533-8652951 13853366319 网络咨询:QQ:66388619 如果本邮件不是你所需要的,我们表示抱歉,请随手删除或按回复删除 ++

[JBoss-user] Logging to JMS Topic

2003-03-13 Thread Martin J. LaJeunesse
I'm trying to setup logging to a JMS appender. >From my log4j.xml: In jbossmq-destinations-service.xml: jboss.mq:service=DestinationManager jboss.mq:service=SecurityManager

Re: [JBoss-user] security question

2003-03-13 Thread Rafal Kedziorski
Hi, I tested other configuration. in login-config.xml I defined this: java:/DefaultDS select password from principals where principal=? select role, 'Roles' from roles where principal=? I crea

Re: [JBoss-user] Remote Beans as Web Services

2003-03-13 Thread Mark.Gargan
Title: Nachricht Hi Christophe,   I deploy it within a wsr file that’s located within an ear file. When this is deployed in the engine it seems to deploy fine, however if I attempt to look at the services through http://localhost:8080/jboss-net/services  I get the previous exceptio

[JBoss-user] Re: Hibernate or ejb

2003-03-13 Thread Kevin O'Neill
On Thu, 13 Mar 2003 18:52:39 +0100, Andreas Mecky wrote: > we are currently using hibernate in a web project. Very nice. We did some > additional code generation > and it is very handy. > > BUT: stay with your EJB-CMP. It will prevent a lot of headache. There are > certain "little things" > with

Re: Re[2]: [JBoss-user] CMP Entity Bean Insert/Commit after ejbPostCreate()

2003-03-13 Thread Chad Brandon
Hi Alex,I'd really like to know how to do this.Thanks,Chad  Alex Loubyansky <[EMAIL PROTECTED]> wrote: DS> 3.2 supports not null foreign keys, but you will have to ask Alexey howDS> to set it up.Just map foreign key fields to primary key columns.This case is not trivial and we had hot debates on th

[JBoss-user] Bericht an Empfänger

2003-03-13 Thread Gebit-Berlin
Ereignisinformation:- Urheber:[EMAIL PROTECTED] Empfänger: <[EMAIL PROTECTED]> Betreff:RE: [JBoss-user] Remote Beans as Web Services WARNUNG: Der empfangene Dateianhang mime001.htm ist mit dem Virus LOTUS SCRIPT/FORMULA/BAN CONTENT Exception infiziert. --

Re[2]: [JBoss-user] CMP Entity Bean Insert/Commit after ejbPostCreate()

2003-03-13 Thread Alex Loubyansky
DS> 3.2 supports not null foreign keys, but you will have to ask Alexey how DS> to set it up. Just map foreign key fields to primary key columns. This case is not trivial and we had hot debates on this topic with Dain and Jeremy. If foreign key fields mapped to primary key fields is what you need

Re: [JBoss-user] Relationship between JTA and JDBC transactions

2003-03-13 Thread Dain Sundstrom
I suggest you put this code in a servlet filter so the transaction aspect won't pollute your servlet code (and you get some reuse, but that is not the important part). -dain On Thursday, March 13, 2003, at 12:43 PM, Craig Berry wrote: Thanks very much. This is a one-database application, so m

[JBoss-user] Bericht an Empfänger

2003-03-13 Thread Gebit-Berlin
Ereignisinformation:- Urheber:[EMAIL PROTECTED] Empfänger: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Betreff:AW: [JBoss-user] Remote Beans as Web Services WARNUNG: Der empfangene Dateianhang mime001.htm ist mit dem Virus LOTUS SCRIPT/FORMULA/BAN CONTENT Exception infiziert.

RE: [JBoss-user] Relationship between JTA and JDBC transactions

2003-03-13 Thread Craig Berry
Thanks very much. This is a one-database application, so multiple-db issues won't be a problem. -Original Message- From: David Jencks [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2003 8:36 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Relationship between JTA and JDBC transac

Re: [JBoss-user] CMP Entity Bean Insert/Commit after ejbPostCreate()

2003-03-13 Thread Dain Sundstrom
3.2 supports not null foreign keys, but you will have to ask Alexey how to set it up. -dain On Thursday, March 13, 2003, at 10:42 AM, Jonathan.O'[EMAIL PROTECTED] wrote: Bernhard, No, JBoss 3.x does the insert after ejbCreate. 4.0 is reputed to have (will have) support for INSERT after ejbPos

RE: [JBoss-user] Remote Beans as Web Services

2003-03-13 Thread Mark.Gargan
Title: Nachricht Hi Christophe,   I deploy it within a wsr file that’s located within an ear file. When this is deployed in the engine it seems to deploy fine, however if I attempt to look at the services through http://localhost:8080/jboss-net/services  I get the previous exceptio

[JBoss-user] Re: Long timeout on read-only bean [Work around]

2003-03-13 Thread Jon Swinth
Well after a lot of reading in the forums I came across one thing that will make read-only beans reload from the DB. It isn't pretty, but it allows me to escape the bean locks and still have up-to-date data. Basically, you have to disable the bean cache for read-only beans. You do this by ext

[JBoss-user] JBoss RJ45 Deployment

2003-03-13 Thread Rod Macpherson
Are there plans to deploy JBoss on an RJ45 connector? This would save considerably on rackspace. http://www.commanderx.com/productinfo.html (maybe I should have waited 'till April 1st to ask this) <>

Re: [JBoss-user] Hibernate or ejb

2003-03-13 Thread Andreas Mecky
Hi, we are currently using hibernate in a web project. Very nice. We did some additional code generation and it is very handy. BUT: stay with your EJB-CMP. It will prevent a lot of headache. There are certain "little things" with hibernate that makes life as a developer painfull. just my 2 cents

[JBoss-user] Hibernate or ejb

2003-03-13 Thread kiuma
Hi all, I need an answer from you expert ones! I'm currently using ejb-cmp to connect to my database, with a discrete success. Now I see that many people are using Hibernate. I'd like to know if there is some advant/disadv in Hibernate. Thx, kiuma ---

[JBoss-user] JTA and concurent access to sources

2003-03-13 Thread BOCEK Michal
Hi I have a question. I have a transaction and in tx. creating or modifiing data of some bean. >From other process (previous transaction is not finished) I want to obtain added or modified bean. 1.) Can I find created bean? 2.) Data of modified bean are before transaction or after modification i

RE: [JBoss-user] Remote Beans as Web Services

2003-03-13 Thread Mark.Gargan
I got the service description from a tutorial and it didn't specify any stop classes? Here's the web-service.xml I used. http://xml.apache.org/axis/wsdd/"; targetNamespace="http://net.jboss.org/hello"; xmlns:hello="http://net.jboss.org/hello"; xmlns:java="http://xml.apa

RE: [JBoss-user] 3.0.4 -> 3.0.7 deployment dependencies change?

2003-03-13 Thread Igor Fedorenko
J2EE 1.3, section 8.1.1.2 A .jar file can reference another .jar file by naming the referenced .jar file in a Class-Path header in the referencing .jar file's Manifest file. The referenced .jar file is named using a URL relative to the URL of the referencing .jar file. The Manifest file is named M

AW: [JBoss-user] Remote Beans as Web Services

2003-03-13 Thread Jung , Dr. Christoph
Title: Nachricht how did you deploy the service. through a wsr archive ?   How do you access the service? Through the AdminServlet?   unfortunately, the code seems to have changed such that I cannot exactly locate the line.    Do you run a 3.2 instance? That is my best guess and then, it i

Re: [JBoss-user] CMP Entity Bean Insert/Commit after ejbPostCreate()

2003-03-13 Thread Jonathan . O'Connor
Bernhard, No, JBoss 3.x does the insert after ejbCreate. 4.0 is reputed to have (will have) support for INSERT after ejbPostCreate. Ciao, Jonathan O'Connor Development Manager XCOM Dublin Phone: +353 1 872 3305 Mobile: +353 86 824 0736 "Meyer-Willner, Bernhard" <[EMAIL PROTECTED]> Sent by:

Re: [JBoss-user] Relationship between JTA and JDBC transactions

2003-03-13 Thread David Jencks
Use a UserTransaction in the servlet to control the tx. Make sure the tx attributes on all the beans are Requires or Supported. Make sure you set up datasources with tx support, either local or xa. If you get connections to more than one database (not table, database) in one transaction, read a

Re: [JBoss-user] 3.0.4 -> 3.0.7 deployment dependencies change?

2003-03-13 Thread David Jencks
does anyone know what the spec says to do with these linked dependencies? Is deploying a plain jar supposed to look at manifest cp entries and follow them? My understanding is the old behavior was not spec compliant in that if you referenced an ejb-jar in the manifest classpath it would be deplo

RE: [JBoss-user] Remote Beans as Web Services

2003-03-13 Thread Kevin Conner
Hiya Christoph. > As mentioned in several mails, the allowedMethods="*" can > lead to exposing some of the non-business EJB methods which > are non-WS-compliant. This leads to problems when trying to access WSDL. Do you mind if I ask, have you set the stop classes in the service desc? Our provid

RE: [JBoss-user] Remote Beans as Web Services

2003-03-13 Thread Mark.Gargan
Title: Nachricht Sorry the stack trace looks like this. I’m not sure if the ‘*’ is the problem as the tutorial works for a local version of the bean i.e. localhome and localInterface. I just made the bean remote.   16:04:32,481 ERROR [Engine] StandardWrapperValve[JBossAxisServlet]: S

[JBoss-user] Axis & JBoss - Client Stubs Not Portable ?

2003-03-13 Thread Nicholas
I have been working with Axis & JBoss for a while and I am finally getting around to putting together my build system. It has occured to me that when I run WSDL2Java, the client stubs generated have HARD CODED IP addresses or host names, making the generated code completely non-portable to other sy

[JBoss-user] CMP Entity Bean Insert/Commit after ejbPostCreate()

2003-03-13 Thread Meyer-Willner, Bernhard
Hi, does JBoss 3.2 issue INSERT/COMMIT after ejbPostCreate() or is it possible to configure it this way (you can do this e.g. in WebLogic) ? As far as I know, all JBoss 3.0.x versions already do an INSERT between ejbCreate() and ejbPostCreate(). Has this changed in any newer version()? This is a

AW: [JBoss-user] Remote Beans as Web Services

2003-03-13 Thread Jung , Dr. Christoph
Title: Nachricht   -Ursprüngliche Nachricht-Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 13. März 2003 13:39An: [EMAIL PROTECTED]Betreff: [JBoss-user] Remote Beans as Web Services   Basically the EJBProvider class throws a null pointer

Re: [JBoss-user] security question

2003-03-13 Thread Rafal Kedziorski
hi, after copying roles.properties and users.properties into default\conf folder and changing in my jboss.xml security-domain to java:/jaas/mmcms I defined in login-config.xml this: flag = "required" /> But after calling my Session Bean I get:

Re: [JBoss-user] security question (with exception)

2003-03-13 Thread Rafal Kedziorski
hi, for testing I'm want user jmx-console with: java:/jaas/jmx-console JBoss start works, but than I get this exception: 15:06:53,313 ERROR [UsersRolesLoginModule] Failed to load users/passwords/role files java.io.IOException: Properties file users.properties not found

Re: [JBoss-user] security question

2003-03-13 Thread Rafal Kedziorski
hi, for testing I'm want user jmx-console with: java:/jaas/jmx-console JBoss start works, but than I get this exception: roles.properties and users.properties are stored in deploy\jmx-console.war\WEB-INF\classes. where can I store my own propertie files after I declare my own entry in login-

[JBoss-user] Remote Beans as Web Services

2003-03-13 Thread Mark.Gargan
Hi Folks,      This is a question regarding jboss.net, axis and exposing a remote bean as a service.   I have a local bean exposed without much hassle (basically cos I got it from a tutorial. Thanks Bruce.) It’s just I can’t seem to get it to expose a remote bean as a service. T

Re: [JBoss-user] Bug about statefull session bean

2003-03-13 Thread Rafal Kedziorski
hi, At 09:19 13.03.2003 +0100, [EMAIL PROTECTED] wrote: Hi, The EJB specification allows a statefull session bean to support many create methods. These method must be declared like that : right. Home.create Bean.ejbCreate In the attached test program, I have a create method like "Home.createByNa

Re[2]: [JBoss-user] JBoss-IDE 1.0.3 released !

2003-03-13 Thread Hans Dockter
Hello Matthew, MH> Hi Hans, does this have any screenshots or an overall description of MH> what this tool does? I browsed around Sourceforge, but didn't see MH> either of those. MH>Thanks, MH>-M@ What's there (quickstart guide, no doc) is linked on the project homepage: http://www.

[JBoss-user] Bug about statefull session bean

2003-03-13 Thread sebastien . petrucci
Hi, The EJB specification allows a statefull session bean to support many create methods. These method must be declared like that : Home.create Bean.ejbCreate In the attached test program, I have a create method like "Home.createByName(java.lang.String)", implemented by "Bean.ejbCreateByName(jav