Re: [flexcoders] Security Cameras

2010-03-29 Thread Kevin F. Benz

Load a http analyzer to determine of the request is happening. If so
Look at the server logs to determing if it's seeing the traffic or for  
any errors.


Kevin F. Benz (iPhone)
kb...@kbenz.com

On Mar 28, 2010, at 12:01 PM, "archtechcomputers" > wrote:



Hi
I have a Flex3 application that is displaying images from a security  
camera.  The camera doesn't stream video but I can get a jpg from  
it. Because the camera is on a different network, I had to write a  
php application to get the jpg and send it to the flex app (due to  
security)


The flex app has an auto update that after the image has loaded, a  
10 sec timer runs and reloads the image. I load the image into a new  
bitmap and then swap the images.
Currently it stopped working. it seems to only show the last image,  
like a caching issue. If I call on the php app the image updates  
with every reload.  I don't see what might be causing this.


Any suggestions.

I was just looking at Tour de FLEX, and there were Effects like  
Crossfade that could switch between images, but could I make the  
images dynamic, not embedded?


Thanks




Re: [flexcoders] MaxWait time in the server.xml file in Tomcat 6.0

2009-06-06 Thread Kevin F. Benz
Simon, you need to address the performance aspects and determine why the
servlet is taking so long. You should be seeing servlet performance well
below a second (unless you are navigating millions of rows) as I expect the
database access is killing you (although I have no real data at this point
on which to make that assumption). Remember, there are client-side timeouts
as well so you could increase the server timeout and have the client go
away.

At this point, you need to take your queries and find out how long they are
taking in the database tools to see where to start looking. If the query
performance is acceptable given the database size, then you need to look at
recursion issues in your servlet.  If the database performance is not
acceptable, then you need to look for race conditions, filters and indexing,
table scans, etc etc.

K
On 6/5/09 10:57 PM, "Simon Mathew"  wrote:

>  
>   
> 
>   
> 
> I found out the reason for the below issue, it has to do something with max
> wait time, it was 10 seconds, when I increased to 20 seconds it started
> working fine.  When accessing from out of country, it is still throwing the
> same error message, I think it is because it takes little longer to process
> which exceeds the maxwait time of 20 seconds.  I tried to increase the maxwait
> to 50 seconds and for some reason it doesn't take it.  It hangs the
> application.   
> 
> Can I get an example of the maxwait code which sets time higher than 50
> seconds.  I really appreciate your help.
> 
> Thanks
> Simon 
> 
> --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> ,
> "Simon Mathew"  wrote:
>> >
>> > Application works perfectly fine if one person use it at a time.  I checked
>> the number of connection pool and it has the size of 100.  I have spent too
>> much time without any result to figure this out.
>> > 
>> > I am using Tomcat 6, Java for serverside script, MySQL for database, and
>> use BlazeDS with remote Object.
>> > 
>> > I desparately need your help, it is a bug brought up after we implemented
>> the system.  
>> > 
>> > Thanks
>> > Simon Mathew
>> >
> 
>   
> 
> 
>> 
> 
> Kevin F. Benz
> kb...@kbenz.com425-785-7100
> http://www.kbenz.com
> 
> "We can't solve problems by using the same kind of thinking we used when we
> created them" - Albert Einstein
> 



Re: [flexcoders] mp3 playback problems only on Vista/IE?

2009-06-04 Thread Kevin F. Benz
What kind of problem? Need a little more than ³mp3 playback problems only on
Vista/IE²


On 6/4/09 6:05 AM, "joshuajnoble"  wrote:

>  
>   
> 
>   
> 
> 
> Has anyone heard of/run into this? Just curious, as a client is complaining
> about it and I'm on vacation and can't verify as I don't have a Win machine
> with me. Thanks for any thoughts,
> 
>   
> 
> 
>> 
> 
> Kevin F. Benz
> kb...@kbenz.com425-785-7100
> http://www.kbenz.com
> 
> "We can't solve problems by using the same kind of thinking we used when we
> created them" - Albert Einstein
> 



Re: [flexcoders] Performance Question

2009-06-03 Thread Kevin F. Benz
Well, you have to avoid over the wire activity as it will cause a traffic
pattern called a ³galloping herd². Basically servlet latency causing
latency, causing And so forth. Your keyboard buffer will end up getting
ahead of the over the wire call and end up with enough spooled key events to
make it seem like your app has died.

The startup load is ³OK² but you have to deal with the impact of having the
client-side data getting stale compared to the server. Perhaps limit the
download to some number of characters allowing for the round-trip to occur
after the user has typed in enough characters.

Remember, although the numbers you present seem low, you have to plan for a
much larger sample, one where the numbers of users substantially escalate or
you wish to repurpose the algorithm in a more data-centric operation.
K


On 6/3/09 8:05 AM, "tchredeemed"  wrote:

>  
>   
> 
>   
> 
> Basically, Our users have a group of Individuals (com.gladhandle.IndividualVO)
> and in one part of the application they can search the individuals.
> 
> However, one of our milestones is that they are able to search and the results
> are refreshed on keyup of a textinput.
> 
> Seeing as this could and would cause problems with the application if I hit
> the back end with an AMF call every key up, I was considering loading all of
> their individuals at startup.
> 
> The majority of our users will have relatively small number of individuals (50
> to 100 or so).  Some will have a lot (500 to 1000) and VERY FEW will have more
> than that.
> 
> Which path would be better, searching and filtering by making an AMF call
> which would make a subsequent database call and roundtrip the information back
> to me, or take the initial hit to load them all at startup?
> 
> Thanks!
> 
>   
> 
> 
>> 
> 
> Kevin F. Benz
> kb...@kbenz.com425-785-7100
> http://www.kbenz.com
> 
> "We can't solve problems by using the same kind of thinking we used when we
> created them" - Albert Einstein
> 



Re: [flexcoders] SWF Encryption using the Local Encrypted Store

2009-06-02 Thread Kevin F. Benz
We also found that the encrypted local store wasn¹t effective for
pre-popluated or user persisted data. We ended up building our own encrypted
container as we needed to be able to allow a user to backup and recover it
as data in the ELS directory isn¹t necessarily available to the Vista user
without administrative privileges.
K

On 6/2/09 10:23 AM, "arieljake"  wrote:
> 
> Hi all, I need some help from the community with this. I am very close to a
> solution, but may have hit a snag.
> 
> The accepted approach for encrypting an AIR app is to deliver an encrypted swf
> with a wrapper that decrypts and loads the child.
> 
> The issue becomes how/where to store the decryption key for the wrapper to use
> when loading the child.
> 
> Nitro-LM / Simplified Logic embeds the key in wrapper and uses proprietary
> methods to make extracting that key difficult.
> 
> Here is the alternative I am playing with:
> 
> Company X create a simple program compiled with the same product id and AIR
> certificate as the program they are distributing to generate at home base the
> files for an empty Encrypted Local Store that has had the encryption key added
> to it. Then, the Encrypted Local Store files created by AIR are added to the
> AIR file - these files are encrypted with AIR's encryption mechanism. When the
> AIR file is installed, these files are then copied by the wrapper into the
> Encrypted Local Store directory and then read from using the AIR API for the
> Encrypted Local Store - and voila - the wrapper has the decryption key and the
> key is never transmitted in clear text.
> 
> I tried this and it seemed to work, but then it seems as if it doesn't work
> from one computer to the next - AIR seems to encrypt the ELS files with a
> formula that includes the program ID, the AIR certificate, AND the user's
> computer id, which prevents the company from distributing the original ELS
> files. 
> 
> Can only Adobe verify whether this solution will work? Can anyone lend insight
> / advice on this? Thanks.
> 
>   
> 
> 
>> 
> 
> Kevin F. Benz
> kb...@kbenz.com425-785-7100
> http://www.kbenz.com
> 
> "We can't solve problems by using the same kind of thinking we used when we
> created them" - Albert Einstein
> 



Re: [flexcoders] AIR auto-updates

2009-05-29 Thread Kevin F. Benz
I have found a couple of things but the numbers are pretty low. I¹m a big
Air fan.

Every once in a while, we would get a user that got an incorrect language
version. For example, a US computer ended up with a Portugese version of the
Air runtime. The numbers were small but in 45,000 users, it probably
happened 5 times. It had also happened prior to 1.5 with a Japanese version
being installed. Localized Air runtimes isn¹t something you can determine as
the installed takes care of it.

Likewise, and infrequently, an Air upgrade ended up displaying Black Boxes
or return an Error Code: 0 in the upgrade UI. Again low in population but
you need to be ready for this one as the only way to completely clean Air
out was to uninstall AIR, blow off the ELS/TLS directory (encrypted local
store), and reinstall. I could never reliably repro this.

My biggest critisizm about the Air installer/updater is the lack of
effective installation logging. Although you can configure Air to do some
rudimentary logging, you have to put a configuration file in a directory
that a Vista user doesn¹t have access to (see below). It should be an
installer option rather than what feels like a hack. Corporate IT
environments aren¹t crazy about the distribution of a RIA anyway (unless it
has a business purpose) and asking IT to troubleshoot an Air install
typically made for less than happy people.

Tight access privileges really weren¹t much of an issue other than testing
and user access of the filesystem. The Vista user, for example, can¹t even
get interactive access to their own ³Application Storage Directory² Air
alias. We made a mistake by using that directory (who knew) to download
into. Air could put files there, but we had a bunch of users that we
downloaded music to who couldn¹t end up finding it. We ended up moving our
storage outside of the Air aliases. Likewise the encrypted local store. We
bailed on using it (only an administrator can see it) and built our own
encrypted file structure.

K




Re: [flexcoders] itunes clipboard format not understood in AIR

2009-05-26 Thread Kevin F. Benz
The clipboard in AIR is text only. It¹s not going to work for a binary file.
I have asked Adobe about binary clipboard support and I don¹t expect it
anytime soon. It¹s pretty dicey working with the iTunes library anyway since
iTunes will move files around to balance it¹s directory tree (unless you
plan on duplicating the file which isn¹t a great idea either).


On 5/26/09 7:54 AM, "paulbhoston"  wrote:

>  
>   
> 
>   
> 
> Hi there,
>  I've been trying to drag a song from itunes into my app, but the clipboard
> (in AIR) doesn't seem to have any format acceptable to AIR. Does anyone have
> any idea how to overcome this?
> 
> thanks!
> 
>   
> 
> 
>> 
> 
> Kevin F. Benz
> kb...@kbenz.com425-785-7100
> http://www.kbenz.com
> 
> "We can't solve problems by using the same kind of thinking we used when we
> created them" - Albert Einstein
> 



Re: [flexcoders] itunes clipboard format not understood in AIR

2009-05-26 Thread Kevin F. Benz
4 sure. We had some luck with a javascript window where we would drag the
file but the problem was the only real way to know where the file was going
to be (if the plan was to keep a reference to it) was to camp on the library
xml files and those get rewritten when iTunes closes or music is imported
(or cover-art is downloaded, etc,etc). Remember, you can ask iTunes to
organize your library into a common tree and that killed our attempts to try
to persist our own reference in Air. The Flex XML parser isn¹t completely
happy with the iTunes library XML format so we ended up breaking the XML up
and creating a track-only document but it was pretty fragile as there were
so many ways to blow up the xml. KFB


On 5/26/09 8:13 AM, "Paul BH"  wrote:

>  
>   
> 
>   
> 
> Hey Kevin,
> thanks for this. Its a shame I can't get a reference to the file so I can work
> with it.
> 
> cheers
> 
> Paul
> 
> On Tue, May 26, 2009 at 11:03 AM, Kevin F. Benz  wrote:
>>  
>>   
>> 
>>   
>> 
>> The clipboard in AIR is text only. It¹s not going to work for a binary file.
>> I have asked Adobe about binary clipboard support and I don¹t expect it
>> anytime soon. It¹s pretty dicey working with the iTunes library anyway since
>> iTunes will move files around to balance it¹s directory tree (unless you plan
>> on duplicating the file which isn¹t a great idea either).
>> 
>> 
>> On 5/26/09 7:54 AM, "paulbhoston" > <http://eyefod...@gmail.com> > wrote:
>> 
>>>  
>>>   
>>> 
>>>   
>>> 
>>> Hi there,
>>>  I've been trying to drag a song from itunes into my app, but the clipboard
>>> (in AIR) doesn't seem to have any format acceptable to AIR. Does anyone have
>>> any idea how to overcome this?
>>> 
>>> thanks!
>>> 
>>>   
>>> 
>>> 
>>> 
>> 
>> Kevin F. Benz
>> kb...@kbenz.com <http://kb...@kbenz.com>     425-785-7100
>> http://www.kbenz.com
>> 
>> "We can't solve problems by using the same kind of thinking we used when we
>> created them" - Albert Einstein
>> 
>>   
>> 
> 
>   
> 
> 
>> 
> 
> Kevin F. Benz
> kb...@kbenz.com425-785-7100
> http://www.kbenz.com
> 
> "We can't solve problems by using the same kind of thinking we used when we
> created them" - Albert Einstein
> 



Re: [flexcoders] Profanity fliter

2009-05-25 Thread Kevin F. Benz
On the Flex side I have implemented objects that catch a change event on an
input control but it¹s impossible to stay ahead of users means of subverting
profanity filters in a client implemented solution. These days we do it one
of three ways.. If possible, we implement an editorial review process if the
amount of content is manageable. Second, when we have to do inline
filtering, we keep a dictionary and then pattern match on the server side,
if that proves ineffective (based on how stringent it needs to be) we do the
³Do you find this content objectionable² and pass those to an editorial
process.

K

On 5/25/09 9:54 AM, "kanu kukreja"  wrote:

>  
>   
> 
>   
> 
> Hello,
> Is there's anyexample or API for applying profanity filter in an application.
> 
> Thanks,
> Kanu Kukreja
>   
> 
> 
>> 
> 
> Kevin F. Benz
> kb...@kbenz.com425-785-7100
> http://www.kbenz.com
> 
> "We can't solve problems by using the same kind of thinking we used when we
> created them" - Albert Einstein
> 



Re: [flexcoders] Blazeds - Fault Event has no headers or message body

2009-05-16 Thread Kevin F. Benz
Sounds like the request isn¹t even hitting the server. That would be my
guess otherwise you would at least see the return header. I have always
found it useful to use restclient 2.2 on google code as you get a cool
little gui to manually set HTTP header values, authenticate as part of the
request. You can also persist requests to disk as well. It¹s a jar so you
will have to call it directly from the command line but I think Dustin did
provide some documentation. If not, let me know and I¹ll give a hand.

K
On 5/16/09 10:02 AM, "Terry May"  wrote:

>  
>   
> 
>   
> 
> Hi everyone, long time reader, first time poster.
> 
> I am using Blaze DS as an HTTP proxy to talk to a RESTful webservice.  I have
> a very simple MXML document with an HTTPService that defines an AMFChannel.
> 
> When the HTTPService throws a fault event, I need to access the HTTP headers
> and the message.body, but they are always null.
> I have looked at the AMF stream coming back from the proxy with charles and it
> doesn't look like the info I need is in the response at all!
> 
> Does anyone have any experience with this?  am I perhaps missing a server side
> configeration? or does Blaze just not send me that info (omg that would hurt
> if it is the case)
> 
> Thanks in advance for any help, as I am at the end of my rope with this.
> 
> 
> Terry May 
> Detroit Area Adobe User Group Manager
>   
> 
> 
>> 



RE: [flexcoders] Building an ant script and starting/stopping server - how to automate

2009-05-05 Thread Kevin F. Benz
Script recorder? Not that I am aware of

 

Rather than control scripts from Ant, I run Ant from scripts. You can just
do more with scripts. 

 

KFB

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of flexcoder2008
Sent: Tuesday, May 05, 2009 9:59 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Building an ant script and starting/stopping server -
how to automate

 






Does anybody know if there is a way to record a macro in FlexBuilder for a
sequence of tasks?

My Flex project has a Java backend and I use an Ant script to build
everything and deploy it to Tomcat. I regularly have to stop my Tomcat
server, right click on my Ant build file and build it, then restart the
Tomcat server. 

This is a tedious process to do repeatedly throughout the day - just
wondering if anyone else has a similar scenario and if they have found a way
to do this all in 1 step. It would be great to just push a button, and have
those 3 steps execute.





RE: [flexcoders] Run swf on server

2009-05-04 Thread Kevin F. Benz
Well.

You can run a swf in Air but I expect that is the least of your headaches.

I mean, what's the real objective. If you need to dynamically create images,
why not do that in the server script as you won't have all the other goo?
This was figured out years ago as the age of the link will attest.

 

http://www.javaworld.com/javaworld/jw-05-2000/jw-0505-servlets.html

 

K

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of lagos_tout
Sent: Monday, May 04, 2009 1:46 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Run swf on server

 






Hi, all.

I'd appreciate any suggestions on how to implement the following use case:

(1) a swf running in a browser on the client-side sends simple numeric data
to a server-side script. 
(2) the server-side script calls a second swf located on the same server as
the script, passing it the numeric data. 
(3) this swf uses the data to generate a layout in flash that is rendered to
an image and either (a) returned directly as binary data to the server-side
script or (b) saved locally on the server so that the server-side script can
access it.

It's steps 2 and 3 that have me stumped. How can I call a swf without a
browser, and by extension, without the Flash Player? Is there some way to
call a swf directly as an executable that can return output to the calling
process?

Thanks much!

LT 





RE: [flexcoders] AIR for shared file?

2009-05-04 Thread Kevin F. Benz
Possible? Yes

Practical? Probably not.

 

Managing the eventual collisions are going to bring about a lot of work.

 

Person A downloads the file, Person B downloads the file, Person A uploads
the changed file, Person B uploads the changed file and kills Person A's
changes.

 

Unless you use a check-in/check-out mechanism and manage time-outs, 

Unless you use a document fragment approach (but now have fragment
collisions).

Unless you use a source code management type approach but those bring with
them a mountain of code.

 

K

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of markflex2007
Sent: Monday, May 04, 2009 7:34 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] AIR for shared file?

 






Hi,

I plan to build a Air application,all users with the application will share
a file and also can update the file.

Do you think if it is possible? where I can save the file?Please give me a
idea.

Thanks for your help

Mark





RE: [flexcoders] Eclipse Crashing

2009-04-30 Thread Kevin F. Benz
Oh. I thought you can get past the module dependency by linking the SWC and
binding the source to the swc in the home project allowing you to close the
library projects.

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Kevin F. Benz
Sent: Thursday, April 30, 2009 3:23 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Eclipse Crashing

 






Here are few things I have found.  They may help, they may not.

 

Ultimately I find that projects under version control have been my issues.
Let me explain. I have found (at least through SDK 3.0 and 3.1) that an
upgrade to the SDK causes the local project file to go through some update
but when a later SCM update occurs, you get an old versions project files
and crasho. The new SDK is expecting a known project file and gets
hair-balled by what came in from source control. I have tried cutting and
pasting another copy, reverting, trying to fix by hand, etc but in the end,
I find that I have had to create a new blank project and copy all the files
(except for the project files) and reconfigure the library path, and the
rest of the goo. You will need the new library properties, and other . (dot)
files as well from the new project. Bring in the old ones and you die. I'll
bet you can close each of your projects and the crashes will stop when the
offending project(s) is closed. 

 

The list of source files to be compiled can be corrupted.  I believe this is
the real issue with reverting project files but don't have a good handle on
why - but you should try disabling incremental compilation.  Add
"-incremental=false" to the compiler settings in the Flex Compiler tab of
the Properties.  This will effectively ignore the .cache files.  Compile
times will be longer - but hopefully that is offset by having a stable
environment. Flex uses cache files to persist previously compiled objects.
And a clean build doesn't necessarily refresh the cache files.  It is benign
to backup and remove those .cache files. They live in a few places so you
will need to find the
.metadata/.plugins/org.eclipse.core.resources/.projects directory and within
that directory, you will find one for every Flex project. For example
./metadata/.plugins/org.eclipse.core.resoures/.projects/MYPROJECT/com.adobe.
flexbuilder.project/MyProject.cache. For each release, I like to clean these
out regardless.

K

 

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Geoffrey
Sent: Thursday, April 30, 2009 11:30 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Eclipse Crashing

 







Recently, FB(Eclipse) keeps crashing on me. I've looked all over the place
for solutions, have tried many, but none seem to do the trick.

My current setup is:
Eclipse 3.4.2 (M20090211-1700)
FB 3.0.2.214193
Flex SDK 3.3
JDK 1.6.0_13

My eclipse.ini is:
-showsplash
org.eclipse.platform
-framework
plugins\org.eclipse.osgi_3.4.3.R34x_v20081215-1030.jar
-vm
C:\Program Files (x86)\Java\jdk1.6.0_13\bin\javaw.exe
-vmargs
-Xms1024M
-Xmx1024M
-XX:PermSize=256M
-XX:MaxPermSize=512M
-XX:+UseParallelGC
-Dosgi.requiredJavaVersion=1.5
-Djava.net.preferIPv4Stack=true
-Dcom.sun.management.jmxremote

Our Flex application is a collection of 30 projects (one main one and 29
flex library projects). All have to be open at the same time or else you get
build(dependency) errors.

There's a few projects that are linked to many of the other projects. For
example, we have a project that holds all of the VOs. Making changes to that
project always took a long time to build (several minutes), but now it
crashes with OutOfMemory errors.

I've run jconsole to watch the JVM performance statistics. I don't fully
understand all the numbers, but I can see that my PS Old Gen pool gets 100%
full, and that's when I usually expect a crash to happen soon.

My machine has 8GB of RAM, although I can only allocate 1GB to Eclipse it
seems. If I raise -Xmx higher than 1024M, Eclipse won't even start.

Anyone have any suggestions?

Thanks,
~Geoff





RE: [flexcoders] Eclipse Crashing

2009-04-30 Thread Kevin F. Benz
Here are few things I have found.  They may help, they may not.

 

Ultimately I find that projects under version control have been my issues.
Let me explain. I have found (at least through SDK 3.0 and 3.1) that an
upgrade to the SDK causes the local project file to go through some update
but when a later SCM update occurs, you get an old versions project files
and crasho. The new SDK is expecting a known project file and gets
hair-balled by what came in from source control. I have tried cutting and
pasting another copy, reverting, trying to fix by hand, etc but in the end,
I find that I have had to create a new blank project and copy all the files
(except for the project files) and reconfigure the library path, and the
rest of the goo. You will need the new library properties, and other . (dot)
files as well from the new project. Bring in the old ones and you die. I'll
bet you can close each of your projects and the crashes will stop when the
offending project(s) is closed. 

 

The list of source files to be compiled can be corrupted.  I believe this is
the real issue with reverting project files but don't have a good handle on
why - but you should try disabling incremental compilation.  Add
"-incremental=false" to the compiler settings in the Flex Compiler tab of
the Properties.  This will effectively ignore the .cache files.  Compile
times will be longer - but hopefully that is offset by having a stable
environment. Flex uses cache files to persist previously compiled objects.
And a clean build doesn't necessarily refresh the cache files.  It is benign
to backup and remove those .cache files. They live in a few places so you
will need to find the
.metadata/.plugins/org.eclipse.core.resources/.projects directory and within
that directory, you will find one for every Flex project. For example
./metadata/.plugins/org.eclipse.core.resoures/.projects/MYPROJECT/com.adobe.
flexbuilder.project/MyProject.cache. For each release, I like to clean these
out regardless.

K

 

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Geoffrey
Sent: Thursday, April 30, 2009 11:30 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Eclipse Crashing

 






Recently, FB(Eclipse) keeps crashing on me. I've looked all over the place
for solutions, have tried many, but none seem to do the trick.

My current setup is:
Eclipse 3.4.2 (M20090211-1700)
FB 3.0.2.214193
Flex SDK 3.3
JDK 1.6.0_13

My eclipse.ini is:
-showsplash
org.eclipse.platform
-framework
plugins\org.eclipse.osgi_3.4.3.R34x_v20081215-1030.jar
-vm
C:\Program Files (x86)\Java\jdk1.6.0_13\bin\javaw.exe
-vmargs
-Xms1024M
-Xmx1024M
-XX:PermSize=256M
-XX:MaxPermSize=512M
-XX:+UseParallelGC
-Dosgi.requiredJavaVersion=1.5
-Djava.net.preferIPv4Stack=true
-Dcom.sun.management.jmxremote

Our Flex application is a collection of 30 projects (one main one and 29
flex library projects). All have to be open at the same time or else you get
build(dependency) errors.

There's a few projects that are linked to many of the other projects. For
example, we have a project that holds all of the VOs. Making changes to that
project always took a long time to build (several minutes), but now it
crashes with OutOfMemory errors.

I've run jconsole to watch the JVM performance statistics. I don't fully
understand all the numbers, but I can see that my PS Old Gen pool gets 100%
full, and that's when I usually expect a crash to happen soon.

My machine has 8GB of RAM, although I can only allocate 1GB to Eclipse it
seems. If I raise -Xmx higher than 1024M, Eclipse won't even start.

Anyone have any suggestions?

Thanks,
~Geoff





RE: [flexcoders] Re: best ftp client

2009-04-30 Thread Kevin F. Benz
Trying not to be the heretic in the group, Mac, Linux and PC have an
installed ftp client that can be easily used if you take a few moments to
understand the commands underneath all of these clients. Get a command line
and type in ftp. I use it extensively for scripted backups and automated
deployment scripts and the commands cross all platforms.  If you need drag
and drop, it's not for you, if you want to do something simple.. 

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of aphexyuri
Sent: Thursday, April 30, 2009 8:11 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: best ftp client

 






lightweight oneFireFTP (add-on for firefox)

--- In flexcoders@yahoogroups.com  ,
Johannes Nel  wrote:
>
> i like total commander the most personally on a windows box. on a mac
fetch.
> 
> On Thu, Apr 30, 2009 at 1:30 AM, Tracy Spratt  wrote:
> 
> >
> >
> > Me too. I've never done a lot of ftp, but FileZilla was easy to use and
> > does all all need so far.
> >
> >
> >
> > Tracy Spratt,
> >
> > Lariat Services, development services available
> > --
> >
> > *From:* flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com  ]
*On
> > Behalf Of *valdhor
> > *Sent:* Wednesday, April 29, 2009 8:30 AM
> > *To:* flexcoders@yahoogroups.com  
> > *Subject:* [flexcoders] Re: best ftp client
> >
> >
> >
> >
> >
> >
> > I'm a big fan of FileZilla (http://filezilla-project.org/)
> >
> > --- In flexcoders@yahoogroups.com 
,
> > "stinasius"  wrote:
> > >
> > > what is the best free ftp client to use to upload flex app to remote
> > server?
> > >
> > 
> >
> 
> 
> 
> -- 
> j:pn
> \\no comment
>





RE: [flexcoders] Flex with IBM Websphere / DB2

2009-04-29 Thread Kevin F. Benz
Whoa. 

 

You probably have few options as the Enterprise Application on Websphere,
what services it exposes and how they are presented ultimately will
determine what you can do. For example, the application could expose beans
as endpoint services (emulating SOAP methods), could expose JMS (MQ
Services) or EJB's as traditional RMI services. Either way, you need to
start there to determine what your options are. 

 

K

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of byte.sensei
Sent: Wednesday, April 29, 2009 12:58 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex with IBM Websphere / DB2

 






I've been working with Flex using .NET HTTP/SOAP web services and MS SQL
Server for a while. Recently I started a new project using IBM Websphere
Application Server (6.1) and DB2. The environment is setup with a simple
Apache/Linux web server (no Websphere or other app server components), then
a Webspere App Server 6.1 behind a firewall, and finally a DB2 server (also
behind the firewall). The only server that is accessible externally is the
Apache/Linux web server.

My Flex app requires data from the DB2 database, and I'm used to getting it
via HTTP/SOAP web service calls. However, with nothing but a bare
Apache/Linux web server that is accessible externally, I'm trying to figure
out how to best create a simple server-side HTTP listener that will take
data requests, communicate with the WAS/DB2 servers, then send the data back
to the Flex client.

What choices/options are there for this scenario? I do have the capability
of installing some server-side components to the Apache/Linux web server.





RE: [flexcoders] Preventing duplicate database entries in ColdFusion and flex

2009-03-27 Thread Kevin F. Benz
Select the count of those that have those credentials and if the number is
greater than zero, return an error, otherwise do your insert.

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of stinasius
Sent: Friday, March 27, 2009 10:19 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Preventing duplicate database entries in ColdFusion
and flex

 

how can i prevent duplicate database entries in coldfusion and flex. for
example for registration forms, i would like that if someone registers the
same combination of username and password that already exist in the db, the
entry is rejected and the user is alerted. thanks