Przejście z Jboss 5.1 na WildFly 11.0 z migracją/przebudową aplikacji.

0

Witam

Rozwijamy/utrzymujemy z powodzeniem portal (sklep internetowy B2B), który od około 10lat nie był upgradowany do nowszych technologii. Aplikacja działa serwerze Jboss 5.1 (łączy sie z bazą mssql). Ponieważ głównie ze względów bezpieczeństwa (Jboss 5.1 nie jest supportowany, etc.) chcielibyśmy w 'pierwszym kroku' przejść na nowszy serwer, np. WildFly 11.0.
Aplikacja w swoim stosie technologicznym używa EJB, JSF 1.2, Hibernate; EAR (składający się z trzech projektów JAR/WAR) jest budowany za pomocą Ant'a. Java jeszcze 1.7.

Wiem, wiem, że technologie użyte są wybitnie 'niedzisiejsze', ale ze względu na koszty, na tą chwilę chcemy wyjść tylko ze starego serwera na nowszy.

Czy ktoś z Was ma jakiejś doświadczenie w migracji aplikacji i może opisać, jak przebudować EAR'a, żeby serwer Wildfy poprawnie uruchomił aplikację?

pzdr

0

A próbowaliście po prostu odpalić na tym wildfly tego eara?

0

Tak.
Stworzyłem nowe środowisko (wirtualka na Win10), gdzie oprócz WildFly 11.0 zainstalowałem javę 1.8 (nie może być niższa).
Testowo uruchomiłem trywialną aplikację EJB 'Hello World', żeby upewnić się, że serwer dobrze postawiony.

Po wgraniu (a w zasadzie zdeploy'owaniu) mojego projektu do folderu ...\wildfly-11.0.0.Final\wildfly-11.0.0.Final\standalone\deployments\ , przy uruchamianiu serwera pojawiają się błędy w logu (w logu zmieniłem nazwy 'własne' plików, reszta oryginał):

11:43:27,960 INFO  [org.jboss.modules] (main) JBoss Modules version 1.6.1.Final
11:43:29,047 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.7.SP1
11:43:29,520 INFO  [org.jboss.as] (MSC service thread 1-1) WFLYSRV0049: WildFly Full 11.0.0.Final (WildFly Core 3.0.8.Final) starting
11:43:32,754 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/core-service=management/management-interface=http-interface' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
11:43:32,800 INFO  [org.wildfly.security] (ServerService Thread Pool -- 6) ELY00001: WildFly Elytron version 1.1.6.Final
11:43:32,831 INFO  [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 17) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
11:43:33,566 INFO  [org.jboss.as.repository] (ServerService Thread Pool -- 23) WFLYDR0001: Content added at location C:\install\wildfly-11.0.0.Final\wildfly-11.0.0.Final\standalone\data\content\e4\c6e3517d7b7f75be05a4677c409f460dd20f06\content
11:43:33,581 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)
11:43:33,660 INFO  [org.xnio] (MSC service thread 1-1) XNIO version 3.5.4.Final
11:43:33,660 INFO  [org.xnio.nio] (MSC service thread 1-1) XNIO NIO Implementation Version 3.5.4.Final
11:43:33,800 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 42) WFLYCLINF0001: Activating Infinispan subsystem.
11:43:33,988 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 50) WFLYNAM0001: Activating Naming Subsystem
11:43:34,050 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 60) WFLYWS0002: Activating WebServices Extension
11:43:34,097 INFO  [org.jboss.as.jaxrs] (ServerService Thread Pool -- 43) WFLYRS0016: RESTEasy version 3.0.24.Final
11:43:34,113 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 48) WFLYJSF0007: Activated the following JSF Implementations: [main]
11:43:34,128 INFO  [org.wildfly.extension.io] (ServerService Thread Pool -- 41) WFLYIO001: Worker 'default' has auto-configured to 4 core threads with 32 task threads based on your 2 available processors
11:43:34,050 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 57) WFLYSEC0002: Activating Security Subsystem
11:43:34,035 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 58) WFLYTX0013: The node-identifier attribute on the /subsystem=transactions is set to the default value. This is a danger for environments running multiple servers. Please make sure the attribute value is unique.
11:43:34,269 INFO  [org.jboss.remoting] (MSC service thread 1-4) JBoss Remoting version 5.0.5.Final
11:43:34,457 INFO  [org.jboss.as.naming] (MSC service thread 1-1) WFLYNAM0003: Starting Naming Service
11:43:34,504 INFO  [org.jboss.as.security] (MSC service thread 1-4) WFLYSEC0001: Current PicketBox version=5.0.2.Final
11:43:34,535 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0003: Undertow 1.4.18.Final starting
11:43:34,581 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-4) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]
11:43:34,613 INFO  [org.jboss.as.connector] (MSC service thread 1-4) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.4.6.Final)
11:43:34,770 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 36) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.4)
11:43:34,963 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-4) WFLYJCA0018: Started Driver service with driver-name = h2
11:43:35,354 INFO  [org.jboss.as.ejb3] (MSC service thread 1-3) WFLYEJB0482: Strict pool mdb-strict-max-pool is using a max instance size of 8 (per class), which is derived from the number of CPUs on this host.
11:43:35,291 INFO  [org.jboss.as.ejb3] (MSC service thread 1-1) WFLYEJB0481: Strict pool slsb-strict-max-pool is using a max instance size of 32 (per class), which is derived from thread worker pool sizing.
11:43:35,416 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 59) WFLYUT0014: Creating file handler for path 'C:\install\wildfly-11.0.0.Final\wildfly-11.0.0.Final/welcome-content' with options [directory-listing: 'false', follow-symlink: 'false', case-sensitive: 'true', safe-symlink-paths: '[]']
11:43:35,682 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0012: Started server default-server.
11:43:35,682 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0018: Host default-host starting
11:43:35,869 INFO  [org.jboss.as.ejb3] (MSC service thread 1-4) WFLYEJB0493: EJB subsystem suspension complete
11:43:35,891 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0006: Undertow HTTP listener default listening on 127.0.0.1:8080
11:43:36,125 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]
11:43:36,594 INFO  [org.jboss.as.patching] (MSC service thread 1-4) WFLYPAT0050: WildFly Full cumulative patch ID is: base, one-off patches include: none
11:43:36,828 WARN  [org.jboss.as.domain.management.security] (MSC service thread 1-2) WFLYDM0111: Keystore C:\install\wildfly-11.0.0.Final\wildfly-11.0.0.Final\standalone\configuration\application.keystore not found, it will be auto generated on first use with a self signed certificate for host localhost
11:43:36,844 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-3) WFLYDS0013: Started FileSystemDeploymentService for directory C:\install\wildfly-11.0.0.Final\wildfly-11.0.0.Final\standalone\deployments
11:43:36,844 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0027: Starting deployment of "XSkins.war" (runtime-name: "XSkins.war")
11:43:36,844 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0027: Starting deployment of "X.ear" (runtime-name: "X.ear")
11:43:37,250 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0006: Undertow HTTPS listener https listening on 127.0.0.1:8443
11:43:37,645 INFO  [org.jboss.ws.common.management] (MSC service thread 1-3) JBWS022052: Starting JBossWS 5.1.9.Final (Apache CXF 3.1.12) 
11:43:39,834 INFO  [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-1) ISPN000128: Infinispan version: Infinispan 'Chakra' 8.2.8.Final
11:43:40,846 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 62) WFLYCLINF0002: Started client-mappings cache from ejb container
11:43:41,116 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 65) WFLYUT0021: Registered web context: '/XSkins' for server 'default-server'
11:43:54,773 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0207: Starting subdeployment (runtime-name: "XWEBSERVICE.war")
11:43:54,789 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0207: Starting subdeployment (runtime-name: "XWEB.war")
11:43:54,789 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0207: Starting subdeployment (runtime-name: "XEJB.jar")
11:43:56,886 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0059: Class Path entry commons-beanutils.jar in /C:/install/wildfly-11.0.0.Final/wildfly-11.0.0.Final/bin/content/X.ear/XWEB.war/WEB-INF/lib/struts.jar  does not point to a valid jar for a Class-Path reference.
11:43:56,886 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0059: Class Path entry commons-collections.jar in /C:/install/wildfly-11.0.0.Final/wildfly-11.0.0.Final/bin/content/X.ear/XWEB.war/WEB-INF/lib/struts.jar  does not point to a valid jar for a Class-Path reference.
11:43:56,901 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0059: Class Path entry commons-digester.jar in /C:/install/wildfly-11.0.0.Final/wildfly-11.0.0.Final/bin/content/X.ear/XWEB.war/WEB-INF/lib/struts.jar  does not point to a valid jar for a Class-Path reference.
11:43:56,901 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0059: Class Path entry commons-logging.jar in /C:/install/wildfly-11.0.0.Final/wildfly-11.0.0.Final/bin/content/X.ear/XWEB.war/WEB-INF/lib/struts.jar  does not point to a valid jar for a Class-Path reference.
11:43:56,901 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0059: Class Path entry commons-validator.jar in /C:/install/wildfly-11.0.0.Final/wildfly-11.0.0.Final/bin/content/X.ear/XWEB.war/WEB-INF/lib/struts.jar  does not point to a valid jar for a Class-Path reference.
11:43:56,901 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0059: Class Path entry struts-legacy.jar in /C:/install/wildfly-11.0.0.Final/wildfly-11.0.0.Final/bin/content/X.ear/XWEB.war/WEB-INF/lib/struts.jar  does not point to a valid jar for a Class-Path reference.
11:43:57,513 INFO  [org.jboss.weld.deployer] (MSC service thread 1-3) WFLYWELD0003: Processing weld deployment X.ear
11:43:57,560 INFO  [org.hibernate.validator.internal.util.Version] (MSC service thread 1-3) HV000001: Hibernate Validator 5.3.5.Final
11:43:57,919 INFO  [org.jboss.weld.deployer] (MSC service thread 1-3) WFLYWELD0003: Processing weld deployment XWEBSERVICE.war
11:43:57,961 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service jboss.deployment.subunit."X.ear"."XEJB.jar".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."X.ear"."XEJB.jar".POST_MODULE: WFLYSRV0153: Failed to process phase POST_MODULE of subdeployment "XEJB.jar" of deployment "X.ear"
	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:172)
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.RuntimeException: WFLYSRV0177: Error getting reflective information for class pl.iz.ejb.WebFasadeBean with ClassLoader ModuleClassLoader for Module "deployment.X.ear.XEJB.jar" from Service Module Loader
	at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:78)
	at org.jboss.as.ee.metadata.MethodAnnotationAggregator.runtimeAnnotationInformation(MethodAnnotationAggregator.java:57)
	at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.handleAnnotations(InterceptorAnnotationProcessor.java:106)
	at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:91)
	at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:76)
	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:165)
	... 5 more
Caused by: java.lang.NoClassDefFoundError: org/hibernate/HibernateException
	at java.lang.Class.getDeclaredFields0(Native Method)
	at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
	at java.lang.Class.getDeclaredFields(Class.java:1916)
	at org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:72)
	at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:70)
	... 10 more
Caused by: java.lang.ClassNotFoundException: org.hibernate.HibernateException from [Module "deployment.X.ear.XEJB.jar" from Service Module Loader]
	at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:198)
	at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:412)
	at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:400)
	at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
	... 15 more

11:43:59,133 INFO  [org.jboss.weld.deployer] (MSC service thread 1-4) WFLYWELD0003: Processing weld deployment XWEB.war
11:43:59,242 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "X.ear")]) - failure description: {
    "WFLYCTL0080: Failed services" => {"jboss.deployment.subunit.\"X.ear\".\"XEJB.jar\".POST_MODULE" => "WFLYSRV0153: Failed to process phase POST_MODULE of subdeployment \"XEJB.jar\" of deployment \"X.ear\"
    Caused by: java.lang.RuntimeException: WFLYSRV0177: Error getting reflective information for class pl.iz.ejb.WebFasadeBean with ClassLoader ModuleClassLoader for Module \"deployment.X.ear.XEJB.jar\" from Service Module Loader
    Caused by: java.lang.NoClassDefFoundError: org/hibernate/HibernateException
    Caused by: java.lang.ClassNotFoundException: org.hibernate.HibernateException from [Module \"deployment.X.ear.XEJB.jar\" from Service Module Loader]"},
    "WFLYCTL0412: Required services that are not installed:" => [
        "jboss.deployment.unit.\"X.ear\".beanmanager",
        "jboss.deployment.subunit.\"X.ear\".\"XWEBSERVICE.war\".beanmanager",
        "jboss.deployment.subunit.\"X.ear\".\"XWEB.war\".beanmanager"
    ],
    "WFLYCTL0180: Services with missing/unavailable dependencies" => [
        "jboss.deployment.subunit.\"X.ear\".\"XWEBSERVICE.war\".batch.artifact.factory is missing [jboss.deployment.subunit.\"X.ear\".\"XWEBSERVICE.war\".beanmanager]",
        "jboss.deployment.subunit.\"X.ear\".\"XWEB.war\".batch.artifact.factory is missing [jboss.deployment.subunit.\"X.ear\".\"XWEB.war\".beanmanager]",
        "jboss.deployment.unit.\"X.ear\".weld.weldClassIntrospector is missing [jboss.deployment.unit.\"X.ear\".beanmanager]"
    ]
}
11:43:59,461 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 37) WFLYSRV0010: Deployed "X.ear" (runtime-name : "X.ear")
11:43:59,477 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 37) WFLYSRV0010: Deployed "XSkins.war" (runtime-name : "XSkins.war")
11:43:59,493 INFO  [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
WFLYCTL0184:    New missing/unsatisfied dependencies:
      service jboss.deployment.subunit."X.ear"."XWEB.war".beanmanager (missing) dependents: [service jboss.deployment.subunit."X.ear"."XWEB.war".batch.artifact.factory] 
      service jboss.deployment.subunit."X.ear"."XWEBSERVICE.war".beanmanager (missing) dependents: [service jboss.deployment.subunit."X.ear"."XWEBSERVICE.war".batch.artifact.factory] 
      service jboss.deployment.unit."X.ear".beanmanager (missing) dependents: [service jboss.deployment.unit."X.ear".weld.weldClassIntrospector] 
WFLYCTL0186:   Services which failed to start:      service jboss.deployment.subunit."X.ear"."XEJB.jar".POST_MODULE: WFLYSRV0153: Failed to process phase POST_MODULE of subdeployment "XEJB.jar" of deployment "X.ear"

11:43:59,743 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
11:43:59,760 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
11:43:59,760 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990
11:43:59,760 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: WildFly Full 11.0.0.Final (WildFly Core 3.0.8.Final) started (with errors) in 32690ms - Started 475 of 714 services (11 services failed or missing dependencies, 361 services are lazy, passive or on-demand)
11:44:00,555 INFO  [org.jboss.as.protocol] (management I/O-1) WFLYPRT0057:  cancelled task by interrupting thread Thread[management-handler-thread - 2,5,management-handler-thread]
11:53:30,458 INFO  [org.jboss.as.repository] (ServerService Thread Pool -- 67) WFLYDR0009: Content C:\install\wildfly-11.0.0.Final\wildfly-11.0.0.Final\standalone\data\content\c2\e196dc44baab3b0cda9891d2d099d7cf3eed5e is obsolete and will be removed
11:53:30,510 INFO  [org.jboss.as.repository] (ServerService Thread Pool -- 67) WFLYDR0002: Content removed from location C:\install\wildfly-11.0.0.Final\wildfly-11.0.0.Final\standalone\data\content\c2\e196dc44baab3b0cda9891d2d099d7cf3eed5e\content
0

To jest wynik tego helloWorld?
I masz tam użycie HibernateException ? (jakiś catch ?)

0

Strzelam, że brakuje Ci w Manifeście zależności do hibernate

https://docs.jboss.org/author/display/WFLY/Class+Loading+in+WildFly

W META-INF/Manifest.mf
Bedziesz musiał dodać linię w stylu
Dependencies: org.hibernate

Ale to strzelanie, w ogóle nie kojarze tego problemu.

0

Uzupełnię dodatkowymi informacjami odnośnie obecnej struktury pliku EAR:

  1. EAR jest zbudowany z 3 projektów, załączam poglądowy schemat
X.ear
-------------------------------------------
-------------------------------------------
LIB
	commons-beanutils-1.8.3.jar
	commons-digester-1.8.jar
	groovy-all-2.3.7.jar
	iText-2.1.7.jar
	jasperreports-3.7.6.jar
	jtds-1.3.1.jar
	log4j-1.2.17.jar
	mailapi.jar
	poi-3.11-20141221.jar
	tika-app-1.6.jar
META-INF
	application.xml
	MANIFEST.MF
---------------------------------------------------
X_EJB.jar
	{klasy hibernate, DAO, DTO, ejb, itd.}
	META-INF
		MANIFEST.MF	
	build.properties
	config.properties
--------------------------------------------------
X_WEB.war 
	index.jsp, i pozstałe .jsp	
	jquery-ui
	META-INF
		MANIFEST.MF	
	WEB-INF
		classes
			bundle (jezyk.properties)
			{klasy własne}
			build.properties
			config.properties
		lib
			batik-awt-util-1.6-1.jar
			batik-ext-1.6-1.jar
			batik-gui-util-1.6-1.jar
			batik-util-1.6-1.jar
			commons-beanutils-1.8.3.jar
			commons-codec-1.3.jar
			commons-collections-3.2.1.jar
			commons-digester-1.8.jar
			commons-discovery-0.4.jar
			commons-el-1.0.jar
			commons-fileupload-1.2.1.jar
			commons-io-1.3.2.jar
			commons-lang-2.4.jar
			commons-logging-1.1.1.jar
			commons-validator-1.3.1.jar
			htmLib.jar
			jakarta-oro.jar
			jstl.jar
			myfaces-api-1.2.12.jar
			myfaces-impl-1.2.12.jar
			oro-2.0.8.jar
			standard.jar
			struts.jar
			tomahawk12-1.1.13.jar
			trinidad-api-1.2.14.jar
			trinidad-impl-1.2.14.jar			
		faces-config.xml		
		tiles.xml
		web.xml
--------------------------------------------------
X_WEBSERVICE.war
	META-INF MANIFEST.MF
	WEB-INF
		{klasy własne}
		build.properties
		config.properties
		lib 
			commons-lang3-3.0.1.jar
		jboss-web.xml
		web.xml
  1. W plikach manifest.mf (a jest ich 4) nie ma istotnych informacji (na końcu zrzut):
  2. Oprócz bibliotek dołączonych do EAR są również dodane biblioteki dodane bezpośrednio w serwerze ...\Jboss\jboss-5.1.0.GA\common\lib(99 bibliotek)

O ile dobrze rozumiem, to w jbossie/wildfy bodajże od wersji 7.00 zmienił się sposób ładowania klas - od hierarchicznej zależności do modularnej. Tylko właśnie nie wiem, jak to się sprowadza do praktyki, czyli a) w jakich plikach konfiguracyjnych dodać info, b) jak zmodyfikować układ bibliotek (w earze, na serwerze jboss).

Manifest-Version: 1.0
Ant-Version: Apache Ant 1.8.4
Created-By: 1.7.0_72-b14 (Oracle Corporation)

Manifest-Version: 1.0
Ant-Version: Apache Ant 1.8.4
Created-By: 1.7.0_72-b14 (Oracle Corporation)
Class-Path:

Manifest-Version: 1.0
Ant-Version: Apache Ant 1.8.4
Created-By: 1.7.0_72-b14 (Oracle Corporation)

Manifest-Version: 1.0
Ant-Version: Apache Ant 1.8.4
Created-By: 1.7.0_72-b14 (Oracle Corporation)

1
  1. Nie wiem po co ta migracja (działa - nie ruszaj), dla bezpieczeństwa ???? - podaj konkretne przykład
  2. Źle to robicie - metodą siłową...., zróbcie sobie z boku aplikacje na docelowy stosie technologicznym i po kolei dokładajcie klocki z waszego aktualnego stosu i obserwujcie które klocki pierdzielą nową aplikację i tak w koło.
  3. Na pocieszenie również zmigrowaliśmy aplikację z JBOSS 5.1 /JDK 6 na Wildfly 10 , JDK 8 - 2 osoby, miesiąc czasu
0
> 1) Nie wiem po co ta migracja (działa - nie ruszaj), dla bezpieczeństwa ???? - podaj konkretne przykład

Powiedziano mi, że Jboss 5.1 jest niebezpiecznie dziurawy, niesupportowany.

> 2) Źle to robicie - metodą siłową...., zróbcie sobie z boku aplikacje na docelowy stosie technologicznym i po kolei dokładajcie klocki z waszego aktualnego stosu i obserwujcie które klocki pierdzielą nową aplikację i tak w koło.
> 3) Na pocieszenie również zmigrowaliśmy aplikację z JBOSS 5.1 /JDK 6 na Wildfly 10 , JDK 8 - 2 osoby, miesiąc czasu

Są generalnie trzy rozwiązania:
-albo zostaje jak jest (ryzykownie, ale bezkosztowowo),
-albo przepisujemy aplikacją na zupełnie nowy stos technologiczny (dobre rozwiązanie, ale kosztowne),
-albo próbujemy zupgradować 'małymi-tanimi' kroczami to co mamy - odsuwając w czasie zapewne to co nieuchronne (przepisanie na nowy stos technologiczny).

0

Normalnie nie wytrzymie

  1. Powiedziano mi, że Jboss 5.1 jest niebezpiecznie dziurawy, niesupportowany - ale konkrety z czym macie problem, jakie błędy was dotkneły !!! (na pudelku to przeczytaliście)
  2. Ogólnie współczuje pracodawcy od razu mu powiedzcie, że jak przepiszecie soft na nowy stos technologiczny to przez ten czas jak będziecie go przepisywać (rok/dwa) to pojawi się nowy stos więc trzeba będzie znów przepisać i tak w nieskończoność - no bo przeciez stary będzie już "niebezpiecznie dziurawy, niesupportowany"

Droga nr 4
Stworzyć aplikację na nowym stosie która dostarczy użytkowniką nowych funkcji, a starą zostawić w spokoju, niech działa nadal

0
Szczery napisał(a):

Droga nr 4
Stworzyć aplikację na nowym stosie która dostarczy użytkowniką nowych funkcji, a starą zostawić w spokoju

No ta, na pewno ;D zwłaszcza jeśli to apka utrzymywana od 10 lat w banku

1 użytkowników online, w tym zalogowanych: 0, gości: 1