Re: [JBoss-user] connection pool getting closed

2002-05-22 Thread Guy Rouillier
Not sure about MySQL, but Oracle has a configuration value on its side for how long a connection can remain idle before Oracle closes it automatically. You can (1) ask you DBA to change this value, which they probably won't do, or (2) change you pool setting so that the idle timeout is less than t

Re: [JBoss-user] FW: [JBoss-dev] [ jboss-Bugs-559441 ] Local DB Connections broken

2002-05-22 Thread David Jencks
We're working on it. I'm not sure Jason's changes fixed all the problems. The weird thing is my changes worked for me once on 3.0 david jencks On 2002.05.22 22:04:33 -0400 Stephen Coy wrote: > The relevant source file "LocalManagedConnectionFactory.java" has both > David Jencks and Jason

Re: [JBoss-user] FW: [JBoss-dev] [ jboss-Bugs-559441 ] Local DB Connections broken

2002-05-22 Thread Stephen Coy
The relevant source file "LocalManagedConnectionFactory.java" has both David Jencks and Jason Dillon's footprints on it in the last couple of days. I guess we'll have to wait for one of them to respond. On Thursday, May 23, 2002, at 11:39 AM, Hunter Hillegas wrote: > Is this bug legit? > > Th

Re: [JBoss-user] Partial Wildcard in .sar ?

2002-05-22 Thread David Jencks
That's a really old message to base any conclusions about current code on. I believe, also not having checked recently, that archives="*" is your only choice for wildcards. That is how it was the last time I touched the code. david jencks On 2002.05.22 20:39:00 -0400 Frederick N. Brier wrote:

Re: [JBoss-user] Datasource Problems with RC3

2002-05-22 Thread Stephen Coy
Are you sure that it is RC3? I got this problem with CVS Branch_3_0_0, but it went away when I reverted to JBoss_3_0_0_RC3. Have raised bug report 559441 for it. On Thursday, May 23, 2002, at 11:03 AM, Hunter Hillegas wrote: > I updated to RC3 and I got my datasources to deploy without any

Re: [JBoss-user] connection pool getting closed

2002-05-22 Thread David Jencks
Both the 2.4 and 3.0 connection pools have an idle timeout setting to take account of this kind of behavior. Its obvious how to use in 3.0, but I can't remember all the other settings you have to do for 2.4.x. You can find out if you search the archives enough. david jencks On 2002.05.22 19:52

[JBoss-user] FW: [JBoss-dev] [ jboss-Bugs-559441 ] Local DB Connections broken

2002-05-22 Thread Hunter Hillegas
Is this bug legit? This is exactly what I am seeing. -- Forwarded Message From: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Wed, 22 May 2002 18:21:26 -0700 To: [EMAIL PROTECTED] Subject: [JBoss-dev] [ jboss-Bugs-559441 ] Local DB Connections broken Bugs item #559441, was opened at 2

[JBoss-user] Datasource Problems with RC3

2002-05-22 Thread Hunter Hillegas
I updated to RC3 and I got my datasources to deploy without any exceptions. An EAR that uses one of the datasources is able to lookup the datasource via JNDI but not actually use it... I get this exception later in deployment: 18:00:30,581 ERROR [EntityContainer] Initialization failed org.jboss.d

[JBoss-user] Partial Wildcard in .sar ?

2002-05-22 Thread Frederick N. Brier
I found the below message in the jboss-development list, but wasn't sure whether the wildcard symbol "*" referred to a total wild card or a partial. So in the jboss-service.xml within a .sar, a element with an attribute such as archives="*-app.sar" would make the current .sar dependent on an

[JBoss-user] connection pool getting closed

2002-05-22 Thread Mir Islam
I have a problem where the connection pool is getting closed after sometime of inactivity. "sometime" is still being investigated but generally if I leave jboss server running overnight, next morning the connectionis gone and nothgin can be run until jboss is restarted and connection pool is r

[JBoss-user] Access InitialContext of Tomcat 4.0.2

2002-05-22 Thread Dirk Storck
Hi, I know it doesnt belongs to this mailing list but maybe someone can help. How can I access the InitialContext of Tomcat from whithin an external java programm? Many Thanks! ___ Don't miss the 2002 Sprint PCS Application Develop

RE: [JBoss-user] Jboss 3.0 How-To guide and Sample Code?

