websphere

How can I get a WebSphere project to run under tc server?

Just wondering if anyone has ever converted a Websphere project to run under tc server? I run on a Mac and would love to be able to run my application locally without having to run Websphere in a VM. I realize there are differences which would have to be accounted for, and that's really my question - what would I have to change? I als...

IBM Websphere JPA configuration - how to update persistence.xml

I'm new to EJB 3 and the JPA. I've created a datasource in the appserver which is jdbc/AppDataSource. The default persistence provider is left as com.ibm.websphere.persistence.PersistenceProviderImpl. And I left the default jta data source JNDI name as AppDataSource itself. I'm actually confused regarding JTA and non-JTA. What different...

Publish problem in Websphere Portal 6.1 server on WAS 7 in RAD 7.5

I use Websphere Portal 6.1 server on WAS 7 in RAD 7.5 for my web application development. When ever i do change in Java/JSP files i need to publish. Without publishing(Right Click on server and select "Publish"), changes are not reflecting. I have checked with my friends whom have same server settings as mine, but for them its not requir...

Problem: Invalid usage of undeployed classloader

I'm working on WAS 7 app server. I got : "Problem: Invalid usage of undeployed classloader" and my applications deployed dont work anymore Meanwhile i had made no changes at all to app server. I restarted servers but no effect. Should I try to redeploy all applications? Any similar experience? Any help or hint would be highly appre...

Is Websphere written in Java? Does it run so fast in JVM?

As I know many JEE application servers are written in Java. (JBoss, Tomcat...) Is Websphere also written in Java? I found that Websphere's performance is dramatic high, I guess that Websphere is written in C++. I couldn't imagine that the 'heavy' server is able to run so fast in JVM. Is it true? ...

Generate Websphere 6.1 compatible EAR file using Maven

Hi everyone, I've been looking around for some time and couldn't find a clear explanation for this. We're using a Websphere server to run a Web application developed using Rational Software Architect 7. This application is composed of a war project and 4 jar projects. To make the final ear file there is a sixth project which contains t...

Websphere 7 SSL error that never goes away no matter what I do.

Ok I install Websphere 7.0 and RAD 7.5. Update WAS to fix pack 11 and update RAD. 7.5.5. lastest updates..etc... I create a server profile. I start the server. I turn on global security and use LDAP. (something I have done a billion times) I don't even attempt to publish an application. The server constantly debugs out this message...

What features of Rational Application Developer for WebSphere make you the most productive

I am mainly interested in the 'integration features' between the IDE and the application server. One example would be GUI editors for various server specific deployment descriptors. Another example, from the NetBeans IDE integration with GlassFish, is the ability to: edit a java file that is part of a web application, save the fi...

How can I teach myself websphere?

Hi, I have a chance to learn how to administer and develop for WebSphere. But after trying to find a book for it I am at a loss where to begin. I was hoping for some advice. I may have access to the IBM RAD IDE (I think that's what it is), but I am not sure. I have a project I'd like to put on it but I am lost. Thanks. edit: I do ...

Ruby on Rails and WebSphere Can I have both and either?

I read where you can have Ruby on Rails running in WebSphere and I think I might try it. If I make the website in RoR in WebSphere but later want to run just ruby on rails with with Apache, can I do that? I want websphere because I'll want it for other things but I have another problem where the same website will suffice but cannot tak...

WebSphere 7 Shared libraries at deploy

I use WebSphere 7 and I've set shared libraries as described in this example http://www-10.lotus.com/ldd/portalwiki.nsf/dx/06062009015816PMWEBP3Y.htm My application is running with this setting, but I can't deploy it (update). At deploy it can't find the classes in the shared libraries. I don't have the error message right now because I...

Accessing servlets in Websphere

I have written a simple test servlet and deployed it on websphere applications. When i try to access the servlet it gives me following error Error 404: SRVE0190E: I have checked all the basic things like web.xml entry, servlet syntax etc. Everything is correct.. The same servlet when deployed on Tomcat is working fine. I also checke...

Move application to Websphere clusters

What should we take care of before moving an application from a single Websphere Application Server to a Websphere cluster ...

How do I logout from Java EE container managed security?

I am working in websphere 7.0. I use the security from the application server. I would like to removing the association with the user, so user is redirected to the login page before accessing a secure resource (and request.getUserPrincipal() returns null). I try : request.getSession().invalidate(); but the user principal is still ...

java.util.zip.ZipException: ZipFile closed in Websphere deployment

Hi all, I am trying to deploy my ear in a websphere clustered environment but I always encounter the following error: org.eclipse.jst.j2ee.commonarchivecore.internal.exception.SaveFailureException: WEB-INF/lib/batik.jar Stack trace of nested exception: java.util.zip.ZipException: ZipFile closed When I deploy the ear locally, no iss...

Specifying the logging file location in Websphere in a platform-independent way

When using a Log4J RollingFileAppender on Websphere 7.0, how can I specify the location of the logging directory in the log4j.properties file, i.e. pick up Websphere's LOG_ROOT variable? ...

Single Sign On using Tomcat

We are thinking about moving from WebSphere to Tomcat. In WebSphere, we use LTPA to achieve single sign on between the different applications (running in different physical servers). What is the best way to get single sign-on between 2 physical machines in Tomcat? ...

Is there a way to find out how long it takes for websphere process a request

I have an issue where I need to monitor how long it takes for Websphere to process a request. Specifically I need to know how much time is spent in the "application world", that is time spent processing code in the ear file. I can't just compute request_time - reponse_time because that contains time spent in the container or what I cal...

How do I load/initialize my class as soon as my app is started?

We have a Java app that runs on Websphere. I have one class that I want to load and initialize as soon as Websphere loads, or as soon as the app is reloaded within Websphere, without waiting for the first web page to be loaded. I'm pretty sure loading it in our subclass of HttpServlet is probably the wrong place. So what is the right ...

Problem with struts2 redirectAction result when using BigIP

I am using struts2 (2.1.6) and want to redirect to Action2 from Action1. struts.xml: <action name="Action1" class="Action1"> <result name="success" type="redirectAction">Action2</result> </action> <action name="Action2" class="Action2"> <result name="success">/demo.jsp</result> </action> This works as expected: http://myserv...