Re: Cf 7 Clustering Failover
Well, I have a totally different setup (BEA Weblogic clustered on Solaris servers), so I probably can't help much more. The only other thing I've had to do is create a weblogic.xml file under the WEB-INF directory that specifies in memory session replication to make it work. Maybe IIS has a comparable requirement? Good luck. Cathy After your email I thought that was it because I forgot to set one of the instances to use J2EE sessions, but then I changed that and then restarted all of the cf instances and IIS and It's still not working. Matt Levine Studio Squared 12150 Tributary Point Dr. Suite 140 Gold River, CA 95670 (916) 608-8608 916 962 7272 www.studiosquared.com ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238472 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Cf 7 Clustering Failover
The only thing I can think of - did you check Use J2EE sessions in the CF administrator? Cathy I've been trying and trying to install cf enterprise multi-server on two Windows 2003 server boxes and create a cluster between the two and then configure IIS on a third Windows 2003 box to connect to the cluster. However I can't seem to figure out how to get the failover to work. I've been able to: 1. Install CF Enterprise Multi-Server edition 2. Create the server instances 3. On one of the CF boxes I was able to register the remote instance on the other box and create a cluster and assign both the local and remote instances to it. 4. Use wsconfig on the IIS box to connect to the cluster. 5. Set the jrun.xml ProxieService deactivated attribute to false on both CF servers After all that the website connects fine to the cluster but only serves responses from the cluster member that in on the same box to which the jrun connector is pointing at. And when I stop that CF instance, the requests don't get forwarded to the other remote instance in the cluster. It just dies. If anyone can give me any insight into what might be the problem I would truly appreciate it. Thanks Matt Levine Studio Squared 12150 Tributary Point Dr. Suite 140 Gold River, CA 95670 (916) 608-8608 916 962 7272 http://www.studiosquared.com/ www.studiosquared.com ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238454 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
CFMX JNDI datasources in BEA Weblogic 9.1
We're having a recurring problem with CFMX 7.01 JNDI datasources deployed on BEA WebLogic 9.1. For no apparent reason, ColdFusion seems to think the datasources are failing (won't verify) even though BEA says the connection pools are perfectly healthy. We did not have this problem deployed on BEA 8.1. If I go into the datasource config and check an option (such as allow long text retrieval) and then submit, it comes back to life. Anyone else configured like this and having any problems/solution? I'm suspecting that the connection pools are not completely deployed and running when the BEA server is started at the time it activates CFMX and it seems once it fails, it doesn't try again when a connection is requested via the app or through the admin when doing a 'verify'. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238204 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Unable to initialize Graphing service jdk1.5.0_04
Nevermind and thanks anyway :-) I took out the workaround used under JDK 1.42 from the start script so that it was only: CF_GRAPHING_JVM_OPTIONS=-Djava.awt.headless=true And it started up just fine and now I can login to the administrator. -Cathy I have a slight emergency, of course. We just upgraded our BEA Weblogic server to version 9.1 running on Solaris, which came bundled with JDK 1.5.0_04. Using the same CFMX (7.01) workaround as previously used in the WLS 8.1 (running on JDK1.4.1) environment no longer works to allow the graphing service to initialize (and thus allow access to the administrator). (TechNote http://www.macromedia. com/cfusion/knowledgebase/index.cfm?id=ceb0e519) Now when starting up the WLS server which starts ColdFusion, the following error displays: 04/05 17:24:04 Error [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic. kernel.Default (self-tuning)'] - Unable to initialize Graphing service: java.lang.NoClassDefFoundError: sun/awt/font/NativeFontWrapper And of course, the Administrator does not load and throws an error. Has anyone run it on this java version successfully? I found the following on one of Sun's java forums: * quote: The class sun.awt.font.NativeFontWrapper is no longer part of JRE in Version 5.0 AFAICS, so I need to find another way to locate the files. Any suggestions? ** Re: J2SE 5.0 FontPath Author: uhilger Jan 2, 2005 6:52 AM (reply 1 of 1) with J2SE 5 it is now String sPath = sun.font.FontManager.getFontPath(false); *** Is what is calling that compiled (I'm guessing in that webchartsJava2D. jar file)? Or is there something I can edit? I can't go backwards on my JRE or my appserver won't run at all. Any input or workaround appreciated. Thanks! ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237209 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Unable to initialize Graphing service jdk1.5.0_04
I have a slight emergency, of course. We just upgraded our BEA Weblogic server to version 9.1 running on Solaris, which came bundled with JDK 1.5.0_04. Using the same CFMX (7.01) workaround as previously used in the WLS 8.1 (running on JDK1.4.1) environment no longer works to allow the graphing service to initialize (and thus allow access to the administrator). (TechNote http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=ceb0e519) Now when starting up the WLS server which starts ColdFusion, the following error displays: 04/05 17:24:04 Error [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] - Unable to initialize Graphing service: java.lang.NoClassDefFoundError: sun/awt/font/NativeFontWrapper And of course, the Administrator does not load and throws an error. Has anyone run it on this java version successfully? I found the following on one of Sun's java forums: * quote: The class sun.awt.font.NativeFontWrapper is no longer part of JRE in Version 5.0 AFAICS, so I need to find another way to locate the files. Any suggestions? ** Re: J2SE 5.0 FontPath Author: uhilger Jan 2, 2005 6:52 AM (reply 1 of 1) with J2SE 5 it is now String sPath = sun.font.FontManager.getFontPath(false); *** Is what is calling that compiled (I'm guessing in that webchartsJava2D.jar file)? Or is there something I can edit? I can't go backwards on my JRE or my appserver won't run at all. Any input or workaround appreciated. Thanks! ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237129 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Max 2003 Conference Photo
This is OT, but I just got accused of trying to humiliate someone who won a photo contest and the photo is the picture (at least I'm fairly certain) that was all over the Max 2003 conference. http://www.theparentperspective.com/boards/thread-view.asp?threadid=200412posts=15#0 Can someone clarify if it is? Thanks, Cathy [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Max 2003 Conference Photo
Thanks all! I don't mind being wrong - that's why I asked :-) But the reaction to the question really miffed me. Thanks for the clarification and LOL Thanks for nearly jumping to my defense. Yep, definitely not a place to hang around :-) Cathy No, it looks like you were in the wrong: http://www.macromedia.com/macromedia/conference/images/max_wallpaper_gra ss.jpg John Burns [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re:CFHTTP url rewriting
Maybe this will be helpful. This was code I used to rewrite bulletin boards stripped down to just messages and made local using variables. I used the rereplace function: cfhttp URL=""> method=get resolveurl=true/cfhttp cfscript // Modify all links to local second agent page with variable links = ReReplaceNoCase(#cfhttp.filecontent#, http://messageboards.ivillage.com/n/mb/message.asp?webtag=iv-ppplaynov97nmsg= , pp2.cfm?id=, All); // Replace 'nogifs' in links with nothing links2 = ReReplaceNoCase(#Variables.links#, wintext, , All); // Find point in content to strip to from beginning of file count = Find(table border=0 cellpadding=10 cellspacing=0, #variables.links2# ) -1; // Remove from beginning to the above point postlist = RemoveChars(#variables.links2#, 1, #variables.count#); // Remove from beginning to the above point postlist = RemoveChars(#variables.links2#, 1, #variables.count#); // Display everything left of the scripttag. postlist = left(postlist, findnocase(Roll Calls/span, postlist) -1); /cfscript cfoutput #postlist# /cfoutput [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re:CFHTTP url rewriting
It can also be done without using cfscript: It can also be done without using cfscript cfhttp URL=""> method=get resolveurl=true/cfhttp CFSET color = ReReplace(#cfhttp.filecontent#, 800854, 99, All) CFSET links = ReReplaceNoCase(#Variables.color#, http://www.domain.com/d cforum/balancingact/, content2.cfm?id=, All) !--- cfset count = Find('TABLE BORDER=0 WIDTH=100% cellspacing=1 cellpa dding=3', #Variables.links#) -1 --- @ content.cfm [Read only] 27 lines, 994 characters CFSET links = ReReplaceNoCase(#Variables.color#, http://www.domain.com/d cforum/balancingact/, content2.cfm?id=, All) !--- cfset count = Find('TABLE BORDER=0 WIDTH=100% cellspacing=1 cellpa dding=3', #Variables.links#) -1 --- cfset count = Find('TABLE BORDER=0 WIDTH=100% CELLPADDING=0 CELLSPACING= 0 tr bgcolor=##F2F0F0td', #Variables.links#) -1 CFSET postlist = RemoveChars(#variables.links#, 1, #Variables.count#) cfoutput #postlist# /cfoutput [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Ports with Multiple Instances on SunONE AS 7
That's not really Apache is it ? No, it's the old Netscape iPlanet (upgraded a bit). ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com
Anyone going to MAX in November?
I'm probably going too, though it sure is far away (when will they have it in DC again??). I'm waiting for my time to be approved by my client (I'll pony up the rest). I'm also hoping there's snow so I can fit in some skiing without the fam along (one advantage to traveling to the conference - a week ALONE in a hotel!! Woohoo!). Cathy I'll probably be going. I'm really not excited about the location, but the new MX2004 was pretty much the deciding factor for me. -Kevin ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com
Ports with Multiple Instances on SunONE AS 7
Run apache as your front end host, and use mod_proxy/mod_rewrite to draw all the app server together. That's not an option. My options are the built-in web server (in SunONE AS7) or iPlanet 4.1. There's not a chance in the world my client will go with Apache. I may be able to convince them to go with JRun with our existing iPlanet, but I'm assuming it has the same issues (but it will allow us to run our existing servlets as configured instead of a major overhaul to deploy them into S1AS7). Ugh. I'm supposed to have my recommendation by tomorrow!! My head is spinning. Cathy ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com
Timeout/restart
Hi all! I just want to make sure I'm not missing something here. We have our server (CF 5.0 on Solaris) set to timeout requests at 30 seconds and restart the server after 3 long-running requests. We've found this to be optimal if the server hangs due to one application losing a datasource (and we have several different apps and can't let one bring them all down). However, I just realized that it also counts requests exceeding the set time that have the URL parameter of RequestTimeout=XXX (above what the admin is set at). This seems like a flaw because there are pages that will always run above the admin setting and I can't have the thing restarting every 3 of them. You would think it would overlook the ones specifically stating they will run longer. Otherwise the whole process stops and session variables are lost. Is there a workaround or something I'm missing? Thanks! Cathy ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
unix exec function to return abnormally
I sent this problem around the holidays and didn't get much response other than I was told restarting the server was the only way to solve it. I don't know how things work in other places, but that's not an option here. We can't have someone monitoring for that error and then restarting the CF server (plus it interrupts the other applications that also run under it). So here's what happens. On Solaris running CF 5.0, we use cfexecute to call the unzip function then bcp data into a database. It works fine for a few days then starts giving the error: The process /usr/bin/unzip caused the unix exec function to return abnormally, ... aborting this process. If I restart CF, it starts working fine again. Unzip still works flawlessly from the command line so it seems that CF is using vfork or something and not releasing memory once the command finishes each time and then stacks it up til it can't run cfexecute anymore. That's my guess anyway. Is there something I can look at or tune to prevent this from happening? Has anyone run into this in the past and found a solution? Anything else to look at? Appreciate any advice - my developer is getting mighty mighty frustrated. Thanks. Cathy ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
certification experiences/plans?
Crud, my email server is down, so hopefully this will post through the website! Anyway, here's what I tried sending this morning. Ok, in my experience (cynical as well)... I've never been turned down due to a lack of degree or lack or certifications - I've always been hired/promoted based on my skills and experience. I did, however, get a CF 5 cert because when I raised my rates this fiscal year (I'm an independent contractor), I was told I didn't qualify for the rate unless I was certified in something (anything) or had a degree. So I ran out and got certified in the one thing I thought I could pass pretty easily (and I did). I think there is a small percentage of the population that technical stuff comes easily to - you know, people with that certain knack who just get it when stuff comes their way and can chunk through anything whether they've seen it before or not (much of this list probably falls into that category). There is no way to screen that when hiring based on a resume, degree, or list of certifications someone has. I know, I've hired several complete duds who looked great on paper. If you've got that knack, employers will recognize that (after you're hired, of course) and keep/promote you. (That said, I am working on my MIS degree right now mostly for fun rather than any career goals - I'm perfectly happy with my career.) My husband also does not have a degree and was one test shy of a CNE years ago - he has no other certifications. He has never lacked for good contracts either, owns our consulting firm, and is highly respected in the technical field. A newbie - no weight - they can be groomed, particularly if they have aforesaid knack (I once had a great 21 year old tech under me - only downside was he was a bit flaky due to age and partying) The other two I would hire based on experience and references. JMHO! Cathy Subject: certification experiences/plans? From: Rob Rohan [EMAIL PROTECTED] Date: Mon, 6 Jan 2003 17:17:04 -0800 Thread: http://www.houseoffusion.com/cf_lists/index.cfm?method=messagesthreadid=20255forumid=4#102369 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Alternative to cert -- MIS/MBA/MSCS/etc (WAS Re: certification experiences/plans?)
I agree - this has been a great thread. It's a debate topic near and dear to my heart. I was one of those who watched friends graduate from college to become waitresses and wondered what the point was. I also rebelled against my father who swore I would never amount to anything without it. But that's for the psych chair. Needless to say, I proved him wrong :-) Now that I'm a grown-up with an established full time career and family, going after that degree is tricky. However, there are universities that provide full degrees and classes online (and I'm not talking about buy a degree for $600). I've attended two quarters at one so far on the long road to the MIS degree. It's a business degree as opposed to CS, but I figure I already possess the skills, so why not expand my possibilities (ok, and I couldn't find CS degrees offered online either). As for government contracts, they do have preliminary requirements based on the rate charged (thus why I got certified). I think they are stricter with the degree requirements for their own employees more than contractors, at least at the programming/admin level. It also helps if you partner up with a company that has an existing contract awarded to them if you don't want to compete on your own. Then you are bid under the company's reputation as well as your own merits (which may or may not be scrutinized). However, things may change so I'm shelling out my time and money to get the MIS degree just in case. I'm finding it interesting anyway as there are classes offered that I will find interesting even though they don't apply to my field. The only way to do that with my lifestyle is online (not to mention naturally fitting). It is hard, though. I'm taking this quarter off to do some renovation work on my house, take a two week vacation, and recoup my brain/body from the last 6 months of having absolutely no free time to myself. Anyway, enough about me and my take on it. I'd love to hear others as well. C Date: 01/07/2003 01:21 PM Author: John Paul Ashenfelter Short Link: http://www.houseoffusion.com/lists.cfm?link=m:4:20313:102576 Wow -- this has been a great thread -- thanks for all the comments. (truncated) ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFMX DW MX
It's not one of the menu options - you have to browse the CD to find it, but it should be there as a folder. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
SMTP AUTH revisited
Sorry, I know it's pretty slow around here because of the holidays (and I'll be gone next week)... But I'd like to revisit this if possible... I've been fumbling my way through java and made some vast improvements from yesterday. Using two java ext packages (javamail and jaf something), this cfx tag allows a user to send mail through an SMTP host that requires authorization. I've modified the source to add the CC and BCC fields and after recompiling they now work fabulously (although I still have a problem sending to multiple recipients in the TO field despite trying to play with that syntax as well, but multiples work fine in the other fields). Here is the bulk of the source... ** } String to = request.getAttribute(TO); String cc = request.getAttribute(CC); String bcc = request.getAttribute(BCC); String from = request.getAttribute(FROM); String subject = request.getAttribute(SUBJECT); String message = request.getAttribute(MESSAGE); String host = request.getAttribute(HOST); String user = request.getAttribute(USER); String password = request.getAttribute(PASSWORD); //default port to 25 int port = 25; if(request.attributeExists(PORT)) { port = Integer.parseInt(request.getAttribute(PORT)); } Properties props = new Properties(); props.put(mail.smtp.host, host); props.put(mail.smtp.auth, true); Session session = Session.getDefaultInstance(props, null); try { // create a message Message msg = new MimeMessage(session); msg.setFrom(new InternetAddress(from)); InternetAddress[] address = { new InternetAddress(to) }; msg.setRecipients(Message.RecipientType.TO, InternetAddress.parse(to, false)); if (cc != null) msg.setRecipients(Message.RecipientType.CC, InternetAddress.parse(cc, false)); if (bcc != null) msg.setRecipients(Message.RecipientType.BCC, InternetAddress.parse(bcc, false)); msg.setSubject(subject); msg.setSentDate(new Date()); msg.setText(message); // send the message Transport tr = session.getTransport(smtp); System.out.println(); tr.connect(host, port, user, password); msg.saveChanges(); tr.sendMessage( msg, msg.getAllRecipients() ); } catch (Exception sfx) { response.write(Mail send Failure! + sfx.getMessage()); } response.write(Mail sent successfully.); } So I pass the following parameters to it: CFX_AuthSMTP TO=#FORM.to# FROM=#FORM.from# SUBJECT=#FORM.subject# CC=#FORM.cc# BCC=#FORM.bcc# TYPE=HTML MESSAGE=#FORM.body# HOST=#VARIABLES.SMTP_HOST# PORT=#VARIABLES.SMTP_PORT# USER=#VARIABLES.SMTP_USER# PASSWORD=#VARIABLES.SMTP_PASS# ** My last issue is sending attachments. In the original version, they were uploaded and set with a cfmailparam tag before closing the CFMAIL tag: CFLOOP INDEX=attachment LIST=#FORM.attachments# DELIMITERS=, CFMAILPARAM FILE=#VARIABLES.attachmentPath#/#attachment# /CFLOOP I haven't the foggiest clue how to integrate them into the CFX tag with the source above. I realize none of you may be familiar with the custom tag I'm using, but do you have any hints/clues/starting points? Sorry to sound like such an ignorant slob, but I'm pretty thrilled I got as far as I did for an admin :-) Cathy ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
CFEXECUTE aborting on Solaris
We have a really odd problem I hope somebody else has come across (and solved!). One of our applications allows users to upload a zip file and then does a CFEXECUTE to run the /usr/bin/unzip function. After a while it just stops working with the following error: The process /usr/bin/unzip caused the unix exec function to return abnormally, ... aborting this process. This seems to happen for no obvious reason and restarting ColdFusion (5.0) seems to clear up the problem temporarily. The unzip command continues to work just fine from the command line. Any ideas? Thanks! Cathy ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm
Macromedia Contribute
Is it not using anything else? Because we can FTP to the servers here and I even tried setting my home directory as where to publish/view and it still gave an error. Yet it worked instantly the first time on my personal server. I can browse the directory structure down to where the web root is, so it is connecting and authenticating up to that point. I can even create an _mm directory as myself in that directory not using Contribute. I also tried passive ftp. So it must be trying to create a file somewhere else is all I can think of? It's a moot point anyway. There are no user accounts on our production servers, so Contribute wouldn't have permissions to modify any of the files. I thought it would be possible to use in the development environment, but it won't work there either because of the connection issues. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
Re: Macromedia Contribute
Speaking of, does anyone know what it's using to connect to the server (ie RPC)? I got it to try out and I managed to get it working fine to my home server, but it does not work with any of the servers at work (all of which are Solaris). The only thing I can think of is that it's using some daemon that has been disabled during security stripping of servers at work that I didn't do to my server at home. My feelings on it so far are really I could care less. I use CFStudio RDS and it's just as easy for me to open a file through that as it is through Contribute (then again, I'm not one for WYSIWYG). Contribute opens up new security issues (for example I can turn off RDS on the server, but now I'll have to turn off whatever this uses as well). We don't really have access control or separate people designing content and functionality (and when we do, the content portion doesn't change as it's only graphics - everything else is database driven). Cathy ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm
Flash MX with CFMX - is this possible?
Is anyone a wiz at Flash MX yet? Particularly Flash remoting and how it integrates with CFMX? I posted on the Allaire forum under Flash MX and didn't get any responses, so maybe I'll try here. I have a CF page that does a cfhttp to pull back bulletin board threads. It changes the text and link colors and strips off everything except the list of threads. It also rewrites the thread links so that they point to a second cf page that does the same thing, only for the thread text and all replies. The object is to make the page look more business-like and also limit client browser hits to the actual bulletin board site (I haven't figured out how to do session cookies with logins to the site yet so that people can actually post from it). I would like to create a Flash MX movie that displays the threads, if possible, so that I can have most of the communication going through that and processing on the remote server instead of the client. I've looked through tutorials and haven't been able to figure out if it's possible to hand off the filecontent to the Flash MX movie, plus add the navigation capability. So before my brain explodes, I wanted to put out feelers and see if this is even feasible? If so, has anyone found a good site that explains how to write the action script to handle cfoutput? Thanks! Cathy ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
Stripping end of cfhttp.filecontent
This is probably a really easy and dumb question. I have a page that grabs another page and strips most of the ads, images, and unnecessary information. Then it displays the bulk of the page. At the end are more ads and unnecessary junk I'd also like to stip off, but I'm not sure how to do that. Here is the code that I have so far that is just missing the stripping from a certain point (for example after a /FORM tag, I'd like to strip to the end of the content). Help? Thanks! Cathy *** cfhttp URL=#WWURL# method=get resolveurl=true/cfhttp CFSET color = ReReplace(#cfhttp.filecontent#, 800854, 99, All) !--- Replace link colors and rename content --- CFSET links = ReReplaceNoCase(#Variables.color#, http://url.domain.com/ppp97n260/;, pp2.cfm?id=, All) !--- modify all links to second agent page with variable --- cfset count = Find('/NOBR P NOBR', #Variables.links#) -1 !--- find point in content to strip to from beginning of file --- CFSET postlist = RemoveChars(#variables.links#, 1, #Variables.count#) !--- Remove from beginning to the above point --- !--- Post what's left --- cfoutput #postlist# /cfoutput ** ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
Re: Stripping end of cfhttp.filecontent
Thanks! That did the trick! Cathy Date: 12/02/2002 12:03 PM Author: Steve Reich Try this ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
Re: PreserveSingleQuotes and Oracle Issues
I don't know if this helps, but I ran into the same 'issue' quite a while back and found a solution on the forum http://webforums.macromedia.com/coldfusion/messageview.cfm?catid=3threadid=236485highlight_key=y This worked like a charm. Hope it fits your situation. Cathy ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Re: OT: Dreamweaver MX saves slowwwly
I've found the same thing using RDS with DWMX where CF Studio 5 saved instantly over RDS (it seemed). However, after setting up another RDS instance, it didn't seem as bad. Go figure. I'm not sure what changed, if anything. How is Christchurch these days? We have a house in Lyttleton I'm missing terribly (well the whole area, actually)! Cathy - Original Message - From: Matthew Walker [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, October 24, 2002 5:53 PM Subject: RE: OT: Dreamweaver MX saves slowwwly I have the same thing, but over a network. DWMX will take 3 seconds to save a tiny file. Studio 5 will take less than 1. On a longer file, DWMX will take 6+ seconds and the window bar starts flickering. Matthew Walker http://www.matthewwalker.net.nz/ -Original Message- From: David Notik [mailto:dave;digital202.com] Sent: Friday, 25 October 2002 8:38 a.m. To: CF-Talk Subject: RE: OT: Dreamweaver MX saves slowwwly If I understand you correctly, no it doesn't slow down when it re-indexes (I changed a file and also manually refreshed the file list) -- it is super quick. Hmmm... --D -Original Message- From: Tony Weeg [mailto:tony;navtrak.net] Sent: Thursday, October 24, 2002 11:04 AM To: CF-Talk Subject: RE: OT: Dreamweaver MX saves slowwwly do you notice it when it starts the laborious re-indexing (or whatever the FU** its doing whenever you make a change to any files) of the site files? .tony Tony Weeg Senior Web Developer Information System Design Navtrak, Inc. Fleet Management Solutions www.navtrak.net 410.548.2337 -Original Message- From: David Notik [mailto:dave;digital202.com] Sent: Thursday, October 24, 2002 2:36 PM To: CF-Talk Subject: RE: OT: Dreamweaver MX saves slowwwly Hmmm... it's saving to a local folder, not across the network. Plenty of space, tons of RAM, super-awesome P4 2.2Ghz. Where might I start looking for the issue? --D -Original Message- From: Brian Scandale [mailto:Brrrian;Excite.com] Sent: Thursday, October 24, 2002 10:30 AM To: CF-Talk Subject: Re: OT: Dreamweaver MX saves slowwwly Sounds very much like a network configuration issue to me. Either the network config or workstation config could be responsible. At 11:18 AM 10/24/02, you wrote: Anybody else encounter this? When saving an open document in Dreamweaver MX, it hangs for a few annoying seconds before it finally saves. Not good when you're a web developer constantly saving and refreshing. --Dave ### David Notik Digital202, LLC Imagination gone digital. Web: http://www.digital202.com/ www.digital202.com E-mail: mailto:dave;digital202.com [EMAIL PROTECTED] Office: (206) 575-1717 Mobile: (206) 351-3948 ### ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Re: Oracle 8 Native Drivers Failing
Try creating a test page doing a basic query using the datasource set up to connect using 8i. It will give you a more detailed error than the verification in the administrator. That might help you pinpoint it. - Original Message - From: David Hannum [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, October 22, 2002 7:27 AM Subject: Re: Oracle 8 Native Drivers Failing The TNSNames.ora file is fine. Oracle, Merrant and Microsoft ODBC all connect and run, the 7.3 Native Drivers connect and run, SQL Plus connects and runs. The Oracle 8 Native Drivers fail verification. Dave - Original Message - From: Catherine Taylor [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, October 21, 2002 10:04 PM Subject: Re: Oracle 8 Native Drivers Failing Well, not seeing your system, my guess is that your ORACLE_HOME environment is set to the wrong location for using the native drivers on the W2K system. Can you connect to the database using SQL-Plus 8i version from the W2K server? If not, then once you resolve that you should be able to connect via CF. I ran into that once when I had both versions of Oracle client on my system. Hard to say. Does your connection actually fail verification or is it just some features don't work? Cathy On Monday, October 21, 2002, at 05:04 PM, David Hannum wrote: We have CF 5.0 on Win2K SP3 and Oracle 8.1.6 (8i) on Solaris. We cannot connect to the database using the Native 8.0 drivers. The 7.3 drivers work except for CFQUERYPARAM which the 7.3 drivers do not seem to support and we cannot do without. Does anybody have experience in this area? Why doesn't the native 8.0 drivers work? Dave === David R. Hannum Web Analyst/Programmer Ohio University Computer Services Administrative Systems (740) 597-2524 If your wife is having fun, and you're not . . . You're still having a lot more fun than if you're having fun, and she's not! (Red Green) ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
Re: 2nd question - Run MX as nobody? - Solution
Hi Jesse, Not to be annoying :-), but any update on internal talks about this? Thanks! Cathy - Original Message - From: Jesse Noller [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, October 10, 2002 1:14 PM Subject: RE: 2nd question - Run MX as nobody? - Solution Cathy- I do recommend trying the noshell option. This was not written off as a non-issue, it was not feasible for us to write more C code binaries, and we were not left pleasant options. I will discuss this matter internally once I am over this flu-bug, and I will see what we can do. Our only real option is to either write a new C-launcher binary (not good, very bad, severe change in CFMX) or enforce the JRun method of installation (Not a good user experience) it is a loose-loose situation on our part. I will see what I can do, and will explore the options internally. -Jesse Noller Macromedia -Original Message- From: Cathy Taylor To: CF-Talk Sent: 10/10/2002 9:26 AM Subject: Re: 2nd question - Run MX as nobody? - Solution This is not an option. I don't know how many times I have to say that. We have been using ColdFusion for years and have systems in place on it. We're forward thinking and trying to get rid of our legacy applications, not create new ones. It will not be an option for us to move forward unless CFMX can be run as nobody. Part of our security hardening procedure on production servers is to allow *no* user accounts other than administrators. None of our production software runs as a user other than nobody. We have *never* had a problem with that. I cannot just change the rules - they are dictated by a federal governing body (and I would lose my job and worse if I did). We took this problem to SUN to cover our bases as well and here was their response, backing up my security issue here: Following up on this case regarding locking down a solaris system via the login shell. My understanding is one of your 3rd party plugins (coldfusion) must implement a valid shell for the user nobody, who normally does not have any shell assigned for obvious reasons. I dont know if I agree with the fact that coldfusion actually requires a shell since it is a security hole but thats another ballgame. Does coldfusion actually require a user to login? If not, I would highly recommend using the noshell program which is much more secure than say /bin/false. This shell wont let the user actually login but it is a valid shell. You can get this right off of: http://www.cert.org/security-improvement/implementations/i049.02.html This site gives step by step instructions for using the noshell program, which is very straight forward and takes no more than 10 minutes. If coldfusion actually requires a login than their will be no choice but to assign a valid shell (ie. /bin/csh) to the user nobody and lock the system down appropriately (ie. specify NP in the /etc/shadow file or what not). A valid shell always leave a system open to hacker attacks so I would suggest reviewing the following security faq which tells you pretty much everything you need to know on how to secure the system: http://muse.linuxmafia.org/lost+found/solaris-security-faq.html#Q3.10 I hope this helps. Best Regards, I will look into the noshell option to see if it works and is feasible, but I am highly disappointed that this was written off as a seemingly non-issue when it in fact is a huge issue. Cathy Taylor - Original Message - From: Jesse Noller [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, October 10, 2002 12:00 PM Subject: RE: 2nd question - Run MX as nobody? - Solution Cathy- Do *not* run coldfusion as the nobody user then. CFMX requires the user it runs as have a valid shell on solaris as solaris SU does not allow for on the fly shell definition to run a given command. CF5 bypassed this by having an internal SUID system. CFMX does not. Jesse Noller [EMAIL PROTECTED] Macromedia Server Development -Original Message- From: Cathy Taylor [mailto:cathy;4te.com] Sent: Thursday, October 10, 2002 11:48 AM To: CF-Talk Subject: RE: 2nd question - Run MX as nobody? - Solution No, that's not a viable solution. I cannot give 'nobody' a shell. That defeats the purpose of nobody. I posted in the forum (hey Troy, that was probably me!) and am not receiving a response and have also submitted a bug report. I have narrowed it down to this: CFMX will run as nobody if no shell is specified (nothing at the end of the line in /etc/passwd). It will not run if /dev/null or /bin/false is specified as the shell. The gov't agency I work for has strict requirements that one of the above be specified. This worked for for CF 4.5 and 5.0. It suddenly does not work with CFMX. (It also works for all web servers we have run and currently run, so should not be a major issue). Glad
Re: Documentum
My husband is the Documentum expert around here and I forwarded your question to him. Here's what he said: Yes, no, maybe. You can do stuff via the RDBMS backend but that defeats the purpose - Documentum is a content management server. I don't know about Cold Fusion but JRun is a big yes so probably. They were doing something in Java for a web front end. He isn't terribly familiar with ColdFusion. So I guess if you can manipulate (or even just query) the data in the database, you can use ColdFusion with it. As long as it doesn't mess up the Documentum views/functionality. Sorry I couldn't get more specific! Cathy - Original Message - From: J L [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Friday, October 18, 2002 12:32 PM Subject: Documentum Hi all, Does anybody here have experience with Documentum? Does it work with CF5? Thanks, Joey ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm
Re: CFLOCK timeout
I've had that error when there's actually something wrong with the database. Check your tempdb and try running the sql manually to see what happens. If I recall, it was something obscure, but it did have to do with the database. Connections used up or a thread locked in the DB? Sorry - don't remember for sure. Restarting CF always temporarily fixed the problem, but then it came back. - Original Message - From: Mark Leder [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Friday, October 18, 2002 1:07 PM Subject: CFLOCK timeout I'm doing a CFIndex on an access db, shared hosting environment - has been working fine for several months. Now, when running the CFIndex an error message gets thrown, stating that the CFLOCK has timed out waiting for exclusive access. I've had the searching function hidden for the last two days, so no one can access the collection. What's causing this timeout? Help!!! Thanks, Mark ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
Re: Connecting to Oracle 7.3.4 database via Oracle server using CFMX
If you're using CFMX on Unix (btw, which flavor because I'm guessing you're at another gov't facility and if Solaris, you may run itno the same problems I've been with 'nobody'?) you just specify the type of database and the proxy port number to connect to. It does the rest. I haven't connected MX to Oracle 7.3 yet, but I've connected 5.0 to it in the past without a problem. Get it installed and peek at the Administrator datasource setup to see what I mean. There's no 3rd party connector involved (or ODBC config). Cathy - Original Message - From: Smith, Don , , WHS/PSD [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Friday, October 11, 2002 12:53 PM Subject: Connecting to Oracle 7.3.4 database via Oracle server using CFMX Or main unix guru is out of the office today while I'm moving an MX installation from Win2k to Unix. The backend db for this app is in Oracle 7.3.4 which is not supported in CFMX. On Win2k I created an odbc connection to the database and then create an odbc socket connection to that existing data source. That was so easy to do in Win2k that I pretty much forget how I did it. But I am not as familiar with creating an odbc connection in Unix. I have the ear of a Unix admin that I can work with, so how would I go about doing this? Thanks for any info! Don ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
RE: 2nd question - Run MX as nobody? - Solution
No, that's not a viable solution. I cannot give 'nobody' a shell. That defeats the purpose of nobody. I posted in the forum (hey Troy, that was probably me!) and am not receiving a response and have also submitted a bug report. I have narrowed it down to this: CFMX will run as nobody if no shell is specified (nothing at the end of the line in /etc/passwd). It will not run if /dev/null or /bin/false is specified as the shell. The gov't agency I work for has strict requirements that one of the above be specified. This worked for for CF 4.5 and 5.0. It suddenly does not work with CFMX. (It also works for all web servers we have run and currently run, so should not be a major issue). Glad to hear I'm not the only one. I'm kind of bummed I haven't received any reply from Macromedia though to at least confirm my suspicion and say, Hey, we'll get right on that!. We're at a standstill until it's resolved. Thanks for the feedback! I seem to miss some using the digest and will try to pay more attention! Cathy ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
Re: 2nd question - Run MX as nobody?
No, this is not a good enough answer. Nobody is *not supposed* to have a shell and it worked just fine before CFMX. This is a security issue and I feel should be investigated more fully before being written off in a pat manner. I'm quite familiar with the script and how it works. I think this has more to do with how it is doing the suid function. Cathy Taylor - Original Message - From: Jesse Noller [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, October 10, 2002 11:58 AM Subject: RE: 2nd question - Run MX as nobody? Look in the coldfusion start script. The start script run su -$user -c command On linux, su gives you the option of defining a run-time shell. Solaris does not, therefore, the solaris user you run CFMX as needs a valid shell. Jesse Noller [EMAIL PROTECTED] Macromedia Server Development No concept man forms is valid unless he integrates it without contradiction into the sum of his knowledge. - Ayn Rand -Original Message- From: Thomas Chiverton [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 11:50 AM To: CF-Talk Subject: RE: 2nd question - Run MX as nobody? You don't need to login as the cfuser, however, the CFuser needs a valid shell It does ? What for ? as well as typical privs associated with it. I guess it depends what you mean by typical :-) I wouldn't want my CFMX user to have read access to everything below /home (some UNIXs set permissions by default that allow this) for instance. Tom Chiverton You don't have to be a mad scientist to believe in ColdFusion ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
Re: 2nd question - Run MX as nobody? - Solution
This is not an option. I don't know how many times I have to say that. We have been using ColdFusion for years and have systems in place on it. We're forward thinking and trying to get rid of our legacy applications, not create new ones. It will not be an option for us to move forward unless CFMX can be run as nobody. Part of our security hardening procedure on production servers is to allow *no* user accounts other than administrators. None of our production software runs as a user other than nobody. We have *never* had a problem with that. I cannot just change the rules - they are dictated by a federal governing body (and I would lose my job and worse if I did). We took this problem to SUN to cover our bases as well and here was their response, backing up my security issue here: Following up on this case regarding locking down a solaris system via the login shell. My understanding is one of your 3rd party plugins (coldfusion) must implement a valid shell for the user nobody, who normally does not have any shell assigned for obvious reasons. I dont know if I agree with the fact that coldfusion actually requires a shell since it is a security hole but thats another ballgame. Does coldfusion actually require a user to login? If not, I would highly recommend using the noshell program which is much more secure than say /bin/false. This shell wont let the user actually login but it is a valid shell. You can get this right off of: http://www.cert.org/security-improvement/implementations/i049.02.html This site gives step by step instructions for using the noshell program, which is very straight forward and takes no more than 10 minutes. If coldfusion actually requires a login than their will be no choice but to assign a valid shell (ie. /bin/csh) to the user nobody and lock the system down appropriately (ie. specify NP in the /etc/shadow file or what not). A valid shell always leave a system open to hacker attacks so I would suggest reviewing the following security faq which tells you pretty much everything you need to know on how to secure the system: http://muse.linuxmafia.org/lost+found/solaris-security-faq.html#Q3.10 I hope this helps. Best Regards, I will look into the noshell option to see if it works and is feasible, but I am highly disappointed that this was written off as a seemingly non-issue when it in fact is a huge issue. Cathy Taylor - Original Message - From: Jesse Noller [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, October 10, 2002 12:00 PM Subject: RE: 2nd question - Run MX as nobody? - Solution Cathy- Do *not* run coldfusion as the nobody user then. CFMX requires the user it runs as have a valid shell on solaris as solaris SU does not allow for on the fly shell definition to run a given command. CF5 bypassed this by having an internal SUID system. CFMX does not. Jesse Noller [EMAIL PROTECTED] Macromedia Server Development -Original Message- From: Cathy Taylor [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 11:48 AM To: CF-Talk Subject: RE: 2nd question - Run MX as nobody? - Solution No, that's not a viable solution. I cannot give 'nobody' a shell. That defeats the purpose of nobody. I posted in the forum (hey Troy, that was probably me!) and am not receiving a response and have also submitted a bug report. I have narrowed it down to this: CFMX will run as nobody if no shell is specified (nothing at the end of the line in /etc/passwd). It will not run if /dev/null or /bin/false is specified as the shell. The gov't agency I work for has strict requirements that one of the above be specified. This worked for for CF 4.5 and 5.0. It suddenly does not work with CFMX. (It also works for all web servers we have run and currently run, so should not be a major issue). Glad to hear I'm not the only one. I'm kind of bummed I haven't received any reply from Macromedia though to at least confirm my suspicion and say, Hey, we'll get right on that!. We're at a standstill until it's resolved. Thanks for the feedback! I seem to miss some using the digest and will try to pay more attention! Cathy ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm
Re: Visual Source Safe and CF Studio
I'd like to know this as well. We used PVCS client with CF Studio and have found it just won't even hook into DW as far as we can tell. Cathy - Original Message - From: Ken Wilson [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, October 10, 2002 3:10 PM Subject: RE: Visual Source Safe and CF Studio Any idea if Dreamweaver supports the SCC API that would allow use of other types of Source Control? Or did they intentionally tie it exclusively to the MS product for some reason? Ken -Original Message- From: Fitch, Tyler [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 12:59 PM To: CF-Talk Subject: RE: Visual Source Safe and CF Studio Hi Lee, I've found VSS with DWMX to be way, way, way better than any usage of projects in studio ever was. The VSS integration is one of the main reasons I switched early on. Cheers, t ** Tyler M. Fitch Certified Advanced ColdFusion 5 Developer http://isitedesign.com ** -Original Message- From: Lee Fuller [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 6:45 AM To: CF-Talk Subject: RE: Visual Source Safe and CF Studio On a slightly different note.. Anyone have experience with Dreamweaver MX and VSS? Work as well as Studio/VSS? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
Re: 2nd question - Run MX as nobody? - Solution
it just added another level of fault possibility to my web server which supports applications that do not run on CF in addition to the CF ones. Cathy - Original Message - From: Jesse Noller [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, October 10, 2002 1:14 PM Subject: RE: 2nd question - Run MX as nobody? - Solution Cathy- I do recommend trying the noshell option. This was not written off as a non-issue, it was not feasible for us to write more C code binaries, and we were not left pleasant options. I will discuss this matter internally once I am over this flu-bug, and I will see what we can do. Our only real option is to either write a new C-launcher binary (not good, very bad, severe change in CFMX) or enforce the JRun method of installation (Not a good user experience) it is a loose-loose situation on our part. I will see what I can do, and will explore the options internally. -Jesse Noller Macromedia -Original Message- From: Cathy Taylor To: CF-Talk Sent: 10/10/2002 9:26 AM Subject: Re: 2nd question - Run MX as nobody? - Solution This is not an option. I don't know how many times I have to say that. We have been using ColdFusion for years and have systems in place on it. We're forward thinking and trying to get rid of our legacy applications, not create new ones. It will not be an option for us to move forward unless CFMX can be run as nobody. Part of our security hardening procedure on production servers is to allow *no* user accounts other than administrators. None of our production software runs as a user other than nobody. We have *never* had a problem with that. I cannot just change the rules - they are dictated by a federal governing body (and I would lose my job and worse if I did). We took this problem to SUN to cover our bases as well and here was their response, backing up my security issue here: Following up on this case regarding locking down a solaris system via the login shell. My understanding is one of your 3rd party plugins (coldfusion) must implement a valid shell for the user nobody, who normally does not have any shell assigned for obvious reasons. I dont know if I agree with the fact that coldfusion actually requires a shell since it is a security hole but thats another ballgame. Does coldfusion actually require a user to login? If not, I would highly recommend using the noshell program which is much more secure than say /bin/false. This shell wont let the user actually login but it is a valid shell. You can get this right off of: http://www.cert.org/security-improvement/implementations/i049.02.html This site gives step by step instructions for using the noshell program, which is very straight forward and takes no more than 10 minutes. If coldfusion actually requires a login than their will be no choice but to assign a valid shell (ie. /bin/csh) to the user nobody and lock the system down appropriately (ie. specify NP in the /etc/shadow file or what not). A valid shell always leave a system open to hacker attacks so I would suggest reviewing the following security faq which tells you pretty much everything you need to know on how to secure the system: http://muse.linuxmafia.org/lost+found/solaris-security-faq.html#Q3.10 I hope this helps. Best Regards, I will look into the noshell option to see if it works and is feasible, but I am highly disappointed that this was written off as a seemingly non-issue when it in fact is a huge issue. Cathy Taylor - Original Message - From: Jesse Noller [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, October 10, 2002 12:00 PM Subject: RE: 2nd question - Run MX as nobody? - Solution Cathy- Do *not* run coldfusion as the nobody user then. CFMX requires the user it runs as have a valid shell on solaris as solaris SU does not allow for on the fly shell definition to run a given command. CF5 bypassed this by having an internal SUID system. CFMX does not. Jesse Noller [EMAIL PROTECTED] Macromedia Server Development -Original Message- From: Cathy Taylor [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 11:48 AM To: CF-Talk Subject: RE: 2nd question - Run MX as nobody? - Solution No, that's not a viable solution. I cannot give 'nobody' a shell. That defeats the purpose of nobody. I posted in the forum (hey Troy, that was probably me!) and am not receiving a response and have also submitted a bug report. I have narrowed it down to this: CFMX will run as nobody if no shell is specified (nothing at the end of the line in /etc/passwd). It will not run if /dev/null or /bin/false is specified as the shell. The gov't agency I work for has strict requirements that one of the above be specified. This worked for for CF 4.5 and 5.0. It suddenly does not work with CFMX. (It also works for all web servers we have run
Re: copying db info with cf
Login to the servers as the oracle user and do an 'exp' command (look it up for help, but I think that command alone will prompt you for the user/database you want to export). It'll create a binary file you can then 'imp' on the other servers after ftping them over. Well, this is how you do it on a Unix box anyway. The Windows version is probably similar, but gets at it a little differently. You didn't say what environment you have. Cathy - Original Message - From: Cornillon, Matthieu [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, October 10, 2002 1:19 PM Subject: copying db info with cf Hi. I work on a site that has development, preview/testing, and production environments. These are fully independent right down to the database environments. It's all Oracle on the back end. I've taken care that the data structure is identical from environment to environment. However, the data itself is a little trickier. Some of it is basic data that I set up when the tables are established. But some stuff gets entered later, and I am trying to figure out a clever way to move data from one of the db environments to another. I could, of course, pull the data, try to have cf spit out sql statements that I then paste into another page, but I am wondering whether there is some smarter way? I am imagining some simple export format that I import on the other boxes. Note: this is probably obvious, but just in case: the CF servers are all independent, so no CF code can access another server's DBs. Thanks, Matthieu Pfizer Information Center ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
Re: Wiki
I don't know about a CF one, but thought I'd pass this on in case it can be of use. One of our guys did some in JSPs. I think he downloaded the source from somewhere and just set it up to share info on a programming project. Here's what they're using. It may not be what you're looking for (well, obviously - it's not ColdFusion) http://www.ecyrd.com/JSPWiki/Wiki.jsp?page=JSPWikiDownload Cathy - Original Message - From: project_boo [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, October 10, 2002 12:38 PM Subject: Wiki Are there any Wiki's written in cold fusion? Every one that I found was written in Asp I thought I saw a reference to one in a passing e-mail. recently. One of the abusers of the societies project suggested that it would work well to encourage people to share data. Any comments michael ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
Re: CFFILE PDF to Sybase?
Deanna, Thanks for the reply. Actually, unfortunately that's not an option (that is, however, how I manage a photo album site elsewhere). My client is a government agency and their rules dictate that the files not be stored on the web server (it is *strictly* an application server) unless they are temporary (such as when pdfs are created on the fly - then the temp files are removed). So my options are to: a. figure out how to upload into a blob field; or b. figure out how to tunnel the files (using CF?) through a proxy port to place them on another server which can be used for storing data/images Still would welcome any suggestions! We are looking at a C compiled program to do the blob placement as a last resort. We'd prefer to keep it all in CF, though. Cathy __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
CFFILE PDF to Sybase?
Hi all! I've been a semi-lurker for a while and try to read all the threads, but admittedly don't. So I apologize if this has been gone over and over before. We'd like to give our users the ability to upload a PDF file (as well as text files) directly into Sybase. We're running CF 5 on Solaris. Currently, the way we have it configured is to make the users upload a zip file with their text files and pdf. Then cfexecute unzips the file and bcps the text data into the database. We just don't know what to do with the PDF file. Any suggestions? I can't let the developers leave it on my production server (while I am a certified developer, I'm actually the system administrator) and it really should go into the database. Of course, then we need a way to retrieve it from the database to display should a user want to pull it up. On a completely different topic, has anyone switched from CFStudio to Dreamweaver? We obviously will need to at some point, but just realized that we can't use our PVCS (version control) client with Dreamweaver (and it works just fine with CF Studio). Just wondering if anyone else has run into that. Thanks! Cathy __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
2nd question - Run MX as nobody?
I'm trying to evaluate our CF MX upgrade on Solaris before I turn our masses loose on it. I can't run it as root and our security regulations forbid me from creating a new user to run it as (that wouldn't work anyway since our web server runs as nobody). I've read the docs and modified the user to nobody, but it won't start. The error log just says 'su no shell'. Of course nobody has no shell, but I'm sure it must be able to run that way. Am I missing something? Thanks again! Cathy __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Why am I now getting this
Every hour with a lot of undeliverable error messages? It kind of defeats the purpose of subscribing to the digest. Did the list options change? Thanks! Catherine Taylor __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CFMAIL differences from 4.5 to 5.0 (Was CFMAIL SOLVED)
We're having the same problem with output from CFSTOREDPROC statements to o. I was about to report it as a bug. We have javascript in a database. Each line is a line of javascript code that goes to a custom tag. So the cfoutput is just #script# /cfoutput. There is a carriage return at th e end of each line of script in the database. In 4.5.1 it worked perfectly. In 5.0 it makes one huge long line and obviously, the code doesn't work. I p ut a !-- -- after the #script# and it does then add a carriage return and work. Looks like a bug to me. cfoutput #script# !-- -- /cfoutput Cathy - Original Message - From: James Taavon [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Friday, January 11, 2002 12:23 PM Subject: CFMAIL differences from 4.5 to 5.0 (Was CFMAIL SOLVED) I have noticed a difference with using CFMAIL in 4.5 5.0. When using the default text format for email in 4.5 it recognizes carriage returns t hat are entered between the tags while it does not in 5.0. Has anyone seen what I am talking about and know what to do about with out without using HTML formatted email? __ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Oracle ODBC on Solaris
This may be more of an Oracle question, but maybe someone else has suffered through this and can help before I roll back to CF 4.5.1 server. My server is a SPARCStation 5 (Not UltraSparc) with Solaris 5.8 and Oracle 8.1.7. I just realized that CF Server 5 will not run with the Oracle native driver unless the hardware is ultrasparc. I've always used the native driver, so have never setup ODBC. In trying to generate my libclntsh.so.8.0, I kept getting a slew of undefined symbol references after an error about not being able to open $ORACLE_HOME/lib/ldflags . I found an article on how to create that file (it really didn't exist) and now I get only one undefined symbol reference error - Undefined symbol nnfyboot first referenced in file /home1/oracle/lib/libn8.a(nnfgt.o) ld: fatal: Symbol referencing errors... Created /home1/oracle/lib/libclntst8.a Can anyone help with solving this? I am about to head out of town and was really hoping to have my site back up first. Thanks! __ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists