[ https://issues.apache.org/jira/browse/AXIS2-4051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12739513#action_12739513 ]
Sebastian J. edited comment on AXIS2-4051 at 8/5/09 7:09 AM: ------------------------------------------------------------- Try this: -Dcom.sun.xml.bind.v2.runtime.JAXBContextImpl.fastBoot=true Yes it is a System property and yes it is crappy, but at least it works... was (Author: derjust): Try this: -Dcom.sun.xml.bind.v2.runtime.JAXBContextImpl.fastBoot=true Yes it is a System property and yes it is crappy, but at least in works... > Starting java with many JAXB objects is very slow > ------------------------------------------------- > > Key: AXIS2-4051 > URL: https://issues.apache.org/jira/browse/AXIS2-4051 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Affects Versions: 1.4 > Environment: 64-bit Gentoo Linux > $ java -version > java version "1.5.0_13" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05) > Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_13-b05, mixed mode) > Reporter: Jake Goulding > > I have about 600 JAXB objects, and my Stub has 30 calls to > JAXBContext.newInstance. Running a completely empty main method takes 1 > minute. I presume this is because of the overhead of creating all the static > instances at once at the beginning. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.