Coldfusion 9 and Redhat 5.6
We're installing CF Enterprise 9, and our standard OS is 64 bit Redhat 5.6. The system requirements indicate Redhat 5.3.
Should I be worried about installing on 5.6? Anyone have CF9 on Redhat 5.6?
Thanks!
Larry
Yes, just be careful if security is a concern. Now you double the chance of security vulnerabilities.
Similar Messages
-
MS ACCESS, ColdFusion and Image Problems
I have done this before using PHP and Mysql and it was pretty
simple. I now need to do this in ColdFusion and MS Access 2003.
I want to store logos in a database. After reading up on it,
I found that you store images in Access using the OLE Object
Datatype - done. Now the real fun part starts.
I am trying now to display these logos from the MS Access
2003 database onto a webpage using Coldfusion. I have looked into
it, and one article suggested using the BLOB type - which is what
you do in MySQL, but in MS Access that option is not available. So
I looked into it somemore, and it seems that there are three
functions that you need to use, and they are in Visual Basic -
provided in part by Microsoft, but it seems EXTREMELY way too
complicated for simply displaying an image staored in a Database.
Has anyone been able to store and display images using MS
Access and Coldfusion before? If so, could you guide me?The reason for storing the image in the database is that our
company wants it that way for portability reasons. Filenames
change, directories get lost when moving from one system to
another. Databases are easier to backup and are more efficient when
it comes to searching metadata. We have over 300 logos we must
store for our different organizations - having a directory for each
is complicated.
Has anyone had issues like this with Coldfusion and MS
Access? If so could you guide me?
-Thanks -
Performance issues with Oracle EE 9.2.0.4 and RedHat 2.1
Hello,
I am having some serious performance issues with Oracle Enterprise Edition 9.2.0.4 and RedHat Linux 2.1. The processor goes berserk at 100% for long (some 5 min.) periods of time, and all the ram memory gets used.
Some environment characteristics:
Machine: Intel Pentium IV 2.0GHz with 1GB of RAM.
OS: RedHat Linux 2.1 Enterprise.
Oracle: Oracle Enterprise Edition 9.2.0.4
Application: We have a small web-application with 10 users (for now) and very basic queries (all in stored procedures). Also we use the latest version of ODP.NET with default connection settings (some low pooling, etc).
Does anyone know what could be going on?
Is anybody else having this similar behavior?
We change from SQL-Server so we are not the world expert on the matter. But we want a reliable system nonetheless.
Please help us out, gives some tips, tricks, or guides
Thanks to all,
FrankThank you very much and sorry I couldnt write sooner. It seems that the administrator doesnt see the kswap going on so much, so I dont really know what is going on.
We are looking at some queries and some indexing but this is nuts, if I had some poor queries, which we dont really, the server would show pick right?
But he goes crazy and has two oracle processes taking all the resources. There seems to be little swapping going on.
Son now what? They are all ready talking about MS-SQL please help me out here, this is crazy!!!
We have, may be the most powerful combinations here. What is oracle doing?
We even kill the Working Process of the IIS and have no one do anything with the database and still dose two processes going on.
Can some one help me?
Thanks,
Frank -
Slight roadblock in "DW 8 with ASP, ColdFusion, and PHP: Training from the Source"
I'm working my way through Dreamweaver 8 with ASP,
ColdFusion, and PHP:
Training from the Source. I've come to the middle of Lesson 6
and have hit
my first obstacle in learning PHP. I'm following the
instructions to format
the output of the tour price calculator, but my issue is with
where to place
the following PHP code: <?php setlocale(LC_MONETARY,
'en_US'); echo
money_format('%i', $tourPrice); ?>
I placed it before the DOCTYPE and when that didn't work, I
tried inserting
right before the code that retrieves the tour price (in the
body of the
page). That didn't work either.
I also tried changing money_format to number_format and
manually inserting
the $, but when I tested everything, the output printed as
follows:
The estimated cost of your tour is
$0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000500.
I'm not quite sure where I've gone wrong.
Thanks for any help,
HeatherCoach Bob wrote:
> David,
>
> I would like to understand better your comment about the
money_format. The
> ability to use it is dependent on the host system's
support of the C library
> function strfmon(), correct? So if a user were
developing on a windows box with
> a local WAMP install it would not work while it may work
on their *nix-based
> Web host?
Check the PHP documentation - it tells you all you need to
know:
http://www.php.net/manual/en/function.money-format.php
> I will see to it that it gets corrected in the next
version of the book!
I've no idea what relationship you have with "Training from
the Source",
but I find it interesting - to say the least - that you need
to the ask
the author of a rival book.
David Powers, Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/ -
Coldfusion and sql server reports
hi all,
we wish to have a reporting tool that goes well with coldfusion. we wish to use sql server reporting with coldfusion. can anyone provide some examples for this. i have seen integration only for crystal reports and report builder. does it support sql server reporting too. please help......If I had ever used SQL Server reporting I would have said something...
But you are embarking on an unusual task and unusual tasks are not usually done be lots of people.
So how does SQL server reporting work? What does it produce? How do you want to tie into it? What do you want to happen?
With all the ways one can tie into other services through ColdFusion and its underlining Java, I suspect there might well be some way to do something. Wether that something is good enough and|or simple enough to be worth the effort I can not say and will require a good amount of knowlege on how SQL server reporting actually works. -
Building a best practice web application using ColdFusion and Jave EE
I've been tasked with rewriting a software using ColdFusion. I cannot seem to find a lot of information on best practice development in ColdFusion. I am an experience Java developer who has never used ColdFusion before. I want to build this application using a synergy of ColdFusion and Java EE technologies. Can someone recommend me a book that outlines how to developer in ColdFusion? Ideally this book assumes the reader is an experienced developer with no exposure to ColdFusion. Ideally the methods outlined in the book are still "best practice" methods.
jaisheela wrote:
Hello Friends,
I am also in the same situation.
I am a building a new web application using JSF and AJAX.
Requirement is I need to use IBM version of DOJO and JSF but I need to develop the whole application using Eclipse 3.3,2 and Tomcat 5.5.
With IBM version of DOJO and JSF, will Eclipse and Tomcat help to speed up the development or do you suggest me to go for Rational Application Developer and WebSphere Application Server.
If I need to go with RAD and WAS, then I am new to RAD and WAS, is it easy to use RAD and WAS for this kind of application and implement web applicaiton fast.
Any feedback will be great help.Those don't sound like requirements of the system to me. They sound more like someone wants to improve their CV/resume
From what I've read recently, if it's just fast you want, look at Ruby on Rails -
Coldfusion and Livecycle development
Being a (intermediate) Coldfusion developer - addressing SQl and CF queries to an ODBC database (Access) and using Livecycle Designer ES for the first time (Acrobat 9 Pro)... I'm trying to plan the best way to fuse these programs together for a project I'm working on. I'm not fluent with Javascript but can somewhat 'backwards engineer' a script. Not being fluent in Javascript makes me a bit hesitant to even use Livecycle forms in the first place - I'm more used to doing all this with CF and SQL on an internet server...
A couple of the main reasons I'd like to use Livecycle are - the ability to set up some of the forms to run client-side and using a security (ID) key for form submissions back to the server (as well as the capability to 'hash' the data back to the server with encryption). Security features within the PDF invironment are what attracts me to Livecycle forms as well as user interactivity in building the form client-side, as in expanding forms and fields or buttons being visible or hidden depending on the user's choice.
Since Access (2007) can export a table's fields as an XML schema file (from what I've found, needing to re-save this file as an XSD file) for insertion in the Livecycle form - This makes it handy to set up the form to run client-side and not have to address the server-side database everytime a user choice is made on the form, before form submission back to the server.
So... Providing that I don't have to become a JavaScript guru, the following is the 'meat' of this posting - a scenario in (wondering how to get) Livecycle, Coldfusion, SQL, XML and Access all working together:
Livecycle forms set up with an XSD schema provided from Access (the schema within the saved form as a PDF Dynamic XML form) / On validated form completion by the user (client-side) the submit button, after user Key entered, submits to a Cold Fusion (hidden) action page on the server containing CF and/or SQL database insertions, updates, etc. that, after the queries run, 'bounces' the user to another client-side PDF.
Would this scenario work? Am I thinking right on this in mixing Livecycle data with Coldfusion and SQL in this way?
I'm not sure how a CF action page would deal with the data coming into it encrypted (maybe with setting variables) or if the CF action page retains the security set by the PDF page before it bounces the user back to his/her client-side Acrobat Reader... as well as running queries from a CF action page that pulls data from the database and sends back to the user's next PDF as encrypted data.
Also, I'm not sure how the Access generated XML schema treats fields in the database that have a space in the field name, as in a field named "First Name". Some of my table fields are to be updated with an uploaded delimited text file coming from (admin permitted) users - my table fields Have to be set up in Access to match the user's field names. Field names that are merged together in the XML schema wouldn't match up when sent back to the database although I guess you could set variables for this as well on a CF action page.
Should I just forget using Coldfusion and try to do this all through direct database insertion and form filling through the Livecycle PDF forms? (And purchase a JavaScript book to learn yet another language before deadline time?)
In not knowing JavaSript, I'm having a bit of a mental block in learning Livecycle. I had hoped that the JavaScript would be written as you set up button properties, assigned on-click events, structered the subform heirarchy and so on and then, in Livecycle's scriptwriter assign an 'initialize' or 'click' and a function from the "fn" button (that only offers a few choices). I really need to know how to write Javascript myself, don't I? (This is probably obvious to all - "yes, dummy, you need to know how to write JavaScript for Livecycle.) I guess I'm missing something in the help files and tutorials... You can sure tell I'm self taught, huh...
I would do this all with just CF anyhow with application files and session management with cookies and so on but with security concerns it seems PDFs can easily enough be set up in a pretty secure environment. The PDF security as well as client-side user interaction with dynamic PDFs are what attracts me to Livecycle PDFs. There's not too much of a learning curve for building Livecycle PDF forms except for having to learn JavaScript with a deadlined current project maybe being too much for me.
Livecycle or Coldfusion or both programs together? Especially for the security concerns. There doesn't seem to be a whole lot of info on CF and Livecycle running together - at Adobe or with googling - at least not on a novice or intermediate level.
Anyone's thoughts or comments on this? I'll post this in the Coldfusion forum as well if y'all think it may benefit forum users there as well.
Thanks for input on this...
- es
[email protected]I've been using the Portlet tool kit for quite a while. I run
websphere test server right on my desk top and I manually deploy my
cfc to there. When the devlopment is done, I place my new cfc in to
cfportlet.war file and update the portlet through WS. -
Missing File - Adobe Dreamweaver CS3 with ASP, Coldfusion, and PHP
On page 263 of Adobe Dreamweaver CS3 with ASP, Coldfusion,
and PHP by:Jeffrey Bardzel and Bob Flynn the file called
countryDetailXML.asp is missing. How can I find that file? Any
idea?
Thanks for your help.@citaiz,
That file is created earlier in the lesson in an exercise
starting on page 257. For the sake of the lesson, you can use
countryDetail.xml that is included in the lesson 09 start folder.
It is not important for this lesson that the XML is a static file
or one generated in real time from the database. The version of
Spry (1.4) that shipped with DW CS3 used XML data only. The current
version (1.6.1) can use JSON and HTML tables for the data source as
well. You can get the latest version of Spry for free at
http://labs.adobe.com/technologies/spry/,
including an extension to update your copy of DW to the latest
version.
Bob Flynn -
Adobe Dreamweaver CS3 with ASP coldfusion and PHP search?
I am working through Adobe Dreamweaver CS3 with ASP
coldfusion and PHP with the intent of creating a data base site
that primarily requires a search engine on the index page. The
search page in the book uses specific search criteria ensuring that
there will always be a match to the data base but I need to create
an input text field search engine. My Q, if there is no data within
the data base that match the variable, will it return with an error
requiring an argument in the code to respond to no matching data.
Hopefully there are comprehensive online recourses for these search
engines as they are so common. I am a complete newby to all aspects
of web development and code so it will need to be a thorough
explanation, an idiots guide. ANY HELP GREATLY APPRECIATEDRob,
Let me try to answer your questions, understanding that my
answers are laced with my experience and therefore my bias.
1. For the most part the SQL that you write for Access, MS
SQL or MySQL is going to be the same. I won't make that claim about
Oracle or PostgreSQL because I have limited or no experience in
those areas. To be sure when you head down the road with any DBMS
there are finer points on 'value added' features (to over simplify
things like MS SQL's Transact SQL), but for the most part when you
are pulling out, inserting or deleting records the SQL that you
write will be the same. In fact, I don't think I had to make any of
the SQL in the book different to deal with the back end db.
2. As for your host steering you away from MySQL, I don't
know why that would be. It is MUCH more stable and robust than
Access for web development. My research showed that you can use
MySQL just fine with ASP though that clearly wouldn't be
Microsoft's first choice.
3. A quick aside, the fact that you are building ASP on a Mac
would seem to indicate that you are developing on your production
server. That's never a good idea. Go local if you can. If you have
a newer Intel Mac you can use VM Fusion, Parallels or even Boot
Camp to run Windows in a virtual environment and develop there,
only moving your code to production when you are happy with it.
There is of course the fact that they two environments would not be
identical and you may need to change a few references, but it is
still a better practice than developing on your live site. Some web
hosts give you the ability to set up a subdomain. If yours does,
you could set one up with a duplicate of your site and develop
there.
4. Let me try to pull your 'rant-let' apart into two issue. I
begin with a question. I'm not sure what the Mac part has to do
with it. The primary language I work in at my day job is
ColdFusion. The majority of the most serious developers I know in
the CF world work on Macs. I am forced into the PC world because of
a cultural bias at the business school where I work. Having said
that, the only time I have felt there was ANY difference in the
tools, resources, choices I had was in any way affected by platform
was when Adobe still had not released Flex Builder 2 for the Mac.
Now that is behind us as well. This reaction of mine may be based
on the fact that Access never comes into play in the work that I
do. I regularly work with MS SQL and MySQL. (OK, so SQL Enterprise
Manager, the MS tool of choice to talk to MS SQL is Windows only,
but I only use that at the day job. But even there you can find
cross-platform, free tools like Aqua Data Studio to talk from a Mac
to MS SQL.) If I'm missing your point on the Mac, please let me
know. Since the advent of the Intel Mac I think it is hands-down
the best choice for a web developer. You can have Mac, Windows and
Unix all on one machine. It doesn't get any better (providing you
have the RAM :-)).
As for the security question, it is somewhat analogous to the
war on viruses and spyware. As the defenses get better, so do the
attacks. Most languages have developed functions for vetting user
input variables and best practices for building these things. It is
mainly a user education issue. When I took over the book you are
working out of, the one thing Jeffrey told me it needed was more
security. I did my best to put more in under the constraints of the
publisher. They didn't want the book to be any longer than the
previous version. I did my best to modify the code used to include
"string safe" functions and to add verbiage about the importance of
security. It was clear that I could not add as much as was needed
and I said so in the book. Much more is needed for a serious
treatment of the subject and not acknowledging that would have been
a disservice to the readers. I've been working as a developer for
over a decade and I don't know all there is to know about it. It's
a constantly changing field, just like all of web development. In
fact next week I'm going through a 2-day SANS Web Application
Security workshop in hopes of learning more. So at the risk of
sounding like an industry apologist, I don't think it's a
shortcoming of the development community. It is, as they say, "a
developing situation".
HTH,
Bob
http://bobflynn.info/ -
Will BC eventually include Coldfusion and/or Flex?
My understanding is that BC web sites are .NET based. Will BC sites eventually include Coldfusion and/or Flex servers?
Having spent many hours learning and building rich Internet applications using Coldfusion and Flex, hard to believe an Adobe-hosted web site system (BC) would be solely .NET based.Hi Ahande2!
Unfortunately not in the near future and at this stage.
The BC Sytstem is a SAAS (Software as a Service) and this system is a .net based system.
You have NO access to server side code so you can not run any PHP, Java, Coldfusion, .net code on your sites.
If you need any custom functionality etc you can use the ever expanding API of the system.
http://kb.worldsecuresystems.com/635/bc_635.html?bc-partner
Kind regards,
-Sidney -
ColdFusion and Cristal Reports
Hi,
I've this software installed:
O.S. Windows 2000 server
ColdFusion MX 6.1
Autodesk Whip
Internet Explorer 6.0
When I run on link of ColdFusion I get this error:
"Sorry, your current version of ColdFusion does not support
Crystal reports.
Please contact Macromedia regarding the support of Crystal
reports with ColdFusion."
I hanven't installed Cristal Report.
I copied the crpe32.dll file from the C:\Program Files\Common
Files\Crystal Decisions\2.0\bin directory to the C:\Winnt\system32
directory BUT I have same error.
This is my code (file: prfinsum.cfm)
<HTML>
<HEAD><TITLE>Property Financial Summary -
<CFOUTPUT>#Cookie.AFMDSN#</CFOUTPUT></TITLE></HEAD>
<CFIF IsDefined("URL.SuperCat")>
<CFCOOKIE NAME="hotlist_SuperCat" VALUE=#URL.SuperCat#
>
</CFIF>
<CFIF IsDefined("URL.Cat")>
<CFCOOKIE NAME="hotlist_Cat" VALUE=#URL.Cat# >
</CFIF>
<BODY alink="fuchsia" >
<TABLE>
<tr><td><a href="/afm/afm_hotlist.cfm">
<IMAGE SRC="/afm/afminet.gif" ALT="ARCHIBUS/FM"
ALIGN=CENTER BORDER="0"></a></td>
<td colspan=3 ALIGN=LEFT>
<Font face="Arial" size="+2">
<b> Property Financial Summary </b></FONT>
</td>
</tr>
</TABLE>
<cftry>
<CFREPORT
REPORT="#GetDirectoryFromPath(GetTemplatePath())#prfinsum.rpt"
DATASOURCE=#Cookie.AFMDSN#>
</CFREPORT>
<cfcatch type = "Any">
<table align="center">
<tr><td height="40"></td></tr>
<tr><td>
<Font face="Arial" size="+1">
Sorry, your current version of ColdFusion does not support
Crystal reports.<br/>
Please contact Macromedia regarding the support of Crystal
reports with ColdFusion.
</Font>
</td></tr>
</table>
</cfcatch>
</cftry>
</BODY>
</HTML>
I tried to connect with debugging and I get thi error:
Exceptions
23:46:55.055 - coldfusion.tagext.lang.CFReportTagException -
in E:\Inetpub\wwwroot\afm\reports\prfinsum.cfm : line 25
An unexpected error occurred while using the Crystal Engine.
Error number 536 ocurred (Error in File
E:\INETPUB\WWWROOT\AFM\REPORTS\PRFINSUM.RPT:
Unable to connect: incorrect log on parameters.).
Have you any idea?
Thanks in advance!If I had ever used SQL Server reporting I would have said something...
But you are embarking on an unusual task and unusual tasks are not usually done be lots of people.
So how does SQL server reporting work? What does it produce? How do you want to tie into it? What do you want to happen?
With all the ways one can tie into other services through ColdFusion and its underlining Java, I suspect there might well be some way to do something. Wether that something is good enough and|or simple enough to be worth the effort I can not say and will require a good amount of knowlege on how SQL server reporting actually works. -
Admittedly, I've been a bit out of touch ... however I was
wondering what the future of ColdFusion is regarding Adobe... have
they made any announcements about the future of ColdFusion? How
will it compete with formats such as PHP/mySQL in the future? Being
a long time fan of Cold fusion, I'm curious about this.>> 2. Image manipulation functionality -- provides both
high-level tag
based abstractions for common tasks like resizing, cropping,
and
format conversions
That so slack how CF still doesn't have this functionality
already - lets
hope its not too late to make a difference. Nice feature
though, sounds like
it may be quite sophisticated.
All in all though, based on what has been revealed here, it
doesn't sound
like much of an update - would still like to see some higher
level
framwework stuff, or maybe even a ColdFusion IDE (Heck, how
can they sell
this product at this price and not even offer an IDE for it?)
Lets hope the future reveals something a little more exciting
than what was
mentioned here.
"MikerRoo" <[email protected]> wrote in
message
news:[email protected]...
> Ben Forta just today sent out an email on this subject.
>
>
quote:
>
> SCORPIO -- A COMMITMENT TO COLDFUSION(R) FROM ADOBE.
>
>
> Hello Fellow ColdFusion Developers!
>
> Ben Forta, your friendly Adobe Senior Technical
Evangelist here.
> I want to give you a quick update on "Scorpio," the
code-name for
> the next major release of ColdFusion software.
>
> In case you missed the buzz at MAX 2006, we took the
"wraps" off
> Scorpio in keynote presentations and sessions by members
of the
> ColdFusion engineering team. Scorpio is still under
development but
> we can give you a preview of things to come, including:
>
> 1. The new Scorpio "server monitor" feature -- This web
> application (with a really cool front-end of Adobe(R)
Flex(TM) 2
> software), simplifies troubleshooting during
development, helps
> identify performance bottlenecks on production servers
and allows
> administrators to monitor overall server health, while
receiving
> alerts if something goes wrong. Additionally, an API
allows you to
> write your own front-ends with things like custom
monitors, bots or
> server health reports. To learn more, see Ashwin
Mathew's MAX
> presentation on the server monitor by visiting the
following link:
> <Personalized link removed>
>
> 2. Image manipulation functionality -- provides both
high-level tag
> based abstractions for common tasks like resizing,
cropping, and
> format conversions -- and low-level processing of images
with the
> addition of over 50 functions to the ColdFusion Markup
Language (CFML).
>
> 3. More advanced enterprise integration -- allows
ColdFusion
> applications to natively access .NET objects, integrate
with
> Adobe PDF files and forms, and more.
>
> We're planning to release Scorpio in mid-2007 and I am
planning
> our traditional pre-launch user group tour for early
2007. We'll
> show you lots of Scorpio features in action.
>
> I'd like to encourage you to keep up with all of the
developments
> we're making, including beta version availability, as
well as tour
> dates and locations. Just visit the link to the Adobe
Labs page
> below:
> <Personalized link removed>
>
> Thanks!
> Ben "Scorpio Man" Forta
>
> Better by Adobe(TM)
>
>
>
> Adobe, "Better by Adobe", ColdFusion, and Flex are
either registered
> trademarks or trademarks of Adobe Systems Incorporated,
in the
> United States, and/or other countries. All other
trademarks are
> the property of their respective owners.
>
> Copyright 2006 Adobe Systems Incorporated. All rights
reserved.
>
>
> -
Cfthread of coldfusion on different systems-windows and RedHat
Recently I use cfthread writing a multithread samples. Each thread ask a http request.When I run this cfc file with coldfusion9 on windows, it runs well. Then I run the same cfc file on coldfusion9 on linux(RedHat and centOS), unfortunately, it seems do not work, I found the multi thread do not run parallely, they run one by one. The both coldfusion configuration files are same, and the web server use the built-in one of coldfusion. Is there anyone meet the same probelm? And is there something wrong with cfthread to run on linux? Really need your help. Many thanks!
<cfloop index="pageIndex" from="1" to="#num#" step="1">
<cfthread name="thr#pageIndex#" threadIndex="#pageIndex#" action="run">
<cftry>
<cfhttp url="#watson_url#" method="post" charset="utf-8" timeout="26000000" useragent="#CGI.http_user_agent#" result="THREAD.GETTREAD">
<cfhttpparam type="formfield" name="appGUID" value="#guid#">
<cfhttpparam type="formfield" name="userId" value="#user_id#">
<cfhttpparam type="formfield" name="password" value="#user_pass#">
<cfhttpparam type="formfield" name="sql" value="#TempArr[threadIndex]#">
</cfhttp>
<cfset result_Arr = #DeserializeJSON(THREAD.GETTREAD.Filecontent)#>
<cfset resultArr[threadIndex]=result_Arr >
<cfcatch type="any">
</cfcatch>
</cftry>
</cfthread>
</cfloop>
TempArr is an array for sql,each thread run a sql and get result from http request. -
Database connection encryption and integrity with ColdFusion and Oracle thin client
As ColdFusion datasource we are using the Oracle thin client to connect with the database. So, basically we are using a JDBC URL such as jdbc:oracle:thin:@... and as Driver Class oracle.jdbc.OracleDriver. This works successfully however we would like to set encryption and integrity parameters as well. In Java this is done similarly by setting a Properties object prior to getting a connection as follows:
Properties prop = new Properties();
prop.put("oracle.net.encryption_client", "REQUIRED");
prop.put("oracle.net.encryption_types_client", "( DES40 )");
prop.put("oracle.net.crypto_checksum_client", "REQUESTED");
prop.put("oracle.net.crypto_checksum_types_client", "( MD5 )");
OracleDataSource ods = new OracleDataSource();
ods.setProperties(prop);
ods.setURL("jdbc:oracle:thin:@localhost:1521:main");
Connection conn = ods.getConnection();
Is there a way that I can pass these parameters to the ColdFusion datasource. Ideally, I would love to do this centrally in such way that a change to all the cfquery or cfstoredproc is not needed.
I also know that in application servers such as Oracle AS there is an option when creating a datasource which says "Add Properties". In there you can add such properties. So, I was thinking of maybe creating a JNDI DS in the app. server and then magically connecting to it but this may have some impacts on the app.
Besides this I was also thinking of communicating with the CF datasource through the CF admin API (cfide.adminapi.administrator) and also the option of extending the Oracle driver so that when CF connects with it these params are already set.
I would love to have your professional opinion and suggestions on this.I believe the thin driver actually needs the IP address (not the DNS name). Also, is "java" the name of the Oracle instance to which you are trying to connect?
Try the following:String driver = "jdbc:oracle:thin";
String dbIP = "W2RZ1NXG01's IP address";
String dbPort = "1530";
String dbSid = "java";
String dbUser = "Admin";
String dbPswd = "apassword";
String cnctStr = driver + ":@" + dbIP + ":" + port + ":" + dbSid;
try
Class.forName("oracle.jdbc.driver.OracleDriver");
con = DriverManager.getConnection( cnctStr, dbUser, dbPswd );
stmt = con.createStatement();
stmt.executeUpdate(createString);
stmt.close();
con.close();
catch(SQLException ex)
System.err.println( "The following SQLException occurred: " + ex );
System.err.println( "Message: " + ex.getMessage() ); -
So I just purchased my entire team of developers windows 8 machines, and I have found that CF does not install on Windows 8. How is it possible that Adobe does not have a Windows 8 release yet? I have been an avid CF supporter for over a decade but this could be the last straw. Does anyone know of any possible workarounds for this issue? I am in a bind here so any help will be greatly appreciated.
The official word from the ColdFusion team is that we will have to wait till December 2012 at the earliest for Coldfusion 10 support of Windows 8. Terrible news for us developers, that goes without saying.
However, what surprises me is the number of developers unprepared for this delay. You could have guessed it from developments in recent months. Some of the milestones in the timeline for the release of ColdFusion 10 matched the timescales for milestones in the Windows 8 release. To illustrate, I have copied the following titbits from the respective Wikipedia stories:
ColdFusion 10 release
For much of 2010, ColdFusion Product Manager Adam Lehman toured the US setting up countless meetings with customers, developers, and user groups to formulate a master blueprint for the next feature set. In September 2010, he presented the plans to Adobe where they were given full support and approval by upper management. The first public beta of ColdFusion 10 was released via Adobe Labs on 17 February 2012. ColdFusion version 10 was released on May 15, 2012.
Windows 8 release
Development of Windows 8 started before the release of its predecessor in 2009. Its existence was first announced at CES 2011, and followed by the release of three pre-release versions from September 2011 to May 2012. The operating system was released to manufacturing on August 1, 2012. On August 15, 2012, Windows 8 was made available to download for MSDN and TechNet subscribers. Windows 8 was made available to Software Assurance customers on August 16, 2012. The operating system was released for general availability on October 26, 2012.
One could argue, from the statements I have italicized, that Windows 8 was actually released later than ColdFusion 10! That puts the delay in perspective.
Maybe you are looking for
-
Different balance showing in open items of foreign customer
hi, there is a problem with balance shown as open items (billing documents) of customers in foreign currency the open item list shown diff amt in INR while FBL5N shows the diff amt. what can be possible reasons for it., is the exchange rates at take
-
I am installing patch 3 on version 1.1. and just noticed that the admin password had reverted back to the prevoius version. In case any one has any issues logging in try that. I am going to open a TAC case once the patch finishes installing on the ot
-
How do you record video in photo booth?
an apple genius was able to record video in photo booth - now i don't see any way to do this... does anyone know?
-
Since I have updated to 10.7.4 my Bose Sounlink Bluetooth speaker sound very low
Since I have updated to 10.7.4 my Bose Sounlink Bluetooth speakes sounds very low.. OK with iPhone and iPad
-
Wrt160n v3 slow with 1 wifi laptop
I have cable internet 40 mbps my win xp pc is wired and gets 38-39 mbps download laptop1 is 1 year old w/ win7 gets 28-30 in the same room and laptop 2 is new w/ win7gets 4-5 in the same room any suggestions? I have updated firnware for route