Home » Developer & Programmer » Forms » Direct Printing - Having error in java console relating to PDFBox-app-1.7.1.jar (WinXP , Database 10g , Developer suite 10.2)
Direct Printing - Having error in java console relating to PDFBox-app-1.7.1.jar [message #565492] Tue, 04 September 2012 13:35
alammas
Messages: 46
Registered: July 2008
Member
Hello all

I have signed three file Directprint.jar , pdfbox-app-1.7.1.jar ,fontbox-0.1.0 and put in Suite_Home/Forms/java.

All can be download from application server http://localhost:8889/forms/java/

Using JRE version 1.6.0_35-b10 Java HotSpot(TM) Client VM

formsweb.config
[directprint]
serverApp=default
form=DIRECTPRINTDEMO.fmx

envFile=default.env
workingDirectory=C:\Temp
archive=frmall.jar,Dsd.jar,pdfbox-app-1.7.1.jar,FontBox-0.1.0.jar

imageBase=CodeBase
baseHTMLJInitiator=basejpi.htm
jpi_classid=clsid:CAFEEFAC-0016-0000-0034-ABCDEFFEDCBA
jpi_mimetype=application/x-java-applet;jpi-version=1.6.0_34
jpi_codebase=http://javadl-esd.sun.com/update/1.6.0/jinstall-6u34-windows-i586.cab#Version=1,6,0,34
jpi_download_page=http://www.oracle.com/technetwork/java/javase/downloads
colorScheme=blaf


And produces error at java console

Java Plug-in 1.6.0_35
Using JRE version 1.6.0_35-b10 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\Administrator
----------------------------------------------------
c:   clear console window
f:   finalize objects on finalization queue
g:   garbage collect
h:   display this help message
l:   dump classloader list
m:   print memory usage
o:   trigger logging
q:   hide console
r:   reload policy configuration
s:   dump system and deployment properties
t:   dump thread list
v:   dump thread stack
x:   clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------


proxyHost=null
proxyPort=0
connectMode=HTTP, native.
Forms Applet version is : 10.1.2.0
Exception in thread "thread applet-oracle.forms.engine.Main-1" java.lang.NoClassDefFoundError: org/pdfbox/pdmodel/font/PDFont
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Unknown Source)
	at oracle.forms.handler.UICommon.instantiate(Unknown Source)
	at oracle.forms.handler.UICommon.onCreate(Unknown Source)
	at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
	at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
	at oracle.forms.engine.Runform.processMessage(Unknown Source)
	at oracle.forms.engine.Runform.processSet(Unknown Source)
	at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
	at oracle.forms.engine.Runform.onMessage(Unknown Source)
	at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
	at oracle.forms.engine.Runform.startRunform(Unknown Source)
	at oracle.forms.engine.Main.createRunform(Unknown Source)
	at oracle.forms.engine.Main.start(Unknown Source)
	at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.pdfbox.pdmodel.font.PDFont
	at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
	at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
	at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
	at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	... 16 more


Please help me to find out the problem.
Previous Topic: Unable to form relationship
Next Topic: calling form error
Goto Forum:
  


Current Time: Tue Oct 21 06:31:44 CDT 2014

Total time taken to generate the page: 0.12641 seconds