[ 
https://issues.apache.org/jira/browse/AMQ-9670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17934140#comment-17934140
 ] 

Terrien Jean-Yves edited comment on AMQ-9670 at 3/11/25 8:41 AM:
-----------------------------------------------------------------

{code:java}
2025-03-11 09:25:44,405 | INFO  | Using Persistence Adapter: 
KahaDBPersistenceAdapter[C:\Data\Travail\Plateformes\apache-activemq-6.1.5\bin\..\data\kahadb]
 | org.apache.activemq.broker.BrokerService | main
2025-03-11 09:25:44,410 | INFO  | Starting Persistence Adapter: 
KahaDBPersistenceAdapter[C:\Data\Travail\Plateformes\apache-activemq-6.1.5\bin\..\data\kahadb]
 | org.apache.activemq.broker.BrokerService | main
2025-03-11 09:25:44,432 | INFO  | Starting KahaDBStore | 
org.apache.activemq.store.kahadb.KahaDBStore | main
2025-03-11 09:25:44,432 | INFO  | Opening MessageDatabase | 
org.apache.activemq.store.kahadb.MessageDatabase | main
2025-03-11 09:25:44,570 | INFO  | Starting Temp Data Store | 
org.apache.activemq.broker.BrokerService | main
2025-03-11 09:25:44,572 | INFO  | 
PListStore:[C:\Data\Travail\Plateformes\apache-activemq-6.1.5\bin\..\data\localhost\tmp_storage]
 started | org.apache.activemq.store.kahadb.plist.PListStoreImpl | main
2025-03-11 09:25:44,572 | INFO  | Starting Job Scheduler Store | 
org.apache.activemq.broker.BrokerService | main
2025-03-11 09:25:44,572 | INFO  | Persistence Adapter successfully started | 
org.apache.activemq.broker.BrokerService | main
2025-03-11 09:25:44,710 | INFO  | Apache ActiveMQ 6.1.5 (localhost, 
ID:SAP5321111-57686-1741681544584-0:1) is starting | 
org.apache.activemq.broker.BrokerService | main
2025-03-11 09:25:44,727 | INFO  | Listening for connections at: 
tcp://SAP5321111:61616?maximumConnections=1000&wireFormat.maxFrameSize=104857600
 | org.apache.activemq.transport.TransportServerThreadSupport | main
2025-03-11 09:25:44,727 | INFO  | Connector openwire started | 
org.apache.activemq.broker.TransportConnector | main
2025-03-11 09:25:44,732 | INFO  | Listening for connections at: 
amqp://SAP5321111:5672?maximumConnections=1000&wireFormat.maxFrameSize=104857600
 | org.apache.activemq.transport.TransportServerThreadSupport | main
2025-03-11 09:25:44,733 | INFO  | Connector amqp started | 
org.apache.activemq.broker.TransportConnector | main
2025-03-11 09:25:44,736 | INFO  | Listening for connections at: 
stomp://SAP5321111:61613?maximumConnections=1000&wireFormat.maxFrameSize=104857600
 | org.apache.activemq.transport.TransportServerThreadSupport | main
2025-03-11 09:25:44,737 | INFO  | Connector stomp started | 
org.apache.activemq.broker.TransportConnector | main
2025-03-11 09:25:44,741 | INFO  | Listening for connections at: 
mqtt://SAP5321111:1883?maximumConnections=1000&wireFormat.maxFrameSize=104857600
 | org.apache.activemq.transport.TransportServerThreadSupport | main
