[JBoss-user] Scheduling

2001-10-09 Thread Manish . Syal
I am new to scheduling I was able to make entry in jboss.jcml and make a schedulable class which was running fine in JBoss 2.4 Any Idea how to make this scheduling dynamic??? I mean using the scheduling using the class scheduler as schedulable class will be added on the fly I have read that this

Re: [JBoss-user] Fine grained security & JBOSS

2001-10-09 Thread Scott M Stark
Creating the a security proxy layer is the most flexible and maintains the integrity of the business logic. Security is more a function of where the business component is deployed rather than a function of the business component operation and the two should be separated. You can code completely p

Re: [JBoss-user] NOHUP

2001-10-09 Thread Guy Rouillier
What operating system? On Solaris, I just start up JBoss in the background (modify run.sh and put & on the end of the line that starts up JBoss.) Seems to work fine. I originally investigated the nohup route following a discussion in the archives to this forum, but then discovered the simple bac

[JBoss-user] Keep getting [default] null from jboss

2001-10-09 Thread John LYC
Hi all, whenever i deploy my entity.jar i keep getting a "[Default] null" for every bean. the beans are working fine. i just don't know why? below is the stack -snip-- [Container factory] Deploying ejb/entity/AddressBook [Container factory] Deploying ejb/entity/Contact [C

[JBoss-user] ERROR : Nested Field does not have a get method

2001-10-09 Thread David M. Karr
When I deploy my EAR, I see the following message right after JAWS created one of my tables: [Container factory] ERROR : Nested Field does not have a get method What does this mean? I sure wish it had a little more useful information. -- ===

Re: [JBoss-user] sql query

2001-10-09 Thread Peter Wone
Dave I think his grasp of relational theory is weak, so I doubt that answer will mean anything to him. Let me have a go. Your desire to use DISTINCT implies that there can be more than one row with a given value of GRP in it. Each one of these rows has its own copy of CMOD and DMOD. How do you ex

Re: [JBoss-user] Fine grained security & JBOSS

2001-10-09 Thread David Jencks
oops, actually this is chapter 9 (jbosssx) of the manual. On 2001.10.09 20:31:28 -0400 David Jencks wrote: > Read Scott Stark's paper on advanced security/security proxies, linked > from > the jboss website. It's an unbelievably elegant solution to this kind of > problem. > > david jencks > >

Re: [JBoss-user] Fine grained security & JBOSS

2001-10-09 Thread Michael Jara
Unfortunately, I think there are two ways to get fine grained security out of EJB... The first is to use some facility specific to the app server. If you look at some of the security docs, JBoss has some handy interfaces for making security as fine grained as you want, and it keeps your EJB code

Re: [JBoss-user] Fine grained security & JBOSS

2001-10-09 Thread David Jencks
Read Scott Stark's paper on advanced security/security proxies, linked from the jboss website. It's an unbelievably elegant solution to this kind of problem. david jencks On 2001.10.09 19:12:43 -0400 Joel Boehland wrote: > Hi, > I'm hoping to get some feedback from the JBoss crew on > how folks

[JBoss-user] EJB Design Question

2001-10-09 Thread Hunter Hillegas
I have been tasked with creating a J2EE B2C e-commerce application using EJB2.0... I'm mulling over design possibilities and I have a question about how I should setup the CMP beans for products w/ the shopping cart bean... Basically the store will carry several different types of items, namely

[JBoss-user] Fine grained security & JBOSS

2001-10-09 Thread Joel Boehland
Hi, I'm hoping to get some feedback from the JBoss crew on how folks are implementing fine-grained security access on their application objects. I understand how to use JAAS and EJB security to provide coarse grained security (For instance, making the call the the removeUser() method in a SessionB

Re: [JBoss-user] sql query

2001-10-09 Thread David Jencks
unfortunately your question makes no sense. If the GRP value does not determine the CMOD and DMOD values, which one of the rows with a given GRP value do you want? If there is an aggregation function that can sensibly be applied to CMOD and DMOD, you can do a group by query select grp, f(CMOD),

[JBoss-user] Anybody using JBoss in Boston area?

2001-10-09 Thread Bill Burke
Is anybody using JBoss in the Boston area?   Just curious,   a jboss developer in the Boston area :)    

[JBoss-user] sql query

2001-10-09 Thread Graham . Forte
Sorry my internet access is down so I am going to try and ask this question here instead of at a related site. I need to do a query like this: String sql="SELECT DISTINCT GRP,CMOD,DMOD FROM TABLE"; The problem is I only want distinct on the first column(GRP) but it returns all distinct combinatio

[JBoss-user] Porting to and from JBoss experiences...

2001-10-09 Thread Ian Butcher
I am giving a talk at the New England Java Users Group in the near future on portability of EJB 1.1 code. I have had some experience with this with WebLogic and JBoss but I very interested to hear other peoples experiences and thoughts on the subject. TIA, Ian. _

[JBoss-user] Building JBoss

2001-10-09 Thread Alice Ad
 A very basic question: I changed something in one of the source files and tried to compile JBoss. Is there any documentation on that? What do I need to do so that all files are compiled and jar files are updated/copied correctly. I tried ant JBoss but it stopped at the very beginning saying "com.d

[JBoss-user] 404 Error

2001-10-09 Thread Dragos Haiduc
...at this link: http://www.jboss.org/jboss-jetty.jsp ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Re: [JBoss-user] JBoss 2.2.2 & Visual Age 3.5 & Xerces

2001-10-09 Thread David Jencks
Are you using the hypersonic db? We found in 3.0 (due to changing the startup sequence) that this db needs to be given about 5 seconds to start or it is likely to hang jboss. You could stop using hypersonic or get the hypersonic mbean code with the delay from cvs. You can probably test this by

Re: [JBoss-user] URGENT: Strange problems with JBoss-HypersonicSQL

2001-10-09 Thread Scott M Stark
Title: URGENT: Strange problems with JBoss-HypersonicSQL This is against HypersonicSQL 1.4x, Try using JBoss-2.4.3 which includes the newer HypersonicSQL 1.61 release.   Scott StarkChief Technology OfficerJBoss Group, LLC - Original Messag

Re: [JBoss-user] Jboss + Catalina Virtual Host Config Question

