Stub referance to calss by package full path

i managed to create client stubs from xml configuration file...
(i prefer to do that directly from the WSDL file)
it's working fine..
i am importing the generated stub files to eclipse IDE
when i like to change the pakage name were the stub files located
i am getting errors
because the stubs files reference each other by full package name
example :
system.service.SystemImplServise = new .....the is an option or way to cancel that?
thanks..
i got lot of questions :)

Are you using JAXRPC based service or JAXWS based service ?
For JAXWS based services, you can use customization files when you run wsimport against the WSDL. HEre is a sample customization file :
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<bindings
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
wsdlLocation="./SubtractNumbers.wsdl"
xmlns="http://java.sun.com/xml/ns/jaxws">
<bindings node="ns1:definitions"
xmlns:ns1="http://schemas.xmlsoap.org/wsdl/">
<package name="endpoint"/>
</bindings>
<bindings node="ns1:definitions/ns1:types/xsd:schema[@targetNamespace='http://duke.org']" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://schemas.xmlsoap.org/wsdl/">
<jaxb:schemaBindings>
<jaxb:package name="endpoint"/>
</jaxb:schemaBindings>
</bindings>
</bindings>

Similar Messages

  • How can i get the document full path in S_TieDocument?

    I create a new S_TieDocument and override 2 methods:
    extendedPreInsert and extendedPostInsert
    how can i get the document full path in these 2 methods?
    (e.g. if i use the system user to upload a new file named 'test.file' in system root path /home/system, and i want to get the document full path '/home/system/test.file', how to get it?
    anybody know it, pls tell me, thanks a lot.
    java source is as below
    package oracle.ifs.server;
    import oracle.ifs.beans.Document;
    import oracle.ifs.beans.DocumentDefinition;
    import oracle.ifs.beans.LibraryObjectDefinition;
    import oracle.ifs.beans.LibrarySession;
    import oracle.ifs.beans.PublicObject;
    import oracle.ifs.common.AttributeValue;
    import oracle.ifs.common.IfsException;
    import oracle.ord.itech.cmsdk.ws.view.EmbeddedCMSDKWebServicesWSStub;
    public class S_TieDocument extends S_Document
    public S_TieDocument(S_LibrarySession session, S_LibraryObjectData data)
    throws IfsException
    super(session, data);
    public S_TieDocument(S_LibrarySession session, java.lang.Long classID)
    throws IfsException
    super(session, classID);
    // Overrides
    public void extendedPreInsert(OperationState opState,
    S_LibraryObjectDefinition def)
    throws IfsException
    // Always call super
    super.extendedPreInsert(opState, def);
    // Get the LibrarySession
    S_LibrarySession session = getSession();
    def.setUserSetAttribute("CUSTOMATTRIBUTE",
    AttributeValue.newAttributeValue(""));
    //how can i get the document file full path here?
    public void extendedPostInsert(OperationState opState,
    S_LibraryObjectDefinition def)
    throws IfsException
    // Get the LibrarySession
    S_LibrarySession session = getSession();
    //how can i get the document file full path here?
    }

    In the new version of Numbers this option is not available.  You will have to type the file name into the header yourself.  You can post feedback to Apple using the menu item "Numbers > Provide Numbers Feedback"
    or use Numbers2.3 which should be in the folder "/Applications/iWork '09" if you previously had it installed

  • How to get full path using HTP.PRINT(' "input type ="file") ....

    Hello everybody,
    I am working on uploading file from page to another one using HTP package, but whenever I submit the form, it only takes the filename without the full path.
    for example :
    if i sent 'c:\dir\a.txt' , the other page receives file parameter as 'a.txt'
    the code is here
    PROCEDURE upload(appno in varchar2,wsct in varchar2) AS
    l_real_name VARCHAR2(1000);
    BEGIN
    HTP.htmlopen;
    HTP.headopen;
    HTP.title('Test Upload');
    HTP.headclose;
    HTP.bodyopen;
    HTP.header(1, 'Test Upload');
    HTP.print('<form action="https://ssltrng.uaeu.ac.ae/trng/document_api.upload1" method="get">');
    HTP.print(' File to upload: <input type="file" name="file" >
    HTP.print(' <input type="submit" value="Upload">');
    HTP.print('</form>');
    HTP.bodyclose;
    HTP.htmlclose;
    END upload;
    the other page see it as
    file is 'Water lilies.jpg'
    Thanks
    Edited by: dtabed on Mar 30, 2011 1:02 AM

    Do not understand the problem.
    The code you've posted is a PL/SQL web enabled procedure that produces a dynamic HTML page. This page contains a form. And a full URL reference to the CGI that will process the form's data.
    This is unusual - as it seems to be that the form is submitted across domains and web servers.. You usually refer to a local CGI procedure to deal with a form - no need for a fully qualified URL that includes web server and domain name.
    If the CGI procedure that receives the form is also a PL/SQL web enabled procedure, that the uploaded file will be placed in the documents table (as defined in the DAD alias) by mod_plsql, prior to the web enabled procedure being called. The documents table will contain the Mime type, file name, file contents and other details.

  • Creating packages with path's

    Can I create a package with a full path? i.e. the exact location of the package?
    Maths in "C:\java\maths> "
    so that... even if a package wishing to call it is not in the tier bellow, it still refferences it.
    Additionaly, when creating a package, can it be created with a full file path? I am still having problems with accessing classes in the same package.
    Any ideas?
    Cheers

    Can I create a package with a full path? i.e. the
    exact location of the package?
    Maths in "C:\java\maths> "No, that's not valid syntax.
    so that... even if a package wishing to call it is not
    in the tier bellow, it still refferences it.You just need to make sure you include the parent directory of the package, in the classpath. And that the actual class file resides in the appropriate subdirectory of that parent directory (follows the package name)

  • How can I paste the full path name into the find file dialog?

    I've copied a full path name using CMD-C.
    Now I click on a link in some web page (does not matter which one) which lets me upload a file.
    The standard apple file selector dialog pops up (sorry don't know the official apple name for this dialog), to let me navigate and select the file.
    How can I paste the file name?  Or how can I tell the dialog popup to navigate to the file whose full path name is in the clipboard?

    Here is an image showing the file browser dialog I'm referring to.

  • Full path and filename in wwv_flow_files after upload from UNC path in IE

    I have a page with a file browse item. After page submit I move the file from wwv_flow_files to another table.
    Normally the column wwv_flow_files.filename only contains the filename. However, when using IE9 and selecting a file from an UNC path the column contains the full path+filename.
    Does anybody have an idea what happens here?
    How can I make sure I only get the filename?
    Using Apex 4.02.007
    Edited by: Rene W. on Feb 28, 2013 6:39 AM

    Rene W. wrote:
    I have a page with a file browse item. After page submit I move the file from wwv_flow_files to another table.
    Normally the column wwv_flow_files.filename only contains the filename. However, when using IE9 and selecting a file from an UNC path the column contains the full path+filename.
    Does anybody have an idea what happens here?
    How can I make sure I only get the filename?For security/privacy reasons recent versions of browsers by default do not send local file path information from File Browse items to the server, nor expose the file path in the control's JavaScript methods. Firefox, Safari and Chrome only provide the filename. IE6 & IE7 still yield the path in Windows format. IE8+ and Opera have adopted an irritating approach of replacing the path with a wholly imaginary "C:\fakepath\"—and this monstrosity has sadly had to be enshrined in the HTML spec. A reasonably compatible way to strip the path in JS is provided there, or you should be able to do it fairly easily in PL/SQL when moving the file.
    The fact you are getting the full path suggests that the IE security config setting "Include local directory path when uploading files" (or IE9 equivalent) is used in your browser/environment to enable the path to be exposed in IE. This may be necessary to support dismal legacy applications. Consult whoever is responsible for browser security configuration at your site to see why/if this setting is necessary.

  • Get filename and full path from Forms on local directory in MS Windows

    I am writing a Form, when clicking a Push Button, I can click on sub-directory and select a filename, and the filename and the full path are then passed to a Text Item.
    Does any one know how this could be done?

    which version of forms?
    webforms you can use the webutils bean thing.
    client server forms there is/was the hierarchical tree object

  • How do I obtain the full path string for my file?

    Many Mac applications are particularly bad at guessing what folder I want to grab a file from.  As a result, I waste a great deal of time fishing all through my directory tree in order to put and take my files in and from the right location.  It does seem to be better is some applications but still the nuisance is an issue.  Of course in Windows this can happen too except there I have a workaround to help out the foolish applications.  I can copy the full literal path to the clipboard from Explorer.  Then when the file access dialog comes up I can paste the full literal path ahead of the filename and snap to the correct folder.  On my mac, I have had mixed success approximating this strategy.  Sometimes, if the target folder isn't empty, I can use the Finder to browse to the target folder and open the Get Info dialog for a file and copy the full path from within that dialog.  This does not work though when the folder is empty and Mac does not support the create new text file on the fly feature.  Furthermore, I have noticed some strange behavior even when I do have the full path copied.  One such example is using TextEdit, pasting this full path has resulted in the application using the full path as a really long filename for the new file which still resides in the folder the application incorrectly assumed.
    There is a list box in most Mac file access dialogs with _some_ of the recent folders I accessed listed for quick selection but nine times out for ten the folder I just came from isn't among them.  That detail really surprises me.  Do regular Mac users have habits that prevent problems like this, or is there a better way to _bank_ a literal folder location I know I'll need to use soon and often, or do I just need to get used to fishing for folders during file access?

    Welcome to Apple Support Communities. Most of us are users here.
    Create folders and drag those 'frequently used' folders to the left-hand FAVORITES column/sidebar in Finder.
    Then just drag your files to the destination folders, or click on them to select them as destinations from your applications.
    When you no longer need these folders, right-click to remove them from the FAVORITES sidebar.
    They'll still be in the original location where they were created, just no longer visible in the sidebar.
    Another thing to note is that the full path of your current destination is shown at the bottom of the screen in Finder. In this case Macintosh HD, Users, (Home folder name), Desktop.

  • How can I show the full path in terminal?

    By default I only see the current folder
    How can I toggle it so that I see the full path instead?
    I say toggle - I'd like to switch on and off
    Thanks
    Omar

    @arthur, awesome! thats better than what i was trying to do!
    i only wanted to get the path so that i could cd to it
    but then i have to add quotes around because of spaces
    the method u suggested escapes all required chars and means i can just type cd and then drag the folder and then press enter
    @barney: super helpful - i need to re-remember my unix commands. lol

  • Full path mapping not working for Taxonomy values

    Hi Friends,
    I'm trying to update a main table field, which is of type Lookup [Taxonomy]. The taxonomy table has a 5-level hierarchy, with two columns, Code (Display Field 1) and Name (Display Field 2). There are no attributes maintained.
    001, A   [Remote Key : 001] <ROOT NODE> {Level 1}
    |---000, A1   [Remote Key : 000]  {Level 2}
          |---001, A2   [Remote Key : 001]  {Level 3}
                |---001000, A3   [Remote Key : 001000]  {Level 4}
                |---000102, SYST [Remote Key : 000102]  {Level 5}
                |---001001, A4   [Remote Key : 000101]  {Level 4}
                |---000102, SYST  {Level 5}
    |---001, B   [Remote Key : 001]  {Level 2}
          |---001, B1   [Remote Key : 001]  {Level 3}
                |---001000, B2   [Remote Key : 001000]  {Level 4}
                |---000102, SYST  {Level 5}
                |---001001, B3   [Remote Key : 000101]  {Level 4}
                |---000102, SYST  {Level 5}
    The figure, unfortunately doesn't come up right, so I've indicated the levels of the nodes.
    The remote keys have been maintained at all the levels. I've also set my Configuration Options settings for Hierarchy Values Automap to Fullpath. However, when I try to do an "Automap", the values are being mapped to the wrong leaf node, taking only the leaf node remote key, rather than following the full path. The leaf node value (000102,  SYST) repeats multiple times, and the remote key could be maintained only for one of them. But instead of following the hierarchy, the mapping happens to the value for which remote key was maintained, here  001->000->001->001000->000102, no matter what the hierarchy is.
    Am I missing something? Any help would be appreciated.
    Regards,
    Anil Madhavan
    Edited by: Anil Madhavan on Jan 20, 2010 8:48 AM
    Edited by: Anil Madhavan on Jan 20, 2010 9:25 AM

    Hello Anil,
    As for Hierarchy field using leaf nodes only for matching - this is the current design and from memory allocation point of view, I think it is reasonable (keeping the full path to the Node will use huge amounts of memory).
    they way workaround this is by adding the code field to the matching step, this will allow you to make sure that the currect nodes are being mapped.
    Hope this information helps,
    Idan

  • Using Relative Path instead of Full Path OMBPlus

    Can we use relative paths in OMBPlus scripts instead of full paths. For example all my OMBplus (tcl) scripts are in folder;
    C:\tfsroot2\Interfaces and Extracts\branches\Interfaces and Extracts1.1\000 - OWB Prototype\deploy\ora.stg
    and the MDX file I would like to deploy is in
    C:\tfsroot2\Interfaces and Extracts\branches\Interfaces and Extracts1.1\000 - OWB Prototype\deploy\ora.stg\scripts\dwextract\tables
    but when I try to use
    OMBIMPORT MDL_FILE '../scripts/dwextract/tables/$tblName.mdx'
    instead of
    OMBIMPORT MDL_FILE 'C:/tfsroot2/Interfaces and Extracts/branches/Interfaces and Extracts1.1/000 - OWB Prototype/deploy/ora.stg/scripts/dwextract/tables/$tblName.mdx'
    It does not work.
    I use
    call "C:\OraHome_1\owb\bin\win32\OMBPlus.bat" "C:\tfsroot2\Interfaces and Extracts\branches\Interfaces and Extracts1.1\000 - OWB Prototype\deploy\ora.stg\OMB_DEPLOY_TBL.tcl" XTRCT_WRK_INPUT_FILE
    in order to execute.
    I think it is because It set the OMBPlus.bat location is a base folder. Any way to overcome this issue and use relative paths instead of the full path?

    OK, a couple of things. First, you need to remember that TCL treats back-slashes as an escape character. Always use forward slashes in your paths, or double up the back slashes .
    So, this should work:
    CD "C:\tfsroot2\Interfaces and Extracts\branches\Interfaces and Extracts1.1\000 - OWB Prototype\deploy\ora.stg"
    call OMBPlus.bat "C:\\tfsroot2\\Interfaces and Extracts\\branches\\Interfaces and Extracts1.1\\000 - OWB Prototype\\deploy\\ora.stg\\OMB_DEPLOY_TBL.tcl" XTRCT_WRK_INPUT_FILEor this:
    CD "C\tfsroot2\Interfaces and Extracts\branches\Interfaces and Extracts1.1\000 - OWB Prototype\deploy\ora.stg"
    call OMBPlus.bat "C:/tfsroot2/Interfaces and Extracts/branches/Interfaces and Extracts1.1/000 - OWB Prototype/deploy/ora.stg/OMB_DEPLOY_TBL.tcl" XTRCT_WRK_INPUT_FILEAs an FYI for OMB, if you are prone to doing a lot of scripts and so building libraries of common functions, you can also easilly use the "file" command in order to determine the current directory at runtime so you can plunk your script anywhere with it's required libraries and it will be able to source them at runtime.
    For example, all our scripts have this basic bit of code at the beginning so we can pass them between developers and it doesn't matter where anyone put their script directory - the scripts will find the libraries as long as they are co-located:
    #  Get Current Directory and time
    set dtstmp     [ clock format [clock seconds] -format {%Y%m%d_%H%M}]
    set scrpt      [ file split [file root [info script]]]
    set scriptDir  [ file dirname [info script]]
    set scriptName [ lindex $scrpt [expr [llength $scrpt]-1]]
    set cnfg_lib "$scriptDir/ombplus_config.tcl"
    set owb_lib  "$scriptDir/omb_library.tcl"
    set sql_lib  "$scriptDir/omb_sql_library.tcl"
    #  Import Lbraries
    #      Assumes that owb_config, omb_library, and omb_sql_library are in the same directory as this
    #      script.
    #get config file
    if [catch { set retstr [ source $cnfg_lib ] } errmsg] {
       puts "**********************************************************************"
       puts "* Libraries are missing from the current directory. Exiting.... *"
       puts "**********************************************************************"
       return -code 2
    #get standard library
    source $owb_lib
    source $sql_lib
    #  Set Logfile
    #    This will overwrite anything set in the config file.
    set LOG_PATH "$scriptDir/logs"
    file mkdir $LOG_PATH
    set    SPOOLFILE  ""
    append SPOOLFILE $LOG_PATH "/log_"  $scriptName "_" $tabName "_" $dtstmp ".txt"
    # Now the main script body goes from here.Cheers,
    Mike
    Edited by: zeppo on Aug 4, 2009 7:02 AM
    Edited by: zeppo on Aug 4, 2009 7:03 AM

  • In IE, while saving a file it is taking the full path with the file name

    Hi,I am using Tomcat5.5. In one page of my website, there is code responsible for saving an image from the server to the client machine. whenever i am doing this Mozila the file is getting saved with desired name. But in IE it takes full path of the file in the server directory along with its name while being saved in the client machine.Below is the code responsible for this. Plz Help.
    DiskFileUpload fu = new DiskFileUpload();
            List fileItems = fu.parseRequest(request);
            Iterator itr = fileItems.iterator();
            while(itr.hasNext())
              FileItem fi = (FileItem)itr.next();
              //Check if not form field so as to only handle the file inputs
              //else condition handles the submit button input
              if(!fi.isFormField())
                if(fi.getFieldName().equals("FileImage"))
                    if(fi.getSize() < 300000)
                      if(fi.getSize()!=0)
                            java.util.Random rd = new java.util.Random();
                            int random = rd.nextInt(100000);
                            String img_code = random + "";
                                  if(fi.getContentType().equals("image/jpeg") || fi.getContentType().equals("image/pjpeg") || fi.getContentType().equals("image/gif") || fi.getContentType().equals("image/png") || fi.getContentType().equals("image/x-png") || fi.getContentType().equals("image/bmp") || fi.getContentType().equals("image/wmp") || fi.getContentType().equals("application/octet-stream") || fi.getContentType().equals("audio/wav") || fi.getContentType().equals("audio/x-wav") || fi.getContentType().equals("audio/AMR") || fi.getContentType().equals("audio/amr") || fi.getContentType().equals("audio/mpeg") || fi.getContentType().equals("audio/mp4a-latm") || fi.getContentType().equals("audio/x-realaudio") || fi.getContentType().equals("audio/x-pn-realaudio") || fi.getContentType().equals("audio/x-pn-realaudio-plugin") || fi.getContentType().equals("audio/midi") || fi.getContentType().equals("audio/mid") || fi.getContentType().equals("audio/x-midi") || fi.getContentType().equals("audio/x-mid") || fi.getContentType().equals("audio/x-tone-seq") || fi.getContentType().equals("audio/imelody")
                                       || fi.getContentType().equals("video/mp4v-es") || fi.getContentType().equals("video/mp4") || fi.getContentType().equals("video/3gp") || fi.getContentType().equals("video/3gpp") || fi.getContentType().equals("video/mpeg") || fi.getContentType().equals("video-h263-2000"))
                                   System.out.println("Content from FileItem :  "+fi.getContentType());
                              File tempfile = new File(fi.getName());
                                    String imageFile=tempfile.getName();
                                    out.println("imageFile:" +imageFile);     
                                   imageFile= imageFile.replace(':','_');
                                   imageFile=imageFile.replace('\\','_');
                                   imageFile= imageFile.replace('/','_');
                                   imageFile= imageFile.replace(' ','_');
                                   System.out.println(imageFile);
                                  out.println("imageFile:"+imageFile);     
                                   int extIndex=0;
                                   String ext="";
                                  extIndex = imageFile.lastIndexOf(".");
                                  ext = imageFile.substring(extIndex+1);
                                                   if( ext.toLowerCase().equals("jpg") || ext.toLowerCase().equals("jpeg") || ext.toLowerCase().equals("jpe") || ext.toLowerCase().equals("bmp") || ext.toLowerCase().equals("gif")|| ext.toLowerCase().equals("png") || ext.toLowerCase().equals("wbmp")
                                                      || ext.toLowerCase().equals("amr") || ext.toLowerCase().equals("mp3") || ext.toLowerCase().equals("mp2") || ext.toLowerCase().equals("mpga") || ext.toLowerCase().equals("wav") || ext.toLowerCase().equals("midi") || ext.toLowerCase().equals("mid") || ext.toLowerCase().equals("kar") || ext.toLowerCase().equals("ra") || ext.toLowerCase().equals("ram") || ext.toLowerCase().equals("rm") || ext.toLowerCase().equals("au")
                                                      ||  ext.toLowerCase().equals("3gpp") || ext.toLowerCase().equals("3gp") || ext.toLowerCase().equals("mpeg") || ext.toLowerCase().equals("mpe") || ext.toLowerCase().equals("mpg") || ext.toLowerCase().equals("mp4") || ext.toLowerCase().equals("movie") || ext.toLowerCase().equals("avi") || ext.toLowerCase().equals("qt") || ext.toLowerCase().equals("mov") || ext.toLowerCase().equals("viv") || ext.toLowerCase().equals("vivo"))
                              File fNew = new File(application.getRealPath("/userImages/"),img_code+"_"+imageFile);
    //                         ImagePath =  imagepath+img_code+"_"+tempfile.getName();
                             ImagePath =  imagepath+img_code+"_"+imageFile;
                                   System.out.println("Image PAth : "+ImagePath);
    //                          ImagePath =  fNew.getAbsolutePath();
                              //out.println(fNew.toString());
                              ImageName = fNew.getName();
                                    System.out.println("Image Name : "+ImageName);
                                    out.println("ImageName:" +ImageName);     
                              fi.write(fNew);
                                    else
                                           System.out.println("Invalid File Type : "+ext);
                                           Error = "1: Invalid File Type/Extension : "+ext;
                            else
                                Error = "2: File uploaded is not valid.";
                       System.out.println("Content from FileItem :  "+fi.getContentType());
                                System.out.println("invalid Content Type");
                         else
                                Error = "";
                    else
                       Error = "3: File uploaded is not valid. Make sure that the image size does not exceed 300KB";
                       System.out.println("File uploaded is not valid.");
              else
                   session.setAttribute(fi.getFieldName(),fi.getString());
    session.setAttribute("ImagePath",ImagePath);
    session.setAttribute("ImageName",ImageName);
    session.setAttribute("barcodepath",barcodepath);
    //Added by Mutharasu on 30/08/2005
    session.setAttribute("tagpath",tagpath);
    Title = (String) session.getAttribute("txtTitle");
    if(Title.length()==0)
      Error = " Please Enter KoolTag Title : ";
    Key = (String) session.getAttribute("txtKey");
    URL = (String) session.getAttribute("txtURL");
    System.out.println("Key: "+ Key +", URL:"+URL);
    System.out.println("trace 5");
    if (ImagePath.trim().length()==0 && ImageName.trim().length()==0) {
       if (Key==null && URL==null)
          throw new Exception("4: "+Error);
    }

    Hi Vigneshwara,
    Please reopen a new thread in
    ASP.NET Getting Started forum because I can't move it there.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Error while saving full path in Console properties

    Hi All,
    to open the mounted servers automatically from .mcs file i tried to change the target field in the console properties by R clicking and selecting properties from the console shortcut Icon from desktop
    i mentioned the full path with _f as prefix
    Eg: -F C:\documents and settings\SAP MDM Servers.mcs
    Error : "Name -f specified in the target box is not valid. make sure the path and file name are correct."
    Please help
    Regards,
    Sharma

    Hello Deepak
    I tried putting it as _F insted of  -f but i am getting the same error. i have saved it on the desktop and i am mentioning the complete path of the .mcs file.
    i am still getting the same error
    Regards,
    Sharma

  • Mobile-accounts FULL PATH badboy

    Our goal is to get Mobile Accounts with Portable Home Directories working. The home folders are stored on an external hard drive on Mac OS X Server 10.6.3. It's more or less working... but not quite ARGHH! HELP!!
    The short question is: What value do I use for the 'full path'
    The obvious answer, causes problems.
    THE GORY DETAILS (+aka. 'argh!!'+):
    Since all the files for user1 are stored on macsrv1 in /Volumes/team1/users/user1 I believe that in WGM I should have:
    Share Point URL: afp://macsrv1.disney.ch/users
    path to home: user1
    full path: /Volumes/team1/users/user1
    but when I try to log onto user1 on mac1, for the first time, it fails.
    In /var/log/secure.log I read +"user1 not known"+.
    And +"Could not get the user record for 'user1' from Directory Services"+
    (see *error1 at the bottom of this msg)
    IF I CHANGE the full path to:
    full path: /Network/Servers/macsrv1.disney.ch/users/user1
    THE LOGIN WORKS (I'm asked if I want to create a mobile account and when I say yes, a local folder is created on mac1, and any syncing does indeed cause files to appear on macsrv1 in /Volumes/team1/users/user1
    HOWEVER (+aka. Oh no!+):
    When the user does an ssh into macsrv1, his home directory (cd ~ or echo $HOME) is /Network/servers/macsrv1.disney.ch/users/user1 which is really just /users/users1 which is a virgin/template-like folder.. certainy not /Volumes/team1/users/user1
    BUT (goodnews here)
    If I now set the full path back...
    full path: /Volumes/team1/users/user1
    Everything works. Loggging into mac1 ok. SSHing into macsrv1 ok.
    But logging into mac2 fails (until I switch out the full path again)
    *a. WHAT SHOULD BE THE CORRECT VALUE FOR FULL PATH?*
    b. If it should be /Volumes/team1/users/user1 then how can I convince the client macs to create the mobile account?
    2. I have a 2nd question concerning the automount re-mounting the drive... causing a double mount! I've described the problem here: http://discussions.apple.com/thread.jspa?threadID=2461695&stqc=true
    I've hunted through the forums, where appartently the answer lies, without success. Please help!
    /shawn
    THANKS FOR ANY INSIGHT/help.
    Helpers get free beer if they come to Switzerland.
    p.s. I might add that the afp Share point on macsrv1 for /Volumes/team1/users is called 'users' (configured via WGM). Does that help? Maybe there is some weird conflict between there existing a /Users in root, and there being a mount called 'users'?
    *error1:
    After the login window, the user is informed that "Zou are unable to log into the user account. An error has occurred". In system.log on mac1 I read +"edu.mit.Kerberos.CCacheServer[927]: launchctl start error: No such process"+
    +edu.mit.Kerberos.CCacheServer[927]: launchctl start error: No such process+
    Message was edited by: DrKdev

    Other observations:
    *1. from /Library/Logs/DirectoryService/DirectoryService.error.log*
    2010-06-18 14:04:11 CEST - T[0xB0185000] - Misconfiguration detected in hash 'Global UID':
    2010-06-18 14:04:11 CEST - T[0xB0185000] - User 'user1' (/LDAPv3/macsrv1.disney.ch) - ID 1035 - UUID 80699B6C-A90E-4D2F-9B07-FB78F72E9709 - SID S-1-5-21-4063190502-2217233148-2094676766-3070
    *2. user IS showing up in the login window.*
    If I configure the login window to show all users (including network users), then user1 does indeed show up.
    *3. Logging into user1 via ssh works.*
    *4. dscl on macsrv1*
    dscl /LDAPv3/127.0.0.1 -list /Users
    does indeed show user1 (and any other user I create)
    So why can't I login/create user1 on the client mac without toggling the FULL PATH to /Network/Servers/macsrv1.disney.ch/users/user1 first? arghh!

  • How to get the full path of the fmx's directory.

    Hi all,
    I will ship my project to a customer. So I must install forms runtime at the customer's machine.
    I put all of the fmx files of my project into a certain directory at the customer's machine, and I create a desktop shortcut of the forms runtime. In the "start in" field of the shortcut property I put the full path of the directory where I put the fmx files. And in the target field of the shortcut property I put after the ifrun60.exe the name of the fmx file which to call first.
    Now , in one of my forms file I want to get the full path of this directory because I must call Ora_Ffi.Load_Library. And the library which I want to load resides on that directory.
    So how to get programatically the directory where the fmx files reside.
    I know that there is the registry entry FORMS60_PATH, but we plan to ship many projects to that customer; so if I use the FORMS60_PATH variable then there will be an error because there will be many directories. And the customer can launch many of the projects at the same time.
    So how to get it.
    Thank you very much indeed.

    If you are using the d2kwutil library, then you can use the win_api_environment.Get_Working_Directory() function.
    If not, I doubt that there is anyway to get it since the get_application_property(current_form) does not return the full path of the form as it used to in prior versions of Oracle forms such as 4.5.

Maybe you are looking for