What do the tomcat logs say?

 

From: Kelvin Young [mailto:[email protected]] 
Sent: Wednesday, April 09, 2014 8:57 AM
To: [email protected]
Subject: Re: [cas-user] About the CAS upgrade

 

Hi ,

 

I have look into the log , the build job seems finished , would advise why
I can not use the link https://adde.com:8443/cas/login  ? thanks 

2014-04-08 17:55 GMT+08:00 Kelvin Young <[email protected]>:

Hi , 

I can build it now , the message when build is as below 

==========================================================================
======================================================

INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective
model for adde.com:local-cas:war:1.0-SNAPSHOT 


[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-war-plugin is missing. @ line 13, column 12
[WARNING]
[WARNING] It is highly recommended to fix these problems because they
threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support
building such malformed projects.
[WARNING]
[INFO]
[INFO] Using the builder
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedB
uilder with a thread count of 1
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building local-cas 1.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]

[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ local-cas ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @
local-cas ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /opt/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @
local-cas ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources
(default-testResources) @ local-cas ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /opt/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @
local-cas ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ local-cas
---
[INFO] No tests to run.
[INFO]
[INFO] --- maven-war-plugin:2.2:war (default-war) @ local-cas ---
[INFO] Packaging webapp
[INFO] Assembling webapp [local-cas] in
[/opt/target/local-cas-1.0-SNAPSHOT]
[INFO] Processing war project
[INFO] Processing overlay [ id org.jasig.cas:cas-server-webapp]
[INFO] Webapp assembled in [2942 msecs]
[INFO] Building war: /opt/target/cas.war
[INFO] WEB-INF/web.xml already added, skipping
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 9.224 s
[INFO] Finished at: 2014-04-08T16:36:36+08:00
[INFO] Final Memory: 11M/85M
[INFO]
------------------------------------------------------------------------ 

==========================================================================
======================================================

however , when I run the link https://adde.com:8443/cas/login , it pops
the below error , I sure the tomcat is running , would advise what is
wrong  ? thanks 

HTTP Status 404 - /cas/login

type Status report

message /cas/login

description The requested resource is not available.

 


 

 

2014-04-08 7:53 GMT+08:00 Andrew Morgan <[email protected]>: 

 

Please repost the error Maven returns when you run "mvn clean".

        Andy


On Tue, 8 Apr 2014, Kelvin Young wrote:

> Hi ,
>
> The error occurs when use "clean" , would advise how to fix it ? thanks
>
> 2014-04-07 23:58 GMT+08:00 Kelvin Young <[email protected]>:
>
>> Hi ,
>>
>> It should be "clean" , I used "clean" not "chean" .
>>
>>
>>
>>
>> 2014-04-07 22:34 GMT+08:00 Robert Oschwald
<[email protected]>:
>>
>>
>>  Definitely no "chean" on
>>>
https://wiki.jasig.org/display/CASUM/Best+Practice+-+Setting+Up+CAS+Locall
y+using+the+Maven+WAR+Overlay+Method
>>>
>>>
>>> and not on
>>>
>>>

>>>
http://jasig.github.io/cas/current/installation/Maven-Overlay-Installation
.htmlas well.

>>>
>>> So what link are you referring to, Kelvin?
>>>
>>> Robert
>>>
>>>
>>>
>>>
>>>  Am 07.04.2014 um 16:24 schrieb Scott Battaglia <
>>> [email protected]>:
>>>
>>>   "clean" is the appropriate term, not "chean".  If you can point us
to
>>> the exact link that says chean instead of clean, we'll be happy to
change
>>> it (assuming we're the host of the page).
>>>
>>>
>>> On Mon, Apr 7, 2014 at 10:10 AM, Kelvin Young <[email protected]>
wrote:
>>>
>>>> Hi ,
>>>>
>>>> the phase is copy from the link , so I sure it is correct command.
>>>>
>>>>
>>>>
>>>>

>>>> 2014-04-07 18:17 GMT+08:00 J?r?me LELEU <[email protected]>:
>>>>
>>>>  Hi,
>>>>>
>>>>> *Unknown lifecycle phase "chean"*: did you type *chean* instead of
>>>>> *clean*?
>>>>> Best,
>>>>> J?r?me

>>>>>
>>>>>
>>>>>
>>>>> 2014-04-07 12:08 GMT+02:00 Kelvin Young <[email protected]>:
>>>>>
>>>>>>
>>>>>>
>>>>>> Hi ,
>>>>>>
>>>>>> I have followed the link to setup it , but got the following error
,
>>>>>> would advise what is wrong ? thanks
>>>>>>
>>>>>> error message
>>>>>>
>>>>>>
==========================================================================
======================================
>>>>>> Some problems were encountered while building the effective model
for
>>>>>> adde.com:local-cas:war:1.0-SNAPSHOT
>>>>>> [WARNING] 'build.plugins.plugin.version' for
>>>>>> org.apache.maven.plugins:maven-war-plugin is missing. @ line 13,
column 12
>>>>>> [WARNING]
>>>>>> [WARNING] It is highly recommended to fix these problems because
they
>>>>>> threaten the stability of your build.
>>>>>> [WARNING]
>>>>>> [WARNING] For this reason, future Maven versions might no longer
>>>>>> support building such malformed projects.
>>>>>> [WARNING]
>>>>>> [INFO]
>>>>>> [INFO] Using the builder
>>>>>>
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedB
uilder
>>>>>> with a thread count of 1
>>>>>> [INFO]
>>>>>>
>>>>>> [INFO]
>>>>>>
------------------------------------------------------------------------
>>>>>> [INFO] Building local-cas 1.0-SNAPSHOT
>>>>>> [INFO]
>>>>>>
------------------------------------------------------------------------
>>>>>> [INFO]
>>>>>>
------------------------------------------------------------------------
>>>>>> [INFO] BUILD FAILURE
>>>>>> [INFO]
>>>>>>
------------------------------------------------------------------------
>>>>>> [INFO] Total time: 0.292 s
>>>>>> [INFO] Finished at: 2014-04-07T18:05:01+08:00
>>>>>> [INFO] Final Memory: 7M/85M
>>>>>> [INFO]
>>>>>>
------------------------------------------------------------------------
>>>>>> [ERROR] Unknown lifecycle phase "chean". You must specify a valid
>>>>>> lifecycle phase or a goal in the format <plugin-prefix>:<goal> or
>>>>>> <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>.
Available
>>>>>> lifecycle phases are: validate, initialize, generate-sources,
>>>>>> process-sources, generate-resources, process-resources, compile,
>>>>>> process-classes, generate-test-sources, process-test-sources,
>>>>>> generate-test-resources, process-test-resources, test-compile,
>>>>>> process-test-classes, test, prepare-package, package,
pre-integration-test,
>>>>>> integration-test, post-integration-test, verify, install, deploy,
>>>>>> pre-clean, clean, post-clean, pre-site, site, post-site,
site-deploy. ->
>>>>>> [Help 1]
>>>>>> [ERROR]
>>>>>> [ERROR] To see the full stack trace of the errors, re-run Maven
with
>>>>>> the -e switch.
>>>>>> [ERROR] Re-run Maven using the -X switch to enable full debug
logging.
>>>>>> [ERROR]
>>>>>> [ERROR] For more information about the errors and possible
solutions,
>>>>>> please read the following articles:
>>>>>> [ERROR] [Help 1]
>>>>>>
http://cwiki.apache.org/confluence/display/MAVEN/LifecyclePhaseNotFoundExc
eption
>>>>>>
>>>>>>
==========================================================================
======================================
>>>>>> $vi pom.xml
>>>>>>
>>>>>>
==========================================================================
======================================
>>>>>>
>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>> <project xmlns="http://maven.apache.org/POM/4.0.0";
>>>>>>          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>>>>>>          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
>>>>>> http://maven.apache.org/xsd/maven-4.0.0.xsd ">
>>>>>>         <modelVersion>4.0.0</modelVersion>
>>>>>>         <groupId>adde.com <http://adde.com/> </groupId>
>>>>>>         <artifactId>local-cas</artifactId>
>>>>>>         <packaging>war</packaging>
>>>>>>         <version>1.0-SNAPSHOT</version>
>>>>>>         <build>
>>>>>>                 <plugins>
>>>>>>                         <plugin>
>>>>>>
<artifactId>maven-war-plugin</artifactId>
>>>>>>                              <configuration>
>>>>>>                                  <warName>cas</warName>
>>>>>>                              </configuration>
>>>>>>                         </plugin>
>>>>>>                 </plugins>
>>>>>>         </build>
>>>>>>         <dependencies>
>>>>>>                 <dependency>
>>>>>>                         <groupId>org.jasig.cas</groupId>
>>>>>>                         <artifactId>cas-server-webapp</artifactId>
>>>>>>                         <version>${cas.version}</version>
>>>>>>                         <type>war</type>
>>>>>>                         <scope>runtime</scope>
>>>>>>                 </dependency>
>>>>>>         </dependencies>
>>>>>>         <properties>
>>>>>>                 <cas.version>3.5.2</cas.version>
>>>>>>         </properties>
>>>>>>         <repositories>
>>>>>>              <repository>
>>>>>>                   <id>ja-sig</id>
>>>>>>                   <url>
>>>>>> http://oss.sonatype.org/content/repositories/releases/ </url>
>>>>>>              </repository>
>>>>>>         </repositories>
>>>>>> </project>
>>>>>> Let's walk through this step by step:
>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>> <project xmlns="http://maven.apache.org/POM/4.0.0";
>>>>>>          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>>>>>>          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
>>>>>> http://maven.apache.org/xsd/maven-4.0.0.xsd";>
>>>>>> </project>
>>>>>>
>>>>>>
==========================================================================
======================================
>>>>>>
>>>>>>
>>>>>> 2014-03-26 13:52 GMT+08:00 amy <[email protected]>:
>>>>>>
>>>>>>> I am new to use CAS .
>>>>>>> I am doing the project of upgrade CAS 2.x to CAS 3 latest version
, I
>>>>>>> just find these two version are very different , for example , I
just found
>>>>>>> the file web.xml in CAS2 , the corresponding file in CAS3 is
called pom.xml
>>>>>>> , am I right ?
>>>>>>> I know there are many different in this two version , could advise
>>>>>>> which configuration file has changed the file name ? if I upgrade
from CAS2
>>>>>>> to CAS3 , what I should do ? could you provide advice ?  very
thanks
>>>>>>> --
>>>>>>> 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
>>>
>>>
>>> --
>>> 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