Classpath error in portal application

Hi
<b>first problem</b>
when i am going to deploy the sample portal application for example displaying the "Hello world" message in the output, so i am getting the classpath error as displayed below.
<b>"The project was not built due to classpath errors(imcomplete or involved in cycle)"</b>
can any one help where should i change the classpath and all to deploy the portal application successfully".
<b>second problem</b>
when i am going to write the code in the dynpage in the portal for example
suppose if i want to add group to form then i type
formobjectname.groupname;
when i press . the entire list of possiblites are not apperaing in the list.
pls help on this two.
will award max points, if i slove
Regards
Sunil

Dear Sunil,
To answer your second question first:
You ae'nt getting the list of methods/possibilities because the correct package/class is not imported. e.g. If you do not include com.sap.security.api.* you will not get the list of methods associated with any class falling under that package.
The first problem: I really suggest that you download classlocator from sourceforge.net. It is easily plugges into NWDS. Double Click the error message and see it completely. I guess you would get one more message stating which class cannot be found. Once you install Class locator, you can easily type the class in the application and it will automatically add that Jar file in your classpath thus solving your issue.
Regards,
Prem
SAP.

Similar Messages

  • Runtime Error in Portal Application

    Can any body help me in resolving the following runtime error in portal application, (Netweaver Version : 7.0)
    Full Message Text
    03:21_21/09/11_0002_6275851
    [EXCEPTION]
    java.lang.NoClassDefFoundError: org.apache.commons.httpclient.methods.RequestEntity
    at java.lang.J9VMInternals.verifyImpl(Native Method)
    at java.lang.J9VMInternals.verify(J9VMInternals.java:69)
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:131)
    at java.lang.Class.forNameImpl(Native Method)
    at java.lang.Class.forName(Class.java:152)
    at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal(PortalComponentItemFacade.java:228)
    at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getComponentInstance(PortalComponentItemFacade.java:160)
    at com.sapportals.portal.prt.core.broker.PortalComponentItem.getComponentInstance(PortalComponentItem.java:732)
    at com.sapportals.portal.prt.component.PortalComponentContext.getComponent(PortalComponentContext.java:103)
    at com.sapportals.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:242)
    at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refresh(PortalComponentContextItem.java:271)
    at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getContext(PortalComponentContextItem.java:316)
    at com.sapportals.portal.prt.component.PortalComponentRequest.getComponentContext(PortalComponentRequest.java:387)
    at com.sapportals.portal.prt.connection.PortalRequest.getRootContext(PortalRequest.java:488)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:607)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:540)
    at java.security.AccessController.doPrivileged(AccessController.java:246)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:423)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(AccessController.java:219)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Caused by: java.lang.ClassNotFoundException: org.apache.commons.httpclient.methods.RequestEntity
    Found in negative cache

    Hi,
    this exception seems caused by a missing interface org.apache.commons.httpclient.methods.RequestEntity. Please the following ones:
    http://www.jarfinder.com/index.php/java/info/org.apache.commons.httpclient.methods.RequestEntity
    Br,
    Javier

  • Java class reference error in Portal Application

    Hello,
    I have created a Portal Application Project with the Class
    "public class TEST extends AbstractTestComponent implements ITestable"
    in order to test the application.
    The test works fine with a simple code.
    Instead, using the external class HSSFWorkbook in order to create an excel file, the Enterprise Portal Unit Test return the following error:
    "java.lang.NoClassDefFoundError: org/apache/poi/hssf/usermodel/HSSFWorkbook"
    I have tried to put the ZIP file of class into the folder "dist/PORTAL-INF/lib" and "dist/PORTAL-INF/exlib" but it doesn't work.
    Can someone tell me what I have to do?
    Thanks and best regards,
    Matteo.
    Edited by: Matteo De Santis on Feb 10, 2009 7:22 PM

    Hi,
    note that a portal application has two classloaders. one for the public part (src.api) and one for the private one (src.core).
    portal components reside in src.core by default. this means you need to load your jar file to the private class loader.
    so instead of dist/PORTAL-INF/lib use dist/PORTAL-INF/private/lib
    Regards, Lior

  • Error in portal application for sending email.

    Hi experts,
    I am trying an portal application which sends email .
    I took the the reference from the following blog,
    [Sending attachments in mails|Sending attachments in mails]
    While running the application the program is terminating with
    an error in the   Transport.send(message);   statement in the above blog
    I have put the mail.jar and activation.jar files in the private lib under portal inf
    Please provide me with any suggestions or any relevant documents.
    Fruitful solutions will be rewarded
    Thanks

    You can use this code for Achiving Sending of mail,
    import java.io.*;
    import java.util.*;
    import sun.net.smtp.SmtpClient;
    public class SMTP extends Thread{
         public String whoto;
         public String username;
         public String whofrom;
    /* our constructor */
    public SMTP(String whoto, String username, String whofrom){
              this.whoto = whoto;
              this.username = username;
              this.whofrom = whofrom;
    /* run method for multithreading */
         public void run(){
              doGet();
         public void doGet( )
         try {
              SmtpClient smtp =
                               new SmtpClient("yourdomain.com");
              smtp.from(whofrom);
              //Pass the email address of the recipient of the
              // message to the next method.
              smtp.to(whoto);
           //Get an output stream for the message
              PrintStream msg = smtp.startMessage();
              //Write the message header in the output stream.
              msg.println("To: "+whoto);
              msg.println("Subject: New Email");
              msg.println();
              //Write the text of the message in the output
              // stream
              msg.println("An event has happened.");
              msg.println("Please do not reply to this automated email.");
           //Close the stream and send the message
              smtp.closeServer();
         }catch( Exception e ) {
           e.printStackTrace();
    This method is called by:
    IUser loggedOnUser = (IUser) request.getUser().getUser()
    SMTP mysmtp = new SMTP(whoto, loggedOnUser.getName(), whofrom);
    mysmtp.start(); // starts the thread
    Cheers!!
    SJ

  • Classpath error in webdynpro application

    Hi All,
    Currently I am using NWDS7.0.16, and I created webdypro application which connect to BI System by make use of BI-  XMLA connector. for that I added all required jar file in JavaBuild path. but when i try to build the application I am getting  error like:
    The project was not built since its classpath is incomplete. Cannot find the class file for javax.resource.cci.Connection. Fix the classpath then try rebuilding this project.          
    This compilation unit indirectly references the missing type javax.resource.cci.Connection (typically some required class file is referencing a type outside the classpath)     TestView.java     test/gen_wdp/packages/com/test     
    Could anybody help me please......
    Regards,
    Suresh

    Hi Seelam,
    The reference location of jar file has been changed, so reimport that jar file and build your application.
    if problem still exits restart your NWDS.
    Thanks

  • Server error in '/portal' application??

    I am getting this error everytime i'm trying to print a pdf document from the bsnl portal. Earlier, this used to open the save file dialog.
    In the previous versions (i mean, 22, 23) this was not present.
    I am trying to confirm that is it firefox issue or the bsnl's problem?
    Here is the error: http://imm.io/1lTfK

    thanks for your reply cor-el...
    This happens after paying my bsnl broadband bill online and clicking the print button for the receipt.
    So, i'll try your solution next month cause i already paid this month bill. I'll try it on the new version 26 or hopefully 27 and check if this solved.
    I'll also notify the bsnl about this server error but knowing them they will just blame it on my system and firefox and tell me to use IE (Which is just there cause it comes with Windows and required to open some government sites).
    Hoping for the best...Thanks again..

  • XML parsing error in portal application...

    Hello,
    I have this exception java.lang.NullPointerException#  with a xml like this
    <users><user><email></email></user></users>
    When email is filled like this it's worked but when it is empty no...
    <users><user><email>[email protected]</email></user></users>
    The code is like this :
    NodeList EmailList = firstPersonElement.getElementsByTagName("email");
    Element EmailElement = (Element)EmailList.item(0);
    NodeList textEmailList = EmailElement.getChildNodes();
    if (textEmailList == null)
    System.err.println("null !");
    String Email = null;
    Email = ((Node)textEmailList.item(0)).getNodeValue().trim();
    System.err.println("Email : " + Email);
    How can I resolve it ?
    Thanks a lot
    best regards

    Hello,
    my guess is that in the case of an empty <email> element, your textEmailList reference should already be null (you should also have the "null !" output in your error stream), so a NPE will be inevitable in the line
    Email = ((Node)textEmailList.item(0)).getNodeValue().trim();
    In order to prevent that, you could simply put the three lines below the if() {} construct in an else {} block:
    NodeList EmailList = firstPersonElement.getElementsByTagName("email");
    Element EmailElement = (Element)EmailList.item(0);
    NodeList textEmailList = EmailElement.getChildNodes();
    if (textEmailList == null) {
      System.err.println("null !");
    else {
      String Email = null;
      Email = ((Node)textEmailList.item(0)).getNodeValue().trim();
      System.err.println("Email : " + Email);
    Does this help?
    Best regards,
    Jens

  • Configuring runtime classpath for portal applications?

    G'day,
    I've got a portal application that uses the classes found in system/kernel.jar and system/frame.jar. When I build the portal application in the IDE I can add these to the build path as external jars, but when I run the portal application I get "class not found" errors.
      java.lang.NoClassDefFoundError: com/sap/engine/core/Framework
    So ... how do I add these jar files to the portal application's runtime classpath?
    --Geoff

    Hi Geoffrey
    Jar files are required in two ways:
    For Design time: User external jars(as you have done)
    For Run time: Put the jar files in the lib folder(this way the par/ear ) itself will contain the jar files.
    Right click the project - >properties->java build path->libraries-> Add Jars (and not Add External Jars)->select your project->dist->PORTAL-INF->lib->select the jar file.
    Hope it helps.

  • Error while Creating a basic portal application using JDeveloper

    Hi,
    I am trying to build a portal application using the following tutorial on JDeveloper 11.1.1.5.0 on Windows XP.
    [http://download.oracle.com/docs/cd/E17904_01/webcenter.1111/e10273/createapp.htm#CCHEGDIC|http://download.oracle.com/docs/cd/E17904_01/webcenter.1111/e10273/createapp.htm#CCHEGDIC]
    I have configured all the prereqs for this tutorial. When i run the application, following message appears on the log file.
    Target Portal.jpr is not runnable, using default target index.html.
    and the webpage contains following error
    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    +10.4.5 404 Not Found+
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
    Following is the WLS log for the application run.
    +[12:53:24 PM] ---- Deployment started. ----+
    +[12:53:24 PM] Target platform is (Weblogic 10.3).+
    +[12:53:24 PM] Retrieving existing application information+
    +[12:53:24 PM] Running dependency analysis...+
    +[12:53:24 PM] Deploying 3 profiles...+
    +[12:53:28 PM] Wrote MAR file to C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\o.j2ee\drs\NTSL_PORTAL\AutoGeneratedMar+
    +[12:53:31 PM] Wrote Web Application Module to C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\o.j2ee\drs\NTSL_PORTAL\NTSL_PortalWebApp.war+
    +[12:53:32 PM] Info: Namespace '/oracle/adf/share/prefs' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/oracle/webcenter/lifecycle/importexport' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/oracle/webcenter/lock' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/oracle/webcenter/rc' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/persdef' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/shared/oracle/wcps' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/xliffBundles' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/oracle/webcenter/search/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/oracle/webcenter/framework/scope/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/oracle/webcenter/page/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/pageDefs' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/oracle/adf/portlet' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/oracle/adf/portletappscope' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/oracle/webcenter/doclib/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/oracle/webcenter/portalapp' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/oracle/webcenter/security/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/oracle/webcenter/siteresources/shared' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/oracle/webcenter/quicklinks/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Any customizations created while running the application will be written to 'C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\o.mds.dt\adrs\NTSL_PORTAL\AutoGeneratedMar\mds_adrs_writedir'.+
    +[12:53:35 PM] Wrote Enterprise Application Module to C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\o.j2ee\drs\NTSL_PORTAL+
    +[12:53:35 PM] Deploying Application...+
    +<Jul 25, 2011 12:53:44 PM GMT+05:00> <Warning> <J2EE> <BEA-160140> <Unresolved optional package references (in META-INF/MANIFEST.MF): [Extension-Name: oracle.apps.common.resource, referenced from: C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\DefaultDomain\servers\DefaultServer\tmp\_WL_user\oracle.webcenter.framework\owur7d]. Make sure the referenced optional package has been deployed as a library.>+
    +<Jul 25, 2011 12:53:53 PM GMT+05:00> <Warning> <Munger> <BEA-2156203> <A version attribute was not found in element web-app in the deployment descriptor in C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\DefaultDomain\servers\DefaultServer\tmp\_WL_user\jaxrs-framework-web-lib\829i9k\WEB-INF\web.xml. A version attribute is required, but this version of the Weblogic Server will assume that the JEE5 is used. Future versions of the Weblogic Server will reject descriptors that do not specify the JEE version.>+
    +<ADFContext> <getCurrent> Automatically initializing a DefaultContext for getCurrent.+
    Caller should ensure that a DefaultContext is proper for this use.
    Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly.
    This message may be avoided by performing initADFContext before using getCurrent().
    To see the stack trace for thread that is initializing this, set the logging level of oracle.adf.share.ADFContext to FINEST
    +<EclipseLinkLogger> <basicLog> 2011-07-25 12:54:27.409--ServerSession(28900695)--PersistenceUnitInfo ServiceFrameworkPUnit has transactionType RESOURCE_LOCAL and therefore jtaDataSource will be ignored+
    +<ADFContext> <getCurrent> Automatically initializing a DefaultContext for getCurrent.+
    Caller should ensure that a DefaultContext is proper for this use.
    Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly.
    This message may be avoided by performing initADFContext before using getCurrent().
    To see the stack trace for thread that is initializing this, set the logging level of oracle.adf.share.ADFContext to FINEST
    +<LoggerHelper> <log> Cannot map nonserializable type "interface oracle.adf.mbean.share.config.runtime.resourcebundle.BundleListType" to Open MBean Type for mbean interface oracle.adf.mbean.share.config.runtime.resourcebundle.AdfResourceBundleConfigMXBean, attribute BundleList.+
    +[12:54:48 PM] Application Deployed Successfully.+
    +[12:54:48 PM] Elapsed time for deployment: 1 minute, 24 seconds+
    +[12:54:48 PM] ---- Deployment finished. ----+
    Run startup time: 84155 ms.
    +[Application NTSL_PORTAL deployed to Server Instance IntegratedWebLogicServer]+
    Target URL -- http://127.0.0.1:7101/mytutorial/index.html
    +<JUApplicationDefImpl> <logDefaultDynamicPageMapPattern> The definition at NTSL.portal.portal.DataBindings.cpx, uses a pagemap pattern match that hides other cpx files.+
    +<NavigationCatalogException> <<init>> oracle.adf.rc.exception.DefinitionNotFoundException: cannot find resource catalog using MDS reference /oracle/webcenter/portalapp/navigations/default-navigation-model.xml Root Cause=[MDS-00013: no metadata found for metadata object "/oracle/webcenter/portalapp/navigations/default-navigation-model.xml"] [Root exception is oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "/oracle/webcenter/portalapp/navigations/default-navigation-model.xml"]+
    +<SkinFactoryImpl> <getSkin> Cannot find a skin that matches family portal and version v1.1. We will use the skin portal.desktop.+
    +<Logger> <error> ServletContainerAdapter manager not initialized correctly.+
    +[Application termination requested.  Undeploying application NTSL_PORTAL.]+
    +[01:04:42 PM] ---- Deployment started. ----+
    +[01:04:42 PM] Target platform is (Weblogic 10.3).+
    +[01:04:42 PM] Undeploying Application...+
    +<Jul 25, 2011 1:04:42 PM GMT+05:00> <Warning> <Deployer> <BEA-149085> <No application version was specified for application 'NTSL_PORTAL'. The undeploy operation will be performed against the currently active version 'V2.0'.>+
    INFO: Found persistence provider "org.eclipse.persistence.jpa.PersistenceProvider". OpenJPA will not be used.
    INFO: Found persistence provider "org.eclipse.persistence.jpa.PersistenceProvider". OpenJPA will not be used.
    +<BPELConnectionUtil> <getWorklistConnections> The Worklist service does not have a ConnectionName configuration entry in adf-config.xml that maps to a BPELConnection in connections.xml, therefore the Worklist service was not configured for this application.+
    +<NotificationSenderFactory> <getSender> Notification sender is not configured+
    +<ADFContext> <getCurrent> Automatically initializing a DefaultContext for getCurrent.+
    Caller should ensure that a DefaultContext is proper for this use.
    Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly.
    This message may be avoided by performing initADFContext before using getCurrent().
    To see the stack trace for thread that is initializing this, set the logging level of oracle.adf.share.ADFContext to FINEST
    +[01:04:48 PM] Application Undeployed Successfully.+
    +[01:04:48 PM] Elapsed time for deployment: 6 seconds+
    +[01:04:48 PM] ---- Deployment finished. ----+
    +[Application NTSL_PORTAL stopped and undeployed from Server Instance IntegratedWebLogicServer]+
    +[Running application NTSL_PORTAL on Server Instance IntegratedWebLogicServer...]+
    +[01:05:40 PM] ---- Deployment started. ----+
    +[01:05:40 PM] Target platform is (Weblogic 10.3).+
    +[01:05:40 PM] Retrieving existing application information+
    +[01:05:40 PM] Running dependency analysis...+
    +[01:05:41 PM] Deploying 3 profiles...+
    +[01:05:42 PM] Wrote MAR file to C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\o.j2ee\drs\NTSL_PORTAL\AutoGeneratedMar+
    +[01:05:44 PM] Wrote Web Application Module to C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\o.j2ee\drs\NTSL_PORTAL\NTSL_PortalWebApp.war+
    +[01:05:45 PM] Info: Namespace '/oracle/adf/share/prefs' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/oracle/webcenter/lifecycle/importexport' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/oracle/webcenter/lock' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/oracle/webcenter/rc' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/persdef' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/shared/oracle/wcps' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/xliffBundles' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/oracle/webcenter/search/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/oracle/webcenter/framework/scope/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/oracle/webcenter/page/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/pageDefs' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/oracle/adf/portlet' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/oracle/adf/portletappscope' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/oracle/webcenter/doclib/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/oracle/webcenter/portalapp' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/oracle/webcenter/security/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/oracle/webcenter/siteresources/shared' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/oracle/webcenter/quicklinks/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Any customizations created while running the application will be written to 'C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\o.mds.dt\adrs\NTSL_PORTAL\AutoGeneratedMar\mds_adrs_writedir'.+
    +[01:05:47 PM] Wrote Enterprise Application Module to C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\o.j2ee\drs\NTSL_PORTAL+
    +[01:05:47 PM] Deploying Application...+
    +<Jul 25, 2011 1:05:52 PM GMT+05:00> <Warning> <J2EE> <BEA-160140> <Unresolved optional package references (in META-INF/MANIFEST.MF): [Extension-Name: oracle.apps.common.resource, referenced from: C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\DefaultDomain\servers\DefaultServer\tmp\_WL_user\oracle.webcenter.framework\owur7d]. Make sure the referenced optional package has been deployed as a library.>+
    +<Jul 25, 2011 1:05:54 PM GMT+05:00> <Notice> <LoggingService> <BEA-320400> <The log file C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>+
    +<Jul 25, 2011 1:05:54 PM GMT+05:00> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log00003. Log messages will continue to be logged in C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log.>+
    +<Jul 25, 2011 1:06:01 PM GMT+05:00> <Warning> <Munger> <BEA-2156203> <A version attribute was not found in element web-app in the deployment descriptor in C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\DefaultDomain\servers\DefaultServer\tmp\_WL_user\jaxrs-framework-web-lib\829i9k\WEB-INF\web.xml. A version attribute is required, but this version of the Weblogic Server will assume that the JEE5 is used. Future versions of the Weblogic Server will reject descriptors that do not specify the JEE version.>+
    +<ADFContext> <getCurrent> Automatically initializing a DefaultContext for getCurrent.+
    Caller should ensure that a DefaultContext is proper for this use.
    Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly.
    This message may be avoided by performing initADFContext before using getCurrent().
    To see the stack trace for thread that is initializing this, set the logging level of oracle.adf.share.ADFContext to FINEST
    INFO: Found persistence provider "org.eclipse.persistence.jpa.PersistenceProvider". OpenJPA will not be used.
    +<EclipseLinkLogger> <basicLog> 2011-07-25 13:06:36.117--ServerSession(28713857)--PersistenceUnitInfo ServiceFrameworkPUnit has transactionType RESOURCE_LOCAL and therefore jtaDataSource will be ignored+
    +<ADFContext> <getCurrent> Automatically initializing a DefaultContext for getCurrent.+
    Caller should ensure that a DefaultContext is proper for this use.
    Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly.
    This message may be avoided by performing initADFContext before using getCurrent().
    To see the stack trace for thread that is initializing this, set the logging level of oracle.adf.share.ADFContext to FINEST
    +<LoggerHelper> <log> Cannot map nonserializable type "interface oracle.adf.mbean.share.config.runtime.resourcebundle.BundleListType" to Open MBean Type for mbean interface oracle.adf.mbean.share.config.runtime.resourcebundle.AdfResourceBundleConfigMXBean, attribute BundleList.+
    +[01:06:54 PM] Application Deployed Successfully.+
    +[01:06:54 PM] Elapsed time for deployment: 1 minute, 14 seconds+
    +[01:06:54 PM] ---- Deployment finished. ----+
    Run startup time: 73985 ms.
    +[Application NTSL_PORTAL deployed to Server Instance IntegratedWebLogicServer]+
    Target URL -- http://127.0.0.1:7101/mytutorial/index.html
    +<JUApplicationDefImpl> <logDefaultDynamicPageMapPattern> The definition at NTSL.portal.portal.DataBindings.cpx, uses a pagemap pattern match that hides other cpx files.+
    +<NavigationCatalogException> <<init>> oracle.adf.rc.exception.DefinitionNotFoundException: cannot find resource catalog using MDS reference /oracle/webcenter/portalapp/navigations/default-navigation-model.xml Root Cause=[MDS-00013: no metadata found for metadata object "/oracle/webcenter/portalapp/navigations/default-navigation-model.xml"] [Root exception is oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "/oracle/webcenter/portalapp/navigations/default-navigation-model.xml"]+
    +<SkinFactoryImpl> <getSkin> Cannot find a skin that matches family portal and version v1.1. We will use the skin portal.desktop.+
    +<Jul 25, 2011 1:11:04 PM GMT+05:00> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=DeploymentTaskSummaryPage&DeploymentTaskSummaryPortlethandle=com.bea.console.handles.JMXHandle%28%22com.bea%3AName%3DADTR-0%2CType%3DDeploymentTaskRuntime%2CDeployerRuntime%3DDeployerRuntime%22%29.>+

    The below message comes when you don't specify any default file for your webcenter portal application and this should not be any problem.
    Target Portal.jpr is not runnable, using default target index.html.
    Can you answer to my questions:
    1. Did you just created a new wcp application in jdev and ran it with out doing any changes? If you have done what are the changes?
    2. How did you ran your application? (right clicking a particular page or right clicking your portal project and selected "run" option?

  • Error in executing new webcenter portal application

    Hi
    i am getting error in executing new webcenter portal application, even while executing existing webcenter portal application.Installed all necessary bundles.And my installation is under OR_MW_1 folder.
    [Running application SmartSystems on Server Instance IntegratedWebLogicServer...]
    [11:29:32 AM] ---- Deployment started. ----
    [11:29:32 AM] Target platform is (Weblogic 10.3).
    [11:29:33 AM] Retrieving existing application information
    [11:29:33 AM] Running dependency analysis...
    [11:29:33 AM] Deploying 3 profiles...
    [11:29:33 AM] Wrote MAR file to C:\Users\Kavipriya_g01\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\o.j2ee\drs\SmartSystems\AutoGeneratedMar
    [11:29:34 AM] Wrote Web Application Module to C:\Users\Kavipriya_g01\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\o.j2ee\drs\SmartSystems\PortalWebApp.war
    [11:29:34 AM] Info: Namespace '/oracle/adf/share/prefs' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.
    [11:29:34 AM] Info: Namespace '/oracle/webcenter/lifecycle/importexport' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.
    [11:29:34 AM] Info: Namespace '/oracle/webcenter/lock' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.
    [11:29:34 AM] Info: Namespace '/oracle/webcenter/rc' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.
    [11:29:34 AM] Info: Namespace '/persdef' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.
    [11:29:34 AM] Info: Namespace '/shared/oracle/wcps' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.
    [11:29:34 AM] Info: Namespace '/xliffBundles' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.
    [11:29:34 AM] Info: Namespace '/oracle/webcenter/search/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.
    [11:29:34 AM] Info: Namespace '/oracle/webcenter/framework/scope/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.
    [11:29:34 AM] Info: Namespace '/oracle/webcenter/page/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.
    [11:29:34 AM] Info: Namespace '/pageDefs' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.
    [11:29:34 AM] Info: Namespace '/oracle/adf/portlet' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.
    [11:29:34 AM] Info: Namespace '/oracle/adf/portletappscope' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.
    [11:29:34 AM] Info: Namespace '/oracle/webcenter/doclib/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.
    [11:29:34 AM] Info: Namespace '/oracle/webcenter/portalapp' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.
    [11:29:34 AM] Info: Namespace '/oracle/webcenter/security/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.
    [11:29:34 AM] Info: Namespace '/oracle/webcenter/siteresources/shared' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.
    [11:29:34 AM] Info: Namespace '/oracle/webcenter/quicklinks/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.
    [11:29:34 AM] Info: Any customizations created while running the application will be written to 'C:\Users\Kavipriya_g01\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\o.mds.dt\adrs\SmartSystems\AutoGeneratedMar\mds_adrs_writedir'.
    [11:29:35 AM] Wrote Enterprise Application Module to C:\Users\Kavipriya_g01\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\o.j2ee\drs\SmartSystems
    [11:29:35 AM] Deploying Application...
    <May 6, 2013 11:29:36 AM IST> <Warning> <J2EE> <BEA-160140> <Unresolved optional package references (in META-INF/MANIFEST.MF): [Extension-Name: oracle.apps.common.resource, referenced from: C:\Users\Kavipriya_g01\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\DefaultDomain\servers\DefaultServer\tmp\_WL_user\oracle.webcenter.framework\owur7d]. Make sure the referenced optional package has been deployed as a library.>
    <May 6, 2013 11:29:37 AM IST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1367819975651' for task '2'. Error is: 'weblogic.management.DeploymentException: '
    weblogic.management.DeploymentException:
         at weblogic.application.internal.flow.BaseLifecycleFlow$CreateListenerAction.run(BaseLifecycleFlow.java:176)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.application.internal.flow.BaseLifecycleFlow$BaseAction.invoke(BaseLifecycleFlow.java:104)
         at weblogic.application.internal.flow.HeadLifecycleFlow.createListener(HeadLifecycleFlow.java:117)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: oracle.webcenter.lifecycle.listener.FeatureMetricApplicationListener
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
         Truncated. see log file for complete stacktrace
    >
    <May 6, 2013 11:29:37 AM IST> <Notice> <LoggingService> <BEA-320400> <The log file C:\Users\Kavipriya_g01\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <May 6, 2013 11:29:37 AM IST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Users\Kavipriya_g01\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log00003. Log messages will continue to be logged in C:\Users\Kavipriya_g01\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log.>
    <May 6, 2013 11:29:37 AM IST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'SmartSystems [Version=V2.0]'.>
    <May 6, 2013 11:29:37 AM IST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.management.DeploymentException:
         at weblogic.application.internal.flow.BaseLifecycleFlow$CreateListenerAction.run(BaseLifecycleFlow.java:176)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.application.internal.flow.BaseLifecycleFlow$BaseAction.invoke(BaseLifecycleFlow.java:104)
         at weblogic.application.internal.flow.HeadLifecycleFlow.createListener(HeadLifecycleFlow.java:117)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: oracle.webcenter.lifecycle.listener.FeatureMetricApplicationListener
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
         Truncated. see log file for complete stacktrace
    >
    [11:29:37 AM] #### Deployment incomplete. ####
    [11:29:37 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    #### Cannot run application SmartSystems due to error deploying to IntegratedWebLogicServer.
    [Application SmartSystems stopped and undeployed from Server Instance IntegratedWebLogicServer]

    Have you included libraries for this ?
    java.lang.ClassNotFoundException: oracle.webcenter.lifecycle.listener.FeatureMetricApplicationListener

  • Error while deploying application on portal domain

    Hi All,
    I am getting following error while deploying application on portal domain :( :( Not sure what I am missing.......
    Anyone has any idea on this???
    <Oct 6, 2010 7:49:03 AM EDT> <Warning> <com.bea.wlw.netui.pageflow.internal.WebLogicURLTemplateFactory> <BEA-000000> <In webapp <Workshop Application>, the url template <http://{url:domain}:{url:port}/{url:path}?{url:queryString}{url:currentPage}> uses the {url:port} token. The system may not pick up the correct ports if you are using a proxy server. Consider hardcoding the ports in a production environment.>
    <Oct 6, 2010 7:49:05 AM EDT> <Error> <com.bea.p13n.util.jdbc.internal.JdbcSequencer> <BEA-000000> <Cannot allocate sequence block:
    java.sql.SQLException: Cannot call commit when using distributed transactions
    at weblogic.jdbc.wrapper.JTAConnection.commit(JTAConnection.java:349)
    at com.bea.p13n.util.jdbc.internal.JdbcSequencer.allocateSequenceBlockNewTx(JdbcSequencer.java:626)
    at com.bea.p13n.util.jdbc.internal.JdbcSequencer.getNext(JdbcSequencer.java:456)
    at com.bea.netuix.application.manager.persistence.jdbc.MarkupDefinitionDelegate.createMarkupDefinition(MarkupDefinitionDelegate.java:785)
    at com.bea.netuix.application.manager.persistence.jdbc.MarkupDefinitionManagerImpl.createMarkupDefinition(MarkupDefinitionManagerImpl.java:161)
    Truncated. see log file for complete stacktrace
    >
    <Oct 6, 2010 7:49:05 AM EDT> <Error> <netuix> <BEA-423147> <Exception [javax.transaction.TransactionRolledbackException: EJB Exception: : javax.ejb.EJBException: SQL Error while trying to createMarkupDefinition: SQL [insert into PF_MARKUP_DEFINITION ( MARKUP_DEFINITION_ID, MARKUP_NAME, MARKUP_TYPE, WEBAPP_NAME, MARKUP_FILE) values (?,?,?,?,?)] database error code [0] SQL state [null]. Possible markup duplication of [
    MarkupDefinition:
    webAppName = plassPortalWeb
    type = Menu
    name = multiLevelMenu
    file = /framework/markup/menu/multilevel.menu
    beginXml = <netuix:multiLevelMenu $(markupType) $(markupName)>
    endXml = </netuix:multiLevelMenu>
    MarkupDefinitionId = null].; nested exception is: java.sql.SQLException: Cannot call commit when using distributed transactions
    java.sql.SQLException: Cannot call commit when using distributed transactions
    at weblogic.jdbc.wrapper.JTAConnection.commit(JTAConnection.java:349)
    at com.bea.p13n.util.jdbc.internal.JdbcSequencer.allocateSequenceBlockNewTx(JdbcSequencer.java:626)
    at com.bea.p13n.util.jdbc.internal.JdbcSequencer.getNext(JdbcSequencer.java:456)
    at com.bea.netuix.application.manager.persistence.jdbc.MarkupDefinitionDelegate.createMarkupDefinition(MarkupDefinitionDelegate.java:785)
    at com.bea.netuix.application.manager.persistence.jdbc.MarkupDefinitionManagerImpl.createMarkupDefinition(MarkupDefinitionManagerImpl.java:161)
    at com.bea.netuix.application.manager.persistence.jdbc.MarkupDefinitionManager_twpn9c_EOImpl.createMarkupDefinition(MarkupDefinitionManager_twpn9c_EOImpl.java:138)
    at com.bea.netuix.servlets.repository.MenuFilePersistenceManager.onNewFile(MenuFilePersistenceManager.java:160)
    at com.bea.netuix.servlets.repository.MenuFilePersistenceManager.createUpdateMenuDefinitions(MenuFilePersistenceManager.java:267)
    at com.bea.netuix.servlets.repository.MenuFilePersistenceManager.startupSync(MenuFilePersistenceManager.java:529)
    at com.bea.netuix.servlets.repository.AbstractFilePersistenceManager$StartupSync.run(AbstractFilePersistenceManager.java:155)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    at com.bea.netuix.servlets.repository.AbstractFilePersistenceManager.startup(AbstractFilePersistenceManager.java:97)
    at com.bea.netuix.servlets.repository.MenuFilePersistenceManager.onNewFiles(MenuFilePersistenceManager.java:228)
    at com.bea.netuix.poller.FrameworkPoller.newFiles(FrameworkPoller.java:256)
    at com.bea.netuix.poller.NetuixFilePoller.start(NetuixFilePoller.java:172)
    at com.bea.netuix.servlets.manager.PortalServlet.reinitInternal(PortalServlet.java:390)
    at com.bea.netuix.servlets.manager.PortalServlet.initInternal(PortalServlet.java:261)
    at com.bea.netuix.servlets.manager.PortalServlet.access$100(PortalServlet.java:125)

    Hello Everybody,
    I solved this error by myself as follows:
    So, what I did was; I started the RemoteGui.bat (C:\usr\sap\J2E\JC00\SDM\program) and from the Undeployment tab, I selected “mainapp01” and “com.sap.engine.docs.examples”.
    The reason I undeployed the above applications was because when I was trying to deploy the mainapp01 application, it gave an error saying that “: Cannot deploy application pcbp.com/mainapp01.. Reason: Application alias [/] for application [pcbp.com/mainapp01] already exists in the HTTP Provider Service. The application that holds this alias is [sap.com/com.sap.engine.docs.examples “.
    And, then I restarted the J2EE engine and from the SAP Netweaver Developer Studio, I again deployed the mainapp01 application on the local J2EE engine and it was deployed successfully.
    Oct 10, 2006 9:45:30 AM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] INFO:
    [002]Finished Deployment
    Settings
    SDM host : RPIKOER
    SDM port : 50018
    URL to deploy : file:/C:/DOCUME1/krunalra/LOCALS1/Temp/temp9270pcbp.com~mainapp01.ear
    Result
    => successfully deployed : file:/C:/DOCUME1/krunalra/LOCALS1/Temp/temp9270pcbp.com~mainapp01.ear
    Thank You
    With Regards,
    Krunal Rana.

  • Error while simualting a Portal application

    I am trying to create a Portlet thru Portal Builder. So in the 1st step I have created a Portal application, then created a Portlet extending Generic Protlet. Then finally I have tried to simulate into SunONE Portal Server. At that time I am facing java.lang.IllegalArgumentException error.

    I am trying to create a Portlet thru Portal Builder. So in the 1st step I have created a Portal application, then created a Portlet extending Generic Protlet. Then finally I have tried to simulate into SunONE Portal Server. At that time I am facing java.lang.IllegalArgumentException error.

  • Consuming external Web Service in portal application:Error URL.getProtocol

    Hello!
    I implemented a portal application which consums a external Web Service with NWDS 7.2.
    The Webservice access works fine when I test it in a Java-Main Class.
    If I deploy the application in a portal then I get the error:
    java.lang.NullPointerException: while trying to invoke the method java.net.URL.getProtocol() of an object loaded from local variable 'tmpUrl'
    It seems that my service_client-class has the problem to call the wsdl if the application is in portal:
    static {
        java.net.URL url = null;
        try {
                   java.net.URL tmpUrl = SERVICEClient.class.getClassLoader().getResource
                  ("wsdl/com/sap/test/SERVICE.wsdl");
                  url = new java.net.URL(tmpUrl.getProtocol(), tmpUrl.getHost(), tmpUrl.getPort(), tmpUrl.getFile());
        } catch (java.net.MalformedURLException e) {
          e.printStackTrace();
    Can anybody help me?
    Thanks, Thomas

    Hello Thomas,
    I got the same error. In my case I used an Enterprise Application Project for the developement of my Portal Service. The portal service itself was calling an external webservice.
    The reason in my case lies behind the generation of the EAR-File with the NetWeaver Developer Studio). Inside the generated EAR-File the WSDL-File was always missing. In consequence "
    java.net.URL tmpUrl = SERVICEClient.class.getClassLoader().getResource
                  ("wsdl/com/sap/test/SERVICE.wsdl");" is always "NULL".
    and "tmpUrl.getProtocol()" leads to the NullPointerException.
    So I copied my wsdl-folder / package with the wsdl-file inside the {application}.ear / {application}.war / WEB-INF / private / lib / {application}.jar and everything works fine:-)
    Regards
    Steffen
    PS: Today I found a better way without copying the wsdl-file into the EAR-File. I just didn't use the Enterprise Application Project for the developement of portal services anymore. If you look inside the generated EAR-File, you can see, that you can develop the portal service also by using a simple Dynamic Web Project wrapped by an Enterprise Application Project:-)
    (Rem.: Don't miss the portalapp.xml deployment descriptor).
    If you deploy the Enterprise Project the WSDL-File is always inside the generated EAR-File :-)

  • Error while running the portal application

    Hi All,
    I have made one sample portal application in Sun Java Studio Enterprise 8.When I build this application it is successfully build.Now when I start the server of Sun Java Studio Enterprise 8 and try to run the project ,the browser opens and gives the following error::
    HTTP Status 404 - /portlet/
    type Status report
    message /portlet/
    description The requested resource (/portlet/) is not available.
    Sun-Java-System/Application-Server
    If anyone having idea about this problem then please let me know.All suggestions are welcome.
    Thanx and Regards,
    Chirag.

    OK, so they are not in the mood for posting on the forum today :-)
    They suggest three things.
    1) Restart the server. Deploying a portlet requires some configuration changes, which will take effect only after the server is restarted. Thus if it failed to restart due to some reason...
    2) Try deleting the JSE userdir and trying again.
    3) If the above two items do not help. Start the studio with the following command:runide.exe -J-Dcom.sun.tools.ide.portletbuilder.log=log,info try the deployment and either post here or email the output which will be output to the console.
    HTH,
    Kirill

  • Error after deploying JCA on EP6( Portal Applications with  RFC)

    <b><u><b>Error</b></u>
      Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    iView not found: ewParProject.JspPage.
    Exception id: 06:22_23/03/07_0104_14574950
    See the details for the exception ID in the log file</b>
    I<u><i><b> have written code in java file for connection as follows
    please help me.</b></i></u>
    package com.rr.JspPage;
    import javax.resource.cci.MappedRecord;
    import javax.resource.cci.RecordFactory;
    import com.sap.security.api.umap.NoLogonDataAvailableException;
    import com.sapportals.connector.ConnectorException;
    import com.sapportals.connector.connection.IConnection;
    import com.sapportals.connector.execution.functions.IInteraction;
    import com.sapportals.connector.execution.functions.IInteractionSpec;
    import com.sapportals.connector.execution.structures.IRecordMetaData;
    import com.sapportals.connector.execution.structures.IRecordSet;
    import com.sapportals.htmlb.page.DynPage;
    import com.sapportals.htmlb.page.PageException;
    import com.sapportals.portal.htmlb.page.JSPDynPage;
    import com.sapportals.portal.htmlb.page.PageProcessorComponent;
    import com.sapportals.portal.ivs.cg.ConnectionProperties;
    import com.sapportals.portal.ivs.cg.IConnectorGatewayService;
    import com.sapportals.portal.ivs.cg.IConnectorService;
    import com.sapportals.portal.prt.component.IPortalComponentRequest;
    import com.sapportals.portal.prt.runtime.PortalRuntime;
    @author laxmikant.pathak
    To change the template for this generated type comment go to
    Window>Preferences>Java>Code Generation>Code and Comments
    public class JspPage extends PageProcessorComponent {
      public DynPage getPage(){
        return new JspPageDynPage();
      public static class JspPageDynPage extends JSPDynPage{
        /* (non-Javadoc)
    @see com.sapportals.htmlb.page.DynPage#doInitialization()
         public void doInitialization()   {
              try {
                        IConnectorGatewayService cgService =(IConnectorGatewayService)
                        PortalRuntime.getRuntimeResources().getService(IConnectorService.KEY);
                        IPortalComponentRequest request=(IPortalComponentRequest) this.getRequest();
                        ConnectionProperties cp = new ConnectionProperties(request.getLocale(),request.getUser());
                        IConnection connection = cgService.getConnection("P35",cp);
                        IInteraction ix = connection.createInteractionEx();
                        IInteractionSpec ixspec = ix.getInteractionSpec();
         //               Put Function Name into interaction Properties.
                       ixspec.setPropertyValue("Name","ZHRESS_ESEPARATION_DETAILS");
                       RecordFactory rf = ix.getRecordFactory();
         //               create input MappedRecord from
                       MappedRecord input;
                        input = rf.createMappedRecord("input");
                        input.put("YYMOD","DIS");
                        input.put("YYUSR","EMP");
                        MappedRecord output = (MappedRecord)ix.execute(ixspec, input);
                        IRecordSet rs = null;
                       Object result = output.get("T_P9100");
                        if (result instanceof IRecordSet)
                             rs = (IRecordSet) result;
                        IRecordMetaData rsmd = null;
                        try
                             rsmd = rs.retrieveMetaData();
                        } catch (Exception ex)
                             ex.getStackTrace() ;
         //                  Do something with the Metadata
                        finally
                             if (connection != null)
                                  try
                                       connection.close();
                                       //logMsg("* Iview: Closing connection ok.");
                                       connection = null;
                                  catch (Exception e)
                                       //logMsg("* Iview: Error closing connection.");
                   } catch (ConnectorException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   } catch (NoLogonDataAvailableException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   } catch (javax.resource.ResourceException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
        public void doProcessAfterInput() throws PageException {
        public void doProcessBeforeOutput() throws PageException {
          this.setJspName("JspPageFile.jsp");
    <b>My Jsp file</b>
    hbj:content id="myContext" >
      <hbj:page title="PageTitle">
       <hbj:form id="myFormId" >
        Test
       </hbj:form>
      </hbj:page>
    </hbj:content>
    <b><u>XML File</u></b>
    <?xml version="1.0" encoding="utf-8"?>
    <application>
      <application-config>
        <property name="PrivateSharingReference" value="com.sap.portal.htmlb"/>
        <property name="ServicesReference"  value="com.sap.portal.ivs.connectorservice"/>
      </application-config>
      <components>
        <component name="JspPage">
          <component-config>
            <property name="ClassName" value="com.rr.JspPage.JspPage"/>
            <property name="ComponentType" value="jspnative"/>
            <property name="JSP" value="pagelet/JspPageFile.jsp"/>
            <property name="ServicesReference"  value="com.sap.portal.ivs.connectorservice"/>
          </component-config>
          <component-profile/>
        </component>
      </components>
      <services/>
    </application>
    <b>Error
      Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    iView not found: ewParProject.JspPage.
    Exception id: 06:22_23/03/07_0104_14574950
    See the details for the exception ID in the log file</b>

    Hi Laxmi,
    this is a portal application problem - nothing to do with this forum. Anyway - you can try by changing your component-config portion in portalapp.xml and see whether it works or not.
    Your current component config is like below
    <component-config>
    <property name="ClassName" value="com.rr.JspPage.JspPage"/>
    <property name="ComponentType" value="jspnative"/>
    <property name="JSP" value="pagelet/JspPageFile.jsp"/>
    <property name="ServicesReference" value="com.sap.portal.ivs.connectorservice"/>
    </component-config>
    Try replaing the same with below:
    <component-config>
    <property name="ClassName" value="com.rr.JspPage.JspPage"/>
    <property name="SecurityZone" value="com.sap.portal.pdk/low_safety"/>
    </component-config>
    Check once and let me know...
    regards,
    Shubho

Maybe you are looking for