Search code examples
jbossclasspathjboss7.xwildflywildfly-8

How to set external folders in classpath through command line while starting wildfly server


I want to set external folders in classpath through command line while starting wildfly server.

Unable to set it through -p

standalone.sh -p path of folder

Solution

  • Run standalone.sh -h to see the valid options.

    -p is not a valid option.

    Besides, WildFly uses modular classloading via JBoss Modules. The classpath is almost meaningless in this context, exception for bootstrapping JBoss Modules.