Closed glassfishrobot closed 4 years ago
@glassfishrobot Commented hapinwater said: The detail steps is as follow: GlassFish could not start if computer's time is set to long before: 1.Install a glassfish(version:3.1.2) on a computer, create a domain domain1. 2.Set computer time to long before current date, such as 1999.10.12 12:30:59 3.Manually delete osgi-cache directory GLASSFISH_HOME\domains\domain1\osgi-cache 4.Then use asadmin to start domain1, start success this time. 5.Stop the domain domain1. 6.Then re start the domain domain1 again, start failured and an Exception throws by Felix.
@glassfishrobot Commented This issue was imported from java.net JIRA GLASSFISH-20947
@glassfishrobot Commented Reported by hapinwater
This issue has been marked as inactive and old and will be closed in 7 days if there is no further activity. If you want the issue to remain open please add a comment
GlassFish could not start if computer's time is set to long before: 1.Install a glassfish(version:3.1.2) on a computer, create a domain domain1. 2.Set computer time to long before current date, such as 1999.10.12 12:30:59 3.Manually delete osgi-cache directory GLASSFISH_HOME\domains\domain1\osgi-cache 4.Then use asadmin to start domain1, start failured and an Exception throws by Felix OSGi framework.
This exception will occur if the last modifed time of all file under GLASSFISH_HOME\domains\domain1\osgi-cache is eariler than bunle jar stores in GLASSFISH_HOME\modules.In this situation, all osgi bundle needed to be updated.
I download the source code, and find the class com.sun.enterprise.glassfish.bootstrap.osgi.OSGiGlassFishRuntimeBuilder's build method may have wrong logic to cause this exception, in step 1 threre exist 3 location cause Felix.update() to be called: 1) List bundleIds = bundleProvisioner.installBundles();
2) bundleProvisioner.refresh();
3) framework.update();
Felix.update() is an asynchronous call, which will use a thread to stop and then init/start the bundle, If multiple threads call Felix.update, an IllegalStateException will throw.
By the way, I switch OSGi framwork to equinox, this problem still exists.
public GlassFishRuntime build(BootstrapProperties bsProps) throws GlassFishException {
try {
MainHelper.buildStartupContext(bsProps.getProperties());
Properties properties = bsProps.getProperties();
// Set the builder name so that when we check for nonEmbedded() inside GlassFishMainActivator, // we can identify the environment. properties.setProperty(Constants.BUILDER_NAME_PROPERTY, getClass().getName()); // Step 0: Locate and launch a framework long t0 = System.currentTimeMillis(); fwLauncher = new OSGiFrameworkLauncher(properties); framework = fwLauncher.launchOSGiFrameWork(); long t1 = System.currentTimeMillis(); logger.logp(Level.FINE, "OSGiGlassFishRuntimeBuilder", "build", "Launched
{0}
", new Object[]
{framework}
);
// Step 1: install/update/delete bundles if (newFramework())
{ storeProvisioningOptions(properties); }
else
{ reconfigure(properties); // this will reconfigure if any provisioning options have changed. }
BundleProvisioner bundleProvisioner = BundleProvisioner.createBundleProvisioner( framework.getBundleContext(), properties); List bundleIds = bundleProvisioner.installBundles();
if (bundleProvisioner.hasAnyThingChanged())
{ bundleProvisioner.refresh(); deleteHK2Cache(properties); // clean hk2 cache so that updated bundle details will go in there. // Save the bundle ids for use during restart. storeBundleIds(bundleIds.toArray(new Long[bundleIds.size()])); }
if (bundleProvisioner.isSystemBundleUpdationRequired())
{ logger.log(Level.INFO, LogFacade.UPDATING_SYSTEM_BUNDLE); framework.update(); framework.waitForStop(0); framework.init(); bundleProvisioner.setBundleContext(framework.getBundleContext()); }
// Step 2: Start bundles bundleProvisioner.startBundles(); long t2 = System.currentTimeMillis();
// Step 3: Start the framework, so bundles will get activated as per their start levels framework.start(); long t3 = System.currentTimeMillis(); printStats(bundleProvisioner, t0, t1, t2, t3);
// Step 4: Obtain reference to GlassFishRuntime and return the same return getGlassFishRuntime(); } catch (Exception e)
{ throw new GlassFishException(e); }
}
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Here are my glassfish's console output: asadmin> start-domain There is a process already using the admin port 4848 – it probably is another i nstance of a GlassFish server. Command start-domain failed. asadmin> stop-domain CLI306 Warning - The server located at E:\glassfish3\glassfish\domains\domain1 i s not running. Command stop-domain executed successfully. asadmin> stop-domain CLI306 Warning - The server located at E:\glassfish3\glassfish\domains\domain1 i s not running. Command stop-domain executed successfully. asadmin> start-domain Waiting for domain1 to start ............Error starting domain domain1. The server exited prematurely with exit code 1. Before it died, it produced the following output:
Launching GlassFish on Felix platform 2001-5-9 18:15:11 BundleProvisioner update 信息: Updated bundle 1 from /E:/glassfish3/glassfish/modules/endorsed/javax.anno tation.jar 2001-5-9 18:15:11 BundleProvisioner update 信息: Updated bundle 2 from /E:/glassfish3/glassfish/modules/endorsed/jaxb-api-o sgi.jar 2001-5-9 18:15:11 BundleProvisioner update 信息: Updated bundle 3 from /E:/glassfish3/glassfish/modules/endorsed/webservice s-api-osgi.jar 2001-5-9 18:15:11 BundleProvisioner update 信息: Updated bundle 4 from /E:/glassfish3/glassfish/modules/acc-config.jar 2001-5-9 18:15:11 BundleProvisioner update 信息: Updated bundle 5 from /E:/glassfish3/glassfish/modules/admin-cli.jar 2001-5-9 18:15:11 BundleProvisioner update 信息: Updated bundle 6 from /E:/glassfish3/glassfish/modules/admin-core.jar 2001-5-9 18:15:11 BundleProvisioner update 信息: Updated bundle 7 from /E:/glassfish3/glassfish/modules/admin-util.jar 2001-5-9 18:15:11 BundleProvisioner update 信息: Updated bundle 8 from /E:/glassfish3/glassfish/modules/amx-all.jar 2001-5-9 18:15:11 BundleProvisioner update 信息: Updated bundle 9 from /E:/glassfish3/glassfish/modules/annotation-framewor k.jar 2001-5-9 18:15:11 BundleProvisioner update 信息: Updated bundle 10 from /E:/glassfish3/glassfish/modules/ant.jar 2001-5-9 18:15:11 BundleProvisioner update 信息: Updated bundle 11 from /E:/glassfish3/glassfish/modules/antlr-repackaged.j ar 2001-5-9 18:15:11 BundleProvisioner update 信息: Updated bundle 12 from /E:/glassfish3/glassfish/modules/api-exporter.jar 2001-5-9 18:15:11 BundleProvisioner update 信息: Updated bundle 13 from /E:/glassfish3/glassfish/modules/appclient-connecto r.jar 2001-5-9 18:15:11 BundleProvisioner update 信息: Updated bundle 14 from /E:/glassfish3/glassfish/modules/appclient-server-c ore.jar 2001-5-9 18:15:11 BundleProvisioner update 信息: Updated bundle 15 from /E:/glassfish3/glassfish/modules/appclient.security .jar 2001-5-9 18:15:11 BundleProvisioner update 信息: Updated bundle 16 from /E:/glassfish3/glassfish/modules/asm-all-repackaged .jar 2001-5-9 18:15:11 BundleProvisioner update 信息: Updated bundle 17 from /E:/glassfish3/glassfish/modules/auto-depends.jar 2001-5-9 18:15:11 BundleProvisioner update 信息: Updated bundle 18 from /E:/glassfish3/glassfish/modules/backup.jar 2001-5-9 18:15:12 BundleProvisioner update 信息: Updated bundle 19 from /E:/glassfish3/glassfish/modules/bean-validator.jar
2001-5-9 18:15:12 BundleProvisioner update 信息: Updated bundle 20 from /E:/glassfish3/glassfish/modules/branding.jar 2001-5-9 18:15:12 BundleProvisioner update 信息: Updated bundle 21 from /E:/glassfish3/glassfish/modules/cli-optional.jar 2001-5-9 18:15:12 BundleProvisioner update 信息: Updated bundle 22 from /E:/glassfish3/glassfish/modules/cluster-admin.jar
2001-5-9 18:15:12 BundleProvisioner update 信息: Updated bundle 23 from /E:/glassfish3/glassfish/modules/cluster-cli.jar 2001-5-9 18:15:12 BundleProvisioner update 信息: Updated bundle 24 from /E:/glassfish3/glassfish/modules/cluster-common.jar
2001-5-9 18:15:12 BundleProvisioner update 信息: Updated bundle 25 from /E:/glassfish3/glassfish/modules/cluster-ssh.jar 2001-5-9 18:15:12 BundleProvisioner update 信息: Updated bundle 26 from /E:/glassfish3/glassfish/modules/cmp-ejb-mapping.ja r 2001-5-9 18:15:12 BundleProvisioner update 信息: Updated bundle 27 from /E:/glassfish3/glassfish/modules/cmp-enhancer.jar 2001-5-9 18:15:12 BundleProvisioner update 信息: Updated bundle 28 from /E:/glassfish3/glassfish/modules/cmp-generator-data base.jar 2001-5-9 18:15:12 BundleProvisioner update 信息: Updated bundle 29 from /E:/glassfish3/glassfish/modules/cmp-internal-api.j ar 2001-5-9 18:15:12 BundleProvisioner update 信息: Updated bundle 30 from /E:/glassfish3/glassfish/modules/cmp-model.jar 2001-5-9 18:15:12 BundleProvisioner update 信息: Updated bundle 31 from /E:/glassfish3/glassfish/modules/cmp-support-ejb.ja r 2001-5-9 18:15:12 BundleProvisioner update 信息: Updated bundle 32 from /E:/glassfish3/glassfish/modules/cmp-support-sqlsto re.jar 2001-5-9 18:15:12 BundleProvisioner update 信息: Updated bundle 33 from /E:/glassfish3/glassfish/modules/cmp-utility.jar 2001-5-9 18:15:12 BundleProvisioner update 信息: Updated bundle 34 from /E:/glassfish3/glassfish/modules/common-util.jar 2001-5-9 18:15:12 BundleProvisioner update 信息: Updated bundle 35 from /E:/glassfish3/glassfish/modules/config-api.jar 2001-5-9 18:15:12 BundleProvisioner update 信息: Updated bundle 36 from /E:/glassfish3/glassfish/modules/config-types.jar 2001-5-9 18:15:12 BundleProvisioner update 信息: Updated bundle 37 from /E:/glassfish3/glassfish/modules/config.jar 2001-5-9 18:15:12 BundleProvisioner update 信息: Updated bundle 38 from /E:/glassfish3/glassfish/modules/connectors-admin.j ar 2001-5-9 18:15:12 BundleProvisioner update 信息: Updated bundle 39 from /E:/glassfish3/glassfish/modules/connectors-inbound -runtime.jar 2001-5-9 18:15:12 BundleProvisioner update 信息: Updated bundle 40 from /E:/glassfish3/glassfish/modules/connectors-interna l-api.jar 2001-5-9 18:15:12 BundleProvisioner update 信息: Updated bundle 41 from /E:/glassfish3/glassfish/modules/connectors-runtime .jar 2001-5-9 18:15:12 BundleProvisioner update 信息: Updated bundle 42 from /E:/glassfish3/glassfish/modules/console-cluster-pl ugin-help.jar 2001-5-9 18:15:12 BundleProvisioner update 信息: Updated bundle 43 from /E:/glassfish3/glassfish/modules/console-cluster-pl ugin.jar 2001-5-9 18:15:12 BundleProvisioner update 信息: Updated bundle 44 from /E:/glassfish3/glassfish/modules/console-common-ful l-plugin-help.jar 2001-5-9 18:15:12 BundleProvisioner update 信息: Updated bundle 45 from /E:/glassfish3/glassfish/modules/console-common-ful l-plugin.jar 2001-5-9 18:15:12 BundleProvisioner update 信息: Updated bundle 46 from /E:/glassfish3/glassfish/modules/console-common-hel p.jar 2001-5-9 18:15:12 BundleProvisioner update 信息: Updated bundle 47 from /E:/glassfish3/glassfish/modules/console-common.jar
2001-5-9 18:15:12 BundleProvisioner update 信息: Updated bundle 48 from /E:/glassfish3/glassfish/modules/console-community- branding-plugin.jar 2001-5-9 18:15:13 BundleProvisioner update 信息: Updated bundle 49 from /E:/glassfish3/glassfish/modules/console-corba-plug in-help.jar 2001-5-9 18:15:13 BundleProvisioner update 信息: Updated bundle 50 from /E:/glassfish3/glassfish/modules/console-corba-plug in.jar 2001-5-9 18:15:13 BundleProvisioner update 信息: Updated bundle 51 from /E:/glassfish3/glassfish/modules/console-ejb-lite-p lugin-help.jar 2001-5-9 18:15:13 BundleProvisioner update 信息: Updated bundle 52 from /E:/glassfish3/glassfish/modules/console-ejb-lite-p lugin.jar 2001-5-9 18:15:13 BundleProvisioner update 信息: Updated bundle 53 from /E:/glassfish3/glassfish/modules/console-ejb-plugin -help.jar 2001-5-9 18:15:13 BundleProvisioner update 信息: Updated bundle 54 from /E:/glassfish3/glassfish/modules/console-ejb-plugin .jar 2001-5-9 18:15:13 BundleProvisioner update 信息: Updated bundle 55 from /E:/glassfish3/glassfish/modules/console-jca-plugin -help.jar 2001-5-9 18:15:13 BundleProvisioner update 信息: Updated bundle 56 from /E:/glassfish3/glassfish/modules/console-jca-plugin .jar 2001-5-9 18:15:13 BundleProvisioner update 信息: Updated bundle 57 from /E:/glassfish3/glassfish/modules/console-jdbc-plugi n-help.jar 2001-5-9 18:15:13 BundleProvisioner update 信息: Updated bundle 58 from /E:/glassfish3/glassfish/modules/console-jdbc-plugi n.jar 2001-5-9 18:15:13 BundleProvisioner update 信息: Updated bundle 59 from /E:/glassfish3/glassfish/modules/console-jms-plugin -help.jar 2001-5-9 18:15:13 BundleProvisioner update 信息: Updated bundle 60 from /E:/glassfish3/glassfish/modules/console-jms-plugin .jar 2001-5-9 18:15:13 BundleProvisioner update 信息: Updated bundle 61 from /E:/glassfish3/glassfish/modules/console-jts-plugin -help.jar 2001-5-9 18:15:13 BundleProvisioner update 信息: Updated bundle 62 from /E:/glassfish3/glassfish/modules/console-jts-plugin .jar 2001-5-9 18:15:13 BundleProvisioner update 信息: Updated bundle 63 from /E:/glassfish3/glassfish/modules/console-plugin-ser vice.jar 2001-5-9 18:15:13 BundleProvisioner update 信息: Updated bundle 64 from /E:/glassfish3/glassfish/modules/console-updatecent er-plugin.jar 2001-5-9 18:15:13 BundleProvisioner update 信息: Updated bundle 65 from /E:/glassfish3/glassfish/modules/console-web-plugin -help.jar 2001-5-9 18:15:13 BundleProvisioner update 信息: Updated bundle 66 from /E:/glassfish3/glassfish/modules/console-web-plugin .jar 2001-5-9 18:15:13 BundleProvisioner update 信息: Updated bundle 67 from /E:/glassfish3/glassfish/modules/container-common.j ar 2001-5-9 18:15:13 BundleProvisioner update 信息: Updated bundle 68 from /E:/glassfish3/glassfish/modules/dataprovider.jar 2001-5-9 18:15:13 BundleProvisioner update 信息: Updated bundle 69 from /E:/glassfish3/glassfish/modules/dbschema-repackage d.jar 2001-5-9 18:15:13 BundleProvisioner update 信息: Updated bundle 70 from /E:/glassfish3/glassfish/modules/deployment-admin.j ar 2001-5-9 18:15:13 BundleProvisioner update 信息: Updated bundle 71 from /E:/glassfish3/glassfish/modules/deployment-autodep loy.jar 2001-5-9 18:15:13 BundleProvisioner update 信息: Updated bundle 72 from /E:/glassfish3/glassfish/modules/deployment-client. jar 2001-5-9 18:15:13 BundleProvisioner update 信息: Updated bundle 73 from /E:/glassfish3/glassfish/modules/deployment-common. jar 2001-5-9 18:15:13 BundleProvisioner update 信息: Updated bundle 74 from /E:/glassfish3/glassfish/modules/deployment-javaee- core.jar 2001-5-9 18:15:13 BundleProvisioner update 信息: Updated bundle 75 from /E:/glassfish3/glassfish/modules/deployment-javaee- full.jar 2001-5-9 18:15:13 BundleProvisioner update 信息: Updated bundle 76 from /E:/glassfish3/glassfish/modules/dol.jar 2001-5-9 18:15:13 BundleProvisioner update 信息: Updated bundle 77 from /E:/glassfish3/glassfish/modules/ejb-container.jar
2001-5-9 18:15:13 BundleProvisioner update 信息: Updated bundle 78 from /E:/glassfish3/glassfish/modules/ejb-internal-api.j ar 2001-5-9 18:15:13 BundleProvisioner update 信息: Updated bundle 79 from /E:/glassfish3/glassfish/modules/ejb.security.jar 2001-5-9 18:15:13 BundleProvisioner update 信息: Updated bundle 80 from /E:/glassfish3/glassfish/modules/flashlight-extra-j dk-packages.jar 2001-5-9 18:15:13 BundleProvisioner update 信息: Updated bundle 81 from /E:/glassfish3/glassfish/modules/flashlight-framewo rk.jar 2001-5-9 18:15:13 BundleProvisioner update 信息: Updated bundle 82 from /E:/glassfish3/glassfish/modules/gf-client-module.j ar 2001-5-9 18:15:13 BundleProvisioner update 信息: Updated bundle 83 from /E:/glassfish3/glassfish/modules/gf-connectors-conn ector.jar 2001-5-9 18:15:13 BundleProvisioner update 信息: Updated bundle 84 from /E:/glassfish3/glassfish/modules/gf-ejb-connector.j ar 2001-5-9 18:15:13 BundleProvisioner update 信息: Updated bundle 85 from /E:/glassfish3/glassfish/modules/gf-web-connector.j ar 2001-5-9 18:15:13 BundleProvisioner update 信息: Updated bundle 86 from /E:/glassfish3/glassfish/modules/glassfish-api.jar
2001-5-9 18:15:13 BundleProvisioner update 信息: Updated bundle 87 from /E:/glassfish3/glassfish/modules/glassfish-corba-as m.jar 2001-5-9 18:15:14 BundleProvisioner update 信息: Updated bundle 88 from /E:/glassfish3/glassfish/modules/glassfish-corba-co degen.jar 2001-5-9 18:15:14 BundleProvisioner update 信息: Updated bundle 89 from /E:/glassfish3/glassfish/modules/glassfish-corba-cs iv2-idl.jar 2001-5-9 18:15:14 BundleProvisioner update 信息: Updated bundle 90 from /E:/glassfish3/glassfish/modules/glassfish-corba-in ternal-api.jar 2001-5-9 18:15:14 BundleProvisioner update 信息: Updated bundle 91 from /E:/glassfish3/glassfish/modules/glassfish-corba-ne wtimer.jar 2001-5-9 18:15:14 BundleProvisioner update 信息: Updated bundle 92 from /E:/glassfish3/glassfish/modules/glassfish-corba-om gapi.jar 2001-5-9 18:15:14 BundleProvisioner update 信息: Updated bundle 93 from /E:/glassfish3/glassfish/modules/glassfish-corba-or b.jar 2001-5-9 18:15:14 BundleProvisioner update 信息: Updated bundle 94 from /E:/glassfish3/glassfish/modules/glassfish-corba-or bgeneric.jar 2001-5-9 18:15:14 BundleProvisioner update 信息: Updated bundle 95 from /E:/glassfish3/glassfish/modules/glassfish-ee-api.j ar 2001-5-9 18:15:14 BundleProvisioner update 信息: Updated bundle 96 from /E:/glassfish3/glassfish/modules/glassfish-extra-jr e-packages.jar 2001-5-9 18:15:14 BundleProvisioner update 信息: Updated bundle 97 from /E:/glassfish3/glassfish/modules/glassfish-mbeanser ver.jar 2001-5-9 18:15:14 BundleProvisioner update 信息: Updated bundle 98 from /E:/glassfish3/glassfish/modules/glassfish-naming.j ar 2001-5-9 18:15:14 BundleProvisioner update 信息: Updated bundle 99 from /E:/glassfish3/glassfish/modules/glassfish-oracle-j dbc-driver-packages.jar 2001-5-9 18:15:14 BundleProvisioner update 信息: Updated bundle 100 from /E:/glassfish3/glassfish/modules/glassfish-registr ation.jar 2001-5-9 18:15:14 BundleProvisioner update 信息: Updated bundle 101 from /E:/glassfish3/glassfish/modules/glassfish.jar 2001-5-9 18:15:14 BundleProvisioner update 信息: Updated bundle 102 from /E:/glassfish3/glassfish/modules/gmbal.jar 2001-5-9 18:15:14 BundleProvisioner update 信息: Updated bundle 103 from /E:/glassfish3/glassfish/modules/gms-adapter.jar 2001-5-9 18:15:14 BundleProvisioner update 信息: Updated bundle 104 from /E:/glassfish3/glassfish/modules/gms-bootstrap.jar
2001-5-9 18:15:14 BundleProvisioner update 信息: Updated bundle 105 from /E:/glassfish3/glassfish/modules/grizzly-comet.jar
2001-5-9 18:15:14 BundleProvisioner update 信息: Updated bundle 106 from /E:/glassfish3/glassfish/modules/grizzly-config.ja r 2001-5-9 18:15:14 BundleProvisioner update 信息: Updated bundle 107 from /E:/glassfish3/glassfish/modules/grizzly-container .jar 2001-5-9 18:15:14 BundleProvisioner update 信息: Updated bundle 108 from /E:/glassfish3/glassfish/modules/grizzly-framework .jar 2001-5-9 18:15:14 BundleProvisioner update 信息: Updated bundle 109 from /E:/glassfish3/glassfish/modules/grizzly-http-ajp. jar 2001-5-9 18:15:14 BundleProvisioner update 信息: Updated bundle 110 from /E:/glassfish3/glassfish/modules/grizzly-http-serv let.jar 2001-5-9 18:15:15 BundleProvisioner update 信息: Updated bundle 111 from /E:/glassfish3/glassfish/modules/grizzly-http.jar
2001-5-9 18:15:15 BundleProvisioner update 信息: Updated bundle 112 from /E:/glassfish3/glassfish/modules/grizzly-lzma.jar
2001-5-9 18:15:15 BundleProvisioner update 信息: Updated bundle 113 from /E:/glassfish3/glassfish/modules/grizzly-portunif. jar 2001-5-9 18:15:15 BundleProvisioner update 信息: Updated bundle 114 from /E:/glassfish3/glassfish/modules/grizzly-rcm.jar 2001-5-9 18:15:15 BundleProvisioner update 信息: Updated bundle 115 from /E:/glassfish3/glassfish/modules/grizzly-utils.jar
2001-5-9 18:15:15 BundleProvisioner update 信息: Updated bundle 116 from /E:/glassfish3/glassfish/modules/grizzly-websocket s.jar 2001-5-9 18:15:15 BundleProvisioner update 信息: Updated bundle 117 from /E:/glassfish3/glassfish/modules/ha-api.jar 2001-5-9 18:15:15 BundleProvisioner update 信息: Updated bundle 118 from /E:/glassfish3/glassfish/modules/ha-file-store.jar
2001-5-9 18:15:16 BundleProvisioner update 信息: Updated bundle 119 from /E:/glassfish3/glassfish/modules/ha-shoal-cache-bo otstrap.jar 2001-5-9 18:15:16 BundleProvisioner update 信息: Updated bundle 120 from /E:/glassfish3/glassfish/modules/ha-shoal-cache-st ore.jar 2001-5-9 18:15:16 BundleProvisioner update 信息: Updated bundle 121 from /E:/glassfish3/glassfish/modules/hk2-core.jar 2001-5-9 18:15:16 BundleProvisioner update 信息: Updated bundle 122 from /E:/glassfish3/glassfish/modules/hk2.jar 2001-5-9 18:15:16 BundleProvisioner update 信息: Updated bundle 123 from /E:/glassfish3/glassfish/modules/inmemory.jacc.pro vider.jar 2001-5-9 18:15:16 BundleProvisioner update 信息: Updated bundle 124 from /E:/glassfish3/glassfish/modules/internal-api.jar
2001-5-9 18:15:16 BundleProvisioner update 信息: Updated bundle 125 from /E:/glassfish3/glassfish/modules/j-interop-repacka ged.jar 2001-5-9 18:15:16 BundleProvisioner update 信息: Updated bundle 126 from /E:/glassfish3/glassfish/modules/jackson-core-asl. jar 2001-5-9 18:15:16 BundleProvisioner update 信息: Updated bundle 127 from /E:/glassfish3/glassfish/modules/jackson-jaxrs.jar
2001-5-9 18:15:16 BundleProvisioner update 信息: Updated bundle 128 from /E:/glassfish3/glassfish/modules/jackson-mapper-as l.jar 2001-5-9 18:15:16 BundleProvisioner update 信息: Updated bundle 129 from /E:/glassfish3/glassfish/modules/jackson-xc.jar 2001-5-9 18:15:16 BundleProvisioner update 信息: Updated bundle 130 from /E:/glassfish3/glassfish/modules/jaspic.provider.f ramework.jar 2001-5-9 18:15:16 BundleProvisioner update 信息: Updated bundle 131 from /E:/glassfish3/glassfish/modules/javaee-kernel.jar
2001-5-9 18:15:16 BundleProvisioner update 信息: Updated bundle 132 from /E:/glassfish3/glassfish/modules/javax.ejb.jar 2001-5-9 18:15:16 BundleProvisioner update 信息: Updated bundle 133 from /E:/glassfish3/glassfish/modules/javax.el-api.jar
2001-5-9 18:15:16 BundleProvisioner update 信息: Updated bundle 134 from /E:/glassfish3/glassfish/modules/javax.el.jar 2001-5-9 18:15:16 BundleProvisioner update 信息: Updated bundle 135 from /E:/glassfish3/glassfish/modules/javax.enterprise. deploy.jar 2001-5-9 18:15:16 BundleProvisioner update 信息: Updated bundle 136 from /E:/glassfish3/glassfish/modules/javax.faces.jar 2001-5-9 18:15:16 BundleProvisioner update 信息: Updated bundle 137 from /E:/glassfish3/glassfish/modules/javax.jms.jar 2001-5-9 18:15:16 BundleProvisioner update 信息: Updated bundle 138 from /E:/glassfish3/glassfish/modules/javax.mail.jar 2001-5-9 18:15:16 BundleProvisioner update 信息: Updated bundle 139 from /E:/glassfish3/glassfish/modules/javax.management. j2ee.jar 2001-5-9 18:15:16 BundleProvisioner update 信息: Updated bundle 140 from /E:/glassfish3/glassfish/modules/javax.persistence .jar 2001-5-9 18:15:16 BundleProvisioner update 信息: Updated bundle 141 from /E:/glassfish3/glassfish/modules/javax.resource.ja r 2001-5-9 18:15:16 BundleProvisioner update 信息: Updated bundle 142 from /E:/glassfish3/glassfish/modules/javax.security.au th.message.jar 2001-5-9 18:15:16 BundleProvisioner update 信息: Updated bundle 143 from /E:/glassfish3/glassfish/modules/javax.security.ja cc.jar 2001-5-9 18:15:16 BundleProvisioner update 信息: Updated bundle 144 from /E:/glassfish3/glassfish/modules/javax.servlet-api .jar 2001-5-9 18:15:16 BundleProvisioner update 信息: Updated bundle 145 from /E:/glassfish3/glassfish/modules/javax.servlet.jsp -api.jar 2001-5-9 18:15:16 BundleProvisioner update 信息: Updated bundle 146 from /E:/glassfish3/glassfish/modules/javax.servlet.jsp .jar 2001-5-9 18:15:16 BundleProvisioner update 信息: Updated bundle 147 from /E:/glassfish3/glassfish/modules/javax.servlet.jsp .jstl-api.jar 2001-5-9 18:15:16 BundleProvisioner update 信息: Updated bundle 148 from /E:/glassfish3/glassfish/modules/javax.servlet.jsp .jstl.jar 2001-5-9 18:15:16 BundleProvisioner update 信息: Updated bundle 149 from /E:/glassfish3/glassfish/modules/javax.transaction .jar 2001-5-9 18:15:17 BundleProvisioner update 信息: Updated bundle 150 from /E:/glassfish3/glassfish/modules/jaxb-osgi.jar 2001-5-9 18:15:17 BundleProvisioner update 信息: Updated bundle 151 from /E:/glassfish3/glassfish/modules/jaxr-api-osgi.jar
2001-5-9 18:15:17 BundleProvisioner update 信息: Updated bundle 152 from /E:/glassfish3/glassfish/modules/jaxrpc-api-osgi.j ar 2001-5-9 18:15:17 BundleProvisioner update 信息: Updated bundle 153 from /E:/glassfish3/glassfish/modules/jdbc-admin.jar 2001-5-9 18:15:17 BundleProvisioner update 信息: Updated bundle 154 from /E:/glassfish3/glassfish/modules/jersey-client.jar
2001-5-9 18:15:17 BundleProvisioner update 信息: Updated bundle 155 from /E:/glassfish3/glassfish/modules/jersey-core.jar 2001-5-9 18:15:17 BundleProvisioner update 信息: Updated bundle 156 from /E:/glassfish3/glassfish/modules/jersey-gf-server. jar 2001-5-9 18:15:17 BundleProvisioner update 信息: Updated bundle 157 from /E:/glassfish3/glassfish/modules/jersey-gf-servlet .jar 2001-5-9 18:15:17 BundleProvisioner update 信息: Updated bundle 158 from /E:/glassfish3/glassfish/modules/jersey-gf-statspr oviders.jar 2001-5-9 18:15:17 BundleProvisioner update 信息: Updated bundle 159 from /E:/glassfish3/glassfish/modules/jersey-grizzly.ja r 2001-5-9 18:15:17 BundleProvisioner update 信息: Updated bundle 160 from /E:/glassfish3/glassfish/modules/jersey-json.jar 2001-5-9 18:15:17 BundleProvisioner update 信息: Updated bundle 161 from /E:/glassfish3/glassfish/modules/jersey-moxy.jar 2001-5-9 18:15:17 BundleProvisioner update 信息: Updated bundle 162 from /E:/glassfish3/glassfish/modules/jersey-multipart. jar 2001-5-9 18:15:17 BundleProvisioner update 信息: Updated bundle 163 from /E:/glassfish3/glassfish/modules/jettison.jar 2001-5-9 18:15:17 BundleProvisioner update 信息: Updated bundle 164 from /E:/glassfish3/glassfish/modules/jms-admin.jar 2001-5-9 18:15:17 BundleProvisioner update 信息: Updated bundle 165 from /E:/glassfish3/glassfish/modules/jms-core.jar 2001-5-9 18:15:17 BundleProvisioner update 信息: Updated bundle 166 from /E:/glassfish3/glassfish/modules/jmxremote_optiona l-repackaged.jar 2001-5-9 18:15:17 BundleProvisioner update 信息: Updated bundle 167 from /E:/glassfish3/glassfish/modules/jpa-connector.jar
2001-5-9 18:15:17 BundleProvisioner update 信息: Updated bundle 168 from /E:/glassfish3/glassfish/modules/jsf-connector.jar
2001-5-9 18:15:17 BundleProvisioner update 信息: Updated bundle 169 from /E:/glassfish3/glassfish/modules/jsftemplating.jar
2001-5-9 18:15:17 BundleProvisioner update 信息: Updated bundle 170 from /E:/glassfish3/glassfish/modules/jspcaching-connec tor.jar 2001-5-9 18:15:17 BundleProvisioner update 信息: Updated bundle 171 from /E:/glassfish3/glassfish/modules/jsr109-impl.jar 2001-5-9 18:15:18 BundleProvisioner update 信息: Updated bundle 172 from /E:/glassfish3/glassfish/modules/jstl-connector.ja r 2001-5-9 18:15:18 BundleProvisioner update 信息: Updated bundle 173 from /E:/glassfish3/glassfish/modules/jta.jar 2001-5-9 18:15:18 BundleProvisioner update 信息: Updated bundle 174 from /E:/glassfish3/glassfish/modules/jts.jar 2001-5-9 18:15:18 BundleProvisioner update 信息: Updated bundle 175 from /E:/glassfish3/glassfish/modules/kernel.jar 2001-5-9 18:15:18 BundleProvisioner update 信息: Updated bundle 176 from /E:/glassfish3/glassfish/modules/launcher.jar 2001-5-9 18:15:18 BundleProvisioner update 信息: Updated bundle 177 from /E:/glassfish3/glassfish/modules/ldapbp-repackaged .jar 2001-5-9 18:15:18 BundleProvisioner update 信息: Updated bundle 178 from /E:/glassfish3/glassfish/modules/libpam4j-repackag ed.jar 2001-5-9 18:15:18 BundleProvisioner update 信息: Updated bundle 179 from /E:/glassfish3/glassfish/modules/load-balancer-adm in.jar 2001-5-9 18:15:18 BundleProvisioner update 信息: Updated bundle 180 from /E:/glassfish3/glassfish/modules/logging.jar 2001-5-9 18:15:18 BundleProvisioner update 信息: Updated bundle 181 from /E:/glassfish3/glassfish/modules/management-api.ja r 2001-5-9 18:15:18 BundleProvisioner update 信息: Updated bundle 182 from /E:/glassfish3/glassfish/modules/metro-glue.jar 2001-5-9 18:15:18 BundleProvisioner update 信息: Updated bundle 183 from /E:/glassfish3/glassfish/modules/mimepull.jar 2001-5-9 18:15:18 BundleProvisioner update 信息: Updated bundle 184 from /E:/glassfish3/glassfish/modules/monitoring-core.j ar 2001-5-9 18:15:18 BundleProvisioner update 信息: Updated bundle 185 from /E:/glassfish3/glassfish/modules/orb-connector.jar
2001-5-9 18:15:18 BundleProvisioner update 信息: Updated bundle 186 from /E:/glassfish3/glassfish/modules/orb-enabler.jar 2001-5-9 18:15:18 BundleProvisioner update 信息: Updated bundle 187 from /E:/glassfish3/glassfish/modules/orb-iiop.jar 2001-5-9 18:15:18 BundleProvisioner update 信息: Updated bundle 188 from /E:/glassfish3/glassfish/modules/org.apache.felix. configadmin.jar 2001-5-9 18:15:18 BundleProvisioner update 信息: Updated bundle 189 from /E:/glassfish3/glassfish/modules/org.apache.felix. fileinstall.jar 2001-5-9 18:15:18 BundleProvisioner update 信息: Updated bundle 190 from /E:/glassfish3/glassfish/modules/org.apache.felix. gogo.command.jar 2001-5-9 18:15:18 BundleProvisioner update 信息: Updated bundle 191 from /E:/glassfish3/glassfish/modules/org.apache.felix. gogo.runtime.jar 2001-5-9 18:15:18 BundleProvisioner update 信息: Updated bundle 192 from /E:/glassfish3/glassfish/modules/org.apache.felix. gogo.shell.jar 2001-5-9 18:15:18 BundleProvisioner update 信息: Updated bundle 193 from /E:/glassfish3/glassfish/modules/org.apache.felix. shell.jar 2001-5-9 18:15:18 BundleProvisioner update 信息: Updated bundle 194 from /E:/glassfish3/glassfish/modules/org.apache.felix. shell.remote.jar 2001-5-9 18:15:18 BundleProvisioner update 信息: Updated bundle 195 from /E:/glassfish3/glassfish/modules/org.apache.felix. shell.tui.jar 2001-5-9 18:15:19 BundleProvisioner update 信息: Updated bundle 196 from /E:/glassfish3/glassfish/modules/org.eclipse.persi stence.antlr.jar 2001-5-9 18:15:19 BundleProvisioner update 信息: Updated bundle 197 from /E:/glassfish3/glassfish/modules/org.eclipse.persi stence.asm.jar 2001-5-9 18:15:19 BundleProvisioner update 信息: Updated bundle 198 from /E:/glassfish3/glassfish/modules/org.eclipse.persi stence.core.jar 2001-5-9 18:15:19 BundleProvisioner update 信息: Updated bundle 199 from /E:/glassfish3/glassfish/modules/org.eclipse.persi stence.jpa.jar 2001-5-9 18:15:19 BundleProvisioner update 信息: Updated bundle 200 from /E:/glassfish3/glassfish/modules/org.eclipse.persi stence.jpa.modelgen.jar 2001-5-9 18:15:19 BundleProvisioner update 信息: Updated bundle 201 from /E:/glassfish3/glassfish/modules/org.eclipse.persi stence.moxy.jar 2001-5-9 18:15:19 BundleProvisioner update 信息: Updated bundle 202 from /E:/glassfish3/glassfish/modules/org.eclipse.persi stence.oracle.jar 2001-5-9 18:15:19 BundleProvisioner update 信息: Updated bundle 203 from /E:/glassfish3/glassfish/modules/osgi-adapter.jar
2001-5-9 18:15:19 BundleProvisioner update 信息: Updated bundle 204 from /E:/glassfish3/glassfish/modules/osgi-container.ja r 2001-5-9 18:15:19 BundleProvisioner update 信息: Updated bundle 205 from /E:/glassfish3/glassfish/modules/osgi-jpa-extensio n.jar 2001-5-9 18:15:19 BundleProvisioner update 信息: Updated bundle 206 from /E:/glassfish3/glassfish/modules/osgi-resource-loc ator.jar 2001-5-9 18:15:19 BundleProvisioner update 信息: Updated bundle 207 from /E:/glassfish3/glassfish/modules/persistence-commo n.jar 2001-5-9 18:15:19 BundleProvisioner update 信息: Updated bundle 208 from /E:/glassfish3/glassfish/modules/pkg-client.jar 2001-5-9 18:15:19 BundleProvisioner update 信息: Updated bundle 209 from /E:/glassfish3/glassfish/modules/registration-api. jar 2001-5-9 18:15:19 BundleProvisioner update 信息: Updated bundle 210 from /E:/glassfish3/glassfish/modules/registration-impl .jar 2001-5-9 18:15:19 BundleProvisioner update 信息: Updated bundle 211 from /E:/glassfish3/glassfish/modules/rest-service.jar
2001-5-9 18:15:19 BundleProvisioner update 信息: Updated bundle 212 from /E:/glassfish3/glassfish/modules/scattered-archive -api.jar 2001-5-9 18:15:19 BundleProvisioner update 信息: Updated bundle 213 from /E:/glassfish3/glassfish/modules/schema2beans-repa ckaged.jar 2001-5-9 18:15:19 BundleProvisioner update 信息: Updated bundle 214 from /E:/glassfish3/glassfish/modules/security.jar 2001-5-9 18:15:19 BundleProvisioner update 信息: Updated bundle 215 from /E:/glassfish3/glassfish/modules/server-mgmt.jar 2001-5-9 18:15:19 BundleProvisioner update 信息: Updated bundle 216 from /E:/glassfish3/glassfish/modules/shoal-cache.jar 2001-5-9 18:15:19 BundleProvisioner update 信息: Updated bundle 217 from /E:/glassfish3/glassfish/modules/shoal-gms-api.jar
2001-5-9 18:15:19 BundleProvisioner update 信息: Updated bundle 218 from /E:/glassfish3/glassfish/modules/shoal-gms-impl.ja r 2001-5-9 18:15:19 BundleProvisioner update 信息: Updated bundle 219 from /E:/glassfish3/glassfish/modules/simple-glassfish- api.jar 2001-5-9 18:15:19 BundleProvisioner update 信息: Updated bundle 220 from /E:/glassfish3/glassfish/modules/soap-tcp.jar 2001-5-9 18:15:19 BundleProvisioner update 信息: Updated bundle 221 from /E:/glassfish3/glassfish/modules/ssl-impl.jar 2001-5-9 18:15:19 BundleProvisioner update 信息: Updated bundle 222 from /E:/glassfish3/glassfish/modules/stats77.jar 2001-5-9 18:15:19 BundleProvisioner update 信息: Updated bundle 223 from /E:/glassfish3/glassfish/modules/stax2-api.jar 2001-5-9 18:15:19 BundleProvisioner update 信息: Updated bundle 224 from /E:/glassfish3/glassfish/modules/transaction-inter nal-api.jar 2001-5-9 18:15:19 BundleProvisioner update 信息: Updated bundle 225 from /E:/glassfish3/glassfish/modules/trilead-ssh2-repa ckaged.jar 2001-5-9 18:15:19 BundleProvisioner update 信息: Updated bundle 226 from /E:/glassfish3/glassfish/modules/war-util.jar 2001-5-9 18:15:20 BundleProvisioner update 信息: Updated bundle 227 from /E:/glassfish3/glassfish/modules/web-cli.jar 2001-5-9 18:15:20 BundleProvisioner update 信息: Updated bundle 228 from /E:/glassfish3/glassfish/modules/web-core.jar 2001-5-9 18:15:20 BundleProvisioner update 信息: Updated bundle 229 from /E:/glassfish3/glassfish/modules/web-embed-api.jar
2001-5-9 18:15:20 BundleProvisioner update 信息: Updated bundle 230 from /E:/glassfish3/glassfish/modules/web-embed-impl.ja r 2001-5-9 18:15:20 BundleProvisioner update 信息: Updated bundle 231 from /E:/glassfish3/glassfish/modules/web-glue.jar 2001-5-9 18:15:20 BundleProvisioner update 信息: Updated bundle 232 from /E:/glassfish3/glassfish/modules/web-gui-plugin-co mmon.jar 2001-5-9 18:15:20 BundleProvisioner update 信息: Updated bundle 233 from /E:/glassfish3/glassfish/modules/web-ha.jar 2001-5-9 18:15:20 BundleProvisioner update 信息: Updated bundle 234 from /E:/glassfish3/glassfish/modules/web-naming.jar 2001-5-9 18:15:20 BundleProvisioner update 信息: Updated bundle 235 from /E:/glassfish3/glassfish/modules/websecurity.jar 2001-5-9 18:15:20 BundleProvisioner update 信息: Updated bundle 236 from /E:/glassfish3/glassfish/modules/webservices-conne ctor.jar 2001-5-9 18:15:20 BundleProvisioner update 信息: Updated bundle 237 from /E:/glassfish3/glassfish/modules/webservices-extra -jdk-packages.jar 2001-5-9 18:15:20 BundleProvisioner update 信息: Updated bundle 238 from /E:/glassfish3/glassfish/modules/webservices-osgi. jar 2001-5-9 18:15:20 BundleProvisioner update 信息: Updated bundle 239 from /E:/glassfish3/glassfish/modules/webservices.secur ity.jar 2001-5-9 18:15:20 BundleProvisioner update 信息: Updated bundle 240 from /E:/glassfish3/glassfish/modules/weld-integration- fragment.jar 2001-5-9 18:15:20 BundleProvisioner update 信息: Updated bundle 241 from /E:/glassfish3/glassfish/modules/weld-integration. jar 2001-5-9 18:15:20 BundleProvisioner update 信息: Updated bundle 242 from /E:/glassfish3/glassfish/modules/weld-osgi-bundle. jar 2001-5-9 18:15:20 BundleProvisioner update 信息: Updated bundle 243 from /E:/glassfish3/glassfish/modules/woodstox-core-asl .jar 2001-5-9 18:15:21 BundleProvisioner update 信息: Updated bundle 244 from /E:/glassfish3/glassfish/modules/work-management.j ar 2001-5-9 18:15:21 BundleProvisioner update 信息: Updated bundle 245 from /E:/glassfish3/glassfish/modules/autostart/org.apa che.felix.eventadmin.jar 2001-5-9 18:15:21 BundleProvisioner update 信息: Updated bundle 246 from /E:/glassfish3/glassfish/modules/autostart/org.apa che.felix.scr.jar 2001-5-9 18:15:21 BundleProvisioner update 信息: Updated bundle 247 from /E:/glassfish3/glassfish/modules/autostart/osgi-cd i.jar 2001-5-9 18:15:21 BundleProvisioner update 信息: Updated bundle 248 from /E:/glassfish3/glassfish/modules/autostart/osgi-ee -resources.jar 2001-5-9 18:15:21 BundleProvisioner update 信息: Updated bundle 249 from /E:/glassfish3/glassfish/modules/autostart/osgi-ej b-container.jar 2001-5-9 18:15:21 BundleProvisioner update 信息: Updated bundle 250 from /E:/glassfish3/glassfish/modules/autostart/osgi-ht tp.jar 2001-5-9 18:15:21 BundleProvisioner update 信息: Updated bundle 251 from /E:/glassfish3/glassfish/modules/autostart/osgi-ja vaee-base.jar 2001-5-9 18:15:21 BundleProvisioner update 信息: Updated bundle 252 from /E:/glassfish3/glassfish/modules/autostart/osgi-jd bc.jar 2001-5-9 18:15:21 BundleProvisioner update 信息: Updated bundle 253 from /E:/glassfish3/glassfish/modules/autostart/osgi-jp a.jar 2001-5-9 18:15:21 BundleProvisioner update 信息: Updated bundle 254 from /E:/glassfish3/glassfish/modules/autostart/osgi-jt a.jar 2001-5-9 18:15:21 BundleProvisioner update 信息: Updated bundle 255 from /E:/glassfish3/glassfish/modules/autostart/osgi-we b-container.jar 2001-5-9 18:15:21 OSGiFrameworkLauncher launchOSGiFrameWork 信息: Updating system bundle Exception in thread "main" java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.enterprise.glassfish.bootstrap.GlassFishMain.main(GlassFishMa in.java:97) at com.sun.enterprise.glassfish.bootstrap.ASMain.main(ASMain.java:55) Caused by: org.glassfish.embeddable.GlassFishException: java.lang.IllegalStateEx ception: Bundle in unexpected state. at com.sun.enterprise.glassfish.bootstrap.osgi.OSGiGlassFishRuntimeBuild er.build(OSGiGlassFishRuntimeBuilder.java:164) at org.glassfish.embeddable.GlassFishRuntime._bootstrap(GlassFishRuntime .java:157) at org.glassfish.embeddable.GlassFishRuntime.bootstrap(GlassFishRuntime. java:110) at com.sun.enterprise.glassfish.bootstrap.GlassFishMain$Launcher.launch( GlassFishMain.java:112) ... 6 more Caused by: java.lang.IllegalStateException: Bundle in unexpected state. at org.apache.felix.framework.Felix.acquireBundleLock(Felix.java:4856) at org.apache.felix.framework.Felix.start(Felix.java:809) at com.sun.enterprise.glassfish.bootstrap.osgi.OSGiGlassFishRuntimeBuild er.build(OSGiGlassFishRuntimeBuilder.java:157) ... 9 more Error stopping framework: java.lang.NullPointerException java.lang.NullPointerException at com.sun.enterprise.glassfish.bootstrap.GlassFishMain$Launcher$1.run(G lassFishMain.java:203)
Command start-domain failed. asadmin> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Environment
Windows, GlassFish 3.1.2, Felix.
Affected Versions
[3.1.2, 5.0]