How to deploy my own apps...

Hi developers
This is sure from india.now i am developing tasklogger project in servelt. my doubt is how to deploy my application in tomcat 4.1
. please give a solution. because of i am new for servlets.
with regards
sure

1) go to my computer-properties- advanced tab-environment variables.
Then go for system variables and click new and write:
Variable name: CATALINA_HOME
Variable value: c:\Tomcat 4.1( i.e. specify ur tomcat root folder)
After writing click ok.
2) again do same for setting
Variable name: JAVA_HOME
Variable value: c:\jdk1.4(specify ur jdk folder)
Variable name: PATH
Variable value:
C:\jdk1.4\bin;C:\jdk1.4\lib;C:\Tomcat 4.1\bin;
Variable name: CLASSPATH
Variable value: C:\jdk1.4\lib;C:\Program Files\Java\j2re1.4.0_02\lib;C:\Tomcat\*.jar;
3) write ur serlet source file(helloworld.java)
4) open dos promt & compile ur pgm:
c:\Tomcat 4.1\webapps\ur application name\src\servlet> javac helloworld.java
5) put ur class file in c:\Tomcat 4.1\webapps\ur application name\web-inf\classes\ helloworld.class
6) write ur web.xml-
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<servlet>
<servlet-name>Hello</servlet-name>
<servlet-class> helloworld </servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>HelloWorld</servlet-name>
<url-pattern> \ ur application name\hello
</url-pattern>
</servlet-mapping>
</web-app>
7) start ur tomcat click on startup batch file under c:\Tomcat 4.1\bin\startup.bat
8) give url: http:\\ localhost:8080\ ur application name\hello
9) u will find ur response.
10) If u have problem in compiling ur java file then make a file on notepad and write:-
set path=�%path%�; C:\jdk1.4\bin;C:\jdk1.4\lib;C:\Tomcat 4.1\bin;
set classpath=�%classpath%�; C:\jdk1.4\lib;C:\Program Files\Java\j2re1.4.0_02\lib;C:\Tomcat\*.jar;
save this file as anyname.bat and save in :- c:\Tomcat 4.1\webapps\ur application name\src\servlet
after coming on this dir i.e. c:\Tomcat 4.1\webapps\ur application name\src\servlet
run ur bat flie and compile ur java file

Similar Messages

  • How to deploy my own web services to the Start BPEL PM Server?

    Recently, I am learning the JDeveloper BPEL Designer(version 10.1.2.0), I had finished my first BPEL process CreditFlow flowing the quickstart guider.
    Now I wonder how to deploy my own web services to the Start BPEL PM Server? I mean I don't want to invoke the CreditRatingService as I did flowing the quickstart guider, but to invoke my own web servcies. Now I had made some web services with eclipse and deployed them to the tomcat5.0. but how can I invoke these my own web services just like I invoked the CreditRatingService in the JDeveloper BPEL Designer?
    Thank you!

    Copy the WSDL file from your Tomcat server onto your development machine. Add them to your project in JDeveloper. Then add a partnerlink and specify the WSDL location. Then add you role, variables and compile!

  • How to get my own apps such as netflex

    just got the Xi  i want my own apps  such as my old samsung apps back as well as my netflex...how do i get netflex at least

    If you have a smart TV and you have it connected to the internet, then you can stream Netflix and You Tube.  It is totally separate from having a Comcast TV subscription, including x1.
    You would use your smart TV's remote to access the smart features and choose the apps that you want.

  • Any Demos,OBE or Simple documentation to explain how to deploy JDev 11 App.

    Hi All;
    pls any help like Online Demos or OBE or Simple Documentations
    explaining how to deploy JDev 11 in OAS .
    Note: I downloaded OC4J 11
    best regards
    Forakora

    are the ant tasks that come with the oc4j embedded in jDeveloper11g tp4 in the same ones from oc4j 10g and if so do they still work for deploying, connection pools and connection factories etc... in short can I use the old documentation for the ant-tasks or is there newer documentation of ocj4 ant-tasks any where?
    is http://download.oracle.com/docs/cd/B31017_01/web.1013/b28951/anttasks.htm still a good source of information?

  • How to deploy a jsp app as portlet in portal?

    i'm a new bee to this portal & portlet stuff.
    so, pls let me know if my questions doesn't make sense.
    i have a jsp app sitting in jdeveloper 9.0.3
    can i deploy this jsp app as portlet and see it from
    my portal?
    srini

    Hi Benjamin.
    Can u explain more detail about the deployment..
    I also use JDev and want to do like you do (that is deploy to 9iAS using JDev.
    I tried to create new connection via Remote DCM..
    but it gave me error.
    I also read & tried the article that u suggested..
    but still failed..
    So, my questions are:
    1)In step one, where in EM should i install Oc4jDcmServlet.ear? in OC4J_Portal(the same place i deploy jpdk)?
    "Install the DCM Servlet, Oc4jDcmServlet.ear, to a running Oracle Enterprise Manager instance. This servlet is required to run in the same OC4J instance (same JVM) as the Enterprise Manager servlet. The DCM Servlet is located in:
    <jdev_install>/dcm/lib/Oc4jDcmServlet.ear "
    2)I download JDev into my drive C.
    and i did found /dcm/lib/Oc4jDcmServlet.ear
    I not sure what to type..and where should i run the command..
    In the article,it run from c:\winnt\system32\cmd.exe.
    But when i ty to run it, it gave me error
    "Exception in thread "main" java.util.zip.ZipException: The system cannot find th
    e path specified
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(Unknown Source)
    at java.util.jar.JarFile.<init>(Unknown Source)
    at java.util.jar.JarFile.<init>(Unknown Source)"
    should i run the command in the server?Where?
    What command should i type?
    Java -jar ${ORACLE_HOME}/j2ee/home/admin.jar ormi://${EM_OC4J_HOST}:${EM_OC4J_PORT} ${IAS_ADMIN_USER} ${IAS_ADMIN_PASS} -deploy -file Oc4jDcmServlet.ear -deploymentName Oc4jDcmServlet "
    Thanks..

  • How to deploy the finished app (JSF)?

    Hi Guys,
    may be the question is obvious, but I spent enough time fighting with this IDE, that I don't want to waste any minute more.
    The problem:
    I prepared my web-app in JSF. Now I'd like to take it outside of the environment and run on a extern server (not started from Eclipse of course). but HOW?
    Is it possible to generate a war? Do I have to copy my application manually from the workspace? What about the non-standard of the directories-structure (all in "web" directory: WEB-INF inside) and the deployment on the target-server? I would just like to take it to the for example Tomcat and just start it. but it doesn't work in this way..
    Some hints? Many thanks in advance.
    kubek

    Currently Workshop does not support creation of .war file. You can use the popular ant utility tool to build the war file.
    FYI, most of the servers support exploded directory deployment - meaning no need to bundle in a war file. If you have created the web application using Workshop wizard then all the contents of "web" folder can be deployed (copied) to the server.
    Ex: Tomcat
    - Copy the content of "web" to tomcat-home\webapps<application-name>
    - start server
    - access http:\\localhost:8080\application-name
    OR
    Alternatively, you can also deploy the application with the help of Tomcat's server.xml
    - Open <tomcat-home>conf\server.xml
    - include a context-element for your application
    <Context debug="0" docBase="/C:/workshop-home/eclipse/workspace/workshop-tour/site/" path="" reloadable="true" />
    - save file
    - start server
    - access http:\\localhost:8080\

  • How to deploy Cordova built App on iPad

    @Subhag How do I deploy the app built in Cordova to iPad without going through Mac book? I tried it several times for iPad and keep getting:                
    Error      3              Error : BLD00301 : A remote iOS build agent has not been configured. Configure one in Tools > Options > Tools for Apache Cordova >
    Remote Agent Configuration. For details and alternatives see http://go.microsoft.com/fwlink/?LinkID=511904                              
    1              1              BlankCordovaApp2
    On andriod device I succeeded but not on iPad. Everything I google talks about pre-requisite: •Mac OS X Mavericks
    •Xcode 6
    •Xcode command-line tools (from Terminal app, use xcode-select --install)
    •Node.js
    How do I get them installed on/for iPad if this is what it means?
    Thank you in advance. I am quite very new in this topic of things.

    This question is not related to implementing a Mobile Device Management server.
    If you are using Visual Studio Tools for Apache Cordova you can ask this question on the StackOverflow forum here:
    http://stackoverflow.com/questions/tagged/visual-studio-cordova
    Eric Fleck, Windows Store and Windows Phone Developer Support. If you would like to provide feedback or suggestions for future improvements to the Windows Phone SDK please go to http://wpdev.uservoice.com/ where you can post your suggestions and/or cast
    your votes for existing suggestions.

  • How to deploy a J2ME app in actual device that uses RMS?

    Hi,
    Apologies if the post is in the wrong place.
    I have a MIDlet suite that uses RMS. The application would use certain data that comes from those .db files. The cliche is that the data should pre-exist in a .db file (I enter the data in the .db file through a separate MIDlet and close the RecordStore) prior to running the application for the first time in the device. Now I cannot understand how should I ship the .db file along with the .jar. Should I bundle it with the jar? And is there any device specific implementations?
    Thanks in advance.
    Regards,
    Kalyan

    Thank you for your answer, I am now creating the record store within the startApp() of my MIDlet. would you please read the following article
    at
    http://www.javaworld.com/javaworld/jw-05-2005/jw-0502-midp_p.html
    Can you please explain which data files are they talking about?

  • How to deploy non public App

    We have a public iPhone app, to be used by the general public, and we also have an iPad App (we call it the business owner Portal) that has little meaning for the public. When a business signs up with us, they get a password to use the Portal for accessing their business information.
    What is the usual way to deal with such non-public Apps (our Portal App)? Is there a way to get this App approved by Apple but distributed via some URL other than the App store?  Our Portal is not secret or anything, but since it is not usable by the general public it will not make any sense for people to find it without first talking to us.
    I would appreciate your guidance or some pointers to further information.
    Thank you.

    thank you for the link.
    I am reading it...  there is a dead link to a page for private distribution.. what I was looking for
    http://www.apple.com/iphone/business/integration/mdm/
    But I am getting the general idea.

  • Deploying Java Desktop App using executable JAR files

    Hi there.
    Today I am very optimistic about java. I am a beginner, and I had tried (in my few free time) to understand how to deploy java desktop apps.
    I am using the lattest NetBeans IDE to do the programming and it is very very fast and optimized.
    Going to the point, I tried some time ago to deploy an application (made with this IDE) using JAR files, but even though the application run well on my IDE, when I packed it, it rised an error saying that
    java.lang.NoClassDefFoundError: org/netbeans/lib/awtextra/AbsoluteLayout
    I was using an absolute layout on my JFrame forms and this AbsoluteLayout is provided by netbeans and not by the normal SDK.
    I then looked for the absolute layout class and found a jar file in the following path:
    C:\netbeans\modules\ext\AbsoluteLayout.jar
    So I mounted the Jar file in my File Systems and then added the contents of the file to myApp.Jar file.
    I used the automated Jar Recipe Packaging feature of netbeans, that is why I needed to mount the AbsoluteLayout.jar file into my file systems.
    Now it runs fine by just right clicking the MyApp.jar file from Windows Explorer.
    In a next reply to this topic I will include some sample code so that anybody requiring to do such implementation can take this for help.
    Regards!
    JN

    Well,
    I will take some time here to show the basic source code and procedure to create a desktop application, pack it up in a Jar file for deployment, add other classes or jars to the deployment jar file and finally open the jar file as an executable. This applies for either windows and linux environments.
    Take in count i am using Netbeans IDE 3.x (3.5)
    First I open the IDE and create a new project called MyDesktopApp. This is done by going to the menu Project / Project Manager. Then click on the New button and specify the project name and click on OK.
    At this point, the Filesystems tab in the project explorer is empty. So I mount a directory to store myDesktopApp in it. I selected c:\MyDesktopApp but you can select any name you want.
    To mount the directory you follow these steps:
    1. Right-click on File Systems
    2. From the contextual menu select Mount > Local Directory
    3. In the filechooser window, you just browse it and SELECT the directory to mount. Be aware that you can even create the directory on this window. Do not enter (double-click) into the directory you want to mount, just select it and click on finish...
    4.Then the directory entry appears under the filesystems node of the project explorer.
    Now you have to create your application. You can either create a package (special configured and tracked directory) or you can create the clases directly inside the directory. For tidy project, I will create the package.
    To create the package follow these instructions:
    1. Right-click on the mounted directory and from the contextual menu select New > Java Package
    2. In the New Wizard - Java Package window, type the package name and click on finish. I use the "MyDesktopApp" as package name.
    OK. Now the package is created under the mounted directory. Now we have to create the Main Class. In this case I will use a JFRAME as the main class but you can create any class you want.
    To create the JFRAME as main class follow these steps:
    1. Right click on the java package you just created and select New>JFRAME from the contextual menu. If you do not see the JFRAME option on the NEW sub menu you will have to select the All Templates option. I explain the All Templates option now on, it will be easier to use the JFRAME if available. Once you use JFRAME with the all templates then the JFRAME will show up in further NEW usage.
    2. So finally we used the All Templates, and you select the Java GUI Forms > JFRAME form option and click on NEXT.
    3. Give it a name. (I used MyDesktopAppFrm) and click on finish. Be aware you can set advanced options by clicking on next. But for the purposes of this topic we will use default options so click on FINISH
    4. A new JFRAME form appears inside your package. Right click on the form and select Set layout > Absolute Layout.
    5. Add some controls and code. I added a label and a button. And coded the ActionPerformed event of the button to say hello! on the label. this is up to you. The code just looks as follows:
    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
    // Add your handling code here:
    jLabel1.setText("Hello folks!");
    6. Compile and execute the form.
    Let's say this is our Desktop Application. Now We will pack it in a Jar in two steps...
    A. Create a JAR file (Recipe)
    1. Right-click on your package and select New > All Tempaltes (Long Route) You can also select New > JAR Recipe if available.
    2. On the New Wizard Window, choose the JAR ARchives > JAR Recipe template and click on NEXT
    3. I used MyDesktopApp as the file name and Defaults and then click on Next.
    4. Specify the JAR Contents. Select the Package (not the mounted folder) from the mounted file system and click on add and then click on NEXT twice...
    5. On the JAR Manifest window, click on GENERATE
    6. Edit the manifest in the window to add the following code:
    Main-Class: MyDesktopApp.MyDesktopAppFrm
    7. Ensure the Main-Class definition is the same as your java package and JFRAME name. Click on FINISH
    8. At this point we have a jar file in your project directory but this file wont run because it is missing some Netbeans clases that we will add in the next set of steps... Just to check, compile the file (right click on the JAR file and compile) and try to execute. It must compile but must not execute.(well if it executes you are done. It may execute if you did not set the lay out of the form as AbsoluteLayout)
    B. Add the AbsoluteLayOut to the JAR
    1. Right click on File Systems and select Mount > Archive Files
    2. Look for your netbeans installation folder and select the following file:
    .../netbeans/modules/ext/AbsoluteLayout.jar
    3. Click on finish
    4. Now the JAR File is mounted in the file systems.
    5. Right-click on your MyDesktopApp.JAR file and select properties.
    6. Look for the contents property click once on it and then on its elipsis button [...]
    7. From the FileSystems box in the Contents window, select the AbsoluteLayOut file and click on Add
    8. Then the system asks you if you are sure. Of course you are so click OK. (If not sure, just read the message text and click OK...:-))
    9. Click on OK
    10. Compile your JAR Recipe (right click on it and Compile)
    11. Now you must be able to run the file by right clicking it and EXECUTE.
    12. Also you must be able to run the file by double clicking the file from a Windows Explorer. You may receive a message asking to select the program to run the file with. You must browse and select the Javaw.exe file in the bin directory of your Java RUn Time installation. This is typically located at C:\j2sdk1.4.0_01\jre\bin or something like that. Use the File-Search feature of window to locate the JAVAW.exe file if needed.
    I hope this long explanation helps somebody to deploy Java Desktop applications. Please reply the message if it helps you just to know it was useful.
    Thanks for your time....
    JN

  • Deploying in-house Apps

    A client of mine wants to produce their technical docs catalogue as an iphone app for their sales reps and third-party designers to use whilst on-site.
    Due to this being simply for in-house purposes it wouldnt be viable for submission to the AppStore. I found this article detailing what i would like to do http://www.apple.com/iphone/business/apps/in-house/ but it doesn't mention deployment methods.
    Due to there being users at different locations, with little or no technical skill it wouldnt be viable to employ provisioning profiles for installation of the app.
    Is there any details on how to deploy in-house apps?

    Assuming you've built the app(s) with an enterprise profile, you can distribute the app using the new Wireless App Distribution approach released in IOS4.
    http://developer.apple.com/library/ios/#featuredarticles/FAWireless_Enterprise_AppDistribution/Introduction/Introduction.html
    This will handle the "deployment" and provides the specs.
    If you want to conform to the Enterprise agreement, you also need to make sure the apps only are used by employees (i.e., best to have authentication, authorization built in).
    One product that will provide all of this is Apperian EASE system (www.apperian.com/ease) which provides a deployment solution. It also enables you to incorporate authentication/authorization, as well as version checking and self-updating.

  • How to deploy bpm creted by studio to wl enterprise?

    hi guys
    i m new to aqualogic bpm. can some one twll me how to deploy a bpm app created by studio to wl enterprise?
    thanks

    This might happen when u save the Project name as some other name and then when u try to deploy it again.. bpm recognizes and stores the project name that was before.
    Delete the entire directory which contains the project name...
    For example..if the name of the Project is TestProject when u first deployed and uploaded it to the Enterprise Server using the Process Administrator and then when u try to redeploy and upload the project with a different name such as TestProject1, the enterprise server still recognizes TestProject as the path..U need to delete this instance of TestProject path....
    Also make sure you have configured the environment for the enterprise properly..Goto edocs and you would find an explanation and steps involved in the configuration. If you have a portal based weblogic server then you need to configure the weblogic server and portal and start the weblogic server before deploying the process and starting the ALBPM engine..

  • Basic question - how do you deploy a Logic app as SaaS?

    This is partially a broader question of how you deploy SaaS solutions on Azure, but wanting to know in relation to logic apps.
    So let's say I wish to create, for sake of argument, a service that allows contractors to log their hours (either via a phone or through their laptops)
    Each contractor is a separate client of mine, and I wish to develop an SaaS service that I can sell to hundreds of contractors.
    What is the blueprint for such a solution?
    Is it:
    - I create a web app to give me a web based interface they can use
    - A mobile app in which they can enter their data by mobile
    - A logic app to take data from both of these and process and store them into a SQL Server database
    And if so, would the only thing separating one contractor from the other be their logins? Or is there way of instantiating separate databases for each user (let's say I wanted to give each client their own database)? Just trying to get my head round how
    SaaS solutions would work. Any tutorials/good reads most welcome!

    Actually I came across a few articles talking about Single tenant vs Multi tenant architectures and that's opened up a whole new world for me, exactly what I was looking for. Will read up a bit more on how logic apps work in a single vs. multi-tenant environment.

  • HT204053 I share an iTunes account with my daughter, I just got an ipad and need to set up with my own I'd for iCloud sync  how can I keep my apps and music?

    I share an iTunes account with my daughter, I just got an ipad and need to set up with my own I'd for iCloud sync  how can I keep my apps and music?

    ColleenMcG wrote:
    You can continue to share the same iTunes account ID with your daughter and set up a separate iCloud account with a different ID.
    => is this a different iCloud account for each device?  I thought iCloud account ID had to match some iTunes account ID, for which we only have one i Tunes account?
    You need to set up a separate iCloud account for each person that does not want to share their iCloud data.  If you share an iCloud account with someone, any data you both sync with the shared account is merged, and you end up with each other's data on your device(s).  If, for example, you owned two devices and someone else in the family also owned two devices, you would both want your own iCloud accounts, and you would each set up your personal iCloud account on the two devices you own.  In other words, you want a separate iCloud account for each person to be used on the devices they own.  Each iCloud account has to have a separate Apple ID.  The ID does not need to be the same as the ID used for iTunes.  Many families perfer to share the same iTunes account/ID, but maintain separate iCloud accounts with different IDs to keep there data separated.
    ColleenMcG wrote:
    It does not need to be the same as the ID used for iCloud.
    => what ID, iTunes?  So I can have a separate iCloud account "only" ID which I also assume must be some [valid] email address?  The children currently do not have email accounts anywhere.
    Yes, I was referring to the iTunes ID not needing to be the same as the ID used for iCloud.  In order to set up an Apple ID your children will need to have a valid email address that can be verified by Apple.  Apple requires this so they have a way of contacting the owner if there is a problem with the account, such as when you may need to reset the password on the account.  When you set up the ID, Apple will send a verification email to this email account and you will need to click on the verificating link in the email to complete the process.  If they don't currently have an email account you can just set one up with gmail or another free email hosting service.  They don't have to use the account but you will need it to set up the ID.

  • How can i reset my app store setting? i have signed in and out with my own apple id but i used a different one at first and that one is not going away

    How can i reset my app store setting?
    I have signed in and out with my own apple id but i used a different one at first a few years ago and that one is not going away how do i change it to my own apple id?

    Content and Apple IDs -
    Content is forever tied to the Apple ID that bought it. Apple does not transfer content from one Apple ID to another. Apple does not merge Apple IDs. You will never be able to access your content bought with one Apple ID with a new Apple ID. Your only option is to delete the content and buy it again with the new Apple ID.

Maybe you are looking for

  • Problemas para download do XML em massa no GRC NFe 10.0

    Boa tarde Fizemos o upgrade de versão do GRC 1.0 para 10.0 e entramos em Produção na segunda-feira, 19/02. Estamos tendo dificuldades para efetuar o dwonload em massa dos arquivos. Temos um programa Z que parou de funcionar e quando estamos indo pela

  • Site Web Analytics reports -- no more data

    Hi, I just checked the Site Web Analystics reports and there is no more data since mid Dec. Any thoughts? Is there anything I have to reconfigure? Thanks in advance.

  • JAVA  File handling. ( Urgent  Response Appreciated)

    Hi I'm pretty new to Java. I would appreciate if any one could write programme for me for the below scenario: Write a Java program which accepts the name of a text file, reads in that file, and prints out the following information about the file: 1.

  • No mac Only windows

    my macbook pro ran good with bootcamp windows 7 installed with OS X and then this day i turned it off after work.. the other morning i turn it on and an error comes up saying MISSING OPERATING SYSTEM.. i thought there might be some problem with the w

  • Only volume control i have is in itunes

    hello, i just installed my airport express, and i have the airtunes working, however, i cannot get sound from any other source but itunes. if i try to watch videos on youtube there is no sound nor can i turn the sound up and down with the volume cont