getting error while setting MySql as repository for development purpose

12 views
Skip to first unread message

Madhur Singh

unread,
Mar 21, 2018, 6:53:40 AM3/21/18
to Hippo Community
Hi,

In hippo cms 12 i'm getting error while setting MySql as repository for development purpose


[Fatal Error] :24:1: Element type "Resource" must be followed by either attribute specifications, ">" or "/>".
[WARNING] [talledLocalContainer] org.codehaus.cargo.util.CargoException: Cannot parse XML file /home/madhur/HippoWorkspace/My_hippo_porj/myhippoproject/target/tomcat8x/conf/context.xml
[ERROR] Starting container [org.codehaus.cargo.container.tomcat.Tomcat8xInstalledLocalContainer@79b08632] failed, now stopping container
[INFO] [talledLocalContainer] Tomcat 8.x is stopping...
[INFO] [talledLocalContainer] Listening for transport dt_socket at address: 8000
[INFO] [talledLocalContainer] 21-Mar-2018 16:19:33.775 SEVERE [main] org.apache.catalina.startup.Catalina.stopServer Could not contact [localhost:[8205]]. Tomcat may not be running.
[INFO] [talledLocalContainer] 21-Mar-2018 16:19:33.824 SEVERE [main] org.apache.catalina.startup.Catalina.stopServer Catalina.stop: 
[INFO] [talledLocalContainer]  java.net.ConnectException: Connection refused (Connection refused)
[INFO] [talledLocalContainer] at java.net.PlainSocketImpl.socketConnect(Native Method)
[INFO] [talledLocalContainer] at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
[INFO] [talledLocalContainer] at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
[INFO] [talledLocalContainer] at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
[INFO] [talledLocalContainer] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
[INFO] [talledLocalContainer] at java.net.Socket.connect(Socket.java:589)
[INFO] [talledLocalContainer] at java.net.Socket.connect(Socket.java:538)
[INFO] [talledLocalContainer] at java.net.Socket.<init>(Socket.java:434)
[INFO] [talledLocalContainer] at java.net.Socket.<init>(Socket.java:211)
[INFO] [talledLocalContainer] at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:491)
[INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:498)
[INFO] [talledLocalContainer] at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:408)
[INFO] [talledLocalContainer] at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:497)
[INFO] [talledLocalContainer] 
[INFO] [talledLocalContainer] Tomcat 8.x is stopped
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 34.258 s
[INFO] Finished at: 2018-03-21T16:19:38+05:30
[INFO] Final Memory: 15M/207M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.cargo:cargo-maven2-plugin:1.6.5:start (cargo-run) on project myhippoproject: Cannot start container [org.codehaus.cargo.container.tomcat.Tomcat8xInstalledLocalContainer@79b08632]: Cannot parse XML file /home/madhur/HippoWorkspace/My_hippo_porj/myhippoproject/target/tomcat8x/conf/context.xml: Element type "Resource" must be followed by either attribute specifications, ">" or "/>". -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:

Jeroen Hoffman

unread,
Mar 21, 2018, 6:59:16 AM3/21/18
to hippo-c...@googlegroups.com

The error is quite explicit, isn't it?

See https://www.onehippo.org/library/deployment/configuring/configuring-hippo-for-mysql.html on how to set up the Resource in context.xml.

HTH
Jeroen

--
Hippo Community Group: The place for all discussions and announcements about Hippo CMS (and HST, repository etc. etc.)
 
To post to this group, send email to hippo-c...@googlegroups.com
RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-communi...@googlegroups.com.
Visit this group at https://groups.google.com/group/hippo-community.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages