sonalgoyal / crux

Crux is a reporting application for HBase. Crux provides a simple web based graphical interface to access HBase, query data and create reports. Crux is open sourced under Apache Software Foundation License v2.0.
http://nubetech.co/category/crux-2
Apache License 2.0
100 stars 30 forks source link

Error deploying CRUX in tomcat 6 #10

Closed jmozah closed 13 years ago

jmozah commented 13 years ago

When i drop the crux.war in tomcat webapps and start tomcat i get the following Exception

2011-09-08 14:54:57,191 DEBUG com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.debug:57 - Loaded type:ognl.PropertyAccessor name:java.util.HashMap impl:com.opensymphony.xwork2.ognl.accessor.XWorkMapPropertyAccessor 2011-09-08 14:54:57,191 DEBUG com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.debug:57 - Loading action configurations from: struts-plugin.xml Unable to load configuration. - Class: java.net.AbstractPlainSocketImpl File: AbstractPlainSocketImpl.java Method: connect Line: 175 - java/net/AbstractPlainSocketImpl.java:175:-1 at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58) at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:360) at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:403) at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69) at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:48) at co.nubetech.crux.servlet.filter.CruxFilter.init(CruxFilter.java:40) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422) at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:115) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4072) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4726) 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:616) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: Unable to load jar:file:/usr/share/tomcat6/lib/struts2-json-plugin-2.2.3.jar!/struts-plugin.xml - Class: java.net.AbstractPlainSocketImpl File: AbstractPlainSocketImpl.java Method: connect Line: 175 - java/net/AbstractPlainSocketImpl.java:175:-1 at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:890) at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadDocuments(XmlConfigurationProvider.java:144) at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:111) at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:164) at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55) ... 32 more Caused by: struts.apache.org - Class: java.net.AbstractPlainSocketImpl

sonalgoyal commented 13 years ago

Hi,

Have you tried using Tomcat 7? We have tried on Tomcat 7 and Jetty 7.4.1. It would be great if you could try Crux on that.

Thanks

jmozah commented 13 years ago

Hi

I tried in tomcat 5, 6, and 7. all give the same error.

./zahoor

sonalgoyal commented 13 years ago

Are you following the standard process of putting the war in webapps, or are you pointing to some libraries directly? Your message has "Caused by: Unable to load jar:file:/usr/share/tomcat6/lib/struts2-json-plugin-2.2.3.jar!/struts-plugin.xml

Sonal http://in.linkedin.com/in/sonalgoyal

On Thu, Sep 8, 2011 at 4:42 PM, J Mohamed Zahoor < reply@reply.github.com>wrote:

Hi

I tried in tomcat 5, 6, and 7. all give the same error.

./zahoor

Reply to this email directly or view it on GitHub: https://github.com/sonalgoyal/crux/issues/10#issuecomment-2038733

sonalgoyal commented 13 years ago

Zahoor, I think internally Hibernate and Struts need to refer to the DTD on the internet, and if your machine is not connected to the net and you try Crux, it fails. We have this as an open issue at our end, it would be great if you could meanwhile work on a machine with net connection. Let me know how it goes!

http://in.linkedin.com/in/sonalgoyal

On Thu, Sep 8, 2011 at 5:04 PM, Sonal Goyal sonalgoyal4@gmail.com wrote:

Are you following the standard process of putting the war in webapps, or are you pointing to some libraries directly? Your message has "Caused by: Unable to load jar:file:/usr/share/tomcat6/lib/struts2-json-plugin-2.2.3.jar!/struts-plugin.xml

  • Class: java.net.AbstractPlainSocketImpl" so it seems to be referring to the strus json plugin at tomcat lib. In our case, we have bundled everything together in the war. Can you please provide your steps?

Sonal http://in.linkedin.com/in/sonalgoyal

On Thu, Sep 8, 2011 at 4:42 PM, J Mohamed Zahoor < reply@reply.github.com>wrote:

Hi

I tried in tomcat 5, 6, and 7. all give the same error.

./zahoor

Reply to this email directly or view it on GitHub: https://github.com/sonalgoyal/crux/issues/10#issuecomment-2038733

jmozah commented 13 years ago

I think thats the problem.. my machine is connected to net but does not have a name server ... so could not reasolve struts.apache.org i tried putting the ipaddress there in the XML of the struts2-jsoni jar.. but still it fails.. :-)

./zahoor

On Thu, Sep 8, 2011 at 5:12 PM, Sonal < reply@reply.github.com>wrote:

Zahoor, I think internally Hibernate and Struts need to refer to the DTD on the internet, and if your machine is not connected to the net and you try Crux, it fails. We have this as an open issue at our end, it would be great if you could meanwhile work on a machine with net connection. Let me know how it goes!

http://in.linkedin.com/in/sonalgoyal

On Thu, Sep 8, 2011 at 5:04 PM, Sonal Goyal sonalgoyal4@gmail.com wrote:

Are you following the standard process of putting the war in webapps, or are you pointing to some libraries directly? Your message has "Caused by: Unable to load

jar:file:/usr/share/tomcat6/lib/struts2-json-plugin-2.2.3.jar!/struts-plugin.xml

  • Class: java.net.AbstractPlainSocketImpl" so it seems to be referring to the strus json plugin at tomcat lib. In our case, we have bundled everything together in the war. Can you please provide your steps?

Sonal http://in.linkedin.com/in/sonalgoyal

On Thu, Sep 8, 2011 at 4:42 PM, J Mohamed Zahoor < reply@reply.github.com>wrote:

Hi

I tried in tomcat 5, 6, and 7. all give the same error.

./zahoor

Reply to this email directly or view it on GitHub: https://github.com/sonalgoyal/crux/issues/10#issuecomment-2038733

Reply to this email directly or view it on GitHub: https://github.com/sonalgoyal/crux/issues/10#issuecomment-2038922

./zahoor

Web: http://zahoor.in Twit: @jmohamedzahoor

sonalgoyal commented 13 years ago

Do you have a machine on which the internet works? Maybe you could try there.

On Thu, Sep 8, 2011 at 5:21 PM, J Mohamed Zahoor < reply@reply.github.com>wrote:

I think thats the problem.. my machine is connected to net but does not have a name server ... so could not reasolve struts.apache.org i tried putting the ipaddress there in the XML of the struts2-jsoni jar.. but still it fails.. :-)

./zahoor

On Thu, Sep 8, 2011 at 5:12 PM, Sonal < reply@reply.github.com>wrote:

Zahoor, I think internally Hibernate and Struts need to refer to the DTD on the internet, and if your machine is not connected to the net and you try Crux, it fails. We have this as an open issue at our end, it would be great if you could meanwhile work on a machine with net connection. Let me know how it goes!

http://in.linkedin.com/in/sonalgoyal

On Thu, Sep 8, 2011 at 5:04 PM, Sonal Goyal sonalgoyal4@gmail.com wrote:

Are you following the standard process of putting the war in webapps, or are you pointing to some libraries directly? Your message has "Caused by: Unable to load

jar:file:/usr/share/tomcat6/lib/struts2-json-plugin-2.2.3.jar!/struts-plugin.xml

  • Class: java.net.AbstractPlainSocketImpl" so it seems to be referring to the strus json plugin at tomcat lib. In our case, we have bundled everything together in the war. Can you please provide your steps?

Sonal http://in.linkedin.com/in/sonalgoyal

On Thu, Sep 8, 2011 at 4:42 PM, J Mohamed Zahoor < reply@reply.github.com>wrote:

Hi

I tried in tomcat 5, 6, and 7. all give the same error.

./zahoor

Reply to this email directly or view it on GitHub: https://github.com/sonalgoyal/crux/issues/10#issuecomment-2038733

Reply to this email directly or view it on GitHub: https://github.com/sonalgoyal/crux/issues/10#issuecomment-2038922

./zahoor

Web: http://zahoor.in Twit: @jmohamedzahoor

Reply to this email directly or view it on GitHub: https://github.com/sonalgoyal/crux/issues/10#issuecomment-2038995

jmozah commented 13 years ago

I tried.. now i am getting this error

2011-09-08 17:50:06,391 DEBUG org.hibernate.cfg.Configuration.addProperties:1421 - show_sql=true 2011-09-08 17:50:06,392 DEBUG org.hibernate.cfg.AnnotationConfiguration.parseMappingElement:628 - null <- org.dom4j.tree.DefaultAttribute@1f248f2b [Attribute: name resource value "cruxHib.xml"] 2011-09-08 17:50:06,392 INFO org.hibernate.cfg.Configuration.addResource:586 - Reading mappings from resource : cruxHib.xml 2011-09-08 17:50:06,414 DEBUG org.hibernate.util.DTDEntityResolver.resolveEntity:64 - trying to resolve system-id [http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd] 2011-09-08 17:50:06,418 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(15) Element type "hibernate-mapping" must be declared. 2011-09-08 17:50:06,418 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(17) Element type "class" must be declared. 2011-09-08 17:50:06,419 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(18) Element type "id" must be declared. 2011-09-08 17:50:06,419 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(19) Element type "generator" must be declared. 2011-09-08 17:50:06,419 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(21) Attribute "type" must be declared for element type "property". 2011-09-08 17:50:06,419 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(21) Attribute "column" must be declared for element type "property". 2011-09-08 17:50:06,420 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(24) Element type "class" must be declared. 2011-09-08 17:50:06,420 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(25) Element type "id" must be declared. 2011-09-08 17:50:06,420 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(26) Element type "generator" must be declared. 2011-09-08 17:50:06,420 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(28) Attribute "column" must be declared for element type "property". 2011-09-08 17:50:06,421 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(29) Attribute "column" must be declared for element type "property". 2011-09-08 17:50:06,421 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(32) Element type "class" must be declared. 2011-09-08 17:50:06,421 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(33) Element type "id" must be declared. 2011-09-08 17:50:06,421 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(34) Element type "generator" must be declared. 2011-09-08 17:50:06,421 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(36) Element type "many-to-one" must be declared. 2011-09-08 17:50:06,422 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(37) Element type "many-to-one" must be declared. 2011-09-08 17:50:06,422 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(38) Attribute "type" must be declared for element type "property". 2011-09-08 17:50:06,422 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(38) Attribute "column" must be declared for element type "property". 2011-09-08 17:50:06,422 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(39) Element type "map" must be declared. 2011-09-08 17:50:06,423 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(40) Element type "key" must be declared. 2011-09-08 17:50:06,423 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(41) Element type "map-key" must be declared. 2011-09-08 17:50:06,423 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(42) Element type "one-to-many" must be declared. 2011-09-08 17:50:06,423 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(46) Element type "class" must be declared. 2011-09-08 17:50:06,424 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(47) Element type "id" must be declared. 2011-09-08 17:50:06,424 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(48) Element type "generator" must be declared.

On Thu, Sep 8, 2011 at 5:24 PM, Sonal < reply@reply.github.com>wrote:

Do you have a machine on which the internet works? Maybe you could try there.

On Thu, Sep 8, 2011 at 5:21 PM, J Mohamed Zahoor < reply@reply.github.com>wrote:

I think thats the problem.. my machine is connected to net but does not have a name server ... so could not reasolve struts.apache.org i tried putting the ipaddress there in the XML of the struts2-jsoni jar.. but still it fails.. :-)

./zahoor

On Thu, Sep 8, 2011 at 5:12 PM, Sonal < reply@reply.github.com>wrote:

Zahoor, I think internally Hibernate and Struts need to refer to the DTD on the internet, and if your machine is not connected to the net and you try Crux, it fails. We have this as an open issue at our end, it would be great if you could meanwhile work on a machine with net connection. Let me know how it goes!

http://in.linkedin.com/in/sonalgoyal

On Thu, Sep 8, 2011 at 5:04 PM, Sonal Goyal sonalgoyal4@gmail.com wrote:

Are you following the standard process of putting the war in webapps, or are you pointing to some libraries directly? Your message has "Caused by: Unable to load

