[JBoss JIRA] (AS7-5554) Welcome-file ignores servlet mapping
by Brian Leathem (JIRA)
Brian Leathem created AS7-5554:
----------------------------------
Summary: Welcome-file ignores servlet mapping
Key: AS7-5554
URL: https://issues.jboss.org/browse/AS7-5554
Project: Application Server 7
Issue Type: Bug
Components: Web
Affects Versions: 7.1.1.Final
Reporter: Brian Leathem
Assignee: Remy Maucherat
Welcome files that correspond to a servlet-mapping are ignored. As an example, add a welcome file "index.jsf" and map "*.jsf" to the faces servlet. The welcome file will not be served when navigating to the folder.
This is not in accordance with the Servlet 3.0 specification (Section 10.10):
{quote}
... the Web server MUST again append each welcome file in the order specified in the deployment descriptor to the partial request and check if a servlet is mapped to that request URI.
{quote}
As an example of this in practice, refer to one of the many stackoverflow questions on the subject:
http://stackoverflow.com/questions/4616493/how-to-set-jsf2-welcome-file-w...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] (AS7-5854) JBOSGI011210: Bundle already uninstalled when a bundle is undeployed, then redeployed in same session
by Ed Roberts (JIRA)
Ed Roberts created AS7-5854:
-------------------------------
Summary: JBOSGI011210: Bundle already uninstalled when a bundle is undeployed, then redeployed in same session
Key: AS7-5854
URL: https://issues.jboss.org/browse/AS7-5854
Project: Application Server 7
Issue Type: Bug
Components: OSGi
Affects Versions: 7.2.0.Alpha1
Environment: Windows XP Professional
Oracle JDK 1.6.0_32
JBoss AS 7.2.0.Alpha1 build from master 24/10/2012
Reporter: Ed Roberts
Assignee: Thomas Diesler
I start up JBoss AS with some bundles. I stop one of them by deleting the corresponding .deployed file. I then restart it by deleting the corresponding .undeployed file. If I was using the Felix Web Console at all times to look at the meta-typed configuration for the service in this bundle, when the bundle is finally redeployed, a refresh of the configuration page caused an exception
{code}
2012-10-30 13:19:32,133 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) java.lang.IllegalStateException: JBOSGI011210: Bundle already uninstalled: vcs-configuration-jboss-svc:1.0.0.SNAPSHOT
2012-10-30 13:19:32,133 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at org.jboss.osgi.framework.internal.AbstractBundleState.assertNotUninstalled(AbstractBundleState.java:649)
2012-10-30 13:19:32,133 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at org.jboss.osgi.framework.internal.UserBundleRevision.getEntry(UserBundleRevision.java:138)
2012-10-30 13:19:32,133 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at org.jboss.osgi.framework.internal.AbstractBundleState.getEntry(AbstractBundleState.java:463)
2012-10-30 13:19:32,133 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at org.apache.felix.metatype.internal.l10n.BundleResources.loadProperties(BundleResources.java:166)
2012-10-30 13:19:32,133 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at org.apache.felix.metatype.internal.l10n.BundleResources.getResources(BundleResources.java:144)
2012-10-30 13:19:32,133 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at org.apache.felix.metatype.internal.l10n.BundleResources.getResources(BundleResources.java:84)
2012-10-30 13:19:32,133 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at org.apache.felix.metatype.DefaultMetaTypeProvider.getObjectClassDefinition(DefaultMetaTypeProvider.java:172)
2012-10-30 13:19:32,133 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at org.apache.felix.metatype.internal.MetaTypeInformationImpl.getObjectClassDefinition(MetaTypeInformationImpl.java:125)
2012-10-30 13:19:32,133 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at org.apache.felix.webconsole.internal.compendium.ConfigManagerBase.getObjectClassDefinition(ConfigManagerBase.java:208)
2012-10-30 13:19:32,133 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at org.apache.felix.webconsole.internal.compendium.ConfigManager.getServices(ConfigManager.java:487)
2012-10-30 13:19:32,133 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at org.apache.felix.webconsole.internal.compendium.ConfigManager.listConfigurations(ConfigManager.java:379)
2012-10-30 13:19:32,133 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at org.apache.felix.webconsole.internal.compendium.ConfigManager.renderContent(ConfigManager.java:295)
2012-10-30 13:19:32,133 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at org.apache.felix.webconsole.AbstractWebConsolePlugin.doGet(AbstractWebConsolePlugin.java:147)
2012-10-30 13:19:32,133 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at org.apache.felix.webconsole.internal.compendium.ConfigManager.doGet(ConfigManager.java:239)
2012-10-30 13:19:32,133 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
2012-10-30 13:19:32,133 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
2012-10-30 13:19:32,133 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:437)
2012-10-30 13:19:32,133 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:384)
2012-10-30 13:19:32,133 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2012-10-30 13:19:32,133 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2012-10-30 13:19:32,133 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2012-10-30 13:19:32,258 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at java.lang.reflect.Method.invoke(Method.java:597)
2012-10-30 13:19:32,258 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at org.ops4j.pax.web.service.internal.HttpServiceStarted$2.invoke(HttpServiceStarted.java:209)
2012-10-30 13:19:32,258 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at org.ops4j.pax.web.service.internal.$Proxy35.service(Unknown Source)
2012-10-30 13:19:32,258 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547)
2012-10-30 13:19:32,258 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:480)
2012-10-30 13:19:32,258 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:70)
2012-10-30 13:19:32,258 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
2012-10-30 13:19:32,258 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520)
2012-10-30 13:19:32,274 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
2012-10-30 13:19:32,274 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:941)
2012-10-30 13:19:32,274 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:117)
2012-10-30 13:19:32,274 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409)
2012-10-30 13:19:32,274 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)
2012-10-30 13:19:32,274 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:875)
2012-10-30 13:19:32,274 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
2012-10-30 13:19:32,274 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:74)
2012-10-30 13:19:32,274 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
2012-10-30 13:19:32,274 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at org.eclipse.jetty.server.Server.handle(Server.java:345)
2012-10-30 13:19:32,274 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441)
2012-10-30 13:19:32,274 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:919)
2012-10-30 13:19:32,274 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:582)
2012-10-30 13:19:32,274 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:218)
2012-10-30 13:19:32,274 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:51)
2012-10-30 13:19:32,274 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:586)
2012-10-30 13:19:32,274 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:44)
2012-10-30 13:19:32,274 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598)
2012-10-30 13:19:32,274 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533)
2012-10-30 13:19:32,274 ERROR [stderr](qtp31185487-155 - /system/console/configMgr) at java.lang.Thread.run(Thread.java:662)
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] (AS7-5762) Allow multiple quoted strings within a CLI command
by James Perkins (JIRA)
James Perkins created AS7-5762:
----------------------------------
Summary: Allow multiple quoted strings within a CLI command
Key: AS7-5762
URL: https://issues.jboss.org/browse/AS7-5762
Project: Application Server 7
Issue Type: Bug
Components: CLI
Reporter: James Perkins
Assignee: Alexey Loubyansky
CLI commands with multiple quotes are not properly parsed.
{code}
/subsystem=logging/console-handler=CONSOLE:write-attribute(name=filter, value="all(match(\"pattern1\"),not(match(\"pattern2\")))")
{code}
I would expect the above command to return the following to the OSH.
{code}
all(match("pattern"),not(match("pattern2")))
{code}
What actually gets passed to the OSH is
{code}
all(match(
{code}
Note this filter syntax relies on PR https://github.com/jbossas/jboss-as/pull/3251
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] (AS7-4822) multi-threaded client can't clean up threads
by Rob Stryker (JIRA)
Rob Stryker created AS7-4822:
--------------------------------
Summary: multi-threaded client can't clean up threads
Key: AS7-4822
URL: https://issues.jboss.org/browse/AS7-4822
Project: Application Server 7
Issue Type: Bug
Components: Domain Management
Affects Versions: 7.1.0.Final
Reporter: Rob Stryker
Assignee: Brian Stansberry
When using a multi-threaded remote management client, several threads refuse to clean up, leaving to a deadlocked / frozen thread during a call to client.close().
Simple POJP to be attached, with stack trace. Jars on the classpath are as follows:
jboss-as-controller-client-7.1.0.Final.jar
jboss-as-protocol-7.1.0.Final.jar
jboss-dmr-1.1.1.Final.jar
jboss-logging-3.1.0.GA.jar
jboss-marshalling-1.3.9.GA.jar
jboss-remoting-3.2.2.GA.jar
jboss-remoting-3.2.7.GA.jar
jboss-sasl-1.0.0.Final.jar
jboss-threads-2.0.0.GA.jar
xnio-api-3.0.3.GA.jar
xnio-nio-3.0.3.GA.jar
--
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
11 years, 8 months
[JBoss JIRA] (AS7-5857) OSGi Resolution failure should be logged as an error
by David Bosschaert (JIRA)
David Bosschaert created AS7-5857:
-------------------------------------
Summary: OSGi Resolution failure should be logged as an error
Key: AS7-5857
URL: https://issues.jboss.org/browse/AS7-5857
Project: Application Server 7
Issue Type: Feature Request
Components: OSGi
Affects Versions: 7.2.0.Alpha1
Reporter: David Bosschaert
Assignee: Thomas Diesler
When deploying an OSGi bundle that fails to resolve, currently only a warning is logged, this should really be an ERROR.
{code}13:21:31,275 WARN [org.jboss.as.osgi] (MSC service thread 1-13) JBAS011910: Cannot resolve requirements: [XPackageRequirement[atts={osgi.wiring.package=javax.servlet, version=[2.1.0,3.0.0)},[TestOSGiHttpService:1.0.0]]]
13:21:31,275 INFO [org.jboss.as.server.deployment] (MSC service thread 1-13) JBAS015970: Defer FIRST_MODULE_USE for TestOSGiHttpService_1.0.0.jar making it NEVER
13:21:31,305 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "TestOSGiHttpService_1.0.0.jar"{code}
Additionally, the deployment is marked as 'deployed'. It would be better if it could be marked as 'failed'
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] (AS7-5761) EJB2 entity bean CMP collection toArray throws NPE
by Lucas Galfaso (JIRA)
Lucas Galfaso created AS7-5761:
----------------------------------
Summary: EJB2 entity bean CMP collection toArray throws NPE
Key: AS7-5761
URL: https://issues.jboss.org/browse/AS7-5761
Project: Application Server 7
Issue Type: Feature Request
Components: EJB
Affects Versions: 7.1.1.Final
Environment: MAC OSX, Java7
Reporter: Lucas Galfaso
Assignee: jaikiran pai
>From an EJB2 entity bean that has a CMP collection of entities, calling toArray() on the CMP collection throws NullPointerException
Caused by: java.lang.NullPointerException
at org.jboss.as.cmp.jdbc.bridge.RelationSet.toArray(RelationSet.java:291) [jboss-as-cmp-7.1.1.Final.jar:7.1.1.Final]
Normal iteration thru the collection using the iterator works as expected.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months