upgrading from cf 8 to 10 - code issues?

88 views
Skip to first unread message

Kristin Gitler

unread,
Apr 22, 2013, 4:07:15 PM4/22/13
to cfu...@googlegroups.com

Hi All,

 

In upgrading from CF8 to 10, are there any common issues, programming-wise, that I might come across? The site was originally a CF MX (6) site, upgraded to 8, and now we are looking to upgrade to 10. 

 

-          It is already using Application.cfc.

-          I’ve read about some issues with web services, and also with file uploads, which I think I’m already ok on. 

-          I am using the old CFX_pdf tag from easel2, I suspect I’ll have to re-do this in CF10. 

 

Are there any other gotchas, programming wise, that anyone has come across?

 

Thanks,

 

Kristin

 

 

Trevor Hawkins

unread,
Mar 21, 2014, 12:48:32 PM3/21/14
to cfu...@googlegroups.com
This is almost a year old but we are going through the same process you did.  Having problems with cf_pdf in particular on cf10. Did you find a fix or did you just rewrite that part?
Thanks,
Trevor

Kristin

unread,
Mar 21, 2014, 2:50:25 PM3/21/14
to cfu...@googlegroups.com

Hi Trevor,

We were able to keep using the cfx_pdf tag from easel2 on CF10 with few issues, I think I had to tweak a little bit of formatting is all.  Still planning on rewriting it, but since it still works, that project is on the back burner.  What kind of issues are you having?

Kristin

Trevor Hawkins

unread,
Mar 21, 2014, 4:45:12 PM3/21/14
to cfu...@googlegroups.com
Thanks for the quick reply. It might be an issue w/ the site not seeing the custom tag even though the "Custom Tag Path" is correct. I verified that there is "CFX_PDF.jar" in the custom tag path, but also see "pdf.cfm" (with all the other pdf_ files).  They are the same files and in the same path as the CF8 setup so assume they are still correct.

I added the Java CFX to CF10 Admin with the same settings that were set in CF8.

CF8
---
Tag Name:   cfx_pdf
Class Name: com.easel2.cfxpdf.CFX_PDF

Tried these settings on CF10
Tag Name:   cfx_pdf
Class Name: com.easel2.cfxpdf.CFX_PDF
Error:      Error processing CFX custom tag CFX_com.easel2.cfxpdf.CFX_PDF.

Sigh, so tried this.

Tag Name:   cfx_pdf
Class Name: cfx_pdf
Error:      Error processing CFX custom tag CFX_cfx_pdf.

Dbl sigh, so tried this.

Double "cfx_cfx_" which was weird so I tried this:
Tag Name:   cfx_pdf
Class Name: pdf
Error:      Error processing CFX custom tag CFX_PDF.

Are you able to see how you have it registers?

Thanks again.

- Trevor

Kristin

unread,
Mar 24, 2014, 9:32:52 AM3/24/14
to cfu...@googlegroups.com
Did you add the class path in Server Settings / Java & JVM?

Here's how I have it:
Under Extensions:
Tag Name: cfx_pdf
Class name: com.easel2.cfxpdf.CFX_PDF

Under Server Settings / Java & JVM:
ColdFusion Class Path:
G:\ColdFusion10\cfusion\cfx\java\CFX_PDF.jar

Once that's done, I can see it in the Settings Summary:
Then, if I view Settings Summary, I see:
Under JVM Detail:
CF Server Java Class Path - last one in the list is G:/ColdFusion10/cfusion/cfx/java/CFX_PDF.jar; 

Then under Extensions (in the Summary), I see 
 
CFX Tags 
cfx_pdf   
Tag name  cfx_pdf   
Description  
Type  java   
Class name  com.easel2.cfxpdf.CFX_PDF   

Kristin

Trevor Hawkins

unread,
Mar 24, 2014, 2:53:08 PM3/24/14
to cfu...@googlegroups.com
YOU ARE THE BEST! I knew it was something simple. I added the class path and it works now. Weird that it wasn't set on the old CF8 machines.  Oh well, it works now.  Thanks again.


--
You received this message because you are subscribed to a topic in the Google Groups "Central New York ColdFusion Users Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cfugcny/mnO7iq1VBEQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cfugcny+u...@googlegroups.com.
To post to this group, send email to cfu...@googlegroups.com.
Visit this group at http://groups.google.com/group/cfugcny.
For more options, visit https://groups.google.com/d/optout.

Kristin

unread,
Mar 24, 2014, 3:29:04 PM3/24/14
to cfu...@googlegroups.com
Glad to finally help with something - usually I'm the one asking!  

Kristin 
Reply all
Reply to author
Forward
0 new messages