[jira] Created: (GERONIMO-5591) Removing the least used and oldest statements from prepared statement cache

2010-09-09 Thread Amit Puri (JIRA)
Removing the least used and oldest statements from prepared statement cache
---

 Key: GERONIMO-5591
 URL: https://issues.apache.org/jira/browse/GERONIMO-5591
 Project: Geronimo
  Issue Type: Bug
  Security Level: public (Regular issues)
  Components: databases
Affects Versions: 2.1.6
Reporter: Amit Puri
 Fix For: 2.1.7


Improvement of removing the statement that is the least used and oldest from 
prepared statement cache and log the statements which are removed. 
The patch has been uploaded to http://jira.codehaus.org/browse/TQL-26

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



[jira] Created: (GERONIMO-5413) Documentation of Generic Header based authentication support in geronimo

2010-06-29 Thread Amit Puri (JIRA)
Documentation of Generic Header based authentication support in geronimo


 Key: GERONIMO-5413
 URL: https://issues.apache.org/jira/browse/GERONIMO-5413
 Project: Geronimo
  Issue Type: Task
  Security Level: public (Regular issues)
  Components: documentation
Reporter: Amit Puri
 Fix For: 2.1.7


Geronimo should include documentation regarding Generic Header based 
authentication. It is related to generic header authentication login module 
which should be able to validate the authentication results passed as http 
request headers.

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



[jira] Created: (GERONIMO-5355) ClassCastException while starting snapshot (Stat Query) in G 215 Monitoring portlet through java client

2010-05-31 Thread Amit Puri (JIRA)
ClassCastException while starting snapshot (Stat Query) in G 215 Monitoring 
portlet through java client
---

 Key: GERONIMO-5355
 URL: https://issues.apache.org/jira/browse/GERONIMO-5355
 Project: Geronimo
  Issue Type: Bug
  Security Level: public (Regular issues)
  Components: monitoring
Affects Versions: 2.1.5
Reporter: Amit Puri


In a java client where MBeanServerConnection is created and invoke 
startSnapshot method in Monitoring Portlet of G 215, Stat Query snapshot 
started but we can also find ClassCastException.

...
ERROR [MasterRemoteControlJMX] 
org.tranql.connector.jdbc.TranqlDataSource$SelfReference incompatible with 
javax.sql.DataSource
java.lang.ClassCastException: 
org.tranql.connector.jdbc.TranqlDataSource$SelfReference incompatible with 
javax.sql.DataSource
at 
org.apache.geronimo.monitoring.MasterRemoteControlJMX.init(MasterRemoteControlJMX.java:110)
at 
org.apache.geronimo.monitoring.snapshot.SnapshotProcessor.getMRC(SnapshotProcessor.java:148)
at 
org.apache.geronimo.monitoring.snapshot.SnapshotProcessor.takeSnapshot(SnapshotProcessor.java:59)
at 
org.apache.geronimo.monitoring.snapshot.SnapshotThread.run(SnapshotThread.java:103)
...

In G 214, this exception does not come while using same java client. 

These steps are followed in java client:

