2 Replies Latest reply on May 26, 2009 10:28 AM by Elena Moreno

    pelirr31

    Elena Moreno Newbie

      Hello, I am trying to deploy an aplication, but I have one error in jboss:

      ...
      ===============================================================================

      JBoss Bootstrap Environment

      JBOSS_HOME: C:\Archivos de programa\jboss\jboss-5.0.0.GA

      JAVA: c:\Archivos de programa\Java\jdk1.6.0_13\bin\java

      JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resol
      ver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000

      CLASSPATH: C:\Archivos de programa\jboss\jboss-5.0.0.GA\bin\run.jar

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

      08:10:07,256 INFO [ServerImpl] Starting JBoss (Microcontainer)...
      08:10:07,287 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA
      date=200812042120)
      08:10:07,287 INFO [ServerImpl] Bootstrap URL: null
      08:10:07,287 INFO [ServerImpl] Home Dir: C:\Archivos de programa\jboss\jboss-5.0.0.GA
      08:10:07,287 INFO [ServerImpl] Home URL: file:/C:/Archivos%20de%20programa/jboss/jboss-5.0.0.GA/
      08:10:07,287 INFO [ServerImpl] Library URL: file:/C:/Archivos%20de%20programa/jboss/jboss-5.0.0.GA/
      lib/
      08:10:07,287 INFO [ServerImpl] Patch URL: null
      08:10:07,287 INFO [ServerImpl] Common Base URL: file:/C:/Archivos%20de%20programa/jboss/jboss-5.0.0
      .GA/common/
      08:10:07,287 INFO [ServerImpl] Common Library URL: file:/C:/Archivos%20de%20programa/jboss/jboss-5.
      0.0.GA/common/lib/
      08:10:07,287 INFO [ServerImpl] Server Name: default
      08:10:07,287 INFO [ServerImpl] Server Base Dir: C:\Archivos de programa\jboss\jboss-5.0.0.GA\server

      08:10:07,287 INFO [ServerImpl] Server Base URL: file:/C:/Archivos%20de%20programa/jboss/jboss-5.0.0
      .GA/server/
      08:10:07,287 INFO [ServerImpl] Server Config URL: file:/C:/Archivos%20de%20programa/jboss/jboss-5.0
      .0.GA/server/default/conf/
      08:10:07,287 INFO [ServerImpl] Server Home Dir: C:\Archivos de programa\jboss\jboss-5.0.0.GA\server
      \default
      08:10:07,287 INFO [ServerImpl] Server Home URL: file:/C:/Archivos%20de%20programa/jboss/jboss-5.0.0
      .GA/server/default/
      08:10:07,287 INFO [ServerImpl] Server Data Dir: C:\Archivos de programa\jboss\jboss-5.0.0.GA\server
      \default\data
      08:10:07,287 INFO [ServerImpl] Server Library URL: file:/C:/Archivos%20de%20programa/jboss/jboss-5.
      0.0.GA/server/default/lib/
      08:10:07,287 INFO [ServerImpl] Server Log Dir: C:\Archivos de programa\jboss\jboss-5.0.0.GA\server\
      default\log
      08:10:07,287 INFO [ServerImpl] Server Native Dir: C:\Archivos de programa\jboss\jboss-5.0.0.GA\serv
      er\default\tmp\native
      08:10:07,287 INFO [ServerImpl] Server Temp Dir: C:\Archivos de programa\jboss\jboss-5.0.0.GA\server
      \default\tmp
      08:10:07,287 INFO [ServerImpl] Server Temp Deploy Dir: C:\Archivos de programa\jboss\jboss-5.0.0.GA
      \server\default\tmp\deploy
      08:10:10,660 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/Archivos%20de%20progr
      ama/jboss/jboss-5.0.0.GA/server/default/conf/bootstrap.xml
      08:10:12,724 INFO [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.Iterable
      TimedVFSCache]
      08:10:12,834 INFO [VFSCacheFactory] Using VFSCache [IterableTimedVFSCache{lifetime=1800, resolution
      =60}]
      08:10:13,779 INFO [CopyMechanism] VFS temp dir: C:\Archivos de programa\jboss\jboss-5.0.0.GA\server
      \default\tmp
      08:10:13,874 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled.
      08:10:16,600 INFO [ServerInfo] Java version: 1.6.0_13,Sun Microsystems Inc.
      08:10:16,600 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 11.3-b02,Sun Microsystems Inc.
      08:10:16,600 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
      08:10:16,710 INFO [JMXKernel] Legacy JMX core initialized
      08:10:21,375 INFO [ProfileServiceImpl] Loading profile: default from: org.jboss.system.server.profi
      leservice.repository.SerializableDeploymentRepository@e8eeca(root=C:\Archivos de programa\jboss\jbos
      s-5.0.0.GA\server, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=defaul
      t,name=default])
      08:10:21,375 INFO [ProfileImpl] Using repository:org.jboss.system.server.profileservice.repository.
      SerializableDeploymentRepository@e8eeca(root=C:\Archivos de programa\jboss\jboss-5.0.0.GA\server, ke
      y=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])
      08:10:21,375 INFO [ProfileServiceImpl] Loaded profile: ProfileImpl@3e574{key=org.jboss.profileservi
      ce.spi.ProfileKey@143b82c3[domain=default,server=default,name=default]}
      08:10:25,156 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
      08:10:42,726 INFO [NativeServerConfig] JBoss Web Services - Stack Native Core
      08:10:42,726 INFO [NativeServerConfig] 3.0.4.SP1
      08:10:58,940 INFO [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://127.0.0.1/jnd
      i/rmi://127.0.0.1:1090/jmxconnector
      08:10:59,507 INFO [MailService] Mail Service bound to java:/Mail
      08:11:03,021 WARN [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been dete
      cted that the MessageSucker component which sucks messages from one node to another has not had its
      password changed from the installation default. Please see the JBoss Messaging user guide for instru
      ctions on how to do this.
      08:11:03,053 WARN [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.an
      notation.ManagementComponent
      08:11:03,478 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc
      .
      08:11:03,478 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
      08:11:04,124 INFO [TransactionManagerService] Initializing recovery manager
      08:11:04,818 INFO [TransactionManagerService] Recovery manager configured
      08:11:04,818 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
      08:11:04,881 INFO [TransactionManagerService] Starting transaction recovery manager
      08:11:06,031 INFO [Http11Protocol] Inicializando Coyote HTTP/1.1 en puerto http-127.0.0.1-8080
      08:11:06,031 INFO [AjpProtocol] Inicializando Coyote AJP/1.3 en ajp-127.0.0.1-8009
      08:11:06,031 INFO [StandardService] Arrancando servicio jboss.web
      08:11:06,047 INFO [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.1.GA
      08:11:06,141 INFO [Catalina] Server startup in 253 ms
      08:11:06,173 INFO [TomcatDeployment] deploy, ctxPath=/web-console, vfsUrl=management/console-mgr.sa
      r/web-console.war
      08:11:07,985 INFO [TomcatDeployment] deploy, ctxPath=/jbossws, vfsUrl=jbossws.sar/jbossws-managemen
      t.war
      08:11:08,064 INFO [TomcatDeployment] deploy, ctxPath=/invoker, vfsUrl=http-invoker.sar/invoker.war
      08:11:08,379 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/Archivos de program
      a/jboss/jboss-5.0.0.GA/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
      08:11:08,426 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/Archivos de program
      a/jboss/jboss-5.0.0.GA/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
      08:11:08,473 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/Archivos de program
      a/jboss/jboss-5.0.0.GA/server/default/deploy/jms-ra.rar/META-INF/ra.xml
      08:11:08,505 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/Archivos de program
      a/jboss/jboss-5.0.0.GA/server/default/deploy/mail-ra.rar/META-INF/ra.xml
      08:11:08,599 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/Archivos de program
      a/jboss/jboss-5.0.0.GA/server/default/deploy/quartz-ra.rar/META-INF/ra.xml
      08:11:08,789 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
      08:11:08,852 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
      08:11:08,852 INFO [RAMJobStore] RAMJobStore initialized.
      08:11:08,852 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from
      default resource file in Quartz package: 'quartz.properties'
      08:11:08,852 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
      08:11:08,852 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
      08:11:10,459 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=Data
      SourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
      08:11:11,136 WARN [QuartzTimerServiceFactory] sql failed: CREATE TABLE QRTZ_JOB_DETAILS(JOB_NAME VA
      RCHAR(80) NOT NULL, JOB_GROUP VARCHAR(80) NOT NULL, DESCRIPTION VARCHAR(120) NULL, JOB_CLASS_NAME VA
      RCHAR(128) NOT NULL, IS_DURABLE VARCHAR(1) NOT NULL, IS_VOLATILE VARCHAR(1) NOT NULL, IS_STATEFUL VA
      RCHAR(1) NOT NULL, REQUESTS_RECOVERY VARCHAR(1) NOT NULL, JOB_DATA BINARY NULL, PRIMARY KEY (JOB_NAM
      E,JOB_GROUP))
      08:11:11,231 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
      08:11:11,231 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
      08:11:11,231 INFO [JobStoreCMT] Using db table-based data access locking (synchronization).
      08:11:11,278 INFO [JobStoreCMT] Removed 0 Volatile Trigger(s).
      08:11:11,278 INFO [JobStoreCMT] Removed 0 Volatile Job(s).
      08:11:11,294 INFO [JobStoreCMT] JobStoreCMT initialized.
      08:11:11,294 INFO [StdSchedulerFactory] Quartz scheduler 'JBossEJB3QuartzScheduler' initialized fro
      m an externally provided properties instance.
      08:11:11,294 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
      08:11:11,294 INFO [JobStoreCMT] Freed 0 triggers from 'acquired' / 'blocked' state.
      08:11:11,310 INFO [JobStoreCMT] Recovering 0 jobs that were in-progress at the time of the last shu
      t-down.
      08:11:11,310 INFO [JobStoreCMT] Recovery complete.
      08:11:11,310 INFO [JobStoreCMT] Removed 0 'complete' triggers.
      08:11:11,310 INFO [JobStoreCMT] Removed 0 stale fired job entries.
      08:11:11,325 INFO [QuartzScheduler] Scheduler JBossEJB3QuartzScheduler_$_NON_CLUSTERED started.
      08:11:11,861 INFO [ServerPeer] JBoss Messaging 1.4.1.GA server [0] started
      08:11:12,192 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, leas
      e period 10000 milliseconds
      08:11:12,192 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@5dba
      88 started
      08:11:12,208 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, leas
      e period 10000 milliseconds
      08:11:12,208 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@155f
      a6e started
      08:11:12,224 INFO [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCac
      heSize=2000
      08:11:12,224 INFO [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000,
      downCacheSize=2000
      08:11:12,224 WARN [ConnectionFactoryJNDIMapper] supportsFailover attribute is true on connection fa
      ctory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non c
      lustered. So connection factory will *not* support failover
      08:11:12,224 WARN [ConnectionFactoryJNDIMapper] supportsLoadBalancing attribute is true on connecti
      on factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is
      non clustered. So connection factory will *not* support load balancing 08:11:12,239 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, leas
      e period 10000 milliseconds
      08:11:12,239 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@39f6
      dc started
      08:11:13,279 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=Conn
      ectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
      08:11:13,295 INFO [TomcatDeployment] deploy, ctxPath=/PruebaOsiris, vfsUrl=PruebaOsiris.war
      08:11:13,358 WARN [config] Unable to process deployment descriptor for context '/PruebaOsiris'
      08:11:14,367 INFO [TomcatDeployment] deploy, ctxPath=/, vfsUrl=ROOT.war
      08:11:14,493 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console, vfsUrl=jmx-console.war
      08:11:14,603 INFO [TomcatDeployment] deploy, ctxPath=/solostruts2, vfsUrl=solostruts2.war
      08:11:14,650 WARN [config] Unable to process deployment descriptor for context '/solostruts2'
      08:11:14,824 INFO [Http11Protocol] Arrancando Coyote HTTP/1.1 en puerto http-127.0.0.1-8080
      08:11:14,855 INFO [AjpProtocol] Arrancando Coyote AJP/1.3 en ajp-127.0.0.1-8009
      08:11:14,871 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA date=
      200812042120)] Started in 1m:7s:536ms

      and I can't see my application.war. I have in my app one initial page, in web.xml, but it dont't run. Principal error can be:

      08:11:13,358 WARN [config] Unable to process deployment descriptor for context '/PruebaOsiris'

      and I don`t know why jboss don`t find my app PruebaOsiris.wap. Can you help me ? Thanks, and regards,

        • 1. Re: pelirr31
          Peter Johnson Master

          It did find your app, hence these lines:

          08:11:13,295 INFO [TomcatDeployment] deploy, ctxPath=/PruebaOsiris, vfsUrl=PruebaOsiris.war
          08:11:13,358 WARN [config] Unable to process deployment descriptor for context '/PruebaOsiris'


          Does PruebaOsiris.war contain WEB-INF/web.xml? If not, provide one. If so, please post it.

          When posting XML content, please use the 'code' tags - select the XML text and click the Code button above the editor window. Also, use the Preview button to check the formatting before posting.

          • 2. Re: pelirr31
            Elena Moreno Newbie

            Hello, it contain WEB-INF/web.xml, here is it:

            <?xml version="1.0" encoding="UTF-8"?>
            
            <web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
            
             <jsp-config>
             <taglib>
             <taglib-uri>strutsBean</taglib-uri>
             <taglib-location>/WEB-INF/lib/struts-bean.tld</taglib-location>
             </taglib>
             <taglib>
             <taglib-uri>strutsHtml</taglib-uri>
             <taglib-location>/WEB-INF/lib/struts-html.tld</taglib-location>
             </taglib>
             <taglib>
             <taglib-uri>strutsLogic</taglib-uri>
             <taglib-location>/WEB-INF/lib/struts-logic.tld</taglib-location>
             </taglib>
             <taglib>
             <taglib-uri>strutsForm</taglib-uri>
             <taglib-location>/WEB-INF/lib/struts-form.tld</taglib-location>
             </taglib>
             <taglib>
             <taglib-uri>strutsTemplate</taglib-uri>
             <taglib-location>/WEB-INF/lib/struts-template.tld</taglib-location>
             </taglib>
             </jsp-config>
            
             <display-name>PruebaOsiris.war</display-name>
            
             <servlet>
             <servlet-name>action</servlet-name>
             <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
             <!-- com.empresa.aplicacion.ApplicationResources es la localizacion del archivo ".properties"
             del idioma principal de la aplicacion -->
             <init-param>
             <param-name>application</param-name>
             <param-value>org.apache.struts.example.ApplicationResources</param-value>
             <!-- en el manual después viene que en lugar de este value puede ser
             com.empresa.aplication.ApplicationResources -->
             </init-param>
             <init-param>
             <param-name>config</param-name>
             <param-value>/WEB-INF/struts-config.xml</param-value>
             </init-param>
             <!-- Para el nivel de depuración -->
             <init-param>
             <param-name>debug</param-name>
             <param-value>2</param-value>
             </init-param>
             <!-- Clase java de implementación del mapping -->
             <init-param>
             <param-name>mapping</param-name>
             <param-value>org.apache.struts.example.ApplicationMapping</param-value>
             </init-param>
             <init-param>
             <param-name>detail</param-name>
             <param-value>2</param-value>
             </init-param>
             <init-param>
             <param-name>validate</param-name>
             <param-value>true</param-value>
             </init-param>
             <!-- Orden de ejecución cuando el servlet engine es inicializado -->
             <load-on-startup>2</load-on-startup>
             </servlet>
             <servlet-mapping>
             <servlet-name>action</servlet-name>
             <url-pattern>*.do</url-pattern>
             </servlet-mapping>
            
             <welcome-file-list>
             <welcome-file>registro.jsp</welcome-file>
             </welcome-file-list>
            </web-app>
            


            Thanks very much, and regards