[opencms-dev] Strange errors on startup - PARTLY SOLVED
Fabian Huschka
fabian.huschka at componio.net
Thu Feb 8 22:13:00 CET 2007
Hello again,
after having recovered from my nervous breakdown :-) I dived a little
bit deeper into the problem
So far I have figured out that the problem relates to the mysql driver.
When using mysql-connector-java-3.0.15-ga-bin.jar everything works fine.
However using mysql-connector-java-3.1.12-bin.jar the problems below occur.
Strangely enough when using the first one, the UTF-8 content is
correctly rendered whereas the properties are not. For example instead
of a trademark symbol in the "Title" property the characters "â¢" are
displayed and I can not overwrite them correctly as the result will be
the same after saving the overwritten property.
Any more ideas for the cure? Sure enough the upgrade from MySQL 4.0.x to
4.1.x is the cause. I am wondering why nobody else has reported these
problems while upgrading an old OpenCms installation to the latest MySQL
release.
\Fabian
Fabian Huschka schrieb:
> Hello List,
>
> we had OpenCms running perfectly on our test system. However after a
> MySql update we receive strange error messages like the one below and
> the system is no longer accessible.
>
> Any ideas what might be wrong and/or how to fix the issue?
>
> Short system overview:
>
> OpenCms 6.2.3
> MySql Ver 14.7 Distrib 4.1.10a
> Tomcat 5.5.20
>
> Help is appreciated!
>
>
> \Fabian
>
> 06 Feb 2007 20:08:40,104 ERROR [.workplace.CmsWorkplaceManager:1323]
> Error reading view folder: [B at 1041876/
> org.opencms.file.CmsVfsResourceNotFoundException: Error reading resource
> from path "/[B at 1041876/".
> at
> org.opencms.file.CmsVfsResourceNotFoundException.createException(CmsVfsResourceNotFoundException.java:78)
> at org.opencms.db.CmsDbContext.throwException(CmsDbContext.java:213)
> at org.opencms.db.CmsDbContext.report(CmsDbContext.java:197)
> at
> org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:3830)
> at org.opencms.file.CmsObject.readResource(CmsObject.java:2711)
> at
> org.opencms.file.CmsObject.readPropertyObject(CmsObject.java:2577)
> at
> org.opencms.workplace.CmsWorkplaceManager.initWorkplaceViews(CmsWorkplaceManager.java:1286)
> at
> org.opencms.workplace.CmsWorkplaceManager.initialize(CmsWorkplaceManager.java:799)
> at
> org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:1001)
> at org.opencms.main.OpenCmsCore.initContext(OpenCmsCore.java:1111)
> at
> org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1527)
> at
> org.opencms.main.OpenCmsListener.contextInitialized(OpenCmsListener.java:87)
> at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
> at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
> at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
> at
> org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:904)
> at
> org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:867)
> at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
> at
> org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
> at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
> at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
> at
> org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
> at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
> at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
> at
> org.apache.catalina.core.StandardService.start(StandardService.java:450)
> at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
> Caused by: org.opencms.file.CmsVfsResourceNotFoundException: Unable to
> read resource "/[B at 1041876".
> at
> org.opencms.db.generic.CmsVfsDriver.readResource(CmsVfsDriver.java:1434)
> at
> org.opencms.db.CmsDriverManager.readResource(CmsDriverManager.java:5590)
> at
> org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:5595)
> at
> org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:3828)
> ... 32 more
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
>
More information about the opencms-dev
mailing list