We have only one instance.
I did a compare on the server that is working to server of issue. The JAR
file was off by 100 bits. I updated JAR and restarted and Now I still have
issues, but different behavior.
(new error message is a sign of progress, right)
PDF file is being created but the JAVA error is within the JAR out of my
control.
PDF file in 644 and owner by coldfusion:coldfusion. I was again thinking
permissions but nothing to prove it.
org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [CfmServlet] in context with path [/]
threw exception [Servlet execution threw an exception] with root cause
java.lang.NoSuchMethodError: com.lowagie.text.Rectangle.width()F
at com.co.itext.pdf_writer.GridBase.initSizes(GridBase.java:58)
at
com.co.itext.pdf_writer.pdfLibReplace.open_file(pdfLibReplace.java:56)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at coldfusion.runtime.StructBean.invoke(StructBean.java:508)
at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2465)
at
cfcspec_lib2ecfc963610666$funcPDF_INITIALIZE.runFunction(/var/www/html/empower_prod/cfcs/forms/cspec_lib.cfc:46)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
at
coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
Sent at 3:09 PM on Thursday
Joshua:
"Error","ajp-bio-8012-exec-5","10/31/13","13:58:59","ROOT_APP","com.lowagie.text.Rectangle.width()F
The specific sequence of files included or processed is:
/var/www/html/empower_prod/forms/gen_cf/inq_app_screen_finished2.cfm, line:
46 "
java.lang.NoSuchMethodError: com.lowagie.text.Rectangle.width()F
Sent at 3:10 PM on Thursday
On Thursday, October 31, 2013 3:57:36 PM UTC-4, Ajas Mohammed wrote:
>
> Ok, how about instances, you mention CF10 but you dont mention anything
> about instances.
>
> Is your site setup on CFUSION instance or some other instance? Give us
> more details.
>
> <Ajas Mohammed />
> iUseDropbox(http://db.tt/63Lvone9)
> http://ajashadi.blogspot.com
> We cannot become what we need to be, remaining what we are.
> No matter what, find a way. Because thats what winners do.
> You can't improve what you don't measure.
> Quality is never an accident; it is always the result of high intention,
> sincere effort, intelligent direction and skillful execution; it represents
> the wise choice of many alternatives.
>
>
> On Thu, Oct 31, 2013 at 1:52 PM, <[email protected] <javascript:>>wrote:
>
>> Thank you. Yes, we have restarted CF many times. We have attempted to
>> move the location of the JAR file and we have restarted every time.
>>
>> Thanks.
>>
>>
>> On Thursday, October 31, 2013 1:11:56 PM UTC-4, Ajas Mohammed wrote:
>>
>>> Well, just a shot in dark, did you try restarting CF after adding the
>>> jar file? Or just do a restart and see if that helps.
>>>
>>> Thanks,
>>>
>>> <Ajas Mohammed />
>>> iUseDropbox(http://db.tt/**63Lvone9 <http://db.tt/63Lvone9>)
>>> http://ajashadi.blogspot.com
>>> We cannot become what we need to be, remaining what we are.
>>> No matter what, find a way. Because thats what winners do.
>>> You can't improve what you don't measure.
>>> Quality is never an accident; it is always the result of high intention,
>>> sincere effort, intelligent direction and skillful execution; it represents
>>> the wise choice of many alternatives.
>>>
>>>
>>> On Thu, Oct 31, 2013 at 11:19 AM, <[email protected]> wrote:
>>>
>>>> I do not think it is a typo.
>>>>
>>>> Looking at Path Via CFAdmin it shows:
>>>>
>>>> "
>>>> :opt/coldfusion10/cfusion/lib/**updates/chf10000011.jar:
>>>> :opt/coldfusion10/cfusion/**lib/pdflib.jar:
>>>> :opt/coldfusion10/cfusion/**lib/dpHibernate.jar:
>>>>
>>>> "
>>>>
>>>> In this way. The file is in the directory
>>>> /opt/coldfusion10/cfusion/lib/**(myjavacode).jar
>>>>
>>>> Thanks for asking, I know how these little details can mean the whole
>>>> thing not to be working. This is the outside in looking that I am hoping
>>>> to get this little issue corrected.
>>>>
>>>>
>>>> On Thursday, October 31, 2013 11:07:45 AM UTC-4, Billy Cravens wrote:
>>>>
>>>>> You list the path as :opt/coldfusion10/cfusion/lib/
>>>>>
>>>>> Is the lack of leading slash a typo?
>>>>>
>>>>>
>>>>>
>>>>> Billy Cravens
>>>>> [email protected]
>>>>>
>>>>>
>>>>>
>>>>> On Oct 31, 2013, at 8:57 AM, [email protected] wrote:
>>>>>
>>>>> Group.
>>>>>
>>>>> New to Group but CF coder for years. (who cares)
>>>>>
>>>>> Situation is we have code that works on all our clients that it is
>>>>> installed on. We installed new server for one client on Red Hat 6
>>>>> ColdFusion 10.
>>>>>
>>>>> All site has been working BUT this one older company_pdf.jar issue.
>>>>>
>>>>> Code goes like this....
>>>>>
>>>>> l_pdf = CreateCFC("forms","inq_app_**pdf**");
>>>>> l_pdf.render_pdf( l_dflt_id, PDFPATH, WEB_ERROR_EMAILS, ADMIN_EMAIL,
>>>>> "");
>>>>>
>>>>>
>>>>> <! --- CreateCFC --->
>>>>> <cffunction name="CreateCFC" access="public" returntype="any"
>>>>> output="false" hint="Creates a CFC Creation proxy. Does NOT initialize
>>>>> the
>>>>> component, only creates it.">
>>>>> <!--- Define arguments. --->
>>>>> <cfargument name="Path" type="string" required="true" />
>>>>> <cfargument name="cfcname" type="string" required="true" />
>>>>> <!--- Return the created component. --->
>>>>> <cfreturn CreateObject("component",(**ARGU**MENTS.Path & "." &
>>>>> ARGUMENTS.cfcname))/>
>>>>> </cffunction>
>>>>>
>>>>> that all works....assuming
>>>>>
>>>>> <! --- inq_app_pdf.cfc --->
>>>>> <CFCOMPONENT displayname = "Application PDF Object" extends="co_lib">
>>>>> <CFFUNCTION name="render_pdf" output="true" returntype="string"
>>>>> displayname="A Test Function">
>>>>> ...
>>>>> set lpath = (location on server)
>>>>> this.PDF_Initialize (l_path,"");
>>>>>
>>>>> </cffunction>
>>>>> ...
>>>>> </CFCOMPONENT>
>>>>>
>>>>> <!--- co_lib.cfc --->
>>>>> <CFCOMPONENT displayname = "Test Component">
>>>>> ...
>>>>> <CFFUNCTION name="PDF_Initialize" output="false" returntype="void"
>>>>> displayname="PDFLib Initialize Method">
>>>>> <CFARGUMENT name="p_file_name" required="true">
>>>>> <CFARGUMENT name="p_pdflibserial" required="false">
>>>>> <CFSCRIPT>
>>>>> this.oPDF = createObject("java", "com.co.itext.pdf_writer.**pdfLi**
>>>>> bReplace").init();
>>>>> this.show_box = false;
>>>>> this.oPDF.open_file(p_file_**n**ame);
>>>>> </CFSCRIPT>
>>>>> </CFFUNCTION>
>>>>>
>>>>> ...
>>>>> </CFCOMPONENT>
>>>>>
>>>>>
>>>>> ERROR IS:
>>>>>
>>>>> Object Instantiation Exception.
>>>>> Class not found: com.co.itext.pdf_writer.**pdfLib**Replace
>>>>>
>>>>> The JAR file is located in :opt/coldfusion10/cfusion/lib/ path and is
>>>>> in the "CF Server Java Class Path " when I look at it via the CF Admin.
>>>>>
>>>>> All of this exact same code works on Windows and Linux (older) sites.
>>>>>
>>>>> I keep going back to permissions on JAR or perhaps a references Class
>>>>> within JAR ? Not sure. Source code for JAR does not exists working on
>>>>> decompiling to see if that helps.
>>>>>
>>>>> Any Suggestions PLEASE. I have nothing else to go with here. Don't
>>>>> want to re-write it since it works on other servers and locations......
>>>>>
>>>>> Please, Please.
>>>>>
>>>>> Let me know what else may be helpful......
>>>>>
>>>>> Stack Trace
>>>>> at cfco_lib2ecfc963610666$**funcPDF**_INITIALIZE.**runFunction(/var/**
>>>>> www/html/**prod/cfcs/forms/co_**lib.cfc:40)**
>>>>> at cfinq_app_pdf2ecfc740122486$**fu**ncRENDER_PDF.runFunction(/**var/*
>>>>> *www/html/prod/cfcs/forms/**inq_**app_pdf.cfc:200)
>>>>> at cfinq_app_screen_**finished22ecf**m913491559._**factor11(/var/www/*
>>>>> *html/prod/**forms/gen_cf/inq_**app_screen_**finished2.cfm:37)
>>>>> at cfinq_app_screen_**finished22ecf**m913491559.**runPage(/var/www/**
>>>>> html/prod/**forms/gen_cf/inq_**app_screen_**finished2.cfm:1)
>>>>>
>>>>>
>>>>> java.lang.**ClassNotFoundExcepti**on: com.co.itext.pdf_writer.**pdfLib
>>>>> **Replace
>>>>> at coldfusion.bootstrap.**Bootstrap**ClassLoader.**loadClass(**
>>>>> Bootstra**pClassLoader.java:235)
>>>>> at java.lang.ClassLoader.**loadClas**s(ClassLoader.java:**247)
>>>>> at coldfusion.runtime.java.**JavaPr**oxyFactory.getProxy(**JavaProxyF
>>>>> **actory.java:121)
>>>>> at coldfusion.runtime.**ProxyFactor**y.getProxy(**ProxyFactory.java:**
>>>>> 65)
>>>>> at coldfusion.runtime.CFPage.**crea**teObjectProxy(CFPage.java:**5757
>>>>> **)
>>>>> at coldfusion.tagext.lang.**ObjectT**ag.doStartTag(**ObjectTag.java:**
>>>>> 441)
>>>>> at coldfusion.runtime.CfJspPage._****emptyTcfTag(CfJspPage.java:**279
>>>>> **9)
>>>>> at cfcspec_lib2ecfc963610666$**func**PDF_INITIALIZE.**runFunction(/**
>>>>> var/www/html/**prod/cfcs/forms/**cspec_lib.cfc:**40)
>>>>> at coldfusion.runtime.UDFMethod.**i**nvoke(UDFMethod.java:472)
>>>>> at coldfusion.filter.**SilentFilter**.invoke(**SilentFilter.java:47)
>>>>> at coldfusion.runtime.UDFMethod$**R**eturnTypeFilter.invoke(**UDFMeth
>>>>> **od.java:405)
>>>>> at coldfusion.runtime.UDFMethod$**A**rgumentCollectionFilter.**invoke*
>>>>> *(UDFMethod.java:368)
>>>>> at coldfusion.filter.**FunctionAcce**ssFilter.invoke(**FunctionAccess
>>>>> **Filter.java:55)
>>>>> at coldfusion.runtime.UDFMethod.**r**unFilterChain(UDFMethod.java:**3*
>>>>> *21)
>>>>> at coldfusion.runtime.UDFMethod.**i**nvoke(UDFMethod.java:220)
>>>>> at coldfusion.runtime.**TemplatePro**xy.invoke(**TemplateProxy.java:**
>>>>> 655)
>>>>> at coldfusion.runtime.**TemplatePro**xy.invoke(**TemplateProxy.java:*
>>>>> *444)
>>>>> at coldfusion.runtime.**TemplatePro**xy.invoke(**TemplateProxy.java:**
>>>>> 414)
>>>>> at coldfusion.runtime.CfJspPage._****invoke(CfJspPage.java:2432)
>>>>> at cfinq_app_pdf2ecfc740122486$**fu**ncRENDER_PDF.runFunction(/**var/*
>>>>> *www/html/prod/cfcs/forms/**inq_**app_pdf.cfc:200)
>>>>> at coldfusion.runtime.UDFMethod.**i**nvoke(UDFMethod.java:472)
>>>>> at coldfusion.runtime.UDFMethod$**R**eturnTypeFilter.invoke(**UDFMeth*
>>>>> *od.java:405)
>>>>> at coldfusion.runtime.UDFMethod$**A**rgumentCollectionFilter.**invoke
>>>>> **(UDFMethod.java:368)
>>>>> at coldfusion.filter.**FunctionAcce**ssFilter.invoke(**FunctionAccess*
>>>>> *Filter.java:55)
>>>>> at coldfusion.runtime.UDFMethod.**r**unFilterChain(UDFMethod.java:**3
>>>>> **21)
>>>>> at coldfusion.runtime.UDFMethod.**i**nvoke(UDFMethod.java:220)
>>>>> at coldfusion.runtime.**TemplatePro**xy.invoke(**TemplateProxy.java:*
>>>>> *655)
>>>>> at coldfusion.runtime.**TemplatePro**xy.invoke(**TemplateProxy.java:**
>>>>> 444)
>>>>> at coldfusion.runtime.**TemplatePro**xy.invoke(**TemplateProxy.java:*
>>>>> *414)
>>>>> at coldfusion.runtime.CfJspPage._****invoke(CfJspPage.java:2432)
>>>>> at cfinq_app_screen_**finished22ecf**m913491559._**factor11(/var/www/
>>>>> **html/prod/**forms/gen_cf/inq_**app_screen_**finished2.cfm:37)
>>>>> at cfinq_app_screen_**finished22ecf**m913491559.**runPage(/var/www/**
>>>>> html/prod/**forms/gen_cf/inq_**app_screen_**finished2.cfm:1)
>>>>> at coldfusion.runtime.CfJspPage.**i**nvoke(CfJspPage.java:244)
>>>>> at coldfusion.tagext.lang.**Include**Tag.doStartTag(**IncludeTag.**
>>>>> java:444)
>>>>> at coldfusion.filter.**CfincludeFil**ter.invoke(**CfincludeFilter.**
>>>>> java:65)
>>>>> at coldfusion.filter.IpFilter.**inv**oke(IpFilter.java:64)
>>>>> at coldfusion.filter.**ApplicationF**ilter.invoke(**ApplicationFilter
>>>>> **.java:449)
>>>>> at coldfusion.filter.**RequestMonit**orFilter.invoke(**RequestMonitor*
>>>>> *Filter.java:48)
>>>>> at coldfusion.filter.**MonitoringFi**lter.invoke(**MonitoringFilter.*
>>>>> *java:40)
>>>>> at coldfusion.filter.PathFilter.**i**nvoke(PathFilter.java:112)
>>>>> at coldfusion.filter.**ExceptionFil**ter.invoke(**ExceptionFilter.**
>>>>> java:94)
>>>>> at coldfusion.filter.**BrowserDebug**Filter.invoke(**BrowserDebugFilt*
>>>>> *er.java:79)
>>>>> at coldfusion.filter.**ClientScopeP**ersistenceFilter.**invoke(**
>>>>> Client**ScopePersistenceFilter.**java:**28)
>>>>> at coldfusion.filter.**BrowserFilte**r.invoke(**BrowserFilter.java:**
>>>>> 38)
>>>>> at coldfusion.filter.**NoCacheFilte**r.invoke(**NoCacheFilter.java:**
>>>>> 46)
>>>>> at coldfusion.filter.**GlobalsFilte**r.invoke(**GlobalsFilter.java:**
>>>>> 38)
>>>>> at coldfusion.filter.**DatasourceFi**lter.invoke(**DatasourceFilter.*
>>>>> *java:22)
>>>>> at coldfusion.filter.**CachingFilte**r.invoke(**CachingFilter.java:**
>>>>> 62)
>>>>> at coldfusion.CfmServlet.service(****CfmServlet.java:219)
>>>>> at coldfusion.bootstrap.**Bootstrap**Servlet.service(**BootstrapServl*
>>>>> *et.java:89)
>>>>> at org.apache.catalina.core.**Appli**cationFilterChain.**internalDoFi
>>>>> **lter(**ApplicationFilterChain.**java:**305)
>>>>> at org.apache.catalina.core.**Appli**cationFilterChain.**doFilter(**
>>>>> App**licationFilterChain.java:**210)
>>>>> at coldfusion.monitor.event.**Monit**oringServletFilter.**doFilter(**
>>>>> Mo**nitoringServletFilter.java:**42)
>>>>> at coldfusion.bootstrap.**Bootstrap**Filter.doFilter(**BootstrapFilte*
>>>>> *r.java:46)
>>>>> at org.apache.catalina.core.**Appli**cationFilterChain.**internalDoFi
>>>>> **lter(**ApplicationFilterChain.**java:**243)
>>>>> at org.apache.catalina.core.**Appli**cationFilterChain.**doFilter(**
>>>>> App**licationFilterChain.java:**210)
>>>>> at org.apache.catalina.core.**Stand**ardWrapperValve.invoke(**Standar
>>>>> **dWrapperValve.java:224)
>>>>> at org.apache.catalina.core.**Stand**ardContextValve.invoke(**Standar*
>>>>> *dContextValve.java:169)
>>>>> at org.apache.catalina.**authentica**tor.**AuthenticatorBase.invoke(*
>>>>> *A**uthenticatorBase.java:472)
>>>>> at org.apache.catalina.core.**Stand**ardHostValve.invoke(**StandardHo*
>>>>> *stValve.java:168)
>>>>> at org.apache.catalina.valves.**Err**orReportValve.invoke(**ErrorRepo
>>>>> **rtValve.java:98)
>>>>> at org.apache.catalina.valves.**Acc**essLogValve.invoke(**AccessLogVa*
>>>>> *lve.java:928)
>>>>> at org.apache.catalina.core.**Stand**ardEngineValve.invoke(**Standard
>>>>> **EngineValve.java:118)
>>>>> at org.apache.catalina.connector.****CoyoteAdapter.service(**CoyoteAd*
>>>>> *apter.java:414)
>>>>> at org.apache.coyote.ajp.**AjpProce**ssor.process(**AjpProcessor.**
>>>>> java:204)
>>>>> at org.apache.coyote.**AbstractProt**ocol$**AbstractConnectionHandler*
>>>>> *.**process(AbstractProtocol.**java:**539)
>>>>> at org.apache.tomcat.util.net.**JIo**Endpoint$SocketProcessor.**run(*
>>>>> *JIoEndpoint.java:298)
>>>>> at java.util.concurrent.**ThreadPoo**lExecutor$Worker.**runTask(**
>>>>> ThreadPoolExecutor.**java:886)
>>>>> at java.util.concurrent.**ThreadPoo**lExecutor$Worker.run(**ThreadPoo
>>>>> **lExecutor.java:908)
>>>>> at java.lang.Thread.run(Thread.**ja**va:662)
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> --
>>>>> You received this message because you are subscribed to the "Houston
>>>>> ColdFusion Users' Group" discussion list.
>>>>> To unsubscribe, send email to houcfug-u...@**googlegroups.com
>>>>>
>>>>> For more options, visit http://groups.google.com/**group**
>>>>> /houcfug?hl=en <http://groups.google.com/group/houcfug?hl=en>
>>>>>
>>>>> ---
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Houston ColdFusion Users' Group" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to houcfug+u...@**googlegroups.com.
>>>>>
>>>>> For more options, visit
>>>>> https://groups.google.com/**grou**ps/opt_out<https://groups.google.com/groups/opt_out>
>>>>> .
>>>>>
>>>>>
>>>>> --
>>>> --
>>>> You received this message because you are subscribed to the "Houston
>>>> ColdFusion Users' Group" discussion list.
>>>> To unsubscribe, send email to houcfug-u...@**googlegroups.com
>>>> For more options, visit
>>>> http://groups.google.com/**group/houcfug?hl=en<http://groups.google.com/group/houcfug?hl=en>
>>>>
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Houston ColdFusion Users' Group" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to houcfug+u...@**googlegroups.com.
>>>> For more options, visit
>>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>>>> .
>>>>
>>>
>>> --
>> --
>> You received this message because you are subscribed to the "Houston
>> ColdFusion Users' Group" discussion list.
>> To unsubscribe, send email to [email protected] <javascript:>
>> For more options, visit http://groups.google.com/group/houcfug?hl=en
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Houston ColdFusion Users' Group" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
--
--
You received this message because you are subscribed to the "Houston ColdFusion
Users' Group" discussion list.
To unsubscribe, send email to [email protected]
For more options, visit http://groups.google.com/group/houcfug?hl=en
---
You received this message because you are subscribed to the Google Groups
"Houston ColdFusion Users' Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.