I'm working on ColdFusion 11 project with IIS server. I'm facing a problem with the Coldfusion services. The ColdFusion 11 application server automatically stops suddenly, and after restarting the service it works for 2 minutes and again shuts down.
The status on the Services shows 'Running' but when I cross-check with the administrator its already stopped. While restarting the service it also throws an Error:1053. I have tried with the registry editing and adding the 'ServicesPipeTimeout' but it didn't work. Please help to resolve the automatic shutting down of the service.
Related
I am running through the WSO2 example at https://docs.wso2.com/display/DVS370/Retail+Banking+Sample with all the latest downloads on the DEV Studio and servers as of Oct 25, 2014. I get to the end and receive an error I have not come across.
"Error while creating CAR"
An error occurred while creating or publishing the car for more details view the log. Transport error: 502 error: Tunnel Connection Failed.
I configured all servers on one Win7 Workstation 64-bit, with ActiveMQ and MySQL and all the things correctly installed and working independently. I cannot get this last step to deploy the app and see how it will actually work. I need this to understand if/how I can use this in my scenario for our productions systems so any help is GREATLY appreciated!
I have a web service that has been running on CF 8 for awhile now without issues. We've recently moved to CF10, and this web service no longer works. I've already tried switching the Axis setting to 1, it's still tossing errors. Has anyone else encountered this, or have an ideas on what else to look for here?
Process:
CF Server sends a web service request to App Server.
App Server processes request, generates another web service back to CF Server with SOAP data pushes, then replies back to the step 1 originating request with a boolean response on how its own web service request went.
CF Server Errors:
The web service operation caused an invocation exception.The root cause was that: ClientAbortException: java.net.SocketException: Connection reset by peer: socket write error.
Cannot perform web service invocation [Method Name]. The fault returned when invoking the web service operation is: java.lang.NoClassDefFoundError: org/apache/james/mime4j/MimeException
App Server Error Logs:
com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Message send failed
SEVERE: SAAJ0009: Message send failed
com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Message send failed
Caused by: java.io.IOException: Error writing to server
I've gone as far as modifying the App Server configuration to have it's web service request push out to the CF 8 server for processing, while still replying back to the originating request from the CF 10 server. This worked fine. It's definitely something with the requests or my CF 10 web service config.
I can't post any of the code examples unfortunately.
24 Sept 13 Update
I've tried various combinations of v1 and v2 in the CF admin, with wsdl and wsdl2, and the application.cfc setup. The app that is interacting with this service has given me the ability to modify a variety of parameters for soap versioning and some internal items. I can get the two services to talk with a bare bones connection of give me your soap and I'll toss a YES back. Whenever I try to use the full request it seems to never actually hit my web service, and gets stopped somewhere by CF. I see no logging on it other than in the web service log.
I found the solution to my problem. The ColdFusion connector was causing the fault. After installing ColdFusion 10 and patching, I had run the wsconfig to rebuild the connector. I had either done this incorrectly, or for some reason it didn't take. I ran it this morning, removed the connector, re-added it.... everything working fine now. Very frustrating.
I have IIS (localhost:443) and Tomcat (localhost:8080) both running on my local machine. The Tomcat contains Java web services and I can remotely debug it in Eclipse IDE. I have an application installed in my IIS and when I access the page of that application, it requests a web service in Tomcat.
The problem is that when I try to load the page (the one deployed in IIS), my Eclipse won't go to the break point, meaning no request was retrieved on the Tomcat side.
But when I try to execute a request using SoapUI, Tomcat receives it and it enters my breakpoint in Eclipse. (meaning that the web services are accessible)
I cannot debug the application in IIS so I cannot determine why it can't call the web service.
Do I need to setup Windows Firewall for it? I'm just running those apps in my local machine.
Any ideas?
I got it working. My problem was permission issues in c:\windows\temp directory. I found my answer here http://nishantrana.wordpress.com/2008/02/06/unable-to-generate-a-temporary-class-result1-error-cs2001-source-file-cwindowstempfilenamecs-could-not-be-found-error-cs2008-no-inputs-specified/
I recently migrated our server from ColdFusion 7 Enterprise to ColdFusion 10 Standard and now our event gateways aren't working. When I try to start them, it says:
Unable to start event gateway instance: Event Gateway Service is not
enabled.
I do have "Enable ColdFusion Event Gateway Services" checked in the "Gateway Settings" page. When I turn the setting on and off, it says "Event Gateway Started.". Yet it still won't start my services. When I click start, I get the "Unable to start..." error.
I've seen a few posts about this problem, on Adobe's site, but no solutions. Both threads end with a comment that "it's working now!", but do not explain how the problem was fixed.
Unable to start event gateway instance: Event Gateway Service is not enabled., (service IS enabled)
Event Gateway Service/Instance Not Working
Am I totally forgetting a setting on the server or something?
I figured it out. If you are using Standard and not Enterprise you will have to make sure you are only entering 1 in the thread. I was entering 8 like on our old server. When I was clicking update it was not really updating even though it said it was. After I updated it with 1 thread and restarted the server. It worked. I didn't even have to click start services, they came up on their own. I'm assuming since the answer was so simple why no one updated their own answer on the adobe forums, which was super annoying.
You need to start the Event Gateway Service in CF Administrator, and then will likely need to restart ColdFusion service.
This could be caused by the insufficient privileges for the the directories you're trying to watch.
Check the service account of the Coldfusion Application Server service and see if it has sufficient privileges (i.e. local system account might not have access to the directories you're trying to watch)
This is a multi ColdFusion configured server with cf7 and cf8 and the jrun located in the main C:\ .
After editing the JVM.config and increasing the memory size to Xms1024m Xmx1024m
and GC to XX:MaxPermSize=256m, and then restarting.
I am unable to get any of my sites to load in the browser. One gives me a 404 and the other gives me an ACL 403 (Access Denied). If I try browse the site with the 403 to a subdirectory (ex.http://site.com/folder), I see the CFML code. If I do the same with the site giving me the 404, I get The request is not supported.
This server originally had CF7 and then CF8 was installed in Multiserver Config.
I can get to the CF8 Admin on port 8300 but nothing on port 80 with IIS.
I returned the JVM.config file back to its default by taking the back up file and restoring to the directory, but that didn't work.
Ok, So I solved the issue. The issue was that the Server orignally used a Multiserver configuration because CF 7 and CF 8 are both installed on the machines. When I looked at the MultiServer Configuration for CF 8, everything seemed correct. However, when I looked at the Single Server CF 8 configuration there was no configuration. Although the this type of scenario worked worked prior, I decided to add configurations to the Single CF 8 configuration and both sites came up.
These are guesses, but...
Has "index.cfm" been removed from the list of default documents?
Perhaps the CF connector needs to be re-run.