[JBoss-user] Queue Connection Factory - lookup

2003-01-24 Thread Mokas Vassilis ([EMAIL PROTECTED])
Hi all, I have a session EJB and a Message-Driven EJB in a jar deployed in Borland Enterprise Server. In a method of the Session Bean there is a lookup for the queue connection factory in BES: QueueConnectionFactory qFactory = (QueueConnectionFactory)ctx.lookup(serial://jms/qcf); However, if

RE: [JBoss-user] jboss-4 and cactus problem

2003-01-24 Thread Bruce Scharlau
At 10:12 23/01/2003 -0600, you wrote: i've had the exact same error and it took me forever to figure out. for some reason when cactus runs, you NEED a port number for it to work correctly. setup your cactus.properties file to use a port number and you'll be fine. if you're running off the

Re: [JBoss-user] Re: JB 3.0.4, loading classes from JAR in EAR

2003-01-24 Thread Andreas Mecky
Hi, I have posted this because we are using it to deploy our application which contains several session beans and additional jars. All I can say is that it is working otherwise I wouldn't have posted it. - Original Message - From: Rod Macpherson [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Re: [JBoss-user] Too Slow - Jetty/JBoss FAQ

2003-01-24 Thread Jules Gosnell
Hmm...! Looks like Jikes doesn't like you... I guess you need a way of finding out which args Jikes was called with, so you can figure out what went wrong... Can you move jikes somewhere else and replace it with a wrapper script that prints out everything it is called with and then calls it ?

[JBoss-user] Session Bean (Txn Required) commit error not being sent back to the client

2003-01-24 Thread Jonathan . O'Connor
Yesterday, we got bitten by the same bug that bit us last November. Here's what happens: 1. A client app (JUnit tester) calls a method in a session bean (via remote interface). The method is marked as Transaction required. 1a. A transaction is started automatically by JBoss. 2. The session bean

Re: [JBoss-user] Access files in a war archive

2003-01-24 Thread Rod Macpherson
Title: Message There is no "real" path access from awar so the null return value is unfortunately correct: bin-there-dun-that. URL's will work but you will have to convert your file to an URL based on thesession context: toURL(String file) { int port =

[JBoss-user] EJBException invoking EJB method from TimerMbean NotificationListener

2003-01-24 Thread Keysers, Wonne
Title: EJBException invoking EJB method from TimerMbean NotificationListener Hi, I created a custom Scheduler around the TimerMBean. It works fine, but when I try to invoke a method on an EJB from within a scheduled object, I get the following EJBException: javax.ejb.EJBException:

[JBoss-user] From WebLogic to JBoss

2003-01-24 Thread Artur Jonak
Hi, I would like to ask you if there is any tool to port my j2ee application from BEA Weblogic 7.0 to JBoss 3.0 Could you help me? Regards, Artur ___ Artur Jonak phone: +48 22 535 88 10 mailto:[EMAIL PROTECTED] ___

Re: [JBoss-user] Session Bean (Txn Required) commit error not beingsent back to the client

2003-01-24 Thread Rod Macpherson
Design artifact versus bug perhaps? You can call getEJBObject() at the end of ejbPostCreate so you can validate your bean and throw a CreateException if you have an illegal state. - Original Message - From: Jonathan.O'[EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 24, 2003

Re: [JBoss-user] Re: JB 3.0.4, loading classes from JAR in EAR

2003-01-24 Thread Rod Macpherson
As indicated in my response, I will try that again in a more recent build based on your reported success with it. I will remember that posted it therefore must work but only in you case:) - Original Message - From: Andreas Mecky [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday,

[JBoss-user] Re: From WebLogic to JBoss

2003-01-24 Thread Rob Moore
See http://www.jboss.org/services/bea-port.jsp --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ JBoss-user

Re: [JBoss-user] From WebLogic to JBoss

2003-01-24 Thread Rod Macpherson
XDoclet goes a long way and I also highly recommend that you purchase a JBoss service contract - advice from a happy camper. They will help you get the wheels rolling on your porting project and they are the best of the best of the not too shabby. http://xdoclet.sourceforge.net/ - Original

RE: [JBoss-user] From WebLogic to JBoss

2003-01-24 Thread Herve Tchepannou
Title: RE: [JBoss-user] From WebLogic to JBoss and you can look at http://sourceforge.net/projects/xpetstore which has the Sun version of PetStore application ported to JBoss and WebLogic -Original Message- From: Rod Macpherson [mailto:[EMAIL PROTECTED]] Sent: 24 January 2003 09:21

Re: [JBoss-user] Re: JB 3.0.4, loading classes from JAR in EAR

2003-01-24 Thread Andreas Mecky
I do not take it personal that you only trust me in this case :) - Original Message - From: Rod Macpherson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 24, 2003 3:09 PM Subject: Re: [JBoss-user] Re: JB 3.0.4, loading classes from JAR in EAR As indicated in my response,

Re: [JBoss-user] Session Bean (Txn Required) commit error not being sent back to the client

2003-01-24 Thread David Jencks
Which jboss? What does happen? Do you know the spec required behavior? I think it should be TransactionRolledBackException or TransactionRolledBackLocalException, but I haven't looked in the spec recently. david jencks On Friday, January 24, 2003, at 07:22 AM, Jonathan.O'[EMAIL PROTECTED]

Re: [JBoss-user] postgres-service.xml

2003-01-24 Thread David Jencks
You should be able to put it directly in the .ear and reference it from a jboss-app.xml file next to application.xml, but this is currently broken in most jboss versions. You can rename it to jboss-service.xml, put it in META-INF in a postres-stuff.sar, put that in your .ear, and reference

[JBoss-user] Jboss on JavaOne 2003?

2003-01-24 Thread Sebastian Hauer
Hi, Just a quick question. Will the JbossGroup present Jboss on the upcoming JavaOne? If so what will be presented? Regards, Sebastian --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!

[JBoss-user] Hibernate revisited

2003-01-24 Thread Pete Beck
Recently we had an interesting thread about the realtive qualities of Hibernate and CMP. One of the points that I picked up from the discussion, is that if you are only using CMP entities for persistent O/R based objects, then lightweight systems like Hibernate may provide a better and faster

Re: [JBoss-user] Re: From WebLogic to JBoss

2003-01-24 Thread Joey Gibson
--- Rob Moore [EMAIL PROTECTED] wrote: See http://www.jboss.org/services/bea-port.jsp It currently only support WLS 6.1. I wonder when it might support 7.0. That would really be useful to me. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful.

Re: [JBoss-user] Hibernate revisited

2003-01-24 Thread Anders Engström
On Fri, Jan 24, 2003 at 03:32:18PM +, Pete Beck wrote: Recently we had an interesting thread about the realtive qualities of Hibernate and CMP. [snip] The Facade would abstract the jobs of finding, creating and deleting instances of persistant objects. Does anyone else think this type

[JBoss-user] Application Deadlock Exception - only happens on JBoss

2003-01-24 Thread Brian McSweeney
Hi guys, This is an error that I've seen before myself with apps deployed on JBoss in work. When trying to run the xpetstore application I found that this exception occurs again. Asking the moderator of the xpetstore list he informed me that this exception only occurs with JBoss and he

RE: [JBoss-user] Queue Connection Factory - lookup

2003-01-24 Thread Barlow, Dustin
You can set what your lookup will be via an comp/env variable in your bean's deployment descriptor. For example InitialContext jndi_context= new IntialContext(); String cfURL = (String) jndi_context.lookup(java:comp/env/ConnectionFactoryURL); QueueConnectionFactory qFactory =

Re: [JBoss-user] Session Bean (Txn Required) commit error not being sentback to the client

2003-01-24 Thread Jonathan . O'Connor
David, Apologies for not giving version info. We use JBoss 3.0.5 running on Windows and Linux. But it used to happen in 3.0.4 as well (I wrote to the list last November about it). The whole problem is that the database rollsback the transaction, and the JBoss server catches an XAException, but

RE: [JBoss-user] Results Print in Wrong Order?

2003-01-24 Thread Nelson, Tracy
Relational databases are free to return result sets in any order they like, as long as the ORDER BY clause is not specified. If you need results in a specific order, specify ORDER BY. Depending on the database to return results in a specific order is a Bad Idea, as the order may change if

[JBoss-user] Again: How to use org.jboss.verifier ?

2003-01-24 Thread Rupp,Heiko
Hi, I have java classname=org.jboss.verifier.Main fork=true failonerror=true classpathref=xdoclet.path.ref arg value=${build.dir}/xdoclet-test-ejb.jar/ classpath pathelement

Re: [JBoss-user] Again: How to use org.jboss.verifier ?

2003-01-24 Thread Jonathan . O'Connor
Heiko, I asked this about a year ago, and the answer was that the code no longer worked. My guess it was written for when JBoss didn't support hot deploy. Now, the need is limited. Ciao, Jonathan O'Connor Development Manager XCOM Dublin Phone: +353 1 872 3305 Mobile: +353 86 824 0736

RE: [JBoss-user] Access files in a war archive

2003-01-24 Thread Bill Burke
Title: Message getRealPath works if the WAR is deployed as an exploded WAR (aka directory structure, no JAR file). -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Rod MacphersonSent: Friday, January 24, 2003 8:44 AMTo: [EMAIL

RE: [JBoss-user] Application Deadlock Exception - only happens on JBoss

2003-01-24 Thread Bill Burke
jboss 3.2 and higher support deadlock retries. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Aleksandr ShneydermanSent: Friday, January 24, 2003 12:07 PMTo: [EMAIL PROTECTED]Subject: RE: [JBoss-user] Application Deadlock Exception -

Re: [JBoss-user] postgres-service.xml

2003-01-24 Thread Gabriel Pinto
How to make this reference to the .sar in the jboss-app.xml ? Could you give me an example? Thanks for your help Gabriel On Fri, 24 Jan 2003, David Jencks wrote: You should be able to put it directly in the .ear and reference it from a jboss-app.xml file next to application.xml, but

[JBoss-user] XA config file

2003-01-24 Thread Christian Bourque
Hi ! I'm trying to deploy my MSSQL xa datasource service file and each time I get this error : "org.jboss.deployment.DeploymentException: expected one config-property-value tag" I've changed every properties to the "new" format : config-property-name[property name]config-property-name

Re: [JBoss-user] Results Print in Wrong Order?

2003-01-24 Thread Dan Christopherson
Hunter Hillegas wrote: Yeah, I did specify 'ORDER BY' and it wasn't the databases fault. By returning a java.util.Set, the collection was in an order I didn't expect... OK, I've got to ask it: why did you expect any particular ordering from a set implementation?

Re: [JBoss-user] Results Print in Wrong Order?

2003-01-24 Thread Hunter Hillegas
Yeah, I did specify 'ORDER BY' and it wasn't the databases fault. By returning a java.util.Set, the collection was in an order I didn't expect... It's all good now. From: Nelson, Tracy [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Fri, 24 Jan 2003 09:05:49 -0800 To: '[EMAIL

[JBoss-user] Cascade-delete using database?

2003-01-24 Thread Randy Shoup
In JBoss 3.0.x, cascade-delete deletes child entities one at a time. This makes sense when an in-memory cache needs to be maintained -- you need to know which entities to remove from the cache. But when there is no cache (e.g., commit option C), there are several more efficient approaches: a.

[JBoss-user] Jboss-jaas and client login

2003-01-24 Thread Lorne Mach
Hi, I'm making a client side application that is running in a separate VM than jboss 3.0.5. When I perform a login to jboss, the login context that is created (new LoginContext(client-login, callbackhandler) cannot find the login configuration module. I'm trying to use the custom

Re: [JBoss-user] jmx-console/Security/Linux service

2003-01-24 Thread Scott M Stark
That version of Shutdown does not support secured access. The version that will ship with 3.0.6 does. Its really just an independent class so just grab version 1.1.2.3 out of CVS and use it. Scott StarkChief Technology OfficerJBoss Group, LLC

RE: [JBoss-user] Hibernate revisited

2003-01-24 Thread Matthew Baird
we do this in real life. We support multiple persistence engines in our app. -Original Message- From: Anders Engström [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 8:03 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Hibernate revisited On Fri, Jan 24, 2003 at 03:32:18PM

RE: [JBoss-user] Hibernate revisited

2003-01-24 Thread Lucas McGregor
This sounds similar to Sun's Access Object pattern http://developer.java.sun.com/developer/restricted/patterns/DataAccessObject .html We implemented it here to hide the details of our peristance engine. But we also are using The value object pattern and thus don't use any entity beans.

Re: [JBoss-user] Results Print in Wrong Order?

2003-01-24 Thread Hunter Hillegas
I didn't... I must not be explaining this correctly. I explicitly ordered my results with a JBossQL ORDER BY override. The results came out of the database in the correct order. Initially, the return type of the ejbSelect method was a Set. The set itself reordered the results. Coming out of the

[JBoss-user] Log4j thread dump capture

2003-01-24 Thread Sebastian Hauer
Hi, As far as I can see JBoss wrapes STDOUT and STDERR into log4j categories which is nice. Though when I take a thread dump I see it only appear on the console screen but it will not get captured by log4j and written into a log4j. Is there a way to set this up? We would like to run our Jboss

Re: [JBoss-user] Log4j thread dump capture

2003-01-24 Thread Scott M Stark
There appears to be nothing we can do about this as the vm appears to just go to its native stdout handle. You'll have to wait until the java.util.logging api is actually being used by the vm. Scott Stark Chief Technology Officer JBoss Group, LLC

RE: [JBoss-user] Access files in a war archive

2003-01-24 Thread Stephen Ting
Title: Message How to create a exploded WAR? FYI, i used ANT to create the war archive and there is no JAR file included except in the /WEB-INF/lib directory. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Bill BurkeSent: 25 January

Re: [JBoss-user] Access files in a war archive

2003-01-24 Thread Rod Macpherson
Title: Message Simply extractthe existing war or copy your wardirectory structure to a directory that happens to have a ".war" extension.If you can stipulate thatyour application must beexploded youcan rely ongetRealPath returning a meaningful path. - Original Message - From: