0

从 Netbeans 7.1.1 将一个包含两个会话 bean 的 EJB 的企业应用程序部署到 Glassfish 3.1.2 需要大约 2-3 分钟,这是否正常(右键单击 EE-app 并选择“部署”)?我能做些什么来加快这个过程?

我正在使用 JDK 1.6.0_30,Glassfish 在我的 LAN 上的远程机器上运行(已经尝试过 Ubuntu 10.04 和 11.10)。使用 Windows 7 作为 Glassfish 的主机没有问题(在 Netbeans 中按下“部署”大约需要 5 秒才能成功部署)。

任何帮助都非常感谢!提前谢谢了!

[#|2012-04-23T16:25:58.883+0200|INFO|glassfish3.1.2|org.eclipse.persistence.session.file:/home/nicolas/glassfish3/glassfish/domains/domain1/applications/LawSuiteEE/LawSuiteEE-ejb_jar/_LawSuiteEE-ejbPU|_ThreadID=22;_ThreadName=Thread-2;|EclipseLink, version: Eclipse Persistence Services - 2.3.2.v20111125-r10461|#]

[#|2012-04-23T16:25:58.885+0200|INFO|glassfish3.1.2|org.eclipse.persistence.session.file:/home/nicolas/glassfish3/glassfish/domains/domain1/applications/LawSuiteEE/LawSuiteEE-ejb_jar/_LawSuiteEE-ejbPU|_ThreadID=22;_ThreadName=Thread-2;|file:/home/nicolas/glassfish3/glassfish/domains/domain1/applications/LawSuiteEE/LawSuiteEE-ejb_jar/_LawSuiteEE-ejbPU login successful|#]

[#|2012-04-23T16:25:58.885+0200|WARNING|glassfish3.1.2|org.eclipse.persistence.session.file:/home/nicolas/glassfish3/glassfish/domains/domain1/applications/LawSuiteEE/LawSuiteEE-ejb_jar/_LawSuiteEE-ejbPU.server|_ThreadID=22;_ThreadName=Thread-2;|Multiple [2] JMX MBeanServer instances exist, we will use the server at index [0] : [com.sun.enterprise.v3.admin.DynamicInterceptor@50d420eb].|#]

[#|2012-04-23T16:25:58.885+0200|WARNING|glassfish3.1.2|org.eclipse.persistence.session.file:/home/nicolas/glassfish3/glassfish/domains/domain1/applications/LawSuiteEE/LawSuiteEE-ejb_jar/_LawSuiteEE-ejbPU.server|_ThreadID=22;_ThreadName=Thread-2;|JMX MBeanServer in use: [com.sun.enterprise.v3.admin.DynamicInterceptor@50d420eb] from index [0] |#]

[#|2012-04-23T16:25:58.886+0200|WARNING|glassfish3.1.2|org.eclipse.persistence.session.file:/home/nicolas/glassfish3/glassfish/domains/domain1/applications/LawSuiteEE/LawSuiteEE-ejb_jar/_LawSuiteEE-ejbPU.server|_ThreadID=22;_ThreadName=Thread-2;|JMX MBeanServer in use: [com.sun.jmx.mbeanserver.JmxMBeanServer@6e22f51b] from index [1] |#]

[#|2012-04-23T16:25:58.966+0200|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers.builder|_ThreadID=22;_ThreadName=Thread-2;|TopLevel AvailabilityService.getAvailabilityEnabled => true|#]

[#|2012-04-23T16:25:58.967+0200|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers.builder|_ThreadID=22;_ThreadName=Thread-2;|TopLevel EjbAvailabilityService.getAvailabilityEnabled => true|#]

[#|2012-04-23T16:25:58.967+0200|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers.builder|_ThreadID=22;_ThreadName=Thread-2;|**Global AvailabilityEnabled => true; isAppHAEnabled: false|#]

[#|2012-04-23T16:25:58.967+0200|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers.builder|_ThreadID=22;_ThreadName=Thread-2;|StatefulContainerBuilder AvailabilityEnabled for this app => false|#]

[#|2012-04-23T16:25:58.967+0200|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers.builder|_ThreadID=22;_ThreadName=Thread-2;|StatefulContainerBuilder.buildStoreManager() storeName: StatefulBean-87503047946600448-BackingStore|#]

[#|2012-04-23T16:25:58.968+0200|INFO|glassfish3.1.2|org.glassfish.ha.store.adapter.file.FileBackingStore|_ThreadID=22;_ThreadName=Thread-2;|[FileBackingStore::initialize] Successfully Created and initialized store. Working dir: /home/nicolas/glassfish3/glassfish/domains/domain1/session-store/StatefulBean-87503047946600448; Configuration: BackingStoreConfiguration{clusterName='null', instanceName='null', storeName='StatefulBean-87503047946600448-BackingStore', shortUniqueName='87503047946600448', storeType='file', maxIdleTimeInSeconds=-1, relaxVersionCheck='null', maxLoadWaitTimeInSeconds=0, baseDirectoryName='/home/nicolas/glassfish3/glassfish/domains/domain1/session-store/StatefulBean-87503047946600448', keyClazz=interface java.io.Serializable, valueClazz=class org.glassfish.ha.store.util.SimpleMetadata, synchronousSave=false, typicalPayloadSizeInKiloBytes=0, vendorSpecificSettings={start.gms=false, async.replication=true, key.transformer=com.sun.ejb.base.sfsb.util.SimpleKeyGenerator@75e1c7c0, local.caching=true, value.class.is.thread.safe=true, broadcast.remove.expired=false}}|#]

[#|2012-04-23T16:25:58.968+0200|WARNING|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers.builder|_ThreadID=22;_ThreadName=Thread-2;|StatefulContainerbuilder instantiated store: org.glassfish.ha.store.adapter.file.FileBackingStore@3a014ab6; ha-enabled: false ==> BackingStoreConfiguration{clusterName='null', instanceName='null', storeName='StatefulBean-87503047946600448-BackingStore', shortUniqueName='87503047946600448', storeType='file', maxIdleTimeInSeconds=-1, relaxVersionCheck='null', maxLoadWaitTimeInSeconds=0, baseDirectoryName='/home/nicolas/glassfish3/glassfish/domains/domain1/session-store/StatefulBean-87503047946600448', keyClazz=interface java.io.Serializable, valueClazz=class org.glassfish.ha.store.util.SimpleMetadata, synchronousSave=false, typicalPayloadSizeInKiloBytes=0, vendorSpecificSettings={start.gms=false, async.replication=true, key.transformer=com.sun.ejb.base.sfsb.util.SimpleKeyGenerator@75e1c7c0, local.caching=true, value.class.is.thread.safe=true, broadcast.remove.expired=false}}|#]

[#|2012-04-23T16:25:58.998+0200|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=22;_ThreadName=Thread-2;|EJB5181:Portable JNDI names for EJB StatefulBean: [java:global/LawSuiteEE/LawSuiteEE-ejb/StatefulBean, java:global/LawSuiteEE/LawSuiteEE-ejb/StatefulBean!ch.lawsuite.services.StatefulBeanRemote]|#]

[#|2012-04-23T16:25:58.998+0200|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=22;_ThreadName=Thread-2;|EJB5182:Glassfish-specific (Non-portable) JNDI names for EJB StatefulBean: [ch.lawsuite.services.StatefulBeanRemote#ch.lawsuite.services.StatefulBeanRemote, ch.lawsuite.services.StatefulBeanRemote]|#]

[#|2012-04-23T16:25:59.054+0200|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=22;_ThreadName=Thread-2;|EJB5181:Portable JNDI names for EJB UserFacade: [java:global/LawSuiteEE/LawSuiteEE-ejb/UserFacade, java:global/LawSuiteEE/LawSuiteEE-ejb/UserFacade!ch.lawsuite.control.UserFacadeRemote]|#]

[#|2012-04-23T16:25:59.054+0200|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=22;_ThreadName=Thread-2;|EJB5182:Glassfish-specific (Non-portable) JNDI names for EJB UserFacade: [ch.lawsuite.control.UserFacadeRemote, ch.lawsuite.control.UserFacadeRemote#ch.lawsuite.control.UserFacadeRemote]|#]

[#|2012-04-23T16:25:59.100+0200|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=22;_ThreadName=Thread-2;|EJB5181:Portable JNDI names for EJB StatelessBean: [java:global/LawSuiteEE/LawSuiteEE-ejb/StatelessBean!ch.lawsuite.services.StatelessBeanRemote, java:global/LawSuiteEE/LawSuiteEE-ejb/StatelessBean]|#]

[#|2012-04-23T16:25:59.100+0200|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=22;_ThreadName=Thread-2;|EJB5182:Glassfish-specific (Non-portable) JNDI names for EJB StatelessBean: [ch.lawsuite.services.StatelessBeanRemote, ch.lawsuite.services.StatelessBeanRemote#ch.lawsuite.services.StatelessBeanRemote]|#]

[#|2012-04-23T16:25:59.115+0200|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=22;_ThreadName=Thread-2;|EJB5181:Portable JNDI names for EJB UpdateService: [java:global/LawSuiteEE/LawSuiteEE-ejb/UpdateService, java:global/LawSuiteEE/LawSuiteEE-ejb/UpdateService!ch.lawsuite.services.UpdateService]|#]

[#|2012-04-23T16:25:59.307+0200|INFO|glassfish3.1.2|javax.enterprise.system.tools.admin.org.glassfish.deployment.admin|_ThreadID=22;_ThreadName=Thread-2;|LawSuiteEE was successfully deployed in 526 milliseconds.|#]

[#|2012-04-23T16:59:54.449+0200|INFO|glassfish3.1.2|javax.enterprise.system.tools.admin.com.sun.enterprise.container.common|_ThreadID=30;_ThreadName=Thread-2;|User [] from host localhost does not have administration access|#]

[#|2012-04-23T16:59:54.456+0200|SEVERE|glassfish3.1.2|org.glassfish.admingui|_ThreadID=19;_ThreadName=Thread-2;|RestResponse.getResponse() gives FAILURE.  endpoint = 'https://localhost:4848/management/domain/servers/server/server'; attrs = '{}'|#]

[#|2012-04-23T16:59:54.456+0200|INFO|glassfish3.1.2|org.glassfish.admingui|_ThreadID=19;_ThreadName=Thread-2;|Exception Occurred :java.lang.RuntimeException: Invalid user name or password.|#]

[#|2012-04-23T16:59:54.495+0200|INFO|glassfish3.1.2|javax.enterprise.system.tools.admin.com.sun.enterprise.container.common|_ThreadID=18;_ThreadName=Thread-2;|User [] from host localhost does not have administration access|#]

[#|2012-04-23T16:59:54.548+0200|WARNING|glassfish3.1.2|org.apache.catalina.connector.Request|_ThreadID=20;_ThreadName=Thread-2;|PWC4011: Unable to set request character encoding to UTF-8 from context , because request parameters have already been read, or ServletRequest.getReader() has already been called|#]

[#|2012-04-23T16:59:54.575+0200|INFO|glassfish3.1.2|javax.enterprise.system.tools.admin.com.sun.enterprise.container.common|_ThreadID=30;_ThreadName=Thread-2;|User [] from host localhost does not have administration access|#]

[#|2012-04-23T16:59:54.588+0200|WARNING|glassfish3.1.2|org.apache.catalina.connector.Request|_ThreadID=19;_ThreadName=Thread-2;|PWC4011: Unable to set request character encoding to UTF-8 from context , because request parameters have already been read, or ServletRequest.getReader() has already been called|#]

[#|2012-04-23T16:59:54.609+0200|INFO|glassfish3.1.2|javax.enterprise.system.tools.admin.com.sun.enterprise.container.common|_ThreadID=20;_ThreadName=Thread-2;|User [] from host localhost does not have administration access|#]

[#|2012-04-23T16:59:54.621+0200|WARNING|glassfish3.1.2|org.apache.catalina.connector.Request|_ThreadID=18;_ThreadName=Thread-2;|PWC4011: Unable to set request character encoding to UTF-8 from context , because request parameters have already been read, or ServletRequest.getReader() has already been called|#]

[#|2012-04-23T16:59:54.637+0200|WARNING|glassfish3.1.2|org.apache.catalina.connector.Request|_ThreadID=21;_ThreadName=Thread-2;|PWC4011: Unable to set request character encoding to UTF-8 from context , because request parameters have already been read, or ServletRequest.getReader() has already been called|#]

[#|2012-04-23T16:59:54.653+0200|WARNING|glassfish3.1.2|org.apache.catalina.connector.Request|_ThreadID=30;_ThreadName=Thread-2;|PWC4011: Unable to set request character encoding to UTF-8 from context , because request parameters have already been read, or ServletRequest.getReader() has already been called|#]

[#|2012-04-23T17:00:00.675+0200|INFO|glassfish3.1.2|org.glassfish.admingui|_ThreadID=31;_ThreadName=Thread-2;|Redirecting to /common/appServer/serverInstGeneralPe.jsf|#]

[#|2012-04-23T17:00:00.702+0200|INFO|glassfish3.1.2|org.glassfish.admingui|_ThreadID=18;_ThreadName=Thread-2;|Admin Console: Initializing Session Attributes...|#]

[#|2012-04-23T17:03:41.290+0200|INFO|glassfish3.1.2|org.eclipse.persistence.session.file:/home/nicolas/glassfish3/glassfish/domains/domain1/applications/LawSuiteEE/LawSuiteEE-ejb_jar/_LawSuiteEE-ejbPU|_ThreadID=20;_ThreadName=Thread-2;|file:/home/nicolas/glassfish3/glassfish/domains/domain1/applications/LawSuiteEE/LawSuiteEE-ejb_jar/_LawSuiteEE-ejbPU logout successful|#]

[#|2012-04-23T17:04:51.864+0200|INFO|glassfish3.1.2|org.eclipse.persistence.session.file:/home/nicolas/glassfish3/glassfish/domains/domain1/applications/LawSuiteEE/LawSuiteEE-ejb_jar/_LawSuiteEE-ejbPU|_ThreadID=32;_ThreadName=Thread-2;|EclipseLink, version: Eclipse Persistence Services - 2.3.2.v20111125-r10461|#]

[#|2012-04-23T17:04:51.866+0200|INFO|glassfish3.1.2|org.eclipse.persistence.session.file:/home/nicolas/glassfish3/glassfish/domains/domain1/applications/LawSuiteEE/LawSuiteEE-ejb_jar/_LawSuiteEE-ejbPU|_ThreadID=32;_ThreadName=Thread-2;|file:/home/nicolas/glassfish3/glassfish/domains/domain1/applications/LawSuiteEE/LawSuiteEE-ejb_jar/_LawSuiteEE-ejbPU login successful|#]

[#|2012-04-23T17:04:51.867+0200|WARNING|glassfish3.1.2|org.eclipse.persistence.session.file:/home/nicolas/glassfish3/glassfish/domains/domain1/applications/LawSuiteEE/LawSuiteEE-ejb_jar/_LawSuiteEE-ejbPU.server|_ThreadID=32;_ThreadName=Thread-2;|Multiple [2] JMX MBeanServer instances exist, we will use the server at index [0] : [com.sun.enterprise.v3.admin.DynamicInterceptor@50d420eb].|#]

[#|2012-04-23T17:04:51.867+0200|WARNING|glassfish3.1.2|org.eclipse.persistence.session.file:/home/nicolas/glassfish3/glassfish/domains/domain1/applications/LawSuiteEE/LawSuiteEE-ejb_jar/_LawSuiteEE-ejbPU.server|_ThreadID=32;_ThreadName=Thread-2;|JMX MBeanServer in use: [com.sun.enterprise.v3.admin.DynamicInterceptor@50d420eb] from index [0] |#]

[#|2012-04-23T17:04:51.867+0200|WARNING|glassfish3.1.2|org.eclipse.persistence.session.file:/home/nicolas/glassfish3/glassfish/domains/domain1/applications/LawSuiteEE/LawSuiteEE-ejb_jar/_LawSuiteEE-ejbPU.server|_ThreadID=32;_ThreadName=Thread-2;|JMX MBeanServer in use: [com.sun.jmx.mbeanserver.JmxMBeanServer@6e22f51b] from index [1] |#]

[#|2012-04-23T17:04:51.952+0200|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=32;_ThreadName=Thread-2;|EJB5181:Portable JNDI names for EJB UpdateService: [java:global/LawSuiteEE/LawSuiteEE-ejb/UpdateService, java:global/LawSuiteEE/LawSuiteEE-ejb/UpdateService!ch.lawsuite.services.UpdateService]|#]

[#|2012-04-23T17:04:52.028+0200|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=32;_ThreadName=Thread-2;|EJB5181:Portable JNDI names for EJB UserFacade: [java:global/LawSuiteEE/LawSuiteEE-ejb/UserFacade, java:global/LawSuiteEE/LawSuiteEE-ejb/UserFacade!ch.lawsuite.control.UserFacadeRemote]|#]

[#|2012-04-23T17:04:52.029+0200|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=32;_ThreadName=Thread-2;|EJB5182:Glassfish-specific (Non-portable) JNDI names for EJB UserFacade: [ch.lawsuite.control.UserFacadeRemote, ch.lawsuite.control.UserFacadeRemote#ch.lawsuite.control.UserFacadeRemote]|#]

[#|2012-04-23T17:04:52.076+0200|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=32;_ThreadName=Thread-2;|EJB5181:Portable JNDI names for EJB StatelessBean: [java:global/LawSuiteEE/LawSuiteEE-ejb/StatelessBean!ch.lawsuite.services.StatelessBeanRemote, java:global/LawSuiteEE/LawSuiteEE-ejb/StatelessBean]|#]

[#|2012-04-23T17:04:52.076+0200|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=32;_ThreadName=Thread-2;|EJB5182:Glassfish-specific (Non-portable) JNDI names for EJB StatelessBean: [ch.lawsuite.services.StatelessBeanRemote, ch.lawsuite.services.StatelessBeanRemote#ch.lawsuite.services.StatelessBeanRemote]|#]

[#|2012-04-23T17:04:52.109+0200|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers.builder|_ThreadID=32;_ThreadName=Thread-2;|TopLevel AvailabilityService.getAvailabilityEnabled => true|#]

[#|2012-04-23T17:04:52.109+0200|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers.builder|_ThreadID=32;_ThreadName=Thread-2;|TopLevel EjbAvailabilityService.getAvailabilityEnabled => true|#]

[#|2012-04-23T17:04:52.110+0200|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers.builder|_ThreadID=32;_ThreadName=Thread-2;|**Global AvailabilityEnabled => true; isAppHAEnabled: false|#]

[#|2012-04-23T17:04:52.110+0200|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers.builder|_ThreadID=32;_ThreadName=Thread-2;|StatefulContainerBuilder AvailabilityEnabled for this app => false|#]

[#|2012-04-23T17:04:52.110+0200|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers.builder|_ThreadID=32;_ThreadName=Thread-2;|StatefulContainerBuilder.buildStoreManager() storeName: StatefulBean-87503047946665985-BackingStore|#]

[#|2012-04-23T17:04:52.111+0200|INFO|glassfish3.1.2|org.glassfish.ha.store.adapter.file.FileBackingStore|_ThreadID=32;_ThreadName=Thread-2;|[FileBackingStore::initialize] Successfully Created and initialized store. Working dir: /home/nicolas/glassfish3/glassfish/domains/domain1/session-store/StatefulBean-87503047946665985; Configuration: BackingStoreConfiguration{clusterName='null', instanceName='null', storeName='StatefulBean-87503047946665985-BackingStore', shortUniqueName='87503047946665985', storeType='file', maxIdleTimeInSeconds=-1, relaxVersionCheck='null', maxLoadWaitTimeInSeconds=0, baseDirectoryName='/home/nicolas/glassfish3/glassfish/domains/domain1/session-store/StatefulBean-87503047946665985', keyClazz=interface java.io.Serializable, valueClazz=class org.glassfish.ha.store.util.SimpleMetadata, synchronousSave=false, typicalPayloadSizeInKiloBytes=0, vendorSpecificSettings={start.gms=false, async.replication=true, key.transformer=com.sun.ejb.base.sfsb.util.SimpleKeyGenerator@75e09c92, local.caching=true, value.class.is.thread.safe=true, broadcast.remove.expired=false}}|#]

[#|2012-04-23T17:04:52.111+0200|WARNING|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers.builder|_ThreadID=32;_ThreadName=Thread-2;|StatefulContainerbuilder instantiated store: org.glassfish.ha.store.adapter.file.FileBackingStore@6d4771b3; ha-enabled: false ==> BackingStoreConfiguration{clusterName='null', instanceName='null', storeName='StatefulBean-87503047946665985-BackingStore', shortUniqueName='87503047946665985', storeType='file', maxIdleTimeInSeconds=-1, relaxVersionCheck='null', maxLoadWaitTimeInSeconds=0, baseDirectoryName='/home/nicolas/glassfish3/glassfish/domains/domain1/session-store/StatefulBean-87503047946665985', keyClazz=interface java.io.Serializable, valueClazz=class org.glassfish.ha.store.util.SimpleMetadata, synchronousSave=false, typicalPayloadSizeInKiloBytes=0, vendorSpecificSettings={start.gms=false, async.replication=true, key.transformer=com.sun.ejb.base.sfsb.util.SimpleKeyGenerator@75e09c92, local.caching=true, value.class.is.thread.safe=true, broadcast.remove.expired=false}}|#]

[#|2012-04-23T17:04:52.127+0200|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=32;_ThreadName=Thread-2;|EJB5181:Portable JNDI names for EJB StatefulBean: [java:global/LawSuiteEE/LawSuiteEE-ejb/StatefulBean, java:global/LawSuiteEE/LawSuiteEE-ejb/StatefulBean!ch.lawsuite.services.StatefulBeanRemote]|#]

[#|2012-04-23T17:04:52.128+0200|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=32;_ThreadName=Thread-2;|EJB5182:Glassfish-specific (Non-portable) JNDI names for EJB StatefulBean: [ch.lawsuite.services.StatefulBeanRemote#ch.lawsuite.services.StatefulBeanRemote, ch.lawsuite.services.StatefulBeanRemote]|#]

[#|2012-04-23T17:04:52.194+0200|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=32;_ThreadName=Thread-2;|EJB5181:Portable JNDI names for EJB AdressFacade: [java:global/LawSuiteEE/LawSuiteEE-ejb/AdressFacade, java:global/LawSuiteEE/LawSuiteEE-ejb/AdressFacade!ch.lawsuite.control.AdressFacadeRemote]|#]

[#|2012-04-23T17:04:52.194+0200|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=32;_ThreadName=Thread-2;|EJB5182:Glassfish-specific (Non-portable) JNDI names for EJB AdressFacade: [ch.lawsuite.control.AdressFacadeRemote#ch.lawsuite.control.AdressFacadeRemote, ch.lawsuite.control.AdressFacadeRemote]|#]

[#|2012-04-23T17:04:52.430+0200|INFO|glassfish3.1.2|javax.enterprise.system.tools.admin.org.glassfish.deployment.admin|_ThreadID=32;_ThreadName=Thread-2;|LawSuiteEE was successfully deployed in 661 milliseconds.|#]

[#|2012-04-23T17:06:54.436+0200|INFO|glassfish3.1.2|org.eclipse.persistence.session.file:/home/nicolas/glassfish3/glassfish/domains/domain1/applications/LawSuiteEE/LawSuiteEE-ejb_jar/_LawSuiteEE-ejbPU|_ThreadID=33;_ThreadName=Thread-2;|file:/home/nicolas/glassfish3/glassfish/domains/domain1/applications/LawSuiteEE/LawSuiteEE-ejb_jar/_LawSuiteEE-ejbPU logout successful|#]

[#|2012-04-23T17:08:10.014+0200|INFO|glassfish3.1.2|org.eclipse.persistence.session.file:/home/nicolas/glassfish3/glassfish/domains/domain1/applications/LawSuiteEE/LawSuiteEE-ejb_jar/_LawSuiteEE-ejbPU|_ThreadID=19;_ThreadName=Thread-2;|EclipseLink, version: Eclipse Persistence Services - 2.3.2.v20111125-r10461|#]

[#|2012-04-23T17:08:10.015+0200|INFO|glassfish3.1.2|org.eclipse.persistence.session.file:/home/nicolas/glassfish3/glassfish/domains/domain1/applications/LawSuiteEE/LawSuiteEE-ejb_jar/_LawSuiteEE-ejbPU|_ThreadID=19;_ThreadName=Thread-2;|file:/home/nicolas/glassfish3/glassfish/domains/domain1/applications/LawSuiteEE/LawSuiteEE-ejb_jar/_LawSuiteEE-ejbPU login successful|#]

 [#|2012-04-23T17:08:10.016+0200|WARNING|glassfish3.1.2|org.eclipse.persistence.session.file:/home/nicolas/glassfish3/glassfish/domains/domain1/applications/LawSuiteEE/LawSuiteEE-ejb_jar/_LawSuiteEE-ejbPU.server|_ThreadID=19;_ThreadName=Thread-2;|Multiple [2] JMX MBeanServer instances exist, we will use the server at index [0] : [com.sun.enterprise.v3.admin.DynamicInterceptor@50d420eb].|#]

[#|2012-04-23T17:08:10.016+0200|WARNING|glassfish3.1.2|org.eclipse.persistence.session.file:/home/nicolas/glassfish3/glassfish/domains/domain1/applications/LawSuiteEE/LawSuiteEE-ejb_jar/_LawSuiteEE-ejbPU.server|_ThreadID=19;_ThreadName=Thread-2;|JMX MBeanServer in use: [com.sun.enterprise.v3.admin.DynamicInterceptor@50d420eb] from index [0] |#]

[#|2012-04-23T17:08:10.016+0200|WARNING|glassfish3.1.2|org.eclipse.persistence.session.file:/home/nicolas/glassfish3/glassfish/domains/domain1/applications/LawSuiteEE/LawSuiteEE-ejb_jar/_LawSuiteEE-ejbPU.server|_ThreadID=19;_ThreadName=Thread-2;|JMX MBeanServer in use: [com.sun.jmx.mbeanserver.JmxMBeanServer@6e22f51b] from index [1] |#]

[#|2012-04-23T17:08:10.099+0200|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers.builder|_ThreadID=19;_ThreadName=Thread-2;|TopLevel AvailabilityService.getAvailabilityEnabled => true|#]

[#|2012-04-23T17:08:10.100+0200|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers.builder|_ThreadID=19;_ThreadName=Thread-2;|TopLevel EjbAvailabilityService.getAvailabilityEnabled => true|#]

[#|2012-04-23T17:08:10.100+0200|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers.builder|_ThreadID=19;_ThreadName=Thread-2;|**Global AvailabilityEnabled => true; isAppHAEnabled: false|#]

[#|2012-04-23T17:08:10.100+0200|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers.builder|_ThreadID=19;_ThreadName=Thread-2;|StatefulContainerBuilder AvailabilityEnabled for this app => false|#]

[#|2012-04-23T17:08:10.101+0200|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers.builder|_ThreadID=19;_ThreadName=Thread-2;|StatefulContainerBuilder.buildStoreManager() storeName: StatefulBean-87503047946731521-BackingStore|#]

[#|2012-04-23T17:08:10.102+0200|INFO|glassfish3.1.2|org.glassfish.ha.store.adapter.file.FileBackingStore|_ThreadID=19;_ThreadName=Thread-2;|[FileBackingStore::initialize] Successfully Created and initialized store. Working dir: /home/nicolas/glassfish3/glassfish/domains/domain1/session-store/StatefulBean-87503047946731521; Configuration: BackingStoreConfiguration{clusterName='null', instanceName='null', storeName='StatefulBean-87503047946731521-BackingStore', shortUniqueName='87503047946731521', storeType='file', maxIdleTimeInSeconds=-1, relaxVersionCheck='null', maxLoadWaitTimeInSeconds=0, baseDirectoryName='/home/nicolas/glassfish3/glassfish/domains/domain1/session-store/StatefulBean-87503047946731521', keyClazz=interface java.io.Serializable, valueClazz=class org.glassfish.ha.store.util.SimpleMetadata, synchronousSave=false, typicalPayloadSizeInKiloBytes=0, vendorSpecificSettings={start.gms=false, async.replication=true, key.transformer=com.sun.ejb.base.sfsb.util.SimpleKeyGenerator@7cfa3f14, local.caching=true, value.class.is.thread.safe=true, broadcast.remove.expired=false}}|#]

 [#|2012-04-23T17:08:10.102+0200|WARNING|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers.builder|_ThreadID=19;_ThreadName=Thread-2;|StatefulContainerbuilder instantiated store: org.glassfish.ha.store.adapter.file.FileBackingStore@11437a26; ha-enabled: false ==> BackingStoreConfiguration{clusterName='null', instanceName='null', storeName='StatefulBean-87503047946731521-BackingStore', shortUniqueName='87503047946731521', storeType='file', maxIdleTimeInSeconds=-1, relaxVersionCheck='null', maxLoadWaitTimeInSeconds=0, baseDirectoryName='/home/nicolas/glassfish3/glassfish/domains/domain1/session-store/StatefulBean-87503047946731521', keyClazz=interface java.io.Serializable, valueClazz=class org.glassfish.ha.store.util.SimpleMetadata, synchronousSave=false, typicalPayloadSizeInKiloBytes=0, vendorSpecificSettings={start.gms=false, async.replication=true, key.transformer=com.sun.ejb.base.sfsb.util.SimpleKeyGenerator@7cfa3f14, local.caching=true, value.class.is.thread.safe=true, broadcast.remove.expired=false}}|#]

[#|2012-04-23T17:08:10.133+0200|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=19;_ThreadName=Thread-2;|EJB5181:Portable JNDI names for EJB StatefulBean: [java:global/LawSuiteEE/LawSuiteEE-ejb/StatefulBean, java:global/LawSuiteEE/LawSuiteEE-ejb/StatefulBean!ch.lawsuite.services.StatefulBeanRemote]|#]

[#|2012-04-23T17:08:10.134+0200|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=19;_ThreadName=Thread-2;|EJB5182:Glassfish-specific (Non-portable) JNDI names for EJB StatefulBean: [ch.lawsuite.services.StatefulBeanRemote#ch.lawsuite.services.StatefulBeanRemote, ch.lawsuite.services.StatefulBeanRemote]|#]

[#|2012-04-23T17:08:10.168+0200|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=19;_ThreadName=Thread-2;|EJB5181:Portable JNDI names for EJB StatelessBean: [java:global/LawSuiteEE/LawSuiteEE-ejb/StatelessBean!ch.lawsuite.services.StatelessBeanRemote, java:global/LawSuiteEE/LawSuiteEE-ejb/StatelessBean]|#]

[#|2012-04-23T17:08:10.168+0200|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=19;_ThreadName=Thread-2;|EJB5182:Glassfish-specific (Non-portable) JNDI names for EJB StatelessBean: [ch.lawsuite.services.StatelessBeanRemote, ch.lawsuite.services.StatelessBeanRemote#ch.lawsuite.services.StatelessBeanRemote]|#]

[#|2012-04-23T17:08:10.183+0200|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=19;_ThreadName=Thread-2;|EJB5181:Portable JNDI names for EJB UpdateService: [java:global/LawSuiteEE/LawSuiteEE-ejb/UpdateService, java:global/LawSuiteEE/LawSuiteEE-ejb/UpdateService!ch.lawsuite.services.UpdateService]|#]

[#|2012-04-23T17:08:10.240+0200|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=19;_ThreadName=Thread-2;|EJB5181:Portable JNDI names for EJB UserFacade: [java:global/LawSuiteEE/LawSuiteEE-ejb/UserFacade, java:global/LawSuiteEE/LawSuiteEE-ejb/UserFacade!ch.lawsuite.control.UserFacadeRemote]|#]

[#|2012-04-23T17:08:10.240+0200|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=19;_ThreadName=Thread-2;|EJB5182:Glassfish-specific (Non-portable) JNDI names for EJB UserFacade: [ch.lawsuite.control.UserFacadeRemote, ch.lawsuite.control.UserFacadeRemote#ch.lawsuite.control.UserFacadeRemote]|#]

[#|2012-04-23T17:08:10.303+0200|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=19;_ThreadName=Thread-2;|EJB5181:Portable JNDI names for EJB AdressFacade: [java:global/LawSuiteEE/LawSuiteEE-ejb/AdressFacade, java:global/LawSuiteEE/LawSuiteEE-ejb/AdressFacade!ch.lawsuite.control.AdressFacadeRemote]|#]

[#|2012-04-23T17:08:10.303+0200|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=19;_ThreadName=Thread-2;|EJB5182:Glassfish-specific (Non-portable) JNDI names for EJB AdressFacade: [ch.lawsuite.control.AdressFacadeRemote#ch.lawsuite.control.AdressFacadeRemote, ch.lawsuite.control.AdressFacadeRemote]|#]

[#|2012-04-23T17:08:10.515+0200|INFO|glassfish3.1.2|javax.enterprise.system.tools.admin.org.glassfish.deployment.admin|_ThreadID=19;_ThreadName=Thread-2;|LawSuiteEE was successfully deployed in 591 milliseconds.|#]

[#|2012-04-23T17:10:33.388+0200|INFO|glassfish3.1.2|javax.enterprise.system.tools.admin.com.sun.enterprise.container.common|_ThreadID=34;_ThreadName=Thread-2;|User [] from host localhost does not have administration access|#]

[#|2012-04-23T17:10:35.050+0200|INFO|glassfish3.1.2|org.glassfish.admingui|_ThreadID=31;_ThreadName=Thread-2;|Admin Console: Initializing Session Attributes...|#]
4

1 回答 1

2

除非您正在运行真正不典型的 EJB,否则它不应该(我每天都使用它没有问题)。所以我会做一个愚蠢的回答:检查:

  1. 你的局域网
  2. 您的远程机器负载(空闲/忙碌)
  3. 你的防火墙
于 2012-04-20T15:00:22.027 回答