[jboss-user] [Installation, Configuration & DEPLOYMENT] - setting classpath that refer to a jar in ear bundle

2007-12-27 Thread vri_97
Hi, I'm trying to set a classpath in myapp-service.xml file in Jboss 4.2.1. my-app.ear | +--lib | +--myappjar.jar Does anyone know how to add a classpath to myappjar.jar (in myapp-service.xml)? I have tried to use : 1. classpath codebase="." archives="my-app.ear#myapp.jar"

[jboss-user] [Installation, Configuration & DEPLOYMENT] - setting classpath that refer to a jar in ear bundle

2007-12-27 Thread vri_97
Hi, I'm trying to set a classpath in myapp-service.xml file in Jboss 4.2.1. my-app.ear | +--lib | +--myappjar.jar Does anyone know how to add a classpath to myappjar.jar (in myapp-service.xml)? I have tried to use : 1. 2. 2. But none is working. Does anyone know how ?

[jboss-user] [EJB 3.0] - Dependency Injection @EJB in separate jar

2007-12-21 Thread vri_97
I have two jar, eg: ABC.jar dan DEF.jar. In ABC.jar I have a class that one of the attribute is an EJB in DEF.jar. example : in ABC. jar : I have class MyClassInABC, with one of the attribute: @EJB private MyClassInDEF ejb; MyClassInDEF reside in DEF.jar. If I deploy the ABC.jar and DEF.jar

[jboss-user] [Management, JMX/JBoss] - Re: Using EJB injection in JMX / MBean

2007-08-21 Thread vri_97
Thank you for the explanation. After some thinking, I guess is it's because MBean was created before the EJBs. And by right, the EJB at the time of MBean creation is not available yet, so it can not be injected. Though I put dependency on EJBs, it only delay to call the start() method, rather th

[jboss-user] [Management, JMX/JBoss] - Using EJB injection in JMX / MBean

2007-08-21 Thread vri_97
Hi, Is it possible to use @EJB in JMX / MBean service? public class HelloService implements HelloServiceMBean{ @EJB private static Hello hello; public void start() { hello.sayHello() } } I have check in JNDI view, and HelloBean is already registered. And

[jboss-user] [Messaging, JMS & JBossMQ] - Re: ActiveMQ integration problem

2007-08-12 Thread vri_97
Hi, I just get the information. Problem no 2, is ActiveMQ and has been fixed in version 5.0.0 refer to : http://www.nabble.com/-jira--Resolved%3A-%28AMQ-1092%29-Deadlock-when-ActiveMQ-4.X-is-run-as-an-embedded-broker-inside-JBoss-4.X-with-%22%3Cconfig-property-value%3Evm%3A--localhost%3C-config-p

[jboss-user] [Messaging, JMS & JBossMQ] - ActiveMQ integration problem

2007-08-12 Thread vri_97
Hi, I'm using: - JBoss AS 4.2.0 - ActiveMQ 4.1.1 I tried to use ActiveMQ as message broker for my MDB. Somehow it is not run properly. I got 2 problem : 1. 13:32:10,344 WARN [ManagementContext] Failed to start jmx connector: Cannot bind to URL [rmi://localhost:1099/jmxrmi]: javax.naming.Communi

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: BAD_POOL_HEADER, BLUE SCREEN

2007-08-06 Thread vri_97
Hi, I also experience the same thing. I try to run JBoss 4.2.0GA on JDK 1.5.0_12 with "all" configuration. Does anyone has find the root cause ? I try to run it on my friend's computer, it runs perfectly fine. I can not tell what is wrong. I compared the dlls(version) with my friend's, it's the s

[jboss-user] [JBoss Messaging] - Re: java.lang.VerifyError

2007-06-18 Thread vri_97
Hi Tim Fox, As quoted from my first post : "I'm using JBoss AS 4.2, Eclipse 3.2.2, JBoss IDE2.0, and JBoss Messaging 1.3 GA. I can run the sample ejb3mdb from Jboss Messaging bundle with no problem. " Yes, I can run the sample with no problem, but I have problem when run it in Eclipse 3.2.2 wit

[jboss-user] [JBoss Messaging] - Re: java.lang.VerifyError

2007-06-17 Thread vri_97
Hi All, Thanks for all your response. The problem is gone, after I update the following files to eclipse plugin for jboss ide : - /lib/javassist.jar - /deploy/jboss-aop-jdk50.deployer/jboss-aop-jdk50.jar - /deploy/jboss-aop-jdk50.deployer/trove.jar the plugin for jboss ide is in : {ECLIPSE}\plugi

[jboss-user] [Messaging, JMS & JBossMQ] - java.lang.VerifyError

2007-06-07 Thread vri_97
Hi, I'm trying to develop a simple client for EJB3's MDB, but somehow it will always raise exception in "(ConnectionFactory)ic.lookup("/ConnectionFactory")" statement (it's exactly the same with the sample in Jboss Messaging bundle) InitialContext ic = new InitialContext(); ConnectionFactory cf

[jboss-user] [Installation, Configuration & Deployment] - Re: Port already in use: 1098

2007-06-03 Thread vri_97
Hi Venni, I have same problem before, apparently my antivirus was using that port. If you have personal firewall, it can tell you which application is using a port. Basically you can also find out from cmd.exe by running netstat, but somehow when I encountered this problem, it didn't show up reg

[jboss-user] [EJB 3.0] - Re: javax.naming.NameNotFoundException: MyEjb3 not bound :(

2007-06-03 Thread vri_97
Hi Ruchika, Sorry, forget about my previous post, I just checked in other forum. I'm still struggling with my JBoss 4.2, it's still not working, even if I call the bean using : MyLocalIfc bean = (new InitialContext()).lookup("myEAR/MyremoteBean/remote"); Thank you. Regards, Ferry View the origi

[jboss-user] [EJB 3.0] - Re: javax.naming.NameNotFoundException: MyEjb3 not bound :(

2007-06-03 Thread vri_97
Hi Ruchika, Thank you for your reply. Sorry, I don't understand where should I put the following suggested statement to ? @EJB(name="java:comp/env/ejb/MyBeanLocal") Should I put it in interface, the bean itself or at the client side ? As I'm new to J2EE, and the condition that there is still a f

[jboss-user] [EJB 3.0] - Re: javax.naming.NameNotFoundException: MyEjb3 not bound :(

2007-05-31 Thread vri_97
Hi Ruchi, I also has the same problem with Mustafa, so in this case are you suggesting that EJB3.0 is not run properly in JBoss yet ? esp in 4.0 an 4.2? Which JBoss AS version do you suggest for running EJB3.0 ? Thank you Regards, Ferry View the original post : http://www.jboss.com/index.html?m