websphere

How do I log Transactions created by ejb3 requires-new attribute?

I have an ejb method executing in a REQUIRES context, that calls another ejb method with a REQUIRES_NEW context. I suspect the second transaction is not being created/executed, however I'm not certain how to tell. One way I've considered is to use p6spy and just log all new transaction & commit statements, however I would have expected ...

public render parameter not working with CSA Theme in Websphere 6.1

I am trying to use Public Render Parameter to inter portlet communication. I have PorteltA and PortletB on Submit of PortletA ( processAction) sets render parameter "city" which is defined in portlet.xml. PortletB gets "city" parameter in doView() and display on view jsp. Its working fine with Defautl Theme "Portal". When I changed t...

Where can I view WebSphere environment variables?

In WebSphere Application Server (version 6.1) my JDBC Provider Classpath is ${ORACLE_JDBC_DRIVER_PATH}/ojdbc14.jar Where in the WebSphere administration console can I see what the ORACLE_JDBC_DRIVER_PATH is set to? ...

Where do I get the MQ DLLs I need for Perl's MQClient::* and MQSeries:: modules?

I need to rejig some VERY old Windows code that uses Perl to talk to MQ. Specifically, I need to be able to install Perl's MQClient::MQSeries, MQSeries::QueueManager, MQSeries::Queue and MQSeries::Message modules. When I fire up Strawberry Perl, go into CPAN and try to install them, I can see that there's several MQ client DLLs that ar...

How do I start an IBM MQ channel in Java?

Hi guys, So my Java process communicates with a remote queue. What happens is at the end of every day, the sender channel on the receiving end is in a stopped state. Is there a way to start up that channel in Java, before accessing the remote queue? ...

Calling EJB in WAS server from another WAS server

Messages: 33 [Post New]posted Today 5:33:25 AM Quote Edit [Up] Hi, I have a EJB deployed in WAS server which I am trying to call from a POJO code running in another instance of WAS server. For security I have same custom registry in both the servers and have created and synchronized LTPA keys in both the servers. But when I try to find...

HttpSession timeout

Hi i have a jsf application in which i have three frames,one for the header,one for side navigation and the other is the mainframe.I have built this in the spring framework. I have a problem that when the HttpSession object gets timed out the apllication gets forwarded to the Login page(which is correct,and is the starting page of the a...

Connecting to Websphere rmi server

Hi, I'm trying to do a remote call to remote object running as part of a application installed in Websphere. The end solution will be RPG to local java cilent to call remote service that calls the webservice. This mainly so we have one set of code to call the webservice and doing the xml parsing, plus the iSeries doesn't have direct ac...

webspehere 6.1.0.25 base with RAD 7.0.0.9 wsInstallApp task problem

Hi All, I am trying to run wsInstallApp task to deploy my war file into websphere. I am getting the error "Unable to parse setupCmdLine: null\bin\setupCmdLine.bat (The system cannot find the path specified.)" <property name="ear.file" value="../archive/DocProcessing.war" /> There is no attribute for war Here is the code SNIPPET: <ta...

How to detect Out Of Memory condition?

I have an application running on Websphere Application Server 6.0 and it crashes nearly every day because of Out-Of-Memory. From verbose GC is certain there are the memory leaks(many of them) Unfortunately the application is provided by external vendor and getting things fixed is slow & painful process. As part of the process I need to...

Where can I obtain an Eclipse server adapter for WebSphere Application Server Version 7?

I need to set up an Eclipse WTP project pointing to a WAS V7 instance but I can't find the server adapter to work with version 7. Version 6 is supported. ...

Prevent JEE application start on WebSphere on exception.

Is there a way with WebSphere 6.1.0.25 to prevent an enterprise application from starting due to an exception? I have a ServletContextListener that I rigged to throw a RuntimeException during contextInitialized(). This produces a stack trace in the server's log, however the WebSphere console still shows the application as starting succ...

IBM WebSphere Message Broker SOAP request timeout

Created .NET WCF service, tested it - works. Generated schemas from Data and service contracts, put messages to Message Broker generated Message Flow from it, tested it using simple mapping (requestMessage=responceMessage) - works. Also I can reach MB from another application and send/recieve SOAP messages. But when I try to create requ...

Possible memory leaks on a plain jsp site

First of all, I lie, it's not really a plain jsp website. It has a couple of pages with database access and a lucene based search engine... and around 400 standalone jsp pages. The problem is that the admins on a production server we've not access to, say that the site is consuming too much memory (200+ Megs), and we are probably facing...

How to automate a websphere 6.1 headless ant build using cruise control

I am building/creating a build box in which I want to automate the build process using cruise control. I have install ClearCase and cruise control. My target application server is WebSphere 6.1. For this box, do I need to do a full install of WAS 6.1 or can I just copy over parts from another box to this box so that the build will w...

Websphere MQ using JMS, closed connections stuck on the MQ

I have a simple JMS application deployed on OC4J under AIX server, in my application I'm listening to some queues and sending to other queues on a Websphere MQ deployed under AS400 server. The problem is that my connections to these queues are terminated/closed when it stays idle for some time with the error MQJMS1016 (this is not the p...

Facet Version Must be 5.0 - Using Javassist in Websphere

I have a Websphere 6.1 EAR that I am trying to deploy and I am currently getting the following message when I add javassist-3.4.GA.jar to the EAR. Facet version for Enterprise Application project IntegrationEARProject must be 5.0 to contain Java EE 5.0 project lib //{path to file}/hibernate/R3_3_1/jars/javassist-3.4.GA.jar. Currently t...

Encrypt OutputStream in Websphere

Hi, My application runs in Websphere 6.1 and it needs to encrypt OutputStream using security certificate. I guess that I have to use WAS keystore, so certificate will be configurable through admin console. I've searched Developerworks and WAS documentation and got stuck on amount of information, most of which leads to securing passwords...

JS exception in a JSP running on WebSphere 6.1

Hi All, I have popup searcher in my application which lists the available record as hyperlink. Onclick of these links we are populating a textbox with the value. The popup is opened using window.open method. The hyperlinks in the searcher looks like this: When I invoke the searcher with IE's debugging enabled I am getting an error at...

WebSphere Portal portlet crazy threading

Hello, We are dealing with an issue in our WebSphere Portal solution. It's a stand-alone application server, running WebSphere Portal on top of WebSphere 6.0 and all the stack is installed by another IBM product: WCL - Workplace Collaborative Learning (an e-learning plataform). It's a Windows Server 2003 install, btw. The issue is that...