[JBoss-user] How to check commit option ?

2003-10-15 Thread Ramrakhiani, Vikas
Does jboss logs commit option some where? I have changed the default commit option to D in standardjboss.xml file, but I am not sure if it has come into effect. Is there a way to check it ? thanks for your help, vikas. --- This SF.net email is

Re: [JBoss-user] Installing as a windows service

2003-10-15 Thread Guy Rouillier
NTService in the contrib module works fine, and is configurable via a properties file. Brian McSweeney wrote: Hi all, I know that this has come up before. And I know that it’s on the forums to use Alexander soft to install windows as a service. However I’m getting problems running jboss as

Re: [JBoss-user] Connection to JMS on a multihomed machine

2003-10-15 Thread Bob Cotton
Adrian Brock <[EMAIL PROTECTED]> writes: > On Wed, 2003-10-15 at 23:21, Bob Cotton wrote: >> jboss 3.2.1 >> >> I have JBossMQ running on a multihomed machine. >> >> The lookup (from another machine) of the connection factory works over >> HAJNDI, but upon calling >> QueueConnectionFactory.creat

Re: [JBoss-user] JBoss classpaths and ClassLoader.getSystemClassLoader()

2003-10-15 Thread Scott M Stark
There should be no difference as far as documented behavior goes, but the first apparently caches classes based on equality of class loaders and can break redeployments. -- Scott Stark Chief Technology Officer JBoss Group, LLC Brian Wallis wrote: O

Re: [JBoss-user] JBoss classpaths and ClassLoader.getSystemClassLoader()

2003-10-15 Thread Brian Wallis
On Thu, 16 Oct 2003 08:31, Adrian Brock wrote: > While we're on the subject, somebody should explain to the jdk > developers why Class.forName() has no notion of application context > when there are multiple applications running on different threads > in the same VM. I'm not sure I understand the

RE: [JBoss-user] ear & jndi & different databases.

