Win a copy of Murach's MySQL this week in the JDBC and Relational Databases forum!
  • 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 ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

Problem in mailing when java web server is started using jre of Java Development Kit

Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
i am developing an application in jsp, servlets. I have started my Java Web Server by this command
httpdnojre -javahome C:\jdk1.3
I am using jre of JDK 1.3 to start java web server instead of jre of java web server because i want to use HashMap class in my application. As HashMap.class is not included in rt.jar of javawebserver2.0's jre. After doing this i have developed the application. Everything works fine but as i need to insert mailing module in my application, problem started as mail cannot be sent. It gives me exception like this.
access denied ( resolve)
i have tried to discover the cause behind this and i found that as i am using jre of JDK to start java web server, it is giving me this exception. Then i closed java web server and start it once again using jre of java web server itself by giving command:
this way my mailing module works fine but my application doesnot run as i have mention above that it doesnot get HashMap class. Now i am confused what to do as my application are not running on (httpd) and i cannot send mail on (httpdnojre -javahome C:\jdk1.3). Please try to send me the solution as early as possible as i am helpless now.
Thank You.
Nilesh Soni

    Bookmark Topic Watch Topic
  • New Topic