Deploy error message on WebLogic 10.3.6.0 - oracle

After fresh install of web logic, deployment shows the error:
Message icon - Error Failed to load webapp: MyWebApp because of DeploymentException:
weblogic.management.DeploymentException: Error: Unresolved Webapp Library references for "ServletContext#992422938[app:MyWebApp module:MyWebApp path:/MyWebApp spec-version:2.5]", defined in weblogic.xml [Extension-Name: jsf, Specification-Version: 2, exact-match: false]
Error Error: Unresolved Webapp Library references for "ServletContext#992422938[app:MyWebApp module:MyWebApp path:/MyWebApp
spec-version:2.5]", defined in weblogic.xml [Extension-Name: jsf, Specification-Version: 2, exact-match: false]
I have Cloud service weblogic, initially is installed
jsf(1.2,1.2.9.0) - [Name:jsf] [Specification Version:1.2] [Impl. Version: 1.2.9.0]
jstl(1.2,1.2.0.1) [jstl, 1.2, 1.2.0.1]
When I try to install jsf-2.0.war - Error is
An application with this name already exists. Please specify a different name.
After I changed the name to something - Error is
The deployment has not been installed.
Message icon - Error weblogic.management.ManagementException: [Deployer:149105]An attempt was made to deploy a library located at '/u01/data/domains/wls_domain/servers/wls_adminserver/upload/jsf-2.0.war' with name 'jsf(2.0,1.0.0.0_2-0-2)' that is different from the one specified in the manifest of the library: 'jsf'.

Your web application requires the JSF 2 shared library which is not deployed in your server. Deploy this library first and then your application.

Related

Could not find agent library jdwp:transport on the library path

How to run tomcat with debug from idea on mac, getting error:
/Users/konrad/Applications/apache-tomcat-9.0.12/bin/catalina.sh run
[2018-10-25 01:56:13,230] Artifact Gradle : com.test : MyService.war: Waiting for server connection to start artifact deployment...
Error occurred during initialization of VM
Could not find agent library jdwp:transport on the library path, with error: dlopen(libjdwp:transport.dylib, 1): image not found
Disconnected from server
VM options:
-DprofileName=dev -agentlib:jdwp:transport=dt_socket,server=y,address=8000, suspend=n
I'm using InteliJ and Tomcat 9 with debug on Mac

OSGI bundle status grace period

I am trying to install two bundles on Karaf. For one of the bundle i am getting error and when I see the bundle:diag i got below message. It is the same thing compaining in logs also. Similar kind of bundle already deploy and it has the same dependencies. first one is working but the for second bundle i am getting below error. any thoughts?
opendaylight-user#root>bundle:diag
videoweb (421)
Status: GracePeriod
Blueprint
2/10/16 6:07 PM
Missing dependencies:
(objectClass=org.osgi.service.http.HttpService)
2016-02-10 23:54:07.113 GMT+00:00 [Blueprint Extender: 3] ERROR o.a.a.b.c.BlueprintContainerImpl - Unable to start blueprint container for bundle com.xyz.videosdn.tesweb due to unresolved dependencies [(objectClass=org.osgi.service.http.HttpService)]
java.util.concurrent.TimeoutException: null
at org.apache.aries.blueprint.container.BlueprintContainerImpl$1.run(BlueprintContainerImpl.java:336) [org.apache.aries.blueprint.core:1.4.0]
at org.apache.aries.blueprint.utils.threading.impl.DiscardableRunnable.run(DiscardableRunnable.java:48) [org.apache.aries.blueprint.core:1.4.0]
The error means that your bundle has a mandatory reference to a service with the interface org.osgi.service.http.HttpService.
So you need to install a bundle that provides this service. In karaf this service is normally provided by pax-web. It can be installed using:
feature:install http

Custom Spring roo addon fail

I have a custom spring roo addon for extjs, I put it into bundle directory and deleted cache directory but when I initiate the console by msdos I'm having the next messange just in the entrance:
ERROR: Bundle com.xxx.xxx.addons.extjs [7] Error starting file:/K:/Software/springsource32/springsource/spring-roo-1.2.2.RELEASE/bundle/com.xxx.xxx.addons.extjs-2.0.2.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle com.xxx.xxx.addons.extjs [7]: Unable to resolve 7.0:
missing requirement [7.0] package; (&(package=org.apache.commons.io)(version>=1.4.0)(!(version>=2.0.0))))
org.osgi.framework.BundleException: Unresolved constraint in bundle com.xxx.xxx.addons.extjs [7]: Unable to resolve 7.0: missing requirement [7.0] pack
age; (&(package=org.apache.commons.io)(version>=1.4.0)(!(version>=2.0.0)))
at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3564)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1797)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1192)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:266)
at java.lang.Thread.run(Thread.java:722)
I don't know why this happend and don't know what to check, can anybody help me?

Weblogic deployment error

I have deployed ear files in oracle weblogic server and i also configured datasource for that project. When i try to test it it is giving me this error.
"Message icon - Error weblogic.application.ModuleException: :org.springframework.beans.factory.BeanDefinitionStoreException:Invalid bean definition with name 'userContext' defined in class path resource [voyager-seats-usercontext.xml]: Could not resolve placeholder 'IDM.USERNAME'
Message icon - Warning Errors were encountered while performing this operation."
I restarted and reconfigured this app still it is giving error.

ReactiveUI, Version=3.2.0.0 assembly references issue

I am using ReactiveUI 3.2.
When I run my app (WPF based), I see following log messages while the app seem to run as expected (including some expected ReactiveUI base features):
Calling assembly : ReactiveUI, Version=3.2.0.0, Culture=neutral, PublicKeyToken=null.
LOG: This bind starts in default load context.
LOG: No application configuration file found.
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: System.Reactive.Windows.Threading, Version=1.1.11111.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
LOG: Attempting download of new URL file:///C:/WorkspaceSVSource
...
N/ZemaxAll/AppFx/trunk/Src/AppFxTestApp/bin/Debug/System.Reactive.Windows.Threading.DLL.
LOG: Attempting download of new URL file:///C:/WorkspaceSVN/AppFx/trunk/Src/AppFxTestApp/bin/Debug/System.Reactive.Windows.Threading/System.Reactive.Windows.Threading.DLL.
LOG: Attempting download of new URL file:///C:/WorkspaceSVN/AppFx/trunk/Src/AppFxTestApp/bin/Debug/System.Reactive.Windows.Threading.EXE.
LOG: Attempting download of new URL file:///C:/WorkspaceSVN/AppFx/trunk/Src/AppFxTestApp/bin/Debug/System.Reactive.Windows.Threading/System.Reactive.Windows.Threading.EXE.
ERROR Logger: * WPF Rx.NET DLL reference not added - using Event Loop *
ERROR Logger: Add a reference to System.Reactive.Windows.Threading.dll if you're using WPF / SL4 / WP7
ERROR Logger: or consider explicitly setting RxApp.DeferredScheduler if not
When I actually ad the reference to System.Reactive.Windows.Threading.dll, the log messages do not show up but all the ReactiveUI subscriptions stop working. Any ideas? What is a complete list of required extra references for ReactiveUI to work?
seems to be no such issue when upgraded to ReactiveUI v4.1. Thanks to the ReaciveUI team!

Resources