[jira] Commented: (GERONIMO-2964) Cannot specify the Tomcat work directory for a web application
[ https://issues.apache.org/jira/browse/GERONIMO-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12532728 ] Donald Woods commented on GERONIMO-2964: Is all the required work for this in 2.0.2 complete? Cannot specify the Tomcat work directory for a web application -- Key: GERONIMO-2964 URL: https://issues.apache.org/jira/browse/GERONIMO-2964 Project: Geronimo Issue Type: Improvement Security Level: public(Regular issues) Components: Tomcat Affects Versions: 1.2, 2.0-M5 Reporter: Aman Nanner Assignee: Vamsavardhana Reddy Priority: Minor Fix For: 2.0.2, 2.1 Attachments: g2964.war, GERONIMO-2964-2.0-w-cons-change.patch, GERONIMO-2964-2.0.patch, GERONIMO-2964-combined-new.patch, GERONIMO-2964-combined.patch, GERONIMO-2964-trunk.patch, GERONIMO-2964.patch, suid.patch, tomcat-config-workdir.patch, tomcat-workdir.patch In Tomcat, a work directory can be specified for a web application in a WEB-INF/context.xml file. The GeronimoStandardContext does not permit the user to specify a work directory, and so the work directory defaults to var/catalina/work/web-app. I've submitted a patch file that modifies the geronimo-tomcat-1.2 schema to permit the user to optionally specify a work directory. This work directory is then propagated into the TomcatContext. I've tested this and it seems to work well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-2964) Cannot specify the Tomcat work directory for a web application
[ https://issues.apache.org/jira/browse/GERONIMO-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12529134 ] Vamsavardhana Reddy commented on GERONIMO-2964: --- No one has objected to using GERONIMO-2964-2.0-w-cons-change.patch instead of GERONIMO-2964-2.0.patch on branches\2.0. GERONIMO-2964-trunk.patch committed in rev 577801. GERONIMO-2964-2.0-w-cons-change.patch committed in rev 577803. Schema name change is pending. Cannot specify the Tomcat work directory for a web application -- Key: GERONIMO-2964 URL: https://issues.apache.org/jira/browse/GERONIMO-2964 Project: Geronimo Issue Type: Improvement Security Level: public(Regular issues) Components: Tomcat Affects Versions: 1.2, 2.0-M5 Reporter: Aman Nanner Assignee: Vamsavardhana Reddy Priority: Minor Fix For: 2.0.2, 2.0.x, 2.1 Attachments: g2964.war, GERONIMO-2964-2.0-w-cons-change.patch, GERONIMO-2964-2.0.patch, GERONIMO-2964-combined-new.patch, GERONIMO-2964-combined.patch, GERONIMO-2964-trunk.patch, GERONIMO-2964.patch, suid.patch, tomcat-config-workdir.patch, tomcat-workdir.patch In Tomcat, a work directory can be specified for a web application in a WEB-INF/context.xml file. The GeronimoStandardContext does not permit the user to specify a work directory, and so the work directory defaults to var/catalina/work/web-app. I've submitted a patch file that modifies the geronimo-tomcat-1.2 schema to permit the user to optionally specify a work directory. This work directory is then propagated into the TomcatContext. I've tested this and it seems to work well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-2964) Cannot specify the Tomcat work directory for a web application
[ https://issues.apache.org/jira/browse/GERONIMO-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12529230 ] Vamsavardhana Reddy commented on GERONIMO-2964: --- Schemas renamed in rev 577890. Cannot specify the Tomcat work directory for a web application -- Key: GERONIMO-2964 URL: https://issues.apache.org/jira/browse/GERONIMO-2964 Project: Geronimo Issue Type: Improvement Security Level: public(Regular issues) Components: Tomcat Affects Versions: 1.2, 2.0-M5 Reporter: Aman Nanner Assignee: Vamsavardhana Reddy Priority: Minor Fix For: 2.0.2, 2.0.x, 2.1 Attachments: g2964.war, GERONIMO-2964-2.0-w-cons-change.patch, GERONIMO-2964-2.0.patch, GERONIMO-2964-combined-new.patch, GERONIMO-2964-combined.patch, GERONIMO-2964-trunk.patch, GERONIMO-2964.patch, suid.patch, tomcat-config-workdir.patch, tomcat-workdir.patch In Tomcat, a work directory can be specified for a web application in a WEB-INF/context.xml file. The GeronimoStandardContext does not permit the user to specify a work directory, and so the work directory defaults to var/catalina/work/web-app. I've submitted a patch file that modifies the geronimo-tomcat-1.2 schema to permit the user to optionally specify a work directory. This work directory is then propagated into the TomcatContext. I've tested this and it seems to work well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-2964) Cannot specify the Tomcat work directory for a web application
[ https://issues.apache.org/jira/browse/GERONIMO-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528065 ] Paul McMahan commented on GERONIMO-2964: Vamsi, that error messages looks related to http://svn.apache.org/viewvc?view=revrevision=568260 Cannot specify the Tomcat work directory for a web application -- Key: GERONIMO-2964 URL: https://issues.apache.org/jira/browse/GERONIMO-2964 Project: Geronimo Issue Type: Improvement Security Level: public(Regular issues) Components: Tomcat Affects Versions: 1.2, 2.0-M5 Reporter: Aman Nanner Assignee: Vamsavardhana Reddy Priority: Minor Fix For: 2.0.2, 2.0.x, 2.1 Attachments: g2964.war, GERONIMO-2964-2.0-w-cons-change.patch, GERONIMO-2964-2.0.patch, GERONIMO-2964-combined-new.patch, GERONIMO-2964-combined.patch, GERONIMO-2964-trunk.patch, GERONIMO-2964.patch, suid.patch, tomcat-config-workdir.patch, tomcat-workdir.patch In Tomcat, a work directory can be specified for a web application in a WEB-INF/context.xml file. The GeronimoStandardContext does not permit the user to specify a work directory, and so the work directory defaults to var/catalina/work/web-app. I've submitted a patch file that modifies the geronimo-tomcat-1.2 schema to permit the user to optionally specify a work directory. This work directory is then propagated into the TomcatContext. I've tested this and it seems to work well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-2964) Cannot specify the Tomcat work directory for a web application
[ https://issues.apache.org/jira/browse/GERONIMO-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528080 ] Vamsavardhana Reddy commented on GERONIMO-2964: --- Submitted the last comment accidentally and here is the continuation... 2. ... and the changing geronimo-tomcat-config-1.0.xsd is not necessary. Note: The patches do not address renaming the schemas which will be done at commit. If someone is still concerned about backward compatibility of plugins, I will use (1)GERONIMO-2964-2.0.patch on branches\2.0 instead of (2). Cannot specify the Tomcat work directory for a web application -- Key: GERONIMO-2964 URL: https://issues.apache.org/jira/browse/GERONIMO-2964 Project: Geronimo Issue Type: Improvement Security Level: public(Regular issues) Components: Tomcat Affects Versions: 1.2, 2.0-M5 Reporter: Aman Nanner Assignee: Vamsavardhana Reddy Priority: Minor Fix For: 2.0.2, 2.0.x, 2.1 Attachments: g2964.war, GERONIMO-2964-2.0-w-cons-change.patch, GERONIMO-2964-2.0.patch, GERONIMO-2964-combined-new.patch, GERONIMO-2964-combined.patch, GERONIMO-2964-trunk.patch, GERONIMO-2964.patch, suid.patch, tomcat-config-workdir.patch, tomcat-workdir.patch In Tomcat, a work directory can be specified for a web application in a WEB-INF/context.xml file. The GeronimoStandardContext does not permit the user to specify a work directory, and so the work directory defaults to var/catalina/work/web-app. I've submitted a patch file that modifies the geronimo-tomcat-1.2 schema to permit the user to optionally specify a work directory. This work directory is then propagated into the TomcatContext. I've tested this and it seems to work well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-2964) Cannot specify the Tomcat work directory for a web application
[ https://issues.apache.org/jira/browse/GERONIMO-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528088 ] Vamsavardhana Reddy commented on GERONIMO-2964: --- Please see the comments above. If you have a concern with using GERONIMO-2964-2.0-w-cons-change.patch instead of GERONIMO-2964-2.0.patch on branches\2.0, please voice it now. I will commit the patches at or after 20-Sep-07 20:30 IST (GMT+5:30) . Cannot specify the Tomcat work directory for a web application -- Key: GERONIMO-2964 URL: https://issues.apache.org/jira/browse/GERONIMO-2964 Project: Geronimo Issue Type: Improvement Security Level: public(Regular issues) Components: Tomcat Affects Versions: 1.2, 2.0-M5 Reporter: Aman Nanner Assignee: Vamsavardhana Reddy Priority: Minor Fix For: 2.0.2, 2.0.x, 2.1 Attachments: g2964.war, GERONIMO-2964-2.0-w-cons-change.patch, GERONIMO-2964-2.0.patch, GERONIMO-2964-combined-new.patch, GERONIMO-2964-combined.patch, GERONIMO-2964-trunk.patch, GERONIMO-2964.patch, suid.patch, tomcat-config-workdir.patch, tomcat-workdir.patch In Tomcat, a work directory can be specified for a web application in a WEB-INF/context.xml file. The GeronimoStandardContext does not permit the user to specify a work directory, and so the work directory defaults to var/catalina/work/web-app. I've submitted a patch file that modifies the geronimo-tomcat-1.2 schema to permit the user to optionally specify a work directory. This work directory is then propagated into the TomcatContext. I've tested this and it seems to work well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-2964) Cannot specify the Tomcat work directory for a web application
[ https://issues.apache.org/jira/browse/GERONIMO-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528079 ] Vamsavardhana Reddy commented on GERONIMO-2964: --- I have attached three patches this time: 1. GERONIMO-2964-2.0.patch: Solves the problem without any constructor or method changes that come in the way of backward compatibility of plugins and to be used on branches\2.0 2. GERONIMO-2964-2.0-w-cons-change.patch: Solves the problem without worrying about anything breaking backward compatibility of plugins as something else seem to break it anyways and also servlet-examples, jsp-examples plugins from 2.0.1 won't run because of the default-subject in the plan. What other plugins do I need to worry about? 3. GERONIMO-2964-trunk.patch: It is essentially (2) above but I had to create a new one coz (2) won't apply neatly on trunk. Here is what these patches solve. They provide for a work-dir tag in web app plans. If the tag is omitted, the behaviour is as it currently exists. If the tag is specified (with value 'myworkdir' say), in G/Tomcat, var/catalina/myworkdir will be used as the work dir for the app and in G/Jetty var/jetty/myworkdir will be used. What's new from the previous patches: 1. David Jencks objected to using jetty.home system property. So, it is no longer used. 2. David Jencks suggested changing geronimo-web-2.0.xsd and Cannot specify the Tomcat work directory for a web application -- Key: GERONIMO-2964 URL: https://issues.apache.org/jira/browse/GERONIMO-2964 Project: Geronimo Issue Type: Improvement Security Level: public(Regular issues) Components: Tomcat Affects Versions: 1.2, 2.0-M5 Reporter: Aman Nanner Assignee: Vamsavardhana Reddy Priority: Minor Fix For: 2.0.2, 2.0.x, 2.1 Attachments: g2964.war, GERONIMO-2964-2.0-w-cons-change.patch, GERONIMO-2964-2.0.patch, GERONIMO-2964-combined-new.patch, GERONIMO-2964-combined.patch, GERONIMO-2964-trunk.patch, GERONIMO-2964.patch, suid.patch, tomcat-config-workdir.patch, tomcat-workdir.patch In Tomcat, a work directory can be specified for a web application in a WEB-INF/context.xml file. The GeronimoStandardContext does not permit the user to specify a work directory, and so the work directory defaults to var/catalina/work/web-app. I've submitted a patch file that modifies the geronimo-tomcat-1.2 schema to permit the user to optionally specify a work directory. This work directory is then propagated into the TomcatContext. I've tested this and it seems to work well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-2964) Cannot specify the Tomcat work directory for a web application
[ https://issues.apache.org/jira/browse/GERONIMO-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12527841 ] Vamsavardhana Reddy commented on GERONIMO-2964: --- Forget about startup failures on G2.0.1-Jetty while installing servlet-examples and jsp-examples plugins, they won't even install because geronimo-plugin.xml uses a prerequisite org.apache.geronimo.configs/jetty//car!!. See http://svn.apache.org/viewvc?rev=576065view=rev After fixing the prereq id, I hit the startup error Unknown realm: geronimo-admin. Cannot specify the Tomcat work directory for a web application -- Key: GERONIMO-2964 URL: https://issues.apache.org/jira/browse/GERONIMO-2964 Project: Geronimo Issue Type: Improvement Security Level: public(Regular issues) Components: Tomcat Affects Versions: 1.2, 2.0-M5 Reporter: Aman Nanner Assignee: Vamsavardhana Reddy Priority: Minor Fix For: 2.0.2, 2.0.x, 2.1 Attachments: g2964.war, GERONIMO-2964-combined-new.patch, GERONIMO-2964-combined.patch, GERONIMO-2964.patch, tomcat-config-workdir.patch, tomcat-workdir.patch In Tomcat, a work directory can be specified for a web application in a WEB-INF/context.xml file. The GeronimoStandardContext does not permit the user to specify a work directory, and so the work directory defaults to var/catalina/work/web-app. I've submitted a patch file that modifies the geronimo-tomcat-1.2 schema to permit the user to optionally specify a work directory. This work directory is then propagated into the TomcatContext. I've tested this and it seems to work well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-2964) Cannot specify the Tomcat work directory for a web application
[ https://issues.apache.org/jira/browse/GERONIMO-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12527744 ] Vamsavardhana Reddy commented on GERONIMO-2964: --- The stacktrace I posted earlier was from the plugin installer window. Here is the one from server window: ERROR - Error while starting; GBean is now in the FAILED state: abstractName=or g.apache.geronimo.configs/servlet-examples-tomcat/2.0.1/car?configurationName=or g.apache.geronimo.configs/servlet-examples-tomcat/2.0.1/car org.apache.geronimo.kernel.config.InvalidConfigException: Unable to deserialize GBeanState in classloader: [org.apache.geronimo.kernel.classloader.JarFileClassL oader id=org.apache.geronimo.configs/servlet-examples-tomcat/2.0.1/car] at org.apache.geronimo.kernel.config.SerializedGBeanState.loadGBeans(Ser ializedGBeanState.java:124) at org.apache.geronimo.kernel.config.SerializedGBeanState.getGBeans(Seri alizedGBeanState.java:65) at org.apache.geronimo.kernel.config.ConfigurationData.getGBeans(Configu rationData.java:171) at org.apache.geronimo.kernel.config.Configuration.init(Configuration. java:278) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct orAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC onstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanI nstance.java:946) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart (GBeanInstanceState.java:268) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta nceState.java:102) at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.j ava:539) at org.apache.geronimo.kernel.basic.BasicKernel.startGBean(BasicKernel.j ava:361) at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(Ker nelConfigurationManager.java:160) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf iguration(SimpleConfigurationManager.java:310) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf iguration(SimpleConfigurationManager.java:278) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf iguration(SimpleConfigurationManager.java:253) at org.apache.geronimo.kernel.config.KernelConfigurationManager.loadConf iguration(KernelConfigurationManager.java:111) at org.apache.geronimo.kernel.config.KernelConfigurationManager$$FastCla ssByCGLIB$$b117102f.invoke(generated) at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod Invoker.java:38) at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio n.java:124) at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance. java:865) at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java: 239) at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:342) at org.apache.geronimo.kernel.KernelGBean$$FastClassByCGLIB$$1cccefc9.in voke(generated) at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod Invoker.java:38) at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio n.java:124) at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance. java:865) at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java: 239) at org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBrid ge.java:168) at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImp l.java:213) at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultM BeanServerInterceptor.java:815) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784 ) at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnecti onImpl.java:1408) at javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectio nImpl.java:81) at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run (RMIConnectionImpl.java:1245) at java.security.AccessController.doPrivileged(Native Method) at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(R MIConnectionImpl.java:1348) at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImp l.java:782) at sun.reflect.GeneratedMethodAccessor191.invoke(Unknown Source)
[jira] Commented: (GERONIMO-2964) Cannot specify the Tomcat work directory for a web application
[ https://issues.apache.org/jira/browse/GERONIMO-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12527749 ] Anita Kulshreshtha commented on GERONIMO-2964: -- Vamsi thanks! Could you please add SUID to Holder class in g-j2ee and retest? Caused by: java.io.InvalidClassException: org.apache.geronimo.j2ee.annotation.Ho lder; local class incompatible: stream classdesc serialVersionUID = 822160424416 6047988, local class serialVersionUID = 6192393604530969651 at We need to more careful about modifying serializable classes. Cannot specify the Tomcat work directory for a web application -- Key: GERONIMO-2964 URL: https://issues.apache.org/jira/browse/GERONIMO-2964 Project: Geronimo Issue Type: Improvement Security Level: public(Regular issues) Components: Tomcat Affects Versions: 1.2, 2.0-M5 Reporter: Aman Nanner Priority: Minor Fix For: 1.2, 2.1 Attachments: g2964.war, GERONIMO-2964-combined-new.patch, GERONIMO-2964-combined.patch, GERONIMO-2964.patch, tomcat-config-workdir.patch, tomcat-workdir.patch In Tomcat, a work directory can be specified for a web application in a WEB-INF/context.xml file. The GeronimoStandardContext does not permit the user to specify a work directory, and so the work directory defaults to var/catalina/work/web-app. I've submitted a patch file that modifies the geronimo-tomcat-1.2 schema to permit the user to optionally specify a work directory. This work directory is then propagated into the TomcatContext. I've tested this and it seems to work well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-2964) Cannot specify the Tomcat work directory for a web application
[ https://issues.apache.org/jira/browse/GERONIMO-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12527757 ] Vamsavardhana Reddy commented on GERONIMO-2964: --- Anitha, I have proposed two patches. One with TomcatWebAppContext constructor change and one without the constructor change. With the SUID changed, I got past the deserialization problem, but hit the following error with clean 2.0.2-SNAPSHOT as well (2.0.2-SNAPSHOT+Patch without the constructor change). I changed the SUID and ran into another error. Stack trace given below: org.apache.geronimo.kernel.config.LifecycleException: start of org.apache.geroni mo.configs/servlet-examples-tomcat/2.0.1/car failed at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon figuration(SimpleConfigurationManager.java:547) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon figuration(SimpleConfigurationManager.java:511) at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastCla ssByCGLIB$$ce77a924.invoke(generated) at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod Invoker.java:38) at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio n.java:124) at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance. java:865) at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java: 239) at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:342) at org.apache.geronimo.kernel.KernelGBean$$FastClassByCGLIB$$1cccefc9.in voke(generated) at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod Invoker.java:38) at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio n.java:124) at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance. java:865) at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java: 239) at org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBrid ge.java:168) at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImp l.java:213) at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultM BeanServerInterceptor.java:815) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784 ) at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnecti onImpl.java:1408) at javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectio nImpl.java:81) at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run (RMIConnectionImpl.java:1245) at java.security.AccessController.doPrivileged(Native Method) at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(R MIConnectionImpl.java:1348) at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImp l.java:782) at sun.reflect.GeneratedMethodAccessor183.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294) at sun.rmi.transport.Transport$1.run(Transport.java:153) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:149) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4 66) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport .java:707) at java.lang.Thread.run(Thread.java:595) Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown sta rt exception at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio nGBeans(ConfigurationUtil.java:514) at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(Ke rnelConfigurationManager.java:187) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon figuration(SimpleConfigurationManager.java:530) ... 35 more Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Configuratio n org.apache.geronimo.configs/servlet-examples-tomcat/2.0.1/car failed to start due to the following reasons: The service J2EEApplication=null,WebModule=org.apache.geronimo.configs/servlet -examples-tomcat/2.0.1/car,j2eeType=JACCManager,name=JACCManager did not start b ecause Unknown realm: geronimo-admin The service J2EEApplication=null,j2eeType=WebModule,name=org.apache.geronimo.c onfigs/servlet-examples-tomcat/2.0.1/car did not start because
[jira] Commented: (GERONIMO-2964) Cannot specify the Tomcat work directory for a web application
[ https://issues.apache.org/jira/browse/GERONIMO-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12527758 ] Vamsavardhana Reddy commented on GERONIMO-2964: --- Donald, Incase of patch with constructor change I ran into the error Could not find a valid constructor for GBean: TomcatWebApplicationContext. I ran into another error once I got past this error by not changing the TomcatWebApplicationContext constructor (see my previous comment). Will it be possible for you to verify if GERONIMO-2964.patch breaks compatibility the way you originally tested the patch posted by Aman? Thank you, Cannot specify the Tomcat work directory for a web application -- Key: GERONIMO-2964 URL: https://issues.apache.org/jira/browse/GERONIMO-2964 Project: Geronimo Issue Type: Improvement Security Level: public(Regular issues) Components: Tomcat Affects Versions: 1.2, 2.0-M5 Reporter: Aman Nanner Priority: Minor Fix For: 1.2, 2.1 Attachments: g2964.war, GERONIMO-2964-combined-new.patch, GERONIMO-2964-combined.patch, GERONIMO-2964.patch, tomcat-config-workdir.patch, tomcat-workdir.patch In Tomcat, a work directory can be specified for a web application in a WEB-INF/context.xml file. The GeronimoStandardContext does not permit the user to specify a work directory, and so the work directory defaults to var/catalina/work/web-app. I've submitted a patch file that modifies the geronimo-tomcat-1.2 schema to permit the user to optionally specify a work directory. This work directory is then propagated into the TomcatContext. I've tested this and it seems to work well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-2964) Cannot specify the Tomcat work directory for a web application
[ https://issues.apache.org/jira/browse/GERONIMO-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12527760 ] Vamsavardhana Reddy commented on GERONIMO-2964: --- Got the same error at plugin startup Unknown realm: geronimo-admin on G2.0.1-Tomcat when trying to install servlet-examples-tomcat-2.0.1.car as a plugin. Has anyone been able to install servlet and jsp samples plugin on G2.0.1? If not, I wouldn't worry so much about backward compatibility as we will need to release new plugins for 2.0.2 anyway. Comments? Cannot specify the Tomcat work directory for a web application -- Key: GERONIMO-2964 URL: https://issues.apache.org/jira/browse/GERONIMO-2964 Project: Geronimo Issue Type: Improvement Security Level: public(Regular issues) Components: Tomcat Affects Versions: 1.2, 2.0-M5 Reporter: Aman Nanner Priority: Minor Fix For: 1.2, 2.1 Attachments: g2964.war, GERONIMO-2964-combined-new.patch, GERONIMO-2964-combined.patch, GERONIMO-2964.patch, tomcat-config-workdir.patch, tomcat-workdir.patch In Tomcat, a work directory can be specified for a web application in a WEB-INF/context.xml file. The GeronimoStandardContext does not permit the user to specify a work directory, and so the work directory defaults to var/catalina/work/web-app. I've submitted a patch file that modifies the geronimo-tomcat-1.2 schema to permit the user to optionally specify a work directory. This work directory is then propagated into the TomcatContext. I've tested this and it seems to work well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Re: [jira] Commented: (GERONIMO-2964) Cannot specify the Tomcat work directory for a web application
Donald, Just wondering whether you installed the plugin using Plugins portlet or using the command-line deployer. Were you able to install the servlet examples plugin prior to testing the patch provided by Aman? Vamsi On 9/16/07, Vamsavardhana Reddy (JIRA) [EMAIL PROTECTED] wrote: [ https://issues.apache.org/jira/browse/GERONIMO-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12527760] Vamsavardhana Reddy commented on GERONIMO-2964: --- Got the same error at plugin startup Unknown realm: geronimo-admin on G2.0.1-Tomcat when trying to install servlet-examples-tomcat-2.0.1.car as a plugin. Has anyone been able to install servlet and jsp samples plugin on G2.0.1? If not, I wouldn't worry so much about backward compatibility as we will need to release new plugins for 2.0.2 anyway. Comments? Cannot specify the Tomcat work directory for a web application -- Key: GERONIMO-2964 URL: https://issues.apache.org/jira/browse/GERONIMO-2964 Project: Geronimo Issue Type: Improvement Security Level: public(Regular issues) Components: Tomcat Affects Versions: 1.2, 2.0-M5 Reporter: Aman Nanner Priority: Minor Fix For: 1.2, 2.1 Attachments: g2964.war, GERONIMO-2964-combined-new.patch, GERONIMO-2964-combined.patch, GERONIMO-2964.patch, tomcat-config-workdir.patch, tomcat-workdir.patch In Tomcat, a work directory can be specified for a web application in a WEB-INF/context.xml file. The GeronimoStandardContext does not permit the user to specify a work directory, and so the work directory defaults to var/catalina/work/web-app. I've submitted a patch file that modifies the geronimo-tomcat-1.2 schema to permit the user to optionally specify a work directory. This work directory is then propagated into the TomcatContext. I've tested this and it seems to work well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-2964) Cannot specify the Tomcat work directory for a web application
[ https://issues.apache.org/jira/browse/GERONIMO-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12527805 ] Anita Kulshreshtha commented on GERONIMO-2964: -- I did not expect SUID change to work.. The Holder class http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-j2ee/src/main/java/org/apache/geronimo/j2ee/annotation/Holder.java?sortdir=downr1=566236r2=568253 changes a List to a Set, which is equivalent to deleting a field. This is not a compatible change as described here: http://java.sun.com/j2se/1.5.0/docs/guide/serialization/spec/version.html#6678 This is likely to produce unexpected behavior irrespective of your patch. If we want to promise upward compatibility to our users, we need to fix this. Cannot specify the Tomcat work directory for a web application -- Key: GERONIMO-2964 URL: https://issues.apache.org/jira/browse/GERONIMO-2964 Project: Geronimo Issue Type: Improvement Security Level: public(Regular issues) Components: Tomcat Affects Versions: 1.2, 2.0-M5 Reporter: Aman Nanner Assignee: Vamsavardhana Reddy Priority: Minor Fix For: 2.0.2, 2.0.x, 2.1 Attachments: g2964.war, GERONIMO-2964-combined-new.patch, GERONIMO-2964-combined.patch, GERONIMO-2964.patch, tomcat-config-workdir.patch, tomcat-workdir.patch In Tomcat, a work directory can be specified for a web application in a WEB-INF/context.xml file. The GeronimoStandardContext does not permit the user to specify a work directory, and so the work directory defaults to var/catalina/work/web-app. I've submitted a patch file that modifies the geronimo-tomcat-1.2 schema to permit the user to optionally specify a work directory. This work directory is then propagated into the TomcatContext. I've tested this and it seems to work well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-2964) Cannot specify the Tomcat work directory for a web application
[ https://issues.apache.org/jira/browse/GERONIMO-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12527823 ] Vamsavardhana Reddy commented on GERONIMO-2964: --- SUID change may or may not result in unexpected behavior in case of installing 2.0.1.car as plugin in 2.0.2-SNAPSHOT server. Are you able to figure why it is not working with the 2.0.1 server which comes from the same codebase? Cannot specify the Tomcat work directory for a web application -- Key: GERONIMO-2964 URL: https://issues.apache.org/jira/browse/GERONIMO-2964 Project: Geronimo Issue Type: Improvement Security Level: public(Regular issues) Components: Tomcat Affects Versions: 1.2, 2.0-M5 Reporter: Aman Nanner Assignee: Vamsavardhana Reddy Priority: Minor Fix For: 2.0.2, 2.0.x, 2.1 Attachments: g2964.war, GERONIMO-2964-combined-new.patch, GERONIMO-2964-combined.patch, GERONIMO-2964.patch, tomcat-config-workdir.patch, tomcat-workdir.patch In Tomcat, a work directory can be specified for a web application in a WEB-INF/context.xml file. The GeronimoStandardContext does not permit the user to specify a work directory, and so the work directory defaults to var/catalina/work/web-app. I've submitted a patch file that modifies the geronimo-tomcat-1.2 schema to permit the user to optionally specify a work directory. This work directory is then propagated into the TomcatContext. I've tested this and it seems to work well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-2964) Cannot specify the Tomcat work directory for a web application
[ https://issues.apache.org/jira/browse/GERONIMO-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12527039 ] Vamsavardhana Reddy commented on GERONIMO-2964: --- Have you tried changing/fixing the SUID for SerializedGBeanState? == How do I do that? Cannot specify the Tomcat work directory for a web application -- Key: GERONIMO-2964 URL: https://issues.apache.org/jira/browse/GERONIMO-2964 Project: Geronimo Issue Type: Improvement Security Level: public(Regular issues) Components: Tomcat Affects Versions: 1.2, 2.0-M5 Reporter: Aman Nanner Priority: Minor Fix For: 1.2, 2.1 Attachments: g2964.war, GERONIMO-2964-combined-new.patch, GERONIMO-2964-combined.patch, GERONIMO-2964.patch, tomcat-config-workdir.patch, tomcat-workdir.patch In Tomcat, a work directory can be specified for a web application in a WEB-INF/context.xml file. The GeronimoStandardContext does not permit the user to specify a work directory, and so the work directory defaults to var/catalina/work/web-app. I've submitted a patch file that modifies the geronimo-tomcat-1.2 schema to permit the user to optionally specify a work directory. This work directory is then propagated into the TomcatContext. I've tested this and it seems to work well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-2964) Cannot specify the Tomcat work directory for a web application
[ https://issues.apache.org/jira/browse/GERONIMO-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12527090 ] Anita Kulshreshtha commented on GERONIMO-2964: -- We need to find what exactly is being deserailized. Is this the full trace? There should be something like - Caused by: java.io.IOException: Unable to deserialize AbstractName for GBeanData of type org.apache.geronimo.jetty6.JettyFilterMapping or Caused by: java.lang.ClassCastException: cannot assign instance of javax.management.ObjectName to field org.apache.geronimo.gbean.Ab stractName.objectName of type javax.management.ObjectName in instance of org.apache.geronimo.gbean.AbstractName or Caused by: java.io.InvalidClassException: org.apache.geronimo.gbean.GOperationInfo; local class incompatible: stream classdesc serialVersionUID = 5185515581104192976, local class serialVersionUID = -5593225815559931812 at java.io.ObjectStreamClass.initNonProxy (ObjectStreamClass.java:519) In the past they have all lead to this error. Cannot specify the Tomcat work directory for a web application -- Key: GERONIMO-2964 URL: https://issues.apache.org/jira/browse/GERONIMO-2964 Project: Geronimo Issue Type: Improvement Security Level: public(Regular issues) Components: Tomcat Affects Versions: 1.2, 2.0-M5 Reporter: Aman Nanner Priority: Minor Fix For: 1.2, 2.1 Attachments: g2964.war, GERONIMO-2964-combined-new.patch, GERONIMO-2964-combined.patch, GERONIMO-2964.patch, tomcat-config-workdir.patch, tomcat-workdir.patch In Tomcat, a work directory can be specified for a web application in a WEB-INF/context.xml file. The GeronimoStandardContext does not permit the user to specify a work directory, and so the work directory defaults to var/catalina/work/web-app. I've submitted a patch file that modifies the geronimo-tomcat-1.2 schema to permit the user to optionally specify a work directory. This work directory is then propagated into the TomcatContext. I've tested this and it seems to work well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-2964) Cannot specify the Tomcat work directory for a web application
[ https://issues.apache.org/jira/browse/GERONIMO-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12526710 ] Vamsavardhana Reddy commented on GERONIMO-2964: --- I downloaded http://repo1.maven.org/maven2/org/apache/geronimo/configs/servlet-examples-tomcat/2.0.1/servlet-examples-tomcat-2.0.1.car and tried to install it in 2.0.2-SNAPSHOT server using deploy.bat install-plugin I got a message Installation FAILED: Cannot install plugin org.apache.geronimo.configs/servlet-examples-tomcat/2.0.1/car on Geronimo 2.0.2-SNAPSHOT. I see that the geronimo-plugin.xml inside servlet-examples-tomcat-2.0.1.car has geronimo-versionsversion2.0.1/version/geronimo-versions. Does it mean the plug-in will not install on G 2.0.2 whether or not there is API difference? What am I missing? Cannot specify the Tomcat work directory for a web application -- Key: GERONIMO-2964 URL: https://issues.apache.org/jira/browse/GERONIMO-2964 Project: Geronimo Issue Type: Improvement Security Level: public(Regular issues) Components: Tomcat Affects Versions: 1.2, 2.0-M5 Reporter: Aman Nanner Priority: Minor Fix For: 1.2, 2.1 Attachments: g2964.war, GERONIMO-2964-combined.patch, GERONIMO-2964.patch, tomcat-config-workdir.patch, tomcat-workdir.patch In Tomcat, a work directory can be specified for a web application in a WEB-INF/context.xml file. The GeronimoStandardContext does not permit the user to specify a work directory, and so the work directory defaults to var/catalina/work/web-app. I've submitted a patch file that modifies the geronimo-tomcat-1.2 schema to permit the user to optionally specify a work directory. This work directory is then propagated into the TomcatContext. I've tested this and it seems to work well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-2964) Cannot specify the Tomcat work directory for a web application
[ https://issues.apache.org/jira/browse/GERONIMO-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12526802 ] Donald Woods commented on GERONIMO-2964: Yep, the XML needs to be updated to include 2.0.2-SNAPSHOT as a valid target. You can either host your own copy of the 2.0.1 plugin (which I do for some testing) or apply your patch onto a copy of the Geronimo 2.0.1 source and rebuild it (which is actually how I originally tested the first patch that was submitted.) Cannot specify the Tomcat work directory for a web application -- Key: GERONIMO-2964 URL: https://issues.apache.org/jira/browse/GERONIMO-2964 Project: Geronimo Issue Type: Improvement Security Level: public(Regular issues) Components: Tomcat Affects Versions: 1.2, 2.0-M5 Reporter: Aman Nanner Priority: Minor Fix For: 1.2, 2.1 Attachments: g2964.war, GERONIMO-2964-combined.patch, GERONIMO-2964.patch, tomcat-config-workdir.patch, tomcat-workdir.patch In Tomcat, a work directory can be specified for a web application in a WEB-INF/context.xml file. The GeronimoStandardContext does not permit the user to specify a work directory, and so the work directory defaults to var/catalina/work/web-app. I've submitted a patch file that modifies the geronimo-tomcat-1.2 schema to permit the user to optionally specify a work directory. This work directory is then propagated into the TomcatContext. I've tested this and it seems to work well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-2964) Cannot specify the Tomcat work directory for a web application
[ https://issues.apache.org/jira/browse/GERONIMO-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12526820 ] Anita Kulshreshtha commented on GERONIMO-2964: -- I wish we had a system where one could say version 2.* in geronimo-plugin.xml, and the plugin installer would download artifacts using the server version. geronimo-version in g-plugin.xml could be easily filtered to generate a version corresponding to the server the plugin is being downloaded to. Cannot specify the Tomcat work directory for a web application -- Key: GERONIMO-2964 URL: https://issues.apache.org/jira/browse/GERONIMO-2964 Project: Geronimo Issue Type: Improvement Security Level: public(Regular issues) Components: Tomcat Affects Versions: 1.2, 2.0-M5 Reporter: Aman Nanner Priority: Minor Fix For: 1.2, 2.1 Attachments: g2964.war, GERONIMO-2964-combined.patch, GERONIMO-2964.patch, tomcat-config-workdir.patch, tomcat-workdir.patch In Tomcat, a work directory can be specified for a web application in a WEB-INF/context.xml file. The GeronimoStandardContext does not permit the user to specify a work directory, and so the work directory defaults to var/catalina/work/web-app. I've submitted a patch file that modifies the geronimo-tomcat-1.2 schema to permit the user to optionally specify a work directory. This work directory is then propagated into the TomcatContext. I've tested this and it seems to work well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-2964) Cannot specify the Tomcat work directory for a web application
[ https://issues.apache.org/jira/browse/GERONIMO-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12526830 ] Vamsavardhana Reddy commented on GERONIMO-2964: --- Updating geronimo-plugin.xml in servlet-examples-tomcat-2.0.1.car file to include 2.0.2-SNAPSHOT as a valid version means we have a new plugin artifact. I have done exactly that and tried to install the plugin on Geronimo Tomcat server built from branches\2.0 WITHOUT any patches for the current JIRA. I ended up with an InvalidConfigurationException. Looks like these plugin artifacts built for 2.0.1 won't install on 2.0.2 without having to rebuild those for 2.0.2. I am wondering if compatibility is really a concern!!! Output from command line deployer given below: C:\geronimo-tomcat6-jee5-2.0.2-SNAPSHOTbin\deploy.bat install-plugin c:\temp\se rvlet-examples-tomcat-2.0.1-cooked.car Using GERONIMO_BASE: C:\geronimo-tomcat6-jee5-2.0.2-SNAPSHOT Using GERONIMO_HOME: C:\geronimo-tomcat6-jee5-2.0.2-SNAPSHOT Using GERONIMO_TMPDIR: var\temp Using JRE_HOME:D:\T42\SUNJDK150\jre Username: system Password: *** Checking for status every 1000ms: Finished downloading org.apache.geronimo.configs/servlet-examples-tomcat/2.0.1/c ar (192 kB) (100%) Installation Complete! Used existing: org.apache.geronimo.configs/jasper//car Used existing: org.apache.geronimo.configs/tomcat6//car Downloaded 192 kB in 1s (192 kB/s) Now starting org.apache.geronimo.configs/servlet-examples-tomcat/2.0.1/car... org.apache.geronimo.kernel.config.LifecycleException: load of org.apache.geronim o.configs/servlet-examples-tomcat/2.0.1/car failed at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf iguration(SimpleConfigurationManager.java:325) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf iguration(SimpleConfigurationManager.java:278) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf iguration(SimpleConfigurationManager.java:253) at org.apache.geronimo.kernel.config.KernelConfigurationManager.loadConf iguration(KernelConfigurationManager.java:111) at org.apache.geronimo.kernel.config.KernelConfigurationManager$$FastCla ssByCGLIB$$b117102f.invoke(generated) at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod Invoker.java:38) at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio n.java:124) at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance. java:865) at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java: 239) at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:342) at org.apache.geronimo.kernel.KernelGBean$$FastClassByCGLIB$$1cccefc9.in voke(generated) at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod Invoker.java:38) at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio n.java:124) at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance. java:865) at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java: 239) at org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBrid ge.java:168) at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImp l.java:213) at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultM BeanServerInterceptor.java:815) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784 ) at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnecti onImpl.java:1408) at javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectio nImpl.java:81) at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run (RMIConnectionImpl.java:1245) at java.security.AccessController.doPrivileged(Native Method) at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(R MIConnectionImpl.java:1348) at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImp l.java:782) at sun.reflect.GeneratedMethodAccessor211.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294) at sun.rmi.transport.Transport$1.run(Transport.java:153) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:149) at
Re: [jira] Commented: (GERONIMO-2964) Cannot specify the Tomcat work directory for a web application
Anita, there was some discussion about supporting wildcards in the Geronimo version numbers a while back you might be interested in seeing. http://www.nabble.com/1.1-Candidate-releases-available- tf1746400s134.html#a4765468 Best wishes, Paul On Sep 12, 2007, at 11:31 AM, Anita Kulshreshtha (JIRA) wrote: [ https://issues.apache.org/jira/browse/GERONIMO-2964? page=com.atlassian.jira.plugin.system.issuetabpanels:comment- tabpanel#action_12526820 ] Anita Kulshreshtha commented on GERONIMO-2964: -- I wish we had a system where one could say version 2.* in geronimo-plugin.xml, and the plugin installer would download artifacts using the server version. geronimo-version in g-plugin.xml could be easily filtered to generate a version corresponding to the server the plugin is being downloaded to. Cannot specify the Tomcat work directory for a web application -- Key: GERONIMO-2964 URL: https://issues.apache.org/jira/browse/ GERONIMO-2964 Project: Geronimo Issue Type: Improvement Security Level: public(Regular issues) Components: Tomcat Affects Versions: 1.2, 2.0-M5 Reporter: Aman Nanner Priority: Minor Fix For: 1.2, 2.1 Attachments: g2964.war, GERONIMO-2964-combined.patch, GERONIMO-2964.patch, tomcat-config-workdir.patch, tomcat- workdir.patch In Tomcat, a work directory can be specified for a web application in a WEB-INF/context.xml file. The GeronimoStandardContext does not permit the user to specify a work directory, and so the work directory defaults to var/catalina/work/web-app. I've submitted a patch file that modifies the geronimo-tomcat-1.2 schema to permit the user to optionally specify a work directory. This work directory is then propagated into the TomcatContext. I've tested this and it seems to work well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-2964) Cannot specify the Tomcat work directory for a web application
[ https://issues.apache.org/jira/browse/GERONIMO-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12526884 ] Donald Woods commented on GERONIMO-2964: Yep, I was afraid of that Guess we really need to work on Plugin compatibility for the 2.1 release, given everything is becoming a plugin :-) If it's true that none of the 2.0.1 geronimo-example plugins work on a 2.0.2-SNAPSHOT server, then I would be in favor of including this fix, as backwards compatibility would be broken without it anyway... :-( Cannot specify the Tomcat work directory for a web application -- Key: GERONIMO-2964 URL: https://issues.apache.org/jira/browse/GERONIMO-2964 Project: Geronimo Issue Type: Improvement Security Level: public(Regular issues) Components: Tomcat Affects Versions: 1.2, 2.0-M5 Reporter: Aman Nanner Priority: Minor Fix For: 1.2, 2.1 Attachments: g2964.war, GERONIMO-2964-combined.patch, GERONIMO-2964.patch, tomcat-config-workdir.patch, tomcat-workdir.patch In Tomcat, a work directory can be specified for a web application in a WEB-INF/context.xml file. The GeronimoStandardContext does not permit the user to specify a work directory, and so the work directory defaults to var/catalina/work/web-app. I've submitted a patch file that modifies the geronimo-tomcat-1.2 schema to permit the user to optionally specify a work directory. This work directory is then propagated into the TomcatContext. I've tested this and it seems to work well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Re: [jira] Commented: (GERONIMO-2964) Cannot specify the Tomcat work directory for a web application
Ah! the long summer vacation.. Now we are at 2.0.1. Is all that stuff already implemented? Thanks Anita --- Paul McMahan [EMAIL PROTECTED] wrote: Anita, there was some discussion about supporting wildcards in the Geronimo version numbers a while back you might be interested in seeing. http://www.nabble.com/1.1-Candidate-releases-available- tf1746400s134.html#a4765468 Best wishes, Paul On Sep 12, 2007, at 11:31 AM, Anita Kulshreshtha (JIRA) wrote: [ https://issues.apache.org/jira/browse/GERONIMO-2964? page=com.atlassian.jira.plugin.system.issuetabpanels:comment- tabpanel#action_12526820 ] Anita Kulshreshtha commented on GERONIMO-2964: -- I wish we had a system where one could say version 2.* in geronimo-plugin.xml, and the plugin installer would download artifacts using the server version. geronimo-version in g-plugin.xml could be easily filtered to generate a version corresponding to the server the plugin is being downloaded to. Cannot specify the Tomcat work directory for a web application -- Key: GERONIMO-2964 URL: https://issues.apache.org/jira/browse/ GERONIMO-2964 Project: Geronimo Issue Type: Improvement Security Level: public(Regular issues) Components: Tomcat Affects Versions: 1.2, 2.0-M5 Reporter: Aman Nanner Priority: Minor Fix For: 1.2, 2.1 Attachments: g2964.war, GERONIMO-2964-combined.patch, GERONIMO-2964.patch, tomcat-config-workdir.patch, tomcat- workdir.patch In Tomcat, a work directory can be specified for a web application in a WEB-INF/context.xml file. The GeronimoStandardContext does not permit the user to specify a work directory, and so the work directory defaults to var/catalina/work/web-app. I've submitted a patch file that modifies the geronimo-tomcat-1.2 schema to permit the user to optionally specify a work directory. This work directory is then propagated into the TomcatContext. I've tested this and it seems to work well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. Pinpoint customers who are looking for what you sell. http://searchmarketing.yahoo.com/
[jira] Commented: (GERONIMO-2964) Cannot specify the Tomcat work directory for a web application
[ https://issues.apache.org/jira/browse/GERONIMO-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12526964 ] Anita Kulshreshtha commented on GERONIMO-2964: -- Have you tried changing/fixing the SUID for SerializedGBeanState? Cannot specify the Tomcat work directory for a web application -- Key: GERONIMO-2964 URL: https://issues.apache.org/jira/browse/GERONIMO-2964 Project: Geronimo Issue Type: Improvement Security Level: public(Regular issues) Components: Tomcat Affects Versions: 1.2, 2.0-M5 Reporter: Aman Nanner Priority: Minor Fix For: 1.2, 2.1 Attachments: g2964.war, GERONIMO-2964-combined-new.patch, GERONIMO-2964-combined.patch, GERONIMO-2964.patch, tomcat-config-workdir.patch, tomcat-workdir.patch In Tomcat, a work directory can be specified for a web application in a WEB-INF/context.xml file. The GeronimoStandardContext does not permit the user to specify a work directory, and so the work directory defaults to var/catalina/work/web-app. I've submitted a patch file that modifies the geronimo-tomcat-1.2 schema to permit the user to optionally specify a work directory. This work directory is then propagated into the TomcatContext. I've tested this and it seems to work well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-2964) Cannot specify the Tomcat work directory for a web application
[ https://issues.apache.org/jira/browse/GERONIMO-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12526661 ] Donald Woods commented on GERONIMO-2964: The way I verified that the original patch broke backwards compatibility with Geronimo 2.0.1, was I - 1) integrated the patch into a local 2.0.2-SNAPSHOT build 2) started the Tomcat JEE5 assembly and tried to install the existing geronimo-jsp-examples and geronimo-servlet-examples plugins from the 2.0.1 release. When the plugin was being installed, it threw an exception due to the mismatch in the new and CAR expected TomcatWebAppContext constructor Cannot specify the Tomcat work directory for a web application -- Key: GERONIMO-2964 URL: https://issues.apache.org/jira/browse/GERONIMO-2964 Project: Geronimo Issue Type: Improvement Security Level: public(Regular issues) Components: Tomcat Affects Versions: 1.2, 2.0-M5 Reporter: Aman Nanner Priority: Minor Fix For: 1.2, 2.1 Attachments: g2964.war, GERONIMO-2964-combined.patch, GERONIMO-2964.patch, tomcat-config-workdir.patch, tomcat-workdir.patch In Tomcat, a work directory can be specified for a web application in a WEB-INF/context.xml file. The GeronimoStandardContext does not permit the user to specify a work directory, and so the work directory defaults to var/catalina/work/web-app. I've submitted a patch file that modifies the geronimo-tomcat-1.2 schema to permit the user to optionally specify a work directory. This work directory is then propagated into the TomcatContext. I've tested this and it seems to work well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-2964) Cannot specify the Tomcat work directory for a web application
[ https://issues.apache.org/jira/browse/GERONIMO-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12526353 ] Vamsavardhana Reddy commented on GERONIMO-2964: --- I think we should come up with a test case to see if this patch really comes in the way of compatibility with plugins built for G 2.0.1. Donald, do you have a test scenario in mind? Cannot specify the Tomcat work directory for a web application -- Key: GERONIMO-2964 URL: https://issues.apache.org/jira/browse/GERONIMO-2964 Project: Geronimo Issue Type: Improvement Security Level: public(Regular issues) Components: Tomcat Affects Versions: 1.2, 2.0-M5 Reporter: Aman Nanner Priority: Minor Fix For: 1.2, 2.1 Attachments: g2964.war, GERONIMO-2964-combined.patch, GERONIMO-2964.patch, tomcat-config-workdir.patch, tomcat-workdir.patch In Tomcat, a work directory can be specified for a web application in a WEB-INF/context.xml file. The GeronimoStandardContext does not permit the user to specify a work directory, and so the work directory defaults to var/catalina/work/web-app. I've submitted a patch file that modifies the geronimo-tomcat-1.2 schema to permit the user to optionally specify a work directory. This work directory is then propagated into the TomcatContext. I've tested this and it seems to work well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-2964) Cannot specify the Tomcat work directory for a web application
[ https://issues.apache.org/jira/browse/GERONIMO-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12523468 ] Vamsavardhana Reddy commented on GERONIMO-2964: --- Looks like we can not have this in 2.0.2 without breaking compatibility (unless someone comes up with a patch that does not change any GBeanInfo's). Are there (m)any plugins that get affected? Cannot specify the Tomcat work directory for a web application -- Key: GERONIMO-2964 URL: https://issues.apache.org/jira/browse/GERONIMO-2964 Project: Geronimo Issue Type: Improvement Security Level: public(Regular issues) Components: Tomcat Affects Versions: 1.2, 2.0-M5 Reporter: Aman Nanner Priority: Minor Fix For: 1.2, 2.1 Attachments: g2964.war, GERONIMO-2964-combined.patch, GERONIMO-2964.patch, tomcat-config-workdir.patch, tomcat-workdir.patch In Tomcat, a work directory can be specified for a web application in a WEB-INF/context.xml file. The GeronimoStandardContext does not permit the user to specify a work directory, and so the work directory defaults to var/catalina/work/web-app. I've submitted a patch file that modifies the geronimo-tomcat-1.2 schema to permit the user to optionally specify a work directory. This work directory is then propagated into the TomcatContext. I've tested this and it seems to work well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-2964) Cannot specify the Tomcat work directory for a web application
[ https://issues.apache.org/jira/browse/GERONIMO-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12522996 ] Paul McMahan commented on GERONIMO-2964: Donald, that is right, and when combined with the schema change this is IMO a good reason to only apply the change to the 2.1 branch. Apologies to Aman for accidentally overlooking this patch for 2.0.1. Vamsi, I'll follow up on this JIRA unless you were already planning to. Cannot specify the Tomcat work directory for a web application -- Key: GERONIMO-2964 URL: https://issues.apache.org/jira/browse/GERONIMO-2964 Project: Geronimo Issue Type: Improvement Security Level: public(Regular issues) Components: Tomcat Affects Versions: 1.2, 2.0-M5 Reporter: Aman Nanner Priority: Minor Fix For: 1.2, 2.1 Attachments: tomcat-config-workdir.patch, tomcat-workdir.patch In Tomcat, a work directory can be specified for a web application in a WEB-INF/context.xml file. The GeronimoStandardContext does not permit the user to specify a work directory, and so the work directory defaults to var/catalina/work/web-app. I've submitted a patch file that modifies the geronimo-tomcat-1.2 schema to permit the user to optionally specify a work directory. This work directory is then propagated into the TomcatContext. I've tested this and it seems to work well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-2964) Cannot specify the Tomcat work directory for a web application
[ https://issues.apache.org/jira/browse/GERONIMO-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12523007 ] Vamsavardhana Reddy commented on GERONIMO-2964: --- Paul, Donald, I don't think it is necessary to change the constructor. Since the only way the new workDir parameter it is used in the constructor is to initialize a member this.workDir, we can do away by adding a setter method. Let me see if I can come up with a new patch that does not change the constructor. If not, we can forgo the fix for 2.0.2 and fix it in 2.1. The only thing I was concerned is whether a schema change from 2.0.1 to 2.0.2 is acceptable. May be it is if we don't break compatibility. Will report back soon. Aman, Will it be possible for you to post a simple test war file to verify if my new patch (if any). If not now, it will anyway be useful later when the issue is addressed. Thanks Cannot specify the Tomcat work directory for a web application -- Key: GERONIMO-2964 URL: https://issues.apache.org/jira/browse/GERONIMO-2964 Project: Geronimo Issue Type: Improvement Security Level: public(Regular issues) Components: Tomcat Affects Versions: 1.2, 2.0-M5 Reporter: Aman Nanner Priority: Minor Fix For: 1.2, 2.1 Attachments: tomcat-config-workdir.patch, tomcat-workdir.patch In Tomcat, a work directory can be specified for a web application in a WEB-INF/context.xml file. The GeronimoStandardContext does not permit the user to specify a work directory, and so the work directory defaults to var/catalina/work/web-app. I've submitted a patch file that modifies the geronimo-tomcat-1.2 schema to permit the user to optionally specify a work directory. This work directory is then propagated into the TomcatContext. I've tested this and it seems to work well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-2964) Cannot specify the Tomcat work directory for a web application
[ https://issues.apache.org/jira/browse/GERONIMO-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12523037 ] Aman Nanner commented on GERONIMO-2964: --- I have verified that the GERONIMO-2964.patch does indeed fix our issue. Cannot specify the Tomcat work directory for a web application -- Key: GERONIMO-2964 URL: https://issues.apache.org/jira/browse/GERONIMO-2964 Project: Geronimo Issue Type: Improvement Security Level: public(Regular issues) Components: Tomcat Affects Versions: 1.2, 2.0-M5 Reporter: Aman Nanner Priority: Minor Fix For: 1.2, 2.1 Attachments: g2964.war, GERONIMO-2964.patch, tomcat-config-workdir.patch, tomcat-workdir.patch In Tomcat, a work directory can be specified for a web application in a WEB-INF/context.xml file. The GeronimoStandardContext does not permit the user to specify a work directory, and so the work directory defaults to var/catalina/work/web-app. I've submitted a patch file that modifies the geronimo-tomcat-1.2 schema to permit the user to optionally specify a work directory. This work directory is then propagated into the TomcatContext. I've tested this and it seems to work well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-2964) Cannot specify the Tomcat work directory for a web application
[ https://issues.apache.org/jira/browse/GERONIMO-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12522817 ] Donald Woods commented on GERONIMO-2964: Well, this patch changes the TomcatWebAppContext constructor, which will break compatibility with any plugins built for 2.0.1 Cannot specify the Tomcat work directory for a web application -- Key: GERONIMO-2964 URL: https://issues.apache.org/jira/browse/GERONIMO-2964 Project: Geronimo Issue Type: Improvement Security Level: public(Regular issues) Components: Tomcat Affects Versions: 1.2, 2.0-M5 Reporter: Aman Nanner Priority: Minor Fix For: 1.2, 2.1 Attachments: tomcat-config-workdir.patch, tomcat-workdir.patch In Tomcat, a work directory can be specified for a web application in a WEB-INF/context.xml file. The GeronimoStandardContext does not permit the user to specify a work directory, and so the work directory defaults to var/catalina/work/web-app. I've submitted a patch file that modifies the geronimo-tomcat-1.2 schema to permit the user to optionally specify a work directory. This work directory is then propagated into the TomcatContext. I've tested this and it seems to work well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-2964) Cannot specify the Tomcat work directory for a web application
[ https://issues.apache.org/jira/browse/GERONIMO-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12522548 ] Paul McMahan commented on GERONIMO-2964: Too bad this fell off the radar for 2.0, it's a useful patch. I would also like to see this in 2.0.x but don't know if a schema change is OK in that branch. Could backwards compatibility be affected? Cannot specify the Tomcat work directory for a web application -- Key: GERONIMO-2964 URL: https://issues.apache.org/jira/browse/GERONIMO-2964 Project: Geronimo Issue Type: Improvement Security Level: public(Regular issues) Components: Tomcat Affects Versions: 1.2, 2.0-M5 Reporter: Aman Nanner Priority: Minor Fix For: 1.2, 2.1 Attachments: tomcat-config-workdir.patch, tomcat-workdir.patch In Tomcat, a work directory can be specified for a web application in a WEB-INF/context.xml file. The GeronimoStandardContext does not permit the user to specify a work directory, and so the work directory defaults to var/catalina/work/web-app. I've submitted a patch file that modifies the geronimo-tomcat-1.2 schema to permit the user to optionally specify a work directory. This work directory is then propagated into the TomcatContext. I've tested this and it seems to work well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-2964) Cannot specify the Tomcat work directory for a web application
[ https://issues.apache.org/jira/browse/GERONIMO-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12480820 ] Paul McMahan commented on GERONIMO-2964: Are you interested in setting the workdir for JSPs or for the web application in general? If for JSPs then you can specify the work dir for the JSP servlet by setting the following param in var/catalina/conf/web.xml {{monospaced}} !-- scratchdir What scratch directory should we use when -- !-- compiling JSP pages? [default work directory -- !-- for the current web application] -- !-- -- [...] servlet servlet-namejsp/servlet-name servlet-classorg.apache.jasper.servlet.JspServlet/servlet-class init-param param-namescratchdir/param-name param-valuemypath/param-value /init-param [...] /servlet {{monospaced}} This solution is of course not as generic as what your patch provides because it's only useful for JSPs. I just wanted to point out that its already available in case that could help meet your specific requirements. Cannot specify the Tomcat work directory for a web application -- Key: GERONIMO-2964 URL: https://issues.apache.org/jira/browse/GERONIMO-2964 Project: Geronimo Issue Type: Improvement Security Level: public(Regular issues) Components: Tomcat Affects Versions: 1.2 Reporter: Aman Nanner Priority: Minor Fix For: 1.2 Attachments: tomcat-workdir.patch In Tomcat, a work directory can be specified for a web application in a WEB-INF/context.xml file. The GeronimoStandardContext does not permit the user to specify a work directory, and so the work directory defaults to var/catalina/work/web-app. I've submitted a patch file that modifies the geronimo-tomcat-1.2 schema to permit the user to optionally specify a work directory. This work directory is then propagated into the TomcatContext. I've tested this and it seems to work well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-2964) Cannot specify the Tomcat work directory for a web application
[ https://issues.apache.org/jira/browse/GERONIMO-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12480823 ] Aman Nanner commented on GERONIMO-2964: --- Thanks for your comment. I actually want to set the workdir for JSPs on a per-web-application basis, which is why I provided the solution above. Cannot specify the Tomcat work directory for a web application -- Key: GERONIMO-2964 URL: https://issues.apache.org/jira/browse/GERONIMO-2964 Project: Geronimo Issue Type: Improvement Security Level: public(Regular issues) Components: Tomcat Affects Versions: 1.2 Reporter: Aman Nanner Priority: Minor Fix For: 1.2 Attachments: tomcat-workdir.patch In Tomcat, a work directory can be specified for a web application in a WEB-INF/context.xml file. The GeronimoStandardContext does not permit the user to specify a work directory, and so the work directory defaults to var/catalina/work/web-app. I've submitted a patch file that modifies the geronimo-tomcat-1.2 schema to permit the user to optionally specify a work directory. This work directory is then propagated into the TomcatContext. I've tested this and it seems to work well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-2964) Cannot specify the Tomcat work directory for a web application
[ https://issues.apache.org/jira/browse/GERONIMO-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12480830 ] Paul McMahan commented on GERONIMO-2964: OK I understand that for your requirements that the current functionality does not suffice. A visual inspection of the patch looks good. The 1.2 release is in the final stretch of testing and preparation right now, so I think we should wait until a maintenance branch is created where we can add this enhancement. It could go into the 2.0 release at that time as well. Cannot specify the Tomcat work directory for a web application -- Key: GERONIMO-2964 URL: https://issues.apache.org/jira/browse/GERONIMO-2964 Project: Geronimo Issue Type: Improvement Security Level: public(Regular issues) Components: Tomcat Affects Versions: 1.2 Reporter: Aman Nanner Priority: Minor Fix For: 1.2 Attachments: tomcat-workdir.patch In Tomcat, a work directory can be specified for a web application in a WEB-INF/context.xml file. The GeronimoStandardContext does not permit the user to specify a work directory, and so the work directory defaults to var/catalina/work/web-app. I've submitted a patch file that modifies the geronimo-tomcat-1.2 schema to permit the user to optionally specify a work directory. This work directory is then propagated into the TomcatContext. I've tested this and it seems to work well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-2964) Cannot specify the Tomcat work directory for a web application
[ https://issues.apache.org/jira/browse/GERONIMO-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12480838 ] Jeff Genender commented on GERONIMO-2964: - The config XSDs need updating as well. Cannot specify the Tomcat work directory for a web application -- Key: GERONIMO-2964 URL: https://issues.apache.org/jira/browse/GERONIMO-2964 Project: Geronimo Issue Type: Improvement Security Level: public(Regular issues) Components: Tomcat Affects Versions: 1.2 Reporter: Aman Nanner Priority: Minor Fix For: 1.2 Attachments: tomcat-workdir.patch In Tomcat, a work directory can be specified for a web application in a WEB-INF/context.xml file. The GeronimoStandardContext does not permit the user to specify a work directory, and so the work directory defaults to var/catalina/work/web-app. I've submitted a patch file that modifies the geronimo-tomcat-1.2 schema to permit the user to optionally specify a work directory. This work directory is then propagated into the TomcatContext. I've tested this and it seems to work well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.