Deployment problem: Inner class not included

Hi, All:
I am trying to deploy my Java application using JDeveloper 3.2. I was be able to successfully deployed it when I first designed the project, even some of the files also have inner classes. Now I have added some new inner classes to a public class and tried to re-deploy it. However how hard I tried (I have tried to rebuild the project, redefine the depoyment profile, even tried to add these class files directly through the advanced tab), the newly added inner class will not be able to be added to the deployed Jar file. I have checked the class files under myclass directory, and found all the inner class files are there, and I can run the application in JDeveloper without any problem. I wonder if there is any tricks to solve this problem. (Other than use the jar command).
Thanks,
Peter

Also, it's probably a good idea to name your packages different than your classesMoreover, common naming conventions dictate you should never even use capitals in your package names if I'm not mistaken. Whereas class names should always at least begin with a capital.
This will help prevent a lot of confusion, both for the developer and the IDE. ;-)

Similar Messages

  • Program Design Problem: Inner Class use verse interacting seperate classes?

    i am designing a GUI based program that needs to have 2+ windows that interact with each other. In my original design there were just two windows: the World display, and the tile choser (this is for 2D map editing). Because there were only 2, I made them both inner classes of another class. The top level class's fields were how I got the two windows to interact.
    Now I am adding more tile choser esque windows and it is getting very confusing and the amount of Fields is getting ridiculous and the whole thing isnt very OO.
    I thought about splitting up the World Display window and the Tile Choser window into two different classes and just have multiple instances of the Tile Choser class for the additional windows.
    The problem is the interaction. I could pass all of the variables that both classes require to constructers and set up lots and lots of get and set methods, but then that seems to destroy the whole idea of two classes. The whole project is getting really messy.
    Any thoughts?
    I know that was a jarbled explanation so just ask about any part that might be unclear

    Create an object that represents the state being manipulated. The model.
    Create methods to modify that data. Not getters/setters, but controllers. If it's a map, then maybe a method would be "addTown" or something. This represents the controller.
    Create methods to render the data graphically. The views.
    Pass this object to GUI widgets, or reference it from inner event handlers.

  • WorkShop 3.2.0 - WEB-INF/classes not included in war file

    I've created the "Faces Example" project in Workshop Studio 3.2.0 and it's running fine. However, when I export the war file to run it on another server the class files located at "WEB-INF/classes" are not included with the war.
    Any suggestions on what I may be doing wrong would be greatly appreciated.
    thks!

    Unfortunately no, the issue with output folder being ignored occurs only with example apps bundled with Workshop product.
    You can try the following workaround:
    - In Workshop, Project > Properties - Java Build Path, switch to Source tab - "Remove the source folder listing" - Click OK and dismiss Properties window.
    - Project > Properties - Java Build Path > Source Tab, add the same source folder entry - Click OK
    - Export as WAR
    With this you should see the class files bundled under output directory structure (Ex: WEB-INF/classes).

  • Why can an inner.inner class not be static?

    First, look at these 2 classes:
    public class A1 {
    public A1() {
    new B1.C1();
    public class B1 {
    public static class C1 {
    public class A2 {
    public A2() {
    new B2.C2();
    class B2 {
    public static class C2 {
    Class A2 will compile just fine, but A1 will not saying that I can't define class C1 as static.
    Why not?
    Class C1 is not associated with an instance of B1 (because it's static), and we already have an instance of A1 (since we're in the constructor).
    Why is this so radically different that A2 (which works)?

    In class A1 the inner class B1 is just like a mehtod of class A1.
    So how we cant create static variable inside a method , similarly the class A1
    didnt accepting its inner class b! to create static class.
    (This is my assumption/view only, may be wrong)

  • Web-application deployment problem (404 - File not found)

    Hello
    Does anyone have had the same problems like me on deploying java web-applications on iPlanet WS 6.0?
    I started with the HelloWorld.war example that came with the server and went through the manual but no luck so far. Heres what I did:
    0. Checked that webapps are enabled in the servler.xml file
    1. Created a directory /opt/webapps and /opt/webapps/hello with sufficient permissions
    2. Copied the HelloWorld.war example to /opt/webapps
    3. Deployed the excample on my test-server using the webinterface.
    Heres the content of the web-apps.xml file of my testserver after step 3:
    [DTD here]
    <vs>
    <jsp-servlet enable="true">
    <init-param>
    <param-name>use-precompiled</param-name>
    <param-value>true</param-value>
    </init-param>
    </jsp-servlet>
    <web-app uri="/hello" dir="/opt/webapps/hello" enable="true"/>
    </vs>
    All files have been extracted to /opt/webapps/hello properly. The server has been restarted.
    When I finally point my browser to http://server/hello or hello/index.jsp I get only a 404 - File not found message by the server. The context path seems to be totaly ignored.
    Heres the error log of the server
    [17/Feb/2003:16:17:38] info (12040): successful server startup
    [17/Feb/2003:16:17:38] info (12040): iPlanet-WebServer-Enterprise/6.0SP2 B11/13/2001 00:49
    [17/Feb/2003:16:17:39] info (12041): Installing a new configuration
    [17/Feb/2003:16:17:39] info (12041): [LS ls1] http://XXX.XXX.XXX.XX, port 1080 ready to accept requests
    [17/Feb/2003:16:17:39] info (12041): A new configuration was successfully installed
    [17/Feb/2003:16:17:40] info (12041): Using the Solaris VM v1.2.2 from Sun Microsystems Inc.
    [17/Feb/2003:16:17:40] info (12041): Java VM classpath: /www/ns-home6sp2/plugins/servlets/examples/legacy/beans.10/SDKBeans10.jar:/opt/jdk1.2.2/lib/tools.jar:/www/ns-home6sp2/bin/https/jar/NSServletLayer.jar:/www/ns-home6sp2/bin/https/jar/NSJavaUtil.jar:/www/ns-home6sp2/bin/https/jar/NSJavaMiscUtil.jar:/www/ns-home6sp2/bin/https/jar/servlet.jar:/www/ns-home6sp2/bin/https/jar/servlet-2.3-filters-api.jar:/www/ns-home6sp2/bin/https/jar/jsp092.jar:/www/ns-home6sp2/bin/https/jar/jaxp.jar:/www/ns-home6sp2/bin/https/jar/crimson.jar:/www/ns-home6sp2/bin/https/jar/xalan.jar:/www/ns-home6sp2/bin/https/jar/jspengine.jar:
    [17/Feb/2003:16:17:40] info (12041): Loading IWSSessionManager by default.
    [17/Feb/2003:16:17:40] info (12041): IWSSessionManager: Maximum number of sessions is 1000
    [17/Feb/2003:16:17:40] info (12041): Adding web application (/hello) at (/opt/webapps/hello)
    [17/Feb/2003:16:17:40] info (12041): Loading IWSSessionManager by default.
    [17/Feb/2003:16:17:40] info (12041): IWSSessionManager: Maximum number of sessions is 1000
    [17/Feb/2003:16:17:40] info (12041): vs(https-duke)servlet 'snoop' class = 'SnoopServlet' loaded in context = '/hello'
    [17/Feb/2003:16:17:40] info (12041): snoop: init
    [17/Feb/2003:16:17:40] info (12041): Successfully initialized web application environment (web-apps.xml) for virtual server (https-duke)

    i had similar problem due to the incorrect jdk path...
    try http://..../hello/snoop, if this works, it seems that the jsp file cannot be compiled automatically and jdk path needs to be checked...

  • SDM Deployment Problem. Could not establish connection to the server.

    Hi all,
                I am using J2ee Engine 2004s( version )server which is located remotely.I have installed NWDS 7.0.17 in client system & try to deploy an application. I could connect to the J2EE Engine through VPN Connection. but while deploying the application it is giving the following error
    Deployment exception : Server XXX did not accept login request as admin on port 50018. Details: ERROR: Could not establish connection to server XXX at port 50018: Connection timed out: connect
    Inner exception was :
    Server XXX did not accept login request as admin on port 50018. Details: ERROR: Could not establish connection to server XXX at port 50018: Connection timed out: connect
    I have made an host file entry also in my client System. I have used the Lib files also which is mentioned on SAP Note 941150.
    still i am getting the same problem. Please bring me the solution to this problem. It would be really helpful.
    Regards,
    Malar.

    Hai,
    Check the below link.....
    http://help.sap.com/saphelp_nw70/helpdata/en/76/fb72ec091f4bf8a2d8ba321bb7e8d9/frameset.htm
    SAP Note: 783965.
    Regards,
    Yoganand.V

  • OAS 10.1.3 Deployment Problem: webapp Binding not working

    Hi
    I am having a problem with version 10.1.3 of the application server. I installed the instance this morning and deployed my EAR file (which contains a web application and 2 EJB Modules -- this application works just fine under 10.1.2 btw). The deployment proceeded just fine and my web application appears to be bound to a root context (/PA) in the default-web-application.xml.
    However, when I try to access the URL I get a 404 -- and the path it's trying to get to is http://server:8888/j2ee/PA. It seems to me that somehow the binding to /PA is not "active"
    A couple more relevant details:
    - The application is deployed to a new OC4J Instance I created --- not the home instance
    - For some reason that I cannot figure out, there does not seem to be an Oracle HTTP server in my AS Instance -- the java process itself is listening on port 8888. Notwithstanding my problem this seems to be working fine, but if someone could clarify why this is I would be grateful.
    I have tried an opmnctl stopall/startall -- same problem. I am probably missing something basic but haven't been able to find it. Can someone please shed some light on this?
    Thanks!
    Chris Sargent

    Thanks again Steve
    I have pasted the complete opmn.xml file below. I downloaded the default x86 Windows version of 10.1.3.x and I am pretty sure I installed it using default settings. The only configuration I did was to create a new OC4J Instance (PA) and attemp to deploy the application.
    I DO have a 10.1.2 AS instance installed on this machine as well. I suppose this could be interfering somehow?
    I appreciate your contunued assistance.
    Chris
    ---------------- opmn.xml -----------------------
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <opmn xmlns="http://www.oracle.com/ias-instance">
    <log path="$ORACLE_HOME\opmn\logs\opmn.log" comp="internal;ons;pm" rotation-size="1500000"/>
    <debug path="$ORACLE_HOME\opmn\logs\opmn.dbg" comp="internal" rotation-size="1500000"/>
    <notification-server>
    <port local="6100" remote="6201" request="6004"/>
    <ssl enabled="true" wallet-file="$ORACLE_HOME\opmn\conf\ssl.wlt\default"/>
    </notification-server>
    <process-manager>
    <process-modules>
    <module path="$ORACLE_HOME\opmn\lib\libopmnohs">
    <module-id id="OHS"/>
    </module>
    <module path="$ORACLE_HOME\opmn\lib\libopmnoc4j">
    <module-id id="OC4J"/>
    </module>
    <module path="$ORACLE_HOME\opmn\lib\libopmncustom">
    <module-id id="CUSTOM"/>
    </module>
    <module path="$ORACLE_HOME\opmn\lib\libopmniaspt">
    <module-id id="IASPT"/>
    </module>
    </process-modules>
    <ias-instance id="aeris10gv3.HENNESSEY" name="aeris10gv3.HENNESSEY">
    <environment>
    <variable id="TMP" value="C:\DOCUME~1\csargent\LOCALS~1\Temp"/>
    </environment>
    <module-data>
    <category id="start-parameters">
    <data id="routing-id" value="g_rt_id"/>
    </category>
    </module-data>
    <ias-component id="IASPT" status="disabled">
    <environment>
    <variable id="LD_LIBRARY_PATH" value="D:\product\10.1.3.1\OracleAS_1/lib" append="true"/>
    </environment>
    <process-type id="IASPT" module-id="IASPT" working-dir="D:\product\10.1.3.1\OracleAS_1/iaspt/bin">
    <port id="ajp" range="7501-7600"/>
    <process-set id="IASPT" numprocs="1"/>
    </process-type>
    </ias-component>
    <ias-component id="ASG" status="enabled" id-matching="true">
    <process-type id="ASG" module-id="CUSTOM">
    <environment>
    <variable id="OS" value="Windows_NT"/>
    </environment>
    <start timeout="600"/>
    <stop timeout="120"/>
    <process-set id="ASG" numprocs="1">
    <module-data>
    <category id="start-parameters">
    <data id="start-executable" value="D:\product\10.1.3.1\OracleAS_1\jdk\bin\java"/>
    <data id="start-args" value="-ms20m -Djava.library.path=D:\product\10.1.3.1\OracleAS_1\bin;D:\product\10.1.3.1\OracleAS_1\dsa\bin;D:\product\10.1.3.1\OracleAS_1\oui\lib\win32 -classpath D:\product\10.1.3.1\OracleAS_1\dsa\jlib;D:\product\10.1.3.1\OracleAS_1\dsa\jlib\duf.jar;D:\product\10.1.3.1\OracleAS_1\lib\dms.jar;D:\product\10.1.3.1\OracleAS_1\oui\jlib\OraInstaller.jar;D:\product\10.1.3.1\OracleAS_1\jlib\srvm.jar;D:\product\10.1.3.1\OracleAS_1\jlib\netcfg.jar;D:\product\10.1.3.1\OracleAS_1\lib\xmlparserv2.jar;D:\product\10.1.3.1\OracleAS_1\assistants\jlib\assistantsCommon.jar;D:\product\10.1.3.1\OracleAS_1\jdbc\lib\classes12.zip;D:\product\10.1.3.1\OracleAS_1\jdbc\lib\nls_charset12.zip;D:\product\10.1.3.1\OracleAS_1\jlib\share.jar;D:\product\10.1.3.1\OracleAS_1\opmn\lib\optic.jar;D:\product\10.1.3.1\OracleAS_1\j2ee\home\jazn.jar;D:\product\10.1.3.1\OracleAS_1\jlib\ldapjclnt10.jar oracle.duf.dufserver.DufServer D:\product\10.1.3.1\OracleAS_1\dsa\dsa.conf"/>
    </category>
    </module-data>
    </process-set>
    </process-type>
    </ias-component>
    <ias-component id="default_group">
    <process-type id="home" module-id="OC4J" status="enabled">
    <module-data>
    <category id="start-parameters">
    <data id="java-options" value="-Xrs -server -XX:MaxPermSize=128M -ms512M -mx1024M -XX:AppendRatio=3 -Djava.security.policy=$ORACLE_HOME/j2ee/home/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false -Doraesb.home=D:\product\10.1.3.1\OracleAS_1\integration\esb -Dhttp.proxySet=false -Doc4j.userThreads=true -Doracle.mdb.fastUndeploy=60 -Dorabpel.home=D:\product\10.1.3.1\OracleAS_1\bpel -Xbootclasspath^/p:D:\product\10.1.3.1\OracleAS_1\bpel/lib/orabpel-boot.jar -Dhttp.proxySet=false"/>
    </category>
    <category id="stop-parameters">
    <data id="java-options" value="-Djava.security.policy=$ORACLE_HOME/j2ee/home/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false"/>
    </category>
    </module-data>
    <start timeout="600" retry="2"/>
    <stop timeout="120"/>
    <restart timeout="720" retry="2"/>
    <port id="default-web-site" range="8888" protocol="http"/>
    <port id="rmi" range="12401-12500"/>
    <port id="rmis" range="12701-12800"/>
    <port id="jms" range="12601-12700"/>
    <process-set id="default_group" numprocs="1"/>
    </process-type>
    <process-type id="PADEV" module-id="OC4J" status="enabled">
    <module-data>
    <category id="start-parameters">
    <data id="java-options" value="-server -Djava.security.policy=$ORACLE_HOME/j2ee/PADEV/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false"/>
    </category>
    <category id="stop-parameters">
    <data id="java-options" value="-Djava.security.policy=$ORACLE_HOME/j2ee/PADEV/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false"/>
    </category>
    </module-data>
    <start timeout="600" retry="2"/>
    <stop timeout="120"/>
    <restart timeout="720" retry="2"/>
    <port id="default-web-site" range="12501-12600" protocol="ajp"/>
    <port id="rmi" range="12401-12500"/>
    <port id="rmis" range="12701-12800"/>
    <port id="jms" range="12601-12700"/>
    <process-set id="default_group" numprocs="1"/>
    </process-type>
    </ias-component>
    </ias-instance>
    </process-manager>
    </opmn>

  • Inner class not found error when compiling project

    I tried to use 9iDS (JDeveloper 9.0.2.822) to generate applet that has textbox and button.
    I inserted UI components trough UI editor and added actionlistener there.
    Now when trying to compile (and run) project I get always "Class MyClass$1 not found in class MyPackage.MyClass"
    This only happens if both package and class are same named. If not it works... Is this feature of java, jdeveloper or something other? (Well, actually this is not a problem because rarely packages and classes are named as same.)

    Also, it's probably a good idea to name your packages different than your classesMoreover, common naming conventions dictate you should never even use capitals in your package names if I'm not mistaken. Whereas class names should always at least begin with a capital.
    This will help prevent a lot of confusion, both for the developer and the IDE. ;-)

  • Your Opinions: Inner Classes Need static Members

    Hi All,
    I want to solicit opinions for a minor change to the way inner classes work. I submitted this as an RFE to Sun and they rejected it, really without giving a reason. I'd like to know your opinions. If there is strong support I will repost the RFE.
    As you probably know, inner classes cannot have static members. The following generates a compiler error:import java.util.*;
    public class MyClass {
       class MyInnerClass {
          // Next line causes compiler error...
          static Map m = new HashMap();
    }In order to get around this you have to make the Map variable a static member of the containing class:import java.util.*;
    public class MyClass {
       static Map m = new HashMap(); // so much for encapsulation...
       class MyInnerClass {
    }I am suggesting that inner class be allowed to contain static members. Here's my reasoning...please comment:
    There are times when members (i.e., fields and methods) rightfully belong to the class as a whole, not to any particular instance of a class. I'm sure we've all found times when it was necessary to have static members in our classes. The same issues that necessitated using static members in top-level classes make them desirable for inner classes as well.
    Designing a class as an inner class is a step toward encapsulation. By forcing static members that logically belong in an inner class to be declared in the containing class is to crack the encapsulation, IMHO.
    Even though a containing class has access to all of an inner class' members (including private members) and vice versa, I think the notion of inner static members still is more OO-ish.
    What are your opinions? Would allowing inner classes to contain static members make Java more object oriented? I think it would.
    Technically, I don't think there's any reason this cannot work since the JVM has no notion of inner classes, per se.
    What do you think?

    an inner class is effectively a non static instance
    variable of its enclosing class. Instance member, but not a variable. it's a class, a type, not a variable.
    >
    I think the problem here is that making a field static
    means more than just that that field and its value are
    common to every instance of the class. It means that
    the value is valid without an instantiation of that
    class.
    Since the class itself must be instantiated (it is
    not static), What do you mean, excatly, by "_must_ be instantiated"? You are not ever "required" to instantiate anything unless you want to use it.
    you can't have static member data inside it. I don't see how this follows from the previous part of the statement.
    How would you reference the static member data of
    the inner class? You would have to specify an
    instance of the inner class, and since this breaks
    the meaning of static, you can't have static members
    in an inner class.How about outerObj.InnerClass.staticMember The syntax is well defined. The question at hand is, do we really want to allow this? The syntax to do this should only be an issue after that question has been answered in the affirmative. The people at Sun have decided not to allow it, so for now, syntax is a non-issue.
    >
    if you wanted a static member in an inner class you
    could put it in a super class of the inner class...Or in the enclosing class, as suggested in the orginal post.

  • Main-class not found error while clicking on the jar

    I have a created a jar �FinARM.jar� for my swing application using eclipse.
    Clicking on this jar, it is giving the problem main-class not found.
    It contains the MANIFEST.MF file, with entry Main-Class: FinAlignTest for the main class.
    FinAlignTest is my main class.
    I have a similar jar created with a small swing application (Single file) clicking on it can open the swing application.
    It is also attached above.

    Hi ,
    My Apllication runs with out any warnings or errors. But when i create a jar file using eclipse it is giving this problem.
    When i double click on the jar file i am getting this problem. MANIFEST.MF entry contains the main method entry.
    I have created another jar (Which contains a simple java file, swing application) from eclipse export option.
    It works fine on click.
    But jar FinARM.jar contains 5 files (Swing app), which even fetch some data from the database.
    My jar is placein the same machine where it can fetch data from DB
    Can u plese tell me whats the problem.
    -regards
    Anu

  • Problem with final variables and inner classes (JDK1.1.8)

    When using JDK1.1.8, I came up with following:
    public class Outer
        protected final int i;
        protected Inner inner = null;
        public Outer(int value)
            i = value;
            inner = new Inner();
            inner.foo();
        protected class Inner
            public void foo()
                System.out.println(i);
    }causing this:
    Outer.java:6: Blank final variable 'i' may not have been initialized. It must be assigned a value in an initializer, or in every constructor.
    public Outer(int value)
    ^
    1 error
    With JDK 1.3 this works just fine, as it does with 1.1.8 if
    1) I don't use inner class, or
    2) I assign the value in initializer, or
    3) I leave the keyword final away.
    and none of these is actually an option for me, neither using a newer JDK, if only there is another way to solve this.
    Reasons why I am trying to do this:
    1) I can't use a newer JDK
    2) I want to be able to assign the variables value in constructor
    3) I want to prevent anyone (including myself ;)) from changing the value in other parts of the class (yes, the code above is just to give you the idea, not the whole code)
    4) I must be able to use inner classes
    So, does anyone have a suggestion how to solve this problem of mine? Or can someone say that this is a JDK 1.1.8 feature, and that I just have to live with it? In that case, sticking to solution 3 is probably the best alternative here, at least for me (and hope that no-one will change the variables value). Or is it crappy planning..?

    You cannot use a final field if you do not
    initialize it at the time of declaration. So yes,
    your design is invalid.Sorry if I am being a bit too stubborn or something. :) I am just honestly a bit puzzled, since... If I cannot use a final field in an aforementioned situation, why does following work? (JDK 1.3.1 on Linux)
    public class Outer {
            protected final String str;
            public Outer(String paramStr) {
                    str = paramStr;
                    Inner in = new Inner();
                    in.foo();
            public void foo() {
                    System.out.println("Outer.foo(): " + str);
            public static void main( String args[] ) {
                    String param = new String("This is test.");
                    Outer outer = new Outer(param);
                    outer.foo();
            protected class Inner {
                    public void foo() {
                            System.out.println("Inner.foo(): " + str);
    } producing the following:
    [1:39] % javac Outer.java
    [1:39] % java Outer
    Inner.foo(): This is test.
    Outer.foo(): This is test.
    Is this then an "undocumented feature", working even though it shouldn't work?
    However, I assume you could
    get by with eliminating the final field and simply
    passing the value directly to the Inner class's
    constructor. if not, you'll have to rethink larger
    aspects of your design.I guess this is the way it must be done.
    Jussi

  • How  to include the inner classes in a jar file in netbeans ide

    Dear java friends
    how to say to netbeans ide that it has to include the
    inner classes in the jar file.
    (i have one single applet class
    with two inner classes that show up
    in the build/classes file but not in the jar).
    The applet works in the viewer but not
    in the browser (I believe because the
    xxx$yyy etc should be in the jar)
    willemjav

    First, please stop posting the same question multiple times:
    Duplicate of http://forum.java.sun.com/thread.jspa?threadID=5269782&messageID=10127496#10127496
    with an answer.
    Second, If your problem is that you can't do this in NetBeans, you need to post to somewhere that provides NetBeans support - like the NetBeans website's mailing list. These forums do not support NetBeans (or any other IDE) - they are Java language forums.

  • Class not Found Execption for inner classes

    Hi ,
    When I am trying to deploy a custom component despite of putting the class path I am facing isses regarding class not found for classes that are present in an inner jar.Can someone please let me know what could nbe wrong.Please let me know the correct way of doing so.
    I am adding a data type as well and adding the path thre also.
    Regards,
    Leena

    The most common problem is in the path part of the class-path.  One thing to remember is not to bother with .. or / at the start of the path.  For example my jar files are in a lib folder off the root of my application:
    <class-path>lib\aglj40.jar lib\pdfcore.jar lib\pdfencryption.jar lib\pdfservices.jar lib\rideau.jar</class-path>

  • Static inner class causes deployment  on OC4J 10.1.2 to fail

    Hi,
    this issue has already been raised on OC4J 9.0.4 with J2SDK 1.4.2 (see EJB fails to compile - static inner class problem
    Recap: When referencing static inner classes in an EJB, the deployment fails. During the generation of the wrapper classes, a signature <package>.<outer class>.<inner class> gets converted to <package>.<outer class>$<inner class>, which is syntactically wrong. While the Java 1.4.1 compiler kindly ignores this syntax error, its 1.4.2 counterpart complains - and fails.
    @Oracle: When will this bug be fixed for OC4J 10.1.2?
    Best regards,
    Holger

    Holger,
    Don't static inner classes contradict the EJB specification?
    In any case, in answer to Andy's question: If you wish to file this as a bug, you can do so via the MetaLink Web site.
    [In fact, [i]MetaLink is your only option for submitting bugs for Oracle products -- as far as I know.]
    Good Luck,
    Avi.

  • "Class not found" error at runtime when ExternalLib DC is included in WD DC

    Hi All,
    I am getting "Class not found" exception at runtime when external library DC is included in Webdynpro DC.
    I am following the below steps..
    1) Created a Webdynpro DC - "testProj" to which i need to add the external library DC.
    2) Created a DC of type "External Library" called "externaljar"
    3)Added Public Parts of type assembly and compilation to the "externaljar" DC (Component Properties Tab -> Public Parts)
    4) Right click on the assembly Public Part name -> Manage entities, and added the JAR files as archive.
    5)Right click on the compilation Public Part name -> Manage entities, and added the JAR files as archive.
    6)Go to Webdynpro DC "testProj" .
    Under Component Properties Tab -> Dependencies tab -> Add -> selected the "externaljar" DC -> Next -> for "externaljar" DC checked Deploy time and Run time.
    For assembly Public Part and compilation Public Part "build" is selected by default.
    7) I did build of both the DC's and deployed it.
    Im getting "Class not found" error.
    Please let me know where i am going wrong.
    Thanks,
    Shilpa.

    Hi Balakrishna,
    If I add Jar files in build path, at run time I dont get any errors, but I get error at comple time. So an external DC is made which includes all jar files in its public part and this DC is added as dependency in the webdynpro project (at deploy time,run time) as in below blog.
    /people/raphael.vogel/blog/2008/05/05/how-to-use-external-libraries-in-the-sap-component-model-part-ii
    Here im getting the error "class not found".
    Thanks,
    Shilpa.
    Edited by: Shilpa KG on Jun 18, 2008 4:42 PM
    Edited by: Shilpa KG on Jun 18, 2008 4:44 PM

Maybe you are looking for

  • Decimal places in standard input schedule templates

    Hi Gurus I have created some input schedules using standard template. User here will be entering some values in 2 decimal places (like 1.25) but when I enter any values in the cells, it automatically round off the values and displays values without a

  • Cannot fill in forms sent to me in PDF

    recently loaded OS 10.5and iworks 8. Now I find that I cannot fill in forms sent to me by mail as a PDF attatchment.

  • Client Preview in After Effects

    I'm running After Effects ver.8 (CS3) on a nearly new 2.93 GHz Quad-Core Intel Xeon Mac with 6GB RAM. I'm using an AJA ioHD for output to my broadcast monitors. I'm primarily a Final Cut Pro/Avid editor and am back on a rather large AE project after

  • Dynamic Graphics - Image not clear in HTML page

    Hi, i tried to generate the image from Dynamic Graphics( 3D Dial gauge). It creates successfully but when i show this image in HTML page it is not clear i.e values and arc are showing like points and words in description also shows as splited. How to

  • Any way to see the full camera frame and not have the screen cut the sides off?

    Using the newest iPad, when filming, the picture you see is not what you're actually capturing. The screen does not show you the full scope. For example, if filming in landscape mode, it is actually capturing a wider image than is displayed. I unders