Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

The emails which get generated automatically by my Application has stopped

 
Shaikh Riyaz
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
     
    Shaikh Riyaz
    Greenhorn
    Posts: 20
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    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
    Posts: 10336
    Eclipse IDE Hibernate Java
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    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
    Posts: 20
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    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
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic