Basicly I've got this error message and xm_multiline has kicked my rear over
this - I just can't seem to get it working. I have included one line above
and one below the error message for reference.
Jan 10 05:00:11 cpria3100 [07: 00:13,064] INFO
[org.apache.commons.logging.impl.Log4JLogger]
[QueryBeansDataAccessManager.getConnection()] Total Active Conn: 7
Jan 10 05:00:11 cpria3100 [07: 00:13,069] ERROR
[org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.TLog] Could not
create entity
Jan 10 05:00:11 cpria3100 org.jboss.util.NestedSQLException: Transaction is
not active: tx=TransactionImple < ac, BasicAction:
-55f2454e:cfb8:52cfa5d1:4d4e5 status: ActionStatus.ABORT_ONLY >; - nested
throwable: (javax.resource.ResourceException: Transaction is not active:
tx=TransactionImple < ac, BasicAction: -55f2454e:cfb8:52cfa5d1:4d4e5 status:
ActionStatus.ABORT_ONLY >)
Jan 10 05:00:11 cpria3100 at
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataS
ource.java:96)
Jan 10 05:00:11 cpria3100 at
org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand.performInsert(JDBCA
bstractCreateCommand.java:309)
Jan 10 05:00:11 cpria3100 at
org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand.execute(JDBCAbstrac
tCreateCommand.java:151)
Jan 10 05:00:11 cpria3100 at
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.createEntity(JDBCStoreManage
r.java:587)
<snip 2000 lines>
Jan 10 05:00:11 cpria3100 at
java.lang.reflect.Method.invoke(Method.java:597)
Jan 10 05:00:11 cpria3100 at
org.jboss.invocation.Invocation.performCall(Invocation.java:359)
Jan 10 05:00:11 cpria3100 [07: 00:13,323] INFO
[org.apache.commons.logging.impl.Log4JLogger]
[QueryBeansDataAccessManager.getConnection()] Getting a connection from DS.
I am attempting to get this as my logged output
----------------------------------------------------------------------------
----------------------------------------
Jan 10 05:00:11 cpria3100 [07: 00:13,069] ERROR
[org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.TLog] Could not
create entity
Jan 10 05:00:11 cpria3100 org.jboss.util.NestedSQLException: Transaction is
not active: tx=TransactionImple < ac, BasicAction:
-55f2454e:cfb8:52cfa5d1:4d4e5 status: ActionStatus.ABORT_ONLY >; - nested
throwable: (javax.resource.ResourceException: Transaction is not active:
tx=TransactionImple < ac, BasicAction: -55f2454e:cfb8:52cfa5d1:4d4e5 status:
ActionStatus.ABORT_ONLY >)
Jan 10 05:00:11 cpria3100 at
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataS
ource.java:96)
Jan 10 05:00:11 cpria3100 at
org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand.performInsert(JDBCA
bstractCreateCommand.java:309)
Jan 10 05:00:11 cpria3100 at
org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand.execute(JDBCAbstrac
tCreateCommand.java:151)
Jan 10 05:00:11 cpria3100 at
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.createEntity(JDBCStoreManage
r.java:587)
<snip 2000 lines>
Jan 10 05:00:11 cpria3100 at
java.lang.reflect.Method.invoke(Method.java:597)
Jan 10 05:00:11 cpria3100 at
org.jboss.invocation.Invocation.performCall(Invocation.java:359)
----------------------------------------------------------------------------
----------------------------------------
I'm currently getting this output - short snippet
----------------------------------------------------------------------------
----------------------------------------
Jan 10 05:00:11 cpria3100 [07: 00:13,069] ERROR
[org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.TLog] Could not
create entity
----------------------------------------------------------------------------
----------------------------------------
Jan 10 05:00:11 cpria3100 org.jboss.util.NestedSQLException: Transaction is
not active: tx=TransactionImple < ac, BasicAction:
-55f2454e:cfb8:52cfa5d1:4d4e5 status: ActionStatus.ABORT_ONLY >; - nested
throwable: (javax.resource.ResourceException: Transaction is not active:
tx=TransactionImple < ac, BasicAction: -55f2454e:cfb8:52cfa5d1:4d4e5 status:
ActionStatus.ABORT_ONLY >)
----------------------------------------------------------------------------
----------------------------------------
Jan 10 05:00:11 cpria3100 at
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataS
ource.java:96)
----------------------------------------------------------------------------
----------------------------------------
I am attempting to use xm_multiline this way and getting nothing multiline -
I'm at that point where I just don't know what it is and I'm reaching out to
you guys for a little direction :)
<Extension jboss-multi>
Module xm_multiline
HeaderLine /^....... .. ..:..:.. [-a-zA-Z0-9.]* [A-Z]*
com/
</Extension>
<Input jboss-dev-in>
Module im_file
File "/var/app-serverlogs/dev/[a-zA-Z0-9]*-jboss.log"
InputType jboss-multi
SavePos TRUE
Exec parse_syslog_bsd();
</Input>
<Processor pattern-jboss-dev>
Module pm_pattern
PatternFile /etc/nxlog.d/jboss-patterns.xml (nothing special I
can include this file if needed)
</Processor>
<Output jbossOut>
Module om_file
CreateDir true
Exec to_syslog_bsd();
Exec $raw_event =
"---------------------------------------------------------------------------
----\n" + $raw_event;
Exec if jbossOut->file_size() > 300M { \
$newfile = "%JBOSSDIR%/" + $Hostname + "/" +
$Hostname + "-server-" + strftime(now(), "%Y-%m-%d_%H:%M:%S" + ".log"); \
jbossOut->rotate_to($newfile); \
exec_async("/usr/bin/bzip2", $newfile); \
}
File "%JBOSSDIR%/" + $Hostname + "/" + $Hostname +
"-server.log"
</Output>
<Route jboss-dev-route>
Path jboss-dev-in => pattern-jboss-dev => jbossOut
</Route>
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
nxlog-ce-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users