Upgrade issue from 5.5.0 to 5.5.1

Post any questions regarding Installing or Upgrading Ebase, including problems starting up the Ebase Xi Server or Designer

Moderators: Jon, Steve, Ian, Dave

neilnewman
Ebase User
Posts: 201
Joined: Fri Dec 20, 2013 1:29 pm
Location: Dartford Borough Council
Contact:

Upgrade issue from 5.5.0 to 5.5.1

#1

Postby neilnewman » Wed Jun 12, 2019 10:02 am

I have just upgraded one of our instances and hit a problem when I try to start the Integrated Test Server. Ebase itself appears to be working OK, but when I switch the test server to be integrated it fails to connect and subsequently the upgrade of the database fails.

I know this is something I have done wrong during the installation process, but I cannot see what I have wrong.
Please find below the startup log:

Jun 12, 2019 10:50:00 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-nio-3050"]
Jun 12, 2019 10:50:00 AM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
INFO: Using a shared selector for servlet write/read
Jun 12, 2019 10:50:00 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Tomcat
Jun 12, 2019 10:50:00 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/8.0.26
Jun 12, 2019 10:50:00 AM org.apache.catalina.loader.WebappLoader buildClassPath
INFO: Unknown loader jdk.internal.loader.ClassLoaders$AppClassLoader@6e5e91e4 class jdk.internal.loader.ClassLoaders$AppClassLoader
Jun 12, 2019 10:50:00 AM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment
INFO: No global web.xml found
Jun 12, 2019 10:50:04 AM org.apache.catalina.core.NamingContextListener addResource
WARNING: Failed to register in JMX: javax.naming.NamingException: Could not create resource factory instance [Root exception is java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory]
Jun 12, 2019 10:50:04 AM org.apache.catalina.core.NamingContextListener addResource
WARNING: Failed to register in JMX: javax.naming.NamingException: Could not create resource factory instance [Root exception is java.lang.NoClassDefFoundError: Could not initialize class com.ebase.jndi.DataSourceFactory]
Jun 12, 2019 10:50:04 AM org.apache.jasper.servlet.TldScanner scanJars
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Ebase Server initialising....
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.ebasetech.common.ReflectionUtil (file:/D:/Ebase/capita-ebase-live/UfsClient/IntegratedServer/ebasetest/WEB-INF/lib/ufs.jar) to method sun.nio.fs.WindowsPath.register(java.nio.file.WatchService,java.nio.file.WatchEvent$Kind[],java.nio.file.WatchEvent$Modifier[])
WARNING: Please consider reporting this to the maintainers of com.ebasetech.common.ReflectionUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Wed Jun 12 10:50:05: Loading Property file UFSSetup.properties
Logging to file D:\Ebase\capita-ebase-live\UfsClient\IntegratedServer\logs\serverBootstrap.log
Wed Jun 12 10:50:05: UFSSetup property file found
Wed Jun 12 10:50:05: ************************************************************
Wed Jun 12 10:50:05: *** Starting Verj.io Server version 5.5.1, Build 20190515
Wed Jun 12 10:50:05: ************************************************************
Wed Jun 12 10:50:05: ERROR JNDI lookup for datasource UFSREPOSITORY failed
Wed Jun 12 10:50:05: ERROR Failed to look up UFSREPOSITORY datasource.
Wed Jun 12 10:50:05: INFO Licence is valid
com.ebasetech.ufs.utility.PersistenceException: No UFSREPOSITORY datasource
at com.ebasetech.ufs.kernel.RepositoryDatabaseConnectionFactory.getConnection(RepositoryDatabaseConnectionFactory.java:73)
at com.ebasetech.ufs.security.authentication.GroupManager.loadAllGroupsFromRepository(GroupManager.java:99)
at com.ebasetech.ufs.security.authentication.GroupManager.loadAllGroups(GroupManager.java:87)
at com.ebasetech.ufs.security.authentication.GroupManager.initialise(GroupManager.java:82)
at com.ebasetech.ufs.security.authentication.EbaseUserManager.initialise(EbaseUserManager.java:362)
at com.ebasetech.ufs.security.SecurityManager.initialiseUserManager(SecurityManager.java:131)
at com.ebasetech.ufs.security.SecurityManager.initialise(SecurityManager.java:50)
at formservlets.EbaseContextListener.contextInitialized(EbaseContextListener.java:46)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4729)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5167)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
com.ebasetech.ufs.utility.PersistenceException: No UFSREPOSITORY datasource
at com.ebasetech.ufs.kernel.RepositoryDatabaseConnectionFactory.getConnection(RepositoryDatabaseConnectionFactory.java:73)
at com.ebasetech.ufs.security.authentication.GroupManager.loadAllSupportedGroupMembershipsFromRepository(GroupManager.java:146)
at com.ebasetech.ufs.security.authentication.GroupManager.loadAllGroups(GroupManager.java:88)
at com.ebasetech.ufs.security.authentication.GroupManager.initialise(GroupManager.java:82)
at com.ebasetech.ufs.security.authentication.EbaseUserManager.initialise(EbaseUserManager.java:362)
at com.ebasetech.ufs.security.SecurityManager.initialiseUserManager(SecurityManager.java:131)
at com.ebasetech.ufs.security.SecurityManager.initialise(SecurityManager.java:50)
at formservlets.EbaseContextListener.contextInitialized(EbaseContextListener.java:46)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4729)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5167)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
com.ebasetech.ufs.utility.PersistenceException: No UFSREPOSITORY datasource
at com.ebasetech.ufs.kernel.RepositoryDatabaseConnectionFactory.getConnection(RepositoryDatabaseConnectionFactory.java:73)
Wed Jun 12 10:50:10: ERROR No UFSREPOSITORY datasource
Wed Jun 12 10:50:10: ERROR No UFSREPOSITORY datasource
Wed Jun 12 10:50:10: ERROR No UFSREPOSITORY datasource
at com.ebasetech.ufs.security.authentication.GroupManager.loadAllGroupRolesFromRepository(GroupManager.java:248)
at com.ebasetech.ufs.security.authentication.GroupManager.loadAllGroups(GroupManager.java:89)
at com.ebasetech.ufs.security.authentication.GroupManager.initialise(GroupManager.java:82)
at com.ebasetech.ufs.security.authentication.EbaseUserManager.initialise(EbaseUserManager.java:362)
at com.ebasetech.ufs.security.SecurityManager.initialiseUserManager(SecurityManager.java:131)
at com.ebasetech.ufs.security.SecurityManager.initialise(SecurityManager.java:50)
at formservlets.EbaseContextListener.contextInitialized(EbaseContextListener.java:46)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4729)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5167)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Wed Jun 12 10:50:11:
Wed Jun 12 10:50:11: !!!Upgrade requested!!!
Wed Jun 12 10:50:11: !!!Upgrade requested!!!
Wed Jun 12 10:50:11: !!!Upgrade requested!!!
Wed Jun 12 10:50:11:
Wed Jun 12 10:50:11: ERROR Error creating transaction manager, java:comp/UserTransaction. Could not load resource factory class
Wed Jun 12 10:50:11: Error reading server_data - Error creating transaction manager, java:comp/UserTransaction. Could not load resource factory class
Wed Jun 12 10:50:11: *** UPGRADE ABORTED ***
Wed Jun 12 10:50:11: *** UPGRADE ABORTED ***
Wed Jun 12 10:50:11: *** UPGRADE ABORTED ***
com.ebasetech.ufs.kernel.FormTransactionException: Error creating transaction manager, java:comp/UserTransaction. Could not load resource factory class
at com.ebasetech.ufs.kernel.TransactionManager.jndiLookup(TransactionManager.java:269)
at com.ebasetech.ufs.kernel.TransactionManager.startTransaction(TransactionManager.java:412)
at com.ebasetech.ufs.designer.server.DesignerServlet.init(DesignerServlet.java:352)
at javax.servlet.GenericServlet.init(GenericServlet.java:158)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1231)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1144)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1031)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4914)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5201)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
com.ebasetech.ufs.kernel.FormTransactionException: Error creating transaction manager, java:comp/UserTransaction. Could not load resource factory class
at com.ebasetech.ufs.kernel.TransactionManager.jndiLookup(TransactionManager.java:269)
at com.ebasetech.ufs.kernel.TransactionManager.startTransaction(TransactionManager.java:412)
at com.ebasetech.ufs.batch.BatchServer.init(BatchServer.java:107)
at javax.servlet.GenericServlet.init(GenericServlet.java:158)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1231)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1144)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1031)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4914)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5201)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
com.ebasetech.ufs.kernel.FormTransactionException: Error creating transaction manager, java:comp/UserTransaction. Could not load resource factory class
at com.ebasetech.ufs.kernel.TransactionManager.jndiLookup(TransactionManager.java:269)
at com.ebasetech.ufs.kernel.TransactionManager.startTransaction(TransactionManager.java:412)
at com.ebasetech.ufs.workflow.server.enactment.WorkflowWorkQueueServlet.init(WorkflowWorkQueueServlet.java:42)
at javax.servlet.GenericServlet.init(GenericServlet.java:158)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1231)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1144)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1031)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4914)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5201)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Jun 12, 2019 10:50:12 AM org.apache.catalina.loader.WebappLoader buildClassPath
INFO: Unknown loader jdk.internal.loader.ClassLoaders$AppClassLoader@6e5e91e4 class jdk.internal.loader.ClassLoaders$AppClassLoader
Jun 12, 2019 10:50:12 AM org.apache.jasper.servlet.TldScanner scanJars
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Wed Jun 12 10:50:12: ERROR Error creating transaction manager, java:comp/UserTransaction. Could not load resource factory class
Wed Jun 12 10:50:12: ERROR Error detected initialising the designer server component:
Wed Jun 12 10:50:12: ERROR Error creating transaction manager, java:comp/UserTransaction. Could not load resource factory class
Wed Jun 12 10:50:12: ERROR Error creating transaction manager, java:comp/UserTransaction. Could not load resource factory class
Wed Jun 12 10:50:12: ERROR Error detected initialising the batch server component:
Wed Jun 12 10:50:12: ERROR Error creating transaction manager, java:comp/UserTransaction. Could not load resource factory class
Wed Jun 12 10:50:12: ERROR Error detected initialising the workflow servlet component:
Wed Jun 12 10:50:12: ERROR Error creating transaction manager, java:comp/UserTransaction. Could not load resource factory class
Wed Jun 12 10:50:12: FormCacheLoader: start
Wed Jun 12 10:50:12: FormCacheLoader: end
Wed Jun 12 10:50:12: ******************************************************************
Wed Jun 12 10:50:12: *** Verj.io Server V5.5.1 successfully initialized in 6 seconds
Wed Jun 12 10:50:12: *** Using workspace D:\Ebase\capita-ebase-live\Workspace
Wed Jun 12 10:50:12: ******************************************************************
Jun 12, 2019 10:50:12 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-nio-3050"]
Wed Jun 12 10:50:12: Designer process heartbeat monitor started
0 x

Jon
Moderator
Moderator
Posts: 1342
Joined: Wed Sep 12, 2007 12:49 pm

Re: Upgrade issue from 5.5.0 to 5.5.1

#2

Postby Jon » Wed Jun 12, 2019 12:54 pm

You have lots of errors like this:
ERROR Error creating transaction manager, java:comp/UserTransaction. Could not load resource factory class

Has this been truncated. Is there a class name on the end of this?
0 x

Jon
Moderator
Moderator
Posts: 1342
Joined: Wed Sep 12, 2007 12:49 pm

Re: Upgrade issue from 5.5.0 to 5.5.1

#3

Postby Jon » Wed Jun 12, 2019 4:28 pm

It looks like there is something seriously wrong with your integrated server. If possible, could you zip this directory (IntegratedServer) and place it somewhere where I can download it. If you don't have anywhere suitable, we could use the ebase ftp site.

Failing that, could I please see the contents of UfsClient/IntegratedServer/ebasetest.xml and a list of the files in UfsClient/IntegratedServer/lib.
0 x

neilnewman
Ebase User
Posts: 201
Joined: Fri Dec 20, 2013 1:29 pm
Location: Dartford Borough Council
Contact:

Re: Upgrade issue from 5.5.0 to 5.5.1

#4

Postby neilnewman » Thu Jun 13, 2019 7:05 am

Hi Jon,
Not sure how this went so wrong, the previous 5.5.0 upgrade worked fine!
I think the log I sent was complete, I have zipped up the Integrated server folder which is 156MB compressed.
We don't have an accessible FTP site, so if you have one I could drop it onto, that would be great.

NB: The ebasetest.xml file contents is below and a list of lib files in an attached image file

Many thanks
Neil


Image

<?xml version="1.0" encoding="UTF-8"?>

<!-- Context configuration file for Ebase Xi Web Application in the local test server -->

<Context reloadable="false" crossContext="true">

<!-- JDBC DATASOURCE DEFINITIONS GO HERE

To switch the Ebase Repository Database to a different database provider, follow the instructions in the online
documentation file Changing_Repository_Database.htm

List of JDBC driver class names to be entered as the driverClassName.
JDBC driver jar files should be placed in tomcat/common/lib.

DB2 - COM.ibm.db2.jdbc.app.DB2Driver (driver not supplied)
Derby - org.apache.derby.jdbc.EmbeddedDriver (driver supplied)
MSAccess - com.inzoom.jdbcado.Driver (driver supplied)
MySql - org.gjt.mm.mysql.Driver (driver not supplied)
Oracle - oracle.jdbc.driver.OracleDriver (driver not supplied)
SQL Server - net.sourceforge.jtds.jdbc.Driver (driver supplied)
Sybase - net.sourceforge.jtds.jdbc.Driver (driver supplied)

