[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Connection pool not releasing idle connections

2008-01-11 Thread bossy
Hello, My app running under JBoss 4.0.4 uses Oracle DB configured with the following DS file: | | | | jdbc/mydb | jdbc:oracle:thin:@111.222.333.444:1521:oradb | oracle.jdbc.driver.OracleDriver | user | pass | org.jboss.resource.adapter.jdbc.vendor

[jboss-user] [JBossWS] - Re: Unable to priint the content of SOAPBody

2007-08-16 Thread bossy
Fantastic! Thank you very much. That's exactly what I needed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074722#4074722 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074722 _

[jboss-user] [JBossWS] - Unable to priint the content of SOAPBody

2007-08-14 Thread bossy
Hi, I need to print the content of every request/response/fault that comes in or goes out from my JAX-RPC web service, that runs under JBoss 4.0.4. I created a hadler that extends javax.xml.rpc.handler.GenericHandler. I can intercept every request / response / fault but I can't get the content o

[jboss-user] [JBossWS] - Cannot get details in custon fault

2007-07-24 Thread bossy
I need to throw a custom exception from a web service. The problem is I don't get the details. I'm running my WS under jboss 4.0.4. My wsdl contains the following : | | | | | |

[jboss-user] [JBossWS] - Re: Wrong incomming SOAP not intercepted

2007-02-15 Thread bossy
I'm sorry. I missread the question - it's jbossws1.4. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016911#4016911 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016911 ___

[jboss-user] [JBossWS] - Re: Wrong incomming SOAP not intercepted

2007-02-15 Thread bossy
I'm using JBoss 4.0.4 Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016909#4016909 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016909 ___ jboss-user mailing list jb

[jboss-user] [Management, JMX/JBoss] - Re: Persistence not quite working

2007-01-31 Thread bossy
Aaa, but the attributes are updated through the MBean server, I just don't use a setter. What I've got is a separate method( exposed in the MBean) that does the job. It's the one called increaseCount So my stats-config.xml look like this http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_0.dtd";> |

[jboss-user] [Management, JMX/JBoss] - Re: Persistence not quite working

2007-01-31 Thread bossy
Not sure what anonymous wrote : or else how jboss will be set to set its value means, but could you please explain what goes on behind the scenes that implements the persistence, when there is a declared setter method? I don't mind having a setter, but I don't want to expose it the JMX console. I

[jboss-user] [Management, JMX/JBoss] - Persistence not quite working

2007-01-30 Thread bossy
Hello, I have two XMBeans which attributes I'd like to persist. My problem is that while the first MBean persists its attributes, the second doesn't. After couple of hours I found out that the difference between the two XMBeans is that the attributes for the first one( which is a configuration b

[jboss-user] [JBoss Eclipse IDE (users)] - Re: Enable loadtime weaving from IDE

2007-01-26 Thread bossy
Thanks. For those who might be interested in the solution - I put these VM arguments in "Start Args" tab in Launch configuration: -Xms128m -Xmx512m -javaagent:C:\APPS\jboss\jboss-4.0.4.GA\server\default\lib\pluggable-instrumentor.jar View the original post : http://www.jboss.com/index.html?

[jboss-user] [JBossWS] - Wrong incomming SOAP not intercepted

2007-01-24 Thread bossy
Could someone please tell me does JBoss enforce the restrictions put in the wsdl and how? I have WS that runs under JBoss. In my wsdl I put a restriction on one of the elements to make sure that it's always present in the request: I was expecting that in the unlikely event this element is missi

[jboss-user] [JBoss Eclipse IDE (users)] - Enable loadtime weaving from IDE

2007-01-23 Thread bossy
Hello, I have an application that uses loadtime weaving AOP. After doing the correct modifications I'm able to start JBoss AS using the run.bat script and it works fine. My question is what change do I have to do in order to be able to start JBoss AS from the IDE in loadtime weaving mode. I alr

[jboss-user] [JBoss AOP] - Re: AOP integration with JMX question

2007-01-22 Thread bossy
I see. I'll think about these two approaches. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4004972#4004972 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4004972 ___

[jboss-user] [JBoss AOP] - Re: AOP integration with JMX question

2007-01-22 Thread bossy
Thanks, but could you be more specific about what you mean when you say: anonymous wrote : "... plain aspect delegate onto an MBean ..." I tried the following: In my aspect I make this call: server.invoke(statsMBean, "increaseCount", null,null); , which works fine, but the problem is that in order

[jboss-user] [JBoss AOP] - AOP integration with JMX question

2007-01-22 Thread bossy
Hi, I posted this in the JMX forum first, but since nobody replyed I thougt I could try here as this is about AOP as well. I need to create an aspect that can be managed by JMX. The idea is to use the aspect to obtain some stats(by intercepting calls) and to use JMX console to retrieve the stat

[jboss-user] [Management, JMX/JBoss] - Aspect in XMBean

2007-01-19 Thread bossy
Hi, I need to create an aspect that can be managed by JMX. The idea is to use the aspect to obtain some stats(by intercepting calls) and to use JMX console to retrieve the stats. I created an XMBean and I added methods wich I use as advices. Everything almost works with one exception - it seems

[jboss-user] [Management, JMX/JBoss] - XMBean Default values now shown in JMX

2006-11-23 Thread bossy
Hello, I've got an XMBean for which attributes I provided default values in the descriptor xml file. This is my jboss-service.xml | | | In config-xmbean.xml I have: ... | |The JNDIMap XMBean | | | | | | | |

[jboss-user] [Installation, Configuration & Deployment] - Map type attribute for an XMBean

2006-11-08 Thread bossy
I want to include an attribute to an XMBean that is of type Map. I need to store in it key/value pairs. I have a class called ConfigXMBean with methods public Map getMyMapProperty() and public void setMyMapProperty(Map prop). In my config-xmbean.xml file I have the following description: |

[jboss-user] [Installation, Configuration & Deployment] - Re: Dynamicly adding attributes to MBean

2006-11-02 Thread bossy
Thanks, but is it possible to use the same method of deployment - in the jboss-service.xml and if yes, how would the Mbean xml descriptor look like if there are noe attributes to describe? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982683#3982683 Reply t

[jboss-user] [Installation, Configuration & Deployment] - Dynamicly adding attributes to MBean

2006-11-02 Thread bossy
Hi, I need to use JMX for configuration purposes in my app. I have an MBean that has most of my configuration properties. These appear fine in JMX Web console, I can change their values and so on. The problem is I know that in the feature I'll need to add more properties that i'm going to use dy

[jboss-user] [Installation, Configuration & Deployment] - Re: Deploying web services in a sar file

2006-10-09 Thread bossy
Hello, I'd really appreciate somebody's help here. As I said earlier the web services work fine in a war file. These are JAX-RPC web services. The problem is that I have to deploy them in a sar file, as there's also a MBean. The message I get when I deploy the web service in a sar file is: [[/

[jboss-user] [Installation, Configuration & Deployment] - Re: Deploying web services in a sar file

2006-10-07 Thread bossy
This is exactly why I have to use .sar file, instead of .war. But does this mean that I have to change the deployment descriptors? I have web services, along with struts in this package. The struts app works as before, but the web services aren't. Any hints? Thanks. View the original post : ht

[jboss-user] [Installation, Configuration & Deployment] - Deploying web services in a sar file

2006-10-06 Thread bossy
Hi, I'm currently working on some web services. Everything works fine if deployed in a war file. If I deploy it in a sar file the web services become unavailable. I'm not very familiar with the idea of the sar file( I just had to do it). Could somebody explain to me ( or at least point to some d