aspose file tools*
The moose likes JBoss/WildFly and the fly likes Could not Deploy EAR in JBOSS 5.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Could not Deploy EAR in JBOSS 5.0" Watch "Could not Deploy EAR in JBOSS 5.0" New topic
Author

Could not Deploy EAR in JBOSS 5.0

Atharva Gupta
Greenhorn

Joined: Jun 06, 2012
Posts: 18
Hi

When run jboss from eclipse without having EAR deployed, it gets started, logs are shared below :

11:30:08,790 INFO [ServerImpl] Starting JBoss (Microcontainer)...
11:30:08,790 INFO [ServerImpl] Release ID: JBoss [The Oracle] 5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)
11:30:08,790 INFO [ServerImpl] Bootstrap URL: null
11:30:08,805 INFO [ServerImpl] Home Dir: D:\Program Files\Jboss-5.1.0.-jdk
11:30:08,805 INFO [ServerImpl] Home URL: file:/D:/Program%20Files/Jboss-5.1.0.-jdk/
11:30:08,805 INFO [ServerImpl] Library URL: file:/D:/Program%20Files/Jboss-5.1.0.-jdk/lib/
11:30:08,805 INFO [ServerImpl] Patch URL: null
11:30:08,805 INFO [ServerImpl] Common Base URL: file:/D:/Program%20Files/Jboss-5.1.0.-jdk/common/
11:30:08,806 INFO [ServerImpl] Common Library URL: file:/D:/Program%20Files/Jboss-5.1.0.-jdk/common/lib/
11:30:08,806 INFO [ServerImpl] Server Name: default
11:30:08,806 INFO [ServerImpl] Server Base Dir: D:\Program Files\Jboss-5.1.0.-jdk\server
11:30:08,806 INFO [ServerImpl] Server Base URL: file:/D:/Program%20Files/Jboss-5.1.0.-jdk/server/
11:30:08,806 INFO [ServerImpl] Server Config URL: file:/D:/Program%20Files/Jboss-5.1.0.-jdk/server/default/conf/
11:30:08,806 INFO [ServerImpl] Server Home Dir: D:\Program Files\Jboss-5.1.0.-jdk\server\default
11:30:08,806 INFO [ServerImpl] Server Home URL: file:/D:/Program%20Files/Jboss-5.1.0.-jdk/server/default/
11:30:08,806 INFO [ServerImpl] Server Data Dir: D:\Program Files\Jboss-5.1.0.-jdk\server\default\data
11:30:08,806 INFO [ServerImpl] Server Library URL: file:/D:/Program%20Files/Jboss-5.1.0.-jdk/server/default/lib/
11:30:08,806 INFO [ServerImpl] Server Log Dir: D:\Program Files\Jboss-5.1.0.-jdk\server\default\log
11:30:08,806 INFO [ServerImpl] Server Native Dir: D:\Program Files\Jboss-5.1.0.-jdk\server\default\tmp\native
11:30:08,806 INFO [ServerImpl] Server Temp Dir: D:\Program Files\Jboss-5.1.0.-jdk\server\default\tmp
11:30:08,806 INFO [ServerImpl] Server Temp Deploy Dir: D:\Program Files\Jboss-5.1.0.-jdk\server\default\tmp\deploy
11:30:09,228 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/D:/Program%20Files/Jboss-5.1.0.-jdk/server/default/conf/bootstrap.xml
11:30:09,586 INFO [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.CombinedVFSCache]
11:30:09,586 INFO [VFSCacheFactory] Using VFSCache [CombinedVFSCache[real-cache: null]]
11:30:09,774 INFO [CopyMechanism] VFS temp dir: D:\Program Files\Jboss-5.1.0.-jdk\server\default\tmp
11:30:09,789 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled.
11:30:10,351 INFO [ServerInfo] Java version: 1.6.0_14,Sun Microsystems Inc.
11:30:10,351 INFO [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
11:30:10,351 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 14.0-b16,Sun Microsystems Inc.
11:30:10,351 INFO [ServerInfo] OS-System: Windows 7 6.1,x86
11:30:10,351 INFO [ServerInfo] VM arguments: -Dprogram.name=run.bat -Xms128m -Xmx512m -XX:MaxPermSize=256m -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:60144
11:30:10,367 INFO [JMXKernel] Legacy JMX core initialized
11:30:11,537 INFO [ProfileServiceBootstrap] Loading profile: ProfileKey@508b0e[domain=default, server=default, name=default]
11:30:12,459 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
11:30:16,889 INFO [NativeServerConfig] JBoss Web Services - Stack Native Core
11:30:16,889 INFO [NativeServerConfig] 3.1.2.GA
11:30:17,405 INFO [AttributeCallbackItem] Owner callback not implemented.
11:30:18,278 INFO [LogNotificationListener] Adding notification listener for logging mbean "jboss.system:service=Logging,type=Log4jService" to server org.jboss.mx.server.MBeanServerImpl@150c5f5[ defaultDomain='jboss' ]
11:30:27,655 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@8079584{vfsfile:/D:/Program%20Files/Jboss-5.1.0.-jdk/server/default/deploy/profileservice-secured.jar/}
11:30:27,655 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@8079584{vfsfile:/D:/Program%20Files/Jboss-5.1.0.-jdk/server/default/deploy/profileservice-secured.jar/}
11:30:27,655 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@8079584{vfsfile:/D:/Program%20Files/Jboss-5.1.0.-jdk/server/default/deploy/profileservice-secured.jar/}
11:30:27,655 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@8079584{vfsfile:/D:/Program%20Files/Jboss-5.1.0.-jdk/server/default/deploy/profileservice-secured.jar/}
11:30:30,495 INFO [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://127.0.0.1/jndi/rmi://127.0.0.1:1090/jmxconnector
11:30:30,730 INFO [MailService] Mail Service bound to java:/Mail
11:30:33,600 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.
11:30:33,601 WARN [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
11:30:33,695 WARN [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
11:30:33,757 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version - tag:JBOSSTS_4_6_1_GA) - JBoss Inc.
11:30:33,757 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
11:30:34,085 INFO [TransactionManagerService] Initializing recovery manager
11:30:34,194 INFO [TransactionManagerService] Recovery manager configured
11:30:34,194 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
11:30:34,241 INFO [TransactionManagerService] Starting transaction recovery manager
11:30:34,709 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\Java\jdk1.6.0_14\jre\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Java\jdk1.6.0_14\jre\bin;C:\Program Files\Java\jdk1.6.0_14\bin\..\jre\bin\client;C:\Program Files\Java\jdk1.6.0_14\bin\..\jre\bin;C:\Program Files\Java\jdk1.6.0_14\bin;D:\Oracle\product\10.1.0\Client_1\bin;D:\Oracle\product\10.1.0\Client_1\jre\1.4.2\bin\client;D:\Oracle\product\10.1.0\Client_1\jre\1.4.2\bin;C:\Program Files\CA\SC\CAWIN\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\Common Files\Lenovo;C:\SWTOOLS\ReadyApps;C:\PROGRA~1\CA\SC\CAM\bin;C:\Program Files\CA\SC\Csam\SockAdapter\bin;C:\Program Files\CA\DSM\bin;C:\Program Files\CA\SC\CBB\;D:\Program Files\TortoiseSVN\bin
11:30:34,757 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8089
11:30:34,757 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
11:30:34,803 INFO [StandardService] Starting service jboss.web
11:30:34,803 INFO [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.3.GA
11:30:34,866 INFO [Catalina] Server startup in 108 ms
11:30:34,897 INFO [TomcatDeployment] deploy, ctxPath=/web-console
11:30:36,036 INFO [TomcatDeployment] deploy, ctxPath=/jbossws
11:30:36,084 INFO [TomcatDeployment] deploy, ctxPath=/invoker
11:30:36,193 INFO [RARDeployment] Required license terms exist, view vfszip:/D:/Program Files/Jboss-5.1.0.-jdk/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
11:30:36,208 INFO [RARDeployment] Required license terms exist, view vfszip:/D:/Program Files/Jboss-5.1.0.-jdk/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
11:30:36,224 INFO [RARDeployment] Required license terms exist, view vfszip:/D:/Program Files/Jboss-5.1.0.-jdk/server/default/deploy/jms-ra.rar/META-INF/ra.xml
11:30:36,240 INFO [RARDeployment] Required license terms exist, view vfszip:/D:/Program Files/Jboss-5.1.0.-jdk/server/default/deploy/mail-ra.rar/META-INF/ra.xml
11:30:36,271 INFO [RARDeployment] Required license terms exist, view vfszip:/D:/Program Files/Jboss-5.1.0.-jdk/server/default/deploy/quartz-ra.rar/META-INF/ra.xml
11:30:36,380 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
11:30:36,411 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
11:30:36,411 INFO [RAMJobStore] RAMJobStore initialized.
11:30:36,411 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
11:30:36,411 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
11:30:36,411 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
11:30:37,191 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'javaefaultDS'
11:30:37,613 INFO [ServerPeer] JBoss Messaging 1.4.3.GA server [0] started
11:30:37,691 INFO [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
11:30:37,769 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
11:30:37,769 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@5c114a started
11:30:37,769 INFO [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
11:30:37,769 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
11:30:37,769 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@91834 started
11:30:37,769 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
11:30:37,769 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
11:30:37,769 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
11:30:37,769 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@1b4e740 started
11:30:37,894 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
11:30:38,362 INFO [JBossASKernel] Created KernelDeployment for: profileservice-secured.jar
11:30:38,362 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3
11:30:38,362 INFO [JBossASKernel] with dependencies:
11:30:38,362 INFO [JBossASKernel] and demands:
11:30:38,362 INFO [JBossASKernel] jndi:SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView
11:30:38,362 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
11:30:38,362 INFO [JBossASKernel] and supplies:
11:30:38,362 INFO [JBossASKernel] Classrg.jboss.profileservice.spi.ProfileService
11:30:38,363 INFO [JBossASKernel] jndi:SecureProfileService/remote
11:30:38,363 INFO [JBossASKernel] jndi:SecureProfileService/remote-org.jboss.profileservice.spi.ProfileService
11:30:38,363 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3) to KernelDeployment of: profileservice-secured.jar
11:30:38,363 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3
11:30:38,363 INFO [JBossASKernel] with dependencies:
11:30:38,363 INFO [JBossASKernel] and demands:
11:30:38,363 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
11:30:38,363 INFO [JBossASKernel] and supplies:
11:30:38,363 INFO [JBossASKernel] jndi:SecureDeploymentManager/remote-org.jboss.deployers.spi.management.deploy.DeploymentManager
11:30:38,363 INFO [JBossASKernel] Classrg.jboss.deployers.spi.management.deploy.DeploymentManager
11:30:38,363 INFO [JBossASKernel] jndi:SecureDeploymentManager/remote
11:30:38,363 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3) to KernelDeployment of: profileservice-secured.jar
11:30:38,363 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3
11:30:38,363 INFO [JBossASKernel] with dependencies:
11:30:38,363 INFO [JBossASKernel] and demands:
11:30:38,363 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
11:30:38,363 INFO [JBossASKernel] and supplies:
11:30:38,363 INFO [JBossASKernel] jndi:SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView
11:30:38,363 INFO [JBossASKernel] Classrg.jboss.deployers.spi.management.ManagementView
11:30:38,363 INFO [JBossASKernel] jndi:SecureManagementView/remote
11:30:38,363 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3) to KernelDeployment of: profileservice-secured.jar
11:30:38,363 INFO [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@5c15c{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}
11:30:38,363 INFO [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@65fa55{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}
11:30:38,363 INFO [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@fb810a{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}
11:30:38,457 INFO [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3
11:30:38,457 INFO [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureDeploymentManager ejbName: SecureDeploymentManager
11:30:38,504 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

11:30:38,566 INFO [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3
11:30:38,566 INFO [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureManagementView ejbName: SecureManagementView
11:30:38,566 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

11:30:38,597 INFO [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3
11:30:38,613 INFO [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureProfileServiceBean ejbName: SecureProfileService
11:30:38,613 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

11:30:38,753 INFO [TomcatDeployment] deploy, ctxPath=/admin-console
11:30:38,847 INFO [config] Initializing Mojarra (1.2_12-b01-FCS) for context '/admin-console'
11:30:40,953 INFO [TomcatDeployment] deploy, ctxPath=/
11:30:41,063 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console
11:30:41,157 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8089
11:30:41,172 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
11:30:41,172 INFO [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)] Started in 32s:366ms


But when I deploy my EAR to the jboss server, it could not even start the server, and popup is open having
( Publishing to JBOSS 5.0... (Time of error: ) Reason java.lang.NullPointerException ) this message.

can any body help me on deploying EAR Successfully.

Thanks & Regards,
Atharv Gupta.
Atharva Gupta
Greenhorn

Joined: Jun 06, 2012
Posts: 18
find the attached image of the following error

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Could not Deploy EAR in JBOSS 5.0