websphere-8

EL equivalent of <%= object.method(parameter) %> in WAS 8?

假如想象 提交于 2019-12-08 13:06:01
问题 The documentation says parameters are supported but the example uses hl and # which are unknown to me where I use c: and $ instead of this which is from the docs: <h:inputText value="#{userNumberBean.userNumber('5')}"> All I know about $ vs # in EL is that is has to do with rvalue and lvalue which I can need a further explanation when to use the # style. I'm looking for how an EL expression of typ $... can take a parameter and how to call non-getters non-setters with a parameter for example

embeddable EJB container of WebSphere 8 can not created - NoClassDefFoundError HpelHelper

可紊 提交于 2019-12-08 02:53:30
问题 I am using the embeddable EJB container of WebSphere 8 to write some unit tests for my EJBs with JUnit4. My IDE is the RAD 8. Here is my simple test code snippet: Map properties = new HashMap(); properties.put(EJBContainer.PROVIDER, "com.ibm.websphere.ejbcontainer.EmbeddableContainerProvider"); EJBContainer ec = EJBContainer.createEJBContainer(properties); I get a NoClassDefFoundError: java.lang.NoClassDefFoundError: com/ibm/ejs/ras/hpel/HpelHelper at com.ibm.ejs.ras.RasHelper.getThreadId

Using CDI in a websphere shared library

醉酒当歌 提交于 2019-12-08 02:09:56
问题 We use a shared library defined in the websphere admin console to share classes between several applications. I was wondering if it is possible to use CDI (Context and Dependecy Injection) in these classes? If so do I just need to put the beans.xml in the jar that is in the shared library, or are there further steps? Note: I can't move away from using a shared library, as this would be too much refactoring work. 回答1: No, classes included in a shared library are not considered as CDI beans.

having issues deploying grails project with cxf plugin onto WAS 8

白昼怎懂夜的黑 提交于 2019-12-08 00:27:18
问题 I am fairly new to groovy/grails and trying to deploy a grails app(WAR file) which uses Grails 2.1.1 and CXF plugin 1.0.1 to WebSphere 8 . This is the first time I am deploying Grails 2.1.1 app to WebSphere 8 , with CXF plugin for SOAP based Web Services and I am running into some issues. Same app deploys and works fine locally on Tomcat and I am able to get to my web service and access WSDL file. Anyone had this issues or know what could be the issue, please help. Here is the stack trace:

Generate LTPAToken 2 in custom Web Application

左心房为你撑大大i 提交于 2019-12-07 18:43:24
问题 We want to realize a SSO-infrastructure with some IBM Domino / Websphere products and one custom web application. All IBM products are configured for SSO. Therefore, the WebSphere Application Server 8 generates an LTPAToken2 after successful login in one of the IBM products. We want to achieve the same behaviour for our own custom web application. After login into this web app, a LTPAToken2 should be generated. Therefore my question: Is it possible to generate a valid LTPAToken2 in our custom

Install EAR into WebSphere 8.5 Cluster without affecting the application availability

不打扰是莪最后的温柔 提交于 2019-12-07 18:24:45
问题 I have created 1 dynamic cluster with 2 WAS in it. I am deploying my application EAR on cluster using Ant scripts. In order to install the new application, I have to stop the already running application, uninstall the application, install the new application, then start the application. This is affecting the availability of my application. Is there any way through which I can achieve the application availability while deploying the application? 回答1: Check the Deploying and managing

Apache CXF 2.7.11 on WebSphere 8.5

梦想与她 提交于 2019-12-07 15:02:06
问题 I have an application that exposes web services for clients via CXF. This side of things works perfectly. The application also needs to act as a client itself and contact other servers, this is where I am running into problems. With "Parent First" classloading I get this: Caused by: javax.xml.ws.WebServiceException: Error: Maintain Session is enabled but none of the session properties (Cookies, Over-written URL) are returned. at org.apache.axis2.jaxws.ExceptionFactory

jax-ws web service does not work in websphere 8.5

随声附和 提交于 2019-12-07 05:36:13
问题 Been trying to get jax-ws web service working in websphere 8.5 but no success. I have tried Java bean & war packaging, stateless ejb & jar packaging but it just does not work. I am trying to get it work with @webservice annotation. I am not generating any extra artifacts. I am letting websphere figure out during the deployment. During deployment there is no error. After deployment, I try to run wsdl in the browser to see if web service is installed successfully but I get nothing. Not sure if

JAX-RS without jersey on WAS7

空扰寡人 提交于 2019-12-07 04:58:46
问题 I have JAX-RS WS application deployed on WAS 8.0 with an empty 2.4 web.xml, class that extends 'javax.ws.rs.core.Application' and 2 resources, and it works great. I would like to deploy this application on WAS 7.0, but I'm getting: 'Error 404: SRVE0190E: File not found: /rest/source' (that's the path of the resource). How can I deploy JAX-RS application on WAS 7.0 without using Jersey or any other application-server related classes? Thanks 回答1: In WAS 7 you must defined the servlet in the web

Websphere 8.5: Root exception is org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException: WEB-INF/web.xml

给你一囗甜甜゛ 提交于 2019-12-06 22:12:14
问题 I'm getting the following error when trying to deploy an ear with websphere from an ant ask with jacl: [wsadmin] WASX7017E: Exception received while running file "C:\...\AppData\Local\Temp\wsant6857788060872488512jacl"; exception information: com.ibm.websphere.management.application.client.AppDeploymentException: com.ibm.websphere.management.application.client.AppDeploymentException: [Root exception is org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException