Skip to content

Commit ee727ac

Browse files
geekpetefelixbarny
authored andcommitted
add tip on wrong jar file usage (#661)
1 parent 8600114 commit ee727ac

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/troubleshooting.asciidoc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,3 +160,14 @@ Consider updating to a newer version of that library.
160160

161161
That mostly concerns JDBC drivers.
162162
Updating them to a more recent version should resolve the problem.
163+
164+
[float]
165+
[[trouble-shooting-incorrect-manual-jar-file]]
166+
==== Failed to find Premain-Class manifest attribute ====
167+
168+
If you are using a manual setup with a `-javaagent` flag against an application server and are seeing the
169+
`Failed to find Premain-Class manifest attribute` error and a failure to start, then you might be pointing
170+
at the incorrect jar file.
171+
172+
The correct jar file to be pointing at should be in the form of `elastic-apm-agent-<version>.jar` and
173+
further information about how to download this file can be found <<setup-javaagent, in the manual setup instructions.>>

0 commit comments

Comments
 (0)