[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Deployment Fails on WebSphere 8.5.5.13  XML
Forum Index -> Deployment
Author Message
lkuhs



Joined: 08/01/2019 08:13:05
Messages: 3
Offline

The latest version of the framework (since 20190107) doesn't work with WebSphere anymore.

Update: error still there with version 20190109

Here the issue:
Code:
 [1/11/19 9:32:25:895 CET] 0000004f ServletWrappe I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [smaragd_tcm_server_war] [/smaragd.tcm.server] [ExtCalendarServlet]: Initialization successful.
 [1/11/19 9:32:25:897 CET] 0000004f webapp        E com.ibm.ws.webcontainer.webapp.WebApp commonInitializationFinally SRVE0266E: Error occured while initializing servlets: {0}
                                  java.util.ConcurrentModificationException
                 at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:918)
                 at java.util.ArrayList$Itr.next(ArrayList.java:868)
                 at com.ibm.ws.webcontainer.webapp.WebApp.doLoadOnStartupActions(WebApp.java:633)
                 at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinally(WebApp.java:606)
                 at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:426)
                 at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:88)
                 at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:171)
                 at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:904)
                 at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:789)
                 at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:427)
                 at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:719)
                 at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1211)
                 at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1390)
                 at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:639)
                 at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:979)
                 at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:795)
                 at com.ibm.ws.runtime.component.ApplicationMgrImpl$5.run(ApplicationMgrImpl.java:2279)
                 at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:5464)
                 at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:5680)
                 at com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)
                 at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2284)
                 at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:436)
                 at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)
                 at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:379)
                 at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$500(CompositionUnitMgrImpl.java:127)
                 at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.java:985)
                 at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:524)
                 at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1892)
 
 [1/11/19 9:32:25:908 CET] 0000004f webcontainer  I com.ibm.ws.webcontainer.VirtualHostImpl addWebApplication SRVE0250I: Web Module null has been bound to default_host[*:9080,*:80,*:9443,*:5060,*:5061,*:443].
 [1/11/19 9:32:26:003 CET] 0000004f ApplicationMg A   WSVR0221I: Application started: smaragd_tcm_server_war
 


To compare here the succesful log with old client 20181217:
Code:
 [1/11/19 10:23:05:502 CET] 0000004f ServletWrappe I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [smaragd_tcm_server_war] [/smaragd.tcm.server] [ExtCalendarServlet]: Initialization successful.
 [1/11/19 10:23:05:513 CET] 0000004f ServletWrappe I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [smaragd_tcm_server_war] [/smaragd.tcm.server] [BufferedContentServlet]: Initialization successful.
 [1/11/19 10:23:05:524 CET] 0000004f ServletWrappe I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [smaragd_tcm_server_war] [/smaragd.tcm.server] [UploadContentServlet]: Initialization successful.
 [1/11/19 10:23:05:531 CET] 0000004f ServletWrappe I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [smaragd_tcm_server_war] [/smaragd.tcm.server] [LongPollingServlet]: Initialization successful.
 [1/11/19 10:23:05:537 CET] 0000004f ServletWrappe I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [smaragd_tcm_server_war] [/smaragd.tcm.server] [FileUploadServlet]: Initialization successful.
 [1/11/19 10:23:05:542 CET] 0000004f ServletWrappe I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [smaragd_tcm_server_war] [/smaragd.tcm.server] [SessionInvalidationServlet]: Initialization successful.
 [1/11/19 10:23:05:548 CET] 0000004f ServletWrappe I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [smaragd_tcm_server_war] [/smaragd.tcm.server] [CLResourceAccessServlet]: Initialization successful.
 [1/11/19 10:23:05:917 CET] 0000004f webapp        I com.ibm.ws.webcontainer.webapp.WebApp log SRVE0292I: Servlet Message - [smaragd_tcm_server_war#smaragd.tcm.server.war]:.Initializing Spring DispatcherServlet 'remoting'
 [1/11/19 10:23:19:765 CET] 0000004f PrivExAction  W   J2CA0144W: No mappingConfigAlias found for ConnectionFactory or DataSource tcm/datasource.
 [1/11/19 10:23:19:768 CET] 0000004f PrivExAction  W   J2CA0114W: No container-managed authentication alias found for ConnectionFactory or DataSource tcm/datasource.
 [1/11/19 10:23:21:432 CET] 0000004f InternalGener I   DSRA8225I: DataSource JNDI name : tcm/datasource
 [1/11/19 10:23:21:438 CET] 0000004f InternalGener I   DSRA8203I: Database product name : Oracle
 [1/11/19 10:23:21:439 CET] 0000004f InternalGener I   DSRA8204I: Database product version : Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production
 [1/11/19 10:23:21:440 CET] 0000004f InternalGener I   DSRA8205I: JDBC driver name  : Oracle JDBC driver
 [1/11/19 10:23:21:441 CET] 0000004f InternalGener I   DSRA8206I: JDBC driver version  : 12.2.0.1.0
 [1/11/19 10:23:21:442 CET] 0000004f InternalGener I   DSRA8218I: JDBC driver specification level  : 4.2
 [1/11/19 10:23:21:443 CET] 0000004f InternalOracl I   DSRA8212I: DataStoreHelper name is: com.ibm.websphere.rsadapter.Oracle11gDataStoreHelper.
 [1/11/19 10:23:21:445 CET] 0000004f WSRdbDataSour I   DSRA8208I: JDBC driver type  : 4
 [1/11/19 10:23:26:442 CET] 0000004f Version       Z org.hibernate.Version logVersion HHH000412: Hibernate Core {5.2.17.Final}
 [1/11/19 10:23:26:458 CET] 0000004f Environment   Z org.hibernate.cfg.Environment <clinit> HHH000206: hibernate.properties not found
 [1/11/19 10:23:29:522 CET] 0000004f Version       Z org.hibernate.annotations.common.reflection.java.JavaReflectionManager <clinit> HCANN000001: Hibernate Commons Annotations {5.0.3.Final}
 [1/11/19 10:23:29:876 CET] 0000004f Dialect       Z org.hibernate.dialect.Dialect <init> HHH000400: Using dialect: org.hibernate.dialect.Oracle12cDialect
 [1/11/19 10:23:30:463 CET] 0000004f BasicTypeRegi Z org.hibernate.type.BasicTypeRegistry register HHH000270: Type registration [byte[]] overrides previous : org.hibernate.type.BinaryType@a7dfe3f6
 [1/11/19 10:23:30:465 CET] 0000004f BasicTypeRegi Z org.hibernate.type.BasicTypeRegistry register HHH000270: Type registration [[B] overrides previous : org.hibernate.type.BinaryType@a7dfe3f6
 [1/11/19 10:23:30:467 CET] 0000004f BasicTypeRegi Z org.hibernate.type.BasicTypeRegistry register HHH000270: Type registration [Byte[]] overrides previous : org.hibernate.type.WrapperBinaryType@b88f46c5
 [1/11/19 10:23:30:468 CET] 0000004f BasicTypeRegi Z org.hibernate.type.BasicTypeRegistry register HHH000270: Type registration [[Ljava.lang.Byte;] overrides previous : org.hibernate.type.WrapperBinaryType@b88f46c5
 [1/11/19 10:23:47:263 CET] 0000004f QueryTranslat Z org.hibernate.hql.internal.QueryTranslatorFactoryInitiator initiateService HHH000397: Using ASTQueryTranslatorFactory
 [1/11/19 10:23:50:502 CET] 0000004f Version       Z org.hibernate.validator.internal.util.Version <clinit> HV000001: Hibernate Validator 5.4.2.Final
 [1/11/19 10:23:55:503 CET] 0000004f ServletWrappe I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [smaragd_tcm_server_war] [/smaragd.tcm.server] [remoting]: Initialization successful.
 [1/11/19 10:23:55:522 CET] 0000004f ServletWrappe I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [smaragd_tcm_server_war] [/smaragd.tcm.server] [Faces Servlet]: Initialization successful.
 [1/11/19 10:23:55:532 CET] 0000004f ServletWrappe I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [smaragd_tcm_server_war] [/smaragd.tcm.server] [DynamicImageServlet]: Initialization successful.
 [1/11/19 10:23:55:544 CET] 0000004f ServletWrappe I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [smaragd_tcm_server_war] [/smaragd.tcm.server] [AutoCompleteServlet]: Initialization successful.
 [1/11/19 10:23:55:553 CET] 0000004f ServletWrappe I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [smaragd_tcm_server_war] [/smaragd.tcm.server] [ImageSizeServlet]: Initialization successful.
 [1/11/19 10:23:55:558 CET] 0000004f ServletWrappe I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [smaragd_tcm_server_war] [/smaragd.tcm.server] [RISCStarter]: Initialization successful.
 [1/11/19 10:23:55:565 CET] 0000004f ServletWrappe I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [smaragd_tcm_server_war] [/smaragd.tcm.server] [SMonitorServerStartup]: Initialization successful.
 [1/11/19 10:23:55:569 CET] 0000004f webcontainer  I com.ibm.ws.webcontainer.VirtualHostImpl addWebApplication SRVE0250I: Web Module null has been bound to default_host[*:9080,*:80,*:9443,*:5060,*:5061,*:443].
 [1/11/19 10:23:55:665 CET] 0000004f ApplicationMg A   WSVR0221I: Application started: smaragd_tcm_server_war
 
lkuhs



Joined: 08/01/2019 08:13:05
Messages: 3
Offline

duplicate instead of edit...
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5519
Offline

Puuuh! ;-)

There is one thing that we did not do before, and did it the first time with 20180107: the dynamic adding of servlets to the servlet context.

Code:
                     try
                     {
                         // servlet "StyleReaderServlet"
                         CLog.L.log(CLog.LL_INF,"* Registration of servlet: " + StyleReaderServlet.class.getName());
                         ServletRegistration.Dynamic servlet = servletContext.addServlet(StyleReaderServlet.class.getSimpleName(),StyleReaderServlet.class.getName());
                         servlet.addMapping("/eclntjsfserver/styles/*");
                         servlet.setLoadOnStartup(1);
                         CLog.L.log(CLog.LL_INF,"* Registration of servlet - finished: " + StyleReaderServlet.class.getName());
                     }  
                     catch (Throwable t)
                     {
                         CLog.L.log(CLog.LL_ERR,"* Registration of servlet - failed: " + StyleReaderServlet.class.getName(),t);
                     }
 
 


Maybe this info helps you to check if WebSphere has problems with this type of adding servlets?

Which servlet-API-Release is supported within your WebSphere?

Regards, Björn

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Deployment
Go to:   
Powered by JForum 2.1.6 © JForum Team