2025-03-11 09:25:44,747 | INFO  | Connector mqtt started | 
org.apache.activemq.broker.TransportConnector | main
2025-03-11 09:25:44,754 | INFO  | Starting Jetty server | 
org.apache.activemq.transport.WebTransportServerSupport | main
2025-03-11 09:25:44,798 | INFO  | Creating Jetty connector | 
org.apache.activemq.transport.WebTransportServerSupport | main
2025-03-11 09:25:44,910 | WARN  | 
[email protected]@1716e8c5{/,null,STARTING} has 
uncovered HTTP methods for the following paths: [/] | 
org.eclipse.jetty.security.SecurityHandler | main
2025-03-11 09:25:44,961 | INFO  | Listening for connections at 
ws://SAP5321111:61614?maximumConnections=1000&wireFormat.maxFrameSize=104857600 
| org.apache.activemq.transport.ws.WSTransportServer | main
2025-03-11 09:25:44,961 | INFO  | Connector ws started | 
org.apache.activemq.broker.TransportConnector | main
2025-03-11 09:25:44,961 | INFO  | Apache ActiveMQ 6.1.5 (localhost, 
ID:SAP5321111-57686-1741681544584-0:1) started | 
org.apache.activemq.broker.BrokerService | main
2025-03-11 09:25:44,962 | INFO  | For help or more information please see: 
http://activemq.apache.org | org.apache.activemq.broker.BrokerService | main
2025-03-11 09:25:45,709 | INFO  | ActiveMQ WebConsole available at 
http://127.0.0.1:8161/ | org.apache.activemq.web.WebConsoleStarter | main
2025-03-11 09:25:45,710 | INFO  | ActiveMQ Jolokia REST API available at 
http://127.0.0.1:8161/api/jolokia/ | org.apache.activemq.web.WebConsoleStarter 
| main
....{code}
{code:java}
2025-03-11 09:38:38,295 | DEBUG | handle http://127.0.0.1:8161/ 
HttpChannelOverHttp@32d3ccc9{s=HttpChannelState@6141c296{s=IDLE rs=BLOCKING 
os=OPEN is=IDLE awp=false se=false i=true 
al=0},r=2,c=false/false,a=IDLE,uri=http://127.0.0.1:8161/,age=2}  | 
org.eclipse.jetty.server.HttpChannel | qtp1506703662-402025-03-11 09:38:38,296 
| DEBUG | handling HttpChannelState@6141c296{s=IDLE rs=BLOCKING os=OPEN is=IDLE 
awp=false se=false i=true al=0} | org.eclipse.jetty.server.HttpChannelState | 
qtp1506703662-402025-03-11 09:38:38,296 | DEBUG | action DISPATCH 
HttpChannelOverHttp@32d3ccc9{s=HttpChannelState@6141c296{s=HANDLING rs=BLOCKING 
os=OPEN is=IDLE awp=false se=false i=true 
al=0},r=2,c=false/false,a=HANDLING,uri=http://127.0.0.1:8161/,age=3} | 
org.eclipse.jetty.server.HttpChannel | qtp1506703662-402025-03-11 09:38:38,296 
| DEBUG | REQUEST GET / ?null on 
HttpChannelOverHttp@32d3ccc9{s=HttpChannelState@6141c296{s=HANDLING rs=BLOCKING 
os=OPEN is=IDLE awp=false se=false i=true 
al=0},r=2,c=false/false,a=HANDLING,uri=http://127.0.0.1:8161/,age=3} | 
org.eclipse.jetty.server.Server | qtp1506703662-402025-03-11 09:38:38,299 | 
DEBUG | Login error | org.eclipse.jetty.jaas.JAASLoginService | 
qtp1506703662-40javax.security.auth.login.LoginException: Aucun LoginModule 
configuré pour activemq      at 
java.base/javax.security.auth.login.LoginContext.init(LoginContext.java:269) at 
java.base/javax.security.auth.login.LoginContext.<init>(LoginContext.java:388)  
     at 
java.base/javax.security.auth.login.LoginContext.<init>(LoginContext.java:463)  
     at 
org.eclipse.jetty.jaas.JAASLoginService.login(JAASLoginService.java:211)     at 
org.eclipse.jetty.security.authentication.LoginAuthenticator.login(LoginAuthenticator.java:62)
       at 
org.eclipse.jetty.security.authentication.BasicAuthenticator.validateRequest(BasicAuthenticator.java:84)
     at 
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:528)  at 
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:141)
        at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122) 
     at org.eclipse.jetty.server.Server.handle(Server.java:563)      at 
org.eclipse.jetty.server.HttpChannel$RequestDispatchable.dispatch(HttpChannel.java:1598)
     at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:753)  at 
org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:501)    at 
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:287)  at 
org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:314)
  at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)    at 
org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53)
      at 
org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:421)
 at 
org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:390)
     at 
org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:277)
      at 
org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.produce(AdaptiveExecutionStrategy.java:193)
 at 
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:969)
     at 
org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.doRunJob(QueuedThreadPool.java:1194)
   at 
org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1149)
        at java.base/java.lang.Thread.run(Thread.java:833)
 {code}
It works perfectly on Linux but not on Windows

all logger in DEBUG mode.


was (Author: sekaijin):
{code:java}
2025-03-11 09:25:44,405 | INFO  | Using Persistence Adapter: 
KahaDBPersistenceAdapter[C:\Data\Travail\Plateformes\apache-activemq-6.1.5\bin\..\data\kahadb]
 | org.apache.activemq.broker.BrokerService | main
2025-03-11 09:25:44,410 | INFO  | Starting Persistence Adapter: 
KahaDBPersistenceAdapter[C:\Data\Travail\Plateformes\apache-activemq-6.1.5\bin\..\data\kahadb]
 | org.apache.activemq.broker.BrokerService | main
2025-03-11 09:25:44,432 | INFO  | Starting KahaDBStore | 
org.apache.activemq.store.kahadb.KahaDBStore | main
2025-03-11 09:25:44,432 | INFO  | Opening MessageDatabase | 
org.apache.activemq.store.kahadb.MessageDatabase | main
2025-03-11 09:25:44,570 | INFO  | Starting Temp Data Store | 
org.apache.activemq.broker.BrokerService | main
2025-03-11 09:25:44,572 | INFO  | 
PListStore:[C:\Data\Travail\Plateformes\apache-activemq-6.1.5\bin\..\data\localhost\tmp_storage]
 started | org.apache.activemq.store.kahadb.plist.PListStoreImpl | main
