ADH2COB
I'm new here

FS 4.2.488 Server Connection Exception

Hi,

     Getting the below exception while trying to connect to First Spirit 4.2.488 via a webapp deployed in tomcat.

java.lang.ArrayStoreException: de.espirit.firstspirit.server.authentication.AuthenticationManagerImpl$ModuleInfoImpl

          at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1685)

          at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1323)

          at java.io.ObjectInputStream.readObject(ObjectInputStream.java:349)

          at de.espirit.firstspirit.io.IOUtil.readObjects(IOUtil.java:309)

          at de.espirit.firstspirit.client.io.SocketServerCaller.call(SocketServerCaller.java:219)

          at de.espirit.firstspirit.client.io.SocketServerCaller.call(SocketServerCaller.java:26)

          at de.espirit.firstspirit.client.io.ServerCaller.call(ServerCaller.java:233)

          at de.espirit.firstspirit.client.io.ServerCaller.doManagerCall(ServerCaller.java:390)

          at de.espirit.firstspirit.client.io.ServerCaller.callManager(ServerCaller.java:372)

          at de.espirit.firstspirit.io.DefaultClientHandler.callManager(DefaultClientHandler.java:49)

          at de.espirit.firstspirit.client.io.RemoteManagerCaller.invoke(RemoteManagerCaller.java:52)

          at com.sun.proxy.$Proxy27.getConfiguration(Unknown Source)

          at de.espirit.firstspirit.server.authentication.AuthConfiguration.getAppConfigurationEntry(AuthConfiguration.java:55)

          at javax.security.auth.login.LoginContext.init(LoginContext.java:243)

          at javax.security.auth.login.LoginContext.<init>(LoginContext.java:499)

          at de.espirit.firstspirit.server.authentication.AuthLoginContext.<init>(AuthLoginContext.java:19)

          at de.espirit.firstspirit.server.authentication.AuthenticationManagerProxy.createLoginContext(AuthenticationManagerProxy.java:55)

          at de.espirit.firstspirit.client.io.ConnectionImpl.connect(ConnectionImpl.java:222)

          at wsdl.com.bosch.idm.webservice.SoapBindingImpl.getUser(SoapBindingImpl.java:393)

          at wsdl.com.bosch.idm.webservice.SoapBindingSkeleton.getUser(SoapBindingSkeleton.java:331)

          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:597)

          at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)

          at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)

          at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)

          at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)

          at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)

          at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)

          at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)

          at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)

          at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)

          at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)

          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)

          at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:615)

          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)

          at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)

          at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:311)

          at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)

          at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)

          at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)

          at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)

          at java.lang.Thread.run(Thread.java:680)

.Any idea to resolve.

0 Kudos
7 Replies
kohlbrecher
Crownpeak employee

Hi Ajay,

can you please give us the logged exception on tomcat?

Best regards

Jan

0 Kudos

Hello Jan-Philipp,

     Below is the exception wheni stack trace it,

java.lang.ArrayStoreException: de.espirit.firstspirit.server.authentication.AuthenticationManagerImpl$ModuleInfoImpl

java.lang.ArrayStoreException: de.espirit.firstspirit.server.authentication.AuthenticationManagerImpl$ModuleInfoImpl

          at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1685)

          at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1323)

          at java.io.ObjectInputStream.readObject(ObjectInputStream.java:349)

          at de.espirit.firstspirit.io.IOUtil.readObjects(IOUtil.java:309)

          at de.espirit.firstspirit.client.io.SocketServerCaller.call(SocketServerCaller.java:219)

          at de.espirit.firstspirit.client.io.SocketServerCaller.call(SocketServerCaller.java:26)

          at de.espirit.firstspirit.client.io.ServerCaller.call(ServerCaller.java:233)

          at de.espirit.firstspirit.client.io.ServerCaller.doManagerCall(ServerCaller.java:390)

          at de.espirit.firstspirit.client.io.ServerCaller.callManager(ServerCaller.java:372)

          at de.espirit.firstspirit.io.DefaultClientHandler.callManager(DefaultClientHandler.java:49)

          at de.espirit.firstspirit.client.io.RemoteManagerCaller.invoke(RemoteManagerCaller.java:52)

          at com.sun.proxy.$Proxy27.getConfiguration(Unknown Source)

          at de.espirit.firstspirit.server.authentication.AuthConfiguration.getAppConfigurationEntry(AuthConfiguration.java:55)

          at javax.security.auth.login.LoginContext.init(LoginContext.java:243)

          at javax.security.auth.login.LoginContext.<init>(LoginContext.java:499)

          at de.espirit.firstspirit.server.authentication.AuthLoginContext.<init>(AuthLoginContext.java:19)

          at de.espirit.firstspirit.server.authentication.AuthenticationManagerProxy.createLoginContext(AuthenticationManagerProxy.java:55)

          at de.espirit.firstspirit.client.io.ConnectionImpl.connect(ConnectionImpl.java:222)

          at wsdl.com.bosch.idm.webservice.SoapBindingImpl.getUser(SoapBindingImpl.java:393)

          at wsdl.com.bosch.idm.webservice.SoapBindingSkeleton.getUser(SoapBindingSkeleton.java:331)

          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:597)

          at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)

          at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)

          at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)

          at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)

          at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)

          at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)

          at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)

          at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)

          at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)

          at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)

          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)

          at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:615)

          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)

          at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)

          at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:311)

          at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)

          at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)

          at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)

          at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)

          at java.lang.Thread.run(Thread.java:680)

0 Kudos

Hi Ajay,

this could be a ClassLoader problem. Is your tomcat configurated like told in chapter 4.5.3 in the FS Admin Documentation?

Best regards

Jan

0 Kudos
Peter_Jodeleit
Crownpeak employee

Why did you duplicate your post from https://community.e-spirit.com/message/17816

??

Peter
0 Kudos

Since I am new to the community I did it by mistake..

0 Kudos

Hello Ajay,

First of all: Welcome in our community. Smiley Happy

Ajay Kumar schrieb:

Since I am new to the community I did it by mistake..

This can happen and it is nothing to worry about. Smiley Wink

I will mark this thread as answered, so that just the other one is still open and can be used to find a solution for your question.

Best regards

Michaela

0 Kudos

Okay Michaela Pahl fine..Let the other be opened.

0 Kudos