XForms - Separate Deployment

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

XForms - Separate Deployment

Sigfrid Lundberg-2
Dear everybody,

Our forms run under 3.9.0.20 but not on 4.9. I have all sorts of
problems but I want to ask for help on how to use xforms with a java
application (http://wiki.orbeon.com/forms/doc/developer-guide/xforms-with-java-applications).
I have attached my context.xml and web.xml.  My ant build.xml is also
attached. The /mermeid/formulation/index.jsp is meant to build our the
forms using xerces xml parser and xml include.

1. Orbeon builds the forms, but some resources required by the form
are not found by the clients, since the path is erroneous. E.g.,
<link rel="stylesheet"
href="/mermeid/orbeon/xforms-server/orbeon-653b9468359a2f3149b58a527a60cf5aad8d46cf.css"
type="text/css" media="all">

2. Albeit I'm including orbeon-xforms-filter.jar in my library file I
get the following in my logs:
SEVERE: Servlet /mermeid threw load() exception
java.lang.ClassNotFoundException: org.orbeon.oxf.portlet.OrbeonTrampolineServlet
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1714)...

3. Many of the general resources in the mermeid.war file (e.g., css
and js stuff) are not delivered to the browser, tomcat return "file
not found" instead.

There must be something fundamental I've missed. Can anyone help me
figure out what that is?

Thanks in advance,

Yours

Sigfrid

PS

FYI, this is done as a part of our music cataloging activities
(currently Carl Nielsen Works http://www.kb.dk/dcm/cnw/navigation.xq),
where we (DCM, that is, Danish Centre for Music Publication
http://www.kb.dk/en/nb/dcm/) have built a tool we call MerMEId
(http://labs.kb.dk/editor/) for the creation of thematic catalogs of
classical composers works.


--
Sigfrid Lundberg, Ph.D., System developer
Lund, Sweden
http://sigfrid-lundberg.se/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].

web.xml (3K) Download Attachment
context.xml (102 bytes) Download Attachment
build.xml (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: XForms - Separate Deployment

Alessandro  Vernet
Administrator
Hi Sigfrid,

I am the most surprised by the exception in your point number 2. As the exception says, it looks like you're referring an incorrect class there. Your web.xml should look like:

http://wiki.orbeon.com/forms/doc/developer-guide/xforms-with-java-applications#TOC-web.xml-configuration-for-separate-deployment

You will let us know if updating your web.xml solves the problem.

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet