Please ask the same question only in one place! We are reading all messages!

-- Michael

vijay vijay wrote:
Hi Adam,
                 u are right i have added searilizer.jar from xalan,then i
put that reconfigure method also.now i am able to get the result in IE
browser.Here i am getting an out put like this

"""""""
uima.tcas.DocumentAnnotation "HI this Michael,who works on UIMA and this
vijay troubles him ... " sofa = uima.cas.Sofa sofaNum = 1 sofaID =
"_InitialView" mimeType = "text" sofaArray = null sofaString = "HI this
Michael,who works on UIMA and this vijay troubles him ..." sofaURI = null
begin = 0 end = 92 language = "x-unspecified"
com.iton.uima.TestType"Michael" sofa =
uima.cas.Sofa sofaNum = 1 sofaID = "_InitialView" mimeType = "text"
sofaArray = null sofaString = "HI this Michael,who works on UIMA and this
vijay troubles him ..." sofaURI = null begin = 8 end = 15 TestType =
"Michael" com.iton.uima.TestType "vijay" sofa = uima.cas.Sofa sofaNum = 1
sofaID = "_InitialView" mimeType = "text" sofaArray = null sofaString = "HI
this Michael,who works on UIMA and this vijay troubles him ..." sofaURI =
null begin = 43 end = 48 TestType = "vijay" com.iton.uima.TestType "dogs"
sofa = uima.cas.Sofa sofaNum = 1 sofaID = "_InitialView" mimeType = "text"
sofaArray = null sofaString = "HI this Michael,who works on UIMA and this
vijay troubles him ..." sofaURI = null begin = 75 end = 79 TestType =
"dogs"  """"""""""""""

insted of getting only annotations i am getting whole thing.with ur help i
am able to reach up to this point.i am really thankfull to u.

Here i want to see the output from browser,my questions for u are

1)how to rectify  the above problem where i am getting above lines in
browser
2)am i in right direction to reach my goal,so from here how do i go
on............


thnak u
vijay






On 9/20/07, Adam Lally <[EMAIL PROTECTED]> wrote:
On 9/20/07, vijay vijay <[EMAIL PROTECTED]> wrote:
caused by java.lang.ClassCastException :
org.apache.xml.dtm.ref.DTMManagerDefault
at org.apache.xml.dtm.DTMManager.newInstance<DTMManager.java:135>
at org.apache.xpath.XPathContext .<init><XPathContext>.java:100>

at org.apache.xalan.transformer.transfromerImpl.<int><
TransformerImpl.java
:397>

Ugh... this points to some problem in your Tomcat installation
(probably related to xalan.jar again).  It isn't a UIMA problem and
I'm not an expert in how to fix it.  Suggestions:
1) Google "ClassCastException
org.apache.xml.dtm.ref.DTMManagerDefault" and see if there's a
solution there.  I tried it and there are a lot of hits but I don't
have time to read them for you. ;)
2) Reinstall the latest Tomcat and try again.


Also, about your standalone Java program, I think you need to insert
the call to:
ae.reconfigure()

after the call to
ae.setConfigParameterValue(...);

Regards,
-Adam



Reply via email to