Bryan

Thanks for letting me know that flexmojos does not read from
jvmconfig. For now I have changed the java home path to another
java....if we have to use the IBM java, then I will try to add the
boot classpath entries to the mvn command line args



Thanks again

On Oct 1, 11:12 am, Bryan Turner <[email protected]> wrote:
> FlexMojos does not read the Flex SDK's jvm.config. in fact, FlexMojos does
> not use you Flex SDK at all; it downloads artifacts that comprise its own.
> Try sending the boot classpath entries as command line arguments to the mvn
> command instead.
> On Oct 1, 2010 7:35 AM, "Marvin Froeder" <[email protected]> wrote:
>
> > Right, but why can't you run maven with real-java?
>
> > VELO
>
> > On Fri, Oct 1, 2010 at 11:34 AM, harish.dhina <[email protected]
> >wrote:
>
> >> Thanks for your reply. When we installed IBM Websphere, it came with
> >> their version of Java and we installed that too. Anybody else can help
> >> with this?
>
> >> Thanks
>
> >> On Oct 1, 10:13 am, Marvin Froeder <[email protected]> wrote:
> >> > Sorry, no idea, I never use this pseudo-javas... why don't you use java
> >> > instead?
>
> >> > VELO
>
> >> > On Fri, Oct 1, 2010 at 10:58 AM, harish.dhina <[email protected]
> >> >wrote:
>
> >> > > Hi
>
> >> > > We are trying to mavenize our Flex Project and when I run the mvn
> >> > > clean install on the Flex project, we get this error:
>
> >> > > [FATAL ERROR] Container realm = plexus.core
> >> > > urls[0] = file:/C:/apache-maven-2.2.1/bin/../lib/maven-2.2.1-uber.jar
> >> > > [INFO]
>
> >> ------------------------------------------------------------------------
> >> > > [ERROR] FATAL ERROR
> >> > > [INFO]
>
> >> ------------------------------------------------------------------------
> >> > > [INFO] org.apache.xerces.util.XMLAttributesImpl$Attribute
> >> > > [INFO]
>
> >> ------------------------------------------------------------------------
> >> > > [INFO] Trace
> >> > > java.lang.IllegalAccessError:
>
> org.apache.xerces.util.XMLAttributesImpl
>
> >> > > $Attribute
>
> >> > > at java.lang.ClassLoader.defineClassImpl(Native Method)
> >> > > at java.lang.ClassLoader.defineClass(ClassLoader.java:266)
> >> > > at
> >> > > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:15
> >> > > 1)
> >> > > at java.net.URLClassLoader.defineClass(URLClassLoader.java:
> >> > > 600)
> >> > > at java.net.URLClassLoader.access$400(URLClassLoader.java:124)
> >> > > at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:
> >> > > 1055)
> >> > > at
> >> > > java.security.AccessController.doPrivileged(AccessController.java:274
> >> > > )
> >> > > at java.net.URLClassLoader.findClass(URLClassLoader.java:492)
> >> > > at java.lang.ClassLoader.loadClass(ClassLoader.java:639)
> >> > > at
> >> > > org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassL
> >> > > oader.java:195)
> >> > > at
> >> > > org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassReal
> >> > > m.java:255)
> >> > > at
> >> > > org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.
> >> > > java:214)
> >> > > at java.lang.ClassLoader.loadClass(ClassLoader.java:605)
> >> > > at java.lang.J9VMInternals.verifyImpl(Native Method)
> >> > > at java.lang.J9VMInternals.verify(J9VMInternals.java:69)
> >> > > at java.lang.J9VMInternals.initialize(J9VMInternals.java:131)
> >> > > at
> >> > > org.apache.xerces.impl.XMLDocumentFragmentScannerMMImpl.<init>(XMLDoc
> >> > > umentFragmentScannerMMImpl.java:254)
> >> > > at
> >> > > org.apache.xerces.impl.XMLDocumentScannerMMImpl.<init>(XMLDocumentSca
> >> > > nnerMMImpl.java:238)
> >> > > at
> >> > > org.apache.xerces.parsers.XML11ConfigurationMMImpl.<init>(XML11Config
> >> > > urationMMImpl.java:562)
> >> > > at
> >> > > org.apache.xerces.parsers.XML11ConfigurationMMImpl.<init>(XML11Config
> >> > > urationMMImpl.java:409)
> >> > > at java.lang.Class.newInstanceImpl(Native Method)
> >> > > at java.lang.Class.newInstance(Class.java:1328)
> >> > > at org.apache.xerces.parsers.ObjectFactory.newInstance(Unknown
> >> > > Source)
> >> > > at
> >> > > org.apache.xerces.parsers.ObjectFactory.findJarServiceProvider(Unknow
> >> > > n Source)
> >> > > at
> >> > > org.apache.xerces.parsers.ObjectFactory.createObject(Unknown Source)
> >> > > at
> >> > > org.apache.xerces.parsers.ObjectFactory.createObject(Unknown Source)
> >> > > at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)
> >> > > at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)
> >> > > at java.lang.Class.newInstanceImpl(Native Method)
> >> > > at java.lang.Class.newInstance(Class.java:1328)
> >> > > at org.xml.sax.helpers.NewInstance.newInstance(Unknown Source)
> >> > > at org.xml.sax.helpers.XMLReaderFactory.loadClass(Unknown
> >> > > Source)
> >> > > at
> >> > > org.xml.sax.helpers.XMLReaderFactory.createXMLReader(Unknown Source)
> >> > > at org.jdom.input.SAXBuilder.createParser(SAXBuilder.java:573)
> >> > > at org.jdom.input.SAXBuilder.build(SAXBuilder.java:424)
> >> > > at org.jdom.input.SAXBuilder.build(SAXBuilder.java:810)
> >> > > at org.jdom.input.SAXBuilder.build(SAXBuilder.java:789)
> >> > > at
> >> > > org.sonatype.flexmojos.utilities.FDKConfigResolver.getConfig(FDKConfi
> >> > > gResolver.java:109)
> >> > > at
> >> > > org.sonatype.flexmojos.utilities.FDKConfigResolver.getFontManagers(FD
> >> > > KConfigResolver.java:131)
> >> > > at
> >> > > org.sonatype.flexmojos.compiler.AbstractCompilerMojo.configure(Abstra
> >> > > ctCompilerMojo.java:1277)
> >> > > at
> >> > > org.sonatype.flexmojos.compiler.AbstractCompilerMojo.setUp(AbstractCo
> >> > > mpilerMojo.java:2648)
> >> > > at org.sonatype.flexmojos.compiler.SwfMojo.setUp(SwfMojo.java:
> >> > > 346)
> >> > > at
> >> > > org.sonatype.flexmojos.AbstractIrvinMojo.execute(AbstractIrvinMojo.ja
> >> > > va:154)
> >> > > at
> >> > > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
> >> > > nManager.java:490)
> >> > > at
> >> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> >> > > ultLifecycleExecutor.java:694)
> >> > > at
> >> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
> >> > > fecycle(DefaultLifecycleExecutor.java:556)
> >> > > at
> >> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
> >> > > ltLifecycleExecutor.java:535)
> >> > > at
> >> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
> >> > > dleFailures(DefaultLifecycleExecutor.java:387)
> >> > > at
> >> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> >> > > ts(DefaultLifecycleExecutor.java:348)
> >> > > at
> >> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
> >> > > fecycleExecutor.java:180)
> >> > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:
> >> > > 328)
> >> > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:
> >> > > 138)
> >> > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
> >> > > at
> >> > > org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:6
> >> > > 0)
> >> > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >> > > at
> >> > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> >> > > java:79)
> >> > > at
> >> > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> >> > > sorImpl.java:43)
> >> > > at java.lang.reflect.Method.invoke(Method.java:618)
> >> > > at
> >> > > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> >> > > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> >> > > at
> >> > > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>
> >> > > at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>
> >> > > I have googled this issue and see the issue is because of a conflict
> >> > > of Xerces within Flex SDKs and IBM Java 5. I have added this line to
> >> > > my Flex SDK jvm.config:
>
> >> > > java.args=-Xmx384m -Dsun.io.useCanonCaches=false-Xbootclasspath/a:C:
> >> > > \Program Files\Adobe\Adobe Flash Builder 4 Plug-in\sdks\4.0.0\lib
> >> > > \xercesImpl.jar
>
> >> > > But this does not solve the problem. Also we are using IBM Java 5.
> How
> >> > > do I force maven to use the Flex SDK Xerces instead of IBM Java. Has
> >> > > anyone else got this error as well and if you were able to fix it,
> >> > > please let us know
>
> >> > > Thanks
>
> >> > > Harish
>
> >> > > --
> >> > > You received this message because you are subscribed to the Google
> >> > > Groups "Flex Mojos" group.
> >> > > To post to this group, send email to [email protected]
> >> > > To unsubscribe from this group, send email to
> >> > > [email protected]<flex-mojos%[email protected]>
>
> <flex-mojos%[email protected]<flex-mojos%[email protected]>
>
> >> <flex-mojos%[email protected]<flex-mojos%[email protected]>
>
> <flex-mojos%[email protected]<flex-mojos%[email protected]>
>
> >> > > For more options, visit this group at
> >> > >http://groups.google.com/group/flex-mojos
>
> >> > >http://flexmojos.sonatype.org/
>
> >> --
> >> You received this message because you are subscribed to the Google
> >> Groups "Flex Mojos" group.
> >> To post to this group, send email to [email protected]
> >> To unsubscribe from this group, send email to
> >> [email protected]<flex-mojos%[email protected]>
>
> <flex-mojos%[email protected]<flex-mojos%[email protected]>
>
>
>
> >> For more options, visit this group at
> >>http://groups.google.com/group/flex-mojos
>
> >>http://flexmojos.sonatype.org/
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Flex Mojos" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]<flex-mojos%[email protected]>
> > For more options, visit this group at
> >http://groups.google.com/group/flex-mojos
>
> >http://flexmojos.sonatype.org/

-- 
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos

http://flexmojos.sonatype.org/

Reply via email to