[JBoss-user] dynamic GUI according to the rights

2002-07-02 Thread Ionel Gardais
Hi, I'd like to build a system with a dynamic GUI that shows/hides elements according to the Roles owned by the user. I've tried to retrieve the Principals through lc.getSubject().getPrincipals() but I get an empty set of principals so I can't (client side talking) know what is the client role.

[JBoss-user] Jboss 3.0 and DataSources

2002-07-02 Thread Graeme Rocher
Hi, I'm having trouble setting up a DataSource with JBoss 3.0, it seems to have changed from previous versions of JBoss and I have tried several things including the examples provided in the docs directory. I'm trying to establish the DataSource connection to Microsoft SQL Server 2000 with

RE: [JBoss-user] dynamic GUI according to the rights

2002-07-02 Thread Sacha Labourey
Ionel, You can implement your own loggin module and/or use a database JAAS login module. From there, it is up to you to organize the security data in the DB as you wish (with other DB tables that, for example, map a given user to a set of functions/features/frames he has access to, etc.) Then,

[JBoss-user] Several versions of an EJB module on one JBoss

2002-07-02 Thread Maris Orbidans
How to deploy several versions of same EJB JAR file on one JBoss ? Our app has one session facade bean which is the only EJB with remote interfaces. Maris --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven.

Re: [JBoss-user] Jboss 3.0 and DataSources

2002-07-02 Thread David Jencks
There have been several slight changes in the configuration, so if you are not running from cvs Branch_3_0 or HEAD you may need to be careful about which version you start with. The only difference to 3.0.1 I spotted was depends

Re: [JBoss-user] JUnit test of a EJB using JAAS

2002-07-02 Thread marius
Is the callback called? Do you have a security domain set up? On Mon, Jul 01, 2002 at 06:39:24PM -0300, Emerson Cargnin - MSA wrote: no sugestion? Emerson Cargnin - MSA wrote: My problem is to make a junit test to access the EJB's using security. I tried to use the tests from CVS. My

Re: [JBoss-user] Several versions of an EJB module on one JBoss

2002-07-02 Thread David Jencks
If you are using jboss 3.0.1, put your ejb-jar in an .ear and include jboss-app.xml next to application.xml specifying different LoaderRepository names. jboss-app loader-repositoryjboss.test.cts:loader=cts-cmp2v1.ear/loader-repository /jboss-app david jencks On 2002.07.02 07:09:21 -0400

Re: AW: [JBoss-user] jboss-net and axis

2002-07-02 Thread Bruce Scharlau
At 04:30 PM 7/1/2002 +0200, you wrote: Bruce, Since we did a few patches to the axis-beta (I´ll be changing this policy in the near future to include the patched sources into jboss.net instead), I did not plan to include every beta into jboss-net (especially since there is nothing spectacular in

RE: [JBoss-user] Several versions of an EJB module on one JBoss

2002-07-02 Thread Enrique Rodríguez
Title: RE: [JBoss-user] Several versions of an EJB module on one JBoss You can deploy an EJB with differents names in the JNDI. This is configurable in jboss.xml. HTH -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]En nombre de David Jencks Enviado el:

Re: [JBoss-user] JUnit test of a EJB using JAAS

2002-07-02 Thread Emerson Cargnin - MSA
[EMAIL PROTECTED] wrote: Is the callback called? Do you have a security domain set up? yes, in tomcat embedded it works all right... do I have to refer from the junit test to the security domain??? jboss-security.xml: security-domainjava:/jaas/sicredi/security-domain On Mon, Jul 01,

Re: [JBoss-user] JUnit test of a EJB using JAAS

2002-07-02 Thread marius
You probably need a client login module spesified in auth.conf, but it seems like you have one. But I think the file has to refer to the sec. domain you want to login to, like the file we use: // Connect client's login module, that infects the // EJB transport layer with the application caller

[JBoss-user] JBoss-2.4.7_Jetty-4.0.4 released

2002-07-02 Thread Jules Gosnell
In order to keep us up-to-date with current releases of JBoss Jetty I have just released JBoss-2.4.7_Jetty-4.0.4 onto SourceForge: http://prdownloads.sourceforge.net/jboss/JBoss-2.4.7_Jetty-4.0.4.zip?download The JBoss website should update shortly From the VERSION file

[JBoss-user] documentation

2002-07-02 Thread Peter T. Abplanalp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi all. i am wondering if there are any good docs on JBoss. i got the jboss book pre-release when i first started using jboss but it focuses mainly on jboss and what i'm looking for is documentation on integrating jboss/tomcat/apache with/without

Re: [JBoss-user] JUnit test of a EJB using JAAS

2002-07-02 Thread Emerson Cargnin - MSA
I did it... - auth.conf file : other { org.jboss.security.ClientLoginModule required; }; code: lc = new LoginContext(other, handler); but it don't work... I read in JBoss3.0QuickStart page 54 the following : Note that this login module does not perform any

Re: [JBoss-user] is coding a bean truly independent from deployment?

