[JBoss-user] How to handle client jars?

2001-03-21 Thread Lennart Petersson
I wants to split my ejb component in two parts: One part is what only is needed on the server (foo_ejb.jar) and one part is whata client has to have to talk with the ejb component (foo_client.jar). In the extreme case only FooBean.class is in the foo_ejb.jar and then Foo.class,

[JBoss-user] JAAS Based Security in JBoss

2001-03-21 Thread thierry birre
hi jboss-users i'm using the last 2.1 version of jboss with embedded tomcat on windows 2000. i read the page of the new manual : http://www.jboss.org/documentation/HTML/ch09s32.html after configuring all files : jboss.jcml, standardjboss.xml, auth.conf, roles.properties and

[JBoss-user] primary key problem

2001-03-21 Thread Andy Evans
Hi CMP beans work fine EXCEPT a primary key is not created in the database table just a normal column. This happens both with mySQL and InstantDB. Has anybody else noticed this. Andy Evans Do You Yahoo!? Get your free @yahoo.co.uk

[JBoss-user] Error on create in applet

2001-03-21 Thread Marteijn Nouwens
HEllo everybody, I am trying to connect to an enterprise bean from an applet. This has worked but now i get the following error: javax.ejb.CreateException at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source) at

RE: [JBoss-user] New User

2001-03-21 Thread Bankwalla, Viraf
Thanks, but there was no docs directory in the download of the new beta, and I did not see anything online on ZOAP. - viraf -Original Message- From: Guy Rouillier [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 21, 2001 12:35 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] New User

RE: [JBoss-user] Re: ejbjar Ant task for JBoss

2001-03-21 Thread Mills, Maurice
I was looking into this last night in Ant. The method of calling this from ant is to invoke a new process calling org.jboss.verifier.Main() I believe (at least that is how they have done it for WebLogic). I believe a simple return code should be fine. I am checking with the Ant people to

RE: [JBoss-user] Hypersonic SQL

2001-03-21 Thread Kimpton,C (Chris)
Hi, [I don't represent the team - the views are my own] However, I'm a bit concerned that the default database used by JBoss for CMP Entity beans, Hypersonic SQL, seems to be no longer supported. What is the stance of the JBoss team on this...is Hypersonic still recommended as the

RE: [JBoss-user] Flux ?????

2001-03-21 Thread marc fleury
Flux man, the list is obscure this morning or is it just me and the caffeine level? marc |-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]]On Behalf Of Penn |Sent: Wednesday, March 21, 2001 7:50 AM |To: [EMAIL PROTECTED] |Subject: [JBoss-user] Flux ? | |

Re: [JBoss-user] Hypersonic SQL

2001-03-21 Thread Franco Biaggi
Hi, try : E:\hypersonicsql\demorun DatabaseManager On Wed, 21 Mar 2001 14:11:52 -, Steven Webster wrote: Hi all, I've migrated some development work from Weblogic, over to JBoss, and am initially impressed. However, I'm a bit concerned that the default database used by JBoss for CMP

[JBoss-user] Got error java.lang.NoClassDefFoundError:org/jboss/security/SecurityAssociation

2001-03-21 Thread Constantin Teodorescu
Got the latest 2.1 jboss (PRE 2.1) and tried to run the same example (interest.jar) that worked fine in 2.0 Compilation OK, deployment OK, but received error running InterestClient : Got context Got reference Exception in thread "main" java.lang.NoClassDefFoundError:

RE: [JBoss-user] LOCKING-WAITING

2001-03-21 Thread Bordet, Simone
Marc, Just out of curiousity Simone... when we benched at SUN one of the big difference under load was the thread management. The best in terms of resource usage was put the thread to sleep (with a 5 sec timeout) and notify (1) and that REALLY flew and scaled REALLY well because

RE: [JBoss-user] Hypersonic SQL

2001-03-21 Thread Swarr, Bob
Try MySQL. I've tested it with JBoss and it seems to work well. The downloadable binary packaging is nearly commercial slick. O'Reilly puts out a good book on it. A commercial version is available (like Red Hat or Caldera Linux). The implementation of SQL is a fairly complete SQL2. It will be

RE: [JBoss-user] JAAS Based Security in JBoss

2001-03-21 Thread Ernest Chen
I had the same problem with Tomcat embeded in Jboss 2.1, authentication works but authorization fails with jaas/other configuration. However if you runTomcat as a separate process it works fine. -Original Message-From: thierry birre [mailto:[EMAIL PROTECTED]]Sent: Wednesday,

