AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problema all'avvio di Tomcat 5.5

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java (Italian)
View previous topic :: View next topic  
Author Message
Vjger
Guest





PostPosted: Wed Apr 27, 2005 9:12 am    Post subject: Problema all'avvio di Tomcat 5.5 Reply with quote



Salve, ho installato Tomcat su W98.
Facendo partire il monitor ottengo il seguente errore (finestra
popup):

c:programmiapache software foundationtomca 5.0bintomcat5w.exe
Una periferica collegata al sistema non e' in funzione"

Cliccando su OK ho poi un'altro popup con

"errore durante l'avvio del programma.
il file tomcat5w.exe e' collegato all'esportazione mancante
netapi32.dll:netwkstagetinfo.

Googleggiando ho visto che non sono l'unico a cui è successo (ma
l'unico consiglio che veniva dato era di installare una versione
precedente, cosa che non posso fare).
Sulle FAQ di Jakarta non c'è traccia di questo errore. Ho visto che si
parla si un certo file startup.bat che eprò io non ho (forse è di XP e
non di Tomcat?).

Avete qualche suggerimento?

Grazie
Back to top
Gian Luca Dalla Torre
Guest





PostPosted: Wed Apr 27, 2005 9:51 am    Post subject: Re: Problema all'avvio di Tomcat 5.5 Reply with quote



Dal secondo errore che ti appare, sembra che Tomcat 5.5 non sia
compatibile con la serie Windows 9x. In pratica cerca una funzione del
SO che non è presente in Windows 98. Molto probabilmente c'è in
NT/2000/XP. Perciò la soluzione che ti si prospetta è giusta: downgrade
o cambio del SO.

Gian Luca
Back to top
Vincent Vega
Guest





PostPosted: Wed Apr 27, 2005 10:04 am    Post subject: Re: Problema all'avvio di Tomcat 5.5 Reply with quote



Vjger wrote:


Quote:
"errore durante l'avvio del programma.
il file tomcat5w.exe e' collegato all'esportazione mancante
netapi32.dll:netwkstagetinfo.

Spiegazione tecnica:
E' dovuto al fatto che il programma tomcat5w.exe non è compatibile con
windows98, in quanto fa uso della suddetta API che è disponibile su
NT/2000/XP.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/netmgmt/netmgmt/netwkstagetinfo.asp

Tuttavia tu non devi lanciare quel programma, che serve per far partire
tomcat come servizio. Basta che tu lanci il batch startup.bat.

Quote:
Sulle FAQ di Jakarta non c'è traccia di questo errore. Ho visto che si
parla si un certo file startup.bat che eprò io non ho (forse è di XP e
non di Tomcat?).
Avete qualche suggerimento?

Guardare meglio nella directory bin. startup.bat c'è eccome...

Back to top
pioneer@inwind.it
Guest





PostPosted: Wed Apr 27, 2005 11:07 am    Post subject: Re: Problema all'avvio di Tomcat 5.5 Reply with quote

Ok, avevamo ragione entrambi perchè nella 5.5 non c'è nessun .bat
nella bin.
C'è invece nella 5.0.30.
Lo script (che mi sa che è scritto con una sintassi che '98 non
capisce bene) cerca di costruirsi la variabile d'ambiente CATALINA_HOME
se non la trova.
Gliel'ho impostata io ma poi. quando fa la seguente if:

if exist "%CATALINA_HOME%bincatalina.bat" goto okHome

PUR TRADUCENDO BENE il tutto (a console io leggo (ho messo echo ON)
C:ProgrammiApache Software FoundationTomcat 5.0bin>if exist
"C:ProgrammiApache~1Tomcat~1bincatalina.bat" goto okHome )
e pur ovviamente esistendo catalina.bat, la IF non funziona (non fa la
goto) e si ferma.

Any ideas?

Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.