[JBoss JIRA] (AS7-5037) Issue while deploying EJB 3.1 with JBoss AS 7.2.0 Alpha1
by Manoj Agarwal (JIRA)
Manoj Agarwal created AS7-5037:
----------------------------------
Summary: Issue while deploying EJB 3.1 with JBoss AS 7.2.0 Alpha1
Key: AS7-5037
URL: https://issues.jboss.org/browse/AS7-5037
Project: Application Server 7
Issue Type: Bug
Reporter: Manoj Agarwal
I am trying to deploy a bean with annotations @Singleton and @Startup. I packaged it as a jar and put it under standalone/deployments.
I get this error while starting server. Jar is attached.
11:35:22,844 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.deployment.unit."xyz-startup-bean-3.0.0-SNAPSHOT.jar".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."xyz-startup-bean-3.0.0-SNAPSHOT.jar".POST_MODULE: Failed to process phase POST_MODULE of deployment "xyz-startup-bean-3.0.0-SNAPSHOT.jar"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_02]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_02]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_02]
Caused by: java.lang.NullPointerException
at org.jboss.as.server.deployment.reflect.DeploymentClassIndex.classIndex(DeploymentClassIndex.java:53) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:63)
at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:55)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
--
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, 9 months
[JBoss JIRA] (AS7-2036) CLI usability: jboss-admin needs to be able to authenticate users (using -u -p)
by Radoslav Husar (Created) (JIRA)
CLI usability: jboss-admin needs to be able to authenticate users (using -u -p)
-------------------------------------------------------------------------------
Key: AS7-2036
URL: https://issues.jboss.org/browse/AS7-2036
Project: Application Server 7
Issue Type: Feature Request
Components: CLI, Scripts
Affects Versions: 7.0.2.Final, 7.0.1.Final, 7.0.0.Final
Reporter: Radoslav Husar
Assignee: Alexey Loubyansky
Only authenticated users can connect to the management interface (it's configured in the standalone.xml with security-realm="PropertiesMgmtSecurityRealm" in management-interface). This means, if you execute the above command it fails, because of missing authentication. In JBoss 6 that was possible with the arguments -u (user) and -p (password)
For instance if you want to run a script it says:
{code}
[rhusar@rhusar jboss-as-7.0.2.Final]$ bin/jboss-admin.sh -c --file=test.cli
Authenticating against security realm: localhost.localdomain
The controller is not available at localhost:9999
You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands.
[rhusar@rhusar jboss-as-7.0.2.Final]$
{code}
--
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, 9 months
[JBoss JIRA] Created: (AS7-1730) Improve org.jboss.as.testsuite.integration.common.HttpRequest to implement some HTTP authentication method
by Pavel Janousek (JIRA)
Improve org.jboss.as.testsuite.integration.common.HttpRequest to implement some HTTP authentication method
----------------------------------------------------------------------------------------------------------
Key: AS7-1730
URL: https://issues.jboss.org/browse/AS7-1730
Project: Application Server 7
Issue Type: Enhancement
Components: Test Suite
Affects Versions: 7.0.0.Final
Reporter: Pavel Janousek
Assignee: Andrew Rubinger
Priority: Critical
It is needed to implement some HTTP authentication method for testing role based security behavior of some components (eg. RESTEasy/JAX-RS).
Although it is possible yet - as used for ex. org.jboss.as.testsuite.integration.security.CustomLoginModuleTestCase.testSucessfulAuth() - this complexity is very huge and I think unnecessary for common tasks rely on role based security in Web requests.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 9 months
[JBoss JIRA] (AS7-3995) make add-users.sh/bat script have domain directory location a parameter
by Nicholas DiPiazza (JIRA)
Nicholas DiPiazza created AS7-3995:
--------------------------------------
Summary: make add-users.sh/bat script have domain directory location a parameter
Key: AS7-3995
URL: https://issues.jboss.org/browse/AS7-3995
Project: Application Server 7
Issue Type: Feature Request
Components: ConfigAdmin
Affects Versions: 7.1.0.Final
Environment: all
Reporter: Nicholas DiPiazza
Assignee: Thomas Diesler
Priority: Minor
add-users.sh / add-users.bat hard codes the location of the domains directory.
Would be very useful for some deployments if this were optional so that the domain could be in a different directory.
So...
org.jboss.as.domain.management.security.AddPropertiesUser
private boolean findFiles(final String jbossHome, final List<File> foundFiles, final String fileName) {
File standaloneProps = new File(jbossHome + "/standalone/configuration/" + fileName);
if (standaloneProps.exists()) {
foundFiles.add(standaloneProps);
}
File domainProps = new File(jbossHome + "/domain/configuration/" + fileName);
if (domainProps.exists()) {
foundFiles.add(domainProps);
}
Could become:
private boolean findFiles(final String jbossHome, final List<File> foundFiles, final String fileName) {
File standaloneProps = new File(jbossHome + "/standalone/configuration/" + fileName);
if (standaloneProps.exists()) {
foundFiles.add(standaloneProps);
}
File domainProps = new File((DOMAIN_ROOT_DIRECTORY == NULL ? jbossHome : DOMAIN_ROOT_DIRECTORY)+ "/domain/configuration/" + fileName);
if (domainProps.exists()) {
foundFiles.add(domainProps);
}
--
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, 9 months