You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by cuatez <cu...@yahoo.com> on 2008/12/02 06:37:54 UTC

Re: Cannot install any Geronimo Sample apps

I installed Geronimo 2.1.3 (from this site:
http://geronimo.apache.org/apache-geronimo-v213-release.html)
It should be working per your comments. Any idea where I can start
debugging?


-- 
View this message in context: http://www.nabble.com/Cannot-install-any-Geronimo-Sample-apps-tp20662280s134p20786450.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Re: Cannot install any Geronimo Sample apps

Posted by Donald Woods <dw...@apache.org>.
Vista introduces new security constraints, so some simple questions to 
help debug what's going on (as I don't have a Vista machine to test with) -

- Are you running Geronimo under the same User as it was 
installed/extracted with?

- Does the user account you're running Geronimo under have Admin rights 
or is just a User?

- Where did you extract Geronimo too?  Under your \Users\<uid>\ 
directory or to something like C:\ ?  Extracting it to a location 
outside your home directory would be a problem for normal users.  I was 
just setting up a new Win2008 Server and noticed I could extract files 
to c:\geronimo, but did not have the rights as a user to modify/delete 
files (just create them) until I edited the default permissions for the 
directory.  Maybe this is your problem on Vista...


-Donald


cuatez wrote:
> I followed your steps on a WIndows XP machine ant it all worked great.
> My previous failed attempts were on a machine running Windows Vista. Any
> known issues with Vista and Geronimo?
> 
> Thanks for your help!

Re: Cannot install any Geronimo Sample apps

Posted by cuatez <cu...@yahoo.com>.
Yes, I used ""Update Repository List".
-- 
View this message in context: http://www.nabble.com/Cannot-install-any-Geronimo-Sample-apps-tp20662280s134p20844956.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Re: Cannot install any Geronimo Sample apps

Posted by Donald Woods <dw...@apache.org>.
Did you use the "Update Repository List" option before trying to install 
the plugin this time?  I ran into a case yesterday where I had to use 
the Update option before I could install the DayTrader plugins from a 
manually added repo....


-Donald


cuatez wrote:
> Well, it started again from scratch on Vista, following your instructions,
> and it worked fine. 
> I originally had troubles because I did not see this repository:
>  
> https://svn.apache.org/repos/asf/geronimo/samples/tags/samples-parent-2.1.2 
> I did not know it would appear automatically by first clicking update
> repositories (or I just should have added it). That seems to have made the
> difference. The earlier issues I was having seem to stem from the fact that
> I downloaded the samples source and tried to build and deploy.
> 
> Thanks so much for all your help!
> 

Re: Cannot install any Geronimo Sample apps

Posted by cuatez <cu...@yahoo.com>.
Well, it started again from scratch on Vista, following your instructions,
and it worked fine. 
I originally had troubles because I did not see this repository:
 
https://svn.apache.org/repos/asf/geronimo/samples/tags/samples-parent-2.1.2 
I did not know it would appear automatically by first clicking update
repositories (or I just should have added it). That seems to have made the
difference. The earlier issues I was having seem to stem from the fact that
I downloaded the samples source and tried to build and deploy.

Thanks so much for all your help!

-- 
View this message in context: http://www.nabble.com/Cannot-install-any-Geronimo-Sample-apps-tp20662280s134p20841109.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Re: Cannot install any Geronimo Sample apps

Posted by Joe Bohn <jo...@earthlink.net>.
I looked back at your original post and it looks like you were 
attempting to install from your local repo rather than from the 2.1.2 
samples repo (and the geronimo repo you mentioned seeing didn't quite 
make sense as it contained the wrong version).  So I'm not sure of the 
exact scenario/repo/etc... on your Vista attempt.  You should be able to 
install the plugin from a local build of the samples if you pulled the 
source from 
https://svn.apache.org/repos/asf/geronimo/samples/tags/samples-parent-2.1.2 
or the working development branch: 
https://svn.apache.org/repos/asf/geronimo/samples/branches/2.1.  If not, 
then there is a problem.

In short, if you can recreate the problem and provide some more details 
on Vista (such as the names of the missing dependencies) then it would 
be helpful to open a JIRA.  I'd also be interested in knowing if you can 
successfully install the plugin on Vista using the samples 2.1.2 plugin 
repository.

Thanks,
Joe

cuatez wrote:
> Yeah, I could start the server. I could get as far as the sample plugin
> install screen. After clicking install, it fails. Should I file a bug?
> 
> 


Re: Cannot install any Geronimo Sample apps

Posted by cuatez <cu...@yahoo.com>.
Yeah, I could start the server. I could get as far as the sample plugin
install screen. After clicking install, it fails. Should I file a bug?


-- 
View this message in context: http://www.nabble.com/Cannot-install-any-Geronimo-Sample-apps-tp20662280s134p20819662.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Re: Cannot install any Geronimo Sample apps

Posted by Joe Bohn <jo...@earthlink.net>.
There have been a few people posting about some problems on Vista.  Most 
of those seem to be related to issues starting the server and/or using 
eclipse.  It sounded like you were beyond any of those problems.  I 
haven't tried Vista myself so I don't have any first hand knowledge.  It 
seems like it should work.

Joe

cuatez wrote:
> I followed your steps on a WIndows XP machine ant it all worked great.
> My previous failed attempts were on a machine running Windows Vista. Any
> known issues with Vista and Geronimo?
> 
> Thanks for your help!


Re: Cannot install any Geronimo Sample apps

Posted by cuatez <cu...@yahoo.com>.
I followed your steps on a WIndows XP machine ant it all worked great.
My previous failed attempts were on a machine running Windows Vista. Any
known issues with Vista and Geronimo?

Thanks for your help!
-- 
View this message in context: http://www.nabble.com/Cannot-install-any-Geronimo-Sample-apps-tp20662280s134p20808943.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Re: Cannot install any Geronimo Sample apps

Posted by Joe Bohn <jo...@earthlink.net>.
If you are using the 2.1.3 jetty javaee5 assembly 
(geronimo-jetty6-javaee5-2.1.3) then I am a little confused by your 
earlier statements on the repositories you see in the plugins portlet. 
They don't seem to be the list I would expect (see below).

Also, there are some issues installing plugins using the web console 
from a jetty server involving dwr.  IIRC things should install but the 
web console may freeze and you will see some dwr errors in the command 
window.  If you want a smoother ride you might want to switch to the 
tomcat server (geronimo-tomcat6-javaee5-2.1.2.zip)


Try the following and let me know where you see differences:
- Start from a clean slate.  Get the the geronimo-jetty6-javaee5-2.1.3 
zip or tomcat referenced above and unpack it.
- start the server
- connect to the web console (http://localhost:8080/console)
- click on Plugins under Navigation in the left hand navigation panel
- click on "Update Repository List" in the Install Plugins portlet
- When you look at the list of repositories you should see three:
   - http://geronimo.apache.org/plugins/geroniom-2.1.3/
   - http://geronimo.apache.org/plugins/samples-2.1.2/
   - file:/... (pointing to your local maven repo if you have built 
something locally)
- Select the second repository (samples-2.1.2) and then click on "Show 
Plugins in selected repository"
- Choose just one sample - let's pick the calculator plugin for the 
appropriate server you installed (tomcat or jetty).
- You should then see some info on the plugin and it's dependencies. 
Select "install" to install it.
- When the install is complete you should see a list of the dependencies 
that were either already present or installed.  For this sample all of 
the dependencies should already be installed.
- Next, you should be able to access the running sample using 
http://localhost:8080/calculator

NOTE:  If you use Jetty you will probably get an error in the command 
prompt about dwr and the console install may never appear to complete. 
However, the sample should be actually installed after a few minutes and 
  you should be able to access it using the url above.

One more thing ... For some reason access to the apache servers has been 
crawling lately (especially yesterday and today).  It may take much 
longer to install a plugin than normal until the issue is resolved.

HTH,
Joe



cuatez wrote:
> I installed Geronimo 2.1.3 (from this site:
> http://geronimo.apache.org/apache-geronimo-v213-release.html)
> It should be working per your comments. Any idea where I can start
> debugging?
> 
>