Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Java : avalon framework configuration exception  RSS feed

 
Parth Pateld
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I am converting xml file to PDF using FOP.jar and avalon-framework-api-4.3.jar and some other jar files.
My program is working fine if i run it on my desktop machine.
Now i have created jar file of my swing application and put it on server using JWS(Java Web Start).
But now if i am trying to convert xml file to pdf file on server end using JWS, it is showing me "avalon framework configuration exception"

How can i solve this exception ?
 
Parth Pateld
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can any one help me on this topic...??
 
Parth Pateld
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to solve org.apache.avalon.framework.configuration.ConfigurationException exception comes while converting xml file to pdf file using Swing application which embedded in JWS application.

I could not found any solution for this

Thank you in advance.
 
Rob Spoor
Sheriff
Posts: 20904
81
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you please show the entire stack trace, and the code of the method it's thrown from?
 
Parth Pateld
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Following is the Entire stack trace of error :

:ERROR::java.lang.NoClassDefFoundError: org/apache/avalon/framework/configuration/ConfigurationException
at org.apache.fop.apps.FopFactory.<init>(FopFactory.java:149)
at org.apache.fop.apps.FopFactory.newInstance(FopFactory.java:165)
at sc_automation_gui_final.cmos28.javafiles.DatasheetToPDF.convertXMLtoPDF(DatasheetToPDF.java:98)
at sc_automation_gui_final.SC_AUTOMATION_GUI_FINALView.makePDF_ButtonMouseClicked(SC_AUTOMATION_GUI_FINALView.java:715)
at sc_automation_gui_final.SC_AUTOMATION_GUI_FINALView.access$500(SC_AUTOMATION_GUI_FINALView.java:29)
at sc_automation_gui_final.SC_AUTOMATION_GUI_FINALView$6.mouseClicked(SC_AUTOMATION_GUI_FINALView.java:251)
at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
org/apache/avalon/framework/configuration/ConfigurationException**********Processing...


Follwing is the code which i was using for converting xml to pdf.
I have created a Swing application to convert XML to PDF and embedded this Swing application in JWS, so that everyone can access it through Web.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!