Exception deploying a war with configp

Hi all, I am trying to deploy a war with configp command-line utility but when configp is deploying the war it cancels the operation and throws this exception:


Nested exception is:
weblogic.management.ManagementException: weblogic.management.DeploymentException:
Exception:weblogic.management.ApplicationException: start() failed.
Module: usuariosasturcultura Error: weblogic.management.DeploymentException: User-specified log class 'com.vignette.logging.CommonsLogger' cannot be found or is not useable. - with nested exception:
[org.apache.commons.logging.LogConfigurationException: User-specified log class 'com.vignette.logging.CommonsLogger' cannot be found or is not useable.]

at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:730)
at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

What could be the problem?

Thanks!

re: Exception deploying a war with configp

Hi, This is being caused by not having the correct jars in your app.  Here are details on how to resolve this (taken from connect.vignette.com KB9440): 

Exception deploying a war with configp
Knowledge Base Item: 9440

Title:
VCM: ClassNotFoundException after deploying a WAR extension that does not use the VCM API

Text:
PROBLEM
-------
Vignette Content 7.3.1 introduced a new logging mechanism that integrates with
the Apache Commons Logging API.

As explained in the 7.3.1 Administration Guide, page 370, the integration
requires this modifier to be declared in the VCM Server JVM runtime options:

 -Dorg.apache.commons.logging.Log=com.vignette.logging.CommonsLogger

You may have a WAR extension that does not use the VCM API (to retrieve data
from LDAP, for example). When you deploy that extension to VCM, you will
usually not include the corresponding VCM jar files. If your application uses
an Apache library, it will try to trace through the Commons Logging interface,
and the following error will appear in the logs:

  java.lang.ClassNotFoundException: com.vignette.logging.CommonsLogger

Vignette problem report: 148990

SOLUTION
--------
Include the VCM API jar files in the WAR file:

 * vgn-appsvcs-cma.jar
 * thirdparty-combined.jar

These libraries contain the "com.vignette.logging.CommonsLogger", which will
integrate your application's logging with the VCM Server logging mechanism
and prevent the class not found exception.