I have completely reinstalled Coldfusion 11 and put in the above directives in server.xml and it still does not work.
Re: Unsuccessful at getting https working with coldfusion 11 update 2
Issue with Oracle DB connection.
I have a 64bit VM windows server running Windows Server 2008 R2.
I installed Oracle drivers for both 32bit and 64bit. Have TNS for both setup for my Oracle database.
The setup of the datasource, verified fine.
The web application will connect fine to the database and works sometimes against it.
But will error out at some point, error is: [Macromedia][SequeLink JDBC Driver]TCP/IP error, connection refused.
The database is not the issue since this application and database is running perfectly on an older server that is being decommissioned.
I had first tested with the Coldfusion trial version and everything worked perfectly without error. Problem appeared to be introduced
after setting the license key. Also, in the trial version, I was not using the ODBC socket, but there was specifically an Oracle type
available.
Help with this would be very much appreciated - I am stuck.
Thanks Scott
Re: Issue with Oracle DB connection.
You say, “also, in the trial version, I was not using the ODBC socket“. Are you using that (the ODBC socket-type DSN) now? Why? Is the driver you got form Oracle an ODBC or JDBC driver? If the latter (as your error message seems to indicate), then use the “other”-type for creating the DSN. Let us know how that goes or what you think.
/charlie
Re: Issue with Oracle DB connection.
Would you say this is the correct syntax?
I get an error:
Is there an additional path I need to add?
Thank you
Scott Johnson
Re: Issue with Oracle DB connection.
It appears that the issue was related to the Java and JVM settings in the CF Admin.
My CF Class Path was empty, once I applied the correct path, I was able to set the DataSource to the JDBC and it’s working.
This case is closed!
Thank you
Scott Johnson
Nationwide Children's Hospital
IS - Financial Systems
Sr. Systems Analyst
614-355-3869
mailto: Scott.Johnson@NationwideChildrens.org<mailto:Scott.Johnson@NationwideChildrens.org>
www.NationwideChildrens.org<http://www.nationwidechildrens.org/>
Re: Issue with Oracle DB connection.
Good to hear, Scott. As for your first message today, with the syntax and the error, those both did not make it into the forum somehow.
But are you saying you DID switch to using JDBC and the “other” style of DSN? Good to hear. Yep, adding an “other” dsn for a new driver (that CF does not come with) does require that you point CF to that driver, and restart.
So with that, would you think it appropriate to mark that first answer I gave as “correct”? That’s the best way to mark a forum thread “closed”. But thanks for the update, regardless.
/charlie
Re: CF10 with Java 8
In a recently new install of CF11 with Java 8 we're experiencing many Metaspace errors. Do you have any insights?
See my post here:
Re: CF10 with Java 8
The fix might be in your jvm.config. Please share the same.
Regards,
Anit Kumar
Re: CF10 with Java 8
JVM Config (with recently increased Metaspacesize)
Our servers all have 8GB RAM.
#
# VM configuration
#
# Where to find JVM, if {java.home}/jre exists then that JVM is used
# if not then it must be the path to the JRE itself
java.home=C:\\ColdFusion11\\jre
#
# If no java.home is specified a VM is located by looking in these places in this
# order:
#
# 1) ../runtime/jre
# 2) registry (windows only)
# 3) JAVA_HOME env var plus jre (ie $JAVA_HOME/jre)
# 4) java.exe in path
#
# Arguments to VM
java.args=-server -Xms1024m -Xmx4096m -XX:MaxMetaspaceSize=1024m -XX:+UseParallelGC -Xbatch -Dcoldfusion.home={application.home} -Duser.language=en -Dcoldfusion.rootDir={application.home} -Dcoldfusion.libPath={application.home}/lib -Dorg.apache.coyote.USE_CUSTOM_STATUS_MSG_IN_HEADER=true -Dcoldfusion.jsafe.defaultalgo=FIPS186Random -Dorg.eclipse.jetty.util.log.class=org.eclipse.jetty.util.log.JavaUtilLog -Dcoldfusion.classPath={application.home}/lib/updates,{application.home}/lib,{application .home}/lib/axis2,{application.home}/gateway/lib/,{application.home}/wwwroot/WEB-INF/flex/j ars,{application.home}/wwwroot/WEB-INF/cfform/jars,C:\\ColdFusion11\\cfusion\\customjars
# Comma separated list of shared library path
java.library.path={application.home}/lib,{application.home}/jintegra/bin,{application.home }/jintegra/bin/international,{application.home}/lib/oosdk/classes/win
# Comma separated list of shared library path for non-windows
java.nixlibrary.path={application.home}/lib
java.class.path={application.home}/lib/oosdk/lib,{application.home}/lib/oosdk/classes
Re: CF10 with Java 8
Rule of thumb I have noticed - if you know some values for PermGen with Java 7 that work well for your environment use those as a starting point for MetaSpace. EG:
-XX:PermSize=312m -XX:MaxPermSize=512m Java 7
-XX:MetaspaceSize=312m -XX:MaxMetaspaceSize=512m Java 8
One can do well to assign a value for initial setting to MetaSpace. See above example.
Perhaps related, how much memory is being consumed by Compressed Class Space? JMX monitoring with JDK tools like JMC or Jconsole might be helpful to check plus will also show MetaSpace use along with garbage collection information.
HTH, Carl.
CFHTTP with https not working after server IP change (CF 10, Windows Server 2008 R2)
Hi,
We noticed that a call to https://www.googleapis.com/ via CFHTTP stopped working after our sysadmin switched the IP of our web server.
The error from ColdFusion is:
JSON parsing failure at character 1:'C' in Connection Failure
After researching, I tried using the keytool ([CF 10 root]/jre/bin/keytool.exe to import the top-level certificate (GeoTrust Global CA), which was exported from Google Chrome 42 in DER format.
I used the following flags:
-import -v -alias GAGLOBAL -file [.cer location] -keystore cacerts -storepass [password]
It appeared to add correctly, as it displayed the owner, issuer, etc. and asked if I wanted to trust the certificate. I replied "yes", and it responded "Certificate added to keystore" [Storing cacerts]. I then restarted the CF 10 application service. The same error persists.
Please advise.
Thanks,
Dave
Errors trigger 200 response in logs
Hi, all,
We've got IDA's who are testing our work by attempting to SQL-inject harmless code into our project(s).
Because of the way we have both DEV and PRODUCTION set up, whenever their attempts cause an error, all they see is a generic error message that comes with a 200 response. This is going into the webserver log as 200.
In order to see what happened, the IDA's have to pull the PCAP data and manually scan that, looking for the events.
Is there a way to trigger something other than 200 responses, so all they have to do is look at the webserver logs?
(Yeah.. I know.. a dev actually trying to make an IDA's job a little easier???? Has Hell frozen over??)
V/r,
^_^
Re: Element JDKPATH is undefined in FORM after Java upgrade
The x64 mismatch will cause the problem, but it's not the only way it can happen. We saw it in conjunction with this error:
"Security: The requested template has been denied access to C:\ColdFusion8\runtime\bin\jvm.config."
...during the Java update, permissions got change on the directory structure. After a reinstall and repairing the permissions, both problems went away.
Re: Unsuccessful at getting https working with coldfusion 11 update 2
Looks like it was a keystore issue, although it never stated that, I redid the keystore and all is working fine now.
We are moving to CF11 and setup 2 websites exactly and both website provide exactly same components - but one is giving error - 500 - 64 bit/34 bit issue
I think the WSCONFIG folder for other site is 2 and I created VD jakarta to point to 2. for the site I am seeing issue - it is pointing to 1 and seeing some restriction file.
I tried to create multiple times new site so it creates and point to new folder in wsconfig, but everytime it is pointing to 1.
is there anyway I can manually update ?
This site has .NET componenets, if I enable 32 bit - my CFM pages give above error, IF I don;t enable .NET is giving an error.
but, this issue is not there on the other site on same VM.
Re: We are moving to CF11 and setup 2 websites exactly and both website provide exactly same components - but one is giving error - 500 - 64 bit/34 bit issue
mu problem is similar to the below issue noticed in this forum, only thing is I have 2 websites and one is working properly - only the second one has this issue...is there any way without reinstalling IIS?
Clustering and captcha/CFFILESERVLET mappings
While testing clustering, I realized that each ColdFusion instance will write CFIMAGE temporary files to its own ./tmpCache/\CFFileServlet path. The issue is that CFFILESERVLET gets a mapping (alias, virtual directory) in the webserver to one folder. If I have two ColdFusion instances setup on a cluster, within the same server, the image is generated and stored in one of the two instance installation folders. There is a 50/50 chance that the file is stored in the folder that isn't mapped in the web server configuration.
Is there a "proper" way to handle this, when using two ColdFusion instances installed on the same physical server?
After Installation of CF11 Update 5 Element STATUSCODE is undefined in CFSTOREDPROC
Hi,
I installed Hotfix 005 to my CF11 Installation .
After that I get the error:
Element STATUSCODE is undefined in CFSTOREDPROC
when executing stored procedures
Example:
<cfstoredproc procedure="is_authorized" datasource="test" returncode="YES">
<cfprocparam type="in" cfsqltype="cf_sql_varchar" value="#username#" >
<cfprocparam type="in" cfsqltype="cf_sql_varchar" value="CUST_W" >
</cfstoredproc>
<cfoutput>
#cfstoredproc.StatusCode#
</cfoutput>
In the earlier Release everything was okay.
Any ideas?
Thanks Claudia
Re: CF11 and ODBC socket DSN creation error
Hi Kevin,
I am trying to do the same connectivity as your
question.
I am hoping that you have some success with this task.
Please let me know if you have any feed back.
Thanks,
Tim
How can I confirm in the CF11 console that a Hotfix update was successfully made?
I recently applied Hotfix Update 5 (hotfix_005.jar) through a silent install to one of my Sandbox Linux Servers. After doing this, I went to the Server Update->Updates->Installed Updates and see only "There are no installed updates". I then ran the interactive update and saw the message "this update has already been applied". Are there any other indicators in the CF11 Console that indicate that this update was made?
Server Details | |
Server Product | ColdFusion |
Version | 11,0,0,289974 |
Edition | Enterprise |
Operating System | UNIX |
OS Version | 2.6.32-431.20.5.el6.x86_64 |
Adobe Driver Version | 5.1.1 (Build 0001) |
Thanks!
Doug