facebook

Scaffolding for DB2 database tables doesn’t work

  1. MyEclipse IDE
  2.  > 
  3. Spring Development
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #312146 Reply

    dwilkerson
    Member

    No success with the scaffolding of MVC application from a DB2 database schema, not even for one table. I’ve tried with the MyEclipse for Spring ide and the STS add-on, no luck seeing the generated app run on my local server.

    The server is not the issue since it does work for any other application, but errors result when running the CRUD app generated from MyEclipse. I’ve tried with one or two simple tables, chose the defaults for Spring 3 or 2.5 (tried both), and never have seen it run on a server. I’ve exhaused every possible option and no luck. I’ve run it with Tomcat, and Weblogic.

    Anyone ever get the Spring MVC CRUD scaffolded application to run when it on a DB2 database schema?

    #312171 Reply

    neyde
    Member

    @dwilkerson wrote:

    Anyone ever get the Spring MVC CRUD scaffolded application to run when it on a DB2 database schema?

    It sounds like you got through the scaffolding wizard successfully, but the generated application fails to startup when deployed. Are there any errors in the log file? Did you add the JDBC driver for DB2 to the project?

    #313980 Reply

    CommerceSolutions
    Participant

    I am having the same problem but I’m unable to connect. I choose the schema and the next screen throws error. Error logs say error in persistence.ui

    I am able to use database explorer to see the tables. Its just the scaffolding that errors out.

    #314110 Reply

    jkennedy
    Member

    Can you include the error logs or send them to me at [email protected].

    Thanks,
    Jack

    #314112 Reply

    CommerceSolutions
    Participant

    I got it pass the DB2 part. I had to ensure I saved the password and clicked the check box.

    Now when it generates, when I try to run with app server it throws error with error message identity not set. Still trying to figure that one out.

    #314124 Reply

    jkennedy
    Member

    Glad you were able to move forward, if you would like to send along the details of the error you are getting when you run the application (stack trace if you have one) we may be able to assist you in diagnosing the identity issue.

    Thanks,
    Jack

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Scaffolding for DB2 database tables doesn’t work

You must be logged in to post in the forum log in