0 Replies Latest reply on Dec 7, 2011 1:08 AM by ming chan

    deploy in Eclipse problem

    ming chan Newbie
      I am new to Seam. I try to start a new Seam 2 Web Project from Eclipse and connect to MySql 5.5 database. Then, I reverse the entities from my database GOBS. Everything is fine, but when I try to run it. I can’t get it deploy.

      I right click the project name, select Run as -> Run on Server. The JBoss AS 5.1 server start up success. But when I try to access the page, I found the the project GOBS is not deploy to C:\jboss51\server\default\deploy directory.

      Thanks

      Eclipse – Indigo Service Release 1
      JBoss AS 5.1
      Mysql – 5.5
      Seam – 2.2
      http://seamframework.org/Community/SeamUsersForum?showTopicForm=true#

      14:01:34,555 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
      14:01:34,556 INFO  [ServerImpl] Release ID: JBoss [The Oracle] 5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053)
      14:01:34,556 INFO  [ServerImpl] Bootstrap URL: null
      14:01:34,556 INFO  [ServerImpl] Home Dir: C:\jboss51
      14:01:34,556 INFO  [ServerImpl] Home URL: file:/C:/jboss51/
      14:01:34,556 INFO  [ServerImpl] Library URL: file:/C:/jboss51/lib/
      14:01:34,556 INFO  [ServerImpl] Patch URL: null
      14:01:34,556 INFO  [ServerImpl] Common Base URL: file:/C:/jboss51/common/
      14:01:34,557 INFO  [ServerImpl] Common Library URL: file:/C:/jboss51/common/lib/
      14:01:34,557 INFO  [ServerImpl] Server Name: default
      14:01:34,557 INFO  [ServerImpl] Server Base Dir: C:\jboss51\server
      14:01:34,557 INFO  [ServerImpl] Server Base URL: file:/C:/jboss51/server/
      14:01:34,557 INFO  [ServerImpl] Server Config URL: file:/C:/jboss51/server/default/conf/
      14:01:34,557 INFO  [ServerImpl] Server Home Dir: C:\jboss51\server\default
      14:01:34,557 INFO  [ServerImpl] Server Home URL: file:/C:/jboss51/server/default/
      14:01:34,557 INFO  [ServerImpl] Server Data Dir: C:\jboss51\server\default\data
      14:01:34,557 INFO  [ServerImpl] Server Library URL: file:/C:/jboss51/server/default/lib/
      14:01:34,557 INFO  [ServerImpl] Server Log Dir: C:\jboss51\server\default\log
      14:01:34,557 INFO  [ServerImpl] Server Native Dir: C:\jboss51\server\default\tmp\native
      14:01:34,557 INFO  [ServerImpl] Server Temp Dir: C:\jboss51\server\default\tmp
      14:01:34,557 INFO  [ServerImpl] Server Temp Deploy Dir: C:\jboss51\server\default\tmp\deploy
      14:01:34,842 INFO  [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/jboss51/server/default/conf/bootstrap.xml
      14:01:35,076 INFO  [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.CombinedVFSCache]
      14:01:35,078 INFO  [VFSCacheFactory] Using VFSCache [CombinedVFSCache[real-cache: null]]
      14:01:35,198 INFO  [CopyMechanism] VFS temp dir: C:\jboss51\server\default\tmp
      14:01:35,200 INFO  [ZipEntryContext] VFS force nested jars copy-mode is enabled.
      14:01:35,621 INFO  [ServerInfo] Java version: 1.6.0_29,Sun Microsystems Inc.
      14:01:35,621 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
      14:01:35,621 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 20.4-b02,Sun Microsystems Inc.
      14:01:35,621 INFO  [ServerInfo] OS-System: Windows 7 6.1,x86
      14:01:35,621 INFO  [ServerInfo] VM arguments: -Dprogram.name=JBossTools: JBoss 5.1 Runtime -Xms256m -Xmx768m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.endorsed.dirs=C:\jboss51\lib\endorsed -Dfile.encoding=MS950_HKSCS
      14:01:35,637 INFO  [JMXKernel] Legacy JMX core initialized
      14:01:36,353 INFO  [ProfileServiceBootstrap] Loading profile: ProfileKey@1ca1837[domain=default, server=default, name=default]
      14:01:37,065 INFO  [WebService] Using RMI server codebase: http://localhost:8083/
      14:01:39,553 INFO  [NativeServerConfig] JBoss Web Services - Stack Native Core
      14:01:39,554 INFO  [NativeServerConfig] 3.1.2.GA
      14:01:39,726 INFO  [AttributeCallbackItem] Owner callback not implemented.
      14:01:40,464 INFO  [LogNotificationListener] Adding notification listener for logging mbean "jboss.system:service=Logging,type=Log4jService" to server org.jboss.mx.server.MBeanServerImpl@13a1778[ defaultDomain='jboss' ]
      14:01:45,277 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@14029950{vfsfile:/C:/jboss51/server/default/deploy/profileservice-secured.jar/}
      14:01:45,277 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@14029950{vfsfile:/C:/jboss51/server/default/deploy/profileservice-secured.jar/}
      14:01:45,278 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@14029950{vfsfile:/C:/jboss51/server/default/deploy/profileservice-secured.jar/}
      14:01:45,278 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@14029950{vfsfile:/C:/jboss51/server/default/deploy/profileservice-secured.jar/}
      14:01:47,112 INFO  [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://localhost/jndi/rmi://localhost:1090/jmxconnector
      14:01:47,173 INFO  [MailService] Mail Service bound to java:/Mail
      14:01:48,990 WARN  [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected 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 instructions on how to do this.
      14:01:48,999 WARN  [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
      14:01:49,038 WARN  [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
      14:01:49,061 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA version - tag:JBOSSTS_4_6_1_GA) - JBoss Inc.
      14:01:49,062 INFO  [TransactionManagerService] Setting up property manager MBean and JMX layer
      14:01:49,168 INFO  [TransactionManagerService] Initializing recovery manager
      14:01:49,191 WARN  [arjLoggerI18N] [com.arjuna.ats.arjuna.recovery.ActionStatusService_2] - Other Exception: java.lang.NullPointerException
      14:01:49,191 ERROR [STDERR] java.lang.NullPointerException
      14:01:49,191 ERROR [STDERR]     at com.arjuna.ats.arjuna.recovery.ActionStatusService.doWork(ActionStatusService.java:123)
      14:01:49,191 ERROR [STDERR]     at com.arjuna.ats.internal.arjuna.recovery.Connection.run(Connection.java:83)
      14:01:49,194 WARN  [arjLoggerI18N] [com.arjuna.ats.arjuna.recovery.ActionStatusService_2] - Other Exception: java.lang.NullPointerException
      14:01:49,195 ERROR [STDERR] java.lang.NullPointerException
      14:01:49,195 ERROR [STDERR]     at com.arjuna.ats.arjuna.recovery.ActionStatusService.doWork(ActionStatusService.java:123)
      14:01:49,195 ERROR [STDERR]     at com.arjuna.ats.internal.arjuna.recovery.Connection.run(Connection.java:83)
      14:01:49,232 INFO  [TransactionManagerService] Recovery manager configured
      14:01:49,232 INFO  [TransactionManagerService] Binding TransactionManager JNDI Reference
      14:01:49,245 INFO  [TransactionManagerService] Starting transaction recovery manager
      14:01:49,494 INFO  [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files (x86)\Java\jre6\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;native;.
      14:01:49,529 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080
      14:01:49,533 INFO  [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-localhost%2F127.0.0.1-8009
      14:01:49,546 INFO  [StandardService] Starting service jboss.web
      14:01:49,547 INFO  [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.3.GA
      14:01:49,573 INFO  [Catalina] Server startup in 39 ms
      14:01:49,584 INFO  [TomcatDeployment] deploy, ctxPath=/web-console
      14:01:50,273 INFO  [TomcatDeployment] deploy, ctxPath=/invoker
      14:01:50,310 INFO  [TomcatDeployment] deploy, ctxPath=/jbossws
      14:01:50,369 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/jboss51/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
      14:01:50,378 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/jboss51/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
      14:01:50,389 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/jboss51/server/default/deploy/jms-ra.rar/META-INF/ra.xml
      14:01:50,398 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/jboss51/server/default/deploy/mail-ra.rar/META-INF/ra.xml
      14:01:50,409 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/jboss51/server/default/deploy/quartz-ra.rar/META-INF/ra.xml
      14:01:50,448 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: main
      14:01:50,462 INFO  [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
      14:01:50,463 INFO  [RAMJobStore] RAMJobStore initialized.
      14:01:50,463 INFO  [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
      14:01:50,464 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.5.2
      14:01:50,464 INFO  [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
      14:01:50,692 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
      14:01:51,232 INFO  [ServerPeer] JBoss Messaging 1.4.3.GA server [0] started
      14:01:51,275 INFO  [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
      14:01:51,279 INFO  [ConnectionFactoryJNDIMapper] supportsFailover attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support failover
      14:01:51,279 INFO  [ConnectionFactoryJNDIMapper] supportsLoadBalancing attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support load balancing
      14:01:51,302 INFO  [ConnectionFactory] Connector bisocket://localhost:4457 has leasing enabled, lease period 10000 milliseconds
      14:01:51,302 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@6e8f1 started
      14:01:51,303 INFO  [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
      14:01:51,304 INFO  [ConnectionFactory] Connector bisocket://localhost:4457 has leasing enabled, lease period 10000 milliseconds
      14:01:51,304 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@8aca78 started
      14:01:51,305 INFO  [ConnectionFactory] Connector bisocket://localhost:4457 has leasing enabled, lease period 10000 milliseconds
      14:01:51,305 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@11ece4c started
      14:01:51,352 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
      14:01:51,518 INFO  [JBossASKernel] Created KernelDeployment for: profileservice-secured.jar
      14:01:51,521 INFO  [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3
      14:01:51,521 INFO  [JBossASKernel]   with dependencies:
      14:01:51,521 INFO  [JBossASKernel]   and demands:
      14:01:51,521 INFO  [JBossASKernel]      jndi:SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView
      14:01:51,521 INFO  [JBossASKernel]      jboss.ejb:service=EJBTimerService
      14:01:51,521 INFO  [JBossASKernel]   and supplies:
      14:01:51,521 INFO  [JBossASKernel]      Class:org.jboss.profileservice.spi.ProfileService
      14:01:51,521 INFO  [JBossASKernel]      jndi:SecureProfileService/remote
      14:01:51,521 INFO  [JBossASKernel]      jndi:SecureProfileService/remote-org.jboss.profileservice.spi.ProfileService
      14:01:51,521 INFO  [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3) to KernelDeployment of: profileservice-secured.jar
      14:01:51,522 INFO  [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3
      14:01:51,522 INFO  [JBossASKernel]   with dependencies:
      14:01:51,522 INFO  [JBossASKernel]   and demands:
      14:01:51,522 INFO  [JBossASKernel]      jboss.ejb:service=EJBTimerService
      14:01:51,522 INFO  [JBossASKernel]   and supplies:
      14:01:51,522 INFO  [JBossASKernel]      jndi:SecureDeploymentManager/remote-org.jboss.deployers.spi.management.deploy.DeploymentManager
      14:01:51,522 INFO  [JBossASKernel]      Class:org.jboss.deployers.spi.management.deploy.DeploymentManager
      14:01:51,522 INFO  [JBossASKernel]      jndi:SecureDeploymentManager/remote
      14:01:51,522 INFO  [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3) to KernelDeployment of: profileservice-secured.jar
      14:01:51,522 INFO  [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3
      14:01:51,523 INFO  [JBossASKernel]   with dependencies:
      14:01:51,523 INFO  [JBossASKernel]   and demands:
      14:01:51,523 INFO  [JBossASKernel]      jboss.ejb:service=EJBTimerService
      14:01:51,523 INFO  [JBossASKernel]   and supplies:
      14:01:51,523 INFO  [JBossASKernel]      jndi:SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView
      14:01:51,523 INFO  [JBossASKernel]      Class:org.jboss.deployers.spi.management.ManagementView
      14:01:51,523 INFO  [JBossASKernel]      jndi:SecureManagementView/remote
      14:01:51,523 INFO  [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3) to KernelDeployment of: profileservice-secured.jar
      14:01:51,526 INFO  [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@7a8bd9{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
      14:01:51,526 INFO  [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@19d50bc{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
      14:01:51,526 INFO  [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@12b36f{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
      14:01:51,572 INFO  [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3
      14:01:51,576 INFO  [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureDeploymentManager ejbName: SecureDeploymentManager
      14:01:51,599 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

              SecureDeploymentManager/remote - EJB3.x Default Remote Business Interface
              SecureDeploymentManager/remote-org.jboss.deployers.spi.management.deploy.DeploymentManager - EJB3.x Remote Business Interface

      14:01:51,634 INFO  [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3
      14:01:51,635 INFO  [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureManagementView ejbName: SecureManagementView
      14:01:51,642 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

              SecureManagementView/remote - EJB3.x Default Remote Business Interface
              SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView - EJB3.x Remote Business Interface

      14:01:51,666 INFO  [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3
      14:01:51,667 INFO  [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureProfileServiceBean ejbName: SecureProfileService
      14:01:51,673 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

              SecureProfileService/remote - EJB3.x Default Remote Business Interface
              SecureProfileService/remote-org.jboss.profileservice.spi.ProfileService - EJB3.x Remote Business Interface

      14:01:51,767 INFO  [TomcatDeployment] deploy, ctxPath=/admin-console
      14:01:51,816 INFO  [config] Initializing Mojarra (1.2_12-b01-FCS) for context '/admin-console'
      14:01:53,305 INFO  [TomcatDeployment] deploy, ctxPath=/
      14:01:53,337 INFO  [TomcatDeployment] deploy, ctxPath=/jmx-console
      14:01:53,384 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080
      14:01:53,399 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-localhost%2F127.0.0.1-8009
      14:01:53,402 INFO  [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053)] Started in 18s:844ms