Can't get bizdocs to work

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

Can't get bizdocs to work

cknell
I learned of this product via the Mulberry Technologies XSL list last week. I downloaded and read the tutorial over the weekend. Yesterday I downloaded the server and installed it under Tomcat 5.5.4. The basic package works as advertised. Today I downloaded the bizdocs example and installed it according to the instructions on the web site (at least I think I did). When I restart Tomcat and point to http://localhost:8080/orbeon I get a stack trace. According to the trace:

"oxf:/config/xforms-to-xhtml.xsl, line 0, column 0 : Error at xsl:variable on line 445 of oxf:/config/xforms-to-xhtml.xsl: XPath syntax error at char 92 on line 445 in {...URL('/images/bulb-large.gif...}: Cannot find a matching 1-argument function named {java:org.orbeon.oxf.pipeline.StaticExternalContext}rewriteResourceURL() ..."

The offending line in the xsl file reads:

'<xsl:variable name="help-string" as="xs:string" select="replace($help-string-nourl, 'IMAGEURL', context:rewriteResourceURL('/images/bulb-large.gif'))"/>'

Does this look familiar to anyone, and if so, how do I fix it?

Thanks.

--
Charles Knell
[hidden email] - email



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Can't get bizdocs to work

Erik Bruchez
Administrator
Hi,

Did you download 2.8 or 3.0 beta? Either way, the standalone versions
of the BizDoc app may not have been updated. We'll look into this for
3.0 final.

Still, you will get the BizDoc app bundled with the regular downloads
of 2.8 or 3.0 beta, and you should be able to figure out how to update
the standalone version from that.

By the way, the BizDoc app has been upgraded in OPS 3.0 beta and later
nightly builds to use the new XForms engine. There are now a "BizDoc
Classic" and a "BizDoc NG" examples.

-Erik

[hidden email] wrote:

 > I learned of this product via the Mulberry Technologies XSL list
 > last week. I downloaded and read the tutorial over the
 > weekend. Yesterday I downloaded the server and installed it under
 > Tomcat 5.5.4. The basic package works as advertised. Today I
 > downloaded the bizdocs example and installed it according to the
 > instructions on the web site (at least I think I did). When I
 > restart Tomcat and point to http://localhost:8080/orbeon I get a
 > stack trace. According to the trace:
 >
 > "oxf:/config/xforms-to-xhtml.xsl, line 0, column 0 : Error at
 > xsl:variable on line 445 of oxf:/config/xforms-to-xhtml.xsl: XPath
 > syntax error at char 92 on line 445 in
 > {...URL('/images/bulb-large.gif...}: Cannot find a matching
 > 1-argument function named
 > {java:org.orbeon.oxf.pipeline.StaticExternalContext}rewriteResourceURL()
 > ..."
 >
 > The offending line in the xsl file reads:
 >
 > '<xsl:variable name="help-string" as="xs:string"
select="replace($help-string-nourl, 'IMAGEURL',
context:rewriteResourceURL('/images/bulb-large.gif'))"/>'
 >
 > Does this look familiar to anyone, and if so, how do I fix it?
 >
 > Thanks.




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: Re: Can't get bizdocs to work

cknell
In reply to this post by cknell
> Did you download 2.8 or 3.0 beta?
  3.0 beta

> Still, you will get the BizDoc app bundled with the regular downloads
> of 2.8 or 3.0 beta

I have the ZIP file (ops-3.0.beta2.200507191809.zip) open on my desktop as I write. I am also looking at the files in the "WEB-INF\resources\bizdoc\data-access" directory from the BizDoc download on Orbeon web site (http://forge.objectweb.org/project/download.php?roup_id=168&file_id=3099).

There are files in the the BizDoc download that do not exist in the beta 2 download. Given that, I can't understand what you mean when you say that the BizDoc app is bundled with the regular downloads.

Please explain. Thanks.
--
Charles Knell
[hidden email] - email



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Can't get bizdocs to work

Erik Bruchez
Administrator
[hidden email] wrote:
 >>Did you download 2.8 or 3.0 beta?
 >
 >   3.0 beta
 >
 >
 >>Still, you will get the BizDoc app bundled with the regular downloads
 >>of 2.8 or 3.0 beta
 >
 >
 > I have the ZIP file (ops-3.0.beta2.200507191809.zip) open on my
 > desktop as I write. I am also looking at the files in the
 > "WEB-INF\resources\bizdoc\data-access" directory from the BizDoc
 > download on Orbeon web site
 >
(http://forge.objectweb.org/project/download.php?roup_id=168&file_id=3099).
 >
 > There are files in the the BizDoc download that do not exist in the
 > beta 2 download. Given that, I can't understand what you mean when
 > you say that the BizDoc app is bundled with the regular downloads.

Look at:

   WEB-INF/resources/examples/bizdoc
   WEB-INF/resources/examples/bizdoc2

in ops.war.

-Erik




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: Re: Can't get bizdocs to work

cknell
In reply to this post by cknell
OK, I've found it, thanks. Now is there somewhere on the orbeon web site that explains how to access the bizdoc application now that I've installed the servlet? The instructions concerning installing the bizdoc application at "http://www.orbeon.com/community/downloads" seem to have been overtaken by events, if I inferred correctly from your earlier message.
--
Charles Knell
[hidden email] - email



-----Original Message-----
From:     Erik Bruchez <[hidden email]>
Sent:     Tue, 30 Aug 2005 17:49:27 -0700
To:       [hidden email]
Subject:  Re: [ops-users] Can't get bizdocs to work

[hidden email] wrote:
 >>Did you download 2.8 or 3.0 beta?
 >
 >   3.0 beta
 >
 >
 >>Still, you will get the BizDoc app bundled with the regular downloads
 >>of 2.8 or 3.0 beta
 >
 >
 > I have the ZIP file (ops-3.0.beta2.200507191809.zip) open on my
 > desktop as I write. I am also looking at the files in the
 > "WEB-INF\resources\bizdoc\data-access" directory from the BizDoc
 > download on Orbeon web site
 >
(http://forge.objectweb.org/project/download.php?roup_id=168&file_id=3099).
 >
 > There are files in the the BizDoc download that do not exist in the
 > beta 2 download. Given that, I can't understand what you mean when
 > you say that the BizDoc app is bundled with the regular downloads.

Look at:

   WEB-INF/resources/examples/bizdoc
   WEB-INF/resources/examples/bizdoc2

in ops.war.

-Erik



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws





--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Can't get bizdocs to work

Erik Bruchez
Administrator
[hidden email] wrote:

 > OK, I've found it, thanks. Now is there somewhere on the orbeon web
 > site that explains how to access the bizdoc application now that
 > I've installed the servlet? The instructions concerning installing
 > the bizdoc application at
 > "http://www.orbeon.com/community/downloads" seem to have been
 > overtaken by events, if I inferred correctly from your earlier
 > message.

The story is this:

o The BizDoc example has always been an example like any other,
   bundled with the standard OPS download.

o But we decided, to make clearer what are the minimum requirements
   for an OPS application to ALSO create a standalone BizDoc release.

o However right now, that standalone release is out of sync with the
   latest OPS code. So that release won't work as expected. Please
   don't use it for now unless you want to fix it.

Now I don't know what you mean by installing the servlet, but if that
means deploying (or dropping) ops.war into your servlet container,
then to see the BizDoc app you just click on the link "BizDoc Classic"
or "BizDoc NG". Here are direct links to the online versions:

Within the examples portal:

   http://www.orbeon.com/ops/goto-example/bizdoc
   http://www.orbeon.com/ops/goto-example/bizdoc2

Outside the examples portal:

   http://www.orbeon.com/ops/bizdoc
   http://www.orbeon.com/ops/bizdoc2

Once you deploy your WAR file, you will have those examples locally as
well.

Hope this helps,

-Erik




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws