Re: Geronimo 2.1.4 code freeze

2009-03-25 Thread chi runhua
some questions  inline.

 I agree that to change the doc is another solution.  But all the connector
 created with console wizard will default be rar type.  In this case, the
 user can't export the connector he/she just created.  It looks quite
 strange.   That's why I prefer to include the RAR type in the list instead
 of only CAR type.

 ok but every plugin created by the car-maven--plugin -- including every
 datasource and ee app in geronimo - has extension .car and IMO this is the
 strongly preferred way to build plugins.  So doing it by hand in the server
 should give more consistent results, and the documentation should promote
 using the car extension

 So I would say we should change the docs and if we don't change the
 behavior of deploying stuff by default we should document that it's doing
 something inconsistent with exporting the result as a plugin.


   Does this mean no matter which package extension the user is using(jar,
ear, rar or war), if a user want to deploy the artifact on Geronimo and
export it as a plugin, the user should specify typecartype in the
deployment plan?

Otherwise, the user need to use car-maven-plugin to convert their
applications into geronimo plugins batchly.

Jeff C


Re: Geronimo 2.1.4 code freeze

2009-03-25 Thread David Jencks


On Mar 25, 2009, at 7:35 AM, chi runhua wrote:


some questions  inline.
I agree that to change the doc is another solution.  But all the  
connector created with console wizard will default be rar type.  In  
this case, the user can't export the connector he/she just  
created.  It looks quite strange.   That's why I prefer to include  
the RAR type in the list instead of only CAR type.
ok but every plugin created by the car-maven--plugin -- including  
every datasource and ee app in geronimo - has extension .car and IMO  
this is the strongly preferred way to build plugins.  So doing it by  
hand in the server should give more consistent results, and the  
documentation should promote using the car extension
So I would say we should change the docs and if we don't change the  
behavior of deploying stuff by default we should document that it's  
doing something inconsistent with exporting the result as a plugin.


   Does this mean no matter which package extension the user is  
using(jar, ear, rar or war), if a user want to deploy the artifact  
on Geronimo and export it as a plugin, the user should specify  
typecartype in the deployment plan?




yes

Otherwise, the user need to use car-maven-plugin to convert  
their applications into geronimo plugins batchly.


Using the car-maven-plugin will allow you to include a lot more  
metadata and customization options but is not essential to generate a  
plugin.


thanks
david jencks




Jeff C





[jira] Created: (GERONIMO-4601) Removing all statistics for one server resulted in exception and the configuration is not saved

2009-03-25 Thread Jack Cai (JIRA)
Removing all statistics for one server resulted in exception and the 
configuration is not saved
---

 Key: GERONIMO-4601
 URL: https://issues.apache.org/jira/browse/GERONIMO-4601
 Project: Geronimo
  Issue Type: Bug
  Security Level: public (Regular issues)
  Components: monitoring
Affects Versions: 2.1.5
Reporter: Jack Cai
Assignee: Jack Cai
Priority: Minor


If all statistics are removed for one server, then there is the below exception 
in the server log, and the configuratiion is not saved - after refresh, you get 
the old statistics back.

2009-03-25 16:17:31,109 ERROR [SnapshotConfigXMLBuilder] 文件过早结束。
org.xml.sax.SAXParseException: 文件过早结束。
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
at 
org.apache.geronimo.monitoring.snapshot.SnapshotConfigXMLBuilder.openDocument(SnapshotConfigXMLBuilder.java:286)
at 
org.apache.geronimo.monitoring.snapshot.SnapshotConfigXMLBuilder.getAttributeValue(SnapshotConfigXMLBuilder.java:197)
at 
org.apache.geronimo.monitoring.MasterRemoteControl.getSnapshotDuration(MasterRemoteControl.java:320)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at 
org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:158)
at 
org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:141)
at 
org.apache.openejb.core.interceptor.InterceptorStack.invoke(InterceptorStack.java:67)
at 
org.apache.openejb.core.stateless.StatelessContainer._invoke(StatelessContainer.java:210)
at 
org.apache.openejb.core.stateless.StatelessContainer._invoke(StatelessContainer.java:188)
at 
org.apache.openejb.core.stateless.StatelessContainer.invoke(StatelessContainer.java:165)
at 
org.apache.openejb.server.ejbd.EjbRequestHandler.doEjbObject_BUSINESS_METHOD(EjbRequestHandler.java:238)
at 
org.apache.openejb.server.ejbd.EjbRequestHandler.processRequest(EjbRequestHandler.java:129)
at 
org.apache.openejb.server.ejbd.EjbDaemon.processEjbRequest(EjbDaemon.java:164)
at org.apache.openejb.server.ejbd.EjbDaemon.service(EjbDaemon.java:122)
at org.apache.openejb.server.ejbd.EjbDaemon.service(EjbDaemon.java:84)
at org.apache.openejb.server.ejbd.EjbServer.service(EjbServer.java:60)
at org.apache.openejb.server.ServicePool$2.run(ServicePool.java:78)
at org.apache.openejb.server.ServicePool$3.run(ServicePool.java:101)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
at java.lang.Thread.run(Thread.java:810)


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



[jira] Created: (GERONIMO-4602) Unexpected tomcat session destroy in the server container while the client is stil alive

2009-03-25 Thread Jack Cai (JIRA)
Unexpected tomcat session destroy in the server container while the client is 
stil alive


 Key: GERONIMO-4602
 URL: https://issues.apache.org/jira/browse/GERONIMO-4602
 Project: Geronimo
  Issue Type: Bug
  Security Level: public (Regular issues)
  Components: Tomcat
Affects Versions: 2.1.5
 Environment: Windows/Linux, FireFox/IE, IBM Java 5
Reporter: Jack Cai
Assignee: Jack Cai
Priority: Critical


After logging in the admin console, and keep refreshing the welcome page, at 
some random point (usually less than 100 times of refreshing), the user is 
unexpectedly logged out and redirected to the login form. I can see that the 
original session is destoryed in the server container.

This could be a problem in Tomcat. I need to look deeper into 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-4603) PropertiesLoginManager is hardwired to properties-login login module

2009-03-25 Thread David Jencks (JIRA)
PropertiesLoginManager is hardwired to properties-login login module


 Key: GERONIMO-4603
 URL: https://issues.apache.org/jira/browse/GERONIMO-4603
 Project: Geronimo
  Issue Type: Bug
  Security Level: public (Regular issues)
  Components: console
Affects Versions: 2.1.4, 2.2
Reporter: David Jencks
 Fix For: 2.1.5, 2.2


In production you want to replace the toy properties login realm with something 
else such as an ldap realm.  However the admin console has a hardwired 
dependency on the properties-login gbean.

We should make the reference from PropertiesLoginManager multi-valued and scan 
through it for properties login modules so you can edit any such properties 
files.

Workaround for replacing server-security-config with something with a real 
security realm is to include the properties login module as a dummy, not used 
in a security realm:

!-- bug workaround --
gbean name=properties-login
class=org.apache.geronimo.security.jaas.LoginModuleGBean
attribute 
name=loginModuleClassorg.apache.geronimo.security.realm.providers.PropertiesFileLoginModule/attribute
attribute name=options
usersURI=var/security/users.properties
groupsURI=var/security/groups.properties
/attribute
attribute name=loginDomainNamegeronimo-admin/attribute
/gbean


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



Re: JSF - WoodStock Controls

2009-03-25 Thread Bob78

Found a Way, , If i extract the themes JAR in to the Application war it
works, if there is an update, i will add here
-- 
View this message in context: 
http://www.nabble.com/JSF---WoodStock-Controls-tp22618465s134p22698858.html
Sent from the Apache Geronimo - Dev mailing list archive at Nabble.com.



[jira] Resolved: (GERONIMO-4597) Validate Web Admin Console input

2009-03-25 Thread Joe Bohn (JIRA)

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

Joe Bohn resolved GERONIMO-4597.


   Resolution: Fixed
Fix Version/s: 2.1.5

checked into branches/2.1.4 with rev. 758252, 
branches/2.1 with rev. 758274, 
and trunk with rev. 758297

 Validate Web Admin Console input
 

 Key: GERONIMO-4597
 URL: https://issues.apache.org/jira/browse/GERONIMO-4597
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: console
Affects Versions: 2.1, 2.1.1, 2.1.2, 2.1.3
Reporter: Joe Bohn
Assignee: Joe Bohn
 Fix For: 2.1.4, 2.1.5, 2.2




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



[jira] Commented: (GERONIMO-4243) EAR Deploy Error

2009-03-25 Thread Gus (JIRA)

[ 
https://issues.apache.org/jira/browse/GERONIMO-4243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12689141#action_12689141
 ] 

Gus commented on GERONIMO-4243:
---

I am experiencing this same issue (using geronimo 2.1.2).  I don't include the 
db2jcc.jar, though.  My project has spring-ws dependency, jdom and jaxen:

dependencies
dependency
groupIdorg.springframework.ws/groupId
artifactIdspring-oxm/artifactId
version1.5.6/version
/dependency
dependency
groupIdorg.springframework.ws/groupId
artifactIdspring-ws-core/artifactId
version1.5.6/version
/dependency
dependency
groupIdorg.springframework/groupId
artifactIdspring-web/artifactId
version2.5.6/version
/dependency
dependency
groupIdjdom/groupId
artifactIdjdom/artifactId
version1.0/version
/dependency
dependency
groupIdjaxen/groupId
artifactIdjaxen/artifactId
version1.1.1/version
/dependency
/dependencies

Hopefully this adds another clue.

 EAR Deploy Error
 

 Key: GERONIMO-4243
 URL: https://issues.apache.org/jira/browse/GERONIMO-4243
 Project: Geronimo
  Issue Type: Sub-task
  Security Level: public(Regular issues) 
  Components: console, deployment, Jetty, Tomcat, webservices
Affects Versions: 2.1.2, 2.1.3, 2.2
 Environment: Java
 java.awt.graphicsenv  sun.awt.X11GraphicsEnvironment
 java.awt.printerjob   sun.print.PSPrinterJob
 java.class.path   
 /usr/local/geronimo/bin/server.jar
 /usr/local/geronimo/bin/jpa.jar
 java.class.version49.0
 java.endorsed.dirs
 /usr/local/geronimo/lib/endorsed
 /usr/local/java/jre/lib/endorsed
 java.ext.dirs 
 /usr/local/geronimo/lib/ext
 /usr/local/java/jre/lib/ext
 java.home /home/oxseed/jdk1.5.0_15/jre
 java.io.tmpdir/home/oxseed/geronimo-tomcat6-javaee5-2.1.2/var/temp
 java.library.path 
 /home/oxseed/jdk1.5.0_15/jre/lib/i386/server
 /home/oxseed/jdk1.5.0_15/jre/lib/i386
 /home/oxseed/jdk1.5.0_15/jre/../lib/i386
 java.runtime.name Java(TM) 2 Runtime Environment, Standard Edition
 java.runtime.version  1.5.0_15-b04
 java.specification.name   Java Platform API Specification
 java.specification.vendor Sun Microsystems Inc.
 java.specification.version1.5
 java.util.prefs.PreferencesFactory
 java.vendor-  Sun Microsystems Inc.
 java.vendor.url   http://java.sun.com/
 java.vendor.url.bug   http://java.sun.com/cgi-bin/bugreport.cgi
 java.version- 1.5.0_15
 Virtual Machine
 java.vm.info  mixed mode
 java.vm.name  Java HotSpot(TM) Server VM
 java.vm.specification.nameJava Virtual Machine Specification
 java.vm.specification.vendor  Sun Microsystems Inc.
 java.vm.specification.version 1.0
 java.vm.vendorSun Microsystems Inc.
 java.vm.version   1.5.0_15-b04
 Operating System
 os.arch   i386
 os.name   Linux
 os.version2.6.16.33-xen
 Sun
 sun.arch.data.model   32
 sun.boot.class.path   
 /usr/local/geronimo/lib/endorsed/yoko-spec-corba-1.0.jar
 /usr/local/geronimo/lib/endorsed/yoko-rmi-spec-1.0.jar
 /home/oxseed/jdk1.5.0_15/jre/lib/rt.jar
 /home/oxseed/jdk1.5.0_15/jre/lib/i18n.jar
 /home/oxseed/jdk1.5.0_15/jre/lib/sunrsasign.jar
 /home/oxseed/jdk1.5.0_15/jre/lib/jsse.jar
 /home/oxseed/jdk1.5.0_15/jre/lib/jce.jar
 /home/oxseed/jdk1.5.0_15/jre/lib/charsets.jar
 /home/oxseed/jdk1.5.0_15/jre/classes
 sun.boot.library.path 
 /home/oxseed/jdk1.5.0_15/jre/lib/i386
 sun.cpu.endianlittle
 sun.cpu.isalist   
 sun.io.unicode.encoding   UnicodeLittle
 sun.java2d.fontpath   
 sun.os.patch.levelunknown
 User
 user.country  US
 user.dir  /home/oxseed
 user.home /home/oxseed
 user.language en
 user.name oxseed
 user.timezone Europe/Berlin
 user.variant  
 Etc
 admin.disabledtrue
 catalina.base /home/oxseed/geronimo-tomcat6-javaee5-2.1.2/var/catalina
 catalina.home /home/oxseed/geronimo-tomcat6-javaee5-2.1.2/var/catalina
 catalina.useNamingfalse
 com.sun.management.jmxremote  
 com.sun.management.jmxremote.authenticate false
 com.sun.management.jmxremote.port 8004
 com.sun.management.jmxremote.ssl  false
 common.loader ${catalina.home}/lib ${catalina.home}/lib/*.jar
 derby.storage.fileSyncTransactionLog  true
 derby.system.home /home/oxseed
 duct tape 
 file.encoding ANSI_X3.4-1968
 file.encoding.pkg sun.io
 file.separator  

[jira] Issue Comment Edited: (GERONIMO-4243) EAR Deploy Error

2009-03-25 Thread Gus (JIRA)

[ 
https://issues.apache.org/jira/browse/GERONIMO-4243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12689141#action_12689141
 ] 

Gus edited comment on GERONIMO-4243 at 3/25/09 8:47 AM:


I am experiencing this same issue (using geronimo 2.1.3).  I don't include the 
db2jcc.jar, though.  My project has spring-ws dependency, jdom and jaxen:

dependencies
dependency
groupIdorg.springframework.ws/groupId
artifactIdspring-oxm/artifactId
version1.5.6/version
/dependency
dependency
groupIdorg.springframework.ws/groupId
artifactIdspring-ws-core/artifactId
version1.5.6/version
/dependency
dependency
groupIdorg.springframework/groupId
artifactIdspring-web/artifactId
version2.5.6/version
/dependency
dependency
groupIdjdom/groupId
artifactIdjdom/artifactId
version1.0/version
/dependency
dependency
groupIdjaxen/groupId
artifactIdjaxen/artifactId
version1.1.1/version
/dependency
/dependencies

Hopefully this adds another clue.

  was (Author: gmancuso):
I am experiencing this same issue (using geronimo 2.1.2).  I don't include 
the db2jcc.jar, though.  My project has spring-ws dependency, jdom and jaxen:

dependencies
dependency
groupIdorg.springframework.ws/groupId
artifactIdspring-oxm/artifactId
version1.5.6/version
/dependency
dependency
groupIdorg.springframework.ws/groupId
artifactIdspring-ws-core/artifactId
version1.5.6/version
/dependency
dependency
groupIdorg.springframework/groupId
artifactIdspring-web/artifactId
version2.5.6/version
/dependency
dependency
groupIdjdom/groupId
artifactIdjdom/artifactId
version1.0/version
/dependency
dependency
groupIdjaxen/groupId
artifactIdjaxen/artifactId
version1.1.1/version
/dependency
/dependencies

Hopefully this adds another clue.
  
 EAR Deploy Error
 

 Key: GERONIMO-4243
 URL: https://issues.apache.org/jira/browse/GERONIMO-4243
 Project: Geronimo
  Issue Type: Sub-task
  Security Level: public(Regular issues) 
  Components: console, deployment, Jetty, Tomcat, webservices
Affects Versions: 2.1.2, 2.1.3, 2.2
 Environment: Java
 java.awt.graphicsenv  sun.awt.X11GraphicsEnvironment
 java.awt.printerjob   sun.print.PSPrinterJob
 java.class.path   
 /usr/local/geronimo/bin/server.jar
 /usr/local/geronimo/bin/jpa.jar
 java.class.version49.0
 java.endorsed.dirs
 /usr/local/geronimo/lib/endorsed
 /usr/local/java/jre/lib/endorsed
 java.ext.dirs 
 /usr/local/geronimo/lib/ext
 /usr/local/java/jre/lib/ext
 java.home /home/oxseed/jdk1.5.0_15/jre
 java.io.tmpdir/home/oxseed/geronimo-tomcat6-javaee5-2.1.2/var/temp
 java.library.path 
 /home/oxseed/jdk1.5.0_15/jre/lib/i386/server
 /home/oxseed/jdk1.5.0_15/jre/lib/i386
 /home/oxseed/jdk1.5.0_15/jre/../lib/i386
 java.runtime.name Java(TM) 2 Runtime Environment, Standard Edition
 java.runtime.version  1.5.0_15-b04
 java.specification.name   Java Platform API Specification
 java.specification.vendor Sun Microsystems Inc.
 java.specification.version1.5
 java.util.prefs.PreferencesFactory
 java.vendor-  Sun Microsystems Inc.
 java.vendor.url   http://java.sun.com/
 java.vendor.url.bug   http://java.sun.com/cgi-bin/bugreport.cgi
 java.version- 1.5.0_15
 Virtual Machine
 java.vm.info  mixed mode
 java.vm.name  Java HotSpot(TM) Server VM
 java.vm.specification.nameJava Virtual Machine Specification
 java.vm.specification.vendor  Sun Microsystems Inc.
 java.vm.specification.version 1.0
 java.vm.vendorSun Microsystems Inc.
 java.vm.version   1.5.0_15-b04
 Operating System
 os.arch   i386
 os.name   Linux
 os.version2.6.16.33-xen
 Sun
 sun.arch.data.model   32
 sun.boot.class.path   
 /usr/local/geronimo/lib/endorsed/yoko-spec-corba-1.0.jar
 

[jira] Issue Comment Edited: (GERONIMO-4243) EAR Deploy Error

2009-03-25 Thread Gus (JIRA)

[ 
https://issues.apache.org/jira/browse/GERONIMO-4243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12689141#action_12689141
 ] 

Gus edited comment on GERONIMO-4243 at 3/25/09 8:56 AM:


I am experiencing this same issue (using geronimo 2.1.3).  I don't include the 
db2jcc.jar, though.  My project has spring-ws dependency, jdom and jaxen:

dependencies
dependency
groupIdorg.springframework.ws/groupId
artifactIdspring-oxm/artifactId
version1.5.6/version
/dependency
dependency
groupIdorg.springframework.ws/groupId
artifactIdspring-ws-core/artifactId
version1.5.6/version
/dependency
dependency
groupIdorg.springframework/groupId
artifactIdspring-web/artifactId
version2.5.6/version
/dependency
dependency
groupIdjdom/groupId
artifactIdjdom/artifactId
version1.0/version
/dependency
dependency
groupIdjaxen/groupId
artifactIdjaxen/artifactId
version1.1.1/version
/dependency
/dependencies

Hopefully this adds another clue.

Edit: I get this same error when deploying just the web application war by 
itself as well. 

  was (Author: gmancuso):
I am experiencing this same issue (using geronimo 2.1.3).  I don't include 
the db2jcc.jar, though.  My project has spring-ws dependency, jdom and jaxen:

dependencies
dependency
groupIdorg.springframework.ws/groupId
artifactIdspring-oxm/artifactId
version1.5.6/version
/dependency
dependency
groupIdorg.springframework.ws/groupId
artifactIdspring-ws-core/artifactId
version1.5.6/version
/dependency
dependency
groupIdorg.springframework/groupId
artifactIdspring-web/artifactId
version2.5.6/version
/dependency
dependency
groupIdjdom/groupId
artifactIdjdom/artifactId
version1.0/version
/dependency
dependency
groupIdjaxen/groupId
artifactIdjaxen/artifactId
version1.1.1/version
/dependency
/dependencies

Hopefully this adds another clue.
  
 EAR Deploy Error
 

 Key: GERONIMO-4243
 URL: https://issues.apache.org/jira/browse/GERONIMO-4243
 Project: Geronimo
  Issue Type: Sub-task
  Security Level: public(Regular issues) 
  Components: console, deployment, Jetty, Tomcat, webservices
Affects Versions: 2.1.2, 2.1.3, 2.2
 Environment: Java
 java.awt.graphicsenv  sun.awt.X11GraphicsEnvironment
 java.awt.printerjob   sun.print.PSPrinterJob
 java.class.path   
 /usr/local/geronimo/bin/server.jar
 /usr/local/geronimo/bin/jpa.jar
 java.class.version49.0
 java.endorsed.dirs
 /usr/local/geronimo/lib/endorsed
 /usr/local/java/jre/lib/endorsed
 java.ext.dirs 
 /usr/local/geronimo/lib/ext
 /usr/local/java/jre/lib/ext
 java.home /home/oxseed/jdk1.5.0_15/jre
 java.io.tmpdir/home/oxseed/geronimo-tomcat6-javaee5-2.1.2/var/temp
 java.library.path 
 /home/oxseed/jdk1.5.0_15/jre/lib/i386/server
 /home/oxseed/jdk1.5.0_15/jre/lib/i386
 /home/oxseed/jdk1.5.0_15/jre/../lib/i386
 java.runtime.name Java(TM) 2 Runtime Environment, Standard Edition
 java.runtime.version  1.5.0_15-b04
 java.specification.name   Java Platform API Specification
 java.specification.vendor Sun Microsystems Inc.
 java.specification.version1.5
 java.util.prefs.PreferencesFactory
 java.vendor-  Sun Microsystems Inc.
 java.vendor.url   http://java.sun.com/
 java.vendor.url.bug   http://java.sun.com/cgi-bin/bugreport.cgi
 java.version- 1.5.0_15
 Virtual Machine
 java.vm.info  mixed mode
 java.vm.name  Java HotSpot(TM) Server VM
 java.vm.specification.nameJava Virtual Machine Specification
 java.vm.specification.vendor  Sun Microsystems Inc.
 java.vm.specification.version 1.0
 java.vm.vendorSun Microsystems Inc.
 java.vm.version   1.5.0_15-b04
 Operating System
 os.arch   i386
 os.name   Linux
 os.version2.6.16.33-xen
 Sun
 sun.arch.data.model   32
 sun.boot.class.path   
 

[jira] Commented: (GERONIMO-4243) EAR Deploy Error

2009-03-25 Thread Jarek Gawor (JIRA)

[ 
https://issues.apache.org/jira/browse/GERONIMO-4243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12689146#action_12689146
 ] 

Jarek Gawor commented on GERONIMO-4243:
---

At one point I thought this problem is caused by a bug in the ASM library. Can 
you please test for this problem in trunk or branches/2.1? Both of these 
branches were updated to ASM 3.1 and maybe hopefully that alone fixes this 
problem. Thanks.



 EAR Deploy Error
 

 Key: GERONIMO-4243
 URL: https://issues.apache.org/jira/browse/GERONIMO-4243
 Project: Geronimo
  Issue Type: Sub-task
  Security Level: public(Regular issues) 
  Components: console, deployment, Jetty, Tomcat, webservices
Affects Versions: 2.1.2, 2.1.3, 2.2
 Environment: Java
 java.awt.graphicsenv  sun.awt.X11GraphicsEnvironment
 java.awt.printerjob   sun.print.PSPrinterJob
 java.class.path   
 /usr/local/geronimo/bin/server.jar
 /usr/local/geronimo/bin/jpa.jar
 java.class.version49.0
 java.endorsed.dirs
 /usr/local/geronimo/lib/endorsed
 /usr/local/java/jre/lib/endorsed
 java.ext.dirs 
 /usr/local/geronimo/lib/ext
 /usr/local/java/jre/lib/ext
 java.home /home/oxseed/jdk1.5.0_15/jre
 java.io.tmpdir/home/oxseed/geronimo-tomcat6-javaee5-2.1.2/var/temp
 java.library.path 
 /home/oxseed/jdk1.5.0_15/jre/lib/i386/server
 /home/oxseed/jdk1.5.0_15/jre/lib/i386
 /home/oxseed/jdk1.5.0_15/jre/../lib/i386
 java.runtime.name Java(TM) 2 Runtime Environment, Standard Edition
 java.runtime.version  1.5.0_15-b04
 java.specification.name   Java Platform API Specification
 java.specification.vendor Sun Microsystems Inc.
 java.specification.version1.5
 java.util.prefs.PreferencesFactory
 java.vendor-  Sun Microsystems Inc.
 java.vendor.url   http://java.sun.com/
 java.vendor.url.bug   http://java.sun.com/cgi-bin/bugreport.cgi
 java.version- 1.5.0_15
 Virtual Machine
 java.vm.info  mixed mode
 java.vm.name  Java HotSpot(TM) Server VM
 java.vm.specification.nameJava Virtual Machine Specification
 java.vm.specification.vendor  Sun Microsystems Inc.
 java.vm.specification.version 1.0
 java.vm.vendorSun Microsystems Inc.
 java.vm.version   1.5.0_15-b04
 Operating System
 os.arch   i386
 os.name   Linux
 os.version2.6.16.33-xen
 Sun
 sun.arch.data.model   32
 sun.boot.class.path   
 /usr/local/geronimo/lib/endorsed/yoko-spec-corba-1.0.jar
 /usr/local/geronimo/lib/endorsed/yoko-rmi-spec-1.0.jar
 /home/oxseed/jdk1.5.0_15/jre/lib/rt.jar
 /home/oxseed/jdk1.5.0_15/jre/lib/i18n.jar
 /home/oxseed/jdk1.5.0_15/jre/lib/sunrsasign.jar
 /home/oxseed/jdk1.5.0_15/jre/lib/jsse.jar
 /home/oxseed/jdk1.5.0_15/jre/lib/jce.jar
 /home/oxseed/jdk1.5.0_15/jre/lib/charsets.jar
 /home/oxseed/jdk1.5.0_15/jre/classes
 sun.boot.library.path 
 /home/oxseed/jdk1.5.0_15/jre/lib/i386
 sun.cpu.endianlittle
 sun.cpu.isalist   
 sun.io.unicode.encoding   UnicodeLittle
 sun.java2d.fontpath   
 sun.os.patch.levelunknown
 User
 user.country  US
 user.dir  /home/oxseed
 user.home /home/oxseed
 user.language en
 user.name oxseed
 user.timezone Europe/Berlin
 user.variant  
 Etc
 admin.disabledtrue
 catalina.base /home/oxseed/geronimo-tomcat6-javaee5-2.1.2/var/catalina
 catalina.home /home/oxseed/geronimo-tomcat6-javaee5-2.1.2/var/catalina
 catalina.useNamingfalse
 com.sun.management.jmxremote  
 com.sun.management.jmxremote.authenticate false
 com.sun.management.jmxremote.port 8004
 com.sun.management.jmxremote.ssl  false
 common.loader ${catalina.home}/lib ${catalina.home}/lib/*.jar
 derby.storage.fileSyncTransactionLog  true
 derby.system.home /home/oxseed
 duct tape 
 file.encoding ANSI_X3.4-1968
 file.encoding.pkg sun.io
 file.separator/
 java.naming.factory.initial   
 org.apache.xbean.naming.global.GlobalContextManager
 java.naming.factory.url.pkgs  org.apache.xbean.naming
 java.naming.provider.url  rmi://0.0.0.0:1099
 java.net.preferIPv4Stack  true
 java.rmi.server.RMIClassLoaderSpi 
 org.apache.geronimo.kernel.rmi.RMIClassLoaderSpiImpl
 java.rmi.server.randomIDs true
 java.security.ProviderSUN
 javax.rmi.CORBA.PortableRemoteObjectClass 
 org.apache.yoko.rmi.impl.PortableRemoteObjectImpl
 javax.rmi.CORBA.StubClass org.apache.yoko.rmi.impl.StubImpl
 javax.rmi.CORBA.UtilClass org.apache.geronimo.corba.util.UtilDelegateImpl
 javax.security.jacc.PolicyConfigurationFactory.provider   
 org.apache.geronimo.security.jacc.mappingprovider.GeronimoPolicyConfigurationFactory
 javax.security.jacc.policy.provider   
 org.apache.geronimo.security.jacc.mappingprovider.GeronimoPolicy
 javax.xml.soap.MessageFactory 
 org.apache.geronimo.webservices.saaj.GeronimoMessageFactory
 

Deploying ear file with ldap realm - geronimo 2.1.x

2009-03-25 Thread govinda

I tried to deploy ear file that has single war file and I receive the
following error, my geronimo-application.xml has ldap realm.
I have server-wide ldap realm created, deployed war and tested ldap
security, its working but I could not deploy ear file. Am I missing any
security mapping?

server001:/global/WebSphereCE/bin # ./deploy.sh deploy SuperSnoop.ear
geronimo-application.xml
Using GERONIMO_BASE: /global/WebSphereCE
Using GERONIMO_HOME: /global/WebSphereCE
Using GERONIMO_TMPDIR: var/temp
Using JRE_HOME: /opt/ibm/java2-i386-50/jre
Username: system
Password: ***
Error: Operation failed: load of SuperSnoop/SuperSnoopEAR/1.0/car
failed

Error starting configuration gbean SuperSnoop/SuperSnoopEAR/1.0/car

Configuration gbean failed to start
SuperSnoop/SuperSnoopEAR/1.0/car

reason: Class not loadable in classloader:
[org.apache.geronimo.kernel.config.MultiParentClassLoader
id=SuperSnoop/SuperSnoopEAR/1.0/car]

geronimo-application.xml:

?xml version=1.0 encoding=UTF-8?
application xmlns=http://geronimo.apache.org/xml/ns/j2ee/application-2.0;
xmlns:sys=http://geronimo.apache.org/xml/ns/deployment-1.2;
application-name=SuperSnoop
sys:environment
sys:moduleId
sys:groupIdSuperSnoop/sys:groupId
sys:artifactIdSuperSnoopEAR/sys:artifactId
sys:version1.0/sys:version
sys:typecar/sys:type
/sys:moduleId
/sys:environment

module
webSuperSnoopWeb.war/web
web-app xmlns=http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1; 
sys:environment
sys:moduleId
sys:groupIdSuperSnoop/sys:groupId
sys:artifactIdSuperSnoopWEB/sys:artifactId
sys:version1.0/sys:version
sys:typewar/sys:type
/sys:moduleId
/sys:environment
context-root/SuperSnoopWeb/context-root
security-realm-namecorp-ldap/security-realm-name
/web-app
/module
security
default-principal realm-name=corp-ldap
principal name=nobody
class=org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal/
/default-principal
role-mappings
role role-name=admin
realm realm-name=corp-ldap
principal name=adminstrators
class=org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal/
principal name=admin
class=org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal/
/realm
/role
/role-mappings
/security
/application

META-INF/application.xml:

?xml version=1.0 encoding=UTF-8?
!DOCTYPE application PUBLIC -//Sun Microsystems, Inc.//DTD J2EE
Application 1.2//EN http://java.sun.com/j2ee/dtds/application_1_2.dtd;
application id=Application_ID
display-nameSuperSnoop/display-name
module id=WebModule_1049985603917
web
web-uriSuperSnoopWeb.war/web-uri
context-rootSuperSnoopWeb/context-root
/web
/module
security-role
role-nameadmin/role-name
/security-role
/application
-- 
View this message in context: 
http://www.nabble.com/Deploying-ear-file-with-ldap-realm---geronimo-2.1.x-tp22711096s134p22711096.html
Sent from the Apache Geronimo - Dev mailing list archive at Nabble.com.



[VOTE] Release Geronimo Server 2.1.4 RC1

2009-03-25 Thread Joe Bohn

All,

I've prepared a release candidate (RC1) of Geronimo Server 2.1.4 for 
your review and vote.


The source for rc1 is Rev758299 from the following svn branch:
  https://svn.apache.org/repos/asf/geronimo/server/branches/2.1.4/

When the release vote is approved, I will svn mv the code to:
  https://svn.apache.org/repos/asf/geronimo/server/tags/2.1.4

An archive of this source code can be found here:
http://people.apache.org/~jbohn/geronimo-2.1.4-dist-rc1/geronimo-2.1.4-src.tar.gz
OR
http://people.apache.org/~jbohn/geronimo-2.1.4-dist-rc1/geronimo-2.1.4-src.zip

http://people.apache.org/~jbohn/geronimo-2.1.4-dist-rc1/ contains the 10 
server binary distributions to be released (framework, tomcat/jetty, 
Java EE/Minimal, tar/zip) as well as the RELEASE_NOTES, README, NOTICE, 
LICENSE, DISCLAIMER, and source code archives for the release.  These 
extra txt files were included so that they could be leveraged by GEP if 
necessary (they are also included in the assembly images).


For your convenience, here are pointers to the urls for the
distributions in zip format:
http://people.apache.org/~jbohn/geronimo-2.1.4-dist-rc1/geronimo-jetty6-javaee5-2.1.4-bin.zip
http://people.apache.org/~jbohn/geronimo-2.1.4-dist-rc1/geronimo-jetty6-minimal-2.1.4-bin.zip
http://people.apache.org/~jbohn/geronimo-2.1.4-dist-rc1/geronimo-tomcat6-javaee5-2.1.4-bin.zip
http://people.apache.org/~jbohn/geronimo-2.1.4-dist-rc1/geronimo-tomcat6-minimal-2.1.4-bin.zip
http://people.apache.org/~jbohn/geronimo-2.1.4-dist-rc1/geronimo-framework-2.1.4-bin.zip


The maven artifacts for the release can be found here:
  http://people.apache.org/~jbohn/staging-repo/geronimo-2.1.4-rc1/

When the release vote is approved, these maven artifacts will be moved
to the m2-ibiblio-rsync-repository at Apache.


[ ] +1 Release Geronimo Server 2.1.4
[ ] 0 No opinion
[ ] -1 Do not release Geronimo Server 2.1.4 (please provide rationale)


The voting will be open for 72 hours or until sufficient input has been 
received and the tck results have been verified.


Thanks,
Joe



[DISCUSS] Release Geronimo Server 2.1.4 RC1

2009-03-25 Thread Joe Bohn
Message created for any discussion of the pending Geronimo 2.1.4 RC1 
currently up for vote.


Thanks,
Joe


Re: [VOTE] Release Geronimo Server 2.1.4 RC1

2009-03-25 Thread Joe Bohn

My +1.

Joe

Joe Bohn wrote:

All,

I've prepared a release candidate (RC1) of Geronimo Server 2.1.4 for 
your review and vote.


The source for rc1 is Rev758299 from the following svn branch:
  https://svn.apache.org/repos/asf/geronimo/server/branches/2.1.4/

When the release vote is approved, I will svn mv the code to:
  https://svn.apache.org/repos/asf/geronimo/server/tags/2.1.4

An archive of this source code can be found here:
http://people.apache.org/~jbohn/geronimo-2.1.4-dist-rc1/geronimo-2.1.4-src.tar.gz 


OR
http://people.apache.org/~jbohn/geronimo-2.1.4-dist-rc1/geronimo-2.1.4-src.zip 



http://people.apache.org/~jbohn/geronimo-2.1.4-dist-rc1/ contains the 10 
server binary distributions to be released (framework, tomcat/jetty, 
Java EE/Minimal, tar/zip) as well as the RELEASE_NOTES, README, NOTICE, 
LICENSE, DISCLAIMER, and source code archives for the release.  These 
extra txt files were included so that they could be leveraged by GEP if 
necessary (they are also included in the assembly images).


For your convenience, here are pointers to the urls for the
distributions in zip format:
http://people.apache.org/~jbohn/geronimo-2.1.4-dist-rc1/geronimo-jetty6-javaee5-2.1.4-bin.zip 

http://people.apache.org/~jbohn/geronimo-2.1.4-dist-rc1/geronimo-jetty6-minimal-2.1.4-bin.zip 

http://people.apache.org/~jbohn/geronimo-2.1.4-dist-rc1/geronimo-tomcat6-javaee5-2.1.4-bin.zip 

http://people.apache.org/~jbohn/geronimo-2.1.4-dist-rc1/geronimo-tomcat6-minimal-2.1.4-bin.zip 

http://people.apache.org/~jbohn/geronimo-2.1.4-dist-rc1/geronimo-framework-2.1.4-bin.zip 




The maven artifacts for the release can be found here:
  http://people.apache.org/~jbohn/staging-repo/geronimo-2.1.4-rc1/

When the release vote is approved, these maven artifacts will be moved
to the m2-ibiblio-rsync-repository at Apache.


[ ] +1 Release Geronimo Server 2.1.4
[ ] 0 No opinion
[ ] -1 Do not release Geronimo Server 2.1.4 (please provide rationale)


The voting will be open for 72 hours or until sufficient input has been 
received and the tck results have been verified.


Thanks,
Joe






[BUILD] trunk: Failed for Revision: 758473

2009-03-25 Thread gawor
Geronimo Revision: 758473 built with tests included
 
See the full build-2100.log file at 
http://people.apache.org/builds/geronimo/server/binaries/trunk/20090325/build-2100.log
 
Download the binaries from 
http://people.apache.org/builds/geronimo/server/binaries/trunk/20090325
[INFO] BUILD SUCCESSFUL
[INFO] 
[INFO] Total time: 35 minutes 16 seconds
[INFO] Finished at: Wed Mar 25 21:51:18 EDT 2009
[INFO] Final Memory: 677M/965M
[INFO] 
 
TESTSUITE RESULTS (Failures only)
=
See detailed results at 
http://people.apache.org/builds/geronimo/server/testsuite/ResultsSummary.html
 
Assembly: tomcat
=
See the full test.log file at 
http://people.apache.org/builds/geronimo/server/binaries/trunk/20090325/logs-2100-tomcat/test.log
 
 
[INFO] snapshot 
org.apache.geronimo.assemblies:geronimo-tomcat6-javaee5:2.2-SNAPSHOT: checking 
for updates from codehaus-snapshots
[INFO] Using assembly artifact: 
org.apache.geronimo.assemblies:geronimo-tomcat6-javaee5:zip:bin:2.2-SNAPSHOT:provided
[INFO] Using geronimoHome: 
/home/geronimo/geronimo/trunk/testsuite/target/geronimo-tomcat6-javaee5-2.2-SNAPSHOT
[INFO] Installing assembly...
[INFO] Expanding: 
/home/geronimo/.m2/repository/org/apache/geronimo/assemblies/geronimo-tomcat6-javaee5/2.2-SNAPSHOT/geronimo-tomcat6-javaee5-2.2-SNAPSHOT-bin.zip
 into /home/geronimo/geronimo/trunk/testsuite/target
[INFO] Starting Geronimo server...
[INFO] Selected option set: default
[INFO] Redirecting output to: 
/home/geronimo/geronimo/trunk/testsuite/target/geronimo-logs/org.apache.geronimo.mavenplugins.geronimo.server.StartServerMojo.log
[INFO] Waiting for Geronimo server...
[INFO] Geronimo server started in 0:00:41.881
[INFO] [shitty:install {execution: default}]
[INFO] Installing /home/geronimo/geronimo/trunk/testsuite/pom.xml to 
/home/geronimo/.m2/repository/org/apache/geronimo/testsuite/testsuite/2.2-SNAPSHOT/testsuite-2.2-SNAPSHOT.pom
[INFO] [shitty:test {execution: default}]
[INFO] Starting 36 test builds
[INFO] 
[INFO] 
---
[INFO] 
[INFO] commands-testsuite/deploy  RUNNING
[INFO] commands-testsuite/deploy  SUCCESS (0:00:59.467) 
[INFO] commands-testsuite/gshell  RUNNING
[INFO] commands-testsuite/gshell  SUCCESS (0:00:27.999) 
[INFO] commands-testsuite/jaxws   RUNNING
[INFO] commands-testsuite/jaxws   SUCCESS (0:00:33.598) 
[INFO] commands-testsuite/shutdownRUNNING
[INFO] commands-testsuite/shutdownSUCCESS (0:00:16.163) 
[INFO] concurrent-testsuite/concurrent-basic  RUNNING
[INFO] concurrent-testsuite/concurrent-basic  SUCCESS (0:06:24.956) 
[INFO] console-testsuite/advanced RUNNING
[INFO] console-testsuite/advanced SUCCESS (0:01:28.879) 
[INFO] console-testsuite/basicRUNNING
[INFO] console-testsuite/basicSUCCESS (0:01:54.729) 
[INFO] corba-testsuite/corba-helloworld   RUNNING
[INFO] corba-testsuite/corba-helloworld   SUCCESS (0:00:49.137) 
[INFO] corba-testsuite/corba-marshal  RUNNING
[INFO] corba-testsuite/corba-marshal  SUCCESS (0:00:43.533) 
[INFO] corba-testsuite/corba-mytime   RUNNING
[INFO] corba-testsuite/corba-mytime   SUCCESS (0:00:42.030) 
[INFO] deployment-testsuite/deployment-tests  RUNNING
[INFO] deployment-testsuite/deployment-tests  SUCCESS (0:00:30.283) 
[INFO] deployment-testsuite/jca-cms-tests RUNNING
[INFO] deployment-testsuite/jca-cms-tests SUCCESS (0:00:32.760) 
[INFO] deployment-testsuite/manifestcp-tests  RUNNING
[INFO] deployment-testsuite/manifestcp-tests  SUCCESS (0:00:33.701) 
[INFO] enterprise-testsuite/ejb-tests RUNNING
[INFO] enterprise-testsuite/ejb-tests SUCCESS (0:00:55.541) 
[INFO] enterprise-testsuite/jms-tests RUNNING
[INFO] enterprise-testsuite/jms-tests SUCCESS (0:00:55.114) 
[INFO] enterprise-testsuite/jpa-tests RUNNING
[INFO] enterprise-testsuite/jpa-tests SUCCESS (0:00:51.737) 
[INFO] enterprise-testsuite/sec-clientRUNNING
[INFO] enterprise-testsuite/sec-clientSUCCESS (0:00:26.898) 
[INFO] enterprise-testsuite/sec-tests RUNNING
[INFO] enterprise-testsuite/sec-tests SUCCESS (0:00:49.707) 
[INFO] security-testsuite/test-security   RUNNING
[INFO] security-testsuite/test-security   FAILURE (0:00:37.477) Java 
returned: 1
[INFO] web-testsuite/test-2.1-jspsRUNNING
[INFO] web-testsuite/test-2.1-jspsSUCCESS (0:00:29.791) 
[INFO] web-testsuite/test-2.5-servletsRUNNING
[INFO] web-testsuite/test-2.5

[jira] Created: (GERONIMO-4604) Display Datasource Pool and JMS Resource Pool connections statistics information

2009-03-25 Thread viola.lu (JIRA)
Display Datasource Pool and JMS Resource Pool connections statistics information


 Key: GERONIMO-4604
 URL: https://issues.apache.org/jira/browse/GERONIMO-4604
 Project: Geronimo
  Issue Type: Improvement
  Security Level: public (Regular issues)
  Components: console
Affects Versions: 2.1.5, 2.2
Reporter: viola.lu
Priority: Minor


Add a Monitor function in admin console: show active 
connections,maxConnections,minConnections such as information for Datasource 
Pool and JMS Resource Pool.

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