users@glassfish.java.net

Re: Error when I start the GlassFish server in NetBeans, please help me :-(

From: Alexander Berry <aberryjr_at_gmail.com>
Date: Tue, 29 Jun 2010 13:49:57 -0500

Well,

After doing some reseach on this issue this is what I have found.

> I think the update centre has content from 3.1 dev repository, so if
someone is blindly getting all available addons and updates, they are likely
to have a useless installation, because not all our packages in update
centre has right dependency set. So, I suggest you reinstall v3 and only
select updates/addons that you need.
>
> Snjezana, this is the second time some is having issues. Is there a bug
filed for this?

the dev repo has indeed both 3.1 and 3.0.1 promoted builds.
So if you have that repo set as the preferred, a "pkg image-update" (or
equivalent via the updatetool) will blindly update to the latest 3.1 version
(except there are currently references to a non-existing glassfish-ha
package, but that'll be fixed in the next promoted build).
Since I understand we want to minimize the number of IPS repositories we
maintain and this is a temporary issue until 3.0.1 ships (soon), we're not
going to change the current setting. In the meantime, downloading a fresh
install from http://download.java.net/glassfish/v3.0.1/promoted/ is your
best bet.

On Tue, Jun 29, 2010 at 12:30 PM, <glassfish_at_javadesktop.org> wrote:

> Hello,
> I have some problem with GlassFish. I have installed it from NetBeans that
> have just download and install it.
>
> When I start GlassFish in the GlassFish console of NetBeans give me this
> output that contain some GlassFish errors message:
>
> [code]
> 29-giu-2010 19.08.32 com.sun.enterprise.glassfish.bootstrap.ASMain main
> INFO: Launching GlassFish on Felix platform
> Welcome to Felix
> ================
> INFO: Perform lazy SSL initialization for the listener 'http-listener-2'
> INFO: Starting Grizzly Framework 1.9.18-k - Tue Jun 29 19:08:37 CEST 2010
> INFO: Starting Grizzly Framework 1.9.18-k - Tue Jun 29 19:08:37 CEST 2010
> INFO: Grizzly Framework 1.9.18-k started in: 60ms listening on port 3700
> INFO: Grizzly Framework 1.9.18-k started in: 79ms listening on port 4848
> INFO: Grizzly Framework 1.9.18-k started in: 128ms listening on port 8080
> INFO: Grizzly Framework 1.9.18-k started in: 88ms listening on port 8181
> INFO: Grizzly Framework 1.9.18-k started in: 49ms listening on port 7676
> INFO: The Admin Console is already installed, but not yet loaded.
> INFO: Using
> com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate as
> the delegate
> INFO: javassist.util.proxy.ProxyFactory.classLoaderProvider =
> org.glassfish.weld.WeldActivator$GlassFishClassLoaderProvider_at_75ab5e0b
> INFO: SEC1002: Security Manager is OFF.
> GRAVE: SEC5054: Certificate has expired: [
> [
> Version: V1
> Subject: OU=Secure Server Certification Authority, O="RSA Data Security,
> Inc.", C=US
> Signature Algorithm: MD2withRSA, OID = 1.2.840.113549.1.1.2
> Key: Sun RSA public key, 1000 bits
> modulus:
> 6144706769222379850430183405655235862870193813433361902309516534729547168229223442088128897090426025874990958624426272027915771330043379079076269082776443120496525109458437435793974957144923190172655546279112796066635455545786300647745888353781002359412766112775410851780140804282673804950495744761467
> public exponent: 65537
> Validity: [From: Wed Nov 09 01:00:00 CET 1994,
> To: Fri Jan 08 00:59:59 CET 2010]
> Issuer: OU=Secure Server Certification Authority, O="RSA Data Security,
> Inc.", C=US
> SerialNumber: [ 02ad667e 4e45fe5e 576f3c98 195eddc0]
> ]
> Algorithm: [MD2withRSA]
> Signature:
> 0000: 65 DD 7E E1 B2 EC B0 E2 3A E0 EC 71 46 9A 19 11 e.......:..qF...
> 0010: B8 D3 C7 A0 B4 03 40 26 02 3E 09 9C E1 12 B3 D1 ......@&.>......
> 0020: 5A F6 37 A5 B7 61 03 B6 5B 16 69 3B C6 44 08 0C Z.7..a..[.i;.D..
> 0030: 88 53 0C 6B 97 49 C7 3E 35 DC 6C B9 BB AA DF 5C .S.k.I.>5.l....\
> 0040: BB 3A 2F 93 60 B6 A9 4B 4D F2 20 F7 CD 5F 7F 64 .:/.`..KM. .._.d
> 0050: 7B 8E DC 00 5C D7 FA 77 CA 39 16 59 6F 0E EA D3 ....\..w.9.Yo...
> 0060: B5 83 7F 4D 4D 42 56 76 B4 C9 5F 04 F8 38 F8 EB ...MMBVv.._..8..
> 0070: D2 5F 75 5F CD 7B FC E5 8E 80 7C FC 50 ._u_........P
> ]
> INFO: Security startup service called
> INFO: SEC1143: Loading policy provider
> com.sun.enterprise.security.provider.PolicyWrapper.
> INFO: Realm admin-realm of classtype
> com.sun.enterprise.security.auth.realm.file.FileRealm successfully created.
> INFO: Realm file of classtype
> com.sun.enterprise.security.auth.realm.file.FileRealm successfully created.
> INFO: Realm certificate of classtype
> com.sun.enterprise.security.auth.realm.certificate.CertificateRealm
> successfully created.
> INFO: Security service(s) started successfully....
> INFO: Created HTTP listener http-listener-1 on port 8080
> INFO: Created HTTP listener http-listener-2 on port 8181
> INFO: Created HTTP listener admin-listener on port 4848
> INFO: Created virtual server server
> INFO: Created virtual server __asadmin
> INFO: Virtual server server loaded system default web module
> INFO: [INFO] Clustering has been disabled
>
> INFO: [INFO] Deploying module: ping-1.5 -
> file:/home/andrea/GlassFish_v3/glassfish/domains/domain1/applications/axis2/WEB-INF/modules/ping-1.5.mar
>
> INFO: [INFO] Deploying module: jaxws-1.5 -
> file:/home/andrea/GlassFish_v3/glassfish/domains/domain1/applications/axis2/WEB-INF/modules/axis2-jaxws-mar-1.5.mar
>
> INFO: [INFO] Deploying module: mtompolicy-1.5 -
> file:/home/andrea/GlassFish_v3/glassfish/domains/domain1/applications/axis2/WEB-INF/modules/mtompolicy-1.5.mar
>
> INFO: [INFO] Deploying module: script-1.5 -
> file:/home/andrea/GlassFish_v3/glassfish/domains/domain1/applications/axis2/WEB-INF/modules/axis2-scripting-1.5.mar
>
> INFO: [INFO] Deploying module: soapmonitor-1.5 -
> file:/home/andrea/GlassFish_v3/glassfish/domains/domain1/applications/axis2/WEB-INF/modules/soapmonitor-1.5.mar
>
> INFO: [INFO] Deploying module: addressing-1.5 -
> file:/home/andrea/GlassFish_v3/glassfish/domains/domain1/applications/axis2/WEB-INF/modules/addressing-1.5.mar
>
> INFO: [INFO] Deploying module: metadataExchange-1.5 -
> file:/home/andrea/GlassFish_v3/glassfish/domains/domain1/applications/axis2/WEB-INF/modules/mex-1.5.mar
>
> INFO: [INFO] Deploying module: metadataExchange -
> file:/home/andrea/GlassFish_v3/glassfish/domains/domain1/applications/axis2/WEB-INF/lib/mex-1.5-impl.jar
>
> INFO: [INFO] Deploying Web service: version-1.5.aar -
> file:/home/andrea/GlassFish_v3/glassfish/domains/domain1/applications/axis2/WEB-INF/services/version-1.5.aar
>
> INFO: Loading application axis2 at /axis2
> INFO: Loading axis2 Application done is 7549 ms
> INFO: WELD-000900 1.0.0 (SP4)
> INFO: Hibernate Validator bean-validator-3.0-JBoss-4.0.2
> INFO: Instantiated an instance of
> org.hibernate.validator.engine.resolver.JPATraversableResolver.
> INFO: nullID: /home/andrea/NetBeansProjects/HelloSpring/build/web/ CLASSES:
> [class controller.Name, class controller.HelloController, class
> service.HelloService]
>
> INFO: PWC1412: WebModule[/HelloSpring] ServletContext.log():Initializing
> Spring root WebApplicationContext
> INFO: Root WebApplicationContext: initialization started
> INFO: Refreshing
> org.springframework.web.context.support.XmlWebApplicationContext_at_753d8be3:
> display name [Root WebApplicationContext]; startup date [Tue Jun 29 19:08:46
> CEST 2010]; root of context hierarchy
> INFO: Loading XML bean definitions from ServletContext resource
> [/WEB-INF/applicationContext.xml]
> INFO: Bean factory for application context
> [org.springframework.web.context.support.XmlWebApplicationContext_at_753d8be3]:
> org.springframework.beans.factory.support.DefaultListableBeanFactory_at_7c007f5
> INFO: Pre-instantiating singletons in
> org.springframework.beans.factory.support.DefaultListableBeanFactory_at_7c007f5:
> defining beans [helloService]; root of factory hierarchy
> INFO: Root WebApplicationContext: initialization completed in 354 ms
> INFO: PWC1412: WebModule[/HelloSpring] ServletContext.log():Initializing
> Spring FrameworkServlet 'dispatcher'
> INFO: FrameworkServlet 'dispatcher': initialization started
> INFO: Refreshing
> org.springframework.web.context.support.XmlWebApplicationContext_at_451b2519:
> display name [WebApplicationContext for namespace 'dispatcher-servlet'];
> startup date [Tue Jun 29 19:08:47 CEST 2010]; parent:
> org.springframework.web.context.support.XmlWebApplicationContext_at_753d8be3
> INFO: Loading XML bean definitions from ServletContext resource
> [/WEB-INF/dispatcher-servlet.xml]
> INFO: Bean factory for application context
> [org.springframework.web.context.support.XmlWebApplicationContext_at_451b2519]:
> org.springframework.beans.factory.support.DefaultListableBeanFactory_at_e6470a6
> INFO: Pre-instantiating singletons in
> org.springframework.beans.factory.support.DefaultListableBeanFactory_at_e6470a6:
> defining beans
> [org.springframework.web.servlet.mvc.support.ControllerClassNameHandlerMapping#0,urlMapping,viewResolver,indexController,controller.HelloController#0];
> parent:
> org.springframework.beans.factory.support.DefaultListableBeanFactory_at_7c007f5
> INFO: FrameworkServlet 'dispatcher': initialization completed in 359 ms
> INFO: Loading application HelloSpring at /HelloSpring
> INFO: Loading HelloSpring Application done is 3021 ms
> INFO: Loading application springtest at /springtest
> INFO: Loading springtest Application done is 174 ms
> INFO: Oracle GlassFish Server v3 (74.2) startup time : Felix(3160ms)
> startup services(12351ms) total(15511ms)
> INFO: Instantiated an instance of
> org.hibernate.validator.engine.resolver.JPATraversableResolver.
> INFO: Binding RMI port to *:8686
> INFO: [Thread[GlassFish Kernel Main Thread,5,main]] started
> INFO: JMXStartupService: Started JMXConnector, JMXService URL =
> service:jmx:rmi://andrea-laptop:8686/jndi/rmi://andrea-laptop:8686/jmxrmi
> INFO: Created HTTP listener http-listener-1 on port 8080
> INFO: Grizzly Framework 1.9.18-k started in: 33ms listening on port 8080
> INFO: {felix.fileinstall.poll (ms) = 5000, felix.fileinstall.dir =
> /home/andrea/GlassFish_v3/glassfish/domains/domain1/autodeploy/bundles,
> felix.fileinstall.debug = 1, felix.fileinstall.bundles.new.start = true,
> felix.fileinstall.tmpdir = /tmp/fileinstall-7049728070596126923,
> felix.fileinstall.filter = null}
> INFO: {felix.fileinstall.poll (ms) = 5000, felix.fileinstall.dir =
> /home/andrea/GlassFish_v3/glassfish/modules/autostart,
> felix.fileinstall.debug = 1, felix.fileinstall.bundles.new.start = true,
> felix.fileinstall.tmpdir = /tmp/fileinstall--1349262462375544533,
> felix.fileinstall.filter = null}
> INFO: Error while starting bundle:
> file:/home/andrea/GlassFish_v3/glassfish/modules/autostart/org.apache.felix.webconsole.jar:
> org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.glassfish.osgi-http [219]: package;
> (&(package=com.sun.enterprise.config.serverbeans)(version>=3.1.0))
> INFO: org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.glassfish.osgi-http [219]: package;
> (&(package=com.sun.enterprise.config.serverbeans)(version>=3.1.0))
> at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3263)
> at org.apache.felix.framework.Felix.startBundle(Felix.java:1597)
> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:915)
> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:902)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.start(DirectoryWatcher.java:1027)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.start(DirectoryWatcher.java:1013)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1006)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:396)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:206)
>
> INFO: Started bundle:
> file:/home/andrea/GlassFish_v3/glassfish/modules/autostart/osgi-web-container.jar
> INFO: Error while starting bundle:
> file:/home/andrea/GlassFish_v3/glassfish/modules/autostart/osgi-http.jar:
> org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.glassfish.osgi-http [219]: package;
> (&(package=com.sun.enterprise.config.serverbeans)(version>=3.1.0))
> INFO: org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.glassfish.osgi-http [219]: package;
> (&(package=com.sun.enterprise.config.serverbeans)(version>=3.1.0))
> at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3263)
> at org.apache.felix.framework.Felix.startBundle(Felix.java:1597)
> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:915)
> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:902)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.start(DirectoryWatcher.java:1027)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.start(DirectoryWatcher.java:1013)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1006)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:396)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:206)
>
> INFO: Started bundle:
> file:/home/andrea/GlassFish_v3/glassfish/modules/autostart/org.apache.felix.scr.jar
> INFO: ERROR: Error starting
> file:/home/andrea/GlassFish_v3/glassfish/modules/autostart/osgi-http.jar
> (org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.glassfish.osgi-http [219]: package;
> (&(package=com.sun.enterprise.config.serverbeans)(version>=3.1.0)))
> GRAVE: org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.glassfish.osgi-http [219]: package;
> (&(package=com.sun.enterprise.config.serverbeans)(version>=3.1.0))
> at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3263)
> at org.apache.felix.framework.Felix.startBundle(Felix.java:1597)
> at
> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1077)
> at
> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
> at java.lang.Thread.run(Thread.java:619)
>
> INFO: ERROR: Error starting
> file:/home/andrea/GlassFish_v3/glassfish/modules/autostart/org.apache.felix.webconsole.jar
> (org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.glassfish.osgi-http [219]: package;
> (&(package=com.sun.enterprise.config.serverbeans)(version>=3.1.0)))
> GRAVE: org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.glassfish.osgi-http [219]: package;
> (&(package=com.sun.enterprise.config.serverbeans)(version>=3.1.0))
> at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3263)
> at org.apache.felix.framework.Felix.startBundle(Felix.java:1597)
> at
> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1077)
> at
> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
> at java.lang.Thread.run(Thread.java:619)
>
> INFO: Perform lazy SSL initialization for the listener 'http-listener-2'
> INFO: Created HTTP listener http-listener-2 on port 8181
> INFO: Grizzly Framework 1.9.18-k started in: 16ms listening on port 8181
> INFO: Updating configuration from
> org.apache.felix.fileinstall-autodeploy-bundles.cfg
> INFO: {felix.fileinstall.poll (ms) = 5000, felix.fileinstall.dir =
> /home/andrea/GlassFish_v3/glassfish/domains/domain1/autodeploy/bundles,
> felix.fileinstall.debug = 1, felix.fileinstall.bundles.new.start = true,
> felix.fileinstall.tmpdir = /tmp/fileinstall--1377509170410790360,
> felix.fileinstall.filter = null}
> INFO: Installed
> /home/andrea/GlassFish_v3/glassfish/modules/autostart/org.apache.felix.fileinstall-autodeploy-bundles.cfg
> INFO: Error while starting bundle:
> file:/home/andrea/GlassFish_v3/glassfish/modules/autostart/org.apache.felix.webconsole.jar:
> org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.glassfish.osgi-http [219]: package;
> (&(package=com.sun.enterprise.config.serverbeans)(version>=3.1.0))
> INFO: org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.glassfish.osgi-http [219]: package;
> (&(package=com.sun.enterprise.config.serverbeans)(version>=3.1.0))
> at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3263)
> at org.apache.felix.framework.Felix.startBundle(Felix.java:1597)
> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:915)
> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:902)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.start(DirectoryWatcher.java:1027)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.start(DirectoryWatcher.java:1013)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1006)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:396)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:206)
>
> INFO: Error while starting bundle:
> file:/home/andrea/GlassFish_v3/glassfish/modules/autostart/osgi-http.jar:
> org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.glassfish.osgi-http [219]: package;
> (&(package=com.sun.enterprise.config.serverbeans)(version>=3.1.0))
> INFO: org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.glassfish.osgi-http [219]: package;
> (&(package=com.sun.enterprise.config.serverbeans)(version>=3.1.0))
> at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3263)
> at org.apache.felix.framework.Felix.startBundle(Felix.java:1597)
> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:915)
> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:902)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.start(DirectoryWatcher.java:1027)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.start(DirectoryWatcher.java:1013)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1006)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:396)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:206)
> [/code
>
> Why? What kind of problem can I have? How can I do to solve?
>
> Tnx
> Andrea
> [Message sent by forum member 'andreanobili']
>
> http://forums.java.net/jive/thread.jspa?messageID=476322
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>


-- 
Alexander Berry, Jr.
Software Engineer
Core Java Development
aberryjr_at_gmail.com