2025-03-11 09:25:44,572 | INFO  | Starting Job Scheduler Store | 
org.apache.activemq.broker.BrokerService | main
2025-03-11 09:25:44,572 | INFO  | Persistence Adapter successfully started | 
org.apache.activemq.broker.BrokerService | main
2025-03-11 09:25:44,710 | INFO  | Apache ActiveMQ 6.1.5 (localhost, 
ID:SAP5321111-57686-1741681544584-0:1) is starting | 
org.apache.activemq.broker.BrokerService | main
2025-03-11 09:25:44,727 | INFO  | Listening for connections at: 
tcp://SAP5321111:61616?maximumConnections=1000&wireFormat.maxFrameSize=104857600
 | org.apache.activemq.transport.TransportServerThreadSupport | main
2025-03-11 09:25:44,727 | INFO  | Connector openwire started | 
org.apache.activemq.broker.TransportConnector | main
2025-03-11 09:25:44,732 | INFO  | Listening for connections at: 
amqp://SAP5321111:5672?maximumConnections=1000&wireFormat.maxFrameSize=104857600
 | org.apache.activemq.transport.TransportServerThreadSupport | main
2025-03-11 09:25:44,733 | INFO  | Connector amqp started | 
org.apache.activemq.broker.TransportConnector | main
2025-03-11 09:25:44,736 | INFO  | Listening for connections at: 
stomp://SAP5321111:61613?maximumConnections=1000&wireFormat.maxFrameSize=104857600
 | org.apache.activemq.transport.TransportServerThreadSupport | main
2025-03-11 09:25:44,737 | INFO  | Connector stomp started | 
org.apache.activemq.broker.TransportConnector | main
2025-03-11 09:25:44,741 | INFO  | Listening for connections at: 
mqtt://SAP5321111:1883?maximumConnections=1000&wireFormat.maxFrameSize=104857600
 | org.apache.activemq.transport.TransportServerThreadSupport | main
2025-03-11 09:25:44,747 | INFO  | Connector mqtt started | 
org.apache.activemq.broker.TransportConnector | main
2025-03-11 09:25:44,754 | INFO  | Starting Jetty server | 
org.apache.activemq.transport.WebTransportServerSupport | main
2025-03-11 09:25:44,798 | INFO  | Creating Jetty connector | 
org.apache.activemq.transport.WebTransportServerSupport | main
2025-03-11 09:25:44,910 | WARN  | 
[email protected]@1716e8c5{/,null,STARTING} has 
uncovered HTTP methods for the following paths: [/] | 
org.eclipse.jetty.security.SecurityHandler | main
2025-03-11 09:25:44,961 | INFO  | Listening for connections at 
ws://SAP5321111:61614?maximumConnections=1000&wireFormat.maxFrameSize=104857600 
| org.apache.activemq.transport.ws.WSTransportServer | main
2025-03-11 09:25:44,961 | INFO  | Connector ws started | 
org.apache.activemq.broker.TransportConnector | main
2025-03-11 09:25:44,961 | INFO  | Apache ActiveMQ 6.1.5 (localhost, 
ID:SAP5321111-57686-1741681544584-0:1) started | 
org.apache.activemq.broker.BrokerService | main
2025-03-11 09:25:44,962 | INFO  | For help or more information please see: 
http://activemq.apache.org | org.apache.activemq.broker.BrokerService | main
2025-03-11 09:25:45,709 | INFO  | ActiveMQ WebConsole available at 
http://127.0.0.1:8161/ | org.apache.activemq.web.WebConsoleStarter | main
2025-03-11 09:25:45,710 | INFO  | ActiveMQ Jolokia REST API available at 
http://127.0.0.1:8161/api/jolokia/ | org.apache.activemq.web.WebConsoleStarter 
| main
 {code}
It works perfectly on Linux but not on Windows

all logger in DEBUG mode.

> default login failed
> --------------------
>
>                 Key: AMQ-9670
>                 URL: https://issues.apache.org/jira/browse/AMQ-9670
>             Project: ActiveMQ Classic
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: 6.0.0, 6.1.5
>         Environment: Windows 11
>            Reporter: Terrien Jean-Yves
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>
> The default configuration uses jaas, the users.properties and 
> groups.properties files for web console security.
> The default login is admin/admin, but this login is refused by the console
> 1) download
> [https://www.apache.org/dyn/closer.cgi?filename=/activemq/6.1.5/apache-activemq-6.1.5-bin.zip&action=download]
> 2) unzip apache-activemq-6.1.5-bin.zip
> 3) apache-activemq-6.1.5\bin\activemq start
> 4) open http://127.0.0.1:8161/admin/queues.jsp
> admin/admin => 
> http://127.0.0.1:8161/admin/queues.jsp
> Request Method: GET
> Status Code: 401 Unauthorized
> Remote Address: 127.0.0.1:8161
> using wsl with the same installation (without modifications)
> it works and the connection is correct



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to