Ganesh,

Our CAS 5.2.7 WAR file is 121MB with the following dependencies:

cas-server-support-mongo-service-registry
cas-server-support-ldap
cas-server-support-saml
cas-server-support-saml-idp
cas-server-support-saml-googleapps
cas-server-support-duo
cas-server-support-mongo-ticket-registry


We deploy it to a standalone Tomcat, but we deploy as an exploded WAR file
(directory).

--Dave

--

DAVID A. CURRY, CISSP
*DIRECTOR OF INFORMATION SECURITY*
INFORMATION TECHNOLOGY

71 FIFTH AVE., 9TH FL., NEW YORK, NY 10003
+1 212 229-5300 x4728 • [email protected]

[image: The New School]


On Thu, Oct 18, 2018 at 12:48 PM Ganesh Prasad <[email protected]> wrote:

> Thanks for your help, Andy, and sorry for troubling you again.
>
> I could remove all the other libraries below:
>
> tomcat-embed-core
> tomcat-embed-el
> jstl
> javax.inject
> servlet-api
>
> But when I removed tomcat-catalina, I got an error when Maven was about to
> build the war file:
>
> Failed to execute goal org.apache.maven.plugins:maven-war-plugin:3.2.1:war
> (default-war) on project iam: Error assembling WAR: webxml attribute is
> required (or pre-existing WEB-INF/web.xml if executing in update mode)
>
> What could be going wrong?
>
> Also, since you deploy the war file to a standalone Tomcat server, how
> large is your war file? Mine is 102 MB. Is this reasonable?
>
> Regards,
> Ganesh
>
> On Thursday, 18 October 2018 18:56:03 UTC+11, Andy Ng wrote:
>>
>> Hi Ganesh,
>>
>> I forget to clarify, our CAS server is also using Tomcat war deployment
>> (CAS 5.x, been running for at least 5 months now), and I don't have the
>> following in my pom.xml
>>
>>    - tomcat-embed-core
>>    - tomcat-embed-el
>>    - tomcat-catalina
>>    - jstl
>>
>> So I think it is safe to assume those are not needed.
>>
>> As for:
>>
>>    - javax.inject
>>    - servlet-api
>>
>> Those are used by us to enable some custom features. If I remove those
>> customization, those 2 are not needed as well.
>>
>> Hope these info give you more peace in mind when cleaning up your pom.xml
>> :)
>>
>> Cheers!
>> - Andy
>>
>>
>>
>>
>> --
> - Website: https://apereo.github.io/cas
> - Gitter Chatroom: https://gitter.im/apereo/cas
> - List Guidelines: https://goo.gl/1VRrw7
> - Contributions: https://goo.gl/mh7qDG
> ---
> You received this message because you are subscribed to the Google Groups
> "CAS Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/86b2862a-dc53-4d78-94a6-352a49e40258%40apereo.org
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/86b2862a-dc53-4d78-94a6-352a49e40258%40apereo.org?utm_medium=email&utm_source=footer>
> .
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CA%2Bd9XAOp67wrF3TnWKtCR1LxmHazKOBvL%2BTw9qJTgdzjeVAf3g%40mail.gmail.com.

Reply via email to