LC ES and CF8
Does anyone have a sample of calling the LC ES Web services using CF (8 in my case). I constantly receive the error:<br /><br />Web service operation renderPDFForm with parameters {urlSpec={contentrooturi=C:\\Adobe&applicationwebroot=http://testLCserver:8080/FormsServi ceClientApp&targeturl=http://testLCserver:8080/FormsServiceClientApp/HandleData},renderPDF FormResult={Undefined},pdfFormRenderSpec={com.adobe.livecycle.formsservice.client.PDFFormR enderSpec@1c2e8a4},pageCount={javax.xml.rpc.holders.LongHolder@55d1b4},attachments={null}, inDataDoc={null},locale={javax.xml.rpc.holders.StringHolder@3aacb4},outRenderPDFFormResult Doc={{}},formQuery={Loan.xdp}} cannot be found.<br /><br />I have copied the following 2 jars to my lib directory:<br />adobe-forms-client.jar <br />adobe-livecycle-client.jar <br /><br />These were from the directory: Adobe\LiveCycle8\LiveCycle_ES_SDK\client-libs\common\<br /><br />I think my main issue is the blob data type, I could not find a class file in any of the jars in the sdk that defined this type. My issue could also be something in LC itself as I am brand new to the product. I am running the turnkey install on jboss, with samples installed.<br /><br />Here is the code I have thus far (hope it formats ok):<br />><cftry><br /> <cfscript><br /> serviceProxy = createObject("webservice", "http://testLCserver:8080/soap/services/FormsService?wsdl"); <br /> serviceProxy.setUserName( "administrator" );<br /> serviceProxy.setPassword("password");<br /> formQuery = "Loan.xdp"; <br /> renderAtClient = createObject("java", "com.adobe.livecycle.formsservice.client.RenderAtClient").yes;<br /> PDFFormRenderSpec = createObject("java", "com.adobe.livecycle.formsservice.client.PDFFormRenderSpec");<br /> PDFFormRenderSpec.setRenderAtClient(renderAtClient);<br /> URLSpec = createObject("java", "com.adobe.livecycle.formsservice.client.URLSpec");<br /> URLSpec.setApplicationWebRoot("http://testLCserver:8080/FormsServiceClientApp ");<br /> URLSpec.setContentRootURI("C:\\Adobe");<br /> URLSpec.setTargetURL("http://testLCserver:8080/FormsServiceClientApp/HandleDa ta");<br /> outRenderPDFFormResultDoc = structNew(); //createObject("java", "com.adobe.idp.services.holders.BLOBHolder");<br /> pageCount = createObject( "java", "javax.xml.rpc.holders.LongHolder").init();<br /> locale = createObject( "java", "javax.xml.rpc.holders.StringHolder").init();<br /> renderPDFFormResult = createObject("java", "com.adobe.livecycle.formsservice.client.FormsResult");<br /> </cfscript><br /> <cfinvoke <br /> webservice="#serviceProxy#"<br /> method="renderPDFForm"<br /> returnvariable="FormsResult"><br /> <cfinvokeargument name="formQuery" value="#formQuery#"/><br /> <cfinvokeargument name="inDataDoc" omit="yes"/><br /> <cfinvokeargument name="pdfFormRenderSpec" value="#PDFFormRenderSpec#"/><br /> <cfinvokeargument name="urlSpec" value="#URLSpec#"/><br /> <cfinvokeargument name="attachments" omit="yes" /><br /> <cfinvokeargument name="outRenderPDFFormResultDoc" value="#outRenderPDFFormResultDoc#"/><br /> <cfinvokeargument name="pageCount" value="#pageCount#" /> <br /> <cfinvokeargument name="locale" value="#locale#" /> <br /> <cfinvokeargument name="renderPDFFormResult" value="#renderPDFFormResult#"/><br /> </cfinvoke><br /> <cfcatch type="any"><br /> <cfdump var="#cfcatch#" /><br /> <cfoutput>serviceProxy: <br /></cfoutput><br /> <cfdump var="#serviceProxy#" /><br /> <cfoutput>formQuery: #formQuery#<br /></cfoutput><br /> <cfoutput>pdfFormRenderSpec:<br /></cfoutput><br /> <cfdump var="#pdfFormRenderSpec#"/><br /> <cfoutput><br />urlSpec:<br /></cfoutput><br /> <cfdump var="#urlSpec#"/><br /> <cfoutput>outRenderPDFFormResultDoc:<br /></cfoutput><br /> <cfdump var="#outRenderPDFFormResultDoc#"/><br /> <cfoutput>pageCount:<br /></cfoutput><br /> <cfdump var="#pageCount#"/><br /> <cfoutput>locale:<br /></cfoutput><br /> <cfdump var="#locale#"/><br /> <cfoutput>renderPDFFormResult:<br /></cfoutput><br /> <cfdump var="#renderPDFFormResult#"/><br /> </cfcatch><br /></cftry>
Hi, <br /><br />it's more simple than you imagine, if you call LC ES using Web Services do you not need to install any client library and, for example, to call a LC ES passing to it a BLOB with a PDF submission you can do:<br /><br /><cfscript><br /> mystruct = structnew();<br /> mystruct.username='administrator';<br /> mystruct.password='password';<br /> BLOB = structnew();<br /> BLOB['binaryData'] = getHttpRequestData().content;<br /> BLOB['contentType'] = 'application/pdf';<br /> BLOB['attachmentID'] = javacast('null','');<br /> BLOB['remoteURL'] = javacast('null','');<br /> targetUrl= 'http://';<br /> userAgent= javacast('null','');<br /> environmentBuffer = 'HTTP_REFERER=#CGI.SCRIPT_NAME#&CONTENT_TYPE=application/vnd.adobe.xdp';<br /></cfscript><br /><br /><cfscript><br /> ws2 = CreateObject("webservice", "http://192.168.91.202:8080/soap/services/mywsname?wsdl",mystruct);<br /></cfscript><br /><br /><cfscript><br /> ret = ws2.invoke(blob,environmentBuffer,javacast('null',''),javacast('null',''));<br /></cfscript><br /><br /><cfset soapreq = GetSOAPRequest(ws2)><br /><h2>SOAP Request</h2><br /><cfdump var="#soapreq#"><br /><br /><cfset soapresp = GetSOAPResponse(ws2)><br /><h2>SOAP Response</h2><br /><cfdump var="#soapresp#"><br /><br />Let me know if this can help you
Similar Messages
-
Client variables not working in Apache and CF8
I have Apache and CF8 set up with multiple virtual hosts
locally for development(win xp pro, apache 2.2.4)
Client variables are not working. I can log into CF
administrator fine(not sure if authentication uses client variables
or not). Any site that I work on that uses client variables behaves
as if the variable is not defined after setting it then going to
another page that checks for its existence. I have verified that
client variables are set up in cf administrator.
Thanks for any helpThanks a lot. I understood the mistake. Pls do not spend time on this.
Thanks,
Swarna -
Coexistence of CF7 and CF8 on one server
I have CFMX 7.2 running on a server using the external web
server, IIS6. I have installed CF8 in the multiserver configuration
onto the same server. What I read is that for these to coexist the
CF8 needs to be installed on the built-in web server (also what CF
apparently automatically does when the multiserver configuration is
installed).
One of my questions is this - if I have CF7 using the
external web server can I NOT run the web configuration tool and
connect my CF8 instances to the external web server also?
Another question is this - CF8 uses the webroot of
jrun4\servers\instancename\instance-ear\instance-war . I want the
developers to store their documents somewhere else. I have done the
virtual mapping in the jrun-web.xml but I can't get anything to
work when I do that. Is there anyway to point something to the
location of the users files and have them resolve them on a
website?You can get ColdFusion 7 and 8 running in both server install
mode connected via an external webserver and also via the JRun
multiserver setup. Here's some links to guides on doing both which
should help. Note they'll both need some manually config file
changing, you can't do it all with the wsconfig util.
Server Install
http://rickosborne.org/blog/index.php/2007/05/30/run-cf7-and-cf8-side-by-side-with-the-sam e-apache-server/
JRun
http://www.boyzoid.com/blog/index.cfm?mode=entry&entry=26E23F51-3048-55C9-437503C10E470E13
http://www.alagad.com/go/blog-entry/running-cf8-and-cf-7-on-jrun-with-apache -
Windows Updates Causing CFMX7 and CF8 to no longer run.
My CFMX7 and CF8 developer's copy will no longer run on my
computer. The only thing I've done is install window's updates.
Now, every time I reboot, I have to restore to a date about 2 weeks
ago. Then it will run until I have to reboot again. Then I have to
restore again. I have no idea what to do about this. Any help would
be appreciated.
I have both CFMX7 and CF8 installed to run as stand alone
concurrent systems. CFMX7 is supposed to run on port 8500. CF8 is
set to run on 8501. And both DO run, but only when I restore after
reboots.
The only thing I can think of doing at this point is
uninstalling both CF servers and reinstalling them. This will be a
hastle, though, since I'll have to re-setup all my ODBC sources and
copy my wwwroot folders, hoping I don't forget anything else that
I'll have to reset in the adminstrators after I reinstall. This
would be my last choice of action, but I have to act soon as this
is interfering with my dev work with customers.
Anyone have any suggestions?Zy Forever wrote:
> Thanks Ian. Can you give me more information on this, or
tell me where to look to find it?
The exact location depends on what flavor of CF you have
installed,
server, multi-home, j2ee, etc.
But there are a collection that in CF 7 where all called
neo-xxx.xml. I
believe the xml file names are similar for CF 8.
If you copy the desired xml file from your old installation
into a new
installation and then restart the CF server all the settings
can be
restored.
If you are using enterprise or development license servers
you can also
achieve the above using the built in CAR (ColdFusion Archive)
feature of
the administrator. -
A partner client asked about automatically authenticating
users from their web site to ours using SAML. I googled for a while
today and came across one older 6 part tutorial where most of it
seemed to be relatively specific to CF7. Knowing all of the great
new changes in CF8 that I now have at my disposal, is anyone aware
of any articles or tutorials about SAML and CF8?
Thanks,A partner client asked about automatically authenticating
users from their web site to ours using SAML. I googled for a while
today and came across one older 6 part tutorial where most of it
seemed to be relatively specific to CF7. Knowing all of the great
new changes in CF8 that I now have at my disposal, is anyone aware
of any articles or tutorials about SAML and CF8?
Thanks, -
Hi,
I configured iis7 and cf8. The question is that, do i put my
application under inetpub or under coldfusion 8 directory?
Weird things happening when i put it on both locations.
Sometimes changes dont effect etc.
Thank you,
SyedHi, I would put it under inetpub, but both are not an issue,
you can do either one.
What is your problem, as there should not really be any
problem here. -
Cs3 DW, ADDT toolbox and CF8
My fresh install is locking up.
Is anyone actually running toolbox, DW CS3 and CF8?
Tech support says that Toolbox is not compatible with DW8, but can't explain why it locks up even when I'm not connected (remote or testing) when I try to use the control panel.
It seems to me that the problem is between DW CS3 and Toolbox.Hi Gunter
As usual you have saved the day.
Firstly, I renamed the WinFileCache... file, opened up DW CS3 and the problem appears to have been resolved.
Secondly, now, that is a very interesting question regarding Daylight Savings which ended on 6th Apr, last weekend. Yesterday, 9th Apr, was the first time I had used DW CS3 since the week before last. (Have been on vacation. Now, I installed DW CS3 in Aug 2007 so yesterday was the first time it has been used since the ending of Daylight Savings last weekend. I did not experience this with DW-UD4, DW MX 2004 or DW 8 in previous years that I can recall.
Thanks again Gunter. If you ever make it to the Antipodes I will be pleased to by you a few beers. -
Issues with Flex3 and CF8 on Windows Vista
Sorry for the whine, however I feel it necessary to get a few
issues I've found with Flex3 on a Vista Laptop working with CF8
that I've not seen documented elsewhere.
Environment:
Sony Laptop with Intel Core 2 Duo processor and 3 GB Ram.
Running CF 8 Standard Edition, along with mySQL 5.x and
access to a SQL Server instance on another machine on the same
local network.
What I am trying to do:
A) learn flex, my background is CF with over 8 years of
experience along with Flash AS2 along the way.
B) put together a hello world app.
C) use the flex/cf application wizard to build a simple
master/detail set of selection/edit screens for one table of a
database that I used recently on a CF8 project. To see how much
better the UI really is on Flex and whether I could use it to retro
fit that old application to have a better UI using flex3.
Issues.
My mini-application is set up initially in the folder
c:/inetpub/wwwroot/mydirectory, but it does not work.
Reason is that when run, it cannot access the flex2gateway on
the url that the wizard puts into the app. which is
http://localhost/mydirectory/flex2gateway...
Details:
flex2gateway does not work on a subdirectory URL on the
default web site.
If I access
http://localhost/flex2gateway/
I get a blank screen (as expected) meaning that the flex2gatweway
is working.
If I access
http://localhost/mysubdirectory/flex2gateway/
I get a 404.0 error (not found)
Now, I beleive this is supposed to work, something must be
wrong with one of the xml file setups. But I cannot find any
documentation for it.
Initially the flex2gateway did not work at all. I did the web
connector thing with CF batch file and that got it working, but
only on the base directory, not the subdirectory.
So, to get around this issue, Luckily Vista with IE7 allows
more than one website.. I create a whole new website that is
accessed using
http://192.168.1.73:81/
I set this website up in the folder c:/localhost/mydirectory.
The flex project is called mydirectory
So we come to issue 2.
Given the above Issue number 1, I have further frustration
because when the Flex/Cold Fusion Application wizard builds the
various mxml files it insists on prefixing all of the remote object
calls with 'mydirectory.'
e.g "mydirectory.components.cfgenerated.mycfc"
Now, given that the web root is also the base of the project,
this will not work.
What actually works is: "components.cfgenerated.mycfc"
There seems to be no way I can configure the project when
building it to get around this issue. The only way |I can fix this
is to manually edit all the mxml files after the wizard is
finished. I also have to doctor the project setup for similar
reasons. It wants all of the urls to be:
http://192.168.1.73:81/mydirectory/bin/main.html
instead of
http://192.168.1.73:81/bin/main.html
So obviously the wizard is not set up to handle applications
that are based right at the web root, even though this is the only
place that the flex2gateway can work. <snafu I guess>
Issue 3:
I find that the flex/Cf application wizard is set up to build
pages based upon a certain narrowly defined way of constructing the
source database tables. In particular it wants every table to have
its own unique numeric id for each row, and can't handle a string
for the primary key and have the primary key editable as well.
Seems inflexible if you ask me. The main problem is that the
preconditions on the table structure that the wizard can work with
are poorly defined and documented. You obviously had to go to the
same school of database design and the same class as the Adobe
developers to think in the same way.
Given that this tool is supposed to be a help to new users of
Flex and AS3 and it is supposed to be a productivity aid, perhaps I
should not be surprised to have had to spend over a week getting to
grips with the wizard and learning its tricks just to get it to
build a mind numbingly simple mini app of my own that works when
run. Sorry Adobe, but you get a F minus on your report card for
this one, particularly on the really bad documentation. Just as bad
for the coding complexity of the solution to seemingly simple
application concept.
Cheers,
Bryn ParrottHi,
Which version of RDP client you are using for your client?
Does more user login at same period of time?
As you have commented that after sticking the user can’t able to login in RDCB server, here I can suggest you to check the setting of connection broker. Also you can check that you have place the proper location path of UPD while configuring in collection configuration
wizard. You can take a look at below article foe virtual desktop configuration.
Deploying Virtual Desktops with Windows Server 2012
Are you trying to use same UPD for different collection then also it might happens to occur your issue. The fact of UPD is User profile disks are for a single collection only. A user connecting to two different collections will have two separate profiles. If
you want to synchronize settings, refer to Microsoft User Experience Virtualization. Go through this article for more understanding related to UPD.
Working with User Profile Disks on Session-Based Desktop Deployments
Hope it helps!
Thanks. -
I am a Flex newbie, experience ColdFusion user.
I am using the trial version of Flex Builder 3 to create a
new project (File/New/Project/FlexBuilder/Flex Project).
In the New Flex Project window, I enter the project name,
select "web application" as the application type, and select
"ColdFusion" as the server technology. The "Use remote object
access service" is checked, and "LiveCycle Data Services" is
selected.
In the next screen - in the server location, I enter
"Standalone" as the installation type, the webroot is
"c:\inetpub\wwwroot," and the root url is "
http://127.0.0.1" (I'm using IIS, so
I'm not using port 8500). This is the screen where I see error at
the top - "LiveCycle Data Services is not installed at the
specified location." But I made sure LiveCycle Data Services was
installed when I installed ColdFusion8, and "Enable Remote Adobe
LiveCycle Data Management access" is checked in the ColdFusion
Administator panel.
Also, I went back in the New Project dialog and changed the
server option to "ColdFusion Flash Remoting", and I was able to
create a new project. However, now I cannot connect to my
datasources using RDS configuration - I keep getting the error
"Unable to connect to localhost".
What is missing? Any help on either of these topics would be
appreciated. If I can get this to work, it would justify the
purchase of the full version.I assume from your post that you installed ColdFusion 8 onto
your local machine because you're using 127.0.0.1 as your root URL.
During the installation you have to select to install RDS (which
isn't checked by default) AND LiveCycle Data Services; LCDS prompts
for a serial number, but defaults to a "free" single-CPU license
after 120 days.
I had to completely uninstall Coldfusion 8, and reinstall
(twice) to make sure EVERYTHING was checked/selected for Flex 3 to
be happy. Try removing the "localhost" default entry for RDS and
creating your own with the IP address of your PC. Since you're
running IIS (locally, right?) then RDS should be looking on port
80, and I think the RDS entry for "localhost defaults to using port
8500. Once you give it your PC's IP and the password for RDS that
you create when you installed CF8, you should be able to do a
successful test to ensure that RDS is even listening. When you
selected to install to IIS (rather than install CF8's own web
services) did you also specify "All Websites"? -
RDS Configuration for CF Builder and CF8 multiserver
I've set up a named user in the CF8 Administrator for RDS access for my first instance and I cannot get a test connection in CF Builder to connect. When it asks for the Port Number, is it asking for the port number of the CF instance (i.e. 8301), the CF instance admin (8300), or is it asking for the RDS port? Is there something else that needs to be done to get basic RDS functionality to work out of the box?
I have started to follow the "Creating ColdFusion Servers" section of the CF Builder Resources, but I do not want to give developers the ability to start and stop the remote server.
(for ref: http://help.adobe.com/en_US/ColdFusionBuilder/Using/WS0ef8c004658c1089-38317734121cdfd5fd3 -7fff.html)Thanks for the help guys. It turned out that I needed to modify the web.xml file since the RDS sections were commented out. For reference, there are two mentions of the RDS in the web.xml so you have to make sure both are uncommented. The web.xml file is located in JRun4\servers\[instance_name]\cfusion.ear\cfusion.war\WEB-INF. Once I restarted the CF instance I was able to connect successfully through RDS.
-
CF11 and CF8 on same server.
Hi,
I need to install cf11 on the same windows 2008 server as an existing cf8 install.
I realise it would be better to have 2 servers but in this case thats not an option open to us so I need specific help with the 2 installs.
The current CF8 is using IIS7.
I have done a bit of spade work and I believe the best way to do this cleanly would be to install a 2nd web server, e.g apache on windows and then configure it with CF11.
I had hoped that I could actually install CF11 and just configure specific iis sites with it, hoping this would leave the cf8 configured sites intact.
Any help would be appreciated.If you have 2 webistes, one you want to run with ColdFusion 8 and other you want to run with ColdFusion 11 on the same server then yes it is possible. However, two different versions of ColdFusion cannot server same website in the same server.
Launch the Web Server Configuration tool of CF8 and if CF 8 is configured with ALL IIS websites, then remove the connector for all and add the website/websites one by one which you want to run with ColdFusion 8.
Now, go ahead and install ColdFusion 11 and in the "Configure Web Server" Window choose the website that you want to run with CF 11
NOTE : Two most important points to remember :
1. Do not remove the CF 8 connector if it is a production server
2. Do not choose All with CF 8/ CF 11 under IIS Website, because if you choose ALL then all the websites under IIS will be configured with that version of CF.
HTH
Thanks
VJ -
Flex 2, FDS 2.5 and CF8
Hi everyone,
I am starting to retract my brain from an intense 2 days to
figure out how to use Flex with Coldfusion. I am using Coldfusion 8
Beta (this part is good, don't need help for CF itself). I am also
using Flex Builder 2 (with chart but this not the topic). I
installed FDS 2.5 before to install ColdFusion 8 but I think CF8
have is own FDS or something like that... anyway, it might help to
mention it!
Well, I tried HTTPService, RemoteObject, WebSer vice -
NOTHING WORKS!!! Argh! Did I mention I spent 2 days? ;-)))
Well, I start with the basic: a login form with an email (as
a username) and a password to be validated. I have a CFC to do the
validation and return a simple message (string): "OK' when it is
valid and a custom message when it is not valid; depending if it is
the password and/or the email which is not valid.
I always got an error. Since the error is different depending
of the method I use, I will explain the latest method I used in
this message and try to concentrate on that method specifically!
The method is WebService and here is the error:
faultCode:Server.Error.Request
faultString:'HTTP request error'
faultDetail: 'Error: [IOErrorEvent type="ioError"
bubbles:false cancelable=false eventPhase=2
text="Error #2032: Stream Error .
URL=http://localhost:8501/iDashboard/login.cfc"].
URL: http://localhost:8501/iDashboard/login.cfc'
Any help will be very useful!!!
Thank's
P.S.: I succeed to execute a HTTPService only if I call a XML
file.Sorry, I made a mistake as the error mentioned before is not
a real error. It was an error because the service of ColdFusion 8
was not really stopped!
It has no error:
C:\ColdFusion8\bin>cfstart
Listening for transport dt_socket at address: 5005
Starting Macromedia JRun 4.0 (Build 108472), coldfusion
server
07/12 14:36:40 warning Unable to open
C:\ColdFusion8\runtime/lib/license.propert
ies
07/12 14:36:41 info JRun Naming Service listening on *:2930
07/12 14:36:42 info No JDBC data sources have been configured
for this server (s
ee jrun-resources.xml)
07/12 14:36:42 info JRun Web Server listening on *:8501
07/12 14:36:42 info Deploying enterprise application
"Adobe_ColdFusion_8" from:
file:/C:/ColdFusion8/
07/12 14:36:42 info Deploying web application "Adobe
ColdFusion 8" from: file:/C
:/ColdFusion8/
07/12 14:36:44 INFO License Service: Flex 1.5 CF Edition
enabled
07/12 14:36:44 user JSPServlet: init
07/12 14:36:44 INFO Starting Flex 1.5 CF Edition
07/12 14:36:45 user ColdFusionStartUpServlet: init
07/12 14:36:45 user ColdFusionStartUpServlet: ColdFusion:
Starting application s
ervices
07/12 14:36:45 user ColdFusionStartUpServlet: ColdFusion: VM
version = 1.6.0_01-
b06
07/12 14:36:45 Information [main] - Starting logging...
07/12 14:36:45 Information [main] - Starting license...
07/12 14:36:47 Information [main] - Invalid ColdFusion 8
license.
07/12 14:36:47 Information [main] - Developer Edition enabled
07/12 14:36:47 Information [main] - Starting crypto...
07/12 14:36:47 Information [main] - Starting security...
07/12 14:36:47 Information [main] - Starting scheduler...
07/12 14:36:47 Information [main] - Starting WatchService...
07/12 14:36:47 Information [main] - Starting debugging...
07/12 14:36:47 Information [main] - Starting sql...
07/12 14:36:47 Information [main] - Pool Manager Started
07/12 14:36:48 Information [main] - Starting mail...
07/12 14:36:48 Information [main] - Starting runtime...
07/12 14:36:48 Information [main] - CORBA Configuration not
enabled
07/12 14:36:48 Information [main] - Starting cron...
07/12 14:36:48 Information [main] - [Synchro PrivateDNS Basic
Data] has run once
before, and will not be scheduled.
07/12 14:36:48 Information [main] - Starting registry...
07/12 14:36:48 Information [main] - Starting client...
07/12 14:36:49 Information [main] - Starting xmlrpc...
07/12 14:36:49 Information [main] - Starting graphing...
07/12 14:36:49 Information [main] - Starting verity...
07/12 14:36:49 Information [main] - Starting archive...
07/12 14:36:49 Information [main] - Starting document...
07/12 14:36:49 Information [main] - Starting eventgateway...
07/12 14:36:49 Information [main] - Starting Event Backend
Handlers.
07/12 14:36:49 Information [main] - Initialized
EventRequestDispatcher with a Th
read Pool size of 1.
07/12 14:36:49 Information [main] - Initializing
EventRequestHandler
07/12 14:36:49 Information [main] - Starting Event Gateways.
07/12 14:36:49 Information [main] - Starting FlexAssembler...
07/12 14:36:50 Information [main] - Starting .NET...
07/12 14:36:50 Information [main] - Starting Monitoring...
07/12 14:36:50 Information [main] - ColdFusion started
07/12 14:36:50 user ColdFusionStartUpServlet: ColdFusion:
application services a
re now available
07/12 14:36:50 user CFMxmlServlet: init
07/12 14:36:50 user CFMxmlServlet: Macromedia Flex Build:
87315.134646
07/12 14:36:50 INFO Macromedia Flex Build: 87315.134646
07/12 14:36:52 user CFSwfServlet: init
07/12 14:36:53 user CFCServlet: init
07/12 14:36:53 user FlashGateway: init
07/12 14:36:53 user MessageBrokerServlet: init
07/12 14:36:56 user CFFormGateway: init
07/12 14:36:56 user CFInternalServlet: init
Server coldfusion ready (startup time: 19 seconds) -
JAI (Java Advanced Imaging) and CF8
Hi
I'm using the Java Advanced Imaging API since CF6 and made
several jar files to manipulate images (as it wasn't integrated in
CF).
Today I installed CF8, put the "jai_core.jar" and
"jai_codec.jar" in the "cfroot\runtime\jre\lib\ext" folder as I did
when I first developped my application or when I migrated from CF6
to CF7 but today it does not work.
I have the following error (see attached), ImageInfo and
GetTaille are my own jar classe and method.
I saw that there is already a "jai_core.jar/jai_codec.jar" in
"cfroot\lib" So I think that there is a conflict between the two
JAI's. I removed mine, but I have another error : "An exception
occurred when instantiating a Java object. The class must not be an
interface or an abstract class. Error:
com/sun/media/jai/codec/ImageEncodeParam."
I also tried to replace the JAI of CF8 by mine (just for a
test) but I have the same error.
Do you have any idea of a solution ?
I know I can now use the CF8 tags to manipulate images, but I
have to rewrite lots of code and I think there is still
manipulations that CF8 can't handle (CMYK images, ICC profiles,
Thanks in advance for your suggestions> "An exception occurred when instantiating a Java object.
The class must not
> be an interface or an abstract class. Error:
I don't know how you're using
com/sun/media/jai/codec/ImageEncodeParam in your code but the error
is clear. ImageEncodeParam is an interface in the CF8
jai_codec.jar. You can instantiate a concrete class, but not an
interface. Possibly the private classes have changed since you
first wrote the jar?
> I think that there is a conflict between the two JAI's.
>...
> Caused by: java.lang.SecurityException: sealing
violation: package
> com.sun.media.jai.util is sealed
You could be right. If the jars are sealed having two of them
in the classpath might cause that kind of error. -
BUG: Incorrect data returned with JSON and CF8
I don't know if this is a bug, but I am trying to create a
JSONDataSet that will call a cfc which returns a query in json
format. However, I have a problem with a column datatype
varchar(20), for which some rows contains numbers as the value
(01,02,03,...etc) but when the dataset is returned, the value for
this column comes as (1.0,2.0,3.0,...etc)
HELP!!!
This is my code...
var dsCities = new
Spry.Data.JSONDataSet("/remoting/remotegeodataservice.cfc?method=getgeodata&countrycode=u s&featureclass=a&queryformat=column&returnformat=json",
{path:"DATA", pathIsObjectOfArrays:true});I just dumped the dataset like this...
<div spry:region="dsStates">
<ul style="margin:0; padding:0;">
<li spry:repeat="dsStates">{ADMINCODE1} -
{ASCIINAME}</li>
</ul>
</div>
For Australia this is my result dumped:
* 1 - Australian Capital Territory
* 0 - Heard Island and McDonald Islands (general)
* 3 - Northern Territory
* 2 - State of New South Wales
* 4 - State of Queensland
* 5 - State of South Australia
* 6 - State of Tasmania
* 7 - State of Victoria
* 8 - State of Western Australia -
Can these two co-exist on the same server? if so are there
any tips & tricks to keep in mind to prevent any issues.
Both would be configured in a multi-instance setup
Thanks,
Danielddks2 wrote:
> Can these two co-exist on the same server? if so are
there any tips & tricks to keep in mind to prevent any issues.
>
> Both would be configured in a multi-instance setup
>
> Thanks,
> Daniel
Yes they can, but it takes a bit of work. The multi-instance
will help.
The main issue is that 6.1 and 8 use different versions of
Java and
neither can use a version that is compatible with the other.
So you
just need to make sure that both required versions of Java
are installed
and separate and that each version of ColdFusion is using the
proper
version of Java.
I have seen blogs that detail all of this, I presume a search
of Google
should turn up links to them.
Maybe you are looking for
-
Calculating BPM using either Peak Detection point by point or FFT
Hi Guys Im new to Labview and have absolutely no idea on programming and stuff. Im doing a project on Heart Rate monitor. I'm using labview to read the analog input to an Arduino Mini. In my attached VI im using Peak Detection Point by point to calcu
-
Converting freeze frame to jpeg
Needing to convert a frezze frame image to a jpeg.... How do I get it out of FCP and into Phootshop?
-
Shutdown not shutting down?
Hi, This has happened twice to me recently: Shutdown my macbook from apple menu, wait a bit, seems to be off, Put it away in its (snug fitting) zip bag. A while later get it out - Alarmed at the warmth of the bag, Extract macbook, hear fan spinning a
-
DOM XML Parsing...
Hi All, I need a sample code to parse the following xml... <EMPLOYEE> <RECORD> <EMPID>12</EMPID> <EMPNAME>ROCK</EMPNAME> </RECORD> <RECORD> <EMPID>13</EMPID> <EMPNAME>PETER</EMPNAME> </RECORD> <RECORD> <EMPID>14</EMPID> <EMPNAME>JOHN</EMPNAME> </RECO
-
I am getting following errors when we moved from flex 3 to flex 4. VerifyError: Error #1053: Illegal override of UIMovieClip in mx.flash.UIMovieClip. at com.adobe.linguistics.spelling.ui::HaloHighlighter/doSpellingJob() at com.adobe.linguistics.spel