Thursday, June 17, 2004

I have released CyberMediaGate for C++ that is my reference implementation of UPnP AV Media Server.

The CyberMediaGate supports local file system and some PVR projects such as MythTV to distribute as the content directory service, and release a sample implementation of UPnP AV MediaServer client using VideoLAN client.

I have release new CyberLinks as v1.4.1 too. The changes are bellow.

CyberLink for Java

CyberLink for C++

DIXIM : It is a middle ware for UPnP and UPnP AV development. I would like to know the feature in more detail.

DSM-320 : It supports UPnP AV with 802.11g wireless :-) I would like to buy the product in Japan.

CyberDome : Matushita released the new version that can transform some movie files such as AVI and MPEG2 for the screen and project the transformed movie to the screen.

Comments:
Hello Mr. Satoshi Konno,
I would like to deepen your work on CyberLink for Java, in particular, I want a guide to installation.

thank you very much
 
Hi Pesche,

Please check the following documents at first.

http://sourceforge.net/project/showfiles.php?group_id=75638&package_id=76172

Please tell me if you have any questions :-)
 
Hello Mr.. Satoshi Konno, we wanted to inform you that within clink170.jar there is no class Device.class and I can not do anything. You wonder if you can send email to the class Device.class or the latest version of clink170.jar.

Thank you very much

error:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/xerces/parsers/DOMParser
at org.cybergarage.xml.parser.XercesParser.parse(XercesParser.java:114)
at org.cybergarage.xml.Parser.parse(Parser.java:84)
at org.cybergarage.upnp.Device.loadDescription(Device.java:396)
at
org.cybergarage.upnp.Device [init](Device.java:188)
at AirconDevice.[init](AirconDevice.java:27)
at AirconFrame.[init](AirconFrame.java:32)
at AirconFrame.main(AirconFrame.java:106)
Caused by: java.lang.ClassNotFoundException: org.apache.xerces.parsers.DOMParser
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 java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
... 7 more
Java Result: 1
BUILD SUCCESSFUL (total time: 1 second)
 
Hello Mr. Satoshi Konno,
Please answer is urgent!
thank you very much
 
Hello Mr. Satoshi Konno,
I resolved!!!
thank you very much.
 
Hello Mr.Konno,

I greatly thank you for your great UPnP java library.
I tried to run an example , which is clock device, but I got the following error
_________________________________________
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/xerces/parsers/DOMParser
at org.cybergarage.xml.parser.XercesParser.parse(XercesParser.java:114)
at org.cybergarage.xml.Parser.parse(Parser.java:84)
at org.cybergarage.upnp.Device.loadDescription(Device.java:396)
at org.cybergarage.upnp.Device.(init)(Device.java:188)
at ClockDevice.(init)(ClockDevice.java:27)
at ClockFrame.(init)(ClockFrame.java:31)
________________________________________
which is like pesche's problem!!
I used JDK 1.6
I can see the code of DOMParser class but don't know how to fix this problem.
thank you very much.
 
Thank you I fixed it.
The problem was that I didn't install Apache Xerces!! which is a step of setup!!

Sorry for inconvenience..
 
I installed Apache Xerces 2.9.
Now I run:
=>
johnz@tsl210:~/Download/media_server/CyberMediaGate> echo $XERCES_CP
/opt/xerces-2_9_1/tools/xercesImpl.jar:/opt/xerces-2_9_1/tools/xml-apis.jar:/opt/xerces-2_9_1/tools/resolver.jar
johnz@tsl210:~/Download/media_server/CyberMediaGate> java -cp $XERCES_CP -jar cmgatejava120.jar
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/xerces/parsers/DOMParser
at ...
at org.cybergarage.mediagate.MediaGate.main(MediaGate.java:243)
johnz@tsl210:~/Download/media_server/CyberMediaGate>
=>

Class is in jar file:
=>
tsl210:/opt/xerces-2_9_1/tools # findinjar.sh DOMParser
org/apache/xerces/impl/xs/dom/DOMParser.class
org/apache/xerces/parsers/AbstractDOMParser.class
org/apache/xerces/parsers/DOMParser.class
found in ./xercesImpl.jar
tsl210:/opt/xerces-2_9_1/tools #
=>

Please advice
 
Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?