You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Rabi Shanker <ra...@hotmail.com> on 2001/04/09 17:05:49 UTC

problem with fop servlet

hi,
  i am trying to generate pdf files from the server side.  i am using apache 
webserver
jakarta-tomcat 3.2.1 and
fop0.14
  i put the fop.war file in the webapps directory of Tomcat.  but while 
running i am getting an error.  could someone tell me what exactly is the 
problem.
  the error is as follows
thanx in advance.
cheers!!!
Rabi

Error: 500
Location: /examples/servlet/FopServlet
Internal Servlet Error:

java.lang.NullPointerException
	at java.lang.ClassLoader.resolveClass0(Native Method)
	at java.lang.ClassLoader.resolveClass(ClassLoader.java:588)
	at 
org.apache.tomcat.loader.AdaptiveClassLoader.loadClass(AdaptiveClassLoader.java:430)
	at 
org.apache.tomcat.loader.AdaptiveServletLoader.loadClass(AdaptiveServletLoader.java:174)
	at 
org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java:265)
	at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:289)
	at org.apache.tomcat.core.Handler.service(Handler.java:254)
	at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
	at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
	at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
	at 
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
	at 
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
	at java.lang.Thread.run(Thread.java:484)

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: problem with fop servlet

Posted by Alex McLintock <al...@yahoo.com>.
--- Rabi Shanker <ra...@hotmail.com> wrote:
> hi,
>   i am trying to generate pdf files from the server side.  i am using apache 
> webserver
> jakarta-tomcat 3.2.1 and
> fop0.14
>   i put the fop.war file in the webapps directory of Tomcat.  but while 
> running i am getting an error.  could someone tell me what exactly is the 
> problem.

I assume that you are using fop0.18 and not fop0.14


The WAR file as it stands in Fop-0.18.1-DEV does not seem to contain the 
fop.jar within it. After installing your WAR file create a directory  
...../webapps/fop/WEB-INF/lib (NOT the location I told you about in an earlier mail)
and copy fop.jar to it plus all the other jars which are needed (ie everything in 
the lib directory...)

Restart Tomcat.

That should get you going...

Alex

=====
Alex McLintock        alex@OWAL.co.uk
OpenWeb Analysts Ltd, http://www.OWAL.co.uk/ 
Software for Complex Websites.
Publisher of http://www.DiverseBooks.com
Get Your XML T-Shirt <t-shirt/> at www.inversity.co.uk

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org