[JBoss JIRA] Created: (AS7-1404) Messaging Subsystem: Naming inconsitency
by Heiko Braun (JIRA)
Messaging Subsystem: Naming inconsitency
----------------------------------------
Key: AS7-1404
URL: https://issues.jboss.org/browse/AS7-1404
Project: Application Server 7
Issue Type: Bug
Components: Domain Management, JMS
Affects Versions: 7.0.0.Final
Reporter: Heiko Braun
Assignee: Brian Stansberry
Fix For: 7.0.1.Final
it seems the messaging subsystem prepends the "java:/" namespace to it JNDI names.
This is not the case for other subsystems and should be treated consistently:
I.e trying to add a queue 'java:/jboss/queues/myQueue' leads to:
{noformat}
16:07:54,288 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.naming.context.java.java:/jboss/queues/myQueue: org.jboss.msc.service.StartException in service jboss.naming.context.java.java:/jboss/queues/myQueue: Failed to bind resource into naming store [org.jboss.as.naming.InMemoryNamingStore@4f3ad88b] at location [jboss/queues/myQueue]
at org.jboss.as.naming.service.BinderService.start(BinderService.java:113)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765)
at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_26]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_26]
at java.lang.Thread.run(Thread.java:680) [:1.6.0_26]
{noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 5 months
[JBoss JIRA] Created: (AS7-1400) Built-in JAX-RS providers registered twice
by Jozef Hartinger (JIRA)
Built-in JAX-RS providers registered twice
------------------------------------------
Key: AS7-1400
URL: https://issues.jboss.org/browse/AS7-1400
Project: Application Server 7
Issue Type: Bug
Components: Web Services
Affects Versions: 7.0.0.Final
Reporter: Jozef Hartinger
Assignee: Stuart Douglas
Fix For: 7.0.1.Final
RESTEasy considers every JAX-RS provider listed in a service loader-like to be a built-in provider. RESTEasy take care of loading of these providers early in the startup. Once loaded, these providers are registered with "built-in" flag, which is important to guarantee that any custom provider is given priority over a built-in one at runtime. The registration is handled by the RegisterBuiltin class https://resteasy.svn.sourceforge.net/svnroot/resteasy/trunk/jaxrs/resteas...
However, it seems that AS7 scans resteasy jars for providers and registers the built-in providers again - as application-provided providers. As a result, every built-in provider is registered twice. Once as built-in and once as application-provided provider. This has several consequences. Once of them is that the priority of application-provided providers is not guaranteed any longer.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 5 months
[JBoss JIRA] Created: (AS7-1284) Accessing localhost:8080 using JBoss Web Native causes java.lang.NoClassDefFoundError: sun/nio/ch/DirectBuffer
by Josef Wegner (JIRA)
Accessing localhost:8080 using JBoss Web Native causes java.lang.NoClassDefFoundError: sun/nio/ch/DirectBuffer
--------------------------------------------------------------------------------------------------------------
Key: AS7-1284
URL: https://issues.jboss.org/browse/AS7-1284
Project: Application Server 7
Issue Type: Bug
Components: CDI / Weld
Affects Versions: 7.0.0.Final
Environment: Darwin osx-en-jwegne.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03-384-10M3425)
Java HotSpot(TM) Client VM (build 20.1-b02-384, mixed mode)
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03-384-10M3425)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-384, mixed mode)
Reporter: Josef Wegner
Assignee: Stuart Douglas
Priority: Minor
Hi,
accessing http://localhost:8080 using JBoss Web Native 2.0.9 (self compiled for x64 and downloaded from http://www.jboss.org/jbossweb/downloads/jboss-native-2-0-9.html for i386) causes following stack trace:
{quote}
15:23:18,710 ERROR [org.apache.coyote.http11.Http11AprProtocol] (http--127.0.0.1-8080-1) Error reading request, ignored: java.lang.NoClassDefFoundError: sun/nio/ch/DirectBuffer
at org.apache.tomcat.jni.Socket.setrbb(Native Method)
at org.apache.coyote.http11.InternalAprInputBuffer.setSocket(InternalAprInputBuffer.java:202)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:825)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:626)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:2054)
at java.lang.Thread.run(Thread.java:680) [:1.6.0_26]
Caused by: java.lang.ClassNotFoundException: sun.nio.ch.DirectBuffer from [Module "org.jboss.as.web:main" from local module loader @39e87719 (roots: /Users/jwegne/Tools/jboss-as-web-7.0.0.Final/modules)]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:358)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:330)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:307)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:101)
... 6 more
{quote}
This happens with only when using JDK 1.6 provided by Apple. OpenJDK 1.7 (self-compiled) works, though.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 5 months
[JBoss JIRA] Created: (JBAS-9422) Minimal server fails to start due to CNFE
by Shelly McGowan (JIRA)
Minimal server fails to start due to CNFE
-----------------------------------------
Key: JBAS-9422
URL: https://issues.jboss.org/browse/JBAS-9422
Project: Legacy JBoss Application Server 6
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Shelly McGowan
Fix For: 6.1.0
Failed to boot JBoss:
java.lang.Exception: Encountered exception in server startup
at org.jboss.bootstrap.impl.mc.server.AbstractMCServerBase.bootstrapMcAndDescriptors(AbstractMCServerBase.java:350)
at org.jboss.bootstrap.impl.mc.server.AbstractMCServerBase.doStart(AbstractMCServerBase.java:282)
at org.jboss.bootstrap.impl.as.server.AbstractJBossASServerBase.doStart(AbstractJBossASServerBase.java:381)
at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:413)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.IllegalStateException: Incompletely deployed:
DEPLOYMENTS IN ERROR:
Deployment "DeclaredStructure" is in error due to: java.lang.ClassNotFoundException: org.jboss.deployment.ExplicitDeclaredStructure
at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.internalValidate(AbstractKernelDeployer.java:278)
at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.validate(AbstractKernelDeployer.java:174)
at org.jboss.bootstrap.impl.mc.server.AbstractMCServerBase.bootstrapMcAndDescriptors(AbstractMCServerBase.java:339)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 5 months