Try using the port number you were using before. The port number you use has to be
unique.
On Friday, May 11, 2001 3:23 PM, Regina Moore [SMTP:[EMAIL PROTECTED]] wrote:
> Why is it when I copy the multiple file writers code verbatim from the
> developer's manual, my default server refuses to start anymore? I get a
> jrun exited abnormally with the following exception:
>
> 05/11 15:00:48 error (JRun) JRun Aborting! [javax.servlet.ServletException:
> Port in use by another service or process: 53000]
> [1]java.net.BindException: Port in use by another service or process: 53000
> at allaire.jrun.NetworkService.bind(../NetworkService.java:273)
> at allaire.jrun.NetworkService.init(../NetworkService.java:114)...
> (I won't copy the whole thing - you get the idea.)
>
> All I have changed is the logging section inside of my local.properties
> file. Why should this cause a port number conflict? Everything ran fine
> prior to fiddling with the properties file.
>
> Thanks in advance for any insight.
> Regina
>
> P.S.
> The code on page 386 looks like:
> # Logging levels, as a comma separated list.
> # Possible values are any combination of: debug, info, warning, error,
> metrics
> logging.loglevel=info,debug,warning,error
>
> # Define the logging listeners
> logging.listeners=threadedlogger
>
> # Threaded logger. Clients post log events to a queue which are
> # processed by a background thread. The log event can be posted
> # to any number of logging listeners
> logging.threadedlogger.class=allaire.jrun.logging.ThreadedLogger
> logging.threadedlogger.listeners=dispatchlogger
>
> # Dispatch logger. This logging listener will route each type of
> # logging event to a potentially unique listener.
> logging.dispatchlogger.class=allaire.jrun.logging.DispatchLogger
> logging.dispatchlogger.events={logging.infoevent},{logging.debugevent},{logg
> ing.wa rningevent},{logging.errorevent}
> logging.dispatchlogger.destinations=fileinfowriter,filedebugwriter,filewarnw
> riter, fileerrorwriter
>
> # File log writer. A single file log writer can be used for all event types
> or,
> # when used with the DispatchLogger, each event type can use its own
> # log. The filename can consist of both static variables (such as
> # {install.rootdir}) and dynamic variables (such as {date}, {hour},
> # {day}, {month}, or {year}). When using dynamic variables the name
> # of the log file will be changed as the timestamps of the log
> # events change.
> logging.fileinfowriter.class=allaire.jrun.logging.FileLogWriter
> logging.fileinfowriter.filename={jrun.rootdir}/logs/{jrun.server.name}-info.
> log
> logging.fileinfowriter.rotationsize=100000
> logging.fileinfowriter.rotationfiles=5
>
> logging.filedebugwriter.class=allaire.jrun.logging.FileLogWriter
> logging.filedebugwriter.filename={jrun.rootdir}/logs/{jrun.server.name}-debu
> g.log
> logging.filedebugwriter.rotationsize=100000
> logging.filedebugwriter.rotationfiles=5
>
> logging.filewarnwriter.class=allaire.jrun.logging.FileLogWriter
> logging.filewarnwriter.filename={jrun.rootdir}/logs/{jrun.server.name}-warn.
> log
> logging.filewarnwriter.rotationsize=100000
> logging.filewarnwriter.rotationfiles=5
>
> logging.fileerrorwriter.class=allaire.jrun.logging.FileLogWriter
> logging.fileerrorwriter.filename={jrun.rootdir}/logs/{jrun.server.name}-erro
> rs.log
> logging.fileerrorwriter.rotationsize=100000
> logging.fileerrorwriter.rotationfiles=5
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists