RE: [JBoss-dev] CMP 2.x Relationships Implementation

2001-06-28 Thread Dain Sundstrom
marc, Do you mean that I should be setting invoked, or something else? I got the bi-directional one-to-one (enforced integrity) working using the entity cache, but it gives me a bad feeling. In the this case, there may be up to 4 beans that need to be stored: before: a1--b1 a2--b2 a1.setB(b2)

RE: [JBoss-dev] CMP 2.x Relationships Implementation

2001-06-28 Thread marc fleury
also be sure to report right here is you touch any of the information in the ctx (using setters) marcf |-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]]On Behalf Of Dain |Sundstrom |Sent: Thursday, June 28, 2001 9:45 PM |To: '[EMAIL PROTECTED]' |Subject: RE: [JBoss

[JBoss-dev] jboss daily test results

2001-06-28 Thread chris
JBoss daily test results SUMMARY Number of tests run: 86 Successful tests: 81 Errors:1 Failures: 4 [time of test: 29 June 2001 2:49] See http://lubega.com for fu

RE: [JBoss-dev] CMP 2.x Relationships Implementation

2001-06-28 Thread Dain Sundstrom
> | The only way I can find to get a ctx for a pk > |is from EntityInstanceInterceptor, and the only way to get to the > |EntityInstanceInterceptor is container.invoke(mi). > > no no no it's in the cache, > > container.cache.get(id) (or something like that) > > marcf > YES! Thanks so much. I

RE: [JBoss-dev] CMP 2.x Relationships Implementation

2001-06-28 Thread marc fleury
|-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]]On Behalf Of Dain |Sundstrom |Sent: Thursday, June 28, 2001 7:18 PM |To: '[EMAIL PROTECTED]' |Subject: [JBoss-dev] CMP 2.x Relationships Implementation | | |Hi all, | |I have been working on CMP 2.x relationships and

[JBoss-dev] CMP 2.x Relationships Implementation

2001-06-28 Thread Dain Sundstrom
Hi all, I have been working on CMP 2.x relationships and I finally have the degenerate monkey case working, one-to-one unidirectional. It is the uninteresting case and a monkey could have coded it (of course it took me a day and a half). Any way, I started with this case to give me a feeling for

[JBoss-dev] CVS update: newsite cmp-two.jsp doco.jsp

2001-06-28 Thread gropi
User: gropi Date: 01/06/28 14:01:55 Modified:.doco.jsp Added: .cmp-two.jsp Log: Added Dain Sundstrom's description of how to activate CMP 2.x support to the "work in progress" section of the documentation. Thanks Dain ! Revision ChangesPath

[JBoss-dev] CVS update: manual/src/examples/org/jboss/docs/javamail - New directory

2001-06-28 Thread gropi
User: gropi Date: 01/06/28 13:55:42 manual/src/examples/org/jboss/docs/javamail - New directory ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development

[JBoss-dev] CVS update: jbosssx/src/main/org/jboss/security/plugins JaasSecurityManager.java

2001-06-28 Thread starksm
User: starksm Date: 01/06/28 13:55:54 Modified:src/main/org/jboss/security/plugins JaasSecurityManager.java Log: Allow for a null credential in validateCache as can be the case of an unauthenticated user being allowed access. In this case the subjectCredential must also be null

Re: [JBoss-dev] Jboss site question

2001-06-28 Thread David Green
I do the same thing and it works great. JBoss runs as a user named "JBoss" - if you were really worried about hackers, you could probably even run JBoss chrooted. David Green On Thu, 28 Jun 2001, Sebastien Alborini wrote: > Hi, > > tomcat runs on port 8080 as non-root user. We use ipchains to

RE: [JBoss-dev] Jboss site question

2001-06-28 Thread David Green
I use something like this: /sbin/ipchains -I input -p tcp -d myipaddress/32 80 -y -l -j REDIRECT 8080 /sbin/ipchains -I input -p tcp -d myipaddress/32 443 -y -l -j REDIRECT 8443 myipaddress is your dotted quad ip. David Green On Thu, 28 Jun 2001, Jay Walters wrote: > Thanks Sebastien and Jim,

Re: [JBoss-dev] Jboss site question

2001-06-28 Thread Jim Archer
Jay, on what operating system? On Linux, running Tomcat (or any other web server) as root introduces security problems, yes. When an exploit is discovered in Tomcat, the consequences are severe if Tomcat runs as root. If it runs as a no privilidge user such as nobody (or in our case, jBoss use

RE: [JBoss-dev] Jboss site question

2001-06-28 Thread Jay Walters
Thanks Sebastien and Jim, I'm not up to date enough on Linux so I was wondering how the port forwarding was handled, I noticed there was nothing in the docs about it. I am thinking of cutting over to jboss/tomcat on my site so I can put some dynamic content up there and needed to figure this one

Re: [JBoss-dev] Jboss site question

2001-06-28 Thread Sebastien Alborini
Hi, tomcat runs on port 8080 as non-root user. We use ipchains to redirect traffic on port 80 to 8080 (and to block traffic to unauthorized ports, such as 8082, 1099) I would probably do exactly the same with jetty. Sebastien On Thu, 28 Jun 2001, Jay Walters wrote: > In order to listen on

RE: [JBoss-dev] METHOD-INVOCATION (introducing profiling support)

2001-06-28 Thread Anatoly Akkerman
I am not a very efficient programmer but will try to assist with this as much as I can to get forward with my project. I am available immediately :) Anatoly. On Thu, 28 Jun 2001, marc fleury wrote: > |hence we could rely on a serializable HashMap or whatever. > | > |I´d be glad to assist you

[JBoss-dev] NewbeeQ: Problem with CD Example and Deployment

2001-06-28 Thread Sigurður Reynisson
Hi all! I'm using JBoss-Tomcat on a Linux box. *Seems* to start ok, ie. I get "[Default] JBoss 2.2.0 FINAL Started in 0m:21s". When running "make all" and "make package" all is well. When running "make deploy" I get the text below from JBoss (= lines not included:) Don't understand a thing in t

[JBoss-dev] Jboss site question

2001-06-28 Thread Jay Walters
In order to listen on port 80 with tomcat does one need to run Jboss as root? Does this present a security hazard - does Tomcat have any odd backdoors. Is jetty any different? Cheers Jay ___ Jboss-development mailing list [EMAIL PROTECTED] http://lis

RE: Isolation Levels was RE: [JBoss-dev] CVS update: jboss/src/ma in/org/jboss/ejb/plugins/jaws/jdbc JDBCCommand.java

2001-06-28 Thread Carlos Cardenas
Thanks for your replies, I would very much like to see David's resource adapter. I personally believe that it's the way to go. I believe we can work with the firebird/postgresql ( and maybe sapdb [too bad they don't have XA supp] in the future) to get the resource adapters (jca/jdbc) working an

RE: [JBoss-dev] METHOD-INVOCATION (introducing profiling support)

2001-06-28 Thread marc fleury
|hence we could rely on a serializable HashMap or whatever. | |I´d be glad to assist you wherever possible in that respect ... my schedule is finish busy wait LW bug fixing (almost done) commit URL based rabbit hole (almost done) JMX'ify invocation chain in invoker->container, first beta rabbit h

RE: Isolation Levels was RE: [JBoss-dev] CVS update: jboss/src/ma in/org/jboss/ejb/plugins/jaws/jdbc JDBCCommand.java

2001-06-28 Thread David Jencks
Hi, Firebird is the open source development effort based on the interbase source code released by Borland about a year ago. Borland eventually released source to everything except the licensing stuff and the load testing suite. Since Borland seemed unwilling to allow any outside input into their

Re: [JBoss-dev] High load...

2001-06-28 Thread David Jencks
Hi, I agree with almost everything you say. On 2001.06.28 08:32:18 -0400 Ole Husgaard wrote: > Hi, > > (Just brainstorming here, sorry if I'm wrong.) > > This algorithm may be fine, but it seems to be for commit > option A only. As written, yes, as you point out below, reloading from db for ea

[JBoss-dev] Code: Multiple Datasources in JAWS

2001-06-28 Thread Vinay Menon
Hello, After moaning about this for a couple of days, I got myself to write the bit to have bean level datasources.The changes to JawsEntityMetaData are 1. To read the 'datasource' tag at bean level //get the datasouce name String dataSourceName = getElementContent(getOptionalChild(

RE: [JBoss-dev] Auto-Deploy

2001-06-28 Thread Jim Brownfield
I certainly don't think it's foolish to want to use scp to deploy. One possible way to do this more atomically might be to add a pre-deployment directory to the JBoss. In this directory, JBoss scans for .deploy files; the ".deploy" file is empty. Once it finds the deploy file, it looks for a co

[JBoss-dev] [ jboss-Patches-437132 ] Patch for custom finders

2001-06-28 Thread noreply
Patches item #437132, was opened at 2001-06-28 09:45 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376687&aid=437132&group_id=22866 Category: JBossServer Group: None Status: Open Resolution: None Priority: 5 Submitted By: Christian Riege (lqd) Assigned to: Nobody/

AW: [JBoss-dev] METHOD-INVOCATION (introducing profiling support)

2001-06-28 Thread Jung , Dr. Christoph
-Ursprüngliche Nachricht- >Von: marc fleury [mailto:[EMAIL PROTECTED]] >Gesendet: Donnerstag, 28. Juni 2001 18:03 >An: [EMAIL PROTECTED] >Betreff: RE: [JBoss-dev] METHOD-INVOCATION (introducing profiling >support) >I believe we should in fact move EVERYTHING to the map, the user the meth

RE: [JBoss-dev] Auto-Deploy

2001-06-28 Thread David Green
I didn't say that this method could be sure that the processes copying to the destination is responsive. I didn't say it was perfect. In fact I said it wasn't. I also said that I could not think of a perfect way of doing it, but this would be more foolproof against fools like me that want to use s

RE: [JBoss-dev] Auto-Deploy

2001-06-28 Thread Jim Brownfield
I guess I don't see it as a problem; I see it as a Unix "feature" :). The problem I see with trying to "sleep and check" is that you can never be sure that the process copying to the destination is responsive enough to have made progress during the sleep period. This is especially true with scp

Re: [JBoss-dev] for help about "hot deploy" with jboss

2001-06-28 Thread Ajay Gautam
Best reference: org.jboss.ejb.AutoDeployer.java :-) --- lijun7815 <[EMAIL PROTECTED]> wrote: > Dear: > > I find the feature announce of "hot deploy" in jboss > homepage. > but I can't find any further information about it. > Can you tell me something about "hot deploy" or > where can find > t

RE: [JBoss-dev] METHOD-INVOCATION (introducing profiling support)

2001-06-28 Thread marc fleury
yes in fact the MI is the only contextual environement besides the thread. What I mean is that I was going to use it to collect information about what is going on. It is almost a probe in the debug sense (send an MI and store "came here" messages in it, that would be most helpful for deadlock st

Re: [JBoss-dev] CVS update: contrib/tomcat/src/main/org/jboss/test/tomcat/ejb/beanStatelessSessionBean.java

2001-06-28 Thread David Green
Might want to just remove the RuntimeException and use something a little friendlier... Here's a good example: import java.io.*; public class Util { private Util() {} public static void main(String[] args) { System.out.println(trace()); } public static String trace() { StringW

RE: [JBoss-dev] Auto-Deploy

2001-06-28 Thread David Green
I'm quite aware of how to get around the problem. If I wasn't, I wouldn't have been able to write code to fix the problem generically :) We use 'scp' not 'cp'. David Green On Thu, 28 Jun 2001, Jim Brownfield wrote: > If you're on Linux, you shouldn't be using "cp" to create the deployment > ja

RE: [JBoss-dev] Auto-Deploy

2001-06-28 Thread Jim Brownfield
If you're on Linux, you shouldn't be using "cp" to create the deployment jar, you should use the "mv" command. If you're using ftp to upload the file, upload it to a non-jar resource, and then use the "rename" command to move it to its final location. This is typical under any Unix for almost an

[JBoss-dev] CVS update: contrib/tomcat/src/main/org/jboss/test/tomcat/servlet HelloEJB.java PrintClassLoaders.java

2001-06-28 Thread starksm
User: starksm Date: 01/06/28 08:23:55 Modified:tomcat/src/main/org/jboss/test/tomcat/servlet HelloEJB.java PrintClassLoaders.java Log: Don't show the call stack trace unless trace is true. Revision ChangesPath 1.5 +89 -81 contrib/tomcat

[JBoss-dev] CVS update: contrib/tomcat/src/main/org/jboss/test/tomcat/ejb/bean StatelessSessionBean.java

2001-06-28 Thread starksm
User: starksm Date: 01/06/28 08:23:55 Modified:tomcat/src/main/org/jboss/test/tomcat/ejb/bean StatelessSessionBean.java Log: Don't show the call stack trace unless trace is true. Revision ChangesPath 1.3 +1 -1 contrib/tomcat/src/main/

[JBoss-dev] Auto-Deploy

2001-06-28 Thread David Green
The auto-deploy feature is awesome. However, it starts unzipping my files before I even finish copying them... Fortunately, Linux keeps updating the timestamp on the file during the process of being copied, so it usually tries again and again. Sometimes, it tries right before the file is finishe

[JBoss-dev] Suggestion for 3.0 regarding EJBExceptions.

2001-06-28 Thread Ferguson, Doug
Currently, JBoss wraps any runtime exception with an EJBException. The problem is that when the EJBException is thrown back to the client all information about the original exception is lost. Is there anyway to change this for 3.0 to try and provide more information about the original exception w

RE: [JBoss-dev] JBoss Linux startup scripts

2001-06-28 Thread Ferguson, Doug
Looks like you are running this from init.d, could it be that some of your environment variables aren't set right?   d. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Sent: Thursday, June 28, 2001 8:12 AMTo: [EMAIL PROTECTED]Subject: [JBoss-dev] JBoss L

[JBoss-dev] JBoss Linux startup scripts

2001-06-28 Thread markus . may
Hello, sorry for the late reply. the startup script gives me the following error (see attached). Just to mention, I am running SuSE 7.1 and some stuff is slightly different from Red Hat. Mit freundlichen Gruessen / best regards Markus M. May Think4

RE: Isolation Levels was RE: [JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/jaws/jdbc JDBCCommand.java

2001-06-28 Thread Jay Walters
My understanding of firebird is that it's a fraction of the entire interbase product missing many important features and tools. (though it has XA support?) On another note, I agree that Postgres is the only other open source database with XA support. I spent a bunch of time poking around open s

[JBoss-dev] CVS update: newsite head.jsp navigation.jsp

2001-06-28 Thread starksm
User: starksm Date: 01/06/28 04:51:09 Modified:.head.jsp navigation.jsp Log: Add the missing html start and end tag and DOCTYPE Revision ChangesPath 1.2 +26 -23newsite/head.jsp Index: head.jsp

Re: [JBoss-dev] High load...

2001-06-28 Thread Ole Husgaard
Hi, (Just brainstorming here, sorry if I'm wrong.) This algorithm may be fine, but it seems to be for commit option A only. I think we should also consider the other commit options, and optimistic/pessimistic locking. David Jencks wrote: > > Hi, the algorithm is in the post marc was replying

[JBoss-dev] [ jboss-Patches-437043 ] Custom finder methods not executed

2001-06-28 Thread noreply
Patches item #437043, was opened at 2001-06-28 04:47 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376687&aid=437043&group_id=22866 Category: JBossCMP Group: v2.2.2 (stable) Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned

[JBoss-dev] [ jboss-Bugs-437033 ] ... missing on homepage

2001-06-28 Thread noreply
Bugs item #437033, was opened at 2001-06-28 03:57 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376685&aid=437033&group_id=22866 Category: JBossDoc Group: None Status: Open Resolution: None Priority: 5 Submitted By: Swen Thümmler (swent) Assigned to: Nobody/Anonym

Re: [JBoss-dev] jboss daily build failed - in cvs module: jbosssx

2001-06-28 Thread Chris Kimpton
Hi, --- Oleg Nitz <[EMAIL PROTECTED]> wrote: > > 'jboss' module should be built first. > It is - its just that it failed... Chris = Need somewhere to Live in London - http://freeflats.com __ Do You Yahoo!? Get personalized email addresses

Re: [JBoss-dev] for help about "hot deploy" with jboss

2001-06-28 Thread Jim Archer
What would you like to know? In a nutshell, hot deploy is the ability to drop your application into the deploy directory while the server is running. If there is no app there it will be deployed fresh. If there is an earlier version of the app there, it will replace the existing deployed app w

Re: [JBoss-dev] does it really works ?

2001-06-28 Thread Darius Davidavicius
--Original Message Text--- From: Vinay Menon Date: Wed, 27 Jun 2001 23:49:32 +0100 Strong words I must say! If you have a quick list of exact errors you are getting, mail them to me. I'd just like to try helping you to make my point that JBoss is not vaporware and *not* a joke. Vinay Hi,

AW: [JBoss-dev] METHOD-INVOCATION (introducing profiling support)

2001-06-28 Thread Jung , Dr. Christoph
Hi all, let me generalize the argument of Anatoly a bit: It would be a tremendous help, if MI would be extendible, either by propragazing instances of MI-subclasses generated by an appropriate factory, and/or by an optional (initially empty) Map attribute that stores additional ctx. Of course wi