Re: [JBoss-user] JAAS Based Security in JBoss

2001-03-21 Thread danch
I assume that you're calling from a stand-alone client? Did you point that client at the auth.conf in the JBoss_home/client directory, or the one in conf/default? The client needs to read the auth.conf from the client directory in order to Do the Right Thing. danch thierry birre wrote: hi

Re: [JBoss-user] Hypersonic SQL

2001-03-21 Thread Steven Webster
Hi, I think there is a big difference between default and recommended. HSql is good for getting started quickly - but it has limits that need to be understood and accepted if it is to be used. I think we're realising that already... ;) There is a client that comes with hsql - have you

Re: [JBoss-user] Got error java.lang.NoClassDefFoundError: org/jboss/security/SecurityAssociation

2001-03-21 Thread Constantin Teodorescu
danch wrote: Constantin Teodorescu wrote: Got the latest 2.1 jboss (PRE 2.1) and tried to run the same example (interest.jar) that worked fine in 2.0 Compilation OK, deployment OK, but received error running InterestClient : Got context Got reference Exception in thread

[JBoss-user] Accessing DataSource from a client

2001-03-21 Thread Kirill Averianov
I have a stand alone java client (NOT A BEAN) where I am trying to get a pointer to "OracleDB" DataSource using the following code : xads = ( javax.sql.DataSource )jndiCtx.lookup ( "OracleDB" ); I get : "javax.naming.NameNotFoundException: jdbc not bound"

RE: [JBoss-user] Unable to load a ResultSet column into a variable of type 'int'

2001-03-21 Thread Ernest Chen
Title: Unable to load a ResultSet column into a variable of type 'int' Mmm, which column/file are you talking about? My client code is just calling getHeadline() method that returns a String. Thanks! -Original Message-From: Burkhard Vogel [mailto:[EMAIL PROTECTED]]Sent:

RE: [JBoss-user] LOCKING-WAITING

2001-03-21 Thread Swarr, Bob
Marc, I think that the body of opinion in CS literature is consistent with your findings. Busy/wait burns cpu and leads to various programming problems (race, starvation, deadlock, etc). To address these problems a number of theorticians in concurrent programming, such as Brinch Hansen,

Re: [JBoss-user] Accessing DataSource from a client

2001-03-21 Thread Joe
your OracleDB is bound to "java:/OracleDB" your look up should look like this xads = ( javax.sql.DataSource )jndiCtx.lookup ( "java:/OracleDB" ); - Original Message - From: "Kirill Averianov" [EMAIL PROTECTED] To: "JBOSS (E-mail)" [EMAIL PROTECTED] Sent: Wednesday, March 21, 2001 3:46

[JBoss-user] unsubscribe

2001-03-21 Thread Steve Nguyen
Please assist to unsubscribe me out of this list Thanks, Steve Nguyen -- KBMail Software Java Hosting Support E-mail: [EMAIL PROTECTED] Web site: http://www.ebpcs.net | http://www.kbmail.com ___ JBoss-user mailing list [EMAIL PROTECTED]

RE: [JBoss-user] LOCKING-WAITING

2001-03-21 Thread Bordet, Simone
Hey, Which leads to a question since I'm a JBoss novice. Is there a way to set the number of threads in JBoss? I use WebLogic regularly and it provides a configuration parameter that allows you to set the number of threads in the VM that the server uses. No. (but this is open source

RE: [JBoss-user] Hypersonic SQL

2001-03-21 Thread Kimpton,C (Chris)
Hi, Have you got the jaws.xml flag set such that tables are dropped when the application finishes - if this is set, it should mean that the tables are re-created upon startup - curing your problem. We tried that in standardjaws.xml - there was no jaws.xml filethe tables

RE: [JBoss-user] CVS is online at sourceforge

2001-03-21 Thread Kimpton,C (Chris)
Hi, -Original Message- From: Alexander Jerusalem [mailto:[EMAIL PROTECTED]] I've downloaded the cvs files from sourceforge but I wonder if this is the latest version because the Ant build file has a line: property name="version" value="2.0"/ oops - I think that was my

[JBoss-user] PLEASE HELP : How to bind javax.transaction.UserTransaction

