<div dir="ltr"><div><div>Hi,<br><br></div>try with newer code from wildfly master.<br><br>We removed persistent session from default configuration as it does not work 100% yet.<br><br>--<br></div>tomaz<br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Feb 11, 2014 at 8:25 PM, Wolfgang Knauf <span dir="ltr">&lt;<a href="mailto:wolfgang.knauf@gmx.de" target="_blank">wolfgang.knauf@gmx.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
<br>
I observe some warning stack traces when doing a<br>
&quot;.dodeploy&quot;/&quot;.undeploy&quot;./&quot;.dodeploy&quot; cycle of an exploded JSF application.<br>
<br>
A sample application is attached to<br>
<a href="https://community.jboss.org/message/856452" target="_blank">https://community.jboss.org/message/856452</a><br>
In this forum post, I reported a &quot;locked manifest.mf&quot; file error, so<br>
maybe the exceptions are related to this error.<br>
<br>
To reproduce: extract the zip file content attached to the forum post to<br>
the &quot;deployments&quot; directory of a standalone WildFly CR1 server. Create a<br>
&quot;KuchenZutatJSF.ear.dodeploy&quot; marker file. After this first &quot;.dodeploy&quot;,<br>
access the<br>
URL <a href="http://localhost:8080/KuchenZutatJSFWeb/kuchenliste.faces" target="_blank">http://localhost:8080/KuchenZutatJSFWeb/kuchenliste.faces</a> (that<br>
should be enough to reproduce the error).<br>
<br>
Then create &quot;.undeploy&quot; and &quot;.dodeploy&quot; marker files.<br>
<br>
Now a warning stacktrace is in console, e.g. this one:<br>
<br>
20:55:48,617 INFO  [javax.enterprise.resource.webcontainer.jsf.config]<br>
(MSC service thread 1-1) Mojarra 2.2.4-jbossorg-1 20131017-1524 für<br>
Kontext &#39;/KuchenZutatJSFWeb&#39; wird initialisiert.<br>
20:55:48,977 WARN  [io.undertow.servlet] (MSC service thread 1-1)<br>
UT015008: Failed to load development mode persistent sessions:<br>
java.lang.ClassNotFoundException:<br>
pertyKeyses.component.UIComponent$ProertyKeysm from [Module<br>
&quot;javax.faces.api:main&quot; from local module loader @1087359 (finder: local<br>
module finder @1ccf342 (roots:<br>
C:\Temp\wildfly-8.0.0.CR1\modules,C:\Temp\wildfly-8.0.0.CR1\modules\system\layers\base))]<br>
        at<br>
org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:197) [jboss-modules.jar:1.3.0.Final]<br>
        at<br>
org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:443)<br>
[jboss-modules.jar:1.3.0.Final]<br>
        at<br>
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:431)<br>
[jboss-modules.jar:1.3.0.Final]<br>
        at<br>
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:373)<br>
[jboss-modules.jar:1.3.0.Final]<br>
        at<br>
org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:118)<br>
[jboss-modules.jar:1.3.0.Final]<br>
        at java.lang.Class.forName0(Native Method) [rt.jar:1.7.0_51]<br>
        at java.lang.Class.forName(Unknown Source) [rt.jar:1.7.0_51]<br>
        at<br>
org.jboss.marshalling.ModularClassResolver.resolveClass(ModularClassResolver.java:106)<br>
        at<br>
org.jboss.marshalling.river.RiverUnmarshaller.doReadClassDescriptor(RiverUnmarshaller.java:1006)<br>
        at<br>
org.jboss.marshalling.river.RiverUnmarshaller.doReadNewObject(RiverUnmarshaller.java:1243)<br>
        at<br>
org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:276)<br>
        at<br>
org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:213)<br>
        at<br>
org.jboss.marshalling.river.RiverUnmarshaller.doReadCollectionObject(RiverUnmarshaller.java:184)<br>
        at<br>
org.jboss.marshalling.river.RiverUnmarshaller.doReadObjectArray(RiverUnmarshaller.java:1540)<br>
        at<br>
org.jboss.marshalling.river.RiverUnmarshaller.doReadArray(RiverUnmarshaller.java:1579)<br>
        at<br>
org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:330)<br>
        at<br>
org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:213)<br>
        at<br>
org.jboss.marshalling.river.RiverUnmarshaller.doReadCollectionObject(RiverUnmarshaller.java:184)<br>
        at<br>
org.jboss.marshalling.river.RiverUnmarshaller.doReadObjectArray(RiverUnmarshaller.java:1540)<br>
        at<br>
org.jboss.marshalling.river.RiverUnmarshaller.doReadArray(RiverUnmarshaller.java:1579)<br>
        at<br>
org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:330)<br>
        at<br>
org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:213)<br>
        at<br>
org.jboss.marshalling.river.RiverUnmarshaller.doReadCollectionObject(RiverUnmarshaller.java:184)<br>
        at<br>
org.jboss.marshalling.river.RiverUnmarshaller.doReadObjectArray(RiverUnmarshaller.java:1540)<br>
        at<br>
org.jboss.marshalling.river.RiverUnmarshaller.doReadArray(RiverUnmarshaller.java:1579)<br>
        at<br>
org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:330)<br>
        at<br>
org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:213)<br>
        at<br>
org.jboss.marshalling.river.RiverUnmarshaller.doReadCollectionObject(RiverUnmarshaller.java:184)<br>
        at<br>
org.jboss.marshalling.river.RiverUnmarshaller.doReadObjectArray(RiverUnmarshaller.java:1540)<br>
        at<br>
org.jboss.marshalling.river.RiverUnmarshaller.doReadArray(RiverUnmarshaller.java:1579)<br>
        at<br>
org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:330)<br>
        at<br>
org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:213)<br>
        at<br>
org.jboss.marshalling.river.RiverUnmarshaller.doReadCollectionObject(RiverUnmarshaller.java:184)<br>
        at<br>
org.jboss.marshalling.river.RiverUnmarshaller.doReadObjectArray(RiverUnmarshaller.java:1540)<br>
        at<br>
org.jboss.marshalling.river.RiverUnmarshaller.doReadArray(RiverUnmarshaller.java:1579)<br>
        at<br>
org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:330)<br>
        at<br>
org.jboss.marshalling.river.BlockUnmarshaller.readObject(BlockUnmarshaller.java:153)<br>
        at<br>
org.jboss.marshalling.river.BlockUnmarshaller.readObject(BlockUnmarshaller.java:139)<br>
        at<br>
org.jboss.marshalling.MarshallerObjectInputStream.readObjectOverride(MarshallerObjectInputStream.java:57)<br>
        at java.io.ObjectInputStream.readObject(Unknown Source) [rt.jar:1.7.0_51]<br>
        at java.util.HashMap.readObject(Unknown Source) [rt.jar:1.7.0_51]<br>
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
[rt.jar:1.7.0_51]<br>
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)<br>
[rt.jar:1.7.0_51]<br>
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)<br>
[rt.jar:1.7.0_51]<br>
        at java.lang.reflect.Method.invoke(Unknown Source) [rt.jar:1.7.0_51]<br>
        at<br>
org.jboss.marshalling.reflect.SerializableClass.callReadObject(SerializableClass.java:311)<br>
        at<br>
org.jboss.marshalling.river.RiverUnmarshaller.doInitSerializable(RiverUnmarshaller.java:1612)<br>
        at<br>
org.jboss.marshalling.river.RiverUnmarshaller.doInitSerializable(RiverUnmarshaller.java:1595)<br>
        at<br>
org.jboss.marshalling.river.RiverUnmarshaller.doInitSerializable(RiverUnmarshaller.java:1595)<br>
        at<br>
org.jboss.marshalling.river.RiverUnmarshaller.doReadNewObject(RiverUnmarshaller.java:1273)<br>
        at<br>
org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:276)<br>
        at<br>