2002-05-22 Thread Bill Burke
Basic free and code examples will ship with 3.0. We're working on it. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Prabhakar > Chaganti > Sent: Wednesday, May 22, 2002 4:56 PM > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] Jboss 3.0 How-To

Re: [JBoss-user] JBoss in a multi developers environment

2002-05-22 Thread Dan Christopherson
Emerson Cargnin - MSA wrote: >>I got the impression that the original post was for an ISP environment, >> > > no, i'm working in defining an developing environment for a froup of about > 40 developers, so we can't afford bying a big machine for each one : ) > It doesn't really take that much. I

RE: [JBoss-user] Clustering

2002-05-22 Thread Bill Burke
Yes, JBoss supports clustering now. http://www.jboss.org/developers/jboss-jbossClustering.jsp JBoss clustering only requires some additional configuring of the deployment descriptors. Bill > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of bryan han

Re: [JBoss-user] Problems with db connection with weblogic driver & org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl ds

2002-05-22 Thread Stephen Davidson
Hi Rahul. That last error suggests to me that you are trying to access a ResultSet after you have closed the connection. I have had 500+ users hitting a single server simultaneously, with each hit requiring 1-3 separate connections to the database. JBoss was able to handle this w/o a proble

Re: [JBoss-user] JBoss in a multi developers environment

2002-05-22 Thread Emerson Cargnin - MSA
> I got the impression that the original post was for an ISP environment, no, i'm working in defining an developing environment for a froup of about 40 developers, so we can't afford bying a big machine for each one : ) > which is why the separate vm's make sense to me. But I agree that for a

Re: [JBoss-user] Jboss 3.0 How-To guide and Sample Code?

2002-05-22 Thread Prabhakar Chaganti
I bought the Sams book. Goes into detail about installtion and configuration of JB. -prabhakar On Tuesday 21 May 2002 11:13 pm, Holten Norris wrote: > Hello - > > I'm wondering where I might find a basic Jboss 3.0 how-to type README > file which explains basic stuff like how to set up my envi

[JBoss-user] Integrating JBoss with CapeConnect

2002-05-22 Thread Eoin Lane
    I like to apologies for cross posting here but wasn’t quiet sure where this really belonged. Someone posted a question to the Cape Clear bulletin board wondering how to integrate CapeConnect Web Services server with the JBoss application server? I have reproduced here a brief howto to

Re: [JBoss-user] CD SUBSCRIPTION

2002-05-22 Thread Phil Shrimpton
On Wednesday 22 May 2002 20:21, you wrote: Hi, > By public demand we will now distribute a subscription CD. Any plans of offering this without the 'support' option and training discount, for a cheaper price, so those of us with smaller pockets can still contribute to the cause? Phil -- Li

[JBoss-user] RE: [JBoss-dev] CD SUBSCRIPTION

2002-05-22 Thread marc fleury
right... it costs $1000 per year, and we start this program with an ooops marcf |-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]]On Behalf Of James |Ward |Sent: Wednesday, May 22, 2002 1:25 PM |To: [EMAIL PROTECTED]; Jboss-User@Lists. |Sourceforge. Net |Subject:

Re: [JBoss-user] Failed to load users/passwords/role files

2002-05-22 Thread Hunter Hillegas
Actually, the problem was that a new build over-wrote the file... I just had to copy it back in place... G... I actually think the docs are fine... If you start with those examples and actually read, it is pretty hard to miss... Now I have some other connection refused problem... Arg..

[JBoss-user] RE: [JBoss-dev] CD SUBSCRIPTION

2002-05-22 Thread James Ward
Great Idea!!! How much does it cost? -James > -Original Message- > From: marc fleury [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 22, 2002 2:22 PM > To: Jboss-Development@Lists. Sourceforge. Net; Jboss-User@Lists. > Sourceforge. Net > Subject: [JBoss-dev] CD SUBSCRIPTION > > Folk

Re: [JBoss-user] Failed to load users/passwords/role files

2002-05-22 Thread David Jencks
You didn't set up an entry in login-conf.xml to match the names of the security stuff in your *db*-service.xml file. Did you start with the rc3 examples from docs/examples/jca? Can you suggest clearer wording in these files? Writing instructions does not seem to be my strong point. david jenck

[JBoss-user] CD SUBSCRIPTION

2002-05-22 Thread marc fleury
Folks, By public demand we will now distribute a subscription CD. This CD is meant for people who don't want to wait for large downloads to complete from SourceForge and want the latest and greatest of JBoss delivered to their door every 3 months directly from JBossGroup. Don't wait to take advan

[JBoss-user] Error Fixing Table Name: Could Not Create Connection

2002-05-22 Thread Hunter Hillegas
Okay... I got my connections to deploy properly once I adapted my db-service files and my login-conf.xml file... Anyway, I am now getting this when deploying my EAR: org.jboss.deployment.DeploymentException: Error while fixing table name; - nested throwable: (java.sql.SQLException: ResourceExcep

Re: [JBoss-user] incrementing primary key in CMP

2002-05-22 Thread Michael Delamere
Thanks David! I love the first chapters already :-) Regards, Michael - Original Message - From: "David Ward" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 22, 2002 10:06 PM Subject: Re: [JBoss-user] incrementing primary key in CMP > Michael, > > Read chapter five

[JBoss-user] The method return values in the home interface must be of valid types for RMI/IIOP

2002-05-22 Thread Mahesh Agarwal
Hi All I am getting a warning while deploying the ejbs in JBOss. Can anyone please help? Bean : OrgMgr Method : public abstract OrgMgr create() throws CreateException, EJBException, RemoteException Section: 6.10.6 Warning: The method return values in the home interface must be of valid types f

Re: [JBoss-user] incrementing primary key in CMP

2002-05-22 Thread David Ward
Michael, Read chapter five of this (downloadable pdf) book: http://www.theserverside.com/books/EJBDesignPatterns/index.jsp It gives you a few options. You will need an account (it's free) at theserverside.com. Hope this helps, David -- Michael Delamere wrote: > Hi, > > Could someone please

[JBoss-user] incrementing primary key in CMP

2002-05-22 Thread Michael Delamere
Hi, Could someone please tell me what the best way is to increment an id in a table. Is this the job of the entity bean to get the max() value and then make the insert or how should this be done. Any help would be appreciated. Thanks, Michael

[JBoss-user] Failed to load users/passwords/role files

2002-05-22 Thread Hunter Hillegas
I get the exception below when deploying an ear on RC3... Any ideas why? Has some part of the security framework changed since RC1 that would cause this? 12:23:49,458 ERROR [UsersRolesLoginModule] Failed to load users/passwords/role files java.io.IOException: Properties file users.properties not

Re: [JBoss-user] Class path issue?

2002-05-22 Thread Phil Shrimpton
On Wednesday 22 May 2002 18:59, you wrote: Hi, > > I have a web app that works fine under standalone Tomcat, and I have > > tried moving it to Jboss 2.4.6/Tomcat 4.03, but putting it in an *.ear > > file, it can't find the javax.sql.datasource class. > > > > Looked around the JBoss Libraries, an

[JBoss-user] jboss specific configuration for cmr

2002-05-22 Thread Emerson Cargnin - MSA
When i started to use jbosscmp-jdbc.xml it started to give errors when deploying, the only solution was putting the following jboss especific xdoclet tag in the EJB : * @ejb:interface-method * @ejb:relation * name="municipio-praca" * role-name="PracaEJB" * @jboss:relation * related-pk-field="oid"

[JBoss-user] Datasource JNDI Binding in RC3

2002-05-22 Thread Hunter Hillegas
Apparently something had changed since RC1 (I skipped RC2)... I get this message at deployment of my EAR: Error: can't find data source: java:/MyRecords; - nested throwable: (javax.naming.NameNotFoundException: MyRecords not bound) The only thing I changed in my postgresql-service file was to r

[JBoss-user] Datasources...

2002-05-22 Thread Hunter Hillegas
responding to my own post... looks like my datasources didn't deploy correctly, even though there was no error or exception thrown when they were deployed. I'll check against the latest db service sample files to see if there is something there... hunter __

Re: [JBoss-user] Class path issue?

2002-05-22 Thread Scott M Stark
Stacktrace is required to proceed. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: "Phil Shrimpton" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 22, 2002 12:07 PM Subject: [JBoss-user] C

Re: [JBoss-user] JBoss in a multi developers environment

2002-05-22 Thread Scott M Stark
Apple's OSX VM already does. > I expect that Java VM's will soon start using some kind of shared-memory > system. Something like Web browsers use to track session cookies, graphics > and the like. If they do not already have this functionality. > > At the very least, this would shave several seco

Re: [JBoss-user] JBoss in a multi developers environment

2002-05-22 Thread Matthew French
Dan Christopherson cried: > If you're in an ISP/ASP environment where your control of the running > code is limited, I suppose I can see it, but it really pains me to see > people running one vm per application when the apps are developed > in-house. I feel your pain. :) I got the impression tha

Re: [JBoss-user] JBoss in a multi developers environment

2002-05-22 Thread Matthew French
Emerson Cargnin asked: > If I took the multi-virtual-ip (aliases) approach, how do I set each > instance of JBoss to use each virtual ip, instead of the primary ip ?? "Read the source, Luke!" :) Actually, JBoss will open ports on all interfaces if you do not assign it to a specific IP. Unfortu

