Manu Manoharan

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

Recent posts by Manu Manoharan

Thanks Luri,It works.
But how can we get the dump if there is a deadlock ?
Hi,
I am using javax.jnlp.FileSaveService class to save a file to local disc. But even though the save dialog box popup comes, it is not showing the default name in the filed to enter the name. But by giving a filename, its possible to save the file.

code snippent

***************************************

***************************************

I have put the jnlp jar in the classpath.
Please tell me if someone else also faced the problem and got the solution

Thanks in advance,
Manu
11 years ago
Hi,

I am trying to connect to a JMS application installed in Sun Application server, which is running in Windows machine.
My Client side Program is running in a linux machine and tries to connect to the Server, which is running in the Sun Application server. InintialContext object is created successfully and when the client program tries a JNDI lookup for the QueueConnectionFactory, the lookup is failing with NamingException.

The Exception message is : "javax.naming.CommunicationException: serial context communication ex [Root exception is com.sun.enterprise.connectors.ConnectorRuntimeException: Failed to start resource adapter : MQRA-start:Error:createConnection failed:aborting]"

I have added the following jars in the classpath of my program : appserv-admin.jar, appserv-rt.jar, imqjmsra.jar, j2ee.jar, imq.jar

Did anyone faced the issue previously? If anybody has come across the same situation please help me to find out the problem.

Thanks in advance
Manu.
The application is started using jnlp. even if i press ctrl+break, it doesn't give thread dump. Could you please tell where will be the dump ? its not there in the java console.
Hi,
How can I get java thread dump for an application that started via java webstart. JDK used is 1.4
OS : Windows XP.

Thanks in advance for your help.
To debug client side applications, set the environment value

-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n

(
PROCEDURE

For eg. in Windows, open System Prperties -> Advanced -> Environment variables -> System variables -> New.

Variable name : JAVA_DEBUG_ARG
Variable value : -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n

Variable name : JAVAWS_TRACE_NATIVE
Value : 1

)
[/quote]
12 years ago
To debug client side applications, set the environment value

-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n

(
PROCEDURE

For eg. in Windows, open System Prperties -> Advanced -> Environment variables -> System variables -> New.

Variable name : JAVA_DEBUG_ARG
Variable value : -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n

)
12 years ago
@Campbell
Could you please tell me how can i debug remote application using eclipse?
13 years ago
I am running a remote java application in my desktop.
All the client side jars are downloaded to my local cache.
Now I want to debug the application using my Eclipse IDE.
I have found that to this i need to set some VM arguments, like
Xdebug Xrunjdwp:transport=dt_socket,server=localhost,address =5000

Can anybody tell me how can I set these parameters ?

Thanks in advance.

13 years ago