How to define MySQL data source in TomEE?

前端 未结 4 1202
名媛妹妹
名媛妹妹 2020-12-20 00:11

Platform: TomEE Web profile 1.5.0.

I am trying to do a very basic thing, setup a data source for MySQL. I have read the official guide (http://openejb.apache.org/co

4条回答
  •  情深已故
    2020-12-20 01:00

    [I would make this a comment to the answer of RajV, but do not have enough reputation to do so.]

    Platform: Tomee 1.6.0 Webprofile, eclipse-jee-kepler-SR2-linux-gtk-x86_64 and OpenJDK 1.7.0_51

    After doing the steps in http://tomee.apache.org/tomee-and-eclipse.html (including "Workspace Metadata Installation") I got the same error "user lacks privilege or object not found". My reaction was to:

    $ ln -s [workspace_path]/Servers/tomee.xml \ [workspace_path]/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/conf/

    As an advantage of this solution TomEE in eclipse is always using the current version of Workspace/Servers/tomee.xml without any further manual operation.

提交回复
热议问题