Hi,
I'm a newbie with Karaf. I manged to download / compile Karaf 4.0.2 in my
Mac and I managed to create configuration
karaf@root()> instance:list
SSH Port | RMI Registry | RMI Server | State | PID | Name
-------------------------------------------------------------
8101 | 1099 | 44444 | Started | 51022 | root
8103 | 1101 | 44446 | Started | 51073 | dev
Web Console and Hawtio works in both instances.
Then I tried the same in REHL
instance:create dev
instance:start dev
instance:connect dev
feature:list
feature:install webconsole
instance:stop dev
etc/org.ops4j.pax.web.cfg
org.osgi.service.http.port=8182
instance:start dev
feature:repo-add hawtio 1.4.52
feature:install hawtio
feature:repo-add camel 2.15.3
feature:install camel
and sub instance dev fails to authenticate my karaf user with following log
message
2015-10-22 09:07:32,755 | ERROR | qtp770880020-242 | JaasSecurityProvider
| 59 - org.apache.karaf.webcons
ole.console - 4.0.2 | General Security Exception
javax.security.auth.login.LoginException: unable to find LoginModule class:
org.apache.karaf.jaas.boot.ProxyLoginModu
le not found by org.apache.karaf.webconsole.console [59]
at
javax.security.auth.login.LoginContext.invoke(LoginContext.java:794)
and Hawtio faifs with following log messages
2015-10-22 09:13:49,307 | WARN | qtp770880020-245 | Authenticator
| 99 - io.hawt.hawtio-web - 1.4.52 | Login failed due unable to find
LoginModule class: org.apache.karaf.jaas.boot.ProxyLoginModule not found by
io.hawt.hawtio-web [99]
2015-10-22 09:16:21,492 | WARN | qtp770880020-242 | Authenticator
| 99 - io.hawt.hawtio-web - 1.4.52 | Login failed due unable to find
LoginModule class: org.apache.karaf.jaas.boot.ProxyLoginModule not found by
io.hawt.hawtio-web [99]
Web console and Hawtio works fine in root instance.
What could be wrong at RHEL side or what can I try to fix this problem?
--
Pitkis
--
View this message in context:
http://karaf.922171.n3.nabble.com/Karaf-4-0-2-sub-instance-in-RHEL-6-fails-alllow-login-into-Web-Console-tp4043173.html
Sent from the Karaf - User mailing list archive at Nabble.com.