websphere-liberty

Shared Library jar are not loaded by Liberty

故事扮演 提交于 2019-12-25 04:12:41
问题 I have spring MVC application which uses Spring 4.I deploying my application in Liberty 16.0.0.3.I have below server.xml configuration. <server description="Default Server"> <featureManager> <feature>webProfile-7.0</feature> <feature>localConnector-1.0</feature> </featureManager> <variable name="defaultHostName" value="localhost"/> <keyStore id="defaultKeyStore" password="mypassword" /> <!-- Define an Administrator and non-Administrator --> <basicRegistry id="basic"> <user name="admin"

Worklight WAS Liberty profile configuration based on Tomcat configuration

白昼怎懂夜的黑 提交于 2019-12-25 02:25:08
问题 For a Pilot project we've set up a Worklight server on a WAS using the Liberty profile. We're basing it on the configuration LDAP configuration of a Tomcat server (used for RTC) on the same machine, but they don't seem to map propertly to each other (in the sense that we can't just "copy-paste" the configuration. We've come to the point where logging into the LDAP server (An Active Directory server) works, but the login doesn't work and doesn't return any error message apart from a failed

I get the `DSRA9122E: com.ibm.ws.rsadapter.jdbc.WSJdbcConnection@d3t7e556 does not wrap any objects of type oracle.jdbc.OracleConnection

﹥>﹥吖頭↗ 提交于 2019-12-24 18:44:02
问题 Am using Websphere 18 Liberty Version. When am trying to unwrap java.sql.connection to oracle.jdbc.OracleConnection I get the `DSRA9122E: com.ibm.ws.rsadapter.jdbc.WSJdbcConnection@d3t7e556 does not wrap any objects of type oracle.jdbc.OracleConnection In sever.xml file am using ojdbc7.jar for datasource, also in application I added same jar from the same location. Still am facing the issue. I referred all links WSJDBCConnection does not wrap objects of type oracle.jdbc.OracleConnection like

Including both adminCenter-1.0 and batchManagement-1.0 features in server.xml giving feature conflict error in Liberty 8.5.5.8

若如初见. 提交于 2019-12-24 15:31:20
问题 I am using WebSphere Application Server 8.5.5.8/wlp-1.0.11.cl50820151201-1942 and I am using batchManagement-1.0 and adminCenter-1.0 in my featureManager list like below <featureManager> <feature>servlet-3.1</feature> <feature>batchManagement-1.0</feature> <feature>batch-1.0</feature> <feature>localConnector-1.0</feature> <feature>adminCenter-1.0</feature> </featureManager> server.xml is showing below warning ['adminCenter-1.0' --> 'restConnector-1.0' --> 'jaxrs-1.1' --> 'com.ibm.websphere

How to debug OSGi bundles deployed on liberty profile

梦想的初衷 提交于 2019-12-24 15:27:42
问题 I'm trying to deploy an Enterprise OSGi application (EBA archive) on Liberty but it fails to start because of bundle resolve problems. I tryed to to use the OSGi console to debut this issue but when I telnet to the console port I can only see the server bundles, not my application bundles. I cannot neither see the bundles from the bundle repository, that I use from my application. Is there a way to have the same feature available in full profile, where a wsadmin shell is provided to debug

JSR352 decide next step based on return parameter from Decider

蹲街弑〆低调 提交于 2019-12-24 10:44:11
问题 I would like to implement a Decider that returns the ID of the next step that needs to be executed. (This question is related to my other question here if you would like to know why I'm trying to do this: JEE Batch Job Specification with many optional Steps) <decision id="decider1" ref="skipNextStepDecider"> <properties> <property name="condition" value="isExecuteSteps"/> </properties> <next on="*" to="STEP_ID_RETURNED_BY_DECIDER"/> <end on="SKIP"/> </decision> Is there any way to do this? I

infuriating heisenbug in Java/WAS 8.5 liberty profile on socket binding

余生长醉 提交于 2019-12-24 04:53:11
问题 I get socket bind error on Java 6/Websphere 8.5 (Liberty profile, a cut down, usable version of Websphere). When killing and starting app server immediately again I get: [ERROR ] CWWKO0221E: TCP Channel defaultHttpEndpoint initialization did not succeed. The socket bind did not succeed for host * and port 9988. The port might already be in use. This is because either Java or WAS have not released IPv6 sockets properly. But, here's the snag: when I run WLP via strace (with -f option to track

How to setup HTTP Basic Authentication for SOAP Client within WebSphere Liberty

早过忘川 提交于 2019-12-23 01:02:08
问题 We are trying to deploy an EAR on WebSphere Liberty. Our application contains an EJB-module, which contains and EJB that makes a call to another SOAP server. The WSDL of the service defines a wsp:Policy with ExactlyOne of http:BasicAuthentication xmlns:http="http://schemas.microsoft.com/ws/06/2004/policy/http"/ After deployment when we send a request to our application, which would trigger that SOAP-call we get an error: None of the policy alternatives can be satisfied. I found some java-code

How to configure IIS with IBM WebSphere Application Server Liberty Profile?

非 Y 不嫁゛ 提交于 2019-12-22 17:37:07
问题 I am trying to setup IIS (version 8.x, windows 2008) in front of IBM WAS(Liberty Profile) server so that it can route all specific requests to IBM WebSphere application server(Liberty Profile). I have already installed & configured following items : Installed IBM WebSphere Application Server Liberty Core (Version 8.5.5) Installed IBM MobileFirst Platform Server (Verison 7.1) Installed WebServer Plugins for IBM WAS Installed IBM WebSphere Customization Toolbox (Version 8.5) I have also

WebSphere Liberty ActiveMQ

纵饮孤独 提交于 2019-12-21 21:17:23
问题 My goal is to consume Messages with the WebSphere Liberty Appserver (Full Java EE Standard) from an ActiveMQ. Unlucky I can't figure out how to configurate the WebSphere Liberty. The ActiveMQ Server im using is out of the box and I have added a Queue named myQueue. In my Java EE application I want to have a Message Driven Beans which gets kicked if a message is in the queue. I tried to "steal" the configuration from the wasDev JMS Example like someone else did on this example. But unlucky the