Re: [jBoss-User] Catalina Integration?

2001-01-17 Thread Sebastien Alborini
Roberto Leong wrote: will try to put something tomorrow I will definitely need help replacing network requests with inVM calls, I have no idea how to do it (is this related to classloader sharing?) Yes it is, if you use the right classloader the container invoker should do inVM calls

[jBoss-User] getCallerPrincipal misbehaves?

2001-01-17 Thread Alexander Klyubin
Hi! I was trying to test security in jBoss and found out, that if client does not logon to jBoss via LoginContext() getCallerPrincipal() inside invoked beans' methods returns null. 15.2.5 of EJB1.1 spec says: " ... The Bean Provider can invoke the getCallerPrincipal and isCallerInRole methods

[jBoss-User] EJBs in different servers

2001-01-17 Thread Sebastian Lillo
Hi, I'm new to jBoss (EJB in general) and I just made my first Bean. Now what should I do if I want to distribute two different beans in two different machines? What's the coding and/or configuration required for such thing ? Thanks --

RE: [jBoss-User] JBoss and Interbase

2001-01-17 Thread Honoria Sauciuc
Drivers Interclient 2.0 and 1.6 caused different behaviour in my case too. With Interclient 2.0 on a windows 2000 platform the diagnose tool isn't working. This tool is provided by Borland together with the driver. The tool and the BMP I made trying to access the database caused an odd exception

[jBoss-User] Security: Unauthorized clients access beans

2001-01-17 Thread Alexander Klyubin
Hi! I fairly new to JAAS and jBoss implementation of EJB security. I managed to configure jBoss so that it check access to beans based on roles -- the standard way. It works fine, until I try to use the beans by clients, which never logged in (did not use any LoginContext). They are allowed

Re: [jBoss-User] Security: Unauthorized clients access beans

2001-01-17 Thread Oleg Nitz
Hi Alexander, Which JBoss version do you use? I guess, 2.0. I cannot tell you "why is this", :-) but I believe that in CVS (version PRE-2.1) this flaw has been fixed. Regards, Oleg Alexander Klyubin wrote: I fairly new to JAAS and jBoss implementation of EJB security. I managed to configure

[jBoss-User] Servlets and jBoss security

2001-01-17 Thread Alexander Klyubin
Hi! I'm wondering, how I can write servlets, that work with secure beans exposed with jBoss. I know how to authenticate users in order for them to use my "secure" beans. The problem is that there are two types of security context association on client side(I'm new to EJB security, so the term is

[jBoss-User] www.jboss.org down?

2001-01-17 Thread Alexander Klyubin
Hi! Does anybody know why www.jboss.org is down for several days now? Alexander Klyubin -- -- To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] List Help?: [EMAIL PROTECTED]

Re: [jBoss-User] www.jboss.org down?

2001-01-17 Thread Lennart Petersson
No idea, and all this is giving me bad feelings... And most of the people from the inner of jBoss is scary silent... What is going on! :-() /Lennart Alexander Klyubin skrev: Hi! Does anybody know why www.jboss.org is down for several days now? Alexander Klyubin --

Re: [jBoss-User] www.jboss.org down?

2001-01-17 Thread Dan OConnor
Hi Lennart, I don't know why the web site is down, but I see that we have had posts from each of Rickard, Marc, Juha, Oleg, Hiram, etc. within the last two days. Silence? There are no issues or behind-the-scenes problems of which I am aware (I am on the board). In any case development on

RE: [jBoss-User] www.jboss.org down?

2001-01-17 Thread Alexander Klyubin
So, how can one access documents and download sources from CVS? Alexander Klyubin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dan OConnor Sent: Wednesday, January 17, 2001 16:04 To: jBoss Subject: Re: [jBoss-User] www.jboss.org down? Hi Lennart,

Re: [jBoss-User] www.jboss.org down?

2001-01-17 Thread Lennart Petersson
Ok, you are right :) But maybe some of them are not that active on the list as before christmas? Of course there is no problem with that as long as we know that everything is fine and that the project is going on. I'm also very excited about both the volume and the quality of this list. Keep on

RE: [jBoss-User] Entity CMP

2001-01-17 Thread Shahar Solomianik
Hi cmwong. Here is what i did : I inherited all my entity beans from a bean that generates the pk in its ejbCreate method (it selects nextval from an env-entry sequence name) and in each bean's ejbCreate i invoke super.ejbCreate(). I would love to hear comments about this method of work...

Re: [jBoss-User]??: [jBoss-User] Problem about CMP? BigBugwithJBoss CMP??

2001-01-17 Thread Ole Husgaard
[EMAIL PROTECTED] wrote: Hi,Ole Husgaard the content of ejb-jar.xml: [snip] Looks like all transaction attributes you have declared are Required, and this is the JBoss default if nothing else is declared, I guess we can assume that _all_ your methods in _all_your beans have transaction

[jBoss-User] Client.jar

2001-01-17 Thread Chad LaJoie
Since the site is down I can't look this up. Do I need to include the jaws.xml, ejb-jar.xml, and jboss.xml in my client jar? I am thinking no. Chad La Joie "Only a man who can not conquer IT Specialist his deficiencies feels the need to

Re: [jBoss-User] www.jboss.org down?

2001-01-17 Thread Sebastien Alborini
Lennart Petersson wrote: No idea, and all this is giving me bad feelings... And most of the people from the inner of jBoss is scary silent... Hi, I don't know why the web server is down, but the mail server for jboss.org and telkel.com is down too, so marc and rickard probably can't read

Re: [jBoss-User] Client.jar

2001-01-17 Thread Lennart Petersson
no, they are only in the ejb jar file. /Lennart Chad LaJoie skrev: Since the site is down I can't look this up. Do I need to include the jaws.xml, ejb-jar.xml, and jboss.xml in my client jar? I am thinking no. Chad La Joie "Only a man who can not conquer IT

Re: [jBoss-User] Entity CMP

2001-01-17 Thread Ole Husgaard
Hi, Derek Slager wrote: If wrapped in a transaction, that would work -- but the performance would be rather horrible -- the MAX query is fairly DB intensive and I wouldn't recommend doing that in a transaction. That depends on the database: Any sensible database implementation will have an

RE: [jBoss-User] www.jboss.org down?

2001-01-17 Thread Shahar Solomianik
some people find email must more important than oxygen :-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Sebastien Alborini Sent: Wednesday, January 17, 2001 4:10 PM To: jBoss Subject: Re: [jBoss-User] www.jboss.org down? Lennart Petersson wrote:

Re: [jBoss-User] Security: Unauthorized clients access beans

2001-01-17 Thread dferugson
Where can I find info on using the LoginContext. I haven't seen any docu. If there isn't does anybody out there have code examples they could share? thanks. d. Oleg Nitz wrote: Hi Alexander, Which JBoss version do you use? I guess, 2.0. I cannot tell you "why is this", :-) but I believe

Re: [jBoss-User] Servlets and jBoss security

2001-01-17 Thread Charlie Read
A somehow closely related other question is how do I correctly work with EJB security from client in servlet mode. I know how to login using LoginContext, but how do I process further requests from the same user -- I suppose I should not authenticate the user once more. But how does jBoss

[jBoss-User] Security patterns

2001-01-17 Thread Alexander Klyubin
Hi! Anybody knows of any security patterns in EJB or at least for jBoss. Role-based method-level security is clearly not enough in most cases. How can I externalize these finer-grained settings to some settings file or database still using EJB concepts? Security constraint example: Only owners

RE: [jBoss-User] Security: Unauthorized clients access beans

2001-01-17 Thread Alexander Klyubin
Try this mailing list's archive. Search for 'JAAS'. Also check out http://www.mail-archive.com/jboss-user@list.working-dogs.com/msg07614.html. Alexander Klyubin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of dferugson Sent: Wednesday, January 17, 2001

Re: [jBoss-User] www.jboss.org down?

2001-01-17 Thread Tobias Frech
Calm down everybody! Obviously the provider didn't do a perfect job up to now. That's why Marc was looking and has found somebody else. I think it will just take a little while until the site is running there and the DNS change has propagated through all servers. Cheers, Tobias Alexander

[jBoss-User] Externalizing security settings

2001-01-17 Thread Alexander Klyubin
Hi! Beans usually have custom security business requirements -- not only purely role-based ones. A simple example is that only the owner of account can modify it (Admin also). Can anyone offer a good solution or at least the direction where I should go in order to externalize there security

Re: [jBoss-User] Externalizing security settings

2001-01-17 Thread Oleg Nitz
Hi Alexander, I cannot point out links that you seek for, but I have one thought on this topic. You may have your own Principal implementation (of course, for that you should implement your own server LoginModule). The Principal implementation can contain additional data and methods used for

Re: [jBoss-User] EJBs in different servers

2001-01-17 Thread Alexander Kogan
I'm trying to do so (with some success). Check the last post on the "Clustering" thread on this list. good luck. Sebastian Lillo wrote: Hi, I'm new to jBoss (EJB in general) and I just made my first Bean. Now what should I do if I want to distribute two different beans in two different

Re: [jBoss-User] Externalizing security settings

2001-01-17 Thread Scott M Stark
I'm working on a jboss security interceptor that uses a delegation model along with a custom JAAS policy provider so that one can write security rules indepdendent of the business logic. The delegation layer is one that implements the public interface of the bean it is securing and then delegates

[jBoss-User] 2 odd errors

2001-01-17 Thread Chad LaJoie
I've been getting 2 errors that I can't seem to figure out. 1. "The method return values in the home interface must be of valid types for RMI/IIOP." I get this one on my home interface and I am not sure what the problem is. This is the declaration I have for the create method (which is the

Re: [jBoss-User] 2 odd errors

2001-01-17 Thread Juha-P Lindfors
Hi, On Wed, 17 Jan 2001, Chad LaJoie wrote: 1. "The method return values in the home interface must be of valid types for RMI/IIOP." I get this one on my home interface and I am not sure what the problem is. This is the declaration I have for the create method (which is the one it is

Re: [jBoss-User] Entity CMP

2001-01-17 Thread Luke Taylor
Isn't it rather risky using MAX to obtain the next primary key, as there could be multiple threads creating new entities, and two or more of them could obtain the same value for MAX and attempt to use the same primary key? The best way I'm aware of is to use a DB sequence, but this involves

RE: [jBoss-User] Auto deploying from directories - Help !

2001-01-17 Thread Jonathan Ackerman
It's not so much the fact that the context does not persist between bounces, but that I cannot get the server to deploy from a directory (as opposed to a .jar file). In several places it's mentioned that Jboss can autodeploy from jar,ear,war and directories that mimic jar or war 'directory'

[jBoss-User] Finder Methods are slower when nothing is returned

2001-01-17 Thread Bolt, Dave
Title: Finder Methods are slower when nothing is returned I'm trying to write some code to use BMP Entity beans to update an Oracle 8i database. I have a session bean that is doing the data loading from an XML file. I want to use the Entity bean to see if the data exists (via a Finder

RE: [jBoss-User] Entity CMP

2001-01-17 Thread Jonathan Ackerman
TheServerSide.com has some good pattern discussions with regards to EJBs. Check out http://theserverside.com/patterns/index.jsp In particular the discussion on a Entity Bean Primary Key Generator pattern http://theserverside.com/patterns/thread.jsp?thread_id=220 The outcome of this can be

[jBoss-User] jboss_tomcat JSP problem

2001-01-17 Thread TODD.KEGLEY
Hi, I installed jboss_tomcat and successfully deployed EJB's and servlets in an .ear file. However, I am unable to deploy a jsp. I get the following message when trying to access the jsp.

Re: [jBoss-User] jboss_tomcat JSP problem

2001-01-17 Thread Dewayne McNair
You need to add tools.jar to your CLASSPATH (it's in jdk-home/lib/tools.jar) -- Dewayne - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 17, 2001 2:21 PM Subject: [jBoss-User] jboss_tomcat JSP problem Hi, I installed jboss_tomcat and

Re: [jBoss-User] jboss_tomcat JSP problem

2001-01-17 Thread TODD.KEGLEY
thanks Duane! turns out that i had a bogus setting in JAVAHOME regards, todd -- -- To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] List Help?: [EMAIL PROTECTED]

RE: [jBoss-User] Auto deploying from directories - Help !

2001-01-17 Thread Cook, Thomas
Title: RE: [jBoss-User] Auto deploying from directories - Help ! Ishouldn't think the directory structure would be quite like that; if you set AutoDeployer to watch /tmp/deploy, then you should be able to build a directory structure like this: /tmp/deploy/my_app /tmp/deploy/my_app/META-INF

RE: [jBoss-User] 2 odd errors

2001-01-17 Thread Cook, Thomas
Title: RE: [jBoss-User] 2 odd errors Why is the method in the remote interface abstract? Can you make a method in an interface abstract? Why would you if you could??? I mean, what's the difference between an abstract method and an ordinary method in an interface? Could we see the entire code

RE: [jBoss-User] Externalizing security settings

2001-01-17 Thread Cook, Thomas
Title: RE: [jBoss-User] Externalizing security settings That's portable wherever there's JAAS, isn't it? Tom Cook Systems Development Australian Submarine Corporation Mersey Road Outer Harbour +61 8 8348 7645 From the instant I picked your book up, until the moment I put it down, I was

RE: [jBoss-User] Auto deploying from directories - Help !

2001-01-17 Thread Jonathan Ackerman
Title: RE: [jBoss-User] Auto deploying from directories - Help ! Yeah, that would be much better. Any idea when the autodeployer will autodeploy directories ? Jonathan -Original Message-From: Cook, Thomas [mailto:[EMAIL PROTECTED]]Sent: Thursday, 18 January 2001 12:09

Re: [jBoss-User] Entity CMP

2001-01-17 Thread Ole Husgaard
Luke Taylor wrote: Isn't it rather risky using MAX to obtain the next primary key, as there could be multiple threads creating new entities, and two or more of them could obtain the same value for MAX and attempt to use the same primary key? If done outside a transaction, you could risk the

Re: [jBoss-User] Externalizing security settings

2001-01-17 Thread Oleg Nitz
On Thursday 18 January 2001 01:18, Cook, Thomas wrote: That's portable wherever there's JAAS, isn't it? Wherever JAAS is user in the same way as in JBoss :-) I mean the use of server LoginModules on server - do you now other EJB servers using this way? Actually, the question is not "Does EJB

[jBoss-User] Apache+Tomcat+jBoss -- is it necessary?

2001-01-17 Thread Dewayne McNair
After getting jBoss to work with an inVM Tomcat connected to Apache, I began to question whether having Apache in the equation is really that valuable. Even though the jBoss+Tomcat pair can dynamically deploy applications, Apache won't know about the new context and therefore will not be able to

RE: [jBoss-User] JBoss and Interbase

2001-01-17 Thread Joe Shevland
I've got the latest Firebird (0.9.4) and Interserver 2.0 working fine on a Win2k platform (the client is Unix admittedly). I had to recompile the Interclient Java sources under JDK1.3 to get it to behave, but I don't have the connection problems I was having with Interserver 1.6 (after about

RE: [jBoss-User] Apache+Tomcat+jBoss -- is it necessary?

2001-01-17 Thread Marty Farrell
Hi Try thinking in terms of seperation of static and dynamic HTML. In VM calls are nice but limited especially in the enterprise context. Think clustering and smart design to alleviate these issues. You should always be able to seperate your presenatation from implemenation, whatever you use.

RE: [jBoss-User] Apache+Tomcat+jBoss -- is it necessary?

2001-01-17 Thread JJAR
I installed Tomcat 4.0 beta 1 and I was suprised how fast it served the index file, but that is one thing, another different thing is heavy stress tests. In the other hand, the improvement may also improve the connection performance (wich is alpha quality by now) and make it very worthy integrate

[jBoss-Dev] Website Update

2001-01-17 Thread Juha-P Lindfors
Hi, The jboss.org website is currently unavailable (as many of you have noticed) but will be back shortly as soon as the site has moved to a new provider. Marc is currently unable to send/read this mailing list but you can talk to him on the #jboss.org IRC channel on IRCNet servers. Apologies

Re: [jBoss-User] Client.jar

2001-01-17 Thread Scott M Stark
No you don't. - Original Message - From: "Chad LaJoie" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 17, 2001 6:42 AM Subject: [jBoss-User] Client.jar Since the site is down I can't look this up. Do I need to include the jaws.xml, ejb-jar.xml, and jboss.xml in my

RE: [jBoss-User] www.jboss.org down?

2001-01-17 Thread John D. McDonald
What site was jboss.org using and who are they moving to now? I'm looking to make a change for my own site, and was thinking about moving to dreamhost.com. But if jboss.org has had problems with them, than I should probably reconsider. -thanks. -john -Original Message- From: [EMAIL

[jBoss-User] running jboss as a service

2001-01-17 Thread Imran
Hello All Jboss site seems to be down. so it's the list i can count on :). i'm runnig jboss on a Win2k platform and everytime i'm running it the dos box is open. can i start jboss as a service to run on my machine. tia -- -- To

RE: [jBoss-User] Apache+Tomcat+jBoss -- is it necessary?

2001-01-17 Thread Marty Farrell
Hi Tomcat is a referenece implemenation. Its not worth-while doing performance tests on it. Asa matter of interest why are you testing early releases ?? Regards Marty -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of JJAR Sent: Thursday, January 18,

Re: [jBoss-User] running jboss as a service

2001-01-17 Thread Dewayne McNair
This is more of a Java issue than it is a jBoss specific issue. Check out the following URLs: http://www.kcmultimedia.com/javaserv/ http://www.alexandriasc.com/software/JavaService/ One of those should do what you want... - Original Message - From: "Imran" [EMAIL PROTECTED] To: [EMAIL

[jBoss-User] Send BufferedReader from JSP up to JBoss fails.

2001-01-17 Thread René Rolander Nygaard
Hello you wise people of the JBoss community. Since i'm unable to search for information on-line at jboss.org, and no similar informations is present in my local JBoss mailling-list archive, i will try this forum. I have a upload page (JSP). In this upload page i grab the stream with all the

RE: [jBoss-User] Send BufferedReader from JSP up to JBoss fails.

2001-01-17 Thread Alexander Klyubin
Are you sure, that BufferedReader-implementing classes you use are serializable or network-aware? Alexander Klyubin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ren Rolander Nygaard Sent: Thursday, January 18, 2001 08:11 To: [EMAIL PROTECTED]

RE: [jBoss-User] Send BufferedReader from JSP up to JBoss fails.

2001-01-17 Thread René Rolander Nygaard
No. I'm not sure because of my current newbie level :-) How can I be sure ? (Javadoc?) Can I change it to be serializable or change to other type that is seriazeble ? (and still can be used by the streamtokenizer). Btw: Thanks for the quick reply. - Ren -Original Message- From: [EMAIL

[jBoss-User] how to have COMPOSITE PRIMARY KEYS in jboss CMP.

2001-01-17 Thread Indika Fernando
Hey all, I am using jboss CMP beans and I have an entity bean called a UserList and in this I have two container managed fields called userID and listID ,these two are composite primary keys My quection is how jboss will find this in the UserListHome how should I include the methods ...

[jBoss-User] InstantDB Problem

2001-01-17 Thread Carlos Vinueza M.
Hi. First, I want to say, that I was trying to look first in the mailing list to solve this problem, 'cause I think it's really common but the web server is down, so here's the question to you guys sorry. I'm trying to install JBoss on Linux, it seems to start but I'm getting this message :

RE: [jBoss-User] Externalizing security settings

2001-01-17 Thread Alexander Klyubin
OK, I understand both your and Scott's ideas. But my question was more of design of permission checking and storage/configuration. Has anybody figured out what's the best way to implement those permissions/permission-checking classes so, that that permissions are modifiable at runtime on

RE: [jBoss-User] Send BufferedReader from JSP up to JBoss fails.

2001-01-17 Thread Alexander Klyubin
I'm rather new to EJBs also. But, seems that you have a problem of passing large bulk of data between client(servlet) and bean. The easiest solution that comes into mind is to send a byte[] or char[] or String containing ALL the data at once to the bean. The bean can internally then create a

RE: [jBoss-User] how to have COMPOSITE PRIMARY KEYS in jboss CMP.

2001-01-17 Thread Alexander Klyubin
Create a UserListPK and use it as your primary key. There are some caveats though, you'll have to implemet equals() and hashCode() methods correctly. public class UserListPK { public String userID; public String listID; ... } When it's done, you just declare: public

RE: [jBoss-User] 2 odd errors

2001-01-17 Thread Alexander Klyubin
Provide us with relevant parts of AccessorHome.java, Accessor.java and Record.java... Alexander Klyubin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Chad LaJoie Sent: Wednesday, January 17, 2001 20:37 To: [EMAIL PROTECTED] Subject: [jBoss-User] 2 odd

[jBoss-User] [OFFTOPIC] I need to unsubscribe...

2001-01-17 Thread Anders Lindh
Hi, I accidently subscribed to this list from two different accounts, and receive now quite a lot of mail. The problem is that one of the addresses is from a service that redirects the mail to a different account, and I cannot send an email that seems to come from this address (and hence