You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by JRSofty <jr...@gmail.com> on 2011/12/01 16:11:38 UTC

Freezing when attempting to create new instance of FopFactory.

Hello,

I'm working on a print template system for an application, and everything
seemed to work fine, then I deployed it. The problem traces down to where I
create a new instance of the FopFactory by using:

     FopFactory fopFactory = FopFactory.newInstance();

Now here's the thing. There are no exceptions thrown, no errors either it
seems. It just gets to this point in the code and stops. Does anyone know
what could possibly be the problem, or where I should start to look?

-- 
--- THIS IS A SIGNATURE NO NEED TO CLICK ON LINKS UNLESS YOU FEEL LIKE IT
---
http://jrsofty1.stinkbugonline.com
http://www.galahtech.org

Re: Freezing when attempting to create new instance of FopFactory.

Posted by JRSofty <jr...@gmail.com>.
Hello All,

Thanks for the help, you were right it was a library problem, however, the
library was there someone had just accidentally added "bin" after the
".jar" in the classpath reference and of course that means it didn't find
the library.

Thanks again,
Jason

On Thu, Dec 1, 2011 at 4:25 PM, Theresa Jayne Forster <theresa@inbrand.co.uk
> wrote:

> I just checked the list going back to when I had the problem this is what
> I found back then….****
>
> ** **
>
> I thought I had posted, I discovered the issue, it was noclassdeffound****
>
> errors but tomcat was swallowing them so I wasn’t getting anywhere on
> debug,****
>
> however when I took the code into a stand alone app it gave me the error, I
> ****
>
> was missing all sorts of jars that the previous version of fop I was using
> ****
>
> (something like 0.23 modified) wasn’t needed, including xml-api-ext and***
> *
>
> Avalon framework. ****
>
> ** **
>
> ** **
>
> ** **
>
> Kindest regards****
>
> ** **
>
>
> Theresa Forster****
>
> Senior Software Developer
>
> ****
>



-- 
--- THIS IS A SIGNATURE NO NEED TO CLICK ON LINKS UNLESS YOU FEEL LIKE IT
---
http://jrsofty1.stinkbugonline.com
http://www.galahtech.org

RE: Freezing when attempting to create new instance of FopFactory.

Posted by Theresa Jayne Forster <th...@inbrand.co.uk>.
I just checked the list going back to when I had the problem this is what I
found back then..

 

I thought I had posted, I discovered the issue, it was noclassdeffound

errors but tomcat was swallowing them so I wasn't getting anywhere on debug,

however when I took the code into a stand alone app it gave me the error, I

was missing all sorts of jars that the previous version of fop I was using

(something like 0.23 modified) wasn't needed, including xml-api-ext and

Avalon framework. 

 

 

 

Kindest regards

 


Theresa Forster

Senior Software Developer




Re: Freezing when attempting to create new instance of FopFactory.

Posted by Klearchos Klearchou <kl...@eurodyn.com>.
Hi,

it sounds like you have a library problem.

What version of FOP are you using?
What are the libraries that your application is using?
Possibly you inherit some libraries from the application server.

I had a similar problem in the past and it was related with the libraries.

Regards,
k.


On 12/1/2011 5:11 PM, JRSofty wrote:
> Hello,
>
> I'm working on a print template system for an application, and 
> everything seemed to work fine, then I deployed it. The problem traces 
> down to where I create a new instance of the FopFactory by using:
>
>      FopFactory fopFactory = FopFactory.newInstance();
>
> Now here's the thing. There are no exceptions thrown, no errors either 
> it seems. It just gets to this point in the code and stops. Does 
> anyone know what could possibly be the problem, or where I should 
> start to look?
>
> -- 
> --- THIS IS A SIGNATURE NO NEED TO CLICK ON LINKS UNLESS YOU FEEL LIKE 
> IT ---
> http://jrsofty1.stinkbugonline.com
> http://www.galahtech.org



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


RE: Freezing when attempting to create new instance of FopFactory.

Posted by Theresa Jayne Forster <th...@inbrand.co.uk>.
I had something like that - it was hitting the create FopFactory and just
exiting, no error no nothing, 

 

To resolve this I set my logging to debug, and suddenly I saw the problem
appear in the logs.

 

Kindest regards

 


Theresa Forster

Senior Software Developer



From: JRSofty [mailto:jrsofty@gmail.com] 
Sent: 01 December 2011 15:12
To: fop-users@xmlgraphics.apache.org
Subject: Freezing when attempting to create new instance of FopFactory.

 

Hello,

 

I'm working on a print template system for an application, and everything
seemed to work fine, then I deployed it. The problem traces down to where I
create a new instance of the FopFactory by using:

 

     FopFactory fopFactory = FopFactory.newInstance();

 

Now here's the thing. There are no exceptions thrown, no errors either it
seems. It just gets to this point in the code and stops. Does anyone know
what could possibly be the problem, or where I should start to look?

 

-- 
--- THIS IS A SIGNATURE NO NEED TO CLICK ON LINKS UNLESS YOU FEEL LIKE IT
---
http://jrsofty1.stinkbugonline.com
http://www.galahtech.org