DEPLOY FORMS IN TOMCAT CONTAINER

dear all,
i developed a small application using oracle Forms 10g that it s okay under OC4J and i d like to deploy it in a tomcat container installed as a standalone web server or in apache web server , can you lead me to a blueprint document that shows how can I achieve that?
thanks in advance
Message was edited by:
karim_ha

thanks for the reply,you have more experience than me ,i am still a beginner in that but since form produce servlet why we can t deploy them in a servlet container like tomcat ? and also i tried to look inside the directories made after the installation of the product yes indeed there is something like apache, tomcat Djakarta..
and that me make wounding again why not?
thanks again for your reply.

Similar Messages

  • Deploying oracle forms in tomcat

    dear all,
    i developed a small application using oracle Forms 10g that it s okay under OC4J and i d like to deploy it in a tomcat container installed as a standalone web server or in apache web server , can you lead me to a blueprint document that shows how can I achieve that?
    thanks in advance

    than u sir for the reply,rihgtnow the application i developed can be accessed by a browser located on in a remote site whithout any form runtime installed on the client,but at the central site where the formas reside , the OC4j container is running to listen to the client request.
    thanks again

  • Can you deploy Forms 11g in Tomcat?

    Or any other Open source web/application server?
    Can't we deploy a Forms (10g/11g) application developed by us, in a customer site, but not use OAS or WLS?
    Can't we use a open source AS like Tomcat, JBoss or Glassfish?
    Is OAS/WLS a MUST to deploy Forms?

    Another thread to confirm this: JBoss AS for Oracle Forms Deployment

  • Is it possible for jsp(tomcat container)  access ejb deployed in sun app se

    if it's possible ,how to implement

    Hi,
    Yes it is possible for a JSP in tomcat container to lookup EJB in sun app server.
    Please refer following article for guidelines. If you need further help please revert back.
    http://www.onjava.com/pub/a/onjava/2003/02/12/ejb_tomcat.html?page=2
    HTH
    VJ

  • [b]How to deploy forms 6i on Oracle 9iAS[/b]

    Hello,
    Anybody knows hot to deploy forms 6i on Oracle 9iAS (WEB).
    Oracle 9i Application contains several options
    1. Oracle9iAS installation.
    1.1 J2EE and Web Cache.
    1.2 Portal and Wireless.
    1.3 Business Intelligence and Forms.
    2. Oracle9iAS Infrastructure installation.
    3. Oracle9iAS Developer Kits installation.
    I want to know , Which option should i select in order to deploy the forms on web.
    Thank You.
    Rahul

    I'm not sure if you can deploy Forms6i on 9iAS. Anyway, this is not the right forum for this question. Please repost your question in the 9iAS General forum or in one of the Forms-related iDS forums.

  • How  To Deploy  Forms 6i on Oracle 9iAS (WEB)

    Hello,
    Anybody knows hot to deploy forms 6i on Oracle 9iAS (WEB).
    Oracle 9i Application contains several options
    1. Oracle9iAS installation.
    1.1 J2EE and Web Cache.
    1.2 Portal and Wireless.
    1.3 Business Intelligence and Forms.
    2. Oracle9iAS Infrastructure installation.
    3. Oracle9iAS Developer Kits installation.
    I want to know , Which option should i select in order to deploy the forms on web.
    Thank You.
    Rahul

    1.3 Business Intelligence and Forms.
    Please post Forms questions in the Forms Forum.
    More info in the Forms Upgrade Center:
    http://otn.oracle.com/products/forms/htdocs/upgrade

  • How to Deploy forms 6i on Oracle 9iAS

    Hello,
    Anybody knows hot to deploy forms 6i on Oracle 9iAS (WEB).
    Oracle 9i Application contains several options
    1. Oracle9iAS installation.
    1.1 J2EE and Web Cache.
    1.2 Portal and Wireless.
    1.3 Business Intelligence and Forms.
    2. Oracle9iAS Infrastructure installation.
    3. Oracle9iAS Developer Kits installation.
    I want to know , Which option should i select in order to deploy the forms on web.
    Thank You.
    Rahul

    1.3 Business Intelligence and Forms.
    Please post Forms questions in the Forms Forum.
    More info in the Forms Upgrade Center:
    http://otn.oracle.com/products/forms/htdocs/upgrade

  • Deploying servlet on Tomcat using "ant install" not working. Please help.

    Hello. Normally I can find answers by using search, but I can't today for some reason. So please bare with me if this has been mentioned before. I will try to provide as much info as possible so that helping me isn't too much a chore. Thank you.
    I have downloaded and installed the JWSDP 1.3. and Tomcat is running. I am also using Ant 1.5.4 (previous installation - not one included with JWSDP) and modeled my build.xml file after the template provided here:
    http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/build.xml.txt.
    When I run ant on my respository, everything builds fine. But when I run Ant with the install target, I get the following error:
    BUILD FAILED
    file:C:/owl/build.xml:366: java.io.IOException: Server returned HTTP response co
    de: 401 for URL: http://localhost:8080/manager/deploy?path=%2Fowl&war=file%3A%2F
    %2FC%3A%5Cowl%2Fbuild
    Here is line 366 build.xml:
    localWar="file://${build.home}"/>
    ...which is included in this block for the target "install":
    <target name="install" depends="compile"
    description="Install application to servlet container">
    <deploy url="${manager.url}"
    username="${manager.username}"
    password="${manager.password}"
    path="${app.path}"
    localWar="file://${build.home}"/>
    </target>
    When I point my brower to the url located in the error verbose, I get the following:
    FAIL - Encountered exception java.lang.NullPointerException
    I am trying to get my environment set up correctly before I start spending time developing servlets, but I am getting tempted to just develop to servlets and "manually" installing/deploying them either by copying and pasting or by using the Tomcat manager. I would really like to do everything from Ant though if possible. Please help.

    I don't think this is at all correct:
    localWar="file://${build.home}"/>You've got to create a real WAR file - a JAR file with WEB-INF and all its minions inside it:
    http://access1.sun.com/techarticles/simple.WAR.html
    That's the file you need to refer to there. You can manage that with Ant too, of course.
    Here's what my Ant build.xml looks like for Web apps (there's a build-web.properties file that follows):
    build-web.xml
    <project name="Tomcat Build Tasks" default="clean" basedir=".">
        <target name="init-props">
            <tstamp>
                <format property="touch.time" pattern="MM/dd/yyyy hh:mm aa" />
            </tstamp>
            <filterset id="ant.filters">
                <filter token="DATE" value="${TODAY}" />
                <filter token="TIME" value="${TSTAMP}" />
            </filterset>
            <!-- Load in all the settings in the properties file -->
            <property file="build.properties" />
            <!-- Load in all Tomcat settings in the properties file -->
            <property file="build-web.properties" />
        </target>
        <target name="prepare" depends="init-props">
            <mkdir dir="${war.classes}"/>
            <mkdir dir="${war.lib}"/>       
            <mkdir dir="${manifest}" />
        </target>
        <target name="clean" depends="init-props" description="clean up temporary files">
            <delete file="${project}.war" />   
            <delete dir="${war.root}"/>
            <delete dir="${manifest}" />
        </target>
        <target name="set-tomcat-classpath" depends="prepare">
            <path id="tomcat.class.path">                  
                <fileset dir="${tomcat.home}/bin">
                    <patternset>
                        <include name="**/*.jar" />
                    </patternset>
                </fileset>
                <fileset dir="${tomcat.home}/shared/lib">
                    <patternset>
                        <include name="**/*.jar" />
                    </patternset>
                </fileset>
                <fileset dir="${tomcat.home}/common/lib">
                    <patternset>
                        <include name="**/*.jar" />
                    </patternset>
                </fileset>
                <fileset dir="${tomcat.home}/server/lib">
                    <patternset>
                        <include name="**/*.jar" />
                    </patternset>
                </fileset>
                <fileset dir="${ant.home}/lib">
                    <patternset>
                        <include name="**/*.jar" />
                    </patternset>
                </fileset>
            </path>              
        </target>
        <target name="create" depends="set-tomcat-classpath" description="create the war file">
            <!-- All files at root level -->       
            <!-- Temporarily put the JSPs at root until you figure this out -->
            <copy todir="${war.root}">
                <fileset dir="${src.jsp}"/>
            </copy>
    <!--
            <copy todir="${war.root}">
                <fileset dir="${src.html}" includes="*.html"/>
            </copy>
    -->
            <copy todir="${war.root}/css">
                <fileset dir="${src.css}"/>
            </copy>
            <copy todir="${war.root}/images">
                <fileset dir="${src.images}"/>
            </copy>
            <copy todir="${war.root}/js">
                <fileset dir="${src.js}"/>
            </copy>
            <!-- All files at the WEB-INF level and below -->       
            <copy todir="${war.web}">
                <fileset dir="${src.etc}" includes="web.xml"/>
            </copy>
            <!-- All files in the CLASSPATH lib -->
            <copy todir="${war.web}/lib">
                <fileset dir="${src.lib}" includes="**/*.jar" excludes="**/*-tests.jar, **/junit.jar"/>
            </copy>
            <!-- Put the dispatcher XML in WEB-INF/config -->
            <copy todir="${war.web}/config">
                <fileset dir="${src.etc}" includes="${project}-config.xml"/>
            </copy>
            <!-- Put XSL stylesheets in WEB-INF/xsl -->
            <copy todir="${war.web}/xsl">
                <fileset dir="${src.xsl}" includes="**/*.xsl"/>
            </copy>
            <!-- Put the project JAR file in WEB-INF/lib -->
            <copy todir="${war.web}/lib">
                <fileset dir="${deploy}" includes="**/${project}.jar"/>
            </copy>
            <!-- Create the manifest -->
            <buildnumber />
            <manifest file="${manifest}/manifest.mf">
                <attribute name="Implementation-Title"      value="${project}" />
                <attribute name="Built-By"                  value="${user.name}"/>
                <attribute name="Build-Date"                value="${TODAY}" />
                <attribute name="Major-Version"             value="${major}" />
                <attribute name="Minor-Version"             value="${minor}" />
                <attribute name="Build-Number"              value="${build.number}" />
            </manifest>
            <!-- Create the WAR file -->
            <jar jarfile="${project}.war"
                 manifest="${manifest}/manifest.mf">
                <fileset dir="${war.root}"/>
                <metainf dir="${src.etc}" includes="context.xml"/>
            </jar>
        </target>
        <target name="create-tomcat-admin-tasks" depends="set-tomcat-classpath">
    <!--
            <pathconvert targetos="windows" refid="tomcat.class.path" property="converted.class.path" />
            <echo message="CLASSPATH: ${converted.class.path}" />
    -->       
            <taskdef name="install"     classname="org.apache.catalina.ant.InstallTask"     classpath="tomcat.class.path"/>
            <taskdef name="remove"      classname="org.apache.catalina.ant.RemoveTask"      classpath="tomcat.class.path"/>       
            <taskdef name="reload"      classname="org.apache.catalina.ant.ReloadTask"      classpath="tomcat.class.path"/>
            <taskdef name="deploy"      classname="org.apache.catalina.ant.DeployTask"      classpath="tomcat.class.path"/>       
            <taskdef name="undeploy"    classname="org.apache.catalina.ant.UndeployTask"    classpath="tomcat.class.path"/>       
            <taskdef name="start"       classname="org.apache.catalina.ant.StartTask"       classpath="tomcat.class.path"/>       
            <taskdef name="stop"        classname="org.apache.catalina.ant.StopTask"        classpath="tomcat.class.path"/>       
            <taskdef name="list"        classname="org.apache.catalina.ant.ListTask"        classpath="tomcat.class.path"/>       
            <taskdef name="resources"   classname="org.apache.catalina.ant.ResourcesTask"   classpath="tomcat.class.path"/>       
            <taskdef name="roles"       classname="org.apache.catalina.ant.RolesTask"       classpath="tomcat.class.path"/>
        </target>
        <target name="install" depends="create-tomcat-admin-tasks" description="install the war file on Tomcat">
            <install    url="${tomcat.manager.url}"
                        username="${tomcat.username}"
                        password="${tomcat.password}"
                        path="/${project}"
                        config="file:/${basedir}/${src.etc}/context.xml"
                        war="file:/${basedir}/${project}.war" />
        </target>
        <target name="remove" depends="create-tomcat-admin-tasks" description="remove the war file on Tomcat">
            <remove     url="${tomcat.manager.url}"
                        username="${tomcat.username}"
                        password="${tomcat.password}"
                        path="/${project}" />
        </target>
        <target name="reload" depends="create-tomcat-admin-tasks" description="reload the war file on Tomcat">
            <reload     url="${tomcat.manager.url}"
                        username="${tomcat.username}"
                        password="${tomcat.password}"
                        path="/${project}" />
        </target>
        <target name="deploy" depends="create-tomcat-admin-tasks" description="deploy the war file on Tomcat">
            <deploy    url="${tomcat.manager.url}"
                        username="${tomcat.username}"
                        password="${tomcat.password}"
                        path="/${project}"
                        config="file:/${basedir}/${src.etc}/context.xml"
                        war="file:/${basedir}/${project}.war" />
        </target>
        <target name="undeploy" depends="create-tomcat-admin-tasks" description="undeploy the war file on Tomcat">
            <undeploy   url="${tomcat.manager.url}"
                        username="${tomcat.username}"
                        password="${tomcat.password}"
                        path="/${project}" />
        </target>
        <target name="start" depends="create-tomcat-admin-tasks" description="start an application on Tomcat">
            <start      url="${tomcat.manager.url}"
                        username="${tomcat.username}"
                        password="${tomcat.password}"
                        path="/${project}"/>
        </target>
        <target name="stop" depends="create-tomcat-admin-tasks" description="stop an application on Tomcat">
            <stop       url="${tomcat.manager.url}"
                        username="${tomcat.username}"
                        password="${tomcat.password}"
                        path="/${project}" />
        </target>
        <target name="list" depends="create-tomcat-admin-tasks" description="list all applications running on Tomcat">
            <list       url="${tomcat.manager.url}"
                        username="${tomcat.username}"
                        password="${tomcat.password}"/>
        </target>
        <target name="resources" depends="create-tomcat-admin-tasks" description="list all resources on Tomcat">
            <resources  url="${tomcat.manager.url}"
                        username="${tomcat.username}"
                        password="${tomcat.password}"/>
        </target>
        <target name="data-sources" depends="create-tomcat-admin-tasks" description="list all data sources on Tomcat">
            <resources  url="${tomcat.manager.url}"
                        username="${tomcat.username}"
                        password="${tomcat.password}"
                        type="javax.sql.DataSource"/>
        </target>
        <target name="roles" depends="create-tomcat-admin-tasks" description="list all user roles on Tomcat">
            <roles      url="${tomcat.manager.url}"
                        username="${tomcat.username}"
                        password="${tomcat.password}"/>
        </target>
    </project>
    build.properties
    # Properties file for setting up an Ant build.xml
    # Project specific items that change each time
    project=api-prototype
    major=1
    minor=0
    version=${major}.${minor}
    jar.name=${project}
    versiondate=${TODAY}
    # Directory structure (these should never change)
    bin=bin
    deploy=deploy
    doc=doc
    manifest=META-INF
    xml=xml
    # Everything under src should come out of a repository
    src=src
    src.bin=${src}/bin
    src.config=${src}/config
    src.data=${src}/data
    src.dtd=${src}/dtd
    src.java=${src}/java
    src.lib=${src}/lib
    src.profile=${src}/profile
    src.properties=${src}/properties
    src.schema=${src}/schema
    src.sql=${src}/sql
    src.templates=${src}/templates
    src.testdata=${src}/testdata
    src.xml=${src}/xml
    src.xsl=${src}/xsl
    # These are created and deleted by Ant each time
    javadocs=javadocs
    reports=reports
    output=output
    output.classes=${output}/classes
    output.lib=${output}/lib
    # Required for proper use of XDoclet
    xdoclet.home = C:/Tools/xdoclet-1.2b3
    build-web.properties
    war.root=war-root
    war.pages=${war.root}/pages
    war.web=${war.root}/WEB-INF
    war.classes=${war.web}/classes
    war.css=${war.web}/css
    war.js=${war.web}/js
    war.lib=${war.web}/lib
    war.tld=${war.web}/tld
    # Properties needed by Tomcat tasks
    ant.home =
    tomcat.home         =
    tomcat.manager.url  = http://localhost:8080/manager
    tomcat.username     =
    tomcat.password     = MOD

  • Does the backup include deployed forms/reports?

    Hi,
    1) Does a backup of the application server taken using Application Server control contains the deployed form and reports?
    2) What if the forms/reports have been deployed to a directory not located below the ORACLE_HOMEof the middle tier?
    AS version - 10.1.2.0.2
    Platform - 46 Linux x86
    Thanks in advance.
    Regards,
    Sindhiya V.

    Ad 1). It depends on how you create the backup (check with the backup guys or check your backupscripts). Just a tarbal will include the files, as long as your FORMS_PATH's in formsweb.cfg (or hsd65formsweb.cfg) don't include path's outside the ORACLE_HOME. As far as I know the backup functionality in the enterprise manager website only includes default configfiles (but I never use it, a proper tarbal after each configuration change is just as safe). You can customise the backupscript so creating a backup from the enterprise manager website takes all necessary files, but again: a tarbal is just as good (and more easy).
    Ad 2). goto 1.

  • Deploying a WAR file containing .jsp and servlets (also uses JNI)

    Deploying a WAR file containing .jsp and servlets (also uses JNI) on Windows 2000
    We had problems making it initially work on Sun ONE Web Server 6.0 Service Pack 1 because of lack of good iPlanet Web
    Server documentation on deploying such files.
    This is how we went about it:
    1) Make one of the servlet and JSP (must call another Java Class) web application (.war) examples work with iPlanet Web
    Server.
    C:\iPlanet\Servers\plugins\servlets\examples\web-apps\HelloWorld\HelloWorld.war
    and
    C:\iPlanet\Servers\plugins\servlets\examples\web-apps\jakarta-examples\jarkarta-examples.war
    a) Go to your Web Server Administration to deploy the application using GUI Web Application Deploy.
    (We usually use command line, we experienced some issues with the GUI version, but maybe it is fixed in the new Web Server
    service packs)
    From browser, open http://yourserver:8888/
    Click on Select a Server:Manage
    Click on Virtual Server Class
    Click on https-yourserver
    Click on the Web Applications Tab
    Then, click on Deploy Web Application
    Enter the following -
    WAR File On: Local
    WAR File Path: C:\iPlanet\Servers\plugins\servlets\examples\web-apps\jakarta-examples\jarkarta-examples.war
    Application URI: /jakarta
    Installation Directory: c:\iPlanet\examples\jakarta-examples
    By clicking on OK it deployed the application.
    I can verify that it is deployed by selecting "Edit Web Applications" and I see the following entry:
    Edit     /jakarta     c:/iPlanet/examples/jakarta-examples
    Also, c:/iPlanet/examples/jakarta-examples should have the similar following directory structure ..
    - [images]
    - [jsp]
    - index.html
    - [servlets]
    - [META-INF]
    - [WEB-INF]
    - [classes]
    - [tlds]
    - web.xml
    - index.html
    I restarted the server and accessed it using the following URL from my IE browser:
    http://yourserver/jakarta/index.html
    Then I clicked on the JSP Examples and tried some JSP examples.
    b) Alternatively, you can also deploy the same example from the command-line.
    Make sure C:\iPlanet\Servers\bin\https\httpadmin\bin\ is in your path
    wdeploy deploy      -u /jakarta
              -i yourserver
              -v https-yourserver
              -d c:\iplanet\examples\jakarta-examples
              C:\iPlanet\Servers\plugins\servlets\examples\web-apps\jakarta-examples\jarkarta-examples.war
    Restart the web server (I don't think you have to restart, but .. might as well).
    2)Deploy your web-application
    My Foo.war has the following structure.
    You can use jar tf Foo.war to look at the file contents from command line (assuming you have JDK installed and the bin is
    in your PATH)
    Foo.war
    - [META-INF]
    - [WEB-INF]
    - web.xml
    - [classes]
    - Bar.class
    - MoServlet.class
    - [lib]
    - ThirdParty.jar
    - [natlib]
    - extlib.dll
    - foo.jsp
    Here is our application scenario:
    foo.jsp uses a class call Bar (it is not in any package). The Bar java class uses classes from ThirdParty.jar. The
    ThirdParty.jar in turn uses JNI to load library extlib.dll. foo.jsp also calls /servlet/Mo as well.
    Now to deploy it, do the following:
    (a) Make sure that within foo.jsp, you import the Bar class ( I don't know why you have to do it, but if you don't you get
    JSP compile error).
    <%@page language="java" import="Bar" contentType="text/html"%>
    (b) Check web.xml (for Servlets)
    Within web.xml, make sure you have the following mappings:
    <servlet>
    <servlet-name> MoLink </servlet-name>
    <servlet-class> MoServlet </servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name> MoLink </servlet-name>
    <url-pattern> /servlet/Mo </url-pattern>
    </servlet-mapping>
    (c) Deploy the application
    Using command line:
    wdeploy deploy      -u /foo
              -i yourserver
              -v https-yourserver
              -d c:\iplanet\examples\foo-dir
              Foo.war
    (d) Change web-apps.xml file (for picking up ThirdParty.jar)
    It is located in
    C:\iPlanet\Servers\https-yourserver\config
    You should see something similar to following after successful deployment.
    <web-app uri="/foo" dir="C:\iPlanet\examples\foo-dir" enable="true"/>
    Change it to look like following to pick up the ThirdParty.jar
    <web-app uri="/foo" dir="C:\iPlanet\examples\foo-dir" enable="true">
    <class-loader reload-interval="300"
              classpath="C:/iPlanet/examples/foo-dir/WEB-INF/lib/ThirdParty.jar"
              delegate="false"/>
    </web-app>
    (e) Change jvm12.conf file (for JNI)
    It is located in
    C:\iPlanet\Servers\https-yourserver\config
    Add or uncomment the following lines:
    #optional - just helps with instrumenting the jsp and servlet code
    jvm.include.CLASSPATH=1
    jvm.enableDebug=1
    nes.jsp.enabledebug=1
    jvm.trace=7
    jvm.verboseMode=1
    #required for JNI
    java.compiler=NONE
    jvm.classpath=.;C:\JDK1.3.1\lib\tools.jar;C:/iPlanet/Servers/plugins/servlets/examples/legacy/beans.10/SDKBeans10.jar;
    jvm.option=-Xrs
    jvm.option=-Xnoagent
    # not sure if this is needed for iPlanet web server
    jvm.option=-Djava.library.path=C:/iPlanet/examples/foo-dir/natlib/ -Djava.compiler=NONE
    (f) Change magnus.conf file (for JNI)
    We HAD to change this file in order for ThirdParty.jar file to pick up the native C++ code using JNI. Apparently, the
    iPlanet Web Server doesn't pick the Environment Variable Path. Because when we had the directory containing the DLL just
    in Path, it didn't work.
    Change Extrapath directive:
    ExtraPath C:/iPlanet/Servers/bin/https/bin;${NSES_JRE_RUNTIME_LIBPATH}
    to
    ExtraPath c:/iPlanet/examples/foo-dir/natlib;C:/iPlanet/Servers/bin/https/bin;${NSES_JRE_RUNTIME_LIBPATH}
    (g) Apply changes from the Web Server Administration Console and Restart the web server.
    You should be able to see the behaviour that you want from your application.
    http://yourserver/foo/foo.jsp
    Hope this was helpful!!!
    Sonu

    Deploying a WAR file containing .jsp and servlets (also uses JNI) on Windows 2000
    We had problems making it initially work on Sun ONE Web Server 6.0 Service Pack 1 because of lack of good iPlanet Web
    Server documentation on deploying such files.
    This is how we went about it:
    1) Make one of the servlet and JSP (must call another Java Class) web application (.war) examples work with iPlanet Web
    Server.
    C:\iPlanet\Servers\plugins\servlets\examples\web-apps\HelloWorld\HelloWorld.war
    and
    C:\iPlanet\Servers\plugins\servlets\examples\web-apps\jakarta-examples\jarkarta-examples.war
    a) Go to your Web Server Administration to deploy the application using GUI Web Application Deploy.
    (We usually use command line, we experienced some issues with the GUI version, but maybe it is fixed in the new Web Server
    service packs)
    From browser, open http://yourserver:8888/
    Click on Select a Server:Manage
    Click on Virtual Server Class
    Click on https-yourserver
    Click on the Web Applications Tab
    Then, click on Deploy Web Application
    Enter the following -
    WAR File On: Local
    WAR File Path: C:\iPlanet\Servers\plugins\servlets\examples\web-apps\jakarta-examples\jarkarta-examples.war
    Application URI: /jakarta
    Installation Directory: c:\iPlanet\examples\jakarta-examples
    By clicking on OK it deployed the application.
    I can verify that it is deployed by selecting "Edit Web Applications" and I see the following entry:
    Edit     /jakarta     c:/iPlanet/examples/jakarta-examples
    Also, c:/iPlanet/examples/jakarta-examples should have the similar following directory structure ..
    - [images]
    - [jsp]
    - index.html
    - [servlets]
    - [META-INF]
    - [WEB-INF]
    - [classes]
    - [tlds]
    - web.xml
    - index.html
    I restarted the server and accessed it using the following URL from my IE browser:
    http://yourserver/jakarta/index.html
    Then I clicked on the JSP Examples and tried some JSP examples.
    b) Alternatively, you can also deploy the same example from the command-line.
    Make sure C:\iPlanet\Servers\bin\https\httpadmin\bin\ is in your path
    wdeploy deploy      -u /jakarta
              -i yourserver
              -v https-yourserver
              -d c:\iplanet\examples\jakarta-examples
              C:\iPlanet\Servers\plugins\servlets\examples\web-apps\jakarta-examples\jarkarta-examples.war
    Restart the web server (I don't think you have to restart, but .. might as well).
    2)Deploy your web-application
    My Foo.war has the following structure.
    You can use jar tf Foo.war to look at the file contents from command line (assuming you have JDK installed and the bin is
    in your PATH)
    Foo.war
    - [META-INF]
    - [WEB-INF]
    - web.xml
    - [classes]
    - Bar.class
    - MoServlet.class
    - [lib]
    - ThirdParty.jar
    - [natlib]
    - extlib.dll
    - foo.jsp
    Here is our application scenario:
    foo.jsp uses a class call Bar (it is not in any package). The Bar java class uses classes from ThirdParty.jar. The
    ThirdParty.jar in turn uses JNI to load library extlib.dll. foo.jsp also calls /servlet/Mo as well.
    Now to deploy it, do the following:
    (a) Make sure that within foo.jsp, you import the Bar class ( I don't know why you have to do it, but if you don't you get
    JSP compile error).
    <%@page language="java" import="Bar" contentType="text/html"%>
    (b) Check web.xml (for Servlets)
    Within web.xml, make sure you have the following mappings:
    <servlet>
    <servlet-name> MoLink </servlet-name>
    <servlet-class> MoServlet </servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name> MoLink </servlet-name>
    <url-pattern> /servlet/Mo </url-pattern>
    </servlet-mapping>
    (c) Deploy the application
    Using command line:
    wdeploy deploy      -u /foo
              -i yourserver
              -v https-yourserver
              -d c:\iplanet\examples\foo-dir
              Foo.war
    (d) Change web-apps.xml file (for picking up ThirdParty.jar)
    It is located in
    C:\iPlanet\Servers\https-yourserver\config
    You should see something similar to following after successful deployment.
    <web-app uri="/foo" dir="C:\iPlanet\examples\foo-dir" enable="true"/>
    Change it to look like following to pick up the ThirdParty.jar
    <web-app uri="/foo" dir="C:\iPlanet\examples\foo-dir" enable="true">
    <class-loader reload-interval="300"
              classpath="C:/iPlanet/examples/foo-dir/WEB-INF/lib/ThirdParty.jar"
              delegate="false"/>
    </web-app>
    (e) Change jvm12.conf file (for JNI)
    It is located in
    C:\iPlanet\Servers\https-yourserver\config
    Add or uncomment the following lines:
    #optional - just helps with instrumenting the jsp and servlet code
    jvm.include.CLASSPATH=1
    jvm.enableDebug=1
    nes.jsp.enabledebug=1
    jvm.trace=7
    jvm.verboseMode=1
    #required for JNI
    java.compiler=NONE
    jvm.classpath=.;C:\JDK1.3.1\lib\tools.jar;C:/iPlanet/Servers/plugins/servlets/examples/legacy/beans.10/SDKBeans10.jar;
    jvm.option=-Xrs
    jvm.option=-Xnoagent
    # not sure if this is needed for iPlanet web server
    jvm.option=-Djava.library.path=C:/iPlanet/examples/foo-dir/natlib/ -Djava.compiler=NONE
    (f) Change magnus.conf file (for JNI)
    We HAD to change this file in order for ThirdParty.jar file to pick up the native C++ code using JNI. Apparently, the
    iPlanet Web Server doesn't pick the Environment Variable Path. Because when we had the directory containing the DLL just
    in Path, it didn't work.
    Change Extrapath directive:
    ExtraPath C:/iPlanet/Servers/bin/https/bin;${NSES_JRE_RUNTIME_LIBPATH}
    to
    ExtraPath c:/iPlanet/examples/foo-dir/natlib;C:/iPlanet/Servers/bin/https/bin;${NSES_JRE_RUNTIME_LIBPATH}
    (g) Apply changes from the Web Server Administration Console and Restart the web server.
    You should be able to see the behaviour that you want from your application.
    http://yourserver/foo/foo.jsp
    Hope this was helpful!!!
    Sonu

  • Executing a shell script from a web deployed form

    Hi there,
    i've got a web deployed form from which i want to execute a UNIX shell script upon clicking a button.. I've used the host command ,and the rsh utility in Windows NT but i'm getting an error message saying
    "machine address" Permission denied, rsh can't establish connection " this is the code in the when button pressed trigger
    HOST('c:\windows\system32\rsh <<machine address>> opt/apps/wmc/rw.ksh');
    the machine address being the unix machine i'm trying to connect to and the last part being the path and the shell script to be executed..
    can anybody help me out here ????
    Regards
    wole
    null

    Jim,
    Yes. Use the host command from forms and call the command rexec.
    Raymond
    null

  • Messaging working in BlazeDS deployed on Windows Tomcat but failing in Tomcat deployed on Ubuntu

    I have been going round and round on this for days. I have no idea how to solve it. Everything works fine in windows but now I have to move to Ubuntu. I set up a streaming server with BlazeDS which is messaging to my clients great when my war is in tomcat 7 on windows but is failing in tomcat 7 on Ubuntu.
    I see my client connect to BlazeDS on Ubuntu. The DEBUG messages print out that I have a client subscribed. It says that I have one FlexSession for an id and one client subscribed to streaming-amf. Then, a few seconds later, it says that the client sent a duplicate request "streaming-amf recieved a duplicate sreaming connection request from, FlexClient with id ... Faulting request."
    Next the log files print out that there are no streaming clients for the FlexSession and no streaming clients for the endpoint streaming-amf.
    This is the same software that works fine in the Windows Tomcat container but is not in Ubuntu Tomcat even though the WAR is exactly the same. In case it helps, my config files and calls are below:
    messaging-config.xml
        <destination id="sp-streamingchannel">   
                           <properties>
                <network>
                    <session-timeout>0</session-timeout>
                    <throttle-inbound policy="ERROR" max-frequency="50"/>
                    <throttle-outbound policy="REPLACE" max-frequency="500"/>
                </network>
                <server>
                    <allow-subtopics>true</allow-subtopics>
                    <subtopic-separator>.</subtopic-separator>
                    <max-cache-size>1000</max-cache-size>
                    <message-time-to-live>0</message-time-to-live>
                    <durable>true</durable>
                </server>
            </properties>
                <channels>
                 <channel ref="streaming-amf"/>           
                </channels>
               <adapter ref="SPStreamingAdapter"/>
               </destination>
    services-conf.xml
        <channel-definition id="streaming-amf" class="mx.messaging.channels.StreamingAMFChannel">
                  <endpoint url="http://localhost:8080/SP-Web-1.0/messagebroker/spamf" class="flex.messaging.endpoints.StreamingAMFEndpoint"/>
                        <properties>
                            <idle-timeout-minutes>0</idle-timeout-minutes>
                            <max-streaming-clients>150</max-streaming-clients>                      
                            <server-to-client-heartbeat-millis>5000</server-to-client-heartbeat-millis>
                                  <user-agent-settings>
                          <user-agent match-on="MSIE" kickstart-bytes= "2048"  max-streaming-connections-per-session="2"/> 
                          <user-agent match-on="Firefox" kickstart-bytes="0"  max-streaming-connections-per-session="4"/>
                          <user-agent match-on="AdobeAIR" kickstart-bytes="2048" max-streaming-connections-per-session="2" />
                </user-agent-settings>
                        </properties>
              </channel-definition>
    The calls in Flex:
    public var channelDest:String = "http://98.193.212.138:8080/SP-Web-1.0/messagebroker/spamf";
    private var channelName:String = "streaming-amf";
    channelSet = new ChannelSet();
    channel = new StreamingAMFChannel(channelName, channelDest);
    var c:StreamingAMFChannel = new StreamingAMFChannel();
    channelSet.addChannel(channel);
    channel.connect(channelSet);
    consumer = new Consumer();
    consumer.destination  = "sp-streamingchannel";
    consumer.channelSet = channelSet;
    consumer.subtopic = "table." + tableID;
    consumer.subscribe();
    Why would this work fine on one server but fail on the other? Thanks so much for any help you can offer.
    While it may not be releavnt to this question, I do have remoting working fine with BlazeDS on both systems. When my app starts, the user has to log in. All of that is done with BlazeDS and is working fine on both Win and Ubuntu. I only have a problem when it comes to streaming with BlazeDS as is shown above.

    I have been going round and round on this for days. I have no idea how to solve it. Everything works fine in windows but now I have to move to Ubuntu. I set up a streaming server with BlazeDS which is messaging to my clients great when my war is in tomcat 7 on windows but is failing in tomcat 7 on Ubuntu.
    I see my client connect to BlazeDS on Ubuntu. The DEBUG messages print out that I have a client subscribed. It says that I have one FlexSession for an id and one client subscribed to streaming-amf. Then, a few seconds later, it says that the client sent a duplicate request "streaming-amf recieved a duplicate sreaming connection request from, FlexClient with id ... Faulting request."
    Next the log files print out that there are no streaming clients for the FlexSession and no streaming clients for the endpoint streaming-amf.
    This is the same software that works fine in the Windows Tomcat container but is not in Ubuntu Tomcat even though the WAR is exactly the same. In case it helps, my config files and calls are below:
    messaging-config.xml
        <destination id="sp-streamingchannel">   
                           <properties>
                <network>
                    <session-timeout>0</session-timeout>
                    <throttle-inbound policy="ERROR" max-frequency="50"/>
                    <throttle-outbound policy="REPLACE" max-frequency="500"/>
                </network>
                <server>
                    <allow-subtopics>true</allow-subtopics>
                    <subtopic-separator>.</subtopic-separator>
                    <max-cache-size>1000</max-cache-size>
                    <message-time-to-live>0</message-time-to-live>
                    <durable>true</durable>
                </server>
            </properties>
                <channels>
                 <channel ref="streaming-amf"/>           
                </channels>
               <adapter ref="SPStreamingAdapter"/>
               </destination>
    services-conf.xml
        <channel-definition id="streaming-amf" class="mx.messaging.channels.StreamingAMFChannel">
                  <endpoint url="http://localhost:8080/SP-Web-1.0/messagebroker/spamf" class="flex.messaging.endpoints.StreamingAMFEndpoint"/>
                        <properties>
                            <idle-timeout-minutes>0</idle-timeout-minutes>
                            <max-streaming-clients>150</max-streaming-clients>                      
                            <server-to-client-heartbeat-millis>5000</server-to-client-heartbeat-millis>
                                  <user-agent-settings>
                          <user-agent match-on="MSIE" kickstart-bytes= "2048"  max-streaming-connections-per-session="2"/> 
                          <user-agent match-on="Firefox" kickstart-bytes="0"  max-streaming-connections-per-session="4"/>
                          <user-agent match-on="AdobeAIR" kickstart-bytes="2048" max-streaming-connections-per-session="2" />
                </user-agent-settings>
                        </properties>
              </channel-definition>
    The calls in Flex:
    public var channelDest:String = "http://98.193.212.138:8080/SP-Web-1.0/messagebroker/spamf";
    private var channelName:String = "streaming-amf";
    channelSet = new ChannelSet();
    channel = new StreamingAMFChannel(channelName, channelDest);
    var c:StreamingAMFChannel = new StreamingAMFChannel();
    channelSet.addChannel(channel);
    channel.connect(channelSet);
    consumer = new Consumer();
    consumer.destination  = "sp-streamingchannel";
    consumer.channelSet = channelSet;
    consumer.subtopic = "table." + tableID;
    consumer.subscribe();
    Why would this work fine on one server but fail on the other? Thanks so much for any help you can offer.
    While it may not be releavnt to this question, I do have remoting working fine with BlazeDS on both systems. When my app starts, the user has to log in. All of that is done with BlazeDS and is working fine on both Win and Ubuntu. I only have a problem when it comes to streaming with BlazeDS as is shown above.

  • How to deploy Forms and Reports from 6i to Web Base

    I am using Forms 6i in client/server mode, I want to upgrade my platform to Forms 10g web base. I know that I have to install Application Server, however, I found that there are so many options in the download page, and, I can only find the WebLogic Server.
    I only need to deploy Forms and Reports, what is the minimum requirements (I means what Oracle software) I have to purchase.
    Can you provide also the download link? any document can teach me how to deploy Forms and Reports? (only Forms and Reports)
    Thanks a lot !!!

    From download page http://www.oracle.com/technology/software/products/ias/htdocs/101202.html you can choose Forms & Reports Services Standalone .
    Documentation at http://download.oracle.com/docs/cd/B19375_07/doc/frs/docs.htm

  • [Application Update Error] - The element 'Field' in namespace 'urn:deployment-manifest-schema' cannot contain text.

    Hello,
    I developed a custom SharePoint 2013 Application (SharePoint hosted) and everything works fine. If I tried to update the application and I ran into the following error:
    The element 'Field' in namespace 'urn:deployment-manifest-schema' cannot contain text. List
    of possible elements expected: any element in namespace '##any'.
    If I redeploy the application (without update, just a new instance) everything works fine. Only the update scenario throws the exception above. 
    I tried different things to solve that issue:
    I recreated the feature
    I checked all the custom field definitions, content types and lists inside the app. 
    I tried different O365 tenants and a SharePoint 2013 On Premise Development Server (Same problem on all systems)
    Can anybody give me a tip to solve that problem?
    Thanks in advance

    Hi,
    According to your description, when you try to update your SharePoint Hosted App, an error occurs.
    To narrow down the issue, I would suggest you create a simple app without other components in it, deploy it and then update it to see if this error will still occur.
    Once you get a workable app without the update issue, then you can add other customizations one after one in this app and perform the update. By doing this, it would
    be easier to find out the root cause.
    Anyway, you can take a look at the link below about updating app for more information:
    http://msdn.microsoft.com/en-us/library/office/dn265910(v=office.15).aspx
    Feel free to reply if there any progress.
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
    contact [email protected]
    Patrick Liang
    TechNet Community Support

  • Deploying Forms Applications to the Web With Oracle iAS

    I need exeperience comments and guidelines experience for deploying Forms in the WEB.
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Pedro Diaz Robles ([email protected]):
    I need exeperience comments and guidelines experience for deploying Forms in the WEB.<HR></BLOCKQUOTE>
    Be more specific !!

Maybe you are looking for

  • ITunes opens automatically on my G4 PowerMac.

    I installed iTunes 7 on my PowerBook G4. Everytime I restart my PowerBook G4 running 10.4.7, iTunes automatically starts. Is this an error? I didn't set any switches for it to restart automatically and my iPod is not hooked up to the PowerBook.

  • Review Activity (RA) Approval Condition is Changing

    Hello everyone, I am running SCSM 2012 R2 version 7.5.3079.0 (no CUs).  I am having an odd issue where it seems as though the approval condition is changing on review activities.  I can't seem to figure out if I've done something or if there is somet

  • Deleated Library From A Randomly Crashed Hard Drive

    Hey, my problem is that one day I turned on my computer after it was working fine yesterday...and all of a sudden it wouldn't even go to the login page. I took it to best buy and the hard drive was corrupted. We asked them if they could salvage any o

  • Primavera - Conceptual Questions

    Hi, I am planning the environment and deployment strategy for Primavera EPPM and have the following questions: 1. Coming from a Siebel CRM background, there is a concept of customisation (application code) and reference data. Does the same exist for

  • Will InDesign accept equations set in MS Word using MathCAD and/or Mathematica?

    will InDesign accept equations set in MS Word using MathCAD and/or Mathematica?