Help regarding Tomcat - execution of my application

Hi All,
I have developed an Online Banking system. But its giving an error when I am trying to execute it.
Package name is 'com'.
I have placed the code in the following manner.
Apache Tomcat 4.0->webapps->com->WEB-INF->java->com
1st com folder is tha main folder, this com has folder html, jsp and WEB-INF.
html folder has .html files, jsp folder has .jsp files.
WEB-INF has 1 folder java and web.xml file.
java folder has a folder com, this com has .class files and in the java folders there are .java files.
When I try to execute a functonality AddCustomer its giving an error :
'error in compiling AddCustomer.jsp , package com does not exist'
Please help in this regard. What might be the reason for error.
Thanks,
Saher

Apache Tomcat 4.0->webapps->com->WEB-INF->java->comLooks like you have 'java' directory under WEB-INF and you have kept you classes in 'java' directory.
You must place your classes in WEB-INF/classes directory. If you have a class LoginHelper in package com.onlinebank then the structure will look like:
Apache Tomcat 4.0->webapps->com->WEB-INF->classes->com->onlinebank->LoginHelper.
Though 'com' is a valid root directory name of any web application, but I suggest you give an appropriate name of your online banking web application.
Thanks,
Mrityunjoy

Similar Messages

  • Need help regarding develpment of  a chat application in java

    hi
    well, i would like to know what is the best and simple technolgy to develop a simple chat application. I was searching this on internet and found some using servlets and JSP's, applets, RMI etc. I dont know exactly which to use. Infact iam new to java and if someone can help me out with this, i can start reading the specific technology.
    Thanks in advance.
    ravi.

    follow this tutorial and you might get some clues: http://java.sun.com/docs/books/tutorial/networking/sockets/index.html

  • Hello I need a help regarding application passbook.I need know if I can download the application passbook as passbook.ipa?

    Hello I need a help regarding application passbook.I need know if I can download the application passbook as passbook.ipa?

    Passbook is an app that's built into the iPhone. It's not availble for the iPad.

  • Regarding Reading the file from Application Server

    Hi,
    I am trying to read data from Application Server but due to special characters it is getting dumped out.
    US24,Q,Acero (Carbon),AA,0010,0001,01,Ver Mir para dimension#
    US24,Q,Acero (Carbon),AA,0010,0002,01,Area rectificada sin da#os ra
    US24,Q,Acero (Carbon),AA,0010,0003,01,Ver Mir para dimension#
    US24,Q,Acero (Carbon),CD,0010,0001,01,ITPE Soken para verificacion
    US24,Q,Acero (Carbon),CD,0010,0010,01,No se permite desprendimiento
    US24,Q,Acero (Carbon),CD,0010,0002,01,"Vernier, cinta metrica"#
    In the last line it is going into dump due to special character ".
    Please suggest.
    Thanks
    Priyanka.

    Hi,
    You can check the mode in which you are reading the file
    from application server that is
    Open Dataset in Binary or Text Mode.
    Hope it helps
    Regards
    Mansi

  • Need Help On this(solve these 2 applications)

    Hello All,
    Find below the questions for Snooker scoreboard application programming in java and second one is an applet. Please solve the two applications and send me the code immediately to [email protected] and [email protected] .
    I have the exam tomorrow and any help regarding this is appreciated.
    1)
    UNIVERSITY OF SUNDERLAND
    SCHOOL OF COMPUTING AND TECHNOLOGY
    MODULE CODE:      COMM3C
    MODULE TITLE:      Java Network Programming
    MODULE ASSESSOR:      Adrian Wadsworth
    ASSESSMENT:      One of Two (Referred/Deferred)
    TITLE OF ASSESSMENT:      Individual Assignment Snooker Scoreboard Application (4 pages)
    MODERATED:      May 2006
    PLEASE READ ALL INSTRUCTIONS AND INFORMATION CAREFULLY.
    This assignment contributes 50% to your final module mark.
    Please ensure that you retain a duplicate of your assignment. We are required to send samples of student work to the external examiners for moderation purposes. It will also safeguard in the unlikely event of your work going astray.
    THE FOLLOWING LEARNING OUTCOMES WILL BE ASSESSED:
    Knowledge of:
    a.      Critical awareness of the issues and problems associated with the development of programs to run in a networked environment      �9
    b.      Critical understanding of the Java and the web      �9
    c.      Architectural issues of relating to distributed systems
    d.      Critical awareness of network programs and network protocols      �9
    and ability to:
    e.      Design and implement a Java applet or application      �9
    f.      Critically evaluate network technologies for specific requirements
    g.      Design test a Java based on-line systems      �9
    h.      Work as part of a team to develop a component based system.
    i.      Use and critically evaluate Software Engineering tools      �9
    IMPORTANT INFORMATION
    You are required to submit your work within the bounds of the University Infringement of Assessment Regulations (see your Programme Guide). Plagiarism, paraphrasing and downloading large amounts of information from external sources, will not be tolerated and will be dealt with severely. Although you should make full use of any source material, which would normally be an occasional sentence and/or paragraph (referenced) followed by your own critical analysis/evaluation. You will receive no marks for work that is not your own. Your work may be subject to checks for originality which can include use of an electronic plagiarism detection service.
    Where you are asked to submit an individual piece of work, the work must be entirely your own. The safety of your assessments is your responsibility. You must not permit another student access to your work.
    Where referencing is required, unless otherwise stated, the Harvard referencing system must be used (see your Programme Guide).
    Submission Date and Time      Before 4pm, Friday 1st September 2006
    Submission Location      LRC, Reg Vardy Centre, St Peters Campus
    Java Network Programming (COMM3C)
    Assignment 1 (Referred/Deferred) May 2006
    Snooker Scoreboard Application
    This assignment is designed to consolidate the knowledge of the Java programming language you have gained in the first half of the course and to develop your skills in using basic Java input/output facilities, designing graphical user interfaces and implementing client-server systems.
    The Application (70 marks)
    You will develop a client/server based scoreboard application which will present and log the activity of a snooker match which may comprise a maximum of 15 frames. Your application must be capable of performing the following functions:
    (a) Displaying the current score of each player for the current frame.
    (b) Displaying the break for the player currently at the table.
    (c) Displaying a record of the sequence of balls potted with their values during each break for each player during the current frame.
    (d) Logging, and ultimately storing on a floppy disc in drive A, a record of the sequence of events occurring during a frame. This would include: fouls committed, balls potted with their values and which player potted them for each frame completed. This is intended to provide the definitive record for the frame. Note that, with the exception of player names, match identification and the date, no other information (such as the frame score) should be stored on disc.
    (e) Recalling a frame's record from disc. The application must be able to process the data recalled from disc for any chosen frame and provide the following information:
    i) the frame score and the highest break for each player,
    ii) the number of points conceded as fouls by each player,
    iii) the number of times each player visited the table,
    vi) the number of times each colour ball (not reds or free balls) was
    v) potted in the frame as a whole by each player.
    The application must be developed as a client/server system using the loopback address so the client and the server can be run on the same computer.
    The client will include the graphical User Interface (GUI) which will facilitate the entry of player names, a method of scoring, a method of displaying all required information and interaction with the server to allow data to be sent to it and recalled from it. See above for detailed requirements.
    The server must facilitate the storage to and retrieval from floppy disc of match data and interaction with the client. The server need only be capable of interacting with a single client.
    The Application (continued)
    In addition to your report (see next page), you must submit a 3.5 inch virus checked floppy disc (CD's are NOT acceptable) which must contain four folders, described below, and nothing else.
    Folder 1: The clientSource folder. Must contain all client source files and nothing else.
    Folder 2: The clientClass folder. Must contain all client class files and nothing else.
    Folder 3: The serverSource folder. Must contain all server source files and nothing else.
    Folder 4: The serverClass folder. Must contain all server class files and nothing else.
    Any number of client classes may be developed, but the class containing the client's main method must be called client. Any number of server classes may be developed, but the class containing the server's main method must be called server.
    All applications must be executable directly from the command prompt window, without the use of an additional Integrated Development Environment such as Eclipse or JBuilder. You must clearly identify which version of Java you have used to develop your application.
    Note that it will not be possible for you to include class files corresponding to source files which do not compile correctly. You must, however, include all of your source files in the appropriate folder regardless of whether or not they compile.
    You should place the floppy disc in a small envelope and tape it to the front sheet of your report so that no text on the front sheet is obscured. Do not apply tape to the disc itself.
    Report Submission Details (30 marks)
    Your report must contain the following elements:
    (a) a well commented source listing of the application source code (whether functional
    or not). Note that sections of code which do not function correctly should be clearly identified by the words "NOT FULLY FUNCTIONAL" and accompanied by a brief hand written explanation of the problem.
    (b) a maximum of four screen shots showing the application in action
    (c) a conclusion, with clearly marked sub-headings, which must include:
    i) a clear statement of the extent of the application's functionality,
    ii) a brief explanation of how to use your version of the application,
    iii) a description of how you have made the application robust,
    iv) any other commentary that you feel is relevant.
    Your report must be presented on A4 sheets of paper which must be stapled together at the top left corner to allow access to all of the report�s contents without removing the staple.
    If your report is too thick to be secured using a staple, punch a hole in the top left corner and bind the pages together with a treasury tag.
    Your report must not be submitted in any type of cover or folder.
    Your name, my name and the module number must be clearly displayed on the front sheet of your submission.
    No other information, designs or motifs should appear on the front sheet.
    Note that all the pages of this assignment must be submitted with your report and must immediately follow the front sheet.
    Your report must NOT be submitted electronically and must NOT be included on your floppy disc.
    Failure to comply with the requested report and floppy disc submission format will result in the allocation of a significantly reduced mark.
    A.Wadsworth
    2)UNIVERSITY OF SUNDERLAND
    SCHOOL OF COMPUTING AND TECHNOLOGY
    MODULE CODE:      COMM3C
    MODULE TITLE:      Java Network Programming
    MODULE ASSESSOR:      John Tindle
    ASSIGNMENT      Two of Two (Referred/Deferred)
    TITLE OF ASSIGNMENT:      Java Media Player
    MODERATED:      May 2006
    PLEASE READ ALL INSTRUCTIONS AND INFORMATION CAREFULLY.
    This assignment contributes 50% to your final module mark.
    Please ensure that you retain a duplicate of your assignment. We are required to send samples of student work to the external examiners for moderation purposes. It will also safeguard in the unlikely event of your work going astray.
    THE FOLLOWING LEARNING OUTCOMES WILL BE ASSESSED:
    Knowledge of:
    a.      Critical awareness of the issues and problems associated with the development of programs to run in a networked environment      �9
    b.      Critical understanding of the Java and the web      �9
    c.      Architectural issues of relating to distributed systems
    d.      Critical awareness of network programs and network protocols      �9
    and ability to:
    e.      Design and implement a Java applet or application      �9
    f.      Critically evaluate network technologies for specific requirements      �9
    g.      Design test a Java based on-line systems      �9
    h.      Work as part of a team to develop a component based system.
    i.      Use and critically evaluate Software Engineering tools      �9
    IMPORTANT INFORMATION
    You are required to submit your work within the bounds of the University Infringement of Assessment Regulations (see your Programme Guide). Plagiarism, paraphrasing and downloading large amounts of information from external sources, will not be tolerated and will be dealt with severely. Although you should make full use of any source material, which would normally be an occasional sentence and/or paragraph (referenced) followed by your own critical analysis/evaluation. You will receive no marks for work that is not your own.
    Where you are asked to submit an individual piece of work, the work must be entirely your own. The safety of your assessments is your responsibility. You must not permit another student access to your work.
    Where referencing is required, unless otherwise stated, the Harvard referencing system must be used (see your Programme Guide).
    Submission Date and Time      Before 4pm, Friday 1st September 2006
    Submission Location      LRC, Reg Vardy Centre, St Peters Campus
    Module COMM3C Java Network Programming
    Assignment 2 (Referred/Deferred) May 2006
    Java Media Framework
    Part 1 Research Topics
    The Java Media Framework API (JMF) enables audio, video and other time-based media to be added to applications and applets built on Java technology. This optional package, which can capture, playback, stream, and transcode multiple media formats, extends the Java 2 Platform, Standard Edition (J2SE) for multimedia developers by providing a powerful toolkit to develop scalable, cross-platform technology.
    The aim of this assignment is to develop the skills required by a network systems developer so that they are able to incorporate standard Java components code into their own projects.
    Here is a link the JMF website
    http://java.sun.com/products/java-media/jmf/
    JMF documentation
    http://java.sun.com/products/java-media/jmf/reference/docs/index.html
    JMF code examples
    http://java.sun.com/products/java-media/jmf/reference/codesamples/index.html
    JMF Documentation
    http://java.sun.com/products/java-media/jmf/2.1.1/specdownload.html
    Download and read the JMF API Guide
    https://sdlc3a.sun.com/ECom/EComActionServlet;jsessionid=1BA18CD12B4C0D0DEC445DAAD5522248
    Research the topics given in Part 1 and answer the questions listed below.
    Describe the structure and mode of operation of the JMF in your own words.
    Describe in your answer Controller Event (ref p30 JMF API Guide)
    Describe in your answer Standard Controls (ref p20 JMF API Guide)
    Describe in your answer Presenting RTP Media Streams (ref p68 JMF API Guide)
    Describe in your answer Capturing Time Based Media (ref p77 JMF API Guide)
    Describe what is meant by a Media Processor and a Media Player. How do they differ?
    Part 2 SimplePlayerApplet.java
    Download the Java Applet, modify the source code and add it to a package within a Java Project. Recompile the Applet using JBuilder. Please refer to the following two links:
    Code examples
    http://java.sun.com/products/java-media/jmf/reference/codesamples/index.html
    SimplePlayerApplet.java
    http://java.sun.com/products/java-media/jmf/2.1.1/samples/samples/SimplePlayerApplet.java
    Download the JMF library and add it to the JBuilder IDE using the Project Properties function.
    Download the JMF library using this link
    http://java.sun.com/products/java-media/jmf/2.1.1/download.html
    Describe how you developed the applet SimplePlayerApplet.java
    Describe how you tested SimplePlayerApplet.java.
    Use the JB Builder/Designer tool to add two buttons to a Frame to start and stop the AppletPlayer.
    Upload the Applet online to your CET website.
    Set the access rights so that the Applet will run online via browser.
    Test the Applet using a browser.
    Provide screenshots to prove the Applet runs satisfactorily online.
    Here is a link to view the operation of the JMF Player
    http://osiris.sunderland.ac.uk/~cs0jti/NetSys/website/data-archive/COMM3C-JavaNP/JavaMediaFramework/SimplePlayerApplet/classes/
    To run the Applet click on SimplePlayerApplet.html
    To run this applet in your browser you must install the Java Runtime Environment and the JMF.
    http://java.sun.com/j2se/1.4.2/download.html
    To run the Applet it is also recommended that a codec pack is installed.
    Here is a link to freecodecs.com
    http://www.free-codecs.com/download/K_Lite_Codec_Pack.htm
    The following codec packs have been found to work satisfactorily with the JMG Applet.
    Install either the (i) K-Lite Code Pack or the (ii) XP Codec Pack
    Note - Do not install both codec packs at the same time.
    Video clips may be found at this URL
    http://osiris.sunderland.ac.uk/~cs0jti/NetSys/website/data-archive/COMM3C-JavaNP/JavaMediaFramework/
    Tests have shown that the following files are compatible with the JMF Player,
    1 - eng.avi
    2 - movie.mpeg
    3 - hvid.avi
    Note
    If any of the links given above are broken then students may find copies of this data stored at the following URL.
    http://cet-netres-srv.sunderland.ac.uk/website/Archive2006/JMF/SimpleAppletPlayer/
    Student Report Structure
         1. Write and submit an original report relating to the design of your Java application.
         2. Provide a printed report. Your mark will primarily be obtained from your printed report.
         3. The contents of the report must be completely original, this includes text, diagrams and any simple examples.
         4. Students are required to submit a disk with their JBuilder Java Projects.
         5. Students must put their disk in an envelope and attach it their report.
         6. If the disk is directly sellotaped to the report their project code will be allocated a mark of 0.
         7. The report submitted must not exceed the page count excluding the front sheet and index.
         8. Students should print on just one side of the paper.
         9. Staple your report at the top left hand corner.
         10. Do not use plastic folders or envelopes that must be taken apart and reassembled.
         11. Required font type Arial or Times Roman and size 12.
         12. To obtain high marks students must present work that has a high technical content with clear diagrams and a good standard of original English (your own work), that is not taken from standard textbooks, papers or websites.
         13. Students should provide good references and link them with the text and diagrams in the main body of their report. All text that is extracted and added from another source, such as the web, must be identified using bold italics. The total amount of text added that is not original must not exceed 5% of the total.
         14. Penalties will be incurred for the following
    No name on disk
    No name on report
    Disk Sellotaped to report
    Report in a plastic folder
    JB project is incomplete or will not compile.
    Moderated by MSc Moderation Panel May 2006
    Reference: jmf-2006-v4-modified.htm
    A copy of this assignment may be found online at URL
    http://osiris.sunderland.ac.uk/~cs0jti
    Name
    Frontpage 1 side of A4 Index 1 side of A4
    Part 1 Research into JMF 4 sides of A4 Marks 30
    Controller Event
    Standard Controls
    Presenting RTP Media Streams
    Capturing Time Based Media
    Player vs processor
    JMF Plug-ins
    Part 2 SimplePlayerApplet.java 3 sides of A4 Marks 60
    Link for application
    Description of development
    Start and Stop buttons
    Description of testing
    Online test � applet works
    Screenshots
    JB project loads
    JB code runs - 20 marks
    References 1 side of A4 Marks 10
    List of references
    Correct use of refs in main text
    2)

    Plagiarism, paraphrasing and downloading largeamounts of >information from external sources, will
    not be tolerated and will be >dealt with severely.
    You will receive no marks for work that is not yourown. Your work may >be subject to checks for
    originality which can include use of an >electronic
    plagiarism detection service.Hey, the OP didn't read the rest of the assignment so why should they read that part?

  • Help regarding MBeanServerConnection queryName function

    Hi guys, i recently start using JMX and i need some help regarding queryName function. I want to get a specific set of objectNames, not all of them.
    I have the following List of Beans
    ObjectName = WowzaMediaServerPro:loadBalancer=LoadBalancer,loadBalancerServers=LoadBalancerServers,serverId=14b69d-eee40f3d6467,name=LoadBalancerServer
    ObjectName = WowzaMediaServerPro:loadBalancer=LoadBalancer,loadBalancerServers=LoadBalancerServers,serverId=40-a0b2-f1dfb314406f,name=LoadBalancerServer
    ObjectName = WowzaMediaServerPro:loadBalancer=LoadBalancer,loadBalancerServers=LoadBalancerServers,serverId=98-4af4-9147-bf45fb49c044,name=LoadBalancerServer
    ObjectName = WowzaMediaServerPro:loadBalancer=LoadBalancer,loadBalancerServers=LoadBalancerServers,serverId=c-4bf6-9c42-d5c3acea6662,name=LoadBalancerServer
    ObjectName = WowzaMediaServerPro:loadBalancer=LoadBalancer,name=LoadBalancerListener
    ObjectName = WowzaMediaServerPro:loadBalancer=LoadBalancer,name=LoadBalancerRedirector
    ObjectName = WowzaMediaServerPro:mediaCache=MediaCache,name=IOPerformance
    ObjectName = WowzaMediaServerPro:mediaCache=MediaCache,name=MediaCache
    ObjectName = WowzaMediaServerPro:mediaCache=MediaCache,name=PendingReadAheadRequestTracker
    ObjectName = WowzaMediaServerPro:mediaCache=MediaCache,name=PendingWriteRequestTracker
    ObjectName = WowzaMediaServerPro:name=Connections
    ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,name=Connections
    ObjectName = WowzaMediaServerPro:name=HandlerThreadPool
    ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,name=HandlerThreadPool
    ObjectName = WowzaMediaServerPro:name=IOPerformance
    ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,name=IOPerformance
    ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,name=IOScheduler
    ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=chat,name=Properties
    ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=default,name=Properties
    ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=file,name=Properties
    ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=live,name=Properties
    ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=live-lowlatency,name=Properties
    ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=live-record,name=Properties
    ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=live-record-lowlatency,name=Properties
    ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=liverepeater-buffer,name=Properties
    ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=liverepeater-edge,name=Properties
    ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=liverepeater-edge-lowlatency,name=Properties
    ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=liverepeater-edge-origin,name=Properties
    ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=liverepeater-origin,name=Properties
    ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=netconnection,name=Properties
    ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=record,name=Properties
    ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=rtp-buffer,name=Properties
    ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=rtp-buffer-lowlatency,name=Properties
    ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=rtp-buffer-record,name=Properties
    ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=rtp-buffer-record-lowlatency,name=Properties
    ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=rtp-live,name=Properties
    ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=rtp-live-lowlatency,name=Properties
    ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=rtp-live-record,name=Properties
    ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=rtp-live-record-lowlatency,name=Properties
    ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=rtpout,name=Properties
    ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=shoutcast,name=Properties
    ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=shoutcast-buffer,name=Properties
    ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=shoutcast-buffer-record,name=Properties
    ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=shoutcast-record,name=Properties
    ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,name=Properties
    ObjectName = WowzaMediaServerPro:name=Server
    ObjectName = WowzaMediaServerPro:name=ServerNotifications
    My question is that , how can i get those rows that contains "WowzaMediaServerPro:loadBalancer=LoadBalancer,loadBalancerServers=LoadBalancerServers"?
    Please help

    Hello ,
    There should be a number of BRF+ tutorials available in SCN which discuss the FDT APIs. You can have a look at them to get an idea of the various APIs available and their uses.
    For your usecase, you should do the following.
            lo_fdt_function         TYPE REF TO if_fdt_function,
            lo_fdt_result           TYPE REF TO if_fdt_result,
    * Get function handle
          CALL METHOD lo_fdt_factory->get_function
            EXPORTING
              iv_id       = lv_function_id
            RECEIVING
              ro_function = lo_fdt_function.
    where lv_function_id is the GUID of the BRF+ function . You can either make it a constant , or you can use a FDT API to get the function GUID from the BRF+ application name and function name.
    *   Set function context
        TRY.
            CALL METHOD lo_fdt_context->set_value
              EXPORTING
                iv_id    =
                ia_value =
    This is one way to set the input context ( pass the input to the BRF+ function to process ). There are other ways to do this as well. Which one you use would depend on the kind of input you want to pass.
    * Execute BRFPLUS function
      TRY.
          CALL METHOD lo_fdt_function->process
            EXPORTING
              io_context = lo_fdt_context
            IMPORTING
              eo_result  = lo_fdt_result.
    * Get result output
      TRY.
          CALL METHOD lo_fdt_result->get_value
            IMPORTING
              ea_value =
    Another direct way of doing it would be to use the method PROCESS of the class CL_FDT_FUNCTION_PROCESS.
    I have not gone into much explaination here , but it should provide you an idea of how you can go about it.Read the SCN docs on the APIs to get a better idea , or better still if you can get hold of a copy of the BRF+ book by Carsten Ziegler , you will get an end to end explaination of all BRF+ APIs in it.
    Regards,
    Indranil.

  • Immediate HELP in Tomcat 5 to Postgresql 7.4 database connectivity problem

    Hi,
    I failed to connect Tomcat 5.0.24 with Postgresql
    7.4.2. The files created by me and the changes i had
    made in the existing files are rates.jsp,
    conversionDAO.java, web.xml and server.xml. The error
    message on the top of the rest of it was "The value of
    useBean class attribute converter.conversionDAO is
    invalid". So far I found out that the coding for
    database connectivity purpose in conversionDAO.java
    cause the error. Another thing is Postgresql jdbc
    driver is required to set in the CLASSPATH for the
    java file to access the Postgresql database. I don't
    know where should I put it in Tomcat for web
    application. Anyway, I put it in
    $CATALINA_HOME/shared/lib according the book i
    refered. I do the database connectivity coding refer
    to the Tomcat Kick Start book from Sams Publishing.
    Below are the coding involved, please show me the
    mistake i had made. Thank you.
    ----server.xml----
    <Context path="/database"
    docBase="${catalina.home}/webapps/database" debug="0"
    reload="true">
    <ResourceParams name="jdbc/conversion">
    <parameter>
    <name>username</name>
    <value>myusername</value>
    </parameter>
    <parameter>
    <name>password</name>
    <value>mypassword</value>
    </parameter>
    <parameter>
    <name>driverClassName</name>
    <value>org.postgresql.Driver</value>
    </parameter>
    <parameter>
    <name>url</name>
    <value>jdbc:postgresql://localhost/conversion</value>
    </parameter>
    </ResourceParams>
    </Context>
    ----web.xml----
    <servlet>
    <servlet-name>conversionDAO</servlet-name>
    <servlet-class>converters.conversionDAO</servlet-class>
    </servlet>
    <resource-ref>
    <res-ref-name>jdbc/conversion</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    ----conversionDAO.java----
    public conversionDAO() throws SQLException,
    NamingException
    Context init = new InitialContext();
    Context ctx = (Context)
    init.lookup("java:comp/env");
    DataSource ds = (DataSource)
    ctx.lookup("jdbc/conversion");
    con = ds.getConnection();
    select = con.prepareStatement(
    "SELECT rate FROM Exchange WHERE src= ? AND dst =

    Immediate HELP in Tomcat 5 to Postgresql 7.4 database connectivity problem (cont.)
    Errors log
    2004-06-06 01:07:53 StandardContext[servlets-examples]SessionListener: contextDestroyed()
    2004-06-06 01:07:53 StandardContext[servlets-examples]ContextListener: contextDestroyed()
    2004-06-06 01:07:53 StandardContext[jsp-examples]SessionListener: contextDestroyed()
    2004-06-06 01:07:53 StandardContext[jsp-examples]ContextListener: contextDestroyed()
    2004-06-06 01:07:59 StandardContext[balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
    2004-06-06 01:08:00 StandardContext[jsp-examples]ContextListener: contextInitialized()
    2004-06-06 01:08:00 StandardContext[jsp-examples]SessionListener: contextInitialized()
    2004-06-06 01:08:00 StandardContext[servlets-examples]ContextListener: contextInitialized()
    2004-06-06 01:08:00 StandardContext[servlets-examples]SessionListener: contextInitialized()
    2004-06-06 01:08:01 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
    org.apache.jasper.JasperException: /rates/rates.jsp(5,0) The value for the useBean class attribute converters.conversionDAO is invalid.
         at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
         at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:357)
         at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:141)
         at org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1217)
         at org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1116)
         at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
         at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
         at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
         at org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
         at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
         at org.apache.jasper.compiler.Generator.generate(Generator.java:3261)
         at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:244)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:422)
         at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:507)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:274)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    ----more----

  • Need Help Regarding JAVA BEAN

    Is any one tell me that JAVA BEAN only used in WEB or also you in Desktop applications???? and aslo tell how i implement Java class and use JAVA BEAN. I need help regarding above matter
    thanks in advance
    Rehan MIrza

    Here is a good link that indicate that JavaBean is not only for applets
    http://java.sun.com/docs/books/tutorial/javabeans/whatis/beanDefinition.html
    quote:
    The JavaBeans API makes it possible to write component software in the Java programming language. Components are self-contained, reusable software units that can be visually composed into composite components, applets, applications, and servlets using visual application builder tools. JavaBean components are known as Beans.
    Francois

  • Hi experts - cannot run HTTPS on tomcat as a service application

    I have configured HTTPS on my tomcat 4.1 web server.
    Now, when I run Tomcat as a console application it works fine and there is no problem. But When I run Tomcat as a service application, the server starts as a service properly but when I try to access the pages it says that "The Page Cannot Be Displayed"
    The configuration for HTTPS in conf/server.xml file is like this:
    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
                   port="443" minProcessors="5" maxProcessors="75"
                   enableLookups="true"
                acceptCount="100" debug="0" scheme="https" secure="true"
                   useURIValidationHack="false" disableUploadTimeout="true" >
          <Factory className="org.apache.coyote.tomcat4.CoyoteServerSocketFactory"
                   clientAuth="false" protocol="TLS" keystorefile="C:\Documents and Settings\deepak\"/>
        </Connector>M using tomcat 4.1
    Please experts help me with this.

    And what does your catalina.out logfile say?

  • Does un-checking "Allow Debuging" in VI properties- execution improves overall application performance?

    Does un-checking "Allow Debuging" in VI properties->execution improves overall application performance?

    > Does un-checking "Allow Debuging" in VI properties->execution improves
    > overall application performance?
    Yes, though it is hard to predict by how much. When debugging is
    enabled, after each node on the diagram there will be a small amount of
    compiled code to test if the VI has a probe, a breakpoint, execution
    hiliting, or the pause button is pressed. The code is quite small,
    about two or three instructions, but if you have twenty nodes in a loop
    and the nodes are doing simple math, these instructions could be 25%
    overhead. For more complex nodes or datatypes, these instructions turn
    into a fraction of a percent.
    Turn it off and measure. If you have other performance problems, read
    the documentation on the profiler and use it to help you find yo
    ur
    bottlenecks.
    Greg McKaskle

  • Need help regarding Java decoding of IMAP attachment (IOStream related ques

    Hi ,
    I need some help regarding the processing of an IMAP attachment , It is a basic IOStream related question I guess.
    I have some attachment to a mail , I try to fetch it using javamail and read the content and write it to a file , I was able to do it successfully when I was using stream.read( tempBuffer) function but when I started using stream.read( tempBuffer, 0, m_maxDataSize ); it is giving me following exception
    java.io.IOException: Error in encoded stream: needed at least 2 valid base64 characters, but only got 1 before padding character (=), the 10 most recent characters were: "/59PT/eXQ="
         at com.sun.mail.util.BASE64DecoderStream.decode(BASE64DecoderStream.java:259)
         at com.sun.mail.util.BASE64DecoderStream.read(BASE64DecoderStream.java:148)
    ***Here is the snippet of code that is running this:***
    m_contentObj = m_message.getContent();
    if(m_contentObj instanceof InputStream)
         System.out.println(" Content is type of InputStream");
         InputStream stream = (InputStream) m_contentObj;
         byte[] tempBuffer = new byte[m_maxDataSize];
         stream.skip( m_currPos );
         int bytesRead=stream.read( tempBuffer, 0, m_maxDataSize );
         System.out.println(" Read the following no of bytes from the Object::"+bytesRead);
         m_currPos+=     bytesRead;
    Please suggest what to do.
    Thanks & Regards
    Saurabh

    BUMP, just incase its been missed by a new board member

  • I need help, i can't download free applications in App store. they answer me "your request cannot be processed Error code:1009". and after they said "we could not complete your request. There was an error in the App Store. Please try again later (nul

    i need help, i can't download free applications in App store. they answer me "your request cannot be processed Error code:1009".
    and after they said "we could not complete your request. There was an error in the App Store. Please try again later (null)".
    COMPUTER DETAILS: MacBook Pro 13-inch, Mid 2012 OS X Version 10.9.5; Processor 2,5GHz Intel Core i5; Memory 4 Go 1600 MHz DDR3.
    Thanks beforehand!!!

    Error
    what is error code 1009?

  • My iPad mini was working very fine from last 9 months....but suddenly today I found it discharging from 100% to 34% though I didn't use it at all...and also found my mini is slightly heated up at the bottom..any help regarding this would be greatful

    My iPad mini was working very fine from last 9 months....but suddenly today I found it discharging from 100% to 34% though I didn't use it at all...and also found my mini is slightly heated up at the bottom..any help regarding this would be greatful

    Same thing happened to me with my peruvian credit card in the peruvian app store, I want to buy an app, but it says that my credit card is "not supported in the Peruvian app store"

  • Please help me with this error: "Apple application support was not found... Error 2"

    Can anyone please help me with this error: "Apple application support was not found... Error 2"
    I've followed the instructions by removing all Apple files from my laptop, but when I reinstall the iTunes software it still comes up with this message:
    "Apple application support is required to run iTunesHelper. Please uninstall iTunes, then install iTunes again. Error 2"
    Thank you

    iTunes "Apple Application Support is required... Error 2" and possible fix.
    I know this is a bit late but I came accross this thread trying to resolve this same problem and came up with a solution that worked for me, so thought I would share it here too. I hope it helps someone else.
    I just resolved this on Win Vista (should apply equally for Win7 too). Please uninstall iTunes before proceeding though. I'll walk you through the process I followed, if you like you can jump straight to the Solution section.
    Problems:
    The initial error during the installation of iTunes was:
    An error occurred during the installation of assembly 'Microsoft.VC80.CRT,version="8.0.50727.4053",type="win32",publicKeyToken='1fc8b 3b9a1e18e3b",processorarchitecture="x86". Please refer to Help and Support for more information. HRESULT:0x8007054F
    The error (after installing iTunes) when trying to run iTunes was:
    Apple Application Support is required to run iTunes. Please uninstall iTunes, then install iTunes again. Error 2 (Windows error 2).
    After trying various fixes around the forums I came across this MSKB article, which relates to the first installation error:
    http://support.microsoft.com/kb/2688946
    This lead me to trying to install MS Visual C++ but I received the following error trying to install that:
    Error 1935.An error occurred during the installation of assembly ‘Microsoft.VC80.ATL,type=”win32”,version=”8.0.50727.762”,publicKeyToken=”1fc8b3 b9a1e18e3b”,processorArchitecture=”amd64”’. Please refer to Help and Support for more information. HRESULT: 0x80070BC9. Assembly interface: IassemblyCacheItem, function: Commit, component: {837BF1EB-D770-94EB-A01F-C8B3B9A1E18E}
    Note: The installation of VC++ rolls back when it fails.
    Solution:
    Through this error I found this MSKB article:
    http://support.microsoft.com/kb/946414
    The Automated MS "Fix It" msi package didn’t work.
    Note: Please backup your registry first (see the above MSKB article for instructions).
    I opened the registry and (as instructed in the MSKB article) deleted the following keys:
    HKEY_LOCAL_MACHINE\COMPONENTS\
    PendingXmlIdentifier
    NextQueueEntryIndex
    AdvancedInstallersNeedResolving
    Reboot and reinstall iTunes.
    If it helps you please like this so others can find it.

  • Help regarding :Video Segmentation & Summerization

    hello friends,
    I am doing my project on above topic and I am trying it with Java.
    Is it possible doing it in Java.
    What Techniques I'm using are:
    1.Java(JMF)
    2.Oracle 9i(Inter-Media)
    3.Matlab
    This project concludes of four parts
    1.Segmentation (Video to Image conversion)
    2.Comparison (Copare frame using algo.)
    3.Extraction (remove duplicate frames based on algo)
    4 Summarization (Collect frames and form a new content based video)
    Is It possible in Java? How?
    Seeking for help regarding this .
    Thank you.

    This project concludes of four parts
    1.Segmentation (Video to Image conversion)
    2.Comparison (Copare frame using algo.)
    3.Extraction (remove duplicate frames based on algo)
    4 Summarization (Collect frames and form a new content based video)So, compressing that into a simple question instead of a convoluted one... you just want to remove duplicate frames from a video and save it to file?

Maybe you are looking for

  • Syncing iphone and iMac?

    I am having trouble syncing my devices through icloud.  When i make changes to my calendar or contacts on my iphone it will not appear on my imac, even when i directly hook up my phone through itunes.  Any suggestions?  Could it be that i only have v

  • Intel Based IMac OS X 10.5.8 freeze on shut down and hang ups

    Have an Intel IMac8,1 OS X 10.5.8 Computer has been freezing up on shut down, will log out and hold right at the shut down screen with a loading icon running.  Will have to force shut down with power button.  Applications have been loading slower tha

  • Instantiating enums

    Hi! I am curious why javac generates public constructors of enum classes making it possible to instatiate an enum using reflection. Here's an example: // EnumX.java public enum EnumX { A, B }// EnumTest.java import java.util.EnumSet; public class Enu

  • Problems hightlighting/saving images from pdf

    Hi, when I try to save a highlighted part of an image in my pdf, an error occurs: "An interal error occured." Also, when I try to save an image, it just saves them blank... I don't know if anyone has had the same experience(s), or perhaps even a link

  • Can I use cluster as Xcontrol data

    Hi, I am Using a Xcontrol to make interface customized, I need to get a cluster output from the xcontrol. I am Attaching the code I am Using Please Help me out in solving this. I have Xcontrol and Xcontrol data  I have to get any modification in xcon