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
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
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
--
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
---
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
--
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
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
"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
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.
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
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
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
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 :
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
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
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
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
:)
-
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?
--
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
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.
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?
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
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
23 matches
Mail list logo