Installing tomcat JSP engine

I am installing TOMCAT so i can run JSP files on my apache webserver. Everything works fine. Installed a new version of Solaris9 installed GCC and after that Apache.....
No problem I get the basic apache page.. so it is working fine. :-)
Now we have a problem I installed java and after that I would like to install tomcat... to run tomcat i have to set the enviromental variable JAVA_HOME to the directory where java is installed......
How the #^&*#^* do I set a enviromental variable... I like to do this when the box boots....
Anyone with experience installing tomcat on a clean solaris9 box and setting the JAVA_HOME?
Thanks already.
Johan.

I am installing TOMCAT so i can run JSP files on my apache webserver. Everything works fine. Installed a new version of Solaris9 installed GCC and after that Apache.....
No problem I get the basic apache page.. so it is working fine. :-)
Now we have a problem I installed java and after that I would like to install tomcat... to run tomcat i have to set the enviromental variable JAVA_HOME to the directory where java is installed......
How the #^&*#^* do I set a enviromental variable... I like to do this when the box boots....
Anyone with experience installing tomcat on a clean solaris9 box and setting the JAVA_HOME?
Thanks already.
Johan.

Similar Messages

  • Oracle JSP engine on Apache

    Hi,
    We have Apache Web server 1.3.9 and Jserv 1.1b3. On top of this, we have installed Oracle JSP engine. We have put the names of all the required jar files and directories in jserv.properties file. But, when we try to access any jsp files from a browser we are getting following error:
    Request URI: /test.jsp
    Exception:
    oracle.jsp.provider.JspCompileException:
    Errors compiling: d:\demos\apache\htdocs\_pages\test.java
    Package javax.servlet.jsp not found in import. import javax.servlet.jsp.*;
    Any idea why this error is happening.
    Thanks in advance,
    null

    Apache JServ implements Servlet 2.0 -- this class library doesn't contain the JSP interface classes. The JSP interface classes are contained in the JSWDK 1.0 (or greater) available from Sun. Download and configure Apache to use this class library AFTER the reference to the servlet 2.0 class library. For more information please check out the Documentation section for JSPs on technet. It contains specific information on configuring/installing for Apache.

  • Should I install Apache Web server to use Jakarta Tomcat Servlet engine?

    Hello,
    I have some problems and now have a question:
    Should I install Apache Web server to use Jakarta Tomcat Servlet engine?
    JTK home page is available via http://localhost:8080
    Tomcat ver 3.1.3
    Thanks.

    No, you don't need to run Apache webserver (httpd) to run Tomcat. Tomcat by default runs on port 8080, but you can set it to any port, including 80, if you have permission to do so (on *nix systems, you need root permissions to run services on any port below 1024).
    Tomcat is a webserver as well, just one that includes a servlet container and JSP processor. So it will serve your html files, images, etc (aka static content), just as well as Apache httpd, in addition to being able to run servlets and JSPs.
    Apache httpd has more options for serving static content than Tomcat, so many people prefer to use it as their main webserver and only use Tomcat as a sort of "plugin" to handle servlets and JSPs. This can be achieved through a connector. Instructions on how to set this up are on the Jakarta website.
    So you could use Apache and Tomcat combined, next to each other, or totally separated. In many cases, just Tomcat will do.

  • Is JSP Engine compatible and up to date?

    I've been looking for a way to compile jsps from the command line so they can be verified during our automated ant builds rather than producing compile errors during testing.
    I noticed the jsp engine on the downloads page and it seems to do what I want. However, it seems pretty old. Is it compatible with the lastest versions of tomcat and oc4j?

    If you want a media server you're proably better of buying a Mac that doesn't have a screen like the Mac mini.

  • Tomcat JSP & PHP

    I've installed Tomcat 4.0.1 I'd like to attach also PHP. Is it possible. Does anybody know this way? And is it possible to mix JSP with PHP
    <%
    out.print("Test");
    %>
    <?php
    echo "Test";
    ?>

    In theory, you should be able to use both technologies on the same page, whenever you can solve some configuration issues like file extension assigning, e.g: if you have a .php file, how can you run the jsp inside? you need to make some kind of "neutral" extension and refine your server to send to each server its own code.
    I�m trying to do it on windows 2000 (IIS 5.0), but haven�t still figured out how.

  • Installing Tomcat as application server

    I have to install Tomcat 4 on a linux machine (Debian) as an application server (that is Apache serves the static content (html) and Tomcat serves jsp file)
    How can I do ?
    Thanks
    Roberto
    ([email protected])

    For installation see http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/index.html
    And for integration of Tomcat with Apache web server, see if this helps
    http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-apache-howto.html

  • Installing Tomcat on mac os 10.4?

    Hi,
    Does anyone know how to install Tomcat? Are there any up to date detailed instructions anywhere?
    Thanks.

    I found some detailed directions for installing
    tomcat 5.5.x here:
    http://www.benslade.com/projects/java/tomcat/Installin
    gJavaTomcatMySQLOnMacOSX/
    That article is a year and a half old.
    and I am considering installing 5.5.x rather than 6.0
    to avoid any potential problems.
    What potential problems are you hoping to avoid? I'm finding everything that worked in 5.5 is still working in 6.0, but I had to do a little extra work to accommodate the new directory structure. If you start out with the new directory structure, you can avoid having to do that, unless you're planning to stay with 5.5 indefinitely.
    In those instructions, which are partially taken from this
    apple article:
    http://developer.apple.com/internet/java/tomcat1.html
    Six years old. I guess that makes it a classic!
    tomcat is installed in /usr/local. Why did you
    install in /Library instead of /usr/local? My
    Apache2 and PHP5 install are in /Library, but in the
    config options I used for installing mysql, I see
    references to /usr/local? How do you know whether to
    install in /Library or /usr/local?
    Simple. Can you see /usr/local in the Finder? How are you planning to edit your JSP files? If you're going to use a command-line editor, have fun. I use BBEdit for JSP, just like I do for HTML and pretty much everything. I can open files anywhere with BBEdit, but it's much easier if I keep them in a directory that's visible in the Finder.
    Also, notice that neither one of the articles you cited says anything about images. I don't know about you, but I like to use images with my web applications. Can you save images in /usr/local/... with Photoshop? Not easily. Sure, you can save them in your ~/Pictures folder and then go into the terminal and use sudo mv or sudo cp to move or copy the images into /usr/local/whatever, which belongs to root, so you have to say pretty please. Or you could just beat yourself over the head with a two-by-four, which will have about the same effect on your overall mood.
    Finally, I often make changes to the directory structure of web applications as they grow and develop. Sometimes I make subdirectories and move files around, and I almost always have a directory for images, one for stylesheets and one for scripts. I find it a lot easier to create these in the Finder, and it's also easier to copy scripts and stylesheets I want to reuse from other applications.
    MySQL and PostgreSQL are RDBMS programs. You couldn't edit the data files with a text editor if you wanted to. You do everything through the JDBC or ODBC interface. You don't even really have to know where the data files are. It's a completely different paradigm from editing HTML and JSP files, so it just makes more sense to me to install them in /usr/local. Some people do install these in /Library, and they'll work just fine there. I just don't see any reason to install something in a visible folder if I don't need to look at it.
    This article:
    http://hivelogic.com/narrative/articles/usingusrlocal
    says you should put all apps you build yourself into
    /usr/local so that updates won't screw things up.
    Yes, he's right. Well, mostly. It's a little more complicated.
    If you need to build and use a different version of a program that Apple provides as a part of the OS, put it in /usr/local/bin and add /usr/local/bin to your path. Then, when you use that command, you'll get the new version, because it is in a directory that precedes /usr/bin (and /usr/sbin, /bin and /bin /sbin /usr/bin /usr/sb /sbin) in the path list--assuming you appended your added directories to the head of the list like you're supposed to. (Unfortunately, the manpath gets built in an independent process, so often you will still get the old manual unless you explicitly as for the new one.) When the system needs to run a command, it will default to the one Apple provided, because /usr/local isn't even in the root's path (unless you've added it, but don't).
    But /usr/local/bin isn't the only place that's safe. I keep most of my shell scripts in a bin directory in the root of my home directory, or ~/bin. It's a convenient place to put them, I can edit them easily, and they'll never get overwritten by an update. Some people choose to make this directory invisible, but I like to be able to see mine.
    But, of course, he's not talking about what you do or don't put in your /Library directory. This isn't a Unix directory, and Apple doesn't include any version of Tomcat with OS X. (Maybe OS X Server, but that's a whole other story.) But if you look at what Apple does put in this directory, like the Apache document root and cgi-bin directories, similar kinds of things for WebObjects, it kind of makes sense for at least the Tomcat webapps directory to be here, if not bin, conf, lib and logs, and the easiest way to get them there is to just put the Tomcat home folder there.
    Since this is probably going to turn into a religious war, let me just add that I'm not a Unix geek. I like Unix a heck of a lot more than some other OSes, but I've been a Mac user since 1984, and there are reasons why I prefer it. I know a lot of Unix guys who can do everything in emacs that I can do in BBEdit just as efficiently, but I can't. I've made a lot of money doing web programming in BBEdit, and it's the kind of software I like to use. It's not as overblown as Dreamweaver, but it's not a command line program. I can do about everything I need to in Unix shells but I don't live there. Being able to see and manipulate files and folders in the Finder works for me, so I tend to keep files I interact with in visible directories.

  • My JSP engine won't load the new source from my page

    My JSP engine won't load the new source from my page, even know I saved it, and I restarted apache, and resaved the files again, no dice! It must be running off of cash, it's not in my browser cash I cleared it out too, what else can I do?

    Tomcat checks to see if the JSP has changed since it was last compiled with you request that page... So, if the file is updated, it should recompile it. Are you sure that when you update the page, you're updating the same copy of the page? (the location defined in the server.xml file)

  • Looking for javax.servlet, installed tomcat

    I've just installed Tomcat and then updated to the new JDK 6 and I try to compile something and it tells me package javax.servlet and javax.servlet.http.* does not exists.
    Where can I find these packages? Reinstallation of Tomcat really isn't an option.

    I guess this is related to:
    http://forum.java.sun.com/thread.jspa?threadID=792852&
    messageID=4506628#4506628
    Why did you not get them to install EE at the same
    time they did tomcat? You knew about this before.
    Also, I think you need to start saving your own
    computer, it seems your school is giving you a
    headache.aye, it is. I thought someone said that tomcat came with those packages. Oh well, I have my own computer ( a nice one, I built it) but my mother won't let me connect it to the internet (I'm 'that age' for pornography). I'm a senior, I'll be glad when I get out this coming spring. My lovely system admin has my e-mails filtered into his deleted items box... I really hate this place.
    They did:
    If you're just using Servlets an JSP, you don't need the whole J2EE stuff, Tomcat is enough, for example. The textbook should have mentioned that.
    from JoachimSauer
    Message was edited by:
    Vagabon

  • Installing Tomcat In windows

    I have JDK 1.2 and JSDK 2.0 Now where do I put Tomcat installable that I have downloaded from sun.com to get JSP running

    Here is a link to Marty Hall's website. It includes a very comprehensive tutorial on how to install and configure Tomcat on your PC. It should answer all your questions. It even includes a section on how to create a short cut into your development directory. Which actually answers your original queston..."Where do I install Tomcat".
    http://archive.coreservlets.com/
    FYI: PWS is terrible! I installed PWS and played with it. I hated InterDev!! When I went to un-install PWS, my PC was fried!!!! Apperently, the Windows Explorer.exe and the Internet Explorer.exe become ONE when PWS is installed (Even though MS denies this). When you un-install PWS, you un-install the Explorer.exe therefore causing yourself stress and discomfort as you now move around your PC by DOS only!!
    Justin

  • Is PTG a JSP Engine ??

    I would like to know whether Portal To Go is a JSP engine like Tomcat/gnujsp & jswdk ??
    Thanks in advance.

    Oracle Applications use BC4J, UIX, and JDeveloper.
    The UIX framework implements the Oracle "Browser Look And Feel" (BLAF) that our Oracle Applications self-service applications use.
    The UIX JSP tag library lets JSP developers do the same.

  • Error message trying to install new search engines

    I am running Firefox 19.0.2 installed yesterday on a new desktop PC at the office. (Old PC failed to boot on Monday.) I have completed most of my customization without difficulty. However, when I try to install new search engines, it doesn't seem to matter which one, I get a pop-up error message:
    "Sorry, you need a Mozilla-based browser (such as Firefox) to install a search plug-in."
    I had no problems installing new search engines under Firefox 16 3rd quarter of last year when I started this job. Why am I unable to install search engines in FF 19?

    Hello lafritz65, '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    thank you

  • How to configure Oracle jsp engine on OAS4.0.8.1

    1. How to configure Oracle jsp engine on OAS4.0.8.1 for linux
    2. How to set the parameter on OAS. The Ojsp document only give examples depict the syntax used when running in an Apache/JServ 1.0 environment

    Anyone?

  • Cannot Install LV Runtime Engine 7.1

    HI,
    Some of our users are having unusual installatiion problems while
    installing the LV runtime Engine 7.1.1 on win2k. Our users have
    installed another application recently and in that process the LV
    runtime engine was removed from their computer. So, they tried to
    install the runtime engine(downloaded it from NI website) again but couldn't becuase they keep getting
    the message that they are not logged in as administrator. We logged in
    as admnistrator and  tried installing the runtime engine again,
    but the error keeps occuring and is not allowing us to install. I
    searched the NI discussion forums and the Knowledge base to find
    answers but did not see any that match our problem. From some of the
    posts I suspect it has got something to do with Microsoft hotfixes and
    windows upgrades etc.
    If anyone else had seen this kind of behavior and has found a fix,
    please share it with us. Any help will be greatly appreciated.
    Thanks Ahead
    Deepak K

    Hello!
    This is an unusual problem.  I would first go through the add/remove
    programs through control panel.  Loate the "National Instruments
    Software" item and select "change".  See if any LabVIEW
    components are there and slect to remove them. This will completely remove the
    LabVIEW components.  Then attempt a reinstall of the runtime engine. 
    If this still causes problems, you may have deleted the old LabVIEW runtime
    engine in an unusual way which is interfering with later installs.  If this
    is the case, there are some other methods that we might be able to use to
    uninstall fragments of NI software.  Removing the software does not fix
    the problem post back and let us know!
    -thanks-
    Travis M
    LabVIEW R&D
    National Instruments

  • "Invalid DOS version" error message when installing Tomcat in Windows98

    I tried to install Tomcat 5.0 in Windows 98. At first, it produced "Out of Environment Space" error message. I then changed the "Initial Environment" from Auto to other values (bigger than 2816) for both startup.bat and shutdown.bat.
    When I restarted the Tomcat, it produce "Invalid DOS version" error message. I thought about updating the DOS but previously when I had WinXP installed in computer, I couldn't access to the server due to the dos version issue.
    Is there any way to handle this? I would really appreciate the help:) Thank you very much..

    no, use the serial number listed on the page where you downloaded acrobat 7, not your acrobat serial number

Maybe you are looking for