websphere-7

How to deploy Play app to Websphere 7

扶醉桌前 提交于 2019-12-06 13:43:22
问题 According to the Play documentation, it is possible to pack a Play app in a war file and deploy it to Websphere, but I'm having problems. I'm using the play war command with the --zip option, which is working properly. The resulting war file has the right layout (WEB-INF at top level, with my jars moved to WEB-INF/lib). After deploying the war file on my Websphere server, I change the app's class loading order to parent last so that it uses Play's version of any libs that conflict. And then I

Websphere can't find my Hibernate-managed EntityManager

别等时光非礼了梦想. 提交于 2019-12-06 13:09:42
I'm using Hibernate 3.4 on Websphere 7, with Spring 2.5.6 On startup, my application seems to have problems with Hibernate vs. OpenJPA: 10/02/12 10:41:50:448 GMT] 00000010 LocalEntityMa I org.springframework.orm.jpa.LocalEntityManagerFactoryBean createNativeEntityManagerFactory Building JPA EntityManagerFactory for persistence unit 'mypu' [10/02/12 10:41:50:495 GMT] 00000010 SystemErr R WARNING: Found unrecognized persistence provider "org.hibernate.ejb.HibernatePersistence" in place of OpenJPA provider. This provider's properties will not be used. ... and then a lovely stack trace caused by:

To display a read error when the source file is used by other applications while transfering using MQFTE?

ぃ、小莉子 提交于 2019-12-06 12:29:56
问题 I need to display a read error when the source file is being used by other applications. For example : Source filename: test.txt Content: Test file. The above content is stored in the txt file and saved. The txt file is opened and is modified as below but not saved. Test file is modified. When i invoke the transfer now i should get a read error, instead the file gets transferred with the last saved content(Test file). What can i do to display a error message? This case was tested in unix and

JSPG0122E: Unable to parse EL function in Websphere 7

喜欢而已 提交于 2019-12-06 10:38:19
I am moving a web application to Websphere 7 and I am running into an error with my JSP page. JSPG0227E: Exception caught while translating /WEB-INF/jsp/snet/destinationTripReport.jsp: /WEB-INF/jsp/snet/destinationTripReport.jsp(211,8) --> JSPG0122E: Unable to parse EL function ${destForm.flightTable.get(loop.index).tripId}. The portion of the JSP where the error is coming from looks like this. <c:forEach items="${destForm.flightTable}" var="entry" varStatus="loop"> <!-- content --> <tr class="table-info"> <td>${destForm.flightTable.get(loop.index).tripId}</td> <td>${destForm.flightTable.get

Websphere. Get thread pool ID

与世无争的帅哥 提交于 2019-12-06 05:51:39
I need to build string with the following pattern: <Server>;<Node>;<Cell>;<Version>;<MessageListenerThreadPool-ID>;<ORBThreadPool- ID>;<WebcontainerThreadPool-ID>;<TCPChannelsThreadPool-ID> So I need to write the ID's of several standard thread pools, but I can't find any information about thread-pools Id's. I found only thread-pool names. May be somebody knows where I can find information about thread-pool Id's? Thanks! P.S. I'm using Websphere 7.x Use JMX to obtain management objects (JSR-77: J2EETM Management). Example of obtaining them from Websphere is given at http://www.ibm.com

wsadmin + jython restart WAS appserver

两盒软妹~` 提交于 2019-12-06 02:26:10
问题 Is it possible to stop/start WAS appserver using wsadmin (jacl/jython). I want to detele all caches on profile and then restart WAS appserver. I'm using wsadmin as standalone. 回答1: From wsadmin you may issue a command (using Jython): AdminControl.invoke(AdminControl.queryNames('WebSphere:*,type=Server,node=%s,process=%s' % ('YourNodeName', 'YourServerName')), 'restart') works with WAS Base & ND. With ND you have another option: AdminControl.invoke(AdminControl.queryNames('WebSphere:*,type

beanWrapperImpl issues only with websphere

若如初见. 提交于 2019-12-06 01:06:31
Different between our WAS in dev and our local was Our application is using Spring-Security with Spring version 3.1.0-release. It starts in a JSP file, we are trying to show the connected username: On WAS in DEV, we have a NotReadablePropertyException : "Bean property 'principal' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter?" This is because the AuthenticationTag is using a BeanWrapper (BeanWrapperImpl) At line 729 (Spring 3.1.0-RELEASE) of file BeanWrapperImpl the error is throw, 727:PropertyDescriptor pd =

Websphere 7 clustered deployment

孤人 提交于 2019-12-05 12:58:05
We have a J2EE application as EAR file which is deployed in WAS 7, for making the application availability as high it needs to be deployed in 3 clusters. We have a Quartz Scheduler class whose job is to upload data from one database to another daily at 2:00 am. Now, the problem is if the ear will be deployed in 3 different nodes for load balancing and high availability, all the 3 ear file will trigger the upload at the same time. How we can handle this. Is it possible to do some configuration in WAS 7 environment. Any help/suggestion would be appreciated. Thanks You have two possibilities: The

How to do websphere 7 deployment automation using maven?

╄→尐↘猪︶ㄣ 提交于 2019-12-05 08:12:52
Hi all Our Maven scripts are currently written to compile/package & deploy in tomcat6 (development) server. This helped us in automating the build-deploy process. Moving forward, we want to do automated deployments into WAS7 (Websphere 7) server using MAVEN scripts. Few articles which i read talks about invoking ANT Tasks that could perform deployment to websphere. Could anybody share maven scripts/tags for the same ? Jean-Rémy Revy I don't know if that works for WAS 7, but IBM provide support for WAS 6 and Maven integration : http://sdudzin.blogspot.fr/2007/09/maven-2-and-websphere-automated

JAX-RS without jersey on WAS7

試著忘記壹切 提交于 2019-12-05 06:42:04
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 In WAS 7 you must defined the servlet in the web.xml: <servlet> <description>JAX-RS Tools Generated - Do not modify</description> <servlet-name>JAX-RS