Struggling with Studio and OPS 3.0

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

Struggling with Studio and OPS 3.0

Eric van der Vlist
Hi,

I am trying to use Studio with OPS 3.0, following the procedure
described at http://www.orbeon.com/community/getting-involved.

I am using Eclipse 3.1 and j2sdk 1.5 (Sun) and I have also tested with
Jave 1.4.

I have installed the Studio feature fron the unstable build Eclipse site
(http://forge.objectweb.org/nightlybuilds/ops/studio/), created a new
Java project pointing to the directory where I have downloaded the
latest CVS of OPS 3.0 and followed the other instructions.

The first things that I had to fix were wrong libraries (libraries which
versions have changed) :

Severity Description Resource In Folder Location Creation Time Id
2 Project ops is missing required library: 'WEB-INF/lib/axis-1_1-axis.jar' ops 18 novembre 2005 12:37:42 31123
2 Project ops is missing required library: 'WEB-INF/lib/axis-1_1-jaxrpc.jar' ops 18 novembre 2005 12:37:42 31124
2 Project ops is missing required library: 'WEB-INF/lib/axis-1_1-saaj.jar' ops 18 novembre 2005 12:37:42 31125
2 Project ops is missing required library: 'WEB-INF/lib/axis-1_1-wsdl4j.jar' ops 18 novembre 2005 12:37:42 31126
2 Project ops is missing required library: 'WEB-INF/lib/cli/commons-cli-1_0.jar' ops 18 novembre 2005 12:37:42 31128
2 Project ops is missing required library: 'WEB-INF/lib/orbeon.jar' ops 18 novembre 2005 12:37:42 31127

I had also to add some new libraries that have been added recently.

After all that (and changing the order of some libraries in the build
path), I have a configuration without build errors.

However, when I try to run OPS, I get a message saying that there is an
internal error at launch time without any detail (capture attached).
 
Is there anything that needs to be configured in addition to the doc
mentioned above or any known incompatibility between with OPS 3.0 or
Eclipse 3.1?

Thanks,

Eric

--
Le premier annuaire des apiculteurs 100% XML!
                                                http://apiculteurs.info/
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(ISO) RELAX NG   ISBN:0-596-00421-4 http://oreilly.com/catalog/relax
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------

Capture.png (59K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Struggling with Studio and OPS 3.0

Alessandro  Vernet
Administrator
Hi Eric,

Studio contains a PresentationServer 2.8. So if you are using
PresentationServer 3.0, you should not go through the "New project
wizard" as it will create a project using the PresentationServer 2.8.
Instead, download an "unstable build" (or build your own as you have
checked out the source from CVS) and create a project by going through
File / Import / OPS Application Project from WAR, and select the war
file you have downloaded (or build).

You can use the current builds of Studio for working on a
PresentationServer 3.0 application; I am in fact doing this every day
:). For me, the main benefit of using Studio is for logging. It is so
much better than having to look at the console or a log file.

Alex

On 11/18/05, Eric van der Vlist <[hidden email]> wrote:

> Hi,
>
> I am trying to use Studio with OPS 3.0, following the procedure
> described at http://www.orbeon.com/community/getting-involved.
>
> I am using Eclipse 3.1 and j2sdk 1.5 (Sun) and I have also tested with
> Jave 1.4.
>
> I have installed the Studio feature fron the unstable build Eclipse site
> (http://forge.objectweb.org/nightlybuilds/ops/studio/), created a new
> Java project pointing to the directory where I have downloaded the
> latest CVS of OPS 3.0 and followed the other instructions.
>
> The first things that I had to fix were wrong libraries (libraries which
> versions have changed) :
>
> Severity        Description     Resource        In Folder       Location        Creation Time   Id
> 2       Project ops is missing required library: 'WEB-INF/lib/axis-1_1-axis.jar'        ops                     18 novembre 2005 12:37:42       31123
> 2       Project ops is missing required library: 'WEB-INF/lib/axis-1_1-jaxrpc.jar'      ops                     18 novembre 2005 12:37:42       31124
> 2       Project ops is missing required library: 'WEB-INF/lib/axis-1_1-saaj.jar'        ops                     18 novembre 2005 12:37:42       31125
> 2       Project ops is missing required library: 'WEB-INF/lib/axis-1_1-wsdl4j.jar'      ops                     18 novembre 2005 12:37:42       31126
> 2       Project ops is missing required library: 'WEB-INF/lib/cli/commons-cli-1_0.jar'  ops                     18 novembre 2005 12:37:42       31128
> 2       Project ops is missing required library: 'WEB-INF/lib/orbeon.jar'       ops                     18 novembre 2005 12:37:42       31127
>
> I had also to add some new libraries that have been added recently.
>
> After all that (and changing the order of some libraries in the build
> path), I have a configuration without build errors.
>
> However, when I try to run OPS, I get a message saying that there is an
> internal error at launch time without any detail (capture attached).
>
> Is there anything that needs to be configured in addition to the doc
> mentioned above or any known incompatibility between with OPS 3.0 or
> Eclipse 3.1?
>
> Thanks,
>
> Eric
>
> --
> Le premier annuaire des apiculteurs 100% XML!
>                                                 http://apiculteurs.info/
> ------------------------------------------------------------------------
> Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
> (ISO) RELAX NG   ISBN:0-596-00421-4 http://oreilly.com/catalog/relax
> (W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
> ------------------------------------------------------------------------
>
>
>
> --
> 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
>
>
>
>

--
Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/



--
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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Struggling with Studio and OPS 3.0

Eric van der Vlist
Hi Alex,

Le vendredi 25 novembre 2005 à 16:13 -0800, Alessandro Vernet a écrit :
> Hi Eric,
>
> Studio contains a PresentationServer 2.8. So if you are using
> PresentationServer 3.0, you should not go through the "New project
> wizard" as it will create a project using the PresentationServer 2.8.
> Instead, download an "unstable build" (or build your own as you have
> checked out the source from CVS) and create a project by going through
> File / Import / OPS Application Project from WAR, and select the war
> file you have downloaded (or build).

I don't know what I am doing wrong, but I still have the same error!

Are you using Eclipse 3.1?

> You can use the current builds of Studio for working on a
> PresentationServer 3.0 application; I am in fact doing this every day
> :). For me, the main benefit of using Studio is for logging. It is so
> much better than having to look at the console or a log file.

I have just noticed that it's working even if you run OPS outside of
eclipse (sounds normal if the logger uses the same port).

And you're right, getting the debug XML instances in Studio is 10 times
better than getting them from a log file...

The other thing I was expecting to do with Studio was to define
breakpoints in my custom processors and that will be harder without
being able to start from Eclipse.

A dream feature would be to be able to define breakpoints in XSLT
transformations!

Thanks,

Eric

--
Le premier annuaire des apiculteurs 100% XML!
                                                http://apiculteurs.info/
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(ISO) RELAX NG   ISBN:0-596-00421-4 http://oreilly.com/catalog/relax
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------




--
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: Struggling with Studio and OPS 3.0

Alessandro  Vernet
Administrator
On 11/26/05, Eric van der Vlist <[hidden email]> wrote:
> I don't know what I am doing wrong, but I still have the same error!
> Are you using Eclipse 3.1?

Yes, I am.

> I have just noticed that it's working even if you run OPS outside of
> eclipse (sounds normal if the logger uses the same port).

Yes, exactly. You just need to have your project there defined in
Eclipse. Studio will look at all the log4j.xml files you have in your
project and use the values it finds there to connect to the right
port.

> A dream feature would be to be able to define breakpoints in XSLT
> transformations!

We also have this kind of dreams here from time to time :).

Alex



--
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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet