You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wagon-users@maven.apache.org by project member <le...@yahoo.com> on 2004/10/13 06:37:07 UTC

how do i switch from tdk 2.2 to tdk 2.3 without a mess

hi all,
         i have tdk 2.2 on my machine ( windows 2000 ). i had earlier tried to shift to tdk2.3 but i did some changes in my environment variables and after that neither tdk2.2 nor 2.3 were working somehow i got 2.2 running ( ie. i could build an application after following steps upto step 5 of how-to.html ). but the next step ie. to give command "./bin/catalina.sh run is not working it gives following error :
 
E:\software\TDK_2.2\bin>catalina run
Using CATALINA_BASE:   E:\software\TDK_2.2
Using CATALINA_HOME:   E:\software\TDK_2.2
Using CATALINA_TMPDIR: E:\software\TDK_2.2\temp
Using JAVA_HOME:       E:\software\java\j2sdk1.4.2_04
Catalina.start: LifecycleException:  null.open:  java.net.BindException: Address already in use: JVM_Bind:8080
LifecycleException:  null.open:  java.net.BindException: Address already in use: JVM_Bind:8080
        at org.apache.catalina.connector.http.HttpConnector.initialize(HttpConnector.java:1130)
        at org.apache.catalina.core.StandardService.initialize(StandardService.java:454)
        at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:553)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:780)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
----- Root Cause -----
java.net.BindException: Address already in use: JVM_Bind:8080
        at org.apache.catalina.connector.http.HttpConnector.open(HttpConnector.java:950)
        at org.apache.catalina.connector.http.HttpConnector.initialize(HttpConnector.java:1128)
        at org.apache.catalina.core.StandardService.initialize(StandardService.java:454)
        at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:553)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:780)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
StandardServer.await: create[8005]: java.net.BindException: Address already in use: JVM_Bind
java.net.BindException: Address already in use: JVM_Bind
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331)
        at java.net.ServerSocket.bind(ServerSocket.java:318)
        at java.net.ServerSocket.<init>(ServerSocket.java:185)
        at org.apache.catalina.core.StandardServer.await(StandardServer.java:277)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:794)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
E:\software\TDK_2.2\bin>
 
also the next step says "Look for 'TDK SITE' in the conf/server.xml file and make the adjustment just above it to get class reloading working"
 
but i cant find it too .
 
 
 


---------------------------------
  Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now

Re: how do i switch from tdk 2.2 to tdk 2.3 without a mess

Posted by Conor MacNeill <co...@cortexebusiness.com.au>.
The FIRST thing you do is figure out on which list to ask your question. 
  Cross-Posting to every list you can find WILL NOT get you *ANY* useful 
answers.

Conor


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
For additional commands, e-mail: general-help@jakarta.apache.org


Re: how do i switch from tdk 2.2 to tdk 2.3 without a mess

Posted by nagendra pal <na...@yahoo.co.in>.
you stop the machine after some time again start
machine then start tomcat.

if it is not working then you reinstall tomcat.

.......nksingh


--- project member <le...@yahoo.com> wrote:

> hi all,
>          i have tdk 2.2 on my machine ( windows 2000
> ). i had earlier tried to shift to tdk2.3 but i did
> some changes in my environment variables and after
> that neither tdk2.2 nor 2.3 were working somehow i
> got 2.2 running ( ie. i could build an application
> after following steps upto step 5 of how-to.html ).
> but the next step ie. to give command
> "./bin/catalina.sh run is not working it gives
> following error :
>  
> E:\software\TDK_2.2\bin>catalina run
> Using CATALINA_BASE:   E:\software\TDK_2.2
> Using CATALINA_HOME:   E:\software\TDK_2.2
> Using CATALINA_TMPDIR: E:\software\TDK_2.2\temp
> Using JAVA_HOME:      
> E:\software\java\j2sdk1.4.2_04
> Catalina.start: LifecycleException:  null.open: 
> java.net.BindException: Address already in use:
> JVM_Bind:8080
> LifecycleException:  null.open: 
> java.net.BindException: Address already in use:
> JVM_Bind:8080
>         at
>
org.apache.catalina.connector.http.HttpConnector.initialize(HttpConnector.java:1130)
>         at
>
org.apache.catalina.core.StandardService.initialize(StandardService.java:454)
>         at
>
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:553)
>         at
>
org.apache.catalina.startup.Catalina.start(Catalina.java:780)
>         at
>
org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
>         at
>
org.apache.catalina.startup.Catalina.process(Catalina.java:179)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>         at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at
> java.lang.reflect.Method.invoke(Method.java:324)
>         at
>
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
> ----- Root Cause -----
> java.net.BindException: Address already in use:
> JVM_Bind:8080
>         at
>
org.apache.catalina.connector.http.HttpConnector.open(HttpConnector.java:950)
>         at
>
org.apache.catalina.connector.http.HttpConnector.initialize(HttpConnector.java:1128)
>         at
>
org.apache.catalina.core.StandardService.initialize(StandardService.java:454)
>         at
>
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:553)
>         at
>
org.apache.catalina.startup.Catalina.start(Catalina.java:780)
>         at
>
org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
>         at
>
org.apache.catalina.startup.Catalina.process(Catalina.java:179)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>         at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at
> java.lang.reflect.Method.invoke(Method.java:324)
>         at
>
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
> StandardServer.await: create[8005]:
> java.net.BindException: Address already in use:
> JVM_Bind
> java.net.BindException: Address already in use:
> JVM_Bind
>         at
> java.net.PlainSocketImpl.socketBind(Native Method)
>         at
>
java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331)
>         at
> java.net.ServerSocket.bind(ServerSocket.java:318)
>         at
> java.net.ServerSocket.<init>(ServerSocket.java:185)
>         at
>
org.apache.catalina.core.StandardServer.await(StandardServer.java:277)
>         at
>
org.apache.catalina.startup.Catalina.start(Catalina.java:794)
>         at
>
org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
>         at
>
org.apache.catalina.startup.Catalina.process(Catalina.java:179)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>         at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at
> java.lang.reflect.Method.invoke(Method.java:324)
>         at
>
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
> E:\software\TDK_2.2\bin>
>  
> also the next step says "Look for 'TDK SITE' in the
> conf/server.xml file and make the adjustment just
> above it to get class reloading working"
>  
> but i cant find it too .
>  
>  
>  
> 
> 
> ---------------------------------
>   Yahoo! Messenger - Communicate instantly..."Ping"
> your friends today! Download Messenger Now


=====
Nagendra Kumar Singh
Project Associate
EE/ACES, I.I.T. Kanpur
(O)+91-0512-2597841
E-Mail:- singhnk@iitk.ac.in


		
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


RE: how do i switch from tdk 2.2 to tdk 2.3 without a mess

Posted by David Demner <tu...@demner.com>.
Hi,

You need to make sure to shut down the TDK2.2 Tomcat first before starting
the TDK2.3 Tomcat.

I think you will also need the migration document at
http://jakarta.apache.org/turbine/turbine-2.3/howto/migrate-from-2_2-howto.h
tml to change your project code to be Turbine 2.3 compatible.

Good luck,

David

-----Original Message-----
From: project member [mailto:learning_tdk@yahoo.com] 
Sent: Tuesday October 12, 2004 9:37 PM
To: commons-user@jakarta.apache.org
Cc: general@jakarta.apache.org; scm-cvs@maven.apache.org;
scm-user@maven.apache.org; turbine-jcs-user@jakarta.apache.org;
turbine-user@jakarta.apache.org; user@ant.apache.org;
wagon-cvs@maven.apache.org; wagon-users@maven.apache.org
Subject: how do i switch from tdk 2.2 to tdk 2.3 without a mess


hi all,
         i have tdk 2.2 on my machine ( windows 2000 ). i had earlier tried
to shift to tdk2.3 but i did some changes in my environment variables and
after that neither tdk2.2 nor 2.3 were working somehow i got 2.2 running (
ie. i could build an application after following steps upto step 5 of
how-to.html ). but the next step ie. to give command "./bin/catalina.sh run
is not working it gives following error :
 
E:\software\TDK_2.2\bin>catalina run
Using CATALINA_BASE:   E:\software\TDK_2.2
Using CATALINA_HOME:   E:\software\TDK_2.2
Using CATALINA_TMPDIR: E:\software\TDK_2.2\temp
Using JAVA_HOME:       E:\software\java\j2sdk1.4.2_04
Catalina.start: LifecycleException:  null.open:  java.net.BindException:
Address already in use: JVM_Bind:8080
LifecycleException:  null.open:  java.net.BindException: Address already in
use: JVM_Bind:8080
        at
org.apache.catalina.connector.http.HttpConnector.initialize(HttpConnector.ja
va:1130)
        at
org.apache.catalina.core.StandardService.initialize(StandardService.java:454
)
        at
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:553)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:780)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
----- Root Cause -----
java.net.BindException: Address already in use: JVM_Bind:8080
        at
org.apache.catalina.connector.http.HttpConnector.open(HttpConnector.java:950
)
        at
org.apache.catalina.connector.http.HttpConnector.initialize(HttpConnector.ja
va:1128)
        at
org.apache.catalina.core.StandardService.initialize(StandardService.java:454
)
        at
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:553)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:780)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
StandardServer.await: create[8005]: java.net.BindException: Address already
in use: JVM_Bind
java.net.BindException: Address already in use: JVM_Bind
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331)
        at java.net.ServerSocket.bind(ServerSocket.java:318)
        at java.net.ServerSocket.<init>(ServerSocket.java:185)
        at
org.apache.catalina.core.StandardServer.await(StandardServer.java:277)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:794)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
E:\software\TDK_2.2\bin>
 
also the next step says "Look for 'TDK SITE' in the conf/server.xml file and
make the adjustment just above it to get class reloading working"
 
but i cant find it too .
 
 
 


---------------------------------
  Yahoo! Messenger - Communicate instantly..."Ping" your friends today!
Download Messenger Now


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org