ColdFusion 11 RDS in Homesite - coldfusion

Has anyone been able to get an RDS connection working between ColdFusion 11 and HomeSite? If so, I'd sure appreciate some specifics. I've tried about everything, and I get an error "HTTP Error :404".
Thanks. -bg

CF6 through 9 used JRun, so I can image that HomeSite's RDS implementation was suited to that server. Now that CF 10 and 11 run on Tomcat instead of JRun, I can't imagine that the RDS connection will work. Nor can I see Adobe issuing a patch for a piece software they never supported.
If you want an IDE with ColdFusion 10/11 RDS support, you're going to have to bite the bullet and move to ColdFusion Builder. If you want a better editor and can do without the RDS support, I'd suggest Sublime Text.

The following Apache directive fixed the 404 issue with RDS:
<Location "/CFIDE/main/ide.cfm">
SetHandler jakarta-servlet
</Location>
Turns out Apache tries to verify that the file exists but this one doesn't, hence the 404. The /CFIDE/main/ide.cfm location is mapped to the RDS servlet in the Tomcat config so you need to tell Apache to route requests to that location to Tomcat.

I got it working. It was a problem with the configuration on the server. It works now in ColdFusion Builder 3 AND HomeSite+.

Related

Running Django on a Linux Server using Apache with HTTPS

I've been trying to figure this out for a while now and nothing I've found has really been helping.
I've got a remote Linux server running with Apache installed, and right now everything going to the server is redirected to HTTPS through Apache. This all works fine and I can access the files I need to normally, but now I'd like to also add in a Django site to my server under a new "subdomain". (For example I'd like to still be able to access non-Django files as usual 'https://www.thesite.com/path/to/file.php' and also be able to access the Django site like 'https://www.thesite.com/djangosite/some/site/page')
Could someone please give me some direction as to how I'd be able to do this? I can supply more information if it's needed.
Thanks in advance!
Edit 1: The Django server seems to dislike connecting via HTTPS and I'm getting an error that it can only support HTTP, but I need it because I want the site to be secure, and currently Apache is redirecting all HTTP requests to HTTPS, so do I need some other method of making it work?
https://www.digicert.com/ssl-support/apache-multiple-ssl-certificates-using-sni.htm
Check out SNI and also potentially wild card certificates

REST calls not working on AWS with localhost?

I'm running a Spring application on an AWS box. The app is being hosted with Tomcat 8 and the build is running great. However, the calls we are making to the back don't work using localhost but do work when we use the ip instead.
Shouldn't we be able to use localhost instead of the ip? Is this a configuration issue with Tomcat 8 on our box and if so, what do we need to fix?
One reason can be a configuration issue in Tomcat, however, i think there is a higher probability of a missing configuration on the machine itself. I guess this is a Linux box, maybe a line missing in /etc/hosts (like the one below)?
127.0.0.1 localhost

Axis Bottom-up Webservice IWAB0489E error

I am having a look around bottom-up Webservice in Eclipse. Here is my environment:
Eclipse Helios
Java 1.6.0_29
Apache Axis2
Tomcat 6.x
I create Dynamic Web project and create a simple service class. And then I tried to create Webservice for the class, I got some errors like below:
IWAB0489E Error when deploying Web service to Axis runtime
axis-admin failed with {http://schemas.xmlsoap.org/soap/envelope/}Client The service cannot be found for the endpoint reference (EPR) http://localhost:8080/myws/services/AdminService
Searching web, I could not any clear answer yet. Please help me.
Thanks in advance.
I have the same problem i go Window -> Preferences -> WebServices -> Server and Runtime and set it as you see here:
Previously it was selected Tomcat 6 (i use 7) and axis1 not 2
Try these 3 methods
1) try deleting the .snap file found in
yourprojectworkspace\ .metadata\ .plugins\ org.eclipse.core.resources
2) The most common hiccup is when another web server (or any process for that matter) has laid claim to port 8080. This is the default HTTP port that Tomcat attempts to bind to at start-up. To change this, open the file:
$CATALINA_HOME/conf/server.xml
And search for '8080'. Change it to a port that isn't in use, and is greater than 1024, as ports less than or equal to 1024 require superuser access to bind under UNIX. (Example 8181)
Restart Tomcat and you're in business. Be sure that you replace the "8080" in the URL you're using to access Tomcat. For example, if you change the port to 8181, you would request the URL http://localhost:8181/ in your browser.
3) Open the bin folder which contains the shutdown.bat file residing inside the tomcat directory. Run it, that should solve the port problem.

GlassFish Server (open source) ColdFusion "requested resource is not available" error

We are in the process of moving a website coded in ColdFusion and Fusebox framework to a new host (from GoDaddy who is ceasing to support CF to HostMySite).
Our url structure is currently setup like /index.cfm/home.register redirecting through a cfscript to the "full" url of /index.cfm?fuseaction=home.register
We are receiving the following error message:
HTTP Status 404 -
type Status report
message
descriptionThe requested resource () is not available.
GlassFish Server Open Source Edition 3.1
I am not a CF or Windows guy, this is an old site and we are just trying to get it to run on another server to bide us some time until we can rewrite it.
Any clue as to how to what is wrong and how to get it to work? HostMySite support has been completely unresponsive thus far.
Any help would be greatly appreciated!
Brandon, just for the sake of correctness; Glassfish is Oracle's java server and comes in an open source flavour. http://glassfish.java.net/
Glassfish is not a ColdFusion server.
It is possible to deploy j2ee versions of Adobe ColdFusion, Railo or OpenBD using glassfish.
JRun is the only Java server that comes with the SES rewriting built in. However, it is possible to rewrite urls using most Java servers or at the least by fronting the java server with a web server such as IIS, Apache or nginx.
After several discussion with tech support, we confirmed that "GlassFish Server" is an open source ColdFusion server, and it does not support the search engine friendly URL code we were using. We had to switch hosts to a host that used actual CF server.

Problem with IIS with Multi ColdFusion Server Configuration

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.