0 Replies Latest reply on Nov 7, 2006 10:16 AM by David Rabinowitz

    Having problem with the redhat service

    David Rabinowitz Newbie

      I've installed the jbossas-4.0.4GA rpm on RedHat ES 4. Since we want to deploy EJB3 on it, I've copied the "default" profile (under /var/lib/jbossas/server and /etc/jbossas), and changed the relevant symbolic links. when I try to start jboss using

      service jbossas start
      I get "FAILED" as response, allthough the jboss is running (via ps and "service --status-all"). I have removed two xml definitions from the deploy, since they threw exceptions, even tough I've added jboss-cache .jar to the lib directory: ejb3-clustered-sfsbcache-service.xml and ejb3-entity-cache-service.xml.

      The log is as following:


      =========================================================================
      
       JBoss Bootstrap Environment
      
       JBOSS_HOME: /var/lib/jbossas
      
       JAVA: /usr/java/current/bin/java
      
       JAVA_OPTS: -Djboss.partition.udpGroup=228.1.2.3 -Djboss.partition.udpPort=45566 -Djboss.partition.udpGroupHS=230.1.2.7 -Djboss.partition.udpPortHS=45577 -Dprogram.name=run.sh
      
       CLASSPATH: /var/lib/jbossas/bin/run.jar:/usr/java/current/lib/tools.jar
      
      =========================================================================
      
      16:44:34,876 INFO [Server] Starting JBoss (MX MicroKernel)...
      16:44:34,884 INFO [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)
      16:44:34,889 INFO [Server] Home Dir: /var/lib/jbossas
      16:44:34,890 INFO [Server] Home URL: file:/var/lib/jbossas/
      16:44:34,894 INFO [Server] Patch URL: null
      16:44:34,895 INFO [Server] Server Name: ejb3d
      16:44:34,895 INFO [Server] Server Home Dir: /var/lib/jbossas/server/ejb3d
      16:44:34,896 INFO [Server] Server Home URL: file:/var/lib/jbossas/server/ejb3d/
      16:44:34,897 INFO [Server] Server Log Dir: /var/lib/jbossas/server/ejb3d/log
      16:44:34,898 INFO [Server] Server Temp Dir: /var/lib/jbossas/server/ejb3d/tmp
      16:44:34,899 INFO [Server] Root Deployment Filename: jboss-service.xml
      16:44:36,732 INFO [ServerInfo] Java version: 1.5.0_09,Sun Microsystems Inc.
      16:44:36,733 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_09-b01,Sun Microsystems Inc.
      16:44:36,733 INFO [ServerInfo] OS-System: Linux 2.6.9-42.EL,i386
      16:44:38,697 INFO [Server] Core system initialized
      16:44:48,135 INFO [WebService] Using RMI server codebase: http://homer:8083/
      16:44:48,236 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
      16:44:49,660 INFO [NamingService] JNDI bootstrap JNP=/0.0.0.0:1099, RMI=/0.0.0.0:1098, backlog=50, no client SocketFactory, Server SocketFactory=class org.jboss.net.sockets.DefaultSocketFactory
      16:44:57,021 INFO [SocketServerInvoker] Invoker started for locator: InvokerLocator [socket://127.0.0.1:3873/]
      16:45:00,708 INFO [AspectDeployer] Deployed AOP: file:/var/lib/jbossas/server/ejb3d/deploy/ejb3-interceptors-aop.xml
      16:45:07,023 INFO [Embedded] Catalina naming disabled
      16:45:07,370 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
      16:45:07,392 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
      16:45:09,048 INFO [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
      16:45:09,060 INFO [Catalina] Initialization processed in 1666 ms
      16:45:09,062 INFO [StandardService] Starting service jboss.web
      16:45:09,086 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.17
      16:45:09,266 INFO [StandardHost] XML validation disabled
      16:45:09,409 INFO [Catalina] Server startup in 348 ms
      16:45:10,040 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
      16:45:12,089 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined
      16:45:14,662 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/
      16:45:17,503 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp43463jbossws.sar-contents/jbossws-exp.war/
      16:45:18,269 INFO [SubscriptionManager] Bound event dispatcher to java:/EventDispatcher
      16:45:18,698 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
      16:45:27,300 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
      16:45:32,578 INFO [MailService] Mail Service bound to java:/Mail
      16:45:33,560 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
      16:45:33,818 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
      16:45:33,950 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
      16:45:34,162 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
      16:45:34,533 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
      16:45:34,727 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
      16:45:34,976 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar
      16:45:35,027 INFO [QuartzResourceAdapter] start quartz!!!
      16:45:35,461 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
      16:45:35,656 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
      16:45:35,665 INFO [RAMJobStore] RAMJobStore initialized.
      16:45:35,668 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
      16:45:35,669 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
      16:45:35,672 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
      16:45:38,893 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
      16:45:41,499 INFO [A] Bound to JNDI name: queue/A
      16:45:41,516 INFO [B] Bound to JNDI name: queue/B
      16:45:41,535 INFO [C] Bound to JNDI name: queue/C
      16:45:41,550 INFO [D] Bound to JNDI name: queue/D
      16:45:41,568 INFO [ex] Bound to JNDI name: queue/ex
      16:45:41,661 INFO [testTopic] Bound to JNDI name: topic/testTopic
      16:45:41,669 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
      16:45:41,677 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
      16:45:41,691 INFO [testQueue] Bound to JNDI name: queue/testQueue
      16:45:41,998 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
      16:45:42,240 INFO [DLQ] Bound to JNDI name: queue/DLQ
      16:45:43,005 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
      16:45:43,219 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
      16:45:44,767 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
      16:45:45,572 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
      16:45:45,658 INFO [JkMain] Jk running ID=0 time=0/238 config=null
      16:45:45,730 INFO [Server] JBoss (MX MicroKernel) [4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)] Started in 1m:10s:819ms
      


      David