Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > changes in application after upgrading tomcat4 to tomcat6

Reply
Thread Tools

changes in application after upgrading tomcat4 to tomcat6

 
 
ruds
Guest
Posts: n/a
 
      12-09-2007
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.
 
Reply With Quote
 
 
 
 
Arne Vajh°j
Guest
Posts: n/a
 
      12-09-2007
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
 
Reply With Quote
 
 
 
 
Lew
Guest
Posts: n/a
 
      12-09-2007
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
 
Reply With Quote
 
ruds
Guest
Posts: n/a
 
      12-10-2007
Thanks anne and lew.
 
Reply With Quote
 
Arne Vajh°j
Guest
Posts: n/a
 
      12-10-2007
ruds wrote:
> Thanks anne and lew.


s/an/ar/w

Arne
 
Reply With Quote
 
Lasse Reichstein Nielsen
Guest
Posts: n/a
 
      12-10-2007
Arne Vajh°j <(E-Mail Removed)> writes:

> ruds wrote:
>> Thanks anne and lew.

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


"Tharks arne ard lew"?

/L >
--
Lasse Reichstein Nielsen - http://www.velocityreviews.com/forums/(E-Mail Removed)
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'
 
Reply With Quote
 
Arne Vajh°j
Guest
Posts: n/a
 
      12-10-2007
Lasse Reichstein Nielsen wrote:
> Arne Vajh°j <(E-Mail Removed)> writes:
>> ruds wrote:
>>> Thanks anne and lew.

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

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




Arne
 
Reply With Quote
 
ruds
Guest
Posts: n/a
 
      12-11-2007
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?
 
Reply With Quote
 
Lew
Guest
Posts: n/a
 
      12-11-2007
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
 
Reply With Quote
 
ruds
Guest
Posts: n/a
 
      12-11-2007
On Dec 11, 10:12 am, Lew <(E-Mail Removed)> 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?
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
java GC options for tomcat6 service Gerard H. Pille Java 4 04-16-2011 08:46 PM
Root application in Tomcat6 and servlet-mapping stefan.machwirth@debeka.de Java 0 10-19-2007 01:29 PM
Tomcat4: What means privileged with in host Stephan Melchior Java 0 09-11-2003 10:03 AM
tomcat4 and servlets - where to post? davidepp Java 2 08-21-2003 06:00 PM
my servlet won't load on startup in tomcat4, any ideas why? robert walker Java 2 08-04-2003 08:44 PM



Advertisments