Taffy, Coldfusion 10, Ubuntu Linux and JBOSS

70 views
Skip to first unread message

Luiz Milfont

unread,
Feb 5, 2014, 1:26:16 PM2/5/14
to taffy...@googlegroups.com
Dear friends,

My company recently replaced our application servers from Windows 2003 and Coldfusion 8 to Ubuntu Linux, JBOSS and Coldfusion 10.
I had some APIs made in Coldfusion that used Taffy. All of them stopped working in this new environment.

When I consume the Taffy REST URLs they return nothing. Don´t even show any errors. Very similar to when you mistake
the name of the taffy_uri parameter.

I tried creating mappings on Coldfusion Administrator, but it did not work.

But, if I change the dot notation path where the component extends from taffy.core.api, for example, then it says that
component could not be found.

It seems Taffy is indeed able to find components, but it just don´t return a thing on Linux.

I thought it could be something related to case sensitive characters, but I checked everything and there´s nothing wrong.

I tried downloading latest Taffy version, it did not work also.

Any clue on this? Maybe some incompatibility with JBOSS?

Thanks in advance,
Regards,
Luiz Milfont.

Luiz Milfont

unread,
Feb 6, 2014, 10:47:04 AM2/6/14
to taffy...@googlegroups.com
Friends,

I decided to build a brand new Coldfusion 10 installation from the ground up and then test it directly, without JBOSS.
Guess what? This way it worked without any modifications on the source-code. I am writing this post to let you know
that aparently there is nothing wrong with Taffy.

On the other hand, I could not make it work on JBOSS yet. As soon as I get an answer I will share it with you guys here.

Regards,
Milfont.

Adam Tuttle

unread,
Feb 6, 2014, 10:46:46 AM2/6/14
to taffy...@googlegroups.com
Hi Luiz,

I apologize for not being able to jump on this right now. I'm in the middle of a crucial and busy two weeks for my business, and I'm among the half-million or so in south eastern PA without power.

I promise I will get back to this ASAP if it hasn't been resolved by the time I'm able to get back!

Good luck...

Adam


--
You received this message because you are subscribed to the Google Groups "Taffy Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to taffy-users...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Adam Tuttle

unread,
Feb 6, 2014, 10:49:58 AM2/6/14
to taffy...@googlegroups.com
Sounds like it may be an issue similar to this known idiosyncrasy of Tomcat

Adam


Luiz Milfont

unread,
Feb 7, 2014, 9:12:51 PM2/7/14
to taffy...@googlegroups.com
Dear Adam,

Exactly! We solved this issue today. It´s the same problem that occurs with Tomcat.
We solved by adding these lines of code in the web.xml file located in the web-inf folder
of the Coldfusion installation, in our case, inside deploy folder of JBOSS. Now Taffy
works flawlesly with Coldfusion 10 and JBOSS 5.1.0:

    </servlet-mapping>
      <servlet-mapping id="coldfusion_mapping_300">
         <servlet-name>CfmServlet</servlet-name>
         <url-pattern>/apiEducacao/apresentacao/rest/index.cfm/*</url-pattern>
     </servlet-mapping>

I our case /apiEducacao/apresentacao/rest/index.cfm is the Taffy endpoint, where our resources are
located. Once we added these lines and restarted JBOSS, everything got working as expected.

Thanks a lot.
Add this information to your documentation!

Also, I would like you to know that in Rio de Janeiro local government (city government), we are developing REST open data
APIs all based on Taffy!

Great work, Taffy is awesome.

Do you now an Android APP named "Moovit"? Well, they consume our real time GPS services to display bus positions
on their APP. And the API where it comes from is all based on Taffy and Coldfusion! Works great. It is dealing with a huge number of simultaneous
users. Perfectly.

Best wishes,
Luiz Milfont.

Adam Tuttle

unread,
Feb 8, 2014, 12:53:40 PM2/8/14
to taffy...@googlegroups.com
Cool, I updated the docs to reflect that it's not just Tomcat that has this issue. They're building and deploying now.

Adam
Reply all
Reply to author
Forward
0 new messages