dev@glassfish.java.net

Re: build pe from source and configure-runtime failed?

From: Lloyd L Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Tue, 19 Dec 2006 10:55:12 -0800

One possibility: check $INSTALL/config/asenv.conf and make sure it has:

AS_ADMIN_PROFILE=developer
AS_ADMIN_SECURE=false


On Dec 19, 2006, at 7:57 AM, Hong Zhang wrote:

> I followed the instructions to build pe from source and create a pe
> domain. The commands I used:
> 1. maven bootstrap-all-pe checkout-pe build-pe
> 2. maven -o configure-runtime
> I got exception when creating domain, is this a known problem?
> Seems some EE class is needed from creating the pe domain?
>
> [hzhang_at_nmr bootstrap]$ maven -o configure-runtime
> __ __
> | \/ |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
> |_| |_\__,_|\_/\___|_||_| v. 1.0.2
>
> build:start:
>
> configure-runtime:
> [copy] Copying 1 file to /home/hzhang/files/sun/appserver
> [mkdir] Created dir: /home/hzhang/files/sun/appserver/bin
> [echo] Current Java Version 1.5.0_10
> [copy] Copying 1 file to /home/hzhang/files/sun/appserver/config
> [copy] Copying 1 file to /home/hzhang/files/sun/appserver/bin
> [copy] Copying 1 file to /home/hzhang/files/sun/appserver/bin
> [copy] Copying 1 file to /home/hzhang/files/sun/appserver/bin
> [copy] Copying 1 file to /home/hzhang/files/sun/appserver/bin
> [copy] Copying 1 file to /home/hzhang/files/sun/appserver/bin
> [copy] Copying 1 file to /home/hzhang/files/sun/appserver/bin
> [copy] Copying 1 file to /home/hzhang/files/sun/appserver/bin
> [copy] Copying 1 file to /home/hzhang/files/sun/appserver/bin
> [copy] Copying 1 file to /home/hzhang/files/sun/appserver/bin
> [copy] Copying 1 file to /home/hzhang/files/sun/appserver/bin
> [copy] Copying 1 file to /home/hzhang/files/sun/appserver/bin
> [copy] Copying 1 file to /home/hzhang/files/sun/appserver/bin
> [copy] Copying 1 file to /home/hzhang/files/sun/appserver/bin
> [copy] Copying 1 file to /home/hzhang/files/sun/appserver/bin
> [copy] Copying 1 file to /home/hzhang/files/sun/appserver/bin
> [copy] Copying 1 file to /home/hzhang/files/sun/appserver/bin
> [exec] Option adminuser deprecated, use --user instead.
> [exec] Dec 19, 2006 10:51:08 AM
> com.sun.enterprise.pluggable.PluggableFeatureFactoryBaseImpl
> getInstance
> [exec] null
> [exec] WARNING: Error loading pluggable features class
> com.sun.enterprise.ee.admin.pluggable.EEClientPluggableFeatureImpl
> [exec] java.lang.ClassNotFoundException:
> com.sun.enterprise.ee.admin.pluggable.EEClientPluggableFeatureImpl
> [exec] at java.net.URLClassLoader$1.run(URLClassLoader.java:
> 200)
> [exec] at java.security.AccessController.doPrivileged
> (Native Method)
> [exec] at java.net.URLClassLoader.findClass
> (URLClassLoader.java:188)
> [exec] at java.lang.ClassLoader.loadClass(ClassLoader.java:
> 306)
> [exec] at sun.misc.Launcher$AppClassLoader.loadClass
> (Launcher.java:268) [exec] at
> java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> [exec] at java.lang.ClassLoader.loadClassInternal
> (ClassLoader.java:319) [exec] at java.lang.Class.forName0
> (Native Method)
> [exec] at java.lang.Class.forName(Class.java:164)
> [exec] at
> com.sun.enterprise.pluggable.PluggableFeatureFactoryBaseImpl.getInstan
> ce(PluggableFeatureFactoryBaseImpl.java:122)
> [exec] at
> com.sun.enterprise.cli.commands.BaseLifeCycleCommand.createPluggableFe
> atureFactory(BaseLifeCycleCommand.java:117)
> [exec] at
> com.sun.enterprise.cli.commands.BaseLifeCycleCommand.<init>
> (BaseLifeCycleCommand.java:87)
> [exec] at
> com.sun.enterprise.cli.commands.CreateDomainCommand.<init>
> (CreateDomainCommand.java:96)
> [exec] at
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> [exec] at
> sun.reflect.NativeConstructorAccessorImpl.newInstance
> (NativeConstructorAccessorImpl.java:39)
> [exec] at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance
> (DelegatingConstructorAccessorImpl.java:27)
> [exec] at java.lang.reflect.Constructor.newInstance
> (Constructor.java:494)
> [exec] at java.lang.Class.newInstance0(Class.java:350)
> [exec] at java.lang.Class.newInstance(Class.java:303)
> [exec] at
> com.sun.enterprise.cli.framework.CommandFactory.createCommand
> (CommandFactory.java:76)
> [exec] at
> com.sun.enterprise.cli.framework.CLIMain.invokeCommand(CLIMain.java:
> 146)
> [exec] at com.sun.enterprise.cli.framework.CLIMain.main
> (CLIMain.java:65)
> [exec] Dec 19, 2006 10:51:08 AM
> com.sun.enterprise.cli.commands.BaseLifeCycleCommand
> createPluggableFeatureFactory
> [exec] WARNING: SERVER0009: Pluggable features using class
> com.sun.enterprise.ee.admin.pluggable.EEClientPluggableFeatureImpl
> could not be initialized. Server will run with default features.
> [exec] CLI130 Could not create domain, domain1
> BUILD FAILED
> File...... /home/hzhang/files/workspaces/test/glassfish/bootstrap/
> maven.xml
> Element... ant:ant
> Line...... 436
> Column.... 76
> exec returned: 1
> Total time: 4 seconds
> Finished at: Tue Dec 19 10:51:09 EST 2006
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>