Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
JSP - A mailing list about Java Server Pages specification and reference
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
- Problem installing Embedded Jboss on Tomcat 5.5

- Problem installing Embedded Jboss on Tomcat 5.5

2007-08-08       - By Stateless Bean

 Back
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 (See http://cat-5.ora-code.com).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 Source code of 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 Source code of java.net.URI$Parser.fail(Unknown Source)
 |   at java.net.URI Source code of java.net.URI$Parser.checkChars(Unknown Source)
 |   at java.net.URI Source code of java.net.URI$Parser.parseHierarchical(Unknown Source)
 |   at java.net.URI Source code of java.net.URI$Parser.parse(Unknown Source)
 |   at java.net.URI Source code of java.net.URI(Unknown Source)
 |   at java.net.URL Source code of java.net.URL(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 Source code of java.lang.reflect.Method(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 Source code of org.apache.catalina.util.LifecycleSupport
(LifecycleSupport.java:120)
 |   at org.apache.catalina.core.StandardServer Source code of org.apache.catalina.core.StandardServer(StandardServer.java:693)
 |   at org.apache.catalina.startup.Catalina Source code of org.apache.catalina.startup.Catalina(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 Source code of java.lang.reflect.Method(Unknown Source)
 |   at org.apache.catalina.startup.Bootstrap Source code of org.apache.catalina.startup.Bootstrap(Bootstrap.java:295)
 |   at org.apache.catalina.startup.Bootstrap Source code of org.apache.catalina.startup.Bootstrap(Bootstrap.java:433)
 | java.lang.reflect.InvocationTargetException Source code of 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 Source code of java.lang.reflect.Method(Unknown Source)
 |   at org.apache.catalina.startup.Bootstrap Source code of org.apache.catalina.startup.Bootstrap(Bootstrap.java:295)
 |   at org.apache.catalina.startup.Bootstrap Source code of org.apache.catalina.startup.Bootstrap(Bootstrap.java:433)
 | Caused by: java.lang.RuntimeException Source code of java.lang.RuntimeException.html>java.lang.RuntimeException Source code of java.lang.RuntimeException java.lang.RuntimeException Source code of java.lang.RuntimeException.java.html>Source code of <a href=http://www.docjar.com/docs/api/java/lang/RuntimeException.html>java.lang.RuntimeException</a> <a href=http://www.docjar.com/html/api/java/lang/RuntimeException.java.html><img src=/j.gif alt=' border=0>: java.lang.RuntimeException Source code of java.lang.RuntimeException.html>java.lang.RuntimeException Source code of java.lang.RuntimeException java.lang.RuntimeException Source code of java.lang.RuntimeException.java.html>Source code of <a href=http://www.docjar.com/docs/api/java/lang/RuntimeException.html>java.lang.RuntimeException</a> <a href=http://www.docjar.com/html/api/java/lang/RuntimeException.java.html><img src=/j.gif alt=' border=0>: 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 Source code of org.apache.catalina.util.LifecycleSupport
(LifecycleSupport.java:120)
 |   at org.apache.catalina.core.StandardServer Source code of org.apache.catalina.core.StandardServer(StandardServer.java:693)
 |   at org.apache.catalina.startup.Catalina Source code of org.apache.catalina.startup.Catalina(Catalina.java:552)
 |   ... 6 more
 | Caused by: java.lang.RuntimeException Source code of 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
__ ____ ____ ____ ____ ____ ____ ____ ____ ____
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user

©2008 junlu.com - Jax Systems, LLC, U.S.A.