Solved

Setting VM arguments in Apache Tomcat

Posted on 2011-09-28
2
471 Views
Last Modified: 2012-05-12
I wrote a stand alone java program which takes in the command line arguments
 -Djava.library.path="E:\Downloads\someFolder". My stand alone program loads a .dll file in that folder path I mentioned in the args. I mentioned the path in Eclipse. That piece of java code which loads a .dll file has to be run on the server now. I am using Apache Tomcat. Where do I specify the arguments?
0
Comment
Question by:supreeths84
  • 2
2 Comments
 

Accepted Solution

by:
supreeths84 earned 0 total points
ID: 36982958
I placed the .dll file in the bin directory of Apache Tomcat and it solved the problem.
0
 

Author Closing Comment

by:supreeths84
ID: 36982964
After placing the .dll file in the bin directory of Tomcat, I was able to load the system library
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now