Re: [JBoss-user] CMR Error under load

2003-04-01 Thread Andrew May
Simone, I manually inserted a couple of records. e.g.: INSERT INTO Parent VALUES ('test1'); INSERT INTO Child (id, name, value, parentid) VALUES ('test1:name1', 'name1', 'value1', 'test1'); And that was enough data to recreate the problem. The test was then called with java

Re: [JBoss-user] CMR Error under load

2003-04-01 Thread Simone Milani
Hi Andrew, I had the error as well Simone - Original Message - From: Andrew May [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 8:40 AM Subject: Re: [JBoss-user] CMR Error under load Simone, I manually inserted a couple of records. e.g.: INSERT

Re: [JBoss-user] auth login config file from JSP

2003-04-01 Thread Ionel Gardais
Scott M Stark wrote: You need to specify the security domain name in the war WEB-INF/jboss-web.xml descriptor. jboss-web security-domainjava:/jaas/xyz/security-domain /jboss-web I have add the jboss-web.xml into the war. the security domain matches the one declared in the jboss.xml file of

Re[2]: [JBoss-user] CMR Error under load

2003-04-01 Thread Alex Loubyansky
with fresh 3.2.0RC5 from CVS? alex Tuesday, April 01, 2003, 11:26:47 AM, Simone Milani wrote: SM Hi Andrew, SM I had the error as well SM Simone SM - Original Message - SM From: Andrew May [EMAIL PROTECTED] SM To: [EMAIL PROTECTED] SM Sent: Tuesday, April 01, 2003 8:40 AM

Re: [JBoss-user] auth login config file from JSP

2003-04-01 Thread Ionel Gardais
Hi again, i made another test : i changed the other security domain to use the DatabaseLoginModule and my datasource to get Principales and Roles. it works and I can create a login context and call login() correctly. I am still facing a problem : this login context created is not used to call

[JBoss-user] Re: NOT NULL relations

2003-04-01 Thread Simone Milani
Hi Alex, Thanks! Works great! I thought other people could be interested on it as well! Simone - Original Message - From: Alex Loubyansky [EMAIL PROTECTED] To: Simone Milani [EMAIL PROTECTED] Sent: Monday, March 31, 2003 8:24 PM Subject: Re: NOT NULL relations Sorry, it doesn't

[JBoss-user] Primary Key Generation Strategies

2003-04-01 Thread Brian McSweeney
Hi all, There has been much discussion on database and container independent primary key generation strategies. I've been using the first strategy in Floyd Marinescu's book ftp://www6.software.ibm.com/software/developer/library/j-ejbdesign.pdf but have been getting transaction roll-back

Re: [JBoss-user] auth login config file from JSP

2003-04-01 Thread josv
As far as I understand matters, one is supposed to use the ClientLoginModule to login at the client side. The module does not authenticate the user but only stores the user/passwords credentials. At a remote method invocation the JBoss client libraries use the stored credentials and pass it to the

RE: [JBoss-user] auth login config file from JSP

2003-04-01 Thread Sacha Labourey
I still got some outstanding issues with storing the credentials (at the client side) on a per thread or per instance basis, but I'm working on understanding that issue too... The question is: do you want each thread to have its own set of credentials or not. For example, imagine that your

Re: [JBoss-user] Primary Key Generation Strategies

2003-04-01 Thread josv
I use that strategy too. I got a KeyGeneratorBean that keeps track of the nextValues per class (uses an underlying database table). I currently do not have any problems (but still got to test it under load)... If you want I can share my code so you can take a look... ++Jos.nl And thus it came

Re: [JBoss-user] CMR Error under load

2003-04-01 Thread Andrew May
I've just built RC5 from CVS and I still get the CMR problem. Release ID: JBoss [WonderLand] 3.2.0RC5 (build: CVSTag=Branch_3_2 date=200304010938) Alex Loubyansky wrote: with fresh 3.2.0RC5 from CVS? alex --- This SF.net email is

Re: [JBoss-user] Primary Key Generation Strategies

2003-04-01 Thread Marek Lange
There has been much discussion on database and container independent primary key generation strategies. I've been using the first strategy in Floyd Marinescu's book ftp://www6.software.ibm.com/software/developer/library/j-ejbdesign.pdf but have been getting transaction roll-back exceptions.

Re: [JBoss-user] auth login config file from JSP

2003-04-01 Thread Ionel Gardais
[EMAIL PROTECTED] wrote: As far as I understand matters, one is supposed to use the ClientLoginModule to login at the client side. I used to achieve this by specifying -Djava.security.auth.login.config=file://$JBOSS_HOME/client/auth.conf where the ClientLoginModule is specified by default when

[JBoss-user] BASIC Authentication

2003-04-01 Thread TIBOR . KISS
Hi! I have experimented with JBoss JAAS a bit, and found a strange thing: When I have set auth-method in the jmx-console.war to BASIC, no login window popped up, and I am just forwarded to index.jsp. (I have uncommented the security-constraint part above). If I set auth-method to DIGEST, I am

[JBoss-user] additional fields in a CMR relation table

2003-04-01 Thread Ionel Gardais
Hi, is it possible to access additional fields in a CMR relation table ? example : a Book table filled with Book entries, a Person tagle filled with people infos and a CMR relation table that stores who loans what. Does a field containing the loan date can be added and populated automatically

[JBoss-user] patching jboss 3.0.6

2003-04-01 Thread SainTiss
Hi, I've encountered the (known) jboss-shutdown problem, and noticed there's a patch available. However, the 3.0.6-zip files on the download page don't include this patch. Does that mean those files are totally unusable, and I need to checkout the 3.0 branch from cvs and apply the patch like

Re: Re[2]: [JBoss-user] CMR Error under load

2003-04-01 Thread Simone Milani
As of yesterday 10 PM GMT. Simone - Original Message - From: Alex Loubyansky [EMAIL PROTECTED] To: Simone Milani [EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 9:47 AM Subject: Re[2]: [JBoss-user] CMR Error under load with fresh 3.2.0RC5 from CVS? alex Tuesday, April 01, 2003,

Re: Re[2]: [JBoss-user] CMR Error under load

2003-04-01 Thread Simone Milani
Hi Andrew, Just looked at your source and you can only have CMR between Local ejbs :) Try to update the test case to have the relation beetween 2 local Entities and have a remote Session facade that calls the test method. Simone - Original Message - From: Simone Milani [EMAIL PROTECTED]

App server login (was Re: [JBoss-user] auth login config file from JSP)

2003-04-01 Thread josv
Hi, As it turned out in my particular situation it seems impossible to share the credentials across all the threads. Let me elaborate (I am longwinded in this mail, as usual :-) I got an app containing servlet/JSPs and EJB's. I currently deploy them all in one JBoss (3.0.6) instance (with

Re: [JBoss-user] CMR Error under load

2003-04-01 Thread Andrew May
In our application which is causing the problem we have a session facade. I ommited this from the test case because I wanted it to be as simple as possible. Because the Parent has a local reference to the Child and the relationship is only being accessed within a method on the Parent I thought

RE: [JBoss-user] Cluster/Farm Problems - corrupted zip files (JARS)

2003-04-01 Thread Jason Stortz
I am trying to checkout JBoss_3_0_6 from cvs using sourceforge, but am having problems. Here is a screen shot of what I'm doing and seeing: D:\cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/jboss login (Logging in to [EMAIL PROTECTED]) CVS password: cvs [login aborted]: connect to

[JBoss-user] Dynamic ql problem

2003-04-01 Thread Brijesh Sood
hi can anyone tell how to use date comparisons in dynmaic ql as i have pass date values as arugement and find the results. . brijesh

RE: [JBoss-user] Cluster/Farm Problems - corrupted zip files (JARS)

2003-04-01 Thread Sacha Labourey
Do you type an empty password? Can you access port 2401 outside or does your firewall prevent that? Otherwise check that: http://sourceforge.net/docman/display_doc.php?docid=14033group_id=1 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason

[JBoss-user] Query optimization

2003-04-01 Thread kiuma
Hello I've one simple question: I want to optimize a query to return pages of 10 elements x page (and here no problem). Problems are these: 1) Can I use Collection.size() to calculate the total page number , without loosing in performance? 2) If I want to get the third page, do I have to

[JBoss-user] relationship between beans from differents providers

2003-04-01 Thread Ionel Gardais
Hi, How to implement relationship between differents bean providers ? I mean, there is a time where you need to specifiy the class name of the opposite side ejb. Do I need to copy the classes (or the full jar) of the opposite bean into my own package ? how to be totally independant ? thanks,

Re: [JBoss-user] Primary Key Generation Strategies

2003-04-01 Thread Brian McSweeney
Hi Jos, Hi Marek, thanks for the replies. I'm glad that you guys think this is a good strategy. It works fine normally but it's under load that it seems to pack up. I'm using mysql and an implementation of Floyd's sequence entity bean and sequence session bean pattern. (The code is below). We

Re: [JBoss-user] Query optimization

2003-04-01 Thread julien viet
k Hello I've one simple question: k I want to optimize a query to return pages of 10 elements x page (and k here no problem). k Problems are these: k 1) Can I use Collection.size() to calculate the total page number , k without loosing in performance? yes, all keys are already fetched and

[JBoss-user] Unknown load group on ejbRemove()

2003-04-01 Thread Justin Casp
Hi List, I have a load group named basic defined for one of my beans. I use this load group with several finders without a problem. When I try to call remove(), I get the following exception: TransactionRolledbackLocalException, causedBy: javax.ejb.EJBException: Unknown load group:

RE: [JBoss-user] Cluster/Farm Problems - corrupted zip files (JARS)

2003-04-01 Thread Jason Stortz
Firewall is the problem. I totally forgot about that. Thanks Sacha! -Original Message- From: Sacha Labourey [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 7:32 AM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Cluster/Farm Problems - corrupted zip files (JARS) Do you type an

RE: [JBoss-user] *-ds.xml file won't deploy on 3.2.0 RC4

2003-04-01 Thread Demyanovich, Craig - Apogent
Sorry for the delay in looking into this. Some of the examples had a mistake, namely xa-tx-datasource tags instead of xa-datasource. I fixed the ones I found in cvs. Thank you, David, for investigating the issue and fixing what you found. I'll try again today and post my results. You

[JBoss-user] verifier + ant?

2003-04-01 Thread Nathan Hoover
There were some instructions on the JBoss site about setting up the verifier as an Ant task: http://216.239.53.100/search?q=cache:y5Aqykm03VkC:www.jboss.org/online-manual/HTML/ch08s25.html+ant+task+verifierhl=enie=UTF-8 But, after doing a build from source I don't seem to have a metadata.jar.

RE: AW: [JBoss-user] JBoss: Not Ready For Prime Time

2003-04-01 Thread Darren Hartford
Thank you Dr. Christoph, this seems to be going towards the actual crux of the conversation, and very good stand. From my standpoint, going use a non-technical example, people buying furniture... *Some people like to buy nice, warranted, expensive furniture for their home, ready to go and

[JBoss-user] How to cjeckout JBoss 3.2 RC4

2003-04-01 Thread Aleksandr Shneyderman
I wanted to get a CVS copy of RC4 I do the checkout of jboss-3.2 module with the tag of JBoss_3_2_0_RC4 Is it the right way to do it? If it is why do I get an error building from the source? Here is the partial build.log: configure: [echo] groups: default [echo] modules:

Re: [JBoss-user] CMR question: r-table-mapping, with existing tables

2003-04-01 Thread Alex Loubyansky
Hello Bill, Tuesday, April 01, 2003, 2:18:37 AM, Bill Curtis wrote: BC hello... BC I have an existing table, A, which has a 1..* relationship with itself. BC This relationship makes us of an existing mapping table, B. BC I have inherited these tables, and unfortunately cannot alter them. BC

[JBoss-user] Date comparison with ejbql

2003-04-01 Thread Brijesh Sood
hi all need the help of u people Im not that verse in ejbs, subscribe here to read some good stuff that could help too learn and doo things in betterway :) :) I have written search function in entity bean that take some arbitarty search criteria and perform search .For this i m using

