dev@glassfish.java.net

Re: unble to find pe-VERSION.zip file after V3 build

From: Jane Young <Jane.Young_at_Sun.COM>
Date: Thu, 06 Dec 2007 15:35:09 -0800

Hi Paul,

I'm also having problem with "mvn gf:run":

[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Provider com.bea.xml.stream.MXParserFactory not found
[INFO]
------------------------------------------------------------------------
[INFO] Trace
javax.xml.stream.FactoryConfigurationError: Provider
com.bea.xml.stream.MXParserFactory not found
        at javax.xml.stream.FactoryFinder.newInstance(FactoryFinder.java:72)
        at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:176)
        at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:92)
        at
javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:136)
        at org.jvnet.hk2.config.ConfigParser.<clinit>(ConfigParser.java:144)
        at
com.sun.enterprise.module.ModulesRegistry.createHabitat(ModulesRegistry.java:145)
        at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:193)
        at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:166)
        at com.sun.enterprise.build.RunMojo.execute(RunMojo.java:180)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:224)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        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 no problem with "mvn -U install".


Jane



Paul Sterk wrote:

>
> mvn -U install and mvn gf:run now works on my machine. Do svn update
> first.
>
> Please retest and report any failures.
>
> Thanks,
> Paul
>
> On Thu, 2007-12-06 at 09:55 -0800, Sreenivas Munnangi wrote:
>
>> Paul Sterk wrote:
>>
>>>
>>> Ok. A Husdon batch process failed for some reason. I'll push out
>>> new version now.
>>
>> If you could also make gf:run work it would be a big time saver.
>>
>>>
>>> Paul
>>>
>>> On Thu, 2007-12-06 at 12:32 -0500, Hong Zhang wrote:
>>>
>>>> Hi, Paul
>>>> I tried earlier this morning (after updating my workspace), and
>>>> I got this error:
>>>>
>>>> Downloading:
>>>> http://repo1.maven.org/maven2/org/jvnet/maven-antrun-extended-plugin/maven-antrun-extended-plugin/1.9/maven-antrun-extended-plugin-1.9.pom
>>>>
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>>
>>>> [ERROR] BUILD ERROR
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>>
>>>> [INFO] Failed to resolve artifact.
>>>>
>>>> GroupId: org.jvnet.maven-antrun-extended-plugin
>>>> ArtifactId: maven-antrun-extended-plugin
>>>> Version: 1.9
>>>>
>>>> Reason: Unable to download the artifact from any repository
>>>>
>>>>
>>>> org.jvnet.maven-antrun-extended-plugin:maven-antrun-extended-plugin:pom:1.9
>>>>
>>>>
>>>> from the specified remote repositories:
>>>> central (http://repo1.maven.org/maven2),
>>>> repo1.maven.org (http://repo1.maven.org/maven2),
>>>> java-dev-repository (http://download.java.net/maven/1),
>>>> maven2.java.net (http://download.java.net/maven/2),
>>>> glassfish-repository (http://download.java.net/maven/glassfish),
>>>> java.net (http://download.java.net/maven/1),
>>>> my-m1-repository (http://download.java.net/javaee5/external/shared)
>>>>
>>>> Thanks,
>>>>
>>>> - Hong
>>>>
>>>>>
>>>>>
>>>>> Please retest with latest bits. Kohsuke and I have made some
>>>>> progress. The server should start now. We are working to reduce
>>>>> bloat in the current zip ile.
>>>>>
>>>>> Paul
>>>>>
>>>>> On Wed, 2007-12-05 at 15:10 -0500, Hong Zhang wrote:
>>>>>
>>>>>> Hi, Paul
>>>>>> I just built the v3 using the latest source (including your
>>>>>> check in today) and I couldn't get the server started either. :-(
>>>>>> The only jar in my lib directory after unzip is
>>>>>> glassfish-10.0-SNAPSHOT.jar.
>>>>>>
>>>>>> hzhang_at_nmr:~/files/sun/glassfish/lib$ java -jar
>>>>>> glassfish-10.0-SNAPSHOT.jar
>>>>>> Exception in thread "main" java.lang.NoClassDefFoundError:
>>>>>> com/sun/enterprise/module/bootstrap/Main
>>>>>> at java.lang.ClassLoader.defineClass1(Native Method)
>>>>>> at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
>>>>>> at
>>>>>> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
>>>>>> at
>>>>>> java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
>>>>>> at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
>>>>>> at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
>>>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>>>> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>>>>>> at
>>>>>> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
>>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>>>>>> at
>>>>>> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>>>>>>
>>>>>> - Hong
>>>>>>
>>>>>> Paul Sterk wrote:
>>>>>>
>>>>>>>
>>>>>>> Jane,
>>>>>>>
>>>>>>> I have a fix for this issue and am completing some tests. I
>>>>>>> also want to give Jerome a chance to comment on my fix, if he
>>>>>>> has time. Either way, I'll commit a patch in about an hour.
>>>>>>>
>>>>>>> Paul
>>>>>>>
>>>>>>> On Wed, 2007-12-05 at 01:29 -0800, Jane Young wrote:
>>>>>>>
>>>>>>>>Hi Sahoo,
>>>>>>>>
>>>>>>>> Thanks for the quick response.
>>>>>>>> I unzipped
>>>>>>>> org/glassfish/distributions/pe/10.0-SNAPSHOT/pe-10.0-SNAPSHOT.zip from
>>>>>>>> ~/.m2/repository and I couldn't find
>>>>>>>> glassfish/lib/glassfish-10.0-SNAPSHOT.jar
>>>>>>>>
>>>>>>>> I'm using the latest build. Something is not working...
>>>>>>>>
>>>>>>>> Jane
>>>>>>>>
>>>>>>>>
>>>>>>>> Sahoo wrote:
>>>>>>>>
>>>>>>>> > 'mvn install' should install a file like this in your maven repository
>>>>>>>> > (usually ~/.m2/repository)
>>>>>>>> > org/glassfish/distributions/pe/10.0-SNAPSHOT/pe-10.0-SNAPSHOT.zip
>>>>>>>> >
>>>>>>>> > Thanks,
>>>>>>>> > Sahoo
>>>>>>>> >
>>>>>>>> > Jane Young wrote:
>>>>>>>> >
>>>>>>>> >>
>>>>>>>> >>> Hi,
>>>>>>>> >>>
>>>>>>>> >>> Has anyone checked-out V3 recently?
>>>>>>>> >>> I followed the instruction on
>>>>>>>> >>> http://wiki.glassfish.java.net/Wiki.jsp?page=V3FullBuildInstructions.
>>>>>>>> >>> The build is successful, but I can't find "pe-VERSION.zip". I
>>>>>>>> >>> see only two zip files in distributions/pe/target: "pe.zip" and
>>>>>>>> >>> "javadb.zip".
>>>>>>>> >>>
>>>>>>>> >>> Any idea?
>>>>>>>> >>>
>>>>>>>> >>> Thanks,
>>>>>>>> >>
>>>>>>>> >>
>>>>>>>> >> Jane
>>>>>>>> >>
>>>>>>>> >> ---------------------------------------------------------------------
>>>>>>>> >> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net <mailto:dev-unsubscribe_at_glassfish.dev.java.net>
>>>>>>>> >> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net <mailto:dev-help_at_glassfish.dev.java.net>
>>>>>>>> >>
>>>>>>>> >
>>>>>>>> > ---------------------------------------------------------------------
>>>>>>>> > To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net <mailto:dev-unsubscribe_at_glassfish.dev.java.net>
>>>>>>>> > For additional commands, e-mail: dev-help_at_glassfish.dev.java.net <mailto:dev-help_at_glassfish.dev.java.net>
>>>>>>>> >
>>>>>>>>
>>>>>>>> ---------------------------------------------------------------------
>>>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net <mailto:dev-unsubscribe_at_glassfish.dev.java.net>
>>>>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net <mailto:dev-help_at_glassfish.dev.java.net>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>
>>>>
>>