• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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.

 
And when my army is complete, I will rule the world! But, for now, I'm going to be happy with this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic