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 -Ursprngliche 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

[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 its on the forums to use Alexander soft to install windows as a service. However Im getting problems running jboss as a service if its other than the default service. Could anyone tell me if there is any other way to

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 its on the forums to use Alexander soft to install windows as a service. However Im getting problems running

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

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: [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:

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]

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

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

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

[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 Im sure the solution is very close, but I have a mistake I could not find. 1.) I use in each ejb dynamic xdoclet

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:

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 Im sure the

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.: jboss-app loader-repositorynw.app:loader=my-app-v1/loader-repository /jboss-app The

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

[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

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

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 running

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 network

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

[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

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

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 code in

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 added

[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: container-configurations container-configuration container-nameStandard CMP 2.x EntityBean/container-name container-cache-conf

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 jbosscmp-jdbc defaults datasourcejava:/SomeDatasourceName/datasource datasource-mappingOracle9i/datasource-mapping

[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

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

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:

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

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 its on the forums to use Alexander soft to install windows as a service. However Im getting problems running jboss as a