[jira] Updated: (GERONIMODEVTOOLS-671) cannot start geronimo after adding javaagent arguements

2010-08-26 Thread Lu Jiang (JIRA)

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

Lu Jiang updated GERONIMODEVTOOLS-671:
--

Attachment: jpa.jar

Hi,
I used this jpa.jar in attatchment.It's pulled from geronimo repository.

 cannot start geronimo after adding javaagent arguements
 ---

 Key: GERONIMODEVTOOLS-671
 URL: 
 https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-671
 Project: Geronimo-Devtools
  Issue Type: Bug
  Components: eclipse-plugin
Affects Versions: 3.0
 Environment: OS:windows xp
 Eclipse :3.6
 Geronimo :3.0
Reporter: Lu Jiang
Assignee: Delos Dai
Priority: Minor
 Attachments: jpa.jar


 Add something like  -javaagent:D:/jpa.jar to Server VM arguements in 
 eclipse.
 Then geronimo will fail to start for the following error:
 java.lang.reflect.InvocationTargetException
   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:597)
   at 
 sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:323)
   at 
 sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:338)
 Caused by: java.lang.NoClassDefFoundError: 
 org/apache/commons/lang/exception/NestableRuntimeException
   at java.lang.ClassLoader.defineClass1(Native Method)
   at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
   at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
   at 
 java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
   at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
   at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
   at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
   at 
 org.apache.openjpa.enhance.PCEnhancerAgent.premain(PCEnhancerAgent.java:127)
   ... 6 more
 Caused by: java.lang.ClassNotFoundException: 
 org.apache.commons.lang.exception.NestableRuntimeException
   at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
   ... 19 more
 Exception in thread main FATAL ERROR in native method: processing of 
 -javaagent failed

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



[jira] Created: (GERONIMO-5553) Fail to enchance entities on Geronimo

2010-08-26 Thread Lu Jiang (JIRA)
Fail to enchance entities on Geronimo
-

 Key: GERONIMO-5553
 URL: https://issues.apache.org/jira/browse/GERONIMO-5553
 Project: Geronimo
  Issue Type: Bug
  Security Level: public (Regular issues)
  Components: persistence
Affects Versions: 3.0
 Environment: OS:win xp
Geronimo :3.0 20100824 build
Reporter: Lu Jiang
 Fix For: 3.0


I tried to deploy a simple jpa sample on geronimo.But when persist data into 
database.
Following exception will occur.

openjpa-2.0.0-r422266:935683 nonfatal user error 
org.apache.openjpa.persistence.ArgumentException: Attempt to cast instance 
org.apache.sample.entities.b...@97781f to PersistenceCapable failed.  Ensure 
that it has been enhanced.
FailedObject: org.apache.sample.entities.b...@97781f

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



[jira] Updated: (GERONIMO-5553) Fail to enchance entities on Geronimo

2010-08-26 Thread Lu Jiang (JIRA)

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

Lu Jiang updated GERONIMO-5553:
---

Attachment: booknew.war

This is the simple jpa demo I used for test.

 Fail to enchance entities on Geronimo
 -

 Key: GERONIMO-5553
 URL: https://issues.apache.org/jira/browse/GERONIMO-5553
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: persistence
Affects Versions: 3.0
 Environment: OS:win xp
 Geronimo :3.0 20100824 build
Reporter: Lu Jiang
 Fix For: 3.0

 Attachments: booknew.war


 I tried to deploy a simple jpa sample on geronimo.But when persist data into 
 database.
 Following exception will occur.
 openjpa-2.0.0-r422266:935683 nonfatal user error 
 org.apache.openjpa.persistence.ArgumentException: Attempt to cast instance 
 org.apache.sample.entities.b...@97781f to PersistenceCapable failed.  
 Ensure that it has been enhanced.
 FailedObject: org.apache.sample.entities.b...@97781f

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



[jira] Created: (GERONIMODEVTOOLS-671) cannot start geronimo after adding javaagent arguements

2010-08-25 Thread Lu Jiang (JIRA)
cannot start geronimo after adding javaagent arguements
---

 Key: GERONIMODEVTOOLS-671
 URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-671
 Project: Geronimo-Devtools
  Issue Type: Bug
  Components: eclipse-plugin
Affects Versions: 3.0
 Environment: OS:windows xp
Eclipse :3.6
Geronimo :3.0

Reporter: Lu Jiang
Assignee: Delos Dai
Priority: Minor


Add something like  -javaagent:D:/jpa.jar to Server VM arguements in eclipse.

Then geronimo will fail to start for the following error:
java.lang.reflect.InvocationTargetException
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:597)
at 
sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:323)
at 
sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:338)
Caused by: java.lang.NoClassDefFoundError: 
org/apache/commons/lang/exception/NestableRuntimeException
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at 
org.apache.openjpa.enhance.PCEnhancerAgent.premain(PCEnhancerAgent.java:127)
... 6 more
Caused by: java.lang.ClassNotFoundException: 
org.apache.commons.lang.exception.NestableRuntimeException
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
... 19 more
Exception in thread main FATAL ERROR in native method: processing of 
-javaagent failed

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



[jira] Commented: (GERONIMO-5161) OpenEJB is starting an ejbds listener which is not currently controlled by geronimo

2010-08-25 Thread Lu Jiang (JIRA)

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

Lu Jiang commented on GERONIMO-5161:


Now ejbds is enabled in geronimo 3.0.
When I started two geronimo instance on one machine, port confict on 4203 
exeption will occur.

Service Start Failed: ejbds 0.0.0.0 4203. Exception: Service failed to open 
socket: Address already in use: JVM_Bind
org.apache.openejb.server.ServiceException: Service failed to open socket: 
Address already in use: JVM_Bind

Do we need to disable ejbds in geronimo 3.0 ?

 OpenEJB is starting an ejbds listener which is not currently controlled by 
 geronimo
 ---

 Key: GERONIMO-5161
 URL: https://issues.apache.org/jira/browse/GERONIMO-5161
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: OpenEJB
Affects Versions: 2.2.1
Reporter: Kevan Miller
Assignee: Shawn Jiang
 Fix For: 2.2.1


 OpenEJB 3.1.3-SNAPSHOT is starting an ejbds listener. Seems like we need to 
 either disable ejbds or make the host and port easily configurable (via 
 config-substitution.properties).

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



[jira] Commented: (GERONIMODEVTOOLS-670) Geronimo deployment plan doesn't be created when creating projects using the Geronimo 2.2 as the target runtime

2010-08-24 Thread Lu Jiang (JIRA)

[ 
https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12902307#action_12902307
 ] 

Lu Jiang commented on GERONIMODEVTOOLS-670:
---

Another situation is if I develop  a web app and it's target run time is 
3.0,then the app is not able to run on geronimo 2.2 in eclipse.
Error below will occur:
The server does not support version 3.0 of the J2EE Web module specification.
If I export the web project as .war, then deploy it through administrator 
console,it can be started.


 Geronimo deployment plan doesn't be created when creating projects using the 
 Geronimo 2.2 as the target runtime
 ---

 Key: GERONIMODEVTOOLS-670
 URL: 
 https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-670
 Project: Geronimo-Devtools
  Issue Type: Bug
  Components: eclipse-plugin
Affects Versions: 3.0
 Environment: OS: Windows XP SP3
 JDK: IBM JDK 6
 Eclipse: 3.6
Reporter: Wang Guang Zhe
Assignee: Delos Dai

 I created an web, an ejb and an ear projects using  the Geronimo 2.2 as the 
 target runtime, the geronimo deployment plans which should be in these 
 projects don't exist.

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



[jira] Created: (GERONIMODEVTOOLS-669) Modification to VM arguements is lost

2010-08-23 Thread Lu Jiang (JIRA)
Modification to VM arguements  is lost
--

 Key: GERONIMODEVTOOLS-669
 URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-669
 Project: Geronimo-Devtools
  Issue Type: Bug
  Components: eclipse-plugin
Affects Versions: 3.0
 Environment: OS:win xp
JDK:1.6_U18
Reporter: Lu Jiang
Assignee: Delos Dai
Priority: Minor


Steps to reproduce:
1. new a Geronimo server in Eclipse
2.Double click the server,then you can see the server overview.
3.Under Gereral Information,click the link open lauch configuration.
4.Click Arguements tag,and and do some modifications to VM arguements.
5.Click Apply and OK.
6.Reopen the lauch configuration.

The modifications to VM arguements are lost.


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



[jira] Updated: (GERONIMO-5538) Add testsuite for webbean 1.0 in Java EE 6

2010-08-20 Thread Lu Jiang (JIRA)

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

Lu Jiang updated GERONIMO-5538:
---

Attachment: webbean-servlet-test.patch

 Add testsuite for webbean 1.0  in Java EE 6
 ---

 Key: GERONIMO-5538
 URL: https://issues.apache.org/jira/browse/GERONIMO-5538
 Project: Geronimo
  Issue Type: Task
  Security Level: public(Regular issues) 
  Components: testsuite
Affects Versions: 3.0
Reporter: Lu Jiang
Assignee: Forrest Xia
 Attachments: webbean-servlet-test.patch, 
 webbean_conversation_final.patch, webbean_ejb_final.patch


 Pull the samples from Apache openwebbeans project.And make testsuites for 
 them to test these features automatically.
 The testsuites may include:
 1.webbean+JSF
 2.Scope Annotation in webbean(especially conversation scope)
 3.webbean+EJB
 4.webbean+Servlet
 5.webbean+JPA
 6.webban+MessageDrivenBean

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



[jira] Closed: (GERONIMO-5492) Can login Geronimo without any authentication

2010-08-19 Thread Lu Jiang (JIRA)

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

Lu Jiang closed GERONIMO-5492.
--


Duplicate with GERONIMO-5480.This jira is fixed in 2010/08/18 build after 
verification,so close it.

 Can login Geronimo without any authentication
 -

 Key: GERONIMO-5492
 URL: https://issues.apache.org/jira/browse/GERONIMO-5492
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: security
Affects Versions: 3.0
 Environment: OS:WIN XP SP3
 Geronimoļ¼š3.0-SNAPSHOT  Build  2010.07.30
 JDK:1.6
Reporter: Lu Jiang
 Fix For: 3.0


 1.Start Geronimo in command line:startup.bat 
 2.Visit Geronimo in browser:http://localhost:8080/console
 It's expected to see a login box ,then we can input user name an password.But 
 now the box disappear,I can see the welcome page directly without any role 
 check.
 If I click Log Out link,it will not jump to the login page.

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



[jira] Closed: (GERONIMO-5298) Bad version information in deployment plan will result in deploy failure

2010-08-19 Thread Lu Jiang (JIRA)

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

Lu Jiang closed GERONIMO-5298.
--


Fixed after verification,so close it.

 Bad version information in deployment plan will result in deploy failure
 

 Key: GERONIMO-5298
 URL: https://issues.apache.org/jira/browse/GERONIMO-5298
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: deployment
Affects Versions: 3.0
 Environment: OS:WIN XP SP2
 Server:Geronimo 3.0-SNAPSHOT 2010.5.6 build
 JDK:1.6
Reporter: Lu Jiang
Assignee: Ivan
 Fix For: 3.0

 Attachments: geronimo-web.xml, hello.war


 I tried to deploy a simple helloworld web application.(see attach file for 
 hello.war),using the deploy plan below:
 ?xml version=1.0 encoding=UTF-8?
 web-app xmlns=http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1; 
  xmlns:naming=http://geronimo.apache.org/xml/ns/naming-1.2; 
  xmlns:sec=http://geronimo.apache.org/xml/ns/security-2.0; 
  xmlns:sys=http://geronimo.apache.org/xml/ns/deployment-1.2;   
   sys:environment
 sys:moduleId
   sys:groupIdorg.apache.geronimo.samples/sys:groupId
   sys:artifactIdhello/sys:artifactId
   sys:version2.1.1.4/sys:version
   sys:typecar/sys:type
 /sys:moduleId
 sys:dependencies/
 sys:hidden-classes/
 sys:non-overridable-classes/
   /sys:environment 
   context-root/hello/context-root
 /web-app
 Deployment will fail with an exception:
 Unable to create configuration for deployment: dependencies: null
 org.apache.geronimo.common.DeploymentException: Unable to create 
 configuration for deployment: dependencies: null
   at 
 org.apache.geronimo.deployment.DeploymentContext.createTempConfiguration(DeploymentContext.java:208)
   at 
 org.apache.geronimo.deployment.DeploymentContext.initializeConfiguration(DeploymentContext.java:188)
   at 
 org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:606)
   at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:250)
   at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:138)
   at sun.reflect.GeneratedMethodAccessor214.invoke(Unknown Source)
   at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at 
 org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
   at 
 org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
   at 
 org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:856)
   at 
 org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
   at 
 org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
   at 
 org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
   at java.lang.Thread.run(Thread.java:619)
 Caused by: org.osgi.framework.BundleException: Could not create bundle object.
   at org.apache.felix.framework.Felix.installBundle(Felix.java:2487)
   at org.apache.felix.framework.Felix.installBundle(Felix.java:2334)
   at 
 org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:130)
   at 
 org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:108)
   at 
 org.apache.geronimo.deployment.DeploymentContext.createTempConfiguration(DeploymentContext.java:200)
   ... 14 more
 Caused by: java.lang.IllegalArgumentException: invalid format
   at org.osgi.framework.Version.(Version.java:140)
   at org.osgi.framework.Version.parseVersion(Version.java:218)
   at 
 org.apache.felix.framework.util.manifestparser.ManifestParser.(ManifestParser.java:76)
   at org.apache.felix.framework.ModuleImpl.(ModuleImpl.java:221)
   at 
 org.apache.felix.framework.BundleImpl.createModule(BundleImpl.java:1121)
   at org.apache.felix.framework.BundleImpl.(BundleImpl.java:79)
   at org.apache.felix.framework.Felix.installBundle(Felix.java:2429)
   ... 18 more
 The strange thing is if I change version information in the deploy plan to 
 2,2.1,2.1.1 or 3.0-SNAPSHOT etc. Deployment process will succeed.

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



[jira] Closed: (GERONIMO-5292) Resources inside WEB-INF/lib/ [*.jar]/META-INF/resources directory can not be recognized

2010-08-19 Thread Lu Jiang (JIRA)

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

Lu Jiang closed GERONIMO-5292.
--

Fix Version/s: 3.0
   (was: 1.1.2)
   Resolution: Fixed

Fixed after verification.Currently It works on geronimo-tomcat-assembly,but 
fails on geronimo-jetty-assembly.Refer to GERONIMO-5508.

 Resources inside  WEB-INF/lib/ [*.jar]/META-INF/resources directory can not 
 be recognized
 -

 Key: GERONIMO-5292
 URL: https://issues.apache.org/jira/browse/GERONIMO-5292
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: deployment
Affects Versions: 3.0
 Environment: OS: Win XP SP2
 Server:Geronimo 3.0 2010.5.6 build
 JDK:1.6
Reporter: Lu Jiang
Assignee: Ivan
 Fix For: 3.0


 I tried the jarresource-javaee6-war-3.0-SNAPSHOT sample .Refer to 
 https://issues.apache.org/jira/browse/GERONIMO-5237.
 Not confined to document root of web application,all html and jsp resources 
 are inside 
 WEB-INF\lib\jarresource-javaee6-jar-3.0-SNAPSHOT.jar\META-INF\resources\ 
 directory.
 But server seems not recognize index.html,head,jsp,jarresource.jsp,thus will 
 return a 404 error .

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



[jira] Closed: (GERONIMO-5299) Deploy plan for a web application with login-module attribute faiiled to be parsed.

2010-08-19 Thread Lu Jiang (JIRA)

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

Lu Jiang closed GERONIMO-5299.
--


Fixed after verification,so close it.

 Deploy plan for a web application with login-module attribute faiiled to be 
 parsed.
 ---

 Key: GERONIMO-5299
 URL: https://issues.apache.org/jira/browse/GERONIMO-5299
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: deployment
Affects Versions: 3.0
 Environment: OS:win xp
 Server:GERONIMO 3.0-SANPSHOT 2010.5.6 build
 JDK :1.6
Reporter: Lu Jiang
Assignee: Ivan
 Fix For: 3.0

 Attachments: demo-realm.xml, file-realm-demo.war


 Deploy a web application file-realm-demo.war with deploy plan 
 demo-realm.xml.(see attach file).
 The deploy plan failed to be parsed.
 (ps:this application can be deployed and started successfully on geronimo 2.2)
 2010-05-12 14:39:09,618 ERROR [DeploymentPortlet] 
 Could not parse xml in plan
 org.apache.geronimo.common.DeploymentException: Could not parse xml in plan
   at 
 org.apache.geronimo.deployment.service.ServiceConfigBuilder.getDeploymentPlan(ServiceConfigBuilder.java:191)
   at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:231)
   at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:138)
   at sun.reflect.GeneratedMethodAccessor214.invoke(Unknown Source)
   at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at 
 org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
   at 
 org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
   at 
 org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:856)
   at 
 org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
   at 
 org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
   at 
 org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
   at java.lang.Thread.run(Thread.java:619)
 Caused by: org.apache.xmlbeans.XmlException: Invalid deployment descriptor: 
 errors:
 D:\g30\geronimo-tomcat7-javaee6-3.0-SNAPSHOT\var\temp\demo-realm.xml:26:17: 
 error: cvc-complex-type.3.2.1: Attribute not allowed (no wildcards allowed): 
 server-side in element 
 login-mod...@http://geronimo.apache.org/xml/ns/loginconfig-2.0
 Descriptor:
 module xmlns=http://geronimo.apache.org/xml/ns/deployment-1.2;
   environment
 moduleId
   groupIdsamples/groupId
   artifactIdrealm-demo-properties-realm/artifactId
   version2.1.1/version
   typecar/type
 /moduleId
 dependencies
   dependency
 groupIdorg.apache.geronimo.framework/groupId
 artifactIdj2ee-security/artifactId
 typecar/type
   /dependency
 /dependencies
   /environment
   gbean name=demo-properties-realm 
 class=org.apache.geronimo.security.realm.GenericSecurityRealm
 attribute name=realmNamedemo-properties-realm/attribute
 reference name=ServerInfo
   nameServerInfo/name
 /reference
 xml-reference name=LoginModuleConfiguration
   log:login-config 
 xmlns:log=http://geronimo.apache.org/xml/ns/loginconfig-2.0;
 log:login-module control-flag=REQUIRED server-side=true 
 wrap-principals=false
   log:login-domain-namedemo-properties-realm/log:login-domain-name
   
 log:login-module-classorg.apache.geronimo.security.realm.providers.PropertiesFileLoginModule/log:login-module-class
   log:option 
 name=usersURIvar/security/demo_users.properties/log:option
   log:option 
 name=groupsURIvar/security/demo_groups.properties/log:option
 /log:login-module
   /log:login-config
 /xml-reference
   /gbean
 /module
   at 
 org.apache.geronimo.deployment.xmlbeans.XmlBeansUtil.validateDD(XmlBeansUtil.java:187)
   at 
 org.apache.geronimo.deployment.service.ServiceConfigBuilder.getDeploymentPlan(ServiceConfigBuilder.java:171)
   ... 12 more

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



[jira] Created: (GERONIMO-5540) Enable connecting to a ldap server anonymously on console on Geronimo 2.1 and 3.0

2010-08-19 Thread Lu Jiang (JIRA)
Enable connecting to a ldap server anonymously on console on Geronimo 2.1 and 
3.0
-

 Key: GERONIMO-5540
 URL: https://issues.apache.org/jira/browse/GERONIMO-5540
 Project: Geronimo
  Issue Type: Bug
  Security Level: public (Regular issues)
  Components: console
Affects Versions: 2.1, 3.0
Reporter: Lu Jiang
Priority: Minor


Refer to GERONIMO-5125.
The feature is enabled on Geronino 2.2 build.
But fails to work on Geronimo 2.1 and 3.0.


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



[jira] Created: (GERONIMO-5538) Add testsuite for webbean 1.0 in Java EE 6

2010-08-18 Thread Lu Jiang (JIRA)
Add testsuite for webbean 1.0  in Java EE 6
---

 Key: GERONIMO-5538
 URL: https://issues.apache.org/jira/browse/GERONIMO-5538
 Project: Geronimo
  Issue Type: Task
  Security Level: public (Regular issues)
  Components: testsuite
Affects Versions: 3.0
Reporter: Lu Jiang


Pull the samples from Apache openwebbeans project.And make testsuites for them 
to test these features automatically.
The testsuites may include:
1.webbean+JSF
2.Scope Annotation in webbean(especially conversation scope)
3.webbean+EJB
4.webbean+Servlet
5.webbean+JPA
6.webban+MessageDrivenBean


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



[jira] Updated: (GERONIMO-5538) Add testsuite for webbean 1.0 in Java EE 6

2010-08-18 Thread Lu Jiang (JIRA)

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

Lu Jiang updated GERONIMO-5538:
---

Attachment: webbean_conversation_final.patch
webbean_ejb_final.patch

The webbean_conversation_final.patch mainly tested @ConversationScope and 
@ApplicationScope.

The webbean_ejb_final.patch mainly tested injection of EJB in a webbean.


 Add testsuite for webbean 1.0  in Java EE 6
 ---

 Key: GERONIMO-5538
 URL: https://issues.apache.org/jira/browse/GERONIMO-5538
 Project: Geronimo
  Issue Type: Task
  Security Level: public(Regular issues) 
  Components: testsuite
Affects Versions: 3.0
Reporter: Lu Jiang
 Attachments: webbean_conversation_final.patch, webbean_ejb_final.patch


 Pull the samples from Apache openwebbeans project.And make testsuites for 
 them to test these features automatically.
 The testsuites may include:
 1.webbean+JSF
 2.Scope Annotation in webbean(especially conversation scope)
 3.webbean+EJB
 4.webbean+Servlet
 5.webbean+JPA
 6.webban+MessageDrivenBean

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



[jira] Created: (GERONIMO-5499) Add testsuite for Web Bean conversational feature in Java EE 6

2010-08-03 Thread Lu Jiang (JIRA)
Add testsuite for Web Bean conversational feature in Java EE 6
--

 Key: GERONIMO-5499
 URL: https://issues.apache.org/jira/browse/GERONIMO-5499
 Project: Geronimo
  Issue Type: Task
  Security Level: public (Regular issues)
  Components: testsuite
Affects Versions: 3.0
Reporter: Lu Jiang
Priority: Minor


This testsuite is based on a sample which is pulled from apache openwebbeans 
community,it mainly demonstrates the new conversation scope in Web Bean.


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



[jira] Updated: (GERONIMO-5499) Add testsuite for Web Bean conversational feature in Java EE 6

2010-08-03 Thread Lu Jiang (JIRA)

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

Lu Jiang updated GERONIMO-5499:
---

Attachment: webbean1.patch

 Add testsuite for Web Bean conversational feature in Java EE 6
 --

 Key: GERONIMO-5499
 URL: https://issues.apache.org/jira/browse/GERONIMO-5499
 Project: Geronimo
  Issue Type: Task
  Security Level: public(Regular issues) 
  Components: testsuite
Affects Versions: 3.0
Reporter: Lu Jiang
Priority: Minor
 Attachments: webbean1.patch


 This testsuite is based on a sample which is pulled from apache openwebbeans 
 community,it mainly demonstrates the new conversation scope in Web Bean.

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



[jira] Created: (GERONIMO-5492) Can login Geronimo without any authentication

2010-08-02 Thread Lu Jiang (JIRA)
Can login Geronimo without any authentication
-

 Key: GERONIMO-5492
 URL: https://issues.apache.org/jira/browse/GERONIMO-5492
 Project: Geronimo
  Issue Type: Bug
  Security Level: public (Regular issues)
  Components: security
Affects Versions: 3.0
 Environment: OS:WIN XP SP3
Geronimoļ¼š3.0-SNAPSHOT  Build2010.07.30
JDK:1.6
Reporter: Lu Jiang


1.Start Geronimo in command line:startup.bat 
2.Visit Geronimo in browser:http://localhost:8080/console

It's expected to see a login box ,then we can input user name an password.But 
now the box disappear,I can see the welcome page directly without any role 
check.
If I click Log Out link,it will not jump to the login page.

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



[jira] Created: (GERONIMO-5470) Add testsuite for BeanValidation feature in Java EE 6

2010-07-26 Thread Lu Jiang (JIRA)
Add testsuite for BeanValidation feature in Java EE 6
-

 Key: GERONIMO-5470
 URL: https://issues.apache.org/jira/browse/GERONIMO-5470
 Project: Geronimo
  Issue Type: Task
  Security Level: public (Regular issues)
  Components: testsuite
Affects Versions: 3.0
Reporter: Lu Jiang
 Fix For: 3.0


This testsuite will demonstrate Bean Validation feature in JAVA EE 6.
It  will verify @NotNull,@size,@Min,@Max,@Valid,@Pattern,group and the 
constrait defined by your self.

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



[jira] Updated: (GERONIMO-5470) Add testsuite for BeanValidation feature in Java EE 6

2010-07-26 Thread Lu Jiang (JIRA)

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

Lu Jiang updated GERONIMO-5470:
---

Attachment: beanValidationSample.patch

 Add testsuite for BeanValidation feature in Java EE 6
 -

 Key: GERONIMO-5470
 URL: https://issues.apache.org/jira/browse/GERONIMO-5470
 Project: Geronimo
  Issue Type: Task
  Security Level: public(Regular issues) 
  Components: testsuite
Affects Versions: 3.0
Reporter: Lu Jiang
 Fix For: 3.0

 Attachments: beanValidationSample.patch


 This testsuite will demonstrate Bean Validation feature in JAVA EE 6.
 It  will verify @NotNull,@size,@Min,@Max,@Valid,@Pattern,group and the 
 constrait defined by your self.

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



[jira] Created: (GERONIMO-5434) Display issue when running RTC on Geronimo

2010-07-06 Thread Lu Jiang (JIRA)
Display issue when running RTC on Geronimo 
---

 Key: GERONIMO-5434
 URL: https://issues.apache.org/jira/browse/GERONIMO-5434
 Project: Geronimo
  Issue Type: Bug
  Security Level: public (Regular issues)
  Components: console
Affects Versions: 2.1.5
 Environment: OS:windows 7
Server:Geronimo 2.1.5
Reporter: Lu Jiang


Rational Team Concert (RTC) is a software development team collaboration tool. 
It runs on tomcat by default.I tried to migrate it to Geronimo 2.1.5.  In 
general,it works well.But when clicking the Charts link under the plan of each 
project,the chart can not be displayed and errors occur like below:

The following items have errors:
TextData (id = 316):
-

{0} ( 1 time(s) )
detail : org.eclipse.birt.report.engine.api.EngineException
 at 
org.eclipse.birt.report.engine.executor.ExecutionContext.addException(ExecutionContext.java:1121)
 at 
org.eclipse.birt.report.engine.executor.ExecutionContext.addException(ExecutionContext.java:1085)
 at 
org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:88)
 at 
org.eclipse.birt.report.engine.executor.DynamicTextItemExecutor.execute(DynamicTextItemExecutor.java:73)
 at 
org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor.java:42)
 at 
org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:45)
 at 
org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportItemExecutor.execute(LocalizedReportItemExecutor.java:33)
 at 
org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:63)
 at 
org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:27)
 at 
org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:133)
 at 
org.eclipse.birt.report.engine.layout.html.HTMLInlineStackingLM.resumeLayout(HTMLInlineStackingLM.java:104)
 at 
org.eclipse.birt.report.engine.layout.html.HTMLInlineStackingLM.layoutNodes(HTMLInlineStackingLM.java:153)
 at 
org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:27)
 at 
org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:133)
 at 
org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:68)
 at 
org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:27)
 at 
org.eclipse.birt.report.engine.layout.html.HTMLTableLM.layoutChildren(HTMLTableLM.java:76)
 at 
org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:133)
 at 
org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:68)
 at 
org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:90)
 at 
org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:101)
 at 
org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:151)
 at 
org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:72)
 at 
com.ibm.team.reports.service.birt.internal.BirtReportEngineService.internalGetRenderedReport(BirtReportEngineService.java:668)
 at 
com.ibm.team.reports.service.birt.internal.BirtReportEngineService.getRenderedReport(BirtReportEngineService.java:297)
 at sun.reflect.GeneratedMethodAccessor567.invoke(Unknown Source)
 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:618)
 at 
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:378)
 at 
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:364)
 at 
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
 at $Proxy572.getRenderedReport(Unknown Source)
 at 
com.ibm.team.reports.service.internal.InternalReportService.getRenderedReport(InternalReportService.java:1097)
 at sun.reflect.GeneratedMethodAccessor533.invoke(Unknown Source)
 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:618)
 at 
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:378)
 at 
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:364)
 at 
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
 at $Proxy461.getRenderedReport(Unknown Source)
 at 

[jira] Created: (GERONIMO-5304) Could not add jar to app client library classpath

2010-05-13 Thread Lu Jiang (JIRA)
Could not add jar to app client library classpath
-

 Key: GERONIMO-5304
 URL: https://issues.apache.org/jira/browse/GERONIMO-5304
 Project: Geronimo
  Issue Type: Bug
  Security Level: public (Regular issues)
  Components: deployment
Affects Versions: 3.0
 Environment: OS:win xp
JDK:1.6
Geronimo build:3.0-SNAPSHOT 2010,5.6 build
Reporter: Lu Jiang


I tried to deploy a sample magicGball.ear on GERONIMO 3.0.
The structure of this ear is:
--magicGball.ear
   magicGball-client.jar
   magicGball-ejb.jar
   magicGball-web.war
The module tag in appliaction.xml is defined as follows
module
web
  web-urimagicGball-web.war/web-uri
  context-root/magicGball/context-root
/web
  /module
  module
ejbmagicGball-ejb.jar/ejb
  /module
  module
javamagicGball-client.jar/java
  /module

However ,the application failed to be deployed.
the error in log is as follows:
2010-05-13 13:33:39,805 ERROR [DeploymentPortlet] The application was not 
deployed.
Could not add to app client library classpath: WEB-INF/classes/
org.apache.geronimo.common.DeploymentException: Could not add to app client 
library classpath: WEB-INF/classes/
at 
org.apache.geronimo.client.builder.AppClientModuleBuilder.installModule(AppClientModuleBuilder.java:586)
at 
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:602)
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:250)
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:138)
at sun.reflect.GeneratedMethodAccessor214.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
at 
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
at 
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:856)
at 
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
at 
org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
at 
org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.IOException: Jar entry does not exist: 
jarFile=D:\g30\geronimo-tomcat7-javaee6-3.0-SNAPSHOT\var\temp\geronimo-deployer219612648671192750.tmpdir\magicGball-ear-2.1.1.4.ear,
 path=WEB-INF/classes/
at 
org.apache.geronimo.kernel.util.NestedJarFile.init(NestedJarFile.java:51)
at 
org.apache.geronimo.client.builder.AppClientModuleBuilder.installModule(AppClientModuleBuilder.java:583)
... 13 more

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



[jira] Updated: (GERONIMO-5304) Could not add jar to app client library classpath

2010-05-13 Thread Lu Jiang (JIRA)

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

Lu Jiang updated GERONIMO-5304:
---

Attachment: magicgball-corba-nosec-plan.xml
magicGball-ear-2.1.1.4.ear

 Could not add jar to app client library classpath
 -

 Key: GERONIMO-5304
 URL: https://issues.apache.org/jira/browse/GERONIMO-5304
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: deployment
Affects Versions: 3.0
 Environment: OS:win xp
 JDK:1.6
 Geronimo build:3.0-SNAPSHOT 2010,5.6 build
Reporter: Lu Jiang
 Attachments: magicgball-corba-nosec-plan.xml, 
 magicGball-ear-2.1.1.4.ear


 I tried to deploy a sample magicGball.ear on GERONIMO 3.0.
 The structure of this ear is:
 --magicGball.ear
magicGball-client.jar
magicGball-ejb.jar
magicGball-web.war
 The module tag in appliaction.xml is defined as follows
 module
 web
   web-urimagicGball-web.war/web-uri
   context-root/magicGball/context-root
 /web
   /module
   module
 ejbmagicGball-ejb.jar/ejb
   /module
   module
 javamagicGball-client.jar/java
   /module
 However ,the application failed to be deployed.
 the error in log is as follows:
 2010-05-13 13:33:39,805 ERROR [DeploymentPortlet] The application was not 
 deployed.
 Could not add to app client library classpath: WEB-INF/classes/
 org.apache.geronimo.common.DeploymentException: Could not add to app client 
 library classpath: WEB-INF/classes/
   at 
 org.apache.geronimo.client.builder.AppClientModuleBuilder.installModule(AppClientModuleBuilder.java:586)
   at 
 org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:602)
   at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:250)
   at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:138)
   at sun.reflect.GeneratedMethodAccessor214.invoke(Unknown Source)
   at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at 
 org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
   at 
 org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
   at 
 org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:856)
   at 
 org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
   at 
 org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
   at 
 org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
   at java.lang.Thread.run(Thread.java:619)
 Caused by: java.io.IOException: Jar entry does not exist: 
 jarFile=D:\g30\geronimo-tomcat7-javaee6-3.0-SNAPSHOT\var\temp\geronimo-deployer219612648671192750.tmpdir\magicGball-ear-2.1.1.4.ear,
  path=WEB-INF/classes/
   at 
 org.apache.geronimo.kernel.util.NestedJarFile.init(NestedJarFile.java:51)
   at 
 org.apache.geronimo.client.builder.AppClientModuleBuilder.installModule(AppClientModuleBuilder.java:583)
   ... 13 more

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



[jira] Created: (GERONIMO-5299) Deploy plan for a web application with login-module attribute faiiled to be parsed.

2010-05-12 Thread Lu Jiang (JIRA)
Deploy plan for a web application with login-module attribute faiiled to be 
parsed.
---

 Key: GERONIMO-5299
 URL: https://issues.apache.org/jira/browse/GERONIMO-5299
 Project: Geronimo
  Issue Type: Bug
  Security Level: public (Regular issues)
  Components: deployment
Affects Versions: 3.0
 Environment: OS:win xp
Server:GERONIMO 3.0-SANPSHOT 2010.5.6 build
JDK :1.6
Reporter: Lu Jiang


Deploy a web application file-realm-demo.war with deploy plan 
demo-realm.xml.(see attach file).
The deploy plan failed to be parsed.
(ps:this application can be deployed and started successfully on geronimo 2.2)

2010-05-12 14:39:09,618 ERROR [DeploymentPortlet] 
Could not parse xml in plan
org.apache.geronimo.common.DeploymentException: Could not parse xml in plan
at 
org.apache.geronimo.deployment.service.ServiceConfigBuilder.getDeploymentPlan(ServiceConfigBuilder.java:191)
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:231)
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:138)
at sun.reflect.GeneratedMethodAccessor214.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
at 
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
at 
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:856)
at 
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
at 
org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
at 
org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.apache.xmlbeans.XmlException: Invalid deployment descriptor: 
errors:

D:\g30\geronimo-tomcat7-javaee6-3.0-SNAPSHOT\var\temp\demo-realm.xml:26:17: 
error: cvc-complex-type.3.2.1: Attribute not allowed (no wildcards allowed): 
server-side in element 
login-mod...@http://geronimo.apache.org/xml/ns/loginconfig-2.0

Descriptor:
module xmlns=http://geronimo.apache.org/xml/ns/deployment-1.2;
  environment
moduleId
  groupIdsamples/groupId
  artifactIdrealm-demo-properties-realm/artifactId
  version2.1.1/version
  typecar/type
/moduleId
dependencies
  dependency
groupIdorg.apache.geronimo.framework/groupId
artifactIdj2ee-security/artifactId
typecar/type
  /dependency
/dependencies
  /environment
  gbean name=demo-properties-realm 
class=org.apache.geronimo.security.realm.GenericSecurityRealm
attribute name=realmNamedemo-properties-realm/attribute
reference name=ServerInfo
  nameServerInfo/name
/reference
xml-reference name=LoginModuleConfiguration
  log:login-config 
xmlns:log=http://geronimo.apache.org/xml/ns/loginconfig-2.0;
log:login-module control-flag=REQUIRED server-side=true 
wrap-principals=false
  log:login-domain-namedemo-properties-realm/log:login-domain-name
  
log:login-module-classorg.apache.geronimo.security.realm.providers.PropertiesFileLoginModule/log:login-module-class
  log:option 
name=usersURIvar/security/demo_users.properties/log:option
  log:option 
name=groupsURIvar/security/demo_groups.properties/log:option
/log:login-module
  /log:login-config
/xml-reference
  /gbean
/module

at 
org.apache.geronimo.deployment.xmlbeans.XmlBeansUtil.validateDD(XmlBeansUtil.java:187)
at 
org.apache.geronimo.deployment.service.ServiceConfigBuilder.getDeploymentPlan(ServiceConfigBuilder.java:171)
... 12 more

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



[jira] Updated: (GERONIMO-5299) Deploy plan for a web application with login-module attribute faiiled to be parsed.

2010-05-12 Thread Lu Jiang (JIRA)

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

Lu Jiang updated GERONIMO-5299:
---

Attachment: demo-realm.xml
file-realm-demo.war

 Deploy plan for a web application with login-module attribute faiiled to be 
 parsed.
 ---

 Key: GERONIMO-5299
 URL: https://issues.apache.org/jira/browse/GERONIMO-5299
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: deployment
Affects Versions: 3.0
 Environment: OS:win xp
 Server:GERONIMO 3.0-SANPSHOT 2010.5.6 build
 JDK :1.6
Reporter: Lu Jiang
 Attachments: demo-realm.xml, file-realm-demo.war


 Deploy a web application file-realm-demo.war with deploy plan 
 demo-realm.xml.(see attach file).
 The deploy plan failed to be parsed.
 (ps:this application can be deployed and started successfully on geronimo 2.2)
 2010-05-12 14:39:09,618 ERROR [DeploymentPortlet] 
 Could not parse xml in plan
 org.apache.geronimo.common.DeploymentException: Could not parse xml in plan
   at 
 org.apache.geronimo.deployment.service.ServiceConfigBuilder.getDeploymentPlan(ServiceConfigBuilder.java:191)
   at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:231)
   at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:138)
   at sun.reflect.GeneratedMethodAccessor214.invoke(Unknown Source)
   at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at 
 org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
   at 
 org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
   at 
 org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:856)
   at 
 org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
   at 
 org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
   at 
 org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
   at java.lang.Thread.run(Thread.java:619)
 Caused by: org.apache.xmlbeans.XmlException: Invalid deployment descriptor: 
 errors:
 D:\g30\geronimo-tomcat7-javaee6-3.0-SNAPSHOT\var\temp\demo-realm.xml:26:17: 
 error: cvc-complex-type.3.2.1: Attribute not allowed (no wildcards allowed): 
 server-side in element 
 login-mod...@http://geronimo.apache.org/xml/ns/loginconfig-2.0
 Descriptor:
 module xmlns=http://geronimo.apache.org/xml/ns/deployment-1.2;
   environment
 moduleId
   groupIdsamples/groupId
   artifactIdrealm-demo-properties-realm/artifactId
   version2.1.1/version
   typecar/type
 /moduleId
 dependencies
   dependency
 groupIdorg.apache.geronimo.framework/groupId
 artifactIdj2ee-security/artifactId
 typecar/type
   /dependency
 /dependencies
   /environment
   gbean name=demo-properties-realm 
 class=org.apache.geronimo.security.realm.GenericSecurityRealm
 attribute name=realmNamedemo-properties-realm/attribute
 reference name=ServerInfo
   nameServerInfo/name
 /reference
 xml-reference name=LoginModuleConfiguration
   log:login-config 
 xmlns:log=http://geronimo.apache.org/xml/ns/loginconfig-2.0;
 log:login-module control-flag=REQUIRED server-side=true 
 wrap-principals=false
   log:login-domain-namedemo-properties-realm/log:login-domain-name
   
 log:login-module-classorg.apache.geronimo.security.realm.providers.PropertiesFileLoginModule/log:login-module-class
   log:option 
 name=usersURIvar/security/demo_users.properties/log:option
   log:option 
 name=groupsURIvar/security/demo_groups.properties/log:option
 /log:login-module
   /log:login-config
 /xml-reference
   /gbean
 /module
   at 
 org.apache.geronimo.deployment.xmlbeans.XmlBeansUtil.validateDD(XmlBeansUtil.java:187)
   at 
 org.apache.geronimo.deployment.service.ServiceConfigBuilder.getDeploymentPlan(ServiceConfigBuilder.java:171)
   ... 12 more

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



[jira] Created: (GERONIMO-5300) Class not found:org/apache/axis2/jaxws/ClientConfigurationFactory

2010-05-12 Thread Lu Jiang (JIRA)
Class not found:org/apache/axis2/jaxws/ClientConfigurationFactory
-

 Key: GERONIMO-5300
 URL: https://issues.apache.org/jira/browse/GERONIMO-5300
 Project: Geronimo
  Issue Type: Bug
  Security Level: public (Regular issues)
  Components: webservices
Affects Versions: 3.0
 Environment: OS:Win xp
Server:GERONIMO 3.0-SNAPSHOT 
JDK:1.6
Reporter: Lu Jiang
 Attachments: jaxws-calculator-war.war

Try Geronimo sample jaxws-Calculator.war(see attached file ) on Geronimo 3.0 
build.An class not found error will occur.

org/apache/axis2/jaxws/ClientConfigurationFactory
java.lang.NoClassDefFoundError: 
org/apache/axis2/jaxws/ClientConfigurationFactory
at 
org.apache.geronimo.axis2.builder.Axis2ServiceRefBuilder.registerConfigGBean(Axis2ServiceRefBuilder.java:89)
at 
org.apache.geronimo.axis2.builder.Axis2ServiceRefBuilder.createService(Axis2ServiceRefBuilder.java:64)
at 
org.apache.geronimo.jaxws.builder.JAXWSServiceRefBuilder.buildNaming(JAXWSServiceRefBuilder.java:164)
at 
org.apache.geronimo.jaxws.builder.JAXWSServiceRefBuilder.buildNaming(JAXWSServiceRefBuilder.java:103)
at 
org.apache.geronimo.naming.deployment.SwitchingServiceRefBuilder.buildNaming(SwitchingServiceRefBuilder.java:139)
at 
org.apache.geronimo.j2ee.deployment.NamingBuilderCollection.buildNaming(NamingBuilderCollection.java:68)
at 
org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.configureBasicWebModuleAttributes(AbstractWebModuleBuilder.java:706)
at 
org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.addGBeans(TomcatModuleBuilder.java:408)
at 
org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.addGBeans(SwitchingModuleBuilder.java:175)
at 
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:690)
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:250)
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:138)
at sun.reflect.GeneratedMethodAccessor214.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
at 
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
at 
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:856)
at 
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
at 
org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
at 
org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ClassNotFoundException: 
org.apache.axis2.jaxws.ClientConfigurationFactory
at 
org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:814)
at org.apache.felix.framework.ModuleImpl.access$100(ModuleImpl.java:61)
at 
org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1733)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at 
org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleImpl.java:674)
at 
org.apache.felix.framework.searchpolicy.R4Wire.getClass(R4Wire.java:108)
at 
org.apache.felix.framework.ModuleImpl.searchImports(ModuleImpl.java:1440)
at 
org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:753)
at org.apache.felix.framework.ModuleImpl.access$100(ModuleImpl.java:61)
at 
org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1733)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
... 22 more


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



[jira] Updated: (GERONIMO-5300) Class not found:org/apache/axis2/jaxws/ClientConfigurationFactory

2010-05-12 Thread Lu Jiang (JIRA)

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

Lu Jiang updated GERONIMO-5300:
---

Attachment: jaxws-calculator-war.war

 Class not found:org/apache/axis2/jaxws/ClientConfigurationFactory
 -

 Key: GERONIMO-5300
 URL: https://issues.apache.org/jira/browse/GERONIMO-5300
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: webservices
Affects Versions: 3.0
 Environment: OS:Win xp
 Server:GERONIMO 3.0-SNAPSHOT 
 JDK:1.6
Reporter: Lu Jiang
 Attachments: jaxws-calculator-war.war


 Try Geronimo sample jaxws-Calculator.war(see attached file ) on Geronimo 3.0 
 build.An class not found error will occur.
 org/apache/axis2/jaxws/ClientConfigurationFactory
 java.lang.NoClassDefFoundError: 
 org/apache/axis2/jaxws/ClientConfigurationFactory
   at 
 org.apache.geronimo.axis2.builder.Axis2ServiceRefBuilder.registerConfigGBean(Axis2ServiceRefBuilder.java:89)
   at 
 org.apache.geronimo.axis2.builder.Axis2ServiceRefBuilder.createService(Axis2ServiceRefBuilder.java:64)
   at 
 org.apache.geronimo.jaxws.builder.JAXWSServiceRefBuilder.buildNaming(JAXWSServiceRefBuilder.java:164)
   at 
 org.apache.geronimo.jaxws.builder.JAXWSServiceRefBuilder.buildNaming(JAXWSServiceRefBuilder.java:103)
   at 
 org.apache.geronimo.naming.deployment.SwitchingServiceRefBuilder.buildNaming(SwitchingServiceRefBuilder.java:139)
   at 
 org.apache.geronimo.j2ee.deployment.NamingBuilderCollection.buildNaming(NamingBuilderCollection.java:68)
   at 
 org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.configureBasicWebModuleAttributes(AbstractWebModuleBuilder.java:706)
   at 
 org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.addGBeans(TomcatModuleBuilder.java:408)
   at 
 org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.addGBeans(SwitchingModuleBuilder.java:175)
   at 
 org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:690)
   at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:250)
   at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:138)
   at sun.reflect.GeneratedMethodAccessor214.invoke(Unknown Source)
   at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at 
 org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
   at 
 org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
   at 
 org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:856)
   at 
 org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
   at 
 org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
   at 
 org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
   at java.lang.Thread.run(Thread.java:619)
 Caused by: java.lang.ClassNotFoundException: 
 org.apache.axis2.jaxws.ClientConfigurationFactory
   at 
 org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:814)
   at org.apache.felix.framework.ModuleImpl.access$100(ModuleImpl.java:61)
   at 
 org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1733)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
   at 
 org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleImpl.java:674)
   at 
 org.apache.felix.framework.searchpolicy.R4Wire.getClass(R4Wire.java:108)
   at 
 org.apache.felix.framework.ModuleImpl.searchImports(ModuleImpl.java:1440)
   at 
 org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:753)
   at org.apache.felix.framework.ModuleImpl.access$100(ModuleImpl.java:61)
   at 
 org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1733)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
   ... 22 more

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



[jira] Created: (GERONIMO-5301) DatabaseInitializationGBean class not found.

2010-05-12 Thread Lu Jiang (JIRA)
DatabaseInitializationGBean class not found.


 Key: GERONIMO-5301
 URL: https://issues.apache.org/jira/browse/GERONIMO-5301
 Project: Geronimo
  Issue Type: Bug
  Security Level: public (Regular issues)
  Components: databases
Affects Versions: 3.0
 Environment: OS:win xp
JDK:1.6
Geronimo build:3.0-SNAPSHOT 2010.5.6 build.
Reporter: Lu Jiang


Steps:
1.before deploy a web application named dbdemo1,create a data source connector 
using 
deploy.bat  deploy Path_to_file\tranql-connector-derby-embed-xa-1.5.rar 
path_to_file\plan.xml
2.Deploy the dbdemo1.war with deploy plan geronimo-web.xml
A class not found error will occur.

2010-05-12 16:28:36,243 ERROR [DeploymentPortlet] 
org.apache.geronimo.gbean.InvalidConfigurationException: Could not load class 
org.apache.geronimo.connector.DatabaseInitializationGBean from bundle 
org.apache.geronimo.samples.dbdemo1-DEPLOYMENT [421] at location 
reference:file:/D:/g30/geronimo-tomcat7-javaee6-3.0-SNAPSHOT/var/temp/geronimo-fileutils1455919907695422054.tmpfile
org.apache.geronimo.common.DeploymentException: 
org.apache.geronimo.gbean.InvalidConfigurationException: Could not load class 
org.apache.geronimo.connector.DatabaseInitializationGBean from bundle 
org.apache.geronimo.samples.dbdemo1-DEPLOYMENT [421] at location 
reference:file:/D:/g30/geronimo-tomcat7-javaee6-3.0-SNAPSHOT/var/temp/geronimo-fileutils1455919907695422054.tmpfile
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:284)
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:138)
at sun.reflect.GeneratedMethodAccessor214.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
at 
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
at 
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:856)
at 
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
at 
org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
at 
org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Could not 
load class org.apache.geronimo.connector.DatabaseInitializationGBean from 
bundle org.apache.geronimo.samples.dbdemo1-DEPLOYMENT [421] at location 
reference:file:/D:/g30/geronimo-tomcat7-javaee6-3.0-SNAPSHOT/var/temp/geronimo-fileutils1455919907695422054.tmpfile
at 
org.apache.geronimo.gbean.annotation.AnnotationGBeanInfoFactory.getGBeanInfo(AnnotationGBeanInfoFactory.java:42)
at 
org.apache.geronimo.gbean.MultiGBeanInfoFactory.getGBeanInfo(MultiGBeanInfoFactory.java:66)
at 
org.apache.geronimo.deployment.service.GBeanBuilder.addGBeanData(GBeanBuilder.java:113)
at 
org.apache.geronimo.deployment.service.GBeanBuilder.build(GBeanBuilder.java:108)
at 
org.apache.geronimo.deployment.NamespaceDrivenBuilderCollection.build(NamespaceDrivenBuilderCollection.java:43)
at 
org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.basicInitContext(AbstractWebModuleBuilder.java:462)
at 
org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.initContext(AbstractWebModuleBuilder.java:405)
at 
org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.initContext(SwitchingModuleBuilder.java:169)
at 
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:630)
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:250)
... 11 more
Caused by: java.lang.ClassNotFoundException: 
org.apache.geronimo.connector.DatabaseInitializationGBean
at 
org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:814)
at org.apache.felix.framework.ModuleImpl.access$100(ModuleImpl.java:61)
at 
org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1733)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at 
org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleImpl.java:674)
at 
org.apache.felix.framework.searchpolicy.R4Wire.getClass(R4Wire.java:108)
at 
org.apache.felix.framework.ModuleImpl.searchImports(ModuleImpl.java:1440)
at 
org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:753)
at org.apache.felix.framework.ModuleImpl.access$100(ModuleImpl.java:61)
at 

[jira] Updated: (GERONIMO-5301) DatabaseInitializationGBean class not found.

2010-05-12 Thread Lu Jiang (JIRA)

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

Lu Jiang updated GERONIMO-5301:
---

Attachment: geronimo-web.xml
dbdemo1-2.1.1.4.war
plan.xml

 DatabaseInitializationGBean class not found.
 

 Key: GERONIMO-5301
 URL: https://issues.apache.org/jira/browse/GERONIMO-5301
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: databases
Affects Versions: 3.0
 Environment: OS:win xp
 JDK:1.6
 Geronimo build:3.0-SNAPSHOT 2010.5.6 build.
Reporter: Lu Jiang
 Attachments: dbdemo1-2.1.1.4.war, geronimo-web.xml, plan.xml


 Steps:
 1.before deploy a web application named dbdemo1,create a data source 
 connector using 
 deploy.bat  deploy Path_to_file\tranql-connector-derby-embed-xa-1.5.rar 
 path_to_file\plan.xml
 2.Deploy the dbdemo1.war with deploy plan geronimo-web.xml
 A class not found error will occur.
 2010-05-12 16:28:36,243 ERROR [DeploymentPortlet] 
 org.apache.geronimo.gbean.InvalidConfigurationException: Could not load class 
 org.apache.geronimo.connector.DatabaseInitializationGBean from bundle 
 org.apache.geronimo.samples.dbdemo1-DEPLOYMENT [421] at location 
 reference:file:/D:/g30/geronimo-tomcat7-javaee6-3.0-SNAPSHOT/var/temp/geronimo-fileutils1455919907695422054.tmpfile
 org.apache.geronimo.common.DeploymentException: 
 org.apache.geronimo.gbean.InvalidConfigurationException: Could not load class 
 org.apache.geronimo.connector.DatabaseInitializationGBean from bundle 
 org.apache.geronimo.samples.dbdemo1-DEPLOYMENT [421] at location 
 reference:file:/D:/g30/geronimo-tomcat7-javaee6-3.0-SNAPSHOT/var/temp/geronimo-fileutils1455919907695422054.tmpfile
   at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:284)
   at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:138)
   at sun.reflect.GeneratedMethodAccessor214.invoke(Unknown Source)
   at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at 
 org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
   at 
 org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
   at 
 org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:856)
   at 
 org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
   at 
 org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
   at 
 org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
   at java.lang.Thread.run(Thread.java:619)
 Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Could not 
 load class org.apache.geronimo.connector.DatabaseInitializationGBean from 
 bundle org.apache.geronimo.samples.dbdemo1-DEPLOYMENT [421] at location 
 reference:file:/D:/g30/geronimo-tomcat7-javaee6-3.0-SNAPSHOT/var/temp/geronimo-fileutils1455919907695422054.tmpfile
   at 
 org.apache.geronimo.gbean.annotation.AnnotationGBeanInfoFactory.getGBeanInfo(AnnotationGBeanInfoFactory.java:42)
   at 
 org.apache.geronimo.gbean.MultiGBeanInfoFactory.getGBeanInfo(MultiGBeanInfoFactory.java:66)
   at 
 org.apache.geronimo.deployment.service.GBeanBuilder.addGBeanData(GBeanBuilder.java:113)
   at 
 org.apache.geronimo.deployment.service.GBeanBuilder.build(GBeanBuilder.java:108)
   at 
 org.apache.geronimo.deployment.NamespaceDrivenBuilderCollection.build(NamespaceDrivenBuilderCollection.java:43)
   at 
 org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.basicInitContext(AbstractWebModuleBuilder.java:462)
   at 
 org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.initContext(AbstractWebModuleBuilder.java:405)
   at 
 org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.initContext(SwitchingModuleBuilder.java:169)
   at 
 org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:630)
   at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:250)
   ... 11 more
 Caused by: java.lang.ClassNotFoundException: 
 org.apache.geronimo.connector.DatabaseInitializationGBean
   at 
 org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:814)
   at org.apache.felix.framework.ModuleImpl.access$100(ModuleImpl.java:61)
   at 
 org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1733)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
   at 
 org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleImpl.java:674)
   at 
 

[jira] Updated: (GERONIMO-5302) A successfully deployed war package(contained in a ear package) is not listed on admin console.

2010-05-12 Thread Lu Jiang (JIRA)

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

Lu Jiang updated GERONIMO-5302:
---

Attachment: sendmail-ear-2.1.1.4.ear

 A successfully deployed war package(contained in a ear package) is not listed 
 on admin console.
 ---

 Key: GERONIMO-5302
 URL: https://issues.apache.org/jira/browse/GERONIMO-5302
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: console
Affects Versions: 3.0
 Environment: OS:WIN XP
 GERONIMO Build:3.0 SNAPSHOT 2010.5.6 build
 JDK:1.6
Reporter: Lu Jiang
 Attachments: sendmail-ear-2.1.1.4.ear


  Sendmail-ear.ear can be successfully deployed on geronimo 3.0 snapshot.
  Open http://localhost:8080/sendmail/  in a web browser ,this application 
 works fine.
 But As far as I can remember if the ear contains a war package and this war 
 package is specifiled in application .xml like:
   module
 web
   web-urisendmail-war-2.1.1.4.war/web-uri
   context-root/sendmail/context-root
 /web
   /module
 Then on admin console,under Console Navigation/Applicatios,click web App 
 Wars,it/s expected to see  an item like this:
 org.apache.geronimo.samples/sendmail-ear_sendmail-war-2.1.1.4.war/2.1.1/car   
   /sendmail  running StopRestart Uninstall 
 then we can get access to the application via the link /sendmail.
 But currently on 3.0 snapshot console,the deployed war will not be listed.

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



[jira] Created: (GERONIMO-5302) A successfully deployed war package(contained in a ear package) is not listed on admin console.

2010-05-12 Thread Lu Jiang (JIRA)
A successfully deployed war package(contained in a ear package) is not listed 
on admin console.
---

 Key: GERONIMO-5302
 URL: https://issues.apache.org/jira/browse/GERONIMO-5302
 Project: Geronimo
  Issue Type: Bug
  Security Level: public (Regular issues)
  Components: console
Affects Versions: 3.0
 Environment: OS:WIN XP
GERONIMO Build:3.0 SNAPSHOT 2010.5.6 build
JDK:1.6
Reporter: Lu Jiang
 Attachments: sendmail-ear-2.1.1.4.ear

 Sendmail-ear.ear can be successfully deployed on geronimo 3.0 snapshot.
 Open http://localhost:8080/sendmail/  in a web browser ,this application works 
fine.
But As far as I can remember if the ear contains a war package and this war 
package is specifiled in application .xml like:
  module
web
  web-urisendmail-war-2.1.1.4.war/web-uri
  context-root/sendmail/context-root
/web
  /module

Then on admin console,under Console Navigation/Applicatios,click web App 
Wars,it/s expected to see  an item like this:
org.apache.geronimo.samples/sendmail-ear_sendmail-war-2.1.1.4.war/2.1.1/car 
  /sendmail  running StopRestart Uninstall 
then we can get access to the application via the link /sendmail.
But currently on 3.0 snapshot console,the deployed war will not be listed.


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



[jira] Created: (GERONIMO-5298) Bad version information in deployment plan will result in deploy failure

2010-05-11 Thread Lu Jiang (JIRA)
Bad version information in deployment plan will result in deploy failure


 Key: GERONIMO-5298
 URL: https://issues.apache.org/jira/browse/GERONIMO-5298
 Project: Geronimo
  Issue Type: Bug
  Security Level: public (Regular issues)
  Components: deployment
Affects Versions: 3.0
 Environment: OS:WIN XP SP2
Server:Geronimo 3.0-SNAPSHOT 2010.5.6 build
JDK:1.6
Reporter: Lu Jiang


I tried to deploy a simple helloworld web application.(see attach file for 
hello.war),using the deploy plan below:
?xml version=1.0 encoding=UTF-8?

web-app xmlns=http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1; 
 xmlns:naming=http://geronimo.apache.org/xml/ns/naming-1.2; 
 xmlns:sec=http://geronimo.apache.org/xml/ns/security-2.0; 
 xmlns:sys=http://geronimo.apache.org/xml/ns/deployment-1.2;   
  sys:environment
sys:moduleId
  sys:groupIdorg.apache.geronimo.samples/sys:groupId
  sys:artifactIdhello/sys:artifactId
  sys:version2.1.1.4/sys:version
  sys:typecar/sys:type
/sys:moduleId
sys:dependencies/
sys:hidden-classes/
sys:non-overridable-classes/
  /sys:environment 
  context-root/hello/context-root
/web-app

Deployment will fail with an exception:

Unable to create configuration for deployment: dependencies: null
org.apache.geronimo.common.DeploymentException: Unable to create configuration 
for deployment: dependencies: null
at 
org.apache.geronimo.deployment.DeploymentContext.createTempConfiguration(DeploymentContext.java:208)
at 
org.apache.geronimo.deployment.DeploymentContext.initializeConfiguration(DeploymentContext.java:188)
at 
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:606)
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:250)
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:138)
at sun.reflect.GeneratedMethodAccessor214.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
at 
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
at 
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:856)
at 
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
at 
org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
at 
org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.osgi.framework.BundleException: Could not create bundle object.
at org.apache.felix.framework.Felix.installBundle(Felix.java:2487)
at org.apache.felix.framework.Felix.installBundle(Felix.java:2334)
at 
org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:130)
at 
org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:108)
at 
org.apache.geronimo.deployment.DeploymentContext.createTempConfiguration(DeploymentContext.java:200)
... 14 more
Caused by: java.lang.IllegalArgumentException: invalid format
at org.osgi.framework.Version.(Version.java:140)
at org.osgi.framework.Version.parseVersion(Version.java:218)
at 
org.apache.felix.framework.util.manifestparser.ManifestParser.(ManifestParser.java:76)
at org.apache.felix.framework.ModuleImpl.(ModuleImpl.java:221)
at 
org.apache.felix.framework.BundleImpl.createModule(BundleImpl.java:1121)
at org.apache.felix.framework.BundleImpl.(BundleImpl.java:79)
at org.apache.felix.framework.Felix.installBundle(Felix.java:2429)
... 18 more


The strange thing is if I change version information in the deploy plan to 
2,2.1,2.1.1 or 3.0-SNAPSHOT etc. Deployment process will succeed.


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



[jira] Updated: (GERONIMO-5298) Bad version information in deployment plan will result in deploy failure

2010-05-11 Thread Lu Jiang (JIRA)

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

Lu Jiang updated GERONIMO-5298:
---

Attachment: geronimo-web.xml
hello.war

Use version like:2 2.1 2.1.13.0-SNAPSHOT .Can successfully 
deploy the web application.
Use version like:2.1.1.4   3.1.1.4 .Deployment process will fail.


 Bad version information in deployment plan will result in deploy failure
 

 Key: GERONIMO-5298
 URL: https://issues.apache.org/jira/browse/GERONIMO-5298
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: deployment
Affects Versions: 3.0
 Environment: OS:WIN XP SP2
 Server:Geronimo 3.0-SNAPSHOT 2010.5.6 build
 JDK:1.6
Reporter: Lu Jiang
 Attachments: geronimo-web.xml, hello.war


 I tried to deploy a simple helloworld web application.(see attach file for 
 hello.war),using the deploy plan below:
 ?xml version=1.0 encoding=UTF-8?
 web-app xmlns=http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1; 
  xmlns:naming=http://geronimo.apache.org/xml/ns/naming-1.2; 
  xmlns:sec=http://geronimo.apache.org/xml/ns/security-2.0; 
  xmlns:sys=http://geronimo.apache.org/xml/ns/deployment-1.2;   
   sys:environment
 sys:moduleId
   sys:groupIdorg.apache.geronimo.samples/sys:groupId
   sys:artifactIdhello/sys:artifactId
   sys:version2.1.1.4/sys:version
   sys:typecar/sys:type
 /sys:moduleId
 sys:dependencies/
 sys:hidden-classes/
 sys:non-overridable-classes/
   /sys:environment 
   context-root/hello/context-root
 /web-app
 Deployment will fail with an exception:
 Unable to create configuration for deployment: dependencies: null
 org.apache.geronimo.common.DeploymentException: Unable to create 
 configuration for deployment: dependencies: null
   at 
 org.apache.geronimo.deployment.DeploymentContext.createTempConfiguration(DeploymentContext.java:208)
   at 
 org.apache.geronimo.deployment.DeploymentContext.initializeConfiguration(DeploymentContext.java:188)
   at 
 org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:606)
   at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:250)
   at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:138)
   at sun.reflect.GeneratedMethodAccessor214.invoke(Unknown Source)
   at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at 
 org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
   at 
 org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
   at 
 org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:856)
   at 
 org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
   at 
 org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
   at 
 org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
   at java.lang.Thread.run(Thread.java:619)
 Caused by: org.osgi.framework.BundleException: Could not create bundle object.
   at org.apache.felix.framework.Felix.installBundle(Felix.java:2487)
   at org.apache.felix.framework.Felix.installBundle(Felix.java:2334)
   at 
 org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:130)
   at 
 org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:108)
   at 
 org.apache.geronimo.deployment.DeploymentContext.createTempConfiguration(DeploymentContext.java:200)
   ... 14 more
 Caused by: java.lang.IllegalArgumentException: invalid format
   at org.osgi.framework.Version.(Version.java:140)
   at org.osgi.framework.Version.parseVersion(Version.java:218)
   at 
 org.apache.felix.framework.util.manifestparser.ManifestParser.(ManifestParser.java:76)
   at org.apache.felix.framework.ModuleImpl.(ModuleImpl.java:221)
   at 
 org.apache.felix.framework.BundleImpl.createModule(BundleImpl.java:1121)
   at org.apache.felix.framework.BundleImpl.(BundleImpl.java:79)
   at org.apache.felix.framework.Felix.installBundle(Felix.java:2429)
   ... 18 more
 The strange thing is if I change version information in the deploy plan to 
 2,2.1,2.1.1 or 3.0-SNAPSHOT etc. Deployment process will succeed.

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



[jira] Created: (GERONIMO-5291) Can not get multipart data sent from html form.

2010-05-10 Thread Lu Jiang (JIRA)
Can not get multipart data sent from html form.
---

 Key: GERONIMO-5291
 URL: https://issues.apache.org/jira/browse/GERONIMO-5291
 Project: Geronimo
  Issue Type: Bug
  Security Level: public (Regular issues)
  Components: deployment
Affects Versions: 3.0
 Environment: OS:win xp sp2
Server:Geronimo 3.0 2010.05.06 build
JDK:1.6
Reporter: Lu Jiang


I tried the file upload example.But it fails to output the content of the 
uploaded file.
After debugging this example,I found that when using getPart() of 
HttpServletRequest ,then  we expect to get multipart data sent from html form.
Part p = ((HttpServletRequest) request).getPart(testFile);
But actually the object p is null,the multipart data is not caught.


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



[jira] Created: (GERONIMO-5292) Resources inside WEB-INF/lib/ [*.jar]/META-INF/resources directory can not be recognized

2010-05-10 Thread Lu Jiang (JIRA)
Resources inside  WEB-INF/lib/ [*.jar]/META-INF/resources directory can not be 
recognized
-

 Key: GERONIMO-5292
 URL: https://issues.apache.org/jira/browse/GERONIMO-5292
 Project: Geronimo
  Issue Type: Bug
  Security Level: public (Regular issues)
  Components: deployment
Affects Versions: 3.0
 Environment: OS: Win XP SP2
Server:Geronimo 3.0 2010.5.6 build
JDK:1.6
Reporter: Lu Jiang
 Fix For: 1.1.2



I tried the jarresource-javaee6-war-3.0-SNAPSHOT sample .Refer to 
https://issues.apache.org/jira/browse/GERONIMO-5237.
Not confined to document root of web application,all html and jsp resources are 
inside WEB-INF\lib\jarresource-javaee6-jar-3.0-SNAPSHOT.jar\META-INF\resources\ 
directory.
But server seems not recognize index.html,head,jsp,jarresource.jsp,thus will 
return a 404 error .

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



[jira] Updated: (GERONIMO-5235) JavaEE6 sample - Servlet 3.0 - Part attribute

2010-04-22 Thread Lu Jiang (JIRA)

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

Lu Jiang updated GERONIMO-5235:
---

Attachment: 5235.patch

Patch is ready.
Forrest,could you help to review and commit it?
Thanks in advance.

 JavaEE6 sample - Servlet 3.0 - Part attribute
 -

 Key: GERONIMO-5235
 URL: https://issues.apache.org/jira/browse/GERONIMO-5235
 Project: Geronimo
  Issue Type: Sub-task
  Security Level: public(Regular issues) 
  Components: sample apps
Affects Versions: 3.0
Reporter: Forrest Xia
 Attachments: 5235.patch


 A sample to demo Part attribute of servlet 3.0

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



[jira] Commented: (GERONIMO-5235) JavaEE6 sample - Servlet 3.0 - Part attribute

2010-04-19 Thread Lu Jiang (JIRA)

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

Lu Jiang commented on GERONIMO-5235:


Hi,all 
I will provide a patch for this JIRA to show better file upload support in 
servlet 3.0.
Also,this example will demonstrate annotations for servelt,filter and listener. 

 JavaEE6 sample - Servlet 3.0 - Part attribute
 -

 Key: GERONIMO-5235
 URL: https://issues.apache.org/jira/browse/GERONIMO-5235
 Project: Geronimo
  Issue Type: Sub-task
  Security Level: public(Regular issues) 
  Components: sample apps
Affects Versions: 3.0
Reporter: Forrest Xia

 A sample to demo Part attribute of servlet 3.0

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



[jira] Created: (GERONIMO-5181) Modification to Database connection pool parameters are not saved when restart Geronimo.

2010-03-11 Thread Lu Jiang (JIRA)
Modification to Database connection pool parameters are not saved when restart 
Geronimo.


 Key: GERONIMO-5181
 URL: https://issues.apache.org/jira/browse/GERONIMO-5181
 Project: Geronimo
  Issue Type: Bug
  Security Level: public (Regular issues)
  Components: console
Affects Versions: 2.1.5
 Environment: OS:  Windows XP x86 sp2
Geronimo:2.1.5-SNAPSHOT2010.03.11
Reporter: Lu Jiang


1.Click Database Pools under Console Navigation and then we can see a few 
database pools.
2.Choose one database pool ,for example jdbc/ArchiveDS,and click Edit.
3.Modify the value of Pool Max Size,Blocking Timeout,Idle Timeout.etc..and then 
Click save.
4.Restart Geronimo.
5.Check the value of Pool Max Size,Blocking Timeout,Idle Timeout,you will find 
the modification you have done to these values are all lost,they go back to the 
default value.

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



[jira] Commented: (GERONIMO-4993) Requests for db pool resources will exceed Max Pool Size when EJBNetworkService beans are all busy

2010-03-11 Thread Lu Jiang (JIRA)

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

Lu Jiang commented on GERONIMO-4993:


I have verified this JIRA using the latest build (GERONIMO 2.1.5 
SNAPSHOT,2010.3.11),it works fine.The permitted Connection  will be limited 
within the max pool size.
So this JIRA can be closed now :)

 Requests for db pool resources will exceed Max Pool Size when 
 EJBNetworkService beans are all busy
 --

 Key: GERONIMO-4993
 URL: https://issues.apache.org/jira/browse/GERONIMO-4993
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
Affects Versions: 2.1.3, 2.2
 Environment: Linux and Windows XP
Reporter: Eric Phetteplace
Assignee: David Jencks
 Fix For: 2.1.5

 Attachments: _PoolTest.war, screenshot-1.jpg


 In production, I have 100 EJBNetworkService threads.  It works OK until 
 there's a spike in traffic and all the threads are being used, and the 40 
 max pool size is ignored, and Geronimo makes 100's of DB connections.
 In production, I am using an Oracle DB pool, so the DBAs aren't happy when my 
 servers use up all the available server connections.
 To recreate:
 1.  Change config.xml and start Geronimo:
 module name=org.apache.geronimo.configs/openejb/2.2-SNAPSHOT/car
 gbean name=EJBNetworkService
 attribute name=port${OpenEJBPort + PortOffset}/attribute
 attribute name=host${ServerHostname}/attribute
 attribute 
 name=multicastHost${MulticastDiscoveryAddress}/attribute
 attribute 
 name=multicastPort${MulticastDiscoveryPort}/attribute
 attribute name=clusterName${ClusterName}/attribute
 *attribute name=threads5/attribute*
 /gbean
 2.  Reconfigure the jdbc/ArchiveDS DB Pool:
 Max Pool Size: 3
 Blocking Timeout: 1000
 Idle Timeout: 1
 3.  Install WAR 
 4.  In web browser, go to http://localhost:8080/PoolTest/PoolTest.  Reload it 
 5 times.  Take your time It should be fine, and will give you an error when 
 the pool is maxed.
 5.  In JMX Viewer, go to Geronimo MBeans, JCAConnectionManager, and pull up 
 jdbc/ArchiveDS.  Note the connection count.  Looks good.
 6.  Wait for the connection count to return to 0.
 7.  In your browser, hold down F5 so the page reloads many times.
 8.  Observe the connection count again.  It will be over connections.
 9.  If you repeat 6-9 you can easily get  20 connections.  I just held F5 
 for 6 seconds and there are 60 connections.
 I will attach WAR (I don't see an option on this screen).

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



[jira] Created: (GERONIMO-5160) Fail to create Database Pool for DB2(DataDirect) and Informix(DataDirect)

2010-02-28 Thread Lu Jiang (JIRA)
Fail to create Database Pool for DB2(DataDirect) and Informix(DataDirect)
-

 Key: GERONIMO-5160
 URL: https://issues.apache.org/jira/browse/GERONIMO-5160
 Project: Geronimo
  Issue Type: Bug
  Security Level: public (Regular issues)
  Components: console, databases
Affects Versions: 2.1.5
 Environment: Windows XP X86
 Build 2.1.5-SNAPSHOT   2010.02.01
Reporter: Lu Jiang
Priority: Minor


Click Database Pools on Console Navigator ,Use the Geronimo database pool 
wizard to configure Data source.
Step1: Input Name of Database Pool and select database type as 
DB2(DataDirect) or Informix(DataDirect),click Next;
It's expected to see a page which enables you to set driver and database 
details.But after clicking Next,it goes back to the previous page.

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



[jira] Closed: (GERONIMO-4997) Can not connect to a ldap server in an anonymous way

2010-02-26 Thread Lu Jiang (JIRA)

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

Lu Jiang closed GERONIMO-4997.
--

Resolution: Fixed

Oops,the userBase and roleBase I used in the security realm file are 
userBase=ou=users,ou=system,
roleBase=ou=groups,ou=system.
but Apache DS has a few minimal built-in rules for protecting users and 
groups.
Users  except the adminr user cannot access or search  the 
'ou=users,ou=system' and ou=groups,ou=systementry. They are  protected from 
access or alteration by anyone other than the admin user. So when try to access 
anonymously,authentication error will occur.
In order to connect to Apache DS successfully,we should create a new 
directory instead of a default ou=users,ou=system,ou=groups,ou=systemand 
put user info there.
Thanks Ivan for reviewing this issue and pointing  this out.


 Can not connect to a ldap server in an anonymous way
 

 Key: GERONIMO-4997
 URL: https://issues.apache.org/jira/browse/GERONIMO-4997
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: security
Affects Versions: 2.1.4, 2.2
 Environment: OS:Windows XP SP2
 Server: Geronimo 2.2
 JDK:1.6
Reporter: Lu Jiang
Priority: Minor
 Fix For: 2.1.5, 2.2.1, 3.0

 Attachments: geronimo-security-2.1.4.jar


 I tried to deploy an web application which uses Apache Directory Server for 
 user authentication.
 So I created a realm file as follows and add a reference to this realm file 
 in deploy plan
 module xmlns=http://geronimo.apache.org/xml/ns/deployment-1.2;
 environment
 moduleId
 groupIdconsole.realm/groupId
 artifactIdtestLDAP/artifactId
 version1.0/version
 typecar/type
 /moduleId
 dependencies
 dependency
 groupIdorg.apache.geronimo.framework/groupId
 artifactIdj2ee-security/artifactId
 typecar/type
 /dependency
 /dependencies
 /environment
 gbean name=testLDAP 
 class=org.apache.geronimo.security.realm.GenericSecurityRealm 
 xsi:type=dep:gbeanType 
 xmlns:dep=http://geronimo.apache.org/xml/ns/deployment-1.2; 
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 attribute name=realmNametestLDAP/attribute
 reference name=ServerInfo
 nameServerInfo/name
 /reference
 xml-reference name=LoginModuleConfiguration
 log:login-config 
 xmlns:log=http://geronimo.apache.org/xml/ns/loginconfig-2.0;
 log:login-module control-flag=REQUIRED 
 wrap-principals=false
 log:login-domain-nametestLDAP/log:login-domain-name
 
 log:login-module-classorg.apache.geronimo.security.realm.providers.LDAPLoginModule/log:login-module-class
 log:option 
 name=connectionURLldap://pages.test.com:389/log:option
 log:option 
 name=roleBaseou=members,ou=testgroups,o=test.com/log:option
 log:option 
 name=initialContextFactorycom.sun.jndi.ldap.LdapCtxFactory/log:option
 log:option name=roleNamecn/log:option
 log:option 
 name=roleSearchMatchinguniquemember={0}/log:option
 log:option name=roleSearchSubtreefalse/log:option
 log:option 
 name=userRoleNameuniquemember={0}/log:option
 log:option name=authenticationsimple/log:option
 log:option name=userSearchSubtreetrue/log:option
 log:option 
 name=userBaseou=users,o=test.com/log:option
 log:option 
 name=userSearchMatching(mail={0})/log:option
 /log:login-module
 /log:login-config
 /xml-reference
 /gbean
 /module
 It provides no connectionUsername and password ,because I intend to connect 
 the ldap server anonymously.
 Eache time,I login the web application ,it will try to connect the Apache 
 directory server to authenticate users.
 But a NullPointerException will always occur.
 Caused by: 
 java.lang.NullPointerException
   at java.util.Hashtable.put(Hashtable.java:770)
   at 
 org.apache.geronimo.security.realm.providers.LDAPLoginModule.open(LDAPLoginModule.java:455)
   at 
 org.apache.geronimo.security.realm.providers.LDAPLoginModule.authenticate(LDAPLoginModule.java:267)
   at 
 org.apache.geronimo.security.realm.providers.LDAPLoginModule.login(LDAPLoginModule.java:186)
   ... 28 more

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



[jira] Commented: (GERONIMODEVTOOLS-283) Refactoring a Dynamic Web Project's name doesn't refactor it's artifact id context root

2010-02-24 Thread Lu Jiang (JIRA)

[ 
https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12838230#action_12838230
 ] 

Lu Jiang commented on GERONIMODEVTOOLS-283:
---

Use latest GEP build,I faild to rename the name of  Dynamic Web Project from 
hello to hi.

I created a simple helloworld project,and name this project as hello,then a 
default geronimo-web.xml is created.

 ?xml version=1.0 encoding=UTF-8 standalone=no?
web:web-app xmlns:app=http://geronimo.apache.org/xml/ns/j2ee/application-2.0; 
xmlns:client=http://geronimo.apache.org/xml/ns/j2ee/application-client-2.0; 
xmlns:conn=http://geronimo.apache.org/xml/ns/j2ee/connector-1.2; 
xmlns:dep=http://geronimo.apache.org/xml/ns/deployment-1.2; 
xmlns:ejb=http://openejb.apache.org/xml/ns/openejb-jar-2.2; 
xmlns:log=http://geronimo.apache.org/xml/ns/loginconfig-2.0; 
xmlns:name=http://geronimo.apache.org/xml/ns/naming-1.2; 
xmlns:pers=http://java.sun.com/xml/ns/persistence; 
xmlns:pkgen=http://openejb.apache.org/xml/ns/pkgen-2.1; 
xmlns:sec=http://geronimo.apache.org/xml/ns/security-2.0; 
xmlns:web=http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1;
dep:environment
dep:moduleId
dep:groupIddefault/dep:groupId
dep:artifactIdhello/dep:artifactId
dep:version1.0/dep:version
dep:typecar/dep:type
/dep:moduleId
/dep:environment
web:context-root/hello/web:context-root
/web:web-app

Click Refactor-Rename to change the project name from hello to hi.
The check box shown in the screen snapshot didn't appear.So I  cann't  choose 
whether to rename artifact-id and context-root in geronimo-web.xml.
But actually ,some wrong operation was done to artifactId and moduleId in 
geronimo-web.xml during Renaming.
See the geronimo-web.xml below,after rename from hello to hi,it became a 
badly formed xml file.
?xml version=1.0 encoding=UTF-8 standalone=no?
web:web-app xmlns:app=http://geronimo.apache.org/xml/ns/j2ee/application-2.0; 
xmlns:client=http://geronimo.apache.org/xml/ns/j2ee/application-client-2.0; 
xmlns:conn=http://geronimo.apache.org/xml/ns/j2ee/connector-1.2; 
xmlns:dep=http://geronimo.apache.org/xml/ns/deployment-1.2; 
xmlns:ejb=http://openejb.apache.org/xml/ns/openejb-jar-2.2; 
xmlns:log=http://geronimo.apache.org/xml/ns/loginconfig-2.0; 
xmlns:name=http://geronimo.apache.org/xml/ns/naming-1.2; 
xmlns:pers=http://java.sun.com/xml/ns/persistence; 
xmlns:pkgen=http://openejb.apache.org/xml/ns/pkgen-2.1; 
xmlns:sec=http://geronimo.apache.org/xml/ns/security-2.0; 
xmlns:web=http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1;
dep:environment
dep:moduleId
dep:groupIddefault/dep:groupId
dep:artifactIdhehidep:artifactId
dep:version1.0/dep:version
dep:typecar/dep:type
/dep:moduleId
/dep:environment
web:context-root/h/hiweb:context-root
/web:web-app

I suggest to reopen this JIRA.


 Refactoring a Dynamic Web Project's name doesn't refactor it's artifact id  
 context root
 -

 Key: GERONIMODEVTOOLS-283
 URL: 
 https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-283
 Project: Geronimo-Devtools
  Issue Type: Wish
  Components: eclipse-plugin
Reporter: Shiva Kumar H R
Priority: Minor
 Fix For: 2.1.5, 2.2.0

 Attachments: extend_rename.patch, screenshot-1.jpg, screenshot-2.jpg


 When a Dynamic Web Project with name say tt is created, a Geronimo 
 deployment plan geronimo-web.xml will get created with module-id as 
 default/tt-1.0.car and context-root as /tt. 
 When this project is re-factored to say tz, the module-id will still be the 
 same default/tt-1.0.car (note that artifact id is not re-factored from tt 
 to tz). The context-root also remains the same /tt. 
 Although this doesn't pose any problem, wouldn't it be better to refactor the 
 artifact-id  context-root to match the project name?

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



[jira] Commented: (GERONIMO-4620) Database Security Realm is removed from admin consonle after delete datasource it's based

2010-02-09 Thread Lu Jiang (JIRA)

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

Lu Jiang commented on GERONIMO-4620:


As Ivan mentioned above,the expected behavior is that the security realm file 
is not to be deleted when you delete the datasource it depends on.So the realm 
file  will stay in the ropository,but we should also keep the consistency on 
console,when click Security Realm on console ,the security realm file is 
expected to be showed.

 Database Security Realm is removed from admin consonle after delete 
 datasource it's based 
 --

 Key: GERONIMO-4620
 URL: https://issues.apache.org/jira/browse/GERONIMO-4620
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: console
Affects Versions: 2.0.3, 2.1.4, 2.2
 Environment: os:winxp
Reporter: viola.lu
Assignee: Ivan
Priority: Minor
 Fix For: 2.1.5, 2.2

 Attachments: GERONIMO-4620(2).patch


 1.Create a embedded database SecurityDatabase containing user and group tables
 2.Create a datasource SecurityDS for this database
 3.Create a security realm named SecurityRealm and choose datasource 
 :SecurityDS
 4.Delete SecurityDS datasource, meantime SecurityRealm is removed from admin 
 console -security realm porlet, but under repository\console\realm folder, 
 this realm still exists.
 So if i create the same one realm, erros in server.log , and cann't create 
 new realm.

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



[jira] Closed: (GERONIMO-5124) No actions for JMS Resouces

2010-02-09 Thread Lu Jiang (JIRA)

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

Lu Jiang closed GERONIMO-5124.
--

   Resolution: Fixed
Fix Version/s: 2.2.1

Since this is not a feature of g 2.1.5,but a feature of g 2.2. So I will close 
this JIRA.
If you want to use this feature,just try geronimo 2.2:)

 No actions for JMS Resouces
 ---

 Key: GERONIMO-5124
 URL: https://issues.apache.org/jira/browse/GERONIMO-5124
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: console
Affects Versions: 2.1.5
 Environment: OS:windows 7 x86
 Geronimo:2.1.1.5-SNAPSHOT 
Reporter: Lu Jiang
 Fix For: 2.2.1


 Click Console Navigation-Services-JMS Resources,then you will find all  
 available JMS Resource Groups
 It's expected to privide actions for each JMS Resource like Browse,Send 
 ,Purge..
 But currently no links for the these operations are provided under column 
 Actions.

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



[jira] Closed: (GERONIMO-5123) Creating Geronimo Plugin is not supported

2010-02-09 Thread Lu Jiang (JIRA)

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

Lu Jiang closed GERONIMO-5123.
--

Resolution: Cannot Reproduce

This JIRA can not be reproduced in the latest build ,so close it.

  Creating Geronimo Plugin is not supported
 --

 Key: GERONIMO-5123
 URL: https://issues.apache.org/jira/browse/GERONIMO-5123
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: Plugins
Affects Versions: 2.1.5
 Environment: OS: Windows 7 Architecture   x86
 Geronimo :2.1.5-SNAPSHOT  Build   2010.02.01
Reporter: Lu Jiang

 1.start geronimo
 2. in admin console, click application - plugin
 3.in Create Geronimo Plugin portlet, it's expected to list all available 
 modules ,thus you can hoose a configuration in the current Geronimo server 
 and click Export Plugin  to create plugin.
   but currently,nothing is listed in the box for you to choose.

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



[jira] Reopened: (GERONIMO-4997) Can not connect to a ldap server in an anonymous way

2010-02-09 Thread Lu Jiang (JIRA)

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

Lu Jiang reopened GERONIMO-4997:



Fail to verify it on latest 2.1.5 and 2.2.1-SNAPSHOT build.
But if use g 2.1.4 and replace geronimo-security-2.1.4.jar under 
Geronimo_HOME/repository/org/apache/geronimo/framework/geronimo-security with 
the one in the attachment(this jar file is provided by Ivan),I can connect to a 
ldap server anonymously.

 Can not connect to a ldap server in an anonymous way
 

 Key: GERONIMO-4997
 URL: https://issues.apache.org/jira/browse/GERONIMO-4997
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: security
Affects Versions: 2.1.4, 2.2
 Environment: OS:Windows XP SP2
 Server: Geronimo 2.2
 JDK:1.6
Reporter: Lu Jiang
Priority: Minor
 Fix For: 2.1.5, 2.2.1, 3.0


 I tried to deploy an web application which uses Apache Directory Server for 
 user authentication.
 So I created a realm file as follows and add a reference to this realm file 
 in deploy plan
 module xmlns=http://geronimo.apache.org/xml/ns/deployment-1.2;
 environment
 moduleId
 groupIdconsole.realm/groupId
 artifactIdtestLDAP/artifactId
 version1.0/version
 typecar/type
 /moduleId
 dependencies
 dependency
 groupIdorg.apache.geronimo.framework/groupId
 artifactIdj2ee-security/artifactId
 typecar/type
 /dependency
 /dependencies
 /environment
 gbean name=testLDAP 
 class=org.apache.geronimo.security.realm.GenericSecurityRealm 
 xsi:type=dep:gbeanType 
 xmlns:dep=http://geronimo.apache.org/xml/ns/deployment-1.2; 
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 attribute name=realmNametestLDAP/attribute
 reference name=ServerInfo
 nameServerInfo/name
 /reference
 xml-reference name=LoginModuleConfiguration
 log:login-config 
 xmlns:log=http://geronimo.apache.org/xml/ns/loginconfig-2.0;
 log:login-module control-flag=REQUIRED 
 wrap-principals=false
 log:login-domain-nametestLDAP/log:login-domain-name
 
 log:login-module-classorg.apache.geronimo.security.realm.providers.LDAPLoginModule/log:login-module-class
 log:option 
 name=connectionURLldap://pages.test.com:389/log:option
 log:option 
 name=roleBaseou=members,ou=testgroups,o=test.com/log:option
 log:option 
 name=initialContextFactorycom.sun.jndi.ldap.LdapCtxFactory/log:option
 log:option name=roleNamecn/log:option
 log:option 
 name=roleSearchMatchinguniquemember={0}/log:option
 log:option name=roleSearchSubtreefalse/log:option
 log:option 
 name=userRoleNameuniquemember={0}/log:option
 log:option name=authenticationsimple/log:option
 log:option name=userSearchSubtreetrue/log:option
 log:option 
 name=userBaseou=users,o=test.com/log:option
 log:option 
 name=userSearchMatching(mail={0})/log:option
 /log:login-module
 /log:login-config
 /xml-reference
 /gbean
 /module
 It provides no connectionUsername and password ,because I intend to connect 
 the ldap server anonymously.
 Eache time,I login the web application ,it will try to connect the Apache 
 directory server to authenticate users.
 But a NullPointerException will always occur.
 Caused by: 
 java.lang.NullPointerException
   at java.util.Hashtable.put(Hashtable.java:770)
   at 
 org.apache.geronimo.security.realm.providers.LDAPLoginModule.open(LDAPLoginModule.java:455)
   at 
 org.apache.geronimo.security.realm.providers.LDAPLoginModule.authenticate(LDAPLoginModule.java:267)
   at 
 org.apache.geronimo.security.realm.providers.LDAPLoginModule.login(LDAPLoginModule.java:186)
   ... 28 more

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



[jira] Updated: (GERONIMO-4997) Can not connect to a ldap server in an anonymous way

2010-02-09 Thread Lu Jiang (JIRA)

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

Lu Jiang updated GERONIMO-4997:
---

Attachment: geronimo-security-2.1.4.jar

 Can not connect to a ldap server in an anonymous way
 

 Key: GERONIMO-4997
 URL: https://issues.apache.org/jira/browse/GERONIMO-4997
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: security
Affects Versions: 2.1.4, 2.2
 Environment: OS:Windows XP SP2
 Server: Geronimo 2.2
 JDK:1.6
Reporter: Lu Jiang
Priority: Minor
 Fix For: 2.1.5, 2.2.1, 3.0

 Attachments: geronimo-security-2.1.4.jar


 I tried to deploy an web application which uses Apache Directory Server for 
 user authentication.
 So I created a realm file as follows and add a reference to this realm file 
 in deploy plan
 module xmlns=http://geronimo.apache.org/xml/ns/deployment-1.2;
 environment
 moduleId
 groupIdconsole.realm/groupId
 artifactIdtestLDAP/artifactId
 version1.0/version
 typecar/type
 /moduleId
 dependencies
 dependency
 groupIdorg.apache.geronimo.framework/groupId
 artifactIdj2ee-security/artifactId
 typecar/type
 /dependency
 /dependencies
 /environment
 gbean name=testLDAP 
 class=org.apache.geronimo.security.realm.GenericSecurityRealm 
 xsi:type=dep:gbeanType 
 xmlns:dep=http://geronimo.apache.org/xml/ns/deployment-1.2; 
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 attribute name=realmNametestLDAP/attribute
 reference name=ServerInfo
 nameServerInfo/name
 /reference
 xml-reference name=LoginModuleConfiguration
 log:login-config 
 xmlns:log=http://geronimo.apache.org/xml/ns/loginconfig-2.0;
 log:login-module control-flag=REQUIRED 
 wrap-principals=false
 log:login-domain-nametestLDAP/log:login-domain-name
 
 log:login-module-classorg.apache.geronimo.security.realm.providers.LDAPLoginModule/log:login-module-class
 log:option 
 name=connectionURLldap://pages.test.com:389/log:option
 log:option 
 name=roleBaseou=members,ou=testgroups,o=test.com/log:option
 log:option 
 name=initialContextFactorycom.sun.jndi.ldap.LdapCtxFactory/log:option
 log:option name=roleNamecn/log:option
 log:option 
 name=roleSearchMatchinguniquemember={0}/log:option
 log:option name=roleSearchSubtreefalse/log:option
 log:option 
 name=userRoleNameuniquemember={0}/log:option
 log:option name=authenticationsimple/log:option
 log:option name=userSearchSubtreetrue/log:option
 log:option 
 name=userBaseou=users,o=test.com/log:option
 log:option 
 name=userSearchMatching(mail={0})/log:option
 /log:login-module
 /log:login-config
 /xml-reference
 /gbean
 /module
 It provides no connectionUsername and password ,because I intend to connect 
 the ldap server anonymously.
 Eache time,I login the web application ,it will try to connect the Apache 
 directory server to authenticate users.
 But a NullPointerException will always occur.
 Caused by: 
 java.lang.NullPointerException
   at java.util.Hashtable.put(Hashtable.java:770)
   at 
 org.apache.geronimo.security.realm.providers.LDAPLoginModule.open(LDAPLoginModule.java:455)
   at 
 org.apache.geronimo.security.realm.providers.LDAPLoginModule.authenticate(LDAPLoginModule.java:267)
   at 
 org.apache.geronimo.security.realm.providers.LDAPLoginModule.login(LDAPLoginModule.java:186)
   ... 28 more

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



[jira] Created: (GERONIMO-5136) Enable testing a ldap realm file even when it's deployed.

2010-02-08 Thread Lu Jiang (JIRA)
Enable testing a ldap realm file even when it's deployed.
-

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


Refer to :
https://issues.apache.org/jira/browse/GERONIMO-4643

Bob mentioned in the description that it would be useful if we can use the test 
login module on console  to verify whether this security realm works even after 
the realm is deployed.
But now we can only see the test login module on console before this security 
realm file is deployed.
It would be convenient for test and diagnosing problems if such feature is 
added.

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



[jira] Created: (GERONIMO-5123) Creating Geronimo Plugin is not supported

2010-02-04 Thread Lu Jiang (JIRA)
 Creating Geronimo Plugin is not supported
--

 Key: GERONIMO-5123
 URL: https://issues.apache.org/jira/browse/GERONIMO-5123
 Project: Geronimo
  Issue Type: Bug
  Security Level: public (Regular issues)
  Components: Plugins
Affects Versions: 2.1.5
 Environment: OS: Windows 7 Architecturex86
Geronimo :2.1.5-SNAPSHOT  Build 2010.02.01
Reporter: Lu Jiang


1.start geronimo
2. in admin console, click application - plugin
3.in Create Geronimo Plugin portlet, it's expected to list all available 
modules ,thus you can hoose a configuration in the current Geronimo server and 
click Export Plugin  to create plugin.
  but currently,nothing is listed in the box for you to choose.

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



[jira] Created: (GERONIMO-5124) No actions for JMS Resouces

2010-02-04 Thread Lu Jiang (JIRA)
No actions for JMS Resouces
---

 Key: GERONIMO-5124
 URL: https://issues.apache.org/jira/browse/GERONIMO-5124
 Project: Geronimo
  Issue Type: Bug
  Security Level: public (Regular issues)
  Components: console
Affects Versions: 2.1.5
 Environment: OS:windows 7 x86
Geronimo:2.1.1.5-SNAPSHOT 
Reporter: Lu Jiang


Click Console Navigation-Services-JMS Resources,then you will find all  
available JMS Resource Groups
It's expected to privide actions for each JMS Resource like Browse,Send ,Purge..
But currently no links for the these operations are provided under column 
Actions.

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



[jira] Created: (GERONIMO-5125) Enable connecting to a ldap server anonymously on console

2010-02-04 Thread Lu Jiang (JIRA)
Enable connecting to a ldap server anonymously on console
-

 Key: GERONIMO-5125
 URL: https://issues.apache.org/jira/browse/GERONIMO-5125
 Project: Geronimo
  Issue Type: Bug
  Security Level: public (Regular issues)
  Components: console
Affects Versions: 2.2
 Environment: OS:windows 7
Geronimo:2.1.5-SNAPSHOT
Reporter: Lu Jiang


After resorving GERONIMO-4997 
,https://issues.apache.org/jira/browse/GERONIMO-4997 ,Connecting to a ldap 
server anonymous is actually supported.
But we can not generate a security realm file on console wizard if we try to 
connect the ldap server anonymously
Steps to reproduce:
1. click Security-Security Realms-Add new security realm
2.Enter a unique name for the relam file and choose LDAP Realm,click next.
3.input all useful information like connectionURL,userBase,etc..according to 
your ldap server configuration.but Leave the input box for Connect Username and 
Connect password blank,then click next.
An waring box will occur saying:option-ConnectionUsername must not be empty.And 
I cann't generate a realm file successfully if no user name and password is 
provided.

I think since we can connect to it in an anonymous way.It's not a must to 
provide user name and password on console.It would be  better to  provide a way 
to enable this :)

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



[jira] Created: (GERONIMO-4997) Can not connect to a ldap server in an anonymous way

2009-12-23 Thread Lu Jiang (JIRA)
Can not connect to a ldap server in an anonymous way


 Key: GERONIMO-4997
 URL: https://issues.apache.org/jira/browse/GERONIMO-4997
 Project: Geronimo
  Issue Type: Bug
  Security Level: public (Regular issues)
  Components: security
Affects Versions: 2.1.4, 2.2
 Environment: OS:Windows XP SP2
Server: Geronimo 2.2
JDK:1.6
Reporter: Lu Jiang
Priority: Minor


I tried to deploy an web application which uses Apache Directory Server for 
user authentication.
So I created a realm file as follows and add a reference to this realm file in 
deploy plan

module xmlns=http://geronimo.apache.org/xml/ns/deployment-1.2;
environment
moduleId
groupIdconsole.realm/groupId
artifactIdtestLDAP/artifactId
version1.0/version
typecar/type
/moduleId
dependencies
dependency
groupIdorg.apache.geronimo.framework/groupId
artifactIdj2ee-security/artifactId
typecar/type
/dependency
/dependencies
/environment
gbean name=testLDAP 
class=org.apache.geronimo.security.realm.GenericSecurityRealm 
xsi:type=dep:gbeanType 
xmlns:dep=http://geronimo.apache.org/xml/ns/deployment-1.2; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
attribute name=realmNametestLDAP/attribute
reference name=ServerInfo
nameServerInfo/name
/reference
xml-reference name=LoginModuleConfiguration
log:login-config 
xmlns:log=http://geronimo.apache.org/xml/ns/loginconfig-2.0;
log:login-module control-flag=REQUIRED 
wrap-principals=false
log:login-domain-nametestLDAP/log:login-domain-name

log:login-module-classorg.apache.geronimo.security.realm.providers.LDAPLoginModule/log:login-module-class
log:option 
name=connectionURLldap://pages.test.com:389/log:option
log:option 
name=roleBaseou=members,ou=testgroups,o=test.com/log:option
log:option 
name=initialContextFactorycom.sun.jndi.ldap.LdapCtxFactory/log:option
log:option name=roleNamecn/log:option
log:option 
name=roleSearchMatchinguniquemember={0}/log:option
log:option name=roleSearchSubtreefalse/log:option
log:option 
name=userRoleNameuniquemember={0}/log:option
log:option name=authenticationsimple/log:option
log:option name=userSearchSubtreetrue/log:option
log:option name=userBaseou=users,o=test.com/log:option
log:option 
name=userSearchMatching(mail={0})/log:option
/log:login-module
/log:login-config
/xml-reference
/gbean
/module

It provides no connectionUsername and password ,because I intend to connect the 
ldap server anonymously.
Eache time,I login the web application ,it will try to connect the Apache 
directory server to authenticate users.
But a NullPointerException will always occur.
Caused by: 
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:770)
at 
org.apache.geronimo.security.realm.providers.LDAPLoginModule.open(LDAPLoginModule.java:455)
at 
org.apache.geronimo.security.realm.providers.LDAPLoginModule.authenticate(LDAPLoginModule.java:267)
at 
org.apache.geronimo.security.realm.providers.LDAPLoginModule.login(LDAPLoginModule.java:186)
... 28 more

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



[jira] Created: (GERONIMO-4955) Tomcat Clustering via Uni Cast doesn't work

2009-11-17 Thread Lu Jiang (JIRA)
Tomcat Clustering via Uni Cast doesn't work
---

 Key: GERONIMO-4955
 URL: https://issues.apache.org/jira/browse/GERONIMO-4955
 Project: Geronimo
  Issue Type: Bug
  Security Level: public (Regular issues)
  Components: Clustering
Affects Versions: 2.1.4, 2.2
 Environment: Server 1: 
OS:Windows Vistaamd64  6.0 build 6001 Service Pack 1  
Geronimo:  2.2-SNAPSHOT Build   2009.09.28-12:26:20.913+0800
JVM: JDK 6 
Server 2:
OS: Windows Server 2008 amd64  Version  6.0 build 6002 Service Pack 2
Geronimo:2.2-SNAPSHOT2009.09.28-12:26:20.913+0800
JVM:JDK 6
Reporter: Lu Jiang


Below is a senario:
1.Install geronimo 2.2 on two machines,namely  
9.186.10.60(NODE02),9.186.10.89(NODE03).

2.Configure Apache http server.
 (1)add mod_jk.so to ApacheHttpServer_HOME/modules.
 (2)add or modify workers.properties under ApacheHttpServer_HOME/conf like
worker.list=loadbalancer,status
worker.maintain=60

worker.NODE02.port=8009
worker.NODE02.host=9.186.10.60
worker.NODE02.type=ajp13
worker.NODE02.lbfactor=1

worker.NODE03.port=8009
worker.NODE03.host=9.186.10.89
worker.NODE03.type=ajp13
worker.NODE03.lbfactor=1

worker.loadbalancer.type=lb
worker.loadbalancer.balance_workers=NODE02,NODE03
worker.loadbalancer.sticky_session=1
worker.status.type=status
 (3)add information below to  ApacheHttpServer_HOME/conf/[

 LoadModule jk_module modules/mod_jk.so 
# Loads the Jakarta Tomcat Connector module

JkWorkersFile conf/workers.properties
# Tells the module the location of the workers.properties file

JkLogFile logs/mod_jk.log
# Specifies the location for this module's specific log file

JkLogLeveldebug
# Sets the module's log level to info

JkMount /* loadbalancer
# Sets a mount point from a context to a Tomcat worker. In this case will allow 
access (forward the request) to the console.

3.
For NODE02:

  (1)Modify GERONIMO_HOME/var/config/config-substitutions.properties
 ClusterNodeName=NODE02
  (2)Modify GERONIMO_HOME/var/catalina/server.xml.
Engine name=Catalina defaultHost=${ServerHostname} jvmRoute=NODE02  


   For NODE03:
  (1)Modify GERONIMO_HOME/var/config/config-substitutions.properties
 ClusterNodeName=NODE03
  (2)Modify GERONIMO_HOME/var/config/config.xml.
Engine name=Catalina defaultHost=${ServerHostname} jvmRoute=NODE02  


 
3.
I tried two ways to enable unicast clustering..One is to enable it in 
config.xml and the other is to enable it in the deploy plan.

(Deploy the ream.xml first cause we have security realm configuration in the 
application )

The first way:(enable it in config.xml)
On the two server,separately add GBean information undermodule 
name=org.apache.geronimo.configs/tomcat6/2.2-SNAPSHOT/car 
Refer to the attachment:excerptFromConfig1.xml and excertFromConfig2.xml
Then deploy the application servlet-examples-cluster-server2.war using Simple 
simple-servlet-examples-cluster-plan2.xml as a deploy plan.
deploy the application servlet-examples-cluster-server3.war using Simple 
simple-servlet-examples-cluster-plan3.xml as a deploy plan.

The second way:(enable it in deploy plan)
Without modification to config.xml,deploy the application directly.
deploy the application servlet-examples-cluster-server2.war using Simple 
servlet-examples-cluster-plan2.xml as a deploy plan.
deploy the application servlet-examples-cluster-server3.war using Simple 
servlet-examples-cluster-plan3.xml as a deploy plan.


Expected:
Session will be replicated .When node 02 fails,the node 03 will be the back 
up.and vice versa.

But currently both way don't work, when node2 fails ,session is not replicated 
to node03

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



[jira] Updated: (GERONIMO-4955) Tomcat Clustering via Uni Cast doesn't work

2009-11-17 Thread Lu Jiang (JIRA)

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

Lu Jiang updated GERONIMO-4955:
---

Attachment: servlet-examples-cluster-server3.war
servlet-examples-cluster-server2.war
realm.xml

Deploy The realm.xml before deploy the servlet cluster example application.


 Tomcat Clustering via Uni Cast doesn't work
 ---

 Key: GERONIMO-4955
 URL: https://issues.apache.org/jira/browse/GERONIMO-4955
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: Clustering
Affects Versions: 2.1.4, 2.2
 Environment: Server 1:
 OS:Windows Vista  amd64  6.0 build 6001 Service Pack 1  
 Geronimo:  2.2-SNAPSHOT Build 2009.09.28-12:26:20.913+0800
 JVM: JDK 6 
 Server 2:
 OS:   Windows Server 2008 amd64  Version  6.0 build 6002 Service Pack 2
 Geronimo:2.2-SNAPSHOT2009.09.28-12:26:20.913+0800
 JVM:JDK 6
Reporter: Lu Jiang
 Attachments: realm.xml, servlet-examples-cluster-server2.war, 
 servlet-examples-cluster-server3.war


 Below is a senario:
 1.Install geronimo 2.2 on two machines,namely  
 9.186.10.60(NODE02),9.186.10.89(NODE03).
 2.Configure Apache http server.
  (1)add mod_jk.so to ApacheHttpServer_HOME/modules.
  (2)add or modify workers.properties under ApacheHttpServer_HOME/conf like
 worker.list=loadbalancer,status
 worker.maintain=60
 worker.NODE02.port=8009
 worker.NODE02.host=9.186.10.60
 worker.NODE02.type=ajp13
 worker.NODE02.lbfactor=1
 worker.NODE03.port=8009
 worker.NODE03.host=9.186.10.89
 worker.NODE03.type=ajp13
 worker.NODE03.lbfactor=1
 worker.loadbalancer.type=lb
 worker.loadbalancer.balance_workers=NODE02,NODE03
 worker.loadbalancer.sticky_session=1
 worker.status.type=status
  (3)add information below to  ApacheHttpServer_HOME/conf/[
  LoadModule jk_module modules/mod_jk.so   
 # Loads the Jakarta Tomcat Connector module
 JkWorkersFile conf/workers.properties
 # Tells the module the location of the workers.properties file
 JkLogFile logs/mod_jk.log
 # Specifies the location for this module's specific log file
 JkLogLeveldebug
 # Sets the module's log level to info
 JkMount /* loadbalancer
 # Sets a mount point from a context to a Tomcat worker. In this case will 
 allow access (forward the request) to the console.
 3.
 For NODE02:
   (1)Modify GERONIMO_HOME/var/config/config-substitutions.properties
  ClusterNodeName=NODE02
   (2)Modify GERONIMO_HOME/var/catalina/server.xml.
 Engine name=Catalina defaultHost=${ServerHostname} jvmRoute=NODE02  
 
For NODE03:
   (1)Modify GERONIMO_HOME/var/config/config-substitutions.properties
  ClusterNodeName=NODE03
   (2)Modify GERONIMO_HOME/var/config/config.xml.
 Engine name=Catalina defaultHost=${ServerHostname} jvmRoute=NODE02  
  
 3.
 I tried two ways to enable unicast clustering..One is to enable it in 
 config.xml and the other is to enable it in the deploy plan.
 (Deploy the ream.xml first cause we have security realm configuration in the 
 application )
 The first way:(enable it in config.xml)
 On the two server,separately add GBean information undermodule 
 name=org.apache.geronimo.configs/tomcat6/2.2-SNAPSHOT/car 
 Refer to the attachment:excerptFromConfig1.xml and excertFromConfig2.xml
 Then deploy the application servlet-examples-cluster-server2.war using Simple 
 simple-servlet-examples-cluster-plan2.xml as a deploy plan.
 deploy the application servlet-examples-cluster-server3.war using Simple 
 simple-servlet-examples-cluster-plan3.xml as a deploy plan.
 The second way:(enable it in deploy plan)
 Without modification to config.xml,deploy the application directly.
 deploy the application servlet-examples-cluster-server2.war using Simple 
 servlet-examples-cluster-plan2.xml as a deploy plan.
 deploy the application servlet-examples-cluster-server3.war using Simple 
 servlet-examples-cluster-plan3.xml as a deploy plan.
 Expected:
 Session will be replicated .When node 02 fails,the node 03 will be the back 
 up.and vice versa.
 But currently both way don't work, when node2 fails ,session is not 
 replicated to node03

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



[jira] Updated: (GERONIMO-4955) Tomcat Clustering via Uni Cast doesn't work

2009-11-17 Thread Lu Jiang (JIRA)

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

Lu Jiang updated GERONIMO-4955:
---

Comment: was deleted

(was: Deploy The realm.xml before deploy the servlet cluster example 
application.
)

 Tomcat Clustering via Uni Cast doesn't work
 ---

 Key: GERONIMO-4955
 URL: https://issues.apache.org/jira/browse/GERONIMO-4955
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: Clustering
Affects Versions: 2.1.4, 2.2
 Environment: Server 1:
 OS:Windows Vista  amd64  6.0 build 6001 Service Pack 1  
 Geronimo:  2.2-SNAPSHOT Build 2009.09.28-12:26:20.913+0800
 JVM: JDK 6 
 Server 2:
 OS:   Windows Server 2008 amd64  Version  6.0 build 6002 Service Pack 2
 Geronimo:2.2-SNAPSHOT2009.09.28-12:26:20.913+0800
 JVM:JDK 6
Reporter: Lu Jiang
 Attachments: realm.xml, servlet-examples-cluster-server2.war, 
 servlet-examples-cluster-server3.war


 Below is a senario:
 1.Install geronimo 2.2 on two machines,namely  
 9.186.10.60(NODE02),9.186.10.89(NODE03).
 2.Configure Apache http server.
  (1)add mod_jk.so to ApacheHttpServer_HOME/modules.
  (2)add or modify workers.properties under ApacheHttpServer_HOME/conf like
 worker.list=loadbalancer,status
 worker.maintain=60
 worker.NODE02.port=8009
 worker.NODE02.host=9.186.10.60
 worker.NODE02.type=ajp13
 worker.NODE02.lbfactor=1
 worker.NODE03.port=8009
 worker.NODE03.host=9.186.10.89
 worker.NODE03.type=ajp13
 worker.NODE03.lbfactor=1
 worker.loadbalancer.type=lb
 worker.loadbalancer.balance_workers=NODE02,NODE03
 worker.loadbalancer.sticky_session=1
 worker.status.type=status
  (3)add information below to  ApacheHttpServer_HOME/conf/[
  LoadModule jk_module modules/mod_jk.so   
 # Loads the Jakarta Tomcat Connector module
 JkWorkersFile conf/workers.properties
 # Tells the module the location of the workers.properties file
 JkLogFile logs/mod_jk.log
 # Specifies the location for this module's specific log file
 JkLogLeveldebug
 # Sets the module's log level to info
 JkMount /* loadbalancer
 # Sets a mount point from a context to a Tomcat worker. In this case will 
 allow access (forward the request) to the console.
 3.
 For NODE02:
   (1)Modify GERONIMO_HOME/var/config/config-substitutions.properties
  ClusterNodeName=NODE02
   (2)Modify GERONIMO_HOME/var/catalina/server.xml.
 Engine name=Catalina defaultHost=${ServerHostname} jvmRoute=NODE02  
 
For NODE03:
   (1)Modify GERONIMO_HOME/var/config/config-substitutions.properties
  ClusterNodeName=NODE03
   (2)Modify GERONIMO_HOME/var/config/config.xml.
 Engine name=Catalina defaultHost=${ServerHostname} jvmRoute=NODE02  
  
 3.
 I tried two ways to enable unicast clustering..One is to enable it in 
 config.xml and the other is to enable it in the deploy plan.
 (Deploy the ream.xml first cause we have security realm configuration in the 
 application )
 The first way:(enable it in config.xml)
 On the two server,separately add GBean information undermodule 
 name=org.apache.geronimo.configs/tomcat6/2.2-SNAPSHOT/car 
 Refer to the attachment:excerptFromConfig1.xml and excertFromConfig2.xml
 Then deploy the application servlet-examples-cluster-server2.war using Simple 
 simple-servlet-examples-cluster-plan2.xml as a deploy plan.
 deploy the application servlet-examples-cluster-server3.war using Simple 
 simple-servlet-examples-cluster-plan3.xml as a deploy plan.
 The second way:(enable it in deploy plan)
 Without modification to config.xml,deploy the application directly.
 deploy the application servlet-examples-cluster-server2.war using Simple 
 servlet-examples-cluster-plan2.xml as a deploy plan.
 deploy the application servlet-examples-cluster-server3.war using Simple 
 servlet-examples-cluster-plan3.xml as a deploy plan.
 Expected:
 Session will be replicated .When node 02 fails,the node 03 will be the back 
 up.and vice versa.
 But currently both way don't work, when node2 fails ,session is not 
 replicated to node03

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



[jira] Updated: (GERONIMO-4955) Tomcat Clustering via Uni Cast doesn't work

2009-11-17 Thread Lu Jiang (JIRA)

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

Lu Jiang updated GERONIMO-4955:
---

Description: 
Below is a senario:
1.Install geronimo 2.2 on two machines,namely  
9.186.10.60(NODE02),9.186.10.89(NODE03).

2.Configure Apache http server.
 (1)add mod_jk.so to ApacheHttpServer_HOME/modules.
 (2)add or modify workers.properties under ApacheHttpServer_HOME/conf like
worker.list=loadbalancer,status
worker.maintain=60

worker.NODE02.port=8009
worker.NODE02.host=9.186.10.60
worker.NODE02.type=ajp13
worker.NODE02.lbfactor=1

worker.NODE03.port=8009
worker.NODE03.host=9.186.10.89
worker.NODE03.type=ajp13
worker.NODE03.lbfactor=1

worker.loadbalancer.type=lb
worker.loadbalancer.balance_workers=NODE02,NODE03
worker.loadbalancer.sticky_session=1
worker.status.type=status
 (3)add information below to  ApacheHttpServer_HOME/conf/

 LoadModule jk_module modules/mod_jk.so 

JkWorkersFile conf/workers.properties

JkLogFile logs/mod_jk.log

JkLogLeveldebug

JkMount /* loadbalancer


3.
For NODE02:

  (1)Modify GERONIMO_HOME/var/config/config-substitutions.properties
 ClusterNodeName=NODE02
  (2)Modify GERONIMO_HOME/var/catalina/server.xml.
Engine name=Catalina defaultHost=${ServerHostname} jvmRoute=NODE02  


   For NODE03:
  (1)Modify GERONIMO_HOME/var/config/config-substitutions.properties
 ClusterNodeName=NODE03
  (2)Modify GERONIMO_HOME/var/config/config.xml.
Engine name=Catalina defaultHost=${ServerHostname} jvmRoute=NODE03  


 
3.
I tried two ways to enable unicast clustering..One is to enable it in 
config.xml and the other is to enable it in the deploy plan.

(Deploy the ream.xml first cause we have security realm configuration in the 
application )

The first way:(enable it in config.xml)
On the two server,separately add GBean information undermodule 
name=org.apache.geronimo.configs/tomcat6/2.2-SNAPSHOT/car 
Refer to the attachment:node02ExcerptFromConfig.xml and 
node03ExcertFromConfig.xml
Then deploy the application servlet-examples-cluster-server2.war using Simple 
simple-servlet-examples-cluster-plan2.xml as a deploy plan.
deploy the application servlet-examples-cluster-server3.war using Simple 
simple-servlet-examples-cluster-plan3.xml as a deploy plan.

The second way:(enable it in deploy plan)
Without modification to config.xml,deploy the application directly.
deploy the application servlet-examples-cluster-server2.war using 
servlet-examples-cluster-plan2.xml as a deploy plan.
deploy the application servlet-examples-cluster-server3.war using  
servlet-examples-cluster-plan3.xml as a deploy plan.


Expected:
Session will be replicated .When node 02 fails,the node 03 will be the back 
up.and vice versa.

But currently both way don't work, when node2 fails ,session is not replicated 
to node03

  was:
Below is a senario:
1.Install geronimo 2.2 on two machines,namely  
9.186.10.60(NODE02),9.186.10.89(NODE03).

2.Configure Apache http server.
 (1)add mod_jk.so to ApacheHttpServer_HOME/modules.
 (2)add or modify workers.properties under ApacheHttpServer_HOME/conf like
worker.list=loadbalancer,status
worker.maintain=60

worker.NODE02.port=8009
worker.NODE02.host=9.186.10.60
worker.NODE02.type=ajp13
worker.NODE02.lbfactor=1

worker.NODE03.port=8009
worker.NODE03.host=9.186.10.89
worker.NODE03.type=ajp13
worker.NODE03.lbfactor=1

worker.loadbalancer.type=lb
worker.loadbalancer.balance_workers=NODE02,NODE03
worker.loadbalancer.sticky_session=1
worker.status.type=status
 (3)add information below to  ApacheHttpServer_HOME/conf/[

 LoadModule jk_module modules/mod_jk.so 
# Loads the Jakarta Tomcat Connector module

JkWorkersFile conf/workers.properties
# Tells the module the location of the workers.properties file

JkLogFile logs/mod_jk.log
# Specifies the location for this module's specific log file

JkLogLeveldebug
# Sets the module's log level to info

JkMount /* loadbalancer
# Sets a mount point from a context to a Tomcat worker. In this case will allow 
access (forward the request) to the console.

3.
For NODE02:

  (1)Modify GERONIMO_HOME/var/config/config-substitutions.properties
 ClusterNodeName=NODE02
  (2)Modify GERONIMO_HOME/var/catalina/server.xml.
Engine name=Catalina defaultHost=${ServerHostname} jvmRoute=NODE02  


   For NODE03:
  (1)Modify GERONIMO_HOME/var/config/config-substitutions.properties
 ClusterNodeName=NODE03
  (2)Modify GERONIMO_HOME/var/config/config.xml.
Engine name=Catalina defaultHost=${ServerHostname} jvmRoute=NODE02  


 
3.
I tried two ways to enable unicast clustering..One is to enable it in 
config.xml and the other is to enable it in the deploy plan.

(Deploy the ream.xml first cause we have security realm configuration in the 
application )

The first way:(enable it in config.xml)
On the two server,separately add GBean information undermodule 
name=org.apache.geronimo.configs/tomcat6/2.2-SNAPSHOT/car 

[jira] Updated: (GERONIMO-4955) Tomcat Clustering via Uni Cast doesn't work

2009-11-17 Thread Lu Jiang (JIRA)

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

Lu Jiang updated GERONIMO-4955:
---

Attachment: simple-servlet-examples-cluster-plan2.xml
node03ExcerptFromConfig.xml.txt
node02ExcerptFromConfig.xml.txt

 Tomcat Clustering via Uni Cast doesn't work
 ---

 Key: GERONIMO-4955
 URL: https://issues.apache.org/jira/browse/GERONIMO-4955
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: Clustering
Affects Versions: 2.1.4, 2.2
 Environment: Server 1:
 OS:Windows Vista  amd64  6.0 build 6001 Service Pack 1  
 Geronimo:  2.2-SNAPSHOT Build 2009.09.28-12:26:20.913+0800
 JVM: JDK 6 
 Server 2:
 OS:   Windows Server 2008 amd64  Version  6.0 build 6002 Service Pack 2
 Geronimo:2.2-SNAPSHOT2009.09.28-12:26:20.913+0800
 JVM:JDK 6
Reporter: Lu Jiang
 Attachments: node02ExcerptFromConfig.xml.txt, 
 node03ExcerptFromConfig.xml.txt, realm.xml, 
 servlet-examples-cluster-server2.war, servlet-examples-cluster-server3.war, 
 simple-servlet-examples-cluster-plan2.xml


 Below is a senario:
 1.Install geronimo 2.2 on two machines,namely  
 9.186.10.60(NODE02),9.186.10.89(NODE03).
 2.Configure Apache http server.
  (1)add mod_jk.so to ApacheHttpServer_HOME/modules.
  (2)add or modify workers.properties under ApacheHttpServer_HOME/conf like
 worker.list=loadbalancer,status
 worker.maintain=60
 worker.NODE02.port=8009
 worker.NODE02.host=9.186.10.60
 worker.NODE02.type=ajp13
 worker.NODE02.lbfactor=1
 worker.NODE03.port=8009
 worker.NODE03.host=9.186.10.89
 worker.NODE03.type=ajp13
 worker.NODE03.lbfactor=1
 worker.loadbalancer.type=lb
 worker.loadbalancer.balance_workers=NODE02,NODE03
 worker.loadbalancer.sticky_session=1
 worker.status.type=status
  (3)add information below to  ApacheHttpServer_HOME/conf/
  LoadModule jk_module modules/mod_jk.so   
 JkWorkersFile conf/workers.properties
 JkLogFile logs/mod_jk.log
 JkLogLeveldebug
 JkMount /* loadbalancer
 3.
 For NODE02:
   (1)Modify GERONIMO_HOME/var/config/config-substitutions.properties
  ClusterNodeName=NODE02
   (2)Modify GERONIMO_HOME/var/catalina/server.xml.
 Engine name=Catalina defaultHost=${ServerHostname} jvmRoute=NODE02  
 
For NODE03:
   (1)Modify GERONIMO_HOME/var/config/config-substitutions.properties
  ClusterNodeName=NODE03
   (2)Modify GERONIMO_HOME/var/config/config.xml.
 Engine name=Catalina defaultHost=${ServerHostname} jvmRoute=NODE03  
  
 3.
 I tried two ways to enable unicast clustering..One is to enable it in 
 config.xml and the other is to enable it in the deploy plan.
 (Deploy the ream.xml first cause we have security realm configuration in the 
 application )
 The first way:(enable it in config.xml)
 On the two server,separately add GBean information undermodule 
 name=org.apache.geronimo.configs/tomcat6/2.2-SNAPSHOT/car 
 Refer to the attachment:node02ExcerptFromConfig.xml and 
 node03ExcertFromConfig.xml
 Then deploy the application servlet-examples-cluster-server2.war using Simple 
 simple-servlet-examples-cluster-plan2.xml as a deploy plan.
 deploy the application servlet-examples-cluster-server3.war using Simple 
 simple-servlet-examples-cluster-plan3.xml as a deploy plan.
 The second way:(enable it in deploy plan)
 Without modification to config.xml,deploy the application directly.
 deploy the application servlet-examples-cluster-server2.war using 
 servlet-examples-cluster-plan2.xml as a deploy plan.
 deploy the application servlet-examples-cluster-server3.war using  
 servlet-examples-cluster-plan3.xml as a deploy plan.
 Expected:
 Session will be replicated .When node 02 fails,the node 03 will be the back 
 up.and vice versa.
 But currently both way don't work, when node2 fails ,session is not 
 replicated to node03

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



[jira] Updated: (GERONIMO-4955) Tomcat Clustering via Uni Cast doesn't work

2009-11-17 Thread Lu Jiang (JIRA)

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

Lu Jiang updated GERONIMO-4955:
---

Attachment: servlet-examples-cluster-plan3.xml
servlet-examples-cluster-plan2.xml

 Tomcat Clustering via Uni Cast doesn't work
 ---

 Key: GERONIMO-4955
 URL: https://issues.apache.org/jira/browse/GERONIMO-4955
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: Clustering
Affects Versions: 2.1.4, 2.2
 Environment: Server 1:
 OS:Windows Vista  amd64  6.0 build 6001 Service Pack 1  
 Geronimo:  2.2-SNAPSHOT Build 2009.09.28-12:26:20.913+0800
 JVM: JDK 6 
 Server 2:
 OS:   Windows Server 2008 amd64  Version  6.0 build 6002 Service Pack 2
 Geronimo:2.2-SNAPSHOT2009.09.28-12:26:20.913+0800
 JVM:JDK 6
Reporter: Lu Jiang
 Attachments: node02ExcerptFromConfig.xml.txt, 
 node03ExcerptFromConfig.xml.txt, realm.xml, 
 servlet-examples-cluster-plan2.xml, servlet-examples-cluster-plan3.xml, 
 servlet-examples-cluster-server2.war, servlet-examples-cluster-server3.war, 
 simple-servlet-examples-cluster-plan2.xml


 Below is a senario:
 1.Install geronimo 2.2 on two machines,namely  
 9.186.10.60(NODE02),9.186.10.89(NODE03).
 2.Configure Apache http server.
  (1)add mod_jk.so to ApacheHttpServer_HOME/modules.
  (2)add or modify workers.properties under ApacheHttpServer_HOME/conf like
 worker.list=loadbalancer,status
 worker.maintain=60
 worker.NODE02.port=8009
 worker.NODE02.host=9.186.10.60
 worker.NODE02.type=ajp13
 worker.NODE02.lbfactor=1
 worker.NODE03.port=8009
 worker.NODE03.host=9.186.10.89
 worker.NODE03.type=ajp13
 worker.NODE03.lbfactor=1
 worker.loadbalancer.type=lb
 worker.loadbalancer.balance_workers=NODE02,NODE03
 worker.loadbalancer.sticky_session=1
 worker.status.type=status
  (3)add information below to  ApacheHttpServer_HOME/conf/
  LoadModule jk_module modules/mod_jk.so   
 JkWorkersFile conf/workers.properties
 JkLogFile logs/mod_jk.log
 JkLogLeveldebug
 JkMount /* loadbalancer
 3.
 For NODE02:
   (1)Modify GERONIMO_HOME/var/config/config-substitutions.properties
  ClusterNodeName=NODE02
   (2)Modify GERONIMO_HOME/var/catalina/server.xml.
 Engine name=Catalina defaultHost=${ServerHostname} jvmRoute=NODE02  
 
For NODE03:
   (1)Modify GERONIMO_HOME/var/config/config-substitutions.properties
  ClusterNodeName=NODE03
   (2)Modify GERONIMO_HOME/var/config/config.xml.
 Engine name=Catalina defaultHost=${ServerHostname} jvmRoute=NODE03  
  
 3.
 I tried two ways to enable unicast clustering..One is to enable it in 
 config.xml and the other is to enable it in the deploy plan.
 (Deploy the ream.xml first cause we have security realm configuration in the 
 application )
 The first way:(enable it in config.xml)
 On the two server,separately add GBean information undermodule 
 name=org.apache.geronimo.configs/tomcat6/2.2-SNAPSHOT/car 
 Refer to the attachment:node02ExcerptFromConfig.xml and 
 node03ExcertFromConfig.xml
 Then deploy the application servlet-examples-cluster-server2.war using Simple 
 simple-servlet-examples-cluster-plan2.xml as a deploy plan.
 deploy the application servlet-examples-cluster-server3.war using Simple 
 simple-servlet-examples-cluster-plan3.xml as a deploy plan.
 The second way:(enable it in deploy plan)
 Without modification to config.xml,deploy the application directly.
 deploy the application servlet-examples-cluster-server2.war using 
 servlet-examples-cluster-plan2.xml as a deploy plan.
 deploy the application servlet-examples-cluster-server3.war using  
 servlet-examples-cluster-plan3.xml as a deploy plan.
 Expected:
 Session will be replicated .When node 02 fails,the node 03 will be the back 
 up.and vice versa.
 But currently both way don't work, when node2 fails ,session is not 
 replicated to node03

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



[jira] Updated: (GERONIMO-4955) Tomcat Clustering via Uni Cast doesn't work

2009-11-17 Thread Lu Jiang (JIRA)

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

Lu Jiang updated GERONIMO-4955:
---

Attachment: servlet-examples-cluster-plan3.xml

 Tomcat Clustering via Uni Cast doesn't work
 ---

 Key: GERONIMO-4955
 URL: https://issues.apache.org/jira/browse/GERONIMO-4955
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: Clustering
Affects Versions: 2.1.4, 2.2
 Environment: Server 1:
 OS:Windows Vista  amd64  6.0 build 6001 Service Pack 1  
 Geronimo:  2.2-SNAPSHOT Build 2009.09.28-12:26:20.913+0800
 JVM: JDK 6 
 Server 2:
 OS:   Windows Server 2008 amd64  Version  6.0 build 6002 Service Pack 2
 Geronimo:2.2-SNAPSHOT2009.09.28-12:26:20.913+0800
 JVM:JDK 6
Reporter: Lu Jiang
 Attachments: node02ExcerptFromConfig.xml.txt, 
 node03ExcerptFromConfig.xml.txt, realm.xml, 
 servlet-examples-cluster-plan2.xml, servlet-examples-cluster-plan3.xml, 
 servlet-examples-cluster-plan3.xml, servlet-examples-cluster-server2.war, 
 servlet-examples-cluster-server3.war, 
 simple-servlet-examples-cluster-plan2.xml


 Below is a senario:
 1.Install geronimo 2.2 on two machines,namely  
 9.186.10.60(NODE02),9.186.10.89(NODE03).
 2.Configure Apache http server.
  (1)add mod_jk.so to ApacheHttpServer_HOME/modules.
  (2)add or modify workers.properties under ApacheHttpServer_HOME/conf like
 worker.list=loadbalancer,status
 worker.maintain=60
 worker.NODE02.port=8009
 worker.NODE02.host=9.186.10.60
 worker.NODE02.type=ajp13
 worker.NODE02.lbfactor=1
 worker.NODE03.port=8009
 worker.NODE03.host=9.186.10.89
 worker.NODE03.type=ajp13
 worker.NODE03.lbfactor=1
 worker.loadbalancer.type=lb
 worker.loadbalancer.balance_workers=NODE02,NODE03
 worker.loadbalancer.sticky_session=1
 worker.status.type=status
  (3)add information below to  ApacheHttpServer_HOME/conf/
  LoadModule jk_module modules/mod_jk.so   
 JkWorkersFile conf/workers.properties
 JkLogFile logs/mod_jk.log
 JkLogLeveldebug
 JkMount /* loadbalancer
 3.
 For NODE02:
   (1)Modify GERONIMO_HOME/var/config/config-substitutions.properties
  ClusterNodeName=NODE02
   (2)Modify GERONIMO_HOME/var/catalina/server.xml.
 Engine name=Catalina defaultHost=${ServerHostname} jvmRoute=NODE02  
 
For NODE03:
   (1)Modify GERONIMO_HOME/var/config/config-substitutions.properties
  ClusterNodeName=NODE03
   (2)Modify GERONIMO_HOME/var/config/config.xml.
 Engine name=Catalina defaultHost=${ServerHostname} jvmRoute=NODE03  
  
 3.
 I tried two ways to enable unicast clustering..One is to enable it in 
 config.xml and the other is to enable it in the deploy plan.
 (Deploy the ream.xml first cause we have security realm configuration in the 
 application )
 The first way:(enable it in config.xml)
 On the two server,separately add GBean information undermodule 
 name=org.apache.geronimo.configs/tomcat6/2.2-SNAPSHOT/car 
 Refer to the attachment:node02ExcerptFromConfig.xml and 
 node03ExcertFromConfig.xml
 Then deploy the application servlet-examples-cluster-server2.war using Simple 
 simple-servlet-examples-cluster-plan2.xml as a deploy plan.
 deploy the application servlet-examples-cluster-server3.war using Simple 
 simple-servlet-examples-cluster-plan3.xml as a deploy plan.
 The second way:(enable it in deploy plan)
 Without modification to config.xml,deploy the application directly.
 deploy the application servlet-examples-cluster-server2.war using 
 servlet-examples-cluster-plan2.xml as a deploy plan.
 deploy the application servlet-examples-cluster-server3.war using  
 servlet-examples-cluster-plan3.xml as a deploy plan.
 Expected:
 Session will be replicated .When node 02 fails,the node 03 will be the back 
 up.and vice versa.
 But currently both way don't work, when node2 fails ,session is not 
 replicated to node03

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



[jira] Updated: (GERONIMO-4955) Tomcat Clustering via Uni Cast doesn't work

2009-11-17 Thread Lu Jiang (JIRA)

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

Lu Jiang updated GERONIMO-4955:
---

Attachment: (was: servlet-examples-cluster-plan3.xml)

 Tomcat Clustering via Uni Cast doesn't work
 ---

 Key: GERONIMO-4955
 URL: https://issues.apache.org/jira/browse/GERONIMO-4955
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: Clustering
Affects Versions: 2.1.4, 2.2
 Environment: Server 1:
 OS:Windows Vista  amd64  6.0 build 6001 Service Pack 1  
 Geronimo:  2.2-SNAPSHOT Build 2009.09.28-12:26:20.913+0800
 JVM: JDK 6 
 Server 2:
 OS:   Windows Server 2008 amd64  Version  6.0 build 6002 Service Pack 2
 Geronimo:2.2-SNAPSHOT2009.09.28-12:26:20.913+0800
 JVM:JDK 6
Reporter: Lu Jiang
 Attachments: node02ExcerptFromConfig.xml.txt, 
 node03ExcerptFromConfig.xml.txt, realm.xml, 
 servlet-examples-cluster-plan2.xml, servlet-examples-cluster-plan3.xml, 
 servlet-examples-cluster-plan3.xml, servlet-examples-cluster-server2.war, 
 servlet-examples-cluster-server3.war, 
 simple-servlet-examples-cluster-plan2.xml


 Below is a senario:
 1.Install geronimo 2.2 on two machines,namely  
 9.186.10.60(NODE02),9.186.10.89(NODE03).
 2.Configure Apache http server.
  (1)add mod_jk.so to ApacheHttpServer_HOME/modules.
  (2)add or modify workers.properties under ApacheHttpServer_HOME/conf like
 worker.list=loadbalancer,status
 worker.maintain=60
 worker.NODE02.port=8009
 worker.NODE02.host=9.186.10.60
 worker.NODE02.type=ajp13
 worker.NODE02.lbfactor=1
 worker.NODE03.port=8009
 worker.NODE03.host=9.186.10.89
 worker.NODE03.type=ajp13
 worker.NODE03.lbfactor=1
 worker.loadbalancer.type=lb
 worker.loadbalancer.balance_workers=NODE02,NODE03
 worker.loadbalancer.sticky_session=1
 worker.status.type=status
  (3)add information below to  ApacheHttpServer_HOME/conf/
  LoadModule jk_module modules/mod_jk.so   
 JkWorkersFile conf/workers.properties
 JkLogFile logs/mod_jk.log
 JkLogLeveldebug
 JkMount /* loadbalancer
 3.
 For NODE02:
   (1)Modify GERONIMO_HOME/var/config/config-substitutions.properties
  ClusterNodeName=NODE02
   (2)Modify GERONIMO_HOME/var/catalina/server.xml.
 Engine name=Catalina defaultHost=${ServerHostname} jvmRoute=NODE02  
 
For NODE03:
   (1)Modify GERONIMO_HOME/var/config/config-substitutions.properties
  ClusterNodeName=NODE03
   (2)Modify GERONIMO_HOME/var/config/config.xml.
 Engine name=Catalina defaultHost=${ServerHostname} jvmRoute=NODE03  
  
 3.
 I tried two ways to enable unicast clustering..One is to enable it in 
 config.xml and the other is to enable it in the deploy plan.
 (Deploy the ream.xml first cause we have security realm configuration in the 
 application )
 The first way:(enable it in config.xml)
 On the two server,separately add GBean information undermodule 
 name=org.apache.geronimo.configs/tomcat6/2.2-SNAPSHOT/car 
 Refer to the attachment:node02ExcerptFromConfig.xml and 
 node03ExcertFromConfig.xml
 Then deploy the application servlet-examples-cluster-server2.war using Simple 
 simple-servlet-examples-cluster-plan2.xml as a deploy plan.
 deploy the application servlet-examples-cluster-server3.war using Simple 
 simple-servlet-examples-cluster-plan3.xml as a deploy plan.
 The second way:(enable it in deploy plan)
 Without modification to config.xml,deploy the application directly.
 deploy the application servlet-examples-cluster-server2.war using 
 servlet-examples-cluster-plan2.xml as a deploy plan.
 deploy the application servlet-examples-cluster-server3.war using  
 servlet-examples-cluster-plan3.xml as a deploy plan.
 Expected:
 Session will be replicated .When node 02 fails,the node 03 will be the back 
 up.and vice versa.
 But currently both way don't work, when node2 fails ,session is not 
 replicated to node03

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



[jira] Updated: (GERONIMO-4955) Tomcat Clustering via Uni Cast doesn't work

2009-11-17 Thread Lu Jiang (JIRA)

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

Lu Jiang updated GERONIMO-4955:
---

Attachment: (was: servlet-examples-cluster-plan2.xml)

 Tomcat Clustering via Uni Cast doesn't work
 ---

 Key: GERONIMO-4955
 URL: https://issues.apache.org/jira/browse/GERONIMO-4955
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: Clustering
Affects Versions: 2.1.4, 2.2
 Environment: Server 1:
 OS:Windows Vista  amd64  6.0 build 6001 Service Pack 1  
 Geronimo:  2.2-SNAPSHOT Build 2009.09.28-12:26:20.913+0800
 JVM: JDK 6 
 Server 2:
 OS:   Windows Server 2008 amd64  Version  6.0 build 6002 Service Pack 2
 Geronimo:2.2-SNAPSHOT2009.09.28-12:26:20.913+0800
 JVM:JDK 6
Reporter: Lu Jiang
 Attachments: node02ExcerptFromConfig.xml.txt, 
 node03ExcerptFromConfig.xml.txt, realm.xml, 
 servlet-examples-cluster-plan2.xml, servlet-examples-cluster-plan3.xml, 
 servlet-examples-cluster-plan3.xml, servlet-examples-cluster-server2.war, 
 servlet-examples-cluster-server3.war, 
 simple-servlet-examples-cluster-plan2.xml


 Below is a senario:
 1.Install geronimo 2.2 on two machines,namely  
 9.186.10.60(NODE02),9.186.10.89(NODE03).
 2.Configure Apache http server.
  (1)add mod_jk.so to ApacheHttpServer_HOME/modules.
  (2)add or modify workers.properties under ApacheHttpServer_HOME/conf like
 worker.list=loadbalancer,status
 worker.maintain=60
 worker.NODE02.port=8009
 worker.NODE02.host=9.186.10.60
 worker.NODE02.type=ajp13
 worker.NODE02.lbfactor=1
 worker.NODE03.port=8009
 worker.NODE03.host=9.186.10.89
 worker.NODE03.type=ajp13
 worker.NODE03.lbfactor=1
 worker.loadbalancer.type=lb
 worker.loadbalancer.balance_workers=NODE02,NODE03
 worker.loadbalancer.sticky_session=1
 worker.status.type=status
  (3)add information below to  ApacheHttpServer_HOME/conf/
  LoadModule jk_module modules/mod_jk.so   
 JkWorkersFile conf/workers.properties
 JkLogFile logs/mod_jk.log
 JkLogLeveldebug
 JkMount /* loadbalancer
 3.
 For NODE02:
   (1)Modify GERONIMO_HOME/var/config/config-substitutions.properties
  ClusterNodeName=NODE02
   (2)Modify GERONIMO_HOME/var/catalina/server.xml.
 Engine name=Catalina defaultHost=${ServerHostname} jvmRoute=NODE02  
 
For NODE03:
   (1)Modify GERONIMO_HOME/var/config/config-substitutions.properties
  ClusterNodeName=NODE03
   (2)Modify GERONIMO_HOME/var/config/config.xml.
 Engine name=Catalina defaultHost=${ServerHostname} jvmRoute=NODE03  
  
 3.
 I tried two ways to enable unicast clustering..One is to enable it in 
 config.xml and the other is to enable it in the deploy plan.
 (Deploy the ream.xml first cause we have security realm configuration in the 
 application )
 The first way:(enable it in config.xml)
 On the two server,separately add GBean information undermodule 
 name=org.apache.geronimo.configs/tomcat6/2.2-SNAPSHOT/car 
 Refer to the attachment:node02ExcerptFromConfig.xml and 
 node03ExcertFromConfig.xml
 Then deploy the application servlet-examples-cluster-server2.war using Simple 
 simple-servlet-examples-cluster-plan2.xml as a deploy plan.
 deploy the application servlet-examples-cluster-server3.war using Simple 
 simple-servlet-examples-cluster-plan3.xml as a deploy plan.
 The second way:(enable it in deploy plan)
 Without modification to config.xml,deploy the application directly.
 deploy the application servlet-examples-cluster-server2.war using 
 servlet-examples-cluster-plan2.xml as a deploy plan.
 deploy the application servlet-examples-cluster-server3.war using  
 servlet-examples-cluster-plan3.xml as a deploy plan.
 Expected:
 Session will be replicated .When node 02 fails,the node 03 will be the back 
 up.and vice versa.
 But currently both way don't work, when node2 fails ,session is not 
 replicated to node03

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



[jira] Updated: (GERONIMO-4955) Tomcat Clustering via Uni Cast doesn't work

2009-11-17 Thread Lu Jiang (JIRA)

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

Lu Jiang updated GERONIMO-4955:
---

Attachment: (was: servlet-examples-cluster-plan3.xml)

 Tomcat Clustering via Uni Cast doesn't work
 ---

 Key: GERONIMO-4955
 URL: https://issues.apache.org/jira/browse/GERONIMO-4955
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: Clustering
Affects Versions: 2.1.4, 2.2
 Environment: Server 1:
 OS:Windows Vista  amd64  6.0 build 6001 Service Pack 1  
 Geronimo:  2.2-SNAPSHOT Build 2009.09.28-12:26:20.913+0800
 JVM: JDK 6 
 Server 2:
 OS:   Windows Server 2008 amd64  Version  6.0 build 6002 Service Pack 2
 Geronimo:2.2-SNAPSHOT2009.09.28-12:26:20.913+0800
 JVM:JDK 6
Reporter: Lu Jiang
 Attachments: node02ExcerptFromConfig.xml.txt, 
 node03ExcerptFromConfig.xml.txt, realm.xml, 
 servlet-examples-cluster-plan2.xml, servlet-examples-cluster-plan3.xml, 
 servlet-examples-cluster-server2.war, servlet-examples-cluster-server3.war, 
 simple-servlet-examples-cluster-plan2.xml


 Below is a senario:
 1.Install geronimo 2.2 on two machines,namely  
 9.186.10.60(NODE02),9.186.10.89(NODE03).
 2.Configure Apache http server.
  (1)add mod_jk.so to ApacheHttpServer_HOME/modules.
  (2)add or modify workers.properties under ApacheHttpServer_HOME/conf like
 worker.list=loadbalancer,status
 worker.maintain=60
 worker.NODE02.port=8009
 worker.NODE02.host=9.186.10.60
 worker.NODE02.type=ajp13
 worker.NODE02.lbfactor=1
 worker.NODE03.port=8009
 worker.NODE03.host=9.186.10.89
 worker.NODE03.type=ajp13
 worker.NODE03.lbfactor=1
 worker.loadbalancer.type=lb
 worker.loadbalancer.balance_workers=NODE02,NODE03
 worker.loadbalancer.sticky_session=1
 worker.status.type=status
  (3)add information below to  ApacheHttpServer_HOME/conf/
  LoadModule jk_module modules/mod_jk.so   
 JkWorkersFile conf/workers.properties
 JkLogFile logs/mod_jk.log
 JkLogLeveldebug
 JkMount /* loadbalancer
 3.
 For NODE02:
   (1)Modify GERONIMO_HOME/var/config/config-substitutions.properties
  ClusterNodeName=NODE02
   (2)Modify GERONIMO_HOME/var/catalina/server.xml.
 Engine name=Catalina defaultHost=${ServerHostname} jvmRoute=NODE02  
 
For NODE03:
   (1)Modify GERONIMO_HOME/var/config/config-substitutions.properties
  ClusterNodeName=NODE03
   (2)Modify GERONIMO_HOME/var/config/config.xml.
 Engine name=Catalina defaultHost=${ServerHostname} jvmRoute=NODE03  
  
 3.
 I tried two ways to enable unicast clustering..One is to enable it in 
 config.xml and the other is to enable it in the deploy plan.
 (Deploy the ream.xml first cause we have security realm configuration in the 
 application )
 The first way:(enable it in config.xml)
 On the two server,separately add GBean information undermodule 
 name=org.apache.geronimo.configs/tomcat6/2.2-SNAPSHOT/car 
 Refer to the attachment:node02ExcerptFromConfig.xml and 
 node03ExcertFromConfig.xml
 Then deploy the application servlet-examples-cluster-server2.war using Simple 
 simple-servlet-examples-cluster-plan2.xml as a deploy plan.
 deploy the application servlet-examples-cluster-server3.war using Simple 
 simple-servlet-examples-cluster-plan3.xml as a deploy plan.
 The second way:(enable it in deploy plan)
 Without modification to config.xml,deploy the application directly.
 deploy the application servlet-examples-cluster-server2.war using 
 servlet-examples-cluster-plan2.xml as a deploy plan.
 deploy the application servlet-examples-cluster-server3.war using  
 servlet-examples-cluster-plan3.xml as a deploy plan.
 Expected:
 Session will be replicated .When node 02 fails,the node 03 will be the back 
 up.and vice versa.
 But currently both way don't work, when node2 fails ,session is not 
 replicated to node03

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



[jira] Created: (GERONIMO-4891) Null destination error when browsing a new created jmx resource group.

2009-09-23 Thread Lu Jiang (JIRA)
Null destination error when browsing a new created jmx resource group.
--

 Key: GERONIMO-4891
 URL: https://issues.apache.org/jira/browse/GERONIMO-4891
 Project: Geronimo
  Issue Type: Bug
  Security Level: public (Regular issues)
  Components: ActiveMQ
Affects Versions: 2.2
 Environment: OS:Windows XP  SP2
JDK:JAVA 6
Reporter: Lu Jiang
Priority: Minor


1.Start geronimo server.
2.Create a new JMS Resource Group for ActiveMQ.Enter the Resource Group 
Name,keep default for other fields.
3.Add Connection Factory.Select a factory type and input the factory name.keep 
default for other fields.
4.Add Destination.Select a destination type and input destination name.keep 
default for other fields.
5.Deploy it.
6.Browse the new created JMS resourse group,
Error encountered while browsing message.
Fail to find the destination nulll.

Perhaps a default value for physical name of  jms destionation is needed.

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



[jira] Updated: (GERONIMO-4891) Null destination error when browsing a new created jms resource group.

2009-09-23 Thread Lu Jiang (JIRA)

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

Lu Jiang updated GERONIMO-4891:
---

Summary: Null destination error when browsing a new created jms resource 
group.  (was: Null destination error when browsing a new created jmx resource 
group.)

 Null destination error when browsing a new created jms resource group.
 --

 Key: GERONIMO-4891
 URL: https://issues.apache.org/jira/browse/GERONIMO-4891
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: ActiveMQ
Affects Versions: 2.2
 Environment: OS:Windows XP  SP2
 JDK:JAVA 6
Reporter: Lu Jiang
Priority: Minor

 1.Start geronimo server.
 2.Create a new JMS Resource Group for ActiveMQ.Enter the Resource Group 
 Name,keep default for other fields.
 3.Add Connection Factory.Select a factory type and input the factory 
 name.keep default for other fields.
 4.Add Destination.Select a destination type and input destination name.keep 
 default for other fields.
 5.Deploy it.
 6.Browse the new created JMS resourse group,
 Error encountered while browsing message.
 Fail to find the destination nulll.
 Perhaps a default value for physical name of  jms destionation is needed.

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



[jira] Created: (GERONIMO-4837) Cannot monitor the local server via

2009-09-02 Thread Lu Jiang (JIRA)
Cannot monitor the local server via 


 Key: GERONIMO-4837
 URL: https://issues.apache.org/jira/browse/GERONIMO-4837
 Project: Geronimo
  Issue Type: Bug
  Security Level: public (Regular issues)
  Components: monitoring
Affects Versions: 2.2
 Environment: OS:Windows XP
Server: G 2.2 snapshot
JDK:1.6
Reporter: Lu Jiang


When create a new instance to monitor the localhost Server.The status is always 
offline.
But when the  monitor can connect to a remote server and its status is online.

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



[jira] Created: (GERONIMO-4822) Monitoring server via JMX cannot be restarted.

2009-08-28 Thread Lu Jiang (JIRA)
Monitoring server via JMX cannot  be restarted.
---

 Key: GERONIMO-4822
 URL: https://issues.apache.org/jira/browse/GERONIMO-4822
 Project: Geronimo
  Issue Type: Bug
  Security Level: public (Regular issues)
  Components: monitoring
Affects Versions: 2.2
 Environment: Environment:
OS:SUSE
JDK:JAVA 6
Server: Geronimo 2.2-SNAPSHOT build:2009.08.23
Reporter: Lu Jiang


Steps:
1.Click monitor portlet, to monitor a new Server via JMX.
The monitor status is [stopped] when the monitor instance is first created.
2.Then click [Enable Query],the status will change to [Running.5 mins].
3.Click [Disable Query],the status will change to [stopping...].And both 
the[Enable query] button and [Disable query] button doesn't work.

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



[jira] Updated: (GERONIMO-4822) Monitoring server via JMX cannot be restarted.

2009-08-28 Thread Lu Jiang (JIRA)

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

Lu Jiang updated GERONIMO-4822:
---

Description: 
Steps:
1.Click monitor portlet, to monitor a new Server via JMX.
The monitor status is [stopped] when the monitor instance is first created.
2.Then click [Enable Query],the status will change to [Running.5 mins].
3.Click [Disable Query],the status will change to [stopping...].And both 
the[Enable query] button and [Disable query] button doesn't work.The monitoring 
can not be enabled.

  was:
Steps:
1.Click monitor portlet, to monitor a new Server via JMX.
The monitor status is [stopped] when the monitor instance is first created.
2.Then click [Enable Query],the status will change to [Running.5 mins].
3.Click [Disable Query],the status will change to [stopping...].And both 
the[Enable query] button and [Disable query] button doesn't work.


 Monitoring server via JMX cannot  be restarted.
 ---

 Key: GERONIMO-4822
 URL: https://issues.apache.org/jira/browse/GERONIMO-4822
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: monitoring
Affects Versions: 2.2
 Environment: Environment:
 OS:SUSE
 JDK:JAVA 6
 Server: Geronimo 2.2-SNAPSHOT build:2009.08.23
Reporter: Lu Jiang

 Steps:
 1.Click monitor portlet, to monitor a new Server via JMX.
 The monitor status is [stopped] when the monitor instance is first created.
 2.Then click [Enable Query],the status will change to [Running.5 mins].
 3.Click [Disable Query],the status will change to [stopping...].And both 
 the[Enable query] button and [Disable query] button doesn't work.The 
 monitoring can not be enabled.

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



[jira] Created: (GERONIMO-4813) exceptions occur when running geronimo as a service on AIX

2009-08-25 Thread Lu Jiang (JIRA)
exceptions occur when running geronimo as a service on AIX
--

 Key: GERONIMO-4813
 URL: https://issues.apache.org/jira/browse/GERONIMO-4813
 Project: Geronimo
  Issue Type: Bug
  Security Level: public (Regular issues)
  Components: startup/shutdown
Affects Versions: 2.2
 Environment: Operating System:  ppc   AIX 
geronimo: 2.2-SNAPSHOT +Build 2009.08.23-23:05:01.470-0400 
JAVA:1.6
Reporter: Lu Jiang


Run Geronimo as a service on AIX and then start it.
It starts successfully and Geronimo can be accessed via 
http://localhost:8080/console.
But there some errors in the GERONIMO_HOME/var/log/geronimo.out. It seems that 
several processes are trying to start the server together and they conflict
with each other because the same default port 1099 is used .


 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED 
state: 
abstractName=org.apache.geronimo.framework/rmi-naming/2.2-SNAPSHOT/car?ServiceModule=org.apache.geronimo.framework/rmi-naming/2.2-SNAPSHOT/car,j2eeType=GBean,name=RMIRegistry
java.rmi.server.ExportException: Port already in use: 1099

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



[jira] Updated: (GERONIMO-4813) exceptions occur when running geronimo as a service on AIX

2009-08-25 Thread Lu Jiang (JIRA)

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

Lu Jiang updated GERONIMO-4813:
---

Attachment: geronimo.out

 exceptions occur when running geronimo as a service on AIX
 --

 Key: GERONIMO-4813
 URL: https://issues.apache.org/jira/browse/GERONIMO-4813
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: startup/shutdown
Affects Versions: 2.2
 Environment: Operating System:  ppc   AIX 
 geronimo: 2.2-SNAPSHOT +Build 2009.08.23-23:05:01.470-0400 
 JAVA:1.6
Reporter: Lu Jiang
 Attachments: geronimo.out


 Run Geronimo as a service on AIX and then start it.
 It starts successfully and Geronimo can be accessed via 
 http://localhost:8080/console.
 But there some errors in the GERONIMO_HOME/var/log/geronimo.out. It seems 
 that several processes are trying to start the server together and they 
 conflict
 with each other because the same default port 1099 is used .
  ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED 
 state: 
 abstractName=org.apache.geronimo.framework/rmi-naming/2.2-SNAPSHOT/car?ServiceModule=org.apache.geronimo.framework/rmi-naming/2.2-SNAPSHOT/car,j2eeType=GBean,name=RMIRegistry
 java.rmi.server.ExportException: Port already in use: 1099

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



[jira] Closed: (GERONIMO-4802) Error occurs when click Information link on the console

2009-08-24 Thread Lu Jiang (JIRA)

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

Lu Jiang closed GERONIMO-4802.
--


 Error occurs when click Information link on the console
 ---

 Key: GERONIMO-4802
 URL: https://issues.apache.org/jira/browse/GERONIMO-4802
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: console
Affects Versions: 2.2
 Environment: Server:
 Version   2.2-SNAPSHOT
 Build 2009.08.17-19:12:56.811+0800
 Operating System:
 Architecture  amd64
 Name  Windows Server 2008
 Version   6.0 build 6002 Service Pack 2
 Java Version  1.6.0
 Java Vendor   IBM Corporation
Reporter: Lu Jiang
Assignee: Ivan
 Fix For: 2.2


 Steps to regenerate:
 1.Start geronimo server.
 2.Access the geronimo server via http://localhost:8080/console/
 3.Click Information portlet under Console Navigation/server.
   Warn and error will occur as below:
   2009-08-19 11:08:13,458 WARN  [DefaultCreatorManager] Names of known 
 classes are: Jsr77Lookup __System 
   2009-08-19 11:08:13,458 WARN  [ExceptionHandler] Error: 
 java.lang.SecurityException: No class by name: Jsr77Stats
 Also some information is not available.
 It displays on Console:
 Server:
 Up Time Not Yet Available
 JVM:
 Current Memory Used   Not Yet Available
 Most Memory Used  Not Yet Available
 Total Memory AllocatedNot Yet Available

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



[jira] Closed: (GERONIMO-4803) ClassCastExeption after disabling access log valve for web container

2009-08-24 Thread Lu Jiang (JIRA)

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

Lu Jiang closed GERONIMO-4803.
--


 ClassCastExeption after disabling access log valve for web container
 

 Key: GERONIMO-4803
 URL: https://issues.apache.org/jira/browse/GERONIMO-4803
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: Logging
Affects Versions: 2.2
 Environment: Server:
 Version   2.2-SNAPSHOT
 Build 2009.08.17-19:12:56.811+0800
 Operating System:
 Architecture  amd64
 Name  Windows Server 2008
 Version   6.0 build 6002 Service Pack 2
 Java Version  1.6.0
 Java Vendor   IBM Corporation
Reporter: Lu Jiang
Assignee: Ivan
 Fix For: 2.2


 Steps to regenerate:
 1.Stop geronimo server.
 2.Disable access log valve by editing 
 GERONIMO_HOME/var/catalina/server.xml,commenting the following content.
 Valve className=org.apache.catalina.valves.AccessLogValve 
 directory=logs
prefix=${ServerHostname}_access_log. suffix=.txt 
 pattern=common resolveHosts=false/
 3.Start Geronimo server.
 4.Access the server console via http://localhost:8080/console/
 5.Click Server Logs in Console Navigation/server,exceptions like below will 
 occur.
 2009-08-19 13:04:11,258 ERROR [[WebAccessLogViewer]] Servlet.service() 
 for servlet WebAccessLogViewer threw exception
 java.lang.ClassCastException: org.apache.catalina.valves.ErrorReportValve 
 incompatible with org.apache.catalina.valves.AccessLogValve
   at 
 org.apache.geronimo.tomcat.TomcatLogManagerImpl.getLogNames(TomcatLogManagerImpl.java:94)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
   at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
   at java.lang.reflect.Method.invoke(Method.java:599)
   at 
 org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
   at 
 org.apache.geronimo.gbean.runtime.GBeanAttribute.getValue(GBeanAttribute.java:364)
   at 
 org.apache.geronimo.gbean.runtime.GBeanInstance.getAttribute(GBeanInstance.java:637)
   at 
 org.apache.geronimo.gbean.runtime.RawInvoker.getAttribute(RawInvoker.java:49)
   at 
 org.apache.geronimo.kernel.basic.RawGetAttributeInvoker.invoke(RawGetAttributeInvoker.java:35)
   at 
 org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
   at 
 org.apache.geronimo.tomcat.TomcatLogManager$$EnhancerByCGLIB$$32605a01.getLogNames(generated)
   at 
 org.apache.geronimo.console.logmanager.WebAccessLogViewerPortlet.doView(WebAccessLogViewerPortlet.java:119)
   at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:247)
   at javax.portlet.GenericPortlet.render(GenericPortlet.java:175)
   at org.apache.geronimo.console.BasePortlet.render(BasePortlet.java:153)
   at 
 org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:208)
   at org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:139)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
   at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at 
 org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
   at 
 org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
   at 
 org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
   at 
 org.apache.pluto.core.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:167)
   at 
 org.apache.pluto.core.DefaultPortletInvokerService.render(DefaultPortletInvokerService.java:101)
   at 
 org.apache.pluto.core.PortletContainerImpl.doRender(PortletContainerImpl.java:172)
   at 
 org.apache.pluto.driver.tags.PortletTag.doStartTag(PortletTag.java:152)
   at 
 jsp.WEB_002dINF.themes.portlet_002dskin_jsp._jspService(portlet_002dskin_jsp.java:102)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
   at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at 
 

[jira] Updated: (GERONIMO-4802) Error occurs when click Information link on the console

2009-08-19 Thread Lu Jiang (JIRA)

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

Lu Jiang updated GERONIMO-4802:
---

Description: 
Steps to regenerate:
1.Start geronimo server.
2.Access the geronimo server via http://localhost:8080/console/
3.Click Information portlet under Console Navigation/server.
  Warn and error will occur as below:
  2009-08-19 11:08:13,458 WARN  [DefaultCreatorManager] Names of known classes 
are: Jsr77Lookup __System 
  2009-08-19 11:08:13,458 WARN  [ExceptionHandler] Error: 
java.lang.SecurityException: No class by name: Jsr77Stats

Also some information is not available.
It displays on Console:
Server:
Up Time Not Yet Available

JVM:
Current Memory Used Not Yet Available
Most Memory Used  Not Yet Available
Total Memory Allocated  Not Yet Available

  was:
Steps to regenerate:
1.Start geronimo server.
2.Access the geronimo server via http://localhost:8080/console/
3.Find the information link under Console Navigation/server and click it.
  Warn and error will occur as below:
  2009-08-19 11:08:13,458 WARN  [DefaultCreatorManager] Names of known classes 
are: Jsr77Lookup __System 
  2009-08-19 11:08:13,458 WARN  [ExceptionHandler] Error: 
java.lang.SecurityException: No class by name: Jsr77Stats

Summary: Error occurs when click Information link on the console  (was: 
Error occurs when click Information link on the consoleCC)

 Error occurs when click Information link on the console
 ---

 Key: GERONIMO-4802
 URL: https://issues.apache.org/jira/browse/GERONIMO-4802
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: console
Affects Versions: 2.2
 Environment: Server:
 Version   2.2-SNAPSHOT
 Build 2009.08.17-19:12:56.811+0800
 Operating System:
 Architecture  amd64
 Name  Windows Server 2008
 Version   6.0 build 6002 Service Pack 2
 Java Version  1.6.0
 Java Vendor   IBM Corporation
Reporter: Lu Jiang

 Steps to regenerate:
 1.Start geronimo server.
 2.Access the geronimo server via http://localhost:8080/console/
 3.Click Information portlet under Console Navigation/server.
   Warn and error will occur as below:
   2009-08-19 11:08:13,458 WARN  [DefaultCreatorManager] Names of known 
 classes are: Jsr77Lookup __System 
   2009-08-19 11:08:13,458 WARN  [ExceptionHandler] Error: 
 java.lang.SecurityException: No class by name: Jsr77Stats
 Also some information is not available.
 It displays on Console:
 Server:
 Up Time Not Yet Available
 JVM:
 Current Memory Used   Not Yet Available
 Most Memory Used  Not Yet Available
 Total Memory AllocatedNot Yet Available

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



[jira] Created: (GERONIMO-4802) Error occurs when click Information link on the consoleCC

2009-08-18 Thread Lu Jiang (JIRA)
Error occurs when click Information link on the consoleCC
-

 Key: GERONIMO-4802
 URL: https://issues.apache.org/jira/browse/GERONIMO-4802
 Project: Geronimo
  Issue Type: Bug
  Security Level: public (Regular issues)
  Components: console
Affects Versions: 2.2
 Environment: Server:
Version 2.2-SNAPSHOT
Build   2009.08.17-19:12:56.811+0800

Operating System:
Architectureamd64
NameWindows Server 2008
Version 6.0 build 6002 Service Pack 2

Java Version1.6.0
Java Vendor IBM Corporation
Reporter: Lu Jiang


Steps to regenerate:
1.Start geronimo server.
2.Access the geronimo server via http://localhost:8080/console/
3.Find the information link under Console Navigation/server and click it.
  Warn and error will occur as below:
  2009-08-19 11:08:13,458 WARN  [DefaultCreatorManager] Names of known classes 
are: Jsr77Lookup __System 
  2009-08-19 11:08:13,458 WARN  [ExceptionHandler] Error: 
java.lang.SecurityException: No class by name: Jsr77Stats

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



[jira] Created: (GERONIMO-4803) ClassCastExeption after disabling access log valve for web container

2009-08-18 Thread Lu Jiang (JIRA)
ClassCastExeption after disabling access log valve for web container


 Key: GERONIMO-4803
 URL: https://issues.apache.org/jira/browse/GERONIMO-4803
 Project: Geronimo
  Issue Type: Bug
  Security Level: public (Regular issues)
  Components: Logging
Affects Versions: 2.2
 Environment: Server:
Version 2.2-SNAPSHOT
Build   2009.08.17-19:12:56.811+0800

Operating System:
Architectureamd64
NameWindows Server 2008
Version 6.0 build 6002 Service Pack 2

Java Version1.6.0
Java Vendor IBM Corporation
Reporter: Lu Jiang


Steps to regenerate:
1.Stop geronimo server.
2.Disable access log valve by editing 
GERONIMO_HOME/var/catalina/server.xml,commenting the following content.
Valve className=org.apache.catalina.valves.AccessLogValve 
directory=logs
   prefix=${ServerHostname}_access_log. suffix=.txt 
pattern=common resolveHosts=false/
3.Start Geronimo server.
4.Access the server console via http://localhost:8080/console/
5.Click Server Logs in Console Navigation/server,exceptions like below will 
occur.
2009-08-19 13:04:11,258 ERROR [[WebAccessLogViewer]] Servlet.service() for 
servlet WebAccessLogViewer threw exception
java.lang.ClassCastException: org.apache.catalina.valves.ErrorReportValve 
incompatible with org.apache.catalina.valves.AccessLogValve
at 
org.apache.geronimo.tomcat.TomcatLogManagerImpl.getLogNames(TomcatLogManagerImpl.java:94)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:599)
at 
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
at 
org.apache.geronimo.gbean.runtime.GBeanAttribute.getValue(GBeanAttribute.java:364)
at 
org.apache.geronimo.gbean.runtime.GBeanInstance.getAttribute(GBeanInstance.java:637)
at 
org.apache.geronimo.gbean.runtime.RawInvoker.getAttribute(RawInvoker.java:49)
at 
org.apache.geronimo.kernel.basic.RawGetAttributeInvoker.invoke(RawGetAttributeInvoker.java:35)
at 
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
at 
org.apache.geronimo.tomcat.TomcatLogManager$$EnhancerByCGLIB$$32605a01.getLogNames(generated)
at 
org.apache.geronimo.console.logmanager.WebAccessLogViewerPortlet.doView(WebAccessLogViewerPortlet.java:119)
at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:247)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:175)
at org.apache.geronimo.console.BasePortlet.render(BasePortlet.java:153)
at 
org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:208)
at org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:139)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at 
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
at 
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
at 
org.apache.pluto.core.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:167)
at 
org.apache.pluto.core.DefaultPortletInvokerService.render(DefaultPortletInvokerService.java:101)
at 
org.apache.pluto.core.PortletContainerImpl.doRender(PortletContainerImpl.java:172)
at 
org.apache.pluto.driver.tags.PortletTag.doStartTag(PortletTag.java:152)
at 
jsp.WEB_002dINF.themes.portlet_002dskin_jsp._jspService(portlet_002dskin_jsp.java:102)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at 
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
at 
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
at