[JBoss-user] [Beginners Corner] - JNDI bind problem

2006-07-06 Thread jaleyba
Hi I want to get my application to bind objects to jboss JNDI the I did a simple client to try to make a bind like this: | | | public static void main(String[] args) { | try { | Hashtable p = new Hashtable(); |

[JBoss-user] [Beginners Corner] - Re: JNDI bind problem

2006-07-06 Thread jaleyba
Problem solved View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3955770#3955770 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955770 Using Tomcat but need to do more? Need to support web services, security? Get stuff done

[JBoss-user] [Installation, Configuration Deployment] - Bind Exception at startup

2006-07-03 Thread jaleyba
I need to run two different JBoss AS in my Linux server. I've one running well but when I try to run second one I get the message: | 09:36:15,263 INFO [A] Bound to JNDI name: queue/A | 09:36:15,313 INFO [B] Bound to JNDI name: queue/B | 09:36:15,315 INFO [C] Bound to JNDI name:

[JBoss-user] [Installation, Configuration Deployment] - Re: Bind Exception at startup

2006-07-03 Thread jaleyba
jaikiran wrote : Have a look at: | | http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfiguringMultipleJBossInstancesOnOneMachine | | Bind problem solved. Thank you ! Now I want to know how to avoid JBoss start services I don't want like MQ. Thanks in advance J View the original

[JBoss-user] [Beginners Corner] - Problem running remote MBean

2006-05-11 Thread jaleyba
Hi I'm trying to run a method of a MBean service from remote machine. Well, after read docs I did the following: First I did an interface: | public interface ActiveMQNetworkMBean { | | public void setPropertiesResource( String propertiesResource ); | | public String

[JBoss-user] [Management, JMX/JBoss] - Re: Start an MBean in another server

2006-05-10 Thread jaleyba
[EMAIL PROTECTED] wrote : The first thing is to get remote jmx access to the other server, so you need to lookup the *other* server jmx/rmi adapter in the *other* server jndi. | | Then it depends how you have developed your application. If the mbean classes are available on the other

[JBoss-user] [Management, JMX/JBoss] - Re: Start an MBean in another server

2006-05-10 Thread jaleyba
Well, after read docs I did the following: First I did an interface: | public interface ActiveMQNetworkMBean { | | public void setPropertiesResource( String propertiesResource ); | | public String getPropertiesResource(); | | public void start() throws

[JBoss-user] [Management, JMX/JBoss] - Re: Start an MBean in another server

2006-05-09 Thread jaleyba
Please, could somebody help me in this matter ? Thanks in advance View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3942078#3942078 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3942078

[JBoss-user] [Beginners Corner] - jmx-console source code ?

2006-05-09 Thread jaleyba
Hi I wonder where could I found jmx-console source code. I need to connect from a JBoss to an MBean in another jboss and guess console source code could be useful to see as sample code. I've downloaded jboss source code but I didn't found it there. Any help appreciated. J View the

[JBoss-user] [Management, JMX/JBoss] - Start an MBean in another server

2006-05-03 Thread jaleyba
Hi All I'm new to JBoss and JMX. Nevertheless, I did a little service that starts an embeded ActiveMQ Broker and it's running ok. Now, I need to make a service in another server and start it from the end of my working service. Is this possible ? Where could I find samples ? Thanks in

[JBoss-user] [Beginners Corner] - Re: Getting a relative path

2006-05-02 Thread jaleyba
anders.hedstrom wrote : I guess you could use this: | | System.getProperty(jboss.server.config.url); | | or | | org.jboss.system.server.ServerConfigLocator.locate().getServerConfigURL(); Thanks !!! J View the original post :

[JBoss-user] [Beginners Corner] - Re: Getting a relative path

2006-04-28 Thread jaleyba
Please, could somebody give me a clue in this matter ? Thanks in advance J View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3940134#3940134 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3940134

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: MySQL datasource error

2006-04-11 Thread jaleyba
Please, could somebody tell me how to use a DB connection pool from a web application inside JBoss. I've tried everything including reinstalling and configuring JBoss step by step. I've deleted all other applications and configured a little one that makes: | | public class MyTest extends

[JBoss-user] [Beginners Corner] - Re: How to use DB connection pool from DB ?

2006-04-11 Thread jaleyba
If I put a stacktrace I get: | | javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.NameNotFoundException: MySQLDS not bound] | at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1052) | at

[JBoss-user] [Beginners Corner] - Re: How to use DB connection pool from DB ?

2006-04-11 Thread jaleyba
jboss2005_01 wrote : Sorry, my mistake... | | The JBoss output states : MySqlDS | Your deployment descriptor says : MySQLDS -- JNDI names are case sensitive... | | | Regards, | Kurt Kurt It worked, thanks for your help ! J View the original post :

[JBoss-user] [Beginners Corner] - Getting a relative path

2006-04-11 Thread jaleyba
Hi I did a MBean service that will start an ActiveMQ broker and it needs to read broker config from a file. For obvious reasons I want to have broker config file in JBoss conf directory, then my question is: how could I refer to JBoss relative path inside my service ? My code is: | |

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - MySQL datasource error

2006-04-06 Thread jaleyba
Hi I've a simple web application in JBoss AS that will need to connect to a MySQL DB then I did in WEB-INF of deployed: jboss-web.xml | ?xml version=1.0 encoding=UTF-8? | jboss-web | resource-ref | res-ref-namejdbc/MySQLDB/res-ref-name |

[JBoss-user] [Management, JMX/JBoss] - SAR creation

2006-04-05 Thread jaleyba
Hi I'm new to JBoss and I'm trying to make a JMX service that will run in JBoss. I've read in docs that my app should be delivered as a sar file and I wonder if exists an ant task to do this or how could I do it ? Also, my service should read a file with settings (will start an ActiveMQ