Hi,
Possible origins of your problem may be:
- the trace.properties file which you modify, may not be
the trace.properties file read by the EJBServer
(CLASSPATH to check),
- as the trace.out property value is a relative file path,
this file will be created from where you launch the EJBServer
with the relative name log/msg.trace
(check if you have not many various log files).
Here is on the following, examples of traces with and without header.
I hope this will help you.
Kind regards.
H�l�ne.
Traces with trace.header=false look like:
JOnAS Server, version 2.3, running on rmi.
main : 10:46:15:598 The jonas.orb.port value is 0
main : 10:46:16:708 CompNamingContext rebind remote
main : 10:46:16:724 CompNamingContext rebind timeout
main : 10:46:16:839 CompNamingContext lookup remote
main : 10:46:16:864 CompNamingContext lookup timeout
main : 10:46:16:868 Starting TransactionService, default timeout=60
main : 10:46:16:872 TransactionService: Working with a colocated
Transaction Manager
main : 10:46:16:873 Create and register TM factory
main : 10:46:17:132 TransactionFactory constructor
main : 10:46:17:926 Current.Current(TransactionFactory tmfact)
main : 10:46:17:993 Batch constructor
main : 10:46:17:997 Clock constructor
main : 10:46:18:0 TM:setTimeout=60
main : 10:46:18:1 Register UserTransactionFactory
main : 10:46:18:73 javaURLContextFactory.getObjectInstance:null
main : 10:46:18:126 javaURLContext rebind java:comp/UserTransaction
main : 10:46:18:189 Current.getReference()
main : 10:46:18:581 Starting DataBaseService
main : 10:46:18:592 DataBaseService: create ConnectionManager
PoolKeeper : 10:46:18:705 PoolKeeper: started
main : 10:46:18:750 XADataSourceImpl.XADataSourceImpl()
main : 10:46:18:750 XADataSourceImpl.setDataSourceName(jdbc_1)
main : 10:46:18:751 Load JDBC driver oracle.jdbc.driver.OracleDriver
main : 10:46:18:786 ConnectionManager configured with:
main : 10:46:18:787 jdbcConnCheckLevel = 1
main : 10:46:18:787 jdbcConnMaxAge = 30
main : 10:46:18:788 jdbcConnMaxThreads = 4
main : 10:46:18:788 jdbcConnExclTimeout = 30
main : 10:46:18:788 jdbcTestStmt = SELECT 1
main : 10:46:18:819 Mapping ConnectionManager
jdbc:oracle:thin:@acores:1521:OTS on jdbc_1
...........
whereas traces with trace.header=false look like:
JOnAS Server, version 2.3, running on rmi.
The jonas.orb.port value is 0
CompNamingContext rebind remote
CompNamingContext rebind timeout
CompNamingContext lookup remote
CompNamingContext lookup timeout
Starting TransactionService, default timeout=60
TransactionService: Working with a colocated Transaction Manager
Create and register TM factory
TransactionFactory constructor
Current.Current(TransactionFactory tmfact)
Batch constructor
Clock constructor
TM:setTimeout=60
Register UserTransactionFactory
javaURLContextFactory.getObjectInstance:null
javaURLContext rebind java:comp/UserTransaction
Current.getReference()
Starting DataBaseService
DataBaseService: create ConnectionManager
PoolKeeper: started
XADataSourceImpl.XADataSourceImpl()
XADataSourceImpl.setDataSourceName(jdbc_1)
Load JDBC driver oracle.jdbc.driver.OracleDriver
ConnectionManager configured with:
jdbcConnCheckLevel = 1
jdbcConnMaxAge = 30
jdbcConnMaxThreads = 4
jdbcConnExclTimeout = 30
jdbcTestStmt = SELECT 1
Mapping ConnectionManager jdbc:oracle:thin:@acores:1521:OTS on jdbc_1
................
John Levine wrote:
>
> Helene -
> Thank you for your response. I had tried this, hoping it would work
> before I posted. Here is the contents of my trace.properties file:
> trace.level all
> trace.out log/msg
> trace.err log/errors
> trace.header true
> In fact, I don't see any additional information in my log as a result of
> switching the trace.header property from false to true. What is the
> header supposed to look like?
> Thanks,
> - John Levine
>
> H�l�ne JOANIN wrote:
> >
> > Hi,
> >
> > Set the property 'trace.header' to 'true' in the 'trace.properties'
> > file.
> > In this case, the thread number and the date are added in the traces.
> >
> > Kind regards.
> > H�l�ne.
> >
> > John Levine wrote:
> > >
> > > Does anyone have a patch for Jonas (v2.2.7) that will provide a
> > > datestamp when writing output from server commands to the trace file? I
> > > currently have tracing set to all, but it would be helpful to have a
> > > datestamp as well.
> > > Thanks,
> > > - John Levine
> > > ----
> > > To unsubscribe, send email to [EMAIL PROTECTED] and
> > > include in the body of the message "unsubscribe jonas-users".
> > > For general help, send email to [EMAIL PROTECTED] and
> > > include in the body of the message "help".
> >
> > --
> > -=- H�l�ne JOANIN -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> > mailto:[EMAIL PROTECTED] http://www.evidian.com
> > Phone: 33.4.76.29.73.53 Fax: 33.4.76.29.76.00
> > Download our EJB Server JOnAS at http://www.objectweb.org
--
-=- H�l�ne JOANIN -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
mailto:[EMAIL PROTECTED] http://www.evidian.com
Phone: 33.4.76.29.73.53 Fax: 33.4.76.29.76.00
Download our EJB Server JOnAS at http://www.objectweb.org
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".