[JBoss-user] [EJB/JBoss] - Re: How Can I dynimicly load a Class in Session Bean (Statel

2005-01-10 Thread SportsBaby1980
Maybe I should read jboss4.0 src? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861522#3861522 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861522 --- The SF.Net

[JBoss-user] [EJB/JBoss] - How Can I dynimicly load a Class in Session Bean (Stateless

2005-01-10 Thread SportsBaby1980
I encounter a problem. I should dynimicly load classes in a EJB. I read xml file and parse it ,then I can get a class name---I have packaged the class and the xml file into the ejb's jar file. I can get the file as a inputStream by Class.getResourceAsInputStream. But later,when I load the class b

[JBoss-user] [EJB/JBoss] - Re: how can I add mysql jdbc driver to ejb?

2005-01-10 Thread SportsBaby1980
you can put the mysql-driver at /jboss/server/default/lib. Or put it /jboss/lib . View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861511#3861511 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861511 --

[JBoss-user] [EJB/JBoss] - Re: How Can I dynimicly load a Class in Session Bean (Statel

2005-01-10 Thread SportsBaby1980
The appliction Server is Jboss4.0. JDK is 1.42_05. I need your help View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861508#3861508 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861508 ---

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How Can I get a ConnectionFactory using JMS with JBoss?

2004-02-22 Thread SportsBaby1980
Thank you,everyone. The problem has resovled. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822487#3822487 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822487 --

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How can I use JMS in JBoss?

2004-02-22 Thread SportsBaby1980
Thank you everyone. This morning,I success. I use JBoss4.0. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822486#3822486 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822486

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How Can I get a ConnectionFactory using JMS with JBoss?

2004-02-22 Thread SportsBaby1980
Queue name is A javax.naming.NameNotFoundException: ConnectionFactory not bound at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:245) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220) at sun.rmi.server.U

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How can I use JMS in JBoss?

2004-02-22 Thread SportsBaby1980
"pilhuhn" wrote : Helping you needs some time and as time is money, this also needs some money ... what now? | | There are lots of examples around on using JMS. Also there are at least a hundered posts on jboss-users wrt JMS. | | And btw.: buying the admin guide once is even cheaper th

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How Can I get a ConnectionFactory using JMS with JBoss?

2004-02-22 Thread SportsBaby1980
Up is my JMS reciever. I known there is a default Queue named "A".But How can I get ConnectionFactory?Is there a JNDI name I can use and what is it? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822478#3822478 Reply to the post : http://www.jboss.org/index.

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How Can I get a ConnectionFactory using JMS with JBoss?

2004-02-22 Thread SportsBaby1980
package simple; import javax.jms.*; import javax.naming.*; public class SimpleQueueReceiver { public static void main(String[] args) { String queueName = "A"; Context jndiContext = null; QueueConnectionFactory queueConnectionFactory = n

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How Can I get a ConnectionFactory using JMS with JBoss?

2004-02-22 Thread SportsBaby1980
to Adrian: I run my program while JBoss is running. but it still does not work. Follow is JNDIContext: java.util.Hashtable JNDIParm = new java.util.Hashtable(); JNDIParm.put(Context.PROVIDER_URL, "localhost"); JNDIParm.put(Context.INITIAL_CONTEXT_FACTORY

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How Can I get a ConnectionFactory using JMS with JBoss?

2004-02-20 Thread SportsBaby1980
the result of look UIL2ConnectionFactory is JNDI API lookup failed: javax.naming.NameNotFoundException: UIL2ConnectionFactory not bound. Maybe I think the JNDI name is in a file? but I can't fiind it. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822279#382

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How Can I get a ConnectionFactory using JMS with JBoss?

2004-02-19 Thread SportsBaby1980
JBossMQProvider when my program run, it throws an exception, JNDI API lookup failed: javax.naming.NameNotFoundException: JBossMQProvider not bound who can Help? thank you View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822241#3822241 Reply to the post :

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How Can I get a ConnectionFactory using JMS with JBoss?

2004-02-19 Thread SportsBaby1980
My code is below: try { java.util.Hashtable JNDIParm = new java.util.Hashtable(); JNDIParm.put(Context.PROVIDER_URL, "localhost"); JNDIParm.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); jndiContext = new InitialCon

[JBoss-user] [Messaging, JMS & JBossMQ] - How Can I get a ConnectionFactory using JMS with JBoss?

2004-02-19 Thread SportsBaby1980
HI.Thank you . this time I am in another trouble. How to get a ConnectionFactory? In the jboss_home/server/default/deploy/jms/ directory,there is a file named jms-ds.xml, there is a tag named , and a tag named " " . Is this a ConnectionFactory JNDI name? who can tell me? Thak you . View the origi

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Help on JMS for JBOSS

2004-02-19 Thread SportsBaby1980
I encouter a new problem now. I don't know how to create or get one ConnectionFactory with Jss? Using SUN's J2EESDK1.3,I can create connectionFactory like this: j2eeadmin -addJmsFactory jndi_name queue j2eeadmin -addJmsFactory jndi_name topic waiting... View the original post : http://www

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: nedd A simple example of JMS using JBoss,who can Help me

2004-02-17 Thread SportsBaby1980
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821918#3821918 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821918 I can not afford it . thank you all the same :) -

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: nedd A simple example of JMS using JBoss,who can Help me

2004-02-17 Thread SportsBaby1980
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821909#3821909 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821909 [EMAIL PROTECTED],Maybe you will give some help? --

[JBoss-user] [Messaging, JMS & JBossMQ] - nedd A simple example of JMS using JBoss,who can Help me?

2004-02-17 Thread SportsBaby1980
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821907#3821907 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821907 HI,Experts here. I am in trouble now with JMS. I can work using sun's jms_tutorial, but when turn t

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How can I use JMS in JBoss?

2004-02-17 Thread SportsBaby1980
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821906#3821906 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821906 But that needs some money and I am not so rich ,can not afford it. Maybe an example will be more help.

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How can I use JMS in JBoss?

2004-02-12 Thread SportsBaby1980
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821337#3821337 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821337 to ivelin: http://jboss.org/docs/inde but it is a invalid URL Can you give more detail?

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How can I use JMS in JBoss?

2004-02-12 Thread SportsBaby1980
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821336#3821336 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821336 thanks a lot ,ivelin. --- SF.Net is sponsored b

[JBoss-user] [Messaging, JMS & JBossMQ] - How can I use JMS in JBoss?

2004-02-12 Thread SportsBaby1980
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821327#3821327 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821327 HI,Everyone.These days I am boring for a problem:How to use JMS in Jboss? I download jms_tutorial from