Jump to content

rakesh73

Members
  • Posts

    23
  • Joined

  • Last visited

Everything posted by rakesh73

  1. why without encryption. Is it because its on the same host. Will tommy use encryption when the mail is relayed to gmail servers
  2. username: rakesh73 server: tommy Hi, What is the email host name and port for tommy. I followed the instructions given in "setup email client" and got below error: org.springframework.mail.MailSendException: Mail server connection failed; nested exception is javax.mail.MessagingException: Could not connect to SMTP host: mail.beepr.heliohost.org, port: 465, response: -1. Failed messages: javax.mail.MessagingException: Could not connect to SMTP host: mail.beepr.heliohost.org, port: 465, response: -1; message exception details (1) are:Failed message 1:javax.mail.MessagingException: Could not connect to SMTP host: mail.beepr.heliohost.org, port: 465, response: -1at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2106)at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:712)at javax.mail.Service.connect(Service.java:366)
  3. I just discovered that after going to home page http://<my_domain> and then navigating to http://<my_domain>/rakesh73_blog I get the session to persist. If I go to http://<my_domain>/rakesh73_blog disrectly, session does not hold across request.s. Please do not make the changes as described in above post. I need to do some more testing. I will post again If I need anything to change. Thanks for your patience
  4. Now I have two paths https://<my_domain>/blog and http://<my_domain>/rakesh73_blog/ https://<my_domain>/rakesh73_blog returns 404. Can this path be available.
  5. Redeployed the war with <username>_blog.war. The url is <my-domain>/blog and the contextPath is /<username>_blog.war The app is still not able to find the files and submit forms. The login form needs to submit to /rakesh73_blog/login, but that page is not found as the url is <my-domain>/blog I tried setting all relative paths to /blog, but then faced cookies issue so reverted the changes. Please let me know if there is any thing that will solve the cookie issue and the contextPath issue.
  6. I have deployed rakesh73_blog.war but it is getting deployed at <my_domain>/blog. Please can you fix this so my servlet path is <my_domain>/rakesh73_blog Also I have https enabled for my servlets but it seems servlets paths can invoked both from http and https. I was hoping all http requests would get routed to https on the server side automatically. Thanks
  7. Thanks for enabling https for my servlets. I am facing a new issue now. I am unable to login to my application after successful authentication. I have a login page that accepts my user name and password. After successful, the response is redirected to home page. The home page checks if user is authenticated. If not, the response is redirected to login page. I user is authenticated, the home page is displayed In my case after login, the user is redirected to home page after successful login. The home page does not find the user authenticated and the redirects back to login page. Are cookies enabled for my app. I am using using Spring framework's WebSecurityConfigurerAdapter for authentication which I believe uses cookies for session handling between requests. Thanks
  8. Thanks for your reply. Please enable HTTPS for java for my account. If possible, I do not want regular HTTP requests should be routed to my HTTPS path. Thanks, Rakesh
  9. Username: rakesh73 server: Tommy I have deployed a new war file using cPanel. I am facing two issues described below: 1. The servlet path is not available securely. The servlets are accessible on http:// On trying to access by https:// I get a 404 error. I was expecting the servlets to be available on a secure path just like jsp files. This could cause security issues for example if I try to send login information to a servlet, I should be sending over a secured path. 2. I set some relative paths for static resources like javascript and css files using httpServletRequest.getContextPath(). My application url is <my-domain>/blog, but the httpServletRequest.getContextPath() returns a contextPath /rakesh73_blog This makes setting the relative paths very difficult. The httpServletRequest.getContextPath() should return contextPath "/blog" as visible in the last part of the application url.<my-domain>/blog Thanks
  10. I just realized this topic is marked as SOLVED, so I am posting my last query in a new topic
  11. Thanks for the info. I have deployed a new war file using cPanel. I am facing two issues described below: 1. The servlet path It is not available securely. The servlets are accessible on http:// On trying to access by https:// I get a 404 error. I was expecting the servlets to be available on a secure path just like jsp files. This could cause security issues for example if I try to send login information to a servlet, I should be sending over a secured path. 2. I set some relative paths for static resources like javascript and css files using httpServletRequest.getContextPath(). My application url is <my-domain>/blog, but the httpServletRequest.getContextPath() returns a contextPath /rakesh73_blog This makes setting the relative paths very difficult. The httpServletRequest.getContextPath() should return contextPath "/blog" as visible in the last part of the application url.<my-domain>/blog Thanks
  12. I want my complete app to be deployed in a war package. I do not want to put anything in the document root for now. Tomcat supports multiple domains/applications through configurations in server.xmlFor my local application I could configure the context path as below. Can something similar be done on my domain. <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true" deployOnStartup="false"> <Context path="" docBase="Beepr-0.0.1-SNAPSHOT"></Context> ........ ........</Host> Thanks
  13. I could do this in my local tomcat server so why it can't be done in my domain.
  14. I forgot to mention: username: rakesh73 server: tommy
  15. How to set the context path of my war to "/". Currently my home page shows this: Index of / Name Last modified Size Description cgi-bin/ 2018-02-07 18:21 - test.jsp 2018-03-16 18:43 40 I would like the home page of my java app to show up in place of the default index page
  16. Thanks for your reply. I will do with 6 connections. I will just set max_active to 5 in my datasource
  17. Hello, username: rakesh73 war name home.war request: undeploy Thanks to your free hosting, I have been able to deploy my first servlet using cPanel. Please could you undeploy the home.war I would like to deploy another war file after home.war is undeployed. Please let me know how to undeploy war files from cPanel. Where can I find tomcat logs for my instance. Thanks
  18. Username rakesh73 I am connecting to MySQL on tommy externally. I feel that the connection is not secure. Is there any way I can connect to MySQL over SSL. Thanks.
  19. Username: rakesh73 Email: singhrakesh73@gmail.com In My MySQL Database, the max user connections property is set to 6. Please can you increase the same to 50. Thanks, Rakesh
  20. E-Mail ID: singhrakesh73@gmail.com Below are details received from Paypal Your donation summary: Benefiting charity: Helio Networks Program: GoFundMe Certified Charity Campaigns Transaction ID: 4R7410902V909300E Date: Mar 11, 2018 10:22:28 PDT Your contribution: $10.00 USD Your Tax deductible contribution: $10.00 USD
  21. I donated $10 after the announcement. Wll I get double storage. Will Lily support Java.
  22. I have an account on Johnny user name rakesh73. I have requested for java. After months of waiting Java has not yet beem installed. I have made a donation with transaction id 4R7410902V909300E . I would like to request my account moved to Tommy server where java installation is faster. Thank you. Rakesh Singh
×
×
  • Create New...