org.jboss.marshalling.river.BlockUnmarshaller.readObject(BlockUnmarshaller.java:153)<br>
        at<br>
org.jboss.marshalling.river.BlockUnmarshaller.readObject(BlockUnmarshaller.java:139)<br>
        at<br>
org.jboss.marshalling.MarshallerObjectInputStream.readObjectOverride(MarshallerObjectInputStream.java:57)<br>
        at java.io.ObjectInputStream.readObject(Unknown Source) [rt.jar:1.7.0_51]<br>
        at java.util.HashMap.readObject(Unknown Source) [rt.jar:1.7.0_51]<br>
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
[rt.jar:1.7.0_51]<br>
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)<br>
[rt.jar:1.7.0_51]<br>
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)<br>
[rt.jar:1.7.0_51]<br>
        at java.lang.reflect.Method.invoke(Unknown Source) [rt.jar:1.7.0_51]<br>
        at<br>
org.jboss.marshalling.reflect.SerializableClass.callReadObject(SerializableClass.java:311)<br>
        at<br>
org.jboss.marshalling.river.RiverUnmarshaller.doInitSerializable(RiverUnmarshaller.java:1612)<br>
        at<br>
org.jboss.marshalling.river.RiverUnmarshaller.doInitSerializable(RiverUnmarshaller.java:1595)<br>
        at<br>
org.jboss.marshalling.river.RiverUnmarshaller.doInitSerializable(RiverUnmarshaller.java:1595)<br>
        at<br>
org.jboss.marshalling.river.RiverUnmarshaller.doReadNewObject(RiverUnmarshaller.java:1273)<br>
        at<br>
org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:276)<br>
        at<br>
org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:213)<br>
        at<br>
org.jboss.marshalling.AbstractObjectInput.readObject(AbstractObjectInput.java:45)<br>
        at<br>
org.wildfly.extension.undertow.AbstractPersistentSessionManager.loadSessionAttributes(AbstractPersistentSessionManager.java:91)<br>
        at<br>
io.undertow.servlet.handlers.SessionRestoringHandler.start(SessionRestoringHandler.java:56)<br>
[undertow-servlet-1.0.0.Beta30.jar:1.0.0.Beta30]<br>
        at<br>
io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:462)<br>
[undertow-servlet-1.0.0.Beta30.jar:1.0.0.Beta30]<br>
        at<br>
org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:87)<br>
        at<br>
org.wildfly.extension.undertow.deployment.UndertowDeploymentService.start(UndertowDeploymentService.java:71)<br>
        at<br>
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)<br>
        at<br>
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)<br>
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)<br>
[rt.jar:1.7.0_51]<br>
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)<br>
[rt.jar:1.7.0_51]<br>
        at java.lang.Thread.run(Unknown Source) [rt.jar:1.7.0_51]<br>
<br>
Another time, I saw this one:<br>
<br>
20:50:24,811 WARN  [io.undertow.servlet] (MSC service thread 1-1)<br>
UT015008: Failed to load development mode persistent sessions:<br>
java.lang.IllegalArgumentException: No enum constant<br>
javax.faces.component.UIComponent.PropertyKeys.gsndinsp<br>
     at java.lang.Enum.valueOf(Unknown Source) [rt.jar:1.7.0_51]<br>
     at<br>
org.jboss.marshalling.river.RiverUnmarshaller.resolveEnumConstant(RiverUnmarshaller.java:1586)<br>
     at<br>
org.jboss.marshalling.river.RiverUnmarshaller.doReadNewObject(RiverUnmarshaller.java:1330)<br>
<br>
Is this related to the &quot;locked files&quot; issue, or is this an Undertow issue?<br>
<br>
<br>
Best regards<br>
<span class="HOEnZb"><font color="#888888"><br>
Wolfgang Knauf<br>
_______________________________________________<br>
undertow-dev mailing list<br>
<a href="mailto:undertow-dev@lists.jboss.org">undertow-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/undertow-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/undertow-dev</a><br>
</font></span></blockquote></div><br></div>