custom service as j2ee client howto

2006-05-25 Thread Alex Andrushchak
regards, Alex Andrushchak

Re: javamail

2006-03-02 Thread Alex Andrushchak
Hi! I do not know how, but it worked. I've test it in my application. I runned my sample application with both Geronimo and JoNAS and it worked. Best regards, Alex Andrushchak Vamsavardhana Reddy wrote: Alex, There was a bug in Transport.send().  Transport.send(msg) problem is now

Re: javamail

2006-03-01 Thread Alex Andrushchak
Could you check geronimo log for additional info after debug enabling? Best regards, Alex Andrushchak Vamsavardhana Reddy wrote: Hi Alex, The server is up.  I am able to send mail using this server via standard mail client and I also tried with telnet on port 25. I also tried

Re: javamail

2006-03-01 Thread Alex Andrushchak
(Message.RecipientType.TO, recipient); Best regards, Alex Andrushchak Vamsavardhana Reddy wrote: Hi Alex, I am trying to send mail from a servlet.  Here is my geronimo-web.xml: http://geronimo.apache.org/xml/ns/j2ee/web-1.1" xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.1"

Re: javamail

2006-01-23 Thread Alex Andrushchak
che.org Alex Andrushchak wrote: Ok, i've moved from dead point :-) Wonderful! Now i have a

Re: sql realm

2006-01-23 Thread Alex Andrushchak
.java:163) Could you please post sample of database realm plan to this mail list? Thank You. Best regards, Alex Andrushchak Aaron Mulder wrote: You can deploy a SQL security realm with the console. It's covered here: http://chariotsolutions.com/geronimo/quick-start.html and

sql realm

2006-01-23 Thread Alex Andrushchak
Hi! Are there any samples of sql realms? I need application level sql realm. Thank you. Best regards, Alex Andrushchak

Re: javamail

2006-01-23 Thread Alex Andrushchak
Thank You a lot Jakob! At last it worked. :-) I've added message.setFrom(InternetAddress.getLocalAddress(session)); to bean and it works! Configuration is the same as last time. Guys, thanks all of you for support! Best regards, Alex Andrushchak Jakob Færch wrote:

Re: javamail

2006-01-22 Thread Alex Andrushchak
192.168.1.2 mail.debug=true mail.smtp.port=25 [EMAIL PROTECTED] It looks like geronimo doesn't pickup mai.from property value from configuration. I do not like to hardcode it into application. Thanks! Best regards, Alex Andrushcha

Re: javamail

2006-01-20 Thread Alex Andrushchak
sportGBean"> 192.168.1.2 25 name="from">[EMAIL PROTECTED] class="org.apache.geronimo.mail.MailGBean"> smtp true mail.debug=true protocol.smtp What's wrong here? Best regards,

Re: javamail

2006-01-20 Thread Alex Andrushchak
Jakob, Do you mean MimeMessage? Best regards, Alex Andrushchak Jakob Færch wrote: Alex Andrushchak wrote: Jakob, I've changed code and now i have exception: Setting the message with given args...SessionMailerBean.setMessage: checkpoint 1 . 12:47:23,734 WARN [SystemExceptionInterc

Re: javamail

2006-01-20 Thread Alex Andrushchak
rBean$$FastClassByCGLIB$$71407382 .invoke() at org.openejb.dispatch.AbstractMethodOperation.invoke(AbstractMethodOpe It looks like addRecipients methods is not implemented. Any advice? Best regards, Alex Andrushchak Jakob Færch (Trifork) wrote: Alex Andrushchak wrote: There are my two methods fr

Re: javamail

2006-01-19 Thread Alex Andrushchak
Hi! I've found one article https://www6.software.ibm.com/developerworks/education/os-ag-javamail/ There are references to javamail and JAF from Sun. But this article references to geromino-1.0-M5. Are we need javamail.jar and activation.jar in geronimo-1.0 too? Best regards, Alex Andrus

Re: javamail

2006-01-18 Thread Alex Andrushchak
Thank You Rajith! Sorry for disturb you. Best regards, Alex Andrushchak Rajith Attapattu wrote: Alex,   Unfortunately I don't have time right now to try out the mail funtionality myself. I can try to do that in the evening when I go home.   Meanwhile lets hope that somebody

Re: javamail

2006-01-18 Thread Alex Andrushchak
  Transport.send(message);     } catch (MessagingException e) {     throw new Exception("The message can not be send : " + e.getMessage());     }     System.out.println("SessionMailerBean.send: checkpoint 2.");     } I've add debug to ma

Re: javamail

2006-01-18 Thread Alex Andrushchak
Hi! I've switched log lovel to debug. But there aren't any debug messaging about mail delivery, only struts debug messages  :-( Are there any other posibility to dig this case? Best regards, Alex Andrushchak Rajith Attapattu wrote: check the following url   http://o

Re: javamail

2006-01-17 Thread Alex Andrushchak
Actionally, last time i configure it to unexistent smtp server and nothing. Any errors. :-( I've put trace print into my code and everything is going fine from begin to Transport.send(message) Sorry for stupid question but how to enable debug in Geronimo? Best regards, Alex Andrus

javamail

2006-01-17 Thread Alex Andrushchak
implemented. When i'm trying to send e-mail everything is working without any errors but mail messages are not going to smtp server from geronimo. Where i'm wrong? Best regards, Alex Andrushchak

Re: CMP cascade deletation

2006-01-17 Thread Alex Andrushchak
Thank You Gianny! It works. :-) Best regards, Alex Andrushchak Gianny Damour wrote: Hi Alex, By default, JDBC commands are executed in an unspecified order. In your case, this is an issue as JDBC commands need to be ordered such that foreign key constraints are not violated. You can

CMP cascade deletation

2006-01-17 Thread Alex Andrushchak
1Statement.java:273) at org.tranql.connector.jdbc.PreparedStatementHandle.executeUpdate(Prepa redStatementHandle.java:103) at org.tranql.sql.jdbc.JDBCUpdateCommand.execute(JDBCUpdateCommand.java: What's wrong with it? Best regards, Alex Andrushchak

Re: customer service deployment

2006-01-15 Thread Alex Andrushchak
Thanks again David! I've resolved this issue by adding name attribute to gbean configuration. Best regards, Alex Andrushchak David Jencks wrote: I entered http://issues.apache.org/jira/browse/GERONIMO-1459 to track this issue.  Are you still having problems with it? thanks

Re: customer service deployment

2006-01-15 Thread Alex Andrushchak
(ServiceCon figBuilder.java:167)     at org.apache.geronimo.deployment.service.ServiceConfigBuilder$$FastClassByCGLIB$$9f173be6.i nvoke()     at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) Best regards, Alex Andrushchak Bruce Snyder wrote: On 1/12/06, Alex Andrushchak <[EMAIL PROTECTED]> w

Re: custom service deployment

2006-01-12 Thread Alex Andrushchak
David Jencks wrote: On Jan 12, 2006, at 1:25 AM, Alex Andrushchak wrote: Thanks David! We've done next step. :-) Now deployer is trying to deploye service. But: D:\local\geronimo-1.0>java -jar bin/deployer.jar deploy queryphone-service-plan.xml Username: system

Re: custom service deployment

2006-01-12 Thread Alex Andrushchak
t; groupId, artifactId, version, and type. david jencks On Jan 12, 2006, at 12:40 AM, Alex Andrushchak wrote: Thanks Kristian! This time it help to find parent configuration. But i have another error: D:\local\geronimo-1.0>java -jar bin/deployer.jar d

Re: custom service deployment

2006-01-12 Thread Alex Andrushchak
            Do not understand why it can't find this file. Any advice? Thanks. Kristian Köhler wrote: Hi think this is a typo not: geronimo/j2ee-system/1.0/jar try: geronimo/j2ee-system/1.0/car Kristian Alex Andrushchak wrote: Unfortunately the same: D:\local\

Re: custom service deployment

2006-01-12 Thread Alex Andrushchak
ssible to get intruction how to deploy custom service to geronimo. I've read article about Custom quartz service but it use maven for build and deployment. It is not clear what is going on under cover. Thanks! Best regards, Alex Andrushchak http://geronimo.apache.org/xml/ns/deplo

custom service deployment

2006-01-11 Thread Alex Andrushchak
w to deploy custom service to geronimo. I've read article about Custom quartz service but it use maven for build and deployment. It is not clear what is going on under cover. Thanks! Best regards, Alex Andrushchak http://geronimo.apache.org/xml/ns/deployment-1.0"; parentId

customer service deployment

2006-01-11 Thread Alex Andrushchak
mo. I've read article about Custom quartz service but it use maven for build and deployment. It is not clear what is going on under cover. Thanks! Best regards, Alex Andrushchak