Hi Marcel,
I have updated the workspace to include new Japex drivers and hopefully
it will be easier for you to work with.
Please consider the Japex/samples/FastInfoset directory EOLed :-)
Instead update your workspace:
cvs update -d JapexXMLDriverLibrary
cvs update -d FastInfosetPerformance
build the JapexXMLDriverLibrary.jar:
cd JapexXMLDriverLibrary
ant jar (or load project into NetBeans 4.1 and build)
(note that this requires both FastInfoset and Japex to be built)
then:
cd FastInfosetPerformance/FIpex
ant -Dconfig=size.xml
ant -Dconfig=parse.xml
ant -Dconfig=serialize.xml
to run all results on the same set of data that was present in the
'Japex/samples/FastInfoset/' directory. For SAX-based parsing and
DOM-based serialization Xerces 2.7.1 will be used.
Please let me know if you have any problems as this is all new.
Paul.
Santiago Pericas-Geertsen wrote:
> Hi Marcel,
>
> We are in the process of updating these directories. Please give us a
> couple of days before updating your workspace. We'll keep you posted.
>
> Thanks.
>
> -- Santiago
>
> On Oct 4, 2005, at 12:27 PM, Usner, Marcel wrote:
>
>>
>> Hallo Mr. Pericas,
>>
>> I am very interested in FastInfoset and I have already managed to use
>> it. Since I was not able to encode an XML instance with external
>> vocabulary (How can I do this? By which parameters?), I was looking
>> forward to seeing Japex in action.
>>
>> Unfortunately, I have not been successful in using Japex yet.
>>
>> I focused on the configuration file size-config.xml. According to the
>> Readme there are no further downloads required. However, after typing
>> the whole command (to be exactly here with the whole classpath) ...
>>
>> java -cp C:\Java\FISRC2\Japex\dist\lib\activation.jar;C:\Java\FISRC2
>> \Japex\dist\lib\ant.jar;C:\Java\FISRC2\Japex\dist\lib\japex.jar;C:
>> \Java\FISRC2\Japex\dist\lib\jaxb1-impl.jar;C:\Java\FISRC2\Japex\dist
>> \lib\jaxb-api.jar;C:\Java\FISRC2\Japex\dist\lib\jaxb-impl.jar;C:
>> \Java\FISRC2\Japex\dist\lib\jaxb-xjc.jar;C:\Java\FISRC2\Japex\dist
>> \lib\jcommon-0.9.6.jar;C:\Java\FISRC2\Japex\dist\lib
>> \jfreechart-0.9.21.jar;C:\Java\FISRC2\Japex\dist\lib
>> \jsr173_api.jar;C:\Java\FISRC2\Japex\dist\lib\xalan.jar
>> com.sun.japex.Japex C:\java\FISRC2\Japex\samples\Fastinfoset\size-
>> config.xml
>>
>> ... a ClassNotFoundException came up.
>>
>> Running using 1 thread(s) ...
>> XMLSizeDriverjava.lang.ClassNotFoundException: size.XMLSizeDriver
>> at java.net.URLClassLoader$1.run(Unknown Source)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at java.net.URLClassLoader.findClass(Unknown Source)
>> at com.sun.japex.DriverImpl$JapexClassLoader.findClass
>> (DriverImpl.java:77)
>> at com.sun.japex.DriverImpl.getJapexDriver(DriverImpl.java: 200)
>> at com.sun.japex.Engine.start(Engine.java:92)
>> at com.sun.japex.Japex.run(Japex.java:103)
>> at com.sun.japex.Japex.main(Japex.java:92)
>> Exception in thread "main" java.lang.RuntimeException:
>> java.lang.ClassNotFoundExcepti
>> at com.sun.japex.Engine.start(Engine.java:326)
>> at com.sun.japex.Japex.run(Japex.java:103)
>> at com.sun.japex.Japex.main(Japex.java:92)
>> Caused by: java.lang.ClassNotFoundException: size.XMLSizeDriver
>> at java.net.URLClassLoader$1.run(Unknown Source)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at java.net.URLClassLoader.findClass(Unknown Source)
>> at com.sun.japex.DriverImpl$JapexClassLoader.findClass
>> (DriverImpl.java:77)
>> at com.sun.japex.DriverImpl.getJapexDriver(DriverImpl.java: 200)
>> at com.sun.japex.Engine.start(Engine.java:92)
>> ... 2 more
>>
>> I found the source code of the drivers in question (in ./src),
>> compiled them and added them into the japex.jar file. This and plenty
>> of other asserts did not work.
>>
>> I will be very glad, if you find the time to help me.
>>
>> Thank you very much.
>>
>> Best regards,
>>
>> Marcel Usner
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_fi.dev.java.net
> For additional commands, e-mail: users-help_at_fi.dev.java.net
>
--
| ? + ? = To question
----------------\
Paul Sandoz
x38109
+33-4-76188109