EJB2 Local Home.

Hi ,
I have one bean that has localhome, when i try to lookup for local home in weblogic, it throws an exception, that localhome is not serializable, and it cant marshal it, Do any one know the reason?
TNX.

i dont think that the root of this problem be using two VM, when i deploy my beans on Weblogic, it issues a message that localhome is not serializable,(hint i dont run client till now)

Similar Messages

  • AD mobile account with local home directory

    I basically have the same question as this post:
    http://discussions.apple.com/message.jspa?messageID=696367
    I have set up Tiger workstations to authenticate to AD, I am forcing a local home dir. Everything works great. I want to do the same thing for Tiger laptop users with mobile accounts. The problem is that OS X creates a second home directory outside of /Users based on attributes from my AD schema. Just like with the non-mobile users, I want to ignore all home dir attributes from AD and just use the user's home dir that is in /Users. So the question is, how can you use a mobile account and force a local home dir with Apple's AD plugin??????

    Yes, I know how to click buttons in the gui, that does not fix the issue. The issue is that the Active Directory schema at my company includes extended attributes from the RFC 2307 schema. Apple's AD plugin does not know how to handle this extended schema especially when using mobile accounts.
    Apple's AD plugin reads these unix attributes from AD and thinks it knows what to do but ends up causing more problems then if there were no unix attributes at all.
    Since this post, I have opened a ticket with Apple. They were able to recreate the problem in their lab with their AD server. The only work around is to create a custom ActiveDirectory.plist file that forces the Mac to ignore what AD is telling it.
    This solution works unless the ActiveDirectory.plist file is deleted or corrupted. This problem will only become worse once Microsoft includes all of the RFC 2307 schema in their next service pack of Win 2003 server.

  • Only CreateException allowed for create in local home?

    I tried to deploy a simple application in Weblogic Server 8.1. During verification I got the message: "Method create(int) on the local home interface must not throw java.rmi.RemoteException" and sometimes "create(int) must throw CreateException".
    The signature of my local home for that stateless session bean looked like this:
    create(int aNumber) throws CreateException, IOException {...
    the according method of the bean was:
    ejbCreate(int aNumber)throws CreateException, IOException {...
    After several tries i deleted the IOException from both signatures and the .ear file could be deployed.
    I looked up ejb 2.0 and 2.1 specification and there are examples throwing more than CreateException in local home interfaces of session beans (e.g. chapter 6.3.1).
    Did someone experience this behavior as well? Can there be a bug in my code and this "workaround" works only by accident?

    Here is the log massge
    [Sun Sep 16 14:26:47 2012] [error] [client ::1] File does not exist: /home/lucas/www/favicon.ico
    [Sun Sep 16 14:26:47 2012] [error] [client ::1] client denied by server configuration: /home/lucas/www/test/application/captcha/1347816281.8856.jpg

  • How can I connect my iPad3 to my local home network?

    How can I add my iPad3 to my local home network?

    Wifi network? Tap on the settings icon. Choose the name of your network, tap on it, follow the on screen prompts to sign into the network.
    If it's not wifi, then you can't. The iPad doesn't support wired internet

  • Lookup for local home interface

    Hi!
    I am using the j2eesdk and there is a thing I cannot find anywhere:
    When I use a local interface for a bean and define an EJB Ref on that bean in the 'deploytool', I cannot specify a JNDI name (only a bean name). Therefore I cannot map the coded name in my Context-lookup() call in the code to any JNDI name on the applications 'JNDI Names' tab.
    My question is:
    - how do I lookup local home interfaces?
    - if this is done via JNDI, how do I do this in the deploytool?
    Kind Regards
    Ralf

    Hi
    The point u all should understand is you use a jndi name in your programs
    say
    public static void main(String[] args)
    InitalContext ctx = new IntialContext();
    ctx=(Context)ctx.lookup("java:comp/env");
    DemoLocalHome home = ctx.lookup("ejb/DemoBean");
    in the above program you use "ejb/DemoBean" as a reference name, but actually there won't be a Bean registered with that name. so, when u deploy the appclient u should map the reference name with the actual JNDI name ( if it's a remote interface) or with the class name (Local interface)
    so, when u deploy the appclient in the "ejb ref " tab, u specify that it uses Local interfaces and in the end u don't map the refernce name to a JNDI name( because it's a local interface) and rather u speciy the class name.
    that's how u map the references for Remote and Local home interfaces.....
    thank's for listening to that......
    for more suggestions mail me at [email protected]

  • Network user can't see local home directory

    Hi there,
    I have a Mac Mini running Lion Server with Directory Services turned on. I've been using this to allow network users to log into Lion clients, as well as set up mobile accounts. This has been working fine.
    Now I've just created a new network user for use with a Mountain Lion client and have experienced some strangeness with this new user's home directory. The binding to the directory was fine, and the credentials for the network user were fine. However, when logged in, this new user has his home drive mapped to /Network/Servers/<servername>/Users/<username> rather than the expected /Users/<username>. This has bad side-effects. For instance, Chrome tries to save downloads to the server instead of locally.
    What I can't work out is why the home directory isn't pointing to a local location. The other users (on Lion) have the same home directories defined in their Open  Directory profiles. The only difference is the new user is on Mountain Lion, but I don't think this has any bearing to the problem.
    Can anyone offer some advice?
    Benjamin

    So I took my Mac Mini running OS X 10.8 Server, along with two client laptops: one exhibiting the problem I described, and the other where network logins and home directories worked as intended.
    Long story short, the guys at the Bar couldn't figure it out. The user definitions in Open Directory seemed ok, but they still couldn't work out why no local home directories were being created. Not sure if this helps, but in trouble-shooting, we also discovered that trying to login with a network user on the problematic laptop didn't work when the server wasn't on the network. It's as if the server is required to be present.
    Anyway, the case has been referred to the business team, which is supposed to have more expertise with OS X Server.

  • Local home on a different partition on a iMac

    Dear all,
    I have system who work fine.
    One MacProp X server and server OS Leopard.
    On the server I created several network account and their home are stored on second partition. With Group Manager I could setup the location of the users' Home folder.
    I am trying to use Mobile. I think it very nice as my users might moving from a iMac to another one. But my boss does not want to have the document on local. Their documents must stay on the server.
    Do you know how can I sncronize only Library/Preferences/ and NOT the home folder?
    I already did some step:
    From Workgroup, I selected an user, then I click on Preferences Icon, then on Mobile.
    On Account Creataion tab:
    1) I checked "Create mobile account....."
    2) Unchecked the 2 sub option
    3) checked Create Home using -> network home and default
    I did nothing on the option sub tab
    On Account Expiry tab:
    1) I selected Delete mobile account and choose 0 Hours in order to be deleted asap
    On Rule tab:
    On the sub tab called "Preferences Sync".
    On the folder section
    1) I removed all and I added ~/Library/Prefrerences
    On Home Sync tab:
    1)I selected "Never" because I do not want to have it synchronized.
    But I would like that when I go to "my Places" and then I click on the username (Home) I see the Home server content.
    With the above configuration I see the local Home, which is empty.
    Other think.
    Is they a possiblity , on the iMac with Leopard, the move the local home from /Users/ to /partiton2/Users?
    Many thank

    User's library prefs are located in their home folder, not on the root - have you tried specifying that explicate path with the user's home folder name(s)?
    /(yourUserName)/Library/Preferences/

  • Obtaining a reference to local home interface

    When I do a JNDI look-up for the local home interface, I get back an object whose class is "MyBean_b2yw37_LocalHomeImpl". I expected it to be "MyHome" which is the local home for MyBean.
    Can someone please tell me how to fix this issue?
    Thanks!

    MyHome is an interface. You'll receive a class which implements your interface. The class is generated by the container. It has a funny name so that we can guarantee that it doesn
    collide with other beans.
    -- Rob
    A D wrote:
    When I do a JNDI look-up for the local home interface, I get back an object whose class is "MyBean_b2yw37_LocalHomeImpl". I expected it to be "MyHome" which is the local home for MyBean.
    Can someone please tell me how to fix this issue?
    Thanks!--
    AVAILABLE NOW!: Building J2EE Applications & BEA WebLogic Server
    by Michael Girdley, Rob Woollen, and Sandra Emerson
    http://learnWebLogic.com
    [att1.html]

  • Home vs. local-home

    All,
    I was wondering if there is any difference in terms of code between a home interface for a bean and a local home interface for a bean? Do I need any additional code for either of them, or is the behavior strictly governed whether or not I use <home> vs. <local-home> in my descriptor files?
    Thanks,
    -Dave

    All,
    I was wondering if there is any difference in terms
    s of code between a home interface for a bean and a
    local home interface for a bean? In terms of Code in those interfaces, LocalHome Interface throws
    --> Finder Exceptions for finder methods
    --> Create Exceptions for create methods
    where as Home interfaces being there for remote clients they throw
    --> Finder & Remote Exceptions for finder methods
    --> Create & Remote Exceptions for create methods
    Do I need any additional code for either of them, or is the behavior
    strictly governed whether or not I use <home> vs.
    <local-home> in my descriptor files?Well whatever IDE you are using should be generating those interfaces for you when you compile the bean class.
    >
    Thanks,
    -DaveAs for including the home/localhome interfaces it depends on who is accessing those interfaces for that particular bean. If you have a remote client ( basically anything other than the beans in your application ) accessing them then you will use remote interfaces .. meaning the home interface.
    If they are local clients then use localhome
    Regards,
    Meka Toka

  • LDAP with local home directory?

    Greetings.
    I'm trying to configure the Macs to authenticate based off of the LDAP server. I'm pretty sure I've got that part working, but I'm running into difficulty figuring out how to specify using a local home directory template rather than an NFS / AFP portable home directory. All the guides on the internet out there seem to want to use NFS, which we don't have setup (and don't intend to).
    Based on instructions of various texts, manuals, and blogs, I've created a user account called "labuser", and a group called "users", and then given any member of the group "users" write-access to the folder /Users/labuser. This way they login to a default home directory (at least for now). What information do i specify for LDAP's "apple-user-homeDirectory" entry to make it look for this /Users/labuser folder rather than an NFS share?

    So basically I should add C:\Documents and Settings instead of /Users for windows accounts?
    Because if I don't specify anything it creates a roaming profile on the windows machine, and puts the user directory both on the windows machine and a copy on the server under /Users/Profiles. Or at least is what is doing now... so I manually have to change the profile to local on the windows machine and delete the folder on the server...

  • Script to remove local home directory after sync

    Does anyone have a good script to clear (periodically) the local home folders created by mobile accounts for sync ?
    There is one mentioned in John DeTroye's overview of Tiger server v12.1, by Steve Hayman, but I'm having trouble running it via ARD.
    Thanks

    I'm doing this for 2 reasons:
    - as a scripting exercise
    - because the local repo is a shared wordpress mess and people forget to make commits so I'd like a local backup that includes all changes that may not be in github (sadly).
    Anyhow, thanks for the input about trap, I'm definitely confused by it's use at this point but have reworked the script without it.
    #!/bin/sh
    set -e #Exit on any error.
    TIME=`date +"%m.%d.%Y@%H:%M:%S"` # Define the TIME variable as today's date and time.
    MONTH=`date +"%b"` # Define MONTH as today's month.
    FILENAME="backup-$TIME.tar.gz" # Define the filename structure.
    SRCDIR="/stuff" # Define folder to backup.
    DESDIR="/Backup/$MONTH/" # Define the backup folder location.
    LOGFILE="$DESDIR/backup-$TIME.log" # Store the output in a log.
    REMOTE=$(git ls-remote -h origin master | awk '{print $1}') # Get commit hash from head of remote master repo (github)
    LOCAL=$(git rev-parse HEAD) # Get commit hash from head of server repo (dev/test)
    if [[ $LOCAL == $REMOTE ]]; then # If the hashes match
    echo "No update required." >> $LOGFILE # Then no pull is needed
    else # If the hashes don't match then prepare to run our backup
    mkdir -p $DESDIR # Create our directory if it doesn't exist.
    echo "Backup started for "$TIME >> $LOGFILE # Make it log what it's doing.
    tar -cpzf $DESDIR/$FILENAME $SRCDIR >> $LOGFILE 2>&1 # Perform the backup.
    echo "Backup Finished for "$TIME >> $LOGFILE # Log that it's finished.
    echo "Preparing for git pull " >> $LOGFILE #Log what we're doing.
    cd /stuff >> $LOGFILE 2>&1 # Make sure we're in our repo directory
    git pull >> $LOGFILE 2>&1
    echo "Git pull completed successfully. " >> $LOGFILE
    mail -s "Backup log `date`" [email protected] < $LOGFILE # Email the output to me.
    fi

  • Unable to lookup ejb local home interface after moving to wls 7.0

    I'm getting an exception trying to lookup an ejb's local home interface
    which I believe was deployed correctly. On startup I get the message:
    EJB Deployed EJB with JNDI name
    com.logistics.basedata.ejb.shipperspecificfveb.ShipperSpecificFVDOLocalHome.
    However, when I try to do a lookup using this jndi name, I get the
    following exception:
    javax.naming.LinkException: . Root exception is
    javax.naming.NameNotFoundException: Unable to resolve
    'app/ejb/ShipperSpecificFVDO.jar#com.logistics.basedata.ejb.shipperspecificfveb/local-home'
    Resolved: 'app/ejb'
    Unresolved:'ShipperSpecificFVDO.jar#com.logistics.basedata.ejb.shipperspecificfveb'
    ; remaining name
    'ShipperSpecificFVDO.jar#com.logistics.basedata.ejb.shipperspecificfveb/local-home'
    The name it can't resolve is different than the name I was trying to
    look up. I can see
    com.logistics.basedata.ejb.shipperspecificfveb.ShipperSpecificFVDOLocalHome
    in the jndi tree through the admin console, but the attributes Object
    Class, Object Hash Code, and Object To String are blank.
    This worked with weblogic 6.1 sp3. Is there something I missed in the
    migration to 7.0?
    Any help would be appreciated. Thanks in advance,
    -Brad

    That explains it - in 7.0 (unlike 6.1 - then the only factor was
    classloaders arrangement) client has to be
    in the same application (ear) - note JNDI links used to be able to lookup
    local homes.
    "Brad Geddes" <[email protected]> wrote in message
    news:[email protected]...
    I'm looking it up from a web application. I did notice a message on thistopic
    from last thursday (subject: "Pls Help! Failed to access local Sessionbean in
    7.0!"). In it, the individual said he had to add ejb-local-ref elementsin the
    web.xml. I tried this but can't seem to get it to work.
    javax.naming.NameNotFoundException: Unable to resolve ejb-link.
    ShipperSpecificFVDO.jar#com.logistics.basedata.ejb.shipperspecificfveb isnot in
    the context. The context includes the following link bindings: {} Makesure the
    link reference is relative to the URI of the referencing module.
    Also, I don't have a war or ear in the environment I'm working in; theejb's are
    all deployed separately in jar files, and the web app is in explodedformat.
    >
    -Brad
    "Dimitri I. Rakitine" wrote:
    Are you looking up the local home from outside of an application ?
    "Brad Geddes" <[email protected]> wrote in message
    news:[email protected]...
    I'm getting an exception trying to lookup an ejb's local home
    interface
    which I believe was deployed correctly. On startup I get the message:
    EJB Deployed EJB with JNDI name
    com.logistics.basedata.ejb.shipperspecificfveb.ShipperSpecificFVDOLocalHome.
    >>>
    However, when I try to do a lookup using this jndi name, I get the
    following exception:
    javax.naming.LinkException: . Root exception is
    javax.naming.NameNotFoundException: Unable to resolve
    'app/ejb/ShipperSpecificFVDO.jar#com.logistics.basedata.ejb.shipperspecificf
    veb/local-home'
    Resolved: 'app/ejb'
    Unresolved:'ShipperSpecificFVDO.jar#com.logistics.basedata.ejb.shipperspecif
    icfveb'
    ; remaining name
    'ShipperSpecificFVDO.jar#com.logistics.basedata.ejb.shipperspecificfveb/loca
    l-home'
    The name it can't resolve is different than the name I was trying to
    look up. I can see
    com.logistics.basedata.ejb.shipperspecificfveb.ShipperSpecificFVDOLocalHome
    in the jndi tree through the admin console, but the attributes Object
    Class, Object Hash Code, and Object To String are blank.
    This worked with weblogic 6.1 sp3. Is there something I missed in the
    migration to 7.0?
    Any help would be appreciated. Thanks in advance,
    -Brad
    Dimitri--
    Dimitri

  • Disabling local home directories breaks the software update

    Hello,
    I have my mac authenticating to a win2003 server and have disabled the local home directories but now the software update gives an error when it tries to download to the networked home directory library...etc....I have checked and rechecked the permissions... has anyone else had this problem?
    All suggestions welcome.
    Thanks
    Lori

    Well, after several hours on the phone, I'm convinced that somehow my ISP is blocking the Software Update address. Soft. Update works when I connect to other networks.
    I asked Apple for the address that Software Update is trying to connect to, but they wouldn't give it to me. Privacy and Security issues for them, apparently. Consequently, I don't have a web address to Ping. That was a good idea , though. My ISP couldn't seem to help me. So, at this point I'm not sure what else I can do except...
    In a month, my satellite internet provider is sending a stand alone sat-modem that I'm going to use instead of the set up I have now: involving a USB modem and sharing the internet connection through a specific computer that always has to be on and connected. (the satellite internet is a "one way" system that uses dial-up for the uplink and comes high-speed back down through the satellite) This new modem will serve as the dial up modem and also has two ethernet connections so I can send one directly to my router and the other to my wired desktop. I hope by taking the host computer out of the equation I'll also solve this issue. Who knows.
    Anyway, thanks for the info. I appreciate your feedback and if you have any other ideas, I'd love to see them.
    ben kaufmann

  • Local homes, dual directory, logins

    Hello all,
    I'm having a bit of a problem. Running 10.8.2 server with local home dirs connected to Windows 2008r2 server. The question is our users login with their student numbers. For example John Smith is 901001001. He can login with 901001001 it makes his account and everything is great. Except that he can also now login with John Smith OR 901001001. We just want him to login as 901001001 and NOT John Smith. Is there a way to make OS X not grab the Display Name from AD and instead just use logon name?
    Thanks,
    Jonathan

    Not that I am aware.  Unless you modify the Record Name attribute in AD.  For example, a record may contain:
    RecordName:
    jdoe
    john doe
    [email protected]
    DOMAIN\jdoe
    DOMAIN\john doe
    John Doe
    [email protected]
    All of these can be used as the login name.  If you removed everything but the one you wanted, then only that one would permit login.

  • Local home directories vs network home directories?

    We have an existing linux server which handles web, ftp, dhcp and email for our design group. I am planning the integration of a new mac os x server to handle shared work folders, client archives, shared resources (stock images etc) with eSATA raids as a fail over back up. I have been doing a lot of reading and research, but have not arrived at a best solution for local vs network homes. Our users never connect from another mac workstation, and so utilize a number of iLife content mgmt apps. They all have large personal photo libraries, music libraries etc on their workstations. In addition, many of our projects involve working on extremely large photoshop files, video files etc. I am leaning towards leaving these users as local homes as there is concern over performance on the network. Pros? Cons? am open to any input before establishing final plans for osx server services.
    Network is cat 5e ethernet with 3 gigabit switches (one on each floor of a 3 storey building with an uplink between ea floor)
    more macs than I can list   Mac OS X (10.4.8)  

    Is the local home with synchronization of
    selected folders a variant of mobile home? or mobile
    user? (newbie osx server admin, still digesting the
    apple manuals!!
    Ok what I believe your asking is can you sync your portable home directory ~/shortname to the Server /HomeDir/shortname and ignore the lets say ~/shortname/Pictures or Music Directory? Since you only want Work related files on the Server and only have to backup 1 big user directory with only work related file on the server? Well the answers is a big YES .
    What is required takes a bit to setup. Heres a quick list of things to do and that need to be in place for it to all work smooth.
    1. OS X Server Software with OD/LDAP setup 10.4.3 or higher!
    2. All Client 10.4.3 or higher and binded to the OD/LDAP Server.
    3. Setup Workgroup Admin/Preferences Management. You can set rules for a Group or individual Users. Groups being the preferred way. In here you can set the Path to the Files & Folders to ignore during the Sync. You can do lots of other MCX Managed client settings here and if your OD/bind is good it works great.
    4. You'd have to move stuff around on the Local units i.e. ~/oldfiles to New ~/shortname which will be created. There a few way to do this and hold Permissions and all that just read about Mobile homes more. Think of it as a Laptop connecting for the first time to a binded OD server. Lots of folks have different ways.
    My clients also work with Large files (PS, ID, ai) and a network home was a bit of a pain. To be honest it's not the large files that get you it was the BS cache files that slow it all down. There are now work arounds for the performance hit but took time for the community to figure it all out. I had them in 10.3 working on files in the /Users/Shared/ directory and moving finished work back to the server after.
    10.4 has been the saviour of my sanity with mobile homes. Servers Fast Clients Fast, I have full control of clients (<--admin god complex), and all lived happily ever after... for the most part.

Maybe you are looking for

  • PC Users: From iPod to iTunes

    I have created a huge mess when I attempted to move iTunes onto an external hard drive. It is such a huge mess that I want to delete the current data from iTunes and transfer my music from my iPod to iTunes to retrieve my library. I tried downloading

  • Pavilion dv8t 1200 - simple pass/digital persona software won't install

    Howdy, Windows 7 Home Premimum 64 bit Intel Core i7 Q720 @1.60GHz Pavilion dv8t - 1200 Notebook PC The reader worked fine for the first few months/year, however it then only started working for signing in & occasionaly for sites & gTalk. I was cool w

  • Exposing Portal's User Management functionality via Web Service issue

    Dear experts, I am trying to create and deploy a web service that will tap into User Management functionality (UMFactory) of the Portal. I created a Java project with a Java class with one of the methods exposed via Web Service. Since this is a Java

  • I am unable to pan my view using my magic mouse in maya.

    i am unable to pan my view using my magic mouse in maya. panning needs a middle mouse button and there is no middle mouse button in magic mouse. scrolling sideways or up and down only zooms in and out. please help.

  • How to get my photo files on the left panel for easy access?

    I was watching a informational video about adobe photoshop. I have been opening my pictures file from my computer and dragging the pictures from the my computer window to the project bin and then each picture pops up in a window overlapping eachtothe