Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Difficulty getting this to work with JBoss AS7.2 #1

Open
daviddpark opened this issue Apr 10, 2014 · 3 comments
Open

Difficulty getting this to work with JBoss AS7.2 #1

daviddpark opened this issue Apr 10, 2014 · 3 comments

Comments

@daviddpark
Copy link

Thanks for this project, Marcel! I think this is exactly what I need, but I am having difficulty getting it to work, according to your directions and configuration.

I have followed directions at https://github.com/mpucholblasco/logstash-loggers/tree/master/logstash-jboss-logmanager and have noticed several issues:

  1. In module.xml:
<resource-root path="logstash-1.0.0.jar" />

should it be:

<resource-root path="logstash-core-1.0.0.jar" />
  1. When configuring custom-handler, you specify the module as:
<custom-handler name="HANDLER_NAME" class="net.logstash.loggers.logstash_jboss_logmanager.LogstashSizeRotatingFileHandler" module="net.logstash.loggers.logstash_jboss_logmanager">   

but according to module.xml, it is:

<module xmlns="urn:jboss:module:1.0" name="net.logstash.loggers.logstash-jboss-logmanager">

name does not match module

  1. Even after resolving these two issues, when I run JBoss AS 7.2, I get the exceptions noted in the gist https://gist.github.com/daviddpark/10317716 (Full disclosure, I am using immutant, which leverages a slimmed down version of JBoss AS7, so I needed to bring the jackson-asl-core module over manually, but the only dependency is to javax.api)

Care to hazard any guesses as to how to approach tackling the stack trace included in the aforementioned gist? Thanks, Marcel

@mpucholblasco
Copy link
Owner

Hello David,
it is strange because I remember it worked correctly according to that
configuration. I can not review it until this weekend, but, once I found a
few time, I will review it and I will answer you.

Thanks for your comments.

Bests,
Marcel.
El 10/04/2014 17:38, "David Park" [email protected] escribió:

Thanks for this project, Marcel! I think this is exactly what I need, but
I am having difficulty getting it to work, according to your directions and
configuration.

I have followed directions at
https://github.com/mpucholblasco/logstash-loggers/tree/master/logstash-jboss-logmanagerand have noticed several issues:

  1. In module.xml:

should it be:

  1. When configuring custom-handler, you specify the module as:

but according to module.xml, it is:

name does not match module

  1. Even after resolving these two issues, when I run JBoss AS 7.2, I get
    the exceptions noted in the gist
    https://gist.github.com/daviddpark/10317716 (Full disclosure, I am using
    immutant, which leverages a slimmed down version of JBoss AS7, so I needed
    to bring the jackson-asl-core module over manually, but the only dependency
    is to javax.api)

Care to hazard any guesses as to how to approach tackling the stack trace
included in the aforementioned gist? Thanks, Marcel


Reply to this email directly or view it on GitHubhttps://github.com//issues/1
.

@mpucholblasco
Copy link
Owner

Hello David,
my apologies for these problems.

I have fixed it. The main problem was on an old module.xml file. I have updated it and it works correctly now. The best way to fix it is changing module name and keeping underscores.

By the other hand, I have added Known issues section in README.md file, which can help you for other problems with JBoss logging.

If you still having problems, do not hesitate to contact me again and I will try to help you.

Bests,
Marcel.

@daviddpark
Copy link
Author

Thank you for your time and consideration, Marcel. I will give the fixes a
shot on Tuesday, and look forward to letting you know the result.

Take care,

-david

On Sat, Apr 12, 2014 at 3:11 PM, mpucholblasco [email protected]:

Hello David,
my apologies for these problems.

I have fixed it. The main problem was on an old module.xml file. I have
updated it and it works correctly now. The best way to fix it is changing
module name and keeping underscores.

By the other hand, I have added Known issues section in README.md file,
which can help you for other problems with JBoss logging.

If you still having problems, do not hesitate to contact me again and I
will try to help you.

Bests,
Marcel.


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-40288956
.

David Park
(m) +1.317.270.4287
daviddpark at gmail dot com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants