But I noticed the Manager also having tow json jars (which is wrong) and still the add tenant is working fine.
On Mon, Jun 25, 2012 at 12:57 PM, Ajith Vitharana <[email protected]> wrote: > > > On Mon, Jun 25, 2012 at 12:43 PM, Tharindu Mathew <[email protected]>wrote: > >> Hi Vijitha, >> >> I believe you should have two json versions in your pack? Can you confirm? >> > > Yes . it contains two versions of same jar. > > ./repository/components/plugins/json_2.0.0.wso2v1.jar > ./repository/components/plugins/json_1.0.0.wso2v1.jar > > Thanks > Ajith > >> >> On Mon, Jun 25, 2012 at 12:39 PM, Amila Maha Arachchi <[email protected]>wrote: >> >>> Hi Vijitha, >>> >>> Do you get this in a Bamboo pack or a local pack of your own? >>> >>> Regards, >>> AmilaM. >>> >>> On Sun, Jun 24, 2012 at 8:58 AM, Vijitha Kumara <[email protected]>wrote: >>> >>>> Problem occurs in the "Add New Tenant" for Registry with the error >>>> below and the error in the UI (attached). >>>> >>>> ======================================================================= >>>> >>>> Jun 24, 2012 8:50:50 AM org.apache.catalina.core.StandardWrapperValve >>>> invoke >>>> SEVERE: Servlet.service() for servlet [bridgeservlet] in context with >>>> path [/] threw exception [org.apache.jasper.JasperException: Unable to >>>> compile class for JSP >>>> >>>> Generated servlet error: >>>> The type org.json.JSONArray cannot be resolved. It is indirectly >>>> referenced from required .class files >>>> >>>> Generated servlet error: >>>> Only a type can be imported. org.json.JSONArray resolves to a package >>>> >>>> ] with root cause >>>> org.apache.jasper.JasperException: Unable to compile class for JSP >>>> >>>> Generated servlet error: >>>> The type org.json.JSONArray cannot be resolved. It is indirectly >>>> referenced from required .class files >>>> >>>> Generated servlet error: >>>> Only a type can be imported. org.json.JSONArray resolves to a package >>>> >>>> >>>> at >>>> org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84) >>>> at >>>> org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328) >>>> at >>>> org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:414) >>>> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:297) >>>> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:276) >>>> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:264) >>>> at >>>> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563) >>>> at >>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303) >>>> at >>>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) >>>> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) >>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) >>>> at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:161) >>>> at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80) >>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) >>>> at >>>> org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:36) >>>> at >>>> org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90) >>>> at >>>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111) >>>> at >>>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67) >>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) >>>> at >>>> org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:45) >>>> at >>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) >>>> at >>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) >>>> at >>>> org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61) >>>> at >>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) >>>> at >>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) >>>> at >>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225) >>>> at >>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) >>>> at >>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) >>>> at >>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) >>>> at >>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) >>>> at >>>> org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:143) >>>> at >>>> org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156) >>>> at >>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) >>>> at >>>> org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:48) >>>> at >>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) >>>> at >>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) >>>> at >>>> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999) >>>> at >>>> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565) >>>> at >>>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1620) >>>> at >>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) >>>> at >>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) >>>> at java.lang.Thread.run(Thread.java:662) >>>> Jun 24, 2012 8:51:00 AM org.apache.catalina.core.StandardWrapperValve >>>> invoke >>>> SEVERE: Servlet.service() for servlet [bridgeservlet] in context with >>>> path [/] threw exception [org.apache.jasper.JasperException: Unable to >>>> compile class for JSP >>>> >>>> ======================================================================= >>>> >>>> >>>> -- >>>> Vijitha Kumara >>>> Senior Software Engineer; WSO2, Inc.; http://wso2.com/ >>>> email: [email protected] >>>> >>>> Lean . Enterprise . Middleware >>>> >>>> >>>> _______________________________________________ >>>> Dev mailing list >>>> [email protected] >>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>> >>>> >>> >>> >>> -- >>> *Amila Maharachchi* >>> Technical Lead >>> Member, Management Committee - Cloud & Platform TG >>> WSO2, Inc.; http://wso2.com >>> >>> Blog: http://maharachchi.blogspot.com >>> Mobile: +94719371446 >>> >>> >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> Regards, >> >> Tharindu >> >> blog: http://mackiemathew.com/ >> M: +94777759908 >> >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Ajith Vitharana. > WSO2 Inc. - http://wso2.org > Email : [email protected] > Mobile : +94714631794 > > > -- *Amila Maharachchi* Technical Lead Member, Management Committee - Cloud & Platform TG WSO2, Inc.; http://wso2.com Blog: http://maharachchi.blogspot.com Mobile: +94719371446
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
