Ticket #111 (closed defect: fixed)

Opened 9 years ago

Last modified 9 years ago

Creating an SM from the web portal does not work

Reported by: aydan Owned by: anirban
Priority: major Milestone:
Component: ORCA: Web Portal Version: Bella 2.1
Keywords: Cc:

Description

db must implement ISubstrateDatabase Exception stack trace: orca.shirako.plugins.substrate.Substrate.setDatabase(Substrate.java:388) orca.manage.extensions.standard.actors.StandardActorFactory?.create(StandardActorFactory?.java:175) orca.manage.extensions.standard.actors.StandardSMFactory.create(StandardSMFactory.java:32) orca.manage.extensions.standard.container.StandardContainerManagerObject?.createActor(StandardContainerManagerObject?.java:1411) orca.manage.extensions.standard.container.StandardContainerManagerObject?.addActor(StandardContainerManagerObject?.java:1024) orca.manage.extensions.standard.container.proxies.local.LocalStandardContainerManagerObjectProxy?.addActor(LocalStandardContainerManagerObjectProxy?.java:85) orca.manage.extensions.standard.portal.StandardRootPortalPlugin?.addActor(StandardRootPortalPlugin?.java:250) 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.apache.velocity.util.introspection.UberspectImpl?$VelMethodImpl?.invoke(UberspectImpl?.java:267) org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197) org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175) org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:327) org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:51) org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:95) org.apache.velocity.runtime.parser.node.SimpleNode?.render(SimpleNode?.java:230) org.apache.velocity.Template.merge(Template.java:256) org.apache.velocity.tools.view.servlet.VelocityLayoutServlet?.mergeTemplate(Unknown Source) org.apache.velocity.tools.view.servlet.VelocityViewServlet?.doRequest(Unknown Source) org.apache.velocity.tools.view.servlet.VelocityViewServlet?.doGet(Unknown Source) javax.servlet.http.HttpServlet?.service(HttpServlet?.java:689) javax.servlet.http.HttpServlet?.service(HttpServlet?.java:802) org.apache.catalina.core.ApplicationFilterChain?.internalDoFilter(ApplicationFilterChain?.java:252) org.apache.catalina.core.ApplicationFilterChain?.doFilter(ApplicationFilterChain?.java:173) org.apache.catalina.core.StandardWrapperValve?.invoke(StandardWrapperValve?.java:213) org.apache.catalina.core.StandardContextValve?.invoke(StandardContextValve?.java:178) org.apache.catalina.authenticator.AuthenticatorBase?.invoke(AuthenticatorBase?.java:524) org.apache.catalina.core.StandardHostValve?.invoke(StandardHostValve?.java:126) org.apache.catalina.valves.ErrorReportValve?.invoke(ErrorReportValve?.java:105) org.apache.catalina.core.StandardEngineValve?.invoke(StandardEngineValve?.java:107) org.apache.catalina.connector.CoyoteAdapter?.service(CoyoteAdapter?.java:148) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) org.apache.tomcat.util.net.PoolTcpEndpoint?.processSocket(PoolTcpEndpoint?.java:527) org.apache.tomcat.util.net.LeaderFollowerWorkerThread?.runIt(LeaderFollowerWorkerThread?.java:80) org.apache.tomcat.util.threads.ThreadPool?$ControlRunnable?.run(ThreadPool?.java:684) java.lang.Thread.run(Thread.java:637)

Change History

Changed 9 years ago by anirban

  • status changed from new to accepted
  • owner changed from aydan to anirban

Changed 9 years ago by anirban

  • status changed from accepted to closed
  • resolution set to fixed

StandardSMFactory.java was setting a wrong plugin type. So, when setDatabase was called it was calling setDatabase() in Substrate instead of calling the one in ShirakoPlugin? . Fix checked in.

Note: See TracTickets for help on using tickets.