You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@archiva.apache.org by Martin Cooper <ma...@apache.org> on 2008/11/23 21:45:59 UTC

Anyone using IntelliJ IDEA?

I've been trying to set up Archiva in IDEA 8 so that I can debug it, and so
far have failed miserably. I have Archive running in Tomcat on its own, but
I can't get it to run from IDEA. I always get a "SEVERE: Error
listenerStart" error, and have been unable to resolve that, despite dredging
the net for other peoples' fixes. (BTW, I started from 'mvn idea:idea',
which seems to do a fine job of everything else.)

Is anyone else using IDEA for Archiva development? Any tips? What are other
folks here using?

Thanks!

--
Martin Cooper

Re: Anyone using IntelliJ IDEA?

Posted by Martin Cooper <ma...@apache.org>.
Hey all,

It's Thanksgiving Day here in the US, and today I am thankful that I have
finally succeeded in debugging into Archiva via IDEA on Windows. Woohoo! :-)
As a "side effect", I also now have a Linux environment set up to do the
same thing.

I'd like to thank all of the kind souls who have helped me along the way, be
it via mail, IM or IRC. You're a great bunch, Archivans!

--
Martin Cooper


On Tue, Nov 25, 2008 at 10:29 PM, Martin Cooper <ma...@apache.org> wrote:

>
>
> On Tue, Nov 25, 2008 at 3:11 PM, James William Dumay <ja...@atlassian.com>wrote:
>
>> On Tue, 2008-11-25 at 16:05 +1100, Brett Porter wrote:
>> > I haven't for a while, and when I did I still used jetty:run (though
>> > on trunk this has some other problems since the migration to struts2)
>>
>> No big problems - you just need to run jetty:run-war.
>
>
> Run it from where? If I run it from archiva-jetty, it can't find the war
> file. If I run it from archiva-webapp, I get the following:
>
>
> 2008-11-25 21:26:56.890::WARN:  Configuration problem at <resource-ref>
>                 <res-ref-name>jdbc/users</res-ref-name>
>                 <res-type>javax.sql.DataSource</res-type>
>                 <res-auth>Container</res-auth>
>                 <res-sharing-scope>Shareable</res-sharing-scope>
>         </resource-ref>
> javax.naming.NameNotFoundException: No resource to bind matching
> name=jdbc/users
>
>
> I'd be more than happy to write up a wiki page on how to get going with
> Archiva development once I've sorted all this out. Right now, though, I'm
> finding it *very* frustrating, perhaps because there appears to be a good
> deal of shared knowledge of how it all works, but that knowledge is not
> available to newcomers because it is simply not documented.
>
> --
> Martin Cooper
>
>
> James
>>
>>
>

Re: Anyone using IntelliJ IDEA?

Posted by Martin Cooper <ma...@apache.org>.
On Tue, Nov 25, 2008 at 3:11 PM, James William Dumay <ja...@atlassian.com>wrote:

> On Tue, 2008-11-25 at 16:05 +1100, Brett Porter wrote:
> > I haven't for a while, and when I did I still used jetty:run (though
> > on trunk this has some other problems since the migration to struts2)
>
> No big problems - you just need to run jetty:run-war.


Run it from where? If I run it from archiva-jetty, it can't find the war
file. If I run it from archiva-webapp, I get the following:


2008-11-25 21:26:56.890::WARN:  Configuration problem at <resource-ref>
                <res-ref-name>jdbc/users</res-ref-name>
                <res-type>javax.sql.DataSource</res-type>
                <res-auth>Container</res-auth>
                <res-sharing-scope>Shareable</res-sharing-scope>
        </resource-ref>
javax.naming.NameNotFoundException: No resource to bind matching
name=jdbc/users


I'd be more than happy to write up a wiki page on how to get going with
Archiva development once I've sorted all this out. Right now, though, I'm
finding it *very* frustrating, perhaps because there appears to be a good
deal of shared knowledge of how it all works, but that knowledge is not
available to newcomers because it is simply not documented.

--
Martin Cooper


James
>
>

Re: Anyone using IntelliJ IDEA?

Posted by James William Dumay <ja...@atlassian.com>.
On Tue, 2008-11-25 at 16:05 +1100, Brett Porter wrote:
> I haven't for a while, and when I did I still used jetty:run (though  
> on trunk this has some other problems since the migration to struts2)

No big problems - you just need to run jetty:run-war.

James


Re: Anyone using IntelliJ IDEA?

Posted by Brett Porter <br...@apache.org>.
I haven't for a while, and when I did I still used jetty:run (though  
on trunk this has some other problems since the migration to struts2)

I know Tomcat's SEVERE: Error listenerStart message will never yield  
you any useful info though, and basically resort to debugging into all  
the servlet context listeners on startup to see what the real cause is.

- Brett

On 24/11/2008, at 7:45 AM, Martin Cooper wrote:

> I've been trying to set up Archiva in IDEA 8 so that I can debug it,  
> and so
> far have failed miserably. I have Archive running in Tomcat on its  
> own, but
> I can't get it to run from IDEA. I always get a "SEVERE: Error
> listenerStart" error, and have been unable to resolve that, despite  
> dredging
> the net for other peoples' fixes. (BTW, I started from 'mvn  
> idea:idea',
> which seems to do a fine job of everything else.)
>
> Is anyone else using IDEA for Archiva development? Any tips? What  
> are other
> folks here using?
>
> Thanks!
>
> --
> Martin Cooper

--
Brett Porter
brett@apache.org
http://blogs.exist.com/bporter/