Re: [JBoss-user] apache to JBoss/Tomcat forwarding

2003-07-10 Thread Ionel Gardais
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

[JBoss-user] Jboss 3.2.1 - Cascade delete doesn't work for me

2003-07-10 Thread Marco Tedone
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

[JBoss-user] Jboss 3.2.1 - Cascade delete doesn't work for me - Problem solved

2003-07-10 Thread Marco Tedone
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

RE: [JBoss-user] Module jms missing from jboss-head

2003-07-10 Thread Sacha Labourey
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

[JBoss-user] synchronize on a bean

2003-07-10 Thread Ittay Dror
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.

Re: [JBoss-user] synchronize on a bean

2003-07-10 Thread Alexey Loubyansky
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

Re: [JBoss-user] Q. on size of data marshalled!!!

2003-07-10 Thread Muraly R
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

RE: [JBoss-user] Linkage error

2003-07-10 Thread Oisin Kim
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

[JBoss-user] How to get reference to XMBean

2003-07-10 Thread Eric Jain
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

Re: [JBoss-user] synchronize on a bean

2003-07-10 Thread Ittay Dror
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

Re: [JBoss-user] How to get reference to XMBean

2003-07-10 Thread julien viet
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,

[JBoss-user] Re: How to get reference to XMBean

2003-07-10 Thread Eric Jain
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

Re: [JBoss-user] synchronize on a bean

2003-07-10 Thread Stephen Davidson
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

[JBoss-user] New to JBoss......

2003-07-10 Thread s chakradhar
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

Re: [JBoss-user] synchronize on a bean

2003-07-10 Thread Dietmar Posselt
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

[JBoss-user] Update to JBoss 3.2.1 documentation

2003-07-10 Thread Poppe, Troy
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

Re: [JBoss-user] synchronize on a bean

2003-07-10 Thread Scott M Stark
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

Re: [JBoss-user] New to JBoss......

2003-07-10 Thread Nicholas
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

Re: [JBoss-user] Q. on size of data marshalled!!!

2003-07-10 Thread Scott M Stark
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

Re: [JBoss-user] synchronize on a bean

2003-07-10 Thread Ittay Dror
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

Re: [JBoss-user] How to get reference to XMBean

2003-07-10 Thread Scott M Stark
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 =

[JBoss-user] entityContext.getEJBLocalObject() returns local interface of another object

2003-07-10 Thread Alexey Yudichev
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

Re[2]: [JBoss-user] How to get reference to XMBean

2003-07-10 Thread julien viet
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

Re: [JBoss-user] Update to JBoss 3.2.1 documentation

2003-07-10 Thread Scott M Stark
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

[JBoss-user] ServiceMBean with initial state of STOPPED

2003-07-10 Thread Eric Jain
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

RE: [JBoss-user] JMS behind a firewall.

2003-07-10 Thread Lyvers, William
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-user] JBoss Featured in Out-of-the-Box Open Source distribution

2003-07-10 Thread Rod Cope
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

RE: [JBoss-user] sync-on-commit-only

2003-07-10 Thread Jeremy Boynes
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

Re: [JBoss-user] entityContext.getEJBLocalObject() returns local interface of another object

2003-07-10 Thread Alexey Loubyansky
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

Re: [JBoss-user] ServiceMBean with initial state of STOPPED

2003-07-10 Thread Scott M Stark
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

[JBoss-user] Re: Strange behavior when changing bean properties

2003-07-10 Thread Ittay Dror
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

[JBoss-user] Strange behavior when changing bean properties

2003-07-10 Thread Ittay Dror
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

[JBoss-user] !!2003/7/11 03:11:48 jboss-user@lists.sourceforge.net

2003-07-10 Thread jboss-user
Title: ·s¼Wºô­¶1 ¡¹¡¹¡i[EMAIL PROTECTED] ¡¹¥þ¤è¦ì¹q¸£±Ð¾Ç»¡©ú:

[JBoss-user] Re: Strange behavior when changing bean properties

2003-07-10 Thread Ittay Dror
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

[JBoss-user] transactions synchronizations

2003-07-10 Thread Ittay Dror
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:

[JBoss-user] Re: Strange behavior when changing bean properties

2003-07-10 Thread Ittay Dror
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

RE: [JBoss-user] JMS behind a firewall.

2003-07-10 Thread Sebastian Hauer
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

RE: [JBoss-user] transactions synchronizations

2003-07-10 Thread Jeremy Boynes
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

[JBoss-user] Re: I can do a search for you pzqzli

2003-07-10 Thread Shelley Lockwood
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

[JBoss-user] Increase your penis by 3 inches! 238047

2003-07-10 Thread 238047
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

[JBoss-user] World's Largest buyer

2003-07-10 Thread ertkry45
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.

[JBoss-user] JBoss, JMX, and Xdoclet

2003-07-10 Thread Keene Hammond
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

[JBoss-user] sync-on-commit-only

2003-07-10 Thread Corby Page
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