2001-10-09 Thread Scott M Stark
interface_name Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: "Hunter Hillegas" <[EMAIL PROTECTED]> To: "JBoss 2" <[EMAIL PROTECTED]> Sent: Tuesday, October 09, 2001 8:06 AM Subject: [JBoss-user

Re: [JBoss-user] Some Questions abt Session & Entity Beans

2001-10-09 Thread Guy Rouillier
- Original Message - From: "Prashant Sarode" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 09, 2001 1:28 AM Subject: [JBoss-user] Some Questions abt Session & Entity Beans > Hi all, > Can u pls tell me the answers to the following questions: > > 1. If 1000 users ar

Re: [JBoss-user] Some Questions abt Session & Entity Beans

2001-10-09 Thread danch
Replies inline below. - Original Message - From: "Prashant Sarode" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 09, 2001 12:28 AM Subject: [JBoss-user] Some Questions abt Session & Entity Beans > Hi all, > Can u pls tell me the answers to the following questions: >

Re: [JBoss-user] Stateless Session remove() question

2001-10-09 Thread Fred Loney
My understanding is that a SLSB remove() is a no-op on the container side. A fresh SLSB instance is grabbed from the SLSB pool by the SLSB interceptor on each method invocation and returned to the pool when the method call is completed. Fred Loney Spirited Software, Inc. www.spiritedsw.com

Re: [JBoss-user] Stateless Session remove() question

2001-10-09 Thread David Ward
Thanks for all the fast feedback, everyone. It looks like I might as well just save myself a method invocation and not call it. Thanks again, David ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

RE: [JBoss-user] Stateless Session remove() question

2001-10-09 Thread Joost v.d. Wijgerd
No, actually, after each remote method call the instance is placed back into the pool, you can never be sure that the next call on the same remote object will use the dame instance.. Joost. -Original Message- From: Dmitri Colebatch [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 09, 2

RE: [JBoss-user] Stateless Session remove() question

2001-10-09 Thread Sacha Labourey
No. Only one thread at a time during a specific remote method call. Once the call is finished, the bean can take any other invocation: it is absolutely not dedicated to a particular client. If you call Remove, the container will not even forward this call to the bean ejbRemove implementation (this

Re: [JBoss-user] Obtaining a Connection object through Session beans

2001-10-09 Thread danch
- Original Message - From: "Imran Bohoran" <[EMAIL PROTECTED]> To: "Jboss-User (E-mail)" <[EMAIL PROTECTED]> Sent: Tuesday, October 09, 2001 3:35 AM Subject: RE: [JBoss-user] Obtaining a Connection object through Session beans > > yes..and this is what i was looking for. > > DataSou

Re: [JBoss-user] Stateless Session remove() question

2001-10-09 Thread Dmitri Colebatch
afaik the server will only let one thread in a SLSB at a time, so I assume that the container will hold the instance as "busy" until you call remove. not based on any knowledge of the internals... cheers dim On Tue, 9 Oct 2001, David Ward wrote: > Is there any benefit / penalty for calling o

RE: [JBoss-user] Stateless Session remove() question

2001-10-09 Thread Sacha Labourey
Don't make the call, you will avoid one network round-trip to the server ;) > -Message d'origine- > De : [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]De la part de David Ward > Envoye : mardi, 9 octobre 2001 15:42 > A : [EMAIL PROTECTED] > Objet : [JBoss-user] Stateless Session remove()

[JBoss-user] jboss-castor.jsp

2001-10-09 Thread Dmitri Colebatch
just a note about the site... in the recent site changes, we seem to have lost http://www.jboss.org/jboss-castor.jsp, its still linked to from http://www.jboss.org/jboss-third.jsp. cheers dim ___ JBoss-user mailing list [EMAIL PROTECTED] https://list

[JBoss-user] URGENT: Strange problems with JBoss-HypersonicSQL

2001-10-09 Thread Herve Tchepannou
Title: URGENT: Strange problems with JBoss-HypersonicSQL Im using the command pattern for my application which is very interesting because I can test my application out of the JBoss context. When Im testing my app out of JBoss, all my test cases are successful. no problem! When I run my com

[JBoss-user] Stateless Session remove() question

2001-10-09 Thread David Ward
Is there any benefit / penalty for calling or not calling remove() on the remote interface of my stateless session bean? According to the ejb1.1 spec diagrams, it looks like ejbRemove will only get called on a stateFUL session bean. Should I or should I not be calling remove() when I'm done?

FW: [JBoss-user] stateless session bean pooling seems to have disappeared in jboss2.4?????

2001-10-09 Thread Oliver Henlich
hi there. it might be worth looking in the jboss forums and mailing lists for answers... FORUMS == Stateless: http://www.jboss.org/forums/thread.jsp?forum=47&thread=1968 Stateful: http://www.jboss.org/forums/thread.jsp?forum=47&thread=2285 JBOSS-USER mailing list == http://www.mail-

SV: [JBoss-user] stateless session bean pooling seems to have disappeared in jboss2.4?????

2001-10-09 Thread Lennart Petersson
Reverted back again in 2.4.2 and up. /Lennart - Original Message - From: Noels Jeroen <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 09, 2001 2:56 PM Subject: [JBoss-user] stateless session bean pooling seems to have disappeared in jboss2.4? ___

RE: [JBoss-user] stateless session bean pooling seems to have disappeared in jboss2.4?????

2001-10-09 Thread Joost v.d. Wijgerd
Hi, Update to 2.4.3, it will solve your problem. Somebody removed the instance caching of stateless beans in 2.4.1, instead a new instance is made each time. cheers, Joost. -Original Message- From: Noels Jeroen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 09, 2001 2:56 PM To: '[EM

[JBoss-user] stateless session bean pooling seems to have disappeared in jboss2.4?????

2001-10-09 Thread Noels Jeroen
hi, We have been using jboss 2.2.1 for about half a year, and I think this a great product. Recently we upgraded to jboss 2.4.1, without any problems whatsoever. However, it appears to me that jboss 2.2.1 and jboss 2.4.1 behave very differently in dealing with the pooling of stateless session bea

Re: SV: [JBoss-user] Obtaining a Connection object through Sessionbeans

2001-10-09 Thread Dmitri Colebatch
You should also use c.lookup("java:comp/env/jdbc/myPool") and a resource reference in your ejb-jar.xml and jboss.xml. cheers dim On Tue, 9 Oct 2001, Lennart Petersson wrote: > But also please remember all the stuff about closing your resources in a finally >statement. Else you will soon

[JBoss-user] using jikes with jboss/tomcat

2001-10-09 Thread Jan Heise
hi all, i just unsucessfully tried to integrate jikes to compile my jsps under tomcat/jboss. anyone out there who did this successfully? just uncommenting in tomcat/conf/web.xml didn't do the trick. used version is jboss 2.2.2 & tomcat 3.2.2 integration. jan -- Jan Heise / Tel: +49-163-48032

SV: [JBoss-user] Obtaining a Connection object through Session beans

2001-10-09 Thread Lennart Petersson
But also please remember all the stuff about closing your resources in a finally statement. Else you will soon come back having other problems ;-) /Lennart - Original Message - From: Imran Bohoran <[EMAIL PROTECTED]> To: Jboss-User (E-mail) <[EMAIL PROTECTED]> Sent: Tuesday, October 09,

RE: [JBoss-user] Obtaining a Connection object through Session beans

2001-10-09 Thread Imran Bohoran
yes..and this is what i was looking for. DataSource datasource; Context c = new InitialContext(); datasource = (DataSource)c.lookup("java:/myPool"); Connection c = datasource.getConnection(); like i said peter earlier i dont think it would take a book to explain this. anyw

[JBoss-user] JBoss 2.2.2 & Visual Age 3.5 & Xerces

2001-10-09 Thread storck
Hi, I am using an JBoss-add-on for Visual Age 3.5 to develop and debug EJB and JSP. Everything works fine, but if I try to change from IBM XML Parser to Xerces/Xalan and I start JBoss it hangs up and the line "[DefaultDS] Starting". In VA are no errors reported in my Xercers, Xalan or JBoss-Proje

Re: [JBoss-user] Obtaining a Connection object through Session beans

2001-10-09 Thread Hermann RANGAMANA
I don't see what difference you should make between accessing a datasource from an entity or a session bean. A datasource is bind to a jndi name, and you can access this datasource within a jBoss container - should it be session or entity bean container. Hermann R A N G A M A N A Ingénieur Infor