You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by Kurt Guenther <ku...@gmail.com> on 2010/05/13 16:29:37 UTC

Newbie - Can't login

I'm using Gentoo Linux and installed apache-continuum-1.3.6 under a user 
account with plenty of disk space, etc.  (I had to make a minor change 
to the bin/continuum script, but no biggie.)

I run "continuum console" and jetty comes up on port 8080.  I update my 
admin info and I'm taken to a login screen, but I can't login.

continuum-security-audit.log:
2010-05-13 06:53:52 -  - Successful Login for user admin

But, I'm taken straight back to the login screen.   Hm, ....    I'm lost.

Tail of continuum log below.

--Kurt


2010-05-13 06:38:38,175 [btpool0-7] INFO  
com.opensymphony.xwork2.validator.ActionValidatorManagerFactory  - 
Detected AnnotationActionValidatorManager, initializing it...
2010-05-13 06:39:06,842 [btpool0-7] INFO  
org.codehaus.plexus.redback.struts2.action.admin.AddAdminUserAction  - 
user = UserCredentials[username=admin,fullName=Build 
Admin,email=kurtg8080@gmail.com,password=<***>,confirmPassword=<***>]
2010-05-13 06:39:07,231 [btpool0-7] INFO  
org.codehaus.plexus.redback.struts2.interceptor.ForceAdminUserInterceptor  
- Admin user found. No need to configure admin user.
2010-05-13 06:39:07,446 [btpool0-6] INFO  
org.apache.maven.continuum.web.action.admin.ConfigurationAction  - 
baseUrl='http://enigma:8080/continuum'
2010-05-13 06:39:18,162 [btpool0-2] INFO  
org.apache.maven.continuum.web.action.admin.ConfigurationAction  - 
baseUrl='http://enigma:8080/continuum'
2010-05-13 06:39:39,619 [btpool0-2] INFO  
org.apache.maven.continuum.web.action.admin.ConfigurationAction  - 
baseUrl='http://enigma:8080/continuum'
2010-05-13 06:53:31,823 [btpool0-7] INFO  
org.apache.maven.continuum.web.action.admin.ConfigurationAction  - 
baseUrl='http://enigma:8080/continuum'
2010-05-13 06:53:52,850 [btpool0-6] INFO  
org.apache.maven.continuum.web.action.admin.ConfigurationAction  - 
baseUrl='http://enigma:8080/continuum'


Re: Newbie - Can't login

Posted by Kurt Guenther <ku...@gmail.com>.
Hi Wendy,

I had to alter this line:

# Resolve the architecture
DIST_ARCH=`uname -m | tr [:upper:] [:lower:] | tr -d [:blank:]`

On my gentoo machine, `uname -p` gives:

Intel(R) Pentium(R) 4 CPU 2.80GHz

`uname -m` gives the following:

i686

--Kurt


On 5/14/2010 11:44 AM, Wendy Smoak wrote:
> On Fri, May 14, 2010 at 9:58 AM, Kurt Guenther<ku...@gmail.com>  wrote:
>
>    
>> Yes, I tried a different browser (different cookies) and even reinstalled to
>> make sure I didn't fat finger the password.
>>      
> Do you see anything interesting in any of the other log files?
>
> As Deng mentioned, when it "thinks" you are not logged in, it's
> usually a problem with browser cookies.
>
> Not that it's related, but I'm curious what change you needed to make
> to the startup script?
>
> I usually do 'continuum start' (unless I'm on Windows) -- but that
> shouldn't cause this problem either.  It generally Just Works for me
> on Mac OSX and Ubuntu Linux.
>
>    


Re: Distributed ant

Posted by Marica Tan <ma...@gmail.com>.
I think this will get fixed by Gwen's patch for CONTINUUM-2454.

I'm just waiting for his changes on the selenium tests before committing it
to trunk.


Thanks,
--
Marica

On Thu, May 20, 2010 at 10:27 PM, Alf Potgieter <Al...@discovery.co.za>wrote:

> I fixed it locally, from what I can make out 1.3.6 works the same. It
> populates the maven project information in the context before checking if it
> should build.
> The check (somewhere over in a distributed client server master or
> something) only uses the maven info if it is a maven build, so ignoring it
> if there is no project is ok.
>
> I will be trying 1.3.6 as well
>
> alf
>
> diff -Naur
> core/org/apache/continuum/buildagent/taskqueue/execution/BuildProjectTaskExecutor.java
> core-patched/org/apache/continuum/buildagent/taskqueue/execution/BuildProjectTaskExecutor.java
> ---
> core/org/apache/continuum/buildagent/taskqueue/execution/BuildProjectTaskExecutor.java
>      2009-08-24 14:51:54.000000000 +0000
> +++
> core-patched/org/apache/continuum/buildagent/taskqueue/execution/BuildProjectTaskExecutor.java
>      2010-05-20 14:18:02.000000000 +0000
> @@ -514,11 +514,13 @@
>
>             MavenProject project = buildExecutor.getMavenProject(
> workingDirectory, buildDefinition );
>
> -            mavenProject.put( ContinuumBuildAgentUtil.KEY_PROJECT_VERSION,
> project.getVersion() );
> -
> -            if ( project.getModules() != null )
> +            if (project !=null )
>             {
> -                mavenProject.put(
> ContinuumBuildAgentUtil.KEY_PROJECT_MODULES, project.getModules() );
> +                mavenProject.put(
> ContinuumBuildAgentUtil.KEY_PROJECT_VERSION, project.getVersion() );
> +                if ( project.getModules() != null )
> +                {
> +                    mavenProject.put(
> ContinuumBuildAgentUtil.KEY_PROJECT_MODULES, project.getModules() );
> +                }
>             }
>         }
>         catch ( ContinuumAgentBuildExecutorException e )
>
>
>
> -----Original Message-----
> From: Wendy Smoak [mailto:wsmoak@gmail.com]
> Sent: Thursday 20 May 2010 15:57
> To: users@continuum.apache.org
> Subject: Re: Distributed ant
>
> On Thu, May 20, 2010 at 5:03 AM, Alf Potgieter <Al...@discovery.co.za>
> wrote:
> > Has anyone managed to do a distributed continuum build using ant? I'm
> using continuum 1.3.4 and nothing happens.
>
> I've never tried it, but we'll need more information about how you're
> configuring it in order to help.  It would also be good to try 1.3.6
> just in cased something changed.
>
> (Regardless, it should not be throwing a NPE at you, so there is a bug
> somewhere.)
>
> --
> Wendy
> Discovery Holdings Limited
>
> Registration number: 1999/007789/06
>
> This message and any attachments are confidential and intended solely for
> the addressee. If you have received this message in error, please notify
> Discovery immediately, telephone number +27 11 529 2888. Any unauthorised
> use; alteration or dissemination of the contents of this email is strictly
> prohibited. In no event will Discovery or the sender be liable in any manner
> whatsoever to any person for any loss or any direct, indirect, special or
> consequential damages arising from use of this email or any linked website,
> including, without limitation, from any lost profits, business interruption,
> loss of programmes or other data that may be stored on any information
> handling system or otherwise from any assurance that this email is virus
> free even if Discovery is expressly advised of the possibility of such
> damages. Discovery is an Authorised Financial Services Provider. A full list
> of directors is available on our website at
>
> https://www.discovery.co.za/index_login.jhtml?p_content=/investor_relations/directorate.jhtmlalternatively, to obtain a full list of Directors via email, please email
> directors_list@discovery.co.za
>
>
>

RE: Distributed ant

Posted by Alf Potgieter <Al...@discovery.co.za>.
I fixed it locally, from what I can make out 1.3.6 works the same. It populates the maven project information in the context before checking if it should build.
The check (somewhere over in a distributed client server master or something) only uses the maven info if it is a maven build, so ignoring it if there is no project is ok.

I will be trying 1.3.6 as well

alf

diff -Naur core/org/apache/continuum/buildagent/taskqueue/execution/BuildProjectTaskExecutor.java core-patched/org/apache/continuum/buildagent/taskqueue/execution/BuildProjectTaskExecutor.java
--- core/org/apache/continuum/buildagent/taskqueue/execution/BuildProjectTaskExecutor.java      2009-08-24 14:51:54.000000000 +0000
+++ core-patched/org/apache/continuum/buildagent/taskqueue/execution/BuildProjectTaskExecutor.java      2010-05-20 14:18:02.000000000 +0000
@@ -514,11 +514,13 @@

             MavenProject project = buildExecutor.getMavenProject( workingDirectory, buildDefinition );

-            mavenProject.put( ContinuumBuildAgentUtil.KEY_PROJECT_VERSION, project.getVersion() );
-
-            if ( project.getModules() != null )
+            if (project !=null )
             {
-                mavenProject.put( ContinuumBuildAgentUtil.KEY_PROJECT_MODULES, project.getModules() );
+                mavenProject.put( ContinuumBuildAgentUtil.KEY_PROJECT_VERSION, project.getVersion() );
+                if ( project.getModules() != null )
+                {
+                    mavenProject.put( ContinuumBuildAgentUtil.KEY_PROJECT_MODULES, project.getModules() );
+                }
             }
         }
         catch ( ContinuumAgentBuildExecutorException e )



-----Original Message-----
From: Wendy Smoak [mailto:wsmoak@gmail.com] 
Sent: Thursday 20 May 2010 15:57
To: users@continuum.apache.org
Subject: Re: Distributed ant

On Thu, May 20, 2010 at 5:03 AM, Alf Potgieter <Al...@discovery.co.za> wrote:
> Has anyone managed to do a distributed continuum build using ant? I'm using continuum 1.3.4 and nothing happens.

I've never tried it, but we'll need more information about how you're
configuring it in order to help.  It would also be good to try 1.3.6
just in cased something changed.

(Regardless, it should not be throwing a NPE at you, so there is a bug
somewhere.)

-- 
Wendy
Discovery Holdings Limited

Registration number: 1999/007789/06

This message and any attachments are confidential and intended solely for the addressee. If you have received this message in error, please notify Discovery immediately, telephone number +27 11 529 2888. Any unauthorised use; alteration or dissemination of the contents of this email is strictly prohibited. In no event will Discovery or the sender be liable in any manner whatsoever to any person for any loss or any direct, indirect, special or consequential damages arising from use of this email or any linked website, including, without limitation, from any lost profits, business interruption, loss of programmes or other data that may be stored on any information handling system or otherwise from any assurance that this email is virus free even if Discovery is expressly advised of the possibility of such damages. Discovery is an Authorised Financial Services Provider. A full list of directors is available on our website at 
https://www.discovery.co.za/index_login.jhtml?p_content=/investor_relations/directorate.jhtml alternatively, to obtain a full list of Directors via email, please email directors_list@discovery.co.za

 

Re: Distributed ant

Posted by Wendy Smoak <ws...@gmail.com>.
On Thu, May 20, 2010 at 5:03 AM, Alf Potgieter <Al...@discovery.co.za> wrote:
> Has anyone managed to do a distributed continuum build using ant? I'm using continuum 1.3.4 and nothing happens.

I've never tried it, but we'll need more information about how you're
configuring it in order to help.  It would also be good to try 1.3.6
just in cased something changed.

(Regardless, it should not be throwing a NPE at you, so there is a bug
somewhere.)

-- 
Wendy

Re: Distributed ant

Posted by Gwen Harold Autencio <gw...@yahoo.com>.
Hi alf,

Have you tried specifying the build file in the build definition of the project group or the project ?


--- On Thu, 5/20/10, Alf Potgieter <Al...@discovery.co.za> wrote:

> From: Alf Potgieter <Al...@discovery.co.za>
> Subject: Distributed ant
> To: "users@continuum.apache.org" <us...@continuum.apache.org>
> Date: Thursday, May 20, 2010, 5:03 PM
> Has anyone managed to do a
> distributed continuum build using ant? I'm using continuum
> 1.3.4 and nothing happens.
> 
> On the buildagent I get this:
> ERROR taskQueueExecutor#build-agent  - Error executing
> task
> edu.emory.mathcs.backport.java.util.concurrent.ExecutionException:
> java.lang.NullPointerException
>         at
> edu.emory.mathcs.backport.java.util.concurrent.FutureTask.getResult(FutureTask.java:299)
>         at
> edu.emory.mathcs.backport.java.util.concurrent.FutureTask.get(FutureTask.java:118)
>         at
> org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.waitForTask(ThreadedTaskQueueExecutor.java:159)
>         at
> org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:127)
> Caused by: java.lang.NullPointerException
>         at
> org.apache.continuum.buildagent.taskqueue.execution.BuildProjectTaskExecutor.getMavenProject(BuildProjectTaskExecutor.java:517)
>         at
> org.apache.continuum.buildagent.taskqueue.execution.BuildProjectTaskExecutor.shouldBuild(BuildProjectTaskExecutor.java:405)
>         at
> org.apache.continuum.buildagent.taskqueue.execution.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:117)
>         at
> org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
>         at
> edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
>         at
> edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
>         at
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
>         at
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
>         at
> java.lang.Thread.run(Thread.java:619)
> alf
> Discovery Holdings Limited
> 
> Registration number: 1999/007789/06
> 
> This message and any attachments are confidential and
> intended solely for the addressee. If you have received this
> message in error, please notify Discovery immediately,
> telephone number +27 11 529 2888. Any unauthorised use;
> alteration or dissemination of the contents of this email is
> strictly prohibited. In no event will Discovery or the
> sender be liable in any manner whatsoever to any person for
> any loss or any direct, indirect, special or consequential
> damages arising from use of this email or any linked
> website, including, without limitation, from any lost
> profits, business interruption, loss of programmes or other
> data that may be stored on any information handling system
> or otherwise from any assurance that this email is virus
> free even if Discovery is expressly advised of the
> possibility of such damages. Discovery is an Authorised
> Financial Services Provider. A full list of directors is
> available on our website at 
> https://www.discovery.co.za/index_login.jhtml?p_content=/investor_relations/directorate.jhtml
> alternatively, to obtain a full list of Directors via email,
> please email directors_list@discovery.co.za
> 
>  
> 


      

Distributed ant

Posted by Alf Potgieter <Al...@discovery.co.za>.
Has anyone managed to do a distributed continuum build using ant? I'm using continuum 1.3.4 and nothing happens.

On the buildagent I get this:
ERROR taskQueueExecutor#build-agent  - Error executing task
edu.emory.mathcs.backport.java.util.concurrent.ExecutionException: java.lang.NullPointerException
        at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.getResult(FutureTask.java:299)
        at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.get(FutureTask.java:118)
        at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.waitForTask(ThreadedTaskQueueExecutor.java:159)
        at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:127)
Caused by: java.lang.NullPointerException
        at org.apache.continuum.buildagent.taskqueue.execution.BuildProjectTaskExecutor.getMavenProject(BuildProjectTaskExecutor.java:517)
        at org.apache.continuum.buildagent.taskqueue.execution.BuildProjectTaskExecutor.shouldBuild(BuildProjectTaskExecutor.java:405)
        at org.apache.continuum.buildagent.taskqueue.execution.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:117)
        at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
        at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
        at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
        at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
        at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
        at java.lang.Thread.run(Thread.java:619)
alf
Discovery Holdings Limited

Registration number: 1999/007789/06

This message and any attachments are confidential and intended solely for the addressee. If you have received this message in error, please notify Discovery immediately, telephone number +27 11 529 2888. Any unauthorised use; alteration or dissemination of the contents of this email is strictly prohibited. In no event will Discovery or the sender be liable in any manner whatsoever to any person for any loss or any direct, indirect, special or consequential damages arising from use of this email or any linked website, including, without limitation, from any lost profits, business interruption, loss of programmes or other data that may be stored on any information handling system or otherwise from any assurance that this email is virus free even if Discovery is expressly advised of the possibility of such damages. Discovery is an Authorised Financial Services Provider. A full list of directors is available on our website at 
https://www.discovery.co.za/index_login.jhtml?p_content=/investor_relations/directorate.jhtml alternatively, to obtain a full list of Directors via email, please email directors_list@discovery.co.za

 

Re: Newbie - Can't login

Posted by Wendy Smoak <ws...@gmail.com>.
On Fri, May 14, 2010 at 9:58 AM, Kurt Guenther <ku...@gmail.com> wrote:

> Yes, I tried a different browser (different cookies) and even reinstalled to
> make sure I didn't fat finger the password.

Do you see anything interesting in any of the other log files?

As Deng mentioned, when it "thinks" you are not logged in, it's
usually a problem with browser cookies.

Not that it's related, but I'm curious what change you needed to make
to the startup script?

I usually do 'continuum start' (unless I'm on Windows) -- but that
shouldn't cause this problem either.  It generally Just Works for me
on Mac OSX and Ubuntu Linux.

-- 
Wendy

Re: Newbie - Can't login

Posted by Kurt Guenther <ku...@gmail.com>.
Yes, I tried a different browser (different cookies) and even 
reinstalled to make sure I didn't fat finger the password.

I've used other automated build systems, but I thought I'd give 
Continuum a trial.

--Kurt



On 5/13/2010 8:52 PM, Deng Ching wrote:
> If you try accessing Continuum using the IP address (ex.
> http://192.168.241.111:8080/continuum) of the machine where it is running,
> are you able to login successfully? Have you also tried clearing your
> browser's cache? Maybe there was a mix up with the cookies..
>
> Thanks,
> Deng
>
> On Thu, May 13, 2010 at 10:29 PM, Kurt Guenther<ku...@gmail.com>  wrote:
>
>    
>> I'm using Gentoo Linux and installed apache-continuum-1.3.6 under a user
>> account with plenty of disk space, etc.  (I had to make a minor change to
>> the bin/continuum script, but no biggie.)
>>
>> I run "continuum console" and jetty comes up on port 8080.  I update my
>> admin info and I'm taken to a login screen, but I can't login.
>>
>> continuum-security-audit.log:
>> 2010-05-13 06:53:52 -  - Successful Login for user admin
>>
>> But, I'm taken straight back to the login screen.   Hm, ....    I'm lost.
>>
>> Tail of continuum log below.
>>
>> --Kurt
>>
>>
>> 2010-05-13 06:38:38,175 [btpool0-7] INFO
>>   com.opensymphony.xwork2.validator.ActionValidatorManagerFactory  - Detected
>> AnnotationActionValidatorManager, initializing it...
>> 2010-05-13 06:39:06,842 [btpool0-7] INFO
>>   org.codehaus.plexus.redback.struts2.action.admin.AddAdminUserAction  - user
>> = UserCredentials[username=admin,fullName=Build Admin,email=
>> kurtg8080@gmail.com,password=<***>,confirmPassword=<***>]
>> 2010-05-13 06:39:07,231 [btpool0-7] INFO
>>   org.codehaus.plexus.redback.struts2.interceptor.ForceAdminUserInterceptor
>>   - Admin user found. No need to configure admin user.
>> 2010-05-13 06:39:07,446 [btpool0-6] INFO
>>   org.apache.maven.continuum.web.action.admin.ConfigurationAction  -
>> baseUrl='http://enigma:8080/continuum'
>> 2010-05-13 06:39:18,162 [btpool0-2] INFO
>>   org.apache.maven.continuum.web.action.admin.ConfigurationAction  -
>> baseUrl='http://enigma:8080/continuum'
>> 2010-05-13 06:39:39,619 [btpool0-2] INFO
>>   org.apache.maven.continuum.web.action.admin.ConfigurationAction  -
>> baseUrl='http://enigma:8080/continuum'
>> 2010-05-13 06:53:31,823 [btpool0-7] INFO
>>   org.apache.maven.continuum.web.action.admin.ConfigurationAction  -
>> baseUrl='http://enigma:8080/continuum'
>> 2010-05-13 06:53:52,850 [btpool0-6] INFO
>>   org.apache.maven.continuum.web.action.admin.ConfigurationAction  -
>> baseUrl='http://enigma:8080/continuum'
>>
>>
>>      
>    


Re: Newbie - Can't login

Posted by Deng Ching <oc...@apache.org>.
If you try accessing Continuum using the IP address (ex.
http://192.168.241.111:8080/continuum) of the machine where it is running,
are you able to login successfully? Have you also tried clearing your
browser's cache? Maybe there was a mix up with the cookies..

Thanks,
Deng

On Thu, May 13, 2010 at 10:29 PM, Kurt Guenther <ku...@gmail.com> wrote:

>
> I'm using Gentoo Linux and installed apache-continuum-1.3.6 under a user
> account with plenty of disk space, etc.  (I had to make a minor change to
> the bin/continuum script, but no biggie.)
>
> I run "continuum console" and jetty comes up on port 8080.  I update my
> admin info and I'm taken to a login screen, but I can't login.
>
> continuum-security-audit.log:
> 2010-05-13 06:53:52 -  - Successful Login for user admin
>
> But, I'm taken straight back to the login screen.   Hm, ....    I'm lost.
>
> Tail of continuum log below.
>
> --Kurt
>
>
> 2010-05-13 06:38:38,175 [btpool0-7] INFO
>  com.opensymphony.xwork2.validator.ActionValidatorManagerFactory  - Detected
> AnnotationActionValidatorManager, initializing it...
> 2010-05-13 06:39:06,842 [btpool0-7] INFO
>  org.codehaus.plexus.redback.struts2.action.admin.AddAdminUserAction  - user
> = UserCredentials[username=admin,fullName=Build Admin,email=
> kurtg8080@gmail.com,password=<***>,confirmPassword=<***>]
> 2010-05-13 06:39:07,231 [btpool0-7] INFO
>  org.codehaus.plexus.redback.struts2.interceptor.ForceAdminUserInterceptor
>  - Admin user found. No need to configure admin user.
> 2010-05-13 06:39:07,446 [btpool0-6] INFO
>  org.apache.maven.continuum.web.action.admin.ConfigurationAction  -
> baseUrl='http://enigma:8080/continuum'
> 2010-05-13 06:39:18,162 [btpool0-2] INFO
>  org.apache.maven.continuum.web.action.admin.ConfigurationAction  -
> baseUrl='http://enigma:8080/continuum'
> 2010-05-13 06:39:39,619 [btpool0-2] INFO
>  org.apache.maven.continuum.web.action.admin.ConfigurationAction  -
> baseUrl='http://enigma:8080/continuum'
> 2010-05-13 06:53:31,823 [btpool0-7] INFO
>  org.apache.maven.continuum.web.action.admin.ConfigurationAction  -
> baseUrl='http://enigma:8080/continuum'
> 2010-05-13 06:53:52,850 [btpool0-6] INFO
>  org.apache.maven.continuum.web.action.admin.ConfigurationAction  -
> baseUrl='http://enigma:8080/continuum'
>
>