[jira] Updated: (GERONIMO-3327) When both tomcat http and https connector gbeans are unloaded, java.net.MalformedURLException occurs while starting server.

2007-08-29 Thread Kan Ogawa (JIRA)

 [ 
https://issues.apache.org/jira/browse/GERONIMO-3327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kan Ogawa updated GERONIMO-3327:


Fix Version/s: 2.1
   2.0

> When both tomcat http and https connector gbeans are unloaded, 
> java.net.MalformedURLException occurs while starting server.
> ---
>
> Key: GERONIMO-3327
> URL: https://issues.apache.org/jira/browse/GERONIMO-3327
> Project: Geronimo
>  Issue Type: Bug
>  Security Level: public(Regular issues) 
>  Components: Tomcat
>Affects Versions: 1.x, 2.0-M6
>Reporter: Kan Ogawa
> Fix For: 2.0, 2.1
>
>
> When both tomcat http and https connector gbeans are unloaded, 
> java.net.MalformedURLException occurs while running tomcat module startup.
> This configuration is, for example, a typical case that other web server ( 
> Apache HTTP Server, IIS, etc. ) connects geronimo server and processes all 
> http requests firstly as the main http server.
> Tomcat module setting in config.xml:
> 
> 
> 
> ${PlanServerHostname}
> ${PlanHTTPPortPrimary + 
> portOffset}
> ${PlanHTTPSPortPrimary + 
> portOffset}
> 
> 
> ${PlanServerHostname}
> ${PlanAJPPortPrimary + 
> portOffset}
> ${PlanHTTPSPortPrimary + 
> portOffset}
> 
> 
> ${PlanServerHostname}
> ${PlanHTTPSPortPrimary + 
> portOffset}
> 
> 
> Stack trace in geronimo log:
> 18:30:41,156 ERROR [TomcatWebAppContext] Bad URL to connect to web app
> java.net.MalformedURLException: unknown protocol: ajp
>   at java.net.URL.(URL.java:574)
>   at java.net.URL.(URL.java:464)
>   at java.net.URL.(URL.java:413)
>   at 
> org.apache.geronimo.tomcat.TomcatWebAppContext.getURLFor(TomcatWebAppContext.java:383)
>   at 
> org.apache.geronimo.tomcat.TomcatWebAppContext$$FastClassByCGLIB$$776c85b4.invoke()
>   at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>   at 
> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanAttribute.getValue(GBeanAttribute.java:390)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.getAttribute(GBeanInstance.java:689)
>   at 
> org.apache.geronimo.kernel.basic.BasicKernel.getAttribute(BasicKernel.java:178)
>   at 
> org.apache.geronimo.deployment.plugin.local.CommandSupport.addWebURLs(CommandSupport.java:295)
>   at 
> org.apache.geronimo.deployment.plugin.jmx.JMXDeploymentManager.getModules(JMXDeploymentManager.java:177)
>   at 
> org.apache.geronimo.deployment.plugin.jmx.JMXDeploymentManager.getAvailableModules(JMXDeploymentManager.java:118)
>   at 
> org.apache.geronimo.deployment.hot.DirectoryHotDeployer.doStart(DirectoryHotDeployer.java:160)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:994)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:551)
>   at 
> org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
>   at 
> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:442)
>   at 
> org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:188)
>   at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:530)
>   at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:511)
>   at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke()
>   at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>   at 
> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:127)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:828)
>   at 
> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>   at 
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
>   at 
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.j

[jira] Commented: (GERONIMO-3327) When both tomcat http and https connector gbeans are unloaded, java.net.MalformedURLException occurs while starting server.

2007-08-29 Thread Kan Ogawa (JIRA)

[ 
https://issues.apache.org/jira/browse/GERONIMO-3327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12523775
 ] 

Kan Ogawa commented on GERONIMO-3327:
-

By GERONIMO-3350 fix, this MalformedURLException wasn't thrown.
https://issues.apache.org/jira/browse/GERONIMO-3350

> When both tomcat http and https connector gbeans are unloaded, 
> java.net.MalformedURLException occurs while starting server.
> ---
>
> Key: GERONIMO-3327
> URL: https://issues.apache.org/jira/browse/GERONIMO-3327
> Project: Geronimo
>  Issue Type: Bug
>  Security Level: public(Regular issues) 
>  Components: Tomcat
>Affects Versions: 1.x, 2.0-M6
>Reporter: Kan Ogawa
>
> When both tomcat http and https connector gbeans are unloaded, 
> java.net.MalformedURLException occurs while running tomcat module startup.
> This configuration is, for example, a typical case that other web server ( 
> Apache HTTP Server, IIS, etc. ) connects geronimo server and processes all 
> http requests firstly as the main http server.
> Tomcat module setting in config.xml:
> 
> 
> 
> ${PlanServerHostname}
> ${PlanHTTPPortPrimary + 
> portOffset}
> ${PlanHTTPSPortPrimary + 
> portOffset}
> 
> 
> ${PlanServerHostname}
> ${PlanAJPPortPrimary + 
> portOffset}
> ${PlanHTTPSPortPrimary + 
> portOffset}
> 
> 
> ${PlanServerHostname}
> ${PlanHTTPSPortPrimary + 
> portOffset}
> 
> 
> Stack trace in geronimo log:
> 18:30:41,156 ERROR [TomcatWebAppContext] Bad URL to connect to web app
> java.net.MalformedURLException: unknown protocol: ajp
>   at java.net.URL.(URL.java:574)
>   at java.net.URL.(URL.java:464)
>   at java.net.URL.(URL.java:413)
>   at 
> org.apache.geronimo.tomcat.TomcatWebAppContext.getURLFor(TomcatWebAppContext.java:383)
>   at 
> org.apache.geronimo.tomcat.TomcatWebAppContext$$FastClassByCGLIB$$776c85b4.invoke()
>   at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>   at 
> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanAttribute.getValue(GBeanAttribute.java:390)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.getAttribute(GBeanInstance.java:689)
>   at 
> org.apache.geronimo.kernel.basic.BasicKernel.getAttribute(BasicKernel.java:178)
>   at 
> org.apache.geronimo.deployment.plugin.local.CommandSupport.addWebURLs(CommandSupport.java:295)
>   at 
> org.apache.geronimo.deployment.plugin.jmx.JMXDeploymentManager.getModules(JMXDeploymentManager.java:177)
>   at 
> org.apache.geronimo.deployment.plugin.jmx.JMXDeploymentManager.getAvailableModules(JMXDeploymentManager.java:118)
>   at 
> org.apache.geronimo.deployment.hot.DirectoryHotDeployer.doStart(DirectoryHotDeployer.java:160)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:994)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:551)
>   at 
> org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
>   at 
> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:442)
>   at 
> org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:188)
>   at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:530)
>   at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:511)
>   at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke()
>   at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>   at 
> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:127)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:828)
>   at 
> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>   at 
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
>   at 
> org.apache.geronimo.kern

[jira] Updated: (GERONIMO-3450) Unable to Run Pluto 1.1 on Geronimo 2.0

2007-08-29 Thread Ramesh B (JIRA)

 [ 
https://issues.apache.org/jira/browse/GERONIMO-3450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ramesh B updated GERONIMO-3450:
---

Attachment: geronimo.log

The log of error generated

> Unable to Run Pluto 1.1 on Geronimo 2.0
> ---
>
> Key: GERONIMO-3450
> URL: https://issues.apache.org/jira/browse/GERONIMO-3450
> Project: Geronimo
>  Issue Type: Bug
>  Security Level: public(Regular issues) 
>  Components: deployment
>Affects Versions: 2.0-M2
> Environment: Operating System : Windows 2k3
> Pluto Version: 1.1.0
> Geronimo with Jetty Version   2.0.1 
>Reporter: Ramesh B
> Fix For: 1.1.2, 1.1.x
>
> Attachments: geronimo-web.xml, geronimo.log
>
>
> Hi,
> I'm new to geronimo webserver. I've been trying to deploy pluto 1.1 on 
> geronimo with jetty 2.0.1.
> For this I have done the following steps:
> 1) I've added the following additional jars to common libs before deployment:
> *  pluto-container-1.1.0.jar
> * pluto-descriptor-api-1.1.0.jar
> * pluto-descriptor-impl-1.1.0.jar
> * pluto-taglib-1.1.0.jar
> * xalan 2.6.0
> 2) I've modified the castor.properties for pluto/web-inf/classes and set all 
> parameters to false.
> 3) i've added a geronimo-web.xml to the /web-inf folder.
> I created a war of the pluto folder. however while deploying it it gives the 
> following error:
> 3582: 11:02:34,501 ERROR [log] Nested in 
> org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected 
> exception parsing XML document from ServletContext resource 
> [/WEB-INF/pluto-portal-driver-services-config.xml]; nested exception is 
> java.lang.IllegalArgumentException: Class 
> [org.apache.cxf.clustering.spring.NamespaceHandler] does not implement the 
> NamespaceHandler interface:
> After throwing this error on the console it shows as successfully deployed 
> and successfully running.
> However when i'm trying to access the pluto portal, it says service 
> unavailable.
> Please help me with this problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (GERONIMO-3450) Unable to Run Pluto 1.1 on Geronimo 2.0

2007-08-29 Thread Ramesh B (JIRA)

 [ 
https://issues.apache.org/jira/browse/GERONIMO-3450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ramesh B updated GERONIMO-3450:
---

Attachment: geronimo-web.xml

The Geronimo-web.xml that i'm using for deployment.


> Unable to Run Pluto 1.1 on Geronimo 2.0
> ---
>
> Key: GERONIMO-3450
> URL: https://issues.apache.org/jira/browse/GERONIMO-3450
> Project: Geronimo
>  Issue Type: Bug
>  Security Level: public(Regular issues) 
>  Components: deployment
>Affects Versions: 2.0-M2
> Environment: Operating System : Windows 2k3
> Pluto Version: 1.1.0
> Geronimo with Jetty Version   2.0.1 
>Reporter: Ramesh B
> Fix For: 1.1.2, 1.1.x
>
> Attachments: geronimo-web.xml
>
>
> Hi,
> I'm new to geronimo webserver. I've been trying to deploy pluto 1.1 on 
> geronimo with jetty 2.0.1.
> For this I have done the following steps:
> 1) I've added the following additional jars to common libs before deployment:
> *  pluto-container-1.1.0.jar
> * pluto-descriptor-api-1.1.0.jar
> * pluto-descriptor-impl-1.1.0.jar
> * pluto-taglib-1.1.0.jar
> * xalan 2.6.0
> 2) I've modified the castor.properties for pluto/web-inf/classes and set all 
> parameters to false.
> 3) i've added a geronimo-web.xml to the /web-inf folder.
> I created a war of the pluto folder. however while deploying it it gives the 
> following error:
> 3582: 11:02:34,501 ERROR [log] Nested in 
> org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected 
> exception parsing XML document from ServletContext resource 
> [/WEB-INF/pluto-portal-driver-services-config.xml]; nested exception is 
> java.lang.IllegalArgumentException: Class 
> [org.apache.cxf.clustering.spring.NamespaceHandler] does not implement the 
> NamespaceHandler interface:
> After throwing this error on the console it shows as successfully deployed 
> and successfully running.
> However when i'm trying to access the pluto portal, it says service 
> unavailable.
> Please help me with this problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Created: (GERONIMO-3450) Unable to Run Pluto 1.1 on Geronimo 2.0

2007-08-29 Thread Ramesh B (JIRA)
Unable to Run Pluto 1.1 on Geronimo 2.0
---

 Key: GERONIMO-3450
 URL: https://issues.apache.org/jira/browse/GERONIMO-3450
 Project: Geronimo
  Issue Type: Bug
  Security Level: public (Regular issues)
  Components: deployment
Affects Versions: 2.0-M2
 Environment: Operating System : Windows 2k3
Pluto Version: 1.1.0
Geronimo with Jetty Version 2.0.1 

Reporter: Ramesh B
 Fix For: 1.1.2, 1.1.x


Hi,
I'm new to geronimo webserver. I've been trying to deploy pluto 1.1 on geronimo 
with jetty 2.0.1.
For this I have done the following steps:
1) I've added the following additional jars to common libs before deployment:
*  pluto-container-1.1.0.jar
* pluto-descriptor-api-1.1.0.jar
* pluto-descriptor-impl-1.1.0.jar
* pluto-taglib-1.1.0.jar
* xalan 2.6.0
2) I've modified the castor.properties for pluto/web-inf/classes and set all 
parameters to false.
3) i've added a geronimo-web.xml to the /web-inf folder.

I created a war of the pluto folder. however while deploying it it gives the 
following error:

3582: 11:02:34,501 ERROR [log] Nested in 
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected 
exception parsing XML document from ServletContext resource 
[/WEB-INF/pluto-portal-driver-services-config.xml]; nested exception is 
java.lang.IllegalArgumentException: Class 
[org.apache.cxf.clustering.spring.NamespaceHandler] does not implement the 
NamespaceHandler interface:

After throwing this error on the console it shows as successfully deployed and 
successfully running.

However when i'm trying to access the pluto portal, it says service unavailable.
Please help me with this problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



Re: Splitting up the server into a few more chunks

2007-08-29 Thread Jason Dillon
I think we don't really need svn, lets just mail around patches we  
make to the list and get rid of this scm crapo... too much work for  
too little benifit lol


:-P

--jason


On Aug 29, 2007, at 10:12 AM, Prasad Kashyap wrote:


I'm trying to understand what we have discussed/decided so far. Please
let me know if my summary is on track and help me correct course.

We haven't discussed the actual maven groupIds/artifactIds/directory
names yet. So all names used in this summary are just as examples.

Summary:
---
1. Our basic objective is to deliver a framework and a large set of
components with which our users can build their own Geronimo server.
The primary goal of our build restructuring exercise should be to help
us meet this objective.  The next goal should be to help us build
smoothly and release efficiently.

2. We have to split the current build tree into support, framework,
and plugins sub-trees. Other than support and framework, everything
else should be plugins. This includes jee5, non-jee5, samples etc.
which could go in their own subtrees or be together.

Scenario 1:
server/support/trunk
server/framework/trunk
server/plugins/trunk/  <--- jee5, non-jee5, samples etc are
all here together.

Scenario 2:
server/support/trunk
server/framework/trunk
server/plugins/trunk/
 jee5/
 opt/
 samples/

Scenario 3:
server/support/trunk
server/framework/trunk
server/plugins/trunk<-- jee5 plugins
server/opt/trunk  <-- opt plugins
server/samples/trunk  <-- samples plugins

  Can we please pick a scenario here and move on ?

3. We have to restructure the build tree to make it feature-oriented
rather than type-oriented like present. To take Jencks example, jetty
runtime, jetty deployer and jetty admin should be kept together (as a
plugin group) instead of keeping module jars and config cars separate.

   server/plugins/trunk/
geronimo-jetty/
   jetty-runtime(1)
   jetty-deployer   (2)
   jetty-admin   (3)

  "I think you should be able to install (1), (1 and 3) (1 and 2) or
(1, 2 and 3)." - Jencks.


Further discussion:

Currently the plugins tree is structured as plugins//trunk.
IMO, this is not feasible in the long run, esp. when we want to
convert most of everything we have into plugins,  b'coz -

1. svn checkout of a complete Geronimo server (framework + all
plugins) for a given version now becomes a nightmare.
2. building all plugins for a given version becomes difficult.
3. inheritance from a common parent becomes difficult. Many things
will be duplicated across all the poms for all the plugins. Longer
poms causes larger maintenance issues.
4. Even maven plugins whom we want to emulate for their independent
release cycles are not structured this way. Trunk, branches, tags form
the top tier.  http://svn.apache.org/viewvc/maven/plugins/

Cheers
Prasad


On 8/8/07, Jason Dillon <[EMAIL PROTECTED]> wrote:

On Aug 6, 2007, at 8:03 PM, David Blevins wrote:

On Aug 6, 2007, at 8:12 AM, David Jencks wrote:


I certainly agree with your goal but am less sure about your
proposed naming and organization.  Also from looking at your list
it took me a couple minutes to figure out what is removed from
"server"

I've been thinking that we could proceed by turning bits of the
server into plugins.  For instance I was planning to turn the
directory bits I commented out recently into a plugin this week.
I think we could fairly easiiy turn jetty, tomcat, and openejb
into plugins.  I wonder if, after turning the "easy stuff" into
plugins what we will think about reorganizing the remaining stuff.

So then the question might be how to organize the plugins?


Haven't read the rest of the thread yet, but I'd like to backup the
idea of pulling things out one at a time, like we did with
connector and transaction, making them plugins if possible.  It
would be really great if people do things like upgrade OpenEJB when
a new release came out -- which we're hoping is often.


I'd still like to see the plugin mangement in the console work
something like the Confluence Plugin Repository Client ( http://
confluence.atlassian.com/display/CONFEXT/Confluence+Repository 
+Client )


Which has a sex UI to show whats installed (version, urls, notes,
etc), whats not (with simple buttons to install) and when stuff is
out of date (with simple buttons to upgrade).  This would be *hugely*
powerful for administrators managing a Geronimo instance.

:-)







Re: Plugin stuff

2007-08-29 Thread Paul McMahan

This sounds great!  Thanks David.

Best wishes,
Paul

On Aug 29, 2007, at 3:26 PM, David Jencks wrote:

I'm going to take a couple days to see if I can get the plugin  
installer in better shape.


My goals are:
- new schema as in GERONIMO-3330
- jaxb based
- easier to use the local maven repo as a plugin repo.  This might  
be done by having a "scan repo and generate geronimo-plugins.xml  
from all the plugins we find" function.
- let plugin xml contain more global bits.  Right now it can  
contain config.xml bits, it should be able to  modify other  
config.xml type files (offline deployer, etc) and artifact_aliases  
and config-substitutions properties files.  The changes to the  
properties files need to be live so e.g. when the plugin is started  
the new entries get used.


thanks
david jencks






Re: [BUILD] Trunk: Failed for Revision: 570882

2007-08-29 Thread Jason Dillon

You are very correct... :-)

IMO slf4j is the way to go... drop JCL like a rock...

--jason


On Aug 29, 2007, at 6:09 PM, David Jencks wrote:


logback is gpl IIUC.  slf4j lets you plugin in logback IIUC.

thanks
david jencks

On Aug 29, 2007, at 3:27 PM, Jason Dillon wrote:

Yes, that might be a good idea.  Though now there is also logback  
to consider:


http://logback.qos.ch/

--jason


On Aug 29, 2007, at 11:35 AM, David Jencks wrote:


Maybe we should look at switching from commons-logging to slf4j?

thanks
david jencks

On Aug 29, 2007, at 11:28 AM, Prasad Kashyap wrote:


Jason,

This build break is being caused by the Rev 57031 svn commit.  
Either

slf4j-jcl has to be re-introduced in the trunk/pom.xml or
configs/jetty6/pom.xml also has to change to replace slf4j-jcl with
slf4j-simple.

---
Author: jdillon
Date: Wed Aug 29 03:08:48 2007
New Revision: 570731

URL: http://svn.apache.org/viewvc?rev=570731&view=rev
Log:
Update to use gshell 1.0-alpha-1-SNAPSHOT, pending a little more  
work

to finish upgrading to the level of cli support as before
-

Cheers
Prasad



On 29 Aug 2007 18:14:26 -, [EMAIL PROTECTED]  
<[EMAIL PROTECTED]> wrote:

OpenEJB trunk at 570880
Geronimo Revision: 570882 built with tests skipped

See the full build-1400.log file at http://people.apache.org/ 
~prasad/binaries/trunk/20070829/build-1400.log


Building Geronimo trunk at Revision: 570882
Building OpenEJB trunk at 570880

[INFO] Scanning for projects...
Downloading: http://download.java.net/maven/1// 
org.apache.geronimo.genesis.config/poms/project-config-1.2.pom
[WARNING] Unable to get resource  
'org.apache.geronimo.genesis.config:project-config:pom:1.2'  
from repository java.net (http://download.java.net/maven/1/)
Downloading: http://repo1.maven.org/maven2/org/apache/geronimo/ 
genesis/config/project-config/1.2/project-config-1.2.pom

21K downloaded
Downloading: http://download.java.net/maven/1// 
org.apache.geronimo.genesis.config/poms/config-1.2.pom
[WARNING] Unable to get resource  
'org.apache.geronimo.genesis.config:config:pom:1.2' from  
repository java.net (http://download.java.net/maven/1/)
Downloading: http://people.apache.org/repo/m2-incubating- 
repository//org/apache/geronimo/genesis/config/config/1.2/ 
config-1.2.pom
[WARNING] Unable to get resource  
'org.apache.geronimo.genesis.config:config:pom:1.2' from  
repository apache-incubator (http://people.apache.org/repo/m2- 
incubating-repository/)
Downloading: http://repo1.maven.org/maven2/org/apache/geronimo/ 
genesis/config/config/1.2/config-1.2.pom

1K downloaded
Downloading: http://download.java.net/maven/1// 
org.apache.geronimo.genesis/poms/genesis-1.2.pom
[WARNING] Unable to get resource  
'org.apache.geronimo.genesis:genesis:pom:1.2' from repository  
java.net (http://download.java.net/maven/1/)
Downloading: http://people.apache.org/repo/m2-incubating- 
repository//org/apache/geronimo/genesis/genesis/1.2/ 
genesis-1.2.pom
[WARNING] Unable to get resource  
'org.apache.geronimo.genesis:genesis:pom:1.2' from repository  
apache-incubator (http://people.apache.org/repo/m2-incubating- 
repository/)
Downloading: http://repo1.maven.org/maven2/org/apache/geronimo/ 
genesis/genesis/1.2/genesis-1.2.pom

10K downloaded
[INFO]  
-- 
--

[ERROR] FATAL ERROR
[INFO]  
-- 
--

[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.geronimo.configs:jetty6
POM Location: /home/prasad/geronimo/trunk/configs/jetty6/pom.xml
Validation Messages:

[0]  'dependencies.dependency.version' is missing for  
org.slf4j:slf4j-jcl



Reason: Failed to validate POM


[INFO]  
-- 
--

[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Failed to  
validate POM
at org.apache.maven.DefaultMaven.getProjects 
(DefaultMaven.java:373)
at org.apache.maven.DefaultMaven.doExecute 
(DefaultMaven.java:286)
at org.apache.maven.DefaultMaven.execute 
(DefaultMaven.java:123)

at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native  
Method)
at sun.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced 
(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch 
(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode 
(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java: 
375)
Caused by:  
org.apache.mave

Re: [jira] Created: (GERONIMO-3445) Verify log levels can be changed for openejb related log categories

2007-08-29 Thread Karan Malhi
Or maybe in one of the very first  OpenEJB methods called by Geronimo
to start openejb in embedded mode we could add some code like
System.setProperty("openejb.logging","external");

the first time the Logger class is loaded, we check for this property
and if it has a value of external, then we do not use
embedded.logging.properties otherwise we assume our default strategy.

On 8/29/07, Karan Malhi <[EMAIL PROTECTED]> wrote:
> Just thinking, could we do something with a Thread Context, i.e. if it
> is an App Server Thread Context, then we do not use
> embedded.logging.properties file, if it is an OpenEJB thread context
> which is trying to access the Logger, then if we go with our existing
> strategy.
>
> I dont even know what I am saying here and dont have a clue how it
> could be done, but just thinking maybe this could lead to something ;)
>
> On 8/29/07, Karan Malhi <[EMAIL PROTECTED]> wrote:
> > The only way I know of is to do something like
> >
> >
> > Logger openejb = Logger.getInstance(LogCategory.OPENEJB, Foo.class);
> > boolean configured = openejb.getAllAppenders().hasMoreElements();
> >
> > If there is an appender for OPENEJB then configured will be true and
> > we will know that OPENEJB was configured explicitly.
> >
> > Okay, now here are some of the major flaws with this approach,
> > 1. If rootLogger is configured by the user and has an appender, then
> > OPENEJB will inherit the appender. So even if OPENEJB is not
> > explicitly configured, it will still have an appender.
> > 2. Lets say we first check and find that rootLogger does not have an
> > appender, in that case if OPENEJB has an appender, then we are sure
> > that OPENEJB is configured explicitly.
> > 3. If rootLogger and OPENEJB do not have an appender, then we can
> > "guess" that OPENEJB is not configured, but we can still have a case
> > where OPENEJB was configured explicitly, but somebody forgot to add an
> > appender to it.
> >
> > We will have to mention that if OPENEJB is not configured explicitly
> > with an appender, then logging will not work.
> >
> >
> > On 8/29/07, David Blevins <[EMAIL PROTECTED]> wrote:
> > >
> > > On Aug 28, 2007, at 7:35 PM, Karan Malhi wrote:
> > >
> > > > I dont even think they can change log levels. We used the logic that
> > > > - if conf is present - use logging.properties
> > > > - if conf is present - logging.properties is absent- install
> > > > logging.properties and use it
> > > > - if conf is absent, assume embedded and use
> > > > embedded.logging.properties which is available in the openejb-core.jar
> > > > .
> > > > - if embedded.logging.properties is not found in openejb-core.jar then
> > > > rely on the log4j.configuration system property
> > > >
> > > > So, if openejb is embedded within GERONIMO,  no matter what log levels
> > > > they set in the var/logs directory, those settings should never take
> > > > effect.
> > > >
> > > > I think what we can do though is that Geronimo can set the
> > > > log4j.configuration system property in the
> > > > o.a.g.openejb.OpenEjbSystemGBean and we can then do the following:
> > > > - if conf is absent, assume embedded, look for log4j.configuration
> > > > system property. if log4j.configuration property is set, then use it,
> > > > if it is absent then use embedded.logging.properties
> > > >
> > > > Do you think I am on the right track and does the above makes any
> > > > sense?
> > >
> > > Do you know if there is a way to check to see if the "OpenEJB" log4j
> > > category has been explicitly configured?  If so we could skip the
> > > whole business and assume whatever embedded environment we're in has
> > > taken responsibility for logging.
> > >
> > > -David
> > >
> > >
> >
> >
> > --
> > Karan Singh Malhi
> >
>
>
> --
> Karan Singh Malhi
>


-- 
Karan Singh Malhi


[jira] Issue Comment Edited: (GERONIMODEVTOOLS-189) Error opening geronimo-web.xml

2007-08-29 Thread Shane Blake (JIRA)

[ 
https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12523744
 ] 

shane.blake edited comment on GERONIMODEVTOOLS-189 at 8/29/07 6:09 PM:
---

Ok. I downloaded the new plugin released yesterday (for me) and I am getting 
the following in the Eclipse log:

org.eclipse.core.internal.resources.ResourceException: The resource tree is 
locked for modifications.
at 
org.eclipse.core.internal.resources.WorkManager.checkIn(WorkManager.java:115)
at 
org.eclipse.core.internal.resources.Workspace.prepareOperation(Workspace.java:1744)
at org.eclipse.core.internal.resources.File.create(File.java:105)
at org.eclipse.core.internal.resources.File.create(File.java:176)
at 
org.asdt.core.resources.ClasspathManager.saveClasspath(ClasspathManager.java:354)
at 
org.asdt.core.resources.ClasspathManager.loadClasspath(ClasspathManager.java:276)
at 
org.asdt.core.resources.ClasspathManager.getRawClasspath(ClasspathManager.java:420)
at 
org.asdt.core.resources.ClasspathManager$ResourceDeltaVisitor.visit(ClasspathManager.java:178)
at 
org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:67)
at 
org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:76)
at 
org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:48)
at 
org.asdt.core.resources.ClasspathManager.resourceChanged(ClasspathManager.java:125)
at 
org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:282)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at 
org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:276)
at 
org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:148)
at 
org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:311)
at 
org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1018)
at 
org.eclipse.core.internal.resources.Resource.refreshLocal(Resource.java:1433)
at org.eclipse.core.internal.resources.File.refreshLocal(File.java:331)
at 
org.apache.geronimo.st.v20.core.GeronimoRuntime.save(GeronimoRuntime.java:119)
at 
org.apache.geronimo.st.v20.core.GeronimoRuntime.fixGeronimoWebSchema(GeronimoRuntime.java:96)
at 
org.apache.geronimo.st.core.operations.ImportDeploymentPlanOperation.execute(ImportDeploymentPlanOperation.java:76)
at 
org.apache.geronimo.st.ui.editors.AbstractGeronimoDeploymentPlanEditor.init(AbstractGeronimoDeploymentPlanEditor.java:196)
at 
org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:794)
at 
org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:643)
at 
org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:426)
at 
org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:592)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:299)
at 
org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:179)
at 
org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:268)
at 
org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
at 
org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:400)
at 
org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1604)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:499)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:485)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112)
at 
org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63)
at 
org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:217)
at 
org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:207)
at 
org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:774)
at 
org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:673)
at 
org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:634)
at 
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2719)
at 
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2633)
at 
org.ec

Re: [BUILD] Trunk: Failed for Revision: 570882

2007-08-29 Thread David Jencks

logback is gpl IIUC.  slf4j lets you plugin in logback IIUC.

thanks
david jencks

On Aug 29, 2007, at 3:27 PM, Jason Dillon wrote:

Yes, that might be a good idea.  Though now there is also logback  
to consider:


http://logback.qos.ch/

--jason


On Aug 29, 2007, at 11:35 AM, David Jencks wrote:


Maybe we should look at switching from commons-logging to slf4j?

thanks
david jencks

On Aug 29, 2007, at 11:28 AM, Prasad Kashyap wrote:


Jason,

This build break is being caused by the Rev 57031 svn commit. Either
slf4j-jcl has to be re-introduced in the trunk/pom.xml or
configs/jetty6/pom.xml also has to change to replace slf4j-jcl with
slf4j-simple.

---
Author: jdillon
Date: Wed Aug 29 03:08:48 2007
New Revision: 570731

URL: http://svn.apache.org/viewvc?rev=570731&view=rev
Log:
Update to use gshell 1.0-alpha-1-SNAPSHOT, pending a little more  
work

to finish upgrading to the level of cli support as before
-

Cheers
Prasad



On 29 Aug 2007 18:14:26 -, [EMAIL PROTECTED]  
<[EMAIL PROTECTED]> wrote:

OpenEJB trunk at 570880
Geronimo Revision: 570882 built with tests skipped

See the full build-1400.log file at http://people.apache.org/ 
~prasad/binaries/trunk/20070829/build-1400.log


Building Geronimo trunk at Revision: 570882
Building OpenEJB trunk at 570880

[INFO] Scanning for projects...
Downloading: http://download.java.net/maven/1// 
org.apache.geronimo.genesis.config/poms/project-config-1.2.pom
[WARNING] Unable to get resource  
'org.apache.geronimo.genesis.config:project-config:pom:1.2' from  
repository java.net (http://download.java.net/maven/1/)
Downloading: http://repo1.maven.org/maven2/org/apache/geronimo/ 
genesis/config/project-config/1.2/project-config-1.2.pom

21K downloaded
Downloading: http://download.java.net/maven/1// 
org.apache.geronimo.genesis.config/poms/config-1.2.pom
[WARNING] Unable to get resource  
'org.apache.geronimo.genesis.config:config:pom:1.2' from  
repository java.net (http://download.java.net/maven/1/)
Downloading: http://people.apache.org/repo/m2-incubating- 
repository//org/apache/geronimo/genesis/config/config/1.2/ 
config-1.2.pom
[WARNING] Unable to get resource  
'org.apache.geronimo.genesis.config:config:pom:1.2' from  
repository apache-incubator (http://people.apache.org/repo/m2- 
incubating-repository/)
Downloading: http://repo1.maven.org/maven2/org/apache/geronimo/ 
genesis/config/config/1.2/config-1.2.pom

1K downloaded
Downloading: http://download.java.net/maven/1// 
org.apache.geronimo.genesis/poms/genesis-1.2.pom
[WARNING] Unable to get resource  
'org.apache.geronimo.genesis:genesis:pom:1.2' from repository  
java.net (http://download.java.net/maven/1/)
Downloading: http://people.apache.org/repo/m2-incubating- 
repository//org/apache/geronimo/genesis/genesis/1.2/genesis-1.2.pom
[WARNING] Unable to get resource  
'org.apache.geronimo.genesis:genesis:pom:1.2' from repository  
apache-incubator (http://people.apache.org/repo/m2-incubating- 
repository/)
Downloading: http://repo1.maven.org/maven2/org/apache/geronimo/ 
genesis/genesis/1.2/genesis-1.2.pom

10K downloaded
[INFO]  
--- 
-

[ERROR] FATAL ERROR
[INFO]  
--- 
-

[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.geronimo.configs:jetty6
POM Location: /home/prasad/geronimo/trunk/configs/jetty6/pom.xml
Validation Messages:

[0]  'dependencies.dependency.version' is missing for  
org.slf4j:slf4j-jcl



Reason: Failed to validate POM


[INFO]  
--- 
-

[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Failed to  
validate POM
at org.apache.maven.DefaultMaven.getProjects 
(DefaultMaven.java:373)
at org.apache.maven.DefaultMaven.doExecute 
(DefaultMaven.java:286)
at org.apache.maven.DefaultMaven.execute 
(DefaultMaven.java:123)

at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native  
Method)
at sun.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced 
(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch 
(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode 
(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java: 
375)
Caused by:  
org.apache.maven.project.InvalidProjectModelException: Failed to  
validate POM
at  
org.apache.maven.project.DefaultMavenProjectBu

[jira] Commented: (GERONIMODEVTOOLS-189) Error opening geronimo-web.xml

2007-08-29 Thread Shane Blake (JIRA)

[ 
https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12523744
 ] 

Shane Blake commented on GERONIMODEVTOOLS-189:
--

Ok. I downloaded the new plugin released yesterday (for me) and I am getting 
the following in the Eclipse log:

org.eclipse.core.internal.resources.ResourceException: The resource tree is 
locked for modifications.
at 
org.eclipse.core.internal.resources.WorkManager.checkIn(WorkManager.java:115)
at 
org.eclipse.core.internal.resources.Workspace.prepareOperation(Workspace.java:1744)
at org.eclipse.core.internal.resources.File.create(File.java:105)
at org.eclipse.core.internal.resources.File.create(File.java:176)
at 
org.asdt.core.resources.ClasspathManager.saveClasspath(ClasspathManager.java:354)
at 
org.asdt.core.resources.ClasspathManager.loadClasspath(ClasspathManager.java:276)
at 
org.asdt.core.resources.ClasspathManager.getRawClasspath(ClasspathManager.java:420)
at 
org.asdt.core.resources.ClasspathManager$ResourceDeltaVisitor.visit(ClasspathManager.java:178)
at 
org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:67)
at 
org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:76)
at 
org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:48)
at 
org.asdt.core.resources.ClasspathManager.resourceChanged(ClasspathManager.java:125)
at 
org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:282)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at 
org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:276)
at 
org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:148)
at 
org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:311)
at 
org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1018)
at 
org.eclipse.core.internal.resources.Resource.refreshLocal(Resource.java:1433)
at org.eclipse.core.internal.resources.File.refreshLocal(File.java:331)
at 
org.apache.geronimo.st.v20.core.GeronimoRuntime.save(GeronimoRuntime.java:119)
at 
org.apache.geronimo.st.v20.core.GeronimoRuntime.fixGeronimoWebSchema(GeronimoRuntime.java:96)
at 
org.apache.geronimo.st.core.operations.ImportDeploymentPlanOperation.execute(ImportDeploymentPlanOperation.java:76)
at 
org.apache.geronimo.st.ui.editors.AbstractGeronimoDeploymentPlanEditor.init(AbstractGeronimoDeploymentPlanEditor.java:196)
at 
org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:794)
at 
org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:643)
at 
org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:426)
at 
org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:592)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:299)
at 
org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:179)
at 
org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:268)
at 
org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
at 
org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:400)
at 
org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1604)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:499)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:485)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112)
at 
org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63)
at 
org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:217)
at 
org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:207)
at 
org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:774)
at 
org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:673)
at 
org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:634)
at 
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2719)
at 
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2633)
at 
org.eclipse.ui.internal.WorkbenchPage.access$12(Workben

Re: [jira] Created: (GERONIMO-3445) Verify log levels can be changed for openejb related log categories

2007-08-29 Thread Karan Malhi
Just thinking, could we do something with a Thread Context, i.e. if it
is an App Server Thread Context, then we do not use
embedded.logging.properties file, if it is an OpenEJB thread context
which is trying to access the Logger, then if we go with our existing
strategy.

I dont even know what I am saying here and dont have a clue how it
could be done, but just thinking maybe this could lead to something ;)

On 8/29/07, Karan Malhi <[EMAIL PROTECTED]> wrote:
> The only way I know of is to do something like
>
>
> Logger openejb = Logger.getInstance(LogCategory.OPENEJB, Foo.class);
> boolean configured = openejb.getAllAppenders().hasMoreElements();
>
> If there is an appender for OPENEJB then configured will be true and
> we will know that OPENEJB was configured explicitly.
>
> Okay, now here are some of the major flaws with this approach,
> 1. If rootLogger is configured by the user and has an appender, then
> OPENEJB will inherit the appender. So even if OPENEJB is not
> explicitly configured, it will still have an appender.
> 2. Lets say we first check and find that rootLogger does not have an
> appender, in that case if OPENEJB has an appender, then we are sure
> that OPENEJB is configured explicitly.
> 3. If rootLogger and OPENEJB do not have an appender, then we can
> "guess" that OPENEJB is not configured, but we can still have a case
> where OPENEJB was configured explicitly, but somebody forgot to add an
> appender to it.
>
> We will have to mention that if OPENEJB is not configured explicitly
> with an appender, then logging will not work.
>
>
> On 8/29/07, David Blevins <[EMAIL PROTECTED]> wrote:
> >
> > On Aug 28, 2007, at 7:35 PM, Karan Malhi wrote:
> >
> > > I dont even think they can change log levels. We used the logic that
> > > - if conf is present - use logging.properties
> > > - if conf is present - logging.properties is absent- install
> > > logging.properties and use it
> > > - if conf is absent, assume embedded and use
> > > embedded.logging.properties which is available in the openejb-core.jar
> > > .
> > > - if embedded.logging.properties is not found in openejb-core.jar then
> > > rely on the log4j.configuration system property
> > >
> > > So, if openejb is embedded within GERONIMO,  no matter what log levels
> > > they set in the var/logs directory, those settings should never take
> > > effect.
> > >
> > > I think what we can do though is that Geronimo can set the
> > > log4j.configuration system property in the
> > > o.a.g.openejb.OpenEjbSystemGBean and we can then do the following:
> > > - if conf is absent, assume embedded, look for log4j.configuration
> > > system property. if log4j.configuration property is set, then use it,
> > > if it is absent then use embedded.logging.properties
> > >
> > > Do you think I am on the right track and does the above makes any
> > > sense?
> >
> > Do you know if there is a way to check to see if the "OpenEJB" log4j
> > category has been explicitly configured?  If so we could skip the
> > whole business and assume whatever embedded environment we're in has
> > taken responsibility for logging.
> >
> > -David
> >
> >
>
>
> --
> Karan Singh Malhi
>


