Packaging a PAR as Part of a EAR

Hello
I have found documentation regarding Packaging a PAR as Part of a EAR on http://help.sap.com/saphelp_erp2004/helpdata/en/76/27044017355c0ce10000000a1550b0/content.htm
Though I managed to do it manually (i.e. meddling with the application-j2ee-engine.xml and manipulate the PAR file into the EAR file), my question is:
How do i do it the right way, using the NW04 Developer Studio ?
What i mean is, that when I use the NW04 Developer Studio, and create a EAR project, it seems as if I can not add any other files into it other than WEB or EJB modules. However, in this case I need to add a PAR file into the Ear...
In other words, is there a way to perform the actions described in http://help.sap.com/saphelp_erp2004/helpdata/en/76/27044017355c0ce10000000a1550b0/content.htm
using the NW04 Developer Studio ?
Thanks
Zach Engel
Check Point

hi,
this may help:
<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/c6/c3e741c588c517e10000000a155106/frameset.htm">http://help.sap.com/saphelp_nw2004s/helpdata/en/c6/c3e741c588c517e10000000a155106/frameset.htm</a>
BR
Diana

Similar Messages

  • Using a java project in a web which is part of a ear

    hi
    i have an ear (jspkeepEAR) that includes a web project (jspkeep). The web project uses a java project (common).
    I don't want the EAR to know about the common, so i've added the common as a j2ee module to the web project.
    when publishing, i can see under
    C:\bea92\user_projects\w4WP_workspaces\Untitled\.metadata\.plugins\org.eclipse.core.resources\
    .projects\jspkeepEAR\beadep\workshop\jspkeepEAR
    the .beabuild.txt file:
    C\:/bea92/user_projects/w4WP_workspaces/Untitled/jspkeepEAR/EarContent/APP-INF/classes = APP-INF/classes
    C\:/bea92/user_projects/w4WP_workspaces/Untitled/jspkeep/WebContent = jspkeep.war
    C\:/bea92/user_projects/w4WP_workspaces/Untitled/jspkeep/build/classes = jspkeep.war/WEB-INF/classes
    C\:/bea92/user_projects/w4WP_workspaces/Untitled/jspkeep/build/jws/.src = jspkeep.war/WEB-INF/classes
    C\:/bea92/user_projects/w4WP_workspaces/Untitled/common = jspkeep.war/WEB-INF/lib/common.jar
    the problem is, when i'm surfing to a servlet in the web, i get NoClassDefFoundError for classes in the common.
    I've also noticed that if i publish the web project by itself (and not as part of the ear), it works fine.
    any idea?
    thanks
    yair
    Edited by reformy at 12/12/2006 2:24 AM

    Hi Yair
    It appears that WLS only supports mapping a directory to a jar in APP-INF/lib/
    C\:/runtime-New_configuration/Common/bin = APP-INF/lib/Common.jar
    but NOT to a jar in WEB-INF/lib.
    Engineering will look into it sometime to fix it.
    Workaround Suggested:
    As a workaround, you can include the Java/Utility project as part of the EAR and set as dependent J2EE module to the Web project.
    Hope this helps.
    Vimala-

  • Deploying an ADF application as part of an EAR

    I have an ADF application that should be deployed as part of an EAR. The components of this EAR are assembled in Ant and part of an EAR deployment profile. When I right click on the adfc-config.xml file and choose run, I want JDeveloper to deploy the entire application, not just the webapp. How do I do this? I don't see any clear directions for this. It appears I would have to click on the Application menu and select Deploy which doesn't cause the browser to open when the deployment is complete.

    When you right click and choose run a virtual EAR in exploded form is created for you in the system.xx.xx.xx.\o.j2ee\drs\<application> directory. This is equivalent to what you would do when clicking on the application menu and selecting deploy. This is done for you to make debugging and testing an app easier from within JDeveloper. If you look in the online help for"Integrated Weblogic Server" you can find more details on this feature.

  • How to package a par into an ear

    Hi,
    I have built a par. Now I want to package it into an ear, as I want to use application-j2ee-engine.xml. I've read <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/42/9ddd96bb211d72e10000000a1553f6/content.htm">Packaging PARs in J2EE Applications</a> and add
    the following to application-J2ee-engine.xml:
    <modules-additional>     
            <module>
               <entry-name>
                  KMCTitan.par
               </entry-name>
               <container-type>
                  PortalRuntimeContainer
               </container-type>
            </module>
         </modules-additional>
    But, my question is, where should this KMCTitan.jar be placed?
    I am using NWDS.
    Thanks,
    Ray

    Please refer to <a href="https://forums.sdn.sap.com/thread.jspa?threadID=354957">this</a> thread.
    -Vladimir

  • Where do I find spare partes for in-ear headphones?

    Apple in-ear headphones have a BIG defect.
    It's too easy to loose the gummy part that fits into the ear, especially if you them around the neck while not using them and you wear a backpack.
    the replacements you find in the packaging have different sizes, so that you can find the right size for you BUT there is only a couple for each measure, thus you DON'T have replacement parts.
    I've lost 4 pieces in the last months progressively adapting in using the wrong sizes (how annoying!).
    Now I've lost another and apparently there's no way to get spare parts.
    Headphones cost as much as 90 EUROS in Italy
    My ones are just a few months old and perfectly working!!
    I can't believe I have to trash them because I can't find a spare that could cost few cents ta Apple.
    In my eyes this is a big hit to Apple reputation
    I "forced" my company to buy for me in the last months a MacBook Pro, two iPhones (3G and 4) and an iPad 3G. I think I deserve some support, but, at least in Italy, the customer service is not up to the level of the brand.
    Is there someone out ther that can help me?
    Giulio

    you're not addressing apple when you're writing in this forum but just other users like you
    and I'm not sure something as small as headsets have replacement parts but they should be covered by the normal warranty

  • Package-import statement problem: Part II

    Hello again everyone...
    It seems all of you have mistaken my original problem to some degree. The beginning part of my DataAddingTest.java file reads like this:
    // This class tests adding data to the data structures in my Risk(c) game.
    package risk.tests;
    import risk.*;
    DataAddingTest.java is in my C:\Java\risk\tests\ directory. I am trying to import a whole bunch of files from my main risk directory, i.e., C:\Java\risk\. And it is just not working. I have no idea why. I'm pretty sure I have the correct syntax for what I'm doing; it should work. The exact error message I get at compile-time is this:
    DataAddingTest.java:5: package risk does not exist
    import risk.*;
    ^
    There is indeed a C:\Java\risk\ directory (of course), and it contains many java files, all of which have "package risk;" declared at the top. And yes, I have also compiled those before I try to compile this file. Someone please help! Thanks for everyone's time.
    -Billy Mahabir
    PS. Reply to http://forum.java.sun.com/thread.jsp?forum=31&thread=392985
    to earn some Duke Dollars for your trouble; if you can help me.

    Thank you for your help; you are the first one to
    successfully help me. I'll give you some DD's if you
    reply to my original post:
    http://forum.java.sun.com/thread.jsp?forum=31&thread=39
    985
    Thanks again!
    -Billy MahabirHuh??
    Maybe you should go back to your original post and check the last two replies.
    Both tell you to do exactly that: Set your classpath!

  • Struts not loading when EJB is part of the EAR?

    I've been building a struts 1.2 application that is part of .war file that is deployed within an ear file. The web application has been working fine with Weblogic 8.1
              Today, i added a ejb jar file to the ear and now i get a javax.servlet.UnavailableException: Parsing error processing resource path /WEB-INF/struts-config.xml when executing the web application.
              When I remove the EJB JAR, the web application works fine. So I can't imagine that there is something wrong with struts-config.xml file?
              Why would addind an EJB to the EAR cause this problem. Has anyone else seen this?

    The struts files where never in the EJB.
              I was able to fix this, strangley enough, by moving all the lbraries from the WEB-INF/lib directory within the war, and copy them to the APP-INF/lib directory within the ear.
              For some reason that fixed the problem, but now i have to clean up the code because I have duplicate libraries within my war and APP-INF/lib directory in my ear.
              Very very bizarre.

  • Search Content Package - BusinessObjectsKM.par

    Hello,
    i have read this posting. (Location of BusinessObjectsKM.par)
    Unfortunately, the contribution will help me further. I am looking for the file urgently.
    Sorry, but I can not find the directory. Where exactly is the folder with the file?
    %Business Objects%/BusinessObjects Enterprise 12.0/java/applications ??????
    I hope someone can help.
    Regards
    J. Vogl

    The BusinessObjectsKM.par file gets installed with the  Business objects integration kit.
    By default the file is located in the directory
    <Install Dir/BusinessObjects/BusinessObjects Enterprise 12.0/java/applications>.
    Check this wiki for more information:
    http://wiki.sdn.sap.com/wiki/display/BOBJ/IntegrationofBOEXI3.1intotheSAPEnterprisePortal+7.x
    - Shanti

  • Issue in accessing EJB from plain java

    Hi,
    I am new to OAS. I am using OAS 10.1.2.
    I want to access EJB which runs inside OAS, through a plain java program which runs from outside the OAS environment (standalone java program).
    I am confused on what to use. RMIInitialContextFactory or ApplicationClientInitialContextFactory for the context in the java program.
    what should be the provide URL ?
    java.naming.provider.url","ormi://hostname:18140/
    is it "ormi" or something else? what is the port number should i use. there are many ports in this OAS. i see that in the console("Ports") link.
    also let me know what should i mention in the EJB xml descriptor.
    Is this lookup to be done by retrieving from jndi?
    pls help.
    Thanks,
    Sukumar
    with this confusion i developed an EJB with the following details
    ejb-jar.xml
    <ejb-ref>
         <ejb-ref-name>ejb/testDetails</ejb-ref-name>
         <ejb-ref-type>Entity</ejb-ref-type>
    <home>com.xxx.xxx.testDetailsHome</home>
    <remote>com.xxx.xxx.testDetails</remote>
         </ejb-ref>
    orion-ejb-jar.xml
    <entity-deployment name="ejb/testDetails" location="ejb/testDetails"
    Client Java program
    public class testDetailsClient
    public static void main(String [] args)
    testDetailsClient testDetailsClient = new testDetailsClient();
    try
    Context context =getInitialContext();
    testDetailsHome testDetailsHome = (testDetailsHome)PortableRemoteObject.narrow(context.lookup("java:comp/env/ejb/testDetails"), testDetailsHome.class);
    testDetails testDetails;
    catch(Throwable ex)
    ex.printStackTrace();
    private static Context getInitialContext() throws NamingException
    Hashtable env = new Hashtable();
    env.put("java.naming.factory.initial","com.evermind.server.rmi.RMIInitialContextFactory");
    //env.put("java.naming.factory.initial","com.evermind.server.ApplicationClientInitialContextFactory");
    env.put("java.naming.provider.url","ormi://host_name:18140/"); //23791 18140
    env.put(Context.SECURITY_PRINCIPAL, "ias_admin");
    env.put(Context.SECURITY_CREDENTIALS, "abc123");
    InitialContext context = new InitialContext(env);
    return context;
    if i execute this, it says
    javax.naming.NameNotFoundException: java:comp/env/ejb/testDetails not found
    18140 is Application Server Control RMI port.
    if i run the same code with ApplicationClientInitialContextFactory, it throws exception saying
    java.lang.InstantiationException: No location specified and no suitable instance of the type 'com.testdetails.testDetails' found for the ejb-ref ejb/testDetails
         at com.evermind.server.administration.ApplicationResourceFinder.getEJBHome(ApplicationResourceFinder.java:268)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
         at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    javax.naming.NamingException: Error reading application-client descriptor: No location specified and no suitable instance of the type 'com.testdetails.testDetails' found for the ejb-ref ejb/testDetails
         at com.evermind.server.ApplicationClientInitialContextFactory.getInitialContext(ApplicationClientInitialContextFactory.java:161)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
         at javax.naming.InitialContext.init(InitialContext.java:219)
         at javax.naming.InitialContext.<init>(InitialContext.java:195)
         at com.testdetails.testDetailsClient.getInitialContext(testDetailsClient.java:89)
         at com.testdetails.testDetailsClient.main(testDetailsClient.java:20)
    pls help

    Hi,
    you do not have to package your EJB and PAR together! You can deploy them separately and then reference the J2EE Application from your PAR or vice versa to access it.
    For instance you can access the EJB from your PAR as described here:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/42/9ddf20bb211d72e10000000a1553f6/frameset.htm
    Or you can access a Portal application from J2EE like described here:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/42/9ddd0cbb211d72e10000000a1553f6/frameset.htm
    Even if you package your PAR in to the same EAR with your EJB they will result in two different containers on the J2EE Engine and you will have to reference them as described in the link above to access the functionality of one component from the other.
    Best regards,
    Stefan Brauneis

  • Problems while deploying a war file as a part of ear file

    Hello!!!
              Is there a weblogic or Sun reference document to find out the correct way to specify library paths or class paths when one is trying to deploy a WAR file as a part of an EAR file?
              I have been having lot of trouble and very sporadic too in getting stuff to work correctly.
              -Eagle

    OK! I found something the very hard way. For my J2EE application packaged as an ear file containing one ejb module in an ejb-jar file and one web module in my .war file; further, noting that my web module is a struts application; it appears that the dependent jar libraries should be placed in the EAR file and a MANIFEST classpath entry should be added to the ejb-jar file's manifest - even for the WAR to work correctly. the presence or absence of dependent jar files in the "lib" directory of the WAR file makes no difference for the working of the WAR file.
              Is this behavior that I am seeing on my weblogic 8.1 server a documented and expected behavior? I am not too sure. did anyone else have such an experience?
              Eagle
              > Hello!!!
              >
              > Is there a weblogic or Sun reference document to find
              > out the correct way to specify library paths or class
              > paths when one is trying to deploy a WAR file as a
              > part of an EAR file?
              >
              > I have been having lot of trouble and very sporadic
              > too in getting stuff to work correctly.
              >
              > -Eagle

  • How to package 3rd party libs into EAR

    Netweaver 7.0, WEBAS 640:
    I have an EAR I am deploying containing an EJB and a webapp. I have third party jars that I need to use from both the EJB and webapp, and so want to just package in as part of the EAR. I do not want to fuss with deploying the third party jars separately, nor do I want to duplicate them into the EJB and WAR separately...
    I have the jars in the root of my EAR project, and have the build path set up in NWDS for the EJB and WAR so that the jars are referenced, so I'm ok at build time...
    ...but I'm getting NoClassDefFound exceptions for the classes in the 3rd party apps when I go to run them.
    What do I have to do in my EJB and WAR projects to be able to see the third party jars in the EAR at runtime?

    Hi,
    <module>
        <java>
          <uri>abc.jar</uri>
        </web>
      </module>
    Try putting this in application.xml.
    The best option for such type of problem is creating a APP-INF folder under the root.
    Sample structure:
    ear
          APP-INF
               classes   -- put all class files and properties files
               lib           -- put all jar files
        war
        ejb-jar
    Try with this structures. Put all the jar files under APP-INF/lib folder, and the application class loader will pull all the classes and properties from classes and lib folder.
    NOTE: I am not sure this folder is recognised in EP server. Weblogic recognises this folder.
    Try this once.
    In EP server the recommendation is to create  j2ee library projects and refer them in the project descriptor files. By specifying thus the server will load them in the application class loader.
    Rama Murthy

  • Error while migrating PAR 7.0 to 7.4

    Hi Experts,
    As we are migrating form EP 7.0 to EP 7.4 .
    I got ear file from Par migration tool.
    Importing ear in nwds 7.3 and resolving error , I deploy the ear in portal it is working fine.
    But when i migrate the web Project to Web dc in Track . It is showing errors at build time but in Java files there is no  Red mark .
    To resolve errors i have created External Library and ear for External and add the htmlb_api.jar as public part . and Define dependecy in Web dc but it is still showing errors.
    Build File is below
    Development Component Build (2014-05-31 12:00:27 GMT+05:30 (IST))
      Component name: appls/usefullink_d0_newnwdidc_web
      Component vendor: adani.com
      SC compartment: com.adani_ADANI_PAR_1
      Configuration: EP1_ESS_D
      Location: EP1_ESS_D
      Source code location: http://aimdmp:50100/dtr/ws/ESS/com.adani_ADANI_PAR/dev/inactive/DCs/adani.com/appls/usefullink_d0_newnwdidc_web/_comp/
      DC root folder: C:\Users\IBM_ADMIN\Desktop\Jayesh\nwds-extsoa-7.3-EHP1-SP11-PAT0002-win32\eclipse\workspace.jdi\0\DCs\adani.com\appls\usefullink_d0_newnwdidc_web\_comp\
      DC type: Java
      Host: ADMINIB-9G29PH6
    DC Model check:
       DC is available locally
       validating dependency to build plugin "sap.com/tc/bi/bp/javaLib"
       validating dependency to  public part "api" of DC "adani.com/appls/externallib"
       validating dependency to  public part "archives" of DC "adani.com/appls/externallib"
       validating dependency to  public part "extlib_assembly" of DC "adani.com/appls/externallib"
       validating dependency to  public part "extlib_compilation" of DC "adani.com/appls/externallib"
       validating dependency to used DC "adani.com/appls/extlibear"
       validating dependency to  public part "extlibear_assembly" of DC "adani.com/appls/extlibear"
       DC model check OK
    Start build plugin:
       using build plugin: sap.com/tc/bi/bp/javaLib
       starting build plugin from : C:\Users\IBM_ADMIN\Desktop\Jayesh\nwds-extsoa-7.3-EHP1-SP11-PAT0002-win32\eclipse\workspace.jdi\0\DCs\sap.com\tc\bi\bp\javaLib\_comp\gen\default\public\saplib\
    Build Plugin 'JavaPlugin', Version 7.30 SP 5 (NW731CORE_10_REL, built on 2013-11-30 00:01:40 +0100, CL166627)
       development component:  appls/usefullink_d0_newnwdidc_web (adani.com)
          software component:  ADANI_PAR (com.adani)
                    location:  EP1_ESS_D
                        type:  Java
               build variant:  default
             source location:  http://aimdmp:50100/dtr/ws/ESS/com.adani_ADANI_PAR/dev/inactive/
             output location:  C:\Users\IBM_ADMIN\Desktop\Jayesh\nwds-extsoa-7.3-EHP1-SP11-PAT0002-win32\eclipse\workspace.jdi\0\t2\467E48D66F1396B5F9AE0955FA811780\default
           generation folder:  C:\Users\IBM_ADMIN\Desktop\Jayesh\nwds-extsoa-7.3-EHP1-SP11-PAT0002-win32\eclipse\workspace.jdi\0\t\467E48D66F1396B5F9AE0955FA811780
           plugin start time:  2014-05-31 12:00:28 GMT+05:30 (IST)
                     Java VM:  SAP Java Server VM, 6.1.066 24.55-b13 (1.6, SAP AG)
    General options:
      convert *.xlf to *.properties: yes
      include sources for debugging: yes
    Package folder ".apt_generated" exists but is empty and will be ignored.
    Checking path lengths for sources
    Path length checks finished in 0 seconds
    Preparing data context..
    Data context preparation finished in 0.015 seconds
    Creating Ant build file..
      Creating output file: C:\Users\IBM_ADMIN\Desktop\Jayesh\nwds-extsoa-7.3-EHP1-SP11-PAT0002-win32\eclipse\workspace.jdi\0\t2\467E48D66F1396B5F9AE0955FA811780\default\logs\build.xml
      Using Java class:     com.sap.tc.buildplugin.BuildJavaLib
    Build file creation finished in 0.063 seconds
    Starting Ant..
      Using build file:     C:\Users\IBM_ADMIN\Desktop\Jayesh\nwds-extsoa-7.3-EHP1-SP11-PAT0002-win32\eclipse\workspace.jdi\0\t2\467E48D66F1396B5F9AE0955FA811780\default\logs\build.xml
      Using build target:   build
      Using Ant version:    1.7.1
    compile:
          [echo] Starting Java compiler using the current JVM
          [echo] Settings:
          [echo]         debug: on
          [echo]      optimize: off
          [echo]   deprecation: default
          [echo]       verbose: default
          [echo]      encoding: UTF-8
          [echo]        source: 1.6
          [echo]        target: 1.6
          [echo]   source path: C:\Users\IBM_ADMIN\Desktop\Jayesh\nwds-extsoa-7.3-EHP1-SP11-PAT0002-win32\eclipse\workspace.jdi\0\DCs\adani.com\appls\usefullink_d0_newnwdidc_web\_comp\src
          [echo]    class path: C:\Users\IBM_ADMIN\Desktop\Jayesh\nwds-extsoa-7.3-EHP1-SP11-PAT0002-win32\eclipse\workspace.jdi\0\DCs\adani.com\appls\externallib\_comp\gen\default\public\extlib_compilation\lib\java\com.sap.portal.htmlb_api.jar
          [echo]    output dir: C:\Users\IBM_ADMIN\Desktop\Jayesh\nwds-extsoa-7.3-EHP1-SP11-PAT0002-win32\eclipse\workspace.jdi\0\t\467E48D66F1396B5F9AE0955FA811780\classes
         [javac] Compiling 7 source files to C:\Users\IBM_ADMIN\Desktop\Jayesh\nwds-extsoa-7.3-EHP1-SP11-PAT0002-win32\eclipse\workspace.jdi\0\t\467E48D66F1396B5F9AE0955FA811780\classes
         [javac] ERROR: C:\Users\IBM_ADMIN\Desktop\Jayesh\nwds-extsoa-7.3-EHP1-SP11-PAT0002-win32\eclipse\workspace.jdi\0\DCs\adani.com\appls\usefullink_d0_newnwdidc_web\_comp\src\com\adani\usefullink\Alert.java:3: package com.sapportals.portal.prt.component does not exist
         [javac] ERROR: import com.sapportals.portal.prt.component.*;
         [javac] ERROR: ^
         [javac] ERROR: C:\Users\IBM_ADMIN\Desktop\Jayesh\nwds-extsoa-7.3-EHP1-SP11-PAT0002-win32\eclipse\workspace.jdi\0\DCs\adani.com\appls\usefullink_d0_newnwdidc_web\_comp\src\com\adani\usefullink\Alert.java:4: package com.sapportals.portal.prt.resource does not exist
         [javac] ERROR: import com.sapportals.portal.prt.resource.IResource;
         [javac] ERROR:                                          ^
         [javac] ERROR: C:\Users\IBM_ADMIN\Desktop\Jayesh\nwds-extsoa-7.3-EHP1-SP11-PAT0002-win32\eclipse\workspace.jdi\0\DCs\adani.com\appls\usefullink_d0_newnwdidc_web\_comp\src\com\adani\usefullink\Alert.java:6: cannot find symbol
         [javac] ERROR: symbol: class AbstractPortalComponent
         [javac] ERROR: public class Alert extends AbstractPortalComponent
         [javac] ERROR:                            ^
         [javac] ERROR: C:\Users\IBM_ADMIN\Desktop\Jayesh\nwds-extsoa-7.3-EHP1-SP11-PAT0002-win32\eclipse\workspace.jdi\0\DCs\adani.com\appls\usefullink_d0_newnwdidc_web\_comp\src\com\adani\usefullink\Alert.java:8: cannot find symbol
         [javac] ERROR: symbol  : class IPortalComponentRequest
         [javac] ERROR: location: class com.adani.usefullink.Alert
         [javac] ERROR:     public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
         [javac] ERROR:                           ^
         [javac] ERROR: C:\Users\IBM_ADMIN\Desktop\Jayesh\nwds-extsoa-7.3-EHP1-SP11-PAT0002-win32\eclipse\workspace.jdi\0\DCs\adani.com\appls\usefullink_d0_newnwdidc_web\_comp\src\com\adani\usefullink\Alert.java:8: cannot find symbol
         [javac] ERROR: symbol  : class IPortalComponentResponse
         [javac] ERROR: location: class com.adani.usefullink.Alert
         [javac] ERROR:     public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
         [javac] ERROR:                                                            ^
         [javac] ERROR: C:\Users\IBM_ADMIN\Desktop\Jayesh\nwds-extsoa-7.3-EHP1-SP11-PAT0002-win32\eclipse\workspace.jdi\0\DCs\adani.com\appls\usefullink_d0_newnwdidc_web\_comp\src\com\adani\usefullink\Userful.java:3: package javax.servlet.http does not exist
         [javac] ERROR: import javax.servlet.http.HttpSession;
         [javac] ERROR:                          ^
         [javac] ERROR: C:\Users\IBM_ADMIN\Desktop\Jayesh\nwds-extsoa-7.3-EHP1-SP11-PAT0002-win32\eclipse\workspace.jdi\0\DCs\adani.com\appls\usefullink_d0_newnwdidc_web\_comp\src\com\adani\usefullink\Userful.java:9: package com.sapportals.portal.prt.component does not exist
         [javac] ERROR: import com.sapportals.portal.prt.component.IPortalComponentContext;
         [javac] ERROR:                                           ^
         [javac] ERROR: C:\Users\IBM_ADMIN\Desktop\Jayesh\nwds-extsoa-7.3-EHP1-SP11-PAT0002-win32\eclipse\workspace.jdi\0\DCs\adani.com\appls\usefullink_d0_newnwdidc_web\_comp\src\com\adani\usefullink\Userful.java:10: package com.sapportals.portal.prt.component does not exist
         [javac] ERROR: import com.sapportals.portal.prt.component.IPortalComponentRequest;
         [javac] ERROR:                                           ^
         [javac] ERROR: C:\Users\IBM_ADMIN\Desktop\Jayesh\nwds-extsoa-7.3-EHP1-SP11-PAT0002-win32\eclipse\workspace.jdi\0\DCs\adani.com\appls\usefullink_d0_newnwdidc_web\_comp\src\com\adani\usefullink\Userful.java:11: package com.sapportals.portal.prt.component does not exist
         [javac] ERROR: import com.sapportals.portal.prt.component.IPortalComponentResponse;
         [javac] ERROR:                                           ^
         [javac] ERROR: C:\Users\IBM_ADMIN\Desktop\Jayesh\nwds-extsoa-7.3-EHP1-SP11-PAT0002-win32\eclipse\workspace.jdi\0\DCs\adani.com\appls\usefullink_d0_newnwdidc_web\_comp\src\com\adani\usefullink\Userful.java:13: cannot access com.sapportals.portal.prt.component.AbstractPortalComponent
         [javac] ERROR: class file for com.sapportals.portal.prt.component.AbstractPortalComponent not found
         [javac] ERROR: public class Userful extends PageProcessorComponent {
         [javac] ERROR:        ^
         [javac] ERROR: C:\Users\IBM_ADMIN\Desktop\Jayesh\nwds-extsoa-7.3-EHP1-SP11-PAT0002-win32\eclipse\workspace.jdi\0\DCs\adani.com\appls\usefullink_d0_newnwdidc_web\_comp\src\com\adani\usefullink\Userful.java:18: cannot find symbol
         [javac] ERROR: symbol  : class HttpSession
         [javac] ERROR: location: class com.adani.usefullink.Userful
         [javac] ERROR:     static HttpSession session;
         [javac] ERROR:            ^
         [javac] ERROR: C:\Users\IBM_ADMIN\Desktop\Jayesh\nwds-extsoa-7.3-EHP1-SP11-PAT0002-win32\eclipse\workspace.jdi\0\DCs\adani.com\appls\usefullink_d0_newnwdidc_web\_comp\src\com\adani\usefullink\Userlinkformail.java:15: package com.sap.security.api does not exist
         [javac] ERROR: import com.sap.security.api.IUser;
         [javac] ERROR:                            ^
         [javac] ERROR: C:\Users\IBM_ADMIN\Desktop\Jayesh\nwds-extsoa-7.3-EHP1-SP11-PAT0002-win32\eclipse\workspace.jdi\0\DCs\adani.com\appls\usefullink_d0_newnwdidc_web\_comp\src\com\adani\usefullink\Userlinkformail.java:20: package com.sapportals.portal.prt.component does not exist
         [javac] ERROR: import com.sapportals.portal.prt.component.IPortalComponentContext;
         [javac] ERROR:                                           ^
         [javac] ERROR: C:\Users\IBM_ADMIN\Desktop\Jayesh\nwds-extsoa-7.3-EHP1-SP11-PAT0002-win32\eclipse\workspace.jdi\0\DCs\adani.com\appls\usefullink_d0_newnwdidc_web\_comp\src\com\adani\usefullink\Userlinkformail.java:23: package com.sapportals.portal.prt.runtime does not exist
         [javac] ERROR: import com.sapportals.portal.prt.runtime.PortalRuntime;
         [javac] ERROR:                                         ^
         [javac] ERROR: C:\Users\IBM_ADMIN\Desktop\Jayesh\nwds-extsoa-7.3-EHP1-SP11-PAT0002-win32\eclipse\workspace.jdi\0\DCs\adani.com\appls\usefullink_d0_newnwdidc_web\_comp\src\com\adani\usefullink\usefullinknew.java:4: package javax.servlet.http does not exist
         [javac] ERROR: import javax.servlet.http.HttpSession;
         [javac] ERROR:                          ^
         [javac] ERROR: C:\Users\IBM_ADMIN\Desktop\Jayesh\nwds-extsoa-7.3-EHP1-SP11-PAT0002-win32\eclipse\workspace.jdi\0\DCs\adani.com\appls\usefullink_d0_newnwdidc_web\_comp\src\com\adani\usefullink\usefullinknew.java:7: package com.sapportals.connector.connection does not exist
         [javac] ERROR: import com.sapportals.connector.connection.IConnection;
         [javac] ERROR:                                           ^
         [javac] ERROR: C:\Users\IBM_ADMIN\Desktop\Jayesh\nwds-extsoa-7.3-EHP1-SP11-PAT0002-win32\eclipse\workspace.jdi\0\DCs\adani.com\appls\usefullink_d0_newnwdidc_web\_comp\src\com\adani\usefullink\usefullinknew.java:12: package com.sapportals.portal.prt.component does not exist
         [javac] ERROR: import com.sapportals.portal.prt.component.IPortalComponentContext;
         [javac] ERROR:                                           ^
         [javac] ERROR: C:\Users\IBM_ADMIN\Desktop\Jayesh\nwds-extsoa-7.3-EHP1-SP11-PAT0002-win32\eclipse\workspace.jdi\0\DCs\adani.com\appls\usefullink_d0_newnwdidc_web\_comp\src\com\adani\usefullink\usefullinknew.java:20: cannot find symbol
         [javac] ERROR: symbol  : class HttpSession
         [javac] ERROR: location: class com.adani.usefullink.usefullinknew
         [javac] ERROR:       static HttpSession session;
         [javac] ERROR:              ^
         [javac] ERROR: C:\Users\IBM_ADMIN\Desktop\Jayesh\nwds-extsoa-7.3-EHP1-SP11-PAT0002-win32\eclipse\workspace.jdi\0\DCs\adani.com\appls\usefullink_d0_newnwdidc_web\_comp\src\com\adani\usefullink\Alert.java:11: cannot find symbol
         [javac] ERROR: symbol  : class IResource
         [javac] ERROR: location: class com.adani.usefullink.Alert
         [javac] ERROR:         IResource jspResource  = request.getResource(IResource.JSP,"jsp/"+request.getParameter("page"));
         [javac] ERROR:         ^
         [javac] ERROR: C:\Users\IBM_ADMIN\Desktop\Jayesh\nwds-extsoa-7.3-EHP1-SP11-PAT0002-win32\eclipse\workspace.jdi\0\DCs\adani.com\appls\usefullink_d0_newnwdidc_web\_comp\src\com\adani\usefullink\Alert.java:11: cannot find symbol
         [javac] ERROR: symbol  : variable IResource
         [javac] ERROR: location: class com.adani.usefullink.Alert
         [javac] ERROR:         IResource jspResource  = request.getResource(IResource.JSP,"jsp/"+request.getParameter("page"));
         [javac] ERROR:                                                      ^
         [javac] ERROR: C:\Users\IBM_ADMIN\Desktop\Jayesh\nwds-extsoa-7.3-EHP1-SP11-PAT0002-win32\eclipse\workspace.jdi\0\DCs\adani.com\appls\usefullink_d0_newnwdidc_web\_comp\src\com\adani\usefullink\Userful.java:29: cannot find symbol
         [javac] ERROR: symbol  : class IPortalComponentRequest
         [javac] ERROR: location: class com.adani.usefullink.Userful.UserfulDynPage
         [javac] ERROR:         IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();
         [javac] ERROR:         ^
         [javac] ERROR: C:\Users\IBM_ADMIN\Desktop\Jayesh\nwds-extsoa-7.3-EHP1-SP11-PAT0002-win32\eclipse\workspace.jdi\0\DCs\adani.com\appls\usefullink_d0_newnwdidc_web\_comp\src\com\adani\usefullink\Userful.java:29: cannot find symbol
         [javac] ERROR: symbol  : class IPortalComponentRequest
         [javac] ERROR: location: class com.adani.usefullink.Userful.UserfulDynPage
         [javac] ERROR:         IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();
         [javac] ERROR:                                            ^
         [javac] ERROR: C:\Users\IBM_ADMIN\Desktop\Jayesh\nwds-extsoa-7.3-EHP1-SP11-PAT0002-win32\eclipse\workspace.jdi\0\DCs\adani.com\appls\usefullink_d0_newnwdidc_web\_comp\src\com\adani\usefullink\Userful.java:30: cannot find symbol
         [javac] ERROR: symbol  : class IPortalComponentResponse
         [javac] ERROR: location: class com.adani.usefullink.Userful.UserfulDynPage
         [javac] ERROR:         IPortalComponentResponse response = (IPortalComponentResponse) this.getResponse();
         [javac] ERROR:         ^
         [javac] ERROR: C:\Users\IBM_ADMIN\Desktop\Jayesh\nwds-extsoa-7.3-EHP1-SP11-PAT0002-win32\eclipse\workspace.jdi\0\DCs\adani.com\appls\usefullink_d0_newnwdidc_web\_comp\src\com\adani\usefullink\Userful.java:30: cannot find symbol
         [javac] ERROR: symbol  : class IPortalComponentResponse
         [javac] ERROR: location: class com.adani.usefullink.Userful.UserfulDynPage
         [javac] ERROR:         IPortalComponentResponse response = (IPortalComponentResponse) this.getResponse();
         [javac] ERROR:                                              ^
         [javac] ERROR: C:\Users\IBM_ADMIN\Desktop\Jayesh\nwds-extsoa-7.3-EHP1-SP11-PAT0002-win32\eclipse\workspace.jdi\0\DCs\adani.com\appls\usefullink_d0_newnwdidc_web\_comp\src\com\adani\usefullink\Userful.java:35: cannot find symbol
         [javac] ERROR: symbol  : class IPortalComponentRequest
         [javac] ERROR: location: class com.adani.usefullink.Userful.UserfulDynPage
         [javac] ERROR:         IPortalComponentRequest req = (IPortalComponentRequest) this.getRequest();
         [javac] ERROR:         ^
         [javac] ERROR: C:\Users\IBM_ADMIN\Desktop\Jayesh\nwds-extsoa-7.3-EHP1-SP11-PAT0002-win32\eclipse\workspace.jdi\0\DCs\adani.com\appls\usefullink_d0_newnwdidc_web\_comp\src\com\adani\usefullink\Userful.java:35: cannot find symbol
         [javac] ERROR: symbol  : class IPortalComponentRequest
         [javac] ERROR: location: class com.adani.usefullink.Userful.UserfulDynPage
         [javac] ERROR:         IPortalComponentRequest req = (IPortalComponentRequest) this.getRequest();
         [javac] ERROR:                                        ^
         [javac] ERROR: C:\Users\IBM_ADMIN\Desktop\Jayesh\nwds-extsoa-7.3-EHP1-SP11-PAT0002-win32\eclipse\workspace.jdi\0\DCs\adani.com\appls\usefullink_d0_newnwdidc_web\_comp\src\com\adani\usefullink\Userful.java:65: cannot find symbol
         [javac] ERROR: symbol  : class IPortalComponentContext
         [javac] ERROR: location: class com.adani.usefullink.Userful.UserfulDynPage
         [javac] ERROR:       IPortalComponentContext ctxt = ((IPortalComponentRequest)getRequest()).getComponentContext();
         [javac] ERROR:       ^
         [javac] ERROR: C:\Users\IBM_ADMIN\Desktop\Jayesh\nwds-extsoa-7.3-EHP1-SP11-PAT0002-win32\eclipse\workspace.jdi\0\DCs\adani.com\appls\usefullink_d0_newnwdidc_web\_comp\src\com\adani\usefullink\Userful.java:65: cannot find symbol
         [javac] ERROR: symbol  : class IPortalComponentRequest
         [javac] ERROR: location: class com.adani.usefullink.Userful.UserfulDynPage
         [javac] ERROR:       IPortalComponentContext ctxt = ((IPortalComponentRequest)getRequest()).getComponentContext();
         [javac] ERROR:                                        ^
         [javac] ERROR: C:\Users\IBM_ADMIN\Desktop\Jayesh\nwds-extsoa-7.3-EHP1-SP11-PAT0002-win32\eclipse\workspace.jdi\0\DCs\adani.com\appls\usefullink_d0_newnwdidc_web\_comp\src\com\adani\usefullink\Userful.java:155: cannot find symbol
         [javac] ERROR: symbol  : class IPortalComponentRequest
         [javac] ERROR: location: class com.adani.usefullink.Userful.UserfulDynPage
         [javac] ERROR:     IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();
         [javac] ERROR:     ^
         [javac] ERROR: C:\Users\IBM_ADMIN\Desktop\Jayesh\nwds-extsoa-7.3-EHP1-SP11-PAT0002-win32\eclipse\workspace.jdi\0\DCs\adani.com\appls\usefullink_d0_newnwdidc_web\_comp\src\com\adani\usefullink\Userful.java:155: cannot find symbol
         [javac] ERROR: symbol  : class IPortalComponentRequest
         [javac] ERROR: location: class com.adani.usefullink.Userful.UserfulDynPage
         [javac] ERROR:     IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();
         [javac] ERROR:                                        ^
         [javac] ERROR: C:\Users\IBM_ADMIN\Desktop\Jayesh\nwds-extsoa-7.3-EHP1-SP11-PAT0002-win32\eclipse\workspace.jdi\0\DCs\adani.com\appls\usefullink_d0_newnwdidc_web\_comp\src\com\adani\usefullink\Userful.java:156: cannot find symbol
         [javac] ERROR: symbol  : class IPortalComponentResponse
         [javac] ERROR: location: class com.adani.usefullink.Userful.UserfulDynPage
         [javac] ERROR:     IPortalComponentResponse response = (IPortalComponentResponse) this.getResponse();
         [javac] ERROR:     ^
         [javac] ERROR: C:\Users\IBM_ADMIN\Desktop\Jayesh\nwds-extsoa-7.3-EHP1-SP11-PAT0002-win32\eclipse\workspace.jdi\0\DCs\adani.com\appls\usefullink_d0_newnwdidc_web\_comp\src\com\adani\usefullink\Userful.java:156: cannot find symbol
         [javac] ERROR: symbol  : class IPortalComponentResponse
         [javac] ERROR: location: class com.adani.usefullink.Userful.UserfulDynPage
         [javac] ERROR:     IPortalComponentResponse response = (IPortalComponentResponse) this.getResponse();
         [javac] ERROR:                                          ^
    Ant runtime 0.421 seconds
    Ant build finished with ERRORS
    Compile failed; see the compiler error output for details.
    Build stopped due to an error: Compile failed; see the compiler error output for details.
    Build plugin finished at 2014-05-31 12:00:29 GMT+05:30 (IST)
    Total build plugin runtime: 1.732 seconds
    Build finished with ERROR
    ==== Post-Processing ====   started at 2014-05-31 12:00:29.905 IST
    Copy the build logs
      from: C:\Users\IBM_ADMIN\Desktop\Jayesh\nwds-extsoa-7.3-EHP1-SP11-PAT0002-win32\eclipse\workspace.jdi\0\t2\467E48D66F1396B5F9AE0955FA811780\default\logs\
      to:   C:\Users\IBM_ADMIN\Desktop\Jayesh\nwds-extsoa-7.3-EHP1-SP11-PAT0002-win32\eclipse\workspace.jdi\0\DCs\adani.com\appls\usefullink_d0_newnwdidc_web\_comp\gen\default\logs\
    Build results in folder C:\Users\IBM_ADMIN\Desktop\Jayesh\nwds-extsoa-7.3-EHP1-SP11-PAT0002-win32\eclipse\workspace.jdi\0\DCs\adani.com\appls\usefullink_d0_newnwdidc_web\_comp\gen\default\ remain unchanged.

    What was the issue? Is your SAP now up?
    >in Management console disp+exe is not turning to gree, its in yellow color from long time
    for this if you search on marketplace you will get notes, and this issues already discussed many times. Hence request you to search.
    Check https://service.sap.com/sap/support/notes/72248

  • How to access a jar file in EAR file?

    I have a EAR file which contains EJB.jar file and util.jar file. Outside of EAR, I mean in client side, I need to reference util.jar file. How can I access it?
    EAR structure is
    |--+META-INF/
    |--|---application.xml
    |--|---manifest.mf
    |--EJB.jar
    |--|---+MEAT-INF/
    |--|---|--- deployment descriptors...
    |--|---|--- manifest.mf
    |--|--- EJB classes
    |--Util.jar
    Util.jar must be executed in server side. If I just add Util.jar in client program's classpath, when client program is executed, serverside Util.jar is executed? Or what else I should do in the client program to reference server-side Util.jar?

    Excellent question. I don't see any client-jar in your EAR file structure. So I am assuming you are writing a separate client application which will talk to the ejbs deployed as part of this EAR. You need to do the following:
    Write another EAR file with the following structure:
    ear:
    META-INF/application.xml
    util.jar
    client.jar
    client.jar should have a META-INF/MANIFEST.MF and that should contain Class-Path:util.jar and value for Main-Class attribute.
    Now deploy this new ear to your application server and execute it using Application Client Container that comes with your app server.
    If you don't want to write another EAR file, then bundle th client.jar in your original EAR file.
    Points to note are:
    you have to repackage util.jar again inside this ear file.
    For portability reason, you should use Class-Path manifest entry in client.jar. Refer to http://java.sun.com/j2ee/verified/packaging.html and J2EE platform spec section #8.2.
    Hope this helps,
    Sahoo

  • Error while importing Transport Package ?

    Hi,
    I have created a Transport Package which includes the following things :
    1. Two folders
    2. Two iViews
    3. one .par file
    I am trying to Import the above package by choosing the option 'Source for package file - client' and then browsing where my .epa file is placed.
    When i click the Upload Button I am getting the following error -
    'Error extracting the package file. Check the log file for details'
    What can be reason for this error?
    Regards,
    Vikas Khandpur

    Hi Vikas
    It is not generally advised to Package a .PAR file into a .EPA file. Because a .PAR file may depend on parts that are not included in the .EPA file which might cause incosistent transports.
    You can directly upload a .PAR file into the Portal. Just go to System Administration -> Support -> Portal Runtime -> Administration Console and upolad the .PAR file.
    Try removing the .PAR file from the Transport Package and download the exported .EPA file. Import this new file and see if it works this time.
    Hope that helped
    Best Regards
    Priya

  • Struts ApplicationResource & WL6.1 EAR

    Hi All,
    Using Struts 1.02 and WL6.1SP3, we are running into a problem where a jsp using
    struts tags cannot find any key in the ApplicationResource.properties file. The
    properties file is located in WEB-INF/classes in a WAR, which is part of an EAR.
    I have deployed before using Struts under WL6.1 as a WAR only, and did not have
    a problem.
    The error that I am getting is "Cannot find message resources under key".
    Has anyone else experienced this? Many thanks.
    - Rich

    Unless classloading order recommended by the Servlet spec is used : "..It
    is recommended also that the application class loader be implemented so that
    classes and resources packaged within the WAR are loaded in preference to
    classes and resources residing in container-wide library JARs..."
    It appears that PreferWebInfClasses="true" in WebAppComponent enables this
    classloading order in WebLogic.
    David Shiffman <[email protected]> wrote:
    Classes in a parent class loader always have precedence over the classes found
    in a child classloader.
    "M. van Leeuwen" <lemval@kabel-*-foon.nl> wrote:
    Thanks Leon,
    "Leon van Zantvoort" <[email protected]> wrote in
    news:3c1a01a8$[email protected]:
    This behaviour is caused by weblogic's classloader hierarchy.
    EJB-jar-files in a EAR-file are loaded by an ejb-classloader, WAR-files
    are loaded by a war-classloader. The ejb-classloader is the parent
    classloader of the war-classloader. Therefor, classes in the WAR-file
    can access classes in the EJB-jar-file.
    If a class is located in both files, the class from the EJB-jar-fileis
    always loaded, because the war-classloader delegates the loading toits
    parent classloader. So it first tries to find the class using the ejb-cl and if that fails
    it
    uses the (child cl) war-cl. Is this the J2EE way to go or just BEA's
    choice
    (it could be done the other way around)?
    I suspect this has to do with a possible EJBclient jar in the WAR file
    which
    is now ignored, since it finds the EJB classes in the (preferred) EAR
    path.
    Michael.
    Dimitri

Maybe you are looking for

  • When does LIBPATH need to be set for an Oracle RDBMS running on AIX?

    I am trying to determine the impacts of not having LIBPATH set in an AIX 5.3 environment running Oracle 10.2.0.4 64 bit databases. It would appear these databases may have been ported from Linux and the LD_LIBRARY_PATH variable was set in some of the

  • Bugs in 10.3.1.156​5

    Hi everyone, I've found some bugs in 10.3.1.1565. Maybe they don't occur on all devices, but at least on my Q10. 1. BlackBerry Assistant / Device Search: On my Q10 and on my brothers Z10 there is the head / title of "Text Messages" missing. I also sa

  • XFCE Terminal ? (Question Mark) Characters

    I think special characters are not displayed correctly on my XFCE terminal: I think my locale is OK: [jiewmeng@JM backbone-aura-try]$ locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-

  • Cisco UCS Blade Deployment Without N5K or N7K ?

    Dear all, Is it possbile to deploy cisco UCS blade solution with only Blade Chassis, FI, FEX/IOM and using third party SAN and LAN switch ? Thanks

  • Multiple SharePoint PerformancePoint Dashboard in Single Page?

    Hi, Actually my requirement is, I have two dashboards each have the respective pages. I could deploy either one dashboard only at a time. I could not deploy two dashboards in single page. But i want to deploy two dashboards in same page. By the way u