cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

We are happy to announce the new Windchill Customization board! Learn more.

No Enumerated Type exists

amansfield
6-Contributor

No Enumerated Type exists

After what appeared to be a successful rehost (primarily using the rehost guide), I get the following message in my browser: "Windchill Error: No EnumeratedType exists with "WIP" as its internal value."

WIP is a Lifecycle State that we defined during our 3.4 to 9.1 migration last summer. It's part of the ILNK Life Cycle which all our stored objects are controlled by.

I'm a bit mystified as to what's causing this: aren't lifecycles stored in Oracle? I can see contexts, teams, users, groups,promotion requests and folders, but not files. I'm wondering ifthere is a step or twothat I might have missed...

I did the following steps:

  • installed a new Windchill on a test server and used the same settings as on the production server
  • loaded the production ldap into it, removed the "dc=com" branch and replaced it with the previously exported branch from the test system
  • dropped the windchill oracle user and replaced it using the create_user.sql script
  • imported the dump file from the production server
  • updated the database (update repository set lastknowndomain=<test.system> where lastknowndomain=<production.system>)
  • copied the site.xconf from the production system, replaced the production servername with the test servername and propagated it
  • started everything up, logged inand changed the vault host to the test system

We have a simple setup: no adapters to other systems. Basically a simple 3.4 system re-implemented in 9.1. We made some changes to a couple of OIRs (e.g. to disable auto-numbering..) but nothing drastic. I was under the impression that most of the changes are stored in the system itself, like in 3.4.. Am I missing something?

The only glitch I suffered was that I screwed up Aphelion (didn't shut it down when importing the root.ldif from the production system) and had to uninstall/re-install it. Otherwise everything worked the way I expected it to.

I'll try re-importing the dump file again tomorrow to see if that does anything.. If I get the same error, I'm not sure what I should do.. Perhaps if I mirrored the \Windchill_9.1\Windchill folder over to the test system?

If anyone sees something wrong with this, please let me know. (don't waste too much time on it)..

Thanks,

Andrew Mansfield

KI, Green Bay, WI

4 REPLIES 4

On 03/03/10 17:10, Andrew Mansfield wrote:
> After what appeared to be a successful rehost (primarily using the
> rehost guide), I get the following message in my browser: "Windchill
> Error: No EnumeratedType exists with "WIP" as its internal value."
>
> WIP is a Lifecycle State that we defined during our 3.4 to 9.1 migration
> last summer. It's part of the ILNK Life Cycle which all our stored
> objects are controlled by.
>
> I'm a bit mystified as to what's causing this: aren't lifecycles stored
> in Oracle? I can see contexts, teams, users, groups, promotion requests
> and folders, but not files. I'm wondering if there is a step or two that
> I might have missed...
>
> I did the following steps:
>
> * installed a new Windchill on a test server and used the same
> settings as on the production server
> * loaded the production ldap into it, removed the "dc=com" branch
> and replaced it with the previously exported branch from the test
> system
> * dropped the windchill oracle user and replaced it using the
> create_user.sql script
> * imported the dump file from the production server
> * updated the database (update repository set
> lastknowndomain=<test.system> where
> lastknowndomain=<production.system>)
> * copied the site.xconf from the production system, replaced the
> production servername with the test servername and propagated it
> * started everything up, logged in and changed the vault host to the
> test system

What about the WINDCHILL_INSTALL_DIR/Windchill/wtcustom directory?
That is where custom defined lifecycle states, roles etc are kept in.
You probably need to copy that over and then do the following after the copy:
1. cd WINDCHILL_INSTALL_DIR/Windchill
2. ant -f ./bin/tools.xml bundle_custom -Dbundle.input=registry
3. ant -f ./codebase/MakeJar.xml custUpdate
4. restart Windchill and Tomcat

>
> We have a simple setup: no adapters to other systems. Basically a simple
> 3.4 system re-implemented in 9.1. We made some changes to a couple of
> OIRs (e.g. to disable auto-numbering..) but nothing drastic. I was under
> the impression that most of the changes are stored in the system itself,
> like in 3.4.. Am I missing something?
>
> The only glitch I suffered was that I screwed up Aphelion (didn't shut
> it down when importing the root.ldif from the production system) and had
> to uninstall/re-install it. Otherwise everything worked the way I
> expected it to.
>
> I'll try re-importing the dump file again tomorrow to see if that does
> anything.. If I get the same error, I'm not sure what I should do..
> Perhaps if I mirrored the \Windchill_9.1\Windchill folder over to the
> test system?
>
> If anyone sees something wrong with this, please let me know. (don't
> waste too much time on it)..
>
> Thanks,
>
> Andrew Mansfield
>
> KI, Green Bay, WI



--
------------------------------------------------------------------------
Randy Jones
Systems Administrator
Great Plains Mfg., Inc.
1525 E North St
PO Box 5060
Salina, KS USA 67401
email: -
Phone: 785-823-3276
Fax: 785-667-2695
------------------------------------------------------------------------

You need to make sure your Customized ResourceBundle Files are copied to the target server and propagated. That is the cause of this error message.

Regards,
Rajesh

Randy,

Have you tried <windchill home=">\codebase> ant -f makejar.xml ?

Saul

jtjohnson
5-Regular Member
(To:amansfield)

The LC state definitions are not stored in the database, they are stored
in Resource Bundles within the app.



Run enumCustomize from a Windchill shell and browse to wt/lifecycle to
locate the lifecycle rb.



Add the custom state and exit the tool. You will then need to rebuild
the jar files from codebase: ant - f MakeJar.xml





Jeff


Top Tags