.dbschema/sum mapping file problem
Hi,
I have inherited a cmp based app here where I work and am having some
problems modifing the database tables. (I'm relatively new to all of this)
When I try and add a colum to the table (in the bean), when I deploy the app
I get the following error:
Exception while deploying : Fatal Error from EJB Compiler -- JDO74035:
JDOCodeGenerator: Problem while creating database model for application
'transmgr' module 'transmgr-ejb': cannot access or read schema file 'transmgr'.
From reading the sun doc, in summary, it looks like I have (2) options....
capture the new schema automatically by leaving the <schema> entry in the
sun-cmp-mappings.xml file empty
or
I can run the capture-schema utility to manually (after manually altering that table)
generate a .dbschema file, which I then specify in the sun-cmp-mappings.xml file
In both cases I always get the same error. I am assuming that the error
refers to the fact that the app server can not find/open my .dbschema file.
Does any one know why the app server would be looking for this file in the
'automatic capture case'?
For the manual case, the sun doc says that the <schema> entry in the sun mapping
file should only be the basename portion of the filename with a path relative
to the location of the sun mappoing file. Seems simole enough, but I can't get
it to work?
Any insite into this would be appreciated.
Tony

