File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes The emails which get generated automatically by my Application has stopped Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "The emails which get generated automatically by my Application has stopped" Watch "The emails which get generated automatically by my Application has stopped" New topic
Author

The emails which get generated automatically by my Application has stopped

Shaikh Riyaz
Greenhorn

Joined: Mar 08, 2005
Posts: 20
My Application generate a Automatic mail for the client,but unfortunately it is unable to generate the mail.I changes my server.
Is this problem is occur bcoz of changing of server if Yes,then what will be the solution for it .
Waiting of your reply
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Originally posted by Shaikh Riyaz:
My Application generate a Automatic mail for the client,but unfortunately it is unable to generate the mail.I changes my server.
Is this problem is occur bcoz of changing of server if Yes,then what will be the solution for it .
Waiting of your reply


OK. You need to tell us:
  • What you mean by "server"? Is it the SMTP server? The Web Server?
  • What Exception being thrown is, if any, or what error message is being logged.

  • Otherwise all we can do is guess.


    JavaRanch FAQ HowToAskQuestionsOnJavaRanch
    Shaikh Riyaz
    Greenhorn

    Joined: Mar 08, 2005
    Posts: 20
    It is an SMTP server. This application is presently running by a Client .
    we used Hibernate,struts,jsp,servlet for it.
    I wanna to ask tht,this problem is occur due to change of a SMTP server.
    My property file is this --------->

    ###################################
    ### PMS Configuration ###
    ###################################

    #
    # Hibernate JDBC Configuration
    #

    # Hibernate MySQL Configuration
    hibernate.dialect=com.quest.pms.db.hibernate.PMSMySQLDialect
    hibernate.connection.driver_class=com.mysql.jdbc.Driver
    hibernate.connection.url=jdbc:mysql://localhost/pms?autoReconnect=true
    hibernate.connection.username=pms
    hibernate.connection.password=

    hibernate.query.substitutions=true='1',false='0'

    #
    # General Email Configuration
    #
    pms.mail.smtp.host=202.144.86.225
    pms.mail.from=mahesh.alse@quest-global.com

    pms.version=0.9

    #
    # PMS security configuration
    #
    pms.security=on
    pms.security.login.module=com.quest.pms.security.PMSLoginModule


    ### Other Hibernate configurations ###

    hibernate.show_sql=true
    hibernate.cache.use_query_cache=true

    # connection pool

    hibernate.dbcp.maxActive=100
    hibernate.dbcp.whenExhaustedAction=1
    hibernate.dbcp.maxWait=120000
    hibernate.dbcp.maxIdle=10
    hibernate.dbcp.validationQuery=select next from identifier

    ## prepared statement cache

    hibernate.dbcp.ps.maxActive=100
    hibernate.dbcp.ps.whenExhaustedAction=1
    hibernate.dbcp.ps.maxWait=120000
    hibernate.dbcp.ps.maxIdle=100
    Paul Sturrock
    Bartender

    Joined: Apr 14, 2004
    Posts: 10336

    And does an SMTP server exist at 202.144.86.225? Can you connect to it via telnet or another email client? Is it listening on port 25 (since you don't specify the port number)? Is it behind a firewall or proxy server?
    Shaikh Riyaz
    Greenhorn

    Joined: Mar 08, 2005
    Posts: 20
    Hi ,
    i put my mail server IP in my .properties file.
    we r keep changing our mail server so every time i have to change the IP address of the mail server.
    i don't wanna to change IP address of mail server every time even i changes the mail server.if there is nay way which can help me in solving this plzzzzzz let me know
     
    It is sorta covered in the JavaRanch Style Guide.
     
    subject: The emails which get generated automatically by my Application has stopped
     
    Similar Threads
    Monitoring of server using JMX and SNMP
    Sceduling a task for everyday at a particular time??
    Generate the xml descriptors for CMP Deployment
    UID
    Generate a class without a main method