Hi all,
I am also getting same error while connecting to oracle10g in weblogic
server.
I have given oracle configuration details in hibernate.cfg.xml .
I am getting this error when ever i cam to the following url
http://localhost:7001/xwiki/bin/view/Main/WebHome
Thanks in Advance,
SAikumar
donesteban wrote:
Hi all,
I get the exception below after a clean installation. It occures when I
try the "concluding step -> import feature ->
http://localhost:8080/xwiki/bin/admin/XWiki/XWikiPreferences. The database
creation worked.
More details:
apache-tomcat-6.0.14 inside Eclipse 3.3 with Derby (network mode) on Win
XP.
------------------ Java Information ------------------
Java Version: 1.6.0_02
Java Vendor: Sun Microsystems Inc.
Java home: C:\Programme\Java\jre1.6.0_02
Java classpath:
D:\workspace\xwiki\WebContent\WEB-INF\classes;C:\Programme\eclipse\plugins\org.apache.derby.core_10.3.1\derby.jar;C:\Programme\eclipse\plugins\org.apache.derby.core_10.3.1\derbyclient.jar;C:\Programme\eclipse\plugins\org.apache.derby.core_10.3.1\derbytools.jar;C:\Programme\eclipse\plugins\org.apache.derby.core_10.3.1\derbynet.jar;C:\Programme\apache-tomcat-6.0.14\lib\annotations-api.jar;C:\Programme\apache-tomcat-6.0.14\lib\catalina-ant.jar;C:\Programme\apache-tomcat-6.0.14\lib\catalina-ha.jar;C:\Programme\apache-tomcat-6.0.14\lib\catalina-tribes.jar;C:\Programme\apache-tomcat-6.0.14\lib\catalina.jar;C:\Programme\apache-tomcat-6.0.14\lib\derby.jar;C:\Programme\apache-tomcat-6.0.14\lib\derbyclient.jar;C:\Programme\apache-tomcat-6.0.14\lib\el-api.jar;C:\Programme\apache-tomcat-6.0.14\lib\jasper-el.jar;C:\Programme\apache-tomcat-6.0.14\lib\jasper-jdt.jar;C:\Programme\apache-tomcat-6.0.14\lib\jasper.jar;C:\Programme\apache-tomcat-6.0.14\lib\jsp-api.jar;C:\Programme\apache-tomcat-6.0.14\lib\servlet-api.jar;C:\Programme\apache-tomcat-6.0.14\lib\tomcat-coyote.jar;C:\Programme\apache-tomcat-6.0.14\lib\tomcat-dbcp.jar;C:\Programme\apache-tomcat-6.0.14\lib\tomcat-i18n-es.jar;C:\Programme\apache-tomcat-6.0.14\lib\tomcat-i18n-fr.jar;C:\Programme\apache-tomcat-6.0.14\lib\tomcat-i18n-ja.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\activation-1.1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\ant-1.6.5.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\antlr-2.7.6rc1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\asm-1.5.3.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\avalon-framework-4.1.3.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\axis-1.4.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\backport-util-concurrent-3.0.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\batik-awt-util-1.6.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\batik-bridge-1.6.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\batik-css-1.6.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\batik-dom-1.6.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\batik-ext-1.6.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\batik-gvt-1.6.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\batik-parser-1.6.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\batik-rasterizer-1.6.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\batik-script-1.6.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\batik-svg-dom-1.6.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\batik-svggen-1.6.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\batik-transcoder-1.6.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\batik-util-1.6.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\batik-xml-1.6.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\cglib-2.1_3.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\commons-beanutils-1.7.0.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\commons-codec-1.3.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\commons-collections-3.2.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\commons-dbcp-1.2.1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\commons-digester-1.6.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\commons-fileupload-1.1.1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\commons-httpclient-3.0.1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\commons-io-1.2.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\commons-lang-2.1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\commons-logging-1.1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\commons-net-1.4.1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\commons-pool-1.2.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\commons-validator-1.1.4.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\css4j-0.4.0.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\dom4j-1.6.1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\ecs-1.4.2.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\ehcache-1.1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\exo-platform.commons-2.0.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\exo-platform.container-2.0.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\exo-platform.service.database.api-2.0.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\exo-platform.service.organization.api-2.0.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\exo-platform.service.security.api-2.0.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\flickrapi-1.0a7.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\fop-0.93.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\googleapi-UNKNOWN-xwiki.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\graffito-jcr-mapping-1.0-a1-amelentev-dev.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\groovy-all-1.0-jsr-06.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\gwt-servlet-1.3.3.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\hibernate-3.1.2.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\ical4j-0.9.19.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\jackrabbit-core-1.1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\jaxrpc-api-1.1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\jcaptcha-all-1.0-RC3.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\jclf-2.3.0.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\jcommon-1.0.5.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\jcr-1.0.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\jdom-1.0.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\jfreechart-1.0.0-rc1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\jgroups-2.2.9.3.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\jmock-1.0.1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\jrcs.diff-0.4.2.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\jrcs.rcs-0.4.2.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\jta-1.0.1B.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\jtidy-8.0-20060801.131059-3-dev.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\junit-3.8.1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\ldap-UNKNOWN.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\log4j-1.2.13.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\logkit-1.0.1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\lucene-core-2.0.0.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\mail-1.4.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\oro-2.0.8.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\oscache-2.3.2-xwiki.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\pdfbox-0.7.1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\picocontainer-1.1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\plexus-classworlds-1.2-alpha-9.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\plexus-component-api-1.0-alpha-31.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\plexus-container-default-1.0-alpha-31.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\plexus-servlet-1.0-beta-9.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\plexus-utils-1.4.5.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\poi-3.0-FINAL.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\portlet-api-1.0.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\radeox-1.0-b2.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\rome-0.8.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\rome-fetcher-0.7.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\securityfilter-2.0.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\servlet-api-2.3.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\struts-1.2.9.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\swizzle-confluence-1.1-20070908-xwiki.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\velocity-1.5.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\velocity-tools-1.3.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\ws-commons-util-1.0.1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\xalan-2.5.1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\xercesImpl-2.0.2.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\xml-apis-1.0.b2.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\xmlParserAPIs-2.0.2.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\xmlgraphics-commons-1.1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\xmlrpc-client-3.0.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\xmlrpc-common-3.0.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\xmlrpc-server-3.0.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\xpp3-1.1.3.4-RC8.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\xstream-1.0.2.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\xwiki-core-1.2-milestone-1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\xwiki-core-action-1.2-milestone-1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\xwiki-core-component-1.2-milestone-1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\xwiki-core-container-api-1.2-milestone-1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\xwiki-core-container-servlet-1.2-milestone-1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\xwiki-core-plexus-1.2-milestone-1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\xwiki-core-url-1.2-milestone-1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\xwiki-web-gwt-1.2-milestone-1.jar
OS name: Windows XP
OS architecture: x86
OS version: 5.1
Java user name: don
Java user home: C:\Dokumente und Einstellungen\don
Java user dir: D:\workspace\xwiki
java.specification.name: Java Platform API Specification
java.specification.version: 1.6
--------- Derby Information --------
JRE - JDBC: Java SE 6 - JDBC 4.0
[C:\Programme\eclipse\plugins\org.apache.derby.core_10.3.1\derby.jar]
10.3.1.4 - (561794)
[C:\Programme\eclipse\plugins\org.apache.derby.core_10.3.1\derbytools.jar]
10.3.1.4 - (561794)
[C:\Programme\eclipse\plugins\org.apache.derby.core_10.3.1\derbynet.jar]
10.3.1.4 - (561794)
[C:\Programme\eclipse\plugins\org.apache.derby.core_10.3.1\derbyclient.jar]
10.3.1.4 - (561794)
[C:\Programme\apache-tomcat-6.0.14\lib\derby.jar] 10.3.1.4 - (561794)
[C:\Programme\apache-tomcat-6.0.14\lib\derbyclient.jar] 10.3.1.4 -
(561794)
------------------------------------------------------
----------------- Locale Information -----------------
------------------------------------------------------
The Exception:
javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error number
3 in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: Could not find a getter for archive in class
com.xpn.xwiki.doc.XWikiDocumentArchive
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
root cause
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize
main XWiki context
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: Could not find a getter for archive in class
com.xpn.xwiki.doc.XWikiDocumentArchive
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:250)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:400)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:94)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
I did the same installation with Tomcat running as a Windows service with
exact the same result. Any idea?
Another strange thing is a problem with a wrong UTF-8 character inside the
xhtml.xsl reported by eclipse. Don't know, if this has any importance or
if it is an eclipse issue.
Invalid byte 1 of 1-byte UTF-8 sequence.
<xsl:template match="li">
<fo:list-item>
<fo:list-item-label start-indent="0.1in">
<fo:block>�</fo:block> <!-- invalid byte -->
</fo:list-item-label>
<fo:list-item-body start-indent="0.25in">
<fo:block space-after="3pt">
<xsl:apply-templates select="a|b|i|ul|text()"/>
</fo:block>
</fo:list-item-body>
</fo:list-item>
</xsl:template>
I looked throu the mailing list archive, but did not see similar problems.
I just tried to install xwiki, so I still have no experience. Sorry, if I
missed something very basic.
Regards
Stefan
--
View this message in context:
http://www.nabble.com/Could-not-find-a-getter-for-archive-in-class-com.xpn.…
Sent from the XWiki- Users mailing list archive at
Nabble.com.