[JBoss-user] [Management, JMX/JBoss] - Re: Scheduler Jboss

2005-07-20 Thread acardeiradias
I solve my problem. I find how to do that. I leave here my solution, because this could help other people. 1- Create a session bean that implements Schedulable. 2- Implements the method "perform" and put there the code to be executed by Scheduler 3- create a jboss-service.xml and put this file i

[JBoss-user] [Management, JMX/JBoss] - Re: Scheduler Jboss

2005-07-15 Thread acardeiradias
"apinto" wrote : "acardeiradias" wrote : Hello, I have a problem with the scheduler. I saw some examples but nothing to much clear. I have a stateless session bean. And i want to call one business method of this session bean every five minutes. How could i do that? |

[JBoss-user] [Management, JMX/JBoss] - Scheduler Jboss

2005-07-15 Thread acardeiradias
Hello, I have a problem with the scheduler. I saw some examples but nothing to much clear. I have a stateless session bean. And i want to call one business method of this session bean every five minutes. How could i do that? Thanks in advance. View the original post : http://www.jboss.org/inde

[JBoss-user] [Security & JAAS/JBoss] - How can i restrict acess to EJB business Method

2005-07-01 Thread acardeiradias
I have a problem with restriction acess to EJB business method. I don't know nothing about security in Jboss. I have one EJB with various business methods. And i want to restrict acess to some methods. I explain the problem in detail: 1- I have users in one database that are associate with pa

[JBoss-user] [Beginners Corner] - Re: External files in Jboss

2005-06-20 Thread acardeiradias
I use Jboss 4.0.2. I see that document and try to do what says there. But i do something wrong because that don't work. Someone have one file "jboss-service.xml" that is working with external directories? "darranl" wrote : You don't say which version of JBoss you are using. | | However I th

[JBoss-user] [Beginners Corner] - Re: External files in Jboss

2005-06-20 Thread acardeiradias
ily access, for example c:\documents and settings\acardeiradias\passwords.txt. | | The best thing to do is have the ant script that buidls the war file copy the images from the c:\images directory to a location within the war file. Typically, is a simple web application, the jsp files go i

[JBoss-user] [HTTPD, Servlets & JSP] - External Files in Jboss

2005-06-20 Thread acardeiradias
Hello, I am doing a Web Application. And in JSP files I have images. this images are in "C:\images" directory. What could I do in Jboss to have acess to this images and show them when I start the web Application? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p

[JBoss-user] [Beginners Corner] - External files in Jboss

2005-06-20 Thread acardeiradias
Hello, I am doing a Web Application. And in JSP files I have images. this images are in "C:\images" directory. What could I do in Jboss to have acess to this images and show them when I start the web Application? Thank you View the original post : http://www.jboss.org/index.html?module=bb&op