axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sagara Gunathunga (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AXIS2-4591) getting "The type Collection is not generic " error when hitting axis2-web/listServices.jsp
Date Wed, 27 Jun 2012 12:30:43 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-4591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sagara Gunathunga  resolved AXIS2-4591.
---------------------------------------

    Resolution: Cannot Reproduce
    
> getting "The type Collection is not generic " error when hitting axis2-web/listServices.jsp
> -------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-4591
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4591
>             Project: Axis2
>          Issue Type: Bug
>    Affects Versions: 1.5
>         Environment: Axis2.1.5
> JBoss-5.1.0.GA
> jdk1.6.0_16
>            Reporter: ravi sekhar mikkilineni
>             Fix For: 1.7.0
>
>
> I am able to deploy all the services in Jboss.
> But,when I tried to see the services by hitting axis2-web/listServices.jsp I am getting
the following exception in the server log...
> 03:29:02,956 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
> org.apache.jasper.JasperException: Unable to compile class for JSP: 
> An error occurred at line: 53 in the jsp file: /axis2-web/listServices.jsp
> The type Collection is not generic; it cannot be parameterized with arguments <V>
> 50:         Iterator opItr;
> 51:         //HashMap operations;
> 52:         String serviceName;
> 53:         Collection servicecol = serviceMap.values();
> 54:         // Collection operationsList;
> 55:         for (Iterator iterator = servicecol.iterator(); iterator.hasNext();) {
> 56:             AxisService axisService = (AxisService) iterator.next();
> Stacktrace:
>         at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
>         at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
>         at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:439)
>         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:335)
>         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:313)
>         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:300)
>         at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)
>         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:312)
>         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
>         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>         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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)
>         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:543)
>         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:480)
>         at org.apache.axis2.transport.http.AbstractAgent.renderView(AbstractAgent.java:121)
>         at org.apache.axis2.transport.http.ListingAgent.processListServices(ListingAgent.java:404)
>         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.axis2.transport.http.AbstractAgent.handle(AbstractAgent.java:78)
>         at org.apache.axis2.transport.http.ListingAgent.handle(ListingAgent.java:99)
>         at org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:257)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
>         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
>         at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
>         at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>         at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
>         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
>         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
>         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
>         at java.lang.Thread.run(Thread.java:619)
> Could you please let me know the work around for this issue

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message