Version 7.x of IBM WebSphere Application Server (WAS)
Questions tagged [websphere-7]
811 questions
3
votes
1 answer
Getting session timeout value from WebSphere Application Server using Java
Is it possible to get session timeout value set in WebSphere Application Server from Java code dynamically?
I need to show an alert 5 minutes before the actual session expires. Please suggest.
Thanks

explorer
- 1,074
- 2
- 11
- 31
3
votes
1 answer
Deploying EJB and accessing it using Remote and Local references
I have an Enterprise application which has a Stateless EJB and a JAX-WS based web service. Web service when invoked will internally invoke the
EJB. lib folder contains the common libraries needed for both EJB and WAR.
I'm facing two issues while…

Swapna
- 907
- 2
- 11
- 16
3
votes
3 answers
session.invalidate() not working in Websphere Application Server
We have the requirement of going to Vendor login page from the main application. If the session is valid then the data selected in the main application is visible in the Vendor page are we are storing the data in session.
For Handling this, in…

BK Elizabeth
- 479
- 5
- 15
3
votes
0 answers
IllegalStateException in websphere when invalidating session
I want to invalidate a session when a jsp is loaded so that any existing session attributes are removed from jsp which is directing to this jsp.Below code is working on tomcat6.0.29 but throwing java.lang.IllegalStateException in websphere7.0.19.I…

vips
- 51
- 1
- 7
3
votes
0 answers
Http 504 error while accessing URL from websphere
I'm trying to hit a URL and get response by using java.net.URL by writing a java class and deploying it in websphere 7.
I have ran this class successfully on local machine,development server using putty and local websphere server by calling it from…

Habin
- 792
- 1
- 11
- 21
3
votes
1 answer
log4j files not rolling - Websphere 7, Windows
I have an application running on Websphere in a Windows server environment utilizing log4j. The system is logging and appears to be adhering to the MaxFileSize limit as defined in the log4j.properties (20KB - see below), but is not rolling the log…

CDub
- 13,146
- 4
- 51
- 68
3
votes
0 answers
Can't serve large data using the Websphere Application Server
I wrote the simplest Servlet possible for serving a stream of data (in the test case it's a 14GB text file) to the client:
protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
…

RokL
- 2,663
- 3
- 22
- 26
3
votes
1 answer
Separating Log4j logs in Websphere Clustring Environment
We are using Log4j for logging in our web application. Our applications are deployed in Websphere cluster environment.
For example:
There is one Host having two different JVMs where web applications are deployed.
Host-1
JVM -1 [App-1,…

Narendra Verma
- 2,372
- 6
- 34
- 61
3
votes
1 answer
JAXB unmarshallling fail when runnin on WAS 7 (succeed on a standalone test)
JAXB unmarshallling fails when runnin on WAS 7 (succeed on a standalone test)
[21/11/12 16:47:55:690 CET] 00000025 DefaultMessag W org.springframework.jms.listener.AbstractMessageListenerContainer invokeErrorHandler Execution of JMS message…

user581472
- 31
- 2
3
votes
1 answer
How can 'Global security' 'Custom properties' be modified using jython scripting for 'WebSphere 7'?
I am using 'WebSphere 7 Application Server' in a clustered environment. I am attempting to use jython to script the configuration and setup. All well thus far. However, I have hit a road block. I cannot find a way to modify the 'Custom properties'…

user1812698
- 53
- 4
3
votes
2 answers
Starting Websphere 8 in eclipse
I am using Win7 64 bit and when i try to start websphere 8 inside my eclipse it says
Get the following error when start the server :
Exception in thread "main" java.lang.NoClassDefFoundError: Files
Caused by: java.lang.ClassNotFoundException:…

user1374266
- 323
- 1
- 4
- 19
3
votes
2 answers
How to configure an HTTP Server in front of WAS cluster?
I have defined a Websphere 8.5 cluster made up of two Nodes, now I'd like to put an HTTP Server in front of the cluster which balances calls. When I add a new Web Server from the console, I'm allowed to choose either Node1 or Node2, but I'd like…

user1666927
- 87
- 2
- 6
3
votes
5 answers
Unable to run Profile management Tool for Websphere 7.0 from within RAD 7.5
I am using Rational Application Developer version 7.5.4 on 64-bit Windows OS (i5). I would like to create custom profiles for development. We hav been using RAD 7.5.4 on Windows XP before. On Windows 7 (64 bit) machines the "Run Profile Management…

Cid
- 1,453
- 1
- 18
- 37
3
votes
1 answer
Classloader issue in WebSphere Application server 7.x
com.ibm.xml.xlxp2.api.stax.XMLOutputFactoryImpl incompatible with
javax.xml.stream.XMLOutputFactory
com.ibm.xml.xlxp2.api.stax.XMLOutputFactoryImpl incompatible with
javax.xml.stream.XMLInputFactory
Removed "jsr173_1.0_api.jar",…

Jeyan
- 729
- 1
- 14
- 27
3
votes
0 answers
Getting "Error: Generic Error. Could not generate specified XSD file!" while trying to get dependent xsd of a wsdl file
I have an EJB Session bean exposed as a webservice:
@Stateless
@WebServiceProvider(
targetNamespace = "http://WSCreateAccountMovementListRequest.ws.mybank.ru",
serviceName = "WSCreateAccountMovementListRequest",
…

Dmitry Klochkov
- 2,484
- 24
- 31