Geronimo build process

2005-12-24 Thread Cristian Roldan
Hi All,   I had a lot of problem building geronimo from www.apacher.org documentation, can someone tell me the right steps to build geronimo ?.Thanks.
		 
1GB gratis, Antivirus y Antispam 
Correo Yahoo!, el mejor correo web del mundo 
Abrí tu cuenta aquí

Re: Geronimo readme for new app developers?

2005-12-24 Thread Aaron Mulder
If you're trying to update only individual pages, you can copy them
into the config-store.  It isn't really a recommended approach, but it
should work well enough for development.  The recommended approach
would be to redeploy the application using the deploy tool (nearly
the same command except redeploy instead of deploy and run it on
the updated version of the WAR), or to copy a new version of the WAR
into the geronimo/deploy/ directory (if you deployed it in the first
place by copying the WAR there).

As for Tomcat and Jetty, in version 1.0, we're going to ship
Tomcat-only and Jetty-only builds to avoid this confusion.  So there's
only going to be one set of web listen ports and so on.  If you're
using M5 and you want to deploy an application for both Tomcat and
Jetty, you have to deploy it twice, and use Tomcat-specific and
Jetty-specific namespaces in your geronimo-web.xml file.  That's also
not really recommended, since we're trying to get away from the
two-simultaneous-container approach in 1.0.  In 1.0, you'll just pick
the distribution including Jetty or Tomcat (whichever you prefer) and
all your web apps will be deployed to that one.  As for whether you
should go with Jetty or Tomcat, they're really quite equivalent as far
as Geronimo is concerned.  Nearly anything you do with them will be
the same for either one.  The differences I can think of are:
 - the web access log is stored in different places
 - virtual hosts are configured differently
 - there are special configuration options for Tomcat valves

If you're just learning servlets and JSP, I'm not sure that stuff will
really matter, and the web container should be pretty transparent to
you.

Finally, my book is in the process of being update for 1.0 -- I think
I've made it through about 5 chapters so far.  :)  I'll keep the list
posted as there are significant updates.

Aaron

On 12/23/05, Alan Vinh [EMAIL PROTECTED] wrote:
 Hello,

 I'm new to Geronimo and would like to write some JSP scripts and
 Servlets to run under Geronimo. I'm a little familiar with the Tomcat
 directory layout and how it works but can't seem to get things to work
 for Tomcat running under Geronimo V1. Reading through the help page (see
 link below), there is an example of how to deploy the helloWorld JSP
 script into Geronimo.

 http://opensource2.atlassian.com/confluence/oss/pages/viewpage.action?pageId=1702#Quickstart-ApacheGeronimofortheimpatient-Createanddeployasampleapplication

 The above example works fine but it is running under Jetty (i.e. port
 8080). If I go to port 8090 or 8453, the default ports for Tomcat, I get
 the 404 error (The requested resource (/hello/) is not available). How
 do I get Tomcat to work or should I stick with Jetty which I'm not
 familiar with...

 I'm new and learning to write servlets and JSP, so I'm looking for some
 easy to follow instructions/readme files/links to get a newbie going
 without getting too technical into the architecture of Geronimo. I've
 been reading the draft document written by Aaron Mulder (see link below)
 but it was for version M4 not V1. Can you point me to some updated
 documentation for the user (not the developer) that shows what happens
 when you deploy an application to Tomcat (running under Geronimo) and
 how to access that new application as well as what happens in the
 config-store directory?

 http://chariotsolutions.com/geronimo/geronimo-book.pdf

 It seems that the helloWorld application was stored in the
 config-store directory so if I wanted to make modifications to it, do
 I re-deploy using the SAME command but with a different WAR file? Can I
 just update the config-store directory with the new files instead?

 Thank you for any information.

 Regards - Alan




Re: fail to build with

2005-12-24 Thread Dain Sundstrom


On Dec 23, 2005, at 3:27 PM, Nicholas Irving wrote:
am I not using the correct repo? http://ibiblio.org/maven/axis/jars/ 
axis-1.4-356167.jar does not seem to exist.
It is here http://cvs.apache.org/repository/axis/jars/ 
axis-1.4-356167.jar


You may have tried to build during a server outage; I'd just try  
building again.


-dain



troubles starting geronimo

2005-12-24 Thread Dom

Trying to start Geronimo, I always get :

19:34:32,218 WARN  
[0/car,J2EEServer=geronimo,j2eeType=GBean,name=JMXService] Failure in 
JMXConnector service:jmx:rmi://localhost/jndi/rmi:/JMXConnector
19:34:32,218 ERROR [GBeanInstanceState] Error while starting; GBean is 
now in the FAILED state: 
objectName=geronimo.server:J2EEApplication=null,J2EEModule=geronimo/j2ee-security/1.0/car,J2EEServer=geronimo,j2eeType=GBean,name=JMXService
java.io.IOException: javax.naming.ServiceUnavailableException [Root 
exception is java.rmi.ConnectException: Connection refused to host: 
192.168.1.100; nested exception is:

   java.net.ConnectException: Connection refused: connect]
   at mx4j.remote.resolver.rmi.Resolver.bindServer(Resolver.java:199)
   at 
javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:152)

etc...

192.168.1.100 is the right IP
win2K, j2sdk 1.4.2_10

Dom


RE: Geronimo build process

2005-12-24 Thread Nicholas Irving
Merry Christmas (well down under it is)

Yes the documentation can be a little confusing.

Here is the way I am building (assuming you have all the preq tools, Maven,
subversion, cvs)

I have a build.properties file in my user root E:\Documents and
Settings\NIrving\ as follows

maven.repo.remote=http://ibiblio.org/maven,http://cvs.apache.org/repository

That file may not be necessary, but I have it due to unresolved dependencies
not being at ibiblio.org I also have an environmental variable MAVEN_OPTS
with the following value, which seems to resolve some memory issues I was
having. This setting is for a machine with 1gig of ram.

-XX:PermSize=256m -XX:MaxPermSize=512m -Xmx640m

This is because some of the jars required do not appear to be in ibiblio. 

svn checkout http://svn.apache.org/repos/asf/geronimo/branches/1.0/ geronimo
cd geronimo
svn update
maven -o m:fresh-checkout
maven new

if you get an error like 
java.lang.NoClassDefFoundError: javax/mail/Authenticator 

Then take a look @
http://comments.gmane.org/gmane.comp.java.geronimo.devel/21312 which
mentions that you have to delete the org.apache.geronimo.specs directory
from your maven local repository.

Have to rush off to Christmas breakfast, so I hope this helps out.



From: Cristian Roldan [mailto:[EMAIL PROTECTED] 
Sent: Saturday, 24 December 2005 11:29 PM
To: user@geronimo.apache.org
Subject: Geronimo build process

Hi All,
    I had a lot of problem building geronimo from www.apacher.org
documentation, can someone tell me the right steps to build geronimo ?.
 
Thanks.
 
 

1GB gratis, Antivirus y Antispam
Correo Yahoo!, el mejor correo web del mundo
Abrí tu cuenta aquí