websphere

Set WAS Process Definition Environment Entries using Jython?

Is it possible to add custom Process Definition environment entry in a WebSphere Application Server using a jython script? I see that the existing properties in the server.xml are assigned auto-generated IDs, is it possible to retrieve those prop without knowing their ID? <environment xmi:id="Property_1248356598212" name="<my_prop>" v...

How to precompile a ColdFusion application under Websphere/Solaris 10

I am in the process of installing a ColdFusion application on Solaris 10 64-bit (Sparc) running with WebSphere 6.1. The cfcompile script that comes with CF makes a reference to jrun.jar however this library is not available when CF is installed as an ear file. An abstract of cfcompile.sh is the following: su $cfuser -c "${_JAVACMD} ...

WebSphere 6.1 for Solaris (Trial Download)?

Is there WebSphere Application server 6.1 available for download on Solaris 10? I simply need a trial edition for testing. ...

Can JSF 2.0 be used with Websphere application server version 7.x

Can JSF2.0 be used with Websphere application server version 7.x ...

HTTPClient-java.net.SocketException: Unconnected sockets not implemented thrown

Iam using HTTPClient 4.0 to connect a remote server and transfer file using HTTPS. When i tried to connect i get the exception "java.net.SocketException: Unconnected sockets not implemented". Please look at the stack trace java.net.SocketException: Unconnected sockets not implemented at java.lang.Throwable.<init>(Throwable.java:196)...

How to receive notification when IBM Queue Manager gets disconnected?

Hi, We are currently building an application that needs to communicate to some IBM WebSphere queues. At the other end of the queues there is another world. Due to some unknown circumstances (for me), connecting to the MQQueueManager takes 17 seconds every time, but sending and receiving messages afterwards through the queues is not a ...

RAD Websphere - EAR not picking up latest jar

Hi, I am using RAD 7.0. My web application works with a jar(contains the backend code for our application) which undergoes frequent changes. But whenever I replace the jar in the WebInf/lib folder of the war and restart the server, it does not pick up the latest jar. It keeps referring to the previous jar. I have to undeploy, restart se...

RAD - Websphere Application server won't start

I am having issues with RAD7. My server will not start for me today. I am working from home and connected to the VPN. Everything works except my server in RAD. It worked fine yesterday in work and had previously worked when I was at home but that was a few weeks ago. Are there any settings that I should look out for? I have disable...

websphere server stop causes inflight ejb transactions to rollback

I observe errors as below when Websphere server instance is stopped from admin console Caused by: javax.ejb.TransactionRolledbackLocalException: ; nested exception is: javax.transaction.TransactionRolledbackException: Transaction is ended due to timeout at com.ibm.ws.Transaction.JTA.TranManagerImpl.completeTxTimeout(TranManagerImpl.jav...

JSP files in external directory

In my project, we allow customer to write customer specific logic in JSP pages and attach to our product. Right now after deploying .ear file customer copy the custom files under /WebContent/custom directory so that we can refer those JSPs. This is a tedious process for installation, I would like to simplify this. I tried the following ...

difference between Stop, Immediate Stop and Terminate in WAS6.1

What is the difference between "Stop", "Immediate Stop" and "Terminate" in case of a Websphere Application Server instance. Specifically in the context of in-flight requests and in-flight transactions at the time. ...

Signing SOAP messages using WSS4J

We need to sign a SOAP message with a certificate in Websphere 7. Currently we are looking at using WSS4J from Apache and are approaching this in the java code itself. Does anyone have any experience signing SOAP messages in Websphere or otherwise? ...

Enabling global transactions on WAS for MQ + JDBC data sources

Can someone help me with the settings required for enabling global transactions on a queue listener and data source. I am able to achieve it with database, but my listeners stop working I am using following configuration for it: <tx:jta-transaction-manager/> <jms:listener-container connection-factory="jmsConnectionFactory" transaction-...

Websphere - What is the best way to hide wsdl's from end user?

Hi all, I think there are several ways to hide wsdl's from end users for WebSphere (6.1). We use axis to publish Web Services and I currently updated the custom Servlet class (which extends AxisServlet) and override the service method to throw 404 error for urls like: http://xxxx/services/MyService?wsdl. The other option may be adding f...

Get Application Server name or ip and port in Java

We would like to identify and display the server and port that a Java application is running on that is behind a proxy web server. This means that getServerName() and getServerPort() return the server name of the proxy and its port (80). We have two application server instances running on a single physical box and therefore have two act...

RAD7 WAS 6.1.1 Issue with single server/JVM and 2 app with diff versions

Hi, I have a unique problem in RAD7 (WAS 6.1.1). We have two same applications but different versions, running on the same server(deployed two ear's). When a user logs in both the application simultaneously and tries some action, the functionality(ies) of older version and newer versions are combined and it behaves randomly. Is it somet...

JVM system time and time inconsistency OS system

Using websphere application server 6.0.1.23 on aix 5.3 In applications (Lotus connections), working on an application server (WAS). Entries that make application users are recorded with the wrong date, not one that grants the date command. Has anyone encountered a similar situation? ...

Webspehere 6.1 and JNDI for something other than a Datasource

I was wondering: how does one go about configuring WAS if they want to store some confidential information that is not datasource, JMS or Mail related? I'm looking more for an adhoc JNDI resource (a few Strings) that can be queried at runtime to get both a username and password for a vendor system I need to connect to. Not being uber f...

web.xml - Java Servlet Filters and WebSphere - URL Pattern issues

Hi, So we are running a web application that has been tested on Tomcat, Glassfish, WebLogic and WebSphere. All run correctly except WebSphere. The issue is that filters are not processed for files under a certain directory. For example I have a filter that checks the user's lanuage from browser cookies and another that get the user's u...

Tomcat vs Websphere's web container performance

Anybody knows about a performance comparison for Tomcat vs Websphere app server's web container? www.webperformanceinc.com provides such a comparison but it's very outdated, somebody knows if there is a newer one, say with Websphere v6.1 or v7? ...