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();
|
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
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:
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
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
[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
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
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
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
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
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 :
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
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
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
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 :
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:
|
|
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
|
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
18 matches
Mail list logo