Eclipse and TomCat Web Server

Hi experts,
   I have been working with Eclipse for last 1 month. I was just working with Portal application component development and publishing it to the SAP EP J2EE server everything worked fine.
   I have eclipse,JDK,Tomcat3.3.2 installed in my laptop and EP J2EE engine runs on the server.
   Now i studied online regarding the development process with eclipse, The portal application component is published to Tomcat web server first and tested for possible errors and then published to the EP J2EE server. How this process is handled?
  Can any expert explain on this and provide me link to make the required configuration of eclipse  for publishing to tomcat web server?
Thank you
arun

Well, the answer I found was that I have an invalid character that is not supported yet by the WAS, the character is "ñ".
Using Eclipse and deploying in Tomcat worked fine but in WAS 7.0 SP 8 it throws ParseExceptions
Regards

Similar Messages

  • Problem launching a jsp page with eclipse and tomcat

    Hi,
    I have just started using eclipse and tomcat for creating dynamic web pages. I tried to launch a jsp page after starting the tomcat server with the URL: http://locahost:8080/HelloWorld/, an error page was displayed as below:
    HTTP Status 404 -/
    type Status report
    message /_
    description The requested resource (-) is not available
    Apache Tomcat/5.5.17
    I didn't get any error at the console and when i just typed http://localhost, a pop up menu saying that the connection was refused when attempting to contact localhost.
    I'm not sure what is the problem here. Could it be the permssion to the localhost is not granted by the system as the eclipse IDE is running using linux?
    Hope someone can help.
    Thanks.

    http://www-128.ibm.com/developerworks/library/os-ectom/

  • Setting up eclipse and tomcat

    Does anyone here have any expertise configuring these two products?(eclipse and tomcat)
    I have my tomcat server running and it process them jsp pages just fine. I have also installed the plugin to get tomcat configured with eclispe.
    I am just having problems running a jsp file directly from tomcat. it always points to a file on the hd and not to the webapps area like it's supposed to......

    Sure - we use that combo for development all the time.
    What's the problem specifically? Did you create a new Tomcat project in Eclipse? If you did, then it will automatically add the project's web path as a context to Tomcat, and you can browse directly to it using your browser.
    FYI - note that the context that is created is going to point to the eclipse workspace directory - NOT the default webapps directory that you might have configured for Tomcat. That's OK.
    - K

  • Eclipse and Tomcat questions

    Hi everyone,
    Lastnight I setup Eclipse to work with Tomcat, which works very good, but there are something I don't understand.
    1. My files are put in my workspace in (C:\Documents and Settings\...etc)
    How does Tomcat (which is installed in C:\Tomcat) know that it should get the files from my workspace directory?
    Because in the C:\Tomcat directory I can't find any .XML file that refers to my workspace directory.
    2. How I developed my servlets till now, I had some other free editor, I needed to compile my servlets then restart Tomcat and then test it.
    With Eclipse + Tomcat plugin, all I need to do save the servlet and apparently the source code is compiled automatically. All I need to do is refresh the servlet in my browsers (very handy and easy to develop like this). But my question is, does Eclipse compile the servlet automatically after saving? And why doesn't tomcat have to be restarted?
    Just a few questions to understand it a bit better, I'm really happy with this setup as it makes everything a lot easier.
    Regards,
    Steven.

    I believe you will need to become familiar with and install:
    http://www.eclipse.org/webtools/
    HTH
    Darins
    "raul" <[email protected]> wrote in message
    news:b894c367f9750f367a2e8336f8fe93b1$[email protected]..
    > Hi, I downloaded the latest version of eclipse 3.1 and I've installed
    > apache tomcat in mi PC.
    > Eclipse has a plugin : org.eclipse.tomcat_4.1.30.1
    > My problem is that I don't know how to use the tomcat server with eclipse.
    > I readed some tutorials and they say that I have to configure using menu
    > Window > Preferences and then I will see the tomcat option. But that
    > option doesn't appears or I couldn't see it.
    > Another tutorial say that I have to activate a plugin in the following
    > menu location: Window > Customize Perspective > Commands and select the
    > checkbox for tomcat , but that option doesn't appears either.
    > What can I do, I want to use eclipse and tomcat together...
    > Can someone help me with this questions?
    >
    > Thanks so much.
    > Raul Torres
    >
    >
    >

  • Business Objects Enterprise XI 4.0 / Linux / Oracle / Tomcat Web Server

    Hello Experts,
    I have never done a BOBJ install before and I have some questions:
    First, here is our setup: Business Objects Enterprise XI 4.0 / Linux / Oracle / Tomcat Web Server
    1.     We are being asked how big u2013 disk space- to make the server. All I can find is 14 GB for an English only install, there is no documentation on how big the databases need to be. Does anyone have any experience and can tell me how big the databases are going to be initially? I need to tell the server team how much space to put on the server.
    2.     The documentation says to have two databases or schemas, one for Central Management Server and one for the Auditing Data Store. My question around this is whether there is a preferred way to do it, separate databases or separate schemas?
    3.     The documentation does not say anything about the file system layout, do we need to create the standard SAP file system layout (i.e. /sapmnt, etc.)
    Many many thanks in advance, any advice would be a greate help .. please help
    Regards,
    Sunil Patel

    Hi,
    here are some answers:
    1. Well for the Installation of the Software as itself (not the databases) i would recommend at least 30 GB. All the Reports are getting stored physically in the installation directory. This behavior is by default. Later you can move the FileStore (where the Reports, Universes, etc. are located in) to a NAS share f.e.
    With Regards to the Databases i would recommend 1 GB for the CMS DB and 5 GB for the Audit DB. It depends on how you Audit your System. If you audit more actions, more information in the Audit DB will be stored.
    2. 2 Schemas on one DB is fine
    3. Usually you run a BOE installation on UNIX/LINUX under an installation user. BOE will be installed into his Home Directory.
    Regards
    -Seb.

  • How to set the servlet context path manually in Tomcat web server.

    I tested some servlets by putting them in the folder , which the tomcats examples application uses (ie Tomcat 4.1\webapps\examples\WEB-INF\classes\) and it appeared to be working fine.
    I was calling the servlet like this : http://localhost:2006/examples/servlet/TestServlet
    But when I installed my own WAR file in the server , the servlet is not working now. now the new location of my servlets is : Tomcat 4.1\webapps\MyApp\WEB-INF\classes\
    and I'm trying to call the servlet like this : http://localhost:2006/MyApp/servlet/TestServlet
    The error , what i'm getting is :
    description :The requested resource (/MyApp/servlet/TestServlet) is not available.
    Some body please tell where I'm making the mistake ? I believe this may have something to do with the servlet context path setting. If anybody has any idea , how to set the path..will be much appreciated.

    Thanx for your reply , at first I was not using any web.xml(since not mandatory) but even after using the web.xml file the error is coming . Please have a look into the contents of the web.xml file and let me know if you find any problem...
    <?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>TestServlet</servlet-name>
    <servlet-class>TestServlet</servlet-class>
    </servlet>
    </web-app>
    one more thing I would like to tell you here. I was just looking into the configuration of Iplanet web server..I found that , there are options to set the servlet container path (like : - Prefix: /servlet
    Servlet Directory: /ecomm/iplanet/nes60/product/docs/container )
    so from here I came to know that "container " is the folder where we should put our servlets and it has URI as "servlet" but yet I'm not able to find any option in the Tomcat Web server to set the servlet container to any different directory.
    If you have any idea please let me know.

  • Tomcat web server

    hello
    i am a italian newbie for java world, and i would want to make you a question:
    for resolving a problem with tomcat web server i must interpretate the following sentence: The best fix is to turn off automatic webapp reloading for the application: in Tomcat's server.xml, find the <Context> declaration, and ensure it is set to: reloadable="false".
    there is someone who knows well the tomcat server.xml configuration file?
    thank you very much
    ps: sorry for my english!

    hi :-)
    when you have a new class, you put it in /WEB-INF/classes/ right?
    tomcat doesnt load this automatically,
    you have to start-stop tomcat to apply your changes.
    when reloadable option is set to true (ex. reloadable="true" )
    you dont need to start-stop tomcat because tomcat will
    automatically load it for you.
    its ok for me in development stage,
    but when you deploy your application for production,
    its no longer advisable.
    why?
    because setting it to reloadable to true eats much resources on the server :-(
    imagine you have 5000 class and when your setting is autoreload.
    this might cause your server to hang.
    its better to just stop the server, put your classes then start again the server.
    i have to go home for now, i hope i give an idea :-)
    regards,

  • Some tutorial for Tomcat Web Server

    Hi,
    I would like to know where I can find a downloadble tutorial about
    Tomcat web server.
    I am a begginer in Java technologies and I have a question.
    ,Tomcat web Server works also like App Server? and Can Apache web
    server works together Tomcat app server? and if it possible, How?
    Give me an example, please.
    Thanks a lot,
    ras283

    You can go to apache.org for information.
    Tomcat can work with Apache, but it only serves JSPs and servlets (and static pages, if you don't want to bother with Apache).
    The J2EE Reference Implementation (j2sdkee1.3.1) includes Tomcat, and functions as an app server as well. See the J2EE tutorial http://java.sun.com/j2ee/tutorial/1_3-fcs/index.html and Java Pet Store demo http://interstagedemo.fs.fujitsu.com:8000/petstore/index.jsp / http://java.sun.com/features/2001/12/petstore13.html

  • Hi, I am using HP11 and iPlanet web server. When trying to upload files over HTTP using FORM ENCTYPE="multipart/form-data" that are bigger than a few Kilobytes i get a 408 error. (client timeout).

    Hi, I am using HP11 and iPlanet web server. When trying to upload files over HTTP using FORM ENCTYPE="multipart/form-data" that are bigger than a few Kilobytes i get a 408 error. (client timeout). It is as if the server has decided that the client has timed out during the file upload. The default setting is 30 seconds for AcceptTimeout in the magnus.conf file. This should be ample to get the file across, even increasing this to 2 minutes just produces the same error after 2 minutes. Any help appreciated. Apologies if this is not the correct forum for this, I couldn't see one for iPlanet and Web, many thanks, Kieran.

    Hi,
    You didnt mention which version of IWS. follow these steps.
    (1)Goto Web Server Administration Server, select the server you want to manage.
    (2)Select Preference >> Perfomance Tuning.
    (3)set HTTP Persistent Connection Timeout to your choice (eg 180 sec for three minutes)
    (4) Apply changes and restart the server.
    *Setting the timeout to a lower value, however, may    prevent the transfer of large files as timeout does not refer to the time that the connection has been idle. For example, if you are using a 2400 baud modem, and the request timeout is set to 180 seconds, then the maximum file size that can be transferred before   the connection is closed is 432000 bits (2400 multiplied by 180)
    Regards
    T.Raghulan
    [email protected]

  • Why do I need to stop and restart web server?????

    I am developing servlets on sun's standard web server as well as with Netscape's web server.
    The problem is every time I make any changes to servlet and recompile my code, changes are not visible until I stop and restart web server. I guess web server uses cached version of servlet.
    Can any body help me to solve this problem? It is matter of some setting issues in web server. But since I am novice, I don't know.........

    Some app servers have a "reloadable" attribute that can automatically detect changes in your servlet and reload your application for you. Not sure if all do though... but check through the docs on your app server and see if there's something similar. If not, you're probably stuck manually restarting.

  • Downloading and installing web server

    I have some problems,
    1. from where i may find web server for java,
    2. how can i install it,
    3. how will i configure it,
    4. i am a beginner so please guide me for that
    thanks
    [email protected]

    Hi,
    You can find Tomcat webserver(free) which is developed by apache software foundation available for download at http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.4/bin/ .Dowload the corresponding zip file to your operating system and extract it to a directory.
    For information on how to install and configure please go through the documentation available both on the web at http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-ug.html and also available with the software bundle.
    Hope this helps.
    Best Regards
    Gayam_Slash

  • Unable to close open and blocked web server ports

    I have been running the sun webserver 6.1 as a test development environment on my local pc (Windows 2000) at work. The machine crashed while the web server was running, and while the server instance stopped, the ports being used are still open and apparently, still being used. Restarting my machine does not solve the problem.
    Using netstat (through cygwin - i am familiar with linux, and have been using cygwin as the easiest way to do many things with the web server) I can see that the ports are indeed being "used", however i cannot find any running processes (through the top or ps command or the task list) associated with the open ports. Also attempts to start the server again fail, and the server complains that the ports are currently being used.
    In order to continue to develop I created a new domain using a different set of ports. Since then, I have (in zealous cleanup) removed the domain that was using those ports, and in attempting to setup a different webserver encountered the open ports.
    I need/wish to stop the running processes and close the open ports. Any ideas?
    Thanks in anticipation.

    There are no such processes running in either the task manager or services.
    I do not believe that the domain/web server is running, since the domain instance has since been removed.
    However, the ports seems to be stuck on being "used".

  • Replace Quotes, Connection Pooling, and Sun Web Server with MySQL, Oracle

    This is code I use to insert data into my MySQL and Oracle databases.
    I takes care of quotes and shows use of context, i.e. when you use Sun Web Server's
    ConnectionPooling. This code works. Feel free to reply if you have questions on how to set up connection pooling using Sun Web Server 6.1SP - it took quite a long time to learn and I couldn't find much information throughout the web, so I hope this helps...
    This is not a question and I am not looking for an answer, but please post comments or suggestions.
    dailysun
    This is in one class where I have a hashtable containing the
    column name / value pairs that I want to enter into my table.
    This class simply creates the SQL string from the values in the
    hashtable. It then passes that hashtable including the database
    name to a class which executes that sql statement (second code
    portion).
    /* Insert data into sf_parts. Create the column strings from
             * the provided hash table. Be sure to parse out hash elements which
             * are used for the createTemplate process
            StringBuffer values = new StringBuffer();
            StringBuffer fields = new StringBuffer();
            Enumeration keys = fieldHash.keys();
            while(keys.hasMoreElements()){
                Object currentKey = keys.nextElement();
                    String fieldValue = (String) fieldHash.get(currentKey);
                    if(values.length() >0){
                        values.append(",");
                    values.append("'"+fieldValue.replaceAll("'","''")+"'"); // Takes care of quotes and various other special characters!
                    if(fields.length() >0){
                        fields.append(",");
                    fields.append(currentKey);
            sql = "INSERT INTO myTable (" + fields.toString() + ") VALUES (" + values.toString() + ");";
            String insertResult = caq.getInsertDelete(sql,"myDatabaseName"); // your database name is defined in web.xml and sun-web.xml when you use Sun Web Server's Connection Pooling.
            returnValue += "<br><br><b>Rows inserted into table(myTable): </b>" + insertResult + "<br>\n";
            And, like I describe above, this method executes the sql statement.
         * Takes care of insert, update and delete requests.
         * Must have set both dbName as well as the sql String.
         * Will return number of rows affected as String.
         * @return String Number of rows affected
         * @exception SQLException
         * @exception Exception
        public String getInsertDelete() {
            checkData(); // this simply checks if the variables dbName and sql are not empty ;-)
            InitialContext initContext = null;
            int rv = 0;
            try{
                // Get connection from configured pool
                initContext = new InitialContext();
                source = (DataSource) initContext.lookup("java:comp/env/jdbc/" + dbName); // I have this set up in web.xml and sun-web.xml (I use Sun Web Server 6.1SP which does connection pooling for me)
                conn = source.getConnection();
                if(conn != null){
                    stmt = conn.createStatement();
                    rv = stmt.executeUpdate(sql);
            }catch (SQLException e){
                // do something
            }catch (Exception e){
                // do something
            }finally{
                try{
                    stmt.close();
                }catch(Exception e){
                    // do something
                try{
                    conn.close();
                }catch(Exception e){
                    // do something
                try{
                    initContext.close();
                }catch(Exception e){
                    // do something
            return rv+"";
        }  

    This is code I use to insert data into my MySQL and
    Oracle databases.
    I takes care of quotes and shows use of context, i.e.
    when you use Sun Web Server's
    ConnectionPooling. This code works. Feel free to
    reply if you have questions on how to set up
    connection pooling using Sun Web Server 6.1SP - it
    took quite a long time to learn and I couldn't find
    much information throughout the web, so I hope this
    helps...
    This is not a question and I am not looking for an
    answer, but please post comments or suggestions.Using prepared statements would mean that you wouldn't have to worry about quotes.
    You should be closing the result set.
    You are handling all fields as strings. That won't work with time fields and might not work for numeric fields.
    Presumably most of your variables are member variables. They should be local variables because that is the scope of the usage.
    You must do something with the exceptions.
    Hashtables although convienent mean that problems with usage can only be resolved at run time rather than compile time.

  • Eclipse and tomcat

    i want to intergrate tomcat in eclipse3.2 I have copied the plugin required for the same. Still its not working. Can anyone help me in this.
    thanx in advance

    I assume that you are using sysdeo plugin of eclipse for tomcat
    In that case if you can see three icons corresponding to tomact in your eclipse then your installation is correct (In the menu bar you will have icons to start stop and restart tomcat)
    now go to window--preferences and select tomcat
    select your tomcat version and set tomcat home
    hope it helps

  • Question concerning Eclipse and Tomcat Plugin and JSP

    I have a Tomcat-Project that I am working on in Eclipse and quite a few external JARs. Everything works fine, when I run my Test class within my project (in Eclipse). But as soon, as I am trying to call the jsp in my browser I get Exceptions: "java.lang.NoClassDefFoundError: org/apache/log4j/Logger" for example, which tells me that in the browser it can't find the JARs... I'm guessing something's wrong with the classpath but I was thinking that Eclipse would handle those things for me...
    I've added the JARs to my project via Eclipse (Properties -> Java Build Path -> Libraries -> Add external JARs). And I've created a subdirectory for my jsp files and allowed my project to update the .xml file for the settings and all... Do I need to do anything else? What have I done wrong so far, have I forgotten to do?

    I solved the problem...

Maybe you are looking for

  • Cannot save the excel report in my application

    Hi I wrote a program which can save the data to an Excel report. It runs perfectly on my own computer. After I built the application (exe file), and run it in another computer, which can not save the excel report. On my own computer, it has LabVIEW 2

  • How do I move a playlist from my ipod to my iphone without duplicating songs?

    My iPod and iPhone have the same songs on them, both manually managed. I have a playlist on my iPod that I want to move to iPhone. I tried exporting, and then importing to iTunes and them draggin and dropping that into my iPhone, but that results in

  • HP Officejet Pro 8500 A910, 2 sections different paper size, prints incorectly

    I have an HP Officejet Pro 8500 A910. My Word document has 2 pages in 2 sections the first page and section is an envelope and the second page is a letter.   On the 8500, if I choose to print just the 2nd page (the letter) it uses the envelope paper

  • Nokia Lumia 521 3G not working

    Hi, I have a carrier unlocked Lumia 521 which I am trying to use in Asia. I am unable to connect to my carrier's 3G network even though network's carrier frequency is 2100. What could be the problem ? Thanks, Rishabh

  • Debugging the STS Portal screen

    Hi Guys, Is it possible to debug the STS portal screen? I want to check what makes the buttons (such as reject/approve/send for revision) gray and available?