Cyclos in the cloud: step-by-step tutorial
We’ve shared with you detailed instructions on how to deploy a number of popular Java applications to the Jelastic cloud. Now, it is time for Cyclos, a complete on-line banking system with additional modules such as e-commerce and communication tools.
It’s pretty easy, just follow the steps below:
1. Create an environment
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:
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. Configure database
1. Click Open in browser button for MySQL.
4. Configure Cyclos
1. Go back to the Jelastic dashboard click Config button for Tomcat and upload the MySQL connector to the lib folder.
cyclos.host.url = http://cyclos.jelastic.com/)
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
- Mobile Banking in the Cloud with Cyclos (jelastic.com)
- One-Click Java Cloud Hosting with Jelastic App Packaging (jelastic.com)
Trackbacks and Pingbacks
- Jelastic Newsletter – January 17, 2012 « Jelastic — Rock-Solid Java in the Cloud, Java Server Hosting, Java Cloud Computing
- Mobile Banking in the Cloud with Cyclos « Jelastic — Rock-Solid Java in the Cloud, Java Server Hosting, Java Cloud Computing
- Mobile Banking in the Cloud, Part II: Cyclos SMS Module with a Mobile Phone Gateway « Jelastic — Rock-Solid Java in the Cloud, Java Server Hosting, Java Cloud Computing















thanks, thats reallt helpful , one weak i was making the war file from the entire cyclos folder that was my mistake and you tutorial saved me .. so thanks again
Glad to help you out.
HI,
i have setup my test environment and restarted Tomcat. Yet when i Open in Browser, i get a blank page. below is my url:
http://dbmtest.jelastic.servint.net/
Can you help me fix this? Thanks,
Nana
can you help me plz
Hola, por cunato tiempo se mantieen el ambiente activo, tiene algun costo…
Ty for this tutorial! I just deployed our cyclos
Thanks a lot, we have deployed Cyclos in Jelastic for testing our project of an alternative currency in Leipzig, Germany.
For people who find difficulties in the step 2.2 create a .war file maybe this link is useful:
http://www.yolinux.com/TUTORIALS/Java-WAR-files.html
Thanks acampada Liepzig. Here a resume for point 2.2
Put the contents of the web directory in an zip archive file. For example cyclos.zip, and rename it to cylcos.war (or any name with the .war extension)
Any idea how to get working the cyclos SMS module on jelastic?
Hello!
Here’s the instruction http://blog.jelastic.com/2012/07/30/mobil-banking-in-the-cloud-with-cyclos/
Hi. I can’t get my cyclos up and running. I tried uploading the war archive which contains the WEB folder, through the deployment manager and through the tomcat manager page. I cannot get any result. I even had Tomcat 6 stop working. I cannot see the uploaded files anywhere. The second method gave me an error – uploaded file too big. What is going on?
Hello!
You have to create WAR file from the WEB folder content.
Also you can download Cyclos WAR here http://goo.gl/zSt5N and try one more time.
Thanks.
So far, I uploaded an ordinary zip archive. The file cyclos.properties exists, and I edited it, but still no effect. I am currently in Tomcat 7 configuration, but I’ll try version 6.
Extract the files from zip package you have downloaded and create a .WAR file from the web folder contents or download WAR file here http://goo.gl/zSt5N
the new WAR archive works. I cannot quite understand why this was sooo hard (BTW, slow upload on my connection). Perhaps I packed the WAR archive with JDK 7 and it was somehow different? Nevermind. Thanks a lot for your help.
hey ,someone help me ,i can’t get cyclos
Hi!
What problems do you have with this?
I have problems connecting cyclos with joomla. Is there something additional that I should do, other than the documentation says?
Hi, Juan!
We plan to add PHP support in the nearest future, but now you can not use Joomla in Jelastic.
Hi Marina, I didn’t mean that, I have a Joomla installation with cyclos modules in my Bluehost hosting and i want to connect Joomla with my cyclos installation in Jelastic. Somehow its not working.
Thank You,
Juan
Hello I too have the same problem Juan Arce. In the form page in my joomla site cyclos get the following error:
Server error: Unauthorized access-
and ns1: unexpected-error
How do I fix this?
I’m desperate, somebody help me!
please!
Hi!
We didn’t work with Joomla earlier. Could you, please, describe more detailed what you want to do? How did you try to connect Joomla and Cyclos?
Can somebody explain ” Extract the files from zip package you have just downloaded and create a .WAR file from web folder contents.”
Please show me the steps which have to be done to make this work.
Hello, Mario!
You just have to create zip package from web folder (it is in zip package, you have downloaded) contents and then change extension of this package from zip to WAR.
Hello,
I don’t find the cyclos configuration file….
Hi!
It has to be here: home/webapps/ROOT/WEB-INF/classes/cyclos.properties
Hi I have successfully created a page with cyclos.war I have little knowledge of the database mymqls and want to know as an asset to new users or new accounts to use their wonderful platform. I tried registering new users but the system says:
Your account Has Been created and Needs
to be activated by the administration.
I appreciate your help
Cesar
Hi!
How did you registered a new user? Please describe all your steps.
how to strat cyclos after tomcat restrat any help me
Just open it in browser.
I followed the steps but when I go to launch cyclos I get the error message from Apache:
“The requested resource (/) is not available.”
Anyone help?
thanks
http://tzfatbarter.jelastic.servint.net/
Hi! Please check your logs.
Hi Marina please try to register on my test page, tell me how I authorize new accounts into mysql to authorize the new user? thank you for your help.
http://cathelp.jelastic.servint.net/
Hi!
Ok, I’ll try. Thanks!
> Tell me how I authorize new accounts into mysql to authorize the new user?
Open MySQL in a browser, use the credentials, which Jelastic sent you, to sign in. Then click on “Privileges”, after that pick “Add a new user” and fill all required fields http://jelastic.files.wordpress.com/2011/12/cyc8.png?w=300&h=230
Hope my small instruction will help you.
Hi Marina
I have uploaded the .war file from the above link. and followed the instructions. I have a problem when i open in browser i get the Apache software foundation page. where did i go wrong.
Thanks
Hey, Ammar!
I have to know the name of your environment to help you.
Hi Marina
The name of my environment is ammar (http://ammar.jelastic.servint.net/)
Please, check your logs. What exceptions are there?
Marina,
I followed the steps but when I go to launch cyclos I get the error message from Apache:
“The requested resource (/) is not available.”
help?
thanks
http://tzfatbarter.jelastic.servint.net/
Hello, Andy!
Please, check your logs.
I still get the same reply
“The requested resource (/) is not available.”
I just did check them and got an error…
let me know if you can help me resolve this. if not, i am going to delete the environment and start from scratch
Hi, Andy!
What exceptions are in your logs? I have to know to help you.
Hi Marina
How can i check my logs?
Hi!
Here is a screenshot http://goo.gl/ZfAlK
Hi Marina
I can’t do it ……please log into my account and solve the problem for me. my log in information are a.ammar@gmail.com , password 123456789, mysql password Htd64kI71D. mysql username ammar, password ammar
Hey, Ammar!
All is ok now. You wrote wrong database URL. I have fixed it.
Enjoy!
Hey Marina
Thank you very much ….. at last it”s working …… your support is second to none.
We are in the process (sort of) of movnig one of our sites and I have had great concern over loosing what we have. Your suggestion are right on the mark! I never thought of changing the file name! I will certainly be looking at blue host as well. thanks
No problem!
Very nice, please tell me how to install this in my website………
Thank you
Hello!
Is your web site hosted on Jelastic?
Hey Marina
Its going to be helpful to many if you provide a .WAR link for the cyclos 3.6.1 the updated version.
Thank you
Hi , i i am trying to install cyclos , i can see that it is populating my database but my site doe not work …
Can you help me ? thanks!
my site is http://alexcyclos.jelastic.dogado.eu/
Hi, check your logs, please. If you did all steps in a right way, it should work.
i install cyclos but on login by default admin 1234
have redirect on start login page
not enter in admin panel
http://12345.jelastic.dogado.eu/cyclos/do/login
please help logging and find that error
Hello!
Please try to redeploy it. I can not find any error.
Hi Marina
There is something wrong when it comes to MYSQL I get error 1290 can’t create tables. please help what is the solution
Musa
Hi!
Are you sure that you come through all steps without mistakes? Check, please one more time
Hello Jelastic support.
There are various user having problem with the Cyclos installation on Jelastic. Cyclos starts but users cannot login. The problem only occurs when using Tomcat7. With Tomcat6 the problem does not occur (on Jelastic). We cannot reproduce the problem locally. It might be some Tomcat 7 configuration on Jelastic.
Thanks for your report! We’ll try to analyze this problem.
Any news about Tomcat 7? I got same problem
Hi! We use Tomcat 7.0.14 in Jelastic. What version of Tomcat did you use when you deployed Cyclos locally?
Thanks a lot Marina. Your tutorial have been helpful. But do I have to find a domain name from another service provider? Or do you provide a complete package of software and web hosting? Please respond once again and thank you for your guidance.
Hello! Thanks for good words!
You can use a custom domain name instead of hoster domain name. This detailed instruction will help you http://jelastic.com/docs/custom-domains
I have been on this for hrs now. i have followed the install to the letter, it will not connect to the database i just get the tomcat homepage or a 404 error. I have put the database username and password in and the url to it and the site url. ?? pulling my hair out now and theres not much left, can anyone help me !!!
Hi! Are you sure, that you put correct urls?
Also, check your logs. What exceptions are there?
cyclos.host.url=http://derbylets.jelastic.dogado.eu/
hibernate.connection.url = jdbc:mysql:http://mysql-derbylets.jelastic.dogado.eu/
hibernate.connection.username = derbylets
hibernate.connection.password = ********
My email says
Environment URL: http://derbylets.jelastic.dogado.eu/
Access url : http://mysql-derbylets.jelastic.dogado.eu
Part of the localhost access log
May 17, 2012 12:23:05 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class nl.strohalm.cyclos.http.LifecycleListener
java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘sessionFactory’ defined in class path resource [nl/strohalm/cyclos/spring/persistence.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException: Error connecting to database at jdbc:mysql:http://mysql-derbylets.jelastic.dogado.eu/?useUnicode=true&characterEncoding=utf8
Many thanks for your help
Peter, you use wrong database URL. It has to be jdbc:mysql://mysql-derbylets.jelastic.dogado.eu/{your_database_name}
Thanks Marina but i have now changed this and still no connection could you take a look because i am now getting very confused and lost trying so many things
User name: peter@in-derby.com
password : poppylou
many many thanks in advance, if you can look at it i will be able to see the changes you have made
Peter, go to MySQl admin page and change derbylets user’s local host to any host http://jelastic.files.wordpress.com/2011/12/cyc8.png?w=300&h=230. Then restart Tomcat.
done but still just loading tomcat homepage
mysql password
user root
password GhdRYZS2JH
can you take a look again and not let my password go public
Peter, you deployed Cyclos to derbylets context (not to the root), so the link to your app is http://derbylets.jelastic.dogado.eu/derbylets . It works, I have checked.
OMG so sorry thanks for all your help Marina at last i can have a play
No problem:)
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.
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?
/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.
Done. username and password on database are both “cyclos”
Sorry, could you please share environment with this account a_hivext@yahoo.com too?
Done.
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.
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/
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).
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(
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?
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
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.
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
Hi!
Have you checked your logs? Are you sure that all settings are correct?
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
Please, check the password to your database in cyclos.properties file. Are you sure that it is correct?
If yes, go to MySQl admin page and change your user’s local host to any host http://jelastic.files.wordpress.com/2011/12/cyc8.png?w=300&h=230. Then restart Tomcat.
ok it worked thanks Marina.
has anyone tried the sms module? i have been trying to upload the sms package, individually and i get the upload limit of 20 file on jealstic, must i upload as .war file?
anyone who can help with the sms module installation…
Regards
Clearance
Hello!
Here’s an instruction on how to install sms module for Cyclos http://blog.jelastic.com/2012/07/30/mobil-banking-in-the-cloud-with-cyclos/
just keep getting the tomcat home page
Hi, Spenser!
Did you deploy Cyclos to the root context?
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?
Hi!
If you did all steps correctly it has to work. Please, check all configurations one time. Also check your logs. What exceptions are in your logs?
What database URL do you use?
It has to be jdbc:mysql://mysql-enternetwallet.jelastic.servint.net/cyclos
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
Your database URL is not jdbc:mysql://mysql-cyclos.jelastic.com/cyclos, because your environment is called enternetwallet.jelastic.servint.net. It’s just an example in the post ). Please, be more attentively and configure your application one more time.
Here’s what I put in and it worked no departure:
hibernate.connection.url = http://mysql-enternetwallet.jelastic.servint.net
hibernate.connection.username = root
hibernate.connection.password = zHLvAxgFg0
I shall give such information and I again
it still does not,
please help me
The URL format is incorrect, look at this screenshot http://jelastic.files.wordpress.com/2012/01/cyc19.png
Have you created a new user for MySQL? Why do you use admin credentials?
yes i’ve created a new user for mysql
user cyclos and the password cyclos
what should I do to make it work?
Then just correct your database URL, specify user name: cyclos and password: cyclos.
i don’t know how write correctly my database URL,
just have the Access url : http://mysql-enternetwallet.jelastic.servint.net
please marina
Just look at the example (Configure Cyclos/chapter 4).
thank you I just can
No problem)
it doesn’t work
I put this information,
hibernate.connection.url = jdbc:mysql://mysql-enternetwallet.jelastic.servint.net/cyclos
hibernate.connection.username = cyclos
hibernate.connection.password = cyclos
it works now, thanks for your help
Great! You are welcome.
Hi Marina
where do i find msql connector on Tomcat config?I have configured everything fine but I am stuck there.
Hi!
You can download it here http://dev.mysql.com/downloads/mirror.php?id=407825#mirrors
Then extract the files from the package (jar file is in mysql-connector-java-5.1.20 folder).
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
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?
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?
Done:)
Use the login name admin and the password 1234 to login Cyclos http://project.cyclos.org/wiki/index.php?title=Installation_%26_maintenance
No problem
Here’s an instruction on how to set up sms module for Cyclos http://project.cyclos.org/wiki/index.php?title=Setup_%26_Installation#Cyclos_SMS_banking_module
Yes, sure.
If it does not work, the configuration is incorrect. Have you checked your logs?
Hello
I guess there could be something i didnt configure correct.Would u please kindly login to my account and have a look?Thanks in advance
Hello,
Its fine pls have a look at it tomorrow.Thanks i appreciate your help
Hello,
Wow! Thanks i can now open my cyclos at last! But how do i login? When i enter my username and password is says invalid login.
Hi Marina
Thanks alot for your help everything is working fine! Now one more question.Is it possible to install sms module on my cyclos?What i basically want to do is to offer sms banking services to my clients.I would also like to know how i can intergreat cyclos with my website.I am planning to host my domain at jelastic
Hello.
I am now configuring sms module: must i enter http://paybank.jelastic.servint.net/ as my web url?
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
Hi, Clearance!
Sorry for the delay. I’ll try to prepare one more tutorial on how to install sms module. Stay tuned ti our blog.
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?
When I try to login with the the credentials sent via email I get following error:
#1045 Cannot log in to the MySQL server
Have you checked your logs? Maybe your MySQL server is stopped. Also you can create the environment one more time.
The log does not say much. Only that the database is ready for connections.
I’m still getting the same error.
Have you tried to delete your environment and create one more time?
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?
Have you deployed Cyclos to the ROOT context?
yes, ROOT! And nothing in the logs!
If you don’t mind, I can check your environment. But I need your credentials. You can send them to ms@jelastic.com.
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
Hi!
Ok, I’ll check. Send me your credentials ms@jelastic.com.
Thanks Marina but now it`s all ok. I’ve created the enviroment again (4th time) and all is working right.
Thanks again
How soon is the sms module steps be placed on this blog…….
I’ll try to prepare it ASAP. Stay tuned to our blog!
It’s ready http://blog.jelastic.com/2012/07/30/mobil-banking-in-the-cloud-with-cyclos/
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.
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 -
Hello!
Weird, it works for me. Could you check one more time, please?
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.
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).
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.
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
Hello Marina i forgot to tell you my jelastic host: j.layershift.co.uk
The problem is in your WAR file, put the CONTENTS of the WEB folder to another WAR archive, but not the WEB folder.
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.
hello Marina u mean contents of WEB-INF folder?
I mean contents of web folder from the zip package you have downloaded.
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)
Hello!
Are you sure that you created WAR file properly?
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
Yes, sure. I’ll check it in a hour and let you know.
Hi Marina,
i used the prebuilt steps on the jelastic site to setup a demo:
http://cyclos-loans.jelastic.servint.net/do/login
with default admin logins ….but i can’t grant loans to the member i have created. I have checked sys admin permissions and yet under the member’s profile there is no option to grant or view loans.
Can you check this out for me?
Best Regards,
Nana Kwame Duodu I.T.Systems Consultant 410-487-3505
I’m not sure about your database. Please send me credentials to your database to check it.
Hi, thanks for the reply. There are 2 databases (cyclos3 ) was imported and not created using the instructions given. micros was created using the instructions given.
http://mysql-dbmcyclos.jelastic.servint.net
root/awaley
Thanks,
Nana
Also your war file is created improperly. Put the CONTENTS of the Web folder (but not 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.
But you have not created your new war file. It’s important.
Yes, i just read your email so decided to reply. I’m zipping up the contents now to create a new .war, upload and deploy it. thanks for all the help.
Nana
Hi,
i have uploaded the new .war file. But i haven’t edited cyclos.properties yet. Waiting for your confirmation that this is the right file. Thanks
Why dbmcyclos folder? Please, pay your attention to the structure of war file on this screenshot http://jelastic.files.wordpress.com/2012/01/cyc18.png You should have the same.
i don’t know why my cyclos.properties path shows up with dbmcyclos. I changed the zip file to cyclos and uploaded it but now it shows up as cyclos. What am i doing wrong?
Don’t add the web folder contents to another directory, just put these contents to the zip file and rename it to war.
Hi marina, wanted to let you know that i fixed it. thanks so much. One question though. If i make a back up of mysql database, how do i import it back into my application? i would like to delete the database “ficoman” that i created and rather import the “cyclos3″ database that i have from a previous cyclos install.
It’s great!
You can import dumps using Public IP feature for your database. More detailed info is here http://blog.jelastic.com/2012/05/24/remote-access-to-mysql-in-jelastic-importexport-dump-files-in-a-few-minutes/
Hi, Nana!
Please contact our or your hoster’s support, they will help you.
Best regards.
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!)
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
What is the size of your war file?
Did you send the report to our support team about this error?
Clearance the HTTP transport error is usually due to slow internet connection.Check the speed of your internet and try to upload it again.I had same error before when i was uploading my war file. I hope this will be of help:)
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
I’ll check and let you know in a hour.
I have just looked though their documentation and I’m almost sure that this app will work properly on Jelastic. I’ll try to test it tomorrow and prepare the instruction.
Hello Marina.Did u try to test the mifos software yet on jelastic? Thanks
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.
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
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
ok , thanks for the support i have been able to solve the problem..
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.
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.
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.
Hello Marina sorry i forgot to give you my host. I am on layershift.co.uk .thanks.
Hey! I’ll check this ASAP and let you know.
hello Marina did u get a chance yet to look into my mifos war file? Thanks
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?
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?
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.
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.
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.
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
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
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(
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.
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.
Hello William!
Have you asked our or your hoster’s support for the help? Also we have community forums http://community.jelastic.com/
Best regards,
Marina
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
Hello, Stuart! I haven’t work with this version yet. Have you asked our or your hoster’s support for the help? Also we have community forums http://community.jelastic.com/
Best regards,
Marina
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
Hello! Have you asked our or your hoster’s support for the help? Also we have community forums http://community.jelastic.com/
Best regards,
Marina
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?
Hello, Bolin!
Please contact your hoster’s support or Jelastic community http://community.jelastic.com regarding to this issue.
Best regards,
Marina