RE: [JBoss-user] Multiple JBOSS 3.0 developers and clustering

2002-02-27 Thread Sacha Labourey
Hello Stephen, > We have found that if you have multiple developers on the same network > trying to run the 3.0 beta or later at the same time, the default > configuration causes them to try and cluster with each other (I think). > > Anyway, removing the "cluster-service.xml" file from the deploy

Re: [JBoss-user] DataSource lookup from webapp

2002-02-27 Thread Bernardinus
Thanks for an incredible fast replies. I just got the commercial doc a few hours ago, and found the answer under the section: JBossNS -- the JBoss naming services. Great stuff! And thanks for sugesting using a minimalist jboss server.. never crossed my mind that jboss can be

[JBoss-user] jboss-2.2.2_Tomcat-3.2.2 as a windows nt service - javaservice

2002-02-27 Thread Dmitri Colebatch
I've never used it http://www.alexandriasc.com/software/JavaService/ (seems to be down/slow atm) I've heard of ppl doing similar with tomcat... might help. also http://jakarta.apache.org/tomcat/tomcat-3.2-doc/NT-Service-howto.html might help... just as far as some general pointers are concern

[JBoss-user] Re: JBoss-user digest, Vol 1 #938 - 9 msgs

2002-02-27 Thread Faisal Naveed
Hi, Have anyone used jnt to cofigure jboss-2.2.2_Tomcat-3.2.2 as a windows nt service. Can anyone guide me in this regard by sending the command that would be used. Regards, Faisal ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.source

Re: [JBoss-user] can I connect to databese with specified user

2002-02-27 Thread Guy Rouillier
You don't mention what version you are using. If 2.4.x, there are some bugs in the pooling code that prevent obtaining a connection for a specified userid and password. I have a fix (that I never submitted) that I've given to David Jencks. I can send it to you as well. - Original Message -

Re: [JBoss-user] application clients?

2002-02-27 Thread danch
No, it just took me until know to realize that what you're suggesting is the right way to do it. What the spec says is that the client app developer writes it as if main will be called from the command line. They assume that the container vendor will fiddle around with that to their heart's co

Re: [JBoss-user] application clients?

2002-02-27 Thread David Jencks
I thought maybe we'd write an mbean that had the main class of the client application as its only attribute, and the mbean would call main when it was "start"ed. It's been a while since I looked at the spec, but I don't remember them saying you had to start the client app by calling main from a c

Re: [JBoss-user] application clients?

2002-02-27 Thread danch
I've looked into it a little bit more. The only thing even remotely difficult is that the client app spec says that the client app should be packaged as a runnable jar and the developor should write their own main method. It doesn't specify any particular API that they should call, so the cont

RE: [JBoss-user] Re:freely downloadable MS SQL jdbc thin drivers

2002-02-27 Thread Paul Cody
Drivers and jdbc configuration information can be downloaded from www.use_a_search_engine.com/please. > -Original Message- > From: vijaya [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 27, 2002 8:35 PM > To: JBoss-user > Subject: [JBoss-user] Re:freely downloadable MS SQL jdbc thi

Re: [JBoss-user] DataSource lookup from webapp

2002-02-27 Thread danch
Probably what you should do is run Tomcat in a JBoss-embedded configuration, chopping up jboss.jcml so that it doesn't load the EJB, JMS, etc. related services. That way your pools will be available to your servlet code. As David notes, you can't get to a JDBC datasource from another VM. -dan

Re: [JBoss-user] Re:freely downloadable MS SQL jdbc thin drivers

2002-02-27 Thread Dmitri Colebatch
Not sure if my reply didn't get through yesterday, but have a look at: http://www.microsoft.com/sql/downloads/2000/jdbc.asp - Original Message - From: "vijaya" <[EMAIL PROTECTED]> To: "JBoss-user" <[EMAIL PROTECTED]> Sent: Thursday, February 28, 2002 3:34 PM Subject: [JBoss-user] Re:

[JBoss-user] Re:freely downloadable MS SQL jdbc thin drivers

2002-02-27 Thread vijaya
Hi guys We want to deploy CMP ejbs on JBoss with the MS SQL Server 2000 as the database server.The question is Are there any freely downloadable MS SQL jdbc thin drivers available? If yes could you plz give details about that products and its configuration details. Thanks in advance Best r

Re: [JBoss-user] DataSource lookup from webapp

2002-02-27 Thread David Jencks
as explained so many times, you can't get to datasources in jboss jndi from another vm. If you want to use jboss pooling rather than tomcats pooling, you could remove everything from jboss except the tm and pool code and run tomcat in this mini-jboss. david jencks On 2002.02.27 21:08:10 -0500 B

Re: [JBoss-user] can I connect to databese with specified user

2002-02-27 Thread David Jencks
On 2002.02.27 21:19:37 -0500 Dmitri Colebatch wrote: > David, > > > > is the username/password you want to use related to the currently > > > authenticated j2ee user? If so, I _think_ that is what > > > application managed datasources are for - but I could be wrong... > might > > > be worth a l

[JBoss-user] Multiple JBOSS 3.0 developers and clustering

2002-02-27 Thread Stephen Coy
Hi, We have found that if you have multiple developers on the same network trying to run the 3.0 beta or later at the same time, the default configuration causes them to try and cluster with each other (I think). Anyway, removing the "cluster-service.xml" file from the deploy directory certai

Re: [JBoss-user] can I connect to databese with specified user

2002-02-27 Thread Dmitri Colebatch
David, > > is the username/password you want to use related to the currently > > authenticated j2ee user? If so, I _think_ that is what > > application managed datasources are for - but I could be wrong... might > > be worth a look. > > That is a required part of container managed security/sig

[JBoss-user] DataSource lookup from webapp

2002-02-27 Thread Bernardinus
Hi there, I have downloaded jboss-2.4.4 and intend to use it. I have a web app deployed on tomcat-4.0.2 on the same machine with the jboss (eventually will be running on seperate machine). I wish to use DataSource object provided by jboss in my web app, so I wrote a simple jsp page to test it lik

Re: [JBoss-user] JBoss DTD for EJB2.0

2002-02-27 Thread David Jencks
I think you want jboss_2_4.dtd or jboss_3_0.dtd david jencks On 2002.02.27 13:57:40 -0500 Alex Loubyansky wrote: > Sorry, I meant I couldn't find local-jndi-name in > http://www.jboss.org/j2ee/dtd/jboss.dtd. > > -

Re: [JBoss-user] ejb-jar deployment order from ear

2002-02-27 Thread David Jencks
The beta has a serious problem making ears almost unusable, each subpackage is deployed fully in a random order. A few short hours after the beta went out I got the fix in to cvs. Now: 1. all classes anywhere in the ear no matter how deeply nested are added to the classloader system (except war

Re: [JBoss-user] can I connect to databese with specified user

2002-02-27 Thread David Jencks
On 2002.02.27 19:11:29 -0500 Dmitri Colebatch wrote: > is the username/password you want to use related to the currently > authenticated j2ee user? If so, I _think_ that is what > application managed datasources are for - but I could be wrong... might > be worth a look. That is a required part

[JBoss-user] JBoss DTD for EJB2.0

2002-02-27 Thread Alex Loubyansky
Sorry, I meant I couldn't find local-jndi-name in http://www.jboss.org/j2ee/dtd/jboss.dtd. --- Hello, Could someone please let me know what the dtd file should I use

[JBoss-user] ejb-jar deployment order from ear

2002-02-27 Thread David Ward
I have an ear with a few ejb-jar's in it, plus a war. The war needs each of the ejb-jars, but no ejb-jars need eachother (they can be dropped into deploy by themselves no problem) EXCEPT one. There is one "control" ejb-jar that HAS to be the last ejb-jar to be deployed from the ear, since it

Re: [JBoss-user] application clients?

2002-02-27 Thread David Jencks
I haven't looked into it much, but I suspect it would be pretty simple to do. Mostly you'd leave everything out of normal jboss, right? Maybe you'd mostly need an "client app runner" mbean. Might also be a good opportunity to make our tm distributed and logging so it will really handle xa tx. O

Re: [JBoss-user] buried config in tomcat4-service.sar

2002-02-27 Thread David Jencks
On 2002.02.27 14:15:59 -0500 David Ward wrote: > I like the .sar idea, but if I want to tweak a port in Tomcat (or > uncomment the Ajp13 section) in JBoss-3.0.0beta_Tomcat-4.0.2, I have to > extract the deploy/tomcat4-service.sar file, edit its > META-INF/jboss-service.xml file, re-jar it, and

Re: [JBoss-user] can I connect to databese with specified user

2002-02-27 Thread Dmitri Colebatch
is the username/password you want to use related to the currently authenticated j2ee user? If so, I _think_ that is what application managed datasources are for - but I could be wrong... might be worth a look. cheers dim - Original Message - From: "Maris Orbidans" <[EMAIL PROTECTED]>

Re: [JBoss-user] JBoss DTD for EJB2.0

2002-02-27 Thread Dmitri Colebatch
assuming you're talking about cvs/beta version of jboss3, have a look at http://main.jboss.org/thread.jsp?forum=66&thread=9128&message=384505&q=dtd+dim+local#384505 cheers dim - Original Message - From: "Alex Loubyansky" <[EMAIL PROTECTED]> To: "Jboss-User (E-mail)" <[EMAIL PROTECTED]> S

[JBoss-user] application clients?

2002-02-27 Thread David Ward
Are J2EE application clients going to be supported in JBoss3? It would be nice to be able to use the java:comp/env namespace from a remote gui, and also maybe even initiate a Transaction from one (yes, I'm familiar with the dangers of that). Geeze I ask too much... _

[JBoss-user] buried config in tomcat4-service.sar

2002-02-27 Thread David Ward
I like the .sar idea, but if I want to tweak a port in Tomcat (or uncomment the Ajp13 section) in JBoss-3.0.0beta_Tomcat-4.0.2, I have to extract the deploy/tomcat4-service.sar file, edit its META-INF/jboss-service.xml file, re-jar it, and drop it back into deploy. It's easy, but a bit of a p

[JBoss-user] JBoss DTD for EJB2.0

2002-02-27 Thread Alex Loubyansky
Hello, Could someone please let me know what the dtd file should I use in jboss.xml for EJB2.0. I can't find local interfaces in http://www.jboss.org/j2ee/dtd/jboss.dtd. Thank you in advance, alex ___ JBoss-user mailing list [EMAIL PROTECTED] h

Re: [JBoss-user] JBoss 2.4.4 & Tomcat 4.0.1 startproblem

2002-02-27 Thread David Jencks
I don't know, but maybe the format of jbossmq message files changed and the old ones can't be interprted. Try removing the db/... files for jbossmq david jencks On 2002.02.27 12:27:09 -0500 Lucas McGregor wrote: > I had the same porblem once I upgraded from jboss2.4.1 to 2.4.4. So if > anyone do

Re: [JBoss-user] can I connect to databese with specified user

2002-02-27 Thread David Jencks
NO don't try to use XADataSource yourself, it's for the App Server ONLY You will be able to get connections fine from the DataSource bound in jndi. I'm not sure how the pooling works, whether you will actually get connections back for the user and password you specify. I

RE: [JBoss-user] connection pooling and jboss.jcml

2002-02-27 Thread Alex Loubyansky
Hi! After specifying the datasource as you wrote you can look it up like this: DataSource datasource; Connection dsConnection; try { InitialContext ic = new InitialContext(); datasource = (DataSource)ic.lookup("java:/PostgresDS"); ds = datasource.getConnection(); } catch(

Re: [JBoss-user] connection pooling and jboss.jcml

2002-02-27 Thread geoff
Hi there, given that particular configuration using: ConnectionPoolDataSource cpds = (ConnectionPoolDataSource)ctx.lookup("java:/PostgresDS"); should obtaining a connection to your database. To find out what is bound where, you can connect to port 8082 on the host running JBoss to acc

RE: [JBoss-user] JBoss 2.4.4 & Tomcat 4.0.1 startproblem

2002-02-27 Thread Lucas McGregor
I had the same porblem once I upgraded from jboss2.4.1 to 2.4.4. So if anyone does have any tips, could you post them or send them to me too! THANKS! Lucas McGregor -Original Message- From: Dirk Storck [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 5:57 AM

RE: [JBoss-user] connection pooling and jboss.jcml

2002-02-27 Thread Lucas McGregor
Kotamraju, I am not sure about the ConnectionPoolDataSource class, but if you do a lookup against a pool created by the org.jboss.jdbc.XADataSourceLoader mbean, it returns an object that implements the javax.sql.DataSource interface. This snippet will look up a DataSource from

[JBoss-user] connection pooling and jboss.jcml

2002-02-27 Thread Kotamraju, Srinivas, BmS- NY1540
hi all, I am trying to configure jboss.jcml to create a connection pool and work with my postgres database.. my question is what will be the context.lookup JNDI Name for the connection? ConnectionPoolDataSource cpds = (ConnectionPoolDataSource)ctx.lookup("??"); or, If this is not the procedur

RE: [JBoss-user] can I connect to databese with specified user

2002-02-27 Thread Alex Loubyansky
Salute! The interface javax.sql.XADataSource has a method java.sql.XAConnection getXAConnection(java.lang.String username, java.lang.String password) that promises to establish a database connection. See API documetation. Thus you should be able to that. alex > -Original Message- >

RE: [JBoss-user] JBoss 2.4.4 & Tomcat 4.0.2 problem

2002-02-27 Thread Alex Loubyansky
Hey, Dirk!!! There are no any class files in the ear you've sent me! There are only application.xml and web.xml files! :) alex > -Original Message- > From: Dirk Storck [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 27, 2002 2:34 PM > To: [EMAIL PROTECTED] > Subje

[JBoss-user] can I connect to databese with specified user

2002-02-27 Thread Maris Orbidans
Hi all Can I find this datasource and do getConnection(java.lang.String username, java.lang.String password)? I use session beans + JDBC. inetbankDB org.opentools.minerva.jdbc.xa.wrapper.XADataSourc eImpl jdbc:cloudscape:rmi:CloudscapeDB;create=true

[JBoss-user] RE: [JBoss-dev] New EJB-QL compiler (ORDER BY and DynamicQL)

2002-02-27 Thread marc fleury
very cool dain very cool marcf |-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]]On Behalf Of Dain |Sundstrom |Sent: Tuesday, February 26, 2002 7:10 PM |To: JBoss-dev; JBoss-user |Subject: [JBoss-dev] New EJB-QL compiler (ORDER BY and DynamicQL) | | |The new EJB-QL

[JBoss-user] JBoss 2.4.4 & Tomcat 4.0.1 startproblem

2002-02-27 Thread Dirk Storck
Hi, I have download JBoss 2.4.4 & Tomcat 4.0.1 and if I start it with run_with_catalina.bat I get the following exception. Can someone tell me why ? [INFO,StateManager] Started [INFO,PersistenceManager] Starting [ERROR,PersistenceManager] Stopped java.lang.NullPointerException at org.jb

WG: [JBoss-user] JBoss 2.4.4 & Tomcat 4.0.2 problem

2002-02-27 Thread Dirk Storck
-Ursprüngliche Nachricht- Von: Dirk Storck [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 27. Februar 2002 13:34 An: '[EMAIL PROTECTED]' Betreff: AW: [JBoss-user] JBoss 2.4.4 & Tomcat 4.0.2 problem HI, I have tried first to deploy the manager application of tomcat 4.0.2. The ear is in

[JBoss-user] JBoss mention: Apache on warpath over Java licence

2002-02-27 Thread David Ward
"Apache on warpath over Java licence" http://www.vnunet.com/News/1129351 There are some JBoss mentions. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

RE: [JBoss-user] JBoss 2.4.4 & Tomcat 4.0.2 problem

2002-02-27 Thread Alex Loubyansky
Unfortumately, I haven't found any attachments :( Pay attention to: java.lang.SecurityException: Servlet of class org.apache.catalina.servlets.HTMLManagerServlet is privileged and cannot be loaded by this web application Indeed, I haven't worked with catalina yet. But, ok, let's try to so

RE: [JBoss-user] Q : database and entity bean development

2002-02-27 Thread Eric Kaplan
ditto here -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jonathan Gibbons Sent: Wednesday, February 27, 2002 3:34 AM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Q : database and entity bean development Hi, Use a BMP code generator and then you c

RE: [JBoss-user] New EJB-QL compiler (ORDER BY and DynamicQL)

2002-02-27 Thread rodrigob
Title: RE: [JBoss-user] New EJB-QL compiler (ORDER BY and DynamicQL) Very nice work! Thanks, Rodrigo -Original Message- From: Dain Sundstrom [mailto:[EMAIL PROTECTED]] Sent: quarta-feira, 27 de fevereiro de 2002 00:10 To: JBoss-dev; JBoss-user Subject: [JBoss-user] New EJB-QL compi

RE: [JBoss-user] JBoss 2.4.4 & Tomcat 4.0.2 problem

2002-02-27 Thread Alex Loubyansky
Hi, have you deployed these apps into %jboss_home%/deploy directory? alex > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of > Dirk Storck > Sent: Wednesday, February 27, 2002 12:58 PM > To: Jboss User (E-Mail) > Subject: [JBoss-user] JBoss

[JBoss-user] JBoss 2.4.4 & Tomcat 4.0.2 problem

2002-02-27 Thread Dirk Storck
Hi, I have downloaded JBoss 2.4.4 & Tomcat 4.0.1 and replaced Tomcat 4.0.1 with Tomcat 4.0.2. If I start JBoss with Tomcat I can access the JBoss example BUT I can't access the Tomcatexamples and the Tomcatmanager. If I start Tomcat alone I can access all examples and the manager. What do I have

RE: [JBoss-user] Q : database and entity bean development

2002-02-27 Thread Jonathan Gibbons
Hi, Use a BMP code generator and then you can do anything you want. CMP is actually just a code generator which hides the code. Now if CMP generated the code and then let coders play with it... that would be good. My LowRoad code generator is a BMP generator which does the thousands of line