websphere-8

Deploy Spring Boot 1.3.2 IBM WAS 8.5

北慕城南 提交于 2020-01-02 10:03:59
问题 I'm facing a problem deploying a simple spring boot web on IBM Websphere 8.5.5.8 using full profile WAS is by default using servlet 3.0 and java 1.7. The application does not do much, just display a page with a "Hi - [current-date]". When deploying the war file, we see the following in server log output: [2/3/16 13:30:44:857 AST] 00000078 AdminHelper A ADMN1008I: An attempt is made to start the simpledemo_war application. (User ID = defaultWIMFileBasedRealm/wps_admin) [2/3/16 13:30:44:871 AST

Deploy Spring Boot 1.3.2 IBM WAS 8.5

被刻印的时光 ゝ 提交于 2020-01-02 10:03:25
问题 I'm facing a problem deploying a simple spring boot web on IBM Websphere 8.5.5.8 using full profile WAS is by default using servlet 3.0 and java 1.7. The application does not do much, just display a page with a "Hi - [current-date]". When deploying the war file, we see the following in server log output: [2/3/16 13:30:44:857 AST] 00000078 AdminHelper A ADMN1008I: An attempt is made to start the simpledemo_war application. (User ID = defaultWIMFileBasedRealm/wps_admin) [2/3/16 13:30:44:871 AST

Override Jackson Object Mapper properties on Websphere 8.5.5 using Apache Wink

家住魔仙堡 提交于 2020-01-01 09:36:31
问题 We are using IBM(s) bundled Apache Wink to offer JAXRS endpoints for our application. We are coding towards Websphere 8.5.5. Since we are servlet 3.0 compliant we use the 'programmatic' way of configuring the JaxRS application, meaning no entries in web.xml and we rely on class scanning for annotated jax rs resources. In general it works fine. @ApplicationPath("/api/v1/") public class MyApplication extends Application{ This version of Websphere along with Apache Wink, uses Jackson 1.6.x for

Override Jackson Object Mapper properties on Websphere 8.5.5 using Apache Wink

北战南征 提交于 2020-01-01 09:34:14
问题 We are using IBM(s) bundled Apache Wink to offer JAXRS endpoints for our application. We are coding towards Websphere 8.5.5. Since we are servlet 3.0 compliant we use the 'programmatic' way of configuring the JaxRS application, meaning no entries in web.xml and we rely on class scanning for annotated jax rs resources. In general it works fine. @ApplicationPath("/api/v1/") public class MyApplication extends Application{ This version of Websphere along with Apache Wink, uses Jackson 1.6.x for

WebSphere how to log timing traces to separate log?

倖福魔咒の 提交于 2019-12-25 08:47:14
问题 We do a lot of trace logging in our WebSphere application and would like to separate some timing information in a separate log file. Usually we import: import java.util.logging.Level; import java.util.logging.Logger; And then declare: private static final Logger logger = Logger.getLogger(Myclass.class.getName()); And then log: logger.info("now logging..."); What is the simplest way of doing that? 回答1: You can use Apache logging services to create logs outside Websphere Application Server.

ClassCastException b/w IBMorb and jacorb jars in WAS 8.5.5

喜欢而已 提交于 2019-12-25 00:37:48
问题 I have an application which is using jacorb.jar (org.omg.orb.ORB.class). When i deploying my war file in WAS 8.5.5, I am getting classcast exceptions with ibmorb located at openJdk/jre/lib/ibmorb.jar file. Could anyone help me in using jacorb.jar and resolving errors. Error: [3/3/15 5:30:51:863 PST] 00000001 ActivityServi E WACT0001E: The method pre_init(ORBInitInfo) in class com.ibm.ws.activity.remote.cos.ActivityServiceClientInterceptor received an unexpected exception; the exception stack

Error in WebSphere 8.5 + Mojarra + MyFaces2 + Spring webflow

独自空忆成欢 提交于 2019-12-24 13:26:07
问题 I am trying to deploy a web application in WebSphere 8.5. The app has the following characteristics. Mojarra 2.1.13 Primefaces 3.4.2 spring webflow 2.3.1 spring 3.1.2 jdk 1.6 This app works very well into Tomcat 7 but when we try to deploy it into WebSphere we got a NullPointerException with the following stacktrace. javax.faces.component.UIComponentBase.restoreDeltaSystemEventListenerClassMap(UIComponentBase.java:1933) javax.faces.component.UIComponentBase.restoreState(UIComponentBase.java

deployment issue with multiple url-patterns?

前提是你 提交于 2019-12-24 10:51:07
问题 I have a application which is deployed on tomcat with servlet version 2.4, and its working nicely. When i tried to deploy the same application on websphere, deployment failed. I found that multiple url-patterns causing the issue. example code:- <filter> <filter-name>ABCD</filter-name> <filter-class>com.x.y.filters.ABCD</filter-class> </filter> <filter-mapping> <filter-name>ABCD</filter-name> <url-pattern>/A/*</url-pattern> <url-pattern>/B/*</url-pattern> <url-pattern>/C/*</url-pattern> <url

Not able to create JMS topic programatically in WebSphere

北慕城南 提交于 2019-12-24 09:16:07
问题 I'm not able to create SIB JMS topic or queue. I tried the below code. The code ran without any exception or error public void createSIBJMSTopic(String topicName, String jndiName, String busName, String topicSpace) { try { String server = "server1"; String description = "abc"; Session session = new Session(); CommandMgr commandMgr = CommandMgr.getCommandMgr(client); configService = new ConfigServiceProxy(client); System.out.println("Commands list" + commandMgr.listAllCommands().toString());

Security role to user/group mapping: Error ADMA0014E: No virtual host specified

喜你入骨 提交于 2019-12-24 07:52:51
问题 When trying to save via OK Button, I'm getting this error and WebSphere is not saving it. How can I fix that? EDIT: This is the error message I'm trying to resolve with the configuration in WebSphere: [6/20/16 10:46:34:524 CEST] 00000034 WebCollaborat A SECJ0129E: Authorization failed for user TUZRS01:customRealm while invoking GET on null:/TestProject/, Authorization failed, Not granted any of the required roles: User 回答1: @DYangu's link to IBM pointed me in the right direction. When