2001-03-21 Thread Kirill Averianov
PLEASE HELP ! How to bind javax.transaction.UserTransaction to the JNDI at the JBoss startup ? What JBoss configuration files must be changed for that ? Thanks a lot , Kirill. ___ JBoss-user mailing list [EMAIL

RE: [JBoss-user] unsubscribe

2001-03-21 Thread ZAPHOD
1) Go to: http://lists.sourceforge.net/lists/listinfo/jboss-user 2) Enter your email address on the bottom of the page (next to the "Edit Options" button) and press the "Edit Options" button. 3) Type in your password next to the "Unsubscribe" button and press the "Unsubscribe" button. 4) If

[JBoss-user] EJX Editor bug ?

2001-03-21 Thread Franco Biaggi
HI, I see a bug in EJC editor, when editing a JAWS file, CMP mapping ( DB is mySQL), changing a BLOB SQL type of a java.lang.TimeStamp to an SQL type of TIMESTAMP is not stored in the JAWS.XML file. The JAWS.XML must be manually edited. Thanks html head meta http-equiv="Content-Type"

RE: [JBoss-user] Accessing DataSource from a client

2001-03-21 Thread Kirill Averianov
Your suggestion will work only if it's implemented as a BEAN. I want to access it from a different VM. It works fine with a weblogic. Does JBOSS do it too ? Thanks , Kirill. -Original Message- From: danch [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 21, 2001

[JBoss-user] Jetty/Jboss help

2001-03-21 Thread Daren R. Sefcik
Hi, I am trying out the Jetty/Jboss bundle and everything works fine except for the Jboss demo. I get the initial page fine but when I try and run the HelloEJB example I get the following: = Servlet calling EJB Call failed...

Re: [JBoss-user] Accessing DataSource from a client

2001-03-21 Thread Joe
danch wrote: Note that you really should do your lookups at "java:comp/env/jdbc/OracleDB", but that does require that you either set up OracleDB as your default, or make a couple of mapping entries in jboss.xml. can you explain why ? because the specs recommend you do ? I am still pretty

Re: [JBoss-user] Accessing DataSource from a client

2001-03-21 Thread Joe
it should still work (when you say BEAN you mean EJB right? ) - Original Message - From: "Kirill Averianov" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 21, 2001 6:50 PM Subject: RE: [JBoss-user] Accessing DataSource from a client Your suggestion will work only if

Re: [JBoss-user] MS-SQL Server JDBC Driver Benchmark

2001-03-21 Thread Juha Lindfors
At 08:26 21.3.2001 -0500, you wrote: They compare i-net drivers to those of NetDirect, AveConnect, and J-Turbo as well as a JDBC-ODBC bridge. They test for performance, stability, reliability, etc... Of course, this is a commercial site, but it is more info for those searching for a driver. Hope

RE: [JBoss-user] LOCKING-WAITING

2001-03-21 Thread Juha Lindfors
Hey, At 13:43 21.3.2001 -, you wrote: I'm also working on that, I fixed it but didn't tested it enough. Keep me informed if you will work on this. I was only planning to drop the patch in...didn't want it to get lost. But you can have this one, you're more familiar with it :) Enjoy! --

RE: [JBoss-user] LOCKING-WAITING

2001-03-21 Thread Juha Lindfors
Hi, At 13:43 21.3.2001 -, you wrote: I'm also working on that, I fixed it but didn't tested it enough. Keep me informed if you will work on this. I was only planning to drop the patch in...didn't want it to get lost. But you can have this one, you're more familiar with it :) Enjoy! --

RE: [JBoss-user] Accessing DataSource from a client

2001-03-21 Thread Kirill Averianov
Yes , BEAN = EJB. May be it should work , but it does not. I can access it from EJB with no problem , but if try InitialContext.lookup( dataSourceName ) from a different VM it throws Exception : "javax.naming.NameNotFoundException: OracleDB not

[JBoss-user] Newbie: deploying stateful bean

2001-03-21 Thread Garry Thuna
I am trying to deploy a stateful bean but am failing. Stateless is okay. To narrow in on the problem I tried to deploy the interest.jar example after changing its deployment descriptor to indicate that it was a stateful bean instead of stateless and it failed to deploy in the same way as my

Re: [JBoss-user] Accessing DataSource from a client

2001-03-21 Thread Dan Christopherson
It should work from another VM? That would require all the minerva pooling stuff as well as the Oracle drivers to be serializable, wouldn't it? Or it would require the entry bound into JNDI to be a factory sort of thing, right? On Wed, 21 Mar 2001, Joe wrote: it should still work (when you say

