• 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:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Java : avalon framework configuration exception

 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
can any one help me on this topic...??
 
Parth Pateld
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 22849
132
Eclipse IDE Spring Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic