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
 
- JBoss 4.2 Installation

- JBoss 4.2 Installation

2007-07-15       - By pablomartinviva

 Back
Hi to all of you. I'm Pablo Viva from Argentina and I'm new to JBoss.
I was having problems on intalling and running JBoss 4.2 under Fedora 7 Linux-

I'm running Fedora 7 Linux with Sun JDK 1.5.0 update 12 and JBoss 4.2.0 GA. The
problem I'm ussuing is this when I uncompress Jboss under /opt and start it
using ./run.sh:

=========================================================================

 JBoss Bootstrap Environment

 JBOSS_HOME: /opt/jboss-4 (See http://oss-4.ora-code.com).2.0

 JAVA: /opt/jdk-1 (See http://jdk-1.ora-code.com).5/bin/java

 JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m -Dsun.rmi.dgc
.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net
.preferIPv4Stack=true

 CLASSPATH: /opt/jboss-4 (See http://oss-4.ora-code.com).2.0/bin/run.jar:/opt/jdk-1 (See http://jdk-1.ora-code.com).5/lib/tools.jar

=========================================================================

00:24:43,357 INFO  [Server] Starting JBoss (MX MicroKernel)...
00:24:43,358 INFO  [Server] Release ID: JBoss [Trinity] 4.2.0.GA (build: SVNTag
=JBoss_4_2_0_GA date=200705111440)
00:24:43,359 INFO  [Server] Home Dir: /opt/jboss-4 (See http://oss-4.ora-code.com).2.0
00:24:43,359 INFO  [Server] Home URL: file:/opt/jboss-4 (See http://oss-4.ora-code.com).2.0/
00:24:43,360 INFO  [Server] Patch URL: null
00:24:43,361 INFO  [Server] Server Name: default
00:24:43,361 INFO  [Server] Server Home Dir: /opt/jboss-4 (See http://oss-4.ora-code.com).2.0/server/default
00:24:43,361 INFO  [Server] Server Home URL: file:/opt/jboss-4 (See http://oss-4.ora-code.com).2.0/server
/default/
00:24:43,362 INFO  [Server] Server Log Dir: /opt/jboss-4 (See http://oss-4.ora-code.com).2.0/server/default/log
00:24:43,362 INFO  [Server] Server Temp Dir: /opt/jboss-4 (See http://oss-4.ora-code.com).2.0/server/default/tmp
00:24:43,363 INFO  [Server] Root Deployment Filename: jboss-service.xml
00:24:43,847 INFO  [ServerInfo] Java version: 1.5.0_12,Sun Microsystems Inc.
00:24:43,848 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_12
-b04,Sun Microsystems Inc.
00:24:43,848 INFO  [ServerInfo] OS-System: Linux 2.6.21-1.3228.fc7,i386
00:24:44,907 INFO  [Server] Core system initialized
00:24:48,954 WARN  [BasicMBeanRegistry] javax.management
.MBeanRegistrationException: preRegister() failed: [ObjectName='jboss.remoting
:service=NetworkRegistry', Class=org.jboss.remoting.network.NetworkRegistry (org
.jboss.remoting.network.NetworkRegistry@(protected))]
00:24:48,990 ERROR [MainDeployer] Could not create deployment: file:/opt/jboss
-4.2.0/server/default/conf/jboss-service.xml
org.jboss.deployment.DeploymentException Source code of org.jboss.deployment.DeploymentException: - nested throwable: (java.lang
.reflect.InvocationTargetException)
       at org.jboss.system.ServiceConfigurator Source code of org.jboss.system.ServiceConfigurator(ServiceConfigurator
.java:196)
       at org.jboss.system.ServiceController Source code of org.jboss.system.ServiceController(ServiceController.java
:226)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method Source code of java.lang.reflect.Method(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke
(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker
.java:264)
       at org.jboss.mx.server.MBeanServerImpl Source code of org.jboss.mx.server.MBeanServerImpl(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt Source code of org.jboss.mx.util.MBeanProxyExt(MBeanProxyExt.java:210)
       at $Proxy4.install(Unknown Source)
       at org.jboss.deployment.SARDeployer Source code of org.jboss.deployment.SARDeployer(SARDeployer.java:249)
       at org.jboss.deployment.MainDeployer Source code of org.jboss.deployment.MainDeployer(MainDeployer.java:969)
       at org.jboss.deployment.MainDeployer Source code of org.jboss.deployment.MainDeployer(MainDeployer.java:818)
       at org.jboss.deployment.MainDeployer Source code of org.jboss.deployment.MainDeployer(MainDeployer.java:782)
       at org.jboss.deployment.MainDeployer Source code of org.jboss.deployment.MainDeployer(MainDeployer.java:766)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method Source code of java.lang.reflect.Method(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke
(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.interceptor.AbstractInterceptor Source code of org.jboss.mx.interceptor.AbstractInterceptor
(AbstractInterceptor.java:133)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke
(ModelMBeanOperationInterceptor.java:142)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker
.java:264)
       at org.jboss.mx.server.MBeanServerImpl Source code of org.jboss.mx.server.MBeanServerImpl(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt Source code of org.jboss.mx.util.MBeanProxyExt(MBeanProxyExt.java:210)
       at $Proxy5.deploy(Unknown Source)
       at org.jboss.system.server.ServerImpl Source code of org.jboss.system.server.ServerImpl(ServerImpl.java:482)
       at org.jboss.system.server.ServerImpl Source code of org.jboss.system.server.ServerImpl(ServerImpl.java:362)
       at org.jboss.Main Source code of org.jboss.Main(Main.java:200)
       at org.jboss.Main Source code of org.jboss.Main$1.run(Main.java:508)
       at java.lang.Thread Source code of java.lang.Thread(Thread.java:595)
Caused by: java.lang.reflect.InvocationTargetException Source code of java.lang.reflect.InvocationTargetException
       at org.jboss.mx.server.MBeanServerImpl Source code of org.jboss.mx.server.MBeanServerImpl(MBeanServerImpl
.java:1451)
       at org.jboss.mx.server.MBeanServerImpl Source code of org.jboss.mx.server.MBeanServerImpl(MBeanServerImpl
.java:1350)
       at org.jboss.mx.server.MBeanServerImpl Source code of org.jboss.mx.server.MBeanServerImpl(MBeanServerImpl.java
:345)
       at org.jboss.system.ServiceCreator Source code of org.jboss.system.ServiceCreator(ServiceCreator.java:157)
       at org.jboss.system.ServiceConfigurator Source code of org.jboss.system.ServiceConfigurator
(ServiceConfigurator.java:449)
       at org.jboss.system.ServiceConfigurator Source code of org.jboss.system.ServiceConfigurator(ServiceConfigurator
.java:171)
       ... 36 more
Caused by: javax.management.MBeanException Source code of javax.management.MBeanException
       at org.jboss.mx.interceptor.ReflectedDispatcher
.handleInvocationExceptions(ReflectedDispatcher.java:180)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke
(ReflectedDispatcher.java:163)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.interceptor.AbstractInterceptor Source code of org.jboss.mx.interceptor.AbstractInterceptor
(AbstractInterceptor.java:133)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke
(ModelMBeanOperationInterceptor.java:142)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker
.java:264)
       at org.jboss.mx.server.MBeanServerImpl Source code of org.jboss.mx.server.MBeanServerImpl(MBeanServerImpl.java:659)
       at org.jboss.mx.server.MBeanServerImpl Source code of org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1422)
       at java.security.AccessController Source code of java.security.AccessController(Native Method)
       at org.jboss.mx.server.MBeanServerImpl Source code of org.jboss.mx.server.MBeanServerImpl(MBeanServerImpl
.java:1417)
       ... 41 more
Caused by: javax.management.MBeanRegistrationException Source code of javax.management.MBeanRegistrationException: preRegister() failed:
[ObjectName='jboss.remoting:service=NetworkRegistry', Class=org.jboss.remoting
.network.NetworkRegistry (org.jboss.remoting.network.NetworkRegistry@(protected))]
       at org.jboss.mx.server.registry.BasicMBeanRegistry Source code of org.jboss.mx.server.registry.BasicMBeanRegistry
(BasicMBeanRegistry.java:713)
       at org.jboss.mx.server.registry.BasicMBeanRegistry Source code of org.jboss.mx.server.registry.BasicMBeanRegistry
(BasicMBeanRegistry.java:211)
       at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method Source code of java.lang.reflect.Method(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke
(ReflectedDispatcher.java:155)
       ... 51 more
Caused by: java.lang.RuntimeException Source code of java.lang.RuntimeException: Exception creating identity: vivasoft:
vivasoft
       at org.jboss.remoting.ident.Identity.get(Identity.java:211)
       at org.jboss.remoting.network.NetworkRegistry.preRegister
(NetworkRegistry.java:268)
       at org.jboss.mx.server.AbstractMBeanInvoker.invokePreRegister
(AbstractMBeanInvoker.java:966)
       at org.jboss.mx.modelmbean.ModelMBeanInvoker Source code of org.jboss.mx.modelmbean.ModelMBeanInvoker
(ModelMBeanInvoker.java:489)
       at org.jboss.mx.server.AbstractMBeanInvoker.preRegister
(AbstractMBeanInvoker.java:654)
       at org.jboss.mx.server.registry.BasicMBeanRegistry Source code of org.jboss.mx.server.registry.BasicMBeanRegistry
(BasicMBeanRegistry.java:697)
       ... 56 more
Failed to boot JBoss:
org.jboss.deployment.DeploymentException Source code of org.jboss.deployment.DeploymentException: - nested throwable: (java.lang
.reflect.InvocationTargetException)
       at org.jboss.system.ServiceConfigurator Source code of org.jboss.system.ServiceConfigurator(ServiceConfigurator
.java:196)
       at org.jboss.system.ServiceController Source code of org.jboss.system.ServiceController(ServiceController.java
:226)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method Source code of java.lang.reflect.Method(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke
(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker
.java:264)
       at org.jboss.mx.server.MBeanServerImpl Source code of org.jboss.mx.server.MBeanServerImpl(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt Source code of org.jboss.mx.util.MBeanProxyExt(MBeanProxyExt.java:210)
       at $Proxy4.install(Unknown Source)
       at org.jboss.deployment.SARDeployer Source code of org.jboss.deployment.SARDeployer(SARDeployer.java:249)
       at org.jboss.deployment.MainDeployer Source code of org.jboss.deployment.MainDeployer(MainDeployer.java:969)
       at org.jboss.deployment.MainDeployer Source code of org.jboss.deployment.MainDeployer(MainDeployer.java:818)
       at org.jboss.deployment.MainDeployer Source code of org.jboss.deployment.MainDeployer(MainDeployer.java:782)
       at org.jboss.deployment.MainDeployer Source code of org.jboss.deployment.MainDeployer(MainDeployer.java:766)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method Source code of java.lang.reflect.Method(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke
(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.interceptor.AbstractInterceptor Source code of org.jboss.mx.interceptor.AbstractInterceptor
(AbstractInterceptor.java:133)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke
(ModelMBeanOperationInterceptor.java:142)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker
.java:264)
       at org.jboss.mx.server.MBeanServerImpl Source code of org.jboss.mx.server.MBeanServerImpl(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt Source code of org.jboss.mx.util.MBeanProxyExt(MBeanProxyExt.java:210)
       at $Proxy5.deploy(Unknown Source)
       at org.jboss.system.server.ServerImpl Source code of org.jboss.system.server.ServerImpl(ServerImpl.java:482)
       at org.jboss.system.server.ServerImpl Source code of org.jboss.system.server.ServerImpl(ServerImpl.java:362)
       at org.jboss.Main Source code of org.jboss.Main(Main.java:200)
       at org.jboss.Main Source code of org.jboss.Main$1.run(Main.java:508)
       at java.lang.Thread Source code of java.lang.Thread(Thread.java:595)
Caused by: java.lang.reflect.InvocationTargetException Source code of java.lang.reflect.InvocationTargetException
       at org.jboss.mx.server.MBeanServerImpl Source code of org.jboss.mx.server.MBeanServerImpl(MBeanServerImpl
.java:1451)
       at org.jboss.mx.server.MBeanServerImpl Source code of org.jboss.mx.server.MBeanServerImpl(MBeanServerImpl
.java:1350)
       at org.jboss.mx.server.MBeanServerImpl Source code of org.jboss.mx.server.MBeanServerImpl(MBeanServerImpl.java
:345)
       at org.jboss.system.ServiceCreator Source code of org.jboss.system.ServiceCreator(ServiceCreator.java:157)
       at org.jboss.system.ServiceConfigurator Source code of org.jboss.system.ServiceConfigurator
(ServiceConfigurator.java:449)
       at org.jboss.system.ServiceConfigurator Source code of org.jboss.system.ServiceConfigurator(ServiceConfigurator
.java:171)
       ... 36 more
Caused by: javax.management.MBeanException Source code of javax.management.MBeanException
       at org.jboss.mx.interceptor.ReflectedDispatcher
.handleInvocationExceptions(ReflectedDispatcher.java:180)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke
(ReflectedDispatcher.java:163)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.interceptor.AbstractInterceptor Source code of org.jboss.mx.interceptor.AbstractInterceptor
(AbstractInterceptor.java:133)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke
(ModelMBeanOperationInterceptor.java:142)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker
.java:264)
       at org.jboss.mx.server.MBeanServerImpl Source code of org.jboss.mx.server.MBeanServerImpl(MBeanServerImpl.java:659)
       at org.jboss.mx.server.MBeanServerImpl Source code of org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1422)
       at java.security.AccessController Source code of java.security.AccessController(Native Method)
       at org.jboss.mx.server.MBeanServerImpl Source code of org.jboss.mx.server.MBeanServerImpl(MBeanServerImpl
.java:1417)
       ... 41 more
Caused by: javax.management.MBeanRegistrationException Source code of javax.management.MBeanRegistrationException: preRegister() failed:
[ObjectName='jboss.remoting:service=NetworkRegistry', Class=org.jboss.remoting
.network.NetworkRegistry (org.jboss.remoting.network.NetworkRegistry@(protected))]
       at org.jboss.mx.server.registry.BasicMBeanRegistry Source code of org.jboss.mx.server.registry.BasicMBeanRegistry
(BasicMBeanRegistry.java:713)
       at org.jboss.mx.server.registry.BasicMBeanRegistry Source code of org.jboss.mx.server.registry.BasicMBeanRegistry
(BasicMBeanRegistry.java:211)
       at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method Source code of java.lang.reflect.Method(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke
(ReflectedDispatcher.java:155)
       ... 51 more
Caused by: java.lang.RuntimeException Source code of java.lang.RuntimeException: Exception creating identity: vivasoft:
vivasoft
       at org.jboss.remoting.ident.Identity.get(Identity.java:211)
       at org.jboss.remoting.network.NetworkRegistry.preRegister
(NetworkRegistry.java:268)
       at org.jboss.mx.server.AbstractMBeanInvoker.invokePreRegister
(AbstractMBeanInvoker.java:966)
       at org.jboss.mx.modelmbean.ModelMBeanInvoker Source code of org.jboss.mx.modelmbean.ModelMBeanInvoker
(ModelMBeanInvoker.java:489)
       at org.jboss.mx.server.AbstractMBeanInvoker.preRegister
(AbstractMBeanInvoker.java:654)
       at org.jboss.mx.server.registry.BasicMBeanRegistry Source code of org.jboss.mx.server.registry.BasicMBeanRegistry
(BasicMBeanRegistry.java:697)
       ... 56 more
00:24:49,146 INFO  [Server] Runtime shutdown hook called, forceHalt: true
00:24:49,147 INFO  [Server] JBoss SHUTDOWN: Undeploying all packages
00:24:49,151 INFO  [Server] Shutdown complete
Shutdown complete
Halting VM


I'm running JBoss logged as root in a console I have read, write an execute
permissons as you can see;

drwxrwxr-x  7 root javadevelopment 4096 2007-05-11 18:28 jboss-4 (See http://oss-4.ora-code.com).2.0

I can run succesfully JBoss 4.2.0 GA under Windows XP with the very same JDK
but in Linux I cannot do it.

If you can please give me a hint of what is the problem I would be greately
appreciate it.

Thanks in advance
Pablo Viva

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode
=reply&p=4064400
__ ____ ____ ____ ____ ____ ____ ____ ____ ____
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user

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