Cyclos in the cloud: step-by-step tutorial

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInEmail this to someone

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

1. 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.

2. While in Jelastic dashboard, click the Create environment button:

3. 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

1. Navigate to the Cyclos web site and download the Basic installation package.

IMPORTANT: You need the Basic installation package – not something else.

2. 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 folder to another zip archive file, for example cyclos.zip, and rename it to cyclos.war or any name with the .war extension).

3. Upload your Java package to the Deployment manager.

4. Once the package is in Jelastic, deploy it to the environment you have just created.

3. Configure database

1. Click Open in browser button for MySQL.

2. 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

1. Go back to the Jelastic dashboard click Config button for Tomcat and upload the MySQL connector to the lib folder.

2. Click Config button for Tomcat.

3. Open the Cyclos configuration file (home/webapps/ROOT/WEB-INF/classes/cyclos.properties) and type the host URL .
For example:
cyclos.host.url = http://cyclos.jelastic.com/)

4. In the same file you will have to set the database configuration (database URL, username and password).

For example:

hibernate.connection.url = jdbc:mysql://mysql-cyclos.jelastic.com/cyclos
hibernate.connection.username = cyclos
hibernate.connection.password = cyclos                                                

Don’t forget to save your changes and restart Tomcat!

5. Start Cyclos

Finally, you can launch Cyclos and use all of its functions!

The default credentials are admin/1234.

With the “One click” install option you can have a Cyclos instance up and running within minutes. Our application packaging gives you rapid and stable multitenancy. The process is simple. Just a few clicks and you are done. Navigate to our Solutions page, select Cyclos from the list of available apps and get it hosted in a minute, skipping the steps of manual installation. You can find more details about Jelastic App Packaging here.

Related article

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInEmail this to someone

244 Comments

  • ibrahim says:

    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

  • Alejandro says:

    Hola, por cunato tiempo se mantieen el ambiente activo, tiene algun costo…

  • David says:

    Ty for this tutorial! I just deployed our cyclos :)

  • [...] did a short how-to on deploying Cyclos to the Jelastic Cloud.  Cyclos is a fast-growing complete on-line banking system with a number of other cool modules, [...]

  • 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?

  • Gianni says:

    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?

  • Gianni says:

    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.

  • khaoula says:

    hey ,someone help me ,i can’t get cyclos

  • Juan Arce says:

    I have problems connecting cyclos with joomla. Is there something additional that I should do, other than the documentation says?

  • Juan Arce says:

    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

  • Vale says:

    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!

  • Mario says:

    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.

  • David says:

    Hello,

    I don’t find the cyclos configuration file….

  • 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

  • gksfincrop says:

    how to strat cyclos after tomcat restrat any help me

  • 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

  • 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/

  • Ammar says:

    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

  • Ammar says:

    Hi Marina
    The name of my environment is ammar (http://ammar.jelastic.servint.net/)

  • 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/

  • Ammar says:

    Hi Marina
    How can i check my logs?

  • Patrick Chigbata says:

    Very nice, please tell me how to install this in my website………

    Thank you

  • avasil says:

    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/

  • igor says:

    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

  • Musa says:

    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

  • 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.

  • MATHIAS KATURA says:

    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.

  • 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 !!!

  • adt2 says:

    I am having the exact same “HTTP Status 404-/ type status report message / description The requested resource (/) is not available.” error. Based on responses above, I assume I have the connection url or similar entered wrong, but I can’t figure out what it’s supposed to be.

    hmrtrade.jelastic.servint.net

    • Hi! Please, try to deploy Cyclos one more time and be more careful with urls and other settings.

      • adt2 says:

        Okay. I stopped my original environment (I am unable to delete it for some reason) and started over. Environment name is hmrbarter (hmrbarter.jelastic.servint.net). Followed steps in tutorial above. At the Tomcat config step, I commented out the HSQLDB lines and uncommented the MySQL lines (which should really be in the tutorial steps), downloaded the MySQL connector and uploaded to the /lib directory (should also be in the tutorial), changed the hibernate.connection.url to “jdbc:mysql://mysql-hmrbarter.jelastic.servint.net/cyclos”. Changed username and password fields as well. Restarted Tomcat.

        Same exact error. I believe I am following the steps above; either the steps are incomplete and/or incorrect, or they are unclear and I’m not following them correctly.

    • Did you check your logs? What exceptions are there?

      • adt2 says:

        /manager is empty. /admin is empty. /localhost_access_log shows
        192.168.0.1 – - [21/May/2012:18:17:56 +0400] “GET / HTTP/1.0″ 404 955
        192.168.0.1 – - [21/May/2012:18:17:56 +0400] “GET /favicon.ico HTTP/1.0″ 404 988
        192.168.0.1 – - [21/May/2012:18:18:15 +0400] “GET / HTTP/1.0″ 404 955
        192.168.0.1 – - [21/May/2012:18:18:15 +0400] “GET /favicon.ico HTTP/1.0″ 404 988

        /catalina shows
        May 21, 2012 6:17:14 PM org.apache.coyote.http11.Http11AprProtocol pause
        INFO: Pausing Coyote HTTP/1.1 on http-8080
        May 21, 2012 6:17:14 PM org.apache.coyote.ajp.AjpAprProtocol pause
        INFO: Pausing Coyote AJP/1.3 on ajp-8009
        May 21, 2012 6:17:15 PM org.apache.catalina.core.StandardService stop
        INFO: Stopping service Catalina
        May 21, 2012 6:17:15 PM org.apache.coyote.http11.Http11AprProtocol destroy
        INFO: Stopping Coyote HTTP/1.1 on http-8080
        May 21, 2012 6:17:15 PM org.apache.coyote.ajp.AjpAprProtocol destroy
        INFO: Stopping Coyote AJP/1.3 on ajp-8009
        May 21, 2012 6:17:18 PM org.apache.catalina.core.AprLifecycleListener init
        INFO: Loaded APR based Apache Tomcat Native library 1.1.20.
        May 21, 2012 6:17:19 PM org.apache.catalina.core.AprLifecycleListener init
        INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
        May 21, 2012 6:17:19 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
        INFO: Failed to initialize the SSLEngine.
        May 21, 2012 6:17:19 PM org.apache.coyote.http11.Http11AprProtocol init
        INFO: Initializing Coyote HTTP/1.1 on http-8080
        May 21, 2012 6:17:19 PM org.apache.coyote.ajp.AjpAprProtocol init
        INFO: Initializing Coyote AJP/1.3 on ajp-8009
        May 21, 2012 6:17:19 PM org.apache.catalina.startup.Catalina load
        INFO: Initialization processed in 1952 ms
        May 21, 2012 6:17:19 PM org.apache.catalina.core.StandardService start
        INFO: Starting service Catalina
        May 21, 2012 6:17:19 PM org.apache.catalina.core.StandardEngine start
        INFO: Starting Servlet Engine: Apache Tomcat/6.0.16
        May 21, 2012 6:17:19 PM org.apache.catalina.core.StandardHost init
        FINE: Register host localhost with domain Catalina
        May 21, 2012 6:17:19 PM org.apache.catalina.core.StandardHost start
        FINE: XML validation disabled
        May 21, 2012 6:17:19 PM org.apache.catalina.startup.HostConfig deployWAR
        INFO: Deploying web application archive ROOT.war
        May 21, 2012 6:17:20 PM org.apache.coyote.http11.Http11AprProtocol start
        INFO: Starting Coyote HTTP/1.1 on http-8080
        May 21, 2012 6:17:20 PM org.apache.coyote.ajp.AjpAprProtocol start
        INFO: Starting Coyote AJP/1.3 on ajp-8009
        May 21, 2012 6:17:20 PM org.apache.catalina.startup.Catalina start
        INFO: Server startup in 1142 ms

        /host-manager log is empty. /localhost log is empty.

    • Interesting, all is ok with your logs. Can you share your environment with me? My email is ms@jelastic.com.
      Here’s an instruction on how to share environment http://jelastic.com/docs/share-environment
      I’ll try to help you.

    • Sorry, could you please share environment with this account a_hivext@yahoo.com too?

    • The problem is in your war file, you created it incorrectly. You have to put the contents of the web directory to the zip archive file, but not the web directory, and then rename it to any name with the .war extension. Please try again and let me know if you have any problem.

      • adt2 says:

        Still having the exact same problem. I opened the “web” directory, selected everything inside the directory, zipped to “cyclos.zip”, changed the name to “cyclos.war” and uploaded. Deleted existing “ROOT” under Tomcat, uploaded the new “cyclos.war” file and added it, then went through the config again. I’m getting exactly the same error message.

    • You forget to change your host URL. It’s still cyclos.host.url=http://localhost:8080/, but it has to be cyclos.host.url=http://hmrbarter.jelastic.servint.net/

      • adt2 says:

        Okay, I made this change too – still getting the same error. I was able to delete my environments thanks to some help from your tech support guys. I’ve created a new environment (same name – hmrbarter.jelastic.servint.net) and shared admin rights with the two email addresses you gave me above. I’ve also kept a step-by-step list of the steps I’ve taken if you need that.

    • Looks like some libraries are missed for some reasons( Try to deploy this one http://goo.gl/zSt5N or upload all necessary jar files to the lib folder (you can see which ones you need in exceptions of your logs).

      • adt2 says:

        Success! Your cyclos.war file was about 20mb larger than mine. I downloaded the cyclos install package directly from the cyclos web site; not sure what the problem is there. But your package worked just fine (it also had a lot of different code in the Tomcat config files than mine).

        Thanks for your help! Outstanding support!

    • You are welcome! Thanks for good words :) Looks like there are a lack of libs in updated Cyclos package(

      • adt2 says:

        Wonder if that’s because I downloaded the standalone version for testing on a Windows platform, instead of the full package?

    • Yes, I think the problem is in this package.

    • Hi! Could you please unshare your environment with my accounts?

  • adt2 says:

    I also tried setting the username and password fields to “root” and the password the system generated when I created the environment; no change, still getting the same error.

    One other thing – I am unable to delete my environments. I have tried while they are running and while they are stopped, and each time I get an error.

    • Create new user and new database as you did before, don’t use generated credentials. What about deleting your environments, I’ll ask our guys to fix this problem

  • bsetor says:

    Marina, how do i upload the mysql connector to the lib folder?

    • Hi! Just click Config button for Tomcat, then click Upload button to the right of the lib folder, specify the path to the connector (on your computer) and upload it.

  • clearance says:

    Marina, after setting up the environment and deploying i get this error, how do i solve it out?

    HTTP Status 404 – /

    type Status report

    message /

    description The requested resource (/) is not available.

    Apache Tomcat/6.0.16

    thanks

  • clearance says:

    My deployment is giving a 404 status error,
    i don’t know how to resolve the error, i added you to my environment account, your email ms@jelastic.com i need your support .

    my tomcat log file is;

    at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2153)
    at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:792)
    at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:47)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
    at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
    at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:381)
    at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305)
    at java.sql.DriverManager.getConnection(DriverManager.java:579)
    at java.sql.DriverManager.getConnection(DriverManager.java:221)
    at nl.strohalm.cyclos.setup.DataBaseConfiguration.validateConnection(DataBaseConfiguration.java:382)
    … 42 more

    Jun 08, 2012 6:07:15 AM 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://mysql-olivebranch.jelastic.servint.net/olivebranchdb?useUnicode=true&characterEncoding=utf8
    at nl.strohalm.cyclos.http.LifecycleListener$2.call(LifecycleListener.java:123)
    at nl.strohalm.cyclos.http.LifecycleListener$2.call(LifecycleListener.java:98)
    at nl.strohalm.cyclos.utils.access.LoggedUser.runAsSystem(LoggedUser.java:303)
    at nl.strohalm.cyclos.http.LifecycleListener.contextInitialized(LifecycleListener.java:98)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
    at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:829)
    at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:718)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    at org.apache.catalina.core.StandardService.start(StandardService.java:516)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    Caused by: 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://mysql-olivebranch.jelastic.servint.net/olivebranchdb?useUnicode=true&characterEncoding=utf8
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:567)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
    at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
    at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
    at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
    … 24 more
    Caused by: java.lang.RuntimeException: Error connecting to database at jdbc:mysql://mysql-olivebranch.jelastic.servint.net/olivebranchdb?useUnicode=true&characterEncoding=utf8
    at nl.strohalm.cyclos.setup.DataBaseConfiguration.validateConnection(DataBaseConfiguration.java:387)
    at nl.strohalm.cyclos.setup.DataBaseConfiguration.run(DataBaseConfiguration.java:106)
    at nl.strohalm.cyclos.spring.CustomSessionFactoryBean.newSessionFactory(CustomSessionFactoryBean.java:49)
    at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:779)
    at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
    … 36 more
    Caused by: java.sql.SQLException: Access denied for user ‘root’@’192.168.1.84′ (using password: YES)
    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3609)
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3541)
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:943)
    at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:4128)
    at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1308)
    at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2336)
    at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2369)
    at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2153)
    at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:792)
    at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:47)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
    at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
    at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:381)
    at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305)
    at java.sql.DriverManager.getConnection(DriverManager.java:579)
    at java.sql.DriverManager.getConnection(DriverManager.java:221)
    at nl.strohalm.cyclos.setup.DataBaseConfiguration.validateConnection(DataBaseConfiguration.java:382)
    … 42 more

    Jun 08, 2012 6:07:15 AM org.apache.catalina.core.StandardContext listenerStop
    SEVERE: Exception sending context destroyed event to listener instance of class nl.strohalm.cyclos.http.LifecycleListener
    java.lang.RuntimeException: java.lang.NullPointerException
    at nl.strohalm.cyclos.http.LifecycleListener$1.call(LifecycleListener.java:86)
    at nl.strohalm.cyclos.http.LifecycleListener$1.call(LifecycleListener.java:69)
    at nl.strohalm.cyclos.utils.access.LoggedUser.runAsSystem(LoggedUser.java:303)
    at nl.strohalm.cyclos.http.LifecycleListener.contextDestroyed(LifecycleListener.java:69)
    at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3882)
    at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4516)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4380)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
    at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:829)
    at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:718)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    at org.apache.catalina.core.StandardService.start(StandardService.java:516)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    Caused by: java.lang.NullPointerException
    at nl.strohalm.cyclos.http.LifecycleListener$1.call(LifecycleListener.java:76)
    … 28 more

    Jun 08, 2012 6:07:15 AM org.apache.catalina.core.ApplicationContext log
    INFO: Closing Spring root WebApplicationContext

  • just keep getting the tomcat home page

  • wil cof says:

    Hello and thank you for this space.
    My problem is as follows
    I apperement followed all the steps, my website does not appear.
    I receive this error message:

    HTTP Status 404 – /

    type Status report

    message /

    description The requested resource (/) is not available.
    Apache Tomcat/6.0.16

    Here is the url of the site: http://enternetwallet.jelastic.servint.net/
    Can you help me please?

  • wil cof says:

    Sorry, I not master and if you can take control and help me I’d be delighted
    My infos:

    My environnement: http://enternetwallet.jelastic.servint.net/
    My Login : w3giga@yahoo.fr
    Password : o9pLABhtmpBar7R

  • Titus says:

    Hi Marina
    where do i find msql connector on Tomcat config?I have configured everything fine but I am stuck there.

  • Titus says:

    Hello Marina
    Please can u help me out.I have configured everything as per your instructions but when i launch cyclos i get error

    type Status report

    message /

    description The requested resource (/) is not available.

    Ap

    • Titus says:

      Hi Marina
      Please i would rather give u my login details so you can login to my account and figure out what am not getting right.My jelastic login: seintitus@gmail.com and password:lexis0891
      Mysql login username root and password:MinnlIUxIP

      I will so much appreciate your help
      Regards,
      Titus

      • What hoster do you use?

      • Titus says:

        Hello Marina
        Yes i have checked the logs

        admin -empty
        manager-empty
        local access log:
        192.168.0.1 – - [14/Jun/2012:14:40:11 +0400] “GET / HTTP/1.0″ 404 955
        192.168.0.1 – - [14/Jun/2012:14:40:13 +0400] “GET /favicon.ico HTTP/1.0″ 404 988
        192.168.0.1 – - [14/Jun/2012:14:45:36 +0400] “GET / HTTP/1.0″ 404 955
        192.168.0.1 – - [14/Jun/2012:14:45:40 +0400] “GET /favicon.ico HTTP/1.0″ 404 988
        192.168.0.1 – - [14/Jun/2012:15:00:07 +0400] “GET / HTTP/1.0″ 404 955
        192.168.0.1 – - [14/Jun/2012:15:00:09 +0400] “GET /favicon.ico HTTP/1.0″ 404 988
        192.168.0.1 – - [14/Jun/2012:15:00:21 +0400] “GET /paybank HTTP/1.0″ 404 976
        192.168.0.1 – - [14/Jun/2012:15:00:37 +0400] “GET /favicon.ico HTTP/1.0″ 404 988
        192.168.0.1 – - [14/Jun/2012:15:31:12 +0400] “GET /paybank HTTP/1.0″ 404 976
        192.168.0.1 – - [14/Jun/2012:15:31:24 +0400] “GET /favicon.ico HTTP/1.0″ 404 988
        192.168.0.1 – - [14/Jun/2012:15:31:34 +0400] “GET / HTTP/1.0″ 404 955
        192.168.0.1 – - [14/Jun/2012:15:31:36 +0400] “GET /favicon.ico HTTP/1.0″ 404 988
        192.168.0.1 – - [14/Jun/2012:15:33:54 +0400] “GET / HTTP/1.0″ 404 955
        192.168.0.1 – - [14/Jun/2012:15:33:56 +0400] “GET /favicon.ico HTTP/1.0″ 404 988
        192.168.0.1 – - [14/Jun/2012:15:41:00 +0400] “GET / HTTP/1.0″ 404 955
        192.168.0.1 – - [14/Jun/2012:15:41:02 +0400] “GET /favicon.ico HTTP/1.0″ 404 988
        192.168.0.1 – - [14/Jun/2012:15:41:55 +0400] “GET / HTTP/1.0″ 404 955
        192.168.0.1 – - [14/Jun/2012:15:41:56 +0400] “GET /favicon.ico HTTP/1.0″ 404 988
        192.168.0.1 – - [14/Jun/2012:15:43:29 +0400] “GET / HTTP/1.0″ 404 955
        192.168.0.1 – - [14/Jun/2012:15:43:32 +0400] “GET /favicon.ico HTTP/1.0″ 404 988
        192.168.0.1 – - [14/Jun/2012:15:45:35 +0400] “GET / HTTP/1.0″ 404 955
        192.168.0.1 – - [14/Jun/2012:15:45:37 +0400] “GET /favicon.ico HTTP/1.0″ 404 988
        192.168.0.1 – - [14/Jun/2012:15:49:10 +0400] “GET / HTTP/1.0″ 404 955
        192.168.0.1 – - [14/Jun/2012:15:49:12 +0400] “GET /favicon.ico HTTP/1.0″ 404 988
        192.168.0.1 – - [14/Jun/2012:15:50:21 +0400] “GET / HTTP/1.0″ 404 955
        192.168.0.1 – - [14/Jun/2012:15:50:23 +0400] “GET /favicon.ico HTTP/1.0″ 404 988
        192.168.0.1 – - [14/Jun/2012:16:00:35 +0400] “GET / HTTP/1.0″ 404 955
        192.168.0.1 – - [14/Jun/2012:16:00:42 +0400] “GET /favicon.ico HTTP/1.0″ 404 988
        192.168.0.1 – - [14/Jun/2012:16:01:50 +0400] “GET / HTTP/1.0″ 404 955
        192.168.0.1 – - [14/Jun/2012:16:01:55 +0400] “GET /favicon.ico HTTP/1.0″ 404 988
        192.168.0.1 – - [14/Jun/2012:16:03:41 +0400] “GET / HTTP/1.0″ 404 955
        192.168.0.1 – - [14/Jun/2012:16:03:43 +0400] “GET /favicon.ico HTTP/1.0″ 404 988
        192.168.0.1 – - [14/Jun/2012:16:28:11 +0400] “GET / HTTP/1.0″ 404 955
        192.168.0.1 – - [14/Jun/2012:16:28:13 +0400] “GET /favicon.ico HTTP/1.0″ 404 988
        192.168.0.1 – - [14/Jun/2012:16:34:11 +0400] “GET / HTTP/1.0″ 404 955
        192.168.0.1 – - [14/Jun/2012:16:34:13 +0400] “GET /favicon.ico HTTP/1.0″ 404 988
        192.168.0.1 – - [14/Jun/2012:16:53:14 +0400] “GET / HTTP/1.0″ 404 955
        192.168.0.1 – - [14/Jun/2012:16:53:28 +0400] “GET /favicon.ico HTTP/1.0″ 404 988
        192.168.0.1 – - [14/Jun/2012:16:57:30 +0400] “GET / HTTP/1.0″ 404 955
        192.168.0.1 – - [14/Jun/2012:16:57:32 +0400] “GET /favicon.ico HTTP/1.0″ 404 988
        192.168.0.1 – - [14/Jun/2012:17:04:52 +0400] “GET / HTTP/1.0″ 404 955
        192.168.0.1 – - [14/Jun/2012:17:04:54 +0400] “GET /favicon.ico HTTP/1.0″ 404 988
        192.168.0.1 – - [14/Jun/2012:17:31:04 +0400] “GET / HTTP/1.0″ 404 955
        192.168.0.1 – - [14/Jun/2012:17:31:07 +0400] “GET /favicon.ico HTTP/1.0″ 404 988
        192.168.0.1 – - [14/Jun/2012:17:31:21 +0400] “GET /paybank HTTP/1.0″ 404 976
        192.168.0.1 – - [14/Jun/2012:17:31:23 +0400] “GET /favicon.ico HTTP/1.0″ 404 988

        Catalina:
        at org.apache.cxf.bus.spring.SpringBus.destroyBeans(SpringBus.java:100)
        at org.apache.cxf.bus.CXFBusImpl.shutdown(CXFBusImpl.java:196)
        at org.apache.cxf.bus.CXFBusImpl.shutdown(CXFBusImpl.java:178)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.springframework.beans.factory.support.DisposableBeanAdapter.invokeCustomDestroyMethod(DisposableBeanAdapter.java:273)
        at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:199)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:487)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:463)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:431)
        at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1048)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:433)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:829)
        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:718)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
        at org.apache.catalina.core.StandardService.start(StandardService.java:516)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
        17:30:30,018 ERROR ContextLoader – Context initialization failed
        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://msql-paybank.jelastic.servint.net/cyclos?useUnicode=true&characterEncoding=utf8
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:567)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:829)
        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:718)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
        at org.apache.catalina.core.StandardService.start(StandardService.java:516)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
        Caused by: java.lang.RuntimeException: Error connecting to database at jdbc:mysql://msql-paybank.jelastic.servint.net/cyclos?useUnicode=true&characterEncoding=utf8
        at nl.strohalm.cyclos.setup.DataBaseConfiguration.validateConnection(DataBaseConfiguration.java:387)
        at nl.strohalm.cyclos.setup.DataBaseConfiguration.run(DataBaseConfiguration.java:106)
        at nl.strohalm.cyclos.spring.CustomSessionFactoryBean.newSessionFactory(CustomSessionFactoryBean.java:49)
        at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:779)
        at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
        … 36 more
        Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

        The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
        at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1116)
        at com.mysql.jdbc.MysqlIO.(MysqlIO.java:344)
        at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2332)
        at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2369)
        at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2153)
        at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:792)
        at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:47)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
        at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:381)
        at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305)
        at java.sql.DriverManager.getConnection(DriverManager.java:579)
        at java.sql.DriverManager.getConnection(DriverManager.java:221)
        at nl.strohalm.cyclos.setup.DataBaseConfiguration.validateConnection(DataBaseConfiguration.java:382)
        … 42 more
        Caused by: java.net.UnknownHostException: msql-paybank.jelastic.servint.net
        at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
        at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:866)
        at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1258)
        at java.net.InetAddress.getAllByName0(InetAddress.java:1211)
        at java.net.InetAddress.getAllByName(InetAddress.java:1127)
        at java.net.InetAddress.getAllByName(InetAddress.java:1063)
        at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:247)
        at com.mysql.jdbc.MysqlIO.(MysqlIO.java:294)
        … 57 more
        17:30:30,078 ERROR LifecycleListener – Error on LifecycleListener.contextInitialized()
        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://msql-paybank.jelastic.servint.net/cyclos?useUnicode=true&characterEncoding=utf8
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:567)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:829)
        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:718)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
        at org.apache.catalina.core.StandardService.start(StandardService.java:516)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
        Caused by: java.lang.RuntimeException: Error connecting to database at jdbc:mysql://msql-paybank.jelastic.servint.net/cyclos?useUnicode=true&characterEncoding=utf8
        at nl.strohalm.cyclos.setup.DataBaseConfiguration.validateConnection(DataBaseConfiguration.java:387)
        at nl.strohalm.cyclos.setup.DataBaseConfiguration.run(DataBaseConfiguration.java:106)
        at nl.strohalm.cyclos.spring.CustomSessionFactoryBean.newSessionFactory(CustomSessionFactoryBean.java:49)
        at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:779)
        at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
        … 36 more
        Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

        The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
        at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1116)
        at com.mysql.jdbc.MysqlIO.(MysqlIO.java:344)
        at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2332)
        at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2369)
        at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2153)
        at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:792)
        at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:47)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
        at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:381)
        at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305)
        at java.sql.DriverManager.getConnection(DriverManager.java:579)
        at java.sql.DriverManager.getConnection(DriverManager.java:221)
        at nl.strohalm.cyclos.setup.DataBaseConfiguration.validateConnection(DataBaseConfiguration.java:382)
        … 42 more
        Caused by: java.net.UnknownHostException: msql-paybank.jelastic.servint.net
        at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
        at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:866)
        at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1258)
        at java.net.InetAddress.getAllByName0(InetAddress.java:1211)
        at java.net.InetAddress.getAllByName(InetAddress.java:1127)
        at java.net.InetAddress.getAllByName(InetAddress.java:1063)
        at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:247)
        at com.mysql.jdbc.MysqlIO.(MysqlIO.java:294)
        … 57 more
        Jun 14, 2012 5:30:30 PM org.apache.catalina.core.StandardContext start
        SEVERE: Error listenerStart
        Jun 14, 2012 5:30:30 PM org.apache.catalina.core.StandardContext start
        SEVERE: Context [] startup failed due to previous errors
        17:30:30,090 ERROR LifecycleListener – Error on LifecycleListener.contextDestroyed()
        java.lang.NullPointerException
        at nl.strohalm.cyclos.http.LifecycleListener$1.call(LifecycleListener.java:76)
        at nl.strohalm.cyclos.http.LifecycleListener$1.call(LifecycleListener.java:69)
        at nl.strohalm.cyclos.utils.access.LoggedUser.runAsSystem(LoggedUser.java:303)
        at nl.strohalm.cyclos.http.LifecycleListener.contextDestroyed(LifecycleListener.java:69)
        at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3882)
        at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4516)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4380)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:829)
        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:718)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
        at org.apache.catalina.core.StandardService.start(StandardService.java:516)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
        Jun 14, 2012 5:30:31 PM org.apache.coyote.http11.Http11AprProtocol start
        INFO: Starting Coyote HTTP/1.1 on http-8080
        Jun 14, 2012 5:30:31 PM org.apache.coyote.ajp.AjpAprProtocol start
        INFO: Starting Coyote AJP/1.3 on ajp-8009
        Jun 14, 2012 5:30:31 PM org.apache.catalina.startup.Catalina start
        INFO: Server startup in 22297 ms

        host manager- empty

        localhost:

        at nl.strohalm.cyclos.http.LifecycleListener.contextDestroyed(LifecycleListener.java:69)
        at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3882)
        at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4516)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4380)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:829)
        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:718)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
        at org.apache.catalina.core.StandardService.start(StandardService.java:516)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
        Caused by: java.lang.NullPointerException
        at nl.strohalm.cyclos.http.LifecycleListener$1.call(LifecycleListener.java:76)
        … 28 more

        Jun 14, 2012 4:53:00 PM org.apache.catalina.core.ApplicationContext log
        INFO: Closing Spring root WebApplicationContext
        Jun 14, 2012 5:30:13 PM org.apache.catalina.core.ApplicationContext log
        INFO: Initializing Spring root WebApplicationContext
        Jun 14, 2012 5:30:30 PM org.apache.catalina.core.StandardContext listenerStart
        SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
        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://msql-paybank.jelastic.servint.net/cyclos?useUnicode=true&characterEncoding=utf8
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:567)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:829)
        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:718)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
        at org.apache.catalina.core.StandardService.start(StandardService.java:516)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
        Caused by: java.lang.RuntimeException: Error connecting to database at jdbc:mysql://msql-paybank.jelastic.servint.net/cyclos?useUnicode=true&characterEncoding=utf8
        at nl.strohalm.cyclos.setup.DataBaseConfiguration.validateConnection(DataBaseConfiguration.java:387)
        at nl.strohalm.cyclos.setup.DataBaseConfiguration.run(DataBaseConfiguration.java:106)
        at nl.strohalm.cyclos.spring.CustomSessionFactoryBean.newSessionFactory(CustomSessionFactoryBean.java:49)
        at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:779)
        at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
        … 36 more
        Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

        The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
        at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1116)
        at com.mysql.jdbc.MysqlIO.(MysqlIO.java:344)
        at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2332)
        at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2369)
        at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2153)
        at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:792)
        at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:47)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
        at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:381)
        at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305)
        at java.sql.DriverManager.getConnection(DriverManager.java:579)
        at java.sql.DriverManager.getConnection(DriverManager.java:221)
        at nl.strohalm.cyclos.setup.DataBaseConfiguration.validateConnection(DataBaseConfiguration.java:382)
        … 42 more
        Caused by: java.net.UnknownHostException: msql-paybank.jelastic.servint.net
        at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
        at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:866)
        at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1258)
        at java.net.InetAddress.getAllByName0(InetAddress.java:1211)
        at java.net.InetAddress.getAllByName(InetAddress.java:1127)
        at java.net.InetAddress.getAllByName(InetAddress.java:1063)
        at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:247)
        at com.mysql.jdbc.MysqlIO.(MysqlIO.java:294)
        … 57 more

        Jun 14, 2012 5:30:30 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://msql-paybank.jelastic.servint.net/cyclos?useUnicode=true&characterEncoding=utf8
        at nl.strohalm.cyclos.http.LifecycleListener$2.call(LifecycleListener.java:123)
        at nl.strohalm.cyclos.http.LifecycleListener$2.call(LifecycleListener.java:98)
        at nl.strohalm.cyclos.utils.access.LoggedUser.runAsSystem(LoggedUser.java:303)
        at nl.strohalm.cyclos.http.LifecycleListener.contextInitialized(LifecycleListener.java:98)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:829)
        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:718)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
        at org.apache.catalina.core.StandardService.start(StandardService.java:516)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
        Caused by: 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://msql-paybank.jelastic.servint.net/cyclos?useUnicode=true&characterEncoding=utf8
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:567)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
        … 24 more
        Caused by: java.lang.RuntimeException: Error connecting to database at jdbc:mysql://msql-paybank.jelastic.servint.net/cyclos?useUnicode=true&characterEncoding=utf8
        at nl.strohalm.cyclos.setup.DataBaseConfiguration.validateConnection(DataBaseConfiguration.java:387)
        at nl.strohalm.cyclos.setup.DataBaseConfiguration.run(DataBaseConfiguration.java:106)
        at nl.strohalm.cyclos.spring.CustomSessionFactoryBean.newSessionFactory(CustomSessionFactoryBean.java:49)
        at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:779)
        at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
        … 36 more
        Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

        The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
        at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1116)
        at com.mysql.jdbc.MysqlIO.(MysqlIO.java:344)
        at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2332)
        at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2369)
        at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2153)
        at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:792)
        at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:47)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
        at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:381)
        at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305)
        at java.sql.DriverManager.getConnection(DriverManager.java:579)
        at java.sql.DriverManager.getConnection(DriverManager.java:221)
        at nl.strohalm.cyclos.setup.DataBaseConfiguration.validateConnection(DataBaseConfiguration.java:382)
        … 42 more
        Caused by: java.net.UnknownHostException: msql-paybank.jelastic.servint.net
        at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
        at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:866)
        at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1258)
        at java.net.InetAddress.getAllByName0(InetAddress.java:1211)
        at java.net.InetAddress.getAllByName(InetAddress.java:1127)
        at java.net.InetAddress.getAllByName(InetAddress.java:1063)
        at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:247)
        at com.mysql.jdbc.MysqlIO.(MysqlIO.java:294)
        … 57 more

        Jun 14, 2012 5:30:30 PM org.apache.catalina.core.StandardContext listenerStop
        SEVERE: Exception sending context destroyed event to listener instance of class nl.strohalm.cyclos.http.LifecycleListener
        java.lang.RuntimeException: java.lang.NullPointerException
        at nl.strohalm.cyclos.http.LifecycleListener$1.call(LifecycleListener.java:86)
        at nl.strohalm.cyclos.http.LifecycleListener$1.call(LifecycleListener.java:69)
        at nl.strohalm.cyclos.utils.access.LoggedUser.runAsSystem(LoggedUser.java:303)
        at nl.strohalm.cyclos.http.LifecycleListener.contextDestroyed(LifecycleListener.java:69)
        at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3882)
        at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4516)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4380)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:829)
        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:718)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
        at org.apache.catalina.core.StandardService.start(StandardService.java:516)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
        Caused by: java.lang.NullPointerException
        at nl.strohalm.cyclos.http.LifecycleListener$1.call(LifecycleListener.java:76)
        … 28 more

        Jun 14, 2012 5:30:30 PM org.apache.catalina.core.ApplicationContext log
        INFO: Closing Spring root WebApplicationContext

      • I will, but tomorrow. Is it ok for you?

    • If it does not work, the configuration is incorrect. Have you checked your logs?

  • clearance says:

    hi,

    marina how do i upload the sms module to jelastic server, cause i tried it as a war file and it didn’t work, can you help me out with the installation.

    regards
    clearance

  • ertif says:

    The installation steps described doesnt match reality. I cant login into database with password. Just with empty password. And furthermore there is no ‘Priviligies’ tab. So I cant create user.
    What to do?

  • ertif says:

    The log does not say much. Only that the database is ready for connections.
    I’m still getting the same error.

  • ertif says:

    I installed now all without any error. But how can I start using cyclos. When I click on the url http://ertif.jelastic.dogado.eu/ I get only the Tomcat page. Did I miss anything?

  • ertif says:

    yes, ROOT! And nothing in the logs!

  • Alf says:

    hi Marina
    I’ve installed cyclos but when try login with admin/1234 always go back to the login page.
    I stopped the enviroment and deploy again, but always get the same results.
    Please, would you check my conf because now I don’t know how to follow?
    Thanks in advance

  • clearance says:

    How soon is the sms module steps be placed on this blog…….

  • plabaze says:

    Hello Marina,
    Thank you very much for the support you’ve been providing to this page.
    I have setup every thing step by step according to the tutorial, and i have been at this for 4 days now.
    I sent U an email to determine what i am not doing right.
    Can you please show how to determine the exact url for mysql and host url
    Does “Jbdc:mysql:” have to be included?
    Thanks again

    • Hi!
      Sorry for the delay! I had a small vacation)
      >Does “Jbdc:mysql:” have to be included?
      Yes, sure. There is an example in the post. And /cyclos at the end of the URL is the name of your database (in this case names of a database and user are the same).
      Hope this will help you.

  • [...] we wrote about how to deploy Cyclos, a really popular on-line payment system, to Jelastic. Here’s a follow up how-to for those [...]

  • I have our cyclos running as excedi.jelasatic.servint.net.
    Suddenly after about a week of launch the page displays HTTP Status 404 – /
    error. I go to check my cyclos.properties file and configuration settings has reverted to the default.
    Can anyone tell me what is happening to this hosting platform.
    I have even done the configurations again but I still get HTTP Status 404 -

  • Chesoen says:

    Hello Marina. I would like to inquire if it is possible deploy version 3.7_ RC1 cyclos.The reason i want to use this version is because its compatible with cyclos smartphone app.The other thing is that i would like to know how to install cyclos on my website.My website is hosted elsewhere but ofcourse i will host my cyclos with jelastic.

    • Hi! I think this instruction is suitable for version 3.7_RC1. Anyway if you have some problems with deployment, just let me know. What about installation on your web site, in my opinion Cyclos guys are more competent in such questions. I can help only with installation on Jelastic.

  • Chesoen says:

    Hello Marina would u please explain to me how to my zip file to war? Do i right click on the zip file and navigate to properties or rename?Because when i rename it remains as a zip file with this extension cyclos.zip.war.I hope u understand where i am going wrong.Thanks

    • 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 folder to another zip archive file, for example cyclos.zip, and rename it to cyclos.war or any name with the .war extension).

  • Chesoen says:

    Hello Marina.I am making a cyclos war file from version 3.7_RC1.Please tell me will it be able to work when i deploy?Iam just uploading it now.

    • Yes, sure. If you have any problems with this just let me know.

      • Chesoen says:

        Hello Marina i have deployed the cyclos 3.7_RC1 war file but i cant get it running.I have configured my tomcat and mysQl correctly but when i launch the browser i get 404 error.Please let me give u my details so u can login and have a check.My jelastic login email: seintitus@gmail.com and password: lexis0891 MysQl login: root and password:Amf6LLvBNx (User: ebidder and password lexis0891)

        Thanks,
        Chesoen

  • Chesoen says:

    Hello Marina i forgot to tell you my jelastic host: j.layershift.co.uk

  • Chesoen says:

    Hello Marina i have made a new war file and deployed but i still get same error please login to my account to check once again what the problem is.Here is the catalina out log:

    Aug 20, 2012 4:01:32 PM org.apache.catalina.core.AprLifecycleListener init
    INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/jdk1.6.0_26/jre/lib/amd64/server:/usr/java/jdk1.6.0_26/jre/lib/amd64:/usr/java/jdk1.6.0_26/jre/../lib/amd64:/usr/local/apr/lib:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
    Aug 20, 2012 4:01:33 PM org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8080
    Aug 20, 2012 4:01:33 PM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 2094 ms
    Aug 20, 2012 4:01:33 PM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Aug 20, 2012 4:01:33 PM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/6.0.16
    Aug 20, 2012 4:01:33 PM org.apache.catalina.core.StandardHost init
    FINE: Register host localhost with domain Catalina
    Aug 20, 2012 4:01:33 PM org.apache.catalina.core.StandardHost start
    FINE: XML validation disabled
    Aug 20, 2012 4:01:34 PM org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on http-8080
    Aug 20, 2012 4:01:34 PM org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    Aug 20, 2012 4:01:34 PM org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/34 config=null
    Aug 20, 2012 4:01:34 PM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 1528 ms
    Aug 20, 2012 4:01:37 PM org.apache.coyote.http11.Http11Protocol pause
    INFO: Pausing Coyote HTTP/1.1 on http-8080
    Aug 20, 2012 4:01:38 PM org.apache.catalina.core.StandardService stop
    INFO: Stopping service Catalina
    Aug 20, 2012 4:01:38 PM org.apache.coyote.http11.Http11Protocol destroy
    INFO: Stopping Coyote HTTP/1.1 on http-8080
    Aug 20, 2012 4:01:43 PM org.apache.catalina.core.AprLifecycleListener init
    INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/local/apr/lib:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
    Aug 20, 2012 4:01:43 PM org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8080
    Aug 20, 2012 4:01:43 PM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 1598 ms
    Aug 20, 2012 4:01:43 PM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Aug 20, 2012 4:01:43 PM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/6.0.16
    Aug 20, 2012 4:01:43 PM org.apache.catalina.core.StandardHost init
    FINE: Register host localhost with domain Catalina
    Aug 20, 2012 4:01:43 PM org.apache.catalina.core.StandardHost start
    FINE: XML validation disabled
    Aug 20, 2012 4:01:44 PM org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on http-8080
    Aug 20, 2012 4:01:44 PM org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    Aug 20, 2012 4:01:44 PM org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/94 config=null
    Aug 20, 2012 4:01:44 PM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 960 ms
    Aug 20, 2012 4:07:43 PM org.apache.coyote.http11.Http11Protocol pause
    INFO: Pausing Coyote HTTP/1.1 on http-8080
    Aug 20, 2012 4:07:44 PM org.apache.catalina.core.StandardService stop
    INFO: Stopping service Catalina
    Aug 20, 2012 4:07:44 PM org.apache.coyote.http11.Http11Protocol destroy
    INFO: Stopping Coyote HTTP/1.1 on http-8080
    Aug 20, 2012 4:07:50 PM org.apache.catalina.core.AprLifecycleListener init
    INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/local/apr/lib:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
    Aug 20, 2012 4:07:50 PM org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8080
    Aug 20, 2012 4:07:50 PM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 1536 ms
    Aug 20, 2012 4:07:51 PM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Aug 20, 2012 4:07:51 PM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/6.0.16
    Aug 20, 2012 4:07:51 PM org.apache.catalina.core.StandardHost init
    FINE: Register host localhost with domain Catalina
    Aug 20, 2012 4:07:51 PM org.apache.catalina.core.StandardHost start
    FINE: XML validation disabled
    Aug 20, 2012 4:07:51 PM org.apache.catalina.startup.HostConfig deployWAR
    INFO: Deploying web application archive ROOT.war
    Aug 20, 2012 4:07:53 PM org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on http-8080
    Aug 20, 2012 4:07:53 PM org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    Aug 20, 2012 4:07:53 PM org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/17 config=null
    Aug 20, 2012 4:07:53 PM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 2126 ms
    Aug 20, 2012 4:28:50 PM org.apache.coyote.http11.Http11Protocol pause
    INFO: Pausing Coyote HTTP/1.1 on http-8080
    Aug 20, 2012 4:28:51 PM org.apache.catalina.core.StandardService stop
    INFO: Stopping service Catalina
    Aug 20, 2012 4:28:51 PM org.apache.coyote.http11.Http11Protocol destroy
    INFO: Stopping Coyote HTTP/1.1 on http-8080
    Aug 20, 2012 4:28:53 PM org.apache.catalina.core.AprLifecycleListener init
    INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/local/apr/lib:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
    Aug 20, 2012 4:28:53 PM org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8080
    Aug 20, 2012 4:28:53 PM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 1603 ms
    Aug 20, 2012 4:28:53 PM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Aug 20, 2012 4:28:53 PM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/6.0.16
    Aug 20, 2012 4:28:53 PM org.apache.catalina.core.StandardHost init
    FINE: Register host localhost with domain Catalina
    Aug 20, 2012 4:28:53 PM org.apache.catalina.core.StandardHost start
    FINE: XML validation disabled
    Aug 20, 2012 4:28:53 PM org.apache.catalina.startup.HostConfig deployWAR
    INFO: Deploying web application archive ROOT.war
    Aug 20, 2012 4:28:53 PM org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on http-8080
    Aug 20, 2012 4:28:53 PM org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    Aug 20, 2012 4:28:53 PM org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/16 config=null
    Aug 20, 2012 4:28:53 PM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 616 ms

    • Chesoen, there is the same problem. Your app is in the web folder instead of ROOT directory. So nothing changed. Look at my previous answer. You have to put the CONTENTS of web folder to your war file.

  • Chesoen says:

    hello Marina u mean contents of WEB-INF folder?

  • edr says:

    Hi Marina,
    I found your comments useful in deploying Cyclos, but I’m facing difficulties in deploying it.
    So I checked the logs and i got the following error and as per result i cant find the folder classes in home/webapps/ROOT/WEB-INF/classes/cyclos.properties. I have tried it many times but no result.

    Can you please give me a hand? thnx :)

    java.util.zip.ZipException: error in opening zip file
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.(ZipFile.java:214)
    at java.util.zip.ZipFile.(ZipFile.java:144)
    at java.util.jar.JarFile.(JarFile.java:152)
    at java.util.jar.JarFile.(JarFile.java:89)
    at sun.net.www.protocol.jar.URLJarFile.(URLJarFile.java:93)
    at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:69)
    at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:88)
    at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:122)
    at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:89)
    at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:148)
    at org.apache.catalina.startup.ContextConfig.fixDocBase(ContextConfig.java:886)
    at org.apache.catalina.startup.ContextConfig.init(ContextConfig.java:1021)
    at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:279)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
    at org.apache.catalina.core.StandardContext.init(StandardContext.java:5707)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4449)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
    at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)
    at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
    at org.apache.catalina.core.StandardService.start(StandardService.java:525)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

  • nana says:

    Hi,

    my app is not loading up. Can you please check my settings and let me know what i’m doing wrong:

    http://dbmcyclos.jelastic.servint.net/

    jelastuc login info:

    devteam@isysconsult.com
    Tru$tno1

  • nana says:

    Hi Marina, thanks for the link. i customised my standalone zipped file for cyclos and created a new .war. uploaded,deployed and created a new environment. i am back at error 404. can you check my new .war for me and settings
    https://app.jelastic.servint.net/
    support@isysconsult.com
    Tru$tno1

    http://mysql-lomax.jelastic.servint.net
    root/awaley

    thanks,

    Nana

    • Hey! I have just checked your environment: the problem was in your database user. You did not guarantee all privileges for it. I have fixed this. Also why did you add NGINX to your environment if you have only one app server? I have deleted it. Now all works fine. Enjoy!)

  • clearance says:

    when i try to upload my .war file i get this error message, what could be wrong. :an error occurred while trying to upload files: HTTP transport error

  • Titus says:

    Hello Marina i would like to inquire if i can set up and have my Mifos Microfinance software hosted on jelastiic. It requires Mysql and Jetty. I have already setup the war file. please check on the website http://www.mifos.org to read about the software.Thanks

  • Titus says:

    Thank you i would really love to have it here on rock solid jelastic:) I tried to deploy it before on cloudfoundry using Spring tool suite but i got confused in the middle of the setup.

    • nana says:

      Hi Titus,

      how does one get a .war for mifos? I checked their site but couldn’t find anything for version 2.4 to download. Do they actually have a .war for the public or you built your own file?

      BR, Nana

  • Titus says:

    Hello nana u can download the mifos 2.4.1 cloudfoundry package from sourceforge here is the link
    http://sourceforge.net/projects/mifos/files/mifos/2.4.1/mifos-v2.4.1-CF.war/download

  • clearance says:

    ok , thanks for the support i have been able to solve the problem..

  • Nana Duodu says:

    hi Marrina,

    i have customised cyclos 3.7 with some new fields and been trying to load it online. i come up with the 404 error again. Can you please check my dbase and environment for me:

    http://mysql-microfina.jelastic.servint.net
    root/awaley

    https://app.jelastic.servint.net/
    demos@isysconsult.com
    Tru$tno1

    Thanks,

    Nana

    • Hi, Nana!

      If your database is http://mysql-microfina.jelastic.servint.net, why you configured your environments for cyclosx and cyclosz databases?

      And these environments work for me.

      • nana says:

        hi, and thanks for the reply. I had to delete my old environment and redo it. now they r working well. I had one question though. Did you check out the mifos application? do you know how to install them with jelastic?

    • Hey! Yes, I tested it, but we have to add some additional functionality, have to wait for our next releases. If you really need this, I can deploy it for you, because the Mifos deployment process is not so easy for now.

      • Titus says:

        Hello Marina.Yes pls assist me deploy the mifos i really need it.I downloaded the war file from sourceforge and uploaded it to my jelastic account.Here is my login details email:seintitus@gmail.com and password lexis0891.Please login and see if that war file is correct then assist me with the deployment.I would really appreciate.Thanks in advance.

    • Hi, Nana!

      Our guys will create for you such war file if it is needed. Just let us know.

      Best regards.

  • Titus says:

    Hello Marina sorry i forgot to give you my host. I am on layershift.co.uk .thanks.

  • Kehinde says:

    cyclos.host.url=http://cycloshost.jelastic.servint.net/

    hibernate.connection.url = jdbc:mysql://mysql-cycloshost.jelastic.servint.net/cyclos
    hibernate.connection.username = cyclos
    hibernate.connection.password = cyclos

    Please am I doing anything wrong. this is my cyclos.properties file. I try to connect but it does not. Why?

  • Kehinde says:

    Marina Sprava, aloha! Please i am experiencing the same problem as Ammar, after following the tutorial on setting up cyclos and I click the link to open my cyclos page it displays tomcat page. What could be the problem?
    Please kindly help me out. My details:
    Email: nijadev@yahoo.com
    Password: ndf123. Every other details needed will be found in this email. Thanks. Please I am on a hot sit now. I am been pressured to deliver this on time by my employer. Thanks. God bless in Jesus name.

    • Hey!
      Sorry for the delay. You have created your war file in a wrong way.Put the contents of the Web folder to another zip archive file, for example cyclos.zip, and rename it to cyclos.war or any name with the .war extension. You have put all this files to cyclos folder and then to zip archive – it’s not correct. I saw you have two contexts (ROOT and root), what for?

      • ken4ward says:

        Thanks, Marina. I have even sent you a mail yesterday. Please I try to download your readily prepared .war file but the link is no longer enabled. Could you please help me with the .war file and send it to my email: cycloshosting@yahoo.com. Better if it is the latest version of cyclos. Thanks.

      • ken4ward says:

        Thanks. Marina. could you please help me with the .war file? I try downloading from the link you posted above but it’s disabled. Possibly with the latest version of Cyclos. Thanks! My is email: cycloshosting@yahoo.com. Though i am trying it the way you tutored now. these are my steps:
        1. Create a folder and named it cyclos
        2. Extracted the downloaded Cyclos_3.7.zip
        3. Copy the web folder in it.
        4. Open the web folder and cut and paste all it’s contents into the cyclos folder I created above
        5. Then I zipped the cyclos folder
        6. I remove the .zip extension and rename it .war
        Did I get these steps right? If no, please just help me out by posting your own prepared .war file. I’ll so much appreciate this.

      • Kehinde says:

        Thanks. Marina. could you please help me with the .war file? I try downloading from the link you posted above but it’s disabled. Possibly with the latest version of Cyclos. Thanks! My is email: cycloshosting@yahoo.com. Though i am trying it the way you tutored now. these are my steps:
        1. Create a folder and named it cyclos
        2. Extracted the downloaded Cyclos_3.7.zip
        3. Copy the web folder in it.
        4. Open the web folder and cut and paste all it’s contents into the cyclos folder I created above
        5. Then I zipped the cyclos folder
        6. I remove the .zip extension and rename it .war
        Did I get these steps right? If no, please just help me out by posting your own prepared .war file. I’ll so much appreciate this.

    • Hello!
      I have just sent you ready to use war file (Cyclos version 3.7).
      What about the steps above:
      you don’t need to create a new folder and do not copy web folder, just put all the files and folders from the web folder to the zip package and rename it into war.

  • Kehinde says:

    Aloha! Marina, please may I suggest this that maybe to ease you from repetitiveness of educating people on how to create the .war file, why not visual documentation on it as well so that everybody who needs this could be referred there. It seems this is where most people that are not familiar with java do have problem. Thanks. God bless in Jesus name.

    • Thanks for your advice! Now you can install Cyclos without all these configuration steps, using App packaging feature. Read more here http://jelastic.com/partners/isv

      • nana kwame duodu says:

        Hello Marina,

        If you have your own customized war file, how do you install it using the new and simplified steps by dolgado? Or do I still go through the old steps?

        Do I have to upload the file and then email them to create my application? what about if you would like to import your old database into the new environment?

        Thanks,

        Nana

  • Titus says:

    Hello Marina did you check on my mifos war file? Tnx

    • Hello, Titus!
      Sorry for the long delay( I was too busy. I have tried to deploy Mifos, but looks like it works only with Jetty 7, the current version on Jelastic is Jetty 6. I tried to find a workaround, but couldn’t(

  • Lance says:

    Hi Marina,

    Do you do customize it for my company. I do some minor part already but now I want more details.

    Please let me know,

    Lance

    • Hello, Lance!

      I’m a blogger. Sorry, but it’s not my responsibility to customize applications for your company)
      If you have any questions or problems I or our support team will help you.
      But I think the guys from Cyclos are more competent in such question like customization.

      Best regards.

  • william lansberry says:

    I tried the directions, could not make it work, btw the mysql connector does not come in the basic installation package, took me 2 hours to figure that out. I used the 1 click set up feature, had everything running, then I found out I could not make any transactions, some kind of error, feels like I wasted all night, now I have classes to teach, and the deadline for my presentation to the community board is drwing closer and closer. I am stressed to the limit, and I belive I may have to recommend that Columbia not move forward in this endeavor at this time.

  • stuart says:

    Hi Marina – Tried to upgrade to 3.7.3 but the settings in “cyclos.propertes” are not the same as listed above can you confirm ? Also where will I find the correct MYSQL connector .jar for 3.7.3

  • Titus says:

    Hello Marina i am having problem configuring version 3.7.3 of cyclos application.Have u tried to deploy this version on jelastic before? When i go to cyclos properties i find cyclos.host.url is missing.Please check that version and advise on what to do.Thanks

  • Bolin Hong says:

    When I tried to run my test application in the Jelastic GlassFish server, sometimes I got HTTP Status 404 errors. Sometimes it just run perfectly like a charm. It seems that the Jelastic cloud platform is not that reliable. How to fix this issue?

  • hi marina
    I followed the steps but when I go to launch cyclos I get blank page
    http://cyclo1.jelastic.servint.net/

    • Marina Sprava says:

      Hi, Mohamed! Please check all configuration one more time. If all is ok and you still get the blank page please contact your hoster’s support.

      Best regards,
      Marina

Leave a Reply

Contact Jelastic for More Information CONTACT
%d bloggers like this: