How to run start.sh file of Tomcat4.0.1 on Mac os 8.6

Hi there,
Iam new to Mac operating system and iam trying to work on Mac os 8.6.I am trying to install Tomcat on Mac os 8.6.For that I download jakarta-tomcat-4.0.1.tar from appache site.I also extract it in my desktopfolder directly.For running start.sh file I prepare my own Tomcat_Start.sh like that:-
(#!/bin/sh
export CATALINA_HOME=/sun/desktopfolder/jakarta-tomcat-4.0.1
export JAVA_HOME=/sun/desktopfolder/MRJSDK 2.2/Tools/JDK Tools)
In Mac os 8.6 I installed MRJ2.2.4(based on jdk1.1.8) and MRJ SDK 2.2 for Java runtime enviornment.I tried with one java file and it is working perfectly that means JVM working perfectly.But I don't know how I run this Tomcat_Start.sh file on Mac.I already worked with Tomact on Windows operating system.In windows I excecute start.bat file on Dos-prompt.Can any one tell how and where I can execute my Tomcat_Strat.sh file on Mac os 8.6.And which version of Tomact support MRJ2.2.4 which is based on jdk1.1.8. It is required for my one application to install Tomcat on Mac.Presently Iam working On WinNT4.0.Any Help will be highly appreciated.
Thanks for ur Valuable Time
Bikash

Iam new to Mac operating system and iam trying to work
on Mac os 8.6.I am trying to install Tomcat on Mac os
8.6.For that I download jakarta-tomcat-4.0.1.tar from
appache site.I also extract it in my desktopfolder
directly.For running start.sh file I prepare my own
Tomcat_Start.sh like that:-.sh files are usually Shell scripts for UNIX shells. I don't think Mac OS 8.6 has a shell interpreter (could be wrong. :/) so getting it to work is going to be difficult, if not impossible.
If you have Mac OS X, however, I believe it could work on there. Not sure of exact details though.
Bhav

Similar Messages

  • How to run a jar file in JBuilder

    Hi there
    I need to know how to run a jar file using JBuilder. Thanks :)
    Countess

    well i have a german version of jbuilder and there it is under
    experten Archiv-builder
    look at something that has a similar name

  • How to run a JAR file in Unix system?

    hi there
    ca anyone tell me how to run a JAR file in unix system or X window, thank you

    You want to create an executable JAR file? You do it in the following way.
    Create a manifest file such as manif.txt and the contents should contain
    Main-Class: foo
    assuming foo is the name of your main class. Then create the jar as follows
    jar cvfm foo.jar manif.txt foo.class
    I hope that helps you!
    you can find more info here http://java.sun.com/docs/books/tutorial/jar/

  • How to run an exe file in a java program

    Hi,
    Can somebody tell me how to run an exe file in a java program.
    Thank you!

    Yes, java.lang.Runtime.exec().
    Read this carefully before you do:
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
    Don't write a line of code before you're reviewed and understood the article completely. - MOD

  • How to run a batch file as windows Nt service

    Hi friends
    I want to know how to run a batch file as windows NT service.
    I got some information in the following link
    http://support.microsoft.com/kb/q243486/
    I tried it but i want to know what we need to include in Autoexnt.bat
    And one thing i need Instexnt.exe file. I cannot find tht file.
    Please search tht file and send me tht file or else send the link in which this file is present
    Please give me reply fast.its very urgent.
    Thanks in advance.

    Hi,
    My aim is to run a MS-DOS Batch file, that I created to run a Java Prgram.
    I need to call the Batch File from the Oracle Procedure, Also I may need to change the content of the Batch File (Argument to the Java JAR File ).
    I can keep the JAR FIle either in the Oracle Server or in the Application Server.
    The Java program is to convert XML Format FIle to PDF and MS Word format.
    Oracle Version : 10g 2.0.1.0.
    Thanks in advance
    Rizly

  • How to run a batch file

    Hi,
    How to run a batch file from Oracle. Is it possible directly from PLSQl, or should I write the java code.
    Oracle Version: 10g 2.0.1.0.
    Thanks in advance
    Rizly

    Hi,
    My aim is to run a MS-DOS Batch file, that I created to run a Java Prgram.
    I need to call the Batch File from the Oracle Procedure, Also I may need to change the content of the Batch File (Argument to the Java JAR File ).
    I can keep the JAR FIle either in the Oracle Server or in the Application Server.
    The Java program is to convert XML Format FIle to PDF and MS Word format.
    Oracle Version : 10g 2.0.1.0.
    Thanks in advance
    Rizly

  • How to run the batch files

    Hi Experts,
    I am trying to implement automatic cache purging every day at specified time and i created txt file with SApurge All cache() and created bat file with nqcmd -q Analyticsweb -u username -p password -s (txt file location).
    Now i want to run this bat file daily at specified time with out executing manually may i know how to run the batch file at specified time .
    Thanks,

    There is task type as command in workflow manager if you want you can go for that during the load
    nqcmd -d "AnalyticsWeb" -u Administrator -p Administrator -s "D:\PowerCenter8.1.1\server\infa_shared\SrcFiles\1_BIPurgeCache.txt"
    Check these urls
    http://docs.oracle.com/cd/E12103_01/books/AnySched/AnySched_Scripts3.html
    http://deliverbi.blogspot.com/2011/12/purge-all-cache-from-dashboard.html

  • How to run a jar file

    hi
    can anybody tell me how to run a jar file in java,is there any need to unzip a jar file before running it?
    Thanks in advance.

    Set the classptha, if you want to run it by double clicking.
    I assume that you know, how to set the classpath.I though that if it is an executable jar, the classpath environment variable will be completely ignored. Are you saying something to the contrary?

  • How to run a batch file clicking a button?

    Hi All,
    Can you tell me anyone how to run a batch file clicking a button? And also the progress bar showing the progress.
    Arif

    As said: write the insert statement like above (of course replace the databaselink, column and table names with your own) in a stored procedure and call this procedure in the WHEN-BUTTON-PRESSED Trigger.
    As for the progress bar: how many records are you processing and how is the network connection between your database server? As above method is rather fast it might take just a few seconds and you could spare you the progress bar (this might be a little tricky to implement).
    cheers

  • How do you share Aperture file across multiple users on same Mac?

    How do you share Aperture file across multiple users on same Mac? Seems this should be a preferences choice.

    When you share your library between users, you may run into permission and ownership problems, if both users are editing the Aperture library and not only reading it. To avoid that, it helps to put the Aperture library onto a separate disk or a separate partion of your hard drive. For s separate partition or disk you can enable the "ignore ownership on this volume" flag. Then all users can access the library as owners of this library.
    You might try to put the aperture library into a shared folder on your mac, but that has caused problems recently, i.e. when the library also contains video files.
    Regards
    Léonie

  • How do i share a file so another user of my mac pro can access

    Hi
    I have a file on my mac pro that I want others to use for presentations without them seeing all my private info.  I have set up a new user but how do I share the file the other user on my mac pro can see it?

    Place the files you want to transfer on the Desktop
    Click on the Finder or desktop to swtich to Finder, then Go > Computer, then double click on the boot drive, then on the Users folder.
    Open the target User folder and inside is a Public folder > Drop Box, just drag and drop in there and the permissions change so that user can use the file.

  • New to JSP-How to run a .jsp file

    I Have just begin to learn JSP. I downloaded the JSP developer kit from java.sun.com. However I dont know how to proceed. I have seen references to'the container'. what is it and how do I start it? and the same for the server which I have in the form a batch file. How do I configure the environment? Are there any prerequisites to using this kit wrt software? Please do help me, since I am absolutely clueless
    Regards,
    Sweta

    Hi Sweta,
    Please use any editor like eclipse or netbeans or you create one jsp page(assumes you know jsp).
    and then create two folders web-inf inside which create classes and lib folder and web.xml is created, and meta-inf inside which context.xml is created. And use tomcat container to deploy.
    Apache tomcat is container which would receive the client request from browser that will route to servlet/jsp.
    whereas Apache webserver is different it provides the request to container if it exists then we can replace localhost:8080 by user defined.
    JSP is nothing but Dynamic web page creator which embed java program in html.
    JSPinit initializes and while running converts to servlet and will be processed according to the java code embed and display as per the html tags.
    But you should use struts framework why it is constructed upon MVC architecture and purely object oriented.
    So struts is nothing but the execution calls are drived by configuration xml files.
    If anything you need to know in details, pls msg me to [email protected]
    Thanking you
    Charles v c

  • How to RUN a XML file directly in JDeveloper

    Can any one please suggest me for running a XML file directly in Jdeveloper?
    I need the step how to do it

    actually I am calling xsl inside my xml....
    the XMl code
    =================
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <?xml-stylesheet type="text/xsl" href="SfATranslation.xsl"?>
    <SfAForm>
    <SfAFormHeader>
    <Name>ACM Maintain Code Table</Name>
    <Notes></Notes>
    <HeaderText>ACM Maintain Transaction Code Table</HeaderText>
    <ItemID></ItemID>
    <LogoImage>cpfb.gif</LogoImage>
    <SubmitTo>FormAction.asp</SubmitTo>
    <Title>Account Management</Title>
    <TranslationRule>SfATranslation</TranslationRule>
    </SfAFormHeader>
    <SfASection>
    <VisibilityRule></VisibilityRule>
    <SfASectionHeader>
    <Name>ACM - Maintain Transaction Code Table</Name>
    <Notes>ACM Maintain Transaction Code Table</Notes>
    <ItemID>TX Code</ItemID>
    </SfASectionHeader>
    <SfAComponent>
    <VisibilityRule></VisibilityRule>
    <SfAComponentHeader>
    <Name>Code Table Information</Name>
    <ItemID>A1</ItemID>
    </SfAComponentHeader>
    <SfAItem>
    <Name>Scheme Code</Name>
    <Type>SfA_Select</Type>
    <VisibilityRule></VisibilityRule>
    <Information>Select Scheme</Information>
    <ItemID></ItemID>
    <Required>*</Required>
    <Value></Value>
    <SfA_SelectOptions>
    <Name>Education</Name>
    <ItemID>EDN</ItemID>
    <Multiple>Y</Multiple>
    <Selected></Selected>
    </SfA_SelectOptions>
    <SfA_SelectOptions>
    <Name>Housing</Name>
    <ItemID>HU</ItemID>
    <Multiple>Y</Multiple>
    <Selected></Selected>
    </SfA_SelectOptions>
    <SfA_SelectOptions>
    <Name>Investment</Name>
    <ItemID>INV</ItemID>
    <Multiple>Y</Multiple>
    <Selected></Selected>
    </SfA_SelectOptions>
    </SfAItem>
    <SfAItem>
    <Name>Transaction Code</Name>
    <Type>SfA_Text</Type>
    <VisibilityRule></VisibilityRule>
    <Information>Enter Transaction Code</Information>
    <ItemID>TXCode</ItemID>
    <Required>*</Required>
    <Value></Value>
    </SfAItem>
    <SfAItem>
    <Name>Reason Code</Name>
    <Type>SfA_Text</Type>
    <VisibilityRule></VisibilityRule>
    <Information>Enter Reason</Information>
    <ItemID>Reason</ItemID>
    <Required>*</Required>
    <Value></Value>
    <ItemError>
    <Name>Error Test</Name>
    <ItemID>ER001</ItemID>
    <Message>Please enter valid data . . .</Message>
    <SupportLink>http://www.google.co.nz/</SupportLink>
    </ItemError>
    </SfAItem>
    <SfAItem>
    <Name>Description</Name>
    <Type>SfA_Textarea</Type>
    <VisibilityRule></VisibilityRule>
    <Cols>60</Cols>
    <Information>Enter Description</Information>
    <ItemID>Description</ItemID>
    <Required>*</Required>
    <Rows>5</Rows>
    <Value></Value>
    </SfAItem>
    <SfAItem>
    <Name>Interest Computation</Name>
    <Type>SfA_Checkbox</Type>
    <VisibilityRule></VisibilityRule>
    <Information></Information>
    <ItemID>Interest</ItemID>
    <Required></Required>
    <Value></Value>
    <SfA_CheckboxOptions>
    <Name>Interest</Name>
    <ItemID>IDInterest</ItemID>
    <Multiple>Y</Multiple>
    <Selected></Selected>
    </SfA_CheckboxOptions>
    </SfAItem>
    <SfAItem>
    <Name>Interest Information</Name>
    <Type>SfA_Information</Type>
    <VisibilityRule>IDInterest!='IDInterest'</VisibilityRule>
    <BeginText>For information</BeginText>
    <EndText>or look up admin manual</EndText>
    <ItemID></ItemID>
    <Link>http://www.google.co.nz/</Link>
    <LinkLabel>see sss</LinkLabel>
    </SfAItem>
    </SfAComponent>
    <SfAComponent>
    <VisibilityRule>IDInterest!='IDInterest'</VisibilityRule>
    <SfAComponentHeader>
    <Name>Interest Calculation Applicable Dates</Name>
    <ItemID>A2</ItemID>
    </SfAComponentHeader>
    <SfAItem>
    <Name>Effective Start Date</Name>
    <Type>SfA_Text</Type>
    <VisibilityRule></VisibilityRule>
    <Information>dd/mm/yyyy</Information>
    <ItemID></ItemID>
    <Required></Required>
    <Value></Value>
    </SfAItem>
    <SfAItem>
    <Name>Effective End Date</Name>
    <Type>SfA_Text</Type>
    <VisibilityRule></VisibilityRule>
    <Information>dd/mm/yyyy</Information>
    <ItemID></ItemID>
    <Required></Required>
    <Value></Value>
    </SfAItem>
    </SfAComponent>
    </SfASection>
    <SfAMenuHeader>
    <MenuItem>
    <Name>Account Management</Name>
    <Href>Form.xml</Href>
    <Image></Image>
    <ItemID></ItemID>
    <Target>_self</Target>
    </MenuItem>
    <MenuItem>
    <Name>Asset Enhancement</Name>
    <Href>Form.xml</Href>
    <Image></Image>
    <ItemID></ItemID>
    <Target>_self</Target>
    </MenuItem>
    <MenuItem>
    <Name>Common Biz Services</Name>
    <Href>Form.xml</Href>
    <Image></Image>
    <ItemID></ItemID>
    <Target>_self</Target>
    </MenuItem>
    <MenuItem>
    <Name>Common Sys Services</Name>
    <Href>Form.xml</Href>
    <Image></Image>
    <ItemID></ItemID>
    <Target>_self</Target>
    </MenuItem>
    <MenuItem>
    <Name>Operations</Name>
    <Href>Form.xml</Href>
    <Image></Image>
    <ItemID></ItemID>
    <Target>_self</Target>
    </MenuItem>
    <MenuItem>
    <Name>System Messages</Name>
    <Href>Form.xml</Href>
    <Image></Image>
    <ItemID></ItemID>
    <Target>_self</Target>
    </MenuItem>
    </SfAMenuHeader>
    <SfAButtonHeader>
    <ButtonItem>
    <Name>Save</Name>
    <ItemID></ItemID>
    </ButtonItem>
    <ButtonItem>
    <Name>Update</Name>
    <ItemID></ItemID>
    </ButtonItem>
    <ButtonItem>
    <Name>Deactivate</Name>
    <ItemID></ItemID>
    </ButtonItem>
    <ButtonItem>
    <Name>Help</Name>
    <ItemID></ItemID>
    </ButtonItem>
    <ButtonItem>
    <Name>Cancel</Name>
    <ItemID></ItemID>
    </ButtonItem>
    </SfAButtonHeader>
    </SfAForm>
    The Xsl code
    <?xml version="1.0"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:template match="SfAForm">
    <html>
    <head>
    <title>HP Smart Forms Demo</title>
              <link rel="stylesheet" href="../shared/css/useragentmanExample.css" type="text/css" media="all" />
              <link rel="stylesheet" href="../shared/css/visibleIf.css" type="text/css" media="all" />
              <link rel="stylesheet" href="../shared/css/style.css" type="text/css" media="all" />
              <script type="text/javascript" src="../shared/js/EventHelpers.js"></script>
              <script type="text/javascript" src="../shared/js/visibleIf.js"></script>
    </head>
    <body>
    <xsl:apply-templates select="SfAFormHeader"/>
    </body>
    </html>
    </xsl:template>
    <xsl:template match="SfAFormHeader">
    <xsl:variable name="tmpformID"><xsl:value-of select="ItemID"/></xsl:variable>
    <xsl:variable name="tmpformName"><xsl:value-of select="Name"/></xsl:variable>
    <xsl:variable name="tmpformAction"><xsl:value-of select="SubmitTo"/></xsl:variable>
    <xsl:variable name="tmpformImage"><xsl:value-of select="LogoImage"/></xsl:variable>
    <div id="stylized" class="myform">
    <form id="{$tmpformID}" name="{$tmpformName}" method="post" action="{$tmpformAction}" class="visibleIf-disableIfInvisible">
    <table>
    <tr>
    <td valign="top"><IMG src="{$tmpformImage}" ALT=""/></td>
    <td valign="top" rowspan="1">
         <h1> <xsl:value-of select="Title"/> </h1>
         <p>
    <xsl:call-template name="PreserveLineBreaks">
    <xsl:with-param name="text" select="Notes"/>
    </xsl:call-template>
    </p>
         <!-- <xsl:apply-templates select="//SfASection"/> -->
    </td>
    </tr>
    <tr>
         <td valign="top">
         <xsl:apply-templates select="//SfAMenuHeader"/>
         </td>
         <td valign="top">
         <xsl:apply-templates select="//SfASection"/>
         </td>
    </tr>
    <tr>
    <td></td> <!--Blank cell below the menu-->
    <td>
    <p></p>
         <xsl:apply-templates select="//SfAButtonHeader"/>
    </td>
    </tr>
    </table>
    </form>
    </div>
    </xsl:template>
    <xsl:template match="SfAMenuHeader">
    <xsl:apply-templates select="MenuItem"/>
    </xsl:template>
    <xsl:template match="MenuItem">
    <xsl:variable name="tmpappMenuHref"><xsl:value-of select="Href"/></xsl:variable>
    <xsl:variable name="tmpappMenuTarget"><xsl:value-of select="Target"/></xsl:variable>
    <xsl:variable name="tmpappMenuImage"><xsl:value-of select="Image"/></xsl:variable>
    <a class="menulink" href="{$tmpappMenuHref}" target="{$tmpappMenuTarget}"> <xsl:value-of select="Name"/> </a>
    <xsl:choose>
    <xsl:when test="$tmpappMenuImage=''">
    </xsl:when>
    <xsl:otherwise>
    <IMG src="{$tmpappMenuImage}" ALT=""/>
    </xsl:otherwise>
    </xsl:choose>
    </xsl:template>
    <xsl:template match="SfAButtonHeader">
    <xsl:apply-templates select="ButtonItem"/>
    </xsl:template>
    <xsl:template match="ButtonItem">
    <button type="submit"><xsl:value-of select="Name"/></button>
    </xsl:template>
    <xsl:template match="SfASection">
    <xsl:variable name="tmpSectionVisibleRule"><xsl:value-of select="VisibilityRule"/></xsl:variable>
    <xsl:choose>
    <xsl:when test="$tmpSectionVisibleRule=''">
    <xsl:apply-templates select="SfASectionHeader"/>
    <xsl:apply-templates select="SfAComponent"/>
    </xsl:when>
    <xsl:otherwise>
    <span class="visibleIf" data-visibleif-rule="{$tmpSectionVisibleRule}"> <!--&&=AND ||==OR -->
    <xsl:apply-templates select="SfASectionHeader"/>
    <xsl:apply-templates select="SfAComponent"/>
    </span>
    </xsl:otherwise>
    </xsl:choose>
    </xsl:template>
    <xsl:template match="SfAComponent">
    <xsl:variable name="tmpComponentVisibleRule"><xsl:value-of select="VisibilityRule"/></xsl:variable>
    <xsl:choose>
    <xsl:when test="$tmpComponentVisibleRule=''">
    <xsl:apply-templates select="SfAComponentHeader"/>
    <xsl:apply-templates select="SfAItem"/>
    </xsl:when>
    <xsl:otherwise>
    <span class="visibleIf" data-visibleif-rule="{$tmpComponentVisibleRule}"> <!--&&=AND ||==OR -->
    <xsl:apply-templates select="SfAComponentHeader"/>
    <xsl:apply-templates select="SfAItem"/>
    </span>
    </xsl:otherwise>
    </xsl:choose>
    </xsl:template>
    <xsl:template match="SfASectionHeader">
    <h3 class="sectionID"> <xsl:value-of select="ItemID"/> </h3>
    <h2 class ="sectionTitle"> <xsl:value-of select="Name"/> </h2>
    <!-- <p> <xsl:value-of select="Notes"/></p> -->
    <p>
    <xsl:call-template name="PreserveLineBreaks">
    <xsl:with-param name="text" select="Notes"/>
    </xsl:call-template>
    </p>
    </xsl:template>
    <xsl:template match="SfAComponentHeader">
    <h3 class="questionCode"> <xsl:value-of select="ItemID"/> </h3>
    <h3 class ="questionTitle"> <xsl:value-of select="Name"/> </h3>
    </xsl:template>
    <xsl:template match="SfAItem">
    <xsl:variable name="tmpItemVisibleRule"><xsl:value-of select="VisibilityRule"/></xsl:variable>
    <xsl:choose>
    <xsl:when test="$tmpItemVisibleRule=''">
    <xsl:call-template name="processItem">
    </xsl:call-template>
    </xsl:when>
    <xsl:otherwise>
    <span class="visibleIf" data-visibleif-rule="{$tmpItemVisibleRule}"> <!--&&=AND ||==OR -->
    <xsl:call-template name="processItem">
    </xsl:call-template>
    </span>
    </xsl:otherwise>
    </xsl:choose>
    </xsl:template>
    <xsl:template name="processItem">
    <xsl:variable name="tmpID"><xsl:value-of select="ItemID"/></xsl:variable>
    <xsl:variable name="tmpItemValue"><xsl:value-of select="Value"/></xsl:variable>
    <xsl:variable name="tmpItemType"><xsl:value-of select="Type"/></xsl:variable>
    <xsl:apply-templates select="ItemError"/>
    <xsl:choose>
    <xsl:when test="$tmpItemType='SfA_Select'">
    <label>
    <xsl:value-of select="Name"/><b><font color="red"><xsl:value-of select="Required"/></font></b>
    <span class="small"> <xsl:value-of select="Information"/> </span>
    </label>
              <select class="dropdown" name="{$tmpID}" value="{$tmpItemValue}">
              <xsl:apply-templates select="SfA_SelectOptions"/>
              </select>
    </xsl:when>
    <xsl:when test="$tmpItemType='SfA_Checkbox'">
    <label>
    <xsl:value-of select="Name"/><b><font color="red"><xsl:value-of select="Required"/></font></b>
    <span class="small"> <xsl:value-of select="Information"/> </span>
    </label>
    <div>
    <xsl:apply-templates select="SfA_CheckboxOptions"/>
    </div>
    </xsl:when>
    <xsl:when test="$tmpItemType='SfA_Radio'">
    <label>
    <xsl:value-of select="Name"/><b><font color="red"><xsl:value-of select="Required"/></font></b>
    <span class="small"> <xsl:value-of select="Information"/> </span>
    </label>
    <div>
    <xsl:apply-templates select="SfA_RadioOptions"/>
    </div>
    </xsl:when>
    <xsl:when test="$tmpItemType='SfA_Information'">
              <xsl:variable name="tmpLink"><xsl:value-of select="Link"/></xsl:variable>
              <span class="para">
              <xsl:value-of select="BeginText"/>
              <xsl:if test="$tmpLink!=''">
                   <xsl:text> </xsl:text>
         <xsl:value-of select="LinkLabel"/>
         </xsl:if>
              <xsl:text> </xsl:text>
              <xsl:value-of select="EndText"/>
              </span>
    </xsl:when>
    <xsl:when test="$tmpItemType='SfA_Textarea'">
         <xsl:variable name="tmpRows"><xsl:value-of select="Rows"/></xsl:variable>
    <xsl:variable name="tmpCols"><xsl:value-of select="Cols"/></xsl:variable>
    <label>
    <xsl:value-of select="Name"/><b><font color="red"><xsl:value-of select="Required"/></font></b>
    <span class="small"> <xsl:value-of select="Information"/> </span>
    </label>
    <textarea class="text" rows="{$tmpRows}" cols="{$tmpCols}" name="{$tmpID}"><xsl:value-of select="Value"/></textarea>
    </xsl:when>
    <xsl:otherwise>
    <label>
    <xsl:value-of select="Name"/><b><font color="red"><xsl:value-of select="Required"/></font></b>
    <span class="small"> <xsl:value-of select="Information"/> </span>
    </label>
              <input class="text" type="text" name="{$tmpID}" id="{$tmpID}" value="{$tmpItemValue}"/>
    </xsl:otherwise>
    </xsl:choose>
    </xsl:template>
    <xsl:template match="ItemError">
    <xsl:variable name="tmpSupportLink"><xsl:value-of select="SupportLink"/></xsl:variable>
    <!--Add error message if it exists. Add below the data entry -->
    <!-- <label><xsl:text>Error: </xsl:text><xsl:value-of select="ItemID"/></label> -->
    <label></label>
    <xsl:choose>
    <xsl:when test="$tmpSupportLink=''">
    <span class="error"><xsl:value-of select="Message"/></span>
    </xsl:when>
    <xsl:otherwise>
    <a class="error" href="{$tmpSupportLink}" target="_blank"><xsl:value-of select="Message"/></a>
    </xsl:otherwise>
    </xsl:choose>
    </xsl:template>
    <xsl:template match="SfA_CheckboxOptions">
    <xsl:variable name="tmpItemOptionID"><xsl:value-of select="ItemID"/></xsl:variable>
    <xsl:variable name="tmpItemOptionValue"><xsl:value-of select="Value"/></xsl:variable>
    <xsl:variable name="tmpItemOptionSelected"><xsl:value-of select="Selected"/></xsl:variable>
    <xsl:variable name="tmpItemOptionMultiple"><xsl:value-of select="Multiple"/></xsl:variable>
    <input type="checkbox" name="{$tmpItemOptionID}" value="{$tmpItemOptionID}">
    <xsl:if test="$tmpItemOptionSelected='Y'">
    <xsl:attribute name="checked">checked</xsl:attribute>
    </xsl:if>
    </input>
    <xsl:choose>
    <xsl:when test="$tmpItemOptionMultiple='Y'">
    <span class="checklabelMultiple"><xsl:value-of select="Name"/></span>
    </xsl:when>
    <xsl:otherwise>
    <span class="checklabelSingle"><xsl:value-of select="Name"/></span>
    </xsl:otherwise>
    </xsl:choose>
    </xsl:template>
    <xsl:template match="SfA_RadioOptions">
    <xsl:variable name="tmpItemOptionID"><xsl:value-of select="ItemID"/></xsl:variable>
    <xsl:variable name="tmpItemOptionValue"><xsl:value-of select="Value"/></xsl:variable>
    <xsl:variable name="tmpItemOptionSelected"><xsl:value-of select="Selected"/></xsl:variable>
    <xsl:variable name="tmpItemOptionMultiple"><xsl:value-of select="Multiple"/></xsl:variable>
    <input type="radio" name="{$tmpItemOptionID}" value="{$tmpItemOptionValue}">
    <xsl:if test="$tmpItemOptionSelected='Y'">
    <xsl:attribute name="checked">checked</xsl:attribute>
    </xsl:if>
    </input>
    <xsl:choose>
    <xsl:when test="$tmpItemOptionMultiple='Y'">
    <span class="checklabelMultiple"><xsl:value-of select="Name"/></span>
    </xsl:when>
    <xsl:otherwise>
    <span class="checklabelSingle"><xsl:value-of select="Name"/></span>
    </xsl:otherwise>
    </xsl:choose>
    </xsl:template>
    <xsl:template match="SfA_SelectOptions">
    <xsl:variable name="tmpItemOptionValue"><xsl:value-of select="ItemID"/></xsl:variable>
    <xsl:variable name="tmpItemOptionSelected"><xsl:value-of select="Selected"/></xsl:variable>
    <xsl:choose>
    <xsl:when test="$tmpItemOptionSelected=''">
              <option value="{$tmpItemOptionValue}"><xsl:value-of select="Name"/></option>
    </xsl:when>
    <xsl:otherwise>
    <option value="{$tmpItemOptionValue}" selected="{$tmpItemOptionSelected}"><xsl:value-of select="Name"/></option>
    </xsl:otherwise>
    </xsl:choose>
    </xsl:template>
    <xsl:template name="PreserveLineBreaks">
    <xsl:param name="text"/>
    <xsl:choose>
    <xsl:when test="contains($text,'&#xA;')">
    <xsl:value-of select="substring-before($text,'&#xA;')"/>
    <xsl:call-template name="PreserveLineBreaks">
    <xsl:with-param name="text">
    <xsl:value-of select="substring-after($text,'&#xA;')"/>
    </xsl:with-param>
    </xsl:call-template>
    </xsl:when>
    <xsl:otherwise>
    <xsl:value-of select="$text"/>
    </xsl:otherwise>
    </xsl:choose>
    </xsl:template>
    </xsl:stylesheet>

  • Reg: How to Run a Script File in WebLogic Server 10.3.3

    Hi WebLogic Experts,
    In our project we are using WebLogic Serve 10.3.3. I need to run one script file. could you please suggest me where should i need to place that script file in WebLogic Server 10.3.3 and How to run & stop that Script file.?
    please experts i waiting for your's reply..
    Thanks & Regards,
    Induja..

    1. You can put a command line into startWebLogic.sh to start your script file.
    2. In your proyect you can create a java class to run the script file.
    3. You can create a java class to run the script file an setup it like a startup class into weblogic server.
    4. You can create a java class to run the script file an setup it like a job scheduler into weblogic server.
    In what time you need run this script file?

  • How to run my jar file on a webserver

    hello everybody,
    I've created a chat aplication which consists of a client-side and server-side. The client-side is an applet and is working fine. But i'm getting problem with the server-side. Actually, it is working fine on my local system and even in a local area network. But now, i want to put the server-side on a webserver. So, i want to know how can i do that. My server-side is a jar file "chatserver.jar" which i've developed using frame containers. I want to know also how to run the chatserver.jar on the webserver. Is it that i should have implemented jsp? Or javascript? coz my chatserver must be always running 24/7. It must not be available to user. users will chat through applets and the data will be sent to the server-side which will in turn control and recognise those data. Can anyone please help me in that issue.

    that was very kind of u for replying to me. thanks a lot. Well, the web software i'm running is nothing soo great but it's simply a chat server side application. In this application, i'm using a thread where my datagram socket will keep on receiving data from clients and this server side apllication must response to the client. For example, if a client has added a new room, or a new user has logged in, the server side must take care to inform all other clients that a new user has just logged in or a new room has been created. The main method is in the "chatserver.class". Then, i've combined all my classes including the chatserver.class into a jar file. When i click on the jar file on my local system or on the server of a local area network, it works beautifully. So, my server side application works like that. I have to click on the chatserver.jar once and nothing else. No other interaction with the applicaion. But my problem is how to run it on a web-server like apache. Or even if i upload this software on a website, how do i make it run? Shall i implement jsp codes? If yes, how to execute such jar file using jsp?
    here are part of the codes where my datagramsocket is receiving message from clients:
    public void run()
         while(thread!=null)
              byte[] recbuf=new byte[65536];
              recpacket=new DatagramPacket(recbuf,recbuf.length);
              try{
                   servsocket.receive(recpacket);
                   if(servsocket==null)
         byte[] bt=recpacket.getData();
         String recvmess = new String(bt, 0, recpacket.getLength());
         InetAddress clientaddress=recpacket.getAddress();
         int clientport=recpacket.getPort();
         chatcom=new chatcom(this,clientaddress,clientport,recvmess);
         try{
              thread.sleep(10);     
         catch(InterruptedException _INExc)      
    chatcom is another class which i've created to differentiate if the data received is a message, new room, new user, etc... I've created my own RFC to make those differences. Like i said above, if a client has created a new room, the chatcom class will recognise that a new room has to be created and will therefore send the new room created to all other clients. So, i want to know how to get my "chatserver.jar" run on a web server like apache or even on a website if i want to upload this software. Coz once it starts running, i dnt hav to close the application. I mean to say that this application will have to run 24/7. Do i have to execute it externally using jsp codes? Is there any way to get my application run on a webserver?

Maybe you are looking for

  • Line and paragraph spacing in pages 5.1

    Line spacing in Pages 5.1 does not seem to be incremental any more and I cannot see how to adjust paragraph spacing at all. Any suggestions?? This is on a Mac using the

  • What does image cannot be edited. The original is offline.

    I was trying to edit a photo in an album and got an error message in right panel: Image Cannot be Edited; Original is offline.  What does that mean?

  • ABAP reports to crystal reports

    Hi, what is the best way to convert 100 ABAP reports we have into crystal reports. is there a tool for that by business objects or crystal reports or do we have to do it hand by hand, one ABAP report to one crystal report.  Please help. Thanks.

  • Deadlock when delete rows with blob.

    Hello I have the following issue. I try to clean a table that contains a BLOB column. To do this I use SQLDBC I create a statement that contains the LOB column, I fetch the line, load the Blob. and before fetching the next line, I send a delete reque

  • Anyone one with 1,000+ JSPs with custom tags?

              We're having some interesting memory problems with Sun JVMs, I'd like to hear how           your app is working out (misery loves company).           Mike