ADF – Could I have HttpSession and EJB 3 Statefull session in same applicat

I am using JDeveloper 10.3.2. Fist I create a single demo application to create EJB Session Bean (Statefull) and is working fine.
When I am trying to use the same EJB to my large Application a got runtime Error,
Without any exception. (Losing the information of EJB).
And the Question is, Shall I use HttpSession and EJB 3 Statefull session in same application?

Hi,
if it is a Web application you need the https session anyway and the two are different kind of beasts, one handled by teh EJB container, the other by the web container.
The question is why you ned stateful session beans - which seems to be a rare usecase? Usually state is persisted and tracked in the business service.
However, without an error message its hard to tell what going wrong here
Frank

Similar Messages

  • Using Adobe 11 reader, now comes up with an error, once file is opened. 'Invalid plugin detected, Adobe reader will quit. Closes the program so cannot view PDF files. Running windows 7. I have uninstalled and re-installed Adobe still the same. HELP

    Using Adobe 11 reader, now comes up with an error, once file is opened. 'Invalid plugin detected, Adobe reader will quit. Closes the program so cannot view PDF files. Running windows 7. I have uninstalled and re-installed Adobe still the same. HELP

    Sounds like something has been added into the Reader folder. I would recommend uninstalling, running http://labs.adobe.com/downloads/acrobatcleaner.html, removing any left over parts of the Reader folder (this might have been the problem), reboot, and reinstall. Hopefully that solves the problem. For future question about Reader, you should consider asking in the Reader forum, this is not it.

  • I have upgraded to Yosemite and tried to launch iPhoto.  It wants to upgrade my library but gets stuck half way through the upgrade.  I have quit and tried again several times but same result.  Can anyone help?

    I successfully upgraded to Yosemite and tried to launch iPhoto.  It wants to upgrade my photo library but gets stuck half way through.  I have quit and tried several times but same result.  Can anyone help?

    download iPhoto Library Manager - http://www.fatcatsoftware.com/iplm/ -  and use the free trial's rebuild command to create a totally new library leaving the existing one untouched for use as needed in the future
    LN

  • Adf faces command button, bindings and ejb 3.0 persisting problem

    When mapping the persist method to an adf command button it got this error:
    1. JBO-29000: java.lang.IllegalArgumentException: PERSIST impossible sur l'objet détaché : hr.entity.Departments@1b21.; nested exception is: java.lang.IllegalArgumentException: PERSIST impossible sur l'objet détaché : hr.entity.Departments@1b21. -
    2. java.lang.IllegalArgumentException: PERSIST impossible sur l'objet détaché : hr.entity.Departments@1b21.; nested exception is: java.lang.IllegalArgumentException: PERSIST impossible sur l'objet détaché : hr.entity.Departments@1b21. -
    Is that because Departments are serialized by the container when the session bean is accessed by the data control to catch the data when the form is populating and entities are detached from the persisting context ? or something else ?
    I bind the button to the current row data provider for the departments. Is it correct, isn't ?

    When mapping the persist method to an adf command button it got this error:
    1. JBO-29000: java.lang.IllegalArgumentException: PERSIST impossible sur l'objet détaché : hr.entity.Departments@1b21.; nested exception is: java.lang.IllegalArgumentException: PERSIST impossible sur l'objet détaché : hr.entity.Departments@1b21. -
    2. java.lang.IllegalArgumentException: PERSIST impossible sur l'objet détaché : hr.entity.Departments@1b21.; nested exception is: java.lang.IllegalArgumentException: PERSIST impossible sur l'objet détaché : hr.entity.Departments@1b21. -
    Is that because Departments are serialized by the container when the session bean is accessed by the data control to catch the data when the form is populating and entities are detached from the persisting context ? or something else ?
    I bind the button to the current row data provider for the departments. Is it correct, isn't ?

  • Have itunes and nano, can i put the same library on new ipod touch

    hi. do i just hook up the new ipod touch and sync whatever i want from the itunes library that i already had and been using with the ipod nano, which will still be used also.

    sure. I have 12 ipods in the house and sync them on one PC. (most all of them are synced to the same library)
    Message was edited by: David.

  • HT4352 problem sharing iTunes with new Apple TV.(model MD199LL/A. I have iTunes and Apple TV set up with same address and passwords, enabled iTunes and Apple TV for home sharing and still nothing? I have latest iTunes and Apple TV update. Any other sugges

    Have a problem with Home Sharing with Apple TV and iTunes. Have latest iTunes and Apple TV downloads. Have both items set up for home sharing with same address and passwords. AppleTV running fine for everything else. FYI, my library is about 60gigs. AppleTV model is MD199LL/A if that matters. Really want to hear my entire music library and not just Purchased items. Thanks for any help!!!

    I have an older PC with Windows XP Professional on it. I updated to the latest iTunes and I am able to access the photos, etc. on it. However, my Windows 7 PC still does work (since last Apple TV update). Apple TV does not recognize that Home Sharing is turned here. The latter PC has all my current photos on it which I would like share with others on my Apple TV. A fix would be appreciated.

  • Okay to have Ethernet and Wi-Fi running at the same time ?

    Hi,
    I've always been careful to turn off Airport before I switch to Ethernet.
    I was just wondering if it is okay to have both options running at the same ime and what consequences it may have.
    Thank you for reading this

    Coitus Interruptus wrote:
    +"Will the Mac use part of both simultaneously?"+the Internet and E-Mail.
    Hi,
    every IP based connection has a gateway that tells a device where to send packages that belong to the subnet the connection is in.
    Then there is a (one, and only one!) default gateway that tells the device where to send all packages that belong to no subnet of any connection. On OSX this is normally bound to the primary network device (the one that is on first place in the network configuration).
    So there is no problem having more than one network connection open. In your case, though, the WiFi connection would probably be in the same subnet as the wired connection. This doesn't pose a problem per se, but just is a bit senseless. It doesn't have an impact on networking, though.
    My sister suggested it. She knows Latin. It means "handsome boy", doesn't it ?
    In what reality?
    C.

  • Don't get my PC authorized - error message: Activation server error: E_ADEPT_REQUEST_EXPIRED. I have uninstalled and re-installed Adobe Digital Edition - same problem

    Yesterday I have down loaded Adobe Digital Edition in order to read an ebook I have purchased. When I want to authorize my PC it gives me an error message: E_ADEPT_REQUEST_EXPIRED. I have un-installed Adobe Digital Edition and re-installed, but the problem stays the same.What ells is there I can do to get this problem resolved?

    Go through this link:
    Error: E_ADEPT_REQUEST_EXPIRED | Digital Editions
    Thanks!

  • Can you have Firefox and IE browsers both at the same time and if so, do you have the choice of choosing one for a default browser?

    I am using IE Explorer now presently. I want to be able to download and install the SEO Blogger tool from Wordtracker but it says that I have to have Firefox as the browser. Since I have everything else already set up under IE, I don't want to have to change all that just so I can download one program.
    Can you help?
    Thanks,
    David Craig

    You can have both browsers installed and running at the same time. You can also choose what one to have as the default browser.

  • I have uninstalled and reinstalled, but still get the same error message about profile missing or inaccessible--what do I do now?

    When I opened the profiles folder there were folders missing (less folders than were shown on the help page). I tried using a restore point, but that did not work either. I don't know what else to do. :( I cannot access the manual fix steps because the browser will not open, so that is useless information.

    See:
    *https://support.mozilla.org/kb/how-run-firefox-when-your-profile-missing-or-inacc
    This is usually caused by a problem with the profiles.ini file and the profile marked as Default=1 in this file is no longer present on the hard drive.
    *Windows: %AppData%\Mozilla\Firefox\<br>C:\Users\&lt;user&gt;\AppData\Roaming\Mozilla\Firefox\Profiles\&lt;profile&gt;\
    *Linux: ~/.mozilla/firefox/
    *Mac: ~/Library/Application Support/Firefox/
    You can use one of these to make Firefox create/use a new default profile:
    *Delete the profiles.ini file to force Firefox to create a new default profile
    *Use the Profile Manager to create a new profile
    *Use "Choose Folder" when you create a new profile to select the location of a lost profile and recover this profile
    *http://kb.mozillazine.org/Profile_Manager
    *https://support.mozilla.org/kb/Managing+profiles
    *http://kb.mozillazine.org/Profile_folder_-_Firefox

  • Can someone please tell me the cause of the msg-The song could not be used because the original file could not be found- and how I might correct that problem?

    Can anyone please tell me the cause of the msg-The song"    " could no be used
    because the original file could not be found-and how I might correct that problem?  Lou

    I stupidly tried to copy my music files to an external drive so I could transfer them to my new iMac (old Macbook Pro is being retired). I now know I should've tried home sharing or something to transfer the music.
    Anyway, the situation I am in is that I have not managed to transfer anything and I now cannot access the music on my old Macbook Pro either! I have the message "the song 'xyz' could not be used because the original file could not be found. Would you like to locate it?". I understand that this is because iTunes cannot locate the files. When I try to locate the files I find nothing.
    I have tried searching my whole Macbook Pro for mp3 files and m4a files and Spotlight cant find any! The tracks are all still listed in iTunes. I also searched the external hard drive. I definitely haven't deleted anything. So where could they have gone and is there anything else I can do to search for them? I have a feeling I am just not searching for them in the right way because I have not deleted anything.
    Old computer is Macbook Pro OS X 10.6.8 with iTunes 10.4.1
    New computer is iMac OS X 10.7.2 with iTunes 10.5
    All I want to do is to set everything back to how it was so I can try the transfer a better way.
    Please help. Thanks, Dashford.

  • Servlet jndi lookup to remote EJB, servlet and EJB not in the same application

    Hi,
    I think that the subject explain my problem.
    I have Oracle IAS9i 9.0.2.0.0, and JDeveloper 9.0.2.829
    I have deployed and EJB in IAS9i and i want to use from the developer machines, which have JDeveloper.
    how can i to do remote calls from JDeveloper?.
    I have modifed the orion-application.xml, and added remote=true.
    I have modifed the rmi.xml and added the hosts where the Jdeveloper placed.
    Any ideas?
    Thanks and cheers
    P.D The app server and jdeveloper are in the same net.
    if it is posible replys me to [email protected] too.

    Steps to access a remote EJB from within OC4J
    ++++++++++++++++++++++++++++++++++++++++++++++
    1) Deploy EJB application (ApplicationRemote) to remote container (REMOTE)
    "java -jar admin.jar -deploy ormi://REMOTE.hostname:REMOTE.port REMOTE.username REMOTE.password -deploy -file ApplicationRemote.ear
    -deploymentName ApplicationRemote"
    2) Ensure that local application (ApplicationLocal) has ejb-ref tags for remote EJBs accessed (in web.xml or ejb-jar.xml)
    3) Deploy to local container (LOCAL) an empty application (ApplicationEmpty) with the same name as the remote application (ApplicationRemote)
    "java -jar admin.jar -deploy ormi://LOCAL.hostname:LOCAL.port LOCAL.username LOCAL.password -deploy -file ApplicationEmpty.ear -deploymentName
    ApplicationRemote"
    5) Deploy local application (ApplicationLocal) to local container (LOCAL)
    "java -jar admin.jar -deploy ormi://LOCAL.hostname:LOCAL.port LOCAL.username LOCAL.password -deploy -file ApplicationLocal.ear -deploymentName
    ApplicationLocal"
    4)Restart local container
    ApplicationEmpty should consist of just an application.xml file - no modules. The same file can be deployed with different application names for all the remote
    applications that must be accessed.
    ApplicationLocal should access the remote EJB by using the following JNDI properties
    java.naming.factory.initial = "com.evermind.server.rmi.RMIInitialContextFactory"
    java.naming.provider.url = "ormi://REMOTE.hostname:REMOTE.port/ApplicationRemote"
    java.naming.security.principal = "REMOTE.username"
    java.naming.security.credentials = "REMOTE.password"
    regards
    Debu Panda

  • Servlet and EJB on different machine: Security propagation

    Hi all,
    I have an application, where my servlets and EJBS are deployed on the same machine.So
    when in my servlet a user need to authenticate himself, security credentials are
    propagated to the EJB automatically.I'd like to know in the case where the components
    are on different machine if I need to put the credential in my InitialContext
    when my servlet calls my EJB or if it is also done automatically.
    Cheers
    romain

    Say your stub is in a jar called stub.jar.
    You need to put that stub somewhere that it can be reached through a protocol for which Java has a URL type - so you can put it on a shared file system and use a file URL or behind an http server and use an http URL.
    Let's use http - put stub.jar at the docroot of a web server.
    Then, when you start your SERVER code, include this VM parameter:
    -Djava.rmi.server.codebase="http://<serveraddress>stub.jar"
    Now your client will be able to use http to load the stub file out of stub.jar through http.
    If you do use a file URL, make sure the shared directory you put your jar in is not on the client's classpath.

  • Strut and EJB

    Hi guys,
    I am trying to call EJB in my strut action classes using @EJB and got the error java.lang.NullPointerException while I use InitialContext to lookup for the EJB manually it works. The error indicates, to me that the container did not inject the EJB object at the run time. Can anyone explain to me why using annotation to inject the EJB in action classes would not work? Am I doing something wrong?
    Some environment info:
    ** Both my web application and EJB are on the same glassfish server
    ** The web application and EJB are not in the same .ear file, meaning they are separate applications
    thanks in advance, Kenny
    Edited by: user13433552 on 7/12/2010 16:36
    Edited by: user13433552 on 7/12/2010 16:36

    As far as I know, the JEE server can only inject into resources it "knows about", which are servlets, other EJBs, MDBs and for example JSF backing beans. Struts is not part of the JEE spec, so I guess it won't scan those classes.
    But perhaps Struts itself has a mechanism to inject EJBs into an action class?

  • I have just successfully installed icloud control panel on my pc. However I now cant login because it is saying I have a server error. I have uninstalled and reinstalled, but with the same result. Any suggestions?

    I have just successfully installed icloud on my PC. However I cannot login to the control panel due to a server erro. I have uninstalled and reinstalled but still get the same message. Any ideas?
    Gaunty1

    Thanks. but I am not using Outlook. Looking at other postings, I don't seem to be the only one experiencing this. Shame apple aren't helping!

Maybe you are looking for