Hi,
I look at the mod_jk configuration.
With JBoss3.2.1-Tomcat4.1.24, which directory is considered to be the
Tomcat root ? I only found a sar file which holds all tomcat files.
If you have experience with mod_jk, is it correct to do :
|Alias /webapps CATALINA_HOME/webapps|
JkMount
Hi, I have two entity beans, People and Address with a relationship of 1 to
1. I specified cascade-delete=yes in the ejb-jar in the People entity bean
but it doesn't work. Are you aware about any issue related to this subject?
Many thanks in advance,
Marco
Sorry, I put the cascade-delete option on the wrong part of the
relationship.
Everything works fine now.
Marco
- Original Message -
From: Marco Tedone [EMAIL PROTECTED]
To: JBoss-user-list [EMAIL PROTECTED]
Sent: Wednesday, July 09, 2003 8:40 PM
Subject: Jboss 3.2.1 - Cascade delete
Can you try again from http://jboss.sourceforge.net/snapshots/
It seems that last snapshot was somehow aborted as the file was only making
9Mo (the current one makes 35Mo)
Cheers,
sachas
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Scott M
say i have a session bean that does some work that is not ejb related.
for example, it creates a file with some data. the data in the file is
based on the contents of an entity bean. now, i want to synchronize on
the entity bean so that two sessio beans will not write to the file
simultaniously.
Hello Ittay,
JBoss can lock the entity bean for you.
If you use the default container configuration (Standard CMP 2.x
EntityBean) and don't mark the methods in the entity bean as
read-only, once entity's method is called, the entity is locked and
other transactions will wait for lock release. The
Hi Gurus(This time Adrian and Scott ;-),
Thnaks a
TON!!!
You saved
me a day...(PHEW!!!)
The issue
was one of the methods in the Value Object. It was using System.arrayCopy
to assign the recieved array parameter to member array. Instead of this
when just replaced the method with a direct assign
Thanks Scott,
I'll look there next time I have a problem like this...
Regards,
Oisin
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott M
Stark
Sent: 09 July 2003 18:15
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Linkage error
3.2 allows for
Is there any way to get a reference from within a managed object to the
surounding XMBean? The managed object is an MBean and may in rare cases
need to modify the MBeanInfo provided by the XMBean on its behalf.
--
Eric Jain
---
This SF.Net
On Thu, 2003-07-10 at 11:42, Alexey Loubyansky wrote:
Hello Ittay,
JBoss can lock the entity bean for you.
If you use the default container configuration (Standard CMP 2.x
EntityBean) and don't mark the methods in the entity bean as
read-only, once entity's method is called, the entity is
I agree, but that would be specific to the xmbean implementation.
usually a managed resource is not aware of the surrounding model mbean.
That might be done with a specific interface in jboss mx, like
interface XMBeanAware
{
void setXMBean(XMBean xmbean);
}
julien
Thursday, July 10, 2003,
I agree, but that would be specific to the xmbean implementation.
usually a managed resource is not aware of the surrounding model
mbean.
That might be done with a specific interface in jboss mx, like
interface XMBeanAware
{
void setXMBean(XMBean xmbean);
}
Yes, that would seem like a
Hi Ittay.
I think what Alex meant is that in this case, the Entity should
have the file contents as its value. This is a trick I have
pulled a couple of times.
The other option, why don't you open the file as Locked,
so that some other software application in the OS can't do
anything while you
Hi.. all,
I am very new to the JBoss application server. I used
to work with Weblogic previously. Please anyone can
help me in finding the documentation examples for
JBoss to work with(I think..there is very less
documentation details available..for JBoss as
compared to weblogic..)
thanks in
Hi Stephen,
As Ittay wrote, the file access is only an example.
I think we might come to a similar problem. In our case we have
a cluster with the same JMS queue on each node (so we can send
messages even if some nodes in the cluster are down). At a different
division we have one jboss with one
Just a minor editorial request for the JBoss 3.2.1 docs.
Figure 5-8 appears to be missing the commit-option, and several other tags as
they appear in Listing 5-8.
T
---
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate
If only one thread and one transaction can be active in an entity bean, which is
what the default pessimistic locking does, you obtain the behavior you want.
--
Scott Stark
Chief Technology Officer
JBoss Group, LLC
Ittay Dror wrote:
i know about
Here are some on line tutorials:
http://www.dsg.cs.tcd.ie/~dowlingj/teaching/ds/tutorials/ejb/jboss_3_intro.htm
http://iris.cs.byu.edu/tim/462/tutorial/tutorial.html
http://www7b.software.ibm.com/wsdd/techjournal/0302_koo/koo.html
See the the explanation of IllegalAccessErrors in the class loading docs
available from sourceforge under the docs tab.
--
Scott Stark
Chief Technology Officer
JBoss Group, LLC
Muraly R wrote:
Scott, then regarding the second error you
On Thu, 2003-07-10 at 15:10, Stephen Davidson wrote:
Hi Ittay.
I think what Alex meant is that in this case, the Entity should
have the file contents as its value. This is a trick I have
pulled a couple of times.
The other option, why don't you open the file as Locked,
so that some
Querying the MBeanRegistry should work:
import javax.management.ObjectName;
import org.jboss.mx.server.ServerConstants;
import org.jboss.mx.server.registry.MBeanEntry;
import org.jboss.mx.server.registry.MBeanRegistry;
Object[] args = {xmbeanName};
String[] sig =
I am using Jboss 3.2.1
Sometimes entityContext.getEJBLocalObject() returns local interface of another
instance of the same entity bean.
I have a superclass for all my entities in application which implements EntityBean's
setEntityContext() method and saves entityContext in a field.
Inside one
and you can have the xmbean name by implementing the MBeanRegistration interface
on the managed resource.
SMS Querying the MBeanRegistry should work:
SMS import javax.management.ObjectName;
SMS import org.jboss.mx.server.ServerConstants;
SMS import org.jboss.mx.server.registry.MBeanEntry;
SMS
Figure 5-8 i only shows the instance-pool and container-pool-conf elements. You
have to go through all of the Container configuration information to cover all
of the elements shown in the Listing 5-8 example.
--
Scott Stark
Chief Technology Officer
JBoss Group, LLC
Is it possible to have a ServiceMBean created automatically at startup
without actually starting it? Something like:
mbean
name=...
code=...
initialState=STOPPED
/
--
Eric Jain
---
This SF.Net email sponsored by: Parasoft
Error proof
Thanks,
We have the Http invoker layer working, but we are getting the following exception
when using the UIL2 invocation layer. It looks to be occurring when the client tries
to close the connection after sending the message. When we use the UIL invocation
layer, the exception does not
JBoss 3.2.1 is included in Out-of-the-Box 2.1, an intelligent distribution
of over 100 Open Source projects for Java developers on both Linux and
Windows.
Major changes from 2.0:
* Added Oracle and DB2 integration for JBoss and the sample projects
* Semi-automatic database switching for JBoss
This causes the container to flush e.g. before executing finders, which
is required (and often desired) behaviour. Setting this to true will
mean finders will not be aware of any modifications already made in the
transaction. I'd recommend leaving it at false unless you know that your
application
Hello Alexey,
what about other fields? Do their values correspond to the context
with the expected primary key or to the context that is actually
present?
When do you perform the check?
More details would really be appreciated.
Thank you,
alex
Thursday, July 10, 2003, 5:04:06 PM, Alexey
No. Such a service should be fronted by a StateMachineService that brings
the contained/managed services to whatever state is approriate.
--
Scott Stark
Chief Technology Officer
JBoss Group, LLC
Eric Jain wrote:
Is it possible to have a
i forgot to mention the query is dynamic-ql. maybe it has some relevance
On Thu, 2003-07-10 at 19:49, Ittay Dror wrote:
Simply put, I change a property of a bean, I see it changes in the DB,
but JBoss thinks the property hasn't changed.
Details:
1. I have a bean, I change an integer
Simply put, I change a property of a bean, I see it changes in the DB,
but JBoss thinks the property hasn't changed.
Details:
1. I have a bean, I change an integer property of it from null to some
number. In the debugger, if I inspect the property (bean.getFoo()), I
get the number.
2. Shortly
Title: ·s¼Wºô¶1
¡¹¡¹¡i[EMAIL PROTECTED]
¡¹¥þ¤è¦ì¹q¸£±Ð¾Ç»¡©ú:
ok, i think i found the bug. two threads try to use the (stateless)
session bean. although there is synchronization inside it (in the class
level), jboss doesn't update its interal data till after the call to the
session bean returns.
1. thread-a calls the session bean (through a local
Say I have the following case:
1. a session bean queries with ejb ql for entity beans with a specific
property value. name the property 'foo' and the value 'bar'. It queries
the entities whose foo property is null, selects the first and sets its
value to bar
2. two threads call the session bean:
i also run select statements on the table myself and see that the
property is indeed not null when the query is executed (before and
after).
On Thu, 2003-07-10 at 19:49, Ittay Dror wrote:
Simply put, I change a property of a bean, I see it changes in the DB,
but JBoss thinks the property hasn't
Hi William,
connection after sending the message. When we use the UIL
invocation layer, the exception does not occur. The client
is a servlet that establishes a connection each time, sends a
message then closes out the connection. Are clients only
allowed to establish one connection
There are a couple of solutions to this:
1) The finder takes a 'update-intent', basically exclusive, lock in the
database.
A fix that does this has been vetoed by Bill Burke, although you can
implement it
yourself with BMP or by using database-specific declared-sql/ for
the finder.
2) Leave
Hi Sweet!
I'v just connected my webcam.
My Webcam Is Here
I'm with my mate juliet and we are showing on cam.
Here is a shot from my cam:
Connect to me...
s ljrizp ku
kmjqku sp aul jl a gqwiwnoxoy xnuubwc hpin mc mtki vfp
k
Title: NO.1 Penis Enlargement Pill On The Market!
Introducing VP-RX Pills
1353621706
NO.1
Penis Enlargement Pill On The Market!
238047
* Gain 3+ Full Inches In Length
545892288
* Expand Your Penis Up To 20 percent Thicker
238047
* Stop Premature Ejaculation!
1981615719
* Produce
Dear sir,
Welcome to one of the Largest Trade Community on the Internet , we have
over 100,000 buyers, suppliers, importers, exporters in our database,
please feel tree to take a look at our website. By Joining us , you will
expose yourself to unlimited worldwide business opportunities.
Hi all,
Can I deploy multiple instances of a mbean via the @jmx tags using
xdoclet?
What I need is this;
...
mbean code=com.paychex.wtg.dirservice.mbeans.LDAPConnectionPool
name=PAYCHEX:service=ldap/writePool,jndiName=ldap/writePool ...
/mbean
mbean
Assuming your entity beans are enlisted in a transaction, is there any
reason ever to leave this option set to false?
Thanks,
Corby
---
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing more.
Download eval
43 matches
Mail list logo