Setting up virtual path

hi ,
I have been trying to set up the virtual path for my xsql servlet.The index.html and hello page and employee page works fine when i use xsql-wtg .but i am trying to set it for IIS.
I am using servlet exe 3.0 , my inetpub is in my d drive my oracle client is also in d drive.I am using remote database.
kindly help.
kp

I am using Oracle 9i Jserv on the Sun Solaris Operating system. I just finished an Java application on tomcat located on my PC and want to move it to Unix. How to do that? I mean how to configure that? Should I follow the same directory structure or just install a new tomcat server (unix version tomcat) on Unix?
Thanks a lot!

Similar Messages

  • How to set the File Path to run a javascript using Plugin Code?

    Hi All,
    Im new to Indesign Plugin Development.Can any one help me out with my problem.
    What i want to do is to run a javascript using Plugin Code.When i went through this forum i was able to find out that i should use the IscriptRunner Class to automate this.I could also figure out that the Member Function to use is "CanHandleFile" &"RunFile".
    The first parameter in CanHandleFile & RunFile Member Function is to specify the path of the JavaScript File i suppose!I could also find out that IDFile has to used to set the file path Information.
    But im clueless how to set the Javascript FilePath using IDFile.Can any one help me how to do this?Any Code Snippets Please?
    Waiting for reply.
    Thanks
    myRiaz

    Hi,  Andreas<br /><br />  Can you explain this in detail? I found it in your post before.<br /><br />  The content of elements are returned through the Characters callback function:<br /><br />From ISaxContentHandler.h:<br /><br />/**<br />        Receives character data<br /><br />The parser will call this method to report each chunk of<br />        character data. SAX parsers may return all contiguous<br />        character data in a single chunk, or they may split it into<br />        several chunks. But all characters in any single<br />        event must come from the same external entity so the<br />        Locator provides useful information.<br /><br />Note some parsers will report whitespace using the<br />        IgnorableWhitespace() method rather than this one (validating<br />        parsers must do so).<br /><br />@param Chars The characters from the XML document.<br />        */<br />virtual void Characters(const PMString& chars) = 0; <br /><br />  What i have done is implement my own SAXContentHandlerServiceBoss, and in my file XXXSAXContentHandler.cpp, I override the fonctions StartElement, EndElement, and Characters() like below: I add the PMString xmlData to collect the file content:<br /><br />class XXXSAXContentHandler : public CSAXContentHandler<br />{<br />void XXXSAXContentHandler::Characters(const WideString& chars)<br />{<br />xmlData.Append(chars);<br />}<br /><br />void XXXSAXContentHandler::StartElement(const WideString& uri, const WideString& localname, const WideString& qname, ISAXAttributes* attrs)<br />{<br />xmlData.Append("<"); xmlData.Append(localname); xmlData.Append(">");<br />}<br />void XXXSAXContentHandler::EndElement(const WideString& uri, const WideString& localname, const WideString& qname)<br />{<br />xmlData.Append("</"); xmlData.Append(localname); xmlData.Append(">");<br />}<br /><br />}<br /><br />and in my program, I use the code below to call the fonction I overrided, but I dont know how I can get the String xmlData I defined in the XXXSAXContentHandler.cpp<br /><br />InterfacePtr<IK2ServiceRegistry> serviceRegistry(gSession, UseDefaultIID());<br /><br />InterfacePtr<IK2ServiceProvider> xmlProvider(serviceRegistry->QueryServiceProviderByClassID(kXMLParserService, kXMLParserServiceBoss));<br /><br />InterfacePtr<ISAXServices> saxServices(xmlProvider, UseDefaultIID());<br />InterfacePtr<ISAXContentHandler> saxHandler(::CreateObject2<ISAXContentHandler>(kXXXSAXContentHandlerServiceBoss));<br />saxHandler->Register(saxServices);<br />bool16 parseFailed = saxServices->ParseStream(readStream, saxHandler);<br /><br />Can you give me any help?<br /><br />Thanks and regards!

  • Can't invoke PL/SQL cartridge for non-default virtual path

    I have a problem invoking a cartridge if the virtual path is
    anything but the default (/<appName>/<cartName>).
    I have tried stopping and re-starting the application server, but
    that does not help.
    Does anyone have a solution to this problem?
    Amar.
    null

    Elton Barendse (guest) wrote:
    : Amar Pai (guest) wrote:
    : : I have a problem invoking a cartridge if the virtual path is
    : : anything but the default (/<appName>/<cartName>).
    : : I have tried stopping and re-starting the application
    server,
    : but
    : : that does not help.
    : : Does anyone have a solution to this problem?
    : : Amar.
    : Hi Amar,
    : Can't help you solve your immediate problem, but here's some
    : food for thought ...
    : Quintessence Systems Ltd (UK) have developed technology which
    : automatically migrates PL/SQL procedures and packages to Java.
    : This is in response to the many customers who are looking to
    : move to a more open and non platform specific architecture for
    : enterprise wide business logic.
    : The Java code generated can be deployed in either Oracle 8i or
    : in an App Server i.e. no need to wrap your existing procedures
    : in a PL/SQL cartridge.
    : If this is of interest, I'd be happy to put you in touch with
    : our technical people to explain to technology in greater
    detail.
    : Elton Barendse
    : CEO
    : Quintessence Systems Limited
    I had a similar problem and maybe it would resolve your troubles
    I don't know but I configured the PL/SQL cartridge and it did
    not work actually it was just a pb of virtual memory ,set your
    mmory to 600M and restart all the stuff.I don't think it will
    resolve the pb but think of it.
    steve
    null

  • Configuring Servlet Virtual path translation

    Hi,
    I was wondering if anybody could help me out with this.
    I am running iWS 4.1, and iAS6.0 on top of it.
    I created a war file called myApp.war, which contains a servlet called
    myServlet.
    Then I created an ear file called myApp.ear which contains myApp.war, and
    deployed myApp.ear on the application server.
    Now: I am trying to set up a virtual path to access myServlet, so that
    http://<server_id>/myServlet maps to myServlet.
    I modified the following files under the config directory of the webserver:
    1. In context.properties, I added a context called myContext with the
    following properties:
    context.myContext.classpath=<iPlanet App Server
    path>/ias/APPS/myApp/myApp/WEB-INF/
    2. In servlets.properties,
    servlet.myServlet.classpath=<iPlanet App Server
    path>/ias/APPS/myApp/myApp/WEB-INF/classes
    servlet.myServlet.code=myServlet
    servlet.myServlet.initArgs=initial=0
    servlet.myServlet.context=myContext
    3. In rules.properties,
    /myServlet=myServlet
    Now when I try to access myServlet through the virtual path
    http://<server_id>/myServlet
    the webserver error logs say the following:
    warning ( 3080): Unable to locate class: myServlet
    (java.lang.ClassNotFoundException: myServlet)
    warning ( 3080): Internal error: Failed to get GenericServlet.
    (uri=/myServlet,SCRIPT_NAME=/myServlet)
    What am I doing wrong? Any help will be appreciated.
    Thanks!
    Uzma

    Hi,
    I was wondering if anybody could help me out with this.
    I am running iWS 4.1, and iAS6.0 on top of it.
    I created a war file called myApp.war, which contains a servlet called
    myServlet.
    Then I created an ear file called myApp.ear which contains myApp.war, and
    deployed myApp.ear on the application server.
    Now: I am trying to set up a virtual path to access myServlet, so that
    http://<server_id>/myServlet maps to myServlet.
    I modified the following files under the config directory of the webserver:
    1. In context.properties, I added a context called myContext with the
    following properties:
    context.myContext.classpath=<iPlanet App Server
    path>/ias/APPS/myApp/myApp/WEB-INF/
    2. In servlets.properties,
    servlet.myServlet.classpath=<iPlanet App Server
    path>/ias/APPS/myApp/myApp/WEB-INF/classes
    servlet.myServlet.code=myServlet
    servlet.myServlet.initArgs=initial=0
    servlet.myServlet.context=myContext
    3. In rules.properties,
    /myServlet=myServlet
    Now when I try to access myServlet through the virtual path
    http://<server_id>/myServlet
    the webserver error logs say the following:
    warning ( 3080): Unable to locate class: myServlet
    (java.lang.ClassNotFoundException: myServlet)
    warning ( 3080): Internal error: Failed to get GenericServlet.
    (uri=/myServlet,SCRIPT_NAME=/myServlet)
    What am I doing wrong? Any help will be appreciated.
    Thanks!
    Uzma

  • Servlet Virtual Path Translation

    OK, here is what I'm trying todo. I have a Servlet that I want invoked when /servlet/Router is in the address. The address is http://<server_name>/<dir>/servlet/Router . THis won't work the only way the Servlet will be executed is if I do http://<server_name>/servlet/Router The reason I need to have the <dir> is becuase I don't want all of my jsp in a the base doc directory. And I figured ,it does do this on iPlanet 6.1, is that since I have the virtual path set to /servlet/Router if /<dir>/servlet/Router is used the <dir> is the directory where the servlet would use as where it gets its files. No such luck here. ANy ideas? I have this working on iPlanet6.1 but I used a web.xml file to set it all up. I need to get it working on 4.1 and it does, IF I move all of my files in the doc root directory.

    Hi,
    The following URL will help u
    http://docs.iplanet.com/docs/manuals/enterprise/41/servlets/c-props.htm#530468
    or
    http://docs.iplanet.com/docs/manuals/enterprise/41/servlets/b-objcf.htm#19718

  • [ACTION] Please configure the following virtual path with your web listener: /jinitia

    Hi Guys,
    Would kindly suggest me. How to solve this following setting? From the documentation, I could not understand, which file or where should I do the following configuration.
    [ACTION] Please configure the following virtual path with your web listener: /dev60temp for
    physical directory C:\ORACLE\iSuites\tools\web60\temp.
    [ACTION] Please configure the following virtual path with your web listener: /forms60java for
    physical directory C:\ORACLE\iSuites\FORMS60\java.
    [ACTION] Please configure the following virtual path with your web listener: /dev60html for
    physical directory C:\ORACLE\iSuites\tools\web60\html.
    [ACTION] Please configure the following virtual path with your web listener: /dev60cgi for
    physical directory C:\ORACLE\iSuites\tools\web60\cgi.
    [ACTION] Please configure the following virtual path with your web listener: /jinitiator for
    physical directory C:\ORACLE\iSuites\JINIT
    I appreciate your information and help.
    Thanks,
    Amit

    Hi,
    while applying developer 6i patch ( 61954129 ) i got following error which says configure the following virtual path for your web listener
    following is the output of forms6iconfig.txt file which oracale suggest to check
    Do you mean (Patch 6194129)? How do you get this error? Is it at the beginning or the end of the installation?
    Configuration Steps for Oracle Forms installation of 06:21:33 2010/12/01
    This file gives details of the configuration steps done for you by the installation process
    (marked '[INFO]') and of any actions you need to do manually (marked '[ACTION]'). Please read
    this file and perform the requested actions.
    [ACTION] If you are installing in a new Oracle Home, please reboot the machine after the installation.
    [ACTION] Please configure the following virtual path with your web listener: /dev60temp for
    physical directory D:\CLONE\cloneora\8.0.6\tools\web60\temp.
    [INFO] NT service Oracle Forms Server [Forms60Server] has been created and started for
    the Forms Server.
    [ACTION] Please configure the following virtual path with your web listener: /forms60java for
    physical directory D:\CLONE\cloneora\8.0.6\FORMS60\java.
    [ACTION] Please configure the following virtual path with your web listener: /dev60html for
    physical directory D:\CLONE\cloneora\8.0.6\tools\web60\html.
    [ACTION] Please configure the following virtual path with your web listener: /dev60cgi for
    physical directory D:\CLONE\cloneora\8.0.6\tools\web60\cgi.
    [INFO] An internet shortcut to run a standard test form, or any form of your choice, has been
    created for you in the Oracle Forms program group.
    [ACTION] Please configure the following virtual path with your web listener: /jinitiator for
    physical directory D:\CLONE\cloneora\8.0.6\JINIT.Please make sure you source the application env file before applying this patch, and select 8.0.6 ORACLE_HOME.
    Thanks,
    Hussein

  • Virtual paths

    Hello,
    I have installed Oracle Internet Application server and Oracle 8i database. I am trying to run the test.fmx form and get bad request error. I can only assume that I have not set up the virtual paths.
    I don't quite understand what file I write these virtual paths to. Any help would be greatly appreciated as I am very new to this software.
    Thanks.
    Sue

    Thanks for your response. All things that you mentioned are correct. The forms server is running and the form test.fmx is in the forms60_path.
    I read that you needed to configure the virtual paths in the listener and this is where I am confused.
    I am running Oracle IAS 9i and oracle database 8i. The documentation for OAS is slightly different with the webdb listener. I don't think OIAS uses the webdb listener and configures another listener. Am I correct about this?
    Thanks for your help, this is very confusing to me and frustrating when I can't get the test.fmx to display in the browser.
    Sue

  • Defining virtual path for images to be visible without specifiying path(AS)

    Hi,
    I am running a report (Version 10g) which have an image (Read from file = yes) item with source "Function column" that returns an image name. Ex. "11.gif"
    I am recieving an error that the applications server cannot find the image "11.gif"
    Image 11.gif is stored in a directory on the Applications server "D:\photos".
    Where should I add the directory path "D:\photos" so that the reports will view the image?
    Thanks

    No need to define a virtual path similar to what's done in forms 10g. An entry in the registry key 'REPORTS_PATH' is enough!

  • How to set the report path in a model plugin

    I am trying to figure out how to set the report path in a process model plug-in. I can seem to figure out how to get access to it. It seems like this would be a reasonable thing to do since the plug-ins are for results processing. Does anyone know how to do this? We typically use the Sequential process model but I am trying to keep my plug-in as independent of that as possible. 
    Thanks.
    Solved!
    Go to Solution.

    If I understand, you want your plug-in, when enabled, to alter the settings of any other instances of the NI report plug-in such that their reports share the same directory as your plug-in is configured to use.
    If so, your plug-in can access and modify the settings of all other plug-in instances. All instances are passed to all plug-in entries point in the plugins array sub-property of the ModelConfiguration parameter. You can iterate through this array. Any element of the array with a Base.SequenceFilename equal to "NI_ReportGenerator.seq" is an instance of the NI report plug-in. Its report options are stored in the element under PluginSpecific.Options.
    You can change the report options to what ever you want. Note that the ReportOptions model callback is called from the Initialize model-plugin entry point, so you might want to ensure that your changes are applied after that, so they aren't overwritten. To do that, you could make your changes in the the Initialize entry point of your plug-in, and ensure that your plugin runs last. To make it run last, you could set the FileGlobals.ModelPluginComponentDescription.Default.Base.RunOrder in your plug-in file to a value greater than 0, such as 1.0 (see TestStand Help>>Fundamentals>>Process Model Architecture>>Process Model Plug-in Architecture>>Structure of Plug-in Sequence Files>>Model Plug-in Entry Points>>Order of Entry Point Execution at Run Time).

  • How to set default file path for save

    Hello all,
    I'm currently blocked on the below issue and is hoping to gain your help and insights.
    We have recently upgraded to InDesign CS6. Now when an INDD file created in an older version of INDD is opened in CS6, all the save dialogs would not default to the location of the original INDD file. Though if the same file is opened in the version of InDesign that created it, the save dialog goes to the proper location by default.
    Debugged using our custom plugin as a gate way, and found out that after InDesign CS6 performed the document upgrade/convert, the database for the converted document loses file information. i.e.  IDataBase::GetSysFile() returns nil. I think we can figure out some way to get the original file path. For example, we can intercept "kAfterOpenDocSignalResponderService", and get the original file path of the opened file from IDocumentSignalData. Though I haven't yet able to figure out a safe way to set this file path to the document, so that the save dialogs would by default point at this path.
    Utils<Facade::IWorkgroupFacade>()->InitDocumentAssetManagement(docRef, filePath) seems to do the right thing, but it seems to be quite intruding, and I'm afraid that it is overkilling and will cause bad side effect for the use case I'm looking for.
    So I'm wondering if anyone has any suggestions to achieve this without implementing/overriding the file save dialog.
    Thanks.
    -Jeff

    You should be able to avoid writing your own open-doc trap by using kDocBoss's IOpenedFileInfo to obtain the original file's path. It seems fairly reliable; the only time I've seen it come up empty is for an opened QuarkXPress document.
    I'm afraid I don't know of a sanctioned way to change IDataBase::GetSysFile() without going through the database's SaveAs machinery. Overriding this behavior might only be possible by replacing the regular Save dialog with your own.
    But if InitDocumentAssetManagement() is helping, maybe the workgroup/asset management approach is worth pursuing. Have you tried spying on that call in the debug app? You might be able to isolate and use one of the commands that it's invoking (IAMSPManager::BindAsset() / kSetAssetAttributesCmdBoss?) without all of the side-effects of the higher-level call.

  • How to set default file path while downloading alv output

    Hi,
    Can anyone tell me that how to set default file path while downloading the ALV output to system using Local file button on tool bar.
    Please look below screenshots:
    Kindly help me resolve it.
    Thanks in advance.
    Regards,
    Ashutosh Katara

    This information initial value is (maybe) stored in Windows Register (register.exe) at Software\SAP\SAPGUI Front\SAP Frontend Server\Filetransfer -> PathDownload, you can read it thru class CL_GUI_FRONTEND_SERVICES method GET_UPLOAD_DOWNLOAD_PATH and update it thru method REGISTRY_SET_VALUE. (Else there may be some parameter ID to force data, but I'm no longer sure)
    Regards,
    Raymond

  • How to set the file path dynamically based on sytem, username, and date

    Hi All,
    My requirement is upload the data into one  structure like xyz that is related to t.code MCSZ.
    file will be in  UNIx SERVER .
    PATH IS: /sapif
    file name is xy789 load .txt
    I have  to write code in one user-exit
    how can i set the file path for this.
    shall i put hard code file path?
    because i have to writecode in user-exit.
    plz tell me how to set the file path based ons syetem, username, date
    Thanks in advance
    Ram.A

    Concatenate the field SY-SYSID, SY-UNAME and SY-DATUM for the file path

  • Virtual Path in WebLogic 7.0

    Hi,
    I would like to create a virtual path for our appalication.currently the URL is something like this :
    http://a.com/blsapp/jsp/customer/Login.jsp
    Now , I need to create vritual path for /blsapp/jsp/customr =>customer
    So, the url would be
    http://a.com/customer/Login.jsp
    How to do this in Weblogic 7.0 ?.
    A sample would be appreciated.
    Thanks & Regards
    Subu

    Hi,
    I would like to create a virtual path for our appalication.currently the URL is something like this :
    http://a.com/blsapp/jsp/customer/Login.jsp
    Now , I need to create vritual path for /blsapp/jsp/customr =>customer
    So, the url would be
    http://a.com/customer/Login.jsp
    How to do this in Weblogic 7.0 ?.
    A sample would be appreciated.
    Thanks & Regards
    Subu

  • Sun ONE Studio 4 aka Forte: How to set the output path for classes ?

    Help !
    Beginner's question:
    Sun ONE Studio 4 aka Forte:
    How to set the output path for classes ?
    As default, the class files are created in the same directory as the
    sources.
    In opposite, both JBuilder and Together support that there is a tree
    with the sources and another tree with the classes.
    The first answer I got was "not possible with Forte, but just if you write your own "ANT Build script" !
    a) Please point me to a ready-to-use ANT script for this purpose, if such is available
    b) Is using ANT instead of the MAKE as comfortable ? Besides the separation of sourcecode and classes, I would like to keep everything else to be the same, i.e. I don�t want to edit the ANT file if I enlarge the project by directories or files.
    Tia
    Sincerely
    Rolf

    You can set S1S's options to place newly created .class files in a specific location.
    Identify the compiler that is being used - Open the S1S's Tools/Options window, expand Editing and select Java Sources. Note the Default Compiler value. (If it's one if the Ant options, you use Ant to specify this option, not S1S.)
    Open the S1S's Tools/Options window, expand Building/Compiler Types and select the appropriate compiler.
    The Properties tab of the compiler has the property Target, which sets the filesystem where the compiler output is directed. If you choose <not set>, the .class files are written to their source directory.
    When you set the Target, your change affects all classes that use this compiler.
    Very few options can't be set in S1S; the challenge is finding out where they're set!

  • Problems setting the recording path

    I have recorded hundreds of songs successfully by setting the recording path to the project folders on my external hard drive. Now whenever I open a new project and go to record an audio file it ask me every time to set the recording path. I pick the location on my external, click save and then hit the record button and then the whole process starts all over.

    does your drive has a Sleep mode (or something like that) preference?that's after a certain time of inactivity...goes to sleep
    Might be that..
    A

Maybe you are looking for

  • Dynamic Creation of a Database Using Coldfusion

    Here is what i want to do. Through the simple click of a button on want to dynamicly create a new databas e for a completely new user.   I have a database already designed but what i want is for that database to act as my "perfect database image"  th

  • Need help finding a dri

    dose anybody know how to get a driver for this model : RW8428E?

  • Z3 orange hue near "return/back" button on bottok left corner

    Hi, after 3 days of usage, orangy hue has appeared on bottom right of screen near return button location. I figured this could be ips burn so I ran an rgb app but did not fix the problem. I read that the sony Xperia s had a similar issue with yellow

  • Bug in Italian translation

    I have the 3.0 software and when I open the Calendar, the months' names are not starting with a capital letter (ie I have "settembre" instead of "Settembre", and so on). This happens to the months going from the next one (August 2009) until the end o

  • Dialog focus in Windows/NT

    When a user opens up a dialog window in my java app, and then switches to some other program (dialog still open) and then switches back to the original java app, the dialog frame is now 'behind' the main application's frame. The dialog frame does not