Re: [JBoss-user] [NEWBIE] Configuring the mail server with Jboss

2003-06-08 Thread Ricardo Argüello
Edit the server/default/deploy/mail-service.xml file. Ricardo Argüello - Original Message - From: "Marco Tedone" <[EMAIL PROTECTED]> To: "JBoss-user-list" <[EMAIL PROTECTED]> Sent: Sunday, June 08, 2003 6:05 PM Subject: [JBoss-user] [NEWBIE] Configuring the mail server with Jboss > Hi,

Re: [JBoss-user] Hello ! The problem of deployment !

2003-06-08 Thread Guy Rouillier
There should be no difference between accessing a standalone Tomcat vs one bundled with JBoss. Bundling of Tomcat with JBoss is done to gain the benefit of running both in a single JVM, but aside from that, Tomcat is still Tomcat. jonathan wong wrote: Dear all , Hello ! I am a beginner of JB

Re: [JBoss-user] Problems with JBoss on JNDI Data Source Connection

2003-06-08 Thread Guy Rouillier
Well, your suggestion will work but it is not the preferred way of doing the lookup. Your lookup should look something like this (taken from some production code): connection = ((DataSource)(new InitialContext()).lookup("java:comp/env/jdbc/ordermanagementDB")).getConnection(); ejb-jar.xml wou

[JBoss-user] Configuring Mail with Jboss...Problem solved

2003-06-08 Thread Marco Tedone
Sorry, I just discovered mail-service.xml. Thanks, Marco --- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalV

[JBoss-user] [NEWBIE] Configuring the mail server with Jboss

2003-06-08 Thread Marco Tedone
Hi, from my book I'm learning that a J2EE container should provide support for JavaMail and that in order to get a Mail session it would be enough to lookup something like the following: javax.mail.Session session = (javax.mail.Session) initial.lookup("java:/Mail"); Now, my question is: wh

Re: [JBoss-user] Hello ! The problem of deployment !

2003-06-08 Thread Marco Tedone
Yes, you can access Jboss components from a JSP page. You should set up a JNDI context in order to do so.   One way could be to write a jndi.properties file and put it under WEB-INF/classes folder (Tomcat). An example of a possible JNDI properties file could be the one which follows:   java.

Re: [JBoss-user] Problems with JBoss on JNDI Data Source Connection

2003-06-08 Thread Marco Tedone
From the exception message probably the jdbc name you are looking for is not bound in the JNDI namespace. An easy way to solve the problem is to use the jmx-console.   http://yourhost:yourport/jmx-console/   Then choose service=JNDIView   go at the bottom of the screen and press the 'invoke'

Re: [JBoss-user] Problems with JBoss on JNDI Data Source Connection

2003-06-08 Thread Edgar Silva
Try the Lookup this way:        DataSource ds = (DataSource) jndiContext.lookup("java:/dbnrhdes");   I had been using DataSources in JBoss and everything is ok   I hope help you   Edgar Silva - Original Message - From: Paulo Francesco Pacheco To: [EMAIL PROTECTED]

[JBoss-user] Hello ! The problem of deployment !

2003-06-08 Thread jonathan wong
Dear all ,  Hello ! I am a beginner of JBoss . I encounter a problem of deployment . I deployed a a.jar file in JBoss 3.x with Tomcat ( E:\jboss\server\default\deploy\a.jar ) . How can the JSPs or Servlets in the JBoss's Tomcat can invoke the deployed in JBoss ? Thank you !  Also , there is the o

RE: [JBoss-user] JBoss XA transaction with WebSphere MQ

2003-06-08 Thread thomas . cherel
Thanks for the reply. I am working on a complete readme to configure WebSphere MQ in JBoss. I will submit it as a patch once I am done, no problem. I am not sure to understand what you are referring to when talking about JNDI. If this is about bringing the WebSphere MQ queue/topic and connection f