[
https://issues.apache.org/jira/browse/GERONIMO-2951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12480290
]
Jason Dillon commented on GERONIMO-2951:
----------------------------------------
it does not look like jpa.jar makes it into bin for minimal or framework
assemblies. What happens when {{-javaagent: bin/jpa.jar}} is set, but
{{bin/jpa.jar}} is missing?
Or do we added logic to the scripts to only set that flag if the
{{bin/jpa.jar}} file exists? Easy enough in /bin/sh... icky in windows batch
hell though.
Would almost be easier to make a simple launcher JVM which can spawn the real
JVM and set the required bits in platform independent ways... at the cost of
another JVM though (even with a limited heap on her). But this would simplify
the platform launch scripts, and allow java -jar bin/server.jar to work and
still have the server JVM executed with all of the right flags. And
potentially allow for hooks to restart the server if it crashes too... or spawn
new server instances.
> startup scripts need to be able to include -javaagent:bin/jpa.jar in the
> command line
> -------------------------------------------------------------------------------------
>
> Key: GERONIMO-2951
> URL: https://issues.apache.org/jira/browse/GERONIMO-2951
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: startup/shutdown
> Affects Versions: 2.0-M3
> Reporter: David Jencks
> Assigned To: Jason Dillon
> Fix For: 2.0-beta1
>
>
> To enable jpa runtime enhancement you need to start geronimo with a command
> line resembling
> java -javaagent:bin/jpa.jar -jar bin/server.jar
> Our startup scripts and maven stuff should either always include this or have
> a flag to include it. This is also needed for ejb 2.1 cmp support in
> openejb3.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.