Search the FirstSpirit Knowledge Base
Any idea on the beloe exception.Getting it when attempting to connecting to the First Spirit server.Using 4.2.488 FS version.
administratorde.espirit.firstspirit.common.IOError: Authorisation error - de.espirit.firstspirit.common.IOError: Error reading remote objects!() - java.io.IOException: Connection reset by peer
Hello,
did you get any StackTrace to the exception? Without it it's very difficult to say something about a potential bug.
Best regards
Michaela
I just replced the fs-access jar usinf fs-access4.2.488.jar and got the below exception in stack trace
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)
Could you reveal some details about the network topology between your computer and the FirstSpirit-Server? Perhaps it's a special setting (firewall?) on your computer? Is the problem for everyone in your network?
The stack trace you provided is not from our client but from a web application. Could you give some datails about this (kind of webcontainer, where did you put the fs-accessXXX.jar, etc.)? Do you get the same exception when accessing the server with our client? Do server version and fs-access version match?
Hello Peter Jodeleit,
Thanks for your reply.Y es its a webbapplication. We have a webservice running on Tomcat 6,this service is making an connections with FS server,the exception occurs when the connect() method in Connection class is called.We have the fs-access jar in the webapp class path.Accessing via client its perfect.Getting exception only when accessed via webapp.
We have developed similar kind of service for FS5.0.There are no issues with it and it works perfect.
Why have you posted this again? https://community.e-spirit.com/message/17838
Since I am new to the community I did it by mistake..
As written in the other thread I marked the other one as answered, so this one should be used for the further conversation and to find to a solution for the question.
Best regards
Michaela
Okay Michaele fine.
Hello,
do you need further help or did you already find a solution by yourself? If so it would be very kind of you, if you posted it here.
Best regards
Michaela