[JBoss-user] [Beginners Corner] - Re: CMP finder methods

2004-04-23 Thread clajoie
No, Finder methods can return single beans. You just need to make sure that the query you execute will in fact only return one row or else you'll get an exception. Here's a snippet of XDoclet on a bean that finds a person by social security number and returns just a single Person bean |

[JBoss-user] [Beginners Corner] - Re: HTTPS and JBoss

2004-04-22 Thread clajoie
The following assume the usage of JBoss 3.2 (I'm using 3.2.3): Add the following section to your $JBOSS_HOME/server/$CONFIG/deploy/jbossweb-*/META-INF/jboss-service.xml | | | | Just fill in the IP, path to the keystore, and the password for the keystore. If you did not use Ja

[JBoss-user] [JBoss.NET & SOAP] - Stateless Session Beans vs Message Driven Beans

2004-04-21 Thread clajoie
Reading the for pay JBoss docs I see that, with a few XDoclet tags both Stateless Session Beans and Message Driven Beans can be exposed as a web service. So I just want to verify an assumption that I'm making. The session beans are meant to be used for RPC style web services and the message b

[JBoss-user] [Installation & Configuration] - Re: Help! Too many Linux JBoss processes being created...

2004-03-25 Thread clajoie
JBoss isn't actually creating that many processes (and yes you're correct processes are much heavier wieght than threads). The ps command when using kernels prior to 2.6, and the 2.6 kernel when not using NPTL, shows every thread as a process. So what you're seeing is one JBoss process and a b

[JBoss-user] [Messaging, JMS & JBossMQ] - Connecting to a JMS Destination from a Windows app

2004-03-22 Thread clajoie
We have an appliation that will be in Microsoft's .NET framework (using C# I suspect) that needs to connect to a JBoss JMS desitination. Has anyone done this, if so could you point me to some code, docs, etc? Anything would be helpful. Thanks. http://www.jboss.org/index.html?module=bb&op=view

[JBoss-user] [Installation & Configuration] - Re: Native thread creation and Stack Overflow Exceptions: So

2004-03-08 Thread clajoie
Some additional testing indicates that a stack size of 512k works fine for our apps. This may not be the case for all applications, but it does for us. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824795#3824795";>View the original post http://www.jboss.org/index.html?module=bb&op

[JBoss-user] [Installation & Configuration] - Native thread creation and Stack Overflow Exceptions: Soluti

2004-03-03 Thread clajoie
This details the solution for the following two types exception on a Linux system: java.lang.OutOfMemoryError: unable to create new native thread This exception is caused by one of two things. 1. The most common is that you reached the max number of user processes for the account that you're run