Cyclos in the cloud: step-by-step tutorial
We’ve shared with you detailed instructions on how to deploy a number of popular Java applications to the Jelastic cloud. Now, it is time for Cyclos, a complete on-line banking system with additional modules such as e-commerce and communication tools.
It’s pretty easy, just follow the steps below:
1. Create an environment
- Go to Jelastic.com and sign up if you haven’t done it yet or log in with your Jelastic credentials by clicking the Sign In link on the page.
- While in Jelastic dashboard, click the Create environment button:
- In the Environment topology window select Tomcat 6 as your application server. Pick MySQL as the database you want to use and then choose your environment name, for example, Cyclos, and click Create.
It will take just a minute for your environment to be created.
2. Upload a Java package
- Navigate to the Cyclos web site and download the basic installation package.
- Extract the files from zip package you have just downloaded and create a .WAR file from web folder contents (just put the contents of the web directory to the zip archive file, for example cyclos.zip, and rename it to cylcos.war or any name with the .war extension).
- Upload your Java package to the Deployment manager.
- Once the package is in Jelastic, deploy it to the environment you have just created.
3. Configure database
- Click Open in browser button for MySQL.
- When you created the environment, Jelastic sent you an email with credentials to the database. Use these credentials to create a user account and the database with the application.
4. Configure Cyclos
- Switch back to the Jelastic dashboard and click Config button for Tomcat.
- Open the Cyclos configuration file (home/webapps/ROOT/WEB-INF/classes/cyclos.properties) and type the host URL.
- In the same file you will have to set the database configuration (database URL, username and password).
Don’t forget to save your changes and restart Tomcat!
5. Start Cyclos
Finally, you can launch Cyclos and use all of its functions!














Blog
Twitter
YouTube
Facebook
Google+
Habrahabr
thanks, thats reallt helpful , one weak i was making the war file from the entire cyclos folder that was my mistake and you tutorial saved me .. so thanks again
Glad to help you out.
can you help me plz
Hola, por cunato tiempo se mantieen el ambiente activo, tiene algun costo…
Ty for this tutorial! I just deployed our cyclos
Thanks a lot, we have deployed Cyclos in Jelastic for testing our project of an alternative currency in Leipzig, Germany.
For people who find difficulties in the step 2.2 create a .war file maybe this link is useful:
http://www.yolinux.com/TUTORIALS/Java-WAR-files.html
Thanks acampada Liepzig. Here a resume for point 2.2
Put the contents of the web directory in an zip archive file. For example cyclos.zip, and rename it to cylcos.war (or any name with the .war extension)
Any idea how to get working the cyclos SMS module on jelastic?
Hi. I can’t get my cyclos up and running. I tried uploading the war archive which contains the WEB folder, through the deployment manager and through the tomcat manager page. I cannot get any result. I even had Tomcat 6 stop working. I cannot see the uploaded files anywhere. The second method gave me an error – uploaded file too big. What is going on?
Hello!
You have to create WAR file from the WEB folder content.
Also you can download Cyclos WAR here http://goo.gl/zSt5N and try one more time.
Thanks.
So far, I uploaded an ordinary zip archive. The file cyclos.properties exists, and I edited it, but still no effect. I am currently in Tomcat 7 configuration, but I’ll try version 6.
Extract the files from zip package you have downloaded and create a .WAR file from the web folder contents or download WAR file here http://goo.gl/zSt5N
the new WAR archive works. I cannot quite understand why this was sooo hard (BTW, slow upload on my connection). Perhaps I packed the WAR archive with JDK 7 and it was somehow different? Nevermind. Thanks a lot for your help.
hey ,someone help me ,i can’t get cyclos
Hi!
What problems do you have with this?
I have problems connecting cyclos with joomla. Is there something additional that I should do, other than the documentation says?
Hi, Juan!
We plan to add PHP support in the nearest future, but now you can not use Joomla in Jelastic.
Hi Marina, I didn’t mean that, I have a Joomla installation with cyclos modules in my Bluehost hosting and i want to connect Joomla with my cyclos installation in Jelastic. Somehow its not working.
Thank You,
Juan
Hello I too have the same problem Juan Arce. In the form page in my joomla site cyclos get the following error:
Server error: Unauthorized access-
and ns1: unexpected-error
How do I fix this?
I’m desperate, somebody help me!
please!
Hi!
We didn’t work with Joomla earlier. Could you, please, describe more detailed what you want to do? How did you try to connect Joomla and Cyclos?
Can somebody explain ” Extract the files from zip package you have just downloaded and create a .WAR file from web folder contents.”
Please show me the steps which have to be done to make this work.
Hello, Mario!
You just have to create zip package from web folder (it is in zip package, you have downloaded) contents and then change extension of this package from zip to WAR.
Hello,
I don’t find the cyclos configuration file….
Hi!
It has to be here: home/webapps/ROOT/WEB-INF/classes/cyclos.properties
Hi I have successfully created a page with cyclos.war I have little knowledge of the database mymqls and want to know as an asset to new users or new accounts to use their wonderful platform. I tried registering new users but the system says:
Your account Has Been created and Needs
to be activated by the administration.
I appreciate your help
Cesar
Hi!
How did you registered a new user? Please describe all your steps.
how to strat cyclos after tomcat restrat any help me
Just open it in browser.
I followed the steps but when I go to launch cyclos I get the error message from Apache:
“The requested resource (/) is not available.”
Anyone help?
thanks
http://tzfatbarter.jelastic.servint.net/
Hi! Please check your logs.
Hi Marina please try to register on my test page, tell me how I authorize new accounts into mysql to authorize the new user? thank you for your help.
http://cathelp.jelastic.servint.net/
Hi!
Ok, I’ll try. Thanks!
> Tell me how I authorize new accounts into mysql to authorize the new user?
Open MySQL in a browser, use the credentials, which Jelastic sent you, to sign in. Then click on “Privileges”, after that pick “Add a new user” and fill all required fields http://jelastic.files.wordpress.com/2011/12/cyc8.png?w=300&h=230
Hope my small instruction will help you.
Hi Marina
I have uploaded the .war file from the above link. and followed the instructions. I have a problem when i open in browser i get the Apache software foundation page. where did i go wrong.
Thanks
Hey, Ammar!
I have to know the name of your environment to help you.
Hi Marina
The name of my environment is ammar (http://ammar.jelastic.servint.net/)
Please, check your logs. What exceptions are there?
Marina,
I followed the steps but when I go to launch cyclos I get the error message from Apache:
“The requested resource (/) is not available.”
help?
thanks
http://tzfatbarter.jelastic.servint.net/
Hello, Andy!
Please, check your logs.
I still get the same reply
“The requested resource (/) is not available.”
I just did check them and got an error…
let me know if you can help me resolve this. if not, i am going to delete the environment and start from scratch
Hi, Andy!
What exceptions are in your logs? I have to know to help you.
Hi Marina
How can i check my logs?
Hi!
Here is a screenshot http://goo.gl/ZfAlK
Hi Marina
I can’t do it ……please log into my account and solve the problem for me. my log in information are a.ammar@gmail.com , password 123456789, mysql password Htd64kI71D. mysql username ammar, password ammar
Hey, Ammar!
All is ok now. You wrote wrong database URL. I have fixed it.
Enjoy!
Hey Marina
Thank you very much ….. at last it”s working …… your support is second to none.
No problem!
Very nice, please tell me how to install this in my website………
Thank you
Hello!
Is your web site hosted on Jelastic?
Hey Marina
Its going to be helpful to many if you provide a .WAR link for the cyclos 3.6.1 the updated version.
Thank you
Hi , i i am trying to install cyclos , i can see that it is populating my database but my site doe not work …
Can you help me ? thanks!
my site is http://alexcyclos.jelastic.dogado.eu/
Hi, check your logs, please. If you did all steps in a right way, it should work.
i install cyclos but on login by default admin 1234
have redirect on start login page
not enter in admin panel
http://12345.jelastic.dogado.eu/cyclos/do/login
please help logging and find that error
Hello!
Please try to redeploy it. I can not find any error.
Hi Marina
There is something wrong when it comes to MYSQL I get error 1290 can’t create tables. please help what is the solution
Musa
Hi!
Are you sure that you come through all steps without mistakes? Check, please one more time
Hello Jelastic support.
There are various user having problem with the Cyclos installation on Jelastic. Cyclos starts but users cannot login. The problem only occurs when using Tomcat7. With Tomcat6 the problem does not occur (on Jelastic). We cannot reproduce the problem locally. It might be some Tomcat 7 configuration on Jelastic.
Thanks for your report! We’ll try to analyze this problem.
Thanks a lot Marina. Your tutorial have been helpful. But do I have to find a domain name from another service provider? Or do you provide a complete package of software and web hosting? Please respond once again and thank you for your guidance.
Hello! Thanks for good words!
You can use a custom domain name instead of hoster domain name. This detailed instruction will help you http://jelastic.com/docs/custom-domains
I have been on this for hrs now. i have followed the install to the letter, it will not connect to the database i just get the tomcat homepage or a 404 error. I have put the database username and password in and the url to it and the site url. ?? pulling my hair out now and theres not much left, can anyone help me !!!
Hi! Are you sure, that you put correct urls?
Also, check your logs. What exceptions are there?
cyclos.host.url=http://derbylets.jelastic.dogado.eu/
hibernate.connection.url = jdbc:mysql:http://mysql-derbylets.jelastic.dogado.eu/
hibernate.connection.username = derbylets
hibernate.connection.password = ********
My email says
Environment URL: http://derbylets.jelastic.dogado.eu/
Access url : http://mysql-derbylets.jelastic.dogado.eu
Part of the localhost access log
May 17, 2012 12:23:05 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class nl.strohalm.cyclos.http.LifecycleListener
java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘sessionFactory’ defined in class path resource [nl/strohalm/cyclos/spring/persistence.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException: Error connecting to database at jdbc:mysql:http://mysql-derbylets.jelastic.dogado.eu/?useUnicode=true&characterEncoding=utf8
Many thanks for your help
Peter, you use wrong database URL. It has to be jdbc:mysql://mysql-derbylets.jelastic.dogado.eu/{your_database_name}
Thanks Marina but i have now changed this and still no connection could you take a look because i am now getting very confused and lost trying so many things
User name: peter@in-derby.com
password : poppylou
many many thanks in advance, if you can look at it i will be able to see the changes you have made
Peter, go to MySQl admin page and change derbylets user’s local host to any host http://jelastic.files.wordpress.com/2011/12/cyc8.png?w=300&h=230. Then restart Tomcat.
done but still just loading tomcat homepage
mysql password
user root
password GhdRYZS2JH
can you take a look again and not let my password go public
Peter, you deployed Cyclos to derbylets context (not to the root), so the link to your app is http://derbylets.jelastic.dogado.eu/derbylets . It works, I have checked.
OMG so sorry thanks for all your help Marina at last i can have a play
No problem:)