This discussion is archived
1 Reply Latest reply: Jul 23, 2012 4:58 AM by Erik Janssen RSS

How to Redeploy a new version of a JAR Shared Library

773921 Newbie
Currently Being Moderated
Hello,

I have deployed successfully a JAR shared library with the following MANIFEST file
Extension-Name: myPackageSharedLibrary
Specification-Version: 1.0
Implementation-Version: 1.0

Now when I try to modify it and redeploy a newer version from the admin console, I get the following Exceptions
Message icon - Error Unable to access the selected application.
Message icon - Error Exception in AppMerge flows' progression
Message icon - Error Exception in AppMerge flows' progression
Message icon - Error [J2EE:160112]Error: The directory, 'C:\Oracle\Middleware\user_projects\domains\SharedLibraries_domain\servers\AdminServer\upload\myPackage.jar', does not contain a valid module. If the directory represents an ear file, it must contain a META-INF/application.xml file. If the directory represents an ejb-jar file, it must contain a META-INF/ejb-jar.xml file. If the directory represents a war file, it must contain a WEB-INF/web.xml file. Please ensure the source directory is a valid module and try again.

I get the following errors whether I deploy it with the same Implementation-Version or even with a newer higher version
To redeploy it, I have to delete the shared library and install it once again.

Any help? I'm using WLP 10.3.2

Thanks,

Edited by: user on Jul 21, 2012 12:47 AM

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points