Re: [JBoss-user] relationship between beans from differents providers

2003-04-01 Thread Alex Loubyansky
Relationships are allowed between entities declared in the same ejb-jar.xml. You can put third party beans somewhere in the class path and create your ejb-jar.xml that will define thirdparty beans, your beans and relationships between them. alex Tuesday, April 01, 2003, 4:32:54 PM, Ionel Gardais

Re: [JBoss-user] Between dates problem in Dynamic QL ???

2003-04-01 Thread Alex Loubyansky
You have to pass dates as a parameter to the query. Instead of real dates put in the query ?1, ?2, ... And then ejbSelectMethod(jbossQl.toString(), args), where args contains instances of Date. alex Tuesday, April 01, 2003, 2:17:15 PM, Brijesh Sood wrote: BS Hi All , I have to create

Re: [JBoss-user] verifier + ant?

2003-04-01 Thread Alan Zimmerman
The Middlegen build process calls the verifier from ant. Have a look at http://middlegen.sf.net Alan Zimmerman On Tue, Apr 01, 2003 at 09:55:46AM -0500, Nathan Hoover wrote: There were some instructions on the JBoss site about setting up the verifier as an Ant task:

Re: [JBoss-user] auth login config file from JSP

2003-04-01 Thread Scott M Stark
You have to create a login module configuration in the conf/login-config.xml descriptor that includes the ClientLoginModule and then reference that configuration in your jboss-web.xml descriptor. There is a client-login configuration already in the default login-config.xml so try that: jboss-web

Re: [JBoss-user] BASIC Authentication

2003-04-01 Thread Scott M Stark
Then you have an error in the web.xml descriptor as setting the security-constraint is all that is required to enable security on the web container and have the basic auth dialog displayed. You also need to uncomment the security-domain in the jboss-web.xml descriptor to use the username/password

Re: App server login (was Re: [JBoss-user] auth login config file from JSP)

2003-04-01 Thread Scott M Stark
Filters or the lower level web container equivalent, valves in Tomcat, interceptors in Jetty are the way to do this. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Re: [JBoss-user] How to cjeckout JBoss 3.2 RC4

2003-04-01 Thread Simone Milani
Hi, Wrong tag, it should be: cvs -d:pserver:[EMAIL PROTECTED]:80/cvsroot/jboss checkout -r Branch_3_2 jboss-3.2 Simone - Original Message - From: Aleksandr Shneyderman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 4:43 PM Subject: [JBoss-user] How to cjeckout

RE: [JBoss-user] Date comparison with ejbql

2003-04-01 Thread Jeremy Boynes
Title: Message Your values must be DateTime values rather than Strings. You should use parameters to the query rather than inline text- this will also help the above problem. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brijesh

Re: [JBoss-user] How to cjeckout JBoss 3.2 RC4

2003-04-01 Thread Scott M Stark
That is the correct tag and module. There are some files for which the JBoss_3_2_0_RC4 tag appears to be on the incorrect version. The jboss-3.2.0RC4-src.tgz available from sourceforge does compile fine as it is the source used to compile the build. Scott Stark Chief

[JBoss-user] jboss-3.0.7?

2003-04-01 Thread David Ward
Curious when 3.0.7 is going to be released. There's 2 things that are supposedly fixed that would be very helpful for us (and probably others) to get our hands on: 1) Getting shutdown client class to work again (don't know the tracker id but I've seen talk about this on the user list). 2) [

[JBoss-user] managed transaction problem

2003-04-01 Thread David Ward
Hello, all. I'm having transaction trouble with jboss-3.0.6/jetty, jdk 1.4.1_02 and Oracle 9i w/ojdbc14.jar. Please see the ASCII-art diagram below (hopefully it will line up for everyone). Client | (1) | V SLSB--(2)--[Oracle] |^ (3) | |

[JBoss-user] HTTP clustering and container security?

2003-04-01 Thread Finn, Michael
Guys, I am testing HTTP distributed sessions w/ Branch 3.2 (updated today), with an application using container/declarative security. When j_security is invoked, I am getting the exception below. I have other applications (not using JAAS) which are working fine in the http session

RE: [JBoss-user] managed transaction problem

2003-04-01 Thread Igor Fedorenko
David, Here is what is going on. When first transaction (initiated by Client) commits, JBoss (or any other transaction manager) iterates over all enlisted XA resources and calls xaRes.prepare during the first commit phase and xaRes.commit during the second. It is possible, that during the

