Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!

palanisamy subramani

Greenhorn
+ Follow
since Aug 30, 2010
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
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 palanisamy subramani



How a=100; is working fine without defining the variable before to that assignment, and if this is correct means, why System.out,println(a) is not working. Please clarify
Thanks
8 years ago

I broke the multiline pattern into single line patten and able to search huge file without any issue.

Thanks to all for your valuable comments!!!
8 years ago
Giving more information on this,

Notes:
A day a file, may end up with more than 1GB with log data and XML data inside.
Pattern is like 5 lines of XML .That pattern may repeat many times.

Summarising options provided by you guys,
1) Split the file into small file and read from that. -- multiline pattern may split between files, pattern may miss.
2) Split the pattern into line by line pattern -- complex logic is required to filter the pattern.


All your comments are apreciated

8 years ago
John,

I have tried with less than 1MB files, got results. When i go for 1GB file, got heap error.
If this is a wrong way, then what is the best way to do that?

Thanks
8 years ago
Thanks Rob for your quick reply,
Here pattern is in more than one line So i cannot go line by line.

To search the pattern(more than a line) i have to load entire file in memory and have to do search for the pattern,due to this getting heap memory error.

What will be the best way to search the pattern in the above scenario?

Thanks
8 years ago
I have tried to search a pattern in a small file, able to get results, but when i go and search in a 1GB file, getting heap error.

What is the best way to search a pattern in a big files using java.

Thanks
8 years ago
I tried to create a Client using JAX-WS RI 2.1.7 to consume a webservice. But when i try to excute getting the below error.


Can anyone please let me know what caused the error
9 years ago
Thanks Mark.

All my jars are in my Classpath.I tried all your way, but no hope, still getting the same. Looks very odd.
9 years ago
When i load the Spring Config file, getting below error.

Exception in thread "main" org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate NamespaceHandler for namespace [http://www.springframework.org/schema/context]

below is my config file.




Let me know if there is any problem with my config.Thanks


9 years ago
Getting below error when i run a Spring integration SFTP program. Looks like there is a problem with my config file.



Contents of sftp-inbound-context.xml



I am using latest jars.

Let me know if there is any problem with my config. Thanks
9 years ago
Hi everyone,

I had web service development experience in coldfusion,
I want to develop web services in java with the help of eclipse.
What are basic environments(Like server[Tomcat,Jboss, weblogic etc], additional jars ) required to develop and publish?
What kind of web service development is best(Like REST etc)?

Thanks in advance.
9 years ago
Thanks Ulf. I thought appending is possible in a same page by using ITEXT. Thanks for clarifying me.
I am new to the Itext. can any one help me how to append text to the existing PDF files.


Thanks in Advance
Could you please give more information, like struts.xml code etc..
9 years ago
I have tried, but it works only in IE,that too if we use NTLM.
Looks like, Windows wont share NT username to any application unless it is local to the system.


Thanks a lot for helping in this..
9 years ago
JSP