rave-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anne-Hélène Turpin <anne-helene.tur...@renater.fr>
Subject Re: Need help to configure Eclipse
Date Fri, 03 Feb 2012 14:17:55 GMT
It's Ok !!! I get to run the remote debugging mode within Eclipse !

Anne-Hélène

Le 03/02/12 12:39, Anne-Hélène Turpin a écrit :
> Thank you for your help. I don't need to use Eclipse WTP. I could use 
> Remote debugging within Eclipse through maven from the command line 
> and FileSync plugin.
> So, I uninstall Eclipse WTP.
>
> I read once more the web page documentation. But I don't know how to 
> attach the Eclipse debugger to cargo. I try to add a new server, but I 
> haven't cargo in the server type list. If I choose a Tomcat6 server, 
> Which directory may I choose ? A directory in the rave project ? A 
> directory in the local maven repository ? A local directory where I 
> have downloaded Tomcat6 and added some arguments to the CATALINA_OPTS 
> variable ?
>
> And then, How I can debug ? May I add a Remote Java Application in the 
> debug configuration for rave-shindig and rave-portal ? Which sources 
> do I choose ? What is the common configuration ?
>
> And finally, when I want debug, may I start cargo with the maven 
> command line ? Or May I start Tomcat or Cargo in Eclipse ? ...
>
> I think I need a practical guide for beginners ;)
>
> Anne-Hélène
>
> Le 02/02/12 17:22, Ate Douma a écrit :
>> On 02/01/2012 06:40 PM, Anne-Hélène Turpin wrote:
>>> Hi,
>>>
>>> We are more and more interesting to use Apache Rave to build our own 
>>> portal. I
>>> have to realize some tests and integrate some gadgets in order to 
>>> verify the
>>> method we can use.
>>>
>>> So I want install Rave into my Eclipse. I follow the instruction of the
>>> documentation web page but I have a failure when I start my Tomcat 
>>> Server.
>>>
>>> 1 - I install Eclipse, subeclipse, m2eclipse and FileSync. (I 
>>> already have a
>>> tomcat server).
>>> 2 - I check out the project. I have no compilation error.
>>> 3 - I build the project with maven (mvn install).
>>> 4 - I refresh my workspace into Eclipse.
>>> 5 - I modify the "Deployment Assembly" property and the context root of
>>> rave-portal and rave-shindig.
>>> 6 - I add my two webapps "rave-portal" and "rave-shindig" to the 
>>> tomcat server.
>>> 7 - And finally, I start the server and I have 189 errors...
>>
>> From the above steps it looks like you're trying to use Eclipse WTP, 
>> right?
>> At least step 5) indicates this.
>> However from 1) above you seem not to have installed the prerequisite 
>> m2eclipse-wtp integration. Possibly that is (part of) the problem here.
>> And if using Eclipse WTP you probably don't need/want to use also the 
>> FileSync plugin either.
>>
>> To be honest, I'm not using Eclipse WTP as it caused too many 
>> problems for me in the past and I'm not sure any of the other 
>> developers are.
>>
>> I only use Eclipse+FileSync plugin, and run Rave through maven from 
>> the commmand line and use remote debugging from within Eclipse. Which 
>> works pretty well for me so far.
>>
>> Of course I or others would like to help you out, also if you want or 
>> need to use Eclipse WTP. But in that case it is important to know the 
>> versions of each (Eclipse) component you're using, e.g. which version 
>> of Eclipse, WTP, m2eclipse, etc. so we can try to reproduce your setup.
>>
>> Regards, Ate
>>
>>> Here is one :
>>> /" GRAVE: Exception lors de l'envoi de l'�v�nement contexte 
>>> initialis� (context
>>> initialized) � l'instance de classe d'�coute (listener)
>>> org.apache.rave.inject.GuiceBindingSpringContextLoaderListener
>>> com.google.inject.CreationException: Guice creation errors:
>>>
>>> 1) No implementation for java.lang.Boolean annotated with
>>> @com.google.inject.name.Named(value=org.apache.shindig.auth.oauth2-require-ssl)

>>>
>>> was bound.
>>> while locating java.lang.Boolean annotated with
>>> @com.google.inject.name.Named(value=org.apache.shindig.auth.oauth2-require-ssl)

>>>
>>> for parameter 1 at
>>> org.apache.shindig.auth.UrlParameterAuthenticationHandler.<init>(UrlParameterAuthenticationHandler.java:44)

>>>
>>> while locating 
>>> org.apache.shindig.auth.UrlParameterAuthenticationHandler
>>> for parameter 1 at
>>> org.apache.shindig.social.core.oauth.AuthenticationHandlerProvider.<init>(AuthenticationHandlerProvider.java:40)

>>>
>>> at
>>> org.apache.shindig.social.core.config.SocialApiGuiceModule.configure(SocialApiGuiceModule.java:79)

>>>
>>> "/
>>> These are all the same (with different type and different value).
>>>
>>> I begin with these technologies.
>>>
>>> Thank you again for your help and your answers.
>>> Anne-Hélène
>>>
>>> -- 
>>> Anne-Hélène TURPIN
>>> Renater
>>> Service Applicatif aux Utilisateurs
>>> Tel : +33 2 23 23 71 42
>>>
>>
>>
>
>


-- 
Anne-Hélène TURPIN
Renater
Service Applicatif aux Utilisateurs
Tel : +33 2 23 23 71 42



Mime
View raw message