This registry component tests error shows up on Linux/MySQL for the current
cvs version, (it apparently works on windows):

Testcase:
test1(org.apache.jetspeed.components.portletregistry.TestPortletRegistryDAO)
: Caused an ERROR
Could not lockSystem prefs.Lock file access denied.
java.lang.SecurityException: Could not lockSystem prefs.Lock file access
denied.
        at
java.util.prefs.FileSystemPreferences.checkLockFile0ErrorCode(FileSystemPref
erences.java:919)
        at
java.util.prefs.FileSystemPreferences.lockFile(FileSystemPreferences.java:90
8)
        at
java.util.prefs.FileSystemPreferences.removeNode(FileSystemPreferences.java:
656)
        at
org.apache.jetspeed.components.portletregistry.PersistenceStorePortletRegist
ry.removeApplication(PersistenceStorePortletRegistry.java:203)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
        at
org.springframework.aop.framework.AopProxyUtils.invokeJoinpointUsingReflecti
on(AopProxyUtils.java:61)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint
(ReflectiveMethodInvocation.java:149)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:116)
        at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(Tr
ansactionInterceptor.java:56)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:138)
        at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopPro
xy.java:152)
        at $Proxy0.removeApplication(Unknown Source)
        at
org.apache.jetspeed.components.portletregistry.TestPortletRegistryDAO.tearDo
wn(TestPortletRegistryDAO.java:87)

Testcase:
testData(org.apache.jetspeed.components.portletregistry.TestPortletRegistryD
AO):      Caused an ERROR
Could not lockSystem prefs.Lock file access denied.
java.lang.SecurityException: Could not lockSystem prefs.Lock file access
denied.
        at
java.util.prefs.FileSystemPreferences.checkLockFile0ErrorCode(FileSystemPref
erences.java:919)
        at
java.util.prefs.FileSystemPreferences.lockFile(FileSystemPreferences.java:90
8)
        at
java.util.prefs.FileSystemPreferences.removeNode(FileSystemPreferences.java:
656)
        at
org.apache.jetspeed.components.portletregistry.PersistenceStorePortletRegist
ry.removeApplication(PersistenceStorePortletRegistry.java:203)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
        at
org.springframework.aop.framework.AopProxyUtils.invokeJoinpointUsingReflecti
on(AopProxyUtils.java:61)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint
(ReflectiveMethodInvocation.java:149)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:116)
        at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(Tr
ansactionInterceptor.java:56)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:138)
        at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopPro
xy.java:152)
        at $Proxy0.removeApplication(Unknown Source)
        at
org.apache.jetspeed.components.portletregistry.TestPortletRegistryDAO.tearDo
wn(TestPortletRegistryDAO.java:87)

Reply via email to