Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Rajeev K
liferay-portal-tunnel-web-6.0.5 - AXIS Error
September 27, 2011 2:24 AM
Answer

Rajeev K

Rank: Regular Member

Posts: 162

Join Date: June 18, 2009

Recent Posts

HI I am using Liferay 6.0.5 with JBoss 5

I want to expose the Liferay webservices using liferay-portal-tunnel-web-6.0.5

I am getting error like:-

  1
  2AXIS error
  3
  4Sorry, something seems to have gone wrong... here are the details:
  5
  6Fault - ; nested exception is:
  7    org.apache.axis.ConfigurationException: java.lang.ClassCastException: org.apache.axis.handlers.http.URLMapper cannot be cast to org.apache.axis.Handler
  8java.lang.ClassCastException: org.apache.axis.handlers.http.URLMapper cannot be cast to org.apache.axis.Handler
  9    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.makeNewInstance(WSDDDeployableItem.java:302)
 10    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
 11    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
 12    at org.apache.axis.deployment.wsdd.WSDDDeployment.getHandler(WSDDDeployment.java:394)
 13    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:276)
 14    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
 15    at org.apache.axis.deployment.wsdd.WSDDChain.makeNewInstance(WSDDChain.java:125)
 16    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
 17    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
 18    at org.apache.axis.deployment.wsdd.WSDDTargetedChain.makeNewInstance(WSDDTargetedChain.java:151)
 19    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
 20    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
 21    at org.apache.axis.deployment.wsdd.WSDDDeployment.getTransport(WSDDDeployment.java:410)
 22    at org.apache.axis.configuration.FileProvider.getTransport(FileProvider.java:257)
 23    at org.apache.axis.AxisEngine.getTransport(AxisEngine.java:332)
 24    at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:441)
 25    at org.apache.axis.transport.http.QSWSDLHandler.invoke(QSWSDLHandler.java:68)
 26    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 27    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 28    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 29    at java.lang.reflect.Method.invoke(Method.java:597)
 30    at org.apache.axis.transport.http.AxisServlet.processQuery(AxisServlet.java:1226)
 31    at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:249)
 32    at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
 33    at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
 34    at com.liferay.portal.servlet.AxisServlet.service(AxisServlet.java:113)
 35    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 36    at com.liferay.portal.kernel.servlet.PortalClassLoaderServlet.service(PortalClassLoaderServlet.java:95)
 37    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 38    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 39    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 40    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
 41    at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:182)
 42    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
 43    at com.liferay.portal.kernel.servlet.PortalClassLoaderFilter.doFilter(PortalClassLoaderFilter.java:53)
 44    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 45    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 46    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
 47    at com.liferay.portal.servlet.filters.threadlocal.ThreadLocalFilter.processFilter(ThreadLocalFilter.java:35)
 48    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
 49    at com.liferay.portal.kernel.servlet.PortalClassLoaderFilter.doFilter(PortalClassLoaderFilter.java:53)
 50    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 51    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 52    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
 53    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 54    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 55    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
 56    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
 57    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
 58    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
 59    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
 60    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
 61    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 62    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
 63    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 64    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
 65    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
 66    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
 67    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
 68    at java.lang.Thread.run(Thread.java:662)
 69
 70org.apache.axis.ConfigurationException: java.lang.ClassCastException: org.apache.axis.handlers.http.URLMapper cannot be cast to org.apache.axis.Handler
 71java.lang.ClassCastException: org.apache.axis.handlers.http.URLMapper cannot be cast to org.apache.axis.Handler
 72    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.makeNewInstance(WSDDDeployableItem.java:302)
 73    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
 74    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
 75    at org.apache.axis.deployment.wsdd.WSDDDeployment.getHandler(WSDDDeployment.java:394)
 76    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:276)
 77    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
 78    at org.apache.axis.deployment.wsdd.WSDDChain.makeNewInstance(WSDDChain.java:125)
 79    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
 80    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
 81    at org.apache.axis.deployment.wsdd.WSDDTargetedChain.makeNewInstance(WSDDTargetedChain.java:151)
 82    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
 83    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
 84    at org.apache.axis.deployment.wsdd.WSDDDeployment.getTransport(WSDDDeployment.java:410)
 85    at org.apache.axis.configuration.FileProvider.getTransport(FileProvider.java:257)
 86    at org.apache.axis.AxisEngine.getTransport(AxisEngine.java:332)
 87    at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:441)
 88    at org.apache.axis.transport.http.QSWSDLHandler.invoke(QSWSDLHandler.java:68)
 89    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 90    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 91    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 92    at java.lang.reflect.Method.invoke(Method.java:597)
 93    at org.apache.axis.transport.http.AxisServlet.processQuery(AxisServlet.java:1226)
 94    at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:249)
 95    at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
 96    at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
 97    at com.liferay.portal.servlet.AxisServlet.service(AxisServlet.java:113)
 98    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 99    at com.liferay.portal.kernel.servlet.PortalClassLoaderServlet.service(PortalClassLoaderServlet.java:95)
100    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
101    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
102    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
103    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
104    at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:182)
105    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
106    at com.liferay.portal.kernel.servlet.PortalClassLoaderFilter.doFilter(PortalClassLoaderFilter.java:53)
107    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
108    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
109    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
110    at com.liferay.portal.servlet.filters.threadlocal.ThreadLocalFilter.processFilter(ThreadLocalFilter.java:35)
111    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
112    at com.liferay.portal.kernel.servlet.PortalClassLoaderFilter.doFilter(PortalClassLoaderFilter.java:53)
113    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
114    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
115    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
116    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
117    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
118    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
119    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
120    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
121    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
122    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
123    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
124    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
125    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
126    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
127    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
128    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
129    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
130    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
131    at java.lang.Thread.run(Thread.java:662)
132
133    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.makeNewInstance(WSDDDeployableItem.java:304)
134    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
135    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
136    at org.apache.axis.deployment.wsdd.WSDDDeployment.getHandler(WSDDDeployment.java:394)
137    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:276)
138    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
139    at org.apache.axis.deployment.wsdd.WSDDChain.makeNewInstance(WSDDChain.java:125)
140    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
141    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
142    at org.apache.axis.deployment.wsdd.WSDDTargetedChain.makeNewInstance(WSDDTargetedChain.java:151)
143    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
144    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
145    at org.apache.axis.deployment.wsdd.WSDDDeployment.getTransport(WSDDDeployment.java:410)
146    at org.apache.axis.configuration.FileProvider.getTransport(FileProvider.java:257)
147    at org.apache.axis.AxisEngine.getTransport(AxisEngine.java:332)
148    at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:441)
149    at org.apache.axis.transport.http.QSWSDLHandler.invoke(QSWSDLHandler.java:68)
150    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
151    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
152    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
153    at java.lang.reflect.Method.invoke(Method.java:597)
154    at org.apache.axis.transport.http.AxisServlet.processQuery(AxisServlet.java:1226)
155    at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:249)
156    at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
157    at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
158    at com.liferay.portal.servlet.AxisServlet.service(AxisServlet.java:113)
159    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
160    at com.liferay.portal.kernel.servlet.PortalClassLoaderServlet.service(PortalClassLoaderServlet.java:95)
161    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
162    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
163    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
164    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
165    at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:182)
166    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
167    at com.liferay.portal.kernel.servlet.PortalClassLoaderFilter.doFilter(PortalClassLoaderFilter.java:53)
168    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
169    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
170    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
171    at com.liferay.portal.servlet.filters.threadlocal.ThreadLocalFilter.processFilter(ThreadLocalFilter.java:35)
172    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
173    at com.liferay.portal.kernel.servlet.PortalClassLoaderFilter.doFilter(PortalClassLoaderFilter.java:53)
174    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
175    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
176    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
177    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
178    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
179    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
180    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
181    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
182    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
183    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
184    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
185    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
186    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
187    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
188    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
189    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
190    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
191    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
192    at java.lang.Thread.run(Thread.java:662)
193
194
195AxisFault
196 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
197 faultSubcode:
198 faultString: org.apache.axis.ConfigurationException: java.lang.ClassCastException: org.apache.axis.handlers.http.URLMapper cannot be cast to org.apache.axis.Handler
199java.lang.ClassCastException: org.apache.axis.handlers.http.URLMapper cannot be cast to org.apache.axis.Handler
200    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.makeNewInstance(WSDDDeployableItem.java:302)
201    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
202    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
203    at org.apache.axis.deployment.wsdd.WSDDDeployment.getHandler(WSDDDeployment.java:394)
204    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:276)
205    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
206    at org.apache.axis.deployment.wsdd.WSDDChain.makeNewInstance(WSDDChain.java:125)
207    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
208    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
209    at org.apache.axis.deployment.wsdd.WSDDTargetedChain.makeNewInstance(WSDDTargetedChain.java:151)
210    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
211    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
212    at org.apache.axis.deployment.wsdd.WSDDDeployment.getTransport(WSDDDeployment.java:410)
213    at org.apache.axis.configuration.FileProvider.getTransport(FileProvider.java:257)
214    at org.apache.axis.AxisEngine.getTransport(AxisEngine.java:332)
215    at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:441)
216    at org.apache.axis.transport.http.QSWSDLHandler.invoke(QSWSDLHandler.java:68)
217    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
218    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
219    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
220    at java.lang.reflect.Method.invoke(Method.java:597)
221    at org.apache.axis.transport.http.AxisServlet.processQuery(AxisServlet.java:1226)
222    at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:249)
223    at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
224    at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
225    at com.liferay.portal.servlet.AxisServlet.service(AxisServlet.java:113)
226    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
227    at com.liferay.portal.kernel.servlet.PortalClassLoaderServlet.service(PortalClassLoaderServlet.java:95)
228    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
229    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
230    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
231    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
232    at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:182)
233    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
234    at com.liferay.portal.kernel.servlet.PortalClassLoaderFilter.doFilter(PortalClassLoaderFilter.java:53)
235    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
236    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
237    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
238    at com.liferay.portal.servlet.filters.threadlocal.ThreadLocalFilter.processFilter(ThreadLocalFilter.java:35)
239    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
240    at com.liferay.portal.kernel.servlet.PortalClassLoaderFilter.doFilter(PortalClassLoaderFilter.java:53)
241    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
242    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
243    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
244    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
245    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
246    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
247    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
248    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
249    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
250    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
251    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
252    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
253    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
254    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
255    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
256    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
257    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
258    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
259    at java.lang.Thread.run(Thread.java:662)
260
261org.apache.axis.ConfigurationException: java.lang.ClassCastException: org.apache.axis.handlers.http.URLMapper cannot be cast to org.apache.axis.Handler
262java.lang.ClassCastException: org.apache.axis.handlers.http.URLMapper cannot be cast to org.apache.axis.Handler
263    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.makeNewInstance(WSDDDeployableItem.java:302)
264    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
265    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
266    at org.apache.axis.deployment.wsdd.WSDDDeployment.getHandler(WSDDDeployment.java:394)
267    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:276)
268    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
269    at org.apache.axis.deployment.wsdd.WSDDChain.makeNewInstance(WSDDChain.java:125)
270    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
271    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
272    at org.apache.axis.deployment.wsdd.WSDDTargetedChain.makeNewInstance(WSDDTargetedChain.java:151)
273    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
274    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
275    at org.apache.axis.deployment.wsdd.WSDDDeployment.getTransport(WSDDDeployment.java:410)
276    at org.apache.axis.configuration.FileProvider.getTransport(FileProvider.java:257)
277    at org.apache.axis.AxisEngine.getTransport(AxisEngine.java:332)
278    at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:441)
279    at org.apache.axis.transport.http.QSWSDLHandler.invoke(QSWSDLHandler.java:68)
280    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
281    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
282    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
283    at java.lang.reflect.Method.invoke(Method.java:597)
284    at org.apache.axis.transport.http.AxisServlet.processQuery(AxisServlet.java:1226)
285    at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:249)
286    at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
287    at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
288    at com.liferay.portal.servlet.AxisServlet.service(AxisServlet.java:113)
289    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
290    at com.liferay.portal.kernel.servlet.PortalClassLoaderServlet.service(PortalClassLoaderServlet.java:95)
291    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
292    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
293    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
294    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
295    at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:182)
296    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
297    at com.liferay.portal.kernel.servlet.PortalClassLoaderFilter.doFilter(PortalClassLoaderFilter.java:53)
298    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
299    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
300    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
301    at com.liferay.portal.servlet.filters.threadlocal.ThreadLocalFilter.processFilter(ThreadLocalFilter.java:35)
302    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
303    at com.liferay.portal.kernel.servlet.PortalClassLoaderFilter.doFilter(PortalClassLoaderFilter.java:53)
304    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
305    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
306    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
307    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
308    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
309    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
310    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
311    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
312    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
313    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
314    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
315    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
316    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
317    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
318    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
319    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
320    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
321    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
322    at java.lang.Thread.run(Thread.java:662)
323
324    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.makeNewInstance(WSDDDeployableItem.java:304)
325    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
326    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
327    at org.apache.axis.deployment.wsdd.WSDDDeployment.getHandler(WSDDDeployment.java:394)
328    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:276)
329    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
330    at org.apache.axis.deployment.wsdd.WSDDChain.makeNewInstance(WSDDChain.java:125)
331    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
332    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
333    at org.apache.axis.deployment.wsdd.WSDDTargetedChain.makeNewInstance(WSDDTargetedChain.java:151)
334    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
335    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
336    at org.apache.axis.deployment.wsdd.WSDDDeployment.getTransport(WSDDDeployment.java:410)
337    at org.apache.axis.configuration.FileProvider.getTransport(FileProvider.java:257)
338    at org.apache.axis.AxisEngine.getTransport(AxisEngine.java:332)
339    at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:441)
340    at org.apache.axis.transport.http.QSWSDLHandler.invoke(QSWSDLHandler.java:68)
341    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
342    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
343    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
344    at java.lang.reflect.Method.invoke(Method.java:597)
345    at org.apache.axis.transport.http.AxisServlet.processQuery(AxisServlet.java:1226)
346    at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:249)
347    at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
348    at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
349    at com.liferay.portal.servlet.AxisServlet.service(AxisServlet.java:113)
350    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
351    at com.liferay.portal.kernel.servlet.PortalClassLoaderServlet.service(PortalClassLoaderServlet.java:95)
352    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
353    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
354    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
355    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
356    at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:182)
357    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
358    at com.liferay.portal.kernel.servlet.PortalClassLoaderFilter.doFilter(PortalClassLoaderFilter.java:53)
359    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
360    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
361    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
362    at com.liferay.portal.servlet.filters.threadlocal.ThreadLocalFilter.processFilter(ThreadLocalFilter.java:35)
363    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
364    at com.liferay.portal.kernel.servlet.PortalClassLoaderFilter.doFilter(PortalClassLoaderFilter.java:53)
365    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
366    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
367    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
368    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
369    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
370    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
371    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
372    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
373    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
374    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
375    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
376    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
377    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
378    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
379    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
380    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
381    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
382    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
383    at java.lang.Thread.run(Thread.java:662)


Here are the steps I did:-
1) deploy liferay-portal-tunnel-web-6.0.5
2) remove server-config.wsdd from /liferay-portal-tunnel-web-6.0.5.war/WEB-INF folder
3) Added my IP address to portal-ext.properties files for tunnel & axis for access
4) Accessed url http://{server _IP}:8080/liferay-portal-tunnel-web-6.0.5/axis
5) Got 2 links :- AdminService (wsdl) & Version (wsdl)

When I click on any of the above 2 links I get the AXIS Error.

Any clues how to resolve this?
Cristian Keller
RE: liferay-portal-tunnel-web-6.0.5 - AXIS Error
January 12, 2012 7:14 AM
Answer

Cristian Keller

Rank: New Member

Posts: 3

Join Date: January 12, 2012

Recent Posts

I resolved when recreated a portlet with only this service

I think it's because I dont have any axis.jar in plugin source but I'm not sure