<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.1" -->
<rss version="0.92">
<channel>
	<title>SRAY</title>
	<link>http://sray.squidpower.com</link>
	<description>Just another SquidPower.com weblog</description>
	<lastBuildDate>Wed, 13 Jan 2010 17:09:50 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Solution to Error Running mxmlc.exe with Windows 64bit JVM</title>
		<description>When attempting to run mxmlc.exe from the Flex 3 SDK:
Error loading: C:\Program Files\Java\jdk1.6.0_17\jre\bin\server\jvm.dll
To solve this error I created a new batch file in the FLEX3_HOME/bin directory and named it mxmlc64bit.bat with the following one line:
 "%JAVA_HOME%\bin\java.exe" -Xmx384m -Dsun.io.useCanonCaches=false -jar "%~dp0\..\lib\mxmlc.jar" +flexlib="%~dp0\..\frameworks" %*
 This bascially executes java to load the mxmlc.jar directly similar to ...</description>
		<link>http://sray.squidpower.com/2010/01/13/solution-to-error-running-mxmlcexe-with-windows-64bit-jvm/</link>
			</item>
	<item>
		<title>Hauppauge HD PVR Streaming to Flash Player</title>
		<description>This blog shows how to stream directly from the Hauppauage HD PVR H.264 Encoder to a Flash Player Client with no need to reencode the audio or video.  To accomplish this I have used a series of Windows DirectShow Filters to receive the stream from the HD PVR, send the ...</description>
		<link>http://sray.squidpower.com/2009/04/08/hauppauge-hd-pvr-streaming-to-flash-player-on-windows/</link>
			</item>
	<item>
		<title>Working udev rules for multiple pvrusb2 and hvr-1950 devices</title>
		<description>I have 6 WinTV HVR-1950 Model Category 751xx usb devices attached to one MythBuntu box recording 6 composite audio/video feeds from 6 security cameras.

Whenever the machine reboots the usb devices are assigned their device filename in non-repeatable and not well defined order so that each time /dev/video0 will probably be ...</description>
		<link>http://sray.squidpower.com/2009/03/03/working-udev-rules-for-multiple-pvrusb2-and-hvr-1950-devices/</link>
			</item>
	<item>
		<title>Hauppauge WinTV HVR-1950 on Linux MythBuntu MythTV</title>
		<description>What I did to get analog tv tuner, composite, or s-video capture to work:

	Fresh install of mythbuntu 9.04
	Extract and install the firmware files for HVR-1950:

	Download http://www.isely.net/downloads/fwextract.pl to ~/Desktop
	Insert the CD that came with your HVR-1950 (contains windows drivers) [assume it mounted as /media/cdrom0]
	cd ~/Desktop
	chmod u+x fwextract.pl
	./fwextract.pl /media/cdrom0/Drivers/
	sudo copy *.fw /lib/firmware


	Run ...</description>
		<link>http://sray.squidpower.com/2009/02/18/hauppauge-wintv-hvr-1950-on-linux-mythbuntu-mythtv-analog-digital-video-including-s-video-and-composite-inputs/</link>
			</item>
	<item>
		<title>SPEEDTEST.NET MINI with JSP</title>
		<description>You can download a neat flash broadband speed test from http://www.speedtest.net/mini.php and put it on your own web site.

It comes with server side scripts in PHP, ASP.NET, and ASP for the upload half of the test.  But what if you want it to run on your java web container server such ...</description>
		<link>http://sray.squidpower.com/2009/02/13/speedtestnet-mini-with-jsp/</link>
			</item>
	<item>
		<title>Using Boolean AND &#38;&#38; Operator in Flex MXML Data Binding</title>
		<description>As you probably know because you are searching for a solution to this error, the following Flex MXML code will not work:

&#60;HBox visible="{((booleanValue1) &#38;&#38; (booleanValue2))}" &#62;

You will get this error message during compile:

Error: The entity name must immediately follow the '&#38;' in the entity reference.

Instead you will need to use ...</description>
		<link>http://sray.squidpower.com/2008/12/17/using-boolean-and-operator-in-flex-mxml-data-binding/</link>
			</item>
	<item>
		<title>Outlook 2007 VBA Run A Script Rule Stopped Working</title>
		<description>I have been banging my head against the wall on this one.  I wrote an Outlook 2007 rule that was set to "run a script".  I used the Outlook integrated Visual Basic Editor (Alt+F11) to create one that would parse an email, pull out an html link for an xml ...</description>
		<link>http://sray.squidpower.com/2008/08/13/outlook-2007-vba-run-a-script-rule-stopped-working/</link>
			</item>
	<item>
		<title>How to Use Apache mod_proxy to Work Around crossdomain.xml Constraints</title>
		<description>I was recently given the task to load xml from a Flex app hosted on our web site.  Easy task I thought, especially with the mx.rpc.http.mxml.HTTPService flex object. 

Until I ran into this error:

faultCode: Channel.Security.Error
faultString: 'Security error accessing url'
faultDetail: 'Destination: DefaultHTTP'
The problem was that the flex swf was to run on our web site, ...</description>
		<link>http://sray.squidpower.com/2007/12/20/how-to-use-apache-mod_proxy-to-work-around-crossdomainxml-constraints/</link>
			</item>
	<item>
		<title>Flex messaging requires display-name entry in web.xml</title>
		<description>Flex messaging (Flex Data Services, FDS, FDS2, now called LiveCycle) requires that the display-name entry be in the web.xml (for sure in JBoss, I assume in other Java servers).Â  Otherwise you will get errors similar to these:


08:04:06,018 ERROR Servlet threw load() exception
java.lang.NullPointerException
        at ...</description>
		<link>http://sray.squidpower.com/2007/10/11/flex-messaging-requires-display-name-entry-in-webxml/</link>
			</item>
	<item>
		<title>NetStream Errors if no AsyncErrorEvent handler specified</title>
		<description>This one kind of bugs me.Â  If you don'tÂ create an event handler on the flex/flash NetStream object for the AsyncErrorEvent and you call the NetStream.play function you will get the following errors. Well, you will see it in the flash debug player.

ERRORS:
Error #2044: Unhandled AsyncErrorEvent:. text=Error #2095: flash.net.NetStream was unable ...</description>
		<link>http://sray.squidpower.com/2007/10/09/netstream-errors-if-no-ayncerrorevent-handler-specified/</link>
			</item>
	<item>
		<title>Flash Media Server from Flex 2</title>
		<description>Flex2 with FMS2

OK, this one caused me to waste a bit of time so here I'm going to describe the problem in detail.Â  Hopefully it will save someone else the trouble I had.Â  Basically Flex 2 defaults to AMF3 and Flash Media Server 2 will only support AMF0.

On the FMS ...</description>
		<link>http://sray.squidpower.com/2007/10/09/flash-media-server-from-flex-2/</link>
			</item>
	<item>
		<title>Flex 2 Java Session Log Out</title>
		<description>Here is how to log out a user (invalidate their java web session) assuming you have a Flex 2 front end with a Java back end. Also assuming you are using the standard J2EE JAAS authenticationÂ api to protect your web app this will log them out of the software. Create ...</description>
		<link>http://sray.squidpower.com/2007/08/28/flex-2-java-session-log-out/</link>
			</item>
	<item>
		<title>Upgrading the Internet Explorer Active X Controls in Delphi 5</title>
		<description>Component &#62; Install Packages...
"Internet Explorer Controls"
Remove
Component &#62; Import ActiveX Control
"Microsoft Ineternet Controls (Version 1.1)"

 </description>
		<link>http://sray.squidpower.com/2006/10/11/upgrading-the-internet-explorer-active-x-controls-in-delphi-5/</link>
			</item>
	<item>
		<title>XPath Issues with JBoss 4.0.3 SP1</title>
		<description>I recently ran across this error message when running Flex Data Services 2 inside JBoss 4.0.3 SP1:
ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/samples].[MessageBrokerServlet]:145]
Allocate exception for servlet MessageBrokerServlet
java.lang.RuntimeException: XPathFactory#newInstance() failed to create an XPathFactory for the default object model: http://java.sun.com/jaxp/xpath/dom with the XPathFactoryConfigurationException: javax.xml.xpath.XPathFactoryConfigurationException: No XPathFctory implementation found for the object model: http://java.sun.com/jaxp/xpath/dom
The problem is with ...</description>
		<link>http://sray.squidpower.com/2006/08/22/xpath-issues-with-jboss-403-sp1/</link>
			</item>
	<item>
		<title>ActionScript Package Name Case Sensitvity</title>
		<description>I checked out some mxml / action scriptÂ code from ourÂ CVS repositoryÂ todayÂ and recieved an error when trying to compile it:
Â Error: Type was not found or was not a compile-time constant: &#60;ActionScript Class Name&#62;
It seemed from the error message that someone must have 1) forgotten to add an import in action scriptÂ or ...</description>
		<link>http://sray.squidpower.com/2006/08/21/actionscript-package-name-case-sensitvity/</link>
			</item>
	<item>
		<title>How to Access HttpRequest from Flex Data Services 2</title>
		<description>Sometimes in a flex app that is deployed as part of a java web app you will need to know who is the currently logged in user.Â  To do this in Flex 1.5 you could use the flashGateway.Gateway class.Â  In Flex 2.0 this is done using the flex.messaging.FlexContext class (part ...</description>
		<link>http://sray.squidpower.com/2006/08/17/how-to-access-httprequest-from-flex-data-services-2/</link>
			</item>
	<item>
		<title>Maven Build for Flex Applications</title>
		<description>First see related blog Directory Structure for Integrated Flex and Java Web Applications.Â  This blog shows how easily one can build such project using maven with sample maven.xml, project.xml, project.properties files.Â  The samples are for maven version 1.0.2 and not version 2.x.Â Â Â Â Â Â Â Â Â Â Â  Â 

&#60;to be continued&#62;

NOTE: You will get an error ...</description>
		<link>http://sray.squidpower.com/2006/08/16/maven-build-for-flex-applications/</link>
			</item>
	<item>
		<title>Integrating Flex and Java in an Eclipse Web App Project</title>
		<description>Requirements
1.Â Eclipse Web Tools Platform (WTP) from http://www.eclipse.org/webtools/, specifically the Web Standard Tools (WST) is used in this tutorial.
2.Â Flex 2 Builder Eclipse Plug-In from http://www.adobe.com/products/flex/flexbuilder/
Create the Eclipse Web App Project
1.Â Create a new project as â€œWeb &#62; Dynamic Web Projectâ€.
2.Â Give it a descriptive project name.
3.Â Uncheck â€œUse defaultâ€ and set â€œDirectoryâ€ to the ...</description>
		<link>http://sray.squidpower.com/2006/08/15/integrating-flex-and-java-in-an-eclipse-web-app-project/</link>
			</item>
	<item>
		<title>Directory Structure for Integrated Flex and Java Web Applications</title>
		<description>This blog describes a proposed directory structure for web applications that contain a mix of flex applications, java presentation layer code, and java integration layer code.Â  From this structure you could easily build projects using ant or maven (preferred).Â 

 </description>
		<link>http://sray.squidpower.com/2006/08/11/directory-structure-for-integrated-flex-and-java-web-applications/</link>
			</item>
	<item>
		<title>FDS 2 and Flex Builder 2</title>
		<description>I have found that Flex Builder 2 does not properly recognize any flex data services 2 mx components because it does not include the fds2.swc file by default in its install and thus cannot use the FDS2 controls.Â  To fix this problem, simply copy fds2.swc from &#60;fds2 install folder&#62;\flex_sdk_2\frameworks\libs to ...</description>
		<link>http://sray.squidpower.com/2006/08/10/fds-2-and-flex-builder-2/</link>
			</item>
	<item>
		<title>Quick and Easy POJO Web Services with JBossWS</title>
		<description>Here is a step-by-stepÂ tutorial explaining the quickest and easiest way to expose a plain old java object (POJO) as a web service.Â  This example uses jboss's new web services stack (JBossWS-1.0.2.GA).Â  With this method you can quickly convert any java object into a web service.Â  For example, you could expose ...</description>
		<link>http://sray.squidpower.com/2006/08/09/quick-and-easy-pojo-web-services-with-jbossws/</link>
			</item>
	<item>
		<title>Maven Build with Eclipse</title>
		<description>I have found that the best way to run maven from inside eclipse is to create only one external tool named â€œMavenâ€ and use the project_loc variable to specify the working directory in which maven will run.Â 
Here is a step-by-step guide:
1.Â Run &#62; External Tools &#62; External Toolsâ€¦
2.Â Right click on â€œProgramâ€ ...</description>
		<link>http://sray.squidpower.com/2006/08/08/maven-build-with-eclipse/</link>
			</item>
	<item>
		<title>Maven versus Ant comparison</title>
		<description>Here are the short and concise reasons why maven is a better choice than ant for project builds:

Maven can run any ant scripts you need, so maven can do any thing ant does.
Maven does not need to be explicitly told to compile java files or build a war or ear ...</description>
		<link>http://sray.squidpower.com/2006/08/07/maven-versus-ant/</link>
			</item>
	<item>
		<title>Renaming Folders in CVS</title>
		<description>When renaming a folder in CVS, you will need to perform the following steps:

	Rename the folder on the CVS server
	On every client that already has it checked out, change the folder name and modify the

	CVS/Entries fileÂ at the same level as the renamed folder
	every CVS/Repositories file below the renamed folder



What a ...</description>
		<link>http://sray.squidpower.com/2001/08/22/renaming-folders-in-cvs/</link>
			</item>
</channel>
</rss>
