I am new to ColdFusion and ColdBox (and programming). I tried to setup ColdBox but some of the links in the sample applications are broken.
My configuration is a GlassFish v3 installation with the current Railo OSS. I access my site through Apache 2.2.14.
So instead of http://127.0.0.1:8080/railo/ I access my environment trough http://railo/.
In Railo I have a webroot mapping / to C:/webapps/myproject/.
I have copied the current ColdBox 3M4 to C:/webapps/myproject/coldbox. I can access the dashboard through http://railo/coldbox/dashboard/index.cfm and have access to all options.
My problems start the moment I try to open the sample gallery:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented
it from fulfilling this request.
exception
java.io.FileNotFoundException: C:\webapps\viss-dev\coldbox\samples
(Zugriff verweigert)
note The full stack traces of the exception and its root causes are
available in the GlassFish v3 logs.
GlassFish v3
OK, no problem, just enter the link directly: http://railo/coldbox/samples/index.cfm.
The site looks plain, who cares - BUT all local links look like this: http://127.0.0.1:8080/coldbox/samples/applications/helloworld/index.cfm (railo is replaced with 127.0.0.1:8080).
Looks like trouble. To make my confusion perfect: when I try to access the login app: http://railo/coldbox/samples/applications/sampleloginapp/index.cfm and hit the submit button, I am redirected to this address: http://railo/railo/coldbox/samples/applications/sampleloginapp/index.cfm.
I believe that this is not really ColdBox-related, but it manifests itself when I try to use ColdBox, so here I am.
P.S.: amazon.de takes too long to ship the ColdBox book :(
Here's a suggestion, The good people at Vivotech have developed a couple of different installers for both Windows/IIS7 and various flavours of Linux for both Railo and Open BlueDragon. The setup installs Tomcat, Railo/Open Blue Dragon and the necessary connectors to the web server. Here's the link: http://www.viviotech.net/company/installers.cfm
I think you'll find using the installers to be a lot easier than working through it yourself. If you want to go that route, Adobe and various bloggers have instructions on how to do it. Matt Woodward has a very good blog posting on it: see MattWoodward.com, He also has a presentation on this, you can see it here.
hth,
larry
Since you are new to ColdFusion (and programming in general), I would recommend developing against Adobe ColdFusion. The Developer Edition of ColdFusion is free and available from Adobe.com. You won't need to mess around or configure GlassFish since Adobe ColdFusion comes with a baked-in pre-configured Tomcat, providing both servlet engine and web server.
Just install the 'Stand-alone' version of ColdFusion Developer Edition, copy the ColdBox files into the webroot and in less than 15 minutes you be up and running.
You should also check out ColdFusion Builder which is currently available in beta from http://labs.adobe.com. It has full language support and integrated help content for learning the ins-outs of the language.
As far as the ColdBox book goes, it's available as an eBook if you really can't wait. ;-)
DISCLAIMER: I spend about 50% of my waking life devoted to making ColdFusion better as the CF Product Manager at Adobe. :-)
i have given up on glassfish and i am now struggling with tomcat :D
Related
Team,
I am a beginner on site core 9.0. We have a requirement to migrate the existing MVC 5.0 application to sitecore 9.0. I am trying to build a POC first by having a basic mvc 5.0 web application having a login page.
May i know step by step process to migrate this to site core 9.0. I have tried all resources...(may be i have missed some) and i am confused.
Can anyone please guide me with proper links/information.
Probably the best way to start is by taking a brief introductory course into Sitecore to learn the terminology and how things are put together. There are also a lot of online resources to help you get started (Google "getting started with Sitecore").
Joining the community (like this one, the one on sitecore.stackexchange.com, Sitecore Slack, Community Forums) will put you in touch with a lot of developers who can help you through your steps as you move piece by piece.
Your particular question here is a little too vague to answer accurately. There are a lot of things that need to be done and it all depends on your scenario and your existing MVC application. It may be more helpful to ask specifics about a particular scenario you are migrating, with code examples, and what you have tried already.
You also need to think about what you are trying to migrate. Are you moving to run off of a Content Delivery server? Or are you building your MVC application to consume Sitecore as a headless application? Those would be two entirely different migration approaches.
I have a Windows Embedded Compact 7.0 based development board which has a HTTPD webserver and SQL Compact DB,
Objective: My task is to deploy few HTML5 pages and create C++ component for DB access.
Current solution : Currently we are thinking of CGI interface between HTML5 and C++
component, not sure if this is possible , but our vendor (where this board bought from) confirmed that WinCE can support ISAPI (much faster CGI).
I would like to know if we are in a right direction? or Is there a alternate solution to this?
Asking this question because I came across this article in Code project about http://www.codeproject.com/Articles/336018/Building-C-Applications-with-HTML[Building C++ Application with HTML5] which talks about usage of Webkit and Qt.
Please let me know if I can explore as per this article. Can this work under Embedded-based environment.
Thanks in advance for your replies.
It's one path. This article uses QT to intercept requests, so you are basically implementing your own web server
I don't know about your requirements but you may have quite some work if you wanna do it by yourself (implementing Sessions, Authentication, Http methods, SSL, etc).
In my case, I deactivated the standard HTTPD server and used Padarn for a C# backend and I found it to be ok, but it's not free.
I didn't spend much time looking for C/C++ servers but I believe setting up a pre-made web-server is a good path path unless that article meets your requirements.
I'm building a website which requires forum integration to a Sitecore build - I've checked on the Sitecore website and they suggest YetAnotherForum and Telligent Community Integration Module. Both of these modules tho only support up till 6.4.1 and 6.4 respectively - I'm using Sitecore 7.0.
Logged a ticket with Sitecore and they came back with the following:
We have no information about Forum modules that are compatible with Sitecore 7.1. I would recommend you to contact your regional office and check whether they could advise you something.
Any suggestions?
First of all Telligent supports Sitecore 7.
Reference link
I have been working with Sitecore and Telligent Community integration from quite time and from my experience i have this opinion.
For deep integration it is quite a lot of work and requires much knowledge of both the product and costs will be high for licensing & deployment. But i can assure you that Telligent will work in Sitecore newer version also. However with higher costs you will get more rich functionality, Facebook like Activity Stream, and Apart from Forums it also has Blogs, Wikis, Media Gallery.
Telligent supports two kind of integrations:
1. Side by Side Integration - In this Sitecore and Telligent both will be user facing.
2. Integration mode - In this user will be mostly in Sitecore.
Reference link
If you are Sitecore Partner you will get trial license of Telligent. For details check 'Social Starter Kit' on Sitecore SDN site. Also there is video on YouTube regarding Sitecore & Telligent Integration in Sitecore Virtual User Group community.
I have no experience on YAF module so can't suggest on that.
Did you try to install YAF integration module, https://marketplace.sitecore.net/en/Modules/YAF_integration.aspx, i think it would run on Sitecore 7, since this module mainly integrate YAF with Sitecore security, i don't see why it should not run on Sitecore 7.
The Telligent product was renamed, I suggest you take a look at http://www.zimbra.com/products/zimbra-community/sitecore-starter.html and contact them. I'm unaware of what version they're targeted at right now.
I'm looking for some open source, free to change and use Intranet written on Python+Django.
Just want to find some foundation to build site on top of it.
If you're looking for a prebuilt site, have a look at Django-CMS, a Content Management System. If what you need is very simple, and you have a large amount of trust in your Users, you can probably get away using the admin contrib package that comes with Django.
For deployment, you're looking at setting up an Apache web server on an internal server somewhere, installing mod_wsgi, and deploying that way. There are many tutorials on how to do this.
Can you please what are features that are needed on your intranet. As Josh suggested, the Django-CMS will do good in most of the cases.
Just downloaded Coldfusion 9 developer for review purposes. I am at the administrator page 127.0.0.1:8300 and I think everything has worked fine. I want to do a simple "Hello World" example. One tutorial gave me a simple 6 line script to do this and it looks pretty simple and understandable. I went to notepad and created the following:
<html>
<head><title>Hello World</title></head>
<body>
<cfoutput>#ucase("hello world")#</cfoutput>
</body>
</html>
It told me to save it as helloworld.cfm in inetpub/wwwroot directory. I could not find such a directory on my system. So I saved it to C:\helloworld.cfm. Then it told me to go to my browser and type http://localhost/helloworld.cfm. I got something to the effect of a page not found error. Any help you can spare here.
Secondly, and more importantly, exactly where do I really need to be to be to create and run the above helloworld.cfm script above? Is there another tool I must have to create the above script to do this? I also understand that there is very little tutorial documentation on Coldfusion 9, why is that the case. Can you offer me any suggestions. I would really like to use this development tool. Adobe says it is the easiest development tool out there. You will have a tough time convincing me of that at this stage, however, I just might be missing a procedural/processing step thats real simple. I hope this is the case. Thanks for you valuable time.
When you installed ColdFusion did you hook it up to a webserver or did you install it in standalone mode?
Did you install it as standard ColdFusion or Multiserver?
The reason I ask is that depending on how you installed it will determine where you will find the web root.
For example, ColdFusion standard in stand alone mode will have the web root under something like C:\ColdFusion9\wwwroot
Multiserver standalone will be something like C:\Jrun4\servers\cfusion\cfusion-ear\cfusion-war\
Installation with a connection to a web server will have asked you where you server's web root is and so on
To create scripts; notepad, but there are two eclipse based IDEs you might like to try. CFEclipse is free and ColdFusion Builder is adode's commercial product.
First of all, Welcome to the ColdFusion community!
I believe Jerry has done a default ColdFusion install. The CFAdmin URL as mentioned is 8300, so i guess it is a multi server installation.
As pointed out by stephen, your web root would be something like \Jrun4\servers\cfusion\cfusion-ear\cfusion-war\
You need to place your helloworld.cfm in the above path.
I recommend ColdFusion builder/ CFEclipse to start with.
CF is a easy language, you will realize that soon :)
http://localhost/ will point to where your web server is configured. So obvious question is did you configure a web server such as IIS or Apache? Which OS are you using and which install of ColdFusion did you pick (standard, multiserver, other...)?
If you don't want to use an external web server you can use the built-in one, I have never really used it much but here is a link that should get you going: http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=webservmgmt_3.html
To create CFM files you can use pretty much any editor, the most popular one is Eclipse (http://www.eclipse.org/) coupled with the CFEclipse plugin (http://www.cfeclipse.org/). Adobe now has a IDE based on Eclipse called CFBuilder (http://www.adobe.com/products/coldfusion/cfbuilder/features/) which is gaining speed quickly, but it is not free.