websphere-8

Axis2 1.3 and WebSphere 8.5 compatibility. [AxisServlet]: java.lang.NoClassDefFoundError: org.apache.woden.resolver.URIResolver

China☆狼群 提交于 2019-12-11 12:55:55
问题 I have an application migrating from Java 5 to Java 7 and Websphere 6 to 8.5. This application have some web services developed through AXIS2 1.3. When launching in Websphere the ear give me this error. [] 00000088 WarBasedAxisC I org.apache.axis2.deployment.WarBasedAxisConfigurator <init> Could not find axis2.xml, loading default org/apache/axis2/deployment/axis2_default.xml from classpath [] 00000088 DeploymentEng I org.apache.axis2.deployment.DeploymentEngine prepareRepository No modules

Second Call to remote EJB3 bean from jsf in different application - Delegate not set

≯℡__Kan透↙ 提交于 2019-12-11 07:19:50
问题 I'm getting a strange exception the SECOND time my remote ejb is called from my JSF Managed Bean. The first time the bean is called, the results are returned to the screen. However if I then click an action that calls the ejb for a second time, then I get the following Exception: SystemErr R java.rmi.RemoteException: CORBA BAD_OPERATION 0x0 No; nested exception is: org.omg.CORBA.BAD_OPERATION: The delegate has not been set! vmcid: 0x0 minor code: 0 completed: No [10/06/13 09:35:26:341 BST]

Not able to see special subject “AllAuthenticatedInTrustedRealms” while mapping security roles to users in Websphere 8.0.0.9

痴心易碎 提交于 2019-12-11 04:35:22
问题 We are not able to see " AllAuthenticatedInTrustedRealms" option in Map special subjects while we are mapping the security role to users in Websphere 8.0.0.9 where as in Websphere 8.0.0.8 we have it. Is there any configuration needed to see that option for mapping the security roles to users for our web application??? I suspect that there may be some configuration missing. Please help here. Appreciations for your earlier reply. 回答1: The AllAuthenticatedInTrustedRealms is only available if you

WAS 8.0 eclipse plugin and hot deployment

瘦欲@ 提交于 2019-12-10 23:37:46
问题 I am using Eclipse Indigo and WebSphere application server v8.0 plugin for a Java EE project. Setting the publishing option Run server with resources within the workspace makes the project to be redeployed when code is changed. This is fine. But when I change some xhtml, css or js, no update is made on the server. Because there is an option saying that files with this extensions won't cause a redeploy. I don't really need a redeploy when I change one of these files. I just need this files to

Unable to lookup remote EJB on Websphere 8

丶灬走出姿态 提交于 2019-12-10 13:40:54
问题 I have deployed an EJB with local and remote interfaces, and I can lookup the local one OK after deployment, but I'm not able to to do with the remote, from a Java SE client. The EJB code is simple: @Local(DemoFacade.class) @Remote(DemoFacadeRemote.class) @Stateless public class DemoFacadeBean implements DemoFacade <snip> The lookup code is also simple: Properties env1 = new Properties(); env1.put(Context.INITIAL_CONTEXT_FACTORY, "com.ibm.websphere.naming.WsnInitialContextFactory"); env1.put

How to view and edit cacerts file?

别来无恙 提交于 2019-12-10 12:49:33
问题 Using RAD 8.5 with WAS 8.5 runtime, I am getting an exception on my console: The keystore located at "C:\IBM\Websphere85\jdk\jre\lib\security\cacerts" failed to load due to the following error: DerInputStream.getLength(): lengthTag=109, too big.. After searching for the error I got this link which suggests to edit the file and remove blank lines/extra characters. How do I edit the file? I am on windows environment and the file seems to be base64 encoded. 回答1: Here's a way to actually solve

JSF 2.0 CDI - injected session bean within request bean contains null properties

青春壹個敷衍的年華 提交于 2019-12-10 11:58:54
问题 I'm using JSF 2.0, CDI 1.0 within WebSphere App Server v8.0.0.5. I have a bizarre situation... Upon successful login, a CDI session-scoped bean is created, and the user is redirected to a welcome page. The session-scoped bean is injected into a request-scoped bean referened on the welcome page. The problem is that the session-scoped bean ONLY retains its field values upon first successful login per browser. I've tried the same user using Chrome, Firefox, and even IE. If I log out or restart

Using a Trust Association Interceptor (TAI) to obtain a LTPA2-Token

折月煮酒 提交于 2019-12-10 11:33:38
问题 we have a custom web application hosted on a tomcat server and want to achieve to get an LTPA2Token when logging into this application on tomcat. All applications on both application servers are using the same LDAP.The application on the tomcat server cannot be hosted on a Web Sphere Application Server (WAS). The idea is the following: 1.Type in username and password on the tomcat web application via web browser. 2 Generate a custom token with the credentials 3. Send those credentials to a

Getting ViewExpiredException in clustered environment while state saving method is set to client and user session is valid

大憨熊 提交于 2019-12-10 09:21:27
问题 I have a JSF application that uses Mojarra 2.2.9 and is deployed on WebSphere 8.5.5.4 on clustered environement and javax.faces.STATE_SAVING_METHOD is set to client . Even though all my application beans are request scoped, sometimes when the user session is valid and the user is doing post request on a page he gets ViewExpiredException . What may be causing this issue and how can I solve it? Will changing the javax.faces.STATE_SAVING_METHOD to server solve it? If so, what is the impact of

Starting Websphere from Eclipse hangs when security is enabled

こ雲淡風輕ζ 提交于 2019-12-09 12:17:27
问题 I have a Websphere Application Server 8.0.0.6, which was installed as part of RAD. I need to run the server from an Eclipse Java EE Kepler or Luna. There is no problem when administrative security is disabled. However, once security is enabled, the server either doesn't start completely, or Ecplise is unable to to detect it. The progress bar stops at 23%. The last message logged is "Server server1 open for e-business". The status however is still "starting". After a while I get an error