jar:file:/usr/share/tomcat6/lib/struts2-json-plugin-2.2.3.jar!/struts-plugin.xml

  • Class: java.net.AbstractPlainSocketImpl" so it seems to be referring to the strus json plugin at tomcat lib. In our case, we have bundled everything together in the war. Can you please provide your steps?

Sonal http://in.linkedin.com/in/sonalgoyal

On Thu, Sep 8, 2011 at 4:42 PM, J Mohamed Zahoor < reply@reply.github.com>wrote:

Hi

I tried in tomcat 5, 6, and 7. all give the same error.

./zahoor

Reply to this email directly or view it on GitHub: https://github.com/sonalgoyal/crux/issues/10#issuecomment-2038733

Reply to this email directly or view it on GitHub: https://github.com/sonalgoyal/crux/issues/10#issuecomment-2038922

./zahoor

Web: http://zahoor.in Twit: @jmohamedzahoor

Reply to this email directly or view it on GitHub: https://github.com/sonalgoyal/crux/issues/10#issuecomment-2038995

Reply to this email directly or view it on GitHub: https://github.com/sonalgoyal/crux/issues/10#issuecomment-2039014

./zahoor

Web: http://zahoor.in Twit: @jmohamedzahoor

jmozah commented 13 years ago

Continuation of the exception.. skipping somethins in between\

Caused by: org.hibernate.MappingException: invalid mapping at org.hibernate.cfg.AnnotationConfiguration.addInputStream(AnnotationConfiguration.java:777) at org.hibernate.cfg.AnnotationConfiguration.addInputStream(AnnotationConfiguration.java:64) at org.hibernate.cfg.Configuration.addResource(Configuration.java:599) ... 27 more Caused by: org.xml.sax.SAXParseException; lineNumber: 15; columnNumber: 53; Element type "hibernate-mapping" must be declared. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:198) at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:134) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:387) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:321) at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.handleStartElement(XMLDTDValidator.java:1932) at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidator.java:767) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:376) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:602) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3080) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:899) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:625) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:116) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:488) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:812) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:741) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:123) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1208) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:525) at org.dom4j.io.SAXReader.read(SAXReader.java:465) at org.hibernate.cfg.AnnotationConfiguration.addInputStream(AnnotationConfiguration.java:773) ... 29 more

jmozah commented 13 years ago

Sorry.. my mistake.. i pointed the dtd's locally and did it wrongly.. now it works in a machine without internet connection :-) Now i will USE it... Thanks for the help Sonal.

./zahoor

On Thu, Sep 8, 2011 at 6:07 PM, Zahoor zahoor@zahoor.in wrote:

I tried.. now i am getting this error

2011-09-08 17:50:06,391 DEBUG org.hibernate.cfg.Configuration.addProperties:1421 - show_sql=true 2011-09-08 17:50:06,392 DEBUG org.hibernate.cfg.AnnotationConfiguration.parseMappingElement:628 - null <- org.dom4j.tree.DefaultAttribute@1f248f2b [Attribute: name resource value "cruxHib.xml"] 2011-09-08 17:50:06,392 INFO org.hibernate.cfg.Configuration.addResource:586 - Reading mappings from resource : cruxHib.xml 2011-09-08 17:50:06,414 DEBUG org.hibernate.util.DTDEntityResolver.resolveEntity:64 - trying to resolve system-id [http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd] 2011-09-08 17:50:06,418 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(15) Element type "hibernate-mapping" must be declared. 2011-09-08 17:50:06,418 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(17) Element type "class" must be declared. 2011-09-08 17:50:06,419 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(18) Element type "id" must be declared. 2011-09-08 17:50:06,419 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(19) Element type "generator" must be declared. 2011-09-08 17:50:06,419 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(21) Attribute "type" must be declared for element type "property". 2011-09-08 17:50:06,419 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(21) Attribute "column" must be declared for element type "property". 2011-09-08 17:50:06,420 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(24) Element type "class" must be declared. 2011-09-08 17:50:06,420 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(25) Element type "id" must be declared. 2011-09-08 17:50:06,420 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(26) Element type "generator" must be declared. 2011-09-08 17:50:06,420 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(28) Attribute "column" must be declared for element type "property". 2011-09-08 17:50:06,421 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(29) Attribute "column" must be declared for element type "property". 2011-09-08 17:50:06,421 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(32) Element type "class" must be declared. 2011-09-08 17:50:06,421 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(33) Element type "id" must be declared. 2011-09-08 17:50:06,421 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(34) Element type "generator" must be declared. 2011-09-08 17:50:06,421 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(36) Element type "many-to-one" must be declared. 2011-09-08 17:50:06,422 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(37) Element type "many-to-one" must be declared. 2011-09-08 17:50:06,422 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(38) Attribute "type" must be declared for element type "property". 2011-09-08 17:50:06,422 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(38) Attribute "column" must be declared for element type "property". 2011-09-08 17:50:06,422 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(39) Element type "map" must be declared. 2011-09-08 17:50:06,423 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(40) Element type "key" must be declared. 2011-09-08 17:50:06,423 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(41) Element type "map-key" must be declared. 2011-09-08 17:50:06,423 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(42) Element type "one-to-many" must be declared. 2011-09-08 17:50:06,423 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(46) Element type "class" must be declared. 2011-09-08 17:50:06,424 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(47) Element type "id" must be declared. 2011-09-08 17:50:06,424 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(48) Element type "generator" must be declared.

On Thu, Sep 8, 2011 at 5:24 PM, Sonal < reply@reply.github.com>wrote:

Do you have a machine on which the internet works? Maybe you could try there.

On Thu, Sep 8, 2011 at 5:21 PM, J Mohamed Zahoor < reply@reply.github.com>wrote:

I think thats the problem.. my machine is connected to net but does not have a name server ... so could not reasolve struts.apache.org i tried putting the ipaddress there in the XML of the struts2-jsoni jar.. but still it fails.. :-)

./zahoor

On Thu, Sep 8, 2011 at 5:12 PM, Sonal < reply@reply.github.com>wrote:

Zahoor, I think internally Hibernate and Struts need to refer to the DTD on the internet, and if your machine is not connected to the net and you try Crux, it fails. We have this as an open issue at our end, it would be great if you could meanwhile work on a machine with net connection. Let me know how it goes!

http://in.linkedin.com/in/sonalgoyal

On Thu, Sep 8, 2011 at 5:04 PM, Sonal Goyal sonalgoyal4@gmail.com wrote:

Are you following the standard process of putting the war in webapps, or are you pointing to some libraries directly? Your message has "Caused by: Unable to load

jar:file:/usr/share/tomcat6/lib/struts2-json-plugin-2.2.3.jar!/struts-plugin.xml

  • Class: java.net.AbstractPlainSocketImpl" so it seems to be referring to the strus json plugin at tomcat lib. In our case, we have bundled everything together in the war. Can you please provide your steps?

Sonal http://in.linkedin.com/in/sonalgoyal

On Thu, Sep 8, 2011 at 4:42 PM, J Mohamed Zahoor < reply@reply.github.com>wrote:

Hi

I tried in tomcat 5, 6, and 7. all give the same error.

./zahoor

Reply to this email directly or view it on GitHub: https://github.com/sonalgoyal/crux/issues/10#issuecomment-2038733

Reply to this email directly or view it on GitHub: https://github.com/sonalgoyal/crux/issues/10#issuecomment-2038922

./zahoor

Web: http://zahoor.in Twit: @jmohamedzahoor

Reply to this email directly or view it on GitHub: https://github.com/sonalgoyal/crux/issues/10#issuecomment-2038995

Reply to this email directly or view it on GitHub: https://github.com/sonalgoyal/crux/issues/10#issuecomment-2039014

./zahoor

Web: http://zahoor.in Twit: @jmohamedzahoor

./zahoor

Web: http://zahoor.in Twit: @jmohamedzahoor

sonalgoyal commented 13 years ago

Are you able to go to http://www.hibernate.org/dtd/http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd hibernate-mapping-3.0.dtdhttp://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd

Best Regards, Sonal Crux: Reporting for HBase https://github.com/sonalgoyal/crux Nube Technologies http://www.nubetech.co

http://in.linkedin.com/in/sonalgoyal

