websphere

Global Filter for all Web Applications

In a J2EE application, how do I create a global Filter that can access other webapps installed on that app server? ...

How to migrate WebSphere app with no WAR/EAR file.

Hi, I am to migrate a Websphere machine (including the applications which run on it) to a new machine. They wanted a clean install of the OS and WebSphere, so I did that. I also took a full file backup of all of the applications they had on the old server. The problem is that to re-install them on the new server, the WebSphere dialog...

How can I determine the J2ee application server type and version ?

I need to detect information about the Application Server my EJBs are running in. The System.properties contain a lot of information about Java and the Operating system, but I need to know what type of application server and if possible even the version. Is there a way to get this information in an application independent way (JMX maybe...

Remote deployment to Websphere 6.1.x using wsadmin

I am trying to remotely deploy a war file to a websphere application server. I understand this is possible to do using wsadmin, but I am a Websphere newb. I know I can run wsadmin and connect using SOAP to the remote app server, but that is where I am at. This seems like it should be a common use case, can anyone help me with? I supp...

Java Process Servers Good Idea or Not?

Just want to shout out to the community to see what peoples thoughts are on Java process servers in general. IBM in particular tend to make a lot of noise about Websphere process server. I can see the idea behind the process servers if your working in a web service world but in practice are they really effective or are they just over k...

programmatic authentication for JMX in Websphere

We would like to make JMX calls to other deployed applications within Websphere Application Server. This works fine if you do this within a web application where a user does a login with the right credentials. However if you try to make JMX calls, say, from a timer triggered part of the application that has no connection to any logged in...

Ajax request during a file upload takes a long time to complete.

I'm using a Webphere server. I am performing a file upload through a servlet using the Apache FileUpload methods. I attach a listener to this FileUpload which updates a "percentage" field denoting what percentage of the request has been processed. The request gets directed to an iframe (form's target is an iframe) so that the page that...

Richfaces 3.3.2 - JSF 1.2 - Facelets in RAD 7.5 and IBM WAS 7.0

Hello, I'd like to know which is the best way to use JBoss richFaces (3.3.2) with SUN RI jsf implementation (1.2) under RAD 7.5 and WAS 7.0, with facelets. We inverted class loader policy at the application level to obtain this, but I'm not sure this is the best way to do it (parent last policy could be potentially harmful). Thank you ...

Export Websphere 6.1 Profile with datasource configuration

Hello, I'm trying to export a profile from WAS 6.1 so that I can give it to other members of my team with all of the JNDI and Shared Library configurations in place. I've flowed a few IBM tutorials on this like http://www-01.ibm.com/support/docview.wss?uid=swg21322309 (technically that is more a bug fix, but there is a similar page). I'v...

WebSphere 5.1: Setting JDBC datasource connection as "unshareable"

L.S. Our DB provider has suggested that we use "unshareable" connections when connecting to their DB. I have a reasonable understanding about the pros/cons of using "unshareable" connections, and our programming model will not cause any issues mentioned in various blog posts. Can anyone give me an idea of how to make our JDBC datasourc...

Troubleshoot JSP nullpointer exception problem

I am looking at a very old project and trying to fix some problems that this project is facing with related to its JSP pages throwing nullpointer exception. The JSP page is throwing a null pointer exception like the sample below. /e2fo/tools/user/search/searchUser.jsp. Exception thrown : java.lang.NullPointerException at com.ibm._...

IBM WEME J9 Invalid Padding Exception

I am using the IBM Websphere Everyplace Micro Environment JVM on a Windows Mobile 6 device. My application uses HTTPS connections and I have everything set up appropriately to use the J9JSSE package for SSL/TLS. Some messages that are being transmitted on the HTTPS connection are getting through just fine, but others are causing an exc...

EntityManagerFactory error on Websphere

I have a very weird problem. Have an application using Hibernate and spring.I have an entitymanger defined which uses a JNDI lookup .It looks something like this <bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean"> <property name="dataSource" ref="dataSource" /> <propert...

ClassCastException when call local ejb3 from different classloader on Websphere 7

Hello, I have two ears, ear1 contains an ejb project and client, containing the interfaces (local). Ear2 contains a war that needs to call the ejb3 service. When I call the ejb service I am getting a classcastexception, I think because there are two classloaders involved here. Is there a clean way to achieve this? I'm working in RAD75 ...

Adding a Console User to WebSphere in jython.

I need to add Administrative users to the WebSphere Console using a Jython script. I tried to turn on the "Log command assistance commands" preference, but it did not log adding a user. It did log other stuff though. We setup alot of servers and are trying to script the entire setup process. Cheers, Konrad ...

Connect visualvm to websphere 7

I am trying to get visualvm and websphere 7 to work together on my local windows desktop. I try to connect through JMX but no luck. Has anybody managed to get visialvm and websphere 7 to work and ow did you do it? Regards FF ...

Data Source configuration on WebSphere 7.

I am working on WebSphere application server recently. And now i have to use DataSourceConnectionProvider for it. So i know how to configure it for JBOSS but I need the configuration info about WAS 7. Thanks. ...

how can I send messages to/from a Websphere Message Broker from an embedded C client (no JVM)?

What are my options for pubsubing (or point to point but pubsub is better) messages to and from an IBM message broker from an embedded headless C/C++ linux client that doesn't have a JVM? Ideally we want large file transfer (2GB once per day off of the client) encryption (SSL) reliable ('assured' delivery / QoS2, maybe QoS1 would do) ...

What is the effect of recursion on a server?

I've heard that running recursive code on a server can impact performance. How true is this statement, and should recursive method be used as a last resort? ...

IBM Websphere Community Edition as VM appliance

I want to create a simple virtual machine with the IBM WAS Community Edition installed. Does the licensing allow publishing the complete appliance? (I want to use Debian without any non-free packages for everything else.) ...