>I have a Java based API from Plumtree Software.  I know ColdFusion, but have
>very little Java knowledge.  I have to utilize this piece of software and
>its API.  So, I am still trying to make this API work with ColdFusion.
>Plumtree won't offer any support as they don't support ColdFusion.  So, here
>I am as a last resort for help.
> 
>I have some JSP examples that are provided by Plumtree that I am trying to
>duplicate to just get started.  In these JSP examples, after all of the
>library import calls is the following line of code ...
> 
>     IPortletContext context =
>PortletContextFactory.createPortletContext(request,response);
> 
>So, I assume I need to create a new object based upon the
>PortletContextFactory class (it is a class in a jar which I have put in the
>CFMX admin class path and then restarted) and then execute the
>createPortletContext method of that object as follows?
> 
>     <cfobject action="create" type="java"
>class="com.plumtree.remote.portlet.PortletContextFactory"
>name="oPortletContextFactory">
>     <cfset context =
>oPortletContextFactory.createPortletContext(request,response)>
> 
>First off, this throws an exception on the <cfobject tag stating "Object
>Instantiation Exception: An exception occurred when instantiating a java
>object.  The cause of this exception was that:
>com/plumtree/openfoundation/web/IXPRequest."  I have checked the class path
>to the PortletContextFactory class and that is correct.  So, what else could
>I be missing?
> 
>Second, in the second line, what is the request and response parameters
>being passed?  Is this a Java thing and if so, how is this handled within
>CF?
> 
>I am really lost here and my Java knowledge is so limited that I may really
>be missing something very simple here.  Anybody have any suggestions?
> 
>Thanks
>-- Jeff


Hi Jeff,

How is the performance of the application where u integrated the java based API 
with coldfusion? Did it have any adverse effect on your server? Currently I am 
in the process of integrating the same and am really concerned abt the 
performance.

ALso am getting this error:
An exception occurred when instantiating a java object. The cause of this 
exception was that: . 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212245
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to