-- 
Karan Singh Malhi


Re: [jira] Created: (GERONIMO-3445) Verify log levels can be changed for openejb related log categories

2007-08-29 Thread Karan Malhi
The only way I know of is to do something like


Logger openejb = Logger.getInstance(LogCategory.OPENEJB, Foo.class);
boolean configured = openejb.getAllAppenders().hasMoreElements();

If there is an appender for OPENEJB then configured will be true and
we will know that OPENEJB was configured explicitly.

Okay, now here are some of the major flaws with this approach,
1. If rootLogger is configured by the user and has an appender, then
OPENEJB will inherit the appender. So even if OPENEJB is not
explicitly configured, it will still have an appender.
2. Lets say we first check and find that rootLogger does not have an
appender, in that case if OPENEJB has an appender, then we are sure
that OPENEJB is configured explicitly.
3. If rootLogger and OPENEJB do not have an appender, then we can
"guess" that OPENEJB is not configured, but we can still have a case
where OPENEJB was configured explicitly, but somebody forgot to add an
appender to it.

We will have to mention that if OPENEJB is not configured explicitly
with an appender, then logging will not work.


On 8/29/07, David Blevins <[EMAIL PROTECTED]> wrote:
>
> On Aug 28, 2007, at 7:35 PM, Karan Malhi wrote:
>
> > I dont even think they can change log levels. We used the logic that
> > - if conf is present - use logging.properties
> > - if conf is present - logging.properties is absent- install
> > logging.properties and use it
> > - if conf is absent, assume embedded and use
> > embedded.logging.properties which is available in the openejb-core.jar
> > .
> > - if embedded.logging.properties is not found in openejb-core.jar then
> > rely on the log4j.configuration system property
> >
> > So, if openejb is embedded within GERONIMO,  no matter what log levels
> > they set in the var/logs directory, those settings should never take
> > effect.
> >
> > I think what we can do though is that Geronimo can set the
> > log4j.configuration system property in the
> > o.a.g.openejb.OpenEjbSystemGBean and we can then do the following:
> > - if conf is absent, assume embedded, look for log4j.configuration
> > system property. if log4j.configuration property is set, then use it,
> > if it is absent then use embedded.logging.properties
> >
> > Do you think I am on the right track and does the above makes any
> > sense?
>
> Do you know if there is a way to check to see if the "OpenEJB" log4j
> category has been explicitly configured?  If so we could skip the
> whole business and assume whatever embedded environment we're in has
> taken responsibility for logging.
>
> -David
>
>


-- 
Karan Singh Malhi


[jira] Commented: (GERONIMO-3438) context-root error

2007-08-29 Thread Paul McMahan (JIRA)

[ 
https://issues.apache.org/jira/browse/GERONIMO-3438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12523729
 ] 

Paul McMahan commented on GERONIMO-3438:


if you provide an empty context root in your plan then it will default to '/'.  
Is there a different behavior that you are expecting?  For example, when you 
specify an empty context root what would you expect a URL to look like that 
accesses resources in your webapp.   In the URL that you have provided above - 
http://hostname:8080/index.jsp - the context root is '/'.

> context-root error
> --
>
> Key: GERONIMO-3438
> URL: https://issues.apache.org/jira/browse/GERONIMO-3438
> Project: Geronimo
>  Issue Type: Sub-task
>  Security Level: public(Regular issues) 
>  Components: Tomcat
>Affects Versions: 2.1
> Environment: debian 3.1/4.0   
> sun jdk 1.5.0_11-b03 
> apache 2.0.59/2.2.4
>Reporter: lucols
>
> In geronimo-web.xml , I configure  context-root  to nothing , like this :
> 
> thr problem is : i got then contextPath is "/" ,not expected  " ", so error 
> occur: the web container cannot  right lookup the file.
> you can test like this:
> index.jsp: 
> 
> test.jsp:
> <%
> out.println("request context:"+request.getContextPath());
> %>
> geronimo-web.xml:
> 
>xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.1";> 
>  ...
> 
> 
> after deploy, test this in IE broswer:
> http://hostname:8080/index.jsp

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



Re: [BUILD] Trunk: Failed for Revision: 570882

2007-08-29 Thread Jason Dillon

Sorry folks... should be fixed now.

--jason


On Aug 29, 2007, at 11:28 AM, Prasad Kashyap wrote:


Jason,

This build break is being caused by the Rev 57031 svn commit. Either
slf4j-jcl has to be re-introduced in the trunk/pom.xml or
configs/jetty6/pom.xml also has to change to replace slf4j-jcl with
slf4j-simple.

---
Author: jdillon
Date: Wed Aug 29 03:08:48 2007
New Revision: 570731

URL: http://svn.apache.org/viewvc?rev=570731&view=rev
Log:
Update to use gshell 1.0-alpha-1-SNAPSHOT, pending a little more work
to finish upgrading to the level of cli support as before
-

Cheers
Prasad



On 29 Aug 2007 18:14:26 -, [EMAIL PROTECTED]  
<[EMAIL PROTECTED]> wrote:

OpenEJB trunk at 570880
Geronimo Revision: 570882 built with tests skipped

See the full build-1400.log file at http://people.apache.org/ 
~prasad/binaries/trunk/20070829/build-1400.log


Building Geronimo trunk at Revision: 570882
Building OpenEJB trunk at 570880

[INFO] Scanning for projects...
Downloading: http://download.java.net/maven/1// 
org.apache.geronimo.genesis.config/poms/project-config-1.2.pom
[WARNING] Unable to get resource  
'org.apache.geronimo.genesis.config:project-config:pom:1.2' from  
repository java.net (http://download.java.net/maven/1/)
Downloading: http://repo1.maven.org/maven2/org/apache/geronimo/ 
genesis/config/project-config/1.2/project-config-1.2.pom

21K downloaded
Downloading: http://download.java.net/maven/1// 
org.apache.geronimo.genesis.config/poms/config-1.2.pom
[WARNING] Unable to get resource  
'org.apache.geronimo.genesis.config:config:pom:1.2' from  
repository java.net (http://download.java.net/maven/1/)
Downloading: http://people.apache.org/repo/m2-incubating- 
repository//org/apache/geronimo/genesis/config/config/1.2/ 
config-1.2.pom
[WARNING] Unable to get resource  
'org.apache.geronimo.genesis.config:config:pom:1.2' from  
repository apache-incubator (http://people.apache.org/repo/m2- 
incubating-repository/)
Downloading: http://repo1.maven.org/maven2/org/apache/geronimo/ 
genesis/config/config/1.2/config-1.2.pom

1K downloaded
Downloading: http://download.java.net/maven/1// 
org.apache.geronimo.genesis/poms/genesis-1.2.pom
[WARNING] Unable to get resource  
'org.apache.geronimo.genesis:genesis:pom:1.2' from repository  
java.net (http://download.java.net/maven/1/)
Downloading: http://people.apache.org/repo/m2-incubating- 
repository//org/apache/geronimo/genesis/genesis/1.2/genesis-1.2.pom
[WARNING] Unable to get resource  
'org.apache.geronimo.genesis:genesis:pom:1.2' from repository  
apache-incubator (http://people.apache.org/repo/m2-incubating- 
repository/)
Downloading: http://repo1.maven.org/maven2/org/apache/geronimo/ 
genesis/genesis/1.2/genesis-1.2.pom

10K downloaded
[INFO]  
- 
---

[ERROR] FATAL ERROR
[INFO]  
- 
---

[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.geronimo.configs:jetty6
POM Location: /home/prasad/geronimo/trunk/configs/jetty6/pom.xml
Validation Messages:

[0]  'dependencies.dependency.version' is missing for  
org.slf4j:slf4j-jcl



Reason: Failed to validate POM


[INFO]  
- 
---

[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Failed to  
validate POM
at org.apache.maven.DefaultMaven.getProjects 
(DefaultMaven.java:373)
at org.apache.maven.DefaultMaven.doExecute 
(DefaultMaven.java:286)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java: 
123)

at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native  
Method)
at sun.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced 
(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java: 
255)
at org.codehaus.classworlds.Launcher.mainWithExitCode 
(Launcher.java:430)

at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.project.InvalidProjectModelException:  
Failed to validate POM
at  
org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLog 
ic(DefaultMavenProjectBuilder.java:949)
at  
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal 
(DefaultMavenProjectBuilder.java:760)
at  
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFi 
leInternal(DefaultMavenProjectBuilder.java:431)
at  
org.apache.maven.project.DefaultMavenProjectBuilder.build 
(DefaultMavenP

Re: [BUILD] Trunk: Failed for Revision: 570882

2007-08-29 Thread Jason Dillon

Ya, sorry... fixing now.

--jason


On Aug 29, 2007, at 11:28 AM, Prasad Kashyap wrote:


Jason,

This build break is being caused by the Rev 57031 svn commit. Either
slf4j-jcl has to be re-introduced in the trunk/pom.xml or
configs/jetty6/pom.xml also has to change to replace slf4j-jcl with
slf4j-simple.

---
Author: jdillon
Date: Wed Aug 29 03:08:48 2007
New Revision: 570731

URL: http://svn.apache.org/viewvc?rev=570731&view=rev
Log:
Update to use gshell 1.0-alpha-1-SNAPSHOT, pending a little more work
to finish upgrading to the level of cli support as before
-

Cheers
Prasad



On 29 Aug 2007 18:14:26 -, [EMAIL PROTECTED]  
<[EMAIL PROTECTED]> wrote:

OpenEJB trunk at 570880
Geronimo Revision: 570882 built with tests skipped

See the full build-1400.log file at http://people.apache.org/ 
~prasad/binaries/trunk/20070829/build-1400.log


Building Geronimo trunk at Revision: 570882
Building OpenEJB trunk at 570880

[INFO] Scanning for projects...
Downloading: http://download.java.net/maven/1// 
org.apache.geronimo.genesis.config/poms/project-config-1.2.pom
[WARNING] Unable to get resource  
'org.apache.geronimo.genesis.config:project-config:pom:1.2' from  
repository java.net (http://download.java.net/maven/1/)
Downloading: http://repo1.maven.org/maven2/org/apache/geronimo/ 
genesis/config/project-config/1.2/project-config-1.2.pom

21K downloaded
Downloading: http://download.java.net/maven/1// 
org.apache.geronimo.genesis.config/poms/config-1.2.pom
[WARNING] Unable to get resource  
'org.apache.geronimo.genesis.config:config:pom:1.2' from  
repository java.net (http://download.java.net/maven/1/)
Downloading: http://people.apache.org/repo/m2-incubating- 
repository//org/apache/geronimo/genesis/config/config/1.2/ 
config-1.2.pom
[WARNING] Unable to get resource  
'org.apache.geronimo.genesis.config:config:pom:1.2' from  
repository apache-incubator (http://people.apache.org/repo/m2- 
incubating-repository/)
Downloading: http://repo1.maven.org/maven2/org/apache/geronimo/ 
genesis/config/config/1.2/config-1.2.pom

1K downloaded
Downloading: http://download.java.net/maven/1// 
org.apache.geronimo.genesis/poms/genesis-1.2.pom
[WARNING] Unable to get resource  
'org.apache.geronimo.genesis:genesis:pom:1.2' from repository  
java.net (http://download.java.net/maven/1/)
Downloading: http://people.apache.org/repo/m2-incubating- 
repository//org/apache/geronimo/genesis/genesis/1.2/genesis-1.2.pom
[WARNING] Unable to get resource  
'org.apache.geronimo.genesis:genesis:pom:1.2' from repository  
apache-incubator (http://people.apache.org/repo/m2-incubating- 
repository/)
Downloading: http://repo1.maven.org/maven2/org/apache/geronimo/ 
genesis/genesis/1.2/genesis-1.2.pom

10K downloaded
[INFO]  
- 
---

[ERROR] FATAL ERROR
[INFO]  
- 
---

[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.geronimo.configs:jetty6
POM Location: /home/prasad/geronimo/trunk/configs/jetty6/pom.xml
Validation Messages:

[0]  'dependencies.dependency.version' is missing for  
org.slf4j:slf4j-jcl



Reason: Failed to validate POM


[INFO]  
- 
---

[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Failed to  
validate POM
at org.apache.maven.DefaultMaven.getProjects 
(DefaultMaven.java:373)
at org.apache.maven.DefaultMaven.doExecute 
(DefaultMaven.java:286)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java: 
123)

at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native  
Method)
at sun.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced 
(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java: 
255)
at org.codehaus.classworlds.Launcher.mainWithExitCode 
(Launcher.java:430)

at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.project.InvalidProjectModelException:  
Failed to validate POM
at  
org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLog 
ic(DefaultMavenProjectBuilder.java:949)
at  
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal 
(DefaultMavenProjectBuilder.java:760)
at  
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFi 
leInternal(DefaultMavenProjectBuilder.java:431)
at  
org.apache.maven.project.DefaultMavenProjectBuilder.build 
(DefaultMavenP

Re: [BUILD] Trunk: Failed for Revision: 570882

2007-08-29 Thread Jason Dillon
Yes, that might be a good idea.  Though now there is also logback to  
consider:


http://logback.qos.ch/

--jason


On Aug 29, 2007, at 11:35 AM, David Jencks wrote:


Maybe we should look at switching from commons-logging to slf4j?

thanks
david jencks

On Aug 29, 2007, at 11:28 AM, Prasad Kashyap wrote:


Jason,

This build break is being caused by the Rev 57031 svn commit. Either
slf4j-jcl has to be re-introduced in the trunk/pom.xml or
configs/jetty6/pom.xml also has to change to replace slf4j-jcl with
slf4j-simple.

---
Author: jdillon
Date: Wed Aug 29 03:08:48 2007
New Revision: 570731

URL: http://svn.apache.org/viewvc?rev=570731&view=rev
Log:
Update to use gshell 1.0-alpha-1-SNAPSHOT, pending a little more work
to finish upgrading to the level of cli support as before
-

Cheers
Prasad



On 29 Aug 2007 18:14:26 -, [EMAIL PROTECTED]  
<[EMAIL PROTECTED]> wrote:

OpenEJB trunk at 570880
Geronimo Revision: 570882 built with tests skipped

See the full build-1400.log file at http://people.apache.org/ 
~prasad/binaries/trunk/20070829/build-1400.log


Building Geronimo trunk at Revision: 570882
Building OpenEJB trunk at 570880

[INFO] Scanning for projects...
Downloading: http://download.java.net/maven/1// 
org.apache.geronimo.genesis.config/poms/project-config-1.2.pom
[WARNING] Unable to get resource  
'org.apache.geronimo.genesis.config:project-config:pom:1.2' from  
repository java.net (http://download.java.net/maven/1/)
Downloading: http://repo1.maven.org/maven2/org/apache/geronimo/ 
genesis/config/project-config/1.2/project-config-1.2.pom

21K downloaded
Downloading: http://download.java.net/maven/1// 
org.apache.geronimo.genesis.config/poms/config-1.2.pom
[WARNING] Unable to get resource  
'org.apache.geronimo.genesis.config:config:pom:1.2' from  
repository java.net (http://download.java.net/maven/1/)
Downloading: http://people.apache.org/repo/m2-incubating- 
repository//org/apache/geronimo/genesis/config/config/1.2/ 
config-1.2.pom
[WARNING] Unable to get resource  
'org.apache.geronimo.genesis.config:config:pom:1.2' from  
repository apache-incubator (http://people.apache.org/repo/m2- 
incubating-repository/)
Downloading: http://repo1.maven.org/maven2/org/apache/geronimo/ 
genesis/config/config/1.2/config-1.2.pom

1K downloaded
Downloading: http://download.java.net/maven/1// 
org.apache.geronimo.genesis/poms/genesis-1.2.pom
[WARNING] Unable to get resource  
'org.apache.geronimo.genesis:genesis:pom:1.2' from repository  
java.net (http://download.java.net/maven/1/)
Downloading: http://people.apache.org/repo/m2-incubating- 
repository//org/apache/geronimo/genesis/genesis/1.2/genesis-1.2.pom
[WARNING] Unable to get resource  
'org.apache.geronimo.genesis:genesis:pom:1.2' from repository  
apache-incubator (http://people.apache.org/repo/m2-incubating- 
repository/)
Downloading: http://repo1.maven.org/maven2/org/apache/geronimo/ 
genesis/genesis/1.2/genesis-1.2.pom

10K downloaded
[INFO]  
 


[ERROR] FATAL ERROR
[INFO]  
 


[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.geronimo.configs:jetty6
POM Location: /home/prasad/geronimo/trunk/configs/jetty6/pom.xml
Validation Messages:

[0]  'dependencies.dependency.version' is missing for  
org.slf4j:slf4j-jcl



Reason: Failed to validate POM


[INFO]  
 


[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Failed to  
validate POM
at org.apache.maven.DefaultMaven.getProjects 
(DefaultMaven.java:373)
at org.apache.maven.DefaultMaven.doExecute 
(DefaultMaven.java:286)
at org.apache.maven.DefaultMaven.execute 
(DefaultMaven.java:123)

at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native  
Method)
at sun.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced 
(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java: 
255)
at org.codehaus.classworlds.Launcher.mainWithExitCode 
(Launcher.java:430)

at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.project.InvalidProjectModelException:  
Failed to validate POM
at  
org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLo 
gic(DefaultMavenProjectBuilder.java:949)
at  
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal 
(DefaultMavenProjectBuilder.java:760)
  

[BUILD] Trunk: Failed for Revision: 570950

2007-08-29 Thread prasad
OpenEJB trunk at 570947
Geronimo Revision: 570950 built with tests skipped
 
See the full build-1800.log file at 
http://people.apache.org/~prasad/binaries/trunk/20070829/build-1800.log
 
Building Geronimo trunk at Revision: 570950
Building OpenEJB trunk at 570947
 
[INFO] Scanning for projects...
Downloading: 
http://download.java.net/maven/1//org.apache.geronimo.genesis.config/poms/project-config-1.2.pom
[WARNING] Unable to get resource 
'org.apache.geronimo.genesis.config:project-config:pom:1.2' from repository 
java.net (http://download.java.net/maven/1/)
Downloading: 
http://repo1.maven.org/maven2/org/apache/geronimo/genesis/config/project-config/1.2/project-config-1.2.pom
21K downloaded
Downloading: 
http://download.java.net/maven/1//org.apache.geronimo.genesis.config/poms/config-1.2.pom
[WARNING] Unable to get resource 
'org.apache.geronimo.genesis.config:config:pom:1.2' from repository java.net 
(http://download.java.net/maven/1/)
Downloading: 
http://people.apache.org/repo/m2-incubating-repository//org/apache/geronimo/genesis/config/config/1.2/config-1.2.pom
[WARNING] Unable to get resource 
'org.apache.geronimo.genesis.config:config:pom:1.2' from repository 
apache-incubator (http://people.apache.org/repo/m2-incubating-repository/)
Downloading: 
http://repo1.maven.org/maven2/org/apache/geronimo/genesis/config/config/1.2/config-1.2.pom
1K downloaded
Downloading: 
http://download.java.net/maven/1//org.apache.geronimo.genesis/poms/genesis-1.2.pom
[WARNING] Unable to get resource 'org.apache.geronimo.genesis:genesis:pom:1.2' 
from repository java.net (http://download.java.net/maven/1/)
Downloading: 
http://people.apache.org/repo/m2-incubating-repository//org/apache/geronimo/genesis/genesis/1.2/genesis-1.2.pom
[WARNING] Unable to get resource 'org.apache.geronimo.genesis:genesis:pom:1.2' 
from repository apache-incubator 
(http://people.apache.org/repo/m2-incubating-repository/)
Downloading: 
http://repo1.maven.org/maven2/org/apache/geronimo/genesis/genesis/1.2/genesis-1.2.pom
10K downloaded
[INFO] 
[ERROR] FATAL ERROR
[INFO] 
[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.geronimo.configs:jetty6
POM Location: /home/prasad/geronimo/trunk/configs/jetty6/pom.xml
Validation Messages:

[0]  'dependencies.dependency.version' is missing for org.slf4j:slf4j-jcl


Reason: Failed to validate POM


[INFO] 
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Failed to validate POM
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:373)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:286)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.project.InvalidProjectModelException: Failed to 
validate POM
at 
org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLogic(DefaultMavenProjectBuilder.java:949)
at 
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:760)
at 
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:431)
at 
org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:195)
at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:523)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:455)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:499)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:499)
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:359)
... 11 more
[INFO] 
[INFO] Total time: 13 seconds
[INFO] Finished at: Wed Aug 29 18:11:38 EDT 2007
[INFO] Final Memory: 31M/508M
[INFO] 


Plugin stuff

2007-08-29 Thread David Jencks
I'm going to take a couple days to see if I can get the plugin  
installer in better shape.


My goals are:
- new schema as in GERONIMO-3330
- jaxb based
- easier to use the local maven repo as a plugin repo.  This might be  
done by having a "scan repo and generate geronimo-plugins.xml from  
all the plugins we find" function.
- let plugin xml contain more global bits.  Right now it can contain  
config.xml bits, it should be able to  modify other config.xml type  
files (offline deployer, etc) and artifact_aliases and config- 
substitutions properties files.  The changes to the properties files  
need to be live so e.g. when the plugin is started the new entries  
get used.


thanks
david jencks




Re: [jira] Created: (GERONIMO-3445) Verify log levels can be changed for openejb related log categories

2007-08-29 Thread David Blevins


On Aug 28, 2007, at 7:35 PM, Karan Malhi wrote:


I dont even think they can change log levels. We used the logic that
- if conf is present - use logging.properties
- if conf is present - logging.properties is absent- install
logging.properties and use it
- if conf is absent, assume embedded and use
embedded.logging.properties which is available in the openejb-core.jar
.
- if embedded.logging.properties is not found in openejb-core.jar then
rely on the log4j.configuration system property

So, if openejb is embedded within GERONIMO,  no matter what log levels
they set in the var/logs directory, those settings should never take
effect.

I think what we can do though is that Geronimo can set the
log4j.configuration system property in the
o.a.g.openejb.OpenEjbSystemGBean and we can then do the following:
- if conf is absent, assume embedded, look for log4j.configuration
system property. if log4j.configuration property is set, then use it,
if it is absent then use embedded.logging.properties

Do you think I am on the right track and does the above makes any  
sense?


Do you know if there is a way to check to see if the "OpenEJB" log4j  
category has been explicitly configured?  If so we could skip the  
whole business and assume whatever embedded environment we're in has  
taken responsibility for logging.


-David



One for the docs (Fwd: Standalone Geronimo 2.0.1 client)

2007-08-29 Thread David Blevins

This reply would be a good one for the docs.

Hernan, do you want to take a stab at this or can you point me at the  
right area to update?


-David


Begin forwarded message:


Resent-From: <[EMAIL PROTECTED]>
From: David Blevins <[EMAIL PROTECTED]>
Date: August 29, 2007 11:34:24 AM PDT
To: [EMAIL PROTECTED]
Subject: Re: Standalone Geronimo 2.0.1 client
Reply-To: [EMAIL PROTECTED]

The jar libraries for a standalone client are just openejb- 
client-3.0.0-nnn.jar, the EJB spec jar, plus any other spec  
jars you may use (JTA, JPA, annotations).


Then use these properties:

Properties props = new Properties();
props.put("java.naming.factory.initial",  
"org.apache.openejb.client.RemoteInitialContextFactory");

props.put("java.naming.provider.url", "ejbd://127.0.0.1:4201");
InitialContext context = new InitialContext(props);

The JNDI Names of your beans is going to be essentially {moduleId}/ 
{ejbName}/{interfaceClass} and are logged when the app is started  
on the info level of the OpenEJB.startup log4j category.  Info  
isn't enabled by default, though, and there have been reports of  
difficulty getting those log messages to show up which we are  
looking into.


-David

On Aug 29, 2007, at 3:09 AM, Jonathan Chen wrote:


Hi all,

I'm trying to write a standalone Geronimo 2.0.1 EJB client, and I'm
having trouble figuring out the JAR library dependancies as well as
the properties for the InitialContext.

Currently, I'm guessing that the JAR dependancies are all the JAR
files in the ${GERONIMO_HOME}/lib directory, ie:

asm-2.2.3.jar
asm-commons-2.2.3.jar
cglib-nodep-2.1_3.jar
commons-cli-1.0.jar
commons-logging-1.0.4.jar
geronimo-cli-2.0.1.jar
geronimo-deploy-jsr88-bootstrapper-2.0.1.jar
geronimo-kernel-2.0.1.jar
geronimo-transformer-2.0.1.jar
jsr88-deploymentfactory.jar
log4j-1.2.14.jar
xpp3-1.1.3.3.jar
xstream-1.1.3.jar

However, I have no idea what values to provide for the InitialContext
properties, ie:

java.naming.factory.initial
java.naming.factory.url.pkgs
java.naming.provider.url

Any help would be appreciated!

Cheers.
--
Jonathan Chen <[EMAIL PROTECTED]>
- 
-
 "A person should be able to do a small bit of  
everything,
specialisation is for  
insects"









Re: [BUILD] Trunk: Failed for Revision: 570882

2007-08-29 Thread David Jencks

Maybe we should look at switching from commons-logging to slf4j?

thanks
david jencks

On Aug 29, 2007, at 11:28 AM, Prasad Kashyap wrote:


Jason,

This build break is being caused by the Rev 57031 svn commit. Either
slf4j-jcl has to be re-introduced in the trunk/pom.xml or
configs/jetty6/pom.xml also has to change to replace slf4j-jcl with
slf4j-simple.

---
Author: jdillon
Date: Wed Aug 29 03:08:48 2007
New Revision: 570731

URL: http://svn.apache.org/viewvc?rev=570731&view=rev
Log:
Update to use gshell 1.0-alpha-1-SNAPSHOT, pending a little more work
to finish upgrading to the level of cli support as before
-

Cheers
Prasad



On 29 Aug 2007 18:14:26 -, [EMAIL PROTECTED]  
<[EMAIL PROTECTED]> wrote:

OpenEJB trunk at 570880
Geronimo Revision: 570882 built with tests skipped

See the full build-1400.log file at http://people.apache.org/ 
~prasad/binaries/trunk/20070829/build-1400.log


Building Geronimo trunk at Revision: 570882
Building OpenEJB trunk at 570880

[INFO] Scanning for projects...
Downloading: http://download.java.net/maven/1// 
org.apache.geronimo.genesis.config/poms/project-config-1.2.pom
[WARNING] Unable to get resource  
'org.apache.geronimo.genesis.config:project-config:pom:1.2' from  
repository java.net (http://download.java.net/maven/1/)
Downloading: http://repo1.maven.org/maven2/org/apache/geronimo/ 
genesis/config/project-config/1.2/project-config-1.2.pom

21K downloaded
Downloading: http://download.java.net/maven/1// 
org.apache.geronimo.genesis.config/poms/config-1.2.pom
[WARNING] Unable to get resource  
'org.apache.geronimo.genesis.config:config:pom:1.2' from  
repository java.net (http://download.java.net/maven/1/)
Downloading: http://people.apache.org/repo/m2-incubating- 
repository//org/apache/geronimo/genesis/config/config/1.2/ 
config-1.2.pom
[WARNING] Unable to get resource  
'org.apache.geronimo.genesis.config:config:pom:1.2' from  
repository apache-incubator (http://people.apache.org/repo/m2- 
incubating-repository/)
Downloading: http://repo1.maven.org/maven2/org/apache/geronimo/ 
genesis/config/config/1.2/config-1.2.pom

1K downloaded
Downloading: http://download.java.net/maven/1// 
org.apache.geronimo.genesis/poms/genesis-1.2.pom
[WARNING] Unable to get resource  
'org.apache.geronimo.genesis:genesis:pom:1.2' from repository  
java.net (http://download.java.net/maven/1/)
Downloading: http://people.apache.org/repo/m2-incubating- 
repository//org/apache/geronimo/genesis/genesis/1.2/genesis-1.2.pom
[WARNING] Unable to get resource  
'org.apache.geronimo.genesis:genesis:pom:1.2' from repository  
apache-incubator (http://people.apache.org/repo/m2-incubating- 
repository/)
Downloading: http://repo1.maven.org/maven2/org/apache/geronimo/ 
genesis/genesis/1.2/genesis-1.2.pom

10K downloaded
[INFO]  
- 
---

[ERROR] FATAL ERROR
[INFO]  
- 
---

[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.geronimo.configs:jetty6
POM Location: /home/prasad/geronimo/trunk/configs/jetty6/pom.xml
Validation Messages:

[0]  'dependencies.dependency.version' is missing for  
org.slf4j:slf4j-jcl



Reason: Failed to validate POM


[INFO]  
- 
---

[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Failed to  
validate POM
at org.apache.maven.DefaultMaven.getProjects 
(DefaultMaven.java:373)
at org.apache.maven.DefaultMaven.doExecute 
(DefaultMaven.java:286)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java: 
123)

at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native  
Method)
at sun.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced 
(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java: 
255)
at org.codehaus.classworlds.Launcher.mainWithExitCode 
(Launcher.java:430)

at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.project.InvalidProjectModelException:  
Failed to validate POM
at  
org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLog 
ic(DefaultMavenProjectBuilder.java:949)
at  
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal 
(DefaultMavenProjectBuilder.java:760)
at  
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFi 
leInternal(DefaultMavenProjectBuilder.java:431)
at  
org.apache.maven.project.Default

Re: [BUILD] Trunk: Failed for Revision: 570882

2007-08-29 Thread Prasad Kashyap
Jason,

This build break is being caused by the Rev 57031 svn commit. Either
slf4j-jcl has to be re-introduced in the trunk/pom.xml or
configs/jetty6/pom.xml also has to change to replace slf4j-jcl with
slf4j-simple.

---
Author: jdillon
Date: Wed Aug 29 03:08:48 2007
New Revision: 570731

URL: http://svn.apache.org/viewvc?rev=570731&view=rev
Log:
Update to use gshell 1.0-alpha-1-SNAPSHOT, pending a little more work
to finish upgrading to the level of cli support as before
-

Cheers
Prasad



On 29 Aug 2007 18:14:26 -, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> OpenEJB trunk at 570880
> Geronimo Revision: 570882 built with tests skipped
>
> See the full build-1400.log file at 
> http://people.apache.org/~prasad/binaries/trunk/20070829/build-1400.log
>
> Building Geronimo trunk at Revision: 570882
> Building OpenEJB trunk at 570880
>
> [INFO] Scanning for projects...
> Downloading: 
> http://download.java.net/maven/1//org.apache.geronimo.genesis.config/poms/project-config-1.2.pom
> [WARNING] Unable to get resource 
> 'org.apache.geronimo.genesis.config:project-config:pom:1.2' from repository 
> java.net (http://download.java.net/maven/1/)
> Downloading: 
> http://repo1.maven.org/maven2/org/apache/geronimo/genesis/config/project-config/1.2/project-config-1.2.pom
> 21K downloaded
> Downloading: 
> http://download.java.net/maven/1//org.apache.geronimo.genesis.config/poms/config-1.2.pom
> [WARNING] Unable to get resource 
> 'org.apache.geronimo.genesis.config:config:pom:1.2' from repository java.net 
> (http://download.java.net/maven/1/)
> Downloading: 
> http://people.apache.org/repo/m2-incubating-repository//org/apache/geronimo/genesis/config/config/1.2/config-1.2.pom
> [WARNING] Unable to get resource 
> 'org.apache.geronimo.genesis.config:config:pom:1.2' from repository 
> apache-incubator (http://people.apache.org/repo/m2-incubating-repository/)
> Downloading: 
> http://repo1.maven.org/maven2/org/apache/geronimo/genesis/config/config/1.2/config-1.2.pom
> 1K downloaded
> Downloading: 
> http://download.java.net/maven/1//org.apache.geronimo.genesis/poms/genesis-1.2.pom
> [WARNING] Unable to get resource 
> 'org.apache.geronimo.genesis:genesis:pom:1.2' from repository java.net 
> (http://download.java.net/maven/1/)
> Downloading: 
> http://people.apache.org/repo/m2-incubating-repository//org/apache/geronimo/genesis/genesis/1.2/genesis-1.2.pom
> [WARNING] Unable to get resource 
> 'org.apache.geronimo.genesis:genesis:pom:1.2' from repository 
> apache-incubator (http://people.apache.org/repo/m2-incubating-repository/)
> Downloading: 
> http://repo1.maven.org/maven2/org/apache/geronimo/genesis/genesis/1.2/genesis-1.2.pom
> 10K downloaded
> [INFO] 
> 
> [ERROR] FATAL ERROR
> [INFO] 
> 
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: org.apache.geronimo.configs:jetty6
> POM Location: /home/prasad/geronimo/trunk/configs/jetty6/pom.xml
> Validation Messages:
>
> [0]  'dependencies.dependency.version' is missing for org.slf4j:slf4j-jcl
>
>
> Reason: Failed to validate POM
>
>
> [INFO] 
> 
> [INFO] Trace
> org.apache.maven.reactor.MavenExecutionException: Failed to validate POM
> at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:373)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:286)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> at 
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.project.InvalidProjectModelException: Failed to 
> validate POM
> at 
> org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLogic(DefaultMavenProjectBuilder.java:949)
> at 
> org.apache.maven.project.DefaultMavenProjectBuilder.buildInterna

[BUILD] Trunk: Failed for Revision: 570882

2007-08-29 Thread prasad
OpenEJB trunk at 570880
Geronimo Revision: 570882 built with tests skipped
 
See the full build-1400.log file at 
http://people.apache.org/~prasad/binaries/trunk/20070829/build-1400.log
 
Building Geronimo trunk at Revision: 570882
Building OpenEJB trunk at 570880
 
[INFO] Scanning for projects...
Downloading: 
http://download.java.net/maven/1//org.apache.geronimo.genesis.config/poms/project-config-1.2.pom
[WARNING] Unable to get resource 
'org.apache.geronimo.genesis.config:project-config:pom:1.2' from repository 
java.net (http://download.java.net/maven/1/)
Downloading: 
http://repo1.maven.org/maven2/org/apache/geronimo/genesis/config/project-config/1.2/project-config-1.2.pom
21K downloaded
Downloading: 
http://download.java.net/maven/1//org.apache.geronimo.genesis.config/poms/config-1.2.pom
[WARNING] Unable to get resource 
'org.apache.geronimo.genesis.config:config:pom:1.2' from repository java.net 
(http://download.java.net/maven/1/)
Downloading: 
http://people.apache.org/repo/m2-incubating-repository//org/apache/geronimo/genesis/config/config/1.2/config-1.2.pom
[WARNING] Unable to get resource 
'org.apache.geronimo.genesis.config:config:pom:1.2' from repository 
apache-incubator (http://people.apache.org/repo/m2-incubating-repository/)
Downloading: 
http://repo1.maven.org/maven2/org/apache/geronimo/genesis/config/config/1.2/config-1.2.pom
1K downloaded
Downloading: 
http://download.java.net/maven/1//org.apache.geronimo.genesis/poms/genesis-1.2.pom
[WARNING] Unable to get resource 'org.apache.geronimo.genesis:genesis:pom:1.2' 
from repository java.net (http://download.java.net/maven/1/)
Downloading: 
http://people.apache.org/repo/m2-incubating-repository//org/apache/geronimo/genesis/genesis/1.2/genesis-1.2.pom
[WARNING] Unable to get resource 'org.apache.geronimo.genesis:genesis:pom:1.2' 
from repository apache-incubator 
(http://people.apache.org/repo/m2-incubating-repository/)
Downloading: 
http://repo1.maven.org/maven2/org/apache/geronimo/genesis/genesis/1.2/genesis-1.2.pom
10K downloaded
[INFO] 
[ERROR] FATAL ERROR
[INFO] 
[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.geronimo.configs:jetty6
POM Location: /home/prasad/geronimo/trunk/configs/jetty6/pom.xml
Validation Messages:

[0]  'dependencies.dependency.version' is missing for org.slf4j:slf4j-jcl


Reason: Failed to validate POM


[INFO] 
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Failed to validate POM
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:373)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:286)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.project.InvalidProjectModelException: Failed to 
validate POM
at 
org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLogic(DefaultMavenProjectBuilder.java:949)
at 
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:760)
at 
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:431)
at 
org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:195)
at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:523)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:455)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:499)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:499)
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:359)
... 11 more
[INFO] 
[INFO] Total time: 13 seconds
[INFO] Finished at: Wed Aug 29 14:12:20 EDT 2007
[INFO] Final Memory: 31M/508M
[INFO] 


Re: Top level wiki page for Plugins

2007-08-29 Thread Prasad Kashyap
AFAIK, there isn't a wiki page for our plugins.  But there is some
info about our plugins at this related page
http://cwiki.apache.org/GMOxDEV/pluggable-administration-console.html

Cheers
Prasad

On 8/29/07, Vamsavardhana Reddy <[EMAIL PROTECTED]> wrote:
> Should we create a top-level wiki page in our documentation for Plugins?  Or
> is there one already that I am unable to find?
>
> Vamsi
>


Top level wiki page for Plugins

2007-08-29 Thread Vamsavardhana Reddy
Should we create a top-level wiki page in our documentation for Plugins?  Or
is there one already that I am unable to find?

Vamsi


Re: Splitting up the server into a few more chunks

2007-08-29 Thread Prasad Kashyap
I'm trying to understand what we have discussed/decided so far. Please
let me know if my summary is on track and help me correct course.

We haven't discussed the actual maven groupIds/artifactIds/directory
names yet. So all names used in this summary are just as examples.

Summary:
---
1. Our basic objective is to deliver a framework and a large set of
components with which our users can build their own Geronimo server.
The primary goal of our build restructuring exercise should be to help
us meet this objective.  The next goal should be to help us build
smoothly and release efficiently.

2. We have to split the current build tree into support, framework,
and plugins sub-trees. Other than support and framework, everything
else should be plugins. This includes jee5, non-jee5, samples etc.
which could go in their own subtrees or be together.

Scenario 1:
server/support/trunk
server/framework/trunk
server/plugins/trunk/  <--- jee5, non-jee5, samples etc are
all here together.

Scenario 2:
server/support/trunk
server/framework/trunk
server/plugins/trunk/
 jee5/
 opt/
 samples/

Scenario 3:
server/support/trunk
server/framework/trunk
server/plugins/trunk<-- jee5 plugins
server/opt/trunk  <-- opt plugins
server/samples/trunk  <-- samples plugins

  Can we please pick a scenario here and move on ?

3. We have to restructure the build tree to make it feature-oriented
rather than type-oriented like present. To take Jencks example, jetty
runtime, jetty deployer and jetty admin should be kept together (as a
plugin group) instead of keeping module jars and config cars separate.

   server/plugins/trunk/
geronimo-jetty/
   jetty-runtime(1)
   jetty-deployer   (2)
   jetty-admin   (3)

  "I think you should be able to install (1), (1 and 3) (1 and 2) or
(1, 2 and 3)." - Jencks.


Further discussion:

Currently the plugins tree is structured as plugins//trunk.
IMO, this is not feasible in the long run, esp. when we want to
convert most of everything we have into plugins,  b'coz -

1. svn checkout of a complete Geronimo server (framework + all
plugins) for a given version now becomes a nightmare.
2. building all plugins for a given version becomes difficult.
3. inheritance from a common parent becomes difficult. Many things
will be duplicated across all the poms for all the plugins. Longer
poms causes larger maintenance issues.
4. Even maven plugins whom we want to emulate for their independent
release cycles are not structured this way. Trunk, branches, tags form
the top tier.  http://svn.apache.org/viewvc/maven/plugins/

Cheers
Prasad


On 8/8/07, Jason Dillon <[EMAIL PROTECTED]> wrote:
> On Aug 6, 2007, at 8:03 PM, David Blevins wrote:
> > On Aug 6, 2007, at 8:12 AM, David Jencks wrote:
> >
> >> I certainly agree with your goal but am less sure about your
> >> proposed naming and organization.  Also from looking at your list
> >> it took me a couple minutes to figure out what is removed from
> >> "server"
> >>
> >> I've been thinking that we could proceed by turning bits of the
> >> server into plugins.  For instance I was planning to turn the
> >> directory bits I commented out recently into a plugin this week.
> >> I think we could fairly easiiy turn jetty, tomcat, and openejb
> >> into plugins.  I wonder if, after turning the "easy stuff" into
> >> plugins what we will think about reorganizing the remaining stuff.
> >>
> >> So then the question might be how to organize the plugins?
> >
> > Haven't read the rest of the thread yet, but I'd like to backup the
> > idea of pulling things out one at a time, like we did with
> > connector and transaction, making them plugins if possible.  It
> > would be really great if people do things like upgrade OpenEJB when
> > a new release came out -- which we're hoping is often.
>
> I'd still like to see the plugin mangement in the console work
> something like the Confluence Plugin Repository Client ( http://
> confluence.atlassian.com/display/CONFEXT/Confluence+Repository+Client )
>
> Which has a sex UI to show whats installed (version, urls, notes,
> etc), whats not (with simple buttons to install) and when stuff is
> out of date (with simple buttons to upgrade).  This would be *hugely*
> powerful for administrators managing a Geronimo instance.
>
> :-)
>
>
>


[jira] Commented: (GERONIMODEVTOOLS-189) Error opening geronimo-web.xml

2007-08-29 Thread Tim McConnell (JIRA)

[ 
https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12523616
 ] 

Tim McConnell commented on GERONIMODEVTOOLS-189:


Meant to say that  "the IllegalArgumentException is an indication that you 
do NOT have a "Target Runtime" specified for your web application"


> Error opening geronimo-web.xml
> --
>
> Key: GERONIMODEVTOOLS-189
> URL: 
> https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-189
> Project: Geronimo-Devtools
>  Issue Type: Bug
>  Components: eclipse-plugin
>Affects Versions: 2.0
> Environment: Eclipse SDK Version: 3.3.0 
> Build id: I20070525-1350
> Build id: I20070625-1500
> Latest August 23 build from unstable
>Reporter: Shane Blake
>Assignee: Tim McConnell
>
> Opening geronimo-web.xml getting the following stack trace:
> java.lang.IllegalArgumentException
>   at 
> org.eclipse.wst.server.core.internal.facets.FacetUtil.getRuntime(FacetUtil.java:61)
>   at org.eclipse.jst.server.core.FacetUtil.getRuntime(FacetUtil.java:47)
>   at 
> org.apache.geronimo.st.ui.editors.SharedDeploymentPlanEditor.getLoader(SharedDeploymentPlanEditor.java:97)
>   at 
> org.apache.geronimo.st.ui.editors.SharedDeploymentPlanEditor.loadDeploymentPlan(SharedDeploymentPlanEditor.java:86)
>   at 
> org.apache.geronimo.st.ui.editors.AbstractGeronimoDeploymentPlanEditor.init(AbstractGeronimoDeploymentPlanEditor.java:181)
>   at 
> org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:794)
>   at 
> org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:643)
>   at 
> org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:426)
>   at 
> org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:592)
>   at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:299)
>   at 
> org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:179)
>   at 
> org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:268)
>   at 
> org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
>   at 
> org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:400)
>   at 
> org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
>   at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)
>   at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1604)
>   at org.eclipse.ui.internal.PartStack.add(PartStack.java:499)
>   at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103)
>   at org.eclipse.ui.internal.PartStack.add(PartStack.java:485)
>   at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112)
>   at 
> org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63)
>   at 
> org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:217)
>   at 
> org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:207)
>   at 
> org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:774)
>   at 
> org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:673)
>   at 
> org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:634)
>   at 
> org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2719)
>   at 
> org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2633)
>   at 
> org.eclipse.ui.internal.WorkbenchPage.access$12(WorkbenchPage.java:2625)
>   at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2577)
>   at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
>   at 
> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2572)
>   at 
> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2556)
>   at 
> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2547)
>   at org.eclipse.ui.ide.IDE.openEditor(IDE.java:644)
>   at org.eclipse.ui.ide.IDE.openEditor(IDE.java:603)
>   at 
> org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:285)
>   at 
> org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:138)
>   at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:194)
>   at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:175)
>   at 
> org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:268)
>   at 
> org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDi

[jira] Commented: (GERONIMODEVTOOLS-189) Error opening geronimo-web.xml

2007-08-29 Thread Tim McConnell (JIRA)

[ 
https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12523611
 ] 

Tim McConnell commented on GERONIMODEVTOOLS-189:


Hi Shane, the IllegalArgumentException is an indication that you do now have a 
"Target Runtime" specified for your web application. So if you specify Geronimo 
2.0 as the target runtime, and with the fix that I just commited you'll be able 
to open your geronimo-web.xml file (r570837). I'm doing another build now and 
will push the new plugin out to the unstable repo when it completes. Would you 
mind trying retrying with the latest plugin to ensure it fixes your problem. 
I'll leave this JIRA open until I hear back from you. Thanks much

> Error opening geronimo-web.xml
> --
>
> Key: GERONIMODEVTOOLS-189
> URL: 
> https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-189
> Project: Geronimo-Devtools
>  Issue Type: Bug
>  Components: eclipse-plugin
>Affects Versions: 2.0
> Environment: Eclipse SDK Version: 3.3.0 
> Build id: I20070525-1350
> Build id: I20070625-1500
> Latest August 23 build from unstable
>Reporter: Shane Blake
>Assignee: Tim McConnell
>
> Opening geronimo-web.xml getting the following stack trace:
> java.lang.IllegalArgumentException
>   at 
> org.eclipse.wst.server.core.internal.facets.FacetUtil.getRuntime(FacetUtil.java:61)
>   at org.eclipse.jst.server.core.FacetUtil.getRuntime(FacetUtil.java:47)
>   at 
> org.apache.geronimo.st.ui.editors.SharedDeploymentPlanEditor.getLoader(SharedDeploymentPlanEditor.java:97)
>   at 
> org.apache.geronimo.st.ui.editors.SharedDeploymentPlanEditor.loadDeploymentPlan(SharedDeploymentPlanEditor.java:86)
>   at 
> org.apache.geronimo.st.ui.editors.AbstractGeronimoDeploymentPlanEditor.init(AbstractGeronimoDeploymentPlanEditor.java:181)
>   at 
> org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:794)
>   at 
> org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:643)
>   at 
> org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:426)
>   at 
> org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:592)
>   at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:299)
>   at 
> org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:179)
>   at 
> org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:268)
>   at 
> org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
>   at 
> org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:400)
>   at 
> org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
>   at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)
>   at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1604)
>   at org.eclipse.ui.internal.PartStack.add(PartStack.java:499)
>   at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103)
>   at org.eclipse.ui.internal.PartStack.add(PartStack.java:485)
>   at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112)
>   at 
> org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63)
>   at 
> org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:217)
>   at 
> org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:207)
>   at 
> org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:774)
>   at 
> org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:673)
>   at 
> org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:634)
>   at 
> org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2719)
>   at 
> org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2633)
>   at 
> org.eclipse.ui.internal.WorkbenchPage.access$12(WorkbenchPage.java:2625)
>   at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2577)
>   at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
>   at 
> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2572)
>   at 
> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2556)
>   at 
> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2547)
>   at org.eclipse.ui.ide.IDE.openEditor(IDE.java:644)
>   at org.eclipse.ui.ide.IDE.openEditor(IDE.java:603)
>   at 
> org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:285)
>   at 
> org.eclipse.jdt.internal.ui.java

[jira] Assigned: (GERONIMODEVTOOLS-189) Error opening geronimo-web.xml

2007-08-29 Thread Tim McConnell (JIRA)

 [ 
https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tim McConnell reassigned GERONIMODEVTOOLS-189:
--

Assignee: Tim McConnell

> Error opening geronimo-web.xml
> --
>
> Key: GERONIMODEVTOOLS-189
> URL: 
> https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-189
> Project: Geronimo-Devtools
>  Issue Type: Bug
>  Components: eclipse-plugin
>Affects Versions: 2.0
> Environment: Eclipse SDK Version: 3.3.0 
> Build id: I20070525-1350
> Build id: I20070625-1500
> Latest August 23 build from unstable
>Reporter: Shane Blake
>Assignee: Tim McConnell
>
> Opening geronimo-web.xml getting the following stack trace:
> java.lang.IllegalArgumentException
>   at 
> org.eclipse.wst.server.core.internal.facets.FacetUtil.getRuntime(FacetUtil.java:61)
>   at org.eclipse.jst.server.core.FacetUtil.getRuntime(FacetUtil.java:47)
>   at 
> org.apache.geronimo.st.ui.editors.SharedDeploymentPlanEditor.getLoader(SharedDeploymentPlanEditor.java:97)
>   at 
> org.apache.geronimo.st.ui.editors.SharedDeploymentPlanEditor.loadDeploymentPlan(SharedDeploymentPlanEditor.java:86)
>   at 
> org.apache.geronimo.st.ui.editors.AbstractGeronimoDeploymentPlanEditor.init(AbstractGeronimoDeploymentPlanEditor.java:181)
>   at 
> org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:794)
>   at 
> org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:643)
>   at 
> org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:426)
>   at 
> org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:592)
>   at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:299)
>   at 
> org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:179)
>   at 
> org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:268)
>   at 
> org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
>   at 
> org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:400)
>   at 
> org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
>   at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)
>   at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1604)
>   at org.eclipse.ui.internal.PartStack.add(PartStack.java:499)
>   at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103)
>   at org.eclipse.ui.internal.PartStack.add(PartStack.java:485)
>   at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112)
>   at 
> org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63)
>   at 
> org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:217)
>   at 
> org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:207)
>   at 
> org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:774)
>   at 
> org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:673)
>   at 
> org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:634)
>   at 
> org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2719)
>   at 
> org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2633)
>   at 
> org.eclipse.ui.internal.WorkbenchPage.access$12(WorkbenchPage.java:2625)
>   at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2577)
>   at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
>   at 
> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2572)
>   at 
> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2556)
>   at 
> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2547)
>   at org.eclipse.ui.ide.IDE.openEditor(IDE.java:644)
>   at org.eclipse.ui.ide.IDE.openEditor(IDE.java:603)
>   at 
> org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:285)
>   at 
> org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:138)
>   at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:194)
>   at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:175)
>   at 
> org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:268)
>   at 
> org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:244)
>   at 
> org.eclipse.jdt.internal.ui.navigator.OpenAndExpand.run(OpenAndExpand.java:50)
>   at org.eclipse.ui.ac

[jira] Closed: (GERONIMODEVTOOLS-182) Unable to open Deployment plan editor in Eclipse

2007-08-29 Thread Tim McConnell (JIRA)

 [ 
https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tim McConnell closed GERONIMODEVTOOLS-182.
--

   Resolution: Fixed
Fix Version/s: 2.0
 Assignee: Tim McConnell  (was: Shiva Kumar H R)

Fixed with changes in r570837 to accomodate the new 2.0 version of Geronimo as 
a targeted runtime when editing geronimo-specific deployment plans. 

> Unable to open Deployment plan editor in Eclipse 
> -
>
> Key: GERONIMODEVTOOLS-182
> URL: 
> https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-182
> Project: Geronimo-Devtools
>  Issue Type: Bug
>  Components: eclipse-plugin
>Affects Versions: 2.0
> Environment: Windows Xp
>Reporter: Ashish Jain
>Assignee: Tim McConnell
> Fix For: 2.0
>
>
> Hi!!
>  I am using geronimo-tomcat6-jee5-2.0-M6-rc1-bin, 
> g-eclipse-plugin-2.0.0-v20070812.0209-deployable and 
> wtp-all-in-one-sdk-R-2.0-200706260303-win32 . I am creating a dynamic web 
> project using Eclipse. When I try to open geronimo-web.xml I get an error 
> message unable to open the editor instead default text editor is opened.
> Thanks
> Ashish

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Created: (GERONIMO-3449) HSQLDB embeded database URL can hang Geronimo web console

2007-08-29 Thread matthieu Moiroux (JIRA)
HSQLDB embeded database URL can hang Geronimo web console
-

 Key: GERONIMO-3449
 URL: https://issues.apache.org/jira/browse/GERONIMO-3449
 Project: Geronimo
  Issue Type: Bug
  Security Level: public (Regular issues)
  Components: console
 Environment: Windows / Eclipse 3.3 / HSQLDB embeded / FireFox 2
Reporter: matthieu Moiroux


HSQLDB embeded URL contains file path. 
If enter database URL with backslash (in Geronimo database pool wizard), 
Geronimo console goes to a empty screen. Replacing backslash by slash repair it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Created: (GERONIMO-3448) New threads launched from an EJB do not run as the same Subject as the launching thread

2007-08-29 Thread Vamsavardhana Reddy (JIRA)
New threads launched from an EJB do not run as the same Subject as the 
launching thread
---

 Key: GERONIMO-3448
 URL: https://issues.apache.org/jira/browse/GERONIMO-3448
 Project: Geronimo
  Issue Type: Improvement
  Security Level: public (Regular issues)
Affects Versions: 2.0.x, 2.1
Reporter: Vamsavardhana Reddy
 Fix For: 2.0.x, 2.1


New threads launched from an EJB context do not run as the same Subject as the 
thread that launched it.  This causes a failure when this new thread calls an 
EJB with restricted method permissions.  Looks like JBoss and BEA Weblogic 
carry over Subjects to new threads that are launched from within an EJB. 

See http://marc.info/?l=geronimo-dev&m=118819475331338&w=2

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



Re: New threads launched from an EJB do not run as the same Subject as the launching thread

2007-08-29 Thread Vamsavardhana Reddy
What ever way we want to deal with this, I have created a JIRA GERONIMO-3448
to track it.

Vamsi

On 8/28/07, Jacek Laskowski <[EMAIL PROTECTED]> wrote:
>
> On 8/27/07, David Jencks <[EMAIL PROTECTED]> wrote:
>
> > Aren't we supposed to prevent ejbs from starting threads?  Does the
> > commonj thread pool have a facility for supplying the security
> > context from the request submitting thread to the worker thread?
>
> Absolutely we are. I'm not sure about commonj, but threads aren't
> supposed to be fired off from ejbs. Wouldn't it be possible with
> appropriate SecurityManager settings? Or are there better approaches?
>
> Jacek
>
> --
> Jacek Laskowski
> http://www.JacekLaskowski.pl
>


[jira] Closed: (GERONIMO-3208) In-place deployment fails when renaming file

2007-08-29 Thread Vamsavardhana Reddy (JIRA)

 [ 
https://issues.apache.org/jira/browse/GERONIMO-3208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vamsavardhana Reddy closed GERONIMO-3208.
-

Resolution: Fixed

Thanks Aman for providing the patch.

Fixed in trunk and branches\2.0.  Completed: At revision: 570817  


> In-place deployment fails when renaming file
> 
>
> Key: GERONIMO-3208
> URL: https://issues.apache.org/jira/browse/GERONIMO-3208
> Project: Geronimo
>  Issue Type: Bug
>  Security Level: public(Regular issues) 
>  Components: deployment
>Affects Versions: 2.0-M6, 2.0.x, 2.1
> Environment: Windows XP SP2
>Reporter: Aman Nanner
>Assignee: Vamsavardhana Reddy
>Priority: Blocker
> Fix For: 2.0.x, 2.1
>
> Attachments: inplace-deployment-fails.ear.zip, nestedjarfile.patch
>
>
> I am using the latest SNAPSHOT of Geronimo.
> I was trying to deploy my custom application with Geronimo using "in-place" 
> deployment, but it would fail with a ZipException and an "Access denied" 
> message at the following line:
> {code}
> System Thread [RMI TCP Connection(189)-192.168.12.66] (Suspended (breakpoint 
> at line 127 in InPlaceResourceContext))  
>   InPlaceResourceContext.flush() line: 127
>   EARContext(DeploymentContext).flush() line: 428 
>   TomcatModuleBuilder(AbstractWebModuleBuilder).installModule(JarFile, 
> EARContext, Module, Collection, ConfigurationStore, Collection) line: 312  
>   AbstractWebModuleBuilder$$FastClassByCGLIB$$8523248f.invoke(int, 
> Object, Object[]) line: not available  
> {code}
> So I tried creating a small EAR file for testing purposes, and deployment of 
> it also failed but at a different point:
> {code}
>  [java] Error: Unable to distribute testing.ear: Problem closing war 
> context
>  [java] Cannot rename file
>  [java] 
> D:\Development\mx0706\build\geronimo\maintenix\testing.ear\testing.war
>  [java] to
>  [java] 
> D:\Development\mx0706\build\geronimo\maintenix\testing.ear\testing.war.saved
> {code}
> This failed at line 121 in the {{InPlaceResourceContext}} class.  I've 
> attached the sample EAR file that was causing me this problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[BUILD] Trunk: Failed for Revision: 570816

2007-08-29 Thread prasad
OpenEJB trunk at 570815
Geronimo Revision: 570816 built with tests skipped
 
See the full build-1000.log file at 
http://people.apache.org/~prasad/binaries/trunk/20070829/build-1000.log
 
Building Geronimo trunk at Revision: 570816
Building OpenEJB trunk at 570815
 
[INFO] Scanning for projects...
Downloading: 
http://download.java.net/maven/1//org.apache.geronimo.genesis.config/poms/project-config-1.2.pom
[WARNING] Unable to get resource 
'org.apache.geronimo.genesis.config:project-config:pom:1.2' from repository 
java.net (http://download.java.net/maven/1/)
Downloading: 
http://repo1.maven.org/maven2/org/apache/geronimo/genesis/config/project-config/1.2/project-config-1.2.pom
21K downloaded
Downloading: 
http://download.java.net/maven/1//org.apache.geronimo.genesis.config/poms/config-1.2.pom
[WARNING] Unable to get resource 
'org.apache.geronimo.genesis.config:config:pom:1.2' from repository java.net 
(http://download.java.net/maven/1/)
Downloading: 
http://people.apache.org/repo/m2-incubating-repository//org/apache/geronimo/genesis/config/config/1.2/config-1.2.pom
[WARNING] Unable to get resource 
'org.apache.geronimo.genesis.config:config:pom:1.2' from repository 
apache-incubator (http://people.apache.org/repo/m2-incubating-repository/)
Downloading: 
http://repo1.maven.org/maven2/org/apache/geronimo/genesis/config/config/1.2/config-1.2.pom
1K downloaded
Downloading: 
http://download.java.net/maven/1//org.apache.geronimo.genesis/poms/genesis-1.2.pom
[WARNING] Unable to get resource 'org.apache.geronimo.genesis:genesis:pom:1.2' 
from repository java.net (http://download.java.net/maven/1/)
Downloading: 
http://people.apache.org/repo/m2-incubating-repository//org/apache/geronimo/genesis/genesis/1.2/genesis-1.2.pom
[WARNING] Unable to get resource 'org.apache.geronimo.genesis:genesis:pom:1.2' 
from repository apache-incubator 
(http://people.apache.org/repo/m2-incubating-repository/)
Downloading: 
http://repo1.maven.org/maven2/org/apache/geronimo/genesis/genesis/1.2/genesis-1.2.pom
10K downloaded
[INFO] 
[ERROR] FATAL ERROR
[INFO] 
[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.geronimo.configs:jetty6
POM Location: /home/prasad/geronimo/trunk/configs/jetty6/pom.xml
Validation Messages:

[0]  'dependencies.dependency.version' is missing for org.slf4j:slf4j-jcl


Reason: Failed to validate POM


[INFO] 
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Failed to validate POM
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:373)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:286)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.project.InvalidProjectModelException: Failed to 
validate POM
at 
org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLogic(DefaultMavenProjectBuilder.java:949)
at 
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:760)
at 
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:431)
at 
org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:195)
at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:523)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:455)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:499)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:499)
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:359)
... 11 more
[INFO] 
[INFO] Total time: 13 seconds
[INFO] Finished at: Wed Aug 29 10:12:42 EDT 2007
[INFO] Final Memory: 31M/508M
[INFO] 


[jira] Updated: (GERONIMO-3208) In-place deployment fails when renaming file

2007-08-29 Thread Vamsavardhana Reddy (JIRA)

 [ 
https://issues.apache.org/jira/browse/GERONIMO-3208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vamsavardhana Reddy updated GERONIMO-3208:
--

Affects Version/s: 2.1
   2.0.x
Fix Version/s: 2.1
   2.0.x
 Assignee: Vamsavardhana Reddy

> In-place deployment fails when renaming file
> 
>
> Key: GERONIMO-3208
> URL: https://issues.apache.org/jira/browse/GERONIMO-3208
> Project: Geronimo
>  Issue Type: Bug
>  Security Level: public(Regular issues) 
>  Components: deployment
>Affects Versions: 2.0-M6, 2.0.x, 2.1
> Environment: Windows XP SP2
>Reporter: Aman Nanner
>Assignee: Vamsavardhana Reddy
>Priority: Blocker
> Fix For: 2.0.x, 2.1
>
> Attachments: inplace-deployment-fails.ear.zip, nestedjarfile.patch
>
>
> I am using the latest SNAPSHOT of Geronimo.
> I was trying to deploy my custom application with Geronimo using "in-place" 
> deployment, but it would fail with a ZipException and an "Access denied" 
> message at the following line:
> {code}
> System Thread [RMI TCP Connection(189)-192.168.12.66] (Suspended (breakpoint 
> at line 127 in InPlaceResourceContext))  
>   InPlaceResourceContext.flush() line: 127
>   EARContext(DeploymentContext).flush() line: 428 
>   TomcatModuleBuilder(AbstractWebModuleBuilder).installModule(JarFile, 
> EARContext, Module, Collection, ConfigurationStore, Collection) line: 312  
>   AbstractWebModuleBuilder$$FastClassByCGLIB$$8523248f.invoke(int, 
> Object, Object[]) line: not available  
> {code}
> So I tried creating a small EAR file for testing purposes, and deployment of 
> it also failed but at a different point:
> {code}
>  [java] Error: Unable to distribute testing.ear: Problem closing war 
> context
>  [java] Cannot rename file
>  [java] 
> D:\Development\mx0706\build\geronimo\maintenix\testing.ear\testing.war
>  [java] to
>  [java] 
> D:\Development\mx0706\build\geronimo\maintenix\testing.ear\testing.war.saved
> {code}
> This failed at line 121 in the {{InPlaceResourceContext}} class.  I've 
> attached the sample EAR file that was causing me this problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



Tuscany plugin for Geronimo moved from Geronimo sandbox to Geronimo Plugins

2007-08-29 Thread Vamsavardhana Reddy
Hi,

I have moved the Tuscany Plugin for Geronimo from sandbox to Geronimo
Plugins.  The svn URL is
https://svn.apache.org/repos/asf/geronimo/plugins/tuscany .  I had to add a
few additional repositories to the parent pom so that the plugin can be
built successfully with a clean m2 local repository.  The plugin can be
installed on Geronimo 2.0.1.  There is a version of the plugin for Geronimo
Tomcat distribution and another for Geronimo Jetty distribution.  There are
a few samples in Geronimo sandbox at
https://svn.apache.org/repos/asf/geronimo/sandbox/tuscany-integration/samplesthat
can be used with the plugin.

Thanks and regards,
Vamsi


Re: daily snapshot cleanup

2007-08-29 Thread James Strachan
On 8/29/07, Nodet Guillaume <[EMAIL PROTECTED]> wrote:
> Maybe we should use 30 days instead of 7 in case something wrong happen.
> It may be safer...

How about 14 days, splitting the difference? :)

It'd be great if we could have some kinda major alarm email if we've
gone say 4 days without any snapshots being built.

-- 
James
---
http://macstrac.blogspot.com/


[jira] Closed: (GSHELL-21) Extend PicoContainer adapter to allow for constructor + limited setter dependency injection

2007-08-29 Thread Jason Dillon (JIRA)

 [ 
https://issues.apache.org/jira/browse/GSHELL-21?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jason Dillon closed GSHELL-21.
--

   Resolution: Won't Fix
Fix Version/s: (was: 0.0.3)

Moved to using Plexus

> Extend PicoContainer adapter to allow for constructor + limited setter 
> dependency injection
> ---
>
> Key: GSHELL-21
> URL: https://issues.apache.org/jira/browse/GSHELL-21
> Project: GShell
>  Issue Type: Improvement
>  Security Level: public(Regular issues) 
>  Components: Core
>Affects Versions: 0.0.1
>Reporter: Jason Dillon
>Assignee: Jason Dillon
>Priority: Critical
>
> Need to provide a custom PicoContainer adapter to allow for custom 
> constructor + limited setter injection.
> Also, want to provide a simple property based configuration injection based 
> on the command.properties to allow for custom configuration.
> Basically, this is poor mans xml config in a spring style to allow simple 
> types (string, int, etc) to be configured via standard properties.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.