websphere-liberty

WAS Liberty - EJB - bean does not have a public constructor that does not take parameters & java.lang.NoClassDefFoundError

丶灬走出姿态 提交于 2020-01-05 04:27:06
问题 I am experiencing issue when migrating from WAS 7.0 to WAS Liberty Base. I have deployed EAR file in WAS Liberty Base. When I add the mdb-3.2 to server.xml for JMS Messaging, I get the following run-time error on EJB MDB Bean. [ERROR ] CNTR5007E: The com.companyname.appname.AdminMDBBean bean class for the AppEAR#AppEJB.jar#AdminMDBBean bean does not have a public constructor that does not take parameters. [ERROR ] CNTR4002E: The AppEJB.jar EJB module in the AppEAR application failed to start.

Apache Tika ArchiveStreamFactory.detect error

大憨熊 提交于 2020-01-04 06:01:38
问题 I'm using java with apache tika 1.18 to convert some files to TXT. When I try to use the AutoDetectParser(), I'm getting the error : [ERROR ] Error occurred during error handling, give up! org.apache.commons.compress.archivers.ArchiveStreamFactory.detect(Ljava/io/InputStream;)Ljava/lang/String; [ERROR ] SRVE0777E: Exception thrown by application class 'org.apache.cxf.service.invoker.AbstractInvoker.createFault:162' org.apache.cxf.interceptor.Fault: org.apache.commons.compress.archivers

Apache Tika ArchiveStreamFactory.detect error

ⅰ亾dé卋堺 提交于 2020-01-04 06:01:22
问题 I'm using java with apache tika 1.18 to convert some files to TXT. When I try to use the AutoDetectParser(), I'm getting the error : [ERROR ] Error occurred during error handling, give up! org.apache.commons.compress.archivers.ArchiveStreamFactory.detect(Ljava/io/InputStream;)Ljava/lang/String; [ERROR ] SRVE0777E: Exception thrown by application class 'org.apache.cxf.service.invoker.AbstractInvoker.createFault:162' org.apache.cxf.interceptor.Fault: org.apache.commons.compress.archivers

Bluemix, push application with server.xml vs whole Liberty Server, is there performance difference?

天涯浪子 提交于 2020-01-03 15:19:28
问题 I have a multiple options to push my application to Bluemix, single WAR or EAR file, WAR file with server.xml file if I need some customization in settings or even push whole Websphere Liberty Server . When do I need to use the last option and what its impact on a performance in comparison with other options? Thank you. 回答1: In general there is no impact on performance; depending on what you are doing you may result in exactly the same runtime configuration (and thus performance). The most

Websphere Liberty profile - transacted Websphere MQ connection factory

☆樱花仙子☆ 提交于 2020-01-02 04:47:07
问题 Trying to get my Liberty profile server to create a transacted jmsConnectionFactory to my instance of Websphere message queue. Liberty profile v 8.5.5.5 Websphere MQ 7.x I've tried to change the jmsQueueConnectionFactory to jmsXAQueueConnectionFactory but it does not help -> Then it seems to just ignore it and doesn't connect to the MQ server.xml <?xml version="1.0" encoding="UTF-8"?> <server description="new server"> <!-- Enable features --> <featureManager> <feature>wmqJmsClient-1.1<

SSL config for outbound connections doesn't work in websphere-liberty 17.0.0.2

江枫思渺然 提交于 2019-12-25 11:20:51
问题 I'm trying to configure websphere-liberty server to use default keystore and trustore for all outbound connections (actually REST calls) and for inbound use a custom key and trust stores. But it fails with SSLHandshakeException when try to make a call to external REST service. In logs I can see that it uses my custom truststore instead of default one. Below is my server.xml <?xml version="1.0" encoding="UTF-8"?> <server description="Default server"> <featureManager> <feature>appSecurity-2.0<

SSL config for outbound connections doesn't work in websphere-liberty 17.0.0.2

可紊 提交于 2019-12-25 11:19:30
问题 I'm trying to configure websphere-liberty server to use default keystore and trustore for all outbound connections (actually REST calls) and for inbound use a custom key and trust stores. But it fails with SSLHandshakeException when try to make a call to external REST service. In logs I can see that it uses my custom truststore instead of default one. Below is my server.xml <?xml version="1.0" encoding="UTF-8"?> <server description="Default server"> <featureManager> <feature>appSecurity-2.0<

java.lang.ClassNotFoundException: com.ibm.ws.rsadapter.jdbc.WSJdbcConnection

余生颓废 提交于 2019-12-25 10:32:46
问题 I am trying to use WAS liberty rutime profile with eclipse Luna. My environment: Window 7 Eclipse luna Websphere application server tools V8.5 plugin Websphere liberty profile My application using spring framework 2.5, and configuration file as below. <!-- For Oracle and Websphere; you need to use this lob handler definition instead of defaultLobHandler. Because of differences in Oracle's Blob objects. --> <bean id="oracleLobHandler" class="org.springframework.jdbc.support.lob

java.lang.ClassNotFoundException: com.ibm.ws.rsadapter.jdbc.WSJdbcConnection

微笑、不失礼 提交于 2019-12-25 10:32:29
问题 I am trying to use WAS liberty rutime profile with eclipse Luna. My environment: Window 7 Eclipse luna Websphere application server tools V8.5 plugin Websphere liberty profile My application using spring framework 2.5, and configuration file as below. <!-- For Oracle and Websphere; you need to use this lob handler definition instead of defaultLobHandler. Because of differences in Oracle's Blob objects. --> <bean id="oracleLobHandler" class="org.springframework.jdbc.support.lob

How to configure/run Java Batch partitions in multi JVM in WebSphere LP

旧城冷巷雨未停 提交于 2019-12-25 09:11:33
问题 In WebSphere LP Java Batch, I have divided my job in 4 partitions through job.xml configuration, So when the job executes on server 4 threads runs on single jvm to complete the job. Now I want to run the partitions on 2 jvm. Lets say 2 partitions will run on server-1 and 2 partitions will run on server-2. Does someone tried something on this to run partitions in multiple jvm through configuration or any thoughts would be welcome. 回答1: You need some extra configuration in the server running