[JBoss-user] help needed: transaction options for a simple case

2001-03-21 Thread fractals
Hi, This is a very simple question concerning transactions: I need to make a user-registration in multiple steps: 1. The user enters a pin code that corresponds to a certain amount of money he/she spent to get access to the application - application checks the pin code, and marks a

Re: R: [JBoss-user] LOCKING-WAITING

2001-03-21 Thread Bill Burke
My patch didn't do any of the performance tuning Marc or Simone was talking about. It only made sure that thousands of LOCKING-WAITING messages weren't being printed to the log. Bill Juha Lindfors wrote: At 20:48 21.3.2001 -, you wrote: I was only planning to drop the patch

RE: [JBoss-user] PLEASE HELP : How to bind javax.transaction.UserTransaction

2001-03-21 Thread Dan Christopherson
Try getting it from the session context. On Wed, 21 Mar 2001, Kirill Averianov wrote: I tried to it in a session bean it DOES NOT FIND it too. Is UserTransaction implemented in JBOSS at all? Looks to me that it is not. -Original Message- From: [EMAIL PROTECTED]

Re: [JBoss-user] Please clarify JBoss and Tomcat setup

2001-03-21 Thread Michel Anke
Hi, for JBoss and Tomcat install you only need jboss-tomcat-2.1-beta.zip. Unzip the zip file. That's it. You're ready, it works. Try to deploy an EAR containing a WAR in the jboss21/deploy directory. Alternatively, you can modify the tomcat32/conf/serverl.xml and add a context pointing to a

Re: [JBoss-user] (no subject)

2001-03-21 Thread Dewayne McNair
For your combination, use the docs at JBoss -- JBoss 3rd Party -- Tomcat or, more to the point http://www.jboss.org/business/jboss-tomcat.html Good luck... -- Dewayne - Original Message - From: "Wayne Leishman" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 21, 2001

[JBoss-user] X509 Client certificate authentication module?

2001-03-21 Thread Michel Anke
Does anyone know of or have a security pluging for Tomcat/JBoss that allows to authenticate using X509 client-side certificates? Anyone chance for an integration with LDAP tools? Can people provide some pointers to open source/free tools that could be useful? Michel de Groot

[JBoss-user] Apache and Jboss + Embedded Tomcat Integration

2001-03-21 Thread Joe Krause
Does anybody know how to integrate the Apache web-server with JBoss and embedded Tomcat? We've been developing an EJB/JSP web solution using JBoss/Tomcat by doing all testing through a web browser connected to port 8080, but now we want to deploy to a real production environment using Apache to

Re: [JBoss-user] Execution threads in Jboss

2001-03-21 Thread Dan Christopherson
On Wed, 21 Mar 2001 [EMAIL PROTECTED] wrote: Greetings all! Can anyone tell me about how the execution threads work between JBoss and Tomcat, and how many there are, can we change them, etc.? We've put a slew of timing debug statements in our code to try to narrow down a perceived

Re: [JBoss-user] help needed: transaction options for a simple case

2001-03-21 Thread fractals
Hi again Dan, And thanks so much for your patience ! Well, this is a neat solution indeed. The fact is, I've never used transactions so I don't know what they cost. At the very moment, I am beginning an implementation using JTA. To begin with, let's say that I'll probably abandon this idea in

RE: [JBoss-user] X509 Client certificate authentication module?

2001-03-21 Thread marc fleury
|[mailto:[EMAIL PROTECTED]]On Behalf Of Michel |Anke |Sent: Wednesday, March 21, 2001 5:42 PM |To: [EMAIL PROTECTED] |Subject: [JBoss-user] X509 Client certificate authentication module? | | |Does anyone know of or have a security pluging for Tomcat/JBoss |that allows to |authenticate using

Re: [JBoss-user] Execution threads in Jboss

2001-03-21 Thread R . Price
Greetings all! Can anyone tell me about how the execution threads work between JBoss and Tomcat, and how many there are, can we change them, etc.? We've put a slew of timing debug statements in our code to try to narrow down a perceived bottle-neck in JBoss. We dump 100 virtual users

[JBoss-user] Error using a bean in JBoss from Jakarta-4.0

2001-03-21 Thread Tye, Timothy
I get the following error trying to call a bean on JBoss-2.0 from Jakarta-4.0 servlet. Running JDK1.3 on Linux(Mandrake) 7.1 When calling the same bean from a standalone Java client, it all works fine. java.lang.reflect.UndeclaredThrowableException: java.net.MalformedURLException: unknown

