On Fri, Mar 11, 2011 at 2:34 PM, bandroid x <[email protected]> wrote:

> ps aux | grep activemq shows this: (see the extra / before bin is that
> a problem?) i am also using java se 1.6 on my system for building
> android, not open-jdk is that a problem?
>

When you create a new repository, a message is sent to the message queue; I
think Gitorious will throw an error if it's unable to deliver that message
(timeout exceeded or equivalent on the web page).

To verify that activemq is running, you could try the admin web interface at
http://<server ip>:8161/admin
If you get this page, you could click the "Queues" link to view how many
messages have been sent to the various queues.



> /usr//bin/java -Xmx512M -
> Dorg.apache.activemq.UseDedicatedTaskRunner=true -
> Djava.util.logging.config.file=logging.properties -
> Dcom.sun.management.jmxremote -Dactivemq.classpath=/usr/local/apache-
> activemq-5.4.2/conf; -Dactivemq.home=/usr/local/apache-activemq-5.4.2 -
> Dactivemq.base=/usr/local/apache-activemq-5.4.2 -jar /usr/local/apache-
> activemq-5.4.2/bin/run.jar start
>
>
> but the message_processing.log looks ok:
>
>
> # Logfile created on Thu Mar 10 10:44:24 -0500 2011=> Subscribing to /
> queue/GitoriousMergeRequestVersionDeletion (processed by
> MergeRequestVersionProcessor)
> => Subscribing to /queue/GitoriousRepositoryArchiving (processed by
> RepositoryArchivingProcessor)
> => Subscribing to /queue/GitoriousRepositoryCreation (processed by
> RepositoryCreationProcessor)
> => Subscribing to /queue/GitoriousSshKeys (processed by
> SshKeyProcessor)
> => Subscribing to /queue/GitoriousEmailNotifications (processed by
> MessageForwardingProcessor)
> => Subscribing to /queue/GitoriousPostReceiveWebHook (processed by
> WebHookProcessor)
> => Subscribing to /queue/GitoriousRepositoryDeletion (processed by
> RepositoryDeletionProcessor)
> => Subscribing to /queue/GitoriousMergeRequestBackend (processed by
> MergeRequestGitBackendProcessor)
> => Subscribing to /queue/GitoriousMergeRequestCreation (processed by
> MergeRequestProcessor)
> => Subscribing to /queue/GitoriousPush (processed by PushProcessor)
>
>
> shouldnt it be showing something here when a repo is created?  I
> assume this is my problem but it appears to be ok.
>

At least a message should be delivered to ActiveMQ - there should be no
pending messages in the ActiveMQ admin interface. If there are, this means
your poller script hasn't picked it up.


> I tried to push to the repo for the hell of it and get this error in
> git-daemon.log
>
> 011-03-10 11:05:06 [26974] Listening on 0.0.0.0:9418...
> 2011-03-10 14:28:20 [26974] Connection from 127.0.0.1 for "/
> test_project/mainline.git"
> 2011-03-10 14:28:24 [26974] 127.0.0.1 wants "/var/git/repositories/
> test_project/mainline.git" => "/var/git/repositories/c0c/9ff/
> c5117461851f2f3eccadebc8cca5269a42.git"
> 2011-03-10 14:28:24 [26974] Invalid path: /var/git/repositories/c0c/
> 9ff/c5117461851f2f3eccadebc8cca5269a42.git
>

The git-daemon.log file only logs messages for the git:// protocol, which is
read-only. But the error message you're getting indicates the repository has
not been created on disk.

I'd recommend you try creating another repository while all services are
running; you should get no error message in the web interface while doing
so. After having done that, check message_processing.log and the ActiveMQ
admin interface to see if a new message has been delivered and consumed.

Cheers,
- Marius

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

Reply via email to