-->

<!-- JDBC datasources for Ebase Repository and Samples using Apache Derby -->
<Resource name="jdbc/UFSREPOSITORY" auth="Container"
type="javax.sql.DataSource"
username="ufs" password="ufs"
driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
url="jdbc:derby:UFS;create=false"
max="10" min="1"
factory="com.ebase.jndi.DataSourceFactory"
validationQuery="SELECT 1 FROM SYSIBM.SYSDUMMY1" checkLevel="1" preparedStatementCache="0"
/>
<Resource name="jdbc/EBASE_SAMPLES" auth="Container"
type="javax.sql.DataSource"
username="ebase_samples" password="ebase_samples"
driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
url="jdbc:derby:ebase_samples;create=true"
max="6" min="0"
factory="com.ebase.jndi.DataSourceFactory"
validationQuery="SELECT 1 FROM SYSIBM.SYSDUMMY1" checkLevel="1" preparedStatementCache="0"
/>



<!-- Example datasource using MYSQL -->
<!--
<Resource name="jdbc/MYDATABASE" auth="Container"
type="javax.sql.DataSource"
username="xxx" password="xxx"
driverClassName="org.gjt.mm.mysql.Driver"
url="jdbc:mysql://localhost/ufs?autoReconnect=true&amp;dontTrackOpenResources=true"
max="10" min="2"
factory="com.ebase.jndi.DataSourceFactory"
validationQuery="select 1" checkLevel="2" preparedStatementCache="0"
/>
-->

<!-- Example datasource using SqlServer -->
<!--
<Resource name="jdbc/MYDATABASE" auth="Container"
type="javax.sql.DataSource"
username="xxx" password="xxx"
driverClassName="net.sourceforge.jtds.jdbc.Driver"
url="jdbc:jtds:sqlserver://hostname/db"
max="10" min="2"
factory="com.ebase.jndi.DataSourceFactory"
validationQuery="select 1" checkLevel="2" preparedStatementCache="0"
/>
-->

<!-- Example datasource using Oracle -->
<!--
<Resource name="jdbc/MYDATABASE" auth="Container"
type="javax.sql.DataSource"
username="xxx" password="xxx"
driverClassName="oracle.jdbc.driver.OracleDriver"
url="jdbc:oracle:thin:@hostname:1521:SID"
max="10" min="2"
factory="com.ebase.jndi.DataSourceFactory"
validationQuery="select 1 from dual" checkLevel="2" preparedStatementCache="0"
/>
-->

<!-- Example datasource using MSAccess - see also online documentation - installing Jadozoom driver for MSAccess -->
<!--
<Resource name="jdbc/MSA1" auth="Container"
type="javax.sql.DataSource"
username="Admin" password=""
driverClassName="com.inzoom.jdbcado.Driver"
url="jdbc:izmado:Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\\Databases\\FPNWIND.mdb;IzmJdbcEsc=yes;IzmRoyaltyFree=643223965"
max="10" min="2"
factory="com.ebase.jndi.DataSourceFactory"
validationQuery="select 1" checkLevel="2" preparedStatementCache="0"
/>
-->

<!-- Resource configuration for UserTransaction using JOTM -->
<!-- DO NOT REMOVE -->

<!-- <Transaction name="UserTransaction" auth="Container"
type="javax.transaction.UserTransaction"
factory="org.objectweb.jotm.UserTransactionFactory"
jotm.timeout="120"/> -->

<Transaction factory="com.atomikos.icatch.jta.UserTransactionFactory" />
</Context>
0 x

Steve
Moderator
Moderator
Posts: 414
Joined: Fri Sep 07, 2007 3:44 pm
Location: Sandy, UK
Contact:

Re: Upgrade issue from 5.5.0 to 5.5.1

#5

Postby Steve » Thu Jun 13, 2019 12:14 pm

Hi Neil,

Could you email me your ebase.xml to:

support@ebasetech.com

I will take a look.

I will then email you the details to our public FTP.

Kind regards

Steve
0 x


Who is online

Users browsing this forum: No registered users and 11 guests