Badges

Certificação Liferay

6.1 Professional Developer
6.2 Professional Developer

Treinamento Liferay

Advanced Developer Training
Developing for the Liferay Platform 1
Mastering Liferay Fundamentals
Administering Liferay Systems

Minhas atividades

Maio 18
Milen Dyankov comentou em LPS-65930.
Milen Dyankov atualizou LPS-65930.
Milen Dyankov atualizou LPS-65930.
02:15
Milen Dyankov adicionou LPS-65930.
Abril 19
Milen Dyankov comentou em LPS-65037.
02:44 Expected behavior is not "by the spec" but by comparing to the result of the alternative approach which is fileinstall. *In another words, if this is not a bug then (using the exact same reasoning) it is bug that fileinstall behaves differently*. Here is how this looks like from user perspective. Lets use 2 bundles - MyGreatService-api - MyGreatService-service such that MyGreatService-service imports packages form MyGreatService-api Copy both file to {{deploy}} folder. Logs: {code} 08:48:37,730 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:250] Processing MyGreatService-api-1.0.0.jar 08:48:46,742 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:250] Processing MyGreatService-service-1.0.0.jar 08:48:49,682 INFO [fileinstall-/data/projects/Liferay/dev/ce/liferay-portal-7.0-ce-ga1/osgi/modules][BundleStartStopLogger:35] STARTED MyGreatService-api_1.0.0 [494] 08:48:59,756 INFO [fileinstall-/data/projects/Liferay/dev/ce/liferay-portal-7.0-ce-ga1/osgi/modules][BundleStartStopLogger:35] STARTED MyGreatService-service_1.0.0 [495] {code} result of {{lb}} {code} 494|Active | 1|MyGreatService-api (1.0.0) 495|Active | 1|MyGreatService-service (1.0.0) {code} Remove {{MyGreatService-api}} from {{LIFERAY_HOME/osgi/modules}} Logs: {code} 08:56:15,153 INFO [fileinstall-/data/projects/Liferay/dev/ce/liferay-portal-7.0-ce-ga1/osgi/modules][BundleStartStopLogger:38] STOPPED MyGreatService-api_1.0.0 [494] 08:56:15,240 INFO [Refresh Thread: Equinox Container: e0585a56-0a06-0016-1e57-cbbc8f38afd0][BundleStartStopLogger:38] STOPPED MyGreatService-service_1.0.0 [495] {code} result of {{lb}} {code} 495|Installed | 1|MyGreatService-service (1.0.0) {code} Deploy {{MyGreatService-api}} again: Logs: {code} 08:57:56,217 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:250] Processing MyGreatService-api-1.0.0.jar 08:58:05,394 INFO [Refresh Thread: Equinox Container: e0585a56-0a06-0016-1e57-cbbc8f38afd0][BundleStartStopLogger:35] STARTED MyGreatService-service_1.0.0 [495] 08:58:05,533 INFO [fileinstall-/data/projects/Liferay/dev/ce/liferay-portal-7.0-ce-ga1/osgi/modules][BundleStartStopLogger:35] STARTED MyGreatService-api_1.0.0 [496] {code} result of {{lb}} {code} 495|Active | 1|MyGreatService-service (1.0.0) 496|Active | 1|MyGreatService-api (1.0.0) {code} Do {{uninstall 496}} Logs: {code} 08:59:53,728 INFO [Thread-63][BundleStartStopLogger:38] STOPPED MyGreatService-api_1.0.0 [496] {code} result of {{lb}} {code} 495|Active | 1|MyGreatService-service (1.0.0) {code} and {{MyGreatService-api.jar}} file is still in {{LIFERAY_HOME/osgi/modules}} folder Do {{refresh}} Logs: {code} 09:05:19,574 INFO [Refresh Thread: Equinox Container: e0585a56-0a06-0016-1e57-cbbc8f38afd0][BundleStartStopLogger:38] STOPPED MyGreatService-service_1.0.0 [495] {code} result of {{lb}} {code} 495|Installed | 1|MyGreatService-service (1.0.0) {code} As an attempt to install it, copy {{MyGreatService-api.jar}} to {{deploy}} folder again Logs: {code} 09:06:47,783 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:250] Processing MyGreatService-api-1.0.0.jar {code} result of {{lb}} {code} 495|Installed | 1|MyGreatService-service (1.0.0) {code} As an attempt to clear up things, remove {{MyGreatService-api.jar}} from {{LIFERAY_HOME/osgi/modules}} folder Logs: {code} 09:08:56,010 WARN [fileinstall-/data/projects/Liferay/dev/ce/liferay-portal-7.0-ce-ga1/osgi/modules][org_apache_felix_fileinstall:103] Failed to uninstall bundle: /data/projects/Liferay/dev/ce/liferay-portal-7.0-ce-ga1/osgi/modules/MyGreatService-api-1.0.0.jar with id: 496. The bundle has already been uninstalled {code} result of {{lb}} {code} 495|Installed | 1|MyGreatService-service (1.0.0) {code} As an attempt to install it, copy {{MyGreatService-api.jar}} to {{deploy}} folder again Logs: {code} 09:11:12,045 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:250] Processing MyGreatService-api-1.0.0.jar 09:11:21,173 INFO [Refresh Thread: Equinox Container: e0585a56-0a06-0016-1e57-cbbc8f38afd0][BundleStartStopLogger:35] STARTED MyGreatService-service_1.0.0 [495] 09:11:21,287 INFO [fileinstall-/data/projects/Liferay/dev/ce/liferay-portal-7.0-ce-ga1/osgi/modules][BundleStartStopLogger:35] STARTED MyGreatService-api_1.0.0 [497] {code} result of {{lb}} {code} 495|Active | 1|MyGreatService-service (1.0.0) 498|Active | 1|MyGreatService-api (1.0.0) {code} Now try this: {code} g! uninstall 498 g! install file:///data/projects/Liferay/dev/ce/liferay-portal-7.0-ce-ga1/osgi/modules/MyGreatService-api-1.0.0.jar Bundle ID: 499 g! start 499 {code} now try to remove {{MyGreatService-api.jar}} from {{LIFERAY_HOME/osgi/modules}} folder Logs: {code} 09:42:22,795 WARN [fileinstall-/data/projects/Liferay/dev/ce/liferay-portal-7.0-ce-ga1/osgi/modules][org_apache_felix_fileinstall:103] Failed to uninstall bundle: /data/projects/Liferay/dev/ce/liferay-portal-7.0-ce-ga1/osgi/modules/MyGreatService-api-1.0.0.jar with id: 498. The bundle has already been uninstalled {code} result of {{lb}} {code} 495|Active | 1|MyGreatService-service (1.0.0) 499|Active | 1|MyGreatService-api (1.0.0) {code}
Milen Dyankov atualizou LPS-65037.
Abril 13
22:21
Milen Dyankov atualizou LPS-65037.
Milen Dyankov atualizou LPS-65037.
09:42
Milen Dyankov atualizou LPS-65034.
Subscrever as atividades de Milen Dyankov. (Abre uma nova janela)