Re: [JBoss-user] JBoss in a multi developers environment

2002-05-22 Thread Matthew French
Lucas McGregor suggested: > I think that you can set the known port to 0, and it will tell the server to > pick a random port. I know about 'anonymous' ports, which should work in theory. (AFAIR this is a feature of the java.net package?) But I never tried it. I think it was because we needed a

Re: [JBoss-user] JBoss 2.4.4 NameAlreadyBoundException

2002-05-22 Thread Scott M Stark
Show the full log of the jar deployment. If the jar is something you can post to SourceForge open a bug and attach the jar. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: "Graham French" <[EMAIL PROTECTED]

[JBoss-user] Class path issue?

2002-05-22 Thread Phil Shrimpton
Hi, I have a web app that works fine under standalone Tomcat, and I have tried moving it to Jboss 2.4.6/Tomcat 4.03, but putting it in an *.ear file, it can't find the javax.sql.datasource class. Looked around the JBoss Libraries, and found the class in jboss-jdbc_ext.jar, but even though I m

[JBoss-user] JBoss 2.4.4 NameAlreadyBoundException

2002-05-22 Thread Graham French
Hi, I have an jar that contains two ejbs: one stateless session (AuthenticationManager) and one BMP entity (ToolUser) When I deploy it under JBoss 2.4.4, I get the stack trace below. If I comment out one of the ejbs in the deployment descriptors, it deploys fine. When I put back just the minimal

Re: [JBoss-user] locking in initializing cluster

2002-05-22 Thread danch
IIRC it has to do with whether multicast is set up on your machine or not. I believe that the clustering init works fine on my linux boxen, but not my windows laptop. -danch Emerson Cargnin - MSA wrote: > Why does cluster initialization locks jboss (3.0 any RC*)? > > I made the workaround re

Re: [JBoss-user] locking in initializing cluster

2002-05-22 Thread Dain Sundstrom
Because it tries to open a network connection, and there is no way to put a timeout in JDK 1.3, which causes it to wait forever. You can fix this by adding multicast to the loopback device. I don't know how you do this, but it is what I have been told. -dain Emerson Cargnin - MSA wrote: >

Re: [JBoss-user] Using firebird on Windows

2002-05-22 Thread Andre Selton
--- David Jencks <[EMAIL PROTECTED]> wrote: > Can you show the windows ConnectionManager config > that isn't working? > Yes : c:\databases\ejb.gdb sysdba masterkey true false jboss.jca:service=RARDeployer

Re: [JBoss-user] RC3 breaks Tomcat 4.0.3 Standalone

2002-05-22 Thread Scott M Stark
Tomcat won't load system classes from WEB-INF, java.*, javax.* Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: "Jon Swinth" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 22, 2002 9:13 AM

[JBoss-user] locking in initializing cluster

2002-05-22 Thread Emerson Cargnin - MSA
Why does cluster initialization locks jboss (3.0 any RC*)? I made the workaround removing cluster-service.xml, but i think there must be another solution.   Emerson Cargnin - MSASICREDI - Ramal 3358-4860

Re: [JBoss-user] RC3 breaks Tomcat 4.0.3 Standalone

2002-05-22 Thread Jon Swinth
The solution to the problem was to place the JSSE jars in the CATALINA_HOME/lib rather than the WEB_INF/lib directory. There was no log entries in Tomcat that had any security errors or anything. I just guessed. I don't understand why, but I can now use RC3. Thanks again for the help.

[JBoss-user] Re: JBoss-user digest, Vol 1 #2178 - 10 msgs

2002-05-22 Thread Jon Swinth
Thanks Scott for your quick reply. Yes, I have already tried that. On getting the error, the first thing I did was add jnet.jar to tomcat. I have copied the following jars from $JBOSS_DIST/client to the WEB_INF/lib directory of tomcat: jboss-client.jar jboss-common-client.jar jboss-j2ee.jar

Re: [JBoss-user] Using firebird on Windows

2002-05-22 Thread David Jencks
Can you show the windows ConnectionManager config that isn't working? Thanks david jencks On 2002.05.22 09:15:03 -0400 Andre Selton wrote: > --- David Jencks <[EMAIL PROTECTED]> > wrote: > > I have never tried the FBManager on windows. Is the > > .gdb file created > > properly? Can you access

Re: [JBoss-user] Need Hints on Finding Tx Bug

2002-05-22 Thread Justin Casp
Jon, Thanks for the info. I seemed to have 'fixed' my problem as well, although I'm not sure what I did to fix it. I built a new JBoss from this morning's CVS, using jdk1.4 (due to that horrible "protected instance variable not seen by subclasses' inner classes" bug in jdk 1.3) and now the ex

Re: [JBoss-user] Problems with db connection with weblogic driver & org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl ds

2002-05-22 Thread Rahul Raj
Actually we use Session beans itself for db connections. i am doing it in the same way that u mentioned. Connections are getting returned but it takes a lot of time that other requests are not getting connections. should i switch the garbage connection feature on ? or is the default setting enough

Re[2]: [JBoss-user] Problems with db connection with weblogic driver & org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl ds

2002-05-22 Thread Alex Loubyansky
Hello Rahul, Sorry, have no ideas for now. Further, post a copy to the list, so others could discuss it. It's in your interests. Good luck, alex Wednesday, May 22, 2002, 4:12:45 PM, you wrote: RR> Actually we use Session beans itself for db connections. RR> i am doing it in the same way that

Re: [JBoss-user] Using firebird on Windows

2002-05-22 Thread Andre Selton
--- David Jencks <[EMAIL PROTECTED]> wrote: > I have never tried the FBManager on windows. Is the > .gdb file created > properly? Can you access the windows db with isql? > The GDB file is crated and I can access the file using isql. But the problem seems to be when the connection is done,

Re: [JBoss-user] Problems with db connection with weblogic driver & org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl ds

2002-05-22 Thread Alex Loubyansky
Hello Rahul, Do you use BMP? If yes, check you handle connections properly, i.e: Connection con = getConnection(); try { // do smth } catch(Exception) { // handle exc } finally { con.close(); } As I know, running weblogic it's possible not to have finally or close connection at all. Am I

[JBoss-user] Problems with db connection with weblogic driver & org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl ds

2002-05-22 Thread Rahul Raj
We converted an application from weblogic to jboss. We used weblogic jdbc driver , org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl DataSourceClass and the default jBoss.jcml database settings. The problem is that connections are not getting returned to the pool.   Even if a single user has 

Re: [JBoss-user] Does JBoss3 have Problems Deploying Similar ejb-jars in Different EARs

2002-05-22 Thread Simon Stewart
On Tue, May 21, 2002 at 03:20:05PM -0700, Scott M Stark wrote: > Its expected if this is a session in web app outside of the redeployed > ear. It should not happen if the web app is part of the ear as no > sessions should survive. It's not stored in a session at all and it is part of an ear. The

[JBoss-user] Pack JBoss3.zip with src dir please...

2002-05-22 Thread Andrew
___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED]

RE: [JBoss-user] XML Object persistence

2002-05-22 Thread Андрей Онищук
Can you please explain me detailed? What means - declare? In ejb-jar.xml? What kind of translations I need to do in my ejbStore/ejbLoad? You told me about of using JDBC to store specified field byself, not by Bean Provider on anything else? Can you show me your things on little example, please?

RE: [JBoss-user] XML Object persistence

2002-05-22 Thread Андрей Онищук
> I can tell you that it is unlikely that you feature will make it into > JAWS, or any new features. > > Can you tell me more about this XML storage? What is > involved required > to store the XML? A small code examples would help. If it is not to > difficult or Oracle specific, it may mak