Re: [JBoss-user] managed transaction problem

2003-04-01 Thread Gaetan Zoritchak
If you use a CMP to insert your data in the database you will be able to do the insertion in a new Tx ( Requires New ). When the SLSB will send its message the commit will already be done. -- Gaetan Zoritchak Bright Side Factory http://www.bs-factory.com David Ward wrote: Hello, all. I'm

Re: [JBoss-user] Invalid invocation, check your deployment packaging error and JUnitEJB

2003-04-01 Thread Scott M Stark
You have class version problems due to the packaging of your compoents and the default call by reference optimization done by JBoss. See the class loading architecture docs and then look to the 3.0.5+ versions which eliminated many of the issues. The class loading docs are in the sourceforge docs

RE: [JBoss-user] managed transaction problem

2003-04-01 Thread Igor Fedorenko
This would defy transaction atomicy -- you could get data without corresponding JMS notification. -Original Message- From: Gaetan Zoritchak [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 4:11 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] managed transaction problem

Re: [JBoss-user] HTTP clustering and container security?

2003-04-01 Thread Scott M Stark
It has to be a bug. This is just a trival web app marked as distributable with declarative security? Create a bug report on sourceforge. Scott StarkChief Technology OfficerJBoss Group, LLC - Original Message - From: Finn,

Re: [JBoss-user] jboss-3.0.7?

