home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 February / CHIPCD_02_2002.iso / Internet / Macromedia ColdFusion Server 5 / coldfusion-50-win-us.exe / data1.cab / Program_Files / jrun / lib / global.properties < prev    next >
Encoding:
Text File  |  2001-06-13  |  25.2 KB  |  649 lines

  1. ########################################################################
  2. ## basic JRun properties
  3. ########################################################################
  4.  
  5. jrun.version=3.01.5870
  6. jrun.date=Tue Oct  3 18:16:03  2000
  7.  
  8. ########################################################################
  9. ## Java VM Settings
  10. ########################################################################
  11.  
  12. # path to java virtual machine.  Launchers will use system PATH if necessary
  13. #java.exe=C:\\CFusion\\jre\\bin\\javaw.exe
  14.  
  15. # extra virtual machine args
  16. java.args={user.javaargs} {ejb.javaargs} {servlet.javaargs}
  17. user.javaargs=
  18.  
  19. # virtual machine arguments for doing debugging
  20. java.args.debug=
  21.  
  22. # shared library path for JNI libraries
  23. java.jnipath={user.jnipath};{ejb.jnipath};{servlet.jnipath}
  24.  
  25. # Classpath
  26. #
  27. # The CLASSPATH consists of four components:
  28. #
  29. #    jrun.classpath     - Classes and jars required for JRun itself
  30. #    servlet.classpath  - Servlet/JSP related components.
  31. #    ejb.classpath      - EJB related JRun components.
  32. #    user.classpath     - User-specified classes and jars used by
  33. #                         all the user's apps/JVMs.  
  34. #                         
  35. # A simple wildcard mechanism is used for the classpath
  36. # variables.  If a directory is supplied in the classpath, each JAR
  37. # file contained in the directory is automatically added after the
  38. # directory in the classpath before invoking JRun.
  39. #
  40. java.classpath={jrun.classpath};{user.classpath};{ejb.classpath};{servlet.classpath}
  41. jrun.classpath={jrun.rootdir}/lib/ext;{jrun.rootdir}/lib/jrun.jar;{jrun.rootdir}/lib/install.jar;
  42. user.classpath={jrun.rootdir}/servers/lib;{jrun.server.rootdir}/lib
  43.  
  44. # Redirection of Primordial output and error streams.  Run jrun
  45. # program with -console argument to prevent standard out and error
  46. # from being redirected to these files.
  47. java.System.out={jrun.rootdir}/logs/{jrun.server.name}-out.log
  48. java.System.err={jrun.rootdir}/logs/{jrun.server.name}-err.log
  49.  
  50. ########################################################################
  51. ## JRun Services
  52. ########################################################################
  53.  
  54. # list of services to start
  55. jrun.services=scheduler,logging,monitor,license,control,{ejb.services},{servlet.services}
  56.  
  57. # service aliases -- names of various services to use
  58. jrun.Logger=logging
  59. jrun.License=license
  60. jrun.Scheduler=scheduler
  61.  
  62.  
  63. ########################################################################
  64. ## logging services
  65. ########################################################################
  66.  
  67. # Service class & info
  68. logging.class=allaire.jrun.logging.LoggingService
  69. logging.format={date MM/dd HH:mm:ss} {log.level} ({log.name}) {log.message}
  70.  
  71. # Logging levels, as a comma separated list.
  72. # Possible values are any combination of: debug, info, warning, error, metrics
  73. logging.loglevel=info,warning,error
  74.  
  75. # Define the logging listeners
  76. logging.listeners=threadedlogger
  77.  
  78. # Threaded logger. Clients post log events to a queue which are
  79. # processed by a background thread. The log event can be posted
  80. # to any number of logging listeners
  81. logging.threadedlogger.class=allaire.jrun.logging.ThreadedLogger
  82. logging.threadedlogger.listeners=filelogwriter
  83.  
  84. # Define the logging events available
  85. logging.infoevent=allaire.jrun.logging.InfoLogEvent
  86. logging.debugevent=allaire.jrun.logging.DebugLogEvent
  87. logging.warningevent=allaire.jrun.logging.WarningLogEvent
  88. logging.errorevent=allaire.jrun.logging.ErrorLogEvent
  89.  
  90. # Dispatch logger. This logging listener will route each type of
  91. # logging event to a potentially unique listener.
  92. logging.dispatchlogger.class=allaire.jrun.logging.DispatchLogger
  93. logging.dispatchlogger.events={logging.infoevent},{logging.debugevent},{logging.warningevent},{logging.errorevent}
  94. logging.dispatchlogger.destinations=filelogwriter,filelogwriter,filelogwriter,filelogwriter
  95.  
  96. # Screen log writer. All log events are simply sent to stdout
  97. logging.screenlogger.class=allaire.jrun.logging.ScreenLogWriter
  98.  
  99. # File log writer. A single file log writer can be used for all event types or,
  100. # when used with the DispatchLogger, each event type can use its own
  101. # log. The filename can consist of both static variables (such as
  102. # {install.rootdir}) and dynamic variables (such as {date}, {hour}, 
  103. # {day}, {month}, or {year}). When using dynamic variables the name
  104. # of the log file will be changed as the timestamps of the log
  105. # events change.
  106. logging.filelogwriter.class=allaire.jrun.logging.FileLogWriter
  107. logging.filelogwriter.filename={jrun.rootdir}/logs/{jrun.server.name}-event.log
  108. logging.filelogwriter.rotationsize=100000
  109. logging.filelogwriter.rotationfiles=5
  110.  
  111. ########################################################################
  112. ## scheduler services
  113. ########################################################################
  114.  
  115. scheduler.class=allaire.jrun.scheduler.SchedulerService
  116.  
  117.  
  118. ########################################################################
  119. ## monitor services
  120. ########################################################################
  121.  
  122. #
  123. # Network Service metrics. Current services are 'web' and 'jcp'
  124. #    listenTh   number of threads listening for a new connection
  125. #    idleTh     threads waiting for a new request
  126. #    delayTh    threads waiting to run
  127. #    busyTh     threads currently running
  128. #    totalTh    total worker thread count
  129. #    delayRq    number of requests delayed due to high concurrency
  130. #    droppedRq  requests dropped
  131. #    handledRq  requests handled
  132. #    delayMs    ms spent in delay state
  133. #    bytesIn    number of bytes read from request
  134. #    bytesOut   number of bytes written to response
  135. #
  136. # e.g. delayMs/busyTh = avg. response time before executing request
  137. #
  138. # Other metrics:
  139. #    freeMem    KB of free memory
  140. #    totalMem   total KB (in use and free)
  141. #    sessions   current number of active sessions
  142. #
  143. # Note that metrics are enabled when the logging.loglevel includes 'metrics'
  144. #
  145.  
  146. monitor.class=allaire.jrun.metrics.MetricsLogger
  147. monitor.interval=60
  148.  
  149. # The maximum number of metrics snapshot history entries to maintain. The default is 10.
  150. monitor.max.history=10
  151.  
  152. # fill this in with a monitor format from below
  153. monitor.format={monitor.combined-format}
  154.  
  155. monitor.web-format=(web) Heap={totalMemory}KB Listen={web.listenTh} Idle={web.idleTh} Queued={web.delayTh} Busy={web.busyTh} Total={web.totalTh} Requests (count/total ms)={web.handledRq}/{web.handledMs} Delayed={web.delayRq} TotalDelay={web.delayMs} BytesIn={web.bytesIn} BytesOut={web.bytesOut} Sessions (active/in memory)={sessions}/{sessionsInMem}
  156. monitor.web-short-format=(web) Busy={web.busyTh} Total={web.totalTh} Requests={web.handledRq} TotalDelay={web.delayMs}
  157.  
  158. monitor.jcp-format=(jcp) Heap={totalMemory}KB Listen={jcp.listenTh} Idle={jcp.idleTh} Queued={jcp.delayTh} Busy={jcp.busyTh} Total={jcp.totalTh} Requests (count/total ms)={jcp.handledRq}/{jcp.handledMs} Delayed={jcp.delayRq} TotalDelay={jcp.delayMs} BytesIn={jcp.bytesIn} BytesOut={jcp.bytesOut} Sessions (active/in memory)={sessions}/{sessionsInMem}
  159. monitor.jcp-short-format=(jcp) Busy={jcp.busyTh} Total={jcp.totalTh} Requests={jcp.handledRq} TotalDelay={jcp.delayMs}
  160.  
  161. monitor.combined-format=(jcp+web) Heap={totalMemory}KB Listen={{jcp.listenTh}+{web.listenTh}} Idle={{jcp.idleTh}+{web.idleTh}} Queued={{jcp.delayTh}+{web.delayTh}} Busy={{jcp.busyTh}+{web.busyTh}} Total={{jcp.totalTh}+{web.totalTh}} Requests (count/total ms)={{jcp.handledRq}+{web.handledRq}}/{{jcp.handledMs}+{web.handledMs}} Delayed={{jcp.delayRq}+{web.delayRq}} TotalDelay={{jcp.delayMs}+{web.delayMs}} BytesIn={{jcp.bytesIn}+{web.bytesIn}} BytesOut={{jcp.bytesOut}+{web.bytesOut}} Sessions (active/in memory)={sessions}/{sessionsInMem}
  162.  
  163.  
  164. ########################################################################
  165. ## license manager services
  166. ########################################################################
  167.  
  168. # service class & info
  169. license.class=allaire.jrun.license.LicenseService
  170. license.licensefile={jrun.rootdir}/lib/serial_number.properties
  171.  
  172. ########################################################################
  173. ## control services
  174. ########################################################################
  175.  
  176. # service class & info
  177. control.class=allaire.jrun.control.ControlService
  178.  
  179. # endpoint properties
  180. control.endpoint.main.bindaddress=127.0.0.1
  181. control.endpoint.main.interface=*
  182. control.endpoint.main.port=
  183. control.endpoint.main.timeout=300
  184. control.endpoint.main.min.threads=1
  185. control.endpoint.main.active.threads=1
  186. control.endpoint.main.max.threads=1
  187.  
  188. # number of seconds to wait for non-daemon threads to exit before
  189. # forcing a shutdown using System.exit.
  190. #   - use 0 to indicate that System.exit should not be called.
  191. control.shutdown.timeout=5
  192.  
  193.  
  194. # Web Application XML DTD mappings. This allows DTD URLs specified
  195. # web.xml, application.xml, and taglib.dtd to be mapped to a local physical
  196. # file location
  197. webapp.dtd-mapping.web-app_2_2.dtd={jrun.rootdir}/lib/web-app_2_2.dtd
  198. webapp.dtd-mapping.application_1_2.dtd={jrun.rootdir}/lib/application_1_2.dtd
  199. webapp.dtd-mapping.web-jsptaglibrary_1_1.dtd={jrun.rootdir}/lib/web-jsptaglibrary_1_1.dtd
  200. # List of services to start for Servlet/JSP support
  201. servlet.services={servlet.webapps}
  202.  
  203. webapp.services=scheduler,logging,session,authentication,jsp,file
  204.  
  205. # service aliases
  206. webapp.SessionManager=session
  207. webapp.ResourceAuthenticator=authentication
  208. webapp.PageTranslator=jsp
  209.  
  210. # Default service class for running web-apps.
  211. # To enable these deprecated ServletContext methods:
  212. #    Servlet getServlet(String name)
  213. #    Enumeration getServlets()
  214. #    Enumeration getServletNames()
  215. # use allaire.jrun.servlet.JRunSE instead.
  216. webapp.service-class=allaire.jrun.servlet.WebappService
  217.  
  218. webapp.defaultservlet=file
  219.  
  220. ########################################################################
  221. ## java properties
  222. ########################################################################
  223.  
  224. # shared library path for JNI libraries
  225. servlet.jnipath=
  226. user.jnipath=
  227.  
  228. # Classpath
  229. servlet.classpath={jrun.rootdir}/lib/jsp.jar;{jrun.rootdir}/lib/ssi.jar;{jrun.rootdir}/lib/wddx.jar;{jrun.rootdir}/lib/xt.jar;{jrun.rootdir}/lib/rhino.jar
  230.  
  231. # extra virtual machine args
  232. servlet.javaargs=
  233.  
  234.  
  235. ########################################################################
  236. ## session services
  237. ########################################################################
  238.  
  239. # Session management service.
  240. # to enable these deprecated methods:
  241. #     Enumeration SessionContext.getIds()
  242. #     HttpSession getSession(String id)
  243. # use allaire.jrun.session.JRunSessionService instead.
  244. session.class=allaire.jrun.session.WebappSessionService
  245.  
  246. # Invalidation time is the default session inactivity timeout.
  247. # If the session is not accessed, it will be expired.  This value
  248. # can be set on each session by calling HttpSession.setMaxInactiveTime()
  249. # specified in minutes.
  250. session.invalidationtime=30
  251.  
  252. # true if sessions should be persisted when the server is terminated.
  253. session.persistence=true
  254.  
  255. # What to do with session data when class files change. Values are
  256. # reload, drop, or ignore. Only valid if session.persistence=true
  257. session.persistence.classchange=reload
  258.  
  259. # true if sessions should be swapped out of memory to a storage service
  260. session.swapping=false
  261.  
  262. # How often the session pool should be checked for sessions that should
  263. # be swapped to a storage service, specified in seconds
  264. session.swapinterval=10
  265.  
  266. # The approximate number of sessions that will be allowed in memory
  267. # before swapping to a storage service. Due to delays in the swapinterval
  268. # and sessions that may not be serializable, the actual maximum may
  269. # differ. If 0, all session data will be written out immediately upon
  270. # the completion of the request. session.swapping must be 'true' in order
  271. # for this property to take effect.
  272. session.maxresident=9999999
  273.  
  274. # The name of the storage service to use for session persistence
  275. # and/or swapping
  276. session.persistence.service=file
  277. session.persistence.file.class=allaire.jrun.session.FileSessionStorage
  278. session.persistence.file.path={webapp.rootdir}/WEB-INF/sessions
  279.  
  280. # JDBCSessionStorage provider
  281. session.persistence.jdbc.class=allaire.jrun.session.JDBCSessionStorage
  282. session.persistence.jdbc.JDBCDriver=sun.jdbc.odbc.JdbcOdbcDriver
  283. session.persistence.jdbc.JDBCConnectionURL=jdbc:odbc:JRunSessions
  284. # The table name to use
  285. session.persistence.jdbc.JDBCSessionTable=sessions
  286. # A key prefix to keep all server keys unique
  287. session.persistence.jdbc.JDBCSessionIDPrefix={jrun.server.name}-
  288. # The column names to use. The JDBCSessionIDColumn must be a VARCHAR
  289. # type while the JDBCSessionDataColumn must be able to handle
  290. # binary long data
  291. session.persistence.jdbc.JDBCSessionIDColumn=id
  292. session.persistence.jdbc.JDBCSessionDataColumn=data
  293.  
  294. # settings for cookie-based sesssion tracking
  295. session.cookie.maxage=-1
  296. session.cookie.secure=false
  297. session.cookie.active=true
  298. session.cookie.domain=
  299. session.cookie.comment="JRun Session Tracking Cookie"
  300. session.cookie.path=/
  301. session.cookie.name=jsessionid
  302.  
  303.  
  304. ########################################################################
  305. ## jcpservices
  306. ########################################################################
  307.  
  308. # service class & info
  309. jcp.class=allaire.jrun.jrpp.ProxyService
  310.  
  311. # endpoint properties
  312. jcp.endpoint.main.interface=*
  313. jcp.endpoint.main.bindaddress=127.0.0.1
  314. jcp.endpoint.main.port=
  315. jcp.endpoint.main.timeout=300
  316. jcp.endpoint.main.min.threads=1
  317. jcp.endpoint.main.active.threads=100
  318. jcp.endpoint.main.max.threads=1000
  319. jcp.MetricsManager=monitor
  320.  
  321.  
  322. ########################################################################
  323. ## web services
  324. ########################################################################
  325.  
  326. # service class & info
  327. web.class=allaire.jrun.http.WebService
  328.  
  329.  
  330. # path settings for web server 
  331. # ie: web.paths./=/usr/local/apache/htdocs
  332.  
  333. # endpoint properties
  334. web.endpoint.main.bindaddress=*
  335. web.endpoint.main.interface=*
  336. web.endpoint.main.port=
  337. web.endpoint.main.timeout=300
  338. web.endpoint.main.min.threads=1
  339. web.endpoint.main.active.threads=100
  340. web.endpoint.main.max.threads=1000
  341. web.MetricsManager=monitor
  342. web.keepalive.active=true
  343.  
  344.  
  345. ########################################################################
  346. ## zeus ZDAC service
  347. ########################################################################
  348.  
  349. # service class & info
  350. zeus.class=allaire.jrun.zeus.ZeusService
  351.  
  352. # endpoint properties
  353. zeus.endpoint.main.bindaddress=127.0.0.1
  354. zeus.endpoint.main.interface=*
  355. zeus.endpoint.main.port=
  356. zeus.endpoint.main.timeout=300
  357. zeus.endpoint.main.min.threads=1
  358. zeus.endpoint.main.active.threads=100
  359. zeus.endpoint.main.max.threads=1000
  360. zeus.MetricsManager=monitor
  361. zeus.keepalive.active=true
  362.  
  363. ########################################################################
  364. ## jsp services
  365. ########################################################################
  366.  
  367. # checkjsa - allows you to use global.jsa for session and app initialization
  368. # logger - have JSP use its own logger
  369. # compiler - which compilation service to use (see below)
  370. # scripting.engines - scripting engines
  371. jsp.class=allaire.jrun.jsp.JSPServlet
  372. jsp.checkjsa=false
  373. jsp.logger=
  374. jsp.compiler=jsp.jikes
  375. jsp.scripting.engines=javascript
  376. jsp.scripting.javascript=allaire.jrun.scripting.RhinoRunner
  377.  
  378. # Setup page compiler services
  379. #
  380. # Special characters:
  381. #           %f    filename
  382. #           %c    classpath (java classpath to use
  383. #           %d    codepath (where to place compiled class files)
  384. #
  385. # For example: 
  386. #
  387. # compiler=javac -nowarn -classpath %c -d %d %f
  388. #  or
  389. # compiler=jvc /nowarn /nologo /cp:p %c /d %d %f
  390. # default is to use the internal compiler via tools.jar
  391. #
  392. # Basic posix regular expressions can be used to 
  393. # allow JSP to pull out information from a compiler error and
  394. # display useful error messages pointing to the source of the error
  395. # in the JSP page.
  396.  
  397. jsp.javac-in-proc.class=allaire.jrun.scripting.JavaCompilerService
  398.  
  399. jsp.jikes.class=allaire.jrun.scripting.JavaCompilerService
  400. jsp.jikes.compiler={jrun.rootdir}/bin/jikesw +E -g -nowarn -d %d %f
  401. jsp.jikes.error.regexp=\\([^:]*\\):\\([0-9]*\\):[0-9]*:[0-9]*:[0-9]*:\\([^\n]*\\)[\n$]
  402. jsp.jikes.error.regexp.filesubexpr=1
  403. jsp.jikes.error.regexp.linesubexpr=2
  404. jsp.jikes.error.regexp.errorsubexpr=3
  405.  
  406. # Map *.jsp to jsprt for deployed or precompiled JSP pages
  407. jsprt.class=allaire.jrun.jsp.JSPRuntime
  408.  
  409. ######################################################################
  410. # JDBC DataSource Binding Service
  411.  
  412. jdbc.class=allaire.jrun.sql.JdbcBindingService
  413.  
  414. #########################################################################
  415. # JNDI Service
  416. jndi.class=allaire.jrun.jndi.JNDIService
  417.  
  418. #######################################################################
  419. # JMS Queue/Topic Binding Service
  420. jms.class=allaire.jrun.jms.JmsBindingService
  421.  
  422. #######################################################################
  423. # JavaMail Session Binding Service
  424. mail.class=allaire.jrun.mail.MailBindingService
  425.  
  426. #######################################################################
  427. # URL Binding Service
  428. url.class=allaire.jrun.url.UrlBindingService
  429.  
  430.  
  431. ########################################################################
  432. ## misc JRun properties
  433. ########################################################################
  434.  
  435. # initial pool size for SingleThreadModel servlets.  JRun will create
  436. # as many instances of this class as it needs.  This is the number of
  437. # automatically created instances.  The initial pool is created when
  438. # the servlet is first accessed, or at system startup time if the servlet
  439. # is configured to preload.
  440. # ED: 2.3 used to be 6 by default.  JRun will
  441. # allways create one extra instance the first time (so it can use instanceof)
  442. webapp.singlethread.initpoolsize=1
  443.  
  444. # login/authentication service (new for 3.0)
  445. authentication.class=allaire.jrun.servlet.ResourceAuthenticator
  446. authentication.service=propfile
  447. authentication.propfile.class=allaire.jrun.security.PropertyFileAuthentication
  448. authentication.propfile.filename={jrun.rootdir}/lib/users.properties
  449.  
  450.  
  451. ### mimeservlets.properties (mime-type chaining)
  452. # syntax is: webapp.mime-servlet.[mimetype]=[servletName]
  453. #webapp.mime-servlet.text/html=LowerCaseFilter
  454.  
  455. ### mime.properties (mime extensions)
  456. # syntax will be:  webapp.mimetype.[extension]=[mimetype]
  457. webapp.mime-mapping.html=text/html
  458. webapp.mime-mapping.htm=text/html
  459. webapp.mime-mapping.txt=text/plain
  460. webapp.mime-mapping.gif=image/gif
  461. webapp.mime-mapping.jpg=image/jpeg
  462. webapp.mime-mapping.jpeg=image/jpeg
  463. webapp.mime-mapping.tiff=image/tiff
  464. webapp.mime-mapping.tif=image/tiff
  465. webapp.mime-mapping.class=application/octet-stream
  466. webapp.mime-mapping.au=audio/basic
  467. webapp.mime-mapping.ra=audio/x-pn-realaudio
  468. webapp.mime-mapping.ram=audio/x-pn-realaudio
  469. webapp.mime-mapping.wav=audio/wav
  470. webapp.mime-mapping.mpg=video/mpeg
  471. webapp.mime-mapping.mpeg=video/mpeg
  472. webapp.mime-mapping.qt=video/quicktime
  473. webapp.mime-mapping.mov=video/quicktime
  474. webapp.mime-mapping.ps=application/postscript
  475. webapp.mime-mapping.wrl=x-world/x-vrml
  476. webapp.mime-mapping.pac=application/x-ns-proxy-autoconfig
  477. webapp.mime-mapping.pdf=application/pdf
  478.  
  479. #
  480. # Web Application temporary working directory.
  481. # This directory is retrievable by servlets using:
  482. # File f = (File)getServletContext("javax.servlet.context.tempdir");
  483. #
  484. webapp.tempdir={jrun.server.rootdir}/tmp/{webapp.name}
  485.  
  486. # Web application reloadable classpath.
  487. # This classpath accepts application resource URIs for loading classes.
  488. # These resource URIs will typically exist under the /WEB-INF namespace.
  489. # Do not put external filesystem paths in this classpath because they will not
  490. # be found. Use virtual resource mappings to configure resource URIs that
  491. # point to external filesystem paths.
  492. #
  493. webapp.classpath=/WEB-INF/classes;/WEB-INF/lib;/WEB-INF/jsp
  494.  
  495. ### pathtrans.properties
  496. webapp.pathcount=0
  497. webapp.path0.from=/virtualdir
  498. webapp.path0.to=/realdir
  499.  
  500. # The number of seconds delay before checking for a modified servlet.
  501. # Set to -1 to disable the automatic reloading of modified servlets,
  502. # which will improve performance.
  503. reload.checkInterval=1
  504.  
  505. ########################################################################
  506. ## general servlet/service settings
  507. ########################################################################
  508.  
  509. # syntax is:
  510. #   [alias].class=[class]
  511. #   [alias].[initParam1]=[value1]
  512. #   ...
  513. file.class=allaire.jrun.file.FileServlet
  514. file.browsedirs=true
  515.  
  516. ssifilter.class=allaire.jrun.ssi.SSIFilter
  517. urlfilter.class=com.allaire.URLRewriterFilter
  518. template.class=allaire.jrun.template.Template
  519. templatefilter.class=allaire.jrun.template.TemplateFilter
  520. invoker.class=allaire.jrun.servlet.Invoker
  521. JRunStats.class=allaire.jrun.servlets.JRunStats
  522.  
  523. # Here is an example of how to configure the JRun Servlet connector.
  524. # this allows JRun's to be distributed across processes or across
  525. # the network
  526. #remote.class=allaire.jrun.connector.JRunConnector
  527. #remote.proxyhost=127.0.0.1
  528. #remote.proxyport=8082
  529.  
  530. ### taglet.properties (dynamic taglets in ssi)
  531. # Note- this feature is deprecated in JRun 3.0. The functionality offered
  532. #       by taglets can be replaced with JSP 1.1 tag libraries.
  533. # Property Syntax: ssifilter.[tag].DynamicTaglet=[servlet name]
  534. #ssifilter.createtable.DynamicTaglet=TagletDemoServlet
  535. #ssifilter.datetag.DynamicTaglet=DateServlet
  536.  
  537. ### codetaglet.properties (SSITaglets)
  538. # [instance].SSITaglet=[class name]
  539. #ssifilter.ssimail.SSITaglet=com.livesoftware.jrun.plugins.ssi.taglets.SSIMail
  540.  
  541.  
  542. ########################################################################
  543. ## rules
  544. ########################################################################
  545.  
  546. webapp.servlet-mapping./servlet=invoker
  547. webapp.servlet-mapping.*.jrun=invoker
  548. webapp.servlet-mapping.*.shtml=ssifilter
  549. webapp.servlet-mapping.*.jsp=jsp
  550. webapp.servlet-mapping.*.thtml=template
  551.  
  552. ########################################################################
  553. ## method timing
  554. ########################################################################
  555.  
  556. # Enable method timing
  557. timing.enabled=false
  558.  
  559. timing.excludecalls=java.*,javax.*,sun.*,org.omg.CORBA.*
  560. timing.includecalls=java.sql.*
  561.  
  562. # Define the logger used to process messages.
  563. # By default, messages are written to the log file for the 
  564. # JRun server executing the servlet.
  565. # These properties control the message format.
  566.  
  567. # Define the logger name.
  568. timing.logging.class=simplelogger
  569.  
  570. # Specify the properties for the simple logger which will
  571. # route the method timing messages to the system logger
  572. timing.simplelogger.class=allaire.jrun.methodTimer.SimpleLogger
  573. timing.simplelogger.level=info
  574. timing.simplelogger.entermethod=ENTER
  575. timing.simplelogger.exitmethod=EXIT
  576. timing.simplelogger.beforemethodcall=CALLENTER
  577. timing.simplelogger.aftermethodcall=CALLEXIT
  578. timing.simplelogger.delimeter=,
  579.  
  580. # Specify the properties for the thread logger which will
  581. # route the method timing messages to thread-local storage.
  582. # Use the ThreadLogger in conjunction with the
  583. # allaire.jrun.servlets.JRunStats servlet to view output
  584. timing.threadlogger.class=allaire.jrun.methodTimer.ThreadLogger
  585.  
  586. # Specify the name of the classes to instrument
  587. timing.classes=HttpServlet,SnoopServlet
  588.  
  589. # Specify the settings for instrumentation for HttpServlet
  590. timing.HttpServlet.class=javax.servlet.http.HttpServlet
  591. timing.HttpServlet.methods=*
  592. timing.HttpServlet.calls=*,javax.servlet.http.*
  593. timing.HttpServlet.doGet.calls=*
  594. timing.HttpServlet.subclasses=true
  595.  
  596. timing.SnoopServlet.class=SnoopServlet
  597. timing.SnoopServlet.methods=*
  598. timing.SnoopServlet.calls=*,javax.servlet.http.*
  599.  
  600. ########################################################################
  601. ## debug services
  602. ########################################################################
  603.  
  604. # service class & info
  605. debug.class=allaire.jrun.debug.StackManager
  606.  
  607. ########################################################################
  608. ## HTTP Sniffer service. The 'sniffer' service must be added to the
  609. ## list of jrun.services in order to be enabled
  610. ########################################################################
  611. sniffer.class=allaire.jrun.http.Sniffer
  612. sniffer.port=8101
  613. sniffer.loglevel=info
  614. sniffer.logcontent=true
  615. sniffer.target.host=localhost
  616. sniffer.target.port=80
  617.  
  618. # Makef jrun taglib available for all apps
  619. web-app.taglib-uri.jruntags=/WEB-INF/jrun/jruntags.jar
  620. webapp.path-mapping./WEB-INF/jrun/jruntags.jar={jrun.rootdir}/servers/lib/jruntags.jar
  621.  
  622. ########################################################################
  623. ## Default values for JMC to display
  624. ########################################################################
  625. web-app.session-config.session-timeout=30
  626. web-app.welcome-file-list=index.jsp
  627.  
  628. # list of services to start
  629. ejb.services=ejb
  630.  
  631. # shared library path for JNI libraries
  632. ejb.jnipath=
  633.  
  634. # Classpath
  635. ejb.classpath={jrun.rootdir}/lib/ejipt.jar;{jrun.rootdir}/lib/ejipt_client.jar;{jrun.rootdir}/lib/ejipt_tools.jar
  636.  
  637. # extra virtual machine args
  638. ejb.javaargs=
  639.  
  640. ########################################################################
  641. ## ejb service
  642. # service init-parameters:
  643. #   ejb.ejipt.classname  - the classname of the allaire.ejipt.Ejipt implementation
  644. #   ejb.logger.name      - the name of the logger to use for logging messages
  645. ########################################################################
  646. ejb.class=allaire.jrun.ejb.EjbService
  647. ejb.description=JRun EJB Service
  648. ejb.logger.name=ejb
  649.