Hi everyone,
I am new in RFID, and now starting to learn how to integrate a RFID system.
The current problem that I am encountering is, after I install the fosstrak epcis repository 0.5.0 .war in tomcat, it cannot be started.
I have searched many websites but I cannot find what the problem is, so I am asking for you guys for help.
The testing environment information:
OS: Windows 10
Java version: 1.7 & 1.8
Tomcat Version: 9
EPCIS repository Version: 0.5.0
Windows environment variable information:
CLASSPATH: C:\Program Files\Apache Software Foundation\Tomcat 9.0\lib
JAVA_HOME: C:\Program Files\Java\jdk-1.8
JDBC MySQL connector Version: mysql-connector-j-9.4.0 (Copy the jar file to C:\Program Files\Apache Software Foundation\Tomcat 9.0\lib)
I have used wamp for setting up MySQL, I have setup the user epcis as follow:
username hostname password Privilege Grant
epcis localhost YES ALL PRIVILEGES YES
I have created those tables that in epcis SQL scheme.
Even I cannot test in tomcat, I have tried to connect using PHP with this account and the connection is successful(It should be using port 3306 as I know in PHP)
I have followed the instruction of fosstrak database connection setting that created a xml file for connection:
The whole content of the xml file:
<?xml version="1.0" encoding="UTF-8"?>
<Resource name="jdbc/EPCISDB" type="javax.sql.DataSource" auth="Container" username="epcis" password="epcis" driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost:3306/epcis?autoReconnect=true">
</Resource>
(I have tried to remove the first sentence to see whether it is different or not, but useless)
When I see the log, I don't know what does it means:
31-Oct-2025 19:08:41.390 CRITICAL [main] org.apache.catalina.startup.HostConfig.deployDescriptor Error deploying deployment descriptor [C:\Program Files\Apache Software Foundation\Tomcat 9.0\conf\Catalina\localhost\epcis-repository-0.5.0.xml]
java.lang.IllegalStateException: Error starting child
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:600)
I don't know where is my problem, can anyone please answer me?
Thank you very much for your attention.
Saxon