Skip to Content
avatar image
Former Member

Problem Creating PAR file with JBuilder

I couldn't creath Par file using JBuilder Enterprise 6.0 with PDK plugin.The following is what I wrote:

****************************************************

package Test;

import com.sapportals.portal.prt.component.*;

public class Hello extends AbstractPortalComponent

{

public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)

{

response.write("hello !!!");

}

}

****************************************************

The code is compiled fine,and the default.properties file is: ClassName=ParProjectTest.Hello

The problem is when I call my portal component with the address:http://localhost:8080/irj/servlet/prt/portal/prtroot/NewParProject.default

I can't see 'hello !!!' in my Browser...

Error Message:

com.sapportals.portal.prt.runtime.PortalRuntimeException: delegatedplugin

Can anybody help me solving the problem?.

Thanks in advance.best regards

Tony

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Aug 07, 2004 at 06:05 PM

    Exceptions details :

    com.sapportals.portal.prt.runtime.PortalRuntimeException: delegatedplugin

    at com.sapportals.portal.prt.portalconnection.sapnative.DelegatedPlugIn.handleRequest(DelegatedPlugIn.java:1039)

    at com.sapportals.portal.prt.portalconnection.sapnative.PortalPlugIn.handleRequest(PortalPlugIn.java:138)

    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:648)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java)

    at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:534)

    at org.apache.tomcat.core.Handler.invoke(Handler.java:280)

    at org.apache.tomcat.core.Handler.service(Handler.java:193)

    at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:445)

    at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:874)

    at org.apache.tomcat.core.ContextManager.service(ContextManager.java:790)

    at org.apache.coyote.tomcat3.Tomcat3Adapter.service(Tomcat3Adapter.java:64)

    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793)

    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:702)

    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571)

    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644)

    at java.lang.Thread.run(Thread.java:479)

    Caused by: com.sapportals.portal.prt.runtime.ProfileNotFoundException: Profile not found, please check the profile path : ParProjectTest.default

    at com.sapportals.portal.prt.pcdservice.local.PortalComponentProfile.getComponentProfile(PortalComponentProfile.java:95)

    at com.sapportals.portal.prt.pcdservice.PCDService.switchToLocalMode(PCDService.java:377)

    at com.sapportals.portal.prt.pcdservice.PCDService.getComponentProfile(PCDService.java:363)

    at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refresh(PortalComponentContextItem.java:164)

    at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getContext(PortalComponentContextItem.java:228)

    at com.sapportals.portal.prt.session.PortalUserSession.getComponentContext(PortalUserSession.java:60)

    at com.sapportals.portal.prt.component.PortalComponentRequest.getComponentContext(PortalComponentRequest.java:288)

    at com.sapportals.portal.prt.portalconnection.sapnative.TopicManager.getRootContext(TopicManager.java:118)

    at com.sapportals.portal.prt.portalconnection.sapnative.DelegatedPlugIn.handleRequest(DelegatedPlugIn.java:355)

    at com.sapportals.portal.prt.portalconnection.sapnative.PortalPlugIn.handleRequest(PortalPlugIn.java:138)

    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:648)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java)

    at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:534)

    at org.apache.tomcat.core.Handler.invoke(Handler.java:280)

    at org.apache.tomcat.core.Handler.service(Handler.java:193)

    at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:445)

    at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:874)

    at org.apache.tomcat.core.ContextManager.service(ContextManager.java:790)

    at org.apache.coyote.tomcat3.Tomcat3Adapter.service(Tomcat3Adapter.java:64)

    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793)

    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:702)

    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571)

    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644)

    at java.lang.Thread.run(Thread.java:479)

    Add comment
    10|10000 characters needed characters exceeded