On Thu, Sep 8, 2011 at 6:18 PM, J Mohamed Zahoor < reply@reply.github.com>wrote:

Sorry.. my mistake.. i pointed the dtd's locally and did it wrongly.. now it works in a machine without internet connection :-) Now i will USE it... Thanks for the help Sonal.

./zahoor

On Thu, Sep 8, 2011 at 6:07 PM, Zahoor zahoor@zahoor.in wrote:

I tried.. now i am getting this error

2011-09-08 17:50:06,391 DEBUG org.hibernate.cfg.Configuration.addProperties:1421 - show_sql=true 2011-09-08 17:50:06,392 DEBUG org.hibernate.cfg.AnnotationConfiguration.parseMappingElement:628 - null <- org.dom4j.tree.DefaultAttribute@1f248f2b [Attribute: name resource value "cruxHib.xml"] 2011-09-08 17:50:06,392 INFO org.hibernate.cfg.Configuration.addResource:586 - Reading mappings from resource : cruxHib.xml 2011-09-08 17:50:06,414 DEBUG org.hibernate.util.DTDEntityResolver.resolveEntity:64 - trying to resolve system-id [http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd] 2011-09-08 17:50:06,418 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(15) Element type "hibernate-mapping" must be declared. 2011-09-08 17:50:06,418 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(17) Element type "class" must be declared. 2011-09-08 17:50:06,419 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(18) Element type "id" must be declared. 2011-09-08 17:50:06,419 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(19) Element type "generator" must be declared. 2011-09-08 17:50:06,419 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(21) Attribute "type" must be declared for element type "property". 2011-09-08 17:50:06,419 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(21) Attribute "column" must be declared for element type "property". 2011-09-08 17:50:06,420 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(24) Element type "class" must be declared. 2011-09-08 17:50:06,420 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(25) Element type "id" must be declared. 2011-09-08 17:50:06,420 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(26) Element type "generator" must be declared. 2011-09-08 17:50:06,420 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(28) Attribute "column" must be declared for element type "property". 2011-09-08 17:50:06,421 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(29) Attribute "column" must be declared for element type "property". 2011-09-08 17:50:06,421 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(32) Element type "class" must be declared. 2011-09-08 17:50:06,421 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(33) Element type "id" must be declared. 2011-09-08 17:50:06,421 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(34) Element type "generator" must be declared. 2011-09-08 17:50:06,421 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(36) Element type "many-to-one" must be declared. 2011-09-08 17:50:06,422 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(37) Element type "many-to-one" must be declared. 2011-09-08 17:50:06,422 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(38) Attribute "type" must be declared for element type "property". 2011-09-08 17:50:06,422 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(38) Attribute "column" must be declared for element type "property". 2011-09-08 17:50:06,422 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(39) Element type "map" must be declared. 2011-09-08 17:50:06,423 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(40) Element type "key" must be declared. 2011-09-08 17:50:06,423 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(41) Element type "map-key" must be declared. 2011-09-08 17:50:06,423 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(42) Element type "one-to-many" must be declared. 2011-09-08 17:50:06,423 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(46) Element type "class" must be declared. 2011-09-08 17:50:06,424 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(47) Element type "id" must be declared. 2011-09-08 17:50:06,424 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(48) Element type "generator" must be declared.

On Thu, Sep 8, 2011 at 5:24 PM, Sonal < reply@reply.github.com>wrote:

Do you have a machine on which the internet works? Maybe you could try there.

On Thu, Sep 8, 2011 at 5:21 PM, J Mohamed Zahoor < reply@reply.github.com>wrote:

I think thats the problem.. my machine is connected to net but does not have a name server ... so could not reasolve struts.apache.org i tried putting the ipaddress there in the XML of the struts2-jsoni jar.. but still it fails.. :-)

./zahoor

On Thu, Sep 8, 2011 at 5:12 PM, Sonal < reply@reply.github.com>wrote:

Zahoor, I think internally Hibernate and Struts need to refer to the DTD on the internet, and if your machine is not connected to the net and you try Crux, it fails. We have this as an open issue at our end, it would be great if you could meanwhile work on a machine with net connection. Let me know how it goes!

http://in.linkedin.com/in/sonalgoyal

On Thu, Sep 8, 2011 at 5:04 PM, Sonal Goyal sonalgoyal4@gmail.com wrote:

Are you following the standard process of putting the war in webapps, or are you pointing to some libraries directly? Your message has "Caused by: Unable to load

jar:file:/usr/share/tomcat6/lib/struts2-json-plugin-2.2.3.jar!/struts-plugin.xml

  • Class: java.net.AbstractPlainSocketImpl" so it seems to be referring to the strus json plugin at tomcat lib. In our case, we have bundled everything together in the war. Can you please provide your steps?

Sonal http://in.linkedin.com/in/sonalgoyal

On Thu, Sep 8, 2011 at 4:42 PM, J Mohamed Zahoor < reply@reply.github.com>wrote:

Hi

I tried in tomcat 5, 6, and 7. all give the same error.

./zahoor

Reply to this email directly or view it on GitHub:

https://github.com/sonalgoyal/crux/issues/10#issuecomment-2038733

Reply to this email directly or view it on GitHub: https://github.com/sonalgoyal/crux/issues/10#issuecomment-2038922

./zahoor

Web: http://zahoor.in Twit: @jmohamedzahoor

Reply to this email directly or view it on GitHub: https://github.com/sonalgoyal/crux/issues/10#issuecomment-2038995

Reply to this email directly or view it on GitHub: https://github.com/sonalgoyal/crux/issues/10#issuecomment-2039014

./zahoor

Web: http://zahoor.in Twit: @jmohamedzahoor

./zahoor

Web: http://zahoor.in Twit: @jmohamedzahoor

Reply to this email directly or view it on GitHub: https://github.com/sonalgoyal/crux/issues/10#issuecomment-2039350

sonalgoyal commented 13 years ago

Do let me know if you could get around creating your reports. The functions are visible at the gui but do not work yet, everything else should work. any feedback, please let me know.

Best Regards, Sonal Crux: Reporting for HBase https://github.com/sonalgoyal/crux Nube Technologies http://www.nubetech.co

http://in.linkedin.com/in/sonalgoyal

On Thu, Sep 8, 2011 at 6:18 PM, J Mohamed Zahoor < reply@reply.github.com>wrote:

Sorry.. my mistake.. i pointed the dtd's locally and did it wrongly.. now it works in a machine without internet connection :-) Now i will USE it... Thanks for the help Sonal.

./zahoor

On Thu, Sep 8, 2011 at 6:07 PM, Zahoor zahoor@zahoor.in wrote:

I tried.. now i am getting this error

2011-09-08 17:50:06,391 DEBUG org.hibernate.cfg.Configuration.addProperties:1421 - show_sql=true 2011-09-08 17:50:06,392 DEBUG org.hibernate.cfg.AnnotationConfiguration.parseMappingElement:628 - null <- org.dom4j.tree.DefaultAttribute@1f248f2b [Attribute: name resource value "cruxHib.xml"] 2011-09-08 17:50:06,392 INFO org.hibernate.cfg.Configuration.addResource:586 - Reading mappings from resource : cruxHib.xml 2011-09-08 17:50:06,414 DEBUG org.hibernate.util.DTDEntityResolver.resolveEntity:64 - trying to resolve system-id [http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd] 2011-09-08 17:50:06,418 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(15) Element type "hibernate-mapping" must be declared. 2011-09-08 17:50:06,418 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(17) Element type "class" must be declared. 2011-09-08 17:50:06,419 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(18) Element type "id" must be declared. 2011-09-08 17:50:06,419 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(19) Element type "generator" must be declared. 2011-09-08 17:50:06,419 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(21) Attribute "type" must be declared for element type "property". 2011-09-08 17:50:06,419 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(21) Attribute "column" must be declared for element type "property". 2011-09-08 17:50:06,420 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(24) Element type "class" must be declared. 2011-09-08 17:50:06,420 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(25) Element type "id" must be declared. 2011-09-08 17:50:06,420 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(26) Element type "generator" must be declared. 2011-09-08 17:50:06,420 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(28) Attribute "column" must be declared for element type "property". 2011-09-08 17:50:06,421 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(29) Attribute "column" must be declared for element type "property". 2011-09-08 17:50:06,421 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(32) Element type "class" must be declared. 2011-09-08 17:50:06,421 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(33) Element type "id" must be declared. 2011-09-08 17:50:06,421 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(34) Element type "generator" must be declared. 2011-09-08 17:50:06,421 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(36) Element type "many-to-one" must be declared. 2011-09-08 17:50:06,422 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(37) Element type "many-to-one" must be declared. 2011-09-08 17:50:06,422 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(38) Attribute "type" must be declared for element type "property". 2011-09-08 17:50:06,422 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(38) Attribute "column" must be declared for element type "property". 2011-09-08 17:50:06,422 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(39) Element type "map" must be declared. 2011-09-08 17:50:06,423 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(40) Element type "key" must be declared. 2011-09-08 17:50:06,423 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(41) Element type "map-key" must be declared. 2011-09-08 17:50:06,423 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(42) Element type "one-to-many" must be declared. 2011-09-08 17:50:06,423 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(46) Element type "class" must be declared. 2011-09-08 17:50:06,424 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(47) Element type "id" must be declared. 2011-09-08 17:50:06,424 ERROR org.hibernate.util.XMLHelper.error:81 - Error parsing XML: XML InputStream(48) Element type "generator" must be declared.

