Upgrading from CF7 to CF9 breaks my RemoteClasses?
Hi gang... this problem has been kicking my butt all day, thought it was time to ask the forum.
We have a few Flex apps as part of our site, using Coldfusion as a back end (through Flash Remoting).
Our production and dev servers are running CF7. The Flex apps work fine in that environment.
We just set up a CF9 dev server, though, as we want to upgrade. Strangely, SOME of the Flex code is barfing in this environment. It seems to specifically relate to RemoteClasses of Actionscript Value Objects.
For example, I have this AS class:
package models
import com.roguedevelopment.objecthandles.ObjectHandles;
[RemoteClass(alias="DocumentPageFieldBean")]
[Bindable]
public class DocumentPageField extends ObjectHandles
public var DocumentPageFieldID:Number = 0;
public var DocumentPageID:Number = 0;
public var DocumentComponentID:Number = 0;
public var Required:Number = 0;
public var DocAnswer:DocumentAnswer;
public var ElementID:int = 0;
public var filter:String = "";
public var start:int = 0;
public var char:int = 0;
public var tab:int = 0;
public var type:String = "";
public var defaultdata:int = 0;
public var defaultdate:String = "";
public var limit:int = 0;
public function DocumentPageField()
Referring to a CFC at {cfcpath}.flex.Document.DocumentPageFieldBean
This has never caused issues in the past... but today, no matter what, I get:
(mx.rpc::Fault)#0
errorID = 0
faultCode = "Client.Packet.Encoding"
faultDetail = (null)
faultString = "Error deserializing client message."
message = "faultCode:Client.Packet.Encoding faultString:'Error deserializing client message.' faultDetail:'null'"
name = "Error"
rootCause = (Object)#1
cause = (null)
detail = "Ensure that the name is correct and that the component or interface exists."
localizedMessage = "Could not find the ColdFusion component or interface DocumentPageFieldBean."
message = "Could not find the ColdFusion component or interface DocumentPageFieldBean."
missingFileName = "DocumentPageFieldBean"
rootCause = (null)
type = "Application"
I've tried to use the registerClassAlias method, which did nothing. I've also tried changing the RemoteClass to [RemoteClass(alias="{cfcpath}.flex.Document.DocumentPageFieldBean")], which I know makes no sense since we are referring to the alias, but tried anyway. No luck.
Any ideas? I can't find anything on the net relating to this.. and once again, If I drop it in CF7, works fine. I've of course confirmed the CFCs are there in the same path structure as CF7.
Hi,
In CF9, we have introduced some changes in Flash remoting. Because of that there are few changes in WEB-INF/flex.Config-XML files at Destination and Channel level. Some of the Elements which used to exist at Channel level in CF8/CF7, have now been shifted to Destination level in CF9.
I would suggest you to go through this "Enhanced Flash Remoting" feature doc to get idea about changes done. By Default CF9, now ships XML files with these new changes. And a Recompilation of your Old Flex Application is required to be done against these new Config XML files.
I dont know, how you have migrated your Channels/Destinations from CF7 to CF9. Migration changes are mentioned in the Doc. Please go through it.
If you can answer some of these questions, I will have better clarity.
--> Do you Observe any Error related to Flash remoting on Server startup?
--> Have you directly copied your OLD CF7 Config-XML files on CF9?
If YES, this means that Old Flash remoting is being used on CF9 and so You dont need to Recompile your Flex Application and it should just work fine the way it used to work in CF7/CF8.
If NO, it means that you are using "Enchanced/Improved Flash Remoting" feature of CF9 But with Flex Application compiled with CF7/CF8 Style Flash Remoting. In this case, refer to the Documentation and add your Required Destinations as per the new Flash remoting specification.
CF9 continues to support CF7/CF8 style Flash Remoting as well and whether to use OLD Flash Remoting or New Flash remoting will be decided by CF based upon the Format of the Config XML files.
--> Are these Flex Application using LCDS as well?
Thanks
Jayesh Viradiya
Similar Messages
-
What are the recommended steps to upgrade from CF7 to CF8
I have read all of the documentation for how to upgrade from
CF 7.02 to CF 8. Well there is actually only one blurb in all of
the CF docs.
"Upgrade installation You can upgrade from ColdFusion MX,
ColdFusion MX 6.1, and ColdFusion MX 7. When upgrading from
ColdFusion MX, ColdFusion MX 6.1, or ColdFusion MX 7, the installer
preserves the existing settings and installs in a new directory,
automatically assigning ports that do not conflict with the
existing installation."
OK that sounds simple enough, so i went ahead and installed
it. Well it did not work, now I am stuck somewhere between 7 and 8.
My basic step, as I can best recall at 1:00AM.
* Select Multi server Configuration
* Select install path, I used D:\JRun4
* This is where my existing cf7 install was located
* installer told me port 8300 was being used so it gave me
port 8306 instead
* Selected d: for ColdFusion8DotNetService install path
* Select Passwords for admin and rds
* installed cf
* received error after install
(Adobe_ColdFusion_8_InstallLog.log)
ANT Script Error:
Status: ERROR
Additional Notes: ERROR - jrun.xmlUnable to remove existing
file D:\JRun4\bin\jrun.exe
* rebooted
* can't login to cfadmin at port 8306
* tried to login to cfadmin at port 8300, everythin works
* it appears the cf7 services are still running,
* didn't notice any new cf8 services, excpet the dotnet
stuff
Any assistance would be appriciated.
I am on windows 2003/CF8EE/Multiserver configurationA_B wrote:
> I have not seen anything come out from Adobe on this
subject but I did talk to
> two of the CF engineers at the Max Conference regarding
this issue. I spoke
> with Dean Harmon and Tom Jordahl about this issue. Here
are the basic take
> aways from what I recall. I have not yet attempted this
but will be sometime
> in the next month or two. There are a few options but
basically JRUN is an
> updated version with CF8 and there is a new JRE that it
runs on
Essentially CF comes with the updates that will become JRun 4
Updater 7
integrated into it. (The beta of Updater 7 is under way).
> - Backup existing JRUN directory (c:\JRun4 or whatever)
completely.
> - Make a backup of all the existing CF settings via a
CAR file in the CF admin.
> - Do an uninstall of your CF7 installation. This goes
against my better
> judgement since you should not need to uninstall 7
before installing 8 since
> there should be an upgrade path. I understand that there
are differences with
> JRUN etc ... but this should be done via an install.
> - Install CF8 and then restore your settings via the CAR
file. If you are
> crafty enough I believe you can also bring back all the
XML files and set a
> flag to let the CF admin to an upgrade.
Use the CAR file, XML file formats have changed between
versions.
> I want to also note that this is for the multi-server
install on top of JRUN
> in which you already have JRUN installed with CF7. I'm
surprised that Adobe
> has not released better instructions on how to do this
but they haven't and
> they seem to have let us to try to figure this out which
is completely wrong of
> them. How hard is it to write up a tech article.
What you are describing is a simultaneous update of JRun and
CF. For
just an update of CF you need to redeploy the CF EAR file as
described
in the JRun manual. For just an update of JRun you have to
wait until
updater 7 is released (or join the beta and file bugs if you
don't like
the procedure).
> Another possible option would be to update JRUN with the
latest release,
The latest release is only updater 6.
> download the latest JRE and create a custom jvm.config
file to use for the new
> JRE. Then you would create a new instance of JRUN using
the JRUN console and
> deploy a CF8 EAR/WAR file to it. You still then have the
issue of getting
> settings and things transferred.
Use a CAR file for that.
> This seems possible to do it this way but does not seem
as clean at all.
In place upgrades are never clean. In my book, an upgrade
means
rebuilding from scratch.
Jochem
Jochem van Dieten
Adobe Community Expert for ColdFusion -
I work for an organization that uses Active Directory (Windows Server 2008, I believe) for user account management and also for managing printer shares. Until Yosemite, OS X worked brilliantly with AD and our user accounts and machines were bound easily and reliably. When any user upgrades to Yosemite, the process occurs without a hitch except that AD connectivity breaks.
The color indicator for Network Account Server in Users & Groups is green, indicating that believes the connection to the directory server is OK. If you select "Edit" for the directory configuration - everything looks as it did before. However, if one attempts to access the Active Directory tree using Directory Utility it displays the error "Connection failed to node '/Active Directory/COMPANY/All Domains'. If one uses the command line utility 'dscl' to attempt to list AD entries, you also get errors:
> ls Active\ Directory/COMPANY
All Domains
> ls Active\ Directory/COMPANY/All\ Domains
ls: Invalid Path
<dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)
If I go to add a printer, I can no longer retrieve the printer list from the domain.
I have checked, and there DNS search domains are correctly configured and fully configured properly on all the computers involved. They can all ping the AD servers, and if I used dig to check for SRV records for LDAP (_ldap._tcp.directory.company.com), they are correct.
Does anyone have an idea what's going on? What's changed and how to fix it?We spent over a month trying to find a fix for this issue, and even your fix didn't work.
Same as you we have forest AD.LOCAL and domain as domain.com.
We are sure the DNS settings are fine, the green light is on and it even authenticate as it said my password will expire in X days. But it never pass the loading login screen.
Can anyone assist please?
Thanks. -
CF8 upgrade from Cf7 causing error
Okay, i've done plenty of CF7 to CF8 upgrades and I have
never seen this issue. I run the autoplay,.exe and InstallAnywhere
launches and I make it to the language select screen and click
okay, About 3/4 of the way through the next status bar. I get a
Fatal Application Error pop-up box stating This Application has
Unexpectedly Quit. Invocation of theis Java Application has caused
an InvocationTargetException. This application will now exit (LAX).
The details button then states this:
java.lang.NumberFormatException: For input string: "wo"
at
java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:447)
at java.lang.Integer.valueOf(Integer.java:526)
at java.lang.Integer.decode(Integer.java:918)
at ZeroGia.a(DashoA8113)
at
com.zerog.ia.installer.util.magicfolders.JavaHomeMF.b(DashoA8113)
at
com.zerog.ia.installer.util.magicfolders.MagicFolder.initializeAllMagicFolderPaths(DashoA 8113)
at com.zerog.ia.installer.LifeCycleManager.j(DashoA8113)
at com.zerog.ia.installer.LifeCycleManager.h(DashoA8113)
at com.zerog.ia.installer.LifeCycleManager.a(DashoA8113)
at com.zerog.ia.installer.Main.main(DashoA8113)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.zerog.lax.LAX.launch(DashoA8113)
at com.zerog.lax.LAX.main(DashoA8113)
The installation log shows this: (no errors)
Fri Jul 18 08:49:14 CDT 2008
Free Memory: 9485 kB
Total Memory: 27388 kB
java.class.path:
C:\Documents and Settings\school%world\Local
Settings\Temp\1\I1216388864\InstallerData\IAClasses.zip
C:\Documents and Settings\school%world\Local
Settings\Temp\1\I1216388864\Windows\resource\jdglue.zip
C:\Documents and Settings\school%world\Local
Settings\Temp\1\I1216388864\InstallerData\Execute.zip
C:\Documents and Settings\school%world\Local
Settings\Temp\1\I1216388864\Windows\InstallerData\Execute.zip
C:\Documents and Settings\school%world\Local
Settings\Temp\1\I1216388864\InstallerData\Resource1.zip
C:\Documents and Settings\school%world\Local
Settings\Temp\1\I1216388864\Windows\InstallerData\Resource1.zip
C:\Documents and Settings\school%world\Local
Settings\Temp\1\I1216388864\InstallerData
C:\Documents and Settings\school%world\Local
Settings\Temp\1\I1216388864\Windows\InstallerData
ZGUtil.CLASS_PATH:
C:\Documents and Settings\school%world\Local
Settings\Temp\1\I1216388864\InstallerData\IAClasses.zip
C:\Documents and Settings\school%world\Local
Settings\Temp\1\I1216388864\Windows\resource\jdglue.zip
C:\Documents and Settings\school%world\Local
Settings\Temp\1\I1216388864\InstallerData\Execute.zip
C:\Documents and Settings\school%world\Local
Settings\Temp\1\I1216388864\InstallerData
sun.boot.class.path:
C:\Documents and Settings\school%world\Local
Settings\Temp\1\I1216388864\Windows\resource\jre\lib\resources.jar
C:\Documents and Settings\school%world\Local
Settings\Temp\1\I1216388864\Windows\resource\jre\lib\rt.jar
C:\Documents and Settings\school%world\Local
Settings\Temp\1\I1216388864\Windows\resource\jre\lib\sunrsasign.jar
C:\Documents and Settings\school%world\Local
Settings\Temp\1\I1216388864\Windows\resource\jre\lib\jsse.jar
C:\Documents and Settings\school%world\Local
Settings\Temp\1\I1216388864\Windows\resource\jre\lib\jce.jar
C:\Documents and Settings\school%world\Local
Settings\Temp\1\I1216388864\Windows\resource\jre\lib\charsets.jar
C:\Documents and Settings\school%world\Local
Settings\Temp\1\I1216388864\Windows\resource\jre\classes
java.ext.dirs:
C:\Documents and Settings\school%world\Local
Settings\Temp\1\I1216388864\Windows\resource\jre\lib\ext
C:\WINDOWS\Sun\Java\lib\ext
java.version == 1.6.0_01 (Java 1)
java.vm.name == Java HotSpot(TM) Client VM
java.vm.vendor == Sun Microsystems Inc.
java.vm.version == 1.6.0_01-b06
java.vm.specification.name == Java Virtual Machine
Specification
java.vm.specification.vendor == Sun Microsystems Inc.
java.vm.specification.version == 1.0
java.specification.name == Java Platform API Specification
java.specification.vendor == Sun Microsystems Inc.
java.specification.version == 1.6
java.vendor == Sun Microsystems Inc.
java.vendor.url ==
http://java.sun.com/
java.class.version == 50.0
java.compiler == null
java.home == C:\Documents and Settings\school%world\Local
Settings\Temp\1\I1216388864\Windows\resource\jre
java.io.tmpdir == C:\DOCUME~1\SCHOOL~1\LOCALS~1\Temp\1\
os.name == Windows 2003
os.arch == x86
os.version == 5.2
path.separator == ;
file.separator == \
file.encoding == Cp1252
user.name == school%world
user.home == C:\Documents and Settings\school%world
user.dir == C:\Documents and Settings\school%world\Local
Settings\Temp\1\I1216388864\Windows
user.language == en
user.region == null
Nothing was installed.
Installed by InstallAnywhere 8.0.1 Enterprise Build 3080, by
Macrovision
User Interactions
Summary
Installation: Successful
This is a client's server so I have limited knowledge of
configuration that isn't obvious. I did notice that outbound port
80 seems to be blocked as I can't hit web pages from the server,
but DNS resolution works. Inbound port 80 is obviously open because
the current sites running on this server are reachable. I also
noticed FuseTalk is installed Any pointers as to what the issue
might be would be very helpful.
Thanksbooster94 wrote:
> Any pointers as to what the
> issue might be would be very helpful.
>
> Thanks
The first suggestion is to check the Actual File Size and MD5
Checksum
of the file. Assuming you are installing from a download file
as is
common, the file may be incomplete.
The ColdFusion Download page provides the expect values.
http://www.adobe.com/cfusion/tdrc/index.cfm?product=coldfusion -
Upgrading from 7 to 9 and server monitor
We just upgraded from cf7 to cf9 and are getting a message in the server monitor that is is unavailable in this version. Our server is Windows 2003 and IIS6 with the standard edition.
It appears to be the issue covered by this tech note
http://kb2.adobe.com/cps/527/cpsid_52797.html
The files in the tech note though are for cf8, which we never had, so I'm not sure if it will work (and I'm a bit leery to experiment on a production server).
MattWe did not do a 30 day trial install, if that is what you mean.
We did make a clone of the production server (since it is a vm) and installed it. The server monitor was not something we looked it. Our configuration has some quirks in that we process htm and html requests thru cold fusion. So that was the main focus and debugging nature of our testing. We also had some data source issues.
The server monitor is something we didn't have in 7, so I was just "checking it out" now that we are live on production. -
Upgrade to CF9 breaks Flex to CF remoting
I have been developing Flex 2 (Cairngorm) remoting applications with Coldfusion 8 with integrated LCDS on IIS. I recently upgraded the server to CF9. Prior to the upgrade, remoting to my CFCs worked flawlessly. However, after the upgrade I get this error when calling Remote Object:
[RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error Invalid URL"]
I develop on a machine (Michael) and the web root is on IIS server (mdr009). The web root on the IIS server is C:\Inetpub\wwwroot (which is also a shared folder). My compiler argument in Flex Builder is "-services "\\mdr009\wwwroot\WEB-INF\flex\services-config.xml" -locale en_US". This configuration worked with CF8 no problem, and works again when I uninstall CF9 and revert back to CF8.
I tried to disconnect the CF8/IIS connector, stop the CF8 services and set them to manual startup, but this doesn't seem to help any. I can change the URI endpoint in services-config.xml to any location like http://neverneverland/flex2gateway and still get the same error.
I have tried MANY different fixes, but can't seem to get it working. I'd be glad to supply more information if needed. Can anyone help me please?
-MichaelUpdate on this problem.
Figured out that Remoting is working. Something very wierd about this:
Noticed if I manually (in IE from LAN computers AND server) navigated to URL http://mdr009/flexprojects/requestutility/bin/requestutility.html got an error: CFC cannot be accessed remotely. This is different than the Channel.Connect.Failed error. I changed all my CFC function's access properties from "public" to "remote". The application works correctly.
Also noticed if I manually (in IE on server) navigated to URL http://localhost/flexprojects/requestutility/bin/requestutility.html the application throws a wierd error:
[RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultString="Channel.Security.Error error Error #2048"]
If I try to launch from Flex Builder 2 (Run or Debug) it fails with original error:
[RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultString="Channel.Connect.Failed error Invalid URL"]
Anyone? -
Hi,
I have to upgrade an existing production server from CF7
Standard Edition to CF8 Standard Edition and have not found any
upgrade instructions specific to this version. I am running this on
a Win2003 Server using IIS as the web server.
Is it as simple as downloading the latest build of CF8,
installing as a standard edition and supply my upgrade Serial
Number?
MichaelOriginally Posted by Mats =?iso-8859-1?q?p=E5lsson?=
Hi
I'm doing an upgrade from GW2012 sp1 to gw2014
We also have Datasync 1.2.5
GW2014 says update to GMS 2.0 before upgrading to gw 2014
GMS 2.0 requires GW2012 sp2
Do I need to update GW2012 sp1 to GW2012 SP2 (as GMS2.0 reqiures) before
I can upgrade to GW2014
or;
Can I stay on GW2012 sp1, upgrade to GMS2.0 and after that to GW2014
skipping the GW2012 SP2 step ?
/mats
I doubt you will run to any issues if you don't upgrade to 2012SP2.. Will you run GMS 2.0.1 for a long time against 2012 before upgrading to 2014SP1?
Thomas -
Bad performance on CF9 after upgrade from CF8
Hello and happy new year for everybody
I'm stuck with a problem after upgrade from CF8 entreprise to CF9 entreprise.
We are using IIS6 on WIN2003R2 (SP2).
There are a lot of "503 Server Error" with no content. (about 0.05% of request). This can be occured on big or small CFM, graphic ressources, etc...
For each error I can see the following error on the connector logs (jrun_iis6_wildcardYYMMDD.log).
2011-01-02 19:00:05 jrISAPI[1456:3940] returning error page for JRun too busy or out of memory
I've never seen this message in previous CF connector version.
And on the jrun log (coldfusion-outXXX.log), I read the following errors:
02/01 20:53:31 error unexpected end of part
java.io.IOException: unexpected end of part
at com.oreilly.servlet.multipart.PartInputStream.fill(PartInputStream.java:96)
at com.oreilly.servlet.multipart.PartInputStream.read(PartInputStream.java:191)
at com.oreilly.servlet.multipart.PartInputStream.read(PartInputStream.java:152)
at com.oreilly.servlet.multipart.FilePart.write(FilePart.java:257)
at com.oreilly.servlet.multipart.FilePart.writeTo(FilePart.java:215)
at coldfusion.filter.FormScope.fillForm(FormScope.java:252)
at coldfusion.filter.FusionContext.SymTab_initForRequest(FusionContext.java:376)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:33)
at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:53)
at coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:126)
at coldfusion.CfmServlet.service(CfmServlet.java:200)
at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42 )
at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
at jrun.servlet.FilterChain.service(FilterChain.java:101)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
02/01 20:53:31 error (JRun Service: ProxyService [jrun.servlet.jrpp.JRunProxyService@4006ca]) JRunPRoxyServer.invokeRunnable:
java.lang.IllegalStateException
at jrun.servlet.JRunResponse.getWriter(JRunResponse.java:205)
at jrun.servlet.JRunResponse.sendError(JRunResponse.java:597)
at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:328)
at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
java.lang.IllegalStateException
at jrun.servlet.JRunResponse.getWriter(JRunResponse.java:205)
at jrun.servlet.JRunResponse.sendError(JRunResponse.java:597)
at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:328)
at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
Connector settings (jrun_iis6_wildcard.ini) :
verbose=false
Buffer=true (I've tried with false)
serverstore=C:/ColdFusion9/runtime/lib/wsconfig/1/jrunserver.store
bootstrap=127.0.0.1:51800
apialloc=false
maxworkerthreads=100 (I've tried to increase/decrease this value)
JRUN settings:
Threads number: 150
Max queued jrun threads: 150
Is anyone have experience the same issue ? How can I try to solve this ?
Big thanks!@Charlie:
in the cf\runtime\logs there is only that kind of information:
05/01 10:28:44 error unexpected end of part
java.io.IOException: unexpected end of part
at com.oreilly.servlet.multipart.PartInputStream.fill(PartInputStream.java:96)
at com.oreilly.servlet.multipart.PartInputStream.read(PartInputStream.java:191)
at com.oreilly.servlet.multipart.PartInputStream.read(PartInputStream.java:152)
at com.oreilly.servlet.multipart.FilePart.write(FilePart.java:257)
at com.oreilly.servlet.multipart.FilePart.writeTo(FilePart.java:215)
at coldfusion.filter.FormScope.fillForm(FormScope.java:252)
at coldfusion.filter.FusionContext.SymTab_initForRequest(FusionContext.java:376)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:33)
at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:53)
at coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:126)
at coldfusion.CfmServlet.service(CfmServlet.java:200)
at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42 )
at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
at jrun.servlet.FilterChain.service(FilterChain.java:101)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
05/01 10:28:44 error (JRun Service: ProxyService [jrun.servlet.jrpp.JRunProxyService@16c00e2]) JRunPRoxyServer.invokeRunnable:
java.lang.IllegalStateException
at jrun.servlet.JRunResponse.getWriter(JRunResponse.java:205)
at jrun.servlet.JRunResponse.sendError(JRunResponse.java:597)
at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:328)
at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
java.lang.IllegalStateException
at jrun.servlet.JRunResponse.getWriter(JRunResponse.java:205)
at jrun.servlet.JRunResponse.sendError(JRunResponse.java:597)
at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:328)
at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
There is no line about a memory issue!
These errors happening on random request not ALL!! (arround 0.05%), and there is no real link between load and this... Our applications handle a lot of POST download, but like I've described before, error can occured on classic cfm page and static ressource...
What I mean with upgrade CF8 to CF9, is with our 10 other servers running on CF8, I've never see that 503 issue outside a real jrun problem (like a memory crash, restart, etc...)
@Carl:
Server is running on WIN2003R2SP2 32 bits OS (dual Xeon E5506, 4Go RAM). Here is the jvm.config arguments:
# Arguments to VM
java.args=-server -Xms1024m -Xmx1024m -Dsun.io.useCanonCaches=false -XX:PermSize=256m -XX:MaxPermSize=512m -XX:+UseParallelGC -Dcoldfusion.rootDir={application.home}/../ -Dcoldfusion.libPath={application.home}/../lib -Dcoldfusion.classPath={application.home}/../lib/updates,{application.home}/../lib,{appli cation.home}/../gateway/lib/,{application.home}/../wwwroot/WEB-INF/flex/jars,{application. home}/../wwwroot/WEB-INF/cfform/jars
Do you know if it should be possible to try old JRun connector used by CF8 ? -
Upgrade from 2.2.1 to 3.1.2: Breaks JS and CSS?
Upgraded from 2.2.1 to 3.1.2. The upgrade went fine but most JS and CSS seems to be broken.
Examples
1. Javascript functions not defined: redirect, html_ShowElement
2. Template button images are broken. See http://i41.tinypic.com/294pgso.jpg
My page templates are mostly unchanged, i.e. they have stuff like
#HEAD#
<title>#TITLE#</title>
<link rel="stylesheet" href="#IMAGE_PREFIX#themes/theme_10/theme_V2.css" type="text/css" />
This seems to be generating the following HTML
<script src="/i/javascript/htmldb_html_elements.js" type="text/javascript"></script>
<script src="/i/javascript/htmldb_get.js" type="text/javascript"></script>
< link rel="stylesheet" href="/i/css/core_V22.css" type="text/css" />
< ! -- [ if IE]><link rel="stylesheet" href="/i/css/core_ie_V22.css" type="text/css" /><![endif]-->
< link rel="stylesheet" href="/i/themes/theme_10/theme_V2.css" type="text/css" />
Version 3.1.2 seems to have changed stuff around. I tried creating symbolic links from htmldb_html_elements.js -> apex_3_1.js and htmldb_get.js -> apex_get_3_1.js and this got me past the Undefined errors but now I get 'apex is not defined'.
Is there a quick way to upgrade all the applications to the new way of doing things? I am not looking forward to modifying all my page templates!
Help!
ThanksSorry, my fault, my database got refreshed from one containing Apex v 2.2.1 without my knowledge and the OHS images folder was still pointing to the that from the 3.1.2 distribution. This was causing the problem. When I upgraded Apex to v3.1.2 again, everything is back to normal.
The #HEAD# substitution string in my page templates automatically pulls in the appropriate JS/CSS libraries
<script src="/i/javascript/apex_ns_3_1.js" type="text/javascript"></script>
<script src="/i/javascript/apex_3_1.js" type="text/javascript"></script>
<script src="/i/javascript/apex_get_3_1.js" type="text/javascript"></script>
<script src="/i/javascript/apex_builder.js" type="text/javascript"></script>
<link rel="stylesheet" href="/i/css/apex_3_1.css" type="text/css" />
< ! -- [ if IE ]><link rel="stylesheet" href="/i/css/apex_ie_3_1.css" type="text/css" /><![endif]-->
<link rel="stylesheet" href="/i/themes/theme_10/theme_V2.css" type="text/css" />
Sorry for the false alarm
Thanks -
[SOLVED] Upgrade from SLES10 SP3 & OES2 SP2 to SP4/SP3 breaks NCS
Hi folks,
(This post was originally meant to be a rant and a request for help, but
while writing the final paragraph i found the solution. It's still a
rant, but i figured i'd post my solution here in case someone else runs
into the same issue.)
I've just spent several hours banging my head against a broken cluster
node. My system is a 32-bit SLES 10 VM running on VMware ESX 3.5.x.
I upgraded from SLES10 SP3 and OES2 SP2 to the next service packs for
each (using the move-to-oes-sp3 script in yast2 online_update).
Everything went well for the first few update/reboot sequences, then
after the final reboot on SLES10 SP4 & OES2 SP3, cluster services would
not load or join the cluster on restart.
I checked dmesg and found errors about "Loading module compiled for
kernel version 2.6.16.60-0.54.5-vmi" into a previous kernel version, so
i tried downgrading to that kernel version, only to find that it was
older than the one i had just upgraded from (it's the original SLES10
SP3 kernel). So i tried upgrading back to the same kernel which is
running on the other cluster node (2.6.16.60-0.77.1-vmi), but that did
not work any better.
<preaching>
I have to say that i'm not impressed that OES2 SP3 isn't even compiled
against the appropriate kernel, and because of SUSE's kernel RPM
overwrite policy there's no way i can select to boot from a previous
kernel to see if that fixes things. Note to SUSE and other distro
builders: if you're not doing kernel package upgrades like Red Hat or
Ubuntu (so that we can select to boot from the previous kernel from the
boot menu), you're doing it *WRONG*.
</preaching>
I then upgraded again to the latest recommended kernel for SLES10 SP4,
and still no joy. Dmesg shows this error before the rot starts:
allocation failed: out of vmalloc space - use vmalloc=<size> to increase
size.
When searching for this error i stumbled across
http://ubuntuforums.org/showthread.php?t=1613132
which pointed me to
http://www.mythtv.org/wiki/Common_Pr...lloc_too_small
Adding vmalloc=192M to /boot/grub/menu.lst and rebooting solved the
problem for me.
Regards,
PaulOriginally Posted by Paul Gear
On 13/10/11 07:36, magic31 wrote:
> ...
> Not sure if it's related to the issue you've hit, but along the lines
> of what Kevin already mentioned, there are issues that can arries when
> using the VMI kernel (that I've seen) if having multiple flavors of the
> kernel installed along with it (as in having both kernel-vmi as also
> kernel-smp packages installed) ...
> Curious, is that also the case with your setup?
The system in question has kernel-bigsmp and kernel-vmi installed. We
only ever boot from kernel-vmi.
> I've moved to only using the smp kernel on VMware (along with the
> clock=pit boot option to avoid time drift issues, or pmtr I think in
> your case when also running NCS services in the vm).
When we installed the system (on OES2 SP1, i believe) it was a while
ago, and kernel-vmi with clocksource=acpi_pm on the kernel command line
was the only solution we could find to get reliable time. If there are
updated best-practice documents, i'd be happy to hear about them.
However, this is a production cluster and my boss is (rightly) rather
reticent to make major changes.
Paul
the official Vmware paper on time is that IF you're using SLES 10.x 32-bit you will use VMI and NO kernel params (ie, get rid of the clockpit and clocksource=blah).
But if 64-bit then you're okay.
The easiest, IMO (especially with vmware) is to use the miggui (migration utility). That's how I'm converting all my 32-bit servers in vmware to 64-bit. Works quite well.
--Kevin -
[SOLVED] Upgrade from twisted to python-twisted breaks deluge-gtk.
So I just performed the following upgrades (I had to remove twisted before updating, because it would not upgrade from twisted to python-twisted directly. See the bottom of this post):
[2014-05-21 20:21] [PACMAN] Running 'pacman -R twisted'
[2014-05-21 20:21] [PACMAN] Running 'pacman -Rdd twisted'
[2014-05-21 20:21] [PACMAN] removed twisted (13.2.0-1)
[2014-05-21 20:21] [PACMAN] Running 'pacman -S python-twisted'
[2014-05-21 20:21] [PACMAN] installed python-crypto (2.6.1-2)
[2014-05-21 20:21] [PACMAN] installed python-zope-interface (4.1.1-1)
[2014-05-21 20:21] [PACMAN] installed python-twisted (14.0.0-1)
[2014-05-21 20:22] [PACMAN] Running 'pacman -Su
[2014-05-21 20:22] [PACMAN] starting full system upgrade
[2014-05-21 20:22] [PACMAN] upgraded ffmpeg (1:2.2.2-2 -> 1:2.2.2-3)
[2014-05-21 20:22] [PACMAN] upgraded mesa (10.1.3-1 -> 10.1.4-1)
[2014-05-21 20:22] [PACMAN] upgraded lib32-mesa (10.1.3-1 -> 10.1.4-1)
[2014-05-21 20:22] [PACMAN] upgraded netctl (1.6-1 -> 1.7-1)
[2014-05-21 20:22] [PACMAN] upgraded perl-net-ssleay (1.61-1 -> 1.63-1)
[2014-05-21 20:22] [PACMAN] upgraded python (3.4.0-3 -> 3.4.1-1)
[2014-05-21 20:22] [ALPM-SCRIPTLET] If you get distorted sound in skype, try adding PULSE_LATENCY_MSEC=60 to your
[2014-05-21 20:22] [ALPM-SCRIPTLET] env before starting skype. Something like 'export PULSE_LATENCY_MSEC=60' in .bashrc, for example.
[2014-05-21 20:22] [PACMAN] upgraded skype (4.2.0.13-3 -> 4.2.0.13-4)
[2014-05-21 20:22] [PACMAN] upgraded xf86-input-evdev (2.8.4-1 -> 2.9.0-1)
Now when I start deluge-gtk, I get this:
claire ~ % deluge-gtk
Traceback (most recent call last):
File "/usr/bin/deluge-gtk", line 9, in <module>
load_entry_point('deluge==1.3.6', 'gui_scripts', 'deluge-gtk')()
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 356, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2431, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2147, in load
['__name__'])
File "/usr/lib/python2.7/site-packages/deluge/ui/gtkui/__init__.py", line 1, in <module>
from gtkui import start
File "/usr/lib/python2.7/site-packages/deluge/ui/gtkui/gtkui.py", line 41, in <module>
from twisted.internet import gtk2reactor
ImportError: No module named twisted.internet
Downgrading back to twisted resolved the problem. Any ideas?
======
In case you're wondering about my problems with twisted to python-twisted upgrade, here's the terminal output:
claire ~ % sudo pacman -Su --ignore=chromium
:: Starting full system upgrade...
:: Replace twisted with extra/python2-twisted? [Y/n] y
resolving dependencies...
looking for inter-conflicts...
Packages (2):
Name Old Version New Version Net Change
extra/python2-twisted 14.0.0-1 36.56 MiB
twisted 13.2.0-1 -34.62 MiB
Total Installed Size: 36.56 MiB
Net Upgrade Size: 1.95 MiB
:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [----------------------] 100%
(1/1) checking package integrity [----------------------] 100%
(1/1) loading package files [----------------------] 100%
(1/1) checking for file conflicts [----------------------] 100%
error: failed to commit transaction (conflicting files)
python2-twisted: /usr/lib/python2.7/site-packages/twisted/plugins/dropin.cache exists in filesystem
Errors occurred, no packages were upgraded.
Last edited by clfarron4 (2014-05-21 21:12:56)olantwin wrote:
Have you tried (re)moving the conflicting file and then upgrading twisted to python2-twisted? (see this related thread: https://bbs.archlinux.org/viewtopic.php?id=181828 )
I just upgraded twisted after having the same conflict, and deluge-gtk does not throw any errors and seems to work fine.
Are you using the daemon+client or just deluge-gtk?
Hmph... So renaming the .cache file and then upgrading solved everything. As much as I don't like to do that with conflicting files, it worked.
Marking as [SOLVED].
Last edited by clfarron4 (2014-05-21 21:13:27) -
I'm still relativlly unfamiliar with Macs and had a fairly simple question: If I upgrade from OSX 10.6.8 (MacBookPro5,2) to Mountain Lion, will any of my already installed programs (Adobe CS4 programs, Lightwave 10, Corel Painter 11, etc.) be affected or have issues with the newer OS? Should I be asking the individual software makers or perhaps a different Apple forum?
Thanks,
J GilchristCheck here for compatibility of 3rd party Software you may be using...
http://roaringapps.com/apps:table -
Extensions break on upgrade from 10.3.9-10.4.x
Hi folks,
I just did an upgrade from 10.3.9 to 10.4.8 on a fairly well upgraded Sawtooth (dual 1 gig proc, 2 gig RAM, 250 gig SATA HDs in a mirrored RAID).
I'm getting errors on startup that several extensions "weren't installed correctly" and I'm wondering if any of them are particularly critical for anything I do on this machine, which is used as a web/mysql/dns server. The extensions are:
OpenOWScreamerAudio.kext
OpenScreamerAudio.kext
GossamerNDRVSupport.kext
PatchedBlockStorageDrive.kext
Thanks.Yikes. It's getting worse.
Now the cache for my SIIG sata controller isn't accepted any more... system/library/caches/com.apple.romextensions/SIIG3512ER4.kext
and my SATA drives aren't showing up.
The full scenario is this:
1) Use the Disk Util Restore function to copy the contents of my mirrored RAID (two 250 gig sata drives) onto an external firewire drive.
2) Run the update from 10.3.8 to 10.4.8 on the firewire drive on a separate machine. Test. Runs OK except for the extension problem in my earlier post, which doesn't seem to affect functionality.
3) After running for a couple days from the fw drive with no further trouble, use Disk Utility's Restore to overwrite the 10 3 9 version on the RAID with the newer 10.4.8 version. Run "repair permissions" on the RAID. After that, the RAID drives are greyed out in DU's left panel. Restart DU with intent to run Repair Disk, but RAID drives don't even mount and aren't visible for mounting.
4) reboot. No progress. -
Is it really possible to upgrade from a Treo 650 to a Treo 750?
I am not a very happy customer at the moment, but any help would be greatly appreciated. I upgraded from my old Palm Tungsten to a Zire, then to a Cingular Treo 650, combining three devices into one. I have since discovered that the Treo 650 seems to have a faulty transmission mode, as I can rarely be clearly understood by whomever I call. Am on the second (or third, I have lost track) and continue to have the same problem. I get five bars of reception but can't be understood on the other end. A bit of a problem when one is trying to call 911. Am constantly told I am "breaking up". The repair shop says it "Can't duplicate the problem". OK, then I do not want to give up all the info I have stored in the fool thing, and the 750 seems to have a different system, so I thought I would try that. All the stuff I could find seemed to indicate it wouldn't be a problem to upgrade. When the 750 arrived, I tried to install the software from the CD on my Windows XP computer. No dice. Setup encounters an error and closes. Can't even look at the files, because setup tries to run any time I access the CD. From any drive. Gave it to my girlfiend to check on her computer, and the CD seemed to run fine. Other CDs work just fine on my computer. Must be some kind of conflict, but what? Tried calling the AT&T number that suggested they could help with setup, and was first connected to the business center, they routed me to the laptop center, who routed me to the network center, who said they would have to bring in the Palm customer service and connected me to a Mac guy that dumped me back to a menu that took me to someone for whom English is a second language with whom I was trying to communicate over a very poor satellite connection. They made no sense anyway. telling me first that I couldn't have two desktops running (wrong, my girlfriend has my old Zire and the CD worked fine) and then insisting that the serial number on my device had to start with a P, when it clearly does not have any alpha characters in it. Gave up on that route of assistance. Managed to get the new ActiveSync installed from my girlfriends computer over the network. Great. Now let's get my 650 synced with Outlook (which I have not used at home) and see if we can move on. Nope. First I have to update Outlook 2000 from the old Win98 to my current XP. Find the old CD, and square that away. OK, now sync to Outlook. Nope. The sync program gives an error, saying it will only sync with Outlook 98, 2000, and XP(2002). Good grief. I have Outlook 2000, and the software apparently does not recognize it. If the Palm doesn't work, there is no reason for me to keep this phone, and I am very close to returning it and abandoning the Palm entirely when I upgrade to something that works, although I dread re-entering all that information.
Post relates to: Treo 750 (AT&T)
This question was solved.
View Solution.Thanks for the feedback. Today I installed an Enterprise version of Office 2007 I purchased a while back, but had not yet installed. Microsoft presented a few challenges, but they were quickly resolved. I then downloaded the appropriate conduit from Palm, and synced the 650 with the handheld overwriting the computer. Then used Active Destop to sync the 750. Satisfied I had moved as much info as possible, I called AT&T and had them move the phone number to the new Treo.
Bonus! When the guy at AT&T called me on the new phone to verify it, he said it sounded better than my landline.
Sorry for the streaming paragraph. When it is late I tend to write like I think.
Dave
Post relates to: Treo 750 (AT&T) -
Against my better judgement (now that Apple has turned into Microsoft 10 years ago, breaking apps with every OS update, followed by radio silence from Apple, pretending like they didn't do anything), I just upgraded from Mountain Lion to Yosemite and noticed that my Motion 4 icon is now greyed out. Thanks Apple.
I still do the majority of my work in Final Cut Pro 7, with many, many, Motion 4 projects embedded in the timeline (so that I can change them in Motion and have them seamlessly updated in my Final Cut Pro project), including an unfinished feature length documentary on gay and lesbian history from 2000 BC until 1900 AD. Should I just throw the entire film into the rubbish bin? I would presume that Motion 5.1.2 is incompatible with Final Cut 7? So what am I supposed to do now?
1 - Downgrade to Mountain Lion (or heck, why not Snow Leopard?)?
2 - Switch to Adobe Premiere?
3 - All of the above?
Thanks (for nothing, Apple).
MacBook Pro 15" with Retina Display
2.4 GHz Intel Core i7
8 GB 1600 MHz DDR3
NVIDIA GeForce GT 650M 1024 MBAfter some peacefull time my system crashed completely on Friday!
I installed all from Scratch to make sure its not some old stuff that I carried on during migration.
It's not a problem with the motion files as I deleted all of them and XML export is still crashing!
The situation is, that after installing it all I got the same quicktime translation error again and I am quite angry about how Apple handles clients who are working on projects with the recent FCP story.
Unfortunately due to the problems in exporting XML I am not even able to switch to Adobe Premier as this is the only way to import there.
After a lot of testing I am quite sure, that this issue has to do something with an Apple Update release between June 2011 and now.
Conclusion: Final Cut Studio II is not working correctly anymore as it did before June 2011!!! Apple, Please fix this issue asap.!!!!
Maybe you are looking for
-
How to set up ALE between 4.7 and ECC 6.0 version
Hi, We are running on 4.7 EE version of SAP with all main modules. Now we are building another system for HR module in ECC 6.0 version of SAP. Now the requriement is all the HR transactions posted in ECC 6.0 version shoule be moved to 4.7EE SAP syste
-
I found xml files in my documents. Did these come with my Mac? What are they? In their info it says they were created Dec. 31, 1979, which is way before I got my Mac. Thanks for any clarification.
-
dear all what is view link concept in OAF Regards Sreekanth
-
On my fp iMac, running 10.4.11: A relatively new (roughly the past ten days) issue has arisen. I think I've narrowed it down to when the machine is woken up from sleep. I can't get on the internet nor can I connect to my other two machines from the '
-
I am searching for a Jog wheel /knob of sorts for controlling user input of time/frequency on the front panel. What I would like to do is akin to the Jog wheel that we use on ham radio stations to change frequencies/channels etc. Essentially, you ca