Re: [jira] Commented: (GERONIMO-693) Need startup scripts in bin directory

2005-08-10 Thread David Jencks
imo.apache.org To dev@geronimo.apache.org cc Subject Re: [jira] Commented: (GERONIMO-693) Need startup scripts in bin directory Matt Hogstrom wrote: > It would be nice for the script to detect if a JDK was present and if > not exit with a nice messag

Re: [jira] Commented: (GERONIMO-693) Need startup scripts in bin directory

2005-08-10 Thread Jeff Genender
ited. Any opinions expressed in this e-mail are those of the author personally. *Jeff Genender <[EMAIL PROTECTED]>* 10-Aug-2005 11:48 PM Please respond to dev@geronimo.apache.org To dev@geronimo.apache.org cc Subject Re: [jira] Commented: (GERONIMO-69

Re: [jira] Commented: (GERONIMO-693) Need startup scripts in bin directory

2005-08-10 Thread sissonj
;[EMAIL PROTECTED]> 10-Aug-2005 11:48 PM Please respond to dev@geronimo.apache.org To dev@geronimo.apache.org cc Subject Re: [jira] Commented: (GERONIMO-693) Need startup scripts in bin directory Matt Hogstrom wrote: > It would be nice for the script to detect if a JDK w

Re: [jira] Commented: (GERONIMO-693) Need startup scripts in bin directory

2005-08-10 Thread Jeff Genender
Matt Hogstrom wrote: It would be nice for the script to detect if a JDK was present and if not exit with a nice message :) You ask...you shall receive ;-) Done. Sendingscripts/deploy.sh Sendingscripts/startup.sh Transmitting file data .. Committed revision 231232. - Mat

Re: [jira] Commented: (GERONIMO-693) Need startup scripts in bin directory

2005-08-09 Thread Matt Hogstrom
It would be nice for the script to detect if a JDK was present and if not exit with a nice message :) - Matt Bruce Snyder (JIRA) wrote: [ http://issues.apache.org/jira/browse/GERONIMO-693?page=comments#action_12318246 ] Bruce Snyder commented on GERONIMO-693:

[jira] Commented: (GERONIMO-693) Need startup scripts in bin directory

2005-08-09 Thread Bruce Snyder (JIRA)
[ http://issues.apache.org/jira/browse/GERONIMO-693?page=comments#action_12318246 ] Bruce Snyder commented on GERONIMO-693: --- I agree, David. I was already looking at that tool. > Need startup scripts in bin directory > --

[jira] Commented: (GERONIMO-693) Need startup scripts in bin directory

2005-08-04 Thread David Jencks (JIRA)
[ http://issues.apache.org/jira/browse/GERONIMO-693?page=comments#action_12317686 ] David Jencks commented on GERONIMO-693: --- I talked to Jason van Zyl who strongly recommends Java Service Wrappers which provides scripts for numerous platfomrs and var

[jira] Commented: (GERONIMO-693) Need startup scripts in bin directory

2005-07-28 Thread Bruce Snyder (JIRA)
[ http://issues.apache.org/jira/browse/GERONIMO-693?page=comments#action_12317031 ] Bruce Snyder commented on GERONIMO-693: --- I just checked in the beginnings of a startup shell script in the scripts directory. I need to figure out how to copy it into

Re: [jira] Commented: (GERONIMO-693) Need startup scripts in bin directory

2005-07-04 Thread Jeff Genender
Well..upon further review...the endorsed dirs that are set in the main class appears to take hold on Tomcat. This is good ;-) Jeff Dain Sundstrom wrote: If at all possible I'd like to handle these in Java code, since shell scripts aren't very portable or IDE friendly. I believe that the e

Re: [jira] Commented: (GERONIMO-693) Need startup scripts in bin directory

2005-07-04 Thread Jeff Genender
Dain, If you can handle this in code, I am all for it...as I have said I have been unsuccessful with this with Tomcat. Lets give it a shot and see if it works...if so...this is great. As for security...I coded in some GBean attributes that allow you to declare the following via GBean attrib

Re: [jira] Commented: (GERONIMO-693) Need startup scripts in bin directory

2005-07-04 Thread Dain Sundstrom
If at all possible I'd like to handle these in Java code, since shell scripts aren't very portable or IDE friendly. I believe that the endorsed dir is settable in java code. I don't think we need the ext dirs as we handle class loaders directly, and as for the security stuff, I just don't

Re: [jira] Commented: (GERONIMO-693) Need startup scripts in bin directory

2005-07-04 Thread Kresten Krab Thorup
It seems that there is a handful of things that are very difficult to set programatically because their values are processed very early in JVM initialization, and so we have simply added these to startup scripts in our appserver. From the top of my head, these include -Djava.ext.dirs=

Re: [jira] Commented: (GERONIMO-693) Need startup scripts in bin directory

2005-07-04 Thread Dain Sundstrom
I think the trick is you must set the value before the vm attempt to load any classes from the endorsed packages (xml, corba and a few others). -dain On Jul 4, 2005, at 11:40 AM, Jeff Genender wrote: Well if thats working for TCK...I'll be the first to admit I am wrong. Early on in the To

Re: [jira] Commented: (GERONIMO-693) Need startup scripts in bin directory

2005-07-04 Thread Jeff Genender
Well if thats working for TCK...I'll be the first to admit I am wrong. Early on in the Tomcat integration development, we attempted to set the endorsed.dir in the TomcatContainer GBean through an attribute, but it never stuck. We could never get the Tomcat container to launch without the drea

Re: [jira] Commented: (GERONIMO-693) Need startup scripts in bin directory

2005-07-04 Thread Jeremy Boynes
Dain Sundstrom wrote: That is weird. The endorsed dir in the main class seems to work for the TCK tests. They don't use Tomcat. -- Jeremy

Re: [jira] Commented: (GERONIMO-693) Need startup scripts in bin directory

2005-07-04 Thread Dain Sundstrom
That is weird. The endorsed dir in the main class seems to work for the TCK tests. -dain On Jul 4, 2005, at 9:57 AM, Jeff Genender wrote: Dain, This won't work...the JVM seems to need this at startup. We tried having the classes set this property themselves, but there is something in

Re: [jira] Commented: (GERONIMO-693) Need startup scripts in bin directory

2005-07-04 Thread Jeff Genender
Dain, This won't work...the JVM seems to need this at startup. We tried having the classes set this property themselves, but there is something in pre-startup of the JVM that requires this setting in order for the endorsed dirs to take effect. Setting it once the JVM has started results in

Re: [jira] Commented: (GERONIMO-693) Need startup scripts in bin directory

2005-07-04 Thread Dain Sundstrom
That should be added automatically by the main class. -dain On Jul 3, 2005, at 9:36 PM, Jeff Genender (JIRA) wrote: [ http://issues.apache.org/jira/browse/GERONIMO-693? page=comments#action_12314982 ] Jeff Genender commented on GERONIMO-693: Do n

[jira] Commented: (GERONIMO-693) Need startup scripts in bin directory

2005-07-03 Thread Jeff Genender (JIRA)
[ http://issues.apache.org/jira/browse/GERONIMO-693?page=comments#action_12314982 ] Jeff Genender commented on GERONIMO-693: Do not forget the -Djava.endorsed.dirs=lib/endorsed to the java command line in these scripts or Tomcat will not run. > Ne