[GitHub] Anarchists commented on issue #1080: Exception loading sessions from persistent storage
Anarchists commented on issue #1080: Exception loading sessions from persistent storage URL: https://github.com/apache/incubator-skywalking/issues/1080#issuecomment-382241803 I change the @RestController annotation in the session object, and it works , thanks a lot for your patience. This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] Anarchists commented on issue #1080: Exception loading sessions from persistent storage
Anarchists commented on issue #1080: Exception loading sessions from persistent storage URL: https://github.com/apache/incubator-skywalking/issues/1080#issuecomment-381950220 Spring session component like this? ```java import org.springframework.context.annotation.Scope; import org.springframework.web.bind.annotation.RestController; import org.springframework.web.context.WebApplicationContext; @RestController("SessionObjImp") @Scope(WebApplicationContext.SCOPE_SESSION) public class SessionObjImp ``` This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] Anarchists commented on issue #1080: Exception loading sessions from persistent storage
Anarchists commented on issue #1080: Exception loading sessions from persistent storage URL: https://github.com/apache/incubator-skywalking/issues/1080#issuecomment-381930730 when I visit the login page of my app,the fellowing errors occur: ```java INFO | jvm 1| 2018/04/17 17:37:12 | java.io.NotSerializableException: org.apache.skywalking.apm.plugin.spring.mvc.commons.EnhanceRequireObjectCache INFO | jvm 1| 2018/04/17 17:37:12 |at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184) INFO | jvm 1| 2018/04/17 17:37:12 |at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548) INFO | jvm 1| 2018/04/17 17:37:12 |at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509) INFO | jvm 1| 2018/04/17 17:37:12 |at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) INFO | jvm 1| 2018/04/17 17:37:12 |at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) INFO | jvm 1| 2018/04/17 17:37:12 |at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548) INFO | jvm 1| 2018/04/17 17:37:12 |at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509) INFO | jvm 1| 2018/04/17 17:37:12 |at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) INFO | jvm 1| 2018/04/17 17:37:12 |at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) INFO | jvm 1| 2018/04/17 17:37:12 |at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548) INFO | jvm 1| 2018/04/17 17:37:12 |at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509) INFO | jvm 1| 2018/04/17 17:37:12 |at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) INFO | jvm 1| 2018/04/17 17:37:12 |at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) INFO | jvm 1| 2018/04/17 17:37:12 |at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) INFO | jvm 1| 2018/04/17 17:37:12 |at java.util.HashMap.internalWriteEntries(HashMap.java:1785) INFO | jvm 1| 2018/04/17 17:37:12 |at java.util.HashMap.writeObject(HashMap.java:1362) INFO | jvm 1| 2018/04/17 17:37:12 |at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO | jvm 1| 2018/04/17 17:37:12 |at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) INFO | jvm 1| 2018/04/17 17:37:12 |at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) INFO | jvm 1| 2018/04/17 17:37:12 |at java.lang.reflect.Method.invoke(Method.java:498) INFO | jvm 1| 2018/04/17 17:37:12 |at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1028) INFO | jvm 1| 2018/04/17 17:37:12 |at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496) INFO | jvm 1| 2018/04/17 17:37:12 |at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) INFO | jvm 1| 2018/04/17 17:37:12 |at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) INFO | jvm 1| 2018/04/17 17:37:12 |at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548) INFO | jvm 1| 2018/04/17 17:37:12 |at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509) INFO | jvm 1| 2018/04/17 17:37:12 |at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) INFO | jvm 1| 2018/04/17 17:37:12 |at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) INFO | jvm 1| 2018/04/17 17:37:12 |at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) INFO | jvm 1| 2018/04/17 17:37:12 |at com.**.core.utils.serial.SerializeUtil.serialize(SerializeUtil.java:36) INFO | jvm 1| 2018/04/17 17:37:12 |at com.**.core.utils.clustered.ClusteredSessionManager.saveSession(ClusteredSessionManager.java:83) INFO | jvm 1| 2018/04/17 17:37:12 |at com.**.core.utils.clustered.ClusteredSessionManager.access$1(ClusteredSessionManager.java:67) INFO | jvm 1| 2018/04/17 17:37:12 |at com.**.core.utils.clustered.ClusteredSessionManager$2.completed(ClusteredSessionManager.java:150) INFO | jvm 1| 2018/04/17 17:37:12 |at com.**.core.utils.clustered.RequestEventSubject.completed(RequestEventSubject.java:20) INFO | jvm 1| 2018/04/17 17:37:12 |at com.**.core.utils.clustered.ClusteredSessionFilter.doFilter(ClusteredSessionFilter.java:64) INFO | jvm 1| 2018/04/17 17:37:12 |at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationF
[GitHub] Anarchists commented on issue #1080: Exception loading sessions from persistent storage
Anarchists commented on issue #1080: Exception loading sessions from persistent storage URL: https://github.com/apache/incubator-skywalking/issues/1080#issuecomment-381930730 when I visit the login page of my app,the fellowing errors occur: INFO | jvm 1| 2018/04/17 17:37:12 | java.io.NotSerializableException: org.apache.skywalking.apm.plugin.spring.mvc.commons.EnhanceRequireObjectCache INFO | jvm 1| 2018/04/17 17:37:12 |at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184) INFO | jvm 1| 2018/04/17 17:37:12 |at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548) INFO | jvm 1| 2018/04/17 17:37:12 |at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509) INFO | jvm 1| 2018/04/17 17:37:12 |at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) INFO | jvm 1| 2018/04/17 17:37:12 |at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) INFO | jvm 1| 2018/04/17 17:37:12 |at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548) INFO | jvm 1| 2018/04/17 17:37:12 |at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509) INFO | jvm 1| 2018/04/17 17:37:12 |at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) INFO | jvm 1| 2018/04/17 17:37:12 |at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) INFO | jvm 1| 2018/04/17 17:37:12 |at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548) INFO | jvm 1| 2018/04/17 17:37:12 |at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509) INFO | jvm 1| 2018/04/17 17:37:12 |at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) INFO | jvm 1| 2018/04/17 17:37:12 |at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) INFO | jvm 1| 2018/04/17 17:37:12 |at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) INFO | jvm 1| 2018/04/17 17:37:12 |at java.util.HashMap.internalWriteEntries(HashMap.java:1785) INFO | jvm 1| 2018/04/17 17:37:12 |at java.util.HashMap.writeObject(HashMap.java:1362) INFO | jvm 1| 2018/04/17 17:37:12 |at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO | jvm 1| 2018/04/17 17:37:12 |at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) INFO | jvm 1| 2018/04/17 17:37:12 |at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) INFO | jvm 1| 2018/04/17 17:37:12 |at java.lang.reflect.Method.invoke(Method.java:498) INFO | jvm 1| 2018/04/17 17:37:12 |at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1028) INFO | jvm 1| 2018/04/17 17:37:12 |at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496) INFO | jvm 1| 2018/04/17 17:37:12 |at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) INFO | jvm 1| 2018/04/17 17:37:12 |at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) INFO | jvm 1| 2018/04/17 17:37:12 |at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548) INFO | jvm 1| 2018/04/17 17:37:12 |at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509) INFO | jvm 1| 2018/04/17 17:37:12 |at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) INFO | jvm 1| 2018/04/17 17:37:12 |at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) INFO | jvm 1| 2018/04/17 17:37:12 |at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) INFO | jvm 1| 2018/04/17 17:37:12 |at com.**.core.utils.serial.SerializeUtil.serialize(SerializeUtil.java:36) INFO | jvm 1| 2018/04/17 17:37:12 |at com.**.core.utils.clustered.ClusteredSessionManager.saveSession(ClusteredSessionManager.java:83) INFO | jvm 1| 2018/04/17 17:37:12 |at com.**.core.utils.clustered.ClusteredSessionManager.access$1(ClusteredSessionManager.java:67) INFO | jvm 1| 2018/04/17 17:37:12 |at com.**.core.utils.clustered.ClusteredSessionManager$2.completed(ClusteredSessionManager.java:150) INFO | jvm 1| 2018/04/17 17:37:12 |at com.**.core.utils.clustered.RequestEventSubject.completed(RequestEventSubject.java:20) INFO | jvm 1| 2018/04/17 17:37:12 |at com.**.core.utils.clustered.ClusteredSessionFilter.doFilter(ClusteredSessionFilter.java:64) INFO | jvm 1| 2018/04/17 17:37:12 |at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.
[GitHub] Anarchists commented on issue #1080: Exception loading sessions from persistent storage
Anarchists commented on issue #1080: Exception loading sessions from persistent storage URL: https://github.com/apache/incubator-skywalking/issues/1080#issuecomment-381872543 sorry,I have no permissions to modify the company's Tomcat configuration. so Modifying the config file can only work in my local test environment. This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] Anarchists commented on issue #1080: Exception loading sessions from persistent storage
Anarchists commented on issue #1080: Exception loading sessions from persistent storage URL: https://github.com/apache/incubator-skywalking/issues/1080#issuecomment-381866965 I won't add the above configuration in Tomcat,because I can't assess the impact on other projects. By adding above configuration,Tomcat will not save session resources when it closes, so the NotSerializableException doesn't occur. This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] Anarchists commented on issue #1080: Exception loading sessions from persistent storage
Anarchists commented on issue #1080: Exception loading sessions from persistent storage URL: https://github.com/apache/incubator-skywalking/issues/1080#issuecomment-381573601 I try to modify the server.xml of tomcat,adding configuration as flow: `` , it works and the error doesn't occur . This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] Anarchists commented on issue #1080: Exception loading sessions from persistent storage
Anarchists commented on issue #1080: Exception loading sessions from persistent storage URL: https://github.com/apache/incubator-skywalking/issues/1080#issuecomment-381567478 I didn't use Spring session component . I just create a filter to realize my own wrapper class for request and session . This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] Anarchists commented on issue #1080: Exception loading sessions from persistent storage
Anarchists commented on issue #1080: Exception loading sessions from persistent storage URL: https://github.com/apache/incubator-skywalking/issues/1080#issuecomment-381521469 sorry, I can't This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] Anarchists commented on issue #1080: Exception loading sessions from persistent storage
Anarchists commented on issue #1080: Exception loading sessions from persistent storage URL: https://github.com/apache/incubator-skywalking/issues/1080#issuecomment-381516437 I didn't use @Trace annotation This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services