Monday, October 26, 2009

Site does not publish, yet no errors

If a site in VCM shows status "Unpublished" even though there were no errors during publish, check if its associated with a Stage.

Monday, October 12, 2009

VgnVCMServer does not start

If VgnVCMServer does not start and keeps looping, try KB Item 9655. In logs the problem may show up as an IOException saying "too many open files" (error message may not be exactly same as what is mentioned in the KB Item).
Text of the KB item is below:
-----------------------------
Title
VCM in STANDBY mode due to "java.io.IOException: More than 2048 open files" exception.

Text

The issue started after modifying Active Directory settings in Runtime services
console.
VCM was in STANDBY state and the startup logs showed "java.io.IOException: More than 2048 open files"


SOLUTION
1. In the RTS Console, click on the "Security" node under vgndomain.
2. Click the "Embedded LDAP" tab.
3. Make sure that the check box next to "Refresh Replica At Startup" is
checked. (Click Apply if necessary.)
4. Stop the VCM Server, Admin Server, Node Manager and Config Agent.
5. Make sure that all processes are stopped.
6. Delete the following files:

Vignette\Content\7_3_1\rtsvcs\domains\vgndomain\VgnAdminServer\ldap\ldapfiles\changelog.data
Vignette\Content\7_3_1\rtsvcs\domains\vgndomain\VgnAdminServer\ldap\ldapfiles\changelog.index

7. Start the Admin Server, Node Manager and Config Agent.
8. In the RTS Console, start the VCM Server.

This will clear the change log so that the admin server no longer thinks there
are any embedded LDAP changes that need to be replicated. It will also cause
the VCM Server to automatically refresh its embedded LDAP replica.

If the VCM Server restarts successfully, monitor it for a few days to make sure
that the file handles on those files don't creep back up. Once it looks good,
change the "Refresh Replica At Startup" flag back to false and restart the VCM
Server.


STACK TRACE
weblogic.management.ManagementRuntimeException: java.io.IOException: More than
2048 open files
at weblogic.management.configuration.RepositoryMBean_Stub.saveDomain(RepositoryMBean_Stub.java:606)
at weblogic.management.console.utils.MBeans.saveDomain(MBeans.java:1015)
...
...
Caused by: java.io.IOException: More than 2048 open files
at java.io.FileOutputStream.open(Ljava.lang.String;)V(Native Method)
at java.io.FileOutputStream.(FileOutputStream.java:179)
at java.io.FileOutputStream.(FileOutputStream.java:131)