Properties File is Not in the Classpath

I have a java class ParamOptions.java. In that class, I use a properties file:
private static final String OPTION_FILE_NAME="website_utility_ParamOptions";
public ParamOptions()
   try
      ResourceBundle res = ResourceBundle.getBundle(OPTION_FILE_NAME);
   catch {}
}I got an error message:
>
org.apache.artimus.message.utility.ParamOptions: Can't read the properties file:'website_utility_ParamOptions.properties'. Make sure the file is in your CLASSPATH
1. I put website_utility_ParamOptions.properties at my application root; i.e. MyApplication/website_utility_ParamOptions.properties
2. I have checked the spelling of this properties file
3. The Windows Explorer indicates that this is a PROPERTIES File
Why the error message says that "cannot read the properties file"?

Thanks. Do you mean that I should put
website_utility_ParamOptions.properties
somewhere in the MyApplication/WEB-INF/classes
directory?Yes, directly inside that directory, at least, if you're just referring to it as website_utiltity_ParamOptions.properties.
You could also rename it to, say ParamOptions.properties, and put it in WEB-INF/classes/website/utility/ and then ask for it by the name "website/utility/ParamOptions.properties". It will be searched for by its "fully-qualified" name just like a class would.
Of course, you could have also just tried it to see what happened. :-)

Similar Messages

  • In a new Application, the ApplicationResources_en.properties file is not having the constraint messages created

    Hi Everyone:
              We are using JDev 11.1.2 and JHeadstart 11.1.2.  We have been having a multitude of problems when running applications through the migrator (and we have now been told by an Oracle consultant that the migrator is problematic), so we are trying to re-write things from scratch to bring them over from 11.1.1.4 to 11.1.2.
              I have been working on a simple application from scratch and discovered that the messages for constraints on the entities that I am using are not showing up in the ApplicationResources_en.properties.file.  We noticed a similar thing with converting an application using the migrator and that post is found here - java.lang.NullPointerException ADF_FACES-60097 message ***WITH SOLUTION*** -. 
              However, I didn't get a single reply to that thread. 
              I initially thought it was a migration issue, but this application is from scratch.  Whenever I tried to input an invalid value into a page column, the following exception would be received.
    "java.lang.NullPointerException  ADF_FACES-60097:For more information, please see the server's error log for an entry beginning with: ADF_FACES-60096:Server Exception during PPR, #"
               This Null Pointer turned out to be the missing message from the ApplicationResources_en.properties file.  In the new application I just wrote, I had to manually edit to add the following lines to the ApplicationResources_en.properties file and the application no longer gives me the error if I input an invalid value.
    VALIDATE_FEE_CATEGORY_3=Feecategory with this FeeCategory does not exist
    VALIDATE_ACADEMIC_TERM36=Academicterm with this EffectiveTermStart does not exist
    VALIDATE_ACADEMIC_TERM36_CASDEL=Cannot delete Academicterm while dependent Specialexchange exists
    VALIDATE_ACADEMIC_TERM37=Academicterm with this EffectiveTermEnd does not exist
    VALIDATE_ACADEMIC_TERM37_CASDEL=Cannot delete Academicterm while dependent Specialexchange exists
    VALIDATE_CURRENCY23=Currency with this Currency does not exist
    VALIDATE_CURRENCY23_CASDEL=Cannot delete Currency while dependent Specialexchange exists
    VALIDATE_FEE_CATEGORY_3=Feecategory with this FeeCategory does not exist
    VALIDATE_FEE_CATEGORY_3_CASDEL=Cannot delete Feecategory while dependent Specialexchange exists
    These constraints are found in the Entities .xml files  as shown below.  We are using a re-usable business components .jar file to import them in.
      <Key
        Name="UniqueFeeCategory"
        PrimaryKey="true">
        <DesignTime>
          <Attr Name="_DBObjectName" Value="UNIQUE_FEE_CATEGORY"/>
        </DesignTime>
        <AttrArray Name="Attributes">
          <Item
            Value="its.sis.uwbm.AREdit.entityobjects.Specialexchange.FeeCategory"/>
          <Item Value="its.sis.uwbm.AREdit.entityobjects.Specialexchange.Currency"/>
          <Item
            Value="its.sis.uwbm.AREdit.entityobjects.Specialexchange.EffectiveTermEnd"/>
        </AttrArray>
      </Key>
      <Key
        Name="ValidateAcademicTerm36">
        <DesignTime>
          <Attr Name="_referencedKey" Value="UNIQUE_ACADTERM_CODE"/>
          <Attr Name="_isForeign" Value="true"/>
          <Attr Name="_DBObjectName" Value="VALIDATE_ACADEMIC_TERM36"/>
        </DesignTime>
        <AttrArray Name="Attributes">
          <Item
            Value="its.sis.uwbm.AREdit.entityobjects.Specialexchange.EffectiveTermStart"/>
        </AttrArray>
      </Key>
      <Key
        Name="ValidateAcademicTerm37">
        <DesignTime>
          <Attr Name="_referencedKey" Value="UNIQUE_ACADTERM_CODE"/>
          <Attr Name="_isForeign" Value="true"/>
          <Attr Name="_DBObjectName" Value="VALIDATE_ACADEMIC_TERM37"/>
        </DesignTime>
        <AttrArray Name="Attributes">
          <Item
            Value="its.sis.uwbm.AREdit.entityobjects.Specialexchange.EffectiveTermEnd"/>
        </AttrArray>
      </Key>
      <Key
        Name="ValidateCurrency23">
        <DesignTime>
          <Attr Name="_referencedKey" Value="UNIQUE_CURRENCY_CODE"/>
          <Attr Name="_isForeign" Value="true"/>
          <Attr Name="_DBObjectName" Value="VALIDATE_CURRENCY23"/>
        </DesignTime>
        <AttrArray Name="Attributes">
          <Item Value="its.sis.uwbm.AREdit.entityobjects.Specialexchange.Currency"/>
        </AttrArray>
      </Key>
      <Key
        Name="ValidateFeeCategory3">
        <DesignTime>
          <Attr Name="_referencedKey" Value="UNIQUE_FEECAT_CODE"/>
          <Attr Name="_isForeign" Value="true"/>
          <Attr Name="_DBObjectName" Value="VALIDATE_FEE_CATEGORY_3"/>
        </DesignTime>
        <AttrArray Name="Attributes">
          <Item
            Value="its.sis.uwbm.AREdit.entityobjects.Specialexchange.FeeCategory"/>
        </AttrArray>
        Is this a known bug (I have searched and havent found it) and is there anything that I can do about it without having to manually add the messages?
    Mary
    UofW

    Hi Everyone:
               I have done some further testing.  We are using a re-usable Business Components .jar file to access our entities.  We import the .jar file into the project and create the ViewObjects and ViewLinks from that .jar file.
                It APPEARS that a test case using the HRSchema and using the Entities & Associates generates the constraint error messages, but when I use the .jar file of re-usable business components imported into the project, those constraint error messages are not created in the ApplicationResources_en.properties file.  I have created two testcases as well as the re-usable .jar file that I can send to you to show what I mean. 
                This behaviour seems to have shown up in 11.1.2 as there was no problem before this.
                 Please let me know where you'd like me to upload the testcases.
                 Thank you.
    Mary
    UofW

  • Log4j does not find properties file (but its in the classes directory)

    I am using eclipse, I have created a log4j object:
         private static Logger logger = Logger.getLogger(Http.class.getName());When I try to run the test case, I get:
    log4j:WARN No appenders could be found for logger (com.cable.comcast.nsec.common.Http).
    log4j:WARN Please initialize the log4j system properly.I usually run into this problem when the log4j.properties file is not in the 'classes' directory, but this time it is.
    atlantis@atlantis-laptop:~/workspace/ArborAPI$ cat .classpath | grep output
            <classpathentry kind="output" path="classes"/>
    atlantis@atlantis-laptop:~/workspace/ArborAPI$ ls -la classes/
    total 16
    drwxr-xr-x 3 atlantis atlantis 4096 2008-02-06 16:44 .
    drwxr-xr-x 7 atlantis atlantis 4096 2008-02-06 17:08 ..
    drwxr-xr-x 3 atlantis atlantis 4096 2008-02-06 16:35 com
    -rw-r--r-- 1 atlantis atlantis 2603 2008-02-06 16:44 log4j.propertiesAm I missing something?

    Sorry I was really busy the last few days. Thank you for your answers!
    I probably should have left out all the specifics of what the software was that I was packaging, because I think what I was really asking did not come across clearly. What I really wanted to know is:
    Why do I have to provide the "-I /usr/include/headers_dir" compiler option for some libraries but not for others, although the header files for each lie in a level 1 subdir of /usr/include?
    I thought that maybe there was some kind of index of installed libraries that I didn't know about, which I could have updated from within PKGBUILD (so I guess that's why I included it originally). Seems to me now, though, that this is not the case.
    I did put in some google time (but not lots b/c 1. hard to google and 2. busy) to find an answer, but to no avail and it's not really top priority right now (and quite honestly never will be, since there is the -I option), so I guess it'll have to wait, unless someone knows...
    ---EDIT---
    So, right after I posted this (stupid me) I had a little think and I finally understand, whats happening.
    1. Headers are not found without specifying the directory they are in.
    2. I need the -I option because easykf headers are not well formed.
    Thanks a lot!
    Last edited by maximax (2013-09-27 00:26:03)

  • Java -jar Test.jar  option is not identifing the CLASSPATH on UNIX BOX

    Hi All,
    java -jar Test.jar
    I am trying to execute Test.jar file using -jar option. I am able to excute the Test.jar file but it is not identifing the CLASSPATH set for other JAR files which is used in part of Test.jar. Saying java.lang.NoClassDefFoundError: for the class which are set in CLASSPATH.
    The same is able to identify the CLASSPATH if i excute the Test.class file directly with out -jar option like
    java Test. In this case everything is working fine.
    Can any one tell me why it is not identifying the classpath if i use or execute with java -jar Test.jar option.
    Thanks,
    sha

    When you use the -jar option, the only classpath that is used is the Class-Path in the manifest file of the jar. If there is no Class-Path, then only the jar is searched for classes. If there is a Class-Path, the paths must be relative to the jar file.

  • Why MS JVM can not fine the classpath

    I have a applet and it's working fine with Sun JRE,but when I use MS JVM I always get error like can not fine the classpath,I alreday have created jar for all the applet class file and I have defined codebase and code ,using applet tag. I want to use Java1.1.
    I use NetBeans 3.6 compile the whole applet. and Can you tell me how to do?

    The applet probably includes code that is not supported by, or compatible with, the MS jvm. That error is a typical response to this cause.
    Try using the compiler option "-target 1.1". If that doesn't work, you could download an old jvm from Sun's archive page and recompile with it.
    If that doesn't work, then you have to rewrite the applet to use only code that can be run by the MS jvm.
    Be aware that there are differences between MS and Sun jvm's, so it may have to be rewritten no matter what.

  • HT4061 I need to sync my iphone and ipad to my new computer.  I just downnloaded itunes in it.  my song and album files are not in the new downloaded itunes.  how do I import them in?

    I just downloaded itunes on my new computer which uses Windows 7. I need to sync my ipone 4S and ipad to it.  I noticed my complete song and album files are not in the new itunes.  how do i get them imported to the new itunes.  Would syncing my iphone and ipad do it?

    In iTunes, go to File>Add File to Library or File>Add Folder to Library.

  • The Downloaded PDF file does not contain the Signature through BSP pages

    HI,
    We have an requirement for Distributing the FORM 16 to all Employee's through our Website, where the user will login and download his own FORM 16 ( TDS Certificate)
    This FORM 16 ( TDS Certificate ) is generated in SAP ( ECC 6.0 ) in Payroll Module.
    To satisfy the above requirement we have done the following steps.
    1) First we have modified the standards SAP Sapscript(Layout) to incorporate the Signature of Authorised Payroll Person. 
    We have done this by uploading the BMP file ( though t-code SE78 ) and then calling this file in the Standards layout which prints the FORM 16 document.
    2) WE also Modifed the Dirver program to Download the above document in a .PDF  file. 
    The Program creates the seperate file for each employee and assigns the employee number as a file name to each downloaded file. These all files are downloaded on a Users Machine.
    We opened the Downloaded .PDF files, and checked for the Signatures. The Signature were comming perfect as it ws uploaded.
    3) We uploaded these all FORM 16 PDF file off all emlpoyee's to a different SERVER ( BW 7.0 ). With the help of BASIS person, using the FTP utility.
    4) We wrote a BSP program to download this ulploaded PDF Files.
    BUT we are facing a PROBLEM in the DOWNLOADED PDF file.
    The Downloaded file does not contain the Signature which is there is the Original file we uploded this server.
    All other data in the dowloaded PDF file is Perfect other than the Signature.
    When we open the downlaoded PDF file it give's following  message on the Signautre page.
    " Xobject not found named 00013"
    The number of the Object comes different to different files.
    We are using Function module 'SCMS_STRING_TO_XSTRING' to Convert string to Xstring
    We are using the the " CALL METHOD CL_BSP_UTILITY=>DOWNLOAD" for downloading the PDF file.
    Please suggest some solution if you can
    Thanks in advnace.
    Re
    GAGAN

    HI,
    We have an requirement for Distributing the FORM 16 to all Employee's through our Website, where the user will login and download his own FORM 16 ( TDS Certificate)
    This FORM 16 ( TDS Certificate ) is generated in SAP ( ECC 6.0 ) in Payroll Module.
    To satisfy the above requirement we have done the following steps.
    1) First we have modified the standards SAP Sapscript(Layout) to incorporate the Signature of Authorised Payroll Person. 
    We have done this by uploading the BMP file ( though t-code SE78 ) and then calling this file in the Standards layout which prints the FORM 16 document.
    2) WE also Modifed the Dirver program to Download the above document in a .PDF  file. 
    The Program creates the seperate file for each employee and assigns the employee number as a file name to each downloaded file. These all files are downloaded on a Users Machine.
    We opened the Downloaded .PDF files, and checked for the Signatures. The Signature were comming perfect as it ws uploaded.
    3) We uploaded these all FORM 16 PDF file off all emlpoyee's to a different SERVER ( BW 7.0 ). With the help of BASIS person, using the FTP utility.
    4) We wrote a BSP program to download this ulploaded PDF Files.
    BUT we are facing a PROBLEM in the DOWNLOADED PDF file.
    The Downloaded file does not contain the Signature which is there is the Original file we uploded this server.
    All other data in the dowloaded PDF file is Perfect other than the Signature.
    When we open the downlaoded PDF file it give's following  message on the Signautre page.
    " Xobject not found named 00013"
    The number of the Object comes different to different files.
    We are using Function module 'SCMS_STRING_TO_XSTRING' to Convert string to Xstring
    We are using the the " CALL METHOD CL_BSP_UTILITY=>DOWNLOAD" for downloading the PDF file.
    Please suggest some solution if you can
    Thanks in advnace.
    Re
    GAGAN

  • How to execute a class wich is not in the classpath

    Sometime the server can't be shutdown and, if You add some new classes to Your system there's a classpath problem : in the classpath OC4J doesn't see new classes
    How can we solve that problem ?
    Is it possible to execute something wich is not in the classpath ?
    Can the classpath be changed at runtime ?
    TIA
    Tullio

    Please look at the following paper http://otn.oracle.com/tech/java/oc4j/pdf/ClassLoadingInOC4J_WP.pdf
    tha describes how does classloading work in OC4J.
    You can deploy application using opn expanded directory structure if you are using OC4J standalone.
    Also you donot have to restart the server when classes are changed, you have to touch the application.xml for your application or web.xml for Web module to redeploy the apps.
    regards
    debu

  • Rendered html pages in results file(html) not showing the images of origina

    hi,
    rendered html pages in results file(html) not showing the images of original page
    when i click on rendered html pages of different html section of a results file.
    both master and tested as well.
    thx
    pasumarthi

    By design, the report will not show the images, will not apply imported css or javascript files and will not show framesets. Also, in the case that an image is shown there is no guarantee that that was the image that was seen when recording/playback the script.
    The rendered html pages that are shown in the report only contains the structure of the html page. If an image is shown the image will be a reference to the location of the image and not a saved copy of the image as part of the report. If the website has a simple structure this can give an idea of what was different. If the website relies extensively on images, stylesheets or javascript to present the information then this report feature becomes less useful.
    Few weeks ago I requested a feature request in order to be able to see in the report the page exactly as it was when recording the script and exactly as it was when the script was played back. In the way that the feature request was written it specifies the use of screen captures or saving the page as a pdf file.
    Regards,
    Zuriel

  • Planning Quick Win Error: Registration file does not match the app version.

    Gents,
    I have a Fusion 11.1.2 install on a Windows 2003 server environment.
    After creating the Planning App in Classic mode, I logged back in to Initialize the App... and I got this.
    This occurred when I tried to log on to the Planning App in Workspace. (I was about to go Create/Refresh the app) :
    "An error occurred while processing this page. Check the log for details.Please close the current tab and open application again. Single Sign on Validation failed"
    The SharedServices_Security.log goes as follows:
    2009-05-12 16:08:11,437 ERROR [http-28080-Processor3] com.hyperion.css.common.CSSUtils.checkValidArgument(Unknown Source) -- 26:1002:Invalid value for identity. Enter a valid value.
    2009-05-12 16:08:11,468 WARN [http-28080-Processor3] com.hyperion.css.spi.impl.nv.NativeProvider.getHierarchicalRoleTree(Unknown Source) -- Exception getting Child Roles in hierarchy [Root Cause: 26:1002:Invalid value for identity. Enter a valid value. ]
    2008-05-12 16:42:47,781 WARN [http-28080-Processor9] com.hyperion.css.spi.impl.nv.XMLRoleRegDocumentModel.recurseDocumentTree(Unknown Source) -- The Product 'Hyperion Planning' Version 'HP-9.5.0' in the Registration file does not match the application version '9.5.0'
    Any suggestions?
    Thanks.
    Eric.

    Hi,
    If you are running on a Microsoft OS, have a look the log :- :\Hyperion\logs\services\HyS9Planning-sysout.log
    Not sure how much information it will give though.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • My JSP file does not reflec the change of a Bean

    My test environment: Win 2000, JDK 1.3.1, OC4J(standalone)
    My problem:
    In servlet, the change of a Strng value is reflected at the next refresh of a browser.
    But, when a jsp file call a bean's getXXX(return a String value) method, and if the String value of that bean is changed, the next refresh or visit to that jsp file does not reflect the change of that bean.
    For example:
    1) TestClass.java
    public class TestClass {
    private String txt;
    public class TestClass {
    txt = "Test"; ----- (g
    public String getTxt() {
    return txt;
    2) test.jsp
    <html><body>
    <h2>
    <% TestClass test = new TestClass(); --(h
    out.print(test.getTxt()); %> --(i
    </h2>
    </body></html>
    In my first vistit to "http://localhost:8888/test.jsp" the brower shows "Test" String, but after I change the txt value to "Test1"((g) the brower does not reflect the change.
    I found that if I use <jsp:useBean id="test" class="TestClass" /> instead of (h-(i line, the brower reflects the change of the bean.
    Why does this occur?
    Thaks in advance.
    PS) In some cases(Not above example), I get the java.lang.ClassCastException.
    So Each time I change a Servlet or a Bean, I restart OC4J.
    null

    SangKyu,
    <jsp:useBean > has a property called scope, which defaults to "page".
    So the bean gets reset everytime you reload the page.
    Can I suggest that you set it to "session"?
    The following syntax card I have found userful:
    http://java.sun.com/products/jsp/syntax.pdf
    Cheers,
    Scott
    Atlassian - Supporting YOUR 'Orion/OC4J' World
    http://www.atlassian.com - [EMAIL][email protected][EMAIL]

  • My pdf files do not display the full page on Creative Cloud (side of pages missing)

    Hello
    My pdf files do not display the full page on Creative Cloud (side of pages missing).
    Does anyone else have this problem?
    Thanks

    Creative Cloud is the process used to download and install programs... which program are you using?
    If Acrobat, http://forums.adobe.com/community/acrobat may be a better place to ask

  • Calling a newly deployed EJB from an EJB gives a NoSuchMethod Exception if the jar of the newly deployed ejb is not in the classpath

    Hi ,
    I have an EJB A which is already deployed when the server starts. A second ejb
    B is deployed at a later time.
    EJB A calls methods in EJB B. I use reflection in EJB A to call methods in EJB
    B.
    I get a NoSuchMethodException when I call the create method in the Home object
    of EJB B. If I add the ejb jar file to the classpath before the server starts
    then it is able to resolve the method.
    The problem is the EJBs which are called from EJB A is not known before the server
    is started. New EJBs can be deployed at runtime and EJB A should be able call
    the methods in newly deployed EJB's.
    I also use the URLClassLoader to load all the classes in the jar file of the newly
    deployed EJB in EJB A and it still gives a NoSuchMethodException because it cannot
    resolve the stub class.
    My error log is shown below.
    This is an urgent issue.
    Thanks
    SampleConnector::testEJBService called
    In Key : P1 Value : Input2
    In Key : P3 Value : Input1
    In Key : P2 Value : SomeConst
    Loaded Class = com.bizwave.samples.rejb.SampleRemote
    Loaded Class = com.bizwave.samples.rejb.SampleRemoteEJB
    Loaded Class = com.bizwave.samples.rejb.SampleRemoteEJB_svq1df_EOImpl
    Loaded Class = com.bizwave.samples.rejb.SampleRemoteEJB_svq1df_HomeImpl
    Loaded Class = com.bizwave.samples.rejb.SampleRemoteEJB_svq1df_Impl
    Loaded Class = com.bizwave.samples.rejb.SampleRemoteHome
    java.lang.NoSuchMethodException
    at java.lang.Class.getMethod0(Native Method)
    at java.lang.Class.getDeclaredMethod(Class.java:1151)
    at com.bizwave.samples.ejb.SampleConnectorEJB.testEJBService(SampleCon
    ctorEJB.java:181)
    at com.bizwave.samples.ejb.SampleConnectorEJB_be5y1v_EOImpl.testEJBSer
    ce(SampleConnectorEJB_be5y1v_EOImpl.java:98)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.bizwave.fc.utils.ClassUtils.invokeEJBMethod(ClassUtils.java:109
    at com.bizwave.infra.fjet.engine.EJBServiceStepMgr.executeService(EJBS
    viceStepMgr.java:91)

    Hi,
    I am attaching a test case. This test case actually demonstrates a security bug.
    Unzip the file and modify the StartWeblogic.cmd in domainA to not refer to the
    SampleRemoteEJB.jar in the classpath. If u run the test client under the client
    dir u will see a NoSuchMethodException.
    The reason is it is not able to load the dynamically generated stub file.
    Initially I had the getMethod and it didn't work. You might have to modify the
    files to suit ur env. The easier way is to run th edomain wizard and create 2
    domains. Run the servers in development mode and place the jars under the applications
    dir
    Thanks
    Rajesh Mirchandani <[email protected]> wrote:
    Do you have any old EJB classes in your classpath? Did you recompile
    your EJBs if you
    upgraded from a old release or a Service pack?
    Bob Lee wrote:
    Hmmmm. That's an interesting problem.
    Why is it giving you a NoSuchMethodException instead of a
    ClassNotFoundException?
    Can you post the code from SampleConctorEJB.java, line 181?
    Try changing your call to getDeclaredMethod() to getMethod().
    getDeclaredMethod() searches only the class you called it on, whereas
    getMethod() traverses to the superclasses and interfaces. You onlyneed
    getDeclaredMethod() when you're accessing a nonpublic method.
    Not sure if this will help, but it's worth a shot.
    Bob
    Vasu wrote:
    Hi ,
    I have an EJB A which is already deployed when the server starts.
    A second ejb
    B is deployed at a later time.
    EJB A calls methods in EJB B. I use reflection in EJB A to call methodsin EJB
    B.
    I get a NoSuchMethodException when I call the create method in theHome object
    of EJB B. If I add the ejb jar file to the classpath before the serverstarts
    then it is able to resolve the method.
    The problem is the EJBs which are called from EJB A is not knownbefore the server
    is started. New EJBs can be deployed at runtime and EJB A shouldbe able call
    the methods in newly deployed EJB's.
    I also use the URLClassLoader to load all the classes in the jarfile of the newly
    deployed EJB in EJB A and it still gives a NoSuchMethodExceptionbecause it cannot
    resolve the stub class.
    My error log is shown below.
    This is an urgent issue.
    Thanks
    SampleConnector::testEJBService called
    In Key : P1 Value : Input2
    In Key : P3 Value : Input1
    In Key : P2 Value : SomeConst
    Loaded Class = com.bizwave.samples.rejb.SampleRemote
    Loaded Class = com.bizwave.samples.rejb.SampleRemoteEJB
    Loaded Class = com.bizwave.samples.rejb.SampleRemoteEJB_svq1df_EOImpl
    Loaded Class = com.bizwave.samples.rejb.SampleRemoteEJB_svq1df_HomeImpl
    Loaded Class = com.bizwave.samples.rejb.SampleRemoteEJB_svq1df_Impl
    Loaded Class = com.bizwave.samples.rejb.SampleRemoteHome
    java.lang.NoSuchMethodException
    at java.lang.Class.getMethod0(Native Method)
    at java.lang.Class.getDeclaredMethod(Class.java:1151)
    at com.bizwave.samples.ejb.SampleConnectorEJB.testEJBService(SampleCon
    ctorEJB.java:181)
    at com.bizwave.samples.ejb.SampleConnectorEJB_be5y1v_EOImpl.testEJBSer
    ce(SampleConnectorEJB_be5y1v_EOImpl.java:98)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.bizwave.fc.utils.ClassUtils.invokeEJBMethod(ClassUtils.java:109
    at com.bizwave.infra.fjet.engine.EJBServiceStepMgr.executeService(EJBS
    viceStepMgr.java:91)
    Rajesh Mirchandani
    Developer Relations Engineer
    BEA Support
    [user_projects.zip]

  • "accessibility.properties" file does not work in J2SDK1.4.2

    Hi,
    What is the file that is equivalent to "accessibility.properties" in J2SDK1.4.2 . I tried adding "assistive_technologies=EventTest" to "accessibility.properties" file by creating a new file. but the JRE is not loading this class by default. But the same class is loaded suucessfully when i use "Java -D" parameter in command prompt. Can someone please tell me a way so that my class will be loaded always when ever a Java Application is loaded. or is there any other way to achieve this ?
    Thanks and Regards,
    Srinivas.

    ArrayList ar = new ArrayList();
    FileReader fr = new FileReader("studinfo.csv");
         BufferedReader br = new BufferedReader(r);
         String line = "";
         while((line = br.readLine()) != null)
              ar.add(new ar.(line));
         Collections.sort(ar);
    my studinfo file contains fname, lastname,e-mail,age,state.
    i need to sort it through fnaME
    i also need to sort it by state wise.
    can u plz help me.

  • JAR  file:      could not find the main class.

    I have been working with Java satisfactorily for about two years.
    Installed a bigger hard disk.
    Installed Windows XP.
    Downloaded java.
    Downloaded java jdk 1.6.0_07
    Downloaded java3d 1.5.2
    Downloaded Eclipse Ganymede.
    A new project, a new class with an existing and working java file. It did function in eclipse.
    Generated a jar file with:
    Export \ JAR FILE \ select files and the destination for the Jar file .....
    ... next...next filled the field Main Class
    This generates the jar files, which have worked before.
    And now the error: could not find the main class.
    Thand you for your help.

    Executing a jar file means it will not read from the CLASSPATH environment variable. I learnt this the hard way a few weeks ago and I had to resort to different measures to work around it.
    Your problem does sound weird, but check that the last line in your manifest file is a new line. If it's not, the manifest is not read and parsed correctly.
    To test, do this: remove everything from the manifest that you don't need, except the Manifest-Version and Main-Class attributes. Make sure the last line is a new line, and see if it works.
    Cheers

Maybe you are looking for

  • HT201269 my music on itunes wont sync with my iphone5. what do i need to do to make that happen?

    just picked up an iphone 5. managed to backup/restore and i have all contacts etc on new phone but it wont let me put any music on it. its a new download of itunes as my old hard drive died, could that have any bearing on it? help?!?

  • I movie video editting. tutorials regarding enhancing movies

    This is driving me round the bend and "chat" tell me they cant offer suggestions??????.The turial regarding themes and polish reads: "To view the different themes available in iMovie, click Themes. Use the pop-up menu at the top of the Themes pane to

  • Delivery from the project stock not happening

    Dear experts, after doing a Post goods issue, system is not picking project stock but it is picking storage location stock (normal stock) (in MB1B this project stock is created with a movement type 561Q) (in sales order WBS is put at the item level.)

  • WD my cloud - finder, Mavericks

    Hello, at the begining, sorry for my english I have one question/problem, I've tried to search it in internet but I can't find anything in that subject (maybe becouse I'm not good in computers terminology, and I'm not sure what exectly should I look,

  • Transaction MC46 slow-moving items

    Hi, Is it possible to use this transaction to analyze per storage location ? or is there any alternative transaction for this requirement? Thanks!