Skip to content

Orkweb and Orktrack Not Funtional #56

@NelsonBA81

Description

@NelsonBA81

Hello,

For some reason, I can't have both tomcat apps working, both of them are giving these errors on orkweb.log:
2021-07-16 18:02:18,465 DEBUG Environment [http-nio-8080-exec-205] HHH000206: hibernate.properties not found 2021-07-16 18:02:18,554 DEBUG JaxbCfgProcessor [http-nio-8080-exec-205] cfg.xml document did not define namespaces; wrapping in custom event reader to introduce namespace information 2021-07-16 18:02:18,655 ERROR [http-nio-8080-exec-205] OrkTrack.initialize: Error configuring Hibernate:Unable to perform unmarshalling at line number 0 and column 0 in FILE /etc/oreka/database.hbm.xml. Message: null 2021-07-16 18:02:18,655 ERROR [http-nio-8080-exec-205] OrkTrack ContextInitialized() threw exception org.hibernate.internal.util.config.ConfigurationException: Unable to perform unmarshalling at line number 0 and column 0 in FILE /etc/oreka/database.hbm.xml. Message: null at org.hibernate.boot.cfgxml.internal.JaxbCfgProcessor.unmarshal(JaxbCfgProcessor.java:133) ~[hibernate-core-5.4.15.Final.jar:5.4.15.Final] at org.hibernate.boot.cfgxml.internal.JaxbCfgProcessor.unmarshal(JaxbCfgProcessor.java:65) ~[hibernate-core-5.4.15.Final.jar:5.4.15.Final] at org.hibernate.boot.cfgxml.internal.ConfigLoader.loadConfigXmlFile(ConfigLoader.java:76) ~[hibernate-core-5.4.15.Final.jar:5.4.15.Final] at org.hibernate.boot.registry.StandardServiceRegistryBuilder.configure(StandardServiceRegistryBuilder.java:238) ~[hibernate-core-5.4.15.Final.jar:5.4.15.Final]

Can you please provide some help here?
about the /etc/oreka/database.hbm.xml config file, I've this:
`

<session-factory>
    <property name="hibernate.dialect">org.hibernate.dialect.MySQL55Dialect</property>
    <property name="hibernate.connection.maxconnections">256</property>
    <property name="hibernate.connection.driver_class">com.mysql.cj.jdbc.Driver</property>
    <property name="hibernate.connection.url">jdbc:mysql://localhost/oreka?useSSL=false&useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=WEST</property>
    <property name="hibernate.connection.password">password</property>
    <property name="hibernate.connection.username">user</property>

    <property name="hibernate.hbm2ddl.auto">update</property> <!-- update, create, create-drop -->
    <property name="hibernate.show_sql">true</property>

    <property name="hibernate.jdbc.use_scrollable_resultset">true</property>
    <property name="hibernate.max_fetch_depth">1</property>
    <property name="hibernate.cache.provider_class">org.hibernate.cache.HashtableCacheProvider</property>
</session-factory>

`

thank you and
Best Regards,
Nelson

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions