D:\Beta\jonas\liferay-portal-6.1.0\jonas-5.2.1\bin>jonas.bat start JONAS_ROOT is set to D:\Beta\jonas\liferay-portal-6.1.0\jonas-5.2.1 OW2 JOnAS 5.2.1 [ http://jonas.ow2.org / jonas@ow2.org ] JONAS_BASE is set to D:\Beta\jonas\liferay-portal-6.1.0\jonas-5.2.1 Welcome to OW2 JOnAS (Running on Felix v3.0.9). ----------------------------------------------- 11/5/11 1:20:10 AM (I) ExtensionLoaderComponent.__start : Some jars have been found in [D:\Beta\jonas\liferay-portal-6.1.0\jonas-5.2.1\lib\ext]. They have been transformed into bundles (see D:\Beta\jonas\liferay-portal-6.1.0\jonas-5.2.1\work\ext-bundles directory).This is NOT the preferred way to extend JOnAS libraries, prefer to use carefully created and tested bundles, and place them in your deploy/ directory. 11/5/11 1:20:10 AM (I) ExtensionLoaderComponent.__start : file:/D:/Beta/jonas/liferay-portal-6.1.0/jonas-5.2.1/work/ext-bundles/hsql.jar installed as a bundle. 11/5/11 1:20:10 AM (I) ExtensionLoaderComponent.__start : file:/D:/Beta/jonas/liferay-portal-6.1.0/jonas-5.2.1/work/ext-bundles/postgresql.jar installed as a bundle. 11/5/11 1:20:10 AM (I) ExtensionLoaderComponent.__start : file:/D:/Beta/jonas/liferay-portal-6.1.0/jonas-5.2.1/work/ext-bundles/portal-service.jar installed as a bundle. 11/5/11 1:20:10 AM (I) ExtensionLoaderComponent.__start : file:/D:/Beta/jonas/liferay-portal-6.1.0/jonas-5.2.1/work/ext-bundles/mysql.jar installed as a bundle. 11/5/11 1:20:10 AM (I) ExtensionLoaderComponent.__start : file:/D:/Beta/jonas/liferay-portal-6.1.0/jonas-5.2.1/work/ext-bundles/jtds.jar installed as a bundle. 11/5/11 1:20:10 AM (I) ExtensionLoaderComponent.__start : file:/D:/Beta/jonas/liferay-portal-6.1.0/jonas-5.2.1/work/ext-bundles/portlet.jar installed as a bundle. 2011-11-05 01:20:10,673 : NameServiceManager.startNonStartedNS : Name service for jrmp is started on port ' 1099'. 2011-11-05 01:20:10,676 : CarolRegistryService.__doStart : Carol Registry Service started 2011-11-05 01:20:11,013 : JOnASJMXService$2.execute : JMX security is disabled 2011-11-05 01:20:11,014 : JOnASJMXService.__doStart : JMX Service started using connector(s)[service:jmx:rmi://localhost/jndi/rmi://localhost:1099/jrmpconnector_jonas] 2011-11-05 01:20:11,147 : JNDIInterceptorsComponent.__start : JNDI Interceptors component started 2011-11-05 01:20:11,250 : J2EEServer.__setStarting : JVM used is 1.6.0_27 version of Java HotSpot(TM) 64-Bit Server VM-20.2-b06/Sun Microsystems Inc. vendor on Windows 7 6.1/amd64 OS. 2011-11-05 01:20:11,262 : J2EEServer.__info : JOnAS AS v5.2.1 named 'jonas' STARTING 2011-11-05 01:20:11,452 : PolicyProvider.init : Using JOnAS PolicyConfigurationFactory provider and JOnAS Policy provider 2011-11-05 01:20:12,238 : JonasSecurityServiceImpl.__doStart : Security Service started 2011-11-05 01:20:13,249 : JOnASWorkCleanerService.__doStart : WorkCleaner Service started. 2011-11-05 01:20:13,474 : TransactionRecoveryImpl. : JOTM properties file= D:\Beta\jonas\liferay-portal-6.1.0\jonas-5.2.1\conf\jotm.properties 2011-11-05 01:20:13,475 : Current.setDefaultRecovery : Jotm Recovery= false 2011-11-05 01:20:13,483 : JOTMTransactionService.__doStart : TransactionService started, default timeout= 60 2011-11-05 01:20:13,560 : JOnASWorkManagerService.__doStart : WorkManager Service started. 2011-11-05 01:20:13,624 : RARDeployer.doDeploy : Deploying jonas-jca-jdbc-cp-5.2.1.rar 2011-11-05 01:20:13,840 : Rar.processRar : jonas-jca-jdbc-cp-5.2.1.rar available 2011-11-05 01:20:13,853 : RARDeployer.doDeploy : Deploying jonas-jca-jdbc-ds-5.2.1.rar 2011-11-05 01:20:14,010 : Rar.processRar : jonas-jca-jdbc-ds-5.2.1.rar available 2011-11-05 01:20:14,014 : RARDeployer.doDeploy : Deploying jonas-jca-jdbc-dm-5.2.1.rar 2011-11-05 01:20:14,061 : Rar.processRar : jonas-jca-jdbc-dm-5.2.1.rar available 2011-11-05 01:20:14,065 : RARDeployer.doDeploy : Deploying jonas-jca-jdbc-xa-5.2.1.rar 2011-11-05 01:20:14,111 : Rar.processRar : jonas-jca-jdbc-xa-5.2.1.rar available 2011-11-05 01:20:14,113 : JOnASResourceService.__doStart : Resource Service started 2011-11-05 01:20:14,525 : EventComponent.start : started. 2011-11-05 01:20:14,540 : StatisticComponent.start : Statistics component started with factories: [org.ow2.easybeans.statistic.MeanCallTimeStatisticFactory, org.ow2.easybeans.statistic.CallCountStatisticFactory, org.ow2.easybeans.statistic.TotalCallTimeStatisticFactory] 2011-11-05 01:20:14,541 : ComponentManager.startComponents : [ Component(s) started : Quartz Event Carol RemoteJNDIResolver Jmx Statistic ] 2011-11-05 01:20:14,569 : Embedded.start : Startup of EasyBeans '1.2.1.0' was done in '130' ms. 2011-11-05 01:20:15,421 : CXFService.__doStart : Apache CXF 2.2.12 started 2011-11-05 01:20:15,627 : BaseWebContainerService.doStart : OnDemand Feature enabled: Listening on '8080' port (internal:8997). 2011-11-05 01:20:15,850 : Http11Protocol.init : Initializing Coyote HTTP/1.1 on http-8997 2011-11-05 01:20:15,865 : StandardService.start : Starting service jonas 2011-11-05 01:20:15,891 : StandardEngine.start : Starting Servlet Engine: Apache Tomcat/6.0.32 2011-11-05 01:20:15,933 : Http11Protocol.start : Starting Coyote HTTP/1.1 on http-8997 2011-11-05 01:20:16,029 : JOnASEARService.__doStart : EAR Service started 2011-11-05 01:20:16,079 : DeployableMonitorService.__doStart : Use the deploy directories '[]', development mode is 'true' 2011-11-05 01:20:17,716 : DeployableMonitor.detectNewArchives : Deployables to deploy at startup: [[D:\Beta\jonas\liferay-portal-6.1.0\jonas-5.2.1\deploy\joram.xml, D:\Beta\jonas\liferay-portal-6.1.0\jonas-5.2.1\deploy\mejb.xml, D:\Beta\jonas\liferay-portal-6.1.0\jonas-5.2.1\deploy\scout.xml, D:\Beta\jonas\liferay-portal-6.1.0\jonas-5.2.1\deploy\liferay-portal.war, D:\Beta\jonas\liferay-portal-6.1.0\jonas-5.2.1\deploy\tunnel-web.war]] 2011-11-05 01:20:17,810 : RARDeployer.doDeploy : Deploying joram-jca-jonas-5.5.0.rar 2011-11-05 01:20:18,554 : Rar.processRar : joram-jca-jonas-5.5.0.rar available 2011-11-05 01:20:18,864 : EasyBeansDeployer.doDeploy : Deploying 'mejb-5.2.1.jar'... 2011-11-05 01:20:19,017 : Enhancer.enhance : Beans found are [MEJB] 2011-11-05 01:20:19,233 : JContainer3.start : Container 'D:\Beta\jonas\liferay-portal-6.1.0\jonas-5.2.1\work\ejb3s\jonas\mejb-5.2.1_2011.06.22-16.58.12.jar' [1 SLSB, 0 SFSB, 0 MDB] started in 354 ms 2011-11-05 01:20:19,235 : EasyBeansDeployer.doDeploy : 'mejb-5.2.1.jar' EJB3 Deployable is now deployed 2011-11-05 01:20:19,451 : RARDeployer.doDeploy : Deploying jonas-jca-scout-rar-5.2.1.rar 2011-11-05 01:20:19,544 : JAXRResourceAdapter.start : Starting Scout ResourceAdapter 2011-11-05 01:20:19,631 : Rar.processRar : jonas-jca-scout-rar-5.2.1.rar available 2011-11-05 01:20:20,419 : WARDeployer.doDeploy : Deploying liferay-portal.war 2011-11-05 01:20:37,298 : BaseWebContainerService.registerWar : The application /D:/Beta/jonas/liferay-portal-6.1.0/jonas-5.2.1/deploy/liferay-portal.war/ has its java2-delegation-model parameter set to false. JOnAS 5 offers a new possibility called the filtering class loader that can replace this parameter and doesn't suffer from the many unexpected behaviours caused by class loader inversion. Please see to JOnAS configuration guide for details. 2011-11-05 01:20:37,499 : WebappLoader.start : Dual registration of jndi stream handler: factory already defined 2011-11-05 01:20:38,590 : Jdk14LogImpl.info : Initializing hot deploy manager 341284117 Loading jar:file:/D:/Beta/jonas/liferay-portal-6.1.0/jonas-5.2.1/deploy/liferay-portal.war/WEB-INF/lib/portal-impl.jar!/system.properties 2011-11-05 01:20:38,671 : Jdk14LogImpl.info : Detected server jonas 2011-11-05 01:20:38,704 : Jdk14LogImpl.info : Global lib directory 2011-11-05 01:20:38,735 : Jdk14LogImpl.info : Portal lib directory /D:/Beta/jonas/liferay-portal-6.1.0/jonas-5.2.1/deploy/liferay-portal.war/WEB-INF/lib/ 01:20:38,852 INFO [EasyConf:122] Refreshed the configuration of all components 01:20:39,218 INFO [ConfigurationLoader:56] Properties for jar:file:/D:/Beta/jonas/liferay-portal-6.1.0/jonas-5.2.1/deploy/liferay-portal.war/WEB-INF/lib/portal-impl.jar!/portal loaded from [jar:file:/D:/Beta/jonas/liferay-portal-6.1.0/jonas-5.2.1/deploy/liferay-portal.war/WEB-INF/lib/portal-impl.jar!/portal.properties] Loading jar:file:/D:/Beta/jonas/liferay-portal-6.1.0/jonas-5.2.1/deploy/liferay-portal.war/WEB-INF/lib/portal-impl.jar!/portal.properties 01:20:39,471 ERROR [ClassPathUtil:133] Class com.liferay.portal.kernel.exception.PortalException is not loaded from a standard location (/WEB-INF/classes) 2011-11-05 01:20:40,012 : ApplicationContext.log : Initializing Spring root WebApplicationContext 01:20:46,648 INFO [DialectDetector:80] Determine dialect for HSQL Database Engine 2 01:20:46,650 WARN [DialectDetector:95] Liferay is configured to use Hypersonic as its database. Do NOT use Hypersonic in production. Hypersonic is an embedded database useful for development and demo'ing purposes. The database settings can be changed in portal-ext.properties. 01:20:46,702 INFO [DialectDetector:145] Found dialect org.hibernate.dialect.HSQLDialect Starting Liferay Portal Community Edition 6.1.0 CE (Paton / Build 6100 / March 24, 2011) 01:21:09,838 INFO [BaseDB:406] Database supports case sensitive queries 01:21:10,328 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyProcessSuite 01:21:10,337 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyProperties 01:21:10,340 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyMySQL 01:21:10,345 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifySQLServer 01:21:10,346 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyCounter 01:21:10,373 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyUUID 01:21:10,394 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyPermission 01:21:11,391 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyRole 01:21:11,649 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyAsset 01:21:11,666 INFO [UpgradeProcess:205] Upgrading com.liferay.portal.upgrade.util.UpgradeAssetPublisherManualEntries 01:21:11,670 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyBlogs 01:21:11,675 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyBookmarks 01:21:11,682 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyCalendar 01:21:11,697 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyDocumentLibrary 01:21:11,715 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyGroup 01:21:11,850 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyJournal 01:21:11,871 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyLayout 01:21:11,877 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyMessageBoards 01:21:11,899 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyOrganization 01:21:11,931 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyResourcePermissions 01:21:12,775 INFO [VerifyResourcePermissions:148] Processed 100 resource permissions for com.liferay.portal.model.User 01:21:13,383 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifySocial 01:21:13,384 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyUser 01:21:13,402 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyWiki 01:21:13,454 INFO [PluginPackageUtil:1098] Reading plugin package for the root context 01:21:16,549 INFO [PluginPackageUtil:1282] Reloading repositories 01:21:20,324 INFO [AutoDeployDir:84] Creating missing directory D:\Beta\jonas\liferay-portal-6.1.0\deploy 01:21:20,326 INFO [AutoDeployDir:105] Auto deploy scanner started for D:\Beta\jonas\liferay-portal-6.1.0\deploy 2011-11-05 01:21:26,670 : BaseWebContainerService.registerWar : War liferay-portal.war available at the context /. 2011-11-05 01:21:27,664 : WARDeployer.doDeploy : Deploying tunnel-web.war 2011-11-05 01:21:28,096 : ApplicationContext.log : Initializing Spring FrameworkServlet 'Spring Servlet' 2011-11-05 01:21:36,723 : BaseWebContainerService.registerWar : War tunnel-web.war available at the context /tunnel-web. 2011-11-05 01:21:37,952 : J2EEServer.__info : JOnAS AS v5.2.1 named 'jonas' RUNNING D:\Beta\jonas\liferay-portal-6.1.0\jonas-5.2.1\bin>01:25:54,963 INFO [AutoDeployDir:167] Processing sample-icefaces-jsf-1.1-myfaces-jsp-portlet-6.1.0.1-b4-20111104.war 01:25:55,262 INFO [PortletAutoDeployListener:71] Copying portlets for D:\Beta\jonas\liferay-portal-6.1.0\deploy\sample-icefaces-jsf-1.1-myfaces-jsp-portlet-6.1.0.1-b4-20111104.war Expanding: D:\Beta\jonas\liferay-portal-6.1.0\deploy\sample-icefaces-jsf-1.1-myfaces-jsp-portlet-6.1.0.1-b4-20111104.war into C:\Users\Liferay\AppData\Local\Temp\20111105012555266 Copying 1 file to C:\Users\Liferay\AppData\Local\Temp\20111105012555266\WEB-INF Copying 1 file to C:\Users\Liferay\AppData\Local\Temp\20111105012555266\WEB-INF\classes Copying 1 file to C:\Users\Liferay\AppData\Local\Temp\20111105012555266\WEB-INF\classes Copying 1 file to C:\Users\Liferay\AppData\Local\Temp\20111105012555266\WEB-INF\jsp Copying 49 files to D:\Beta\jonas\liferay-portal-6.1.0\jonas-5.2.1\deploy\sample-icefaces-jsf-1.1-myfaces-jsp-portlet.war Copying 1 file to D:\Beta\jonas\liferay-portal-6.1.0\jonas-5.2.1\deploy\sample-icefaces-jsf-1.1-myfaces-jsp-portlet.war Deleting directory C:\Users\Liferay\AppData\Local\Temp\20111105012555266 01:25:56,640 INFO [PortletAutoDeployListener:81] Portlets for D:\Beta\jonas\liferay-portal-6.1.0\deploy\sample-icefaces-jsf-1.1-myfaces-jsp-portlet-6.1.0.1-b4-20111104.war copied successfully. Deployment will start in a few seconds. 2011-11-05 01:26:03,719 : WARDeployer.doDeploy : Deploying sample-icefaces-jsf-1.1-myfaces-jsp-portlet.war 2011-11-05 01:26:04,090 : BaseWebContainerService.registerWar : Cannot read the deployment descriptors '/D:/Beta/jonas/liferay-portal-6.1.0/jonas-5.2.1/deploy/sample-icefaces-jsf-1.1-myfaces-jsp-portlet.war/': org.ow2.jonas.deployment.web.WebContainerDeploymentDescException: jonas-resource missing for res-ref-name mail/MailSession: jonas-resource missing for res-ref-name mail/MailSession org.ow2.jonas.deployment.web.WebContainerDeploymentDescException: jonas-resource missing for res-ref-name mail/MailSession: jonas-resource missing for res-ref-name mail/MailSession at org.ow2.jonas.deployment.web.lib.WebDeploymentDescManager.getDeploymentDesc(WebDeploymentDescManager.java:275) at org.ow2.jonas.web.base.BaseWebContainerService.registerWar(BaseWebContainerService.java:747) at org.ow2.jonas.web.base.BaseWebContainerService.registerWar(BaseWebContainerService.java:1241) at org.ow2.jonas.web.base.proxy.HttpOnDemandProxy.addWar(HttpOnDemandProxy.java:352) at org.ow2.jonas.web.base.WARDeployer.doDeploy(WARDeployer.java:70) at org.ow2.util.ee.deploy.impl.deployer.AbsDeployer$1.execute(AbsDeployer.java:96) at org.ow2.util.ee.deploy.impl.deployer.AbsDeployer$1.execute(AbsDeployer.java:95) at org.ow2.util.execution.helper.RunnableHelper.execute(RunnableHelper.java:77) at org.ow2.util.ee.deploy.impl.deployer.AbsDeployer.deploy(AbsDeployer.java:94) at org.ow2.util.ee.deploy.impl.deployer.DeployerManager.deploy(DeployerManager.java:129) at org.ow2.jonas.deployablemonitor.DeployableMonitor.detectNewArchives(DeployableMonitor.java:491) at org.ow2.jonas.deployablemonitor.DeployableMonitor.checkNewArchives(DeployableMonitor.java:306) at org.ow2.jonas.deployablemonitor.DeployableMonitor.run(DeployableMonitor.java:216) Caused by: org.ow2.jonas.deployment.common.DeploymentDescException: jonas-resource missing for res-ref-name mail/MailSession at org.ow2.jonas.deployment.common.JndiEnvRefsGroupDesc.processResourceRef(JndiEnvRefsGroupDesc.java:376) at org.ow2.jonas.deployment.common.JndiEnvRefsGroupDesc.(JndiEnvRefsGroupDesc.java:158) at org.ow2.jonas.deployment.web.WebContainerDeploymentDesc.(WebContainerDeploymentDesc.java:149) at org.ow2.jonas.deployment.web.lib.WebDeploymentDescManager.getInstance(WebDeploymentDescManager.java:833) at org.ow2.jonas.deployment.web.lib.WebDeploymentDescManager.getInstance(WebDeploymentDescManager.java:1069) at org.ow2.jonas.deployment.web.lib.WebDeploymentDescManager.getDeploymentDesc(WebDeploymentDescManager.java:272) ... 12 more *** Caused by: org.ow2.jonas.deployment.common.DeploymentDescException: jonas-resource missing for res-ref-name mail/MailSession at org.ow2.jonas.deployment.common.JndiEnvRefsGroupDesc.processResourceRef(JndiEnvRefsGroupDesc.java:376) at org.ow2.jonas.deployment.common.JndiEnvRefsGroupDesc.(JndiEnvRefsGroupDesc.java:158) at org.ow2.jonas.deployment.web.WebContainerDeploymentDesc.(WebContainerDeploymentDesc.java:149) at org.ow2.jonas.deployment.web.lib.WebDeploymentDescManager.getInstance(WebDeploymentDescManager.java:833) at org.ow2.jonas.deployment.web.lib.WebDeploymentDescManager.getInstance(WebDeploymentDescManager.java:1069) at org.ow2.jonas.deployment.web.lib.WebDeploymentDescManager.getDeploymentDesc(WebDeploymentDescManager.java:272) at org.ow2.jonas.web.base.BaseWebContainerService.registerWar(BaseWebContainerService.java:747) at org.ow2.jonas.web.base.BaseWebContainerService.registerWar(BaseWebContainerService.java:1241) at org.ow2.jonas.web.base.proxy.HttpOnDemandProxy.addWar(HttpOnDemandProxy.java:352) at org.ow2.jonas.web.base.WARDeployer.doDeploy(WARDeployer.java:70) at org.ow2.util.ee.deploy.impl.deployer.AbsDeployer$1.execute(AbsDeployer.java:96) at org.ow2.util.ee.deploy.impl.deployer.AbsDeployer$1.execute(AbsDeployer.java:95) at org.ow2.util.execution.helper.RunnableHelper.execute(RunnableHelper.java:77) at org.ow2.util.ee.deploy.impl.deployer.AbsDeployer.deploy(AbsDeployer.java:94) at org.ow2.util.ee.deploy.impl.deployer.DeployerManager.deploy(DeployerManager.java:129) at org.ow2.jonas.deployablemonitor.DeployableMonitor.detectNewArchives(DeployableMonitor.java:491) at org.ow2.jonas.deployablemonitor.DeployableMonitor.checkNewArchives(DeployableMonitor.java:306) at org.ow2.jonas.deployablemonitor.DeployableMonitor.run(DeployableMonitor.java:216) 2011-11-05 01:26:04,184 : DeployableMonitor.detectNewArchives : DeployerException : Cannot deploy the deployable 'WARDeployableImpl[archive=D:\Beta\jonas\liferay-portal-6.1.0\jonas-5.2.1\deploy\sample-icefaces-jsf-1.1-myfaces-jsp-portlet.war]' org.ow2.util.ee.deploy.api.deployer.DeployerException: Cannot deploy the War deployable 'WARDeployableImpl[archive=D:\Beta\jonas\liferay-portal-6.1.0\jonas-5.2.1\deploy\sample-icefaces-jsf-1.1-myfaces-jsp-portlet.war]'. at org.ow2.jonas.web.base.WARDeployer.doDeploy(WARDeployer.java:72) at org.ow2.util.ee.deploy.impl.deployer.AbsDeployer$1.execute(AbsDeployer.java:96) at org.ow2.util.ee.deploy.impl.deployer.AbsDeployer$1.execute(AbsDeployer.java:95) at org.ow2.util.execution.helper.RunnableHelper.execute(RunnableHelper.java:77) at org.ow2.util.ee.deploy.impl.deployer.AbsDeployer.deploy(AbsDeployer.java:94) at org.ow2.util.ee.deploy.impl.deployer.DeployerManager.deploy(DeployerManager.java:129) at org.ow2.jonas.deployablemonitor.DeployableMonitor.detectNewArchives(DeployableMonitor.java:491) at org.ow2.jonas.deployablemonitor.DeployableMonitor.checkNewArchives(DeployableMonitor.java:306) at org.ow2.jonas.deployablemonitor.DeployableMonitor.run(DeployableMonitor.java:216) Caused by: org.ow2.jonas.web.base.proxy.HttpOnDemandProxyException: Unable to deploy the war file 'WARDeployableImpl[archive=D:\Beta\jonas\liferay-portal-6.1.0\jonas-5.2.1\deploy\sample-icefaces-jsf-1.1-myfaces-jsp-portlet.war]'. at org.ow2.jonas.web.base.proxy.HttpOnDemandProxy.addWar(HttpOnDemandProxy.java:354) at org.ow2.jonas.web.base.WARDeployer.doDeploy(WARDeployer.java:70) ... 8 more Caused by: org.ow2.jonas.web.JWebContainerServiceException : Cannot read the deployment descriptors '/D:/Beta/jonas/liferay-portal-6.1.0/jonas-5.2.1/deploy/sample-icefaces-jsf-1.1-myfaces-jsp-portlet.war/': org.ow2.jonas.deployment.web.WebContainerDeploymentDescException: jonas-resource missing for res-ref-name mail/MailSession: jonas-resource missing for res-ref-name mail/MailSession at org.ow2.jonas.web.base.BaseWebContainerService.registerWar(BaseWebContainerService.java:752) at org.ow2.jonas.web.base.BaseWebContainerService.registerWar(BaseWebContainerService.java:1241) at org.ow2.jonas.web.base.proxy.HttpOnDemandProxy.addWar(HttpOnDemandProxy.java:352) ... 9 more Caused by: org.ow2.jonas.deployment.web.WebContainerDeploymentDescException: jonas-resource missing for res-ref-name mail/MailSession: jonas-resource missing for res-ref-name mail/MailSession at org.ow2.jonas.deployment.web.lib.WebDeploymentDescManager.getDeploymentDesc(WebDeploymentDescManager.java:275) at org.ow2.jonas.web.base.BaseWebContainerService.registerWar(BaseWebContainerService.java:747) ... 11 more Caused by: org.ow2.jonas.deployment.common.DeploymentDescException: jonas-resource missing for res-ref-name mail/MailSession at org.ow2.jonas.deployment.common.JndiEnvRefsGroupDesc.processResourceRef(JndiEnvRefsGroupDesc.java:376) at org.ow2.jonas.deployment.common.JndiEnvRefsGroupDesc.(JndiEnvRefsGroupDesc.java:158) at org.ow2.jonas.deployment.web.WebContainerDeploymentDesc.(WebContainerDeploymentDesc.java:149) at org.ow2.jonas.deployment.web.lib.WebDeploymentDescManager.getInstance(WebDeploymentDescManager.java:833) at org.ow2.jonas.deployment.web.lib.WebDeploymentDescManager.getInstance(WebDeploymentDescManager.java:1069) at org.ow2.jonas.deployment.web.lib.WebDeploymentDescManager.getDeploymentDesc(WebDeploymentDescManager.java:272) ... 12 more