R: [opencms-dev] Editing HTML Pages

Campione Aldo aldo.campione at siemens.com
Wed Jan 19 15:31:28 CET 2005


Sorry ,
I forgot to say I'm using J2SE 5.0



-----Messaggio originale-----
Da: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org]Per conto di Campione Aldo
Inviato: mercoledì 19 gennaio 2005 13.10
A: opencms-dev at opencms.org
Oggetto: [opencms-dev] Editing HTML Pages


Please help,

I've troubles when editing html pages in OpenCMS 5.0.1 and Tomcat 5.5
I've already tried to copy xerces-1_4_4.jar in TOMCATHOME\common\endorsed
with no luck !!
Can anybody help me ?
Thank You anyway

The error I got is :
com.opencms.core.CmsException: 0 Unknown exception. Detailed error:
[com.opencms.file.mySql.CmsDbAccess]. 
root cause was com.opencms.core.CmsException: 2 Not found. Detailed error:
[com.opencms.file.mySql.CmsDbAccess] 61. 
	at
com.opencms.file.genericSql.CmsDbAccess.readProject(CmsDbAccess.java:8774)
	at
com.opencms.file.genericSql.CmsResourceBroker.readProject(CmsResourceBroker.
java:5987)
	at
com.opencms.file.CmsRequestContext.setCurrentProject(CmsRequestContext.java:
454)
	at
com.opencms.workplace.CmsXmlTemplateEditor.createTemporaryFile(CmsXmlTemplat
eEditor.java:98)
	at
com.opencms.workplace.CmsXmlTemplateEditor.getContent(CmsXmlTemplateEditor.j
ava:444)
	at
com.opencms.template.cache.CmsElementXml.getContent(CmsElementXml.java:171)
	at
com.opencms.template.cache.CmsUri.callCanonicalRoot(CmsUri.java:185)
	at
com.opencms.template.cache.CmsElementCache.callCanonicalRoot(CmsElementCache
.java:149)
	at
com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLauncher.java:285)
	at
com.opencms.launcher.CmsXmlLauncher.launch(CmsXmlLauncher.java:341)
	at
com.opencms.launcher.A_CmsLauncher.initlaunch(A_CmsLauncher.java:274)
	at com.opencms.core.OpenCms.showResource(OpenCms.java:961)
	at
com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:310)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:237)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:157)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:214)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:178)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:107)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
	at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:731)
	at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
a:526)
	at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
rkerThread.java:80)
	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:684)
	at java.lang.Thread.run(Unknown Source)
>-----------
>Root cause:
>com.opencms.core.CmsException: 2 Not found. Detailed error:
[com.opencms.file.mySql.CmsDbAccess] 61. 
>	at
com.opencms.file.genericSql.CmsDbAccess.readProject(CmsDbAccess.java:8767)
>	at
com.opencms.file.genericSql.CmsResourceBroker.readProject(CmsResourceBroker.
java:5987)
>	at
com.opencms.file.CmsRequestContext.setCurrentProject(CmsRequestContext.java:
454)
>	at
com.opencms.workplace.CmsXmlTemplateEditor.createTemporaryFile(CmsXmlTemplat
eEditor.java:98)
>	at
com.opencms.workplace.CmsXmlTemplateEditor.getContent(CmsXmlTemplateEditor.j
ava:444)
>	at
com.opencms.template.cache.CmsElementXml.getContent(CmsElementXml.java:171)
>	at
com.opencms.template.cache.CmsUri.callCanonicalRoot(CmsUri.java:185)
>	at
com.opencms.template.cache.CmsElementCache.callCanonicalRoot(CmsElementCache
.java:149)
>	at
com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLauncher.java:285)
>	at
com.opencms.launcher.CmsXmlLauncher.launch(CmsXmlLauncher.java:341)
>	at
com.opencms.launcher.A_CmsLauncher.initlaunch(A_CmsLauncher.java:274)
>	at com.opencms.core.OpenCms.showResource(OpenCms.java:961)
>	at
com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:310)
>	at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:237)
>	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:157)
>	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:214)
>	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:178)
>	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
)
>	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
)
>	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:107)
>	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
>	at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:731)
>	at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
a:526)
>	at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
rkerThread.java:80)
>	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:684)
>	at java.lang.Thread.run(Unknown Source)


_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev



More information about the opencms-dev mailing list