Upload client to server virtual directory - Urgent

Hai experts,
Now i am doing a intranet project.
In that project, user has to upload his
own datas. That data has to be stored in
my virtual directory(c:\ramesh). From the
virtual directory i will take the user
files thru my procuedures.
How to copy the client file to my virtual
directory thru Portal.
It is very urgent me, Please give me
any solution
Regards
Ramesh.G

CGI PERL Example to Upload Files
Step 1:
add two directories on httpd.conf file:
/example_cgi/html/ NR /html/
/example_cgi/cgi-bin/ CR /cgi-bin/
Restart Apache.
Step 2:
Copy the ex.html to the /example_cgi/html/ directory.
Copy the ex.pl to the /example_cgi/cgi-bin/ directory.
(both files are listed in the bottom of this NOTE)
Step 3:
Edit the ex.pl file to change the destionation directory on the Web Server,
the user that launched the file must have written permissions in this
directory. Set execute permissions on this file via chmod. Change also the
first line of the file to the directory where you installed the PERL
interpreter. Also change the donepage, to some result page that you want.
Step 4:
Call the page, by using http://host:port/html/ex.html, browse and find 1 or 2 files in the local
system, and press the Upload button, the files will be written in the Web
Server machine in the directory specified in the ex.pl file.
Files:
ex.html:
<html>
<body>
<form method="POST" action="/cgi-bin/ex.pl" ENCTYPE="multipart/form-data">
File 1:
<input type="file" name="FILE1">
<br>
File 2:
<input type="file" name="FILE2">
<br>
<input type="submit" value="Upload!">
</form>
</body>
</html>
ex.pl:
#!/usr/local/bin/perl
## Path to where you want your files written to.
## Attention: do not use a trailing slash
$basedir = "/tmp";
## The page you wish it to forward to when done:
## I.E. http://www.mydomainname.com/thankyou.html
$donepage = "http://www.oracle.com/";
# Do you wish to allow all file types? yes/no (no capital letters)
$allowall = "yes";
# If the above = "no"; then which is the only extention to allow?
# Remember to have the LAST 4 characters i.e. .ext
#$theext = ".gif";
use CGI;
$onnum = 1;
while ($onnum != 11) {
my $req = new CGI;
my $file = $req->param("FILE$onnum");
if ($file ne "") {
my $fileName = $file;
$fileName =~ s!^.*(\\|\/)!!;
$newmain = $fileName;
if ($allowall ne "yes") {
if (lc(substr($newmain,length($newmain) - 4,4)) ne $theext){
$filenotgood = "yes";
if ($filenotgood ne "yes") {
open (OUTFILE, ">$basedir/$fileName");
print "$basedir/$fileName<br>";
while (my $bytesread = read($file, my $buffer, 1024)) {
print OUTFILE $buffer;
close (OUTFILE);
$onnum++;
print "Content-type: text/html\n";
print "Location:$donepage\n\n";
Good Luck.

Similar Messages

  • Migration from 2003 - 2010, OAB errors on client, and OAB virtual directory does not contain any files.

    Migration from 2003 - 2010, OAB errors on client, and OAB virtual directory does not contain any files. 

    Hi,
    Please re-create the Outlook profile to have a try. If the issue persists, we can do the further checks in Exchange server.
    Please make sure you have changed the OAB generation server to Exchange 2010 and enable Web distribution on the Exchange 2010 Client Access server:
    Move-OfflineAddressBook "Default Offline Address List" -Server <MBX2010>
    If all configurations are correct, please check whether there is any folder in the following path in Exchange sever 2010:
    a. OAB generation in Mailbox:
    \\Program Files\Microsoft\Exchange Server\V14\ExchangeOAB
    b. OAB distribution in Client Access:
    \\Program Files\Microsoft\Exchange Server\V14\ClientAccess\OAB
    Thanks,
    Winnie Liang
    TechNet Community Support

  • Problem while creating an OU from LDAP client, in Oracle Virtual Directory

    Hi,
    1. I have created a Custom Adapter with root (i.e. dc=mycompany,dc=co,dc=in)
    2. Trying to create an "OU" under these above root (i.e. ou=test,dc=mycompany,dc=co,dc=in) using the LDAP client.
    I have given following inputs for the second step:
    Dn: ou=test,dc=mycompany,dc=co,dc=in
    ou=test
    objectClass: top
    objectClass: organizationalunit
    When I try to perform second step with above inputs its gives following error
    "LDAP Error 32 : No Such Object"
    Same inputs is valid for SunONE directory server.
    Is the above approach is valid for Oracle Virtual Directory?
    Does any one faced same problem before?
    Regards,
    Hardew

    You're going to have to install the Oracle client on the Win2000 box before doing anything else. Once you've done that, simply add a TNS name that points to the database on the Solaris box (the Net8 Configuration Assistant) can walk you through this. Finally, you'll go to the ODBC Data Source Administrator and create a new DSN.
    Note that if you install the latest ODBC driver, the 'service name' text box that you have to fill in when you actually create the DSN has been replaced with a combo box, which should make the process a little easier.
    Justin

  • How to upload file to server physical directory

    Dear Sir,
    My Software Details:
    Oracle9i Release 1
    Oracle9iAS 1.0.2.2.2
    Solaris 8
    I have a web application developed using PL/SQL.
    How do i upload a file from user to a server physical directory through Oracle9iAS without storing in database?
    I can do this if file is uploaded to a 9ias upload table.
    But i'm looking for solution on uploading file straight to the physical server directory.
    Please advise.
    Thanks.
    Regards,
    Jap Boon Churn

    Hi Jap,
    You won't be able to do this with modplsql if that is what you are asking. modplsql only uploads file into the database.
    With that said, however, you can write your own CGI/Servlet/Perl program that does the uploading of files into the server physical directory. In your program, you will need to handle HTTP POST requests so that you can parse out the file contents and write it out onto the file system.
    I am sure there is already some CGI/Servlet/Perl program out there that does this. If you search on Google, you should be able to find some and modify it to your needs. Hope that helps. Thanks.
    Eric.

  • Exchange 2010 - Virtual Directory Internal & External URL's with Wildcard Cert

    Hi Guys
    I am trying to determine if my Exchange 2010 server Virtual Directory URL's are setup according to best practice. I'm sure anyone with good Exchange experience will instantly be able to tell me if my Virtual Directory DNS is correct or could cause issues.
    Scenario:
    Hosted Exchange 2010 SP1. Multiple client mail domains hosted
    2x CA, 2x HT, 2x MB, 2x DC
    Wildcard *.example.co.za certificate being used on CA servers
    AD domain is he.example.za.net
    CA Server naming example: ca1.he.example.za.net, ca2.he.example.za.net
    he.example.net DNS is done by DC servers
    External name used by clients: outlook.example.co.za (For Outlook setup and OWA access)
    outlook.example.co.za has two A records pointing to the CA IP's
    PROBLEM/CONCERN:
    We have a random OWA log out issue that we believe might be due to ambiguous DNS names being used.
    If I change the Virtual Directories External URL to be the FQDN of the server, we get a Certificate Error in clients (due to the .co.za Wildcard). The external URL clients use
    must be on .co.za.
    So are the Virtual Directory URL's causing the CA servers to loose track of who is authenticated in where (leading to OWA disconnection)? Is it fine to load balance the CA servers with the DNS the way we are doing currently? Any other issues you see?
    Current Virtual Directory settings:
    Note that they are identical on CA1 and CA2
    [PS] C:>Get-OabVirtualDirectory -server ca2 |fl *url
    InternalUrl : https://outlook.example.co.za/OAB
    ExternalUrl : https://outlook.example.co.za/OAB
    [PS] C:>Get-WebServicesVirtualDirectory -Server ca2 |fl *url
    InternalNLBBypassUrl : https://ca2.he.example.za.net/ews/exchange.asmx
    InternalUrl          : https://outlook.example.co.za/ews/Exchange.asmx
    ExternalUrl          : https://outlook.example.co.za/ews/Exchange.asmx
    [PS] C:>Get-ActiveSyncVirtualDirectory -Server ca2 |fl  *url
    MobileClientCertificateAuthorityURL :
    InternalUrl                         : https://outlook.example.co.za/Microsoft-Server-ActiveSync
    ExternalUrl                         : https://outlook.example.co.za/Microsoft-Server-ActiveSync
    [PS] C:>Get-EcpVirtualDirectory -Server ca2 |fl  *url
    InternalUrl : https://ca2.he.example.za.net/ecp
    ExternalUrl : https://outlook.example.co.za/ecp
    [PS] C:>Get-OwaVirtualDirectory -Server ca2 |fl  *url
    Url             : {}
    Exchange2003Url :
    FailbackUrl     :
    InternalUrl     : https://ca2.he.example.za.net/owa
    ExternalUrl     : https://outlook.example.co.za/owa
    [PS] C:>Get-AutodiscoverVirtualDirectory |fl *url, server
    InternalUrl :
    ExternalUrl :
    Server      : CA1
    InternalUrl : https://outlook.example.co.za/
    ExternalUrl : https://outlook.example.co.za/
    Server      : CA2
    REALLY APPRECIATE SOME EXPERT ADVISE. Thanks.

    Hi Kane,
    Why did not you use cas array to load balance client connectivity?
    If you create a CAS array, you can assign an virtual IP (VIP) for the CAS array FQDN (e.g CASarray.example.za.net), and then point all the Virtual Directories internal URL to CAS array fqdn;
    For external, you can point outlook.example.co.za to VIP which had been assigned to CAS array.
    I recommend you refer to the following article to understand CAS array:
    http://technet.microsoft.com/en-us/library/ee332317(v=exchg.141).aspx#CASarray
    http://blogs.technet.com/b/ucedsg/archive/2009/12/06/how-to-setup-an-exchange-2010-cas-array-to-load-balance-mapi.aspx
    http://blogs.technet.com/b/exchange/archive/2012/03/23/demystifying-the-cas-array-object-part-1.aspx
    Best regards,
    Niko Cheng
    TechNet Community Support

  • Client Access Server per AD Site?

    In a single forest, single domain, multi AD site environment, can users in Site-B using Outlook 2010 clients connect to Client Access array /OWA, Hub, Maibox in Site-A without the need to install a Client Access server in Site-B? or Do I actually
    have to install a Client Access server in Site-B?
    I've read this thread, but I am still a little confused
    http://social.technet.microsoft.com/Forums/exchange/en-US/03b835b4-7ecb-47ee-9b34-20cb2f70c3d4/client-access-server-active-directory-site?forum=exchangesvradminlegacy
    Per MS.."You must install the Client Access server role in every Exchange organization and every Active Directory site that has the Mailbox server role installed"
    http://technet.microsoft.com/en-us/library/bb124915(v=exchg.141).aspx.   My Site-B does not have a Mailbox server, so I don't really need to have a Client Access in Site-B, if I understand this correctly.
    Greatly appreciated if anyone can provide some clarification.
    Thanks!
    Note:  Right now, there's only a single, default site in AD (Site-A). I am planning to add a Site-B in AD and add a domain controller in Site-B, but a little confused about the exchange.  Just want to make sure that once I add Site-B to AD,
    users would still be able to access Outlook/Exchange properly.

    yes you don't need to. Your site B users will connect directly to the CAS on the Site-A, make sure the link speed is good enough.
    Where Technology Meets Talent

  • Urgent - Upload a file from Client to Server.

    Need to load a file from the client machine to the Server running 9iAS Rel. 1 on a HP Unix Machine.
    We are using Forms 6i. We have looked into the File Upload Utility demo code provided with Forms 6i - but have been unsuccessful in reusing it. PLS HELP

    Duplicate post.
    Upload a file from client to server by forms in E-Bussiness Suite R12
    Re: Upload a file from client to server by forms in E-Bussiness Suite R12.

  • EMC Crash when i try to - reset client access virtual directory

    Hi All,
    I have one exchagne server 2010 sp3 rollup 7 installed on server 2012R2 Std.
    When i try to reset client access virtual directory the MMC is crashing.
    In the event viewer i can find 3 error after to crash:
    1.
    The program mmc.exe version 6.3.9600.17415 stopped interacting with Windows and was closed. To see if more information about the problem is available, check the problem history in the Action Center control panel.
     Process ID: 2360
     Start Time: 01d04e7b531a4a0d
     Termination Time: 4294967295
     Application Path: C:\Windows\system32\mmc.exe
     Report Id: 69db84d3-ba91-11e4-80c3-0050569b5787
     Faulting package full name: 
     Faulting package-relative application ID: 
    2. 
    Application: mmc.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.Reflection.TargetInvocationException
    Stack:
       at Microsoft.ManagementConsole.Executive.MmcThreadMessageWindow.OnThreadException(Exception e)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       at Microsoft.ManagementConsole.Internal.SnapInMessagePumpProxy.Microsoft.ManagementConsole.Internal.ISnapInMessagePumpProxy.Run()
       at Microsoft.ManagementConsole.Executive.SnapInThread.OnThreadStart()
       at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
       at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
       at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
       at System.Threading.ThreadHelper.ThreadStart()
    3.
    Faulting application name: mmc.exe, version: 6.3.9600.17415, time stamp: 0x54504e26
    Faulting module name: KERNELBASE.dll, version: 6.3.9600.17415, time stamp: 0x54505737
    Exception code: 0xe0434352
    Fault offset: 0x0000000000008b9c
    Faulting process id: 0x2014
    Faulting application start time: 0x01d04e9e432feaef
    Faulting application path: C:\Windows\system32\mmc.exe
    Faulting module path: C:\Windows\system32\KERNELBASE.dll
    Report Id: b8276755-ba91-11e4-80c3-0050569b5787
    Faulting package full name: 
    Faulting package-relative application ID: 
    When i try to preform the task from EMC that installed on my PC (Win 7 SP1 x64) everything works fine
    Thank you.

    Hi Eliran,
    Thank you for your question.
    Are there any update recently?
    We could refer to the following steps to troubleshoot:
    1)disable A/V
    2) Run: DISM.exe /Online /Cleanup-image /Restorehealth
    http://support.microsoft.com/kb/947821/en-gb
    3) follow http://support.microsoft.com/kb/929833/en-gb to upload %WinDir%\Logs\CBS\CBS.log
    4) disable snap-ins exept DNS-snapin
    5) run SDP
    6) enable A/V
    We could also re-install .Net 4.0 to check if the issue persist by the following link:
    http://www.microsoft.com/en-us/download/details.aspx?id=17718  
    If the issue persist, we could install Exchange 2010 SP3 CU8 by the following link:
    http://www.microsoft.com/en-us/download/details.aspx?id=45225
    If there are any questions regarding this issue, please be free to let me know.
    Best Regard,
    Jim

  • How to define a virtual directory for 1virtual server?

    Hi there,
    The last part is always the hardest. I succesfully converted my Apache configuration to the SunONE setup but one section and I fail to grasp where I'm going wrong...
    SunONE Webserver 6.1SP5, I have quite a few virtual servers divided over several virtual classes. And now I'm trying to configure a 'virtual directory' (pfx2dir nametrans) limited to a single virtual server but no matter what I try I can't get it to work...
    In the administration guide I read about the NameTrans directive and how it should be used in the default object (in obj.conf ofcourse). So when I have something like this all works as it should, but for all virtual servers in the class:
    <Object name="default">
    NameTrans fn="pfx2dir" from="/files" dir="/opt/websites/catslair/data"
    </Object>So when reading up even more I came across the NSAPI programmers guide which explained that you can have both <Object> and <Client> tags. Because of the 'urlhost' parameter with the Client tag I figured that it should be possible to limit the NameTrans line mentioned above to but one virtual server:
    <Client urlhost="catslair.intranet.lan">
    NameTrans fn="pfx2dir" from="/files" dir="/opt/websites/catslair/data"
    </Client>But whenever I use this approach the server refuses to start and presents me with an error:
    [13/May/2006:16:38:10] config (19621): CORE3185: Invalid configuration: File /usr/local/sun/SUNWwbsvr/https-magi.intranet.lan/config/server.xml, line 178, column 99: HTTP3258: Error processing Mirrors.obj.conf line 51: HTTP2215: directive outside objectAt first I didn't understand exactly what it meant, I even stumbled upon a bug report which triggered the same error (http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4979377) but after reading up on this I can only conclude that NameTrans can only be used within an <Object> block. The manuals also hint into this direction since it becomes obvious that the preffered approach is using this in the default object.
    So picture my surprise when I came across http://docs.sun.com/source/817-6252/npgobjcn.html#wp1041206 in the NSAPI programmers guide, its past the table. One of the examples shows this approach:
    <Client odds="25%">
    NameTrans fn="redirect" from="/Pogues" url-prefix="http://pogues.example.com"
    </Client>Because I was sure about urlhost being a parameter for the Client tag I tried copying the above example, but when I give it a try I'm once again greeted with the error I mentioned earlier "directive outside object".
    So can anyone please point me in the right direction? Is it possible to setup a virtual directory for a single virtual server and if so how do I proceed since <Client> doesn't seem to work. thanks in advance for any tips you can give me.
    Message was edited by:
    Lion-O

    Thanks a lot for the example, that fixed the problem.
    I've been reading the NSAPI programmers guide several times now and I was under the impression that you should either use <object> or <client>, never thought about this approach. Now when I re-read it is makes sense, but wasn't very clear at first.
    I think I'll e-mail Sun to suggest an addition of the <Object> tag in their <Client> tag example (http://docs.sun.com/source/817-6252/npgobjcn.html#wp1045056) to make things a little more clear.
    Thanks again, now I can finally implement the final configuration settings and plan for the actual switch later this evening.

  • How can I get the server absolute path of virtual directory?

    Problem context:
    absolute path of my application at JRUN server is
    c:\testing
    nd url is
    http://kaspak/test
    ( kaspak is a machine local to server i-e client nd server r at same machine )
    I m uploading a file nd saving it at server.
    PROBLEM:
    server save my uploaded file at
    C:\Program Files\Allaire\JRun\servers\default
    [ a path where server is installed ]
    while I want to save it at directory
    c:\testing\uploadfiles
    How can I achieve this???
    waiting for quick reply..
    KasPak

    here is a function for which u said,
    protected void readAndSaveFile(MultipartInputStreamHandler in,
    String boundary,
    String filename,
    String contentType) throws IOException
    A utility method that reads a single part of the multipart request that represents a file, and saves the file to the given directory. A subclass can override this method for a better optimized or differently behaved implementation.
    again saving a file, or uploading a file is no problem,
    but saving a file at our desired location,
    nd this can only be done if we know reall/absolute path of our application at server,
    i-e we need an API which can tells the absolute path of our application.
    e.g
    our application url is http://kaspak/testcode
    we need its absolute mapping to directory on server
    e.g it it is at c:\testcode
    if we get the absolute path then we can pass it in above function or in File class constructor.
    isn't it??
    I think in this way i can save file at other location.
    But how i can get absolute path?????
    thanks for ur reply,
    nd waiting for ur reply again.
    wbw
    kaspak

  • MAPI over HTTP not working correctly, Outlook 2013 clients prompting for credentials during profile creation or opening depending on security of virtual directory

    ENVIRONMENT
    -1 Exchange 2013 SP1 CU7 server with all roles that is also a hybrid server with Office 365 tenant, mailboxes are all on premise only LYNC online is being utilized right now.
    -Exchange 2013 public folders
    -Mix of Outlook 2013 SP1 and Outlook 2010 SP3 clients all fully update to day as of Feb 2015
    Outlook anywhere is working perfectly across all clients both internally and externally using autodiscover.  Both Outlook 2013 and 2010 clients can open the program and create a profile automatically via autodiscover and no additional logon prompts
    are seen.
    We set the internal and external mapi virtual directory URLs to a valid URL that also matches the Exchange 2013 SSL certificate.  We set the security to ntlm, negotiate on the mapi virtual directory.  We reset IIS and enabled mapi over http in
    the org config.  We run in to problems here.
    Outlook 2010 clients appear to be working fine.  We can create a new profile and open and close Outlook without any logon prompts and verify that MAPIHTTP and Negotiate are used to connect to Exchange.
    Outlook 2013 clients are having problems.  As soon as we try to create a profile it says your administrator has made a change that requires you to restart outlook and then a windows logon prompt appears. If we authenticate Outlook will open and connect.
      This logon prompt should not occur.    We can confirm that it is connecting via MAPI HTTP and Negotiate.
    If we set the mapi virtual directory to NTLM only then a logon prompt also appears during every open of Outlook 2013.  We can confirm that it is trying to connect with MAPIHTTP via NTLM in the outlook connection test screen.
    I do not understand this behavior by Outlook 2013 which was supposed to be designed with MAPI HTTP in mind.  I would think the same issues would occur with Outlook 2010 but they do not.  I am not sure how to resolve this and I am looking for help.

    I have the same problem. Exchange and Outlook are both up to date. After creating a new profile Outlook prompts for username/password. A lot of users also get this prompt while
    working - the profiles have been "migrated" from Exchange server 2010. <o:p></o:p>
    Niko, as i can see in your screenshot you do not have Mapi over HTTP enabled. Why? You can change settings in the security tab – if you have Mapi over
    HTTP enabled all options are grayed out (please correct me if I
    am wrong):
    This is a very annoying thing – does anybody else have the same problem?
    Any suggestions on this?
    Marc

  • Virtual Directory Change from Oracle HTTP Server to Embedded PL/SQL Gateway

    We finally upgraded from htmldb 1.6 to ApEx 3.1.2 late last year. This was in conjunction with setting up a new server and installing Oracle 11g DB, while our production DB is still 10g. During this install, I opted for the Embedded PL/SQL Gateway, whereas our htmldb is running with the Oracle HTTP Server.
    During the conversion of one of our applications I learned that Virtual Directory references to #IMAGE_PREFIX# are no longer valid for custom CSS so I had to change an entry in the page templates that I'm using to use #WORKSPACE_IMAGES#. Now I am importing another application from our htmldb 1.6 environment to our ApEx 3.1.2 environment, and I have a new problem that I think is related.
    In this application we have been uploading report files for outside users to be able to download at their convenience. I think the upload is working OK, but when I try to download the report file I get the following:
    Not found
    The requested URL /apex/IMR.ofile was not found on this server.
    The download is accomplished with a link on an SQL Report region. The Column Link info is:
    Link Text = <img src="#IMAGE_PREFIX#edit_big.gif" border="0" alt="Icon 1">
    Target = URL
    URL = #OWNER#.ofile?p_file=#VIEW_REPORT#&v_auth=&APP_USER.
    When I change the Link Text to <img src="#WORKSPACE_IMAGES#edit_big.gif" border="0" alt="Icon 1"> I lose the Edit Icon image. However, what I'm really concerned about is the URL not found error
    Now, maybe I'm barking up the wrong tree, so if the problem isn't related to virtual directories, which tree should I be barking up?
    Any suggestion?
    Thanks,
    Gregory

    Is the IMR.ofile a custom package for downloading files? If so, you might need to add it to the wwv_flow_epg_include_mod_local function.
    I am not certain how this function also plays into the embedded pl/sql gateway, but do know it would affect this running through Oracle HTTP server when configured with the before proc.
    With the embedded gateway it may very well be that you need to add this package into the ACL for outside availability.

  • Problem register Oracle Virtual Directory to WebLogic - urgent ... pls help

    Hi,
    I'm a new to Oracle product and would like to install and run Oracle Virtual Directory for the following purpose:
    Using LDAP client that connects to OVD and to issue ldapsearch command line based on the attrbiutes and filters of each one of the two Directories behind the OVD..
    |-- Tivoli LDAP directory
    LDAP client -> OVD ---|
    |-- MS AD
    I have downloaded the identity management package 11g and install only the OVD on Windows 2003 standard machine.
    I then realized that I have to install the WebLogic package to have WEB UI to the OVD admin.
    So I downloaded the WebLogic 10.3.1.0 package and install it.
    I followed the installation instructions of
    'Installing and Configuring Only Oracle Virtual Directory Without a WebLogic Administration Domain' at http://download.oracle.com/docs/cd/E12839_01/install.1111/e12002/ovd.htm#CIHFFAFH
    and complete the installation.
    Notice that the OVD and the WeblOgic SW are installed on the same Windows machine.
    After that I had to register Oracle Virtual Directory with the WebLogic Administration Server.
    Running the command-line I got the following error:
    Deploying NonJ2EEManagement Application...Done
    Command failed: Exception while registering the instance
    Details are logged in C:\....\provision.log
    opmnctl registerintance: failed
    The provision.log file has the following exception call stack:
    Aug 18, 2009 4:08:05 PM oracle.as.config.provisioner.InstallerCmdLine logInitialCommand
    INFO: Start of command: [registerinstance, -adminHost, 127.0.0.1, -adminPort, 7001, -adminUsername, weblogic, -oracleHome, C:\oracle\product\11.1.1\OracleIDM_1, -oracleInstance, C:\as_admin\asinst_1]
    Aug 18, 2009 4:08:14 PM oracle.as.config.provisioner.InstallerCmdLine handleRunFailure
    SEVERE: Command failed:
    oracle.as.config.ProvisionException: Exception while registering the instance
         at oracle.as.config.impl.OracleASInstanceImpl.register(OracleASInstanceImpl.java:239)
         at oracle.as.config.provisioner.commands.RegisterInstanceCommand.execute(RegisterInstanceCommand.java:11)
         at oracle.as.config.provisioner.InstallerCmdLine.run(InstallerCmdLine.java:86)
         at oracle.as.config.provisioner.InstallerCmdLine.main(InstallerCmdLine.java:44)
    Caused by: oracle.as.config.ProvisionException: Unable to validate NonJ2EEManagement Application deployment on admin server.
         at oracle.as.config.impl.RuntimeServiceConnection.validateNonj2eeApplication(RuntimeServiceConnection.java:595)
         at oracle.as.config.impl.OracleASInstanceImpl.register(OracleASInstanceImpl.java:219)
         ... 3 more
    Caused by: oracle.as.config.ProvisionException: The AdminServer is not enabled for NonJ2ee applications.
         at oracle.as.config.impl.RuntimeServiceConnection.isValidJrfInstall(RuntimeServiceConnection.java:547)
         at oracle.as.config.impl.RuntimeServiceConnection.deployNonj2eeApplication(RuntimeServiceConnection.java:201)
         at oracle.as.config.impl.RuntimeServiceConnection.validateNonj2eeApplication(RuntimeServiceConnection.java:587)
         ... 4 more
    Any thoughts ?

    Hi,
    I am also facing the same problem. I have oracle internet directory 11.1.1 installed without domain. I then installed weblogic 32bit exe on same windows server.
    while registering getting the same error. I think it is because of bit compatibility. OID is 64bit and weblogic is 32bit. Not sure.
    thanks

  • How to use SPML Webservice.xml template in VDS(Virtual Directory Server) ?

    Hiii all,
    How to use SPML Webservice.xml template in VDS(Virtual Directory Server) ? In my case , i am researching and wanting to add,search,delete an user object request from Web Services Client to SPML webservice in VDS by SPML request. anybody has documents or tutorials please share to me.
    Thanks

    Hiii all,
    How to use SPML Webservice.xml template in VDS(Virtual Directory Server) ? In my case , i am researching and wanting to add,search,delete an user object request from Web Services Client to SPML webservice in VDS by SPML request. anybody has documents or tutorials please share to me.
    Thanks

  • Error while accessing Oracle Virtual Directory 11g client view.

    Hi everyone,
    I'm a beginner in Oracle IDAM suite 11g.
    I'm facing an issue while configuring LDAP adapter in Oracle Virtual Directory.
    LDAP adapter is configured for ODSEE instances. Currently I've configured two instances.
    For these adapters, the entries from ODSEE instances are getting populated under Adapter browser but under Client View while expanding the root we're getting the following error:
    LDAPException: malformedRequest (2) Protocol Error LDAPException: Server Message: Protocol Error
    In the diagnostic.log file I'm getting the following error:
    [2012-02-28T11:38:55.255+05:30] [octetstring] [ERROR] [OVD-60335] [com.octetstring.vde.dsmlv2.ImportExportVDE] [tid: 20] [ecid: 0000JMcs_zPEWNppSO1Fic1FHBss000083,0] Failure in getting LDAP 1.[[
    com.octetstring.vde.util.DirectoryException: LDAP Error 2 : localhost:1489
         at com.octetstring.vde.backend.jndi.BackendJNDI.getInternalConnection(BackendJNDI.java:1023)
         at com.octetstring.vde.backend.jndi.BackendJNDI.getConnection(BackendJNDI.java:920)
         at com.octetstring.vde.backend.jndi.ConnectionHandle.getHolder(ConnectionHandle.java:382)
         at com.octetstring.vde.backend.jndi.ConnectionHandle.search(ConnectionHandle.java:233)
         at com.octetstring.vde.backend.jndi.JNDIEntrySet.initialize(JNDIEntrySet.java:203)
         at com.octetstring.vde.backend.jndi.BackendJNDI.get(BackendJNDI.java:723)
         at com.octetstring.vde.chain.Chain.nextGet(Chain.java:297)
         at com.octetstring.vde.chain.plugins.performance.MonitorPerformance.monitorSearch(MonitorPerformance.java:506)
         at com.octetstring.vde.chain.plugins.performance.MonitorPerformance.get(MonitorPerformance.java:444)
         at com.octetstring.vde.chain.Chain.nextGet(Chain.java:308)
         at com.octetstring.vde.chain.PluginChain.runGet(PluginChain.java:234)
         at com.octetstring.vde.chain.PluginManager.runGet(PluginManager.java:489)
         at com.octetstring.vde.chain.PluginManager.runGet(PluginManager.java:427)
         at com.octetstring.vde.backend.AdapterServiceInterface.getByAdapter(AdapterServiceInterface.java:649)
         at com.octetstring.vde.backend.AdapterServiceInterface.get(AdapterServiceInterface.java:514)
         at com.octetstring.vde.backend.BackendHandler.get(BackendHandler.java:592)
         at com.octetstring.vde.chain.Chain.nextGet(Chain.java:289)
         at com.octetstring.vde.chain.plugins.performance.MonitorPerformance.monitorSearch(MonitorPerformance.java:506)
         at com.octetstring.vde.chain.plugins.performance.MonitorPerformance.get(MonitorPerformance.java:450)
         at com.octetstring.vde.chain.Chain.nextGet(Chain.java:308)
         at com.octetstring.vde.chain.plugins.AclCheckerPlugin.get(AclCheckerPlugin.java:398)
         at com.octetstring.vde.chain.Chain.nextGet(Chain.java:308)
         at com.octetstring.vde.chain.PluginChain.runGet(PluginChain.java:234)
         at com.octetstring.vde.chain.PluginManager.runGet(PluginManager.java:489)
         at com.octetstring.vde.chain.PluginManager.runGet(PluginManager.java:427)
         at com.octetstring.vde.chain.GlobalServicesInterface.runGet(GlobalServicesInterface.java:207)
         at com.octetstring.vde.dsmlv2.ImportExportVDE.doGet(ImportExportVDE.java:428)
         at com.octetstring.vde.dsmlv2.ImportExportVDE.process(ImportExportVDE.java:171)
         at com.octetstring.vde.dsmlv2.DsmlService.doPost(DsmlService.java:186)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
         at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:342)
         at com.octetstring.vde.admin.AuthFilter.doFilter(AuthFilter.java:259)
         at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:334)
         at com.octetstring.webgateway.filters.DOSFilter.doFilter(DOSFilter.java:67)
         at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:334)
         at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:286)
         at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
         at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
         at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:526)
         at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
         at org.mortbay.http.HttpServer.service(HttpServer.java:879)
         at org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
         at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
         at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
         at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218)
         at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
         at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
    Caused by: javax.naming.CommunicationException: localhost:1489 [Root exception is java.lang.NullPointerException]
         at com.sun.jndi.ldap.Connection.<init>(Connection.java:207)
         at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:118)
         at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1580)
         at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2652)
         at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:293)
         at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
         at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193)
         at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136)
         at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
         at javax.naming.InitialContext.init(InitialContext.java:223)
         at javax.naming.ldap.InitialLdapContext.<init>(InitialLdapContext.java:134)
         at com.octetstring.vde.backend.jndi.JNDIConnectionPool.createCtx(JNDIConnectionPool.java:422)
         at com.octetstring.vde.backend.jndi.JNDIConnectionPool.create(JNDIConnectionPool.java:453)
         at com.octetstring.vde.backend.jndi.JNDIConnectionPool.getLdapContext(JNDIConnectionPool.java:276)
         at com.octetstring.vde.backend.jndi.JNDIConnectionPool.checkOutContext(JNDIConnectionPool.java:167)
         at com.octetstring.vde.backend.jndi.BackendJNDI.getInternalConnection(BackendJNDI.java:1009)
         ... 48 more
    Caused by: java.lang.NullPointerException
         at com.octetstring.vde.backend.jndi.OvdJndiWorkerCoordinator.register(OvdJndiWorkerCoordinator.java:100)
         at com.octetstring.vde.backend.jndi.OvdJndiSocket.getInputStream(OvdJndiSocket.java:95)
         at com.sun.jndi.ldap.Connection.<init>(Connection.java:190)
         ... 65 more
    Kindly help me resolving this issue.

    Did you ever fixed or resolved the issue ? If yes, could you please share the reason for issue ?
    Getting following errors in OVD logs :-
    [ERROR] [OVD-60335] [com.octetstring.vde.dsmlv2.ImportExportVDE] [tid: 25] [ecid: 0000J_Gc3Qu0ZrqawLicMG1G6Pz^00000J,0] Failure in getting LDAP 1.[[
    com.octetstring.vde.util.DirectoryException: LDAP Error 32 : No Such Object
    [OVD-40066] [com.octetstring.vde.backend.jndi.ConnectionHandle] [tid: 25] [ecid: 0000J_Gc3Qu0ZrqawLicMG1G6Pz^00000J,0] Remote Server Failure:l120814vaps2013:21389.[[
    javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name 'ou=int,ou=people,dc=domain,dc=com',dc=com'

Maybe you are looking for