On 7/2/07, ant elder <[EMAIL PROTECTED]> wrote:

On 7/2/07, ant elder <[EMAIL PROTECTED]> wrote:
>
>
>
> On 7/1/07, Luciano Resende <[EMAIL PROTECTED]> wrote:
> >
> > Please vote to release the beta1 distribution of Tuscany DAS for Java.
> >
> > The Release Candidate RC1 for Tuscany Java DAS beta1 is available at
> >
> >    http://people.apache.org/~lresende/tuscany/das-beta1-rc1/<
http://people.apache.org/%7Elresende/tuscany/das-beta1-rc1/>
> >
> > Release Notes are available at
> >
> >
> >
https://svn.apache.org/repos/asf/incubator/tuscany/tags/java/das/1.0-incubating-beta1-rc1/distribution/binary/RELEASE_NOTES
> >
> > The maven repository artifacts are posted in a staging repository and
> > is available at
> >
> >    http://people.apache.org/~lresende/tuscany/das-beta1-rc1/maven/<
http://people.apache.org/%7Elresende/tuscany/das-beta1-rc1/maven/>
> >
> > The release audit tool (rat) results are available at
> >
> >
> >
http://people.apache.org/~lresende/tuscany/das-beta1-rc1/das-beta1-rc1-rat.log
<
http://people.apache.org/%7Elresende/tuscany/das-beta1-rc1/das-beta1-rc1-rat.log
>
> >
> > The tag for the source code is at
> >
> >
> >
https://svn.apache.org/repos/asf/incubator/tuscany/tags/java/das/1.0-incubating-beta1-rc1/
> >
> > Seems OK to me, here is my +1
>
>
> Looks ok so +1 from me.
>
> The few issues I found are below, none of them are blocking problems (it
> maybe worth while fixing the sample issues anyway)  but if the release
is
> respun for some reason it would be good to fix some of these:
>
>    ...ant
>
> - The distributions downloads unzip into a folder of the same name
>
> - A sentence or two at the top of the release notes saying what DAS is
> would be good
>
> - The NOTICE file still includes the incubator disclaimer even though
> there's now a separate disclaimer file (I've fixed that in trunk)
>
> - Does there really need to be a BUILDING file in the bin distro? Maybe
> instead an INSTALL file that says how DAS could be used (the
dependencies
> and config file etc)?
>
> - Could the last two remaining RAT warnings be fixed - what license is
the
> JSTL stuff?
>
> - Could have a top level sample overview readme in the samples dir
saying
> what each of the samples does
>
> - The derby-10.1.2.1.jar is included in samples\customer but the readme
> for samples\companyweb says to go download it
>
> - The dastest sample dbs isn't included in the binary distro so have to
> build from src distro and copy form there to test the samples in the bin
> distro
>
> - the customer sample readme doesn't actually say how to run or use the
> sample
>
> - I can't get the ajax sample to work, fails with the error below. I
have
> setup tomcat as described in the readme, looking in the tomcat databases
> folder the ajaxdastest does not exist so wasn't ever created yet:
>
> java.lang.NullPointerException at
> org.apache.tuscany.das.rdb.dbconfig.DBHelper.dropDatabaseTables(
> DBHelper.java:185)
>         at
> org.apache.tuscany.das.rdb.dbconfig.DBInitializer.initializeDatabase(
> DBInitializer.java :128)
>         at
> org.apache.tuscany.das.rdb.dbconfig.DBInitializer.refreshDatabaseData(
> DBInitializer.java:152)
>         at org.apache.tuscany.samples.web.CommandServlet.refreshDB(
> CommandServlet.java:51)
>         at org.apache.tuscany.samples.web.CommandServlet.init(
> CommandServlet.java:60)
>         at org.apache.catalina.core.StandardWrapper.loadServlet(
> StandardWrapper.java:1161)
>         at org.apache.catalina.core.StandardWrapper.allocate (
> StandardWrapper.java:806)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(
> StandardWrapperValve.java:133)
>         at org.apache.catalina.core.StandardContextValve.invoke(
> StandardContextValve.java:175)
>         at org.apache.catalina.core.StandardHostValve.invoke(
> StandardHostValve.java:128)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(
> ErrorReportValve.java:104)
>         at org.apache.catalina.core.StandardEngineValve.invoke (
> StandardEngineValve.java:109)
>         at org.apache.catalina.connector.CoyoteAdapter.service(
> CoyoteAdapter.java:216)
>         at org.apache.coyote.http11.Http11Processor.process(
> Http11Processor.java:844)
>         at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
> Http11Protocol.java:634)
>         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(
> JIoEndpoint.java:445)
>         at java.lang.Thread.run(Thread.java :595)
>

Chatted with Luciano, the ajax sample issue was a problem in my tomcat
config and the sample works fine now.

   ...ant


I started taking a look at the binary distro but had to move over to the
source distro to get the sample DB (as ant mentioned above) but I'm having
trouble building it. When I unpack the source distro and run maven at the
top level I get...

[INFO] [compiler:compile]
[INFO] Compiling 107 source files to C:\simon\tuscany\das-
r1.0-beta1-rc1\tuscany
-
das-1.0-incubating-beta1-src\tuscany-das-1.0-incubating-beta1\rdb\target\classe
s
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure

C:\simon\tuscany\das-
r1.0-beta1-rc1\tuscany-das-1.0-incubating-beta1-src\tuscany
-
das-1.0-incubating-beta1\rdb\target\sdo-source\org\apache\tuscany\das\rdb\confi
g\impl\ConfigFactoryImpl.java:[26,45] package
org.apache.tuscany.sdo.model.inter
nal does not exist

C:\simon\tuscany\das-
r1.0-beta1-rc1\tuscany-das-1.0-incubating-beta1-src\tuscany
-
das-1.0-incubating-beta1\rdb\target\sdo-source\org\apache\tuscany\das\rdb\test\
company\impl\CompanyFactoryImpl.java:[26,45] package
org.apache.tuscany.sdo.mode
l.internal does not exist

C:\simon\tuscany\das-
r1.0-beta1-rc1\tuscany-das-1.0-incubating-beta1-src\tuscany
-
das-1.0-incubating-beta1\rdb\target\sdo-source\org\apache\tuscany\das\rdb\test\
customer\impl\CustomerFactoryImpl.java:[26,45] package
org.apache.tuscany.sdo.mo
del.internal does not exist

C:\simon\tuscany\das-
r1.0-beta1-rc1\tuscany-das-1.0-incubating-beta1-src\tuscany
-
das-1.0-incubating-beta1\rdb\target\sdo-source\org\apache\tuscany\das\rdb\confi
g\impl\ConfigFactoryImpl.java:[367,32] cannot find symbol
symbol  : class InternalFactory

etc.

So it can't seem to find the SDO files that the generated types depend on.
Maven has gone and downloaded various 1.0-incubating-beta1 SDO jars so I
must be doing something else strange. I have to disclose that I am on the
latest version of Maven.

Any help very much appreciated.

Simon

Reply via email to