EJB problem with home interface

Hi firends
I am beginner to EJB world, and trying first EJB object i.e. Hello World program
I prepared first Remote interface, HelloBean and it compiled also properly.
names of program
Remote interface : Hello
Bean: HelloBean
Home interface : HelloHome
But after preparing Home interface it fails to compile at position of create()
the declaration is
public Hello create() throws RemoteException,CreateException
compilation error pointing at Hello in above statement saying 'Cannot resolve symbol'
The fact is all these files are located in same directory only
can anyone help me in this problem as I am eger to execute my first program and want to go further in EJB
thanx in advance
Mandar

Hi Mandar,
How are you setting the classpath and what exactly is it set to?
Unresolved symbol can only mean that the class cannot be found in the classpath. If two files are in the same directory and one has a dependency on the other then adding '.' to the classpath is all that is needed. Questions to ask yourself. Are the files in the same directory? does either include a 'package' statement? and are you absolutely certain that the classpath is set correctly (type 'set' at the command line)? Also if you have set the CLASSPATH variable, using -classpath with the javac command will override the variable.
Check everything above and if you still have problems maybe we can get some more details if you can post the entire error message.
Mandy

Similar Messages

  • Problems with home button on iPhone 4

    problems with home button on iphone 4

    If its due to sensitivity issues, these self help guides might help.
    http://www.youtube.com/watch?v=zNwr_mxgs9Q
    http://www.youtube.com/watch?v=lSqPC1V0PPg&feature=related
    By the way, alcohol based hand sanitisers work too.
    Don't overapply it in one go though. You'll have to allow the alcohol to evaporate.
    One final tip, after its dried, I'd recommend you to leave your iPhone's home button facing a laptop's vent just to bake it a little drier.

  • SB Xtreme Audio Notebook optical out problem with Home TheaterSystem-HELP!

    JSB Xtreme Audio Notebook optical out problem with Home TheaterSystem-HELP!, I have this sound card connected?(optical OUT) ?to my home?theater system's digital IN ?through the recommended /8in. optical miniplug-to-optical SPDIF cable. Theater system is set correctly to Digital-In mode. I have no sound!
    The cable is a Velocity Toslink-to-Optical Mini Plug digital cable. I don't see any settings in the Creative Console Launcher. The notebook is a Dell XPS M730 (Vista 32).
    I have a PS3, DirecTV, and the SB Xtreme Audio Notebook cable on a hub switch that connects to the system's?one Optical IN. The PS3 and DirecTV sound perfect!
    The sound card works fine with standard PC speakers. I'm at a loss as?to what to try next. I set this whole system up myself, so I'm pretty good at working out the kinks, except this one!
    Karen

    OK. I just went to Control Panel - Sound - Playback - Digital Output Device (SB Xtreme Audio Notebook) - Properties - Advanced. I experimented with different sample rates and bit depths. Clicked the test button and lo and behold - sound from the HTS! I've tried iTunes, PowerDVD (configured to digital output) and YouTube - no sound! Am I missing something really obvious?
    HA! Just backed out to Playback and selected Digital Output Device (SPDIF) and set as Default. Sound is emunating from HTS! Well, that mystery is solved! Who knew.
    Thanks anyway! Any comments or advice will still be appreciated.

  • Problem with mac interface

    Hi !
    I just installed Dreamweaver CS4 on my new Macbook Pro. I used to use Dreamweaver CS4 on Windows. But, I have a problem with the interface on my macbook : when dreamweaver is running, I can see my desktop : there is no background like in a MDI application (on windows). To illustrate my problem, I took two screenshots :
    on mac :
    and on windows :
    So, I would like to know how to have the same interface with Mac OS X than with Windows.
    Thanx for your help and sorry for my english but i'm french.

    Click the green zoom (+) button in the top-left corner of the window to switch between a larger and smaller window size.
    Depending on the active application it either fills the entire screen or zooms to the size of the last largest size of the window that you set yourself by dragging bottom righthand corner to desired size.
    Photoshop has various ways to hide the Desktop. Either by using the Application frame (which doesn't neccessarily hide the entire Desktop) or by pressing the key F. Wanted by PC users but usually not by Mac users. (I would personaly never use it as it obscures the Desktop so you cannot easily reach other applications and documents by just clicking them to call them into the front and get active).
    DW doesn't have an application frame but it is easy enough to fill the entire screen with the active window, particularly if you open up a few panels and dock them to each other and use Split screen view with code on one size and design on the other, then place various bars at top and bottom. When you have organized it to your liking, save it as a Workspace (Window/Workspace Layout/New Workspace) and you have it handy for future use.
    Learn how to use the windows and workspaces in an efficient way and one of these days you might get used to it...

  • I have some problem with home sharing

    I have some problem with home sharing. I have iPad, iPhone, MacMini, MacBook and Apple Tv. Five items. I can't add other items to home sharing, like iPhones and pc of my sons, and my wife's pc. More than home (Family) sharing it becomes Single sharing. Is there any solution?

    Post in the iPhoto forums.

  • Problem with home wifi and nokia n8

    I have a problem with home wifi and nokia n8.
    The problem is that seamlessly connects to wifi but 2 or 3 mb download is blocked and I have to reset router.
    I have other devices like nokia n86 and other phones that connect well and do not give this problem.
    Could anyone help me?
    Thanks

    i have a similar problem. it connects prefectly to  wlan but after sometime the connection goes and i have to disconnect and reconnect cause ovi music or maps or opera says internet not connected. Can someone help me out here?

  • Problem with local interface

    Hi all,
    I have a problem with the local interface,
    after I change the Home and Local interface I get a message when compiling saying that the bean has to implement the inherited abstract method javax.ejb.EJBLocalObject.isIdentical (EJBLOcalObject) and the mothd isPrimaryKey()...why is that, do I need to implement these methods?
    Thanks,
    A.

    solved, wrong code

  • Problem with Local Interfaces (WSAD 5)

    I built an Entity Bean with Local Interface and a Remote Interface (apperently they both have the same JNDI name in WSAD)
    and when I look up for the name from other Session Bean (same EJB group) and I try to cast it to the local interface there is a classCastException.............
    HELP ME

    Nidhi
    I had the same problems as you that went away. If you have both remote and local interfaces defined, and your remote inerface can be accessed via JNDI lookup using (say) "ejb/sessionbean/stateless/HelloHome", then you can access the local intercafe using "local:ejb/ejb/sessionbean/stateless/HelloHome".
    The URL http://localhost:9080/UTC/initialize?port=2809 is very useful to browse the JNDI tree. Just expand "Local EJB beans" and position your mouse over the item of interest. The JNDI lookup name will echo in the bottom (solid) frame of the browser. The only problem is that the jndilookup name will appear (mistakenly) as local:/ejb/ejb/stateless......, just get rid of the first forward-slash to make it look like local:ejb/ejb/stateless....
    Hope this helps
    Somnath

  • Problem with home button and "messages" app after upgrade to iOS 4.1

    Hello,
    I have noticed two interesting problems with my iPhone 4. I am not sure if it is in conjunction with the upgrade to the iOS 4.1 software, but I did not notice the problem prior to this. Both of these problems are very odd and are hit or miss. I have tried restoring and the problem is still present. Also, since both problems have presented at the same time, that is why I am starting to believe it is not hardware...
    Problem 1: The home button has become considerably unresponsive. This is not all the time, but it does happen a lot. Sometimes it won't work for about 5-8 clicks and I have to use the power button to access the phone.
    Problem 2: When composing a new text message the cursor would always default into the "To:" section of the app which allows you to easily type what contact you are trying to message. However, I am having the issue now occasionally when I am in the messages app and select to compose a new text message that the cursor now defaults into the chat box (where you type your actual message). This is very annoying and I know that this is not the intended behavior of this.
    Please let me know if anyone has experienced similar issues and can provide me with some feedback.

    I have not experienced the same.
    I have tried restoring and the problem is still present.
    You restored from your iPhone's backup, or as a new iPhone or not from your iPhone's backup?
    If whatever software problem is causing this is included with your iPhone's backup, restoring from the backup will also restore the problem.
    Try restoring as a new iPhone or not from your iPhone's backup to see if this makes any difference. If not, more than likely your iPhone has a hardware problem.

  • Loading EJB problem with deployejb !

    I am working with Oracle 8.1.5 and jdk 1.1.6,
    when I am running the deployejb tool with the HelloWorld example of the demo directory, I have a problem when loadind EJB files into the database:
    deployejb -v -u workuser ...
    done
    Compiling Stubs...done
    Generating Jar File...done
    Loading EJB Jar file adn Comm Stubs Jar file...loading: helloServer/HelloBean
    ORA-01552: cannot use system rollback segment for non-system tablespace USERS
    SQL Error in loading : helloServer/HelloBean
    ORA-06502: PL/SQL : numeric or value error
    ORA-06512: at "SYS.DBMS_LOB", line 700
    ORA-06512: at "WORKUSER.LOADLOBS", line 1
    ORA-06512: at line 1
    ... [same problem with all objects]
    Can you HELP me ?

    Hard to say, looks like a database configuration problem. Check with your DBA...
    Matthieu

  • Massive problem with audio interface

    Hi there.
    I recently bought a brandnew iMac 27" Haswell i7. I encountered problems with my Focusrite Scarlett 18i8 audio interface. These are buzzing, clicking and noise immediately or after 3 minutes or so. I tried everything, re-installed the driveres several times, nothing, really nothing worked.
    Then I bought an RME Babyface audio interface - and guess what? It's the same problem. I also have a massive sound noise after some minutes or the recording channel in Garage Band drops completely.
    What is wrong here? I already tried using a different power plug, tried all USB ports, turned off WiFi, HDD sleep mode, etc. Nothing worked.
    Do you have an idea?
    I appeciate your help,
    Adrian.

    same problem with my imac late 2012 27" 3.2ghz i5 and the motu ultrilite. up to now i have no solution for this problem. the worst i can't use them never before. since from the first day. i attempt  everything. from re-install to fresh install. resetting the nvram and pram. formatting the hd and make a fresh install from the operating system. using balanced audio cables and so on...but same problem all time. even my technological knowledge and know how which i have as electrical engineer couldn't help me. first i was lucky to have apple care in those situations. after get back the imac from the service provider i sadly decide nothing has changed. and they would told me it runs all fine. in meantime i testing my ni audio dj8 over usb. it's similar with the ultralite because the buzzing, clicking and noise is not so extrem as it is on ultralite. but it's here.
    the curios with my macbook pro and my old imac early 2008 it runs and works fine without problems. for next week i have fixed a new date by the service provider. but then with my intercace, monitors to simulate this error and i hope they find the reason. perhaps i can tell you some news or solutions next week. i'm relly curious about it.

  • Problem with an Interface....

    We have configured, and reconfigured and inteface on one of our Solaris 9, Netra 240 servers. We are having problems with bge0. It does not want to come to the state of RUNNING. ifconfig shows us:
    bge0: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 2
    We have done things like unplumb, plumb ifconfig down, up, etc....

    The manual page says:
    RUNNING: ... for some interfaces this flag shows that the link is up.
    So maybe it is a problem with the cable or the hub/switch you use.
    Martin

  • Problems with home hub 2

    Since Xmas we have experienced problems with our home hub 2. We introduced 2 new mobiles onto the hub and since then have been having real problems with the connection. My blackberry and ipad will no longer connect to the hub, one of the samsung galaxy s3 has interrupted service.
    We have a total of 6 devices connected to the hub plus bt vision ! Is this the cause of the problem.
    Even when nothing else is connected to the hub the ipad still won't connect although I get a signal and connection through BTFON .
    I tried doing a speed test using the link provided by another forum member but got only upload nod download rates which didn't bare any resemblance to those posted and mean nothing to me.
    The hub is well over 2 years old so wondering if its time to renew.
    I'm not a techi so really need an idiots guide of how to rule out other options. Please help I'm tearing my hair out!

    Have you tried a factory reset of the home hub, by pressing in the recessed button?
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • Firewire problems with audio interface

    Hi, I have a problem with the firewire connection of my Power Mac G4: I have a Tascam FW-1884 audio interface and when I turn it on, the firewire led (that should be always turned on for the correct working of the machine) after a pair of seconds turns off and doesn't work at all..
    Here's what my system console says if helps..
    ===== Thu Jan 12 2006 ===== 09:44:12 Europe/Rome =====
    Jan 12 09:44:20 localhost kernel: TASCAM FW1884 Audio Device: init (1 of 1)
    Jan 12 09:44:20 localhost kernel: TASCAM FW1884 Audio Device: start 1.2.1 (instances 1)
    Jan 12 09:44:21 localhost kernel: TASCAM FW1884 Audio Device: message 0xE00087D2 for 0x12060000
    Jan 12 09:44:23 localhost kernel: TASCAM FW1884 Audio Device: HandleWatchdogTimer: prefs daemon relaunched
    Jan 12 09:44:24 localhost kernel: TASCAM FW1884 Audio Device: newUserClient
    Jan 12 09:44:24 localhost kernel: TASCAM User Client: start
    Jan 12 09:44:24 localhost kernel: TASCAM User Client: clientMemoryForType
    Jan 12 09:44:29 localhost kernel: TASCAM FW1884 Audio Device: High speed bus detected
    Jan 12 09:44:29 localhost kernel: TASCAM FW1884 Audio Device: FinishStartup: FW884MacXDevice (216812)
    Jan 12 09:44:29 localhost kernel: TASCAM FW1884 Audio Device: FW1884DeviceHandlePlugIn
    Jan 12 09:44:29 localhost kernel: TASCAM FW1884 Audio Device: Driver Register Version 0x00000014
    Jan 12 09:44:29 localhost kernel: TASCAM FW1884 Audio Device: FW1884REGISTERVERSION 0x00000014
    Jan 12 09:44:29 localhost kernel: TASCAM FW1884 Audio Device: FW1884FPGAVERSION 0x00010031
    Jan 12 09:44:29 localhost kernel: TASCAM FW1884 Audio Device: FW1884ARMVERSION 0x000100B7
    Jan 12 09:44:29 localhost kernel: TASCAM FW1884 Audio Device: FW1884HARDWAREVERSION 0x00030000
    Jan 12 09:44:29 localhost kernel: TASCAM FW1884 Audio Device: FW1884HARDWARESERIAL 0x00000000
    Jan 12 09:44:29 localhost kernel: TASCAM FW1884 Audio Device: FW1884GUIDMSB 0x00022EFF
    Jan 12 09:44:29 localhost kernel: TASCAM FW1884 Audio Device: FW1884GUIDLSB 0xFE800000
    Jan 12 09:44:29 localhost kernel: TASCAM FW1884 Audio Device: FW1884DeviceHandlePlugIn mRegBaseAddress 0x00000000
    Jan 12 09:44:29 localhost kernel: TASCAM FW1884 Audio Device: FW1884DeviceHandlePlugIn mNodeNum 0x00000000
    Jan 12 09:44:29 localhost kernel: TASCAM FW1884 Audio Device: FW1884DeviceHandlePlugIn mGenerationNumber 0x0000000E
    Jan 12 09:44:29 localhost kernel: TASCAM FW1884 Audio Device: FW1884DeviceHandlePlugIn mlocalNodeNum 0x00000001
    Jan 12 09:44:29 localhost kernel: TASCAM FW1884 Audio Device: FW1884DeviceHandlePlugIn mMIDIReceiveHi 0x00000002
    Jan 12 09:44:29 localhost kernel: TASCAM FW1884 Audio Device: FW1884DeviceHandlePlugIn mMIDIReceiveLo 0x00000000
    Jan 12 09:44:29 localhost kernel: TASCAM FW1884 Audio Device: initHardware
    Jan 12 09:44:29 localhost kernel: TASCAM FW1884 Audio Device: createAudioEngine
    Jan 12 09:44:29 localhost kernel: TASCAM Audio Engine: init (1)
    Jan 12 09:44:29 localhost kernel: TASCAM Audio Engine: start (3)
    Jan 12 09:44:29 localhost kernel: TASCAM Audio Engine: initHardware (3)
    Jan 12 09:44:29 localhost kernel: TASCAM Audio Engine: performFormatChange
    Jan 12 09:44:29 localhost kernel: TASCAM Audio Engine: performFormatChange
    Jan 12 09:44:29 localhost kernel: TASCAM FW1884 Audio Device: New RECORD_ISOCHANNEL 0x00000001
    Jan 12 09:44:29 localhost kernel: TASCAM FW1884 Audio Device: New RECORD_ISOSPEED 0x00000002
    Jan 12 09:44:29 localhost kernel: TASCAM FW1884 Audio Device: New PLAYBACK_ISOCHANNEL 0x00000002
    Jan 12 09:44:29 localhost kernel: TASCAM FW1884 Audio Device: DoStartAudioTransfers w/resync
    Jan 12 09:44:30 localhost kernel: TASCAM FW1884 Audio Device: Input stream stopped (B)
    Jan 12 09:44:30 localhost kernel: TASCAM FW1884 Audio Device: * Failed WriteRegisterLong 0xE00002D6
    Jan 12 09:44:30 localhost kernel: TASCAM FW1884 Audio Device: at 0x00000200
    Jan 12 09:44:31 localhost kernel: TASCAM FW1884 Audio Device: * Failed ReadRegisterLong 0xE00002D6
    Jan 12 09:44:31 localhost kernel: TASCAM FW1884 Audio Device: at 0x00000200
    Jan 12 09:44:31 localhost kernel: TASCAM FW1884 Audio Device: New RECORD_ISOCHANNEL 0x00000000
    Jan 12 09:44:31 localhost kernel: TASCAM FW1884 Audio Device: * Failed WriteRegisterLong 0xE00002D6
    Jan 12 09:44:31 localhost kernel: TASCAM FW1884 Audio Device: at 0x00000204
    Jan 12 09:44:32 localhost kernel: TASCAM FW1884 Audio Device: * Failed ReadRegisterLong 0xE00002D6
    Jan 12 09:44:32 localhost kernel: TASCAM FW1884 Audio Device: at 0x00000204
    Jan 12 09:44:32 localhost kernel: TASCAM FW1884 Audio Device: New RECORD_ISOSPEED 0x00000000
    Jan 12 09:44:32 localhost kernel: TASCAM FW1884 Audio Device: * Failed WriteRegisterLong 0xE00002D6
    Jan 12 09:44:32 localhost kernel: TASCAM FW1884 Audio Device: at 0x0000020C
    Jan 12 09:44:33 localhost kernel: TASCAM FW1884 Audio Device: * Failed ReadRegisterLong 0xE00002D6
    Jan 12 09:44:33 localhost kernel: TASCAM FW1884 Audio Device: at 0x0000020C
    Jan 12 09:44:33 localhost kernel: TASCAM FW1884 Audio Device: New PLAYBACK_ISOCHANNEL 0x00000000
    Jan 12 09:44:33 localhost kernel: TASCAM FW1884 Audio Device: * Failed WriteRegisterLong 0xE00002D6
    Jan 12 09:44:33 localhost kernel: TASCAM FW1884 Audio Device: at 0x0000022C
    Jan 12 09:44:34 localhost kernel: TASCAM FW1884 Audio Device: * Failed WriteRegisterLong 0xE00002D6
    Jan 12 09:44:34 localhost kernel: TASCAM FW1884 Audio Device: at 0x00000214
    Jan 12 09:44:34 localhost kernel: TASCAM FW1884 Audio Device: * Failed WriteRegisterLong 0xE00002D6
    Jan 12 09:44:34 localhost kernel: TASCAM FW1884 Audio Device: at 0x00000218
    Jan 12 09:44:35 localhost kernel: TASCAM FW1884 Audio Device: * Failed WriteRegisterLong 0xE00002D6
    Jan 12 09:44:35 localhost kernel: TASCAM FW1884 Audio Device: at 0x0000021C
    Jan 12 09:44:35 localhost kernel: TASCAM FW1884 Audio Device: * Failed WriteRegisterLong 0xE00002D6
    Jan 12 09:44:35 localhost kernel: TASCAM FW1884 Audio Device: at 0x00000228
    I've tried running the same interface on my i-book (with the same drivers installed on the powermac) and all was good..
    Anyone can help me?
    Thanks =)
    power mac G4 quicksilver 800Mhz   Mac OS X (10.3.9)   i-book G4 1,25Ghz
    power mac G4 quicksilver 800Mhz   Mac OS X (10.3.9)   i-book G4 1,25Ghz
    power mac G4 quicksilver 800Mhz   Mac OS X (10.3.9)   i-book G4 1,25Ghz
    power mac G4 quicksilver 800Mhz   Mac OS X (10.3.9)   i-book G4 1,25Ghz
    power mac G4 quicksilver 800Mhz   Mac OS X (10.3.9)   i-book G4 1,25Ghz

    On both computers I have only one account, the fw cable is always the same..
    I have purchased a new cable and I'm testing it..
    Another thing to say is that the fw port number 2 is generally working better than 1.. I mean, while port 1 never loads my tascam (the computer firewire connection is always loaded succesfully on both ports) port 2 sometimes works.. well this can't be called stability at all =)
    Sometimes reastarting computer, unplugging cables etc can help starting succesfully a new session.. I've already resetted PMU but no progress..
    All these things don't last longer than one session..

  • Problems with the Interface

     Hi,have somebody the same Problem with the Login interface before, that I can't type my Username and code, however I click in those typing-blocks it won't allow me to type in... Thanks

    What version of Windows are you on (XP, Vista, Windows 7, Windows 8 )? Is it 32-bit or 64-bit? http://support.microsoft.com/kb/827218 What is the version of Internet Explorer installed on your computer? In Internet Explorer go to Help -> About Internet Explorer. P.S. Please, don’t say that you are not using Internet Explorer. This is irrelevant. Skype depends on Internet Explorer.

Maybe you are looking for

  • How can I change the media info from Concert Film to Music Video in ITunes 11.01.12

    I purchased a concert film a while back from the ITunes store, and in previous versions of ITunes, I had been able to change the media info from concert film to music video so I could watch it in my library (and any devices) without losing any of my

  • Printing multi pages in Illustrator

    Hi, Is it Possable to creat a Script that will print multiple pages from illustator but it ask you what Paper size you want e.g. A4 or A3 i know it is possible to make one and it ask how many pages you want. but i unfortunatly can't make it change pa

  • Give me MBA with upgraded processor!

    Pardon the little rant but I just checked out the new lineup of mbp and mba. Yes, I'm aware of all its good qualities but the air seems sluggish for running anything but the least demanding applications. Will I be able to transfer 20mb photos and hig

  • Speaker with a phone

    My mothers iphone can't hear a person in a call unless it's on speaker phone. How do I fix it to where she doesn't always have to be on speaker phone?

  • HT201317 can't get pc photos to appear in photostream

    I'm trying to transfer photos from my PC to iPhoto in the cloud so that I can use them for new Keynote presentations.  How do I get them to transfer / upload.  No luck so far per the instructions.  Thanks!