[Dev] [ES] Cannot browse registry with the latest build

2015-01-16 Thread Buddhima Wijeweera
Hi,
With the build today (16/01/2015) I can't browse the registry. I tried this
with a fresh pack and I'm getting the following error:

==


[2015-01-16 22:28:42,736] ERROR
{org.apache.catalina.core.ApplicationDispatcher} -  Servlet.service() for
servlet bridgeservlet threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: [24] in the generated java file:
[/home/buddhima/test/carbide/wso2es-2.0.0-SNAPSHOT/lib/tomcat/work/Catalina/localhost/_/proxytemp/hc_625652537/org/apache/jsp/lifecycles/lifecycles_005fajaxprocessor_jsp.java]
Only a type can be imported. org.apache.juddi.v3.error.RegistryException
resolves to a package

An error occurred at line: 181 in the jsp file:
/lifecycles/lifecycles_ajaxprocessor.jsp
RegistryException cannot be resolved to a type
178: LifecycleServiceClient lifecycleServiceClient = new
LifecycleServiceClient(config, session);
179:
180: bean = lifecycleServiceClient.getLifecycleBean(path);
181: } catch (RegistryException e) {
182: bean = null;
183: }
184:


Stacktrace:
at
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:103)
at
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:366)
at
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:468)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:378)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:353)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:340)
at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:657)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
..

[2015-01-16 22:28:42,739] ERROR
{org.apache.catalina.core.ApplicationDispatcher} -  Servlet.service() for
servlet bridgeservlet threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: [24] in the generated java file:
[/home/buddhima/test/carbide/wso2es-2.0.0-SNAPSHOT/lib/tomcat/work/Catalina/localhost/_/proxytemp/hc_625652537/org/apache/jsp/lifecycles/lifecycles_005fajaxprocessor_jsp.java]
Only a type can be imported. org.apache.juddi.v3.error.RegistryException
resolves to a package

An error occurred at line: 181 in the jsp file:
/lifecycles/lifecycles_ajaxprocessor.jsp
RegistryException cannot be resolved to a type
178: LifecycleServiceClient lifecycleServiceClient = new
LifecycleServiceClient(config, session);
179:
180: bean = lifecycleServiceClient.getLifecycleBean(path);
181: } catch (RegistryException e) {
182: bean = null;
183: }
184:


Stacktrace:
at
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:103)
at
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:366)
at
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:468)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:378)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:353)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:340)
at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:657)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
.


Would appreciate if someone can have a look at this issue since accessing
registry is really essential in many occasions.

Thank You!


-- 
Buddhima Wijeweera
Software Engineer; WSO2 Inc.; http://wso2.com ,

Mobile: +94 71 427 9966
Email: buddh...@wso2.com
Blog:   https://buddhimawijeweera.wordpress.com
GitHub Profile: https://github.com/Buddhima
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ES] Cannot browse registry with the latest build

2015-01-16 Thread Ayesha Dissanayaka
Hi Buddima,

We are also facing above errors when browsing assets in the management
console.
I am not sure whether these are related to the changes discussed in the
thread [Dev][ES] Errors while running server - latest build

We are currently trying to fix this with Shazni and SameeraM.

Thanks!
- Ayesha

On Fri, Jan 16, 2015 at 10:38 PM, Buddhima Wijeweera buddh...@wso2.com
wrote:

 Hi,
 With the build today (16/01/2015) I can't browse the registry. I tried
 this with a fresh pack and I'm getting the following error:

 ==


 [2015-01-16 22:28:42,736] ERROR
 {org.apache.catalina.core.ApplicationDispatcher} -  Servlet.service() for
 servlet bridgeservlet threw exception
 org.apache.jasper.JasperException: Unable to compile class for JSP:

 An error occurred at line: [24] in the generated java file:
 [/home/buddhima/test/carbide/wso2es-2.0.0-SNAPSHOT/lib/tomcat/work/Catalina/localhost/_/proxytemp/hc_625652537/org/apache/jsp/lifecycles/lifecycles_005fajaxprocessor_jsp.java]
 Only a type can be imported. org.apache.juddi.v3.error.RegistryException
 resolves to a package

 An error occurred at line: 181 in the jsp file:
 /lifecycles/lifecycles_ajaxprocessor.jsp
 RegistryException cannot be resolved to a type
 178: LifecycleServiceClient lifecycleServiceClient = new
 LifecycleServiceClient(config, session);
 179:
 180: bean = lifecycleServiceClient.getLifecycleBean(path);
 181: } catch (RegistryException e) {
 182: bean = null;
 183: }
 184:


 Stacktrace:
 at
 org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:103)
 at
 org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:366)
 at
 org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:468)
 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:378)
 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:353)
 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:340)
 at
 org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:657)
 at
 org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
 at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
 at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
 ..

 [2015-01-16 22:28:42,739] ERROR
 {org.apache.catalina.core.ApplicationDispatcher} -  Servlet.service() for
 servlet bridgeservlet threw exception
 org.apache.jasper.JasperException: Unable to compile class for JSP:

 An error occurred at line: [24] in the generated java file:
 [/home/buddhima/test/carbide/wso2es-2.0.0-SNAPSHOT/lib/tomcat/work/Catalina/localhost/_/proxytemp/hc_625652537/org/apache/jsp/lifecycles/lifecycles_005fajaxprocessor_jsp.java]
 Only a type can be imported. org.apache.juddi.v3.error.RegistryException
 resolves to a package

 An error occurred at line: 181 in the jsp file:
 /lifecycles/lifecycles_ajaxprocessor.jsp
 RegistryException cannot be resolved to a type
 178: LifecycleServiceClient lifecycleServiceClient = new
 LifecycleServiceClient(config, session);
 179:
 180: bean = lifecycleServiceClient.getLifecycleBean(path);
 181: } catch (RegistryException e) {
 182: bean = null;
 183: }
 184:


 Stacktrace:
 at
 org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:103)
 at
 org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:366)
 at
 org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:468)
 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:378)
 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:353)
 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:340)
 at
 org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:657)
 at
 org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
 at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
 at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
 .


 Would appreciate if someone can have a look at this issue since accessing
 registry is really essential in many occasions.

 Thank You!


 --
 Buddhima Wijeweera
 Software Engineer; WSO2 Inc.; http://wso2.com ,

 Mobile: +94 71 427 9966
 Email: buddh...@wso2.com
 Blog:   https://buddhimawijeweera.wordpress.com
 GitHub Profile: https://github.com/Buddhima