AnsweredAssumed Answered

Axis Error Start session

Question asked by majdi on Oct 16, 2007
When to try to access to Alfresco via Webservices from a web application I have got this error.
Note that i use jdk1.4 (webserviceclient1.4.jar) and axis1.4
please can you help me.


11:44:11,993 DEBUG [transport.http.AxisServlet] Request Message:org.apache.axis.Message@1b7c9d1
11:44:11,993 DEBUG [transport.http.AxisServlet] HEADER_SOAP_ACTION:"http://www.alfresco.org/ws/service/authentication/1.0/startSession"
11:44:11,993 DEBUG [transport.http.AxisServlet] Invoking Axis Engine.
11:44:11,993 DEBUG [axis.server.AxisServer] Enter: AxisServer::invoke
11:44:12,009 DEBUG [axis.i18n.ProjectResourceBundle] org.apache.axis.i18n.resource::handleGetObject(defaultLogic00)
11:44:12,009 DEBUG [axis.server.AxisServer] Calling default logic in AxisServer
11:44:12,009 DEBUG [axis.i18n.ProjectResourceBundle] org.apache.axis.i18n.resource::handleGetObject(transport01)
11:44:12,009 DEBUG [axis.server.AxisServer] AxisServer.invoke:  Transport = 'http'
11:44:12,009 DEBUG [apache.axis.SimpleChain] Enter: SimpleChain::invoke
11:44:12,009 DEBUG [handlers.http.URLMapper] Enter: URLMapper::invoke
11:44:12,009 DEBUG [apache.axis.MessageContext] MessageContext: setTargetService(AuthenticationService)
11:44:12,040 DEBUG [axis.i18n.ProjectResourceBundle] org.apache.axis.i18n.resource::handleGetObject(exception00)
11:44:12,040 DEBUG [encoding.ser.BaseSerializerFactory] Exception:
java.lang.NoSuchMethodException: org.apache.axis.encoding.ser.ArraySerializerFactory.create(java.lang.Class, javax.xml.namespace.QName)
        at java.lang.Class.getMethod(Class.java:1581)
        at org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(BaseSerializerFactory.java:254)
        at org.apache.axis.deployment.wsdd.WSDDDeployment.deployMapping(WSDDDeployment.java:286)
        at org.apache.axis.deployment.wsdd.WSDDDeployment.getTypeMappingRegistry(WSDDDeployment.java:462)
        at org.apache.axis.configuration.FileProvider.getTypeMappingRegistry(FileProvider.java:262)
        at org.apache.axis.AxisEngine.getTypeMappingRegistry(AxisEngine.java:348)
        at org.apache.axis.handlers.soap.SOAPService.setEngine(SOAPService.java:229)
        at org.apache.axis.deployment.wsdd.WSDDService.makeNewInstance(WSDDService.java:470)
        at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
        at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
        at org.apache.axis.deployment.wsdd.WSDDDeployment.getService(WSDDDeployment.java:427)
        at org.apache.axis.configuration.FileProvider.getService(FileProvider.java:231)
        at org.apache.axis.AxisEngine.getService(AxisEngine.java:311)
        at org.apache.axis.MessageContext.setTargetService(MessageContext.java:756)
        at org.apache.axis.handlers.http.URLMapper.invoke(URLMapper.java:50)
        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.server.AxisServer.invoke(AxisServer.java:239)
        at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
        at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
        at java.lang.Thread.run(Thread.java:595)
11:44:12,040 DEBUG [axis.i18n.ProjectResourceBundle] org.apache.axis.i18n.resource::handleGetObject(exception00)
11:44:12,040 DEBUG [encoding.ser.BaseDeserializerFactory] Exception:
java.lang.NoSuchMethodException: org.apache.axis.encoding.ser.ArrayDeserializerFactory.create(java.lang.Class, javax.xml.namespace.QName)
        at java.lang.Class.getMethod(Class.java:1581)
        at org.apache.axis.encoding.ser.BaseDeserializerFactory.createFactory(BaseDeserializerFactory.java:225)
        at org.apache.axis.deployment.wsdd.WSDDDeployment.deployMapping(WSDDDeployment.java:301)
        at org.apache.axis.deployment.wsdd.WSDDDeployment.getTypeMappingRegistry(WSDDDeployment.java:462)
        at org.apache.axis.configuration.FileProvider.getTypeMappingRegistry(FileProvider.java:262)
        at org.apache.axis.AxisEngine.getTypeMappingRegistry(AxisEngine.java:348)
        at org.apache.axis.handlers.soap.SOAPService.setEngine(SOAPService.java:229)
        at org.apache.axis.deployment.wsdd.WSDDService.makeNewInstance(WSDDService.java:470)
        at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
        at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
        at org.apache.axis.deployment.wsdd.WSDDDeployment.getService(WSDDDeployment.java:427)
        at org.apache.axis.configuration.FileProvider.getService(FileProvider.java:231)
        at org.apache.axis.AxisEngine.getService(AxisEngine.java:311)
        at org.apache.axis.MessageContext.setTargetService(MessageContext.java:756)
        at org.apache.axis.handlers.http.URLMapper.invoke(URLMapper.java:50)
        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.server.AxisServer.invoke(AxisServer.java:239)
        at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
        at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
        at java.lang.Thread.run(Thread.java:595)
