Re: [JBoss-user] Mod_JK Failover

2003-06-13 Thread Denis Markov
Do explicit worker for the other server and make explicit mapping in apache for that worker then send redirect in response in your catch statement by wildcard you have used in mapping. Denis - Original Message - From: "Felipe Oliveira" <[EMAIL PROTECTED]> To: "JBoss-User" <[EMAIL PROTECTED

Re: [JBoss-user] Datasource service support dropped?

2003-06-13 Thread Francisco Figueiredo Jr.
Scott M Stark wrote: The *-service.xml file for datasources was dropped as the primary description because it was overly bloated with irrelevant JCA implementation details. You can still use this format if you want, but the details will change with the JCA implementation so its in your best inte

Re: [JBoss-user] Cascade delete

2003-06-13 Thread Maykel Tres
thanks Alex.. Alexey Loubyansky wrote: Hello Maykel, the only way to workaround it is to have foreign key fields mapped to NOT NULL CMP fields. I.e. you have to introduce additional NOT NULL CMP fields and map foreign key fields to them. And if you use cascade-delete, don't forget to set sync-on-

Re: [JBoss-user] JBoss 3.0.3 Connection Pooling...

2003-06-13 Thread MSedliak
Hi, excuse me plesae, but I think your connections or statements have stayed open - we had the same problem before - Oracle, Max open cursors ... and the problem was the forgotten open connection - good way how to figure out this problem is JBoss 3.2 - this version produces warning when the connec

[JBoss-user] Mod_JK Failover

2003-06-13 Thread Felipe Oliveira
Does anyone know how to explicitly tell mod_jk to failover and send the request to the other server on the cluster? I have a filter that catches any exception that happens on the servlets...If an exception is throwed I want mod_jk to try to send the same request to the other server? Any ideas?

[JBoss-user] Local transaction configuration

2003-06-13 Thread MSedliak
Hi all. Please I would like to ask you for a kind of help. I have bought and passed through the JBoss docs (Admin, CMP), I have searched forums - no success. I would like to know how to configure JBoss to use local transactions. Please where could I find any info about it ?  I use Oracle 8.1.7, J

Re: [JBoss-user] Preventing CMP deploy-time CREATE TABLE

2003-06-13 Thread Jason Wells
I happen to be using JBoss 3.2.1, and it's a CMP 2.0 entity bean. After I sent the email I downloaded and began paging through the O'Reilly JBoss 3.2 Workbook, and learned that I should have set that value in the standardjbosscmp-jdbc.xml file instead. Once I did that it worked like a charm. B

[JBoss-user] loading same native library from different deployment units

2003-06-13 Thread Daniel Santos
Hi all, I have two deployment units. One is a war and the other is a ejb-jar. They both include a jar file (as a library) that calls a native API on a win23 platform. The server tells me that native libraries cannot be loaded from two different class loaders.

Re: [JBoss-user] System properties

2003-06-13 Thread Jason Essington
On Friday, June 13, 2003, at 10:54 AM, Sacha Labourey wrote: Yes, look in jboss-3.2\varia\src\etc\sample-service.bsh FAR FU**IN' OUT! I just can't believe it's as easy as throwing a somebshscript-servic.bsh file into your .ear and adding the ... to your jboss-app.xml file. too cool. -jason

RE: [JBoss-user] Preventing CMP deploy-time CREATE TABLE

2003-06-13 Thread Dayanand Kangala Shanmugham
Hi, If you are using Jboss 3.0.3, try having the following statements in jbosscmp-jdbc.xml : ... false ... Regards, Dayanand. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Wells Sent: Friday, June 13, 2003 10:56 PM To:

Re: [JBoss-user] Deployment and JNDI binding

2003-06-13 Thread Mike
Ah, that was simply a typo on my part. It is correctly named ejb-jar.xml Apologies for the confusion. -Mike On Fri, 2003-06-13 at 09:13, Scott M Stark wrote: > There is no such descriptor as ejb.xml so what you want to be treated as an ejb-jar > is being > treated simply as a library jar. Use

[JBoss-user] Preventing CMP deploy-time CREATE TABLE

2003-06-13 Thread Jason Wells
Hi, I have a CMP entity bean that I plan to use against an existing table. How can it be deployed without issuing a corresponding CREATE TABLE statement? I found docs suggesting that I should have this in my standardjaws.xml: ... false ... I added this, but it doesn't seem

[JBoss-user] JBoss 3.0.3 Connection Pooling...

2003-06-13 Thread Dayanand Kangala Shanmugham
Title: Message Hi All,   We are developing an application using JBoss 3.0.3 and use its connection pooling to connect to Oracle database. We are facing an issue where though the statement's are closed (and connection closed, to return to the pool), the cursors are still not getting released

RE: [JBoss-user] System properties

2003-06-13 Thread Sacha Labourey
Yes, look in jboss-3.2\varia\src\etc\sample-service.bsh Cheers, Sacha > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Jason Essington > Sent: vendredi, 13. juin 2003 18:47 > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-u

Re: [JBoss-user] System properties

2003-06-13 Thread Jason Essington
On Thursday, June 12, 2003, at 12:06 PM, Scott M Stark wrote: No, this is beyond the scope of the ejb functionality. Use the org.jboss.varia.property.SystemPropertiesService shown in the deploy/properties-service.xml as a service descriptor bundled with your deployment to do this. It could also

Re: [JBoss-user] MBean parameters

2003-06-13 Thread Simone Milani
Great, thank you! Is there any docs of any 'wonder' that can be done with it? Thanks Simone - Original Message - From: "Scott M Stark" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 12, 2003 6:35 PM Subject: Re: [JBoss-user] MBean parameters > You need a property edi

Re: [JBoss-user] Deployment and JNDI binding

2003-06-13 Thread Scott M Stark
There is no such descriptor as ejb.xml so what you want to be treated as an ejb-jar is being treated simply as a library jar. Use the proper ejb-jar.xml name to signify the deployment as an ejb-jar. Scott Stark Chief Technology Officer JBoss Group, LLC xx

Re: [JBoss-user] Datasource service support dropped?

2003-06-13 Thread Scott M Stark
The *-service.xml file for datasources was dropped as the primary description because it was overly bloated with irrelevant JCA implementation details. You can still use this format if you want, but the details will change with the JCA implementation so its in your best interest to use the new *

Re: [JBoss-user] Notifications for deploying/undeploying?

2003-06-13 Thread Scott M Stark
The WARDeployer is the jboss.web:service=WebServer mbean service, which is either jbossweb-tomcat41.sar or jbossweb-jetty.sar depending on which web container you are using. The MainDeployer does not send out notifications. Scott Stark Chief Technology Officer JBoss Grou

Re: [JBoss-user] MBeanServer.queryNames() not working

2003-06-13 Thread Scott M Stark
Title: Message You are trying to match on the attribute of an mbean, not a property in the ObjectName. For this you need to only specify the scope value of the match call. For example, to find all mbeans in the jboss domain with the service=invoker property in their ObjectName:   import java.

Re: [JBoss-user] MBean : Persiting attributes

2003-06-13 Thread Scott M Stark
You have to use an xmbean, the JBoss implementation of the JMX ModelMBean, if you want persistence. There are examples of this in the testsuite and the 3.2.1 draft in the may subscription update. Scott Stark Chief Technology Officer JBoss Group, LLC x

Re[2]: [JBoss-user] cmp-field and cmr-field mapped to same database column

2003-06-13 Thread Alexey Loubyansky
Hello Russell, could you provide a testcase or detailed info on how I can reproduce it? Thanks, alex Thursday, June 12, 2003, 11:27:31 PM, Russell Chan wrote: RC> Hmmm.. RC> I just tried the same code on jboss-3.2.1 and the new 3.2.2rc1 RC> The code was functional, ableit not what I want for

[JBoss-user] didnt work

2003-06-13 Thread Michael Ukpong
peeps long time. this didnt exactly work for me, but try it out and see for your self.      THIS IS AMAZINGLY ACCURATE...  What ever u do, don’t cheat...     CHINESE HOROSCOPE    THE YEAR OF THE IRON DRAGON, WISHING YOU PROSPERITY AND GOOD FORTUNE    CHINESE NEW YEAR

[JBoss-user] Pictures of Christ Laughing .. Beautiful

2003-06-13 Thread Michael Ukpong
  - Original Message - From: Wilfred Nwafor To: [EMAIL PROTECTED] Sent: Thursday, March 20, 2003 1:23 PM Subject: Pictures of Christ Laughing .. Beautiful These are beautiful, it takes a few minutes for it to come up on the screen , but it is well worth w

RE: [JBoss-user] Multiple WARs; classloader & ClassNotFoundExcept ions

2003-06-13 Thread DavidNeuer
That's interesting. The web testsuite in JBoss seems to have an example of a test which demonstrates using the Class-Path manifest entry, but it's in a jar inside the war file, not the war file's manifest. I wonder if that's the secret? Also, I am using Class.forName(), I will investigate that

RE: [JBoss-user] Multiple WARs; classloader & ClassNotFoundExceptions

2003-06-13 Thread Danny . Yates
Title: Message David,   AFAIK you should be able to have:     app.ear   +-- shared-utils.jar   |   +-- /com/dummy/my.class   +-- first.war   |   +-- /META-INF/manifest.mf - Class-Path: shared-utils.jar   +-- second.war       +-- /META-INF/manifest.mf - Class-Path: shared-utils.jar   This

[JBoss-user] Multiple WARs; classloader & ClassNotFoundExceptions

2003-06-13 Thread DavidNeuer
Hi, Is it possible to have multiple WARs in an EAR which share classes? I have tried this on a project we're on, with what seemed like all of the correct module declarations in the application.xml and also w/ a Class-Path entry in the manifests of the WARs. I've tried several permutations of t

Re: [JBoss-user] Closing database connections

2003-06-13 Thread Brian McSweeney
Thanks for the tip Al, It all makes sense. Brian - Original Message - From: "Alastair Rodgers" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 12, 2003 4:34 PM Subject: RE: [JBoss-user] Closing database connections > Hello Brian, > > Also, you should bear in mind that wh

Re: [JBoss-user] Notifications for deploying/undeploying?

2003-06-13 Thread Stefan Arentz
On Thursday, Jun 12, 2003, at 19:59 Europe/Amsterdam, Scott M Stark wrote: The JSR77 mbean demonstrates listening for deployments. See the org.jboss.management.j2ee.LocalJBossServerDomain service for an example of registering for nofitications sent by deployers. Excellent! However, I cannot fin