Win a copy of Spark in Action this week in the Open Source Projects forum!

Kathiresan Chinnasamy

Ranch Hand
+ Follow
since Jan 01, 2008
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Kathiresan Chinnasamy

Hi Guys,
Please help me to resolve below issue ASAP.

When I try to use below code for creating .xls file from jsp, I'm getting this "The Web Page you are viewing is trying to close the window" alert value sometimes.

7 years ago
Hi Guys,
I just want check How Message Driven Bean is getting Websphere queue manager details using connection-factory-location where mentioned in orion-ejb-jar.xml.

Here is the configuration details :
Server : OC4J container
Queue : Websphere MQ

Entry in orion-ejb-jar.xml
<message-driven-deployment name="EAIMDB"

I can't find out any queue manger details here and not able find out the .bindings file for this entry.
please help me to find the path for .bindings file or queue manager configuration file.

Appreciate early responses.
Hi All,
I'm using WMQ6, WMB and ESQL for message transformation ...
I need to identify and log the request in WMQ or ESQL if the message size is more than 5 MB...

Can you please assist me if any option is available to identify the size of the message to log the request?

Note : ESQL is providing LENGTH method to identify the length of message But not for size of message...

8 years ago
Hi all,

I am planning to study webservice for scdjws 5.

Is there any specific study material for scdws ?

Could you guide me to get study material ?
Thank you Kengkaj Sathianpantarit and Hervé Loiret for your reply.

I got the materials(486) from IBM study material.
Hi Friends,

In my project I released web service for a particular class in Axis 2.

The class contains two methods.
for example
one is A() and another one is B().

If i call the A() method from client server, it access fine.

But when i calling the B() method from client server, i got an exception that org.apache.axis.AxisFault: (401)Authorization Required.

I don't understand the problem where is, because exception code is 401.

If authorization problem means, it should through 401 exception even A() access .

Note : I am using weblogic server 9.2 for client and server.

Do you have an any idea for this problem ?

The exception log is :

org.apache.axis.AxisFault: (401)Authorization Required
at org.apache.axis.transport.http.HTTPSender.readFromSocket(
at org.apache.axis.transport.http.HTTPSender.invoke(
at org.apache.axis.strategies.InvocationStrategy.visit(
at org.apache.axis.SimpleChain.doVisiting(
at org.apache.axis.SimpleChain.invoke(
at org.jboss.webservice.client.ClientEngine.invoke(
at org.apache.axis.client.Call.invokeEngine(
at org.apache.axis.client.Call.invoke(
at org.apache.axis.client.Call.invoke(
at org.apache.axis.client.Call.invoke(
at org.apache.axis.client.Call.invokeInternal(
at org.apache.axis.client.Call.invoke(
at org.jboss.webservice.client.CallImpl.invoke(
at org.apache.axis.client.AxisClientProxy.invoke(
at $Proxy1113.B(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at org.jboss.webservice.client.PortProxy.invoke(
at $Proxy114.B(Unknown Source)
11 years ago
Thank you for your reply ....

Actually the problem comes under pre production.

In pre producion we have SSL certificate for both server(calling server page and called server page).
11 years ago
For Additional Information i provide the log :

Please Let me know the problem if you know it. Unsupported protocol: https
at org.apache.taglibs.standard.tag.common.core.ImportSupport.acquireReader(
at org.apache.taglibs.standard.tag.common.core.ImportSupport.acquireString(
at org.apache.taglibs.standard.tag.common.core.ImportSupport.doEndTag(
at jsp_servlet._sg._strumenti.__cerca_prodotti_result._jsp__tag0(
at jsp_servlet._sg._strumenti.__cerca_prodotti_result._jspService(
at weblogic.servlet.jsp.JspBase.service(
at weblogic.servlet.internal.StubSecurityHelper$
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(
at weblogic.servlet.internal.ServletStubImpl.execute(
at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(
at weblogic.servlet.internal.ServletStubImpl.execute(
at weblogic.servlet.internal.TailFilter.doFilter(
at weblogic.servlet.internal.FilterChainImpl.doFilter(
at asautil.filters.SessionFilter.doFilter(
at weblogic.servlet.internal.FilterChainImpl.doFilter(
at weblogic.servlet.internal.WebAppServletContext$
at weblogic.servlet.internal.WebAppServletContext.securedExecute(
at weblogic.servlet.internal.WebAppServletContext.execute(
11 years ago
Hi friends,

I have doubts in <c:import>

Can we use https in c:import url path ?

For example :
<c:import url = "">;

I tried this one. I can't use this https.

But if i use different server, i can access it.

For Example :

This index.jsp contains

<%@ taglib uri="/c.tld" prefix="c"%>
<c:import url=""></c:import>

Here you can see the ip address is different . so these two are different server.

But i have problem to access when i come with HTTPS.

Is there anyother solution ?
11 years ago
Hi friends,

I have a clarification.

I want to get data from MS-Access report through jsp code. then i want print it
Hi Friends,

Is there any option to set session id manually ?

I tried with org.apache.catalina.Session.this.setId("123") ; . but i got compile time exception eclipse

The exception is : No enclosing instance of the type Session is accessible in scope .

please let me know it if you know how to set session id manually.

Thank you in advance
11 years ago
Hi Rob Prime,

I got the solution by implements Comparable interface...

Thank you everyone to help me out for this solution
11 years ago

If i use TreeMap , i got class cast exception

for Example

please see this code

import java.util.ArrayList;
import java.util.TreeMap;

public class TestDao {

public static void main(String[] args) throws Exception{


static void treemapEx() {

TreeMap treeMap = new TreeMap() ;

for(int i=5 ; i>0 ;i-- ) {

Prodatto1Test prodotto = new Prodatto1Test() ;

prodotto.setA(i) ;
prodotto.setB(i) ;
prodotto.setAb("SSSS") ;

ArrayList list = new ArrayList() ;

list.add(prodotto) ;

treeMap.put(prodotto, list) ;

System.out.println("List Addeded");

for(int i=0 ; i<5 ;i++ ) {
System.out.println("TreeMap Value" + treeMap.get("one"+i));



OutPut is :

List Addeded
Exception in thread "main" java.lang.ClassCastException: it.sella.Prodatto1Test
at java.util.TreeMap.put(
at TestDao.treemapEx(
at TestDao.main(

The very first time Obj is added into the TreeMap where as next time i got this exception

This bean class:


package it.sella.entity;

public class Prodatto1Test {

private int a ;
private int b ;
private String ab ;

public int getA() {
return a;
public void setA(int a) {
this.a = a;
public int getB() {
return b;
public void setB(int b) {
this.b = b;
public String getAb() {
return ab;
public void setAb(String ab) {
this.ab = ab;


11 years ago
Thank you Rob Prime ..

Could you explain little bit more ?

I tried it but i couldn't find out the solution

please get me example if you have it
11 years ago