Title: error while connecting to Database
Hi
I will try to give u as much info as possible
1) we are looking up the data source only once and keeping it in a static reference
2) getConnection is invoked from the helper class for the stateful session bean
3) the connection is stored in a m
Hi
I will try to give u as much info as possible
1) we are looking up the data source only once and keeping it in a static reference
2) getConnection is invoked from the helper class for the stateful session bean
3) the connection is stored in a member variable in the helper class
4) Auto commit is
I wrote wrong.
(Wrong)
> Here is the problem.
> In stem 3(or after step3), ejbStore() of E1 is never called.
(Correct)
Here is the problem.
In step *4* (or after step *4*), ejbStore() of E1 is never called.
Thanks,
Taka
---
This sf.net em
Hello,
I am converting a system from Weblogic 6.1(sp3) to JBoss 3.2.1.
I got a strange phenomenon about BMP Entity Bean.
The process is like followings;
1. Create a entity bean by calling home.create();
2. Set Object to by calling E1.setXXX(O1);
3. Get entity bean by calling home.findByPrima
Which repl are you referring to ?
Session (Tomcat, Jetty) ?
EJBs ?
I think replis async by default.
Joao Clemente wrote:
Hi.
(This message is in particular for Bela, but others feedback is welcome)
I'm running some tests and even with a very low request rate (5 req / minute
= 1 request / 12 sec)
On Wed, 2003-09-24 at 19:54, Robert Cauble wrote:
> > Multiple classloaders is more restrictive when it comes to
> > the security model. Classes in the same package cannot access
> > package private methods if the classes are in different classloaders.
>
> Got it. Thanks.
>
>
> > You can also ge
> Multiple classloaders is more restrictive when it comes to
> the security model. Classes in the same package cannot access
> package private methods if the classes are in different classloaders.
Got it. Thanks.
> You can also get errors when instances of the same class name
> but different cla
Matt:
Matt I still seem to be headed in the wrong direction. Below is my code
as it stands now and the log entries. Am I missing something obvious? I
would be very greatful if you could shed any light on where I'm going wrong.
Ant seems to generate the appropriate java files and deployment
des
Title: Message
The proper method
for resetting the state of a JSP tag is to re-initialize fields in
doEndTag(). The proper method for releasing resources shared
across all occurences of the tag (e.g., a JDBC connection) is the
release() method. In a couple of instances we put our re-initiali
I just tested it with 3.2.2RC5 (same as 3.2.2RC4 for this code),
it works for me.
You have your resource-ref declared as Unshareable (turns off pooling)?
e.g. in ejb.jar.xml
Stateful
test.ejb.TestStatefulSessionHome
test.ejb.TestSession
test.ejb.TestSessi
On Wed, 2003-09-24 at 16:21, Robert Cauble wrote:
> Thanks for your quick response. That helps a lot.
>
> I have a couple more questions though...
>
> In the parent-delegation model, as long as the class of the shared
> object is present in a parent class loader of the two classes which are
> sh
Hi
I will try to give u as much info as possible
1) we are looking up the data source only once and keeping it in a static reference
2) getConnection is invoked from the helper class for the stateful session bean
3) the connection is stored in a member variable in the helper class
4) Auto commit is
Thanks for your quick response. That helps a lot.
I have a couple more questions though...
In the parent-delegation model, as long as the class of the shared
object is present in a parent class loader of the two classes which are
sharing the object, there should be no need to marshall the object
Hi,
I've got a webapp deployed in a JBoss 3.2.2 server making RMI calls to some EJB's
deployed in a remote JBoss 3.2.2 server. I've got method permissions on the remote
EJB's and I'm trying to work through the most efficient way to maintain the correct
security credentials as I make the EJB
On Wed, 2003-09-24 at 14:49, Robert Cauble wrote:
> Can someone please point me towards some documentation which describes
> the advantage of the UnifiedClassLoader model over the tree-based
> class loading model? We purchased the JBoss documentation and all it
> says in the administrators guide is
Can someone please point me towards some documentation which
describes the advantage of the UnifiedClassLoader
model over the tree-based class loading model? We purchased the JBoss documentation and all it says in the administrators guide
is that “JBoss 3.x employs a new class loading archi
On Wed, 2003-09-24 at 10:49, Amit Ashok wrote:
> Hi All ,
> As per MethodMetaData in Jboss method-intf tag is fully
> supported
> my ejb-jar.xml has method-intf tag . and it uses Remote as the
> attribute but while deploying I always get the error message
>
On Wed, 2003-09-24 at 12:49, Ricardo Coutinho wrote:
> Hi Adrian,
>
> I downloaded 3.2.2rc4 and it showed the problem :) Thanks a lot.
> Working great now.
>
> Do you have an idea of when 3.2.2 will be finalised and released? I
> prefer the approach to the
>
>
As always, it will be released w
If it is a hang press ctrl-\ or kill -3 {jboss_pid} to get a threaddump.
This should tell you where it is hanging.
Regards,
Adrian
On Wed, 2003-09-24 at 11:42, Jon Haugsand wrote:
> A possible dead lock in our application. Shouldn't this be detected?
> And since everything runs in the same trans
Again you'll have to give me some information.
Where is getConnection() invoked and where do you store the connection?
What is done between getting the connection and the commit()?
Is this a StatefulSessionBean?
What is the deployment descriptor for the resource-ref?
What does the following return
You can limit the ORs generated using the on the
.
Regards,
Adrian
On Wed, 2003-09-24 at 11:01, Jonathan.O'[EMAIL PROTECTED] wrote:
> Running JBoss 3.0.6, running a finder on a entity bean, JBoss generates a
> load query like:
> select field1, field2, field3 from MY_TABLE where ID = 1 or ID = 2
Title: RE: [JBoss-user] Exception Sorter Information
Hi Adrian,
I downloaded 3.2.2rc4 and it showed the problem :) Thanks a lot. Working great now.
Do you have an idea of when 3.2.2 will be finalised and released? I prefer the approach to the
Ricardo
> Ricardo Coutinho
> Software Engi
A possible dead lock in our application. Shouldn't this be detected?
And since everything runs in the same transaction context, I cannot
think of any reason for it:
12:19:59,720 WARN [AbstractInstanceCache] Unable to passivate due to ctx lock,
id=[.100078.]
12:19:59,720 WARN [AbstractInstanceC
Hi All ,
As per MethodMetaData in Jboss method-intf tag is fully supported
my ejb-jar.xml has
method-intf tag . and it uses Remote as the attribute but while deploying I
always get the error message method-intf tag should be one of: 'Home',
'Remote', 'LocalHome', 'Local.
Running JBoss 3.0.6, running a finder on a entity bean, JBoss generates a
load query like:
select field1, field2, field3 from MY_TABLE where ID = 1 or ID = 2 or ID =
3 ...
Normally this code is fine, however, the finder happens to find more than
250 rows, and Sybase ASE12.0 does not like where c
25 matches
Mail list logo