Hi ,
Iam trying to send a notification mail using the java mail in Geronimo
1.1.1 . When I try to send the mail iam getting this following exception
, can any one give a pointer regarding where iam going wrong and what to
do...
javax.mail.SendFailedException: Send failure
Hi,
I'm working at setting up an application client and am having some
difficulty accessing EJBs on the server. I'm running my client using an
application client container and am trying it out on a few different
application servers.
However, I'm having difficulty finding a way to lookup EJBs in
Hello,
I have a problem with a findAll method. I will describe the context of the
application:
I have a Customer CMP and an Account CMP that have one to many relationship (a
customer can have multiple accounts). The Account table has a foreign key field
that links it to the Customer table. The
There's a bug in the code that sorts out the connection host when you
are using Transport.send(). There are two workarounds I know of for the
problem:
1) set the target SMTP host using the mail.host property rather than
mail.smtp.host, or
2) Rather than use Transport.send(), explicitly
Hi,
I can't exactly figure out your problem.
There is a sample application in Geronimo User Guide which has the same
kind of scenario (Customer - Account) . It has a one-many relationship
for CMP with XDoclet too.
http://cwiki.apache.org/GMOxDOC11/ejb-sample-application.html
Hope this help
Hello,
I started from that sample application and I tried to extend it. Try adding
a findAll method to the AccountBean and you will see the problem .
Thanks,
Radu Dumitrescu
--
This message was scanned for spam and viruses by BitDefender.
For more information please visit
Hi,
Ahh... I didn't pick that thing and how much you have change the sample
application.
According to your original problem it says Data Type problem. Have you
using the original database schema provided (original sample we are
using String as our primary key types) ?
Otherwise please
Hi Rick,
Thanks for replying, iam not sure from where it is picking the
localhost attribute . I have mentioned my mail server host which is
different everywhere in my application and also i have changed in the
config.xml file inside Geronimo/var folder also to reflect to my host
, but iam not
I already did. It is picking up the localhost attribute because it's
not properly using the mail.smtp.host property to configure the target
SMTP host. Either of the two solutions I gave you below will fix the
problem.
How are you creating the mail Session in your application? Are you
Thanks a lot for the interest,
I changed the PK fields in the sample application from string to integer.
The strangest thing is that as I first mentioned the findByPrimaryKey method
works, but the findAll method fails ...
Best regards,
Radu Dumitrescu
--
This message was scanned for
Hi Rick,
I forgot to mention one point in my previous mail , iam using the mail
resource that is available in the Geronimo and see my
geronimo-application.xml
gbean name=mail/MailSession
class=org.apache.geronimo.mail.MailGBean
attribute
Kamalanathan Raman wrote:
Hi Rick,
I forgot to mention one point in my previous mail , iam using the mail
resource that is available in the Geronimo and see my
geronimo-application.xml
gbean name=mail/MailSession
class=org.apache.geronimo.mail.MailGBean
Hi Rick,
As u told I was having the sun mail.jar in my classpath , I removed it
and added the Geronimo-javamail-transport 1.1.1 jar to it, now it shows
this particular error . Is it something related to the firewall or is it
something that iam doing wrong with my application.
Check this doc, it shows all the configuration done at the
geronimo-application.xml level
http://cwiki.apache.org/GMOxDOC11/exposing-web-applications-on-distinct-ports.html
Cheers!
Hernan
Hari Krishna Korrapati wrote:
Hi,
At present i am working on an ear which has got 3 web modules.
Hi Rick ,
The information u have given was really useful , now I have changed the
mail.smtp.host attribute to mail.host and now it is throwing this
particular error. As u said iam using the following code , by calling
Session.getDefaultInstance , find attached the code and the stack
trace that
I'm unclear on whether you plan to run the app client on the same
vendors product as the ejb itself.
If you plan to use 2 vendors you have to use corba.
If you plan to use the app client container and the ejb container
from geronimo, what you are trying should work. However for geronimo
David Jencks [EMAIL PROTECTED] wrote on 02-22-2007 12:01:11 PM:
On Feb 22, 2007, at 6:12 AM, Aman Nanner/MxI Technologies wrote:
Hi,
I have noticed that passwords in plans and configuration files in
Geronimo
(1.2-beta) are not encrypted by the server, and remain in
plaintext.
There is some built-in encryption available. My recollection was that
the server tried to apply it to settings with password in the name,
but it may have changed in 1.2-beta.
Thanks,
Aaron
On 2/22/07, Aman Nanner/MxI Technologies [EMAIL PROTECTED] wrote:
Hi,
I have noticed that
On Feb 22, 2007, at 9:23 AM, Aman Nanner/MxI Technologies wrote:
David Jencks [EMAIL PROTECTED] wrote on 02-22-2007 12:01:11 PM:
On Feb 22, 2007, at 6:12 AM, Aman Nanner/MxI Technologies wrote:
Hi,
I have noticed that passwords in plans and configuration files in
Geronimo
(1.2-beta)
On Feb 22, 2007, at 9:35 AM, Aaron Mulder wrote:
There is some built-in encryption available. My recollection was that
the server tried to apply it to settings with password in the name,
but it may have changed in 1.2-beta.
I haven't found the code that does this, but I think that it
Another approach for the db/jms connectors that I like although I'm
not sure if its completely tested is to leave out the user/pw from
the plans and use Subject based authentication. With this approach
you'd add a login module to the security realm that would insert
appropriate UserPassword
On 2/22/07, David Jencks [EMAIL PROTECTED] wrote:
I haven't found the code that does this, but I think that it encrypts
config.xml rather than any plans. I could be very wrong although
since plans aren't needed at runtime I can't see how encryption could
be applied to them.
I think it's in
Hi,
I think there is a misunderstanding at your side. Tomcat is container for
servlets and does not run perl scripts or does not redirect calls. The Apache
webserver is responsible for that. Your configure the webserver to redirect
cgi calls or you have a perl module which runs the scripts.
I have a bit of a predicament with circular refrences in EJBs. Due to legacy
reasons, I have two EJBs - each which references the other (and refactoring
would be non-trivial). I would prefer to keep them local (as opposed to remote)
for security reasons. Trouble is, I don't know how to deploy
On Feb 22, 2007, at 8:52 AM, Tod Thomas wrote:
I'm working with Geronimo for the first time from a fresh binary
install. I just defined a LDAP security realm, tested it, and it
works.
Can I change the Geronimo server console to use my new LDAP
Security Realm? If so, how would I go
On Feb 22, 2007, at 12:24 PM, Spotts, Joel ((ISS Atlanta)) wrote:
I have a bit of a predicament with circular refrences in EJBs. Due
to legacy reasons, I have two EJBs - each which references the
other (and refactoring would be non-trivial). I would prefer to
keep them local (as opposed
You're right, I didn't quite explain things 100%. I would like to have
a .ear file that contains EJBs and a Swing client. I would like to be
able to deploy that .ear and have it work on Glassfish or Geronimo, but
don't want to change naming lookups, etc.
I really just want to have the option of
Yes, we have run into a problem.
The EJBs are in different EARs.
If you ejbs are in different ears, things get a bit trickier. IIRC you
have to supply the entire abstract name of the ejb container gbean for
at least one side of the relationship.
Can you give an example of supply the
On Feb 22, 2007, at 3:13 PM, Ryan wrote:
You're right, I didn't quite explain things 100%. I would like to
have
a .ear file that contains EJBs and a Swing client. I would like to be
able to deploy that .ear and have it work on Glassfish or Geronimo,
but
don't want to change naming
On Feb 22, 2007, at 3:06 PM, pgrey wrote:
Yes, we have run into a problem.
The EJBs are in different EARs.
If you ejbs are in different ears, things get a bit trickier.
IIRC you
have to supply the entire abstract name of the ejb container
gbean for
at least one side of the
Just wanted to say thank you for the help.
Ryan
David Jencks wrote:
On Feb 22, 2007, at 3:13 PM, Ryan wrote:
You're right, I didn't quite explain things 100%. I would like to have
a .ear file that contains EJBs and a Swing client. I would like to be
able to deploy that .ear and have it
I have installed the Geronimo-1.0 with Tomcat, and never installed a pure
Tomcat.
Then, In WindowsXp, the CATALINA_HOME environment variable should be set to
what?
For me, is that C:\geronimo-1.0\var\catalina?
but there is not a folder named server there.
├─catalina
│ ├─conf
│ │ └─bk
On Feb 22, 2007, at 2:11 PM, Prof.Dr. Reich Christoph wrote:
Hi,
I think there is a misunderstanding at your side. Tomcat is
container for
servlets and does not run perl scripts or does not redirect calls.
The Apache
webserver is responsible for that. Your configure the webserver to
33 matches
Mail list logo