[JBoss-user] [Persistence & CMP/JBoss] - Daylight savings problem

2005-03-28 Thread clau25
I use timestamps in my project and sql base. When i save a timestamp, it is saved in my database without daylight savings changes. For example, i am now in GMT + 01:00 timezone and if i have the following timestamp to save: 2005-03-28 10:00:00, it will be saved in database: 2005-03-28 09:00:00.

[JBoss-user] [Messaging, JMS & JBossMQ] - Filter the data from jms message

2005-03-15 Thread clau25
I have a topic and more subscribers that listen to it. I want to filter the data contained in the jms message so that every subscriber receives just the data (the part of the message) that they are allowed to receive. So i need to filter the data before the subscriber reads it. Any advices/tip

[JBoss-user] [Management, JMX/JBoss] - Entity bean - JMS - MBean communication problem

2005-01-26 Thread clau25
I have a service that listens to messages from a topic. When a new message is received, my service has to check some data (from database) and then to do some tasks. My problem: The messages that make the service to react (to check some data in the database) are values created by ejbCreate() met

[JBoss-user] [Management, JMX/JBoss] - Re: Custom service for sending emails

2005-01-20 Thread clau25
Thank you all for your answers. I did it finally using the sleep() method of the Thread. I am not able to use EJBTimers yet because we use jboss 3.2.3 and as far as i know there are no EJBTimers in this version. For genman: My service uses JMS for sending the emails. But it has to send a messa

[JBoss-user] [Management, JMX/JBoss] - Custom service for sending emails

2004-12-13 Thread clau25
I need to implement a custom service that must send emails on certain dates/times. My idea would be: the service starts a thread which has an infinite loop; in this loop it is checked if the System.currentTimeMillis() is equal with the time when a certain email must be send, and if yes, the emai

[JBoss-user] [Persistence & CMP/JBoss] - Timestamp issue

2004-11-09 Thread clau25
Something weird happens in my application. I have a timestamp field in a table that has all the time's values set to hour 0 (ex. 2004-11-09 00:00:00.0). When my application loads this field from the database (within a session bean), some of the values have the time set to hour 1 (ex. 2004-11-09

[JBoss-user] [Beginners Corner] - problems getting a resource

2004-09-14 Thread clau25
I have a xml file in a .jar file that is contained in an .ear file in /deploy subdirectory of jboss, something like: deploy/myEAR.ear/myJAR.jar/resources/myXML.xml. I want to access this file from my application. I have problems writing the right path in the getResource() function. Could anyon

[JBoss-user] [Management, JMX/JBoss] - Re: Please help on a non-jboss-service MBean

2004-06-09 Thread clau25
The MBean interface should be named as the class that implements the interface followed by "MBean". So, in your case, the MBean interface should be named: "HelloMBean". Hope that helps, clau View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838092#3838092 Rep

[JBoss-user] [Management, JMX/JBoss] - Re: JMS-dependent MBean breaks on JBoss startup

2004-06-04 Thread clau25
I've just figured that out, so i thought i would post it: | jboss.mq.destination:service=Topic,name=topicName | where topicName is the name of my topic in jbossmq-destinations-service.xml clau View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837531#383753

[JBoss-user] [Management, JMX/JBoss] - Re: JMS-dependent MBean breaks on JBoss startup

2004-06-04 Thread clau25
I have a similar situation. I have a MBean that listens to a JMS Topic. I had the same error at starting up: javax.naming.NameNotFoundException: ConnectionFactory not bound But i solved this using your hint and making it depend on jboss.mq:service=InvocationLayer,type=UIL2 I have now another

[JBoss-user] [Management, JMX/JBoss] - Re: MBeans dependencies

2004-06-01 Thread clau25
Sorry, i posted an older log. Meanwhile i had changed jboss.mq:service=Naming in jboss:service=Naming, but i still got the same error. Then i thought it was something wrong with the classloader because of the error you mentioned: Depends On Me: java.lang.RuntimeException: [Missing message conf.

[JBoss-user] [Management, JMX/JBoss] - MBeans dependencies

2004-05-31 Thread clau25
Hi, I've written a MBean which depends on JMS and JNDI. I made it dependent on these services using tags like: | service:Test";> | Test | jboss:service=Naming | | in user-service.xml file from jboss. When my MBean does not depend on any other service, it works fine. But wh