Jump to content

div

Members
  • Posts

    16
  • Joined

  • Last visited

Posts posted by div

  1. ya actually it is working on my phone when i configured the mail with outgoing port as 465 and ssl/tls(accept all certificates) username autoreply@divyansj.gq and password for autoreply.
    So what could be the issue here? it is working with google though..

    Here's the error in tomcat..(if it helps)

    javax.mail.MessagingException: Could not connect to SMTP host: mail.divyansj.gq, port: 465, response: -1
    at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1960)
    at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:642)
    at javax.mail.Service.connect(Service.java:317)
    at javax.mail.Service.connect(Service.java:176)
    at javax.mail.Service.connect(Service.java:125)
    at javax.mail.Transport.send0(Transport.java:194)
    at javax.mail.Transport.send(Transport.java:124)
    at net.codejava.email.EmailUtility.sendEmail(EmailUtility.java:47)
    at net.codejava.email.EmailSendingServlet.doPost(EmailSendingServlet.java:45)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)
    at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:624)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
    at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799)
    at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
    at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455)
    at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    at java.lang.Thread.run(Unknown Source)

  2.  

     



    Does port 587 work?
    No, it gives an error like this . "There were an error: 535 Incorrect authentication data"
    My current configuration in eclipse is


    so any changes you suggest?
    Do i have to request here specially for connecting via external servlet or any services?
    or it isn't supported?
  3. There were an error: Could not connect to SMTP host: mail.divyansj.gq, port: 465, response: -1

     

    This is the error shown when my java servlet tries to connect to my mail host.

    I tried port 25 but still the same.

    Do i have to request specially for connecting via external servlet or any services? or it isn't supported?

  4. For some reasons my java app is not working.

    This is my main page that the war should run https://divyansj.gq/divyans_InterestWAR/interestpage.html

     

    its running fine on my localhost http://localhost:8080/InterestWAR/interestpage.html

     

    link http://imgur.com/a/Sh6Qj

     

    I didnt export my war files with the source files i.e. the .java files and i dont think that's a problem

     

    username divyans | warfile: InterestWAR | server: tommy

  5. Thanks for the prompt reply. So i moved the file to home folder. Now its pretty clear. I guess its ok if its using my main domain. No worries.

    So please deploy my file.. Here are the details

    cpanel username: divyans | server: tommy | war file name: InterestWAR.war

    After deploying i will try this link to check divyansj.gq/divyans_InterestWar/interestpage.html

  6. Hi again, ok new questions :D

    1. I have a war file which i would like to host on jee.divyansj.gq so how to do that? so it should show something like jee.divyansj.gq/InterestWAR/interestpage.html

    2. If i ever have some changes in files can i do it just by editing using cpanel file manager and will the changes reflect on my java application online automatic or do i have to ask here to redeploy?

    3. How many times can i ask to deploy war files?

    4. I know one war file per account per website but i want to first test using this file so can i request another in a few days?

     

    If my current configuration looks ok then please proceed with deploying my war file

    cpanel username: divyans | server: tommy | war file name: InterestWAR.war (uploaded in public_html/JEE)

  7. Hi admin/s,

     

    Server: Tommy

     

    1. Can i install java on a subdomain so my example.com remains as i want and subdomain.example.com becomes my default for a java project and runs the jsp directly.

    2. do i need to install ssl for a java hosted site on a subdomain? Is it really neccessary?

    3. I have a database although currently configured in Oracle but i won't get oracle here so i have to move to Mysql right? So should i start creating my databases or wait till java is installed?

    4. I'm confused on which database service to use.. My main requirement is I would have to store login information from the users using the application. But which one to choose?

    • Postgresql
    • Mysql
    • Remote mysql ( Whats the difference from mysql)
    • phpmyadmin (i think its only for people who use php scripting so not for jsp maybe?

    Any links or suggestions is appreciated. I'm still learning so please bear with me :D

×
×
  • Create New...