1.Creating MBeanServerConnection object
...
MBeanServerConnection mbServerConn;   
JMXServiceURL serviceURL = new 
JMXServiceURL(service:jmx:rmi:///jndi/rmi://localhost/JMXConnector);
HashtableString, Object env = new HashtableString, Object();
String[] credentials = new String[2];
credentials[0] = system;
credentials[1] = manager;
env.put(JMXConnector.CREDENTIALS, credentials); 
   
JMXConnector connector = JMXConnectorFactory.connect(serviceURL, env);
mbServerConn = connector.getMBeanServerConnection();
..

2. Retrieving the mbean name to the agent-car-jmx plugin

..
if(PATH == null) {
SetObjectName mbeanNames = mbServerConn.queryNames(new 
ObjectName(*:name=MasterRemoteControlJMX,*), null);
for(IteratorObjectName it = mbeanNames.iterator(); it.hasNext(); ) {
String mbeanName = ((ObjectName)it.next()).getCanonicalName();
if(mbeanName.contains(agent-car-jmx)  
mbeanName.contains(MasterRemoteControlJMX)  mbeanName.contains(GBean)) {
PATH = mbeanName;
break;
}}
if(PATH == null) {
throw new Exception([ERROR] Required mbean not found: agent-car-jmx);
}}
..

Here I am getting mbean name as 
geronimo:J2EEServer=geronimo,ServiceModule=org.apache.geronimo.plugins.monitoring/agent-car-jmx/2.1.5/car,j2eeType=GBean,name=MasterRemoteControlJMX

3. Invoking startSnapshot

..
long time = 30;
int days = 2;
mbServerConn.invoke(new ObjectName(PATH),startSnapshot, new Object[] { time, 
days }, new String[] { java.lang.Long, java.lang.Integer });
..

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



Utilizing Geronimo monitoring through command line

2010-05-28 Thread Amit Puri
Hi,

I am looking in a scenario of a business infrastructure where admin console
is disallowed and user still want to use and watch capabilities of Geronimo
monitoring portlet functionality without logging in admin console.

First step for me to achieve this is to start and stop Stat Query through a
command line. So I am trying to start Snapshot (Stat. Query) in monitoring
portlet of Geronimo 2.1.5 with a java program.

Through Admin console I can start it without any fail by clicking on Enable
Query. when I start it with a java program I am able to start snapshot
(Stat. Query) but I am also getting following error in command prompt:

*...
ERROR [MasterRemoteControlJMX]
org.tranql.connector.jdbc.TranqlDataSource$SelfReference incompatible with
javax.sql.DataSource
java.lang.ClassCastException:
org.tranql.connector.jdbc.TranqlDataSource$SelfReference incompatible with
javax.sql.DataSource
at
org.apache.geronimo.monitoring.MasterRemoteControlJMX.init(MasterRemoteControlJMX.java:110)
at
org.apache.geronimo.monitoring.snapshot.SnapshotProcessor.getMRC(SnapshotProcessor.java:148)
at
org.apache.geronimo.monitoring.snapshot.SnapshotProcessor.takeSnapshot(SnapshotProcessor.java:59)
at
org.apache.geronimo.monitoring.snapshot.SnapshotThread.run(SnapshotThread.java:103)
...*

In my java program, I am following these steps:

1.Creating MBeanServerConnection object
*...
MBeanServerConnection mbServerConn;
JMXServiceURL serviceURL = new
JMXServiceURL(service:jmx:rmi:///jndi/rmi://localhost/JMXConnector);
HashtableString, Object env = new HashtableString, Object();
String[] credentials = new String[2];
credentials[0] = system;
credentials[1] = manager;
env.put(JMXConnector.CREDENTIALS, credentials);

JMXConnector connector = JMXConnectorFactory.connect(serviceURL, env);
mbServerConn = connector.getMBeanServerConnection();
..*

2. Retrieving the mbean name to the agent-car-jmx plugin

*..
if(PATH == null) {
SetObjectName mbeanNames = mbServerConn.queryNames(new
ObjectName(*:name=MasterRemoteControlJMX,*), null);
for(IteratorObjectName it = mbeanNames.iterator(); it.hasNext(); ) {
String mbeanName = ((ObjectName)it.next()).getCanonicalName();
if(mbeanName.contains(agent-car-jmx) 
mbeanName.contains(MasterRemoteControlJMX)  mbeanName.contains(GBean))
{
PATH = mbeanName;
break;
}}
if(PATH == null) {
throw new Exception([ERROR] Required mbean not found: agent-car-jmx);
}}
..*

Here I am getting mbean name as
geronimo:J2EEServer=geronimo,ServiceModule=org.apache.geronimo.plugins.monitoring/agent-car-jmx/2.1.5/car,j2eeType=GBean,name=MasterRemoteControlJMX

3. Invoking startSnapshot

*..
long time = 6;
int days = 2;
mbServerConn.invoke(new ObjectName(PATH),startSnapshot, new Object[] {
time, days }, new String[] { java.lang.Long, java.lang.Integer });
..*
After invoking, I can see snapshot running but also getting
ClassCastException.


I am getting *SUCCESS* when I use this java client with *G 2.1.4 without any
exception*. When I checked code change in 2.1.5, I can see change in
plugins/monitoring/mconsole-war/src/main/java/org/apache/geronimo/monitoring/console/
*MRCConnector.java. *
One JIRA is there for this change *GERONIMO-4823 role-based administration
capabilities *Change in MRCConnector.java is like this-

*code-snippet of MRCConnector.java
..
 mbServerConn =
((RealMBeanServerReference)PortletManager.getKernel().getGBean(MBeanServerReference)).getMBeanServer();
..*

I have also checked the *MasterRemoteControlJMX.java* where
ClassCastException is coming, I can see error in archiveDS

*code-snippet of MasterRemoteControlJMX.java
..
activeDS =
(DataSource)ic.lookup(jca:/org.apache.geronimo.plugins/agent-ds/JCAManagedConnectionFactory/jdbc/ActiveDS);
archiveDS =
(DataSource)ic.lookup(jca:/org.apache.geronimo.plugins/agent-ds/JCAManagedConnectionFactory/jdbc/ArchiveDS);
..*

when I invoked start snapshot through my java client, For activeDS, object
created is of TranqlDataSource and for archiveDS, it is of
TranqlDataSource$SelfReference.

Please help me in understanding this behavior and give me some pointers to
go forward in this effort. I really appreciate your help.

Thanks.


[jira] Created: (GERONIMO-5305) DisableMcastInterceptor GBean should disable the mcast receiver also with mcast sender

2010-05-13 Thread Amit Puri (JIRA)
DisableMcastInterceptor GBean should disable the mcast receiver also with mcast 
sender
--

 Key: GERONIMO-5305
 URL: https://issues.apache.org/jira/browse/GERONIMO-5305
 Project: Geronimo
  Issue Type: Bug
  Security Level: public (Regular issues)
  Components: Tomcat
Affects Versions: 2.2, 2.1.5, 2.1
Reporter: Amit Puri
 Fix For: 2.1.6


When we use DisableMcastInterceptor GBean, it only disables the mcast sender 
but not the receiver. Thats why, In the case of Unicast clustering 
configuration, when we specified the DisableMcastInterceptor GBean in plan to 
disable the multicast, we can still see multicast socket.

I am adding code to disable mcast receiver also in DisableMcastInterceptor.java

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



[jira] Updated: (GERONIMO-5305) DisableMcastInterceptor GBean should disable the mcast receiver also with mcast sender

2010-05-13 Thread Amit Puri (JIRA)

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

Amit Puri updated GERONIMO-5305:


Attachment: GERONIMO-5305.patch

modifying DisableMcastInterceptor.java

 DisableMcastInterceptor GBean should disable the mcast receiver also with 
 mcast sender
 --

 Key: GERONIMO-5305
 URL: https://issues.apache.org/jira/browse/GERONIMO-5305
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: Tomcat
Affects Versions: 2.1, 2.1.5, 2.2
Reporter: Amit Puri
 Fix For: 2.1.6

 Attachments: GERONIMO-5305.patch


 When we use DisableMcastInterceptor GBean, it only disables the mcast sender 
 but not the receiver. Thats why, In the case of Unicast clustering 
 configuration, when we specified the DisableMcastInterceptor GBean in plan 
 to disable the multicast, we can still see multicast socket.
 I am adding code to disable mcast receiver also in 
 DisableMcastInterceptor.java

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



Applications are rendered unavailable when resources dependencies are redeployed

2010-04-13 Thread Amit Puri
Hi All

In a large enterprise where App's are deployed on a number of Geronimo
servers, we are facing some issues while redeploying the dependencies. Here
is the outline of the issue being faced:

When one of its dependencies is being redeployed, a running application is
stopped. In config.xml too, load attribute is set to false. Let's take an
example, Application A is depending on dbpool B. While you redeploy B,
Geronimo will stop A and redeploy dbpool B but it will not restart A. We
have to manually start the app by using the deploy script with the start
command or set load to true in config.xml and restart the server.

As per standard design of application life-cycle in Geronimo, when we
redeploy the dependency of an application, it will unload the application
first and redeploy the dependencies, it will  keep load=false to app
module in config.xml. But as per our requirement, we need to keep
applications loaded in an executable state even when its dependencies are
being redeployed. Is it feasible to do in Geronimo? Please comment.

Thanks
Amit


Re: [VOTE] Release Geronimo 2.1.5 (1st try)

2010-04-09 Thread Amit Puri
+1

My Build was fine and I tested these Jira- 5148, 5027, 4927,  4896,  4892,
4844, result looks good.


Amit Puri
India Software Lab, IBM Software Group,
C Block, 6th Floor, Embassy Golf Links Business Park,
Bangalore.
Phone: 91-80-4192-7725, Mobile: 91-93420-61133
amit.p...@in.ibm.com

When God Takes away something from your hands, don’t think he is
punishing.
But he is merely empting your hand to receive something better. So keep
trusting him.



   
 Ashish Jain   
 ashja...@gmail.c 
 omTo 
   dev@geronimo.apache.org 
 08/04/2010 17:12   cc 
   
   Subject 
 Please respond to Re: [VOTE] Release Geronimo 2.1.5   
 d...@geronimo.apac (1st try)   
  he.org   
   
   
   
   
   




My build and project imports was fine. Samples execution was successful. My
+1.

On Thu, Apr 8, 2010 at 8:25 AM, Ivan xhh...@gmail.com wrote:
  TCK is ongoing, the results will come out in two days.

  To David Blevins :   Do we have a chance to have a 3.0.3 for OpenEJB :-)

  2010/4/8 Kevan Miller kevan.mil...@gmail.com

   +1

   I checked signature/checksums, source files, build, testsuite, and
   simple tests with a server. All looked good to me. Assuming we pass the
   TCK, we should be good to go...

   --kevan

   On Apr 6, 2010, at 9:46 PM, Rex Wang wrote:

 Dear All,

 I have managed to use maven-release-plugin to make a 2.1.5 release
 candidate

 The tag has been created here:

 https://svn.apache.org/repos/asf/geronimo/server/tags/geronimo-2.1.5
/


 The staging repo is here:

 
https://repository.apache.org/content/repositories/orgapachegeronimo-005/


 The main artifacts up for vote are the source release archives:

 
https://repository.apache.org/content/repositories/orgapachegeronimo-005/org/apache/geronimo/geronimo/2.1.5
/geronimo-2.1.5-source-release.tar.gz

 
https://repository.apache.org/content/repositories/orgapachegeronimo-005/org/apache/geronimo/geronimo/2.1.5
/geronimo-2.1.5-source-release.zip


 We have to verify the binaries pass the tck, so open the vote for
 more than the minimum 72 hours.

 --
 Lei Wang (Rex)
 rwonly AT apache.org




  --
  Ivan


Pluto jar problem in Geronimo 2.1

2010-04-05 Thread Amit Puri
Hi All

In Geronimo 2.1.4, when I use Geronimo Database pool wizard in
ServicesDatabase Pools and provide Database Type as SQL Server, I found
Driver Connection Properties like this:

Driver Connection Properties-

Typical JDBC URL:
jdbc:sqlserver://{Host}:{Port}

When I checked
G_Home\repository\org\apache\geronimo\plugins\sysdb-console-tomcat\2.1.4\sysdb-console-tomcat-2.1.4.car\META-INF\plan.xml.
It is defined for Sql server here like this:

gbean name=Database28
class=org.apache.geronimo.console.databasemanager.wizard.DatabaseDriverGBean

attribute name=nameSQL Server/attribute

attribute
name=URLPrototypejdbc:sqlserver://{Host}:{Port};DatabaseName={Database}/attribute

attribute
name=driverClassNamecom.microsoft.sqlserver.jdbc.SQLServerDriver/attribute

attribute name=defaultPort1433/attribute

attribute name=specificfalse/attribute

attribute name=RARNameorg.tranql/tranql-connector-ra//rar/attribute

/gbean

Full JDBC URL and other properties are missing in Driver Connection
Properties in this case. This seems to me Apache Pluto plugin problem.
Whenever the input parameter contains semicolon, there will be some issues
while handlering those parameters. I also tried with other Database types
which have semi colon in URLPrototype (for example all the DataDirect
database types) and got same result as SQL Server database type. It Seems
that Pluto would ignore those parameters after the semicolon. There is one
Jira also opened for this issue.

https://issues.apache.org/jira/browse/PLUTO-579

In G 2.1.4 , we are using Pluto Version 1.1.6-G643117. PLUTO-579 fix is not
included in this version of Pluto.

I have built Pluto with PLUTO-579, and use the jar file in G 2.1.4. I can
clearly see all the parameters and full JDBC URL in Driver Connection
Properties.

Driver Connection Properties-

Typical JDBC URL:
jdbc:sqlserver://{Host}:{Port};DatabaseName={Database}
Host:
A property used to connect to SQL Server. May be optional (see JDBC
driver documentation).
Database:
A property used to connect to SQL Server. May be optional (see JDBC
driver documentation).
Port:
A property used to connect to SQL Server. May be optional (see JDBC
driver documentation).

Do we have any plan to include PLUTO-579 in Geronimo 2.1.5?

Thanks and Regards,
Amit


[jira] Closed: (GERONIMO-4900) MissingDependencyException while deploying EAR in Clustering Environment

2009-11-15 Thread Amit Puri (JIRA)

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

Amit Puri closed GERONIMO-4900.
---


I am closing this JIRA. Thanks a lot Ashish.

Thanks
Amit

 MissingDependencyException while deploying EAR in Clustering Environment
 

 Key: GERONIMO-4900
 URL: https://issues.apache.org/jira/browse/GERONIMO-4900
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: Clustering
Affects Versions: 2.1.4
Reporter: Amit Puri
Assignee: Kevan Miller
 Fix For: 2.1.5

 Attachments: ClusterTestEAR.ear, Geronimo4900.patch


 1. Installed two geronimo instances A and B at different paths
 2. Made the following changes to Geronimo A
For var\config\config-substitutions.properties
clusterNodeName=NODE -- clusterNodeName=NODE-A
For var\config\config.xml, add the following contents to module: 
 org.apache.geronimo.configs/farming/2.1.4/car
 -
 gbean 
 name=org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=NodeInfo,name=NODE-B
  gbeanInfo=org.apache.geronimo.farm.config.BasicNodeInfo
 attribute name=nameNODE-B/attribute
 attribute 
 propertyEditor=org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfoEditor
  name=extendedJMXConnectorInfo
 ns:javabean 
 class=org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfo 
 xmlns:ns4=http://geronimo.apache.org/xml/ns/attributes-1.2; 
 xmlns:ns=http://geronimo.apache.org/xml/ns/deployment/javabean-1.0; xmlns=
 ns:property name=usernamesystem/ns:property
 ns:property name=passwordmanager/ns:property
 ns:property name=protocolrmi/ns:property
 ns:property name=hostlocalhost/ns:property
 ns:property name=port1109/ns:property
 ns:property name=urlPathJMXConnector/ns:property
 ns:property name=localfalse/ns:property
   /ns:javabean/attribute
 /gbean
 -
 3. Made the following changes to Geronimo B
For var\config\config-substitutions.properties
clusterNodeName=NODE -- clusterNodeName=NODE-B
PortOffset=0 -- PortOffset=10
For var\config\config.xml, add the following contents to module: 
 org.apache.geronimo.configs/farming/2.1.4/car
 -
 gbean 
 name=org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=NodeInfo,name=NODE-A
  gbeanInfo=org.apache.geronimo.farm.config.BasicNodeInfo
 attribute name=nameNODE-A/attribute
 attribute 
 propertyEditor=org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfoEditor
  name=extendedJMXConnectorInfo
 ns:javabean 
 class=org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfo 
 xmlns:ns4=http://geronimo.apache.org/xml/ns/attributes-1.2; 
 xmlns:ns=http://geronimo.apache.org/xml/ns/deployment/javabean-1.0; xmlns=
 ns:property name=usernamesystem/ns:property
 ns:property name=passwordmanager/ns:property
 ns:property name=protocolrmi/ns:property
 ns:property name=hostlocalhost/ns:property
 ns:property name=port1099/ns:property
 ns:property name=urlPathJMXConnector/ns:property
 ns:property name=localfalse/ns:property
   /ns:javabean/attribute
 /gbean
 -
 4. Started both Geronimo A and B
 5. Ran the following commands in Geronimo_A_Path\bin
deploy --user system --password manager start 
 org.apache.geronimo.configs/farming/2.1.4/car
deploy --user system --password manager --port 1109 start 
 org.apache.geronimo.configs/farming/2.1.4/car
 6. Deployed one sample ClusterTestEAR.ear in Geronimo_A_Path\bin
 deploy --user system --password manager deploy --targets  
 org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=ConfigurationStore,name=MasterConfigurationStore
  PATH_SAMPLE\ClusterTestEAR.ear
 Output:
 A) Errors in Geronimo A geronimo.log
  INFO  [BasicClusterConfigurationStoreClient] Upload of configuration 
 [default/ClusterTestEAR_G_SLAVE/1.0/ear] - [File(s) transferred to server.  
 Resuming deployment operation.]
  INFO  [BasicClusterConfigurationController] Exception while starting 
 configuration [default/ClusterTestEAR_G_SLAVE/1.0

meaning of property-name=local in Farming

2009-11-09 Thread Amit Puri
Hi All

Could you please tell me what is the significance of property name=local
in org.apache.geronimo.farm.config.BasicNodeInfo.
When I give local= true in clustering environment and try to deploy one
application, I am getting error like Configuration already exists. I have
also checked cluster-repository dir of app server dir, one new empty dir has
been created there.

I have followed these steps:

1. Installed two geronimo instances A and B at different paths

2. Made the following changes to Geronimo A
For var\config\config-substitutions.properties
clusterNodeName=NODE -- clusterNodeName=NODE-A

For var\config\config.xml, add the following contents to module:
org.apache.geronimo.configs/farming/2.1.4/car
-
gbean
name=org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=NodeInfo,name=NODE-B
gbeanInfo=org.apache.geronimo.farm.config.BasicNodeInfo
attribute name=nameNODE-B/attribute
attribute
propertyEditor=org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfoEditor
name=extendedJMXConnectorInfo
ns:javabean
class=org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfo
xmlns:ns4=http://geronimo.apache.org/xml/ns/attributes-1.2; xmlns:ns=
http://geronimo.apache.org/xml/ns/deployment/javabean-1.0; xmlns=
ns:property name=usernamesystem/ns:property
ns:property name=passwordmanager/ns:property
ns:property name=protocolrmi/ns:property
ns:property name=hostlocalhost/ns:property
ns:property name=port1109/ns:property
ns:property name=urlPathJMXConnector/ns:property
ns:property name=localtrue/ns:property
/ns:javabean/attribute
/gbean
-

3. Made the following changes to Geronimo B
For var\config\config-substitutions.properties
clusterNodeName=NODE -- clusterNodeName=NODE-B
PortOffset=0 -- PortOffset=10

For var\config\config.xml, add the following contents to module:
org.apache.geronimo.configs/farming/2.1.4/car
-
gbean
name=org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=NodeInfo,name=NODE-A
gbeanInfo=org.apache.geronimo.farm.config.BasicNodeInfo
attribute name=nameNODE-A/attribute
attribute
propertyEditor=org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfoEditor
name=extendedJMXConnectorInfo
ns:javabean
class=org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfo
xmlns:ns4=http://geronimo.apache.org/xml/ns/attributes-1.2; xmlns:ns=
http://geronimo.apache.org/xml/ns/deployment/javabean-1.0; xmlns=
ns:property name=usernamesystem/ns:property
ns:property name=passwordmanager/ns:property
ns:property name=protocolrmi/ns:property
ns:property name=hostlocalhost/ns:property
ns:property name=port1099/ns:property
ns:property name=urlPathJMXConnector/ns:property
ns:property name=localtrue/ns:property
/ns:javabean/attribute
/gbean
-

4. Started both Geronimo A and B

5. Ran the following commands in Geronimo_A_Path\bin
deploy --user system --password manager start
org.apache.geronimo.configs/farming/2.1.4/car
deploy --user system --password manager --port 1109 start
org.apache.geronimo.configs/farming/2.1.4/car

6. Deployed one sample hello2.war in Geronimo_A_Path\bin

deploy --user system --password manager deploy --targets
org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=ConfigurationStore,name=MasterConfigurationStore
%PATH_SAMPLE%\hello2.war

Getting errors in command prompt:


Error: Unable to deploy hello2.war: java.io.IOException: See nested

See nested

Configuration already exists:
org.geronimo.samples/hello_G_SLAVE/2.1.1.2/car
-

I have checked in the app server dir and new dir
%Location%\NODE_A\cluster-repository\org\geronimo is created now but its an
empty one.

Geronimo_A Log output:

2009-11-09 16:05:46,875 ERROR [RepositoryConfigurationStore]
%Location%\NODE_A\cluster-repository\org\geronimo\samples\hello_G_SLAVE\2.1.1.2\hello_G_SLAVE-2.1.1.2.car
is not an empty directory
2009-11-09 16:05:47,171 ERROR [Deployer] Deployment failed due to
java.io.IOException: See nested
at
org.apache.geronimo.farm.deployment.BasicClusterConfigurationStoreClient.install(BasicClusterConfigurationStoreClient.java:122)
at
org.apache.geronimo.farm.deployment.BasicClusterConfigurationStoreClient.install(BasicClusterConfigurationStoreClient.java:78)
at
org.apache.geronimo.farm.deployment.MasterConfigurationStore.install(MasterConfigurationStore.java:128)


Thanks and Regards
Amit


[jira] Updated: (GERONIMO-4892) Farm Deployment Error if deploy more than one applications

2009-11-03 Thread Amit Puri (JIRA)

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

Amit Puri updated GERONIMO-4892:


Attachment: LOGS_4892.rar

yes, you are correct. 

I am attaching here all the logs in DEBUG Mode. 

Thanks

 Farm Deployment Error if deploy more than one applications
 --

 Key: GERONIMO-4892
 URL: https://issues.apache.org/jira/browse/GERONIMO-4892
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: commands
Affects Versions: 2.1.4, 2.2
 Environment: oS: winxp  and win2003
Reporter: viola.lu
 Fix For: 2.1.5, 2.2

 Attachments: LOGS_4892.rar, TwoFarm.zip


 Win2003 as master node( NODE2) with config.xml
 ...
 module name=org.apache.geronimo.configs/farming/2.2-SNAPSHOT/car
 gbean 
 name=org.apache.geronimo.configs/farming/2.2-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/farming/2.2-SNAPSHOT/car,j2eeType=GBean,name=Node1
  gbeanInfo=org.apache.geronimo.farm.config.BasicNodeInfo
 attribute name=nameNODE1/attribute
 attribute 
 propertyEditor=org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfoEditor
  name=extendedJMXConnectorInfo
 ns:javabean 
 class=org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfo 
 xmlns= xmlns:ns10=http://geronimo.apache.org/xml/ns/plugins-1.3; 
 xmlns:ns=http://geronimo.apache.org/xml/ns/deployment/javabean-1.0; 
 xmlns:ns12=http://geronimo.apache.org/xml/ns/plugins-1.3; 
 xmlns:ns14=http://geronimo.apache.org/xml/ns/plugins-1.3; 
 xmlns:ns16=http://geronimo.apache.org/xml/ns/plugins-1.3; 
 xmlns:ns8_=http://geronimo.apache.org/xml/ns/attributes-1.2; 
 xmlns:ns6_=http://geronimo.apache.org/xml/ns/attributes-1.2; 
 xmlns:ns4=http://geronimo.apache.org/xml/ns/attributes-1.2; 
 xmlns:ns6=http://geronimo.apache.org/xml/ns/plugins-1.3; 
 xmlns:ns8=http://geronimo.apache.org/xml/ns/plugins-1.3; 
 xmlns:ns16_=http://geronimo.apache.org/xml/ns/attributes-1.2; 
 xmlns:ns14_=http://geronimo.apache.org/xml/ns/attributes-1.2; 
 xmlns:ns12_=http://geronimo.apache.org/xml/ns/attributes-1.2; 
 xmlns:ns10_=http://geronimo.apache.org/xml/ns/attributes-1.2;
 ns:property name=usernamesystem/ns:property
 ns:property name=passwordmanager/ns:property
 ns:property name=protocolrmi/ns:property
 ns:property name=host9.186.10.167/ns:property
 ns:property name=port1099/ns:property
 ns:property name=urlPathJMXConnector/ns:property
 ns:property name=localfalse/ns:property
   /ns:javabean
 /attribute
 /gbean
 gbean name=NodeInfo
 attribute name=name${ClusterNodeName}/attribute
 /gbean
 gbean name=ClusterInfo
 attribute name=name${FarmName}/attribute
 /gbean
 /module
 ...
 WinXP as node 1
 WinXp. as node 1
 ..
 module name=org.apache.geronimo.configs/farming/2.2-SNAPSHOT/car
 gbean 
 name=org.apache.geronimo.configs/farming/2.2-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/farming/2.2-SNAPSHOT/car,j2eeType=GBean,name=Node2
  gbeanInfo=org.apache.geronimo.farm.config.BasicNodeInfo
 attribute name=nameNODE2/attribute
 attribute 
 propertyEditor=org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfoEditor
  name=extendedJMXConnectorInfo
 ns:javabean 
 class=org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfo 
 xmlns= xmlns:ns20=http://geronimo.apache.org/xml/ns/attributes-1.2; 
 xmlns:ns10=http://geronimo.apache.org/xml/ns/attributes-1.2; 
 xmlns:ns22=http://geronimo.apache.org/xml/ns/plugins-1.3; 
 xmlns:ns=http://geronimo.apache.org/xml/ns/deployment/javabean-1.0; 
 xmlns:ns12=http://geronimo.apache.org/xml/ns/plugins-1.3; 
 xmlns:ns14=http://geronimo.apache.org/xml/ns/plugins-1.3; 
 xmlns:ns16=http://geronimo.apache.org/xml/ns/plugins-1.3; 
 xmlns:ns18=http://geronimo.apache.org/xml/ns/plugins-1.3; 
 xmlns:ns19=http://geronimo.apache.org/xml/ns/attributes-1.2; 
 xmlns:ns6_=http://geronimo.apache.org/xml/ns/attributes-1.2; 
 xmlns:ns4=http://geronimo.apache.org/xml/ns/attributes-1.2; 
 xmlns:ns6=http://geronimo.apache.org/xml/ns/plugins-1.3; 
 xmlns:ns7=http://geronimo.apache.org/xml/ns/attributes-1.2; 
 xmlns:ns8=http://geronimo.apache.org/xml/ns/attributes-1.2; 
 xmlns:ns18_=http://geronimo.apache.org/xml/ns/attributes-1.2; 
 xmlns:ns9=http://geronimo.apache.org/xml/ns/attributes-1.2; 
 xmlns:ns16_=http://geronimo.apache.org/xml/ns/attributes-1.2; 
 xmlns:ns14_=http://geronimo.apache.org/xml/ns/attributes-1.2; 
 xmlns:ns12_=http://geronimo.apache.org/xml/ns/attributes-1.2; 
 xmlns:ns22_=http://geronimo.apache.org/xml/ns/attributes-1.2;
 ns:property name=usernamesystem/ns:property

[jira] Commented: (GERONIMO-4892) Farm Deployment Error if deploy more than one applications

2009-10-27 Thread Amit puri (JIRA)

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

Amit puri commented on GERONIMO-4892:
-

I am facing same problem in Geronimo 2.1.4 as well when I tried two war files. 
Here Application get deployed on all the cluster members but did not start 
because of this error(org.apache.geronimo.kernel.GBeanAlreadyExistsException: 
GBean already registered: geronimo:J2EEServer=geronimo,nodeName=NODE-B) When I 
started the second application from Admin console of individual server 
instances, it started fine without any exception.

 Farm Deployment Error if deploy more than one applications
 --

 Key: GERONIMO-4892
 URL: https://issues.apache.org/jira/browse/GERONIMO-4892
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: commands
Affects Versions: 2.2
 Environment: oS: winxp  and win2003
Reporter: viola.lu
 Attachments: TwoFarm.zip


 Win2003 as master node( NODE2) with config.xml
 ...
 module name=org.apache.geronimo.configs/farming/2.2-SNAPSHOT/car
 gbean 
 name=org.apache.geronimo.configs/farming/2.2-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/farming/2.2-SNAPSHOT/car,j2eeType=GBean,name=Node1
  gbeanInfo=org.apache.geronimo.farm.config.BasicNodeInfo
 attribute name=nameNODE1/attribute
 attribute 
 propertyEditor=org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfoEditor
  name=extendedJMXConnectorInfo
 ns:javabean 
 class=org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfo 
 xmlns= xmlns:ns10=http://geronimo.apache.org/xml/ns/plugins-1.3; 
 xmlns:ns=http://geronimo.apache.org/xml/ns/deployment/javabean-1.0; 
 xmlns:ns12=http://geronimo.apache.org/xml/ns/plugins-1.3; 
 xmlns:ns14=http://geronimo.apache.org/xml/ns/plugins-1.3; 
 xmlns:ns16=http://geronimo.apache.org/xml/ns/plugins-1.3; 
 xmlns:ns8_=http://geronimo.apache.org/xml/ns/attributes-1.2; 
 xmlns:ns6_=http://geronimo.apache.org/xml/ns/attributes-1.2; 
 xmlns:ns4=http://geronimo.apache.org/xml/ns/attributes-1.2; 
 xmlns:ns6=http://geronimo.apache.org/xml/ns/plugins-1.3; 
 xmlns:ns8=http://geronimo.apache.org/xml/ns/plugins-1.3; 
 xmlns:ns16_=http://geronimo.apache.org/xml/ns/attributes-1.2; 
 xmlns:ns14_=http://geronimo.apache.org/xml/ns/attributes-1.2; 
 xmlns:ns12_=http://geronimo.apache.org/xml/ns/attributes-1.2; 
 xmlns:ns10_=http://geronimo.apache.org/xml/ns/attributes-1.2;
 ns:property name=usernamesystem/ns:property
 ns:property name=passwordmanager/ns:property
 ns:property name=protocolrmi/ns:property
 ns:property name=host9.186.10.167/ns:property
 ns:property name=port1099/ns:property
 ns:property name=urlPathJMXConnector/ns:property
 ns:property name=localfalse/ns:property
   /ns:javabean
 /attribute
 /gbean
 gbean name=NodeInfo
 attribute name=name${ClusterNodeName}/attribute
 /gbean
 gbean name=ClusterInfo
 attribute name=name${FarmName}/attribute
 /gbean
 /module
 ...
 WinXP as node 1
 WinXp. as node 1
 ..
 module name=org.apache.geronimo.configs/farming/2.2-SNAPSHOT/car
 gbean 
 name=org.apache.geronimo.configs/farming/2.2-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/farming/2.2-SNAPSHOT/car,j2eeType=GBean,name=Node2
  gbeanInfo=org.apache.geronimo.farm.config.BasicNodeInfo
 attribute name=nameNODE2/attribute
 attribute 
 propertyEditor=org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfoEditor
  name=extendedJMXConnectorInfo
 ns:javabean 
 class=org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfo 
 xmlns= xmlns:ns20=http://geronimo.apache.org/xml/ns/attributes-1.2; 
 xmlns:ns10=http://geronimo.apache.org/xml/ns/attributes-1.2; 
 xmlns:ns22=http://geronimo.apache.org/xml/ns/plugins-1.3; 
 xmlns:ns=http://geronimo.apache.org/xml/ns/deployment/javabean-1.0; 
 xmlns:ns12=http://geronimo.apache.org/xml/ns/plugins-1.3; 
 xmlns:ns14=http://geronimo.apache.org/xml/ns/plugins-1.3; 
 xmlns:ns16=http://geronimo.apache.org/xml/ns/plugins-1.3; 
 xmlns:ns18=http://geronimo.apache.org/xml/ns/plugins-1.3; 
 xmlns:ns19=http://geronimo.apache.org/xml/ns/attributes-1.2; 
 xmlns:ns6_=http://geronimo.apache.org/xml/ns/attributes-1.2; 
 xmlns:ns4=http://geronimo.apache.org/xml/ns/attributes-1.2; 
 xmlns:ns6=http://geronimo.apache.org/xml/ns/plugins-1.3; 
 xmlns:ns7=http://geronimo.apache.org/xml/ns/attributes-1.2; 
 xmlns:ns8=http://geronimo.apache.org/xml/ns/attributes-1.2; 
 xmlns:ns18_=http://geronimo.apache.org/xml/ns/attributes-1.2; 
 xmlns:ns9=http://geronimo.apache.org/xml/ns

[jira] Created: (GERONIMO-4900) MissingDependencyException while deploying EAR in Clustering Environment

2009-10-01 Thread Amit puri (JIRA)
MissingDependencyException while deploying EAR in Clustering Environment


 Key: GERONIMO-4900
 URL: https://issues.apache.org/jira/browse/GERONIMO-4900
 Project: Geronimo
  Issue Type: Bug
  Security Level: public (Regular issues)
  Components: Clustering
Affects Versions: 2.1.4
Reporter: Amit puri


1. Installed two geronimo instances A and B at different paths

2. Made the following changes to Geronimo A
   For var\config\config-substitutions.properties
   clusterNodeName=NODE -- clusterNodeName=NODE-A

   For var\config\config.xml, add the following contents to module: 
org.apache.geronimo.configs/farming/2.1.4/car
-
gbean 
name=org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=NodeInfo,name=NODE-B
 gbeanInfo=org.apache.geronimo.farm.config.BasicNodeInfo
attribute name=nameNODE-B/attribute
attribute 
propertyEditor=org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfoEditor
 name=extendedJMXConnectorInfo
ns:javabean 
class=org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfo 
xmlns:ns4=http://geronimo.apache.org/xml/ns/attributes-1.2; 
xmlns:ns=http://geronimo.apache.org/xml/ns/deployment/javabean-1.0; xmlns=
ns:property name=usernamesystem/ns:property
ns:property name=passwordmanager/ns:property
ns:property name=protocolrmi/ns:property
ns:property name=hostlocalhost/ns:property
ns:property name=port1109/ns:property
ns:property name=urlPathJMXConnector/ns:property
ns:property name=localfalse/ns:property
  /ns:javabean/attribute
/gbean
-

3. Made the following changes to Geronimo B
   For var\config\config-substitutions.properties
   clusterNodeName=NODE -- clusterNodeName=NODE-B
   PortOffset=0 -- PortOffset=10

   For var\config\config.xml, add the following contents to module: 
org.apache.geronimo.configs/farming/2.1.4/car
-
gbean 
name=org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=NodeInfo,name=NODE-A
 gbeanInfo=org.apache.geronimo.farm.config.BasicNodeInfo
attribute name=nameNODE-A/attribute
attribute 
propertyEditor=org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfoEditor
 name=extendedJMXConnectorInfo
ns:javabean 
class=org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfo 
xmlns:ns4=http://geronimo.apache.org/xml/ns/attributes-1.2; 
xmlns:ns=http://geronimo.apache.org/xml/ns/deployment/javabean-1.0; xmlns=
ns:property name=usernamesystem/ns:property
ns:property name=passwordmanager/ns:property
ns:property name=protocolrmi/ns:property
ns:property name=hostlocalhost/ns:property
ns:property name=port1099/ns:property
ns:property name=urlPathJMXConnector/ns:property
ns:property name=localfalse/ns:property
  /ns:javabean/attribute
/gbean
-

4. Started both Geronimo A and B

5. Ran the following commands in Geronimo_A_Path\bin
   deploy --user system --password manager start 
org.apache.geronimo.configs/farming/2.1.4/car
   deploy --user system --password manager --port 1109 start 
org.apache.geronimo.configs/farming/2.1.4/car

6. Deployed one sample ClusterTestEAR.ear in Geronimo_A_Path\bin

deploy --user system --password manager deploy --targets  
org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=ConfigurationStore,name=MasterConfigurationStore
 PATH_SAMPLE\ClusterTestEAR.ear

Output:

A) Errors in Geronimo A geronimo.log

 INFO  [BasicClusterConfigurationStoreClient] Upload of configuration 
[default/ClusterTestEAR_G_SLAVE/1.0/ear] - [File(s) transferred to server.  
Resuming deployment operation.]
 INFO  [BasicClusterConfigurationController] Exception while starting 
configuration [default/ClusterTestEAR_G_SLAVE/1.0/ear] on [NODE-B]. Ignoring.
org.apache.geronimo.kernel.config.LifecycleException: load of 
default/ClusterTestEAR_G_SLAVE/1.0/ear failed

Caused by: 
org.apache.geronimo.kernel.config.InvalidConfigException: Error starting 
configuration gbean default/ClusterTestEAR_G_SLAVE/1.0/ear
at 
org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:181

[jira] Updated: (GERONIMO-4900) MissingDependencyException while deploying EAR in Clustering Environment

2009-10-01 Thread Amit puri (JIRA)

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

Amit puri updated GERONIMO-4900:


Attachment: ClusterTestEAR.ear

 MissingDependencyException while deploying EAR in Clustering Environment
 

 Key: GERONIMO-4900
 URL: https://issues.apache.org/jira/browse/GERONIMO-4900
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: Clustering
Affects Versions: 2.1.4
Reporter: Amit puri
 Attachments: ClusterTestEAR.ear


 1. Installed two geronimo instances A and B at different paths
 2. Made the following changes to Geronimo A
For var\config\config-substitutions.properties
clusterNodeName=NODE -- clusterNodeName=NODE-A
For var\config\config.xml, add the following contents to module: 
 org.apache.geronimo.configs/farming/2.1.4/car
 -
 gbean 
 name=org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=NodeInfo,name=NODE-B
  gbeanInfo=org.apache.geronimo.farm.config.BasicNodeInfo
 attribute name=nameNODE-B/attribute
 attribute 
 propertyEditor=org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfoEditor
  name=extendedJMXConnectorInfo
 ns:javabean 
 class=org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfo 
 xmlns:ns4=http://geronimo.apache.org/xml/ns/attributes-1.2; 
 xmlns:ns=http://geronimo.apache.org/xml/ns/deployment/javabean-1.0; xmlns=
 ns:property name=usernamesystem/ns:property
 ns:property name=passwordmanager/ns:property
 ns:property name=protocolrmi/ns:property
 ns:property name=hostlocalhost/ns:property
 ns:property name=port1109/ns:property
 ns:property name=urlPathJMXConnector/ns:property
 ns:property name=localfalse/ns:property
   /ns:javabean/attribute
 /gbean
 -
 3. Made the following changes to Geronimo B
For var\config\config-substitutions.properties
clusterNodeName=NODE -- clusterNodeName=NODE-B
PortOffset=0 -- PortOffset=10
For var\config\config.xml, add the following contents to module: 
 org.apache.geronimo.configs/farming/2.1.4/car
 -
 gbean 
 name=org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=NodeInfo,name=NODE-A
  gbeanInfo=org.apache.geronimo.farm.config.BasicNodeInfo
 attribute name=nameNODE-A/attribute
 attribute 
 propertyEditor=org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfoEditor
  name=extendedJMXConnectorInfo
 ns:javabean 
 class=org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfo 
 xmlns:ns4=http://geronimo.apache.org/xml/ns/attributes-1.2; 
 xmlns:ns=http://geronimo.apache.org/xml/ns/deployment/javabean-1.0; xmlns=
 ns:property name=usernamesystem/ns:property
 ns:property name=passwordmanager/ns:property
 ns:property name=protocolrmi/ns:property
 ns:property name=hostlocalhost/ns:property
 ns:property name=port1099/ns:property
 ns:property name=urlPathJMXConnector/ns:property
 ns:property name=localfalse/ns:property
   /ns:javabean/attribute
 /gbean
 -
 4. Started both Geronimo A and B
 5. Ran the following commands in Geronimo_A_Path\bin
deploy --user system --password manager start 
 org.apache.geronimo.configs/farming/2.1.4/car
deploy --user system --password manager --port 1109 start 
 org.apache.geronimo.configs/farming/2.1.4/car
 6. Deployed one sample ClusterTestEAR.ear in Geronimo_A_Path\bin
 deploy --user system --password manager deploy --targets  
 org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=ConfigurationStore,name=MasterConfigurationStore
  PATH_SAMPLE\ClusterTestEAR.ear
 Output:
 A) Errors in Geronimo A geronimo.log
  INFO  [BasicClusterConfigurationStoreClient] Upload of configuration 
 [default/ClusterTestEAR_G_SLAVE/1.0/ear] - [File(s) transferred to server.  
 Resuming deployment operation.]
  INFO  [BasicClusterConfigurationController] Exception while starting 
 configuration [default/ClusterTestEAR_G_SLAVE/1.0/ear] on [NODE-B]. Ignoring.
 org.apache.geronimo.kernel.config.LifecycleException: load of 
 default

[jira] Created: (GERONIMO-4840) DBWizard Portlet issue : NullPointerException when trying to create the datasource for SQL Server with jTDS Driver

2009-09-02 Thread Amit puri (JIRA)
DBWizard Portlet issue : NullPointerException when trying to create the 
datasource for SQL Server with jTDS Driver 
---

 Key: GERONIMO-4840
 URL: https://issues.apache.org/jira/browse/GERONIMO-4840
 Project: Geronimo
  Issue Type: Bug
  Security Level: public (Regular issues)
  Components: console
Affects Versions: 2.1
 Environment: Geronimo 2.1.4 - 2009.03.26-16:45:43.658-0400

java version 1.6.0
Java(TM) SE Runtime Environment (build pwi3260sr5-20090529_04(SR5))
IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 Windows XP x86-32 jvmwi3260sr5-20090
519_35743 (JIT enabled, AOT enabled)
J9VM - 20090519_035743_lHdSMr
JIT  - r9_20090518_2017
GC   - 20090417_AA)
JCL  - 20090529_01
Reporter: Amit puri
 Fix For: 2.2


DBWizard Portlet issue : NullPointerException when trying to create the 
datasource for SQL Server with jTDS Driver 

From Geronimo Admin console, we try to create datasource for SQL Server using 
jTDS JDBC driver. We selected SQL Server(jTDS) as the type of database. When 
we click test the connection it works fine but when we click either deploy or 
test plan, we get the following exception: 

2009-09-02 13:38:50,796 ERROR [[DBWizard]] Servlet.service() for servlet 
DBWizard threw exception
java.lang.NullPointerException
at 
org.apache.geronimo.console.databasemanager.wizard.DatabasePoolPortlet.save(DatabasePoolPortlet.java:963)
at 
org.apache.geronimo.console.databasemanager.wizard.DatabasePoolPortlet.processAction(DatabasePoolPortlet.java:372)
at 
org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:218)
at org.apache.pluto.core.PortletServlet.doPost(PortletServlet.java:145)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
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:630)
at 
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:535)
at 
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:472)
at 
org.apache.pluto.core.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:167)
at 
org.apache.pluto.core.DefaultPortletInvokerService.action(DefaultPortletInvokerService.java:85)
at 
org.apache.pluto.core.PortletContainerImpl.doAction(PortletContainerImpl.java:219)
at 
org.apache.pluto.driver.PortalDriverServlet.doGet(PortalDriverServlet.java:121)
at 
org.apache.pluto.driver.PortalDriverServlet.doPost(PortalDriverServlet.java:167)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
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.geronimo.console.filter.XSSXSRFFilter.doFilter(XSSXSRFFilter.java:125)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at 
org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSubjectValve.java:56)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
at 
org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:406)
at 
org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:47)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583