• 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:
  • Devaka Cooray
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
Bartenders:

Object creation is failed in JSP

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi all
I am creating a class for sending mail from java program. The email id is get from user in the jsp page. while creating object for the mail class from the jsp page it gives some exception. but it is working properly in the windows. windows is my local machine. I am using netbeans for developing java program. My server is Linux server. CentOS 5.4 is the operating system i have installed. I have configured Apache and tomcat on that server. Netbeans gives a *.war file as output. I know how to deploy war file in tomcat. But here i need to deploy the war file in to Apache server.

Please help me to solve the problem
 
Bartender
Posts: 2700
IntelliJ IDE Opera
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
First of all welcome to the JavaRanch. Please TellTheDetails. Some exception is not really helpful.

I'm really familiar with these technologies but I don't believe that the Apache webserver can process war files.
 
Ranch Hand
Posts: 152
Eclipse IDE Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Selva,
you cannot deploy your .war file in Apache server. its an webserver and not a webcontainer like tomcat. so you need to deploy your war in tomcat only or any other webcontainer. Apache server is used for static html pages and not for dynamic content.

 
You had your fun. Now it's time to go to jail. Thanks for your help tiny ad.
The new gardening playing cards kickstarter is now live!
https://www.kickstarter.com/projects/paulwheaton/garden-cards
reply
    Bookmark Topic Watch Topic
  • New Topic