com.justep.exception.BusinessException

tip

Add localDataSource="true" to the realm when using local database.

tip

Make sure you use the same name for your database everywhere in context.xml.

tip

Try removing the server.xml file and adding it again to the project, and do a Clean Build.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Configuring jdbc-pool (tomcat 7)
    via Stack Overflow by john
    ,
    • com.justep.exception.BusinessException: 编码: JUSTEP150055; 提示: 在模块"/OA"下获取数据库连接出错 at com.justep.exception.BusinessException.create(Unknown Source) at com.justep.system.data.Transaction.getConnection(Unknown Source) at com.justep.system.data.Transaction.getConnection(Unknown Source) at com.justep.model.ModelUtils.getConnection(Unknown Source) Caused by: javax.naming.NameNotFoundException: Name oa is not bound in this Context at org.apache.naming.NamingContext.lookup(NamingContext.java:770) at org.apache.naming.NamingContext.lookup(NamingContext.java:140) at org.apache.naming.NamingContext.lookup(NamingContext.java:781) at org.apache.naming.NamingContext.lookup(NamingContext.java:140) at org.apache.naming.NamingContext.lookup(NamingContext.java:781)

    Users with the same issue

    Casper
    6 times, last one,
    rafael
    1 times, last one,
    treefolk
    1 times, last one,
    Unknown visitor1 times, last one,
    davidvanlaatum
    1 times, last one,
    29 more bugmates