tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Pawson <dave.paw...@gmail.com>
Subject Re: Error, source unknown
Date Tue, 03 Feb 2009 13:38:13 GMT
HI Gregor.

2009/2/3 Gregor Schneider <rc46fi@googlemail.com>:

>> Feb 3, 2009 12:14:23 PM org.apache.coyote.http11.Http11Protocol init
>> SEVERE: Error initializing endpoint
>> java.net.BindException: Address already in use<null>:8080
>>
>
> that means that some process is using port 8080. Since a port can only
> be bound to one process, the attempt to bin it to a second one fails.
>
> Is it possible that Tomcat is already running?
>
> In case you#re on Linux / Unix, what gives
>
> netstat -lnp | grep 8080 ?

[root@marge apps]# netstat -lnp | grep 8080
tcp        0      0 :::8080                     :::*
     LISTEN      4014/java

(Not very informative.... ?)



>
>>
>> Then later (may/may not be associated)
>>
>> Feb 3, 2009 12:14:23 PM org.apache.tomcat.util.digester.Digester fatalError
>> SEVERE: Parse Fatal Error at line 8 column 1: Content is not allowed
>> in trailing section.
>> org.xml.sax.SAXParseException: Content is not allowed in trailing section.
>>        at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
>>
>
> the XML-parser used is not able to parse an XML-file.
> Would be interesting to kniw, which XML-file we#re talking about here, though.
>
> My best guess is, that you either might have a problem with CTR/LF at
> the linde-ends of said XML-file or a problem with the encoding.

Found that one. The user list (tomcat-users.xml) had a trailing character.
Bad tomcat for not naming the file in error :-)


regards





-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message