changes in application after upgrading tomcat4 to tomcat6

Discussion in 'Java' started by ruds, Dec 9, 2007.

  1. ruds

    ruds Guest

    Hi
    Can someone tell me what changes i have to make to my existing
    application currently running on tomcat 4 after i upgrade it to tomcat
    6?
    Thanks in advance for your help.
     
    ruds, Dec 9, 2007
    #1
    1. Advertising

  2. ruds

    Arne Vajhøj Guest

    ruds wrote:
    > Can someone tell me what changes i have to make to my existing
    > application currently running on tomcat 4 after i upgrade it to tomcat
    > 6?


    First guess: none.

    So try it and see what error you get (if any) and take it from
    there.

    Arne
     
    Arne Vajhøj, Dec 9, 2007
    #2
    1. Advertising

  3. ruds

    Lew Guest

    Arne Vajhøj wrote:
    > ruds wrote:
    >> Can someone tell me what changes i have to make to my existing
    >> application currently running on tomcat 4 after i upgrade it to tomcat
    >> 6?

    >
    > First guess: none.
    >
    > So try it and see what error you get (if any) and take it from
    > there.


    Well, you will have to redeploy the application into the webapps/ of the new
    Tomcat.

    --
    Lew
     
    Lew, Dec 9, 2007
    #3
  4. ruds

    ruds Guest

    Thanks anne and lew.
     
    ruds, Dec 10, 2007
    #4
  5. ruds

    Arne Vajhøj Guest

    ruds wrote:
    > Thanks anne and lew.


    s/an/ar/w

    Arne
     
    Arne Vajhøj, Dec 10, 2007
    #5
  6. Arne Vajhøj <> writes:

    > ruds wrote:
    >> Thanks anne and lew.

    >
    > s/an/ar/w
    >
    > Arne


    "Tharks arne ard lew"?

    /L >:)
    --
    Lasse Reichstein Nielsen -
    DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
    'Faith without judgement merely degrades the spirit divine.'
     
    Lasse Reichstein Nielsen, Dec 10, 2007
    #6
  7. ruds

    Arne Vajhøj Guest

    Lasse Reichstein Nielsen wrote:
    > Arne Vajhøj <> writes:
    >> ruds wrote:
    >>> Thanks anne and lew.

    >> s/an/ar/w
    >>
    >> Arne

    >
    > "Tharks arne ard lew"?
    >
    > /L >:)


    :) :) :)

    Arne
     
    Arne Vajhøj, Dec 10, 2007
    #7
  8. ruds

    ruds Guest

    I have installed tomcat6 and java 6 on my server, which is Windows
    server 2003.
    tomcat selected jre6 instead of jdk while installing, will it give me
    problem?
    after i deployed my existing application which was running on tomcat4
    to the new onw i get an error as 'Data Source name not found'.
    I have changed a Environment Variables to the new ones.
    what might be the problem?
     
    ruds, Dec 11, 2007
    #8
  9. ruds

    Lew Guest

    ruds wrote:
    > I have installed tomcat6 and java 6 on my server, which is Windows
    > server 2003.
    > tomcat selected jre6 instead of jdk while installing, will it give me
    > problem?


    Tomcat doesn't need the JDK. The JDK is for building the applications, the
    JRE is for running them.

    The JDK includes a JRE, but that's not important here.

    > after i [sic] deployed my existing application which was running on tomcat4
    > to the new onw i get an error as 'Data Source name not found'.
    > I have changed a Environment Variables to the new ones.
    > what might be the problem?


    Data Sources have to be defined in a deployment descriptor; they don't come
    from environment variables.

    <http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html>

    I admit that I find the instructions a bit tricky myself.

    --
    Lew
     
    Lew, Dec 11, 2007
    #9
  10. ruds

    ruds Guest

    On Dec 11, 10:12 am, Lew <> wrote:
    > ruds wrote:
    > > I have installed tomcat6 and java 6 on my server, which is Windows
    > > server 2003.
    > > tomcat selected jre6 instead of jdk while installing, will it give me
    > > problem?

    >
    > Tomcat doesn't need the JDK. The JDK is for building the applications, the
    > JRE is for running them.
    >
    > The JDK includes a JRE, but that's not important here.
    >
    > > after i [sic] deployed my existing application which was running on tomcat4
    > > to the new onw i get an error as 'Data Source name not found'.
    > > I have changed a Environment Variables to the new ones.
    > > what might be the problem?

    >
    > Data Sources have to be defined in a deployment descriptor; they don't come
    > from environment variables.
    >
    > <http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howt...>
    >
    > I admit that I find the instructions a bit tricky myself.
    >
    > --
    > Lew


    If i download postgresSQL JDBC driver will it work on windows?
    Previuosly i did'nt require this to be done.Why so?
     
    ruds, Dec 11, 2007
    #10
  11. ruds

    Lew Guest

    ruds wrote:
    > If i


    The word is "I".

    > download postgresSQL


    PostgreSQL.

    > JDBC driver will it work on windows?


    It should.

    > Previuosly i did'nt require this to be done.Why so?


    Not enough information to know. What was different?

    --
    Lew
     
    Lew, Dec 11, 2007
    #11
  12. ruds

    Nigel Wade Guest

    Lew wrote:

    > ruds wrote:
    >> I have installed tomcat6 and java 6 on my server, which is Windows
    >> server 2003.
    >> tomcat selected jre6 instead of jdk while installing, will it give me
    >> problem?

    >
    > Tomcat doesn't need the JDK. The JDK is for building the applications, the
    > JRE is for running them.


    What about JSP? Does it need a compiler for those, or does it have one built in?
    [I've never used JSP.]

    --
    Nigel Wade, System Administrator, Space Plasma Physics Group,
    University of Leicester, Leicester, LE1 7RH, UK
    E-mail :
    Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555
     
    Nigel Wade, Dec 11, 2007
    #12
  13. Lew, 11.12.2007 06:12:
    > Tomcat doesn't need the JDK. The JDK is for building the applications,
    > the JRE is for running them.


    Not sure about Tomcat6, but Tomcat4 definitely needed the JDK because it
    used javac to compile the servlets generated from the JSP pages.
     
    Thomas Kellerer, Dec 11, 2007
    #13
  14. ruds

    Lew Guest

    Nigel Wade wrote:
    > Lew wrote:
    >
    >> ruds wrote:
    >>> I have installed tomcat6 and java 6 on my server, which is Windows
    >>> server 2003.
    >>> tomcat selected jre6 instead of jdk while installing, will it give me
    >>> problem?

    >> Tomcat doesn't need the JDK. The JDK is for building the applications, the
    >> JRE is for running them.

    >
    > What about JSP? Does it need a compiler for those, or does it have one built in?
    > [I've never used JSP.]


    You might be right. (Checking . . . )

    It looks like you are absolutely correct.

    --
    Lew
     
    Lew, Dec 11, 2007
    #14
  15. ruds

    Lew Guest

    Nigel Wade wrote:
    > Lew wrote:
    >
    >> ruds wrote:
    >>> I have installed tomcat6 and java 6 on my server, which is Windows
    >>> server 2003.
    >>> tomcat selected jre6 instead of jdk while installing, will it give me
    >>> problem?

    >> Tomcat doesn't need the JDK. The JDK is for building the applications, the
    >> JRE is for running them.

    >
    > What about JSP? Does it need a compiler for those, or does it have one built in?
    > [I've never used JSP.]


    You can use precompiled JSPs and install Tomcat just with a JRE.

    > For Tomcat to function fully you need a full Java Development Kit (JDK),
    > If you intend to simply run pre compiled JavaServer pages
    > you can do so using just the Java Runtime Environment(JRE).

    <http://www.recital.com/articles/cm/tomcat/article.htm>

    --
    Lew
     
    Lew, Dec 11, 2007
    #15
  16. ruds

    Lew Guest

    Thomas Kellerer wrote:
    > Lew, 11.12.2007 06:12:
    >> Tomcat doesn't need the JDK. The JDK is for building the
    >> applications, the JRE is for running them.

    >
    > Not sure about Tomcat6, but Tomcat4 definitely needed the JDK because it
    > used javac to compile the servlets generated from the JSP pages.


    See the response to Nigel Wade's post.

    --
    Lew
     
    Lew, Dec 11, 2007
    #16
  17. ruds

    ruds Guest

    From where do I get the JDBC driver for MS Access Sun java's site has
    so many links...
    Which would be the right one? and free to download.
     
    ruds, Dec 12, 2007
    #17
  18. ruds wrote:

    > From where do I get the JDBC driver for MS Access Sun java's site has
    > so many links...
    > Which would be the right one? and free to download.


    I would first see if Microsoft provides a JDBC driver for Access. If
    not, maybe the generic JDBC-ODBC driver works.
    --
    Sabine Dinis Blochberger

    Op3racional
    www.op3racional.eu
     
    Sabine Dinis Blochberger, Dec 12, 2007
    #18
  19. ruds, 12.12.2007 07:38:
    > From where do I get the JDBC driver for MS Access Sun java's site has
    > so many links...
    > Which would be the right one? and free to download.


    There is no JDBC driver for Access (at least no free one as far as I
    know). There is only an ODBC driver (which is shipped together with
    Windows).

    You need to use the JDBC/ODBC bridge to connect to an Access database.
    That bridge is part of the JDK, so you don't need to download anything.

    You don't need to create a DataSource to be able to connect to Access,
    as you can specify the database file directly:

    jdbc:eek:dbc:DRIVER={Microsoft Access Driver
    (*.mdb)};DBQ=c:\Daten\db\access\test.mdb

    (Note the URL is one line only)

    Thomas
     
    Thomas Kellerer, Dec 12, 2007
    #19
  20. ruds

    ruds Guest

    I have loaded jdbc driver from weblogic in my tomcat.
    But still my application wont work i have changed the files according
    to Tomcat's documentation as suggested to me by Lew.
    Does someone have a step by step and simple way of to doing database
    connection.Please et me know as the documentation is very confusing..
     
    ruds, Dec 12, 2007
    #20
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. robert walker
    Replies:
    2
    Views:
    497
    John C. Bollinger
    Aug 4, 2003
  2. davidepp
    Replies:
    2
    Views:
    414
    davidepp
    Aug 21, 2003
  3. stephen
    Replies:
    0
    Views:
    343
    stephen
    Jun 19, 2006
  4. Replies:
    0
    Views:
    471
  5. Gerard H. Pille

    java GC options for tomcat6 service

    Gerard H. Pille, Apr 14, 2011, in forum: Java
    Replies:
    4
    Views:
    1,467
    Gerard H. Pille
    Apr 16, 2011
Loading...

Share This Page