2003-10-15 Thread Rene Palad
I used to have the same problem, one app instance is accessing the datasource of another app2 instance. I resolved the problem by adding a jboss-app.xml with a unique loader repository name for every new app instance. Regards, Rene -Original Message- From: Stefan Groschupf [mailto:[EMAI

[JBoss-user] NPE after redeployment of ear

2003-10-15 Thread Matthew Hixson
I have a .ear file that deploys just fine in JBoss. However, if I redploy the file, JBoss expands the new .ear file and then accessing any session bean's local home interface's create() method results in a NullPointerException. It looks as if a JBoss generated class contains a null refere

RE: [JBoss-user] ear & jndi & different databases.

2003-10-15 Thread Rod Macpherson
What about your datasource specification? Did you set the datasource on each copy of your jbosscmp-jdbc.xml? First Instance java:/SomeDatasourceName Oracle9i false false BLAH BLAH BLAH Second Instance -

[JBoss-user] container-configuration and XDoclet

2003-10-15 Thread Rafal Kedziorski
hi, we are reimplementing our entity beans using XDoclet. But how can we create thru XDoclet new container-configurations like this: Standard CMP 2.x EntityBean org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy

Re: [JBoss-user] Connection to JMS on a multihomed machine

2003-10-15 Thread Adrian Brock
On Wed, 2003-10-15 at 23:21, Bob Cotton wrote: > jboss 3.2.1 > > I have JBossMQ running on a multihomed machine. > > The lookup (from another machine) of the connection factory works over > HAJNDI, but upon calling > QueueConnectionFactory.createQueueConnection() i get this: > Bill Burke just

Re: [JBoss-user] JBoss classpaths and ClassLoader.getSystemClassLoader()

2003-10-15 Thread Adrian Brock
On Wed, 2003-10-15 at 14:29, Brian Wallis wrote: > On Wed, 15 Oct 2003 09:57 pm, Sebastian Hauer wrote: > > You can't use the system classloader for this. Try the current threads > > context classloader (Thread.currentThread().getContextClassLoader()). > > That's what I was afraid of. > > The c

Re: [JBoss-user] HTTP basic auth from embedded Tomcat?

2003-10-15 Thread Adrian Brock
On Wed, 2003-10-15 at 03:25, Matthew Hixson wrote: > Thanks, Scott. That would be great if I wanted to integrate with > JBoss' security infrastructure, but I don't need that right now. What > I need is the simplest possible solution to give me HTTP basic auth > with embedded Tomcat, and not

[JBoss-user] Connection to JMS on a multihomed machine

2003-10-15 Thread Bob Cotton
jboss 3.2.1 I have JBossMQ running on a multihomed machine. The lookup (from another machine) of the connection factory works over HAJNDI, but upon calling QueueConnectionFactory.createQueueConnection() i get this: 21:27:21,987 ERROR [STDERR] org.jboss.mq.SpyJMSException: Cannot authenticate

RE: [JBoss-user] Warnings on Server Startup

2003-10-15 Thread Adrian Brock
On Tue, 2003-10-14 at 14:08, Comtois, Pierre wrote: > I had same with 3.2.2 and Scott Stark of JBoss told me they shouldn't be > warnings and can be ignored. > I already changed these to DEBUG messages for 3.2.2 final But this does mean that if you have a problem with manifests you'll need to ena

Re: [JBoss-user] MDB stopping and starting

2003-10-15 Thread Adrian Brock
I will try to reproduce this. Thanks for the heads up. The start/stop delivery is very new. Maybe there is some resource I don't cleanup during the stop()? Regards, Adrian On Mon, 2003-10-13 at 19:11, Bruce Slawson wrote: > Adrian, > > I finally had some time to test your fix for a couple days.

Re: [JBoss-user] Read a message from another app

2003-10-15 Thread Adrian Brock
On Tue, 2003-10-14 at 11:06, Horia Muntean wrote: > Hi > > I am using JBoss-2.4.9 with file PM set up for JBossMQ. This release has > a bug (solved partially in 3.2.x series) in the JBossMQ code: if a queue > client (in another VM) connected to the server over OIL goes down (due > to a networ

Re: [JBoss-user] JMS Message Time-to-Live

2003-10-15 Thread Adrian Brock
On Mon, 2003-10-13 at 09:27, Brian Wallis wrote: > Am I correct in understanding that: > > - Messages written to a queue are deleted on being successfully read When the client acknowledges the message. > - Messages written to a persitent queue are deleted if not read after > TimeToLive millise

Re: [JBoss-user] Installing as a windows service

2003-10-15 Thread Nicholas
We use FireDaemon (www.firedaemon.com) and it is great. //Nicholas --- Brian McSweeney <[EMAIL PROTECTED]> wrote: > Hi all, > > I know that this has come up before. And I know that > it's on the forums > to use Alexander soft to install windows as a > service. However I'm > getting problems ru

Re: [JBoss-user] Bean invocation during app server shutdown throws UndeclaredThrowableException

2003-10-15 Thread Scott M Stark
Open a bug report on sourceforge with whataever testcase you have. This should be treated as a transport level error and trigger failover. Scott Stark Chief Technology Officer JBoss Group, LLC Sebastian Hauer wrote: I am writing right now a few fai

[JBoss-user] Bean invocation during app server shutdown throws UndeclaredThrowableException

2003-10-15 Thread Sebastian Hauer
I am writing right now a few failover tests and came across this exception: java.lang.reflect.UndeclaredThrowableException: With a nested: org.jboss.ha.framework.interfaces.GenericClusteringException: Container is shuting down on this node While making a bean invocation while an app server is shut

RE: [JBoss-user] ear & jndi & different databases.

2003-10-15 Thread Alex Radka
I had something like this working at some point but it has been awhile. It seems I had problems because of the Universal Class Loader. There is a config somewhere that allows you to turn this off, and then each ear will have its own class loader and therefore 'see' the appropriate classes. Like

Re: [JBoss-user] ear & jndi & different databases.

2003-10-15 Thread Bernd Koecke
Hi Stefan, what does JNDIView of jmx-console or web-console say? Does it show all your beans twice, each with a different JNDI-Name? Do you have a jboss-app.xml file in the ear-files, which contains e.g.: nw.app:loader=my-app-v1 The second app with "v2" instead of "v1". Without the loader-re

Re: [JBoss-user] ear & jndi & different databases.

2003-10-15 Thread Alexey Loubyansky
Where/How/Do you specify what datasource is used for each entity? alex Stefan Groschupf wrote: Hi, Please please help me!!! Since 3 days I try non stop to get 2 instances of the same project running in one jboss. I scan all web pages, forums, documentations about that and I’m sure the soluti

RE: [JBoss-user] Installing as a windows service

2003-10-15 Thread JD Brennan
We had a few issues with the wrapper. 1) When the time changed to/from daylight savings the wrapper would kill JBoss and restart it 2) If the CPU load got very high the wrapper would kill JBoss and restart it We added these settings to our .conf files to deal with this: wrapper.cpu.timeou

[JBoss-user] ear & jndi & different databases.

2003-10-15 Thread Stefan Groschupf
Hi, Please please help me!!! Since 3 days I try non stop to get 2 instances of the same project running in one jboss. I scan all web pages, forums, documentations about that and I’m sure the solution is very close, but I have a mistake I could not find. 1.) I use in each ejb dynamic xdoclet ge

