How to install struts application in a real web server

I have a problem about installing my struts application into web server..
I can run my application under eclipse websphere development studio 5.0 web server but I don't know How I install it a real webserver (Apche,Unix,Tomcat or etc.) under location something like " http://cmpe.emu.edu.tr/ " .
I have small exprerinece about web servers.. So if you can state your answers clearly, I'll be really grateful...
Ergin DEMIREL
Thanks in Advance..

Web servers like Apache or M$ IIS serve up static HTLM content. They don't handle Java servlets/JSPs by default. You need a servlet/JSP engine for that. Tomcat is one. All J2EE-compliant app servers have one, too (e.g., WebSphere, WebLogic, JBoss, etc.)
If you're asking how to do it with Apache the answer is: bolt Tomcat on top of Apache. There are docs on the Tomcat site to tell you how to do that.
%

Similar Messages

  • Can ne one help me in installing STRUTS on Tomcat 4.1 web server

    Can ne one help me in installing STRUTS on Tomcat 4.1 web server.
    I haven't started yet.. Please Help me.
    Thanx in Advance.
    Regards,
    Ashutosh Sharma

    first try to get a file "struts-blank-1.3.8.war" from internet...
    before that we need to get certain jar files from net .. as these wud be necessary for the struts deployment on our tomcat
    antlr-2.7.2.jar
    bsf-2.3.0.jar
    commons-beanutils-1.7.0.jar
    commons-chain-1.1.jar
    commons-digester-1.8.jar
    commons-fileupload-1.1.1.jar
    commons-io-1.1.jar
    commons-logging-1.0.4.jar
    commons-validator-1.3.1.jar
    jstl-1.0.2.jar
    oro-2.0.8.jar
    standard-1.0.2.jar
    struts-core-1.3.8.jar
    struts-el-1.3.8.jar
    struts-extras-1.3.8.jar
    struts-faces-1.3.8.jar
    struts-mailreader-dao-1.3.8.jar
    struts-scripting-1.3.8.jar
    struts-taglib-1.3.8.jar
    struts-tiles-1.3.8.jar
    if u download struts 1.3.8.zip then u'll get all the files + with in the apps folder u'll get the war files that have some
    examples
    eg:-
    struts-blank-1.3.8.war
    struts-cookbook-1.3.8.war
    struts-el-example-1.3.8.war
    struts-examples-1.3.8.war
    and so on..... u mite get these files with some books ....... these war files contain the examples that u can run
    ******************* HOW TO DEPLOY STRUTS ON TOMCAT WEB SERVER ( I am Using apache-tomcat-5.5.25 ) ***********************
    copy all the .jar files that are present in the lib folder of the struts kit to the "\common\lib" folder of
    apache-tomcat-5.5.25
    Note that in Environment Variable CLASSPATH must be specified to lib folder of the tomcat than only these files will work
    Now copy the "struts-blank-1.3.8.war" file from the "apps" directory that will contain many ".war" files to "\webapps" folder
    of tomcat.
    now shutdown and then restart the tomcat webserver, now in the "webapps" folder u can see a folder as "struts-blank-1.3.8"
    now open Internet Explorer or any other Web Browser that ur using and type in
    http://localhost:8080/struts-blank-1.3.8
    if the page is coming showing u a welcome message it means struts are running fine
    Friends this mite be useful for all the beginners.. as i am a beginner so i know the problems that can come to start..
    Regards,
    Ashutosh Sharma

  • How to install Tomcat 1.4 on Apache Web Server

    I'd like to know how to install Tomcat 1.4 on Apache web server. I cant find any instructions from the documentation that goes along with the Tomcat 1.4

    1) Use mod_jk.dll. Obtain it from the jakarta's site. (It comes with Tomcat 3.3 and above)Put it in the apache's modules folder.
    2) Modify httpd.conf of the A.W.S, append the following line to it:
    include TOMCAT_HOME/conf/mod_jk.conf-auto
    3) Start Apache W.S first, then restart Tomcat.
    It's simple and hope this works!
    Rommel Sharma.

  • How to install an application to a real phone?

    hi i have writen the classes and i have make the jar arn the jar file.
    I test it on the "J2ME Wireless Toolkit 2.1" and i see that it is fine.
    now i want to install it in a real phone i have SonyEricson T300 and i set the wap settings sucessfully.
    The question is: how can I install my application to the my mobile phone using wap?
    what should i do? can anyone explain me step by step? the codes ,the settings, the files etc etc...
    thank you very much!!!
    Here is the content of jad file
    MIDlet-1: Bilkent, Bilkent.png, Bilkent
    MIDlet-Jar-Size: 165450
    MIDlet-Jar-URL: Bilkent.jar
    MIDlet-Name: Bilkent
    MIDlet-Vendor: Yenel SoftwareSystems
    MIDlet-Version: 1.0
    MicroEdition-Configuration: CLDC-1.0
    MicroEdition-Profile: MIDP-2.0

    ok. i coreect the jad and jar file. then i install it into the LG 5300.
    it supports j2me and MIDP1.0. so i rebuild the code for MIDP1.0. then it works fine!
    Then i make the website than i see taht it can downloable from the wp. thats cool!!
    but i have a question!!! my program takes some Images (jpges) from the web!
    in the emulator it is very fine my program gets the pictures from the web and shows them into the form but in the phone i cannot get the images! when i call getImagefromUrl it waits waits but no image appears!!!
    how can i solve the problem? why doesnt it appear? how can i sure that my phones wap is connected and i run my j2me program???
                public static Image getFromURL(String url)
           //     System.out.println ("Resim alma basladi!");
              System.gc();
              Image im=null;
              try{
                        HttpConnection connection=(HttpConnection)Connector.open(url);
                        connection.setRequestMethod(HttpConnection.GET);
                        if(connection.getResponseCode()!=HttpConnection.HTTP_OK)
                             connection= null;
                        InputStream instream=connection.openInputStream();
                       byte[] bite=new byte[30*1024];
                       int downloaded=0;
                        int current=0;
                             while( (current=instream.available())>0 && downloaded+current<bite.length )
                                  instream.read(bite,downloaded,current);
                                 downloaded=downloaded+current;
                                 Thread.currentThread().sleep(250);
                           im= Image.createImage (bite,0,downloaded) ;
                        System.out.println ("Downloaded: "+downloaded);
                        instream.close();
                        connection.close();
                        instream=null;
                        bite=null;
                        connection=null;
              catch(Exception tup)
                   tup.printStackTrace();
              if(im==null)
                   System.gc();
                   return im;
                else
                     System.gc();
                     return InfoScene.scaleImage(im,100,100);
                public static Image scaleImage (Image src, int dstW, int dstH) {
              int srcW = src.getWidth();
              int srcH = src.getHeight();
              Image tmp = Image.createImage(dstW, srcH);
              Graphics g = tmp.getGraphics();
              int delta = (srcW << 16) / dstW;
              int pos = delta/2;
              for (int x = 0; x < dstW; x++) {
                   g.setClip(x, 0, 1, srcH);
                   g.drawImage(src, x - (pos >> 16), 0, Graphics.LEFT | Graphics.TOP);
                   pos += delta;
              Image dst = Image.createImage(dstW, dstH);
              g = dst.getGraphics();
              delta = (srcH << 16) / dstH;
              pos = delta/2;
              for (int y = 0; y < dstH; y++) {
                   g.setClip(0, y, dstW, 1);
                   g.drawImage(tmp, 0, y - (pos >> 16), Graphics.LEFT | Graphics.TOP);
                   pos += delta;     
              return dst;          
         

  • Error while running Application on Sun One Web Server 6.1

    Can some one please explain me how can I run application on sun one web server 6.1 ?
    It is deployed .war file successfully. It only loads default.jsp and then fives following error:
    1) Package netscape.ldap not found in import.
    I imported this package to my java file.
    Thanks,

    We need to deploy the application by next week end. any suggestions please

  • How to install Adobe Application Manager?

    How to install Adobe Application Manager? I downloaded it, but can't install.
    Just purchased the CC for photographers.  Have been using Photoshop since version 3.
    I have been studying your support docs for several days and have no business messing around with something called, .gz files and installation logs. Totally unsuccessful "Updating" my CS6 or CS6 bridge or Extension Manager or the Adobe Support Advisor by the CC Desktop.
    Have no Photoshop CS6 because I followed your CC support instructions.
    Uninstalled my CS6 today so I can finish a job tomorrow.  Bad decision on my part because I can't reinstall it and am unable to correct
    this problem. 
    I was able to use CC to update LR, but am absolutely too afraid to touch it now.
    I have been waiting inline for Chat also, but the numbers ahead of me are going up.
    If someone in this Community forum can help me, it would be fabulous.
    Thanks very much.

    Uninstalled Creative Cloud.
    Downloaded it again - 4th time.
    Deleted a AAMDetect file from the Library/Internet Plug-ins
    Downloaded and installed Adobe App Manager and an icon for it is on my Desktop
    Installed Creative Cloud.
    OK.
    Now how do get my Photoshop CS6 back before I download Photoshop CC?
    CS6 is not listed in the available Apps in the CC Desktop.
    Support wait time right now is 2 hours by phone.
    After sitting on Chat yesterday only to see the people "waiting ahead of me" go from 17 to 18, I gave up.
    Please advise.
    Thanks again.

  • How to install Oracle Application Testing Suite on ubuntu 12.4 64 bits?

    Hi Guys,
    I am trying to install Oracle Application Testing Suite on ubuntu 12.4 64 bits, I have downloaded the application (Oracle Application Testing Suite 12.1.0.1.0 - Complete Install ) from http://www.oracle.com/technetwork/oem/app-test/index-084446.html, unzipped the zip file and then did sh setup.sh and I got this error:
    Exception java.lang.UnsatisfiedLinkError: /tmp/OraInstall2012-07-10_11-42-14AM/jre/lib/i386/xawt/libmawt.so: libXtst.so.6: cannot open shared object file: No such file or directory occurred..
    java.lang.UnsatisfiedLinkError: /tmp/OraInstall2012-07-10_11-42-14AM/jre/lib/i386/xawt/libmawt.so: libXtst.so.6: cannot open shared object file: No such file or directory
         at java.lang.ClassLoader$NativeLibrary.load(Native Method)
         at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1807)
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1703)
         at java.lang.Runtime.load0(Runtime.java:770)
         at java.lang.System.load(System.java:1003)
         at java.lang.ClassLoader$NativeLibrary.load(Native Method)
         at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1807)
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1724)
         at java.lang.Runtime.loadLibrary0(Runtime.java:823)
         at java.lang.System.loadLibrary(System.java:1028)
         at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.awt.Toolkit.loadLibraries(Toolkit.java:1605)
         at java.awt.Toolkit.<clinit>(Toolkit.java:1627)
         at oracle.bali.ewt.olaf.OracleLookAndFeel.<clinit>(Unknown Source)
         at oracle.sysman.oii.oiif.oiifm.OiifmGraphicInterfaceManager._useOracleLookAndFeel(OiifmGraphicInterfaceManager.java:243)
         at oracle.sysman.oii.oiif.oiifm.OiifmGraphicInterfaceManager.<init>(OiifmGraphicInterfaceManager.java:263)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at java.lang.Class.newInstance0(Class.java:355)
         at java.lang.Class.newInstance(Class.java:308)
         at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.createInterfaceManager(OiicSessionInterfaceManager.java:209)
         at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.getInterfaceManager(OiicSessionInterfaceManager.java:243)
         at oracle.sysman.oii.oiic.OiicInstaller.getInterfaceManager(OiicInstaller.java:466)
         at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:965)
         at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:905)
    Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class oracle.bali.ewt.olaf.OracleLookAndFeel
         at oracle.sysman.oii.oiif.oiifm.OiifmGraphicInterfaceManager._useOracleLookAndFeel(OiifmGraphicInterfaceManager.java:243)
         at oracle.sysman.oii.oiif.oiifm.OiifmGraphicInterfaceManager.<init>(OiifmGraphicInterfaceManager.java:263)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at java.lang.Class.newInstance0(Class.java:355)
         at java.lang.Class.newInstance(Class.java:308)
         at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.createInterfaceManager(OiicSessionInterfaceManager.java:209)
         at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.getInterfaceManager(OiicSessionInterfaceManager.java:243)
         at oracle.sysman.oii.oiif.oiifm.OiifmAlert.<clinit>(OiifmAlert.java:151)
         at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:1023)
         at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:905)
    I have downloaded 64 bits for Linux but it comes with jre/lib/i386 which to my understanding it is 32 bits jre.
    any help please on how to install this application on ubuntu 12.4 64 bits.
    Many thanks in advance.
    Regards,

    Hi
    OATS is not supported on Ubuntu only on OEL 5.2 and 4u8 both 64 bit
    Thanks and Regards
    Alex

  • How to install .exe applications and the java on m...

    hi ! sorry if this has already been discussed but i wanted to know ~~~ how to install .exe applications and the java on my n9 ~~~ ... because i wanted to use plenty of other apps which are not supported  but these 2 would help fix the issue

    Is it stil not possible to install java applications on N9?
    Files containing JAD and JAR-ending in the file name.
    I am not familiar with Nokia N9 so I ask even if I suppose that JAR and JAD files are not able to install on a Nokia N9.
    Nokia 808 again (delight Belle), Nokia E7 and X7 ( again, all on Delight Belle...after some time on Nokia Lumia 925 (retired), 1020 (not that great)and Lumia 820 (Replaced my router at home, great for internet sharing).., N9 The best device ever (use it as much as Lumia 1020), Nokia 700 (Sport Phone/My Love :-) ) Nokia 701, Nokia E6 (Should have a follow-up from Nokia among with larger screen, NFC, Autofocus), Lumia 800 (Retired After 6 weeks), -Sports Tracker-Nokia Internet Radio-Handy Safe-Skype-Bambuser-Screenshot app pro-fMobi-ComingNext-Manual TaskSwitcher-jagiTimer-Easy StopWatch-Boldbeast-Equalizer-Financial Calculator-WiMP Music-YTasks-Davi-Thumbnail Folders-BizCalendar-Tiny7-Situations-nn reeder-Sport Timer-CameraLover-CameraPro-GrabRadio-LiveScore-Poddi-Gravity-SkyFilesPro

  • How to install a Application in *.jar file format?

    How to install a Application in *.jar file format?
    I have taken the *.jar file into the device into media folder. but device is not recognizing the file format
    could some one plz provide some suggestion to proceed with this?
    Thanks
    Mohamed Javeed

    I'm having the same problem.  I've put .jar into the 'system' folder but that doesn't seem to make the program work neverless see it on my device.  Help.

  • How to install J2ME application on Nokia 6600

    Can you help me in How to install J2ME application on Nokia 6600.Is it enough to build the application using J2ME wireless toolkit or we need any other Nokia SDK for it.

    hi, it is not very difficult. I have done it this way :
    1) i have set the following mime type in my web server (JRun 4):
    text/vnd.sun.j2me.app-descriptor for the jad extension
    application/java-archive for the jar extension
    (in Jrun 4 i added them in the mime.types file in the lib directory)
    2) i have published a wml page like this :
    <?xml version="1.0"?>
    <!DOCTYPE wml PUBLIC "-//PHONE.COM//DTD WML 1.3//EN" "http://www.phone.com/dtd/wml13.dtd">
    <!-- WML file -->
    <wml>
    <card id="main" title="App Title">
    <p>
    </p>
    <p><b>
    <a title="Download App" href="http://xxx.xxx.xxx.xxx/App.jad "> Download </a>
    </b></p>
    </card>
    </wml>
    to download the jad file
    3) then my AMS has started and i could download the application, which runs successfully.
    Anyhow I had to configure 1 wap profile and 1 java profile in my M50 according to my provider configuration, and I bet you had to do so if you have not yet done it. I have successfully used a gprs configuration.
    I am in Italy an so I have the italian provider's configurations. If this may be usefull to you i may send it.
    Feel free to ask.
    Hope this helps.

  • How to install a war file as a Web Application Bundle (WAB) in CQ 5.5?

    How to install a war file as a Web Application Bundle (WAB) using CQSE and embedded OSGi Felix container? OSGi R4.2 specification specified Web application bundles which allows deploying war files as WABs insie OSGi containers. How do we do this in Felix container embedded in CQ 5.5?

    i m sorry, i intentionally wanted to post it in EJB forum, mistakenly i posted it in Servlets forum, anyways, if anyone of u know the ans, plz share it with me too.
    Thanx
    Nisha

  • How to install new applications from my i tunes to i touch

    how to install new applications into my i touch without losing the existing ones

    Please help me.. I downloaded free applications from apple store, I can see it on the Library's application tab but cannot install it on my iTouch since there is no Application tab on my device. How can I install it? I already updated my iTouch to the latest software.
    Thanks in advance..

  • How to install sis application on nokia e61?

    how to install sis application on nokia e61?
    will the sis applications work on e90?

    hi yuvi,
    E61 and E90 and many others are S60 3rd Edition, you need to get applications or software that are designed for the S60 3rd, otherwise it wont work...
    if you have Nokia PC Suite installed, all you need to do is connect your phone and just goto the sis file application that is already in your PC and double click on it, and PC Suite will install it for you, otherwise just copy the sis application directly to your memory card and open it on your phone, that will have basically the same effect...

  • How to install certifcate to tmg when create web listener

    how to install certifcate to tmg when create web listener

    Short comment that may help, if you've added the cert while the TMG MMC is open you need to refresh the MMC on the node second to the top (right-click on server/array name and select refresh) or simply restart the MMC.
    Then create the web listener as desired.
    As always you need a cert with the EKU of server authentication (regular web server cert will do) with the corresponding private key and the cert needs to be trusted on the computer where TMG is installed.
    Hth, Anders Janson Enfo Zipper

  • How do I make my imac into a web server it is nearly brand new and uses OSX 10.8.4

    How do I make my imac into a web server it is nearly brand new and uses OSX 10.8.4, if someone to point me towards instructions it would be most helpful.

    http://www.coolestguyplanettech.com/downtown/install-and-configure-apache-mysql- php-and-phpmyadmin-osx-108-mountain-lion
    Regards.

Maybe you are looking for

  • HELP!! MY IPOD SCREEN DIMMED WITH WHITE STRIPES AND BLACK BACKGROUND

    im wake up this morning and find out that my ipod got boot loop, it's stuck in apple logo. i try to connect it to itunes and reset it. its work, i can hear charging sounds, and unlock sounds. and also im trying to test camera and seems it worked (i c

  • Unable to see D800 raw files - using Lightroom 3.6 & CS4

    Hi, I have just purchased a Nikon D800 and I am unable to see the .NEF files within either Lightroom 3.6 or CS4. Can anyone help me? I have read on other forums that you need to install ACR6.7 but those users were all using newer versions of software

  • Manager in database

    Does anyone know where the manger is stored in the backend database?  I'm trying to find the virsa_ae table it is in..

  • How can I show the number of version of document in the layout set iview?

    I have enabled the version of KM folder. I add the "rnd:icon,rnd:displayname(contentLink+rnd:action,contentlength,col:rating,rnd:collaborationstatus,modified,enhancedcollection,rnd:numberOfDocs" in document properties, but I would like to show the nu

  • Help need info

    i replaced my old hard drive with a new  one  i need to know if i can do it with a cable usb? it a intrunal i need info on how to do this i know it can be done what cable do i need and how to i do it?