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
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
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
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
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
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
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
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
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
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
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
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.
[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
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
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
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
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,
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]
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
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
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
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
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
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
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,
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
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
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:
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
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
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.
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
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:
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
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
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
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
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:
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
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
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]
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
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
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
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) [
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) |
|
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
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
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
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
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
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,
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:
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
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
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
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
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
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,
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,
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.
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
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
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
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
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
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
67 matches
Mail list logo