Baskaran Ragav

Greenhorn
+ Follow
since Apr 13, 2007
Merit badge: grant badges
For More
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 Baskaran Ragav

Thanks folks for your suggestions.
Will try increasing the size of the heap and see what is happening.
I am using WAS 4.0.

Meanwhile few more questions arises in the same context,

what is the default value of the heap size if nothing is specified ?

and

What is the criteria to specify the heap size just specifying at random like(256, 512 or 1024) won't work for all the cases. Any guidelines to choose this heap size ?

Will the JVM be capable enough to increase/decrease the heap size automatically . Is there any settings that i can make at JVM level or at App Server level to do this ?

Thanks Ragav.
Prevention is better than cure.
16 years ago
Hello Peter, Certainly what you told makes sense,
Is there any way to prevent this OutOfMemoryError,
One way to prevent this error,(by specifying the max and min heap size)
java -ms64m -mx256m CardsBatchProcess

Is there any other alternative ? or a better way ?

Thanks Ragav.
16 years ago
Hello Folks,

The below one is a JVM log, it looks like it is logged during garbage collection, Just curious to know what individual paramters are ?

[GC 123175K->94091K(159472K) eden 30464K->0K survivor 714K->1152K tenured 91996K->92939K, 0.0289656 secs]

Any idea ?
or any literature that speaks about GC logs.

Thanks Ragav.
16 years ago
Hello Folks,

My App server contains more than 50 web modules and 10 ejb modules,
I am getting java.lang.OutOfMemory error often.

Later i heard that it might be because of memory leaks (Example : an application running an infinite loop which eats up the memory).

But my idea is to identify where and why this is happening ?
It is very difficult for me to debug by looking to each and every module.

So is there any tool that resolves my problem, probably a monitoring tool that should tell how much memory each module is occupying at a given time.

JDK Version : 1.4
Max JVM Heap Size specified : 256

Correct me if my approach is wrong.

Thanks Ragav.
16 years ago
Hi,

I had often came across the term object caching, Does this means that the object is just serialized and wrote in a persistent storage or is there any piece of memory in JVM that holds this object ?

Thanks Ragav.
16 years ago
Thanks Christophe Verre,

But how does this migration happens between JVM's Is it handled by the container itself ?

Any techniques or Please tell me the site where i can find more info on it.

Thanks,
Ragav,
16 years ago
Hi,

I have read that session objects are stored and managed by the container( i mean in the heap of the JVM).

How ever in a distributed architecture where we have more than one container, will there be any common place where these objects are stored ?

Correct me if my understanding is wrong

Thanks Ragav
16 years ago
Hi Thanks for opening,

Can any one help me a way to find out the heap size of a JVM.
Any sample code will be very much helpful.

or is there any property file where i can find this value ?

Thanks,
Ragav,
16 years ago
Thanks Henry for the response,

One more to add,

As per my understanding every private key will have some life time., i mean an expiry period.
So does this mean that if the key is expired the jar wont work.
Correct me if my understanding is wrong.

Thanks
Ragav,
16 years ago
Hi, Thanks for opening.

I have a basic question, like when do we need to sign a jar ? what is the purpose ?

Thanks
Ragav,
16 years ago
Hi,

I am getting this error when i run my web service client

AxisFault
faultCode: {http://xml.apache.org/axis/}Server.NoService
faultSubcode:
faultString: The AXIS engine could not find a target service to invoke! targetService is null
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}hostname:01HW128680

The AXIS engine could not find a target service to invoke! targetService is null
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:379)
at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at com.samples.ws.intf.SampleWebServiceSoapBindingStub.getName(Unknown Source)
at com.samples.ws.client.WebServiceClient.main(WebServiceClient.java:26)
Exception in thread "main"

Though the web service deployment looks successful.
When i hit the page http://localhost:8080/SimpleWebServiceWAR/services/SampleWebService
i am getting Hi there, this is an AXIS service! message.


This is my client code
-------------------------------------------------------------------
public static void main(String[] a) throws Exception
{
WebServiceIntfService service = new WebServiceIntfServiceLocator();
WebServiceIntf intf = service.getSampleWebService(new URL("http://localhost:8080/SimpleWebServiceWAR/services/SampleWebService"));
String response = intf.getName(10); // web service method
System.out.println(response);
}

Can any one high light me where its going wrong.
Thanks
Ragav
16 years ago
Thanks for opening this.

Is there any tool available to execute the test cases on a WebService ?

Thanks
- R
16 years ago
Hi,

Thanks for opening this.

I am a beginner to web service and i have a basic question.

What a web service style is all about.

and i heard that there are some style's like RPC, Document, Message..

Can any one tell me what is the difference b/w these and how does the style going to decide the web service.


Appreciate speedy response.

Thanks
- R
16 years ago
I just want some sample code to digitally sign a SOAP message.
Could any one provide me that.

I am planning to use Axis 1.3

Thanks
Ragav
16 years ago