11:44:12,040 DEBUG [axis.i18n.ProjectResourceBundle] org.apache.axis.i18n.resource::handleGetObject(exception00)
11:44:12,040 DEBUG [encoding.ser.BaseDeserializerFactory] Exception:
java.lang.NoSuchMethodException: org.apache.axis.encoding.ser.ArrayDeserializerFactory.create(java.lang.Class, javax.xml.namespace.QName)
        at java.lang.Class.getMethod(Class.java:1581)
        at org.apache.axis.encoding.ser.BaseDeserializerFactory.createFactory(BaseDeserializerFactory.java:225)
        at org.apache.axis.deployment.wsdd.WSDDDeployment.deployMapping(WSDDDeployment.java:301)
        at org.apache.axis.deployment.wsdd.WSDDDeployment.getTypeMappingRegistry(WSDDDeployment.java:462)
        at org.apache.axis.configuration.FileProvider.getTypeMappingRegistry(FileProvider.java:262)
        at org.apache.axis.AxisEngine.getTypeMappingRegistry(AxisEngine.java:348)
        at org.apache.axis.handlers.soap.SOAPService.setEngine(SOAPService.java:229)
        at org.apache.axis.deployment.wsdd.WSDDService.makeNewInstance(WSDDService.java:470)
        at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
        at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
        at org.apache.axis.deployment.wsdd.WSDDDeployment.getService(WSDDDeployment.java:427)
        at org.apache.axis.configuration.FileProvider.getService(FileProvider.java:231)
        at org.apache.axis.AxisEngine.getService(AxisEngine.java:311)
        at org.apache.axis.MessageContext.setTargetService(MessageContext.java:756)
        at org.apache.axis.handlers.http.URLMapper.invoke(URLMapper.java:50)
        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.server.AxisServer.invoke(AxisServer.java:239)
        at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
        at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
        at java.lang.Thread.run(Thread.java:595)
11:44:12,040 DEBUG [axis.i18n.ProjectResourceBundle] org.apache.axis.i18n.resource::handleGetObject(exception00)
11:44:12,040 DEBUG [encoding.ser.BaseDeserializerFactory] Exception:
java.lang.NoSuchMethodException: org.apache.axis.encoding.ser.ArrayDeserializerFactory.<init>(java.lang.Class, javax.xml.namespace.QName)
        at java.lang.Class.getConstructor0(Class.java:2647)
        at java.lang.Class.getConstructor(Class.java:1629)
        at org.apache.axis.encoding.ser.BaseDeserializerFactory.createFactory(BaseDeserializerFactory.java:246)
        at org.apache.axis.deployment.wsdd.WSDDDeployment.deployMapping(WSDDDeployment.java:301)
        at org.apache.axis.deployment.wsdd.WSDDDeployment.getTypeMappingRegistry(WSDDDeployment.java:462)
        at org.apache.axis.configuration.FileProvider.getTypeMappingRegistry(FileProvider.java:262)
        at org.apache.axis.AxisEngine.getTypeMappingRegistry(AxisEngine.java:348)
        at org.apache.axis.handlers.soap.SOAPService.setEngine(SOAPService.java:229)
        at org.apache.axis.deployment.wsdd.WSDDService.makeNewInstance(WSDDService.java:470)
        at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
        at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
        at org.apache.axis.deployment.wsdd.WSDDDeployment.getService(WSDDDeployment.java:427)
        at org.apache.axis.configuration.FileProvider.getService(FileProvider.java:231)
        at org.apache.axis.AxisEngine.getService(AxisEngine.java:311)
        at org.apache.axis.MessageContext.setTargetService(MessageContext.java:756)
        at org.apache.axis.handlers.http.URLMapper.invoke(URLMapper.java:50)
        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.server.AxisServer.invoke(AxisServer.java:239)
        at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
        at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
        at java.lang.Thread.run(Thread.java:595)
11:44:12,071 DEBUG [axis.description.OperationDesc] @dffa9dsetReturnType(null)
11:44:12,071 DEBUG [apache.axis.MessageContext] MessageContext: setServiceHandler(org.apache.axis.handlers.soap.SOAPService@1823290)
11:44:12,071 DEBUG [handlers.http.URLMapper] Exit: URLMapper::invoke
11:44:12,087 DEBUG [apache.axis.SimpleChain] Exit: SimpleChain::invoke
11:44:12,087 DEBUG [apache.axis.SOAPPart] Enter: SOAPPart::getAsSOAPEnvelope()
11:44:12,087 DEBUG [axis.i18n.ProjectResourceBundle] org.apache.axis.i18n.resource::handleGetObject(currForm)
11:44:12,087 DEBUG [apache.axis.SOAPPart] current form is FORM_INPUTSTREAM
11:44:12,118 DEBUG [axis.i18n.ProjectResourceBundle] org.apache.axis.i18n.resource::handleGetObject(pushHandler00)
11:44:12,118 DEBUG [axis.encoding.DeserializationContext] Pushing handler org.apache.axis.message.EnvelopeHandler@734770

Outcomes