2003-04-01 Thread Scott M Stark
Maybe end of this week or early next week depending on when the 3.2.0 release gets out the door. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: David Ward [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: [JBoss-user] jboss-3.0.7?

2003-04-01 Thread David Ward
Thanks, Scott! Mensaje citado por Scott M Stark [EMAIL PROTECTED]: Maybe end of this week or early next week depending on when the 3.2.0 release gets out the door. Scott Stark Chief Technology Officer JBoss Group, LLC - Original

Re: AW: [JBoss-user] JBoss: Not Ready For Prime Time

2003-04-01 Thread edbrown
Quoting Jung , Dr. Christoph [EMAIL PROTECTED]: -Ursprngliche Nachricht- Von: Ed Brown [mailto:[EMAIL PROTECTED] Gesendet: Samstag, 29. Mrz 2003 03:59 An: [EMAIL PROTECTED] Betreff: RE: [JBoss-user] JBoss: Not Ready For Prime Time Lastly, I gave up on using the embedded

Re: [JBoss-user] Servlet/EJB JAAS login problem

2003-04-01 Thread Brian Wallis
On Wed, 2 Apr 2003 03:39, Jos Visser wrote: Hi Brian, I looked into the matter and posted a somewhat longwinded mail with the complete analysis. I reckon this analysis holds for your situation too. Please check the mail in the mailing list. If you have any more questions, please don't

[JBoss-user] [ANN] Pixory beta-2.9

2003-04-01 Thread joe panico
The Composer portion of the application has been graphically redesigned to make it more attractive and ergonomic. -- Pixory is a personal image server that is packaged ready for hotdeploy in JBoss. More information can be found here: http://www.pixory.org joe

[JBoss-user] List ten things you want fixed (was Re: JBoss: Not Ready For PrimeTime)

2003-04-01 Thread Weiqi Gao
On Tue, 2003-04-01 at 18:49, [EMAIL PROTECTED] wrote: You consider it ugly, I consider it facts. That makes it ugly facts. I asked on this list why Axis wasn't working and I got nothing. I went to the JBoss forums where I found out you had to get the source and recompile in order to get it

Re: [JBoss-user] List ten things you want fixed (was Re: JBoss: Not Ready For Prime Time)

2003-04-01 Thread Dain Sundstrom
Seriously, you guys need to stop falling for the trolls. No normal person continues to fight so strongly for a product they hate. My guess is this guy works for a PR firm hired by Sun or BEA, but it could be any player in the J2EE world. Just shun him and he will go away. -dain On Tuesday,

Re: [JBoss-user] Is there a logger service available - To Guy Rouillier

2003-04-01 Thread Guy Rouillier
Here is some actual working code. First, put a line like this at the top of your class definition: private final Category log = Category.getInstance(getClass().getName()); Some will (rightly) point out that this is slightly inefficient as you could accomplish the same thing with a static,

[JBoss-user] Bunnies! Spurious thread creation JDK ORB

2003-04-01 Thread Brian Wallis
I have an app running in JBoss 3.0.7RC1 that utilises a CORBA connection to a server from where it reads a bunch of info to create an entity bean. After building a couple of beans and letting it set idle for a few minutes, the system creates about 600 threads with the following stack trace.

[JBoss-user] BASIC Auth with TomCat

2003-04-01 Thread TIBOR . KISS
Title: BASIC Auth with TomCat Hi! I have experimented with JBoss JAAS a bit, and found a strange thing: When I have set auth-method in the jmx-console.war to BASIC, no login window popped up, and I am just forwarded to index.jsp. (I have uncommented the security-constraint part above). If I

Re: [JBoss-user] Bunnies! Spurious thread creation JDK ORB

2003-04-01 Thread Brian Wallis
On Wed, 2 Apr 2003 16:23, Brian Wallis wrote: I have an app running in JBoss 3.0.7RC1 that utilises a CORBA connection to a server from where it reads a bunch of info to create an entity bean. After building a couple of beans and letting it set idle for a few minutes, the system creates about

Re: [JBoss-user] managed transaction problem

2003-04-01 Thread Gaetan Zoritchak
Yes of course, but it doesn't seem to be the problem as he tried the NotSupported tag. The only risk that persists is to insert the data in the DB and have a problem after when he sends the JMS Message. It may be acceptable, it depends on the application. -- Gaetan Zoritchak Bright Side

[JBoss-user] Re: [JBoss-dev] Using postgreSQL 7.3.2 with JBoss 3.0.6

2003-04-01 Thread Alex Loubyansky
David, you are on the wrong list. I am forwarding you to jboss-user. 1. Set debug to true log4j:configuration xmlns:log4j=http://jakarta.apache.org/log4j/; debug=true 2. remove Threshold for CONSOLE appender name=CONSOLE class=org.apache.log4j.ConsoleAppender 3. set DEBUG for

[JBoss-user] Re: [JBoss-dev] Anybody ever had problem with CMR when using PostgreSQL ?

2003-04-01 Thread Alex Loubyansky
Please, post to jboss-user. Maybe the problem is in case-sensitivity? Make sure CMP and foreign key fields have the same name and use the same case. alex Wednesday, April 02, 2003, 7:56:41 AM, David Wang wrote: DW I have 2 CMP entity beans that have one to many relationship. The Many DW side

Re: [JBoss-user] Bunnies! Spurious thread creation JDK ORB

2003-04-01 Thread Brian Wallis
And to answer my own question... I don't know why it was creating so many threads, but the trigger was an attempt to serialise a corba object reference on passivation of a session bean. My corba setup is a bit odd. The only 'free' idl compiler that will compile my IDL is the JDK one but the