• 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
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Endorsed Directory

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 67754
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
reply
    Bookmark Topic Watch Topic
  • New Topic