Ok, tried this, no luck.  I'll go post something to the JBoss list. 
Thanks all for your suggestions.

Darren

> Hi,
>     Have you tried to put the jar in the EAR/lib directory. Moreover, the
> server (JBoss) should have classloader priority like Application/Module...
> I
> know this is important to set up correctly with WebSphere. And last but
> not
> least, how is your EAR generated ? Did you write correctly the manifest
> file
> of the WAR (example below) ?
>
> In the WAR file under META-INF/ there is the file manifest.mf something
> like
> that:
>
> Manifest-Version: 1.0
> Class-Path: lib/itext.jar
>
> Note that this is not an iText question. Send this question to the
> appropriate forum, please !
>
> Hubert
>
>>From: Paulo Soares <[EMAIL PROTECTED]>
>>To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>, [EMAIL PROTECTED],
>>[EMAIL PROTECTED]
>>Subject: RE: [iText-questions] NoClassDefFoundError - Servlet
>>ClasspathProblems
>>Date: Tue, 12 Aug 2003 10:38:53 +0100
>>
>>Have you tried to recompile the jar with your jdk version? It shouldn't
>>matter but I don't see why the other jars work and iText doesn't.
>>
>>Best Regards,
>>Paulo Soares
>>
>> > -----Original Message-----
>> > From:      [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]
>> > Sent:      Monday, August 11, 2003 18:39
>> > To:        [EMAIL PROTECTED]; [EMAIL PROTECTED]
>> > Subject:   Re: [iText-questions] NoClassDefFoundError - Servlet
>> > ClasspathProblems
>> >
>> > Thanks for the follow-up.
>> >
>> > 1) I have verified that I do not have any other versions or jar files
>>with
>> > it in my application
>> > 2) I have no access.policy, would that cause the problem?  As I am
>>having
>> > no problems with my other JAR files.
>> > 3) If I put it in my WEB-INF/lib directory it should automatically be
>> in
>> > the applications classpath?
>> >
>> > Thanks!
>> >
>> > Darren
>> >
>> > > hi!
>> > >
>> > > i'm not sure whether this helps, but usually such problems arise
>> when:
>> > > * you have 2 different class versions (includes, path)
>> > > * your access.policy does not allow some operations
>> > > * your classpath does not include it at all
>> > >
>> > > regards
>> > >
>> > > randolph
>> > >
>> > >
>>-----------------------------------------------------------------------
>> > > di randolph kepplinger, mba
>> > > [EMAIL PROTECTED] / 0676-4071103
>> > >
>> > > metamagix - better online solutions
>> > > favoritenstrasse 19 / 1040 wien / +43.1.9902804
>> > > buero: hackengasse 27 / 1150 wien / +43.1.9902804
>> > > http://www.metamagix.net
>> > > On Mon, 11 Aug 2003 [EMAIL PROTECTED] wrote:
>> > >
>> > >> Ok, first off, I love this product.  The API is simple, and when it
>>is
>> > >> working I have had no issues.
>> > >>
>> > >> Let me explain the problem.  I have an EAR application which
>>comprises
>> > >> of
>> > >> one Web Application (WAR file).  In the Web Application is where I
>> am
>> > >> generating PDFs from a servlet.  I have placed the itext-1.00.jar
>>file
>> > >> in
>> > >> the Web Applications WEB-INF/lib directory.  I have compiled my
>> > >> application, so compile is fine.
>> > >>
>> > >> However, at runtime, I get the following:
>> > >> java.lang.NoClassDefFoundError: com/lowagie/text/DocumentException
>> > >>         at
>> > >> com.rego.web.common.GenPdfServlet.doPost(GenPdfServlet.java:47)
>> > >>         at
>> > >> com.rego.web.common.GenPdfServlet.doGet(GenPdfServlet.java:30)
>> > >>
>> > >> I have several other "JAR" files in the WEB-INF directory, and the
>> > >> pieces
>> > >> of the application which use them have no problems compiling or
>> > running.
>> > >> The only way I have been able to solve the problem is to add the
>> > >> itext-1.00.jar file to JBoss's classpath and restart.  I should not
>> > have
>> > >> to do this.  The fact that I have 2 other JAR files in there that
>> do
>> > not
>> > >> have this problem, I am at a loss.
>> > >>
>> > >> My env:
>> > >>   JBoss 3.2.1
>> > >>   JDK 1.3.1_08
>> > >>
>> > >> Because I want this app to deploy in anyones environment, having to
>> > >> modify
>> > >> the App Servers classpath is not really an option.
>> > >>
>> > >> Please advise.
>> > >>
>> > >> Thanks!
>> > >>
>> > >> Darren
>> > >>
>> > >>
>> > >> -------------------------------------------------------
>> > >> This SF.Net email sponsored by: Free pre-built ASP.NET sites
>>including
>> > >> Data Reports, E-commerce, Portals, and Forums are available now.
>> > >> Download today and enter to win an XBOX or Visual Studio .NET.
>> > >>
>> >
>>http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/0
>> > 1
>> > >> _______________________________________________
>> > >> iText-questions mailing list
>> > >> [EMAIL PROTECTED]
>> > >> https://lists.sourceforge.net/lists/listinfo/itext-questions
>> > >>
>> > >
>> > >
>> >
>> >
>> >
>> > -------------------------------------------------------
>> > This SF.Net email sponsored by: Free pre-built ASP.NET sites including
>> > Data Reports, E-commerce, Portals, and Forums are available now.
>> > Download today and enter to win an XBOX or Visual Studio .NET.
>> >
>>http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/0
>> > 1
>> > _______________________________________________
>> > iText-questions mailing list
>> > [EMAIL PROTECTED]
>> > https://lists.sourceforge.net/lists/listinfo/itext-questions
>>
>>
>>-------------------------------------------------------
>>This SF.Net email sponsored by: Free pre-built ASP.NET sites including
>>Data Reports, E-commerce, Portals, and Forums are available now.
>>Download today and enter to win an XBOX or Visual Studio .NET.
>>http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
>>_______________________________________________
>>iText-questions mailing list
>>[EMAIL PROTECTED]
>>https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> _________________________________________________________________
> MSN Search, le moteur de recherche qui pense comme vous !
> http://search.msn.fr/worldwide.asp
>
>



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to