Now it works. Daniel, thanks very much for your detailed steps!

-Bo
On 1/5/12, Daniel Roig <[email protected]> wrote:
> Oh, ok, I incorrectly assumed that you've customized it and then ran 'mvn
> clean package'.
>
> Nevertheless, I'm not quite sure what you mean when you say it doesn't
> work. Just to make sure we're on the same page, try this:
>
> 1. Clean out ALL previous deployments of CAS from the webapp directory.
> Make sure that Tomcat undeploys, you should see this in the log file
> "catalina.out".
> 2. Restart Tomcat just to be safe to clean out any stale state.
> 3. Make a copy of cas-server-webapp-3.4.11.war and rename it to cas.war.
> 4. Move cas.war to the webapps directory. Wait until Tomcat expands cas.war
> into a "cas" directory (assuming your Tomcat is set up to do this).
> 4.1 You should edit the file cas.properties located in webapps/cas/WEB-INF
> and change the property 'server.prefix' to 'https://cas.domain.com/cas'
> 4.2 Restart Tomcat in order to reload the newly edited cas.properties.
> 5. Try to access https://cas.domain.com/cas/login You should see the
> standard login page.
>
>
>
> /Daniel.
>
>
> On Thu, Jan 5, 2012 at 10:23 AM, Bo Xie <[email protected]> wrote:
>
>> "rename the war-file to cas.war BEFORE you deploy it in Tomcat" does not
>> work.
>> "mvn clean package" means I should recompile the CAS source code to
>> generate car.war and redopyment the car.war? I am a CAS newbie and did
>> not use mvn before to build CAS. :-(
>>
>> -Bo
>> On 1/5/12, Daniel Roig <[email protected]> wrote:
>> > That's odd. Normally, Maven should have renamed the artifact to cas.war.
>> > Did you run 'mvn clean package' while standing in the
>> > cas-server-3.4.10/cas-server-webapp directory? The resulting war-file
>> > should pop up in the "target" sub-directory.
>> >
>> > Another thing you could try is to rename the war-file to cas.war BEFORE
>> you
>> > deploy it in Tomcat.
>> >
>> > Hope this helps.
>> >
>> > /Daniel.
>> >
>> > On Thu, Jan 5, 2012 at 9:30 AM, Bo Xie <[email protected]> wrote:
>> >
>> >> I install CAS 3.4.11 on Windows XP with Tomcat.
>> >>
>> >> Currently I copy cas-server-webapp-3.4.11.war to tomcat webapp
>> >> directory
>> >> and a cas-server-webapp-3.4.11 sub-directory is automatically created.
>> And
>> >> https://cas.domain.com/cas-server-webapp-3.4.11 works well.
>> >>
>> >> If I rename "C:\tomcat5.5.23\webapps\cas-server-webapp-3.4.11" to
>> >> "C:\tomcat5.5.23\webapps\cas", cas would not work. It means
>> >> https://cas.domain.com/cas web page has not image shown and the correct
>> >> username and password could not login.
>> >>
>> >> Any advice?
>> >> --
>> >> You are currently subscribed to [email protected] as:
>> >> [email protected]
>> >> To unsubscribe, change settings or access archives, see
>> >> http://www.ja-sig.org/wiki/display/JSG/cas-user
>> >>
>> >
>> > --
>> > You are currently subscribed to [email protected] as:
>> > [email protected]
>> > To unsubscribe, change settings or access archives, see
>> > http://www.ja-sig.org/wiki/display/JSG/cas-user
>>
>> --
>> You are currently subscribed to [email protected] as:
>> [email protected]
>> To unsubscribe, change settings or access archives, see
>> http://www.ja-sig.org/wiki/display/JSG/cas-user
>>
>
> --
> You are currently subscribed to [email protected] as:
> [email protected]
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/cas-user

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to