• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

The emails which get generated automatically by my Application has stopped

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
      Number of slices to send:
      Optional 'thank-you' note:
    • 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
    Hibernate Eclipse IDE Java
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • 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
      Number of slices to send:
      Optional 'thank-you' note:
    • 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
     
    reply
      Bookmark Topic Watch Topic
    • New Topic