[Installation, Configuration & Deployment] - Failed to start JbossAs5
by phoenix.zhp
hi, I have download the jboss-5.0.0.Beta2 and unzip it to D:\server\jboss-5.0.0.Beta2. But when I want start it it failed. can someone give me help? Thanks in advance.
this is the log
anonymous wrote :
| 11:36:24,937 ERROR [AbstractKernelController] Error installing to Instantiated: name=DeploymentFilter state=Described
| java.lang.IllegalStateException: Class not found: [Ljava.lang.String;
| at org.jboss.metadata.spi.signature.Signature.stringsToClasses(Signature.java:174)
| at org.jboss.metadata.spi.signature.Signature.stringsToClasses(Signature.java:125)
| at org.jboss.metadata.spi.signature.Signature.getParametersTypes(Signature.java:292)
| at org.jboss.metadata.plugins.loader.reflection.AnnotatedElementMetaDataLoader.getComponentMetaDataRetrieval(AnnotatedElementMetaDataLoader.java:138)
| at org.jboss.metadata.plugins.context.AbstractMetaDataContext.getComponentMetaDataRetrieval(AbstractMetaDataContext.java:280)
| at org.jboss.metadata.spi.retrieval.MetaDataRetrievalToMetaDataBridge.getComponentMetaData(MetaDataRetrievalToMetaDataBridge.java:159)
| at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.methodHasAnnotations(AOPConstructorJoinpoint.java:202)
| at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.hasMethodMetaData(AOPConstructorJoinpoint.java:172)
| at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.hasInstanceOrJoinpointMetaData(AOPConstructorJoinpoint.java:152)
| at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.dispatch(AOPConstructorJoinpoint.java:99)
| at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:103)
| at org.jboss.kernel.plugins.dependency.InstantiateAction.installActionInternal(InstantiateAction.java:52)
| at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:197)
| at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.install(KernelControllerContextAction.java:136)
| at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
| at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:233)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:724)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:445)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:555)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:489)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:289)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:192)
| at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:302)
| at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:272)
| at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:119)
| at org.jboss.kernel.plugins.deployment.BasicKernelDeployer.deploy(BasicKernelDeployer.java:64)
| at org.jboss.kernel.plugins.deployment.xml.BasicXMLDeployer.deploy(BasicXMLDeployer.java:76)
| at org.jboss.kernel.plugins.deployment.xml.BasicXMLDeployer.deploy(BasicXMLDeployer.java:146)
| at org.jboss.system.server.profileservice.ProfileServiceBootstrap.deploy(ProfileServiceBootstrap.java:295)
| at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:222)
| at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89)
| at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.java:403)
| at org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.java:342)
| at org.jboss.Main.boot(Main.java:210)
| at org.jboss.Main$1.run(Main.java:522)
| at java.lang.Thread.run(Thread.java:619)
| Caused by: java.lang.ClassNotFoundException: [Ljava.lang.String;
| at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
| at java.security.AccessController.doPrivileged(Native Method)
| at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
| at org.jboss.metadata.spi.signature.Signature.stringsToClasses(Signature.java:170)
| ... 35 more
|
|
|
|
| 11:36:25,406 DEBUG [ServerImpl] Failed to start
| java.lang.RuntimeException: Exception during Bootstrap
| at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:99)
| at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.java:403)
| at org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.java:342)
| at org.jboss.Main.boot(Main.java:210)
| at org.jboss.Main$1.run(Main.java:522)
| at java.lang.Thread.run(Thread.java:619)
| Caused by: org.jboss.deployers.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
|
| *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
|
| VFSBootstrapScanner
| -> DeploymentFilter{Configured:**ERROR**}
|
| VFSDeployerScanner
| -> DeploymentFilter{Configured:**ERROR**}
|
| VFSDeploymentScanner
| -> DeploymentFilter{Configured:**ERROR**}
|
|
| *** CONTEXTS IN ERROR: Name -> Error
|
| DeploymentFilter -> java.lang.ClassNotFoundException: [Ljava.lang.String;
|
|
| at org.jboss.system.server.profileservice.ProfileServiceBootstrap.checkIncomplete(ProfileServiceBootstrap.java:389)
| at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:236)
| at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89)
| ... 5 more
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045252#4045252
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4045252
19 years, 1 month
[Management, JMX/JBoss] - Re: Managing JBoss programmatically?
by BogusException
PeterJ,
Thanks for writing. I understand a lot more about the app server as a result.
A more definitive list can be found in the source at system/src/main/org/jboss/deployment/DeploymentSorter.java, look at DEFAULT_SUFFIX_ORDER.
Interesting. It is deprecated, but points to SuffixOrderHelper.java, which then says the values and order were moved:
Moved this list to org.jboss.deployment.MainDeployer-xmbean.xml so there are no hardcoded defaults.
So off I go to there, and see a list of suffixes that includes 150:-service.xml, but that list is commented out, and below it:
<descriptors>
| <value value="250:.rar,300:-ds.xml,400:.jar,500:.war,550:.jse,650:.ear,800:.bsh"/>
| </descriptors>
|
...but -service.xml is now out of the list. Weird! I started out trying to find which configuration files (.xml) could be added to with a unique prefix (like the uncontested abc-ds.xml), but I'm not sure what I've stumbled onto.
I know that you can add queues and topics with someQueue-service.xml, but the source I found in this journey didn't bear that out.
If the only system configuration that can be done with XML descriptors is with queues/topics (*-service.xml) and data sources (*-ds.xml), thats fine. I was just curious what they were.
Thanks again!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045248#4045248
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4045248
19 years, 1 month
[JBoss Seam] - Access EJB from Web page
by amontobin
Hi,
I'm starting to learn seam and i've some troubles.
I've got a project with one web app and one ejb jar (like seam booking)
I can deploy my ear on the server but when i want to access login page i've this error :
01:44:41,352 INFO [StartupServletContextListener] Serialization provider : class org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory
01:44:41,372 INFO [StandardContext] Container org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/extranet-backoffice] has already been started
01:44:41,379 INFO [TomcatDeployment] deploy, ctxPath=/extranet-customer, warUrl=.../tmp/deploy/extranet-customer36254-exp.war/
01:44:41,480 INFO [StandardContext] Container org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/extranet-customer] has already been started
01:44:41,493 INFO [TomcatDeployment] deploy, ctxPath=/extranet-partner, warUrl=.../tmp/deploy/extranet-partner36255-exp.war/
01:44:41,719 INFO [StandardContext] Container org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/extranet-partner] has already been started
01:44:41,736 INFO [TomcatDeployment] deploy, ctxPath=/internet, warUrl=.../tmp/deploy/internet36256-exp.war/
01:44:41,833 INFO [StandardContext] Container org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/internet] has already been started
01:44:41,962 INFO [MailService] Mail Service bound to java:/Mail
01:44:51,130 INFO [MCKernelAbstraction] installing bean: jboss.j2ee:ear=assurix.ear,jar=jboss-seam-1.2.1.GA.jar,name=Dispatcher,service=EJB3 with dependencies:
01:44:51,322 INFO [EJBContainer] STARTED EJB: org.jboss.seam.core.Dispatcher ejbName: Dispatcher
01:44:51,374 INFO [MCKernelAbstraction] installing bean: jboss.j2ee:ear=assurix.ear,jar=jboss-seam-1.2.1.GA.jar,name=TransactionListener,service=EJB3 with dependencies:
01:44:51,429 INFO [EJBContainer] STARTED EJB: org.jboss.seam.core.TransactionListener ejbName: TransactionListener
01:44:51,501 INFO [MCKernelAbstraction] installing bean: jboss.j2ee:ear=assurix.ear,jar=presentation-1.0-SNAPSHOT.jar,name=LoginController,service=EJB3 with dependencies:
01:44:51,522 INFO [EJBContainer] STARTED EJB: com.assurix.presentation.extranet.backoffice.LoginController ejbName: LoginController
01:44:51,571 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
01:44:51,632 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-0.0.0.0-8009
01:44:51,691 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.Beta1 (build: CVSTag=https://svn.jboss.org/repos/jbossas/tags/JBoss_5_0_0_Beta1 date=200611191849)] Started in 1m:48s:699ms
01:44:53,708 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: /index.jsp(15,15) According to TLD or attribute directive in tag file, attribute value does not accept any expressions
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:406)
at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:147)
at org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1044)
at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:818)
Index.jsp :
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://jboss.com/products/seam/taglib" prefix="s" %>
Login New User
<f:view>
<h:form>
<s:validateAll>
Username
<h:inputText value="#{backOfficeLoginController.username}"/>
Password
<h:inputSecret value="#{backOfficeLoginController.password}"/>
</s:validateAll>
<h:messages/>
<h:commandButton type="submit" value="Login" action="#{backOfficeLoginController.login}"/>
</h:form>
</f:view>
My bean :
@Stateful
@Name("backOfficeLoginController")
public class LoginController extends PresentationController implements LoginControllerInterface {
@Logger
private Log log;
private LoginModule loginModule;
....
}
My environment :
JBoss 5.0.0Beta1
Maven2
Seam 1.2.1GA
MyFaces 1.1.4 (install as manifest dependency for webapp)
I suppose that my ejb well deployed (see jboss log) but my main supposition is that the JSF/JSP engine produce the error.
Do you have any ideas where the problem comes from ?
I will try to put directly the myfaces jar directly in WEB-INF/lib to see wha happen.
Thank you,
Sebastien Boutte
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045246#4045246
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4045246
19 years, 1 month