How to setup 9ias EJB!

I put EJB into directory /path/Apache/Apache/htdocs/WEB-INF/classes/ ,But when run JSP programe that call EJB error as fallow:
like this:"not found MY EJB"
how to configure?
thanks in advance

I think perhaps a good place to start would be a book or tutorial on J2EE. You appear to be confusing the EJB services (which run in an EJB container) with the Web services (servlets & JSPs served from the web container). You do not install EJBs into the location you indicated (which is for servlets and is used by the Web container), instead you must deploy the EJBs to the EJB container.
I recommend you head for the Sun web site and read some tutorials on J2EE architecture, then go to the Oracle documentation for OC4J.
John H.

Similar Messages

  • How to setup 9ias so that we can have different profile to cater for 2 DADs

    Dear Sir,
    How to setup 9ias so that we can have different profile to cater for 2 DADs with the same name pointing to different database.
    For example:
    /pls/users --> pointing to database 1
    /pls/users --> pointing to database 2
    I would like to know, how possible is it.
    Reason being we would like to deploy both our live and demo plsql application on same application server without the need to change all the dad path to:
    /pls/users -- pointing to database 1
    /pls/usersdb2 -- pointing to database 2
    In other words, we would like to preserve the same DAD name in both live and demo application to minimise unnecessary changes to application.
    Please advise.
    Thanks.

    Follow the directions here:
    http://support.apple.com/kb/ht2534

  • How to setup project property in 9iJdeveloper?

    i don't know how to setup the project property, although i have experience with jdev3.1.
    i want to run a helloworld.jsp.
    the project name is myProject.
    the files i have
    helloworld.jsp
    helloworldBean.java
    helloworldProvider.java
    the data "hello world" is retrived from a database table.
    i use NT to build and test these files, and put them on Linux environment later.
    the Linux server runs 9iAS, i will put the jsp file in $j2ee_home/default-web-app/myTest, and put the servlet classes in $j2ee_home/default-web-app/WEB-INF/classes/myTest.
    could any one give me detail explaination on
    1.where to put the three files(same directory or not)?
    2.how to setup the project property on my NT machine? (such as Defaul Package, javaSourcePath, HTML root Diretory, output directory,Libraries, J2ee properties, modelers properties, and other properties necessary to be modified. )

    Mazel tov !!!
    Finally found it!
    So simple.
    nothing to do with rendering.
    Steve you deserve a big hug for all your hard work in trying to help me, and I feel like I owe you big time, however the solution was so simple and provided by ted smith, on the playback screen one right clicks and changes the playback quality to highest, and the quality is 100% crystal clear.
    Thank you all for your help.
    btw who knows how to export an mp3 from a video?
    Thanks
    simon

  • How to setup Forms 9i runtime environment?

    How to setup Forms 9i runtime environment?
    I developed a test form and I am getting "Page cannot be displayed" error when I run the form.
    Steps I followed to run the form...
    1. Started OC4J Instance
    < Dos Window opened and contained data " Oracle 9iAS (9.0.2.0.0) containers for J2EE initialized >
    2. I Run my test form.
    < In the IE browser got "Page cannot be displayed" error.
    In DOS Window I got the following message ...
    FormsServlet init():
    ConfigFileName: null
    testMode false >
    Do I need to setup something else???
    Please advise.

    My guess then would be that the problem is that you get:
    ConfigFileName: null in the OC4J log window. This should actually point to a config file for the Forms server : formsweb.cfg.
    Are you running the OC4J that came with Oracle9iDS?
    What happens if you try the following URL:
    http://127.0.0.1:8888/forms90/f90servlet
    I don't know why it is not configured for you. might be worth a reinstall.

  • How to setup three SharePoint sites on one server?

    Hello,
    How to setup three SharePoint sites on one server?  I have three sites like:
    http://site1
    http://site2
    http://site3
    And need to have them running up on one server. I recall some changes need to be done to the host file, but not sure.  Can you advise on what to change?
    Thanks,
    Paul
    Paul

    you need to make entries in DNS to get this done.
    check here:http://spshare.blogspot.com/2012/05/how-to-create-host-header-web.html
    nice blog with step by step explanation:
    http://thuansoldier.net/?p=1323
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • How to setup multiple base station under one network?

    How to setup multiple base station under one network? I have 6 rooms but one airport base station makes really difficult to get good signal from every rooms. I wonder if I can setup multiple airport base stations talking to each other under the same network to build up the signal strength will help solve this problem. But, is it possible? How?

    One route would be to utilize a "roaming" network. In a roaming network, you would connect multiple AirPort Extreme Base Stations (AEBS) to the same Ethernet. Of course, this would require that your home is already wired for Ethernet.

  • How to Setup SSL on Oracle Application Server 10g Release 2 (10.1..2)

    Hi All,
    Can anybody tell me How to setup the SSL on Oracle Application Server 10g Release 2 (10.1.2).
    I have all the required documents like
    1. Oracle Application Server Portal Server Configuration Guide.
    2. Oracle Application Server Web Cache Configuration Guide.
    3. Oracle Application Server SSO Administration Guide.
    I tried to follow all this documents but still i am not able to set SSL for Oracle Portal Server.

    The Portal Configuration Guide, available on OTN at http://www.oracle.com/technology/documentation/appserver1012.html does provide some very specific information on how to set up OracleAS Portal.
    Section 6.3.2.1 Configuring SSL for OracleAS Portal describes various configurations, such as:
    SSL to OracleAS Single Sign-On
    SSL to OracleAS Web Cache
    SSL Throughout OracleAS Portal
    External SSL with Non-SSL Within Oracle Application Server
    For larger enterprise configurations, you can refer to the Enterprise Deployment Guide.
    Can you give a bit more background on what you are trying to set up? Which scenario, what sort of hardware, software versions, and so on.
    Regards,
    Pete

  • How can I use EJB component on Weblogic 8.1 server ?

    hi,dear sir:
    How can I use EJB component on Weblogic 8.1 server ?
    It need client jar to invoke ejb,but what will I to do for this jar file? what does it contain? format ?
    If my EJB module contain 100 session bean and 50 Entity bean,but I want invoke 20 session beans in my module, how can I to do?
    thank you...

    Hi,
    This forum is exclusively for Creator. please post this on appropriate forum
    regards
    CreatorTeam

  • How to call one EJB in another EJB?

    How to call one EJB in another EJB? Please explain with some example code.

    To refer a Ejb from another Ejb include <ejb-ref> element in ejb-jar.xml
    <session>
    <ejb-name>EjbA</ejb-name>
    <ejb-ref>
    <ejb-ref-name>EjbB</ejb-ref-name>
    <ejb-ref-type>Entity</ejb-ref-type>
    <home>com.ejb.EjbBHome</home>
    <remote>com.ejb.EjbB</remote>
    </ejb-ref>
    </session>
    Include a <reference-descriptor> in weblogic-ejb-jar.xml
    <weblogic-enterprise-bean>
    <ejb-name>EjbA</ejb-name>
    <reference-descriptor>
    <ejb-reference-description>
    <ejb-ref-name>EjbB</ejb-ref-name>
    <jndi-name>com.ejb.EjbBHome</jndi-name>
    </ejb-reference-description>
    </reference-descriptor>
    </weblogic-enterprise-bean>
    In EjbA Bean class refer to EjbB with
    a remote reference to EjbB.
    InitialContext initialContext=new InitialContext();
    EjbBHome EjbBHome=(EjbBHome)
    initialContext.lookup("com.ejb.EjbBHome");
    EjbB ejbB=EjbBHome.findByPrimaryKey(primarykey);

  • How to setup a static IP for a wireless printer

    This problem has been ongoing for several versions of OS X and the last five printers I've had and I'm finally over messing with it.  For some reson, when using a wireless printer with OS X this is a repetetive problem, and I think if I configured the printer to a static IP address instead of using DHCP, it might work better.  At least once a week, if not more often, I'll print something and get the ubiquitous Dock error of "Printer is not connected".  The printer is still in Preferences, but if I delete it, then it doesn't show up as it should for selection.
    The only way to fix this is reboot, and then the printer shows up again in Preferences.  I select it and all is well again...until a few days pass and the same thing happens again.  Using an HP LaserJet P1102w, still a current model, but it doesn't matter which printer I use.  I also have an Epson Artisan 725 and the same thing happens with it about once a week.  Also, this happens from both my Mac and my wife's Mac, so it's not an issue with just my machine.
    I've searched for documentation on how to setup a static IP address for a wireless printer with the Airport Extreme, but all I find are tutorials on how to do it with an ethernet hard-wired printer.  Any help would be greatly appreciated.

    You could set up your router to do manual assignment of IP address instead of using DHCP, but that is a PITA, because then you'd have to manually set up IP for all your devices.
    If you have AirPOrt Extreme, you could do this:
    In your Apple TV, go to the Settings >> About and write down the MAC address of your ATV
    Start up the AiPort Admin Utility
    Go to Network tab
    click + in the DHCP reservations
    Choose an IP you want for your ATV & Enter the MAC address
    From now on, this IP address will be reserved to the MAC address and only your ATV will be able to get it, no other device will.
    It is not a static IP in a true sense, but behaves just like one.
    Works great for me...
    If you don't have a AP Extreme, I'm sure other routers will allow you do reservations too.

  • How to run the ejb project in j2ee server

    How to run the EJB project.
    I give like
    java conveterClient converterClient.jar
    here conveterClient is class file name and converterClient.jar is deployed file
    like wise i give some exception is come
    give some help pls friends

    Navigate to the "DBOrders" module in the catalog, right click on the "ORDERS" database below and click "Export Schema Stucture". That will produce a file containing the DML needed to create the database

  • How to setup Charms in a 2 tier landscape ?

    Hi All,
    We have a two tier landscape i.e only having development and production system so how to setup STMS and all other settings in this type of scenario.
    Can we use Virtual system in STMS as a Quality system ? If yes then please guide us and tell me how to proceed as if we dont know how to add virtual system in SMSY in solman. Please provide us with a clear picture and give us detail documentation if possible.

    Hi All,
    Please tell me as per the SAP standard recommendation is it necessary to have a cycle like DEV->QUAL-PROD for Charms as we are not having any Quality system or Client here in our landscape.
    Please suggest a way how to proceed in this case. Please help me out.

  • How to setup breakpoints in a vector space?

    Hi,
    How to setup breakpoints in a 2D vector space in NI 7344 and check for them using flex_read_breakpoint_status_rtn?
    Thanks.

    Hi,
    Is Office Communicator something to do with the Word, Exel and Powerpoint Office Package ?
    What sort of Screen Names or IDs do you use with that ?
    If these are MSN/Live accounts names then it can be made to work for Text Chats but not Video or Audio Only chats
    10:38 PM      Friday; April 20, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • How to setup iChat in a office

    How to setup iChat in a office that using Office Communicator as a IM ?

    Hi,
    Is Office Communicator something to do with the Word, Exel and Powerpoint Office Package ?
    What sort of Screen Names or IDs do you use with that ?
    If these are MSN/Live accounts names then it can be made to work for Text Chats but not Video or Audio Only chats
    10:38 PM      Friday; April 20, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • How to Setup Historical DSC Database on a standalone Server

    Hey @all,
    I am looking for documentation how to setup a standalone server for the DSC Module(Ver. 8) Historical Database.
    My aim is to log all data to this server. The Server will be running Win2K.
    Do I have to install the complete Labview 8 software and the DSC Module?
    Does a walkthrough exist how to setup a DSC server?
    Thx!
    Carsten  

    After installing the runtime you should only have to reboot the computer in order to get the citadel service running.  At the point, for citadel purposes, this machine will behave as though you had the DSC development system installed.  The 8.0 runtime has no setup requirements...it should only need to be installed.  Unlike previous versions, 8.0 requires you to build your application into an executable and the runtime should be invisible to you once you install it.  If this is not the case, please post about it so it can be looked at.
    If you have specific questions, please post them and I will either try and help you find the answers, get them posted, or answer them myself.
    Regards,
    Robert

Maybe you are looking for

  • How do i access multiple accounts on one computer

    I have several apple devices in my home and i can't seem to see the different purchases when i plug in the different devices.  I have itunes installed on my computer, do i have to sign in each time with the apple id of each user to see their purchase

  • Cannot open embedded Adobe PDF files in Safari 5.1

    I am disgusted to find that Apple has removed Safari's ability to open embedded PDF files in Safari 5.1. This is a huge mistake by Apple, and the only work around from Adobe was to use a different browser. Get on the ball, Apple!!! Fix your MISTAKES!

  • If You Can Solve This One, Then You Seriously Win

    Here's the deal. I have a 3G 15gig iPod that I refuse to let die. It has a new battery that I recently installed. It will not charge through firewire to the wall or to my macbook pro, nor will it charge through usb (which goes without saying on 3G's)

  • APEX reports User elapsed / think time per page

    Could smb explaing me what is the difference between "elapsed time" and "think time" in reports at Home>Application Builder>Application XX>Application Reports>Activity>Page Views By View is it time user spent on page vs. time it took to render the pa

  • CFChart

    I was wondering is there a way to show chart point values so that the values always show instead of just on mouseover? Right now I'm using cfchart and having it render as a Flash movie.  Here's my code below. <cfchart    format="flash"    scalefrom="