no, i think i made some sort of crazy typo that was making my default server
not shut down.  I figured it out because even though the default server icon
was NOT being displayed in the system tray (meaning default server was not
running) and it was showing as 'stopped' in the jmc, I was still getting
that port conflict error when i tried to start.  To get it to work, I had to
go through and change every single port number in my local.properties file
to something different.  So that made me think that maybe the default server
wasn't shutting down after all - even though I physically shut it down and
it was showing up as 'stopped' in the jmc.  Still haven't figured out what i
did to make this happen, but once I retyped all of the logging settings and
reset all my port numbers, it worked.  
Thanks anyway.  If anyone knows of any reason this could happen, please feel
free to fill me in.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Friday, May 11, 2001 4:26 PM
To: JRun-Talk
Subject: RE: logging


just a stupid question, but are you trying to run jrun again while it is
already running. 

-----Original Message-----
From: Regina Moore [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 11, 2001 3:23 PM
To: JRun-Talk
Subject: logging


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

Reply via email to