[JBoss-user] Tomcat JBoss security integration How-to

2001-05-02 Thread Dain Sundstrom
(SimpleRealm JbossRealm JDBCRealm). 5. Add your users to JBoss I hope I didn't leave out any steps. If you find any bugs or have any enhancements, please email me. -Dain Sundstrom package com.hypothermic.security; import org.apache.tomcat.core.Request; import org.apache.tomcat.core.Response; i

RE: [JBoss-user] Intrabean Call ?

2001-05-18 Thread Dain Sundstrom
Thomas, I noticed another bug in the code you sent. Although what you have (with the suggested changes) will most likely work in JBoss, it is not compliant with the EJB specification. In the EJB 1.1 Specification section 5.9 on page 47 is the following: A client program that is intended to be in

RE: [JBoss-user] Please help :-( tomcat Servlet => Jboss EJB => JAAS Authentiaction

2001-05-18 Thread Dain Sundstrom
I have made some minor changes since I last posted the code. Dain Sundstrom Recently, I have seen several posts asking how to integrate Tomcat and JBoss security. The current JBossRealm requires you to add users to both the t

RE: [JBoss-user] Please help :-( tomcat Servlet => Jboss EJB => JAAS Authentiaction

2001-05-18 Thread Dain Sundstrom
or how does jboss know which db and tables to use? anil Dain Sundstrom wrote: > Last month I sent the following message, which details how I integrated the > Tomcat and JBoss security systems. Scott Stark has written a new JBoss realm > that work similar to mine. His new JBoss realm is av

RE: [JBoss-user] Primary Key warnings

2001-05-18 Thread Dain Sundstrom
Norton, I had this same problem. The code you are running into follows: Object one, two; try { one = cls.newInstance(); two = cls.newInstance(); try { if(!one.equals(two)) { status = false; fireSpecViolationE

RE: [JBoss-user] Running JBoss as a Service on Windows NT/

2001-05-18 Thread Dain Sundstrom
Options. Dain Sundstrom -Original Message- From: Vineet Bhatia [mailto:[EMAIL PROTECTED]] Sent: Friday, May 18, 2001 1:37 PM To: '[EMAIL PROTECTED]' Subject: RE: [JBoss-user] Running JBoss as a Service on Windows NT/ Thanks!! A slightly off-topic question - Will JBoss run any slo

RE: [JBoss-user] open source JMS with C interface library

2001-05-18 Thread Dain Sundstrom
You can use JNI to access any Java code from C. I have used it in the past and found it easy to use. There is now a book on JNI "Essential Jni : Java Native Interface." Alternatively, you can use Corba, or you can pay IBM or Oracle a lot of money use their commercial message que

RE: [JBoss-user] Please help :-( tomcat Servlet => Jboss EJB => JAAS Authentiaction

2001-05-19 Thread Dain Sundstrom
Behalf Of awc |Sent: 18 May 2001 22:01 |To: [EMAIL PROTECTED] |Subject: Re: [JBoss-user] Please help :-( tomcat Servlet => Jboss EJB => |JAAS Authentiaction | | |OK, so this pipes into to what ever you have set up. |Tks for the clarification. | |anil. | |Dain Sundstrom wrote: | |> Anil, |

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

2001-06-29 Thread Dain Sundstrom
jboss.xml file, to really test your application. If you would like to know more about the commit options read the EJB spec (in the 2.0 spec it is section 10.5.9). Dain Sundstrom > -Original Message- > From: Pelle Poluha [mailto:[EMAIL PROTECTED]] > Sent: Friday, June 29, 2001 5:2

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

2001-06-29 Thread Dain Sundstrom
(I may have mistyped something). If this represents the end of the world for you, you could convince me to fix jaws, but it will just make the CMP 2.x stuff take longer. Dain Sundstrom > -Original Message- > From: Pelle Poluha [mailto:[EMAIL PROTECTED]] > Sent: Friday, June 29, 2001 5

RE: [JBoss-user] Entity beans and rows in tables

2001-06-30 Thread Dain Sundstrom
time). JBoss, like most EJB servers, has an optimized mode which does not serialize parameters on remote interfaces, where the objects are collocated in the vm. So the authors are right in the general sense, but wrong for most EJB servers. Dain Sundstrom > -Original Message- >

RE: [JBoss-user] CMP 2.0 again (another bug ?)

2001-07-09 Thread Dain Sundstrom
Wei-ju, The methods should be ejbCreate(...) and ejbPostCreate(...), and your primary key must be an object not a primative, EJB 2.0 pfd3 section 9.8 (i.e., Long instead of long). Dain > -Original Message- > From: Wei-ju Wu [mailto:[EMAIL PROTECTED]] > Sent: Sunday, July 08, 2001 5:09

[JBoss-user] log4j or JBoss logging

2001-07-10 Thread Dain Sundstrom
As I modify the JBossCMP code should I change the logging over to use log4j directly or should I leave the code logging via the JBoss log layer? If I should switch to direct log4j, how do we categorize the logs? I was thinking jboss.ejb.plugins.cmp.. or some thing like that. This way I could tur

Re: [JBoss-user] Not the usual primkey-field problem

2002-04-10 Thread Dain Sundstrom
Jeff, Just ignore the spec violation errors right now. The code was just added and from what I understand it is currently just a copy of the CMP 1.1 verifier. I don't remember who is working on it, but he said that this was a known problem. Anyway, it should be fixed soon. -dain Jeff Schn

Re: [JBoss-user] Not the usual primkey-field problem

2002-04-10 Thread Dain Sundstrom
Jeff Schnitzer wrote: >>From: Dain Sundstrom [mailto:[EMAIL PROTECTED]] >> >>Here is the defatults element: >> >>> remove-table?, read-only?, read-time-out?, row-locking?, >> pk-constraint?, fk-constraint?, preferred-relation-mapping?,

Re: [JBoss-user] Not the usual primkey-field problem

2002-04-10 Thread Dain Sundstrom
Here is the defatults element: Did you define datasource and not datasource-mapping (or visa versa)? -dain Jeff Schnitzer wrote: >>From: Dain Sundstrom [mailto:[EMAIL PROTECTED]] >> >>Just ignore the spec violation errors right now. The code was just >>added and f

Re: [JBoss-user] RE: Bomb the bug parade! was AW: [JBoss-dev] Thread deadlock in class loader

2002-04-11 Thread Dain Sundstrom
You may be coding VB, but I'll go get a job at McDonald's (maybe in Redmond... did you see Fight Club). -dain Eric Kaplan wrote: > guys. jboss is a central piece of our infrastructure, and we would like to > keep recommending it to customers. it might be prudent not to piss all over > sun in

[JBoss-user] Re: [ jboss-Bugs-532734 ] Ineffective SQL-code generated

2002-04-14 Thread Dain Sundstrom
v3.0 Rabbit Hole >> >>>Status: Closed >>>Resolution: Rejected >>> >>Priority: 5 >>Submitted By: Marius Kotsbak (mkotsbak) >>Assigned to: Dain Sundstrom (dsundstrom) >>Summary: Ineffective SQL-code generated >> >>Initial Comment

Re: [JBoss-user] Re: [ jboss-Bugs-532734 ] Ineffective SQL-code generated

2002-04-14 Thread Dain Sundstrom
Marius Kotsbak wrote: > On søn, 2002-04-14 at 16:59, Dain Sundstrom wrote: > >>Marius Kotsbak wrote: >> >> >>>It seems like the reason that the IN-clause is needed, is that jbosscmp >>>is quering one table at a time. I understand that that might be t

Re: [JBoss-user] Ubiquitity - embedded JBoss and JXTA

2002-04-15 Thread Dain Sundstrom
I talked with the JXTA guys for like an hour at JBossOne. They were very interested in the JBossMX core with dynamic services. I think JXTA could be easily plugged into JBoss, but the the best place would be a transport for JMS. Where do you think it would be most useful? -dain Paul McLach

Re: [JBoss-user] Entity Bean Test Failure

2002-04-16 Thread Dain Sundstrom
What is the code for the create and post create? What is the serverside exception? What is the primary key type? -dain Peter Shillan wrote: > Hi there, > > I have a really simple bean and test for that bean. I'm building the test gradually. >I've included what I have so far. The problem is

Re: [JBoss-user] Fleurys basic problem!

2002-04-16 Thread Dain Sundstrom
This is just a comment from some unnamed executive, and as we all know executives don't know much in a company the size of Sun. Do you know how many executives Sun has?. I am sure that if you ask another unnamed executive, you would get another opinion. Also the specification gives specifical

Re: [JBoss-user] cmp2-example bug?

2002-04-16 Thread Dain Sundstrom
My update of the JBossCMP docs is back on after a delay for JBossOne and bug fixes for the RC1 release. -dain Mike Dougherty wrote: > I'm new to the list, so I don't really know if I am repeating this. I am > going through the example that comes with the CMP 2.0 documentation. > While attempti

Re: [JBoss-user] Collections in CMP2.0

2002-04-17 Thread Dain Sundstrom
Peter Shillan wrote: > Hi there, > > If I have a CMP 2.0 attribute which is a collection, I have > > public abstract void setChildren(java.util.Collection children); > > public abstract java.util.Collection getChildren(); > > My understanding was that if I want, I can write the following: >

Re: [JBoss-user] CMP 2.0 - CMR fields are NULL

2002-04-19 Thread Dain Sundstrom
Daniel, First upgrade to JBoss 3.0rc1. Then if the problem doesn't go away, you will to have to file a simple bug report with a test case at sourceforge. -dain Mike Dougherty wrote: > Daniel, > > I'm not sure I completely understand the situation. Maybe if you sent > some Java code snippets

Re: [JBoss-user] jcp 86

2002-04-22 Thread Dain Sundstrom
I have been reading the draft, but haven't gotten that far. Do you want to implement it? -dain Stefan Groschupf wrote: > Hi Jboss community > >>http://jcp.org/jsr/detail/86.jsp >> > is a implementation planed? > I'm interested in! > Thanks > Stefan > > > > > > _

Re: [JBoss-user] jcp 86

2002-04-22 Thread Dain Sundstrom
Dmitri Colebatch wrote: > Am I right in thinking this is basically a bunch of entity beans that represent >various media types? Will the spec essentially lay > out the component/home interfaces to be implemented and allow vendors to provide >implementations? That is what I got, but I'm only

Re: [JBoss-user] CMP: Iterate Collection Performance Killer

2002-04-23 Thread Dain Sundstrom
Use a transaction or turn off read ahead. You are basically reading ahead data, tossing the read-ahead information out, and then repeating. -dain Frank Morton wrote: > Using 3.0.0RC1 with PostgreSQL underneath. Just converted > to using a Local Interface, but didn't make as much performance >

Re: [JBoss-user] CMP: Iterate Collection Performance Killer

2002-04-23 Thread Dain Sundstrom
Frank Morton wrote: >>Use a transaction or turn off read ahead. You are basically reading >>ahead data, tossing the read-ahead information out, and then repeating. >> >>-dain >> > > Thanks for your response. > > Sorry for my confusion, but I am. Your doc states to use > with the on-load for t

Re: [JBoss-user] CMP: Iterate Collection Performance Killer

2002-04-23 Thread Dain Sundstrom
danch wrote: > Dain Sundstrom wrote: > >> Frank Morton wrote:> >> >>> I tried that, too, which doesn't appear to make >>> any difference. Please clarify this. There is a lot of contradictory >>> info on the web about this. I also tried settin

Re: [JBoss-user] CMP: Iterate Collection Performance Killer

2002-04-23 Thread Dain Sundstrom
Marius Kotsbak wrote: > In that file, I find false. Is there a > reason for that to be false as default? FK constraints are not supported by hypersonic, or more importantly I couldn't get them to work. > And since this one is there: > > on-load > 1000 > * > >

Re: [JBoss-user] CMP: Iterate Collection Performance Killer

2002-04-23 Thread Dain Sundstrom
Marius Kotsbak wrote: > I remember from using jboss 2.4.x, that manual changes in the DB would > take some time to be reflected from CMP-beans (no new data even in a new > transaction after the change), probably because jboss was caching the > data, and not writing it to the DB at the same tim

Re: STILL TRYING: [JBoss-user] CMP: Iterate Collection Performance Killer

2002-04-23 Thread Dain Sundstrom
Have you looked at the server.log? What queries are being executed? Don't post the whole file. Give us a summary. -dain BTW: there is a difference between doesn't work and is not fast enough for me. Frank Morton wrote: > Maybe I should try a different tactic. > > Does anyone have an ent

Re: STILL TRYING: [JBoss-user] CMP: Iterate Collection Performance Killer

2002-04-24 Thread Dain Sundstrom
Wait. Are you using JAWS? I only ask that because all of the log stuff is from JAWS. If you are using JAWS, I can't help, because I don't know anything about the JAWS optimized loading process. -dain Frank Morton wrote: >>Dain wrote: >>BTW: there is a difference between doesn't work and is

Re: STILL TRYING: [JBoss-user] CMP: Iterate Collection Performance Killer

2002-04-24 Thread Dain Sundstrom
Frank Morton wrote: >>Wait. Are you using JAWS? I only ask that because all of the log stuff >>is from JAWS. > > Well, I'm using 3.0 as distributed. I assumed if I set cmp-version to "2.x" > that I would be using the persistence-manager for Standard CMP 2.x > EntityBean, which in standardjboss.

Re: STILL TRYING: [JBoss-user] CMP: Iterate Collection Performance Killer

2002-04-24 Thread Dain Sundstrom
danch wrote: > Hmm. > Well I can help with JAWS: JAWS really should be removed from the 3.0 > codebase because even if you deploy a vanilla 1.1 CMP bean, Dain's > JDBCStoreManager should be handling it (uh, right, Dain?). It should. It is not used much, so the code is probably more buggy. >

Re: STILL TRYING: [JBoss-user] CMP: Iterate Collection Performance Killer

2002-04-24 Thread Dain Sundstrom
Frank Morton wrote: >>Does your ejb-jar have a jbosscmp-jdbc.xml, or a jaws.xml? It should >>be only jbosscmp-jdbc.xml (although any jaws.xml should be ignored by >>JBoss 3.0 or later). Trying to use jaws.xml with JBoss 3.x is getting >>to be a FAQ issue, but I know Dain's been trying to help

Re: [JBoss-user] strange relations

2002-04-25 Thread Dain Sundstrom
The first one is definitely wrong, but the second should work. Try it again and make sure the jar is correctly updated (common problem). If it doesn't go away, post a *simple* bug report with a test case at sourceforge.net. -dain Ingo Bruell wrote: > Hi, > > i am using JBoss3.0.0RC1, J2SDK

Re: [JBoss-user] relation-table mapped relationship

2002-04-25 Thread Dain Sundstrom
Alex Loubyansky wrote: > I have to beans with many-to-many relationship. > 1. not specifying settings relation-table-mapping works fine; > 2. specifying only table-name in relation-table-mapping throws an exception > while deployment; > 3. specifying table-name in relation-table-mapping and cor

Re: [JBoss-user] cmr as part of pk

2002-04-29 Thread Dain Sundstrom
Alex Loubyansky wrote: > Is it possible for cmr field to be a part of the primary key? No. This is planned for JBoss 3.1. -dain ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Re: [JBoss-user] allow NULL column with primitive type

2002-05-03 Thread Dain Sundstrom
A primitive value cannot be null by definition. -dain Kitty John wrote: > Hello all, > > Im trying to create a table on Jboss 3.0 RC1 and Postgresql , when i > specify : > colA > colA > BIGINT > INT8 > > it automatically assign NOT NULL to this column. > > How can i assign t

Re: [JBoss-user] Autoincrement

2002-05-03 Thread Dain Sundstrom
You can't. It isn't implemented yet. -dain Ingo Bruell wrote: > Hi, > > I have tried to look at jboss forum, but it is not reachable, so i ask here. > > How i could use the autoincrement feature from Jboss3.0.0RC2 within my CMP > EntityBeans ? > > > Ingo Bruell > > --- > <[EMAIL PROTECTED

Re: [JBoss-user] Re: AW: [JBoss-dev] JBoss.net idea for Macromedia Flash support

2002-05-13 Thread Dain Sundstrom
ion. Email Us: >> [EMAIL PROTECTED] >> ___ >> JBoss-user mailing list >> [EMAIL PROTECTED] >> https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > ___

Re: [JBoss-user] RE: [JBoss-dev] Your chance to work on JBoss

2002-05-13 Thread Dain Sundstrom
more than one table, etc.) It will give me and anyone else interested a kick in the butt to get these features. -dain -- x Dain Sundstrom Chief Architect, JBossCMP JBoss Group, LLC x __

Re: [JBoss-user] Entity EJB foreign key not populated

2002-05-13 Thread Dain Sundstrom
Ricardo Arguello > > > ___ > > Have big pipes? SourceForge.net is looking for download mirrors. We supply > the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] > ___ > JBoss-user mailing list > [EMAIL PROTEC

Re: [JBoss-user] Exclusive locking of CMP in JBoss 3?

2002-05-13 Thread Dain Sundstrom
> > Thanks, > > James > -- x Dain Sundstrom Chief Architect, JBossCMP JBoss Group, LLC x ___ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware.

Re: [JBoss-user] BLOB type in a CMP

2002-05-13 Thread Dain Sundstrom
> java.lang.Object > > JAVA_OBJECT > > BLOB > > Can define someone a real hint or an advice? > > Stefan > -- x Dain Sundstrom Chief Architect, JBossCMP JBoss Group, LLC xxx

Re: [JBoss-user] Primary Key inheritance problem

2002-05-13 Thread Dain Sundstrom
atch first. -dain -- xxxxx Dain Sundstrom Chief Architect, JBossCMP JBoss Group, LLC x ___ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the rec

Re: [JBoss-user] one to one/none relationship

2002-05-13 Thread Dain Sundstrom
or not yet? Is it possible to remove the > billingInfo record in this case or is that against the law in a one-one > relationship? It is a bug -- x Dain Sundstrom Chief Architect, JBossCMP JBoss Group, LLC x ___

Re: [JBoss-user] BLOB type in a CMP

2002-05-13 Thread Dain Sundstrom
ailto:[EMAIL PROTECTED]]On Behalf Of James > Higginbotham > Sent: Monday, May 13, 2002 5:52 PM > To: Dain Sundstrom > Cc: Stefan Damian; [EMAIL PROTECTED] > Subject: RE: [JBoss-user] BLOB type in a CMP > > > Right.. We have a script that creates the tables ahead of ti

Re: [JBoss-user] Fwd: Bug when converting EJB QL boolean comparisons from true and false to 1 and 0

2002-05-13 Thread Dain Sundstrom
atch(UnicastServerRef.java:241) > at sun.rmi.transport.Transport$1.run(Transport.java:152) > at java.security.AccessController.doPrivileged(Native Method) > at sun.rmi.transport.Transport.serviceCall(Transport.java:148) > at >

Re: [JBoss-user] MBean for JGenerator

2002-05-13 Thread Dain Sundstrom
> Have big pipes? SourceForge.net is looking for download mirrors. We supply > the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listi

Re: [JBoss-user] Fwd: Bug when converting EJB QL boolean comparisons from true and false to 1 and 0

2002-05-13 Thread Dain Sundstrom
java.lang.Boolean > BIT > NUMBER(1) > > > > > On Tuesday, May 14, 2002, at 01:50 PM, Dain Sundstrom wrote: > >> I don't get this. The log says it is executing this query: >> >> SELECT DISTINCT >> t0_bea

Re: [JBoss-user] Fwd: Bug when converting EJB QL boolean comparisons from true and false to 1 and 0

2002-05-13 Thread Dain Sundstrom
fore, we need to get them mapped to "1" and "0" respectively in > this situation. > > On Tuesday, May 14, 2002, at 02:53 PM, Dain Sundstrom wrote: > >> This is like pulling teeth. Just tell me what you want and why, short >> and sweet. Think 72 words

Re: [JBoss-user] Fwd: Bug when converting EJB QL boolean comparisons from true and false to 1 and 0

2002-05-14 Thread Dain Sundstrom
Georg > > > -----Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of Dain > Sundstrom > Sent: Tuesday, May 14, 2002 07:35 > To: Stephen Coy > Cc: jboss-user > Subject: Re: [JBoss-user] Fwd: Bug when converting EJB QL boolean > comp

Re: [JBoss-user] Postgresql URL mapping

2002-05-14 Thread Dain Sundstrom
table from "oid" to "bytea" > solves this problem. > > Is this a bug, or am I just not using either JBoss or Postgres right? > > Cheers, > > Simon > > -- x Dain Sundstrom Chief Architect, JBossCMP JBoss Group, LLC xx

Re: [JBoss-user] Deserializing objects to DB

2002-05-15 Thread Dain Sundstrom
> I'm starting to suspect that JBoss might be the culprit here. If I > manually extract an object from the byte array, it turns out to be a > java.rmi.MarshalledObject when the expected class was java.lang.String. > > Can anyone shed some light on this? I'm using CMP 2, if that helps. JBossCMP

Re: [JBoss-user] Deserializing objects to DB

2002-05-16 Thread Dain Sundstrom
Simon Stewart wrote: > On Wed, May 15, 2002 at 10:48:48PM -0500, Dain Sundstrom wrote: > >>>I'm starting to suspect that JBoss might be the culprit here. If I >>>manually extract an object from the byte array, it turns out to be a >>>java.rmi.Marsha

Re: [JBoss-user] Deserializing objects to DB

2002-05-16 Thread Dain Sundstrom
ut nobody's complaining, so I'll leave it be.' >>Simon, I take it you're getting this problem with non-jdk classes? There >>may be some crufty instanceof testing in there. >> >>-danch >> >>Simon Stewart wrote: >> >>>On Wed, May

Re: [JBoss-user] CMR field column mapping

2002-05-16 Thread Dain Sundstrom
Put your current key fields declaration in the other role, and change the current role to an empty key-fields element. You are thinking the old backwards (like the sql references decl). -dain Justin Casp wrote: > Hello list, > I have a question regarding mapping CMR fields to table columns.

Re: [JBoss-user] [UCE-Spam Complaint]

2002-05-20 Thread Dain Sundstrom
This list is run by SourceForge. I would guess they have a place on their site to notify them of spamers, so they can be blocked. -dain Marius Kotsbak wrote: > Or even better if possible install Vipul's razor > (http://freshmeat.net/projects/vipulsrazor/?topic_id=29) and get rid of > most of

Re: [JBoss-user] XML Object persistence

2002-05-20 Thread Dain Sundstrom
I can tell you that it is unlikely that you feature will make it into JAWS, or any new features. Can you tell me more about this XML storage? What is involved required to store the XML? A small code examples would help. If it is not to difficult or Oracle specific, it may make it into a rel

Re: [JBoss-user] JBoss in a multi developers environment

2002-05-20 Thread Dain Sundstrom
This is a feature I have wanted for a while. We discussed this at the JBoss retreat, but no one can seem to decide on how to pull it off. I think we should support a ports file (MBean) which the other services would look to first for the port numbers, but they didn't like that. I can't real

Re: [JBoss-user] JBoss in a multi developers environment

2002-05-20 Thread Dain Sundstrom
so the APIs becoe bigger >>and more complex). >> >>JBoss is more flexible and has a much more Open feel to it because of >>these minimal contracts. Tightening them up would sacrifice this. >> >>I can see exactly where people who want this central management fnal

Re: [JBoss-user] locking in initializing cluster

2002-05-22 Thread Dain Sundstrom
Because it tries to open a network connection, and there is no way to put a timeout in JDK 1.3, which causes it to wait forever. You can fix this by adding multicast to the loopback device. I don't know how you do this, but it is what I have been told. -dain Emerson Cargnin - MSA wrote: >

Re: [JBoss-user] Open-Source Fight Flares At Pentagon

2002-05-23 Thread Dain Sundstrom
Don't the DOD and State Department already use JBoss? -dain Scott M Stark wrote: > Microsoft tries to squelch Open Source at the pentagon, but apparently many > at the pentagon are seeing the light. > > http://www.washingtonpost.com/wp-dyn/articles/A60050-2002May22.html > > > > > _

Re: [JBoss-user] What's in the Flashline CMP/CMR Documentation?

2002-05-28 Thread Dain Sundstrom
You need to relax. The subscription includes the exact same version the that is available for sale individually. The new JBossCMP doc for JBoss 3.0 final will be available in a few days. -dain Stefan Arentz wrote: > Unfortunately I don't have received an answer yet. > > I have no problem w

Re: [JBoss-user] newbie question about CMR and permissions

2002-05-28 Thread Dain Sundstrom
This is a bug. Can you post a bug report at source forge? Thanks, -dain [EMAIL PROTECTED] wrote: > > To the Jboss-User list > > I am trying to use CMR in Jboss 3.0RC2 and RC3 with Xdoclet generated > CMPs and Stateless session beans - and it works fine when I have no > security domain, an

Re: [JBoss-user] Forums Up?

2002-05-28 Thread Dain Sundstrom
Jason is working on it; mySQL is having issues. -dain John Childress wrote: > Can anyone get to the forums? I haven't been able to access them since > yesterday, just wondering if it is my connection? > > Thanks, > > John > -- > John Childress > http://www.johnchildress.com > >

Re: [JBoss-user] CMP M-N relationship

2002-05-29 Thread Dain Sundstrom
Many-to-Many relationships work fine. Your field names are wrong. A field name can not start with a capitol letter. -dain P.S. the following suggestion is unnecessary. Stéphane Redon wrote: > Hi, > > Just try to put the collection that you pass in a new collection like > > > > List li

Re: [JBoss-user] CD Subscription Update

2002-05-30 Thread Dain Sundstrom
If you don't have $500 don't buy the CD subscription. All of the software on the CD is available for free download at SourceForge. -dain Guy Rouillier wrote: > I'm treading lightly here. I think JBoss is a fantastic J2EE app server, > and everyone here has been a tremendous help to me in gett

Re: [JBoss-user] Relation: CMP-field CMR-field conflict (JBoss 3)

2002-06-01 Thread Dain Sundstrom
For the millionth time this is not a flaw, oversight, bug, etc. It is the way I coded it. I knew what I was doing, and I knew some would fine it unacceptable. This is not an easy feature to code, so I decided to delay it until the spec required features were done. I will add it in a future

Re: [JBoss-user] Delayed inserts in JBoss 3

2002-06-02 Thread Dain Sundstrom
Nope. It is on the todo list for 3.1 (or what every the next version will be called). -dain Robson Miranda wrote: > Hi.. > > There is some way to delay an insert after a ejbCreate(), in JBoss 3? I > noticed that it inserts the CMR fields, but there is no way to set its > values inside ejbCre

Re: [JBoss-user] [Simple question] CMP bean inheritance

2002-06-04 Thread Dain Sundstrom
wonder sonic wrote: > Hi, > Can someone tell me how are managed the inheritance of > the CMP fields? > > > Details: > If I create a CMP A and then a CMP B which extends > A, will CMP A and B have the same SQL table, will the > CMP-B SQL table have SQL CMP-B fields plus SQL CMP-A > fields? It

Re: [JBoss-user] [Simple question] CMP bean inheritance

2002-06-04 Thread Dain Sundstrom
Ricardo Argüello wrote: >>I don't recommend JDO. >> >>-dain >> > > Could you elaborate more on that, please? JDO is a cool idea. I think of JDO like ADO; it is easy to program against but is not a great persistence framework. One of the coolest things about ADO is the ability to program aga

Re: [JBoss-user] CMP 2.0 Is Supported!!

2002-06-05 Thread Dain Sundstrom
Brandon Knitter wrote: > Cool, thanks for your patience, and I apologize for my frustrations. I should > not let them get the best of me. > > In my haste I forgot to add the XML header to the top of my ejb-jar.xml files: > > > > "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans

Re: [JBoss-user] ejb ql with ejb1.1

2002-06-06 Thread Dain Sundstrom
EJB-QL is an CMP 2.0 feature so it doesn't work with CMP 1.1 (although it wouldn't be that difficult to pack port it). CMP 2.0 is only supported in JBoss 3.0. -dain Faisal Naveed wrote: > Hi, > I am using JBoss-2.4.6_Tomcat-4.0.3. Can i use > standarad query language(EJB QL) with ejb1.1. >

Re: [JBoss-user] JBoss3.0.0 CMR field not persisting

2002-06-06 Thread Dain Sundstrom
There is a bug report on this, but I haven't looked at it yet. I'll be fixing ALL of the reported CMP bugs next week. -dain David Jones wrote: > I am new to both JBoss and EJB2.0 and the new CMP support. Using > XDoclet I can create a couple of beans that include simple CMP and CMR > fields,

Re: [JBoss-user] CMP Generated SQL Problem

2002-06-06 Thread Dain Sundstrom
Are you trying to use an unknown primary key (java.lang.Object)? If you are, it is not supported. If you are not you have some funky configuration, and you will need to post a bug report (with only the simple entity and query). -dain David Russell wrote: > OK, so I'm a little impatient and

Re: [JBoss-user] CMP Generated SQL Problem

2002-06-06 Thread Dain Sundstrom
Simon Stewart wrote: > On Thu, Jun 06, 2002 at 09:32:47AM -0500, Dain Sundstrom wrote: > >>Are you trying to use an unknown primary key (java.lang.Object)? If you >>are, it is not supported. >> > > Any idea of when it will be supported? Most likely within

Re: [JBoss-user] CMP Generated SQL Problem

2002-06-06 Thread Dain Sundstrom
David Russell wrote: > What are the plans to support java.lang.Object primary key types as > outlined in the spec.? (Not that I've actually come up with a use > for it, just wondering) I plan on 3 possible implementations. The first is a PK generated by the server (sequence, random, high-lo

Re: [JBoss-user] CMP Generated SQL Problem

2002-06-06 Thread Dain Sundstrom
Matt Munz wrote: > Dain, > > >>Are you trying to use an unknown primary key (java.lang.Object)? If you >>are, it is not supported. >> > > Is this really the case? I posted a message regarding this very feature, > titled "incorrect SQL generated for findAll() on CMP bean", and I am > interest

Re: [JBoss-user] Entity Bean Cache performance issue in Jboss3.0.0

2002-06-06 Thread Dain Sundstrom
If the performance is 100 times slower the problem is you are not using transactions correctly. The data that is read ahead must be accessed in the same transaction it was loaded, it is not used it is thrown away at the end of the transaction. If you have lots of little transaction you read

Re: [JBoss-user] ERROR: Internal error getting results for field member

2002-06-06 Thread Dain Sundstrom
What is the exception you are getting on the server? It should be printed into the server.log file. -dain Brandon Knitter wrote: > I did notice one other thing. When I try to get a User, I am running into a > problem there the server is saying: > > Exception in thread "main" java.rmi.Server

Re: [JBoss-user] Error on bean deploy with CMR

2002-06-07 Thread Dain Sundstrom
Andre Selton wrote: > Hi, > > When I deploy my EJB with CMR I got this error : > > org.jboss.deployment.DeploymentException: Error in > ejb-jar.xml for relation Order-Item: cmr-field-type > should be java.util.Collection or java.util.Set but is > Order. > > items >

Re: [JBoss-user] Some working CMP 2.0 examples ?

2002-06-07 Thread Dain Sundstrom
The examples are included in the for pay doc. If you can wait until monday the new docs for the 3.0 final release should be available on flashline. We are just waiting for scott to get to his home computer. He has been in my city (Minneapolis) this week doing training. If you are in a hurry,

Re: [JBoss-user] ERROR: Internal error getting results for field member

2002-06-07 Thread Dain Sundstrom
Doh, It looks like we have gone to far in reducing the excessive exception reporting. You could try turing up the logging in the log4j.xml file. It has examples and good comments. If you can't figure it out, post a bug report at sourceforge and I'll take a look at it. -dain Brandon Knitte

Re: [JBoss-user] Some working CMP 2.0 examples ?

2002-06-07 Thread Dain Sundstrom
Wait until it says it is the new docs. We will make an announcement on the lists. -dain Aleksander Grzebyta wrote: > Hello Dain ! > > OK we will make an order monday. I hope we will not obtain the older docs. > > sincerely Olek > > > - Original Message -

Re: [JBoss-user] Problem binding on Name Server using RMI/IIOP

2002-06-07 Thread Dain Sundstrom
Oh, are trying to use a foreign key as a primary key? If you are, it is not supported yet. A new guy Ken is working on this, and said it "shouldn't be that hard" (that is what I said about the CMP 2.0 engine when I started). If he has any luck, we should have this within a month or two. -d

Re: [JBoss-user] diff free-docs paid-docs

2002-06-07 Thread Dain Sundstrom
I can tell you that the free docs have nothing on CMP 2, as I haven't written it yet. I'm a little burnt out on writing, so it will be a few weeks before I get anything on cmp written for the free docs. -dain Rajesh Acharya wrote: > It would be of great help for new visitors (and for me too)

Re: [JBoss-user] jbosscmp-jdbc.xml DTD?

2002-06-07 Thread Dain Sundstrom
The old docs are OLD. The correct dtd to use is the one included with the release in docs/dtd. Also type-mapping was changed to datasource-mapping between alpha and beta 2. -dain Brandon Knitter wrote: > I added the following to the top of my jbosscmp-jdbc.xml file and was met with > TONS o

Re: [JBoss-user] Entity Bean Cache performance issue in Jboss3.0.0

2002-06-07 Thread Dain Sundstrom
Jos Henrique Varanda wrote: > Hello Dain, > > I'm using the same ear file in RC3 and 3.0.0. I'm > using Oracle8 db and using CMP 2.0 as well. The > problem is: the same ear executes 100 times slower in > 3.0.0 than in RC3. What about with hypersonic? > What about transaction demarcation? I'm

Re: [JBoss-user] Some working CMP 2.0 examples ?

2002-06-07 Thread Dain Sundstrom
> > - Original Message - > From: "Dain Sundstrom" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, June 07, 2002 9:46 AM > Subject: Re: [JBoss-user] Some working CMP 2.0 examples ? > > > >>The examples are included

Re: [JBoss-user] diff free-docs paid-docs

2002-06-07 Thread Dain Sundstrom
There was never any text in the CMP 2 section. I haven't written it yet. -dain Aleksander Grzebyta wrote: > Hello ! > > Lately the CMP 2.0 section disappeared from free docs so u have sample > answer. > > sincerely Olek > > - Original Message - > From: "Rajesh Acharya" <[EMAIL PROTE

Re: [JBoss-user] Boolean in the ejb-ql has sql exception

2002-06-07 Thread Dain Sundstrom
If you can wait a week, this will be fixed. Also declared-sql is described in the JBossCMP documentation. -dain Arthur Wang wrote: > Hi Everyone, > > I am depoying my applcation in JBoss-Oracle, I have a query in ejb-jar.xml > taking a boolean parameter like, columnName= FALSE or TRUE, when

Re: [JBoss-user] Boolean in the ejb-ql has sql exception

2002-06-07 Thread Dain Sundstrom
Arthur Wang wrote: > Thanks Dain, > > But where can I get the JBossCMP documentation(free or not free) you > mentioned? http://www.jboss.org/docs/ > and first, could you please tell me if I can write declared-sql > with a cmr field as a parameter? I have no idea what you are talking about.

Re: [JBoss-user] Auto created relationship table name.

2002-06-07 Thread Dain Sundstrom
Arthur Wang wrote: > Hi , > > I have a many to many relationship betwen two beans, and I specify the > relation table in the ejb-jar.xml file, but when set the create-table as > true in jbosscmp-jdbc.xml, the created relation table has a different name > as the one I specified in the relationshi

Re: [JBoss-user] Working CMP/CMR Example For JBoss 3.0?

2002-06-07 Thread Dain Sundstrom
Brandon Knitter wrote: > I know that the JBoss group is working on a new document release, but in my > frustration (read: no more hair) The for pay docs are done. We're just waiting for scott to get home and then we will be waiting for flashline (Monday or Tuesday). > I was hoping to get a w

Re: [JBoss-user] Using auto increment of mysql for PK

2002-06-07 Thread Dain Sundstrom
You need to be more specific. What exactly did you try? -dain Arthur Wang wrote: > Hi, > > I tried to use auto_increment for primary key when I create a new entity > bean, but there are following exception: > > - > HTTP ERROR: 500 removing bean lock and it has tx set!; ne

Re: [JBoss-user] performance on linux/windows

2002-06-07 Thread Dain Sundstrom
It is not about performance it's about manageability in production. Widows is simple too much of a pain to manage on a large scale. -dain Tejeshwar wrote: > Hi.. > > > > > > I want to know one thing. > > My question, > > > > JBoss on windows/linux, which gives better performance? >

  1   2   3   4   5   6   >