[JBoss JIRA] (AS7-5025) (Remoting "config-based-naming-client-endpoint" read-1) JBREM000200: Remote connection failed: javax.security.sasl.SaslException: Authentication failed: all available authentication mechanisms failed
by Simple San (JIRA)
Simple San created AS7-5025:
-------------------------------
Summary: (Remoting "config-based-naming-client-endpoint" read-1) JBREM000200: Remote connection failed: javax.security.sasl.SaslException: Authentication failed: all available authentication mechanisms failed
Key: AS7-5025
URL: https://issues.jboss.org/browse/AS7-5025
Project: Application Server 7
Issue Type: Feature Request
Reporter: Simple San
16:22:45,545 WARN [org.jboss.ejb.client.remoting.ChannelAssociation] (Remoting "slcdevaps02wms" task-3) Unsupported message received with header 0xffffffff
16:22:45,683 INFO [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-1) Initializing Mojarra 2.1.7-jbossorg-1 (20120227-1401) for context '/motdWar'
16:22:46,121 INFO [org.primefaces.webapp.PostConstructApplicationEventListener] (MSC service thread 1-1) Running on PrimeFaces 3.2
16:22:46,125 INFO [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-1) Monitoring jndi:/default-host/motdWar/WEB-INF/faces-config.xml for modifications
16:22:46,130 INFO [org.jboss.web] (MSC service thread 1-1) JBAS018210: Registering web context: /motdWar
16:22:46,145 INFO [org.jboss.as.server] (DeploymentScanner-threads - 1) JBAS018559: Deployed "motdWar.war"
16:22:54,820 INFO [org.xnio] (http--0.0.0.0-8080-5) XNIO Version 3.0.0.GA
16:22:54,823 INFO [org.xnio.nio] (http--0.0.0.0-8080-5) XNIO NIO Implementation Version 3.0.0.GA
16:22:54,827 INFO [org.jboss.remoting] (http--0.0.0.0-8080-5) JBoss Remoting version 3.2.3.GA
16:22:54,914 ERROR [org.jboss.remoting.remote.connection] (Remoting "config-based-naming-client-endpoint" read-1) JBREM000200: Remote connection failed: javax.security.sasl.SaslException: Authentication failed: all available authentication mechanisms failed
16:22:54,915 ERROR [stderr] (http--0.0.0.0-8080-5) javax.naming.NamingException: Failed to create remoting connection [Root exception is java.lang.RuntimeException: javax.security.sasl.SaslException: Authentication failed: all available authentication mechanisms failed]
16:22:54,916 ERROR [stderr] (http--0.0.0.0-8080-5) at org.jboss.naming.remote.client.ClientUtil.namingException(ClientUtil.java:51)
16:22:54,916 ERROR [stderr] (http--0.0.0.0-8080-5) at org.jboss.naming.remote.client.InitialContextFactory.getInitialContext(InitialContextFactory.java:151)
16:22:54,917 ERROR [stderr] (http--0.0.0.0-8080-5) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)
16:22:54,917 ERROR [stderr] (http--0.0.0.0-8080-5) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:307)
16:22:54,919 ERROR [stderr] (http--0.0.0.0-8080-5) at javax.naming.InitialContext.init(InitialContext.java:242)
16:22:54,919 ERROR [stderr] (http--0.0.0.0-8080-5) at javax.naming.InitialContext.<init>(InitialContext.java:216)
16:22:54,920 ERROR [stderr] (http--0.0.0.0-8080-5) at com.incomm.wms.controller.MotdController.findMotd(MotdController.java:32)
16:22:54,920 ERROR [stderr] (http--0.0.0.0-8080-5) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
16:22:54,924 ERROR [stderr] (http--0.0.0.0-8080-5) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
16:22:54,924 ERROR [stderr] (http--0.0.0.0-8080-5) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
16:22:54,925 ERROR [stderr] (http--0.0.0.0-8080-5) at java.lang.reflect.Method.invoke(Method.java:601)
16:22:54,925 ERROR [stderr] (http--0.0.0.0-8080-5) at org.apache.el.parser.AstValue.invoke(AstValue.java:262)
16:22:54,925 ERROR [stderr] (http--0.0.0.0-8080-5) at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:278)
16:22:54,925 ERROR [stderr] (http--0.0.0.0-8080-5) at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
16:22:54,925 ERROR [stderr] (http--0.0.0.0-8080-5) at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
16:22:54,926 ERROR [stderr] (http--0.0.0.0-8080-5) at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
16:22:54,930 ERROR [stderr] (http--0.0.0.0-8080-5) at javax.faces.component.UICommand.broadcast(UICommand.java:315)
16:22:54,930 ERROR [stderr] (http--0.0.0.0-8080-5) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)
16:22:54,931 ERROR [stderr] (http--0.0.0.0-8080-5) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)
16:22:54,931 ERROR [stderr] (http--0.0.0.0-8080-5) at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
16:22:54,931 ERROR [stderr] (http--0.0.0.0-8080-5) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
16:22:54,931 ERROR [stderr] (http--0.0.0.0-8080-5) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
16:22:54,931 ERROR [stderr] (http--0.0.0.0-8080-5) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
16:22:54,932 ERROR [stderr] (http--0.0.0.0-8080-5) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
16:22:54,934 ERROR [stderr] (http--0.0.0.0-8080-5) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
16:22:54,935 ERROR [stderr] (http--0.0.0.0-8080-5) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
16:22:54,935 ERROR [stderr] (http--0.0.0.0-8080-5) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
16:22:54,935 ERROR [stderr] (http--0.0.0.0-8080-5) at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
16:22:54,935 ERROR [stderr] (http--0.0.0.0-8080-5) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
16:22:54,936 ERROR [stderr] (http--0.0.0.0-8080-5) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
16:22:54,936 ERROR [stderr] (http--0.0.0.0-8080-5) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
16:22:54,939 ERROR [stderr] (http--0.0.0.0-8080-5) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
16:22:54,940 ERROR [stderr] (http--0.0.0.0-8080-5) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
16:22:54,941 ERROR [stderr] (http--0.0.0.0-8080-5) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
16:22:54,944 ERROR [stderr] (http--0.0.0.0-8080-5) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
16:22:54,944 ERROR [stderr] (http--0.0.0.0-8080-5) at java.lang.Thread.run(Thread.java:722)
16:22:54,945 ERROR [stderr] (http--0.0.0.0-8080-5) Caused by: java.lang.RuntimeException: javax.security.sasl.SaslException: Authentication failed: all available authentication mechanisms failed
16:22:54,945 ERROR [stderr] (http--0.0.0.0-8080-5) at org.jboss.naming.remote.protocol.IoFutureHelper.get(IoFutureHelper.java:87)
16:22:54,946 ERROR [stderr] (http--0.0.0.0-8080-5) at org.jboss.naming.remote.client.NamingStoreCache.getRemoteNamingStore(NamingStoreCache.java:68)
16:22:54,947 ERROR [stderr] (http--0.0.0.0-8080-5) at org.jboss.naming.remote.client.InitialContextFactory.getOrCreateCachedNamingStore(InitialContextFactory.java:196)
16:22:54,947 ERROR [stderr] (http--0.0.0.0-8080-5) at org.jboss.naming.remote.client.InitialContextFactory.getOrCreateNamingStore(InitialContextFactory.java:169)
16:22:54,947 ERROR [stderr] (http--0.0.0.0-8080-5) at org.jboss.naming.remote.client.InitialContextFactory.getInitialContext(InitialContextFactory.java:134)
16:22:54,948 ERROR [stderr] (http--0.0.0.0-8080-5) ... 34 more
16:22:54,952 ERROR [stderr] (http--0.0.0.0-8080-5) Caused by: javax.security.sasl.SaslException: Authentication failed: all available authentication mechanisms failed
16:22:54,952 ERROR [stderr] (http--0.0.0.0-8080-5) at org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.handleEvent(ClientConnectionOpenListener.java:365)
16:22:54,953 ERROR [stderr] (http--0.0.0.0-8080-5) at org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.handleEvent(ClientConnectionOpenListener.java:214)
16:22:54,953 ERROR [stderr] (http--0.0.0.0-8080-5) at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:72)
16:22:54,953 ERROR [stderr] (http--0.0.0.0-8080-5) at org.xnio.channels.TranslatingSuspendableChannel.handleReadable(TranslatingSuspendableChannel.java:189)
16:22:54,953 ERROR [stderr] (http--0.0.0.0-8080-5) at org.xnio.channels.TranslatingSuspendableChannel$1.handleEvent(TranslatingSuspendableChannel.java:103)
16:22:54,954 ERROR [stderr] (http--0.0.0.0-8080-5) at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:72)
16:22:54,954 ERROR [stderr] (http--0.0.0.0-8080-5) at org.xnio.nio.NioHandle.run(NioHandle.java:90)
16:22:54,955 ERROR [stderr] (http--0.0.0.0-8080-5) at org.xnio.nio.WorkerThread.run(WorkerThread.java:184)
16:22:54,955 ERROR [stderr] (http--0.0.0.0-8080-5) at ...asynchronous invocation...(Unknown Source)
16:22:54,955 ERROR [stderr] (http--0.0.0.0-8080-5) at org.jboss.remoting3.EndpointImpl.doConnect(EndpointImpl.java:270)
16:22:54,956 ERROR [stderr] (http--0.0.0.0-8080-5) at org.jboss.remoting3.EndpointImpl.doConnect(EndpointImpl.java:251)
16:22:54,958 ERROR [stderr] (http--0.0.0.0-8080-5) at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:349)
16:22:54,958 ERROR [stderr] (http--0.0.0.0-8080-5) at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:333)
16:22:54,959 ERROR [stderr] (http--0.0.0.0-8080-5) at org.jboss.naming.remote.client.EndpointCache$EndpointWrapper.connect(EndpointCache.java:105)
16:22:54,959 ERROR [stderr] (http--0.0.0.0-8080-5) at org.jboss.naming.remote.client.NamingStoreCache.getRemoteNamingStore(NamingStoreCache.java:67)
16:22:54,960 ERROR [stderr] (http--0.0.0.0-8080-5) ... 37 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 10 months
[JBoss JIRA] (AS7-4582) Creating Async log handler with filter fails
by Simeon Pinder (JIRA)
Simeon Pinder created AS7-4582:
----------------------------------
Summary: Creating Async log handler with filter fails
Key: AS7-4582
URL: https://issues.jboss.org/browse/AS7-4582
Project: Application Server 7
Issue Type: Bug
Components: Logging
Affects Versions: 7.1.1.Final
Environment: Actually using JBEAP.ER5
Reporter: Simeon Pinder
Assignee: James Perkins
When attempting to create a new Asynch Log Handler if you try to define a filter during initial argument the handler creation fails. The same behavior happens when attempting to update with a filter value.
/subsystem=logging/async-handler=ASYNCH4/:add(queue-length=1024,overflow-action=BLOCK,filter=accept)
{
"address" => [
("subsystem" => "logging"),
("async-handler" => "ASYNCH4")
],
"operation" => "add",
"queue-length" => 1024,
"overflow-action" => "BLOCK",
"filter" => "accept"
}
{
"outcome" => "failed",
"failure-description" => "JBAS014749: Operation handler failed: null",
"rolled-back" => true,
"response-headers" => {"process-state" => "reload-required"}
}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 10 months
[JBoss JIRA] (LOGTOOL-51) Logging generation processing breaks APT rules by loading classes via reflection
by James Perkins (JIRA)
[ https://issues.jboss.org/browse/LOGTOOL-51?page=com.atlassian.jira.plugin... ]
James Perkins commented on LOGTOOL-51:
--------------------------------------
Pull request sent https://github.com/jboss-logging/jboss-logging-tools/pull/4
> Logging generation processing breaks APT rules by loading classes via reflection
> --------------------------------------------------------------------------------
>
> Key: LOGTOOL-51
> URL: https://issues.jboss.org/browse/LOGTOOL-51
> Project: Log Tool
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Environment: JBDS 5.5.0.CR1
> Reporter: Fred Bricon
> Assignee: David Lloyd
> Priority: Blocker
> Attachments: codemodel-2.6.jar, jboss-logging-processor-1.1.0.Beta1-SNAPSHOT.jar
>
>
> JBDS 5.5.0.CR1 embeds [m2e-apt|https://github.com/jbosstools/m2e-apt], which automatically enables Eclipse JDT Annotation Processor Toolkit.
> When importing the [server|https://github.com/jbossas/jboss-as/tree/master/server] module from http://github.com/jbossas/jboss-as.git (also happens for other modules), Eclipse starts crashing (see JBIDE-12087) with errors like :
> {noformat}
> javax.xml.parsers.FactoryConfigurationError: Provider __redirected.__DocumentBuilderFactory not found
> at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:127)
> at org.eclipse.jdt.apt.core.internal.util.FactoryPathUtil.decodeFactoryPath(FactoryPathUtil.java:222)
> at org.eclipse.jdt.apt.core.internal.util.FactoryPathUtil.readFactoryPathFile(FactoryPathUtil.java:115)
> at org.eclipse.jdt.apt.core.internal.util.FactoryPathUtil.calculatePath(FactoryPathUtil.java:342)
> at org.eclipse.jdt.apt.core.internal.util.FactoryPathUtil.getFactoryPath(FactoryPathUtil.java:429)
> at org.eclipse.jdt.apt.core.internal.AnnotationProcessorFactoryLoader.getJava6FactoriesAndAttributesForProject(AnnotationProcessorFactoryLoader.java:420)
> at org.eclipse.jdt.internal.apt.pluggable.core.dispatch.IdeAnnotationProcessorManager.processAnnotations(IdeAnnotationProcessorManager.java:130)
> at org.eclipse.jdt.internal.compiler.Compiler.processAnnotations(Compiler.java:813)
> at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:432)
> at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:364)
> at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.compile(BatchImageBuilder.java:178)
> at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:301)
> at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.build(BatchImageBuilder.java:60)
> at org.eclipse.jdt.internal.core.builder.JavaBuilder.buildAll(JavaBuilder.java:254)
> at org.eclipse.jdt.internal.core.builder.JavaBuilder.build(JavaBuilder.java:173)
> at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
> at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239)
> at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)
> at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351)
> at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374)
> at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143)
> at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> Caused by: java.lang.ClassNotFoundException: __redirected/__DocumentBuilderFactory
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:264)
> at javax.xml.parsers.FactoryFinder.getProviderClass(FactoryFinder.java:119)
> at javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:144)
> at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:185)
> at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:121)
> {noformat}
> It turns out the Eclipse System Properties have been changed to use javax.xml.parsers.SAXParserFactory=__redirected/__DocumentBuilderFactory
> I tracked the code responsible with messing with the properties :
> {noformat}
> Thread [Worker-24] (Suspended (breakpoint at line 779 in System))
> System.setProperty(String, String) line: 779
> __SAXParserFactory.<clinit>() line: 68
> __JAXPRedirected.initAll() line: 80
> Module$1.run() line: 126
> Module$1.run() line: 113
> AccessController.doPrivileged(PrivilegedAction<T>) line: not available [native method]
> Module.<clinit>() line: 113
> Class<T>.forName0(String, boolean, ClassLoader) line: not available [native method]
> Class<T>.forName(String) line: 186 <====== org.jboss.modules.Module
> JCodeModel.ref(String) line: 363
> MessageBundleImplementor(ImplementationClassModel).createBundleMethod(MessageMethod, JMethod, JMethod, JVar) line: 150
> MessageBundleImplementor.generateModel() line: 86
> MessageBundleImplementor(ClassModel).create(JavaFileObject) line: 104
> ImplementationClassGenerator.processTypeElement(TypeElement, TypeElement, MessageInterface) line: 63
> LoggingToolsProcessor.process(Set<TypeElement>, RoundEnvironment) line: 155
> RoundDispatcher.handleProcessor(ProcessorInfo) line: 139
> RoundDispatcher.round() line: 121
> IdeAnnotationProcessorManager(BaseAnnotationProcessorManager).processAnnotations(CompilationUnitDeclaration[], ReferenceBinding[], boolean) line: 159
> IdeAnnotationProcessorManager.processAnnotations(CompilationUnitDeclaration[], ReferenceBinding[], boolean) line: 134
> Compiler.processAnnotations() line: 813
> Compiler.compile(ICompilationUnit[]) line: 432
> BatchImageBuilder(AbstractImageBuilder).compile(SourceFile[], SourceFile[], boolean) line: 364
> BatchImageBuilder.compile(SourceFile[], SourceFile[], boolean) line: 178
> BatchImageBuilder(AbstractImageBuilder).compile(SourceFile[]) line: 301
> BatchImageBuilder.build() line: 60
> JavaBuilder.buildAll() line: 254
> JavaBuilder.build(int, Map, IProgressMonitor) line: 173
> BuildManager$2.run() line: 728
> SafeRunner.run(ISafeRunnable) line: 42
> BuildManager.basicBuild(int, IncrementalProjectBuilder, Map<String,String>, MultiStatus, IProgressMonitor) line: 199
> BuildManager.basicBuild(IBuildConfiguration, int, IBuildContext, ICommand[], MultiStatus, IProgressMonitor) line: 239
> BuildManager$1.run() line: 292
> SafeRunner.run(ISafeRunnable) line: 42
> BuildManager.basicBuild(IBuildConfiguration, int, IBuildContext, MultiStatus, IProgressMonitor) line: 295
> BuildManager.basicBuildLoop(IBuildConfiguration[], IBuildConfiguration[], int, MultiStatus, IProgressMonitor) line: 351
> BuildManager.build(IBuildConfiguration[], IBuildConfiguration[], int, IProgressMonitor) line: 374
> AutoBuildJob.doBuild(IProgressMonitor) line: 143
> AutoBuildJob.run(IProgressMonitor) line: 241
> Worker.run() line: 54
> {noformat}
> That stacktrace represents the processing of https://github.com/jbossas/jboss-as/blob/master/server/src/main/java/org/...
> So basically, whenever a Logger has a dependency to the [org.jboss.modules.Module|https://github.com/jbossas/jboss-modules/blob/ma...] class, stuff starts hitting the fan.
> Classes should not be loaded by reflection during APT processing to avoid such issues - it should use the API provided by APT to iterate over the classes metadata provided by the compiler and not depend on com.sun.*.internal classes.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 10 months