• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Endorsed Directory

 
Jayaseelan Shanmugam
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Following are the libraries which are being used in my application for PDF report generation.
1. xalan-2.6.0.jar
2. xercesImpl-2.6.2.jar
3. xml-apis.jar

Problem is I have compulsorily to put these libraries in the tomcat common/endorsed folder or otherwise reports are not generated duing run time. I have tried to keep all the libraries in my application specific lib folder but it does not works. Please do the needful
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jayaseelan
Welcome to JavaRanch!

We're pleased to have you here with us in the Tomcat forum, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

You can change it here


Thank you
[ May 19, 2006: Message edited by: Ben Souther ]
 
Sivaraman Lakshmanan
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jayaseelan,
I am not sure which API you use for PDF generation. But I have tried with itext-1.3.jar and jcpagelayout451K.jar. Both doesn't need those xml's to be placed in the common/endrosed folder
 
Jayaseelan Shanmugam
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sivaraman,
As you mentioned using itext library is one way of genearting reports in java. The other way aroud is using fop to generate PDF or CSV reports. Here the process is transforming XSLT(format) and XML (data holder) by using FOP libraries.

Here the main issue is I can not use the XML processing libraries which are kept inside my application specific lib folder. System expects those libraries with in the tomcat endorsed directory instead application specific libraries.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64994
87
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Jayaseelan S", Ben's request that you change your display name to adhere to JavaRanch standards was not a suggestion. Valid display names are mandatory for participation on the Ranch. Please change your display name as instructed prior to your next post or your account will be closed.

bear
JavaRanch Sheriff
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jayaseelan S,

Thank you for changing it.
However, the policy states that there must be a full last name.
It is OK to use an initial for the first name.

Please make that update.
Thanks,
-Ben
 
Sivaraman Lakshmanan
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
What problem do you face by keeping those jars in common/endrosed dir
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jayaseelan Shanmugam,
Thank you for fixing your name.

Good-Luck with your question.
 
Jayaseelan Shanmugam
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sivaraman,
Since the Web server in our production environment is shared one, I can not deploy the third party libraries into the server endorsed directory.

Thx & Regards,
JaySee
 
Sivaraman Lakshmanan
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Hope this URL may help you. Here in this article says that all the jars are kept only in web applications lib directory.
Could you post the stack trace...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic