Error opening zip file or JAR manifest missing : jrebel.jar

Continuity8

When configuring JRebel on my remote server (JBoss on linux) I have configured the JVM arg as

-javaagent:/home/user/jrebel.jar" -Drebel.remoting_plugin=true

The jrebel.jar is absolutely definitely in that location, yet the server fails to start with the error:

Error opening zip file or JAR manifest missing : /home/user/jrebel.jar Error occurred during initialization of VM agent library failed to init: instrument

So the arg is oviously being passed to the JVM correctly, but for the life of me I can't work out why it can't find the jar. I've been through every Zero Turnaround article I can find + looked at the solutions that have resolved it for other people, but no luck. Any ideas?

Continuity8

Turned out to be a permissions problem - the JBoss user didn't have the permissions to access the directory that I had placed jrebel.jar into.

Would have been nice to have a more meaningfull error - e.g. 'permissions denied'. Shows my lack of Linux knowledge though I guess.

After the jar was moved to a directory within the JBoss installation + the jar owner was changed to the JBoss user and Read/Write/Execute permissions added, all is well.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Java

Replacing the MANIFEST.MF file in a JAR programmatically

From Dev

JAR Manifest file - Difference between Specification and Implementation

From Dev

Google App Engine Eclipse Error: Error opening zip file or JAR manifest missing : /Applications/eclipse

From Dev

ZipException: error in opening zip file

From Dev

Using Java to read a .jar manifest file

From Dev

Confusion on Uses of Jar Manifest File

From Dev

Missing tools.jar file

From Dev

JAR file manifest does not contain permission attribute

From Dev

SecurityException during executing jnlp file (Missing required Permissions manifest attribute in main jar)

From Dev

Error opening zip file or JAR manifest missing : C:\Program

From Dev

Opening a PDF file that is packaged in a JAR

From Dev

no main manifest attribute (But I have the manifest file in the jar)

From Dev

Espresso-android jar - 'Error in opening zip file' in android studio 8.x

From Dev

netbeans jar build file not opening

From Dev

Jar command not adding requested manifest file to archive

From Dev

Exporting Jar file with Manifest attribute in Android Studio?

From Dev

Run java jar - no main manifest attribute error

From Dev

Cassandra: Error opening zip file or JAR manifest missing : D:\cassandra\lib\jamm-0.3.2

From Dev

Google App Engine Eclipse Error: Error opening zip file or JAR manifest missing : /Applications/eclipse

From Dev

Using Java to read a .jar manifest file

From Dev

Error opening zip file or JAR manifest missing : /usr/share/java/jayatanaag.jar

From Dev

Missing tools.jar file

From Dev

Running grails from STS shows Error opening zip file or JAR manifest missing

From Dev

Opening a PDF file that is packaged in a JAR

From Dev

Runnable JAR file not opening JFrame

From Dev

Jar File Missing File Path

From Dev

add manifest to compiled exe file from jar

From Dev

"-includeresource" in JAR Manifest inside Gradle build file

From Dev

Opening a .jar file

Related Related

  1. 1

    Replacing the MANIFEST.MF file in a JAR programmatically

  2. 2

    JAR Manifest file - Difference between Specification and Implementation

  3. 3

    Google App Engine Eclipse Error: Error opening zip file or JAR manifest missing : /Applications/eclipse

  4. 4

    ZipException: error in opening zip file

  5. 5

    Using Java to read a .jar manifest file

  6. 6

    Confusion on Uses of Jar Manifest File

  7. 7

    Missing tools.jar file

  8. 8

    JAR file manifest does not contain permission attribute

  9. 9

    SecurityException during executing jnlp file (Missing required Permissions manifest attribute in main jar)

  10. 10

    Error opening zip file or JAR manifest missing : C:\Program

  11. 11

    Opening a PDF file that is packaged in a JAR

  12. 12

    no main manifest attribute (But I have the manifest file in the jar)

  13. 13

    Espresso-android jar - 'Error in opening zip file' in android studio 8.x

  14. 14

    netbeans jar build file not opening

  15. 15

    Jar command not adding requested manifest file to archive

  16. 16

    Exporting Jar file with Manifest attribute in Android Studio?

  17. 17

    Run java jar - no main manifest attribute error

  18. 18

    Cassandra: Error opening zip file or JAR manifest missing : D:\cassandra\lib\jamm-0.3.2

  19. 19

    Google App Engine Eclipse Error: Error opening zip file or JAR manifest missing : /Applications/eclipse

  20. 20

    Using Java to read a .jar manifest file

  21. 21

    Error opening zip file or JAR manifest missing : /usr/share/java/jayatanaag.jar

  22. 22

    Missing tools.jar file

  23. 23

    Running grails from STS shows Error opening zip file or JAR manifest missing

  24. 24

    Opening a PDF file that is packaged in a JAR

  25. 25

    Runnable JAR file not opening JFrame

  26. 26

    Jar File Missing File Path

  27. 27

    add manifest to compiled exe file from jar

  28. 28

    "-includeresource" in JAR Manifest inside Gradle build file

  29. 29

    Opening a .jar file

HotTag

Archive