Bean problem: No interface classes found

Hi ;
I try to create a adapter . according to tutorial "How To Create Modules for the J2EE Adapter Engine"
https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f013e82c-e56e-2910-c3ae-c602a67b918e&overridelayout=true
Although I did all steps in it , I copied sda files and extract them  then I imported them to the project but I get this error in Netweaver Studio "Bean problem: No interface classes found" while creating ejb file.
the document says you must close and reopen project when you come accross this error but it doesnt work?
Is there any one solve this error?
ps: I use NWDS 7.0.19 , I copied aii_af_lib.sda, aii_af_svc.sda and aii_af_cpa_svc.sda files from PI 7.01

Hi Tuncer!
Did you download and "import" these JAR files into your NWDS Build Path  - classpath variables:
com.sap.aii.af.lib.mod.jar     <bin>/ext/com.sap.aii.af.lib/lib
sap.comtcloggingjavaimpl.jar     <bin>/system
com.sap.aii.af.svc_api.jar     <bin>/services/com.sap.aii.af.svc/lib
com.sap.aii.af.cpa.svc_api.jar     <bin>/services/com.sap.aii.af.cpa.svc/lib
com.sap.aii.af.ms.ifc_api.jar     <bin>/interfaces/com.sap.aii.af.ms.ifc/lib
<bin> stands for: /usr/sap/<SID>/<instance-id>/j2ee/cluster/bin in a PI 7.1 system.
Windows -> Preferences -> Build Path -> Classpath Variables -> New ...
Choose a name of your choice and then select the JAR files mentioned above.
This should resolve your problem.
Regards,
Volker

Similar Messages

  • Named query in Entity Bean - Problem with embedded class

    Hello Forum,
    I'm trying to set up a named query in my Entity Bean and I'm unable to get
    it up and running for an embedded class object.
    The class hierarchy is as follows:
             @MappedSuperclass
             AbstractSapResultData (contains dayOfAggregation field)
                     ^
                     |
            @MappedSuperclass
            AbstractSapUserData (contains the timeSlice field)
                     ^
                     |
              @Entity
              SapUserDataThe named query is as follows:
    @NamedQuery(name = SapUserDataContext.NAMED_QUERY_NAME_COUNT_QUERY,
                                query = "SELECT COUNT(obj) FROM SapUserData AS obj WHERE "
                                         + "obj.sapCustomerId"
                                         + "= :"
                                         + SapResultDataContext.COLUMN_NAME_SAP_CUSTOMER_ID
                                         + " AND "
                                         + "obj.sapSystemId"
                                         + "= :"
                                         + SapResultDataContext.COLUMN_NAME_SAP_SYSTEM_ID
                                         + " AND "
                                         + "obj.sapServerId"
                                         + "= :"
                                         + SapResultDataContext.COLUMN_NAME_SAP_SERVER_ID
                                         + " AND "
                                         + "obj.dayOfAggregation.calendar"
                                         + "= :"
                                         + DayContext.COLUMN_NAME_DAY_OF_AGGREGATION
                                         + " AND "
                                         + "obj.timeSlice.startTime"
                                         + "= :"
                                         + "timeSliceStartTime"
                                         + " AND "
                                         + "obj.timeSlice.endTime"
                                         + "= :"
                                         + "timeSliceEndTime")The query deploys and runs except that part:
                                         + "obj.dayOfAggregation.calendar"
                                         + "= :"
                                         + DayContext.COLUMN_NAME_DAY_OF_AGGREGATIONI don't see any difference to the part of the query accessing the timeSlice
    field which is also an embedded class object - I access it in exactly the same way:
                                         + "obj.timeSlice.startTime"
                                         + "= :"
                                         + "timeSliceStartTime"
                                         + " AND "
                                         + "obj.timeSlice.endTime"
                                         + "= :"
                                         + "timeSliceEndTime"The problem is that the complete query runs on JBoss application server
    but on the SAP NetWeaver application server it only rund without the
                                         + "obj.dayOfAggregation.calendar"
                                         + "= :"
                                         + DayContext.COLUMN_NAME_DAY_OF_AGGREGATIONpart - If I enable that part on SAP NetWeaver the server complains:
    [EXCEPTION]
    {0}#1#java.lang.IllegalArgumentException: line 1: Comparison '=' not defined for dependent objects
    SELECT COUNT(obj) FROM SapUserData AS obj WHERE obj.sapCustomerId= :sap_customer_id AND obj.sapSystemId= :sap_system_id AND obj.sapServerId= :sap_server_id AND obj.dayOfAggregation.calendar= :day_of_aggregation AND obj.timeSlice.startTime= :timeSliceStartTime AND obj.timeSlice.endTime= :timeSliceEndTime
                                                                                                                                                                                                 ^I know that this isn't an application server specific forum but the SAP NetWeaver server is the most strict EJB 3.0 and JPA 1.0 implementation I've seen so far so I think I'm doing something wrong there.
    Someone in the SAp forum mentioned:
    The problem here is that you compare an input-parameter with an embeddable field of your entity.
    Regarding to the JPQL-grammer (spec 4.14) you are not allowed to compare
    with the non-terminal embeddable field but with the terminal fields of your
    embeddable. Stating that your embedded class might have the fields
    startTime and endTime your JPQL query might look like this:
    Query q = em.createQuery("SELECT count(obj.databaseId) FROM SapUserData obj WHERE obj.timeSlice.startTime = :startTime AND obj.timeSlice.endTime = :endTime");
    q.setParameter("startTime", foo.getStartTime());
    q.setParameter("endTime", foo.getEndTime());
    q.getResultList();
    This limitation in the JPQL grammar is rather uncomfortable.
    An automatic mapping of the parameter's fields to the terminal fields of your
    embedded field would be more convenient. The same can be said for lists
    as parameter-values which is possible in HQL, too. I think we have to wait
    patiently for JPA 2.0 and hope for improvements there. :-)
    With that help I was able to get it up and running for the timeSlice field but
    I don't see the difference to the dayOfAggregation field which is also just
    another embedded class using an object of a class annotated with
    @Embeddable.
    The get method of the dayOfAggregation field is as follows:
         * Get method for the member "<code>dayOfAggregation</code>".
         * @return Returns the dayOfAggregation.
        @Embedded
        @AttributeOverrides({@AttributeOverride(name = "calendar", /* Not possible to use interface constant here - field name must be used for reference */
                                                column = @Column(name = DayContext.COLUMN_NAME_DAY_OF_AGGREGATION,
                                                                 nullable = false)),
                             @AttributeOverride(name = "weekday",
                                                column = @Column(name = DayContext.COLUMN_NAME_WEEKDAY,
                                                                 nullable = false)),
        public Day getDayOfAggregation() {
            return this.dayOfAggregation;
        }The link to my question in the SAP forum for reference:
    https://www.sdn.sap.com/irj/sdn/thread?messageID=3651350
    Any help or ideas would be greatly appreciated.
    Thanks in advance.
    Henning Malzahn

    Hello Forum,
    got a response in the SAP forum - Issue is a bug in the SAP NetWeaver
    app. server.
    Henning Malzahn

  • Bean problem with creating Adapter Module in NW developer studio

    Hi Gurus!
    I started to develop an adapter module like described in
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/02706f11-0d01-0010-e5ae-ac25e74c4c81
    Unfortunatelly, I'm getting error described on page 9 of the document:
    Bean problem: no interface classes found
    I cannot resolve this problem. I've tried it also like described in the document, but no success.
    Any ideas of what could be wrong?
    Thank you!
    Marthy

    Marthy.,.
    Close and open project..standard problem ONLY with nwdi..
    Regards
    Ravi Raman

  • Do I need to Create Primary Key Class for Entity beans with Local interface

    Do I need to Create Primary Key Class for Entity beans with Local interface?
    I have created my entity bean with the wizard in Sun One Studio and it does not create a primary key class for you.
    I thought that the primary key class was required. My key is made up of only one field.
    Anyone know the answer.
    Jim

    u dont need to create a primary key class for a entity bean.if ur table's primary key feild(int ,float) is a built in or primitive data type,then u dont need one.But if ur table has a primary key field which is non primitive (for example StudentID,ItemID etc)then u have to create a primary key class.
    hope this helps :-)

  • Problems deploying entity beans with local interfaces on Jboss?

    I'm trying to deploy a simple entity bean using local interfaces on Jboss 3.2.1 and I obtain the following exception:
    19:08:51,875 WARN [verifier] EJB spec violation:
    Bean : UsersEJB
    Section: 9.2.2
    Warning: The entity bean class must not be defined as abstract.
    19:08:51,875 WARN [verifier] EJB spec violation:
    Bean : UsersEJB
    Section: 9.4.7.1
    Warning: The primkey-field element must name a public field in the bean implemen
    tation class.
    Any idea?
    Thanks,
    Marco

    I guess you are missing <cmp-version>2.x</cmp-version> for your first warning and <primkey-field>primary key field </primkey-field> for you second warning in your ejb-jar.xml

  • JDeveloper 10.1.3 EA 1 Session Bean Problems

    Hello,
    it seems there are some problems in JDeveloper 10.1.3 EA1 related to Session EJBs:
    1) The Create Session Bean Wizard doesn't work correctly. After finishing the Wizard, JDeveloper only creates the ejb-jar.xml and orion-ejb-jar.xml, but not the Session EJB classes/interfaces themselves (Bean, Remote, Home). So I had to develop the Session Bean in JDeveloper 10.1.3 Developer Preview. That worked fine. I finally migrated the project to 10.1.3 EA1.
    2) When I try to run my JSF/EJB application with the Session Bean in 10.1.3 EA1, the following error occurred:
    05/10/24 17:31:15 Error instantiating application 'current-workspace-app' at file: <a file path>...oc4j-app.xml:
    Error initializing ejb-modules:
    Error loading module file: <a file path>.../Model/classes/:
    Syntax error in source or compilation failed in:
    <a file path>...\Software\JDeveloper\jdevj2eebase1013\jdev\system\oracle.j2ee.10.1.3.34.12\embedded-oc4j\application-deployments\current-workspace-app\Umfragesystem02_Model_0\generated\CommandHandlerSession_StatelessSessionBeanWrapper0.java
    I have no idea how to solve this problem. Does anybody have a solution?
    Regards,
    Matthias

    Tested Session Bean and Entity Bean.<br>
    The bean class and the deployment descriptors get<br>
    generated.<br>
    The remote/local, home/local home interfaces do not<br>
    get generated.<br><br>
    Thanks. The Session Bean Creation Wizard problem is a problem I could solve using a workaround. But the problem that really stems me is the error I receive when I try to run my webapp using the Session Bean and some more classes and JavaServer Faces files:<br>
    <br>
    Error instantiating application 'current-workspace-app' at file: ...oc4j-app.xml: <br>Error initializing ejb-modules: <br>
    Error loading module file: .../Model/classes/: <br>
    Syntax error in source or compilation failed in:<br> ...\Software\JDeveloper\jdevj2eebase1013\jdev\system\oracle.j2ee.10.1.3.34.12\embedded-oc4j\application-deployments\current-workspace-app\Umfragesystem02_Model_0\generated\CommandHandlerSession_StatelessSessionBeanWrapper0.java <br>
    <br>
    What goes wrong with JDeveloper or the application?

  • No interface objects found in interface determination

    Hi Experts,
                  i am configuring the  multiple idoc to flat file.
                 for this, i am not using the bpm.
                i refer the following blog.
               https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/4443. [original link is broken] [original link is broken] [original link is broken]
           According to this blog, we can make the scenario as file to file. xi will pick the idoc-xml file.
        for this, could you please let me know the source data type?
       i exported standard idoc and made occurances as unbounded and import to name space.
       for the imported external defination, i creared the message interface as outbound and used as sender interface.
    i made the mapping between external deficnation to flat file structure.
    my IR part is ok.
    i have problem with ID.
    when i configure the interface determination, i found it as no interface objects found.

    Hi,
    Normally we dont require to create DT , MT MI incase we are using IDOC.
    But in your case you imported the idoc and exported it to ur desktop and changed the Occurance of that IDOC.
    Then again you imported that as External Def.
    This case you need to create the MI for this IDOC, why because we dont have the option to select the External def directly with out creating the MI at the time of creation of Interface mapping.
    But in case of IDOC means we have the provision to select the IDOC derectly at the time of Interface mappimg
    Regards
    Seshagiri

  • No sender or receiver interface definition found

    Hi,
    I have designed an JDBC to R3 scenario.
    In the XI system SXMB_MONI the message was processed successully on the outbound side.
    On the R3 side. in SXMB_MONI => Trace there is a message like
    no sender or receiver interface definition found
    What could be the problem. I have checked the IR and ID settings.
    Everything seems to be OK. Is there a problem with the Queues.
    Please suggest.
    Thanks
    Kumar

    Hi,
      We have encountered same error in one of our scenarios. When we restarted these messages they were successfully processed. This could be probably because of the cache update failure at that particular instance when the message was posted.
    Restarting the message through SXMB_MONI could probably solve the problem sometimes.
    Regards
    Sai

  • Bean property and public field found with the same name: getid

    Hi all,
    I have a ejb jar file contains some local entity beans and one session bean
    , the session bean has some functions suck as findXXXByQuery() , InsertXXX()
    , and I have created some model class for the entity bean , and use it as
    the parameter or return type of the session bean , then I want to transfer
    the session bean as a webservice , using ant automaticly . All this function
    successfully in weblogic 6.1 , but when I want to run ant command in
    weblogic 7.0 , an error occured :
    [servicegen] weblogic.xml.schema.binding.BindingException: Error: bean
    property
    and public field found with the same name: getid
    Yes , I have a getid field in table , a getid in entity bean , and a getid
    property in model class , but what different does it make ? Would you mind
    to test my jar file ? I send all files as attachments .
    Any advice will be appreciate .
    lcl
    [build.xml]
    [work.jar]

    In article <[email protected]>, lcl <[email protected]> wrote:
    -=-=-=-=-=-
    Hi all,
    I have a ejb jar file contains some local entity beans and one session bean
    , the session bean has some functions suck as findXXXByQuery() , InsertXXX()
    , and I have created some model class for the entity bean , and use it as
    the parameter or return type of the session bean , then I want to transfer
    the session bean as a webservice , using ant automaticly . All this function
    successfully in weblogic 6.1 , but when I want to run ant command in
    weblogic 7.0 , an error occured :
    [servicegen] weblogic.xml.schema.binding.BindingException: Error: bean
    property
    and public field found with the same name: getid
    Yes , I have a getid field in table , a getid in entity bean , and a getid
    property in model class , but what different does it make ? Would you mind
    to test my jar file ? I send all files as attachments .
    Any advice will be appreciate .
    lcl
    -=-=-=-=-=-For better or worse the JAX-RPC spec requires this behavior. From
    section 5.4.1:
    "There is no standard mapping for the case when a JavaBean property
    has the same name as a public field. A Java to XML mapping
    implementation is required to flag this case as an error."
    Since you are not the first person to run into this restriction I'm
    beginning to think we need an option to bypass it.
    --Scott

  • Problems javadoc inner classes...

    Hi all,
    I have a problems documenting an inner class. I've implemented it this way:
    * In file TestClass.java I have an inner class "class MainClass" (this is the "upper" class of the file)
    * MainClass instantiates a TestClass (which in the file is declared as an inner class within MainClass: "public class TestClass").
    When I try to document it I get the following error message:
    "No public or protected classes found to document."
    What do I have to do? I'm using "Standard Doclet version 1.4.1" and why I have to use the inner class is a matter of saving a copy of the entire object, and I think this is the only solution to it, so what do I do?? Do I declare the "outer" class in a different way?
    Very pleased for all help!!
    Best regards,
    Anjelica

    * In file TestClass.java I have an inner class "class
    MainClass" (this is the "upper" class of the file)
    * MainClass instantiates a TestClass (which in the
    file is declared as an inner class within MainClass:
    "public class TestClass").So TestClass is an inner class of MainClass?? Then your file should be called MainClass.java.
    Try if that helps.

  • Problem in Interface Determination

    Hi All,
        While trying to do webservices using webdynpro i was able to do the repository part without any errors but while trying to do configuration i'm facing a problem in interface determination.
    I'm unable to find my interface mapping in the interface determination.
    While trying to search for the interface mapping its showing me as "no objects found".
    Could anyone help me out in this regard.
    Thanks in Advance
    Madhu

    Hi,
    As said by Moorthy, you should able to see interface mapping.You just Copy the interface mapping name from IR and insert at Interface Mapping in interface determination.To insert Interface mapping , right click choose Insert option from context.Save & activate Interface determination.If it is activated successfully every thing is ok.Otherwise once you should check as said by Moorthy and check Namespace of Interface too.Hope this will solve your problem.
    Cheers
    Tiger Woods
    Note:Give the points for helpful answers

  • Call Bean from normal java class

    Dear Friends,
    Is it ok to call an entity bean or session bean frm normal Java class.
    (Java class is in the same application as the beans).
    Is there a special way to lookup the beans from normal java classes.
    Thanking You,
    Chamal.

    it is ok and very commonly done.
    Note that the simple java program must be running in the same local network. You cannot have the java program and EJBs distributed over internet. (I m not certain of it, but mostly I shoudl be correct. If you have the resources, try it out and let me know)
    In most of the cases, EJBs are called by
    1. A servlet
    2. Another EJB
    3. a simple java program.
    In the first 2 cases, you can go for Local Interfaces (more so in the second case than the first). The reason being that the the client and server will be in the same JVM (typically the Application server). Thus, in the first case, if the Web container and the ejb container are in the same app server, EJBs can be local.
    However, in the third case, it is unlikey that you will have the client runnng and the same jvm as the server, because the app server has its own jvm.
    sample code (this method is being called from the main method of a simple java program. it is self explanatory):
    public  void processRequestForSessionBean()
             System.out.println("REQUEST RECEIVED");
             try
                   Hashtable nameHashtable = new Hashtable();
                   nameHashtable.put( Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory" );
                   nameHashtable.put( Context.PROVIDER_URL, "t3://localhost:7001" );
                   InitialContext context = new InitialContext(nameHashtable);
                   System.out.println("created initial context");
                   Object lookupObject = context.lookup("CustomerBean");
                   System.out.println("Got the lookup object");
                   CustomerDataHome home = (CustomerDataHome) PortableRemoteObject.narrow(lookupObject,
                             Class.forName("com.shiv.business.CustomerDataHome"));
                   System.out.println("Home interface");
                   customerData = home.create();
                   System.out.println("Remote Interface");
                   addDataToSB(customerData);
                   ArrayList namesList = customerData.getNames();
                   System.out.println(namesList.toString());
                   //customerData.remove();             
              catch (Exception exception)
                   System.out.println("FATAL ERRORS");
                   exception.printStackTrace();
              }

  • Weblogic 6 Post Installation Problem - weblogic.Server not found

    I reinstalled my recent downloads of the evaluation
    copy of Weblogic 6.0 server three times on my NT 4.0 Service
    pack 6 notebook computer. Installation works. However, I can't
    start the server using the "startWebLogic.cmd". I get an error
    that says that the class "weblogic.Server" is not
    found -
    Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/Server
    javap command cannot locate the class either.
    My suspicion: weblogic .jar is corrupt.
    Question: How do I get a new jar file? I have already
    downloded the install files twice with no luck.
    I have enclosed the command prompt messages.
    [d:\bea\wlserver6.0\config\myadmindomain]setEnv
    set WL_HOME=d:\bea\wlserver6.0
    set JAVA_HOME=d:\bea\jdk130
    set CLASSPATH=d:\bea\jdk130\lib\tools.jar;d:\bea\wlserver6.0\lib\weblogic_sp.jar
    ;d:\bea\wlserver6.0\lib\weblogic.jar;
    set PATH=d:\bea\wlserver6.0\bin;d:\bea\jdk130\bin;c:\junk;C:\WINNT\SYSTEM32;C:\W
    INNT;C:\MWW32\BIN;C:\MWW32\MODEM;D:\Program Files\Mts;.;D:\Microsoft Visual Stud
    io\Common\MSDev98\Bin;D:\Microsoft Visual Studio\Common\IDE\IDE98;D:\Microsoft V
    isual Studio\VB98;D:\Microsoft Visual Studio\VIntDev98\bin;D:\Microsoft Visual S
    tudio\VC98\Bin;D:\Microsoft Visual Studio\Common\Tools;
    Your environment has been set.
    [d:\bea\wlserver6.0\config\myadmindomain]startWebLogic.cmd
    set PATH=.\bin;d:\bea\wlserver6.0\bin;d:\bea\jdk130\bin;c:\junk;C:\WINNT\SYSTEM3
    2;C:\WINNT;C:\MWW32\BIN;C:\MWW32\MODEM;D:\Program Files\Mts;.;D:\Microsoft Visua
    l Studio\Common\MSDev98\Bin;D:\Microsoft Visual Studio\Common\IDE\IDE98;D:\Micro
    soft Visual Studio\VB98;D:\Microsoft Visual Studio\VIntDev98\bin;D:\Microsoft Vi
    sual Studio\VC98\Bin;D:\Microsoft Visual Studio\Common\Tools;
    set CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar
    "d:\bea\jdk130\bin\java" -hotspot -ms64m -mx64m -classpath .;.\lib\weblogic_sp.j
    ar;.\lib\weblogic.jar -Dweblogic.Domain=myAdminDomain -Dweblogic.Name=myserver "
    -Dbea.home=d:\bea" "-Djava.security.policy==d:\bea\wlserver6.0/lib/weblogic.poli
    cy" -Dweblogic.management.password= weblogic.Server
    Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/Server
    goto finish
    cd config\myAdminDomain
    ENDLOCAL
    [d:\bea\wlserver6.0\config\myadmindomain]javap weblogic.Server
    Class 'weblogic.Server' not found

    It looks like your startWebLogic.cmd script has problems with the class
    path. You should doublecheck that.
    Thanks,
    Michael
    Michael Girdley
    BEA Systems
    Learning WebLogic? http://learnweblogic.com
    "Bindu Rao" <[email protected]> wrote in message
    news:[email protected]...
    >
    I reinstalled my recent downloads of the evaluation
    copy of Weblogic 6.0 server three times on my NT 4.0 Service
    pack 6 notebook computer. Installation works. However, I can't
    start the server using the "startWebLogic.cmd". I get an error
    that says that the class "weblogic.Server" is not
    found -
    Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/Server
    javap command cannot locate the class either.
    My suspicion: weblogic .jar is corrupt.
    Question: How do I get a new jar file? I have already
    downloded the install files twice with no luck.
    I have enclosed the command prompt messages.
    [d:\bea\wlserver6.0\config\myadmindomain]setEnv
    set WL_HOME=d:\bea\wlserver6.0
    set JAVA_HOME=d:\bea\jdk130
    setCLASSPATH=d:\bea\jdk130\lib\tools.jar;d:\bea\wlserver6.0\lib\weblogic_sp.jar
    ;d:\bea\wlserver6.0\lib\weblogic.jar;
    setPATH=d:\bea\wlserver6.0\bin;d:\bea\jdk130\bin;c:\junk;C:\WINNT\SYSTEM32;C:\W
    INNT;C:\MWW32\BIN;C:\MWW32\MODEM;D:\Program Files\Mts;.;D:\MicrosoftVisual Stud
    io\Common\MSDev98\Bin;D:\Microsoft VisualStudio\Common\IDE\IDE98;D:\Microsoft V
    isual Studio\VB98;D:\Microsoft Visual Studio\VIntDev98\bin;D:\MicrosoftVisual S
    tudio\VC98\Bin;D:\Microsoft Visual Studio\Common\Tools;
    Your environment has been set.
    [d:\bea\wlserver6.0\config\myadmindomain]startWebLogic.cmd
    setPATH=.\bin;d:\bea\wlserver6.0\bin;d:\bea\jdk130\bin;c:\junk;C:\WINNT\SYSTEM3
    2;C:\WINNT;C:\MWW32\BIN;C:\MWW32\MODEM;D:\Program Files\Mts;.;D:\MicrosoftVisua
    l Studio\Common\MSDev98\Bin;D:\Microsoft VisualStudio\Common\IDE\IDE98;D:\Micro
    soft Visual Studio\VB98;D:\Microsoft VisualStudio\VIntDev98\bin;D:\Microsoft Vi
    sual Studio\VC98\Bin;D:\Microsoft Visual Studio\Common\Tools;
    set CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar
    "d:\bea\jdk130\bin\java" -hotspot -ms64m -mx64m -classpath.;.\lib\weblogic_sp.j
    >
    ar;.\lib\weblogic.jar -Dweblogic.Domain=myAdminDomain -Dweblogic.Name=myserv
    er "
    -Dbea.home=d:\bea""-Djava.security.policy==d:\bea\wlserver6.0/lib/weblogic.poli
    cy" -Dweblogic.management.password= weblogic.Server
    Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/Server
    goto finish
    cd config\myAdminDomain
    ENDLOCAL
    [d:\bea\wlserver6.0\config\myadmindomain]javap weblogic.Server
    Class 'weblogic.Server' not found

  • Abstract Classes & Interface Classes

    Dear members of the Sun Community
    My studies are progressing and just 1 period ago we started doing Object-Orinted Programming in Java and I must say I'm quite fond of it. It's become quite clear that OOP is an important aspect of Programming and just can't be missed. We've learned about Inheritance, Polymorfism, Mutators, Inspectors, Uses-Relationships and everything else however now I've come to the point where I got a problem:
    Up until now we have been using normal classes to work with in which you could create objects and in your main program create objects from that class however. We've just learned about Abstract and Interface classes. As far as I'm concerned I'm quite confused with both of them.
    If I am not mistaken (please correct me if I'm wrong) Abstract classes are classes from which you cannot create an object but is only used to make a subclass inherit everything from this superclass.
    I am not quite sure what Interface classes are as they just plain confuse me. Would anyone be so kind to maybe explain what all of this is ?
    Thanks a whole bunch
    Herazio

    Funny enough that already solved the question !
    Thank you so much for the quick reply ^^
    Herazio

  • MissingResourceException: No localizer class found for message id

    I created a Java Portlet (JSR 168) and am adding it to my portal.
    For some reason I keep getting the exception below. Any clues why this happens?
    I added the portlet to the portal file by drag and drop.
    - vineet
    No such portlet with URI RSSPortlet_1.
    <[ServletContext(id=7865499,name=SomeWebApp,context-path=/SomeWebApp)] Servlet failed with Exceptionjava.util.MissingResourceException: No localizer class found for message id.
         at weblogic.i18ntools.L10nLookup.getLocalizer(L10nLookup.java:230)
         at weblogic.i18ntools.L10nLookup.getLocalizer(L10nLookup.java:182)
         at weblogic.logging.Loggable.getMessage(Loggable.java:141)
         at weblogic.logging.Loggable.getMessage(Loggable.java:164)
         at com.bea.portlet.container.AppContainer.getPortletStub(AppContainer.java:772)
         at com.bea.portlet.container.AppContainer.getPortletInfo(AppContainer.java:309)
         at com.bea.netuix.servlets.controls.portlet.JavaPortlet.getPortletInfo(JavaPortlet.java:1015)
         at com.bea.netuix.servlets.controls.portlet.JavaPortlet.init(JavaPortlet.java:200)
         at com.bea.netuix.nf.ControlLifecycle$5.visit(ControlLifecycle.java:88)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:298)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:308)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:308)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:308)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:308)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:308)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:308)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:308)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:308)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:308)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:308)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:308)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:308)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:308)
         at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:127)
         at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:204)
         at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:153)
         at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:321)
         at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:184)
         at com.bea.netuix.servlets.manager.PortalServlet.doPost(PortalServlet.java:767)
         at com.bea.netuix.servlets.manager.PortalServlet.doGet(PortalServlet.java:671)
         at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:135)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:293)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at com.company.tools.security.PortalLoginFilter.doFilter(PortalLoginFilter.java:107)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6724)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    >

    Fyi, I realize this is an old post, but this problem is usually caused by someone removing a portlet from the <i>portlet.xml</i> file, and the desktop still refers to the portlet.<br><br>
    Use the DomainAdmin tool to remove the offending "RSSPortlet_1" from the contents of your page/book, that should solve this problem.<br><br>
    Steve

Maybe you are looking for

  • Garageband does not show loops in browser

    Hi all, I'm running 2.02 and I just downloaded the Jampack freebies from .mac. I installed as instructed (drug the loops to the loop browser), however, garageband does not 'see' the new loops. They are not in the loop browser. I checked help which ex

  • INTRASTAT / EXTRA - Credit memo not relevant for declaration

    Hi all, I have this problem with INTRASTAT declaration: Transaction VE08 mark credit memo as not relevant for declaration with this description "No association to a goods movement was found". Do you have any solutions?

  • How much does it usually cost to fix water damaged iphone?

    Will Apple be able to fix my water damaged iPhone and how much will it cost? The screen is black and won't come back on. It's only 1 month old and I hate to ditch it and get a refurbished one through insurance claim. I'm not sure if I'm asking this q

  • Logon for SQL*Plus

    I'm a newbie taking Intro to Oracle 8i:SQL and PL/SQL at our local community college. I've downloaded and installed the Oracle8i: Personal Edition 8.1.7 but am having trouble logging on. Our instructor told us our logon would be Username: Scott Passw

  • Escalation of items in MSS UWL

    SAP will use Workflow to escalate actions in the MSS Universal Worklist to the next level of manager above if the action is outstanding for more than a certain number of days. What I need to establish is, do we have to have the same number of days fo