Re: [JBoss-user] JBossCMP and cascade-delete errors

2003-10-15 Thread Alexey Loubyansky
Yes, it should. Feel free to submit a bug report. Thanks. alex Panagiotis Korros wrote: I have 2 EJBs FolderTypeEJB And FolderEJB FolderEJB has a 1-many parent-child relationship with itself (cascade-delete is on for this relationship) FolderEJB has a 1-many relationship with FolderTypeEJB (casca

Re: [JBoss-user] JBoss classpaths and ClassLoader.getSystemClassLoader()

2003-10-15 Thread Scott M Stark
The earlier versions of JAAS also would only load classes from the system class loader, and if they can relax that I don't see why a preferences factory should be any different. You could use the same trick we did in 2.4, create a proxy preferences factory and simply uses the thread context class l

Re: [JBoss-user] JBoss classpaths and ClassLoader.getSystemClassLoader()

2003-10-15 Thread Brian Wallis
On Wed, 15 Oct 2003 09:57 pm, Sebastian Hauer wrote: > You can't use the system classloader for this. Try the current threads > context classloader (Thread.currentThread().getContextClassLoader()). That's what I was afraid of. The code in question is in the standard JDK 1.4 library in the java

RE: [JBoss-user] JBoss classpaths and ClassLoader.getSystemClassLoader()

2003-10-15 Thread Sebastian Hauer
You can't use the system classloader for this. Try the current threads context classloader (Thread.currentThread().getContextClassLoader()). Regards, Sebastian -Original Message- From: Brian Wallis [mailto:[EMAIL PROTECTED] Sent: Wed 10/15/2003 1:25 AM To: [EMAIL PROTECTED] Cc:

RE: [JBoss-user] Installing as a windows service

2003-10-15 Thread Brian McSweeney
Hi guys, Thanks very much for all the advice. I am happy to say that I successfully installed it using the wrapper utility and it wasn't too painful at all. I followed the example and installed it using the WrapperSimpleApp installation, ie: wrapper.java.mainclass=org.tanukisoftware.wrapper.Wrapp

Re: [JBoss-user] Installing as a windows service

2003-10-15 Thread Meyer-Willner, Bernhard
I can wholeheartedly recommend JSL (Java Service Launcher) a sourceforge project available from http://www.roeschter.com/. Unlike the docs say we successfully used in on Windows XP as well besides the other versions of windows listed there. It's pretty much no frills, but delivers the things you re

RE: [JBoss-user] Installing as a windows service

2003-10-15 Thread Martin Vilcans
Use Java Service Wrapper: http://wrapper.sf.net -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Brian McSweeney Sent: Wednesday, October 15, 2003 11:31 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] Installing as a windows service Hi all, I know that thi

Re: [JBoss-user] Installing as a windows service

2003-10-15 Thread Phil Cornelius
I'd recommend wrapper another sourceforge project. Yours Phil On Wed, 2003-10-15 at 10:31, Brian McSweeney wrote: > Hi all, > > > > I know that this has come up before. And I know that itʼs on the > forums to use Alexander soft to install windows as a service. However > Iʼm getting problems r

[JBoss-user] Installing as a windows service

2003-10-15 Thread Brian McSweeney
Hi all,   I know that this has come up before. And I know that it’s on the forums to use Alexander soft to install windows as a service. However I’m getting problems running jboss as a service if it’s other than the default service.   Could anyone tell me if there is any other way to in

Re: [JBoss-user] Connect exception in LAN when network cord is pu lled

2003-10-15 Thread Meyer-Willner, Bernhard
It was indeed. You saved my day, Bill! Thanks for that. I guess I should better know my Windows ;) Bernie -Ursprüngliche Nachricht- Von: Bill Burke [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 14. Oktober 2003 17:57 An: [EMAIL PROTECTED] Betreff: Re: [JBoss-user] Connect exception in LAN