Error creating war file after upgrading to 2.3.7

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Error creating war file after upgrading to 2.3.7

lubosp
Hi all,

I have upgraded application from 2.0.4 to 2.3.7 (also happens in 2.3.5) and when I try to generate .war file using > grails prod war I am getting error:

| Building WAR file.....

The application compiles, I can run it from Intellij and as grails run-app, but I cannot generate .war file.

But when I run the application I get error:

groovyx.net.http.ResponseParseException: OK
at groovyx.net.http.HTTPBuilder.doRequest(HTTPBuilder.java:500)
at groovyx.net.http.RESTClient.get(RESTClient.java:118)
at groovyx.net.http.RESTClient$get.call(Unknown Source)
...

Caused by: org.xml.sax.SAXNotRecognizedException: http://javax.xml.XMLConstants/feature/secure-processing
at groovyx.net.http.ParserRegistry.parseXML(ParserRegistry.java:265)
at groovyx.net.http.HTTPBuilder.parseResponse(HTTPBuilder.java:561)
at groovyx.net.http.HTTPBuilder.doRequest(HTTPBuilder.java:494)
at groovyx.net.http.RESTClient.get(RESTClient.java:118)

I am using Grails plugin rest:0.8

I am using JDK 1.7.0_10-b18

Any help would be highly appreciated. Thanks, Lubos Pochman

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error creating war file after upgrading to 2.3.7

glenn
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

same for me here.

seems that there are no more debug infos available during war
packaging process.

did you solve the problem already?


thanks,
glenn

Am 18.03.14 20:07, schrieb Lubos and Alena Pochman:

> Hi all,
>
> I have upgraded application from 2.0.4 to 2.3.7 (also happens in
> 2.3.5) and when I try to generate .war file using > grails prod war
> I am getting error:
>
> | Building WAR file..... | Error WAR packaging error:
> http://javax.xml.XMLConstants/feature/secure-processing
>
> The application compiles, I can run it from Intellij and as grails
> run-app, but I cannot generate .war file.
>
> But when I run the application I get error:
>
> groovyx.net.http.ResponseParseException: OKat
> groovyx.net.http.HTTPBuilder.doRequest(HTTPBuilder.java:500)at
> groovyx.net.http.RESTClient.get(RESTClient.java:118) at
> groovyx.net.http.RESTClient$get.call(Unknown Source) ...
>
> Caused by: org.xml.sax.SAXNotRecognizedException:
> http://javax.xml.XMLConstants/feature/secure-processing at
> groovyx.net.http.ParserRegistry.parseXML(ParserRegistry.java:265)at
>
>
groovyx.net.http.HTTPBuilder.parseResponse(HTTPBuilder.java:561)at
> groovyx.net.http.HTTPBuilder.doRequest(HTTPBuilder.java:494) at
> groovyx.net.http.RESTClient.get(RESTClient.java:118)
>
> I am using Grails plugin rest:0.8
>
> I am using JDK 1.7.0_10-b18
>
> Any help would be highly appreciated. Thanks, Lubos Pochman
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJTS4RFAAoJEJ5+dqFWanaUJTEQAJy7crtHMTJZS4HgQa4tRPcV
padCqWKqMhPT9PqvwObfY9oBCHz51hrDzta1neyA2h+3eUmxmOi2kJizuSpc6dct
5HVf8568BUcyDPqfOZkEnonK4LecGeK1xxqdU8yL7c3YirvLiTYCzab4Luan5erU
go/7eEDoNsinFgzk7NVfy93WXlrhlkRnR68GADqttMSB2AS21pSO/AaL7aE8+8Ha
FgIoJetbYXkebqsglWnI+TOyD4MgiY8vGJiGw9z4w6RtPPjRfZTpu9xKxaEWH9PQ
9ELfIwPI/BGSXYZPbUhR/gX1yLxC7cD33KXnJIX6ego5xPfaVmyWC4eaFQ32mGvz
Qo8vumUFNsWBpujPJQIwNYfnoqeEyKQK2tsznDigJxWio0BWQfpQvRlFpoDf9t66
EPssxYjG6ffcr5WWnV2Fr7QZ5rO12ApwUkONkXOL3dU4G0MxrSHyca7sKwa+mHdp
sAXgCX2QfdTQF4WxHAgV4TQntaecGn/sqWAMEY31NqGGLg8iTOy34Ztz4i1EhwTL
JYL6e4/3IeEiml7jxQp3cWavS4Ugy6fpEHGXME+tJcNL4bJBCkyOcIlopiVeaRrw
oIDcn9ofLCD+o+nTqys1SsHNSv/OIjERIx718BnIA1h99LCVrwR+cOwglz/sNQaE
tPx7cn1O9ApvfB2xbC/U
=N3ng
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error creating war file after upgrading to 2.3.7

Graeme Rocher-2
Either of you able to attach an example to a JIRA issue?

Cheers

On Mon, Apr 14, 2014 at 8:46 AM, Glenn Sch├╝tze <[hidden email]> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> same for me here.
>
> seems that there are no more debug infos available during war
> packaging process.
>
> did you solve the problem already?
>
>
> thanks,
> glenn
>
> Am 18.03.14 20:07, schrieb Lubos and Alena Pochman:
>> Hi all,
>>
>> I have upgraded application from 2.0.4 to 2.3.7 (also happens in
>> 2.3.5) and when I try to generate .war file using > grails prod war
>> I am getting error:
>>
>> | Building WAR file..... | Error WAR packaging error:
>> http://javax.xml.XMLConstants/feature/secure-processing
>>
>> The application compiles, I can run it from Intellij and as grails
>> run-app, but I cannot generate .war file.
>>
>> But when I run the application I get error:
>>
>> groovyx.net.http.ResponseParseException: OKat
>> groovyx.net.http.HTTPBuilder.doRequest(HTTPBuilder.java:500)at
>> groovyx.net.http.RESTClient.get(RESTClient.java:118) at
>> groovyx.net.http.RESTClient$get.call(Unknown Source) ...
>>
>> Caused by: org.xml.sax.SAXNotRecognizedException:
>> http://javax.xml.XMLConstants/feature/secure-processing at
>> groovyx.net.http.ParserRegistry.parseXML(ParserRegistry.java:265)at
>>
>>
> groovyx.net.http.HTTPBuilder.parseResponse(HTTPBuilder.java:561)at
>> groovyx.net.http.HTTPBuilder.doRequest(HTTPBuilder.java:494) at
>> groovyx.net.http.RESTClient.get(RESTClient.java:118)
>>
>> I am using Grails plugin rest:0.8
>>
>> I am using JDK 1.7.0_10-b18
>>
>> Any help would be highly appreciated. Thanks, Lubos Pochman
>>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQIcBAEBAgAGBQJTS4RFAAoJEJ5+dqFWanaUJTEQAJy7crtHMTJZS4HgQa4tRPcV
> padCqWKqMhPT9PqvwObfY9oBCHz51hrDzta1neyA2h+3eUmxmOi2kJizuSpc6dct
> 5HVf8568BUcyDPqfOZkEnonK4LecGeK1xxqdU8yL7c3YirvLiTYCzab4Luan5erU
> go/7eEDoNsinFgzk7NVfy93WXlrhlkRnR68GADqttMSB2AS21pSO/AaL7aE8+8Ha
> FgIoJetbYXkebqsglWnI+TOyD4MgiY8vGJiGw9z4w6RtPPjRfZTpu9xKxaEWH9PQ
> 9ELfIwPI/BGSXYZPbUhR/gX1yLxC7cD33KXnJIX6ego5xPfaVmyWC4eaFQ32mGvz
> Qo8vumUFNsWBpujPJQIwNYfnoqeEyKQK2tsznDigJxWio0BWQfpQvRlFpoDf9t66
> EPssxYjG6ffcr5WWnV2Fr7QZ5rO12ApwUkONkXOL3dU4G0MxrSHyca7sKwa+mHdp
> sAXgCX2QfdTQF4WxHAgV4TQntaecGn/sqWAMEY31NqGGLg8iTOy34Ztz4i1EhwTL
> JYL6e4/3IeEiml7jxQp3cWavS4Ugy6fpEHGXME+tJcNL4bJBCkyOcIlopiVeaRrw
> oIDcn9ofLCD+o+nTqys1SsHNSv/OIjERIx718BnIA1h99LCVrwR+cOwglz/sNQaE
> tPx7cn1O9ApvfB2xbC/U
> =N3ng
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>



--
Graeme Rocher
Grails Project Lead
SpringSource

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error creating war file after upgrading to 2.3.7

urban011
In reply to this post by lubosp
Any luck yet on this? I'm getting the same thing.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error creating war file after upgrading to 2.3.7

urban011
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error creating war file after upgrading to 2.3.7

hteman
Hey can you tell me what the problem was? The link is not working anymore and I have the exact same problem :/. Thanks!
Loading...