[jboss-user] [JBoss Seam] - Problem installing Embedded Jboss on Tomcat 5.5

Stateless Bean do-not-reply at jboss.com
Wed Aug 8 17:26:49 EDT 2007


Hi,
I installed pure Tomcat 5.5.23 in default path C:\Program Files...
now here is time to install my JBoss Embedded:
1. First I downloaded embedded-jboss-beta2.zip
2. Opened wiki page and like in tutorial
    a) set in to conf/server.xml

<Listener className="org.jboss.embedded.tomcat.EmbeddedJBossBootstrapListener" />

    b) set conf/context.xml

<Listener className="org.jboss.embedded.tomcat.WebinfScanner" />


and coppied files from my zip file like in tutorial for Tomcat 5.5, here is full tree.
anonymous wrote : 
  | apache-tomcat-5.5.20/
  |                common/classes/
  |                         conf/
  |                         deploy/
  |                         deployers/
  |                         log4j.xml
  |                common/lib/
  |                         thirdparty-all.jar
  |                         hibernate-all.jar
  |                         jboss-embedded-all.jar
  |                server/lib/
  |                         jboss-embedded-tomcat-bootstrap.jar
  | 

and after run I get:
anonymous wrote : 
  | ERROR 08-08 23:19:56,562 (AbstractController.java:incrementState:456)  -Error installing to Start: name=ServerConfig state=Create
  | java.net.URISyntaxException: Illegal character in path at index 16: file:/C:/Program Files/Apache Software Foundation/Tomcat 5.5/common/classes/
  | 	at java.net.URI$Parser.fail(Unknown Source)
  | 	at java.net.URI$Parser.checkChars(Unknown Source)
  | 	at java.net.URI$Parser.parseHierarchical(Unknown Source)
  | 	at java.net.URI$Parser.parse(Unknown Source)
  | 	at java.net.URI.(Unknown Source)
  | 	at java.net.URL.toURI(Unknown Source)
  | 	at org.jboss.embedded.adapters.ServerConfig.initializeByFile(ServerConfig.java:93)
  | 	at org.jboss.embedded.adapters.ServerConfig.start(ServerConfig.java:63)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | 	at java.lang.reflect.Method.invoke(Unknown Source)
  | 	at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:55)
  | 	at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:108)
  | 	at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
  | 	at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:103)
  | 	at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:145)
  | 	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.dependency.AbstractKernelController.install(AbstractKernelController.java:84)
  | 	at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:161)
  | 	at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:201)
  | 	at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:214)
  | 	at org.jboss.embedded.tomcat.EmbeddedJBossBootstrapListener.innerStart(EmbeddedJBossBootstrapListener.java:76)
  | 	at org.jboss.embedded.tomcat.EmbeddedJBossBootstrapListener.lifecycleEvent(EmbeddedJBossBootstrapListener.java:55)
  | 	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
  | 	at org.apache.catalina.core.StandardServer.start(StandardServer.java:693)
  | 	at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | 	at java.lang.reflect.Method.invoke(Unknown Source)
  | 	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
  | 	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
  | java.lang.reflect.InvocationTargetException
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | 	at java.lang.reflect.Method.invoke(Unknown Source)
  | 	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
  | 	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
  | Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Unable to bootstrap: 
  | 	at org.jboss.embedded.tomcat.EmbeddedJBossBootstrapListener.innerStart(EmbeddedJBossBootstrapListener.java:82)
  | 	at org.jboss.embedded.tomcat.EmbeddedJBossBootstrapListener.lifecycleEvent(EmbeddedJBossBootstrapListener.java:55)
  | 	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
  | 	at org.apache.catalina.core.StandardServer.start(StandardServer.java:693)
  | 	at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
  | 	... 6 more
  | Caused by: java.lang.RuntimeException: Unable to bootstrap: 
  | 	at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:167)
  | 	at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:201)
  | 	at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:214)
  | 	at org.jboss.embedded.tomcat.EmbeddedJBossBootstrapListener.innerStart(EmbeddedJBossBootstrapListener.java:76)
  | 	... 10 more
  | Caused by: org.jboss.kernel.spi.registry.KernelRegistryEntryNotFoundException: Entry not found with name: MainDeployer
  | 	at org.jboss.kernel.plugins.registry.AbstractKernelRegistry.getEntry(AbstractKernelRegistry.java:89)
  | 	at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:163)
  | 	... 13 more
  | 
  | 

Can anyone tell me what to do, or how correctly install my Embedded JBoss? Maybe I do somethink wrong or not enougth?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072213#4072213

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072213



More information about the jboss-user mailing list