Hello Michael,
yes, mail me, please, your testcase. But why do you include jboss
native jars in it? Be sure, I have them :) The most important is your
code.
Looking forward for the test case.
alex
Thursday, October 17, 2002, 10:48:15 PM, you wrote:
MN> Hi Alex!
MN> Sorry for coming back to yo
Hi Robson & John,
Thanks for your kind help. I solved the problem which is a double fault
case:
1. In my ejb-jar.xml, I made a mistake by setting the transaction-type to be
"Bean" for the session bean (which should be "Container")
2. In addUser(), after catching the creation exception, both either
(itchy trigger finger - sorry)
http://www.mail-archive.com/jboss-development@;lists.sourceforge.net/msg30843
.html
does that help?
cheers
dim
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 18, 2002 9:29 AM
Subject: Re: [JBoss-user] building
I missed the start of this, but does this help:
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 18, 2002 9:29 AM
Subject: Re: [JBoss-user] building jboss-3.0 or jboss-3.2 from cvs
> Thank you for the replies, here more information on why I am
Thank you for the replies, here more information on why I am attempting to
check out the latest version of the 3.0 tree.
I am looking to build a version of jboss that does not suffer from the
bug the Adrian Brock fixed. "removing bean lock and it has tx set"
Normally the current state of the hea
Hi,
the recent change in CVS structure means you cannot use the
same module (was: jboss-all) for any branch/revision.
If you checkout e.g. some revision of Branch_3_2 you must use
the module jboss-3.2 (as some relevant cvs metadata cannot
be versioned).
What your question refers to is the differen
Could you clarify something? This is really a CVS question, not a JBoss
one. When using CVS in general, I've always checked out a specific tag.
For example, the last time I built JBoss 3.2, I checked out revision
JBoss_3_2_0_1, which built without error. I'm guessing that checking out
the branch
Hi Alex!
Sorry for coming back to you so late.
I have written a test case that demonstrates the bug. It still works with
JBoss 3.0.0 but does not with either JBoss 3.0.3 or 3.2.0beta. I have
assembled a project consisting of ANT build and run scripts along with the
source code and required librari
On Thu, 2002-10-17 at 13:41, Adrian Brock wrote:
> http://www.mail-archive.com/jboss-development@;lists.sourceforge.net/msg30843.html
Thanks, I just saw the relevant thread on the jboss-dev list. I've been
catching up on my old list email.
-joe
--
Innovation Software Group, LLC - http://ww
Try this change in jbossmq-service.xml
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/jbossmq/src/etc/server/default/deploy/jbossmq-service.xml.diff?r1=1.10&r2=1.10.2.1
I'm not sure trackbyconnection was the real fix now :-)
Regards,
Adrian
From: Seth Ladd <[EMAIL PROTECTED]>
Reply-To:
I got exactly these errors when forgetting to select the correct branch.
the module alone isn't enough it sees :-)
cvs checkout -r Branch_3_2 jboss-3.2
worked for me.
[EMAIL PROTECTED] wrote:
If I check out jboss-head with cvs I can enter the build directory and
run the build.sh command and th
http://www.mail-archive.com/jboss-development@;lists.sourceforge.net/msg30843.html
Regards,
Adrian
From: Joe Phillips <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] building jboss-3.0 or jboss-3.2 from cvs
Date: 17 Oct 2002 1
On Thu, 2002-10-17 at 11:34, [EMAIL PROTECTED] wrote:
> If I check out jboss-head with cvs I can enter the build directory and
> run the build.sh command and the project builds. How ever if I do the
> same with the jboss-3.0 or jboss-3.2 branches they will not build and
> both give the same error
Title: HELP: I'm unable to connect to jboss from my Swing app
- I have a Session bean deployed on JBoss
- I have a swing app that try to connect to the remove component like this:
1: java.lang.Object objRef = initialContext.lookup("java:comp/env/ejb/tspace/UserManager")
2: cachedRemoteHome =
Title: Message
localhost:8080/jmx-console
-Original Message-From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Herve
TchepannouSent: Thursday, October 17, 2002 8:32 PMTo:
[EMAIL PROTECTED]Subject: [JBoss-user] How can I
access the JNDITree with JBoss3?
How can I access
Title: How can I access the JNDITree with JBoss3?
If you are that lazy that you are using an 'old'
thread to start a new one - at least trim away what doesn't belong to
it!
Please :)
/L
If I check out jboss-head with cvs I can enter the build directory and
run the build.sh command and the project builds. How ever if I do the
same with the jboss-3.0 or jboss-3.2 branches they will not build and
both give the same error message.
BUILD FAILED
file:C:/cygwin/home/Administrator/jbos
Title: How can I access the JNDITree with JBoss3?
How can I access the JNDITree with JBoss3?
The URL http://localhost:8082 no longer works.
PS: Im using jboss-3.0.3_Tomcat-4.1.12 on Win2K
-Original Message-
From: Seth Ladd [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 17, 2002
Hello,
I solved the JBossMQ message being lost after restart. I was using '/'
characters in my queue name, and also using file persistence.
Apparently the two don't match. JBoss almost gets it to work, for it
escapes out the '/' characters for the directory for storing messages.
I believe so
and what about Lennart's remark?
The primitives can't be null and if they are it should
result in the exception.
alex
Thursday, October 17, 2002, 4:50:49 PM, you wrote:
JH> * Alex Loubyansky
>> Hello Jon,
>>
>> is it possible, sometimes, you pass in null to findByPrimaryKey?
JH> Actually, I do
* Alex Loubyansky
> Hello Jon,
>
> is it possible, sometimes, you pass in null to findByPrimaryKey?
Actually, I don't think so. Here is a part of the code:
cat.debug("klh=" + klh + ", kpk=" + kpk);
minSekvens=klh.findByPrimaryKey(kpk);
And this is a par
The problem is caused because the 3.2 Transaction Manager,
no longer restarts suspended resources during commit.
You should use track by connection for resources that cannot
commit from suspended. JBossMQ is one of those.
Maybe there is another fix in 3.2.0beta2?
Hello,
Is there a known fix to
Hi All,
Can the people who next respond to this thread *PLEASE* trim their
posts? Digest format can be long enough but this is making it enormous.
Many thanks,
--gps
E-mail is an informal method of communication and may
I will certainly do that.
Thanks.
-Original Message-
From: David Jencks [mailto:davidjencks@;directvinternet.com]
Sent: Wednesday, October 16, 2002 2:31 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] JBoss, JCA, and PeopleSoft
I haven't heard of anyone trying. You need a jca adapter
Just remove cmp accessors for principalId in RoleBean.
To fetch principalId for related user, call
getUser().getPrincipalId().
alex
Thursday, October 17, 2002, 3:16:47 PM, you wrote:
k> Sorry, but I can't figure out how to do:
k> my RoleBean.java is
k>//
k> ---
Title: ÃÀÅ®VSħÊõ
ENTER
¿´ÃÀÅ®£¬ÖÐħ»Ã´ó½±£¡
Sorry, but I can't figure out how to do:
my RoleBean.java is
//
-
// Relations
//
-
/**
* Returns a local User
* @return a local User
By 'id' I didn't mean id as in primary key :)
I refered to the persistent field named 'id' (since using getId() and
setId()).
/L
torsdagen den 17 oktober 2002 kl 13.35 skrev Alex Loubyansky:
LP> Don't use long for your id, use Long instead.
Following xdoclet, the key is of type String.
Someti
Hi,
Please keep answers on the list so that other people can
follow the threads in the future. :-)
This fixes the problem for me.
The problem is caused because the 3.2 Transaction Manager,
no longer restarts suspended resources during commit.
You should use track by connection for resources tha
LP> Don't use long for your id, use Long instead.
Following xdoclet, the key is of type String.
Sometimes, field named 'id' is not a primary key :) Probably, JBossCMP
was also suprised by it and threw the exception :)
alex
LP> Else you will have this
LP> error each time you have null in databas
It must be either cmp or cmr but not both at the same time.
alex
k> Yes
k> Alex Loubyansky wrote:
>>do you have a principalId as cmp and cmr at the same time?
>>
>>alex
>>
>>Thursday, October 17, 2002, 12:48:16 PM, you wrote:
>>
>>k> Hi all,
>>
>>k> I've the following problem:
>>
>>k> I've mapp
hi all!
This may not be jboss related, but something is wrong with, hopefully, my code.
I'm trying to invoke an entitybean from within a stateless sessionbean method. The
problem is that it seems like the newly created
bean is rolled back when the method return back to the client invoker.
any ide
Yes
Alex Loubyansky wrote:
do you have a principalId as cmp and cmr at the same time?
alex
Thursday, October 17, 2002, 12:48:16 PM, you wrote:
k> Hi all,
k> I've the following problem:
k> I've mapped principals and roles in a 1..n relationship
k> When I try to add a role using:
k> roleHome
Hello Jon,
is it possible, sometimes, you pass in null to findByPrimaryKey?
alex
Thursday, October 17, 2002, 1:31:23 PM, you wrote:
JH> Running JBoss 3.0.2 with a fairly trivial entity bean:
JH> /**
JH> * @ejb:interface-method view-type="both"
JH> * @ejb:persistent-field
JH>
do you have a principalId as cmp and cmr at the same time?
alex
Thursday, October 17, 2002, 12:48:16 PM, you wrote:
k> Hi all,
k> I've the following problem:
k> I've mapped principals and roles in a 1..n relationship
k> When I try to add a role using:
k> roleHome.create( new RoleData(pPrincip
Hello Jon :)
Don't use long for your id, use Long instead. Else you will have this
error each time you have null in database for the id field.
/Lennart
torsdagen den 17 oktober 2002 kl 12.31 skrev Jon Haugsand:
Running JBoss 3.0.2 with a fairly trivial entity bean:
/**
* @ejb:inter
Running JBoss 3.0.2 with a fairly trivial entity bean:
/**
* @ejb:interface-method view-type="both"
* @ejb:persistent-field
*/
public abstract long getId();
/**
*/
public abstract void setId( long id );
/**
* @ejb:interface-method
*
Title: Anyone successful with Jboss 3.x and CastorJDO ?
Hello,
was anyone of you successful in deploying an application using JBoss3.0.3/CastorJDO ? All docs I was able to find talk just about Jboss 2.4.x and the jboss-castor plugin seems to be a bit outdated, so I tried to hack it out mys
In our case the parallelism is a requirement.
We wait for threads to return and then proceed.
So ideally we would want to send messages to a
q where they get consumed simultaneously.
Pete Beck wrote:
> I'm not entirely sure how this would be handled in JBoss, but in
> principle you could send ou
Hi all,
I've the following problem:
I've mapped principals and roles in a 1..n relationship
When I try to add a role using:
roleHome.create( new RoleData(pPrincipalId, "caller_principal",
"CallerPrincipal") );
I've the following error back
08:53:40,972 ERROR [LogInterceptor] EJBException:
ja
I'm not entirely sure how this would be handled in JBoss, but in
principle you could send out a bunch of JMS messages to a topic or
queue.
The EJB container then launches threads to process the messages through
MDB instances. Therefore potentially, your code will be executed in
parallel.
Of cour
On Wed, 2002-10-16 at 20:30, Christopher Blunck wrote:
> With EJB, the container manages transactions, concurrency, and
> distributability so you don't have to.
Of course EJB can do much more than this however. You also have
automatically persisted objects (CMP), message based functionality (
Hi Pete!
What was being acheived using threads obviously was some
parallelism...as in we wanted some actions to be executed
simulataneously.
Now I have not worked with MDBs,JMS etc yet.
Are you suggesting using MDBs its possible to acheive
the same and avoid violating the spec?
Any ellaboration is
There's a good reason why the spec doesn't recommend using threads
within beans.
Apart from the transaction problems etc. it means the EJB container
loses control of the resources. In other words, the threads aren't
pooled by the container, and the container cannot safely pop the EJB in
and out o
I think there is a very simple solution to this which is much safer.
Instead of triggering threads off in your class, move the thread body
into a MDB and then simply send several messages from your session bean.
The MDB will enable your code to run asynchronously which is probably
the effect you
45 matches
Mail list logo