Siva Vulchi

Ranch Hand
+ Follow
since Nov 17, 2011
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
2
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 Siva Vulchi

Yes. I do not have any additional artifacts to be deployed.

Edit the run.conf (or run.conf.bat) file to add "-verbose:class" to the JAVA_OPTS and restart the app server. This option causes the JVM to print the location of the JAR file for each class loaded. This generates a lot of output to be sure to redirect stdout and stderr to a file. Then look through the file to see where javax.xml.parsers.DocumentBuilderFactory and oracle.xml.jaxp.JXDocumentBuilderFactory are being loaded from. That should give you some clue as to what went wrong.



Thanks for this good option!!! I will look for the clue with this.
7 years ago

Leave out the parser jar from your application packaging.



Getting classNotFoundException if i leave out that jar..

7 years ago
Hi,

I am using Jboss 6. I have an issue while deploying my WAR file which has Oracle xml parser to this server. It seems to me that, Jboss web container or deployer is trying to use my Oracle XML parser present in my WAR file instead of its own XML parser. And i am getting following deployment error.



Could you please help in making Jboss web container to use its own parser?

Thanks,
Siva
7 years ago

Why always method with String arguments gets called and not Object even with null ? this is overloading



When compiler senses ambiguity, a method with subclass argument would get a preference over the method with super class argument.

For better understanding refer Choosing the Most Specific Method - Tricky Overloading
7 years ago

Try googling for something like "java jar in jar class loader" or read this blog http://qdolan.blogspot.co.uk/2008/10/embedded-jar-classloader-in-under-100.html.



Thanks for sharing!!! That blog was nice and good to know about it
7 years ago

Can you tell me about how to load the jar files within jar ?? i.e. which utility to use , any example etc....



As per my knowledge, we can not have jar files inside a jar file.

If your jar file has some dependencies, then place those in any directory and use manifest file with Class-Path to refer those dependencies by specifying relative path or absolute path.

7 years ago
Hi,

I have a requirement where when user clicks a link from e-mail, then it should display XML message that is retrieved from JMS Queue based on the correlation id present on the URL link.

Could you please suggest me a way to achieve this?

Thanks
Siva
@Hendra Kurniawan

I tried [a-zA-Z]{3,} for a1b2c3, but doesn't match.



I guess you can solve the problem very easily if you spent some more time on understanding "Character Classes".
Small briefing about "Character Classes" : For every character present in the input string, the regex API validates against the character classes defined.

Your regex pattern "[a-zA-Z]{3,}" will only accept letters but not digits. So try adding digits range to the pattern.

Siva
8 years ago

As per my investigation, it is found that Temporary queues are used only in synchronous messaging.


As Temporary queues exist as long client session exists, they cant be used in asynchronous messaging.

I did not save the any referred links. And my apologies for that
Temporary queues(or Virtual queues) are created in the server by client. And they exist as long client session exists.

And my question has been clarified.. Moving it to Resolved state.

Want to write a xsd (using assertions) for a XML file using XML schema 1.1 (preferably in Eclipse IDE). I tried but have not got any eclipse plugins for xml parsers that validate schema 1.1
Could you please guide me?

Siva
Prabhakar,
Thanks for the reply..

But i wanted to know the possibility of using Temporary queue in JMS asynchronous messaging. As per my investigation, it is found that Temporary queues are used only in synchronous messaging.

Siva

Is it possible to use Temporary queue (for using as response queue by setting Message's JMSReplyTo property) in JMS asynchronous messaging?

Siva