Re: [JBoss-user] X509 Client certificate authentication module?

2001-03-21 Thread Scott M Stark
I have an LDAP based LoginModule just about ready for check in. It will be committed tonight. The credentials are whatever you pass in and could be an X509 cert. - Original Message - From: "Michel Anke" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 21, 2001 2:42 PM

Re: [JBoss-user] X509 Client certificate authentication module?

2001-03-21 Thread Michel Anke
Well, before I jump into it, it seems like a Good Idea to check that reuse is not an option. Before I start working on it, I need to know what tools are available. Michel |[mailto:[EMAIL PROTECTED]]On Behalf Of Michel |Anke |Sent: Wednesday, March 21, 2001 5:42 PM |To: [EMAIL PROTECTED]

Re: [JBoss-user] X509 Client certificate authentication module?

2001-03-21 Thread Michel Anke
Thanks, I will have a look at it. What's its location in the source tree? Michel I have an LDAP based LoginModule just about ready for check in. It will be committed tonight. The credentials are whatever you pass in and could be an X509 cert. - Original Message - From: "Michel

[JBoss-user] java.lang.reflect.UndeclaredThrowableException

2001-03-21 Thread Brian Elliott
I am getting an UndeclaredThrowableException when trying to execute a method within my Bean and not sure how to track it down. It looks like I am able to create the bean ok. Here is the code: InitialContext jndiContext = new InitialContext(); Object devRef =

[JBoss-user] How to run separate tomcat in jboss ??

2001-03-21 Thread Ricky
Hi all , i am using Linux6.1 , jdk1.3 , jboss2.1 and Tomcat3.2.1. We have been successfully embedded tomcat in the jboss. However what i am trying to do is that i want to run tomcat as standalone and separate from jboss2.1. I did not see any documentation about it. Maybe someone please

[JBoss-user] Are Hypersonic and/or InstantDB needed?

2001-03-21 Thread Alexander Jerusalem
Hi, Does anyone know if the hypersonic and/or instantDB datasources are needed by JBoss or JBossMQ or by the JNDI service? Or are they just there as an example to try out jaws? Can I safely remove them? thanks, Alexander ___ JBoss-user mailing

Re: [JBoss-user] How to run separate tomcat in jboss ??

2001-03-21 Thread Alexander Jerusalem
Hi, It's here: http://www.jboss.org/manual/third_party.html#tomcat I don't know if this document is still valid for 2.1. but I suppose it should be. It basically says that you have to start JBoss and Tomcat separately and put the right jar files in the WEB-INF/lib directory of your web app.

Re: [JBoss-user] java.lang.reflect.UndeclaredThrowableException

2001-03-21 Thread danch
Take a look in the server-side log. This will give you the server side trace. Have you recently changed the throws clause of 'setDevice', but forgotten to change the interface? That's one possibility. Another possibility is that that something on the server side is throwing a strange

Re: [JBoss-user] Are Hypersonic and/or InstantDB needed?

2001-03-21 Thread danch
I remove them pretty regularly. I don't use JBossMQ, but it does seem to start up all right. Alexander Jerusalem wrote: Hi, Does anyone know if the hypersonic and/or instantDB datasources are needed by JBoss or JBossMQ or by the JNDI service? Or are they just there as an example to try

Re: [JBoss-user] How to handle client jars?

2001-03-21 Thread danch
I put all of a bean's classes (impl, home and remote, as well as any required support classes) into its jar. I believe this is required by spec. I then create a jar containing the client bits (anything exposed as or by an interface), then use the manifest header from client jars. Lennart

Re: [JBoss-user] Are Hypersonic and/or InstantDB needed?

2001-03-21 Thread danch
Rafizan Baharum wrote: how do u remove them? i mean besides the DataSourceLoader mbeans, hsqldb mbean, what else can you remove? Those are all that I chop out. for example, can i remove blackboxDS? I don't believe that removing that will harm anything. I was getting errors from it anyway,

[JBoss-user] FW: [hsql-user] New Project Formed at SourceForge

2001-03-21 Thread Kemp Randy-W18971
For those interested in Hypersonic SQL, here is some encouragement from their user mailing lists. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 21, 2001 1:28 PM To: [EMAIL PROTECTED] Subject: [hsql-user] New Project Formed at SourceForge