Petals Web-Console

Unable to install a component

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Resolution: Won't Fix
  • Affects Version/s: 2.0.4
  • Fix Version/s: None
  • Component/s: None
  • Security Level: Public
  • Description:
    Hide

    When I want to install a component (put into attachment) through a "local installation", it failes. it's ok through ant tasks and the autoloader. The stack trace is:
    java.lang.NoSuchMethodError: javax.servlet.ServletContext.getContextPath()Ljava/lang/String;

    org.ow2.petals.tools.webconsole.util.GeneralHelper.getFileRepositoryURL(GeneralHelper.java:636)
    org.ow2.petals.tools.webconsole.business.InstallComponentBBean.beginLocalInstallation(InstallComponentBBean.java:162)
    org.ow2.petals.tools.webconsole.uibeans.InstallComponentUIBean.install(InstallComponentUIBean.java:196)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:597)
    org.ow2.opensuit.cel.impl.tree.impl.ast.AstInvocation.invoke(AstInvocation.java:146)
    org.ow2.opensuit.cel.impl.tree.impl.ast.AstMethod.invoke(AstMethod.java:136)
    org.ow2.opensuit.cel.impl.tree.impl.ast.AstEval.invoke(AstEval.java:59)
    org.ow2.opensuit.core.expression.ExpressionUtils.invokeExpression(ExpressionUtils.java:119)
    org.ow2.opensuit.xml.base.binding.Expression.invoke(Expression.java:147)
    org.ow2.opensuit.xml.base.action.DoAndForward.invoke(DoAndForward.java:141)
    org.ow2.opensuit.xml.base.html.form.EditForm.submit(EditForm.java:152)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:597)
    org.ow2.opensuit.xml.base.Application.service(Application.java:514)
    org.ow2.opensuit.core.impl.j2ee.OpenSuitServlet.service(OpenSuitServlet.java:155)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873)
    org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
    org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
    org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
    org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
    java.lang.Thread.run(Thread.java:619)

    There is no more trace into the petals esb or tomcat logs .

    Show
    When I want to install a component (put into attachment) through a "local installation", it failes. it's ok through ant tasks and the autoloader. The stack trace is: java.lang.NoSuchMethodError: javax.servlet.ServletContext.getContextPath()Ljava/lang/String; org.ow2.petals.tools.webconsole.util.GeneralHelper.getFileRepositoryURL(GeneralHelper.java:636) org.ow2.petals.tools.webconsole.business.InstallComponentBBean.beginLocalInstallation(InstallComponentBBean.java:162) org.ow2.petals.tools.webconsole.uibeans.InstallComponentUIBean.install(InstallComponentUIBean.java:196) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:597) org.ow2.opensuit.cel.impl.tree.impl.ast.AstInvocation.invoke(AstInvocation.java:146) org.ow2.opensuit.cel.impl.tree.impl.ast.AstMethod.invoke(AstMethod.java:136) org.ow2.opensuit.cel.impl.tree.impl.ast.AstEval.invoke(AstEval.java:59) org.ow2.opensuit.core.expression.ExpressionUtils.invokeExpression(ExpressionUtils.java:119) org.ow2.opensuit.xml.base.binding.Expression.invoke(Expression.java:147) org.ow2.opensuit.xml.base.action.DoAndForward.invoke(DoAndForward.java:141) org.ow2.opensuit.xml.base.html.form.EditForm.submit(EditForm.java:152) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:597) org.ow2.opensuit.xml.base.Application.service(Application.java:514) org.ow2.opensuit.core.impl.j2ee.OpenSuitServlet.service(OpenSuitServlet.java:155) javax.servlet.http.HttpServlet.service(HttpServlet.java:729) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873) org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) java.lang.Thread.run(Thread.java:619) There is no more trace into the petals esb or tomcat logs .
  • Environment:
    ESB 3.2-SNAPSHOT, RHEL 5, JDK 1.6
  1. petals-se-newBroker-TSE-1.0-SNAPSHOT.zip
    (5.66 MB)
    Frédéric Gardes
    Wed, 1 Sep 2010 - 13:53:42 +0200
  1. Capture-Internal error - Mozilla Firefox.png
    (131 kB)

Activity

Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Resolved Resolved
12m 6s
1
Adrien Ruffie
Wed, 1 Sep 2010 - 14:02:02 +0200

People

Dates

  • Created:
    Wed, 1 Sep 2010 - 13:49:56 +0200
    Updated:
    Wed, 10 Nov 2010 - 09:00:00 +0100
    Resolved:
    Wed, 1 Sep 2010 - 14:02:02 +0200