You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Henri Yandell <fl...@gmail.com> on 2006/03/18 02:21:10 UTC

Clean build of Geronimo under m2

I hit a basic problem trying to do a clean build. The specs trunk
works fine, but the main trunk dies at random intervals due to
timeouts against the apache.org repositories (I think it's those).

Anyone else having the same problem?

Things are good if I turn those off (except for the various parts of
Geronimo that are not built against released transitives - directory
seemed to unfix itself, so the fix must have been overwritten
somehow).

Hen

Re: Clean build of Geronimo under m2

Posted by Prasad Kashyap <go...@gmail.com>.
Jacek,

When you build in offline mode, then <download> settting though set to
true is essentially false.  This is why you are seeing those errors.

https://issues.apache.org/jira/browse/GERONIMO-1693#action_12369562

The solution we have employed for j2ee-schema is tactical. We are only
loading those schemas that m1 loads. But in my conversation with David
Jencks and in his comments above, you can see that he recommends that
we load all schemas that we locally provide. We shouldn't download any
from the net.

Cheers
Prasad

On 3/18/06, Jacek Laskowski <el...@gmail.com> wrote:
> 2006/3/18, Henri Yandell <fl...@gmail.com>:
> > I hit a basic problem trying to do a clean build. The specs trunk
> > works fine, but the main trunk dies at random intervals due to
> > timeouts against the apache.org repositories (I think it's those).
> >
> > Anyone else having the same problem?
>
> I always build offline so I can't see them happening on my laptop. I
> have however found another issue while building Geronimo using M2:
>
> [INFO] [xmlbeans:xmlbeans {execution: default}]
> IO Error java.net.UnknownHostException: www.ibm.com
> [INFO] ----------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ----------------------------------------------------------------------------
> [INFO] XmlBeans compile failed:
>  xml ErrorLoading schema file
> c:\oss\geronimo\modules\j2ee-schema\src\j2ee_1_4schema\application_1_4.xsd
> xml ErrorLoading schema file
> c:\oss\geronimo\modules\j2ee-schema\src\j2ee_1_4schema\j2ee_jaxrpc_mapping_1_1.xsd
> xml ErrorLoading schema file
> c:\oss\geronimo\modules\j2ee-schema\src\j2ee_1_3schema\connector_1_0.xsd
> xml ErrorLoading schema file
> c:\oss\geronimo\modules\j2ee-schema\src\j2ee_1_4schema\j2ee_1_4.xsd
> xml ErrorLoading schema file
> c:\oss\geronimo\modules\j2ee-schema\src\j2ee_1_4schema\connector_1_5.xsd
> xml ErrorLoading schema file
> c:\oss\geronimo\modules\j2ee-schema\src\j2ee_1_4schema\ejb-jar_2_1.xsd
> xml ErrorLoading schema file
> c:\oss\geronimo\modules\j2ee-schema\src\j2ee_1_4schema\web-app_2_4.xsd
> xml ErrorLoading schema file
> c:\oss\geronimo\modules\j2ee-schema\src\j2ee_1_4schema\application-client_1_4.xsd
> xml ErrorLoading schema file
> c:\oss\geronimo\modules\j2ee-schema\src\j2ee_1_4schema\j2ee_web_services_1_1.xsd
> xml ErrorLoading config file
> c:\oss\geronimo\modules\j2ee-schema\src\conf\xmlconfig.xml
> xml Errorc:\oss\geronimo\modules\j2ee-schema\src\j2ee_1_4schema\j2ee_1_4.xsd:76:
> error: java.net.UnknownHostException: www.ibm.com
> xml ErrorLoading referenced file j2ee_1_4schema/jsp_2_0.xsd
> xml Errorc:\oss\geronimo\modules\j2ee-schema\src\j2ee_1_4schema\j2ee_1_4.xsd:707:
> error: src-resolve: model group
> 'service-refGroup@http://java.sun.com/xml/ns/j2ee' not fou
> nd.
> xml Errorc:\oss\geronimo\modules\j2ee-schema\src\j2ee_1_4schema\j2ee_1_4.xsd:707:
> error: src-resolve: model group
> 'service-refGroup@http://java.sun.com/xml/ns/j2ee' not fou
> nd.
> xml Errorc:\oss\geronimo\modules\j2ee-schema\src\j2ee_1_4schema\j2ee_1_4.xsd:707:
> error: src-resolve: model group
> 'service-refGroup@http://java.sun.com/xml/ns/j2ee' not fou
> nd.
> xml Errorc:\oss\geronimo\modules\j2ee-schema\src\j2ee_1_4schema\j2ee_1_4.xsd:707:
> error: src-resolve: model group
> 'service-refGroup@http://java.sun.com/xml/ns/j2ee' not fou
> nd.
> xml Errorc:\oss\geronimo\modules\j2ee-schema\src\j2ee_1_4schema\application-client_1_4.xsd:215:
> error: src-resolve: model group
> 'service-refGroup@http://java.sun.com/xml/ns
> /j2ee' not found.
>
> It happened while I was offline (= with no connection to the Net
> rather than offline in the sense of M2). Don't know what to do with it
> yet.
>
> > Things are good if I turn those off (except for the various parts of
> > Geronimo that are not built against released transitives - directory
> > seemed to unfix itself, so the fix must have been overwritten
> > somehow).
>
> What error message do you see?
>
> > Hen
>
> Jacek
>
> --
> Jacek Laskowski
> http://www.laskowski.org.pl
>

Re: Clean build of Geronimo under m2

Posted by anita kulshreshtha <a_...@yahoo.com>.
    This is related to the <catalogLocation> in
j2ee-schema. This tag suddenly became available! I was
hving problem with it, hence I left the
<download>true</download> line. Until it is tested, we
will have to build j2ee-schame online.

Thanks
Anita

--- Jacek Laskowski <el...@gmail.com> wrote:

> 2006/3/18, Henri Yandell <fl...@gmail.com>:
> > I hit a basic problem trying to do a clean build.
> The specs trunk
> > works fine, but the main trunk dies at random
> intervals due to
> > timeouts against the apache.org repositories (I
> think it's those).
> >
> > Anyone else having the same problem?
> 
> I always build offline so I can't see them happening
> on my laptop. I
> have however found another issue while building
> Geronimo using M2:
> 
> [INFO] [xmlbeans:xmlbeans {execution: default}]
> IO Error java.net.UnknownHostException: www.ibm.com
> [INFO]
>
----------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
>
----------------------------------------------------------------------------
> [INFO] XmlBeans compile failed:
>  xml ErrorLoading schema file
>
c:\oss\geronimo\modules\j2ee-schema\src\j2ee_1_4schema\application_1_4.xsd
> xml ErrorLoading schema file
>
c:\oss\geronimo\modules\j2ee-schema\src\j2ee_1_4schema\j2ee_jaxrpc_mapping_1_1.xsd
> xml ErrorLoading schema file
>
c:\oss\geronimo\modules\j2ee-schema\src\j2ee_1_3schema\connector_1_0.xsd
> xml ErrorLoading schema file
>
c:\oss\geronimo\modules\j2ee-schema\src\j2ee_1_4schema\j2ee_1_4.xsd
> xml ErrorLoading schema file
>
c:\oss\geronimo\modules\j2ee-schema\src\j2ee_1_4schema\connector_1_5.xsd
> xml ErrorLoading schema file
>
c:\oss\geronimo\modules\j2ee-schema\src\j2ee_1_4schema\ejb-jar_2_1.xsd
> xml ErrorLoading schema file
>
c:\oss\geronimo\modules\j2ee-schema\src\j2ee_1_4schema\web-app_2_4.xsd
> xml ErrorLoading schema file
>
c:\oss\geronimo\modules\j2ee-schema\src\j2ee_1_4schema\application-client_1_4.xsd
> xml ErrorLoading schema file
>
c:\oss\geronimo\modules\j2ee-schema\src\j2ee_1_4schema\j2ee_web_services_1_1.xsd
> xml ErrorLoading config file
>
c:\oss\geronimo\modules\j2ee-schema\src\conf\xmlconfig.xml
> xml
>
Errorc:\oss\geronimo\modules\j2ee-schema\src\j2ee_1_4schema\j2ee_1_4.xsd:76:
> error: java.net.UnknownHostException: www.ibm.com
> xml ErrorLoading referenced file
> j2ee_1_4schema/jsp_2_0.xsd
> xml
>
Errorc:\oss\geronimo\modules\j2ee-schema\src\j2ee_1_4schema\j2ee_1_4.xsd:707:
> error: src-resolve: model group
> 'service-refGroup@http://java.sun.com/xml/ns/j2ee'
> not fou
> nd.
> xml
>
Errorc:\oss\geronimo\modules\j2ee-schema\src\j2ee_1_4schema\j2ee_1_4.xsd:707:
> error: src-resolve: model group
> 'service-refGroup@http://java.sun.com/xml/ns/j2ee'
> not fou
> nd.
> xml
>
Errorc:\oss\geronimo\modules\j2ee-schema\src\j2ee_1_4schema\j2ee_1_4.xsd:707:
> error: src-resolve: model group
> 'service-refGroup@http://java.sun.com/xml/ns/j2ee'
> not fou
> nd.
> xml
>
Errorc:\oss\geronimo\modules\j2ee-schema\src\j2ee_1_4schema\j2ee_1_4.xsd:707:
> error: src-resolve: model group
> 'service-refGroup@http://java.sun.com/xml/ns/j2ee'
> not fou
> nd.
> xml
>
Errorc:\oss\geronimo\modules\j2ee-schema\src\j2ee_1_4schema\application-client_1_4.xsd:215:
> error: src-resolve: model group
> 'service-refGroup@http://java.sun.com/xml/ns
> /j2ee' not found.
> 
> It happened while I was offline (= with no
> connection to the Net
> rather than offline in the sense of M2). Don't know
> what to do with it
> yet.
> 
> > Things are good if I turn those off (except for
> the various parts of
> > Geronimo that are not built against released
> transitives - directory
> > seemed to unfix itself, so the fix must have been
> overwritten
> > somehow).
> 
> What error message do you see?
> 
> > Hen
> 
> Jacek
> 
> --
> Jacek Laskowski
> http://www.laskowski.org.pl
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: Clean build of Geronimo under m2

Posted by Jacek Laskowski <el...@gmail.com>.
2006/3/18, Henri Yandell <fl...@gmail.com>:
> I hit a basic problem trying to do a clean build. The specs trunk
> works fine, but the main trunk dies at random intervals due to
> timeouts against the apache.org repositories (I think it's those).
>
> Anyone else having the same problem?

I always build offline so I can't see them happening on my laptop. I
have however found another issue while building Geronimo using M2:

[INFO] [xmlbeans:xmlbeans {execution: default}]
IO Error java.net.UnknownHostException: www.ibm.com
[INFO] ----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ----------------------------------------------------------------------------
[INFO] XmlBeans compile failed:
 xml ErrorLoading schema file
c:\oss\geronimo\modules\j2ee-schema\src\j2ee_1_4schema\application_1_4.xsd
xml ErrorLoading schema file
c:\oss\geronimo\modules\j2ee-schema\src\j2ee_1_4schema\j2ee_jaxrpc_mapping_1_1.xsd
xml ErrorLoading schema file
c:\oss\geronimo\modules\j2ee-schema\src\j2ee_1_3schema\connector_1_0.xsd
xml ErrorLoading schema file
c:\oss\geronimo\modules\j2ee-schema\src\j2ee_1_4schema\j2ee_1_4.xsd
xml ErrorLoading schema file
c:\oss\geronimo\modules\j2ee-schema\src\j2ee_1_4schema\connector_1_5.xsd
xml ErrorLoading schema file
c:\oss\geronimo\modules\j2ee-schema\src\j2ee_1_4schema\ejb-jar_2_1.xsd
xml ErrorLoading schema file
c:\oss\geronimo\modules\j2ee-schema\src\j2ee_1_4schema\web-app_2_4.xsd
xml ErrorLoading schema file
c:\oss\geronimo\modules\j2ee-schema\src\j2ee_1_4schema\application-client_1_4.xsd
xml ErrorLoading schema file
c:\oss\geronimo\modules\j2ee-schema\src\j2ee_1_4schema\j2ee_web_services_1_1.xsd
xml ErrorLoading config file
c:\oss\geronimo\modules\j2ee-schema\src\conf\xmlconfig.xml
xml Errorc:\oss\geronimo\modules\j2ee-schema\src\j2ee_1_4schema\j2ee_1_4.xsd:76:
error: java.net.UnknownHostException: www.ibm.com
xml ErrorLoading referenced file j2ee_1_4schema/jsp_2_0.xsd
xml Errorc:\oss\geronimo\modules\j2ee-schema\src\j2ee_1_4schema\j2ee_1_4.xsd:707:
error: src-resolve: model group
'service-refGroup@http://java.sun.com/xml/ns/j2ee' not fou
nd.
xml Errorc:\oss\geronimo\modules\j2ee-schema\src\j2ee_1_4schema\j2ee_1_4.xsd:707:
error: src-resolve: model group
'service-refGroup@http://java.sun.com/xml/ns/j2ee' not fou
nd.
xml Errorc:\oss\geronimo\modules\j2ee-schema\src\j2ee_1_4schema\j2ee_1_4.xsd:707:
error: src-resolve: model group
'service-refGroup@http://java.sun.com/xml/ns/j2ee' not fou
nd.
xml Errorc:\oss\geronimo\modules\j2ee-schema\src\j2ee_1_4schema\j2ee_1_4.xsd:707:
error: src-resolve: model group
'service-refGroup@http://java.sun.com/xml/ns/j2ee' not fou
nd.
xml Errorc:\oss\geronimo\modules\j2ee-schema\src\j2ee_1_4schema\application-client_1_4.xsd:215:
error: src-resolve: model group
'service-refGroup@http://java.sun.com/xml/ns
/j2ee' not found.

It happened while I was offline (= with no connection to the Net
rather than offline in the sense of M2). Don't know what to do with it
yet.

> Things are good if I turn those off (except for the various parts of
> Geronimo that are not built against released transitives - directory
> seemed to unfix itself, so the fix must have been overwritten
> somehow).

What error message do you see?

> Hen

Jacek

--
Jacek Laskowski
http://www.laskowski.org.pl