2002-07-02 Thread Dan Christopherson
Well, I think you've got it right. I beleive that the distinct and arbitrary seperation of roles was an attempt at simplification by the spec authors, but in reality it tends to confuse people who are more accustomed to reality 8^}). Of course the assembler and deployer roles also make more

Re: [JBoss-user] documentation

2002-07-02 Thread Bruno Lowagie
Peter T. Abplanalp wrote: hi all. i am wondering if there are any good docs on JBoss. i got the jboss book pre-release when i first started using jboss but it focuses mainly on jboss and what i'm looking for is documentation on integrating jboss/tomcat/apache with/without ssl, etc. i would

[JBoss-user] Problems obtaining a CLOB reference from my Oracle Database

2002-07-02 Thread David Rocks
Hi, I am hoping someone can help me. I am using jboss 2.4.4 and oracle 8i to store a CLOB field in an entity bean. When it comes to storing the beans data i would like to get a reference to the LOB to write into it. I have written a piece of code shown below in which i believe i should be able

[JBoss-user] Where does Jetty store its compiled JSPs?

2002-07-02 Thread Jonathan . O'Connor
Folks, I have a feeling that the answer to this is It doesn't, but if anyone knows better please let me know. Thanks, Jonathan O'Connor Ph: +353 1 872 3305 Mob: +353 86 824 9736 Fax: +353 1 873 3612

Re: [JBoss-user] is coding a bean truly independent from deployment?

2002-07-02 Thread David Jencks
My point of view is that most likely one or two people will be doing all the work, but that the separate specification of tx and security properties is a wonderful idea because you are forced to think about them as separate aspects to the application logic. IMO this results in better more

RE: [JBoss-user] is coding a bean truly independent from deployment?

2002-07-02 Thread Eric Kaplan
Thanks for the thought on this. Our company is very small and it helps to have a community outside these walls to confirm or deny thoughts. Both Dan and David confirmed (yes Dan, very longwinded but nevertheless relevant) what I was thinking. In our case, yes, I am the developer, architect,

Re: [JBoss-user] Where does Jetty store its compiled JSPs?

2002-07-02 Thread bryan hansen
I believe it compiles it and stores it in a generated war but I might not be correct on that. This poses another question that I have and that is when you deploy an application it seems that is saves copies of the deployed application in the tmp directory such as:

Re: [JBoss-user] is coding a bean truly independent from deployment?

2002-07-02 Thread Dain Sundstrom
Since I just fixed all of the exception handling code (with or without tx), I am familiar with most of the issues. The spec is very clear on what happens when a bean throws an exception (where it falls short is how that exception is wrapped). If a bean inherits a transaction from the caller

Re: [JBoss-user] Where does Jetty store its compiled JSPs?

2002-07-02 Thread Jules Gosnell
This would go better on [EMAIL PROTECTED] I'd have to counter with a question... Why do you want know ? Wherever it stores them is proprietary implementation and not defined by the spec. Therefore the implementation probably reserves the right to change this. If you want to write JSPs into

Re: [JBoss-user] Where does Jetty store its compiled JSPs?

2002-07-02 Thread Jules Gosnell
bryan hansen wrote: I believe it compiles it and stores it in a generated war but I might not be correct on that. This poses another question that I have and that is when you deploy an application it seems that is saves copies of the deployed application in the tmp directory such as:

Re: [JBoss-user] is coding a bean truly independent from deployment?

2002-07-02 Thread Burkhard Vogel
Hi, AFAIK there is no such thing as a bean deployer as a person with decisions to make. You on your own decide witch transactions etc you want by generating the ejb-jar.xml. The only deployer I know is a software tool for lame app-servers without a nifty super-easy drag'n'drop hotdeploy easeofuse

Re: [JBoss-user] ClassCastException

2002-07-02 Thread Burkhard Vogel
Hi, have you had comparable versions of jdks on both maschines? I heard it'll happen between 1.3.x and 1.4... Regards, Burkhard - Original Message - From: Starsinic, Frank [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 01, 2002 12:25 PM Subject: RE: [JBoss-user]

Re: [JBoss-user] Where does Jetty store its compiled JSPs?

2002-07-02 Thread Greg Turner
If you stop and shut down your JBoss instance, you can safely delete tmp. I do it all the time. Jules Gosnell wrote: bryan hansen wrote: I believe it compiles it and stores it in a generated war but I might not be correct on that. This poses another question that I have and that is when

Re: [JBoss-user] Where does Jetty store its compiled JSPs?

2002-07-02 Thread Greg Turner
Sometimes there may be a problem running a Jsp and one way to debug a Jsp is to be able to step thru the compiled code in a debugger which means having access to the compiled code. I don't write Jsp that often, so its not a problem for me, but if I were writing a lot of Jsp, one requirement I

RE: [JBoss-user] is coding a bean truly independent from deployment?

2002-07-02 Thread Eric Kaplan
although the hot deploy currently does not work properly under jdk 1.4 ... :( -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Burkhard Vogel Sent: Monday, July 01, 2002 4:20 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] is coding a bean truly

RE: [JBoss-user] ClassCastException

2002-07-02 Thread Starsinic, Frank
it's all on the same machine. same jdk. same classpath. ya got me :*( -Original Message- From: Burkhard Vogel [mailto:[EMAIL PROTECTED]] Sent: Monday, July 01, 2002 1:08 PM To: JBoss-User Subject: Re: [JBoss-user] ClassCastException Hi, have you had comparable versions of jdks on

Re: [JBoss-user] is coding a bean truly independent from deployment?

2002-07-02 Thread David Ward
What?! Hot deploy with Sun Linux JDK 1.4.0_01 works great for me with JBoss 3.0.0, as did all 3.0 release candidates, betas and alphas that were done. David -- Eric Kaplan wrote: although the hot deploy currently does not work properly under jdk 1.4 ... :( -Original Message-

RE: [JBoss-user] is coding a bean truly independent from deployment?

2002-07-02 Thread Eric Kaplan
Yes. If you re-deploy an ear file you get a classcastexception on the server when trying to lookup a bean that was looked up fine before the deploy. Here's an excerpt of mail on this in which Burkhard confirmed the problem. If this is not a problem, please tell me, because I'd like to be able

[JBoss-user] Question accessing EJB from command line.

2002-07-02 Thread bryan hansen
I was unable to find in the documentation how to access and ejb from a command line application. I have written a simple test class just to test the business methods on an EJB. I am pretty sure that I need to get the stubs and skeltons compiled to talk with the ejb, but what is the best way to do

[JBoss-user] Please remove this user from your mailing list he no longer workswith us. (apichatb@datasourceinc.com)

2002-07-02 Thread Oby Borges
Title: Message

[JBoss-user] cmp book

2002-07-02 Thread Emerson Cargnin - MSA
Is the CMP book still in html as it was before??? --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED]

Re: [JBoss-user] cmp book

2002-07-02 Thread Dain Sundstrom
No it is PDF. Did FlashLine send you the old HTML version? If they did send them an email and they send you the correct version. -dain Emerson Cargnin - MSA wrote: Is the CMP book still in html as it was before??? --- This sf.net

Re: [JBoss-user] Question accessing EJB from command line.

2002-07-02 Thread Greg Turner
Here is the properties I use; its slightly different than yours because mine has 3 properties, not 2: Properties props = new Properties(); props.put (java.naming.factory.initial,org.jnp.interfaces.NamingContextFactory); props.put (java.naming.provider.url,jnp://localhost:1099);

Re: [JBoss-user] cmp book

2002-07-02 Thread Emerson Cargnin - MSA
they sent, but it was three months ago. but i think I still deserve it... Dain Sundstrom wrote: No it is PDF. Did FlashLine send you the old HTML version? If they did send them an email and they send you the correct version. -dain Emerson Cargnin - MSA wrote: Is the CMP book

Re: [JBoss-user] Question accessing EJB from command line.

2002-07-02 Thread bryan hansen
So should I not be deploying my appliction to the default directory then? And instead be deploying it to the client directory? Bryan --- Greg Turner [EMAIL PROTECTED] wrote: Here is the properties I use; its slightly different than yours because mine has 3 properties, not 2:

[JBoss-user] help

2002-07-02 Thread Paul Hsu
Hi, I have a problem which I cannot figure out. I hope somone can help me with this problem, thank you in advance. I install c:\jboss-3.0.0_tomcat-4.0.3 then run c:\jboss-3.0.0_tomcat-4.0.3\bin\run.bat. No errors show on console. I receive error when I try type 'http://localhost:8080' as

[JBoss-user] need help

2002-07-02 Thread Paul Hsu
Hi, I have a problem which I cannot figure out. I hope somone can help me with this problem, thank you in advance. I install c:\jboss-3.0.0_tomcat-4.0.3 then run c:\jboss-3.0.0_tomcat-4.0.3\bin\run.bat. No errors show on console. I receive error when I try type 'http://localhost:8080' as

Re: [JBoss-user] need help

2002-07-02 Thread [EMAIL PROTECTED]
Hi Paul, there is no default context configured..just try deploying some web application and see it working vijay - Original Message - From: Paul Hsu To: [EMAIL PROTECTED] Sent: Wednesday, July 03, 2002 7:58 AM Subject: [JBoss-user] need help Hi,

Re: [JBoss-user] Question accessing EJB from command line.

2002-07-02 Thread Guy Rouillier
You deploy your EJB to the deploy directory. You don't deploy your command-line client anywhere, you just run it, including in the classpath the necessary JBoss client jars and the home and remote interface classes for your EJB.. - Original Message - From: bryan hansen [EMAIL PROTECTED]

RE: [JBoss-user] is coding a bean truly independent from deployment?

2002-07-02 Thread Torsten Terp
Hi, This is a problem for me too. jBoss 3.0.1RC1, Sun JDK1.4 on windows... Torsten -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Eric Kaplan Sent: 2. juli 2002 21:20 To: Sullivan, Sean C - MLG Cc: Jboss-User Subject: RE: [JBoss-user] is coding