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,
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
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
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
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
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.
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'
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]
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
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
10 matches
Mail list logo