Casting problems getting a home I/F of an EJB in another app when debuging a servlet

(Jdeveloper version = 9.0.2.798, OC4J Application Server version = Oracle9iAS (9.0.2.0.0))
I am trying to debug a multi-tier application using the embedded application server. Servlets and EJBs within that application need to call EJBs contained within a second application (Horus).
I have set up the embedded application server to run this second application automatically by adding the following entry into its server.xml
<application auto-start="true" name="Horus" path="M:\Studio\build\production\java\Server\Obfuscate\J2EE_HOME\Horus\Horus.xml"/>
I then start the embedded application server by debugging my servlet project, 'intermediateServlet'. I know the second application is running correctly in the embedded application server because I can access it from a separate client.
In the 'intermediateServlet', I want to obtain a reference to a Dispatcher EJB held in the Horus application. This EJB has the following properties
     ejb-name     = com.internal.server.Dispatcher
     home interface     = com.internal.server.DispatcherHome
     bean class     = com.internal.server.DispatcherEJB
     remote interface= com.internal.server.Dispatcher
The following code is executed during the container's call to my servlet init( context ) method to try and get the appropriate home interface.
Context context = null;
Object tempRemoteIF1 = null;
Object tempRemoteIF2 = null;
Properties h = null;
h = new Properties();
h.put( Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory" );
h.put( Context.PROVIDER_URL, "ormi://127.0.0.1:23891/Horus");
h.put( Context.SECURITY_PRINCIPAL, "user0" );
h.put( Context.SECURITY_CREDENTIALS, "password" );
context = new InitialContext (h);
tempRemoteIF1 = context.lookup( "com.internal.server.Dispatcher" );
tempRemoteIF2 = javax.rmi.PortableRemoteObject.narrow
tempRemoteIF1,
Class.forName( "com.internal.server.DispatcherHome" )
The context.lookup call seems to work fine, returning an object of the class
     DispatcherHome_StatelessSessionHomeWrapper5
Which I presume is a containter generated class implementing the home interface. To help confirm this,
the object has a property beanName that has the value "com.internal.server.Dispatcher".
The problem occurs on the next line, when I check whether I can cast the object to the home interface using ProtableRemoteObject.narrow(). This gives the following exception.
java.lang.ClassCastException
     java.lang.Object com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(java.lang.Object, java.lang.Class)
          PortableRemoteObject.java:296
     java.lang.Object javax.rmi.PortableRemoteObject.narrow(java.lang.Object, java.lang.Class)
          PortableRemoteObject.java:137
     com.internal.server.Dispatcher com.Studio.servlet.intermediateServlet.getDispatcherRef(java.lang.String, java.lang.String, java.lang.String)
          intermediateServlet.java:601
     void com.Studio.servlet.intermediateServlet.init(javax.servlet.ServletConfig)
          intermediateServlet.java:150
     com.evermind.server.http.ServletInstanceInfo com.evermind.server.http.HttpApplication.loadServlet(com.evermind.util.ByteString)
          HttpApplication.java:1669
     com.evermind.server.http.ServletInstanceInfo com.evermind.server.http.HttpApplication.findServlet(com.evermind.util.ByteString)
          HttpApplication.java:4001
     javax.servlet.RequestDispatcher com.evermind.server.http.HttpApplication.getRequestDispatcher(com.evermind.util.ByteString, com.evermind.server.http.EvermindHttpServletRequest, com.evermind.server.http.EvermindHttpServletResponse)
          HttpApplication.java:2200
     boolean com.evermind.server.http.HttpRequestHandler.processRequest(com.evermind.server.ApplicationServerThread, com.evermind.server.http.EvermindHttpServletRequest, com.evermind.server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
          HttpRequestHandler.java:580
     void com.evermind.server.http.HttpRequestHandler.run(java.lang.Thread)
          HttpRequestHandler.java:243
     void com.evermind.util.ThreadPoolThread.run()
          ThreadPoolThread.java:62
Interestingly, if I use practically the same code, to obtain the home interface of an EJB that is defined in the application that I am debugging, the cast works perfectly. The returned object looks identical, apart from the name to the DispatcherHome_StatelessSessionHomeWrapper5 mentioned above.
Could the error possibly be because I need to declare 'Horus' as a parent application of the application I am debugging? If it is how do I do this?
Many thanks in advance for any help with this one.
Mark.

(Jdeveloper version = 9.0.2.798, OC4J Application Server version = Oracle9iAS (9.0.2.0.0))
I am trying to debug a multi-tier application using the embedded application server. Servlets and EJBs within that application need to call EJBs contained within a second application (Horus).
I have set up the embedded application server to run this second application automatically by adding the following entry into its server.xml
<application auto-start="true" name="Horus" path="M:\Studio\build\production\java\Server\Obfuscate\J2EE_HOME\Horus\Horus.xml"/>
I then start the embedded application server by debugging my servlet project, 'intermediateServlet'. I know the second application is running correctly in the embedded application server because I can access it from a separate client.
In the 'intermediateServlet', I want to obtain a reference to a Dispatcher EJB held in the Horus application. This EJB has the following properties
     ejb-name     = com.internal.server.Dispatcher
     home interface     = com.internal.server.DispatcherHome
     bean class     = com.internal.server.DispatcherEJB
     remote interface= com.internal.server.Dispatcher
The following code is executed during the container's call to my servlet init( context ) method to try and get the appropriate home interface.
Context context = null;
Object tempRemoteIF1 = null;
Object tempRemoteIF2 = null;
Properties h = null;
h = new Properties();
h.put( Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory" );
h.put( Context.PROVIDER_URL, "ormi://127.0.0.1:23891/Horus");
h.put( Context.SECURITY_PRINCIPAL, "user0" );
h.put( Context.SECURITY_CREDENTIALS, "password" );
context = new InitialContext (h);
tempRemoteIF1 = context.lookup( "com.internal.server.Dispatcher" );
tempRemoteIF2 = javax.rmi.PortableRemoteObject.narrow
tempRemoteIF1,
Class.forName( "com.internal.server.DispatcherHome" )
The context.lookup call seems to work fine, returning an object of the class
     DispatcherHome_StatelessSessionHomeWrapper5
Which I presume is a containter generated class implementing the home interface. To help confirm this,
the object has a property beanName that has the value "com.internal.server.Dispatcher".
The problem occurs on the next line, when I check whether I can cast the object to the home interface using ProtableRemoteObject.narrow(). This gives the following exception.
java.lang.ClassCastException
     java.lang.Object com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(java.lang.Object, java.lang.Class)
          PortableRemoteObject.java:296
     java.lang.Object javax.rmi.PortableRemoteObject.narrow(java.lang.Object, java.lang.Class)
          PortableRemoteObject.java:137
     com.internal.server.Dispatcher com.Studio.servlet.intermediateServlet.getDispatcherRef(java.lang.String, java.lang.String, java.lang.String)
          intermediateServlet.java:601
     void com.Studio.servlet.intermediateServlet.init(javax.servlet.ServletConfig)
          intermediateServlet.java:150
     com.evermind.server.http.ServletInstanceInfo com.evermind.server.http.HttpApplication.loadServlet(com.evermind.util.ByteString)
          HttpApplication.java:1669
     com.evermind.server.http.ServletInstanceInfo com.evermind.server.http.HttpApplication.findServlet(com.evermind.util.ByteString)
          HttpApplication.java:4001
     javax.servlet.RequestDispatcher com.evermind.server.http.HttpApplication.getRequestDispatcher(com.evermind.util.ByteString, com.evermind.server.http.EvermindHttpServletRequest, com.evermind.server.http.EvermindHttpServletResponse)
          HttpApplication.java:2200
     boolean com.evermind.server.http.HttpRequestHandler.processRequest(com.evermind.server.ApplicationServerThread, com.evermind.server.http.EvermindHttpServletRequest, com.evermind.server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
          HttpRequestHandler.java:580
     void com.evermind.server.http.HttpRequestHandler.run(java.lang.Thread)
          HttpRequestHandler.java:243
     void com.evermind.util.ThreadPoolThread.run()
          ThreadPoolThread.java:62
Interestingly, if I use practically the same code, to obtain the home interface of an EJB that is defined in the application that I am debugging, the cast works perfectly. The returned object looks identical, apart from the name to the DispatcherHome_StatelessSessionHomeWrapper5 mentioned above.
Could the error possibly be because I need to declare 'Horus' as a parent application of the application I am debugging? If it is how do I do this?
Many thanks in advance for any help with this one.
Mark. Try loading the home interface from the same classloader used to load the the returned home object.
tempRemoteIF2 = javax.rmi.PortableRemoteObject.narrow
( tempRemoteIF1,
tempRemoteIF1.getClass().getClassLoader().loadClass("com.internal.server.DispatcherHome" )
Dhiraj

Similar Messages

  • I am having problems copying and pasting clips from one project timeline to another. When I do this they often alter in length. Sometimes by two frames. Other times they lose a chunk off the end of the last clip in the sequence. Has anyone else found

    I am having problems copying and pasting clips from one project timeline to another. When I do this they often alter in length. Sometimes by two frames. Other times they lose a chunk off the end of the last clip in the sequence. Has anyone else found this?

    You need to give a lot more information about the media specifications and the project properties you're using in the different projects.

  • I cant get my home page back. it ways i have something open when i try to "RESET FIREFOX" HELP!!!

    Please help me. I cant get the homepage back even when i try to "RESET FIREFOX" it just says its embarrassed and im old and i have no idea what to do?? I would appreciate any help. God Bless, jeri

    Sorry, it's a little confusing. You get the "embarrassed" screen if Firefox crashed and isn't able to automatically restore your previous session.
    If you unselect the old windows and tabs, Firefox should start up with your home page after that.
    Or does it happen every time you quit Firefox and start it again?
    What page do you want as your home page? You can check the setting in the Preferences dialog. These articles describe the steps:
    * [[Startup, home page and download settings]]
    * [[How to set the home page]]
    If Firefox is ignoring your home page setting and showing a different page, it could be caused by one of your add-ons, maybe one that snuck in unexpectedly.
    You can review your extensions and disable unknown or unwanted ones on the Add-ons page. Either:
    * Command+Shift+a
    * "3-bar" menu button (or Tools menu) > Add-ons
    In the left column, click Extensions.
    When you first get Firefox, it searches your system for extensions, so you might see something associated with your security software. But generally speaking, extensions are optional and you do not need to enable any of them unless you find them useful.

  • When I try to eject my IPod I get a message telling me I cannot eject because another app is using it. Nothing else is running, so I just have to pull the plug

    When I try to eject my IPod after synching I get an error message that I cannot eject it because files are in use by another application. Nothing else's running so I just have to pull the plug. Why is this ??

    ok---I stopped the sync process of photos and now everything else syncs but still cannot eject my ipod.  Will try other tips on this website.  Thank you

  • I have recently had a problem when turning my iPad on from shutdown, in that it takes at least four attempts to slide my finger across to get the home page. The screen is clean, and when I do eventually get the home page it all works perfectly. Any ideas?

    I have a problem getting my IPad to start from shutdown. I get the Apple logo then when it is ready for me to slide my finger across the lower part of the screen to get the home page, it takes at least four attempts. When it does eventually open the home page, all works perfectly well. The screen is clean so I cannot see any reason for this annoying problem. Any suggestions will be gratefully received. Thank you. Colin.

    i would reset it, then restore as new

  • I am having problems connecting to home wifi.  It was working, but now all I get is a blank white screen.  I re-booted with no success.

    I am having problems connecting to home wifi.  It was working, but now all I get is a blank white screen.  I re-booted with no success.

    Hi, blank white screen where exactly?
    Make a New Location, Using network locations in Mac OS X ...
    http://support.apple.com/kb/HT2712
    10.5, 10.6, 10.7 & 10.8…
    System Preferences>Network, top of window>Locations>Edit Locations, little plus icon, give it a name.
    10.5.x/10.6.x/10.7.x/10.8.x instructions...
    System Preferences>Network, click on the little gear at the bottom next to the + & - icons, (unlock lock first if locked), choose Set Service Order.
    The interface that connects to the Internet should be dragged to the top of the list.
    If using Wifi/Airport...
    Instead of joining your Network from the list, click the WiFi icon at the top, and click join other network. Fill in everything as needed.
    For 10.5/10.6/10.7/10.8, System Preferences>Network, unlock the lock if need be, highlight the Interface you use to connect to Internet, click on the advanced button, click on the DNS tab, click on the little plus icon, then add these numbers...
    208.67.222.222
    208.67.220.220
    (There may be better or faster DNS numbers in your area, but these should be a good test).
    Click OK.

  • New problem, Lycos Mail is my home page. When I open a new window I usually get Google search, which is what I want. Now, somehow when I open a new window I get Yahoo search. How do I change it back to Google? Thank you, Randy

    New problem, Lycos Mail is my home page. When I open a new window I usually get Google search, which is what I want. Now, somehow when I open a new window I get Yahoo search. How do I change it back to Google?
    Thank you,
    Randy

    A new tab opens by default as a blank tab (about:blank).
    If that isn't the case then an extension has changed that behavior.
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    You can middle-click or hold down Ctrl and left-click the Home button on the Navigation toolbar to open the Home page in a new tab.
    You can look at this extension to set which page to open in a new tab:
    * NewTabURL : https://addons.mozilla.org/firefox/addon/newtaburl/

  • How can I get to home screen from car dock menu when an app is running?

    Just upgraded to the RAZR MAXX from a Droid 2 Global.
    When the phone is mounted in the car dock and an app is running (Navi, Music, etc.), how can you get to the main home screen of the phone rather than the car dock menu?
    Follow me......
    * Phone is mounted in Car Dock.
    * If there are NO apps running, pressing the BACK key from within the Car Dock Menu takes you directly to the Home screen.
    However.....
    * Phone is mounted in Car Dock.
    * Navigation(or any app, for that matter) is running.
    * Pressing MENU key takes me to Car Dock Menu.
    * There's no exit option available to exit from car dock menu.
    * Pressing BACK key takes you back to the app that's running, not the home screen.
    * Long press of HOME key only takes you to an app list screen, not home screen.
    * Only way to get to home screen is to repeatedly press the BACK button exiting out of the Car Dock Menu and cancelling all apps that are currently running.
    On my Droid 2, I was able to quickly exit the Car Dock Menu simply by pressing the BACK or exit button, regardless of which or how many apps were running. They would still run in the background, showing on the status bar.
    Anyone know of a work around? I couldn't find any settings to change within the Car Dock menu to change this. Stopped by three Verizon stores and they all say we have to be missing something, as they couldn't figure it out either. One rep told me it was a new "nanny" feature so that you couldn't access your apps while driving, however when I pointed out that you could access the home screen if no apps were running, he wasn't sure what to say.
    Any help?

    I solved my problem eventually by getting all the devices - 2 iphones, the newish pc and the older Mac on icloud.
    All media, calenders and messages were lost from the iphones, except for purchased itunes that I paid another $30 to Apple to save for me and also paid Appple some more to use icloud but the good news is I did save my contacts
    I opened all of my contacts and pretty much had to edit and drag them over almost individually as they weren't all in some sort of configuration that Apple liked - i.e. if an email address ended in ch or es or de it might not be accepted as a properly configured vcard.
    It would be nice if Apple made it a litle easier when you have older devices and need to get them in sync with newer ones.

  • Any ideas on how to get my home button to work like it should?

    I have the third generation iPad and have been having intermittent problems with the home button.  The iPad seems to work just fine,
    but sometimes the home button doesn't do anything.  If I am in Safari and want to change to Mail, for example, the only way to get that done
    is to turn the iPad off, let it rest a short time, turn it back on and then go to the screen I want.  I can navigate within an app, but can't change apps
    without going through the above...a real hassle!  I had an appointment with the Genius Bar (Have Apple Care), but then the Home button started
    working for a while and at this time of year, I really don't want to go to the Apple Store!  Any ideas?  Thanks for your help.
    Mary Lou

    Try:
    fix for Home button
    iPhone Home Button Not Working or Unresponsive? Try This Fix
    - If you have iOS 5 and later you can turn on Assistive Touch it add the Home and other buttons to the iPods screen. Settings>General>Accessibility>Assistive Touch
    - If not under warranty Apple will exchange your iPod for a refurbished one for:
    Apple - Support - iPod - Repair pricing
    You can do it an an Apple store by:
    Apple Retail Store - Genius Bar
    or sent it in to Apple. See:
    Apple - Support - iPod - Service FAQ
    - There are third-party places like the following that will repair the Home button. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens

  • Can't connect to the internet in my home yet other devices can. I tried it in other Wifi places and it connects without a problem. My home Wifi is with Att uverse

    Can't connect to the internet in my home yet other devices can. I tried it in other wifi places and it connects without a problem. My home wifi is with ATT Uverse. I cheched the IP address on my laptop and its different than on my Ipod although it on the same network.

    Move off WEP to WPA or, preferably, to WPA2 (as recommended by Apple). WEP has been deprecated by the WiFi Alliance since 2004 as insecure (it can be cracked in seconds by any hacker).
    Note that each device on a network has a unique IP address but if your address starts with 169 then you did not get a valid IP address assigned to you by your router. If restarting the router did not cure the problem then you should check for a firmware update for your router.

  • Lenovo Ideapad u400 6470M driver problems Windows 7 Home Premium 64bit HELP

    I bought this lenovo u400 like 2 years ago and i had no problems, but now my SSD went dead and i bought another, after the replacement i just installed the original windows 7 64 bit home premium, put my notebook's serial installed all the drivers, and when i install the Ati driver from Lenovo my pc gets stuck in a black screen with a white line on the top left of my screen, when i do FN+F8 while booting and start window's safe mode and i go to the device manager i see this ones: 6470M and Intel HD graphics family, when i disable intel hd graphics family my pc boots up normally but the resolution is 800x600 and the max is 1024x768, If i install the Intel 3000 HD my 6470m appears with a yellow triangle on the device manager, i've tried almost 30 different drivers from leshcat, hp, dell, lenovo and AMD's webpage, none of them work, and when i go to the CCC it just lists the intel 3000.
    Sorry for my bad english, im from Argentina, Lenovo's support on argentina sucks, last time i've sent it it costed a lot of money, they scratched multiple parts on my laptop and didn't fix most of my problems, and i can't get the One Key backup anywhere, pls help, atleast AND IF ANYONE WITH A LENOVO U400 WITH WINDOWS 7 HOME PREMIUM IS READING THIS AND HIS 6470M DRIVER IS WORKING, PLEASE CONTACT ME.
    Lenovo, please, don't give me a crappy answer and most of times when that answer does not fix the problem then you give up and don't reply anymore. Im getting sick, i got this laptop for doing 3D modeling, video editing and multiple more and i just can't go and buy another, things are really expensive in Argentina.

    welcome to the community.
    i would recommend that you call Service to request a factory recovery dvd set.
    phone #s here: http://support.lenovo.com/en_US/detail.page?DocID=​PD008370
    for Slovokia, specifically: +421 2 4974 8888 for Think-branded machines and 0800-197-462 for Idea-branded machines.
    hope this helps a bit.
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество
    Community Resources: Participation Rules • Images in posts • Search (Advanced) • Private Messaging
    PM requests for individual support are not answered. If a post solves your issue, please mark it so.
    X1C3 Helix X220 X301 X200T T61p T60p Y3P • T520 T420 T510 T400 R400 T61 Y2P Y13
    I am not a Lenovo employee.

  • Can anyone help please. how do i get the home button to appear on the touch screen my home button has stopped working?

    can anyone help please. how do i get the home button to appear on the touch screen my home button has stopped working?

    I have same problem.
    However, I am unable to turn on Assistive Touch.
    At one time I was able to activate it, but it went away and now I cant reactivate.
    What is the solution?

  • Problems getting a TV fixed or exchanged

    I am having problems getting a black friday tv purchase fixed or replaced.  I bought the doorbuster 50" panasonic TC-50A400U on thursday along with the 2 year protection plan, took it home and it has vertical lines on left center of the sceen. Went into a store on saturday to fing out what to do, was advised to call 1-800-geek-squad because it was a 50" tv.
    Geek Squad came out yesterday immediately diagnosed the problem, called it in and was told that panasonic is not going to provide the needed board to repair it and I would have to bring the tv in for an exchange as it is within the return policy period.  Of course there are none in stock and will take at least a week to get a new one. While I understand the TV was a special deal, it should not mean that it or the person buying it should be treated any differently than soeone buying a more expensive tv or other product.
    I feel this reflects poorly on Panasonic as well as they do not seem to want to stand behind products that they are selling unless it is a certain price point

    Hi there pjmccarthy63-
    Thank you for your patience while we worked through our backlog to reach your post.  We’ve been very busy since the Thanksgiving holiday and it’s taking us a bit of time to catch up.
    Congratulations on getting your hands on one of the Panasonic doorbuster TV’s.  I can only imagine how disappointing it was to see that it wasn’t working correctly and that the only option available to us was to exchange it for you, which meant waiting for us to get stock back in.
    Normally during the manufacturer warranty period, we have to follow the manufacturer’s instructions regarding potential repairs, so if they stated that it would be more economical to replace that to repair, we do need to follow those directions.  It does appear that since you’ve posted, we did get more of these TV’s in stock and that you’ve completed your exchange.  I hope that the new television is working well and you are enjoying it!
    Thanks for posting and Happy Holidays!
    Bill|Senior Social Media Specialist | Best Buy® Corporate
     Private Message

  • When i open the cover of my ipad Air i get the home screen Im sure i used to get the lock screen

    I have my iPad Air kept in a third party cover which operates the sleeep/wake function
    I have just become aware that when i now open the cover, i get a home screen and not the lock screen
    is this something that has changed with the intro of ios 8.1.3
    I miss the time and date when i now open the cover

    Just had some second thoughts on this
    1/ My wife says her iPad2 does the same
    2/ I think that if there are any notifications then the Lock screen will appear - will have to try this
    3/ If i operate the sleep/wake button manually ( the button at the top RH it works ok
    No big problem but something has changed

  • How did I get two "home folders"?

    I suddenly got into problems with my backup because the home folder did not have the usual content. When I try to see what happened, it looks like I have two "home" folders.
    When I select Go>Home from the men, it looks like this:
    And when I click on the Data drive below the Data folder, it looks like this:
    The juliusson-folder in the second image is the one that I thought was the home folder. It contains the stuff that I want to back up.
    Can someone see from this what could be wrong? I don't really know how it should look.
    When this happened, I also lost my user settings.

    julle300 wrote:
    I don't know if I moved the Home folder out of the start up drive on purpose It could have been part of my original configuration.
    I set up my computer years ago by following some online instructions for an optimised set up for Photoshop work. I have three drives installed. One 1TB drive and two 2TB drives. The instructions that I followed were meant to put the system and programs on one drive (also used as scratch drive) and then have images and other stuff on the other two. Those two were set up as a mirrored RAID configuration.
    Everything has worked fine for over three of years. Could the problems be caused by an accidental folder move?
    It's hard to understand how an accidental folder move would cause this - the home folder path is also set within the system configuration. That means you can't just use any old folder as the home folder location.
    I guess it's possible an accident moved it, but then there would have been some user interaction to have agreed to use it in the new location. It seems likely that you somehow managed to use the OS when the Data disk was offline - the folder got created in place of the old home folder, that caused a new one to be made (new home folders get the default template with Desktop, Documents, Music, Pictures etc).
    Have you got another user account on the system? Is that user an admin?  Does that user work OK?
    You will need an admin account to fix this issue, please create one & leave the home folder for the admin on the main boot disk.
    Do you have any data that you need within the current home folder (the new one inside the Data folder)?
    Your original settings will be saved in the original home folder, but that is not being used at present. If you can abandon the new home folder here is what I suggest…
    Disable automatic login if it is enabled - you need to stop logging in as 'juliusson' whilst you fix this, it can be re-enabled when it is fixed.
    Create a new admin user account in 'System Preferences > User & groups', this is as a backup to allow you to manage the computer whilst fixing the home folder.
    Reboot, login as the new admin account.
    In 'System Preferences > User & groups', unlock the panel with the admin password (click the padlock)
    Select the 'juliusson' user account, right click (or ctrl+click) the name & select 'Advanced Options…' in the popup.
    Look at the 'Home Directory:' path. That needs to be set to the old location. By default that should be /Users/juliusson, yours looks like it should be  /Volumes/Data/juliussonIf you are unsure use the Finders 'Go menu > Go to Folder…' to open '/Volumes/Data/juliusson' confirm that it contains some of your old user files.*
    Save the correct path in the 'Home Directory' setting & reboot (do not edit any other Advanced fields)
    *NOTE: In steps 6 you probably will not see the correct path since the Data folder is occupying the same location that the Data disk uses. To get around this you will need to rename the Data folder insider /Volumes, and reboot. I'd suggest you move the user home inside the Data folder to a new location as a backup & then delete the entire Data folder in /Volumes/. A reboot will be required to allow the Data disk to mount into the /Volumes/Data location. Once it mounts correctly login should work.
    You can merge the home folders as Barney suggested, but this is probably safest via a manual approach unless you are willing to spend time & are experienced in comparing files with apps the can do selective copying (ChronoSync for example).
    Please ask if you are unsure about any of this - it's major changes to your user data setup - a full backup is essential before beginning. Setting the home path is the correct way to relocate a home folder once the data is moved.

Maybe you are looking for

  • Trying to access ADP site, it's a secured site, but after clicking a specific link where displays a frae, it doesn't show the contents.

    I use ADP site to see payslips, most pages under ADP site work fine; however, the payslip page won't come up right. A little bit of the page appears but the frame in the middle of the page is blank.

  • Problem installing agent on new database server

    Agent11g> ./runInstaller -silent -responseFile /u01/oemAgentStage/linux_x64/response/rac1_additional_agent.rsp Starting Oracle Universal Installer... Checking Temp space: must be greater than 150 MB. Actual 12211 MB Passed Checking swap space: must b

  • Tiimeline on second monitor

    I just got a new iMac retina display and I want to use Final Cut Pro X on it.  Is there a way to set the timeline to the second display? 

  • Alerts through mail

    Hi all,               could anyone explain how to configure alerts ti mail(i mean i want to send alert and warning to a mail id),how can i achieve this one. thanks in advance. regards Joshi

  • Iphone 3g s order.

    ok i ordered my iphone 3g s on june 10th and it still has not shipped. i ordered a black 32gb iphone and it says prepared to ship. it has said that for about two days... when is it going to ship.