Use this tag for questions related to version 6.1 of IBM's WebSphere Application Server.
Questions tagged [websphere-6.1]
288 questions
1
vote
1 answer
Hibernate prepared statement is replacing values with question mark
We are using Hibernate 3 with WebSphere v6 and DB2. We are having strange issue with wrong SQL prepared statements issued by Hibernate and causing syntax issues.
Good query issued by Hibernate:
SELECT * FROM rocc.Transaction t WHERE t.status_cd =…

user686784
- 103
- 1
- 3
- 8
1
vote
1 answer
How to bring up old version WAS after migrating it to new version via migration toolkit?
i did the WAS migration from V7 to V8 through IBM migration toolkit. I set `disable the dmgr of previous version' during migration. Everything is fine finally. The WAS V8 works very well.
However, once i tried to bring up my V7 again, it failed…

wing2ofsky
- 926
- 4
- 27
- 48
1
vote
1 answer
Will the app file be sync from dmgr side after we remove it from installedApps path in Websphere?
Do you know whether the app file will be sync from dmgr side and regenerated after we remove it from installedApps path?
I have got one issue recently from customer, that is, they uploaded one image file into WASNode installedApps app path manually.…

wing2ofsky
- 926
- 4
- 27
- 48
1
vote
1 answer
User-specified log class 'org.apache.commons.logging.impl.Log4JLogger' cannot be found or is not useable
I was working in web application. I tried removing the jar duplication from my war with WEB-INF/lib/*.jar. This helped me in excluding the jar from my war. While deploying the ear in websphere i have the follwing issue,
I have checked my war class…

Arundevi
- 11
- 1
- 2
1
vote
0 answers
Getting ClassNotFoundException from Two wars in One ear using Struts 2
I have deployed multiple wars in a single ear to WAS 6.1 with the Web Services Feature Pack installed. Inside of the ear, there are two wars that use Struts 2.
One of the wars works correctly, as in the application works as expected.
The second…

Nick
- 190
- 1
- 2
- 15
1
vote
1 answer
Script to empty and/or delete jms queues from Websphere Process Server
suppose I have the following JMS queues
"doc/queue1"
"home/queue2"
"someOtherQueue"
added in a websphere process server, how can I write a script to clear and/or delete them? looking around the web I haven't found a solution to my problem yet…

snajahi
- 900
- 2
- 14
- 26
1
vote
0 answers
Retrieve Current Clustername in java?
Is it possible to retrieve the current cluster name on which the web application is running in Websphere server?

Shan
- 521
- 2
- 8
- 28
1
vote
2 answers
New log file without server restart
In this link, they explain how to generate a new log file without restarting sql server: http://blog.sqlauthority.com/2010/11/09/sql-server-recycle-error-log-create-new-log-file-without-server-restart/
Is there a way to generate a new SystemOut.log…

Victor
- 16,609
- 71
- 229
- 409
1
vote
0 answers
Missing datasource in ejb-jar.xml
If I deploy an EAR on a WAS and the EAR is missing an EJB described in ejb-jar.xml, it complains at deployment time. But if I have defined a resource-ref for a jndi datasource in ejb-jar.xml, it does not complain unless i execute a test case that…

Victor
- 16,609
- 71
- 229
- 409
0
votes
1 answer
EntityManager merge throwing EntityExists exception
In my EJB project deployed on WAS 6.1, when I try to call EntityManamger.merge(obj), I get this exception:
Exception data: org.apache.openjpa.persistence.EntityExistsException: Attempt to…

Victor
- 16,609
- 71
- 229
- 409
0
votes
1 answer
How to look up a resource in Websphere 6.1
I have a web project and a source project.
In the web project I have a folder called xsd which I would like to access in my java files from the source project.
From a servlet or jsp I can access the xsd using…

Shervin Asgari
- 23,901
- 30
- 103
- 143
0
votes
1 answer
MANIFEST.MF in RAD not listing all dependencies
In my RAD, when I open up the MANIFEST.MF file for an ejb project, because I need to add dependencies, in the UI, I see (under dependencies):
Select other JARs or modules contained by the EAR that are required by this JAR or module. Only valid or…

Victor
- 16,609
- 71
- 229
- 409
0
votes
1 answer
JAX-WS AXIS2 webservice on WEBSPHERE 6.1 deployment gives java.lang.VerifyError
I'm trying to deploy a web service based on jax ws axis2 on websphere 6.1. It works properly in tomcat 5.5
I've been following the steps described in the axis2 online documentation available at this link
Avoiding conflicts with WebSphere's JAX-WS…

Francesco Monari
- 21
- 1
- 7
0
votes
1 answer
Axis client jar is was 6.1 shared app
I've created an axis client for a web service. I exported as a jar and included in in the shared/app folder so that it is available to all portlet apps to use. The problem is that when my portlet projects try to init the client I get the following…

Carlos
- 1,696
- 1
- 14
- 21
0
votes
2 answers
Websphere 6.1: Issue in Multiple Cells Call using IIOP
Need some help with below issue
We have 2 machines, each of these machines has 2 websphere cells installed in it.
Machine 1 (X1 and X2 cell)
Machine 2 (Y1 and Y2 cell)
We have web application installed on X1 cell, which has EJB client component,…

Viral Patel
- 8,506
- 3
- 32
- 29