ColdFusion / Flex Application Wizard Problem
I can't get this to work.
On the last page if I do a new project location I get:
The project could no be created. Please check the webroot
folder (it may overlap with an existing project).
If I try to use an existing project it looks like it does a
little, but doesn't complete and stays in the last screen of the
wizard.
I just found this in an error log.
!ENTRY org.eclipse.ui 4 0 2007-01-11 16:38:43.93
!MESSAGE
com.adobe.flexbuilder.project.IFlexProject.getProjectName()Ljava/lang/String;
!STACK 0
java.lang.NoSuchMethodError:
com.adobe.flexbuilder.project.IFlexProject.getProjectName()Ljava/lang/String;
at
com.adobe.coldfusion.wizards.superwizard.SuperWizard.doSaveSettings(Unknown
Source)
at
com.adobe.coldfusion.wizards.superwizard.SuperWizard.performFinish(Unknown
Source)
at
org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:676)
at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:349)
at
org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:556)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3125)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2758)
at
org.eclipse.jface.window.Window.runEventLoop(Window.java:809)
at org.eclipse.jface.window.Window.open(Window.java:787)
at
org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:181)
at
org.eclipse.jface.action.Action.runWithEvent(Action.java:996)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionI tem.java:538)
at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java :400)
at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3125)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2758)
at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
at
org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
at
com.adobe.flexbuilder.standalone.FlexBuilderApplication.run(FlexBuilderApplication.java:1 03)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
Similar Messages
-
Coldfusion / Flex Application Wizard
When using this wizard, it assumes that the project is going
to be created one level under the web root.
If you have the following path
webroot/flexprojects/projectone/
Then you wanted to create a db table maintenance project
(called 'maint') at the above location, the following happens.
When the wizard creates the pages and inserts the code for
the remote object, the source will be missing
"flexprojects/projectone" and thus there will be an error.
Does anyone know how to overcome this ?
KenSame problem here. I've tried it on 2 computers, both running
Windows XP, and almost immediately after the install, so no other
projects are present. How do you get past this problem? -
Problems with ColdFusion Extensions and CF/Flex Application Wizard
I have configured the Eclipse RDS according to the
instructions in the help documentation. The RDS Fileview and
Dataview work OK, but I haven’t had any luck with the
Services Browser: when I try to expand (+) the localhost item, the
only thing that appears is the message “Unable to get meta
data for cfc.”
The Dreamweaver 8 Components panel, which shows exactly the
same information, works fine.
Perhaps related to the above: when I create a Flex project
with the CF/Flex Application Wizard and look at the project
properties, in the Flex Server section, I get "Since this project
does not use a server, these setting do not apply". I find this
odd: a ColdFusion project that doesn’t use a server? Anyway,
using the wizard, I have not been able to create a simple project
that works.
If anyone has had similar problems and has been able to solve
them, I would appreciate some light on the subject.
CarlosWell I was able to resolve this problem by un-installing and
re-installing CF.
I did some further testing (un/re-install again) and it
appears that this problem occurs when CF is installed in devnet
version mode and not if in developer mode.
To check if CF is installed in devnet mode look in the CF
Administrator under "server settings->settings
summary->version information" You will see a notation for
devnet.
I also did a little poking around and this happens whenever
you install CF using a certain range license keys. The keys in this
range are valid keys for installation but they alter some critical
settings in CF (the flash paper/pdf watermark and apparently some
RDS stuff) The solution is to install with a non dev-net key or in
developer mode. -
CF/Flex Application Wizard Details Page
Hi,
Not sure if this is possible (seems like it should be). I
have the following data model in SQL Server (2005):
table name (relevant columns)
person (first name, last name)
member (member number)*
contact (email)*
location (state)*
Person is the base object/table and the other three tables
have foreign keys connecting them to the person table (all have a
personId column).
I setup a master page, no problem. I can grab the person's
first and last name, member number, email and state and display
them on the member-master page.
The issue comes when I go to create a member details page. I
can step through and create the necessary form fields from the
tables (connecting them all via their common personId column). When
I go to save the detail's page details, Eclipse (v3.2.x) crashes on
me. Every time. However, if I only create a form for the details
page with two tables (say member and person data), I can create the
details page and use it without any issues.
To get around this seeming two-table limitation, I edited the
Adobe/CF generated content to manually add the beans, DAOs,
gateways and AS files for the other tables. Doing this does create
the desired details page, however, Flex and CF are REALLY slow to
grab/return the requested data to the respective form fields (and
there is not that much to grab in any of these tables).
I'd like to know if this is just how I have to go about it.
Does the CF/Flex Application Wizard have a limit on how many tables
can be joined in a details page?
I have a project with a much more complex data model and
would love to generate a quick application for my client to check
out and I do not know if I've encountered a limit of the
application or if I am doing something wrong in the Query Builder
itself?
Also, any thoughts on why Flex and CF would be so slow to
return the data when I manually added the other tables to the
details page form? I'm on an intra-office network, connecting to a
computer via an ethernet router and the sample DB only has 2000
records in it...all with simple text and date columns?
Sorry for the long post and thanks, very much, in advance for
any thoughts or advice.
Best,
CraigNever mind, I figured it out.
I'm Using IIS
I needed to go look at the properties.
On the web site tab, the TCP port was set as 80.
In FlexBuilder Window > Preferences > Cold Fusion >
RDS Configuration
Select localhost > The default port number added there was
8500
Once I changed that to 80 and clicked on test connection, all
was hunkey dorry -
Cold Fusion/Flex Application Wizard crippled in Trial Version?
Hi,
I am using the 60 Day trial version of Flex Builder
3/Eclipse.
I wanted to try out the much vaunted Cold Fusion/Flex
Application Wizard, mainly because I could not get my head around
access from Flex to an existing CFC from the documentation alone.
So, I followed the directions:
Click the plus sign (+).
In the Name: text box, enter the name for the page.
Select the page type (master, detail, or master/detail).
Click Edit Master Form or Edit Detail Form, depending on the
type of form you are creating.
The Visual Query Builder starts.
But for me, when I click on 'Edit Master Form' the Visual
Query Builder does not start.
Now I have checked and confirmed that my RDS is working, and
that I can access the database via RDS in the Eclipse RDS browser
window. The RDS concerned is on another PC.
The PC on which Flex Builder is installed is a Vista
Ultimate/32 and the database is MS SQl server 2005 (running on the
other PC). Cold Fusion 8 is installed on both PC's.
So, my question is 'Is the CF/Flex Application wizard
deliberately hobbled/crippled in Flex 3 Trial version, or is there
something wrong with my installation.?
If this works for everyone else, then how do I debug my
installation ?
Thanks,
Bryn Parrottin addition, I can say that I installed the same flex builder
trial on an XP machine, using its own local RDS, and found that the
wizard worked just fine.
So what is the variable here, why is the wizard not working
on the vista PC ?
Is it Vista ?
Is it the fact that I'm trying to use RDS against a remote
server and not the local one ? -
Applications Wizard & Coldfusion
I am looking for the Flex Application wizard for Coldfusion,
but it isn't listed in Flex 3. Has it been discontinued? If not how
do I access it?Make sure you have the ColdFusion Extension for Flex Builder
install; then under Data > Create Application from
Database. -
Coldfusion Application Wizard?
I was trying to access the Coldfusion Application Wizard in
Flex 3 Beta and it told me it's unavailable. So I switched back to
my install of Eclipse 3.2 with Flex 2 and I don't have an option
for the Coldfusion Application Wizard under File -> New ->
Other. Can anyone supply a link to where I can download the
Application Wizard? I looked on labs.adobe.com but I didn't see any
Coldfusion extensions.
Why doesn't it work in Flex 3? :)
Thanks!
MikeHi Randy,
Are you on Windows or Mac? Also, if you could check the
Eclipse/Flex Builder error log to see if any errors were logged at
the time of the crash, that would be very helpful. The error log is
a text file called ".log" in "<workspace-dir>/.metadata". You
can also access it through Flex Builder, by going to Help >
About, then Configuration Details, then View Error Log, or
something like that. -
Error in Coldfusion/Flex wizard
I'm getting an error when using the ColdFusion/Flex wizard
option in Flex Builder.
When clicking on the Edit Master Page.. button I am receiving
this error:
"the exception unknown software exception (0x0eedfade)
occurred in the application at location 0x7c81eb33"
Please Help!
BernieStill getting this error, can anyone help me?
-
How to deploy a Flex application (Server Type ColdFusion) to production
I have built a flex application using Flash Builder 4.6. It utilizes ColdFusion Flash Remoting for its data services. When first setting up the data services I had to set a bunch of properties in the flex server section. Which I am not sure are all correct but the app does run and connect to the data services. They were:
Application Server type: ColdFusion
Use remote object access service
ColdFusion flash remoting
Server Location:
Deployed to Java application server
Web Root: v:\inetpub\testFlex
Root URL: http://myDevServerIP/
ColdFusion Was folder: v:\CF9\JRun4\servers\testFlex\cfusion.ear\cfusion.war
My question is now when I'm ready to deploy to my production machine and load the app onto a tablet or other computer, obviously the Root URL will be different something like http://myLiveURL.com. Is this the only thing I change? Do I even change it here or is there some other location? Any other things I need to change?
Thanks!
Your help is much appreciated!All the paths to CFCs are the same in my live production site. Can you be more specific as to what you mean by "RemoteClass aliases in your AS Classes and CFCs (if any) are correct."? How will the app know that the CFC is on http://myLiveSite.com instead of http://myDevSite.com? The only line of code that I have noticed that points to a URL is the endpoint in a file called _Super_XXX.as. And at the top of that file it says that the file is not meant for editting.
To clarify...I see your app/code all exists on a server access via a web browser so I can understand that everything still works when deployed. Mine is a mobile app so when I am developing and testing on my local computer the URL points to my local development machine. However when I deploy it to a mobile device like a tablet and run the app, it needs to be able to access a cfc on a remote server via a different URL ie. my http://myLiveSite.com/myCFC.cfc instead of http://localhost/myCFC.cfc
Thanks for your help! I will now take a look at your thread.
Message was edited by: ace0215 -
Flex application problem with Sql editor
Hi,
I get the error message:
Error in compiling Flex application (1). When deploying a SQL query iView
I browsed trough som threads, and see that others have had the same problem. I looked in the log file but, the same message is displayed there.
My problem is that I only get this message when I use the SQL editor. I can deploy other iViews perfectly fine.
The sql statment works fine.
Can anyone help?
Ingvild
Message was edited by: Ingvild NygaardHi,
Thanks for helping
In your document you drag one table( order details) into your iView. When you do this you are only getting data from one table right? If do as you do, drag one table into the iView my SQL will be like this;
Select ""."MATRICS"."PERIOD"."PERIOD_ID" , ""."MATRICS"."PERIOD"."LAST_MODIFIED_TIME" , ""."MATRICS"."PERIOD"."LAST_MODIFIED_BY_ID" , ""."MATRICS"."PERIOD"."FOLDER_ID" , ""."MATRICS"."PERIOD"."PERIOD_NAME" , ""."MATRICS"."PERIOD"."START_DATE" , ""."MATRICS"."PERIOD"."END_DATE" , ""."MATRICS"."PERIOD"."END_DATE" from ""."MATRICS"."PERIOD"
If I remove the ." and the " I will get my table printed out, and I can deploy the iView.
My problem was how to join all my tables in the sql editor, I do not understand how this can only be a copy paste operation. So I can not paste in her my SQL from my VC because I do not know how it is suppose to look in VC. In SQLPlus code is:
SQL> SELECT indices.index_name, period.period_name, MAX(price.bid)
2 FROM folder, indices, price, series, period,source
3 WHERE folder.folder_id = indices.folder_id
4 AND indices.index_id = series.index_id
5 AND series.series_id = price.series_id
6 AND period.period_id = series.period_id
7 AND series.source_id = source.source_id
8 AND folder.folder_id = '15351'
9 AND source.source_id = '573'
10 AND price.trade_date = SYSDATE -1
11 GROUP BY index_name, period_name;
I have solved my problem by crating a view in the database. This mayby the soulution ? Or is it possbile to solve it within VC? -
Hello Experts,
I have a Problem with my Flex Application. I want to send data as a String from a Flex Combobox to a Webservice. But the String has before and after the value inverted comma's (").
How can I replace this inverted comma with a blank?
Here the Code how I get the Data from the ComboBox:
comboBox.dataProvider = auswahl;
str = ObjectUtil.toString(cb.selectedLabel.toUpperCase());
Thanks for your answers in advance!!!to remove the inverted comma from the string use action script replace method.
public function fixstring():void
var str:String ;
var str1:String ;
str = "\"test\"" ;
var pattern:RegExp = /\"/gi;
str1 = str.replace(pattern,"");
Alert.show(str1);
for more on this read this online help
http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00000076.html -
Trying to make a flex application scalable in its display size by using a "Host-swf" - Problem
We created a flex application using Flex 3. What we are
trying to do is to make this application scalable in its display
size. That means we want the application to scale itself to exactly
fit the size of the browser window without using a scrollbar like
normal Flash-swfs do. Sadly flex application don't scale like a
normal flash swf.
To get a workaround for this we created a so called
"Host-swf" with flash CS3. This Host-swf loads the flex application
and adds it as a child. And voila: When calling the Host-swf our
application can scale.
We used this code to achive this:
var oUrlRequest:URLRequest = new
URLRequest("Flex-Application.swf");
var oURLLoader:Loader = new Loader();
oURLLoader.load(oUrlRequest);
addChild(oURLLoader);
This works perfectly as long the browser window is larger
then the resolution of the host-swf (900*600) when calling the url
for the application:
Picture showing the
scaling
But it doesnt't work out when the browser window is smaller
than 900*600. The application is then shown with a scrollbar, and
when resizing the browser window the scrollbar is still there:
Picture showing the
application with scrollbar
Maybe anyone already tried to achive the same thing and has a
different solution for us?
Thank you in advance!"noby_95" <[email protected]> wrote in
message
news:gpsue6$rhh$[email protected]..
> We created a flex application using Flex 3. What we are
trying to do is to
> make
> this application scalable in its display size. That
means we want the
> application to scale itself to exactly fit the size of
the browser window
> without using a scrollbar like normal Flash-swfs do.
Sadly flex
> application
> don't scale like a normal flash swf.
>
> To get a workaround for this we created a so called
"Host-swf" with flash
> CS3.
> This Host-swf loads the flex application and adds it as
a child. And
> voila:
> When calling the Host-swf our application can scale.
>
> We used this code to achive this:
>
>
> --------------------------
> var oUrlRequest:URLRequest = new
URLRequest("Flex-Application.swf");
> var oURLLoader:Loader = new Loader();
> oURLLoader.load(oUrlRequest);
> addChild(oURLLoader);
>
>
> -------------------------
>
> This works perfectly as long the browser window is
larger then the
> resolution
> of the host-swf (900*600) when calling the url for the
application:
>
http://www.gansl-online.de/Bild1.jpg
>
> But it doesnt't work out when the browser window is
smaller than 900*600.
> The
> application is then shown with a scrollbar, and when
resizing the browser
> window the scrollbar is still there:
>
http://www.gansl-online.de/Bild2.jpg
>
> Maybe anyone already tried to achive the same thing and
has a different
> solution for us?
When I set the Application width and height to a percentage
number, it will
change its size based on the size of the window. -
Problems compiling Flex application
I'm trying to compile a Flex application here but i'm getting a hell lot of errors:
C:\STG\displays\RankingDisplay.as(47): col: 30 Error: Type was not found or was not a compile-time constant: Tween.
C:\STG\displays\NameEntryDisplay.as(25): col: 26 Error: Definition fl.motion.easing:Bounce could not be found.
C:\STG\utils\BitmapDataUtils.as(49): col: 4 Error: Access of undefined property MatrixTransformer.
And lot's of others... I'm using the following command-line to compile:
mxmlc ./src/MyProject.as
I have the latest Flex SDK. What might be wrong?You dont have the imports correctly or they are missing
-
Installed CF8 and now Flex application throwing error
HI,
I've just installed CF8 developer edition, and now I've tried
creating a new Flex application, which has nothing in it, just an
empty Main.mxml file, I did set ColdFusion Remoting as the way the
application will access data, through the project setup wizard.
Now when I run the application I get this error message:
VerifyError: Error #1053: Illegal override of subtopic in
mx.messaging.Consumer.
at frame2
at [abc-decode]
at flash.display::MovieClip/nextFrame()
at mx.managers::SystemManager/private::deferredNextFrame()
at
mx.managers::SystemManager/private::preloader_initProgressHandler()
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.preloaders::Preloader/private::timerHandler()
at flash.utils::Timer/flash.utils:Timer::_timerDispatch()
at flash.utils::Timer/flash.utils:Timer::tick()
Then if I click continue I get this error message:
ReferenceError: Error #1065: Variable
_CursorManagerStyle__embed_css_Assets_swf_mx_skins_cursor_BusyCursor_1386701310
is not defined.
at [abc-decode]
at flash.display::MovieClip/nextFrame()
at mx.managers::SystemManager/private::deferredNextFrame()
at
mx.managers::SystemManager/private::preloader_initProgressHandler()
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.preloaders::Preloader/private::timerHandler()
at flash.utils::Timer/flash.utils:Timer::_timerDispatch()
at flash.utils::Timer/flash.utils:Timer::tick()
And then if I click continue once more I get the Initializing
load screen start but never finish running so my application never
loads.
The other odd thing is I have some Flex apps which I built on
CF7, which I then imported to CF8 and they work fine running on
CF8, its only new projects which fail.
If I create a new project which doesn't use ColdFusion
remoting, the Flex application works fine. So something is a miss
with the remoting connection I think.
Any ideas?
Thanks
StephenFor me exactly the same problem. I need it to connect to my school's intranet.
I think it means either waiting for an update, or somehow find a way to use the build in VPN functionality of Leopard instead.
Good luck for us all! -
when i publish my flex application in an external server i get that error if my flash builder beta 2 is closed in my system , i did configure an endpoint to the dataservice to point to the external server and if i run my flash builder and any body browser the site it open and they can access the data from my application but if i close my flash builder we have this error all of us
Send failed
Channel.Security.Error error Error #2048: Security sandbox violation:
http://www.dcecrak.com/Maine.swf cannot load data from
http://localhost:37813/flex2gateway/?hostport=www.dcecrak.com&https=N&id=-1. url:
'http://www.dcecrak.com/flex2gateway/'
i created a crossdomain.xml file and put it in the web root , if i try to open the link http://www.dcecrak.com/flex2gateway it open with blank page this means that every thing is oky , my service-config file looks like that :
<?xml version="1.0" encoding="UTF-8"?>
<services-config>
<services>
<service-include file-path="remoting-config.xml" />
<service-include file-path="proxy-config.xml" />
<service-include file-path="messaging-config.xml" />
</services>
<security>
<login-command class="flex.messaging.security.JRunLoginCommand" server="JRun"/>
<!-- Uncomment the correct app server
<login-command class="flex.messaging.security.TomcatLoginCommand" server="Tomcat"/>
<login-command class="flex.messaging.security.WeblogicLoginCommand" server="Weblogic"/>
<login-command class="flex.messaging.security.WebSphereLoginCommand" server="WebSphere"/>
-->
<!--
<security-constraint id="basic-read-access">
<auth-method>Basic</auth-method>
<roles>
<role>guests</role>
<role>accountants</role>
<role>employees</role>
<role>managers</role>
</roles>
</security-constraint>
-->
</security>
<channels>
<!-- CF Based Endpoints -->
<channel-definition id="dcecrak" class="mx.messaging.channels.AMFChannel">
<endpoint uri="http://www.dcecrak.com/flex2gateway/" class="coldfusion.flash.messaging.CFAMFEndPoint"/>
<properties>
<add-no-cache-headers>false</add-no-cache-headers>
<polling-interval-seconds>8</polling-interval-seconds>
<serialization>
<enable-small-messages>false</enable-small-messages>
</serialization>
<coldfusion>
<!-- define the resolution rules and access level of the cfc being invoked -->
<access>
<!-- Use the ColdFusion mappings to find CFCs-->
<use-mappings>true</use-mappings>
<!-- allow "public and remote" or just "remote" methods to be invoked -->
<method-access-level>remote</method-access-level>
</access>
<!-- Whether the Value Object CFC has getters and setters. Set the value of use-accessors to true if there are getters and setters in the Value Object CFC. -->
<use-accessors>true</use-accessors>
<!--Set the value of use-structs to true if you don't require any translation of ActionScript to CFCs. The assembler can still return structures to Flex, even if the value is false. The default value is false.-->
<use-structs>false</use-structs>
<property-case>
<!-- cfc property names -->
<force-cfc-lowercase>false</force-cfc-lowercase>
<!-- Query column names -->
<force-query-lowercase>false</force-query-lowercase>
<!-- struct keys -->
<force-struct-lowercase>false</force-struct-lowercase>
</property-case>
</coldfusion>
</properties>
</channel-definition>
<channel-definition id="cf-polling-amf" class="mx.messaging.channels.AMFChannel">
<endpoint uri="http://{server.name}:{server.port}{context.root}/flex2gateway/cfamfpolling" class="coldfusion.flash.messaging.CFAMFEndPoint"/>
<properties>
<polling-enabled>true</polling-enabled>
<polling-interval-seconds>8</polling-interval-seconds>
<serialization>
<enable-small-messages>false</enable-small-messages>
</serialization>
<coldfusion>
<!-- define the resolution rules and access level of the cfc being invoked -->
<access>
<!-- Use the ColdFusion mappings to find CFCs-->
<use-mappings>true</use-mappings>
<!-- allow "public and remote" or just "remote" methods to be invoked -->
<method-access-level>remote</method-access-level>
</access>
<!-- Whether the Value Object CFC has getters and setters. Set the value of use-accessors to true if there are getters and setters in the Value Object CFC. -->
<use-accessors>true</use-accessors>
<!--Set the value of use-structs to true if you don't require any translation of ActionScript to CFCs. The assembler can still return structures to Flex, even if the value is false. The default value is false.-->
<use-structs>false</use-structs>
<property-case>
<!-- cfc property names -->
<force-cfc-lowercase>false</force-cfc-lowercase>
<!-- Query column names -->
<force-query-lowercase>false</force-query-lowercase>
<!-- struct keys -->
<force-struct-lowercase>false</force-struct-lowercase>
</property-case>
</coldfusion>
</properties>
</channel-definition>
<channel-definition id="my-cfamf-secure" class="mx.messaging.channels.SecureAMFChannel">
<endpoint uri="https://{server.name}:{server.port}{context.root}/flex2gateway/cfamfsecure" class="coldfusion.flash.messaging.SecureCFAMFEndPoint"/>
<properties>
<polling-enabled>false</polling-enabled>
<add-no-cache-headers>false</add-no-cache-headers>
<serialization>
<enable-small-messages>false</enable-small-messages>
</serialization>
<coldfusion>
<!-- define the resolution rules and access level of the cfc being invoked -->
<access>
<!-- Use the ColdFusion mappings to find CFCs-->
<use-mappings>true</use-mappings>
<!-- allow "public and remote" or just "remote" methods to be invoked -->
<method-access-level>remote</method-access-level>
</access>
<!-- Whether the Value Object CFC has getters and setters. Set the value of use-accessors to true if there are getters and setters in the Value Object CFC. -->
<use-accessors>true</use-accessors>
<!--Set the value of use-structs to true if you don't require any translation of ActionScript to CFCs. The assembler can still return structures to Flex, even if the value is false. The default value is false.-->
<use-structs>false</use-structs>
<property-case>
<!-- cfc property names -->
<force-cfc-lowercase>false</force-cfc-lowercase>
<!-- Query column names -->
<force-query-lowercase>false</force-query-lowercase>
<!-- struct keys -->
<force-struct-lowercase>false</force-struct-lowercase>
</property-case>
</coldfusion>
</properties>
</channel-definition>
<!-- Java Based Endpoints -->
<channel-definition id="java-amf" class="mx.messaging.channels.AMFChannel">
<endpoint uri="http://{server.name}:{server.port}{context.root}/flex2gateway/amf" class="flex.messaging.endpoints.AMFEndpoint"/>
</channel-definition>
<channel-definition id="java-secure-amf" class="mx.messaging.channels.SecureAMFChannel">
<endpoint uri="https://{server.name}:{server.port}{context.root}/flex2gateway/amfsecure" class="flex.messaging.endpoints.SecureAMFEndpoint"/>
</channel-definition>
<channel-definition id="java-polling-amf" class="mx.messaging.channels.AMFChannel">
<endpoint uri="http://{server.name}:{server.port}{context.root}/flex2gateway/amfpolling" class="flex.messaging.endpoints.AMFEndpoint"/>
<properties>
<polling-enabled>true</polling-enabled>
<polling-interval-seconds>8</polling-interval-seconds>
</properties>
</channel-definition>
<!--
<channel-definition id="java-http" class="mx.messaging.channels.HTTPChannel">
<endpoint uri="http://{server.name}:{server.port}{context.root}/flex2gateway/http" class="flex.messaging.endpoints.HTTPEndpoint"/>
</channel-definition>
<channel-definition id="java-secure-http" class="mx.messaging.channels.SecureHTTPChannel">
<endpoint uri="https://{server.name}:{server.port}{context.root}/flex2gateway/httpsecure" class="flex.messaging.endpoints.SecureHTTPEndpoint"/>
</channel-definition>
-->
</channels>
<logging>
<target class="flex.messaging.log.ConsoleTarget" level="Error">
<properties>
<prefix>[BlazeDS] </prefix>
<includeDate>false</includeDate>
<includeTime>false</includeTime>
<includeLevel>false</includeLevel>
<includeCategory>false</includeCategory>
</properties>
<filters>
<pattern>Endpoint.*</pattern>
<pattern>Service.*</pattern>
<pattern>Configuration</pattern>
<pattern>Message.*</pattern>
</filters>
</target>
</logging>
<system>
<manageable>false</manageable>
<!--
<redeploy>
<enabled>true</enabled>
<watch-interval>20</watch-interval>
<watch-file>{context.root}/WEB-INF/flex/services-config.xml</watch-file>
<watch-file>{context.root}/WEB-INF/flex/proxy-config.xml</watch-file>
<watch-file>{context.root}/WEB-INF/flex/remoting-config.xml</watch-file>
<watch-file>{context.root}/WEB-INF/flex/messaging-config.xml</watch-file>
<watch-file>{context.root}/WEB-INF/flex/data-management-config.xml</watch-file>
<touch-file>{context.root}/WEB-INF/web.xml</touch-file>
</redeploy>
-->
</system>
</services-config>
and my crossdomain.xml looks like that :
<cross-domain-policy>
<site-control permitted-cross-domain-policies="all"/>
<allow-access-from domain="localhost" to-ports="*" secure="false"/>
<allow-access-from domain="*" to-ports="*" secure="false"/>
<allow-http-request-headers-from domain="*"/>
</cross-domain-policy>
really its strange only the site works if my flash builder is running , please helpThanks all for your attention, i have solved my problem and i think its a bug in the flash builder , the problem was that when you compile the application and you enabling Network Monitoring , the communication of the AMF channels done throw the http://localhost:37813/flex2gateway/
and that was the problem if you close the flash builder on your system that getaway dose not exist and on the hosted server there is no such address localhost by this port also so the client application witch is catch in you system try to access your localhost and that cause a security error and the address is also not exist .
so the solution or we have to compile the project after we disable the Network Monitoring in flash builder .
Maybe you are looking for
-
Why does new 60g ipod download some songs but not others?
I have a lovely new ipod and have inherited my son's itunes library on my XP user account. I removed all the stuff of his that I didn't want and was all set to download 600-odd tracks on to my new ipod. Unfortunately it only transfers about a third o
-
Getting error while applyin patch after R12 installation
I applying patch 8940108 after R12 installation. Pls. suggest what needs to be done. Patch 8940108: Optional component(s) missing : [ oracle.precomp.lang, 11.1.0.7.0 ] Prerequisite check "CheckRollbackable" on auto-rollback patches failed. The detail
-
I sent out a mass mailing to my various groups and the Yahoo accounts have been getting bombarded with the same message every 2 minutes and I don't know haow to stop the hemmoraging. Non of my other contacts had this problem, just Yahoo. Can someone
-
LG Extravert- Touchscreen not working
My touchscreen is not working at all. No matter where I touch on the screen, it always brings up my contacts list, so it's not like I can even recalibrate it. Anyone else experienced this and know what to do?
-
Updated to DM 6 cannot connect my Bold 9700 anymore
Hi there. I'm new to the blackberry community. I got a Bold 9700 three days ago. I was using DM 5, provided with the phone. It was working great. Yesterday I've updated to DM 6. At first it worked perfectly, but today it just won't work. It asks for