On Thu, Sep 8, 2011 at 5:24 PM, Sonal < reply@reply.github.com>wrote:

Do you have a machine on which the internet works? Maybe you could try there.

On Thu, Sep 8, 2011 at 5:21 PM, J Mohamed Zahoor < reply@reply.github.com>wrote:

I think thats the problem.. my machine is connected to net but does not have a name server ... so could not reasolve struts.apache.org i tried putting the ipaddress there in the XML of the struts2-jsoni jar.. but still it fails.. :-)

./zahoor

On Thu, Sep 8, 2011 at 5:12 PM, Sonal < reply@reply.github.com>wrote:

Zahoor, I think internally Hibernate and Struts need to refer to the DTD on the internet, and if your machine is not connected to the net and you try Crux, it fails. We have this as an open issue at our end, it would be great if you could meanwhile work on a machine with net connection. Let me know how it goes!

http://in.linkedin.com/in/sonalgoyal

On Thu, Sep 8, 2011 at 5:04 PM, Sonal Goyal sonalgoyal4@gmail.com wrote:

Are you following the standard process of putting the war in webapps, or are you pointing to some libraries directly? Your message has "Caused by: Unable to load

jar:file:/usr/share/tomcat6/lib/struts2-json-plugin-2.2.3.jar!/struts-plugin.xml

  • Class: java.net.AbstractPlainSocketImpl" so it seems to be referring to the strus json plugin at tomcat lib. In our case, we have bundled everything together in the war. Can you please provide your steps?

Sonal http://in.linkedin.com/in/sonalgoyal

On Thu, Sep 8, 2011 at 4:42 PM, J Mohamed Zahoor < reply@reply.github.com>wrote:

Hi

I tried in tomcat 5, 6, and 7. all give the same error.

./zahoor

Reply to this email directly or view it on GitHub:

https://github.com/sonalgoyal/crux/issues/10#issuecomment-2038733

Reply to this email directly or view it on GitHub: https://github.com/sonalgoyal/crux/issues/10#issuecomment-2038922

./zahoor

Web: http://zahoor.in Twit: @jmohamedzahoor

Reply to this email directly or view it on GitHub: https://github.com/sonalgoyal/crux/issues/10#issuecomment-2038995

Reply to this email directly or view it on GitHub: https://github.com/sonalgoyal/crux/issues/10#issuecomment-2039014

./zahoor

Web: http://zahoor.in Twit: @jmohamedzahoor

./zahoor

Web: http://zahoor.in Twit: @jmohamedzahoor

Reply to this email directly or view it on GitHub: https://github.com/sonalgoyal/crux/issues/10#issuecomment-2039350

sonalgoyal commented 13 years ago

User verified they could deploy and it was a machine problem. Closing.