Sorry if this is not the right forum to post it.
Acoustic finger printing algorithm helps comparing and identifying an audio file, even though the audio file is not a bit-by-bit match of the original audio file. I would like to know if Java Media Framework (JMF) has APIs to compare audio files using acoustic fingerprints.
I deployed my ear file in Weblogic 9.2.1.
Now I am getting Automation Exception in log files . This exception occurs continuosly
<Error> <oms.automation> <700023> <An automation exception has occurred At AutomationDispatcherImpl.runAutomator:null , the reason is :com.mslv.oms.automation.AutomationException: java.lang.NullPointerException
com.mslv.oms.automation.AutomationException: java.lang.NullPointerException
at com.mslv.oms.automation.plugin.AutomationEventHandlerImpl.a(Unknown Source)
at com.mslv.oms.automation.plugin.AutomationEventHandlerImpl.processMessage(Unknown Source)
at com.mslv.oms.automation.AutomationDispatcher.onMessage(Unknown Source)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:429)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:335)
I am trying for unmarshalling with JAXB. I am getting an error msg
Exception in thread "main" javax.xml.bind.JAXBException
- with linked exception:
[java.lang.ClassNotFoundException: com.sun.xml.bind.v2.ContextFactory]
at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:196)
at javax.xml.bind.ContextFinder.find(ContextFinder.java:385)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:522)
at com.jax.PersonUnmarshaller2.main(PersonUnmarshaller2.java:24)
Caused by: java.lang.ClassNotFoundException: com.sun.xml.bind.v2.ContextFactory
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:192)
... 4 more
Am i missing something
Can somebody help me in solving this issue?
Thank you all.. Sorry, I got very late to reply.. the link was useful. However, i had got another way to reach my solution. It turned out that i do not need many of the things that come with the xml. So i created an XPath expression to pick up the things i wanted. then i created a parameterized string in the properties file to create the final result, which is again an xpath expression. This requirement was kind of really odd
Thanks Tim. You are right. I never created a resources file in the source packages. I copied all my properties files under a folder in WebContent and accessed it using the '/'. Yes, we can access it using the fully qualified name of the resource file, when the resource files are under one of the source packages, or even under WebContent. Thanks once again, it was a new piece of information.
Where is your mypackage located? always give the full path like mypackage/messages.properties. Its a '/' which separates the path hierarchy and not a '.'
I hope you are using EL in your JSP pages. You can access a map like this:
or
When you use the mapName.key format make sure your key name is a valid java identifier.
For example, if you have User-Agent in your request header, you can not access it using because it takes '-' as the minus operator.
Please let me know if you have any difficulty.
HTH,
Teena