websphere-7

Thread “WebContainer : 0” (00000029) has been active for 647279 milliseconds and may be hung

ぃ、小莉子 提交于 2019-12-11 11:49:10
问题 I am getting the following exception in WebSphere while trying to generate an excel report using jasper. ThreadMonitor W WSVR0605W: Thread "WebContainer : 0" (00000029) has been active for 647279 milliseconds and may be hung. There is/are 1 thread(s) in total in the server that may be hung. Tried increasing the default thread pool size from 20 to 50 and also increased WebContainer pool size from 50 to 150. Not worked. Any solution for this. 回答1: Your error message tells that the thread named

Application was not properly initialized at startup (JSF 1.2, WS 7)

自古美人都是妖i 提交于 2019-12-11 08:24:42
问题 i have developed an application using jsf 1.2. it worked fine with apache tomcat 6. i took the war file on production with websphere 7 and deployed the application. i recieved following error. E com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0100E: Uncaught init() exception created by servlet Faces Servlet in application Products_war: java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory

Get parameters from URL under portal enviroment on WPS7

巧了我就是萌 提交于 2019-12-11 08:19:30
问题 I want to get parameter from a URL under portlet environment. The URL i am using to open a portlet is http://localhost:10039/wps/myportal/myPortlet?recId=100 When the portlet opens the URL changes and looks like *http://localhost:10039/wps/myportal/myPortlet/!ut/p/b1/dY7LcoIwAAC_hQ9wElQSckwJ8lLEgjxyYbDTBAQMgkXHr7ft9Nq97cweFnBQmEhfGUtMdJADfqnmRla3Rl2q7sc5Kt_I0d1RxCCOyAZ6EQl8a29CSA3gAy47dfpOU1aoB1NUMsrEerIUz7lu0vma1pY9hNTZRbXZx8jYP8-SBSv_OibxLD66fnwvknYom9xPMzkK9awT

Remove EJB timer tasks from WebSphere Console

谁说胖子不能爱 提交于 2019-12-11 08:19:26
问题 I have an EJB application and used EJB Timer to place some tasks(persisted database sequence ID) with expire date/time on it and once time expires remove the tasks from the Timer and invoke some method. I am in situation that there are bunch of the tasks placed in EJB Timer and whenever Timer Timeouts and it gets each of the tasks from Timer and try to invoke some method that has to update some database associated with task id. I found some how those all tasks are deleted from database during

Will the was6 plugin for maven work with WAS 7

北慕城南 提交于 2019-12-11 03:21:31
问题 From what I can find there is no specific maven plugin for WAS 7, so I am wondering if the was6-maven-plugin will work with the newer version of the server. 回答1: I asked IBM the same very questions: officialy yes, in reality the Jar Hell will give you some problems.. If I were you I would dimension a couple of days for issue resolution. 回答2: was6-maven-plugin works for me on WAS7 without problems but you have to hack when you want to deploy multiple EARs from one Maven module. You don't have

Does Websphere explode WARs and/or JARs when they get deployed?

只愿长相守 提交于 2019-12-11 00:52:19
问题 When we deploy WAR into tomcat it explode WAR, while deploying WAR in websphere dose it explode the WAR as well. because I have deployed WAR into websphere but it dose not exploded my WAR and if the WAR is not exploded the file resolver doe not works. 回答1: WebSphere Application Server always explodes the wars. You should take a look under profile-directory/installedApps/your-management-cell-name/ . The WAR will be wrapped inside EAR for deployment, and under the EAR directory you will find

How can I update Websphere 7 to use EL2.2?

假如想象 提交于 2019-12-11 00:30:04
问题 This is what I have done: Following this post from Lincoln Baxter I downloaded el-api-2.2.jar and el-impl-2.2.jar Then created isolated shard library and added them there. We are using Myfaces so in web.xml added this bit <context-param> <param-name>org.apache.myfaces.EXPRESSION_FACTORY</param-name> <param-value>com.sun.el.ExpressionFactoryImpl</param-value> </context-param> This is the issue: I do not think it getting picked up and application is still using one out the the box apache based.

Websphere 7.X. JMX, how to enable all operations in JConsole?

随声附和 提交于 2019-12-11 00:06:56
问题 When I open JConsole (using confugured .bat file), inside AppManagement Mbean node I see many operations. But most of them are disabled, enabled only one - "MoveModule" operation.. How to enable all JMX operations under AppManagement Mbean node (like "Install application", redeploy, uninstall etc)? Thanks. 回答1: That is not possible. JConsole allows to invoke methods that only have parameters with simple types. That includes primitive types, wrapper classes for primitive types and strings.

Classloader issue in WebSphere Application server 7.x

孤人 提交于 2019-12-10 21:47:27
问题 com.ibm.xml.xlxp2.api.stax.XMLOutputFactoryImpl incompatible with javax.xml.stream.XMLOutputFactory com.ibm.xml.xlxp2.api.stax.XMLOutputFactoryImpl incompatible with javax.xml.stream.XMLInputFactory Removed "jsr173_1.0_api.jar", "stax-api-1.0-2.jar" that has "XMLOutputFactory" and "XMLInputFactory" classes from APP(Web-inf/lib) to avoid any collision with server versions. Also changed the war class loader order to "parent last" and policy to "Single class loader for application" in WebSphere

A JDBC Driver or DataSource class name must be specified in the ConnectionDriverName property “How to solve it?”

时光怂恿深爱的人放手 提交于 2019-12-10 13:03:54
问题 overview : This my first tutorial by Websphere 7 Server & JPA 1.0 & EJB & Derby Database. First : My data source name is EJB3BANK & my target database is SHOP . Second : This the persistence.xml file <?xml version="1.0" encoding="UTF-8"?> <persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">