websphere

Reserve Port in WebSphere

I am using Spring with WebSphere 6.1 and today I started to get NET_BIND errors stating that port 1099 (port that Spring is using) is already in use and that Spring cannot use it. I've been using that port for a long time and ran netat to make sure that 1099 wasn't listed (which it wasn't). I also looked at the ports configured for my ...

Resource DATASOURCE rolled back in cleanup of LocalTransactionContainment

Im working in a WebSphere Application Server 7, JDK 1.6 and Oracle 11g. Im always receiving this error when using an ejb. [7/1/10 17:12:28:770 BOT] 00000013 LocalTranCoor W WLTC0033W: Resource jdbc/oraDS11 rolled back in cleanup of LocalTransactionContainment. [7/1/10 17:12:28:773 BOT] 00000013 LocalTranCoor W WLTC0...

SSL setup on WebSphere 6.1 for Windows

Hi, I'm a bit of a newbie when it comes to SSL security on WebSphere. But basically I am calling a URL from my Java application hosted on WebSphere 6.1. The URL is a web service which is secured via SSL. As an example my URL is: https://servername:portname/service I call the web service using cURL using: --cert test.cer --key ...

Error on IBM websphere

IO Error while parsing file '/WEB-INF/com.ibm.ws.console.core/console-defs.xml'. Connection refused: connect I got the above error when i am trying to connect to admin console of IBM websphere. ...

Websphere 6.1 - Classloader.getResource returning URL instance failing to convert to URI

I have create one utility which reads all files stored in the directory on classpath. The directory location is configurable through properties file. When I am trying to read the directory location using URL url = XXX.class.getClassLoader().getResource("com/abc"); //abc is directory on classpath. URI uri = url.toURI(); //This fails with...

Websphere: JPA: java.lang.IllegalArgumentException: Object: Entity is not a known entity type.

I'm trying to deploy an app using Eclipselink as my JPA Layer on IBM Websphere 7.0.0.9. While trying to do any CRUD operations, i get the following exception: Caused by: java.lang.IllegalArgumentException: Object: Entity is not a known entity type. at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.registerNewObjectForPersist...

How to deploye EAR file in WebSphre clustered environment?

Hi Can any one please explain how to deploy EAR file in clustered environment of WebSphere 7. I'm able to deploy into single node. same ear file i'm not able to deploy in clustered environment Thanks in advance Srini ...

Using Spring to Access an EJB Across Clusters in WebSphere using Grails

I have spent the last few days attempting to integrate a Grails (version 1.3.2) application with an EJB 2.1 application that is deployed on WebSphere 6.1. Once our grails apps are in production, they will be deployed to WebSphere as well. The EJB 2.1 application is widely used across our company and, in anything except a local developm...

WebSphere 7, JSF 2.0 and classloaders

Hi, On a WAS 7, I deployed my EAR with a single WAR in it. The EAR classloading mode is set to PARENT_LAST, and the WAR classloading mode is also set to PARENT_LAST. The WAR's WEB-INF/lib has the Mojarra JSF 2 RI, and the Unified EL 2.1 jars. Despite all this, when the application starts, it tries to load some MyFaces stuff, from the i...

How to configure jbpm with websphere?

How to configure jbpm with websphere? ...

Need to render WCM content from an Asynch bean

I'm trying to get rendered WCM content in an Asych bean (which implements the Work interface). I can create a Workspace using a username and password, but I don't see an API to create a RenderingContext without passing either a portlet request/response or a servlet request/response pair). Is there any way I can either 1) Create a Rend...

Pmi Client is not created while using with sun java instead of IBM java

Hi!! My task to monitor the IBM Websphere through pmi client.Pmi client is an agent provided by the IBM to get MBeans and is running under IBM Java. I tried it to run under Sun java. But, it fails to create the Pmiclient. Did Anyone come across this issue? ...

ServletFilter and Wrapper on WAS truncating ByteArray

I have a servlet filter and wrapper that searches for certain values in the response html and replaces them if found. My wrapper uses a byteArray and it works fine on a weblogic server. However, on websphere, it is truncating the array, so the page is messed up. Do you have any idea why it might be truncated? ...

WebSphere web.xml / bindings issue

I just recently started having issues while deploying EARS within websphere. The error I get after I install the apps is provided below. ------Start of DE processing------ = [7/18/10 10:51:19:309 CDT] , key = javax.management.MBeanException com.ibm.ws.management.AdminServiceImpl.invoke 679 Exception = javax.management.MBeanException So...

Federated Nodeagent doesn't look as running in managment console

Hi, I'm using websphere 7.0.0.9 over windows with a topology like this: physical-server-1 Cell01 DMgr Node01 w/Server01 physical-server-2 Node02 w/Server02 The Node02 is federated to Cell01 and works fine for a few weeks (i'm testing a clustered application over server01 and server02, nothing special) But now in administrative cons...

Change in WSDL URL when recreating project

Hi, I had a WAS application with web services, but suddenly it stopped responding to soapUI's WSDL refresh so I restarted a project from scratch and copied the java files. The strange part is that the original URL was http://localhost:9082/CompMgr_v1/services/CompMgr_v1/wsdl/CompMgr_v1.wsdl But in the new workspace it was generated a...

WebSphere tries to load Spring related schemas from internet

Hello world, I have some problem running spring in my j2ee application. Short introduction: I use WebSphere 6.1 (i don't know that it is websphere specific or more general problem) Artifacts: web application (war) where in WEB-INF/lib folder maven publishes all needed spring dependencies. war is then packaged in ear and deploys on ...

Reject GET Method on j_security_check

Is there a way to only allow POST requests to j_security_check? I want to reject GETs. ...

How to run a scheduled task in Websphere 6.1 clustered enviornment

I would like to run a background task on some interval from a web application I have deployed on Websphere 6.1 clustered environment. The task will access a database, send emails, and write to the database. I was thinking about kicking off a thread when the web app is first loaded, as suggested here: http://stackoverflow.com/questions/7...

websphere, 100% when authenticating against Active Directory.

Hi, I've got Websphere 6.0.29 setup to authenticate against Active Directory, but when I log in to my Webapp with a valid user the CPU goes to 100% and doesn't recover, if I log in with an invalid user, then I get a 403 as expected. There is no clues in the websphere logs. And I'm stumped as to what the next step should be. Can anyon...