jboss - Could not find or load main class org.picketbox.datasource.security.SecureIdentityLoginModule - Wildfly 10 -


i wanted encrypt password in configuration of connections database. stuck @ stage of generating encrypted password

i wrote script bat, content of is:

java -cp c:\servers\wildfly-10.0.0.final\modules\system\layers\base\org\jboss\logging\main\jboss-logging-3.3.0.final.jar:c:\servers\wildfly-10.0.0.final\modules\system\layers\base\org\picketbox\main\picketbox-4.9.4.final.jar:c:\servers\wildfly-10.0.0.final\modules\system\layers\base\org\picketbox\main\picketbox-commons-1.0.0.final.jar:c:\servers\wildfly-10.0.0.final\modules\system\layers\base\org\picketbox\main\picketbox-infinispan-4.9.4.final.jar org.picketbox.datasource.security.secureidentityloginmodule password 

unfortunately, when start script getting error:

c:\>test.bat  c:\>java -cp c:\servers\wildfly-10.0.0.final\modules\system\layer s\base\org\jboss\logging\main\jboss-logging-3.3.0.final.jar:c:\ads\jpk\wildfly_1 0_jpk\wildfly-10.0.0.final\modules\system\layers\base\org\picketbox\main\picketb ox-4.9.4.final.jar:c:\servers\wildfly-10.0.0.final\modules\system \layers\base\org\picketbox\main\picketbox-commons-1.0.0.final.jar:c:\ads\jpk\wil dfly_10_jpk\wildfly-10.0.0.final\modules\system\layers\base\org\picketbox\main\p icketbox-infinispan-4.9.4.final.jar org.picketbox.datasource.security.secureiden tityloginmodule password error: not find or load main class org.picketbox.datasource.security.secur eidentityloginmodule  c:\> 

i decompiled class secureidentityloginmodule , see there main method ... used server wildfly 10.0.0 final

you're using wrong path separator. on windows it's semicolon ;. you're using unix/linux path separator :.

it should be:

java -cp c:\servers\wildfly-10.0.0.final\modules\system\layers\base\org\jboss\logging\main\jboss-logging-3.3.0.final.jar;c:\servers\wildfly-10.0.0.final\modules\system\layers\base\org\picketbox\main\picketbox-4.9.4.final.jar;c:\servers\wildfly-10.0.0.final\modules\system\layers\base\org\picketbox\main\picketbox-commons-1.0.0.final.jar;c:\servers\wildfly-10.0.0.final\modules\system\layers\base\org\picketbox\main\picketbox-infinispan-4.9.4.final.jar org.picketbox.datasource.security.secureidentityloginmodule password 

Comments

Popular posts from this blog

PySide and Qt Properties: Connecting signals from Python to QML -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

scala - 'wrong top statement declaration' when using slick in IntelliJ -