I'm trying to lookup an EJB from a standalone java application. I'm thinking in terms of WebSphere Application Server 6.1, but if someone knows how to do this for another application server, it may get me in the right direction.
What I'm currently doing:
initialContext= new InitialContext(env);
initialContext.lookup("");
lc ...
We need to prepare part of our EAR for deployment, we usually do this by loading it into the RAD, right clicking on the EJB and selected "Prepare for deployment" option. Then we export the EAR.
Is there a scripting interface to the IBM RAD 7 application or running the prepare from the command line so we don't have to manually go through...
Hi,
I'm unemployed and I have a job interview tomorrow where knowledge about Websphere 5.x and Websphere 6.x is required. I only use Tomcat and Glassfish.
What is the strict minimum to know about Websphere? They will ask me if I have ever used it and I will say no but I would like to have a few things to say in order to lower the impa...
Here is the code, it don't display the .csv file:
public class ForwardAction extends MultiAction {
private static final String FILE_ERROR = "<h3><center>INVALID FILE</center></h3>";
public ActionForward doVizualizare(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response)
throws Exceptio...
I'm using Rational Application Developer to create some web services. The problem I have is I follow the instructions laid out in a screen cast, however when I get to the part where I pick "JAX-WS" it complains that Websphere does not have an implementation for the webservice libraries as the chosen server is only a "stub".
Being new t...
I have an application that uses WebSphere MQ Java API along with a configuration (xml) file to access MQ. I would like to migrate to WebSphere JMS API. For this i try creating
1) WebSphere MQ Queue Connection factory and 2) WebSphere MQ Queue destinations from my local WAS. When i configure my Queue destinations and try to set my MQ Con...
I face troubles accessing my website deployed on Websphere Application Server 6.0 when I deploy my application which uses JSF1.1 Runtime Environment.
At first It loaded with some errors telling me that my commandLink is missing bodyContent, which is Optional, but I think edited my pages and the page is displayed.
When I try to press an...
I have a fresh install of Wesphere 6.1 Fixpack 23. I have an app deployed that requires an MQSeries JMS Queue. I set up an MQSeries provider-based request and reply queue and an MQSeries provider-based queue connection factory. When the deployed app tries to access the queue, I receive the following error.
Any assistance would be appre...
Has anyone managed to get BIRT to run under WebSphere with Java 2 Security switched on? Doesn't seem to matter what I put in my was.policy file, I get a huge number of security exceptions when I try to produce a report.
Running with Java 2 Security switched off works perfectly, but that's not an option for the production environment.
A...
Hi there ....
My project is a Web project built using three technologies :
Icefaces for presentation layer.
Spring for business layer.
Hibernate for data access layer.
My Project deployed on WebSphere 6.1 and the user can upload files, I use ice:inputFile component to handle the upload process...
The first issue is:
When the upload...
We have an infrastructure set up where in the webservers are clustered and the application servers are not. The webservers route the request to the application servers based on round-robin policy.
In this scenario, the session data available in one application server is not available in the other application server. Is there anyway by w...
I find the pack:tag very cool. It minifies javascripts, CSS and other stuff thereby reducing the network payload.
It works quite fine on Tomcat. But when I run it on Websphere AS 6.1, it does not work. There are no errors reported in the logs, but it simply does not work.
Anyone pointers/tips would be great.
...
Hi All,
I work on a large financial system which is hosted on WebSphere and currently has an applet front end.
I am just playing around with Flex for the first time and I am really impressed with the quality of the framework. I am interested to see if there is anyway I can integrate Flex into my J2EE application in a simple type safe ...
Hello,
I'm developing a EJB client. The EJB (2.1) server in deployed as Websphere 6.0 cluster.
I'm doing the jndi lookup after acquirement of the InitialContent object for specific ip address using the following code:
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTIORY,com.ibm.websphere.naming.WsnInitialContextFac...
Hello,
We have an Java workflow application that uses an Oracle database to track its steps and interactions with other services. During a workflow run several insert/update/selects are performed and occasionally the select will not return the updated data, even though the insert/update commit that ran before it completed successfully....
I have to integrate my web service with IBM Enterprise Service Bus (ESB).
I think that there should not be any mediation because this service has only one location
and do not have to change requests.
Is it true? Can ESB administrator simply connect web service to the bus?
If it is necessary to write mediation code:
are there any free tu...
I am looking for a tool that Logs SQL statemetns fired in the application as I use the application.
I found p6spy. But there is an issue with that. It doesnt seem to be compatible with XA Datasources.
Is there a way to make p6spy work on Websphere 6.1 OR is there an alternative to p6spy ?
Also, if anyone has any AspectJ code that inte...
Hi,
I'm trying to figure to do a easy secure connection in rad 7.5 for my application. Don't want to install http server with openssl. Is it possible to doing it directly in WAS?
...
I'm upgrading an application from an old ejb2 setup to use ejb3's using the ejb3 feature pack on websphere 6.1
I've got a ServletContextListener which does some initialisation when the servlet context starts, part of this initialisation involves calling ejb's.
The server is set up to use FileRegistrySample for its custom user registry,...
I have JAX-WS generate client proxys that need to connect using HTTPS. The certificate handling needs to be custom since we store the certs in a database instead.
I have a working version for the SUN JAXWS implementation, but now I need to have the same client code working in WebSphere 7.0.
Unfortunately the JAX-WS standard is a little...