Skip to main content

.Net guy new to Java, Glashfish v3 Domain errors from Netbeans 6.8 IDE

1 reply [Last post]
gangelo
Offline
Joined: 2010-02-04
Points: 0

Can anyone help? I am a .Net guy, and new to Java web dev. I am receiving some Glashfish v3 Domain errors that are a mystery to me when trying to run the JSTLExamples(J2EE1.4) web example from Netbeans 6.8 IDE. I am running on Windows Vista Enterprise.

Here is the Glassfish v3 Domain output from Netbeans:

INFO: Server shutdown initiated
INFO: JMXStartupService: Stopped JMXConnectorServer: service:jmx:rmi://PICAWK20093047.nae.ds.army.mil:8686/jndi/rmi://PICAWK20093047.nae.ds.army.mil:8686/jmxrmi
INFO: JMXStartupService and JMXConnectors have been shut down.
INFO: Shutdown procedure finished
INFO: [Thread[GlassFish Kernel Main Thread,5,main]] exiting
Feb 4, 2010 3:38:29 PM 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 - Thu Feb 04 15:38:32 EST 2010
INFO: Grizzly Framework 1.9.18-k started in: 13ms listening on port 3700
INFO: Grizzly Framework 1.9.18-k started in: 49ms listening on port 8181
INFO: GlassFish v3 (74.2) startup time : Felix(2225ms) startup services(622ms) total(2847ms)
INFO: Starting Grizzly Framework 1.9.18-k - Thu Feb 04 15:38:32 EST 2010
INFO: Grizzly Framework 1.9.18-k started in: 39ms listening on port 4848
INFO: Grizzly Framework 1.9.18-k started in: 71ms listening on port 8080
INFO: Grizzly Framework 1.9.18-k started in: 949ms listening on port 7676
INFO: Hibernate Validator bean-validator-3.0-JBoss-4.0.2
INFO: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
INFO: Grizzly Framework 1.9.18-k started in: 6ms listening on port 8080
INFO: javassist.util.proxy.ProxyFactory.classLoaderProvider = org.glassfish.weld.WeldActivator$GlassFishClassLoaderProvider@19482ea
INFO: Binding RMI port to *:8686
INFO: JMXStartupService: Started JMXConnector, JMXService URL = service:jmx:rmi://PICAWK20093047.nae.ds.army.mil:8686/jndi/rmi://PICAWK20093047.nae.ds.army.mil:8686/jmxrmi
INFO: Perform lazy SSL initialization for the listener 'http-listener-2'
INFO: Using com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate as the delegate
INFO: Grizzly Framework 1.9.18-k started in: 6ms listening on port 8181
INFO: [Thread[GlassFish Kernel Main Thread,5,main]] started
INFO: {felix.fileinstall.poll (ms) = 5000, felix.fileinstall.dir = C:\Program Files\sges-v3\glassfish\domains\domain1\autodeploy\bundles, felix.fileinstall.debug = 1, felix.fileinstall.bundles.new.start = true, felix.fileinstall.tmpdir = C:\Users\GENE~1.ANG\AppData\Local\Temp\fileinstall--4608996514146520224, felix.fileinstall.filter = null}
INFO: {felix.fileinstall.poll (ms) = 5000, felix.fileinstall.dir = C:\Program Files\sges-v3\glassfish\modules\autostart, felix.fileinstall.debug = 1, felix.fileinstall.bundles.new.start = true, felix.fileinstall.tmpdir = C:\Users\GENE~1.ANG\AppData\Local\Temp\fileinstall-6571457881178707706, felix.fileinstall.filter = null}
INFO: Updating configuration from org.apache.felix.fileinstall-autodeploy-bundles.cfg
INFO: Installed C:\Program Files\sges-v3\glassfish\modules\autostart\org.apache.felix.fileinstall-autodeploy-bundles.cfg
INFO: {felix.fileinstall.poll (ms) = 5000, felix.fileinstall.dir = C:\Program Files\sges-v3\glassfish\domains\domain1\autodeploy\bundles, felix.fileinstall.debug = 1, felix.fileinstall.bundles.new.start = true, felix.fileinstall.tmpdir = C:\Users\GENE~1.ANG\AppData\Local\Temp\fileinstall-4071261521222467473, felix.fileinstall.filter = null}
INFO: SEC1002: Security Manager is OFF.
SEVERE: 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: Tue Nov 08 19:00:00 EST 1994,
To: Thu Jan 07 18:59:59 EST 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: Loading application JSTLExamples(J2EE1.4) at /jstl-examples
SEVERE: org.jvnet.hk2.config.ValidationException: Constraints for this bean violated. Message = ref must match "[\p{L}\p{N}_][\p{L}\p{N}\-_./;#]*"
org.jvnet.hk2.config.TransactionFailure: org.jvnet.hk2.config.ValidationException: Constraints for this bean violated.
Message = ref must match "[\p{L}\p{N}_][\p{L}\p{N}\-_./;#]*"
at org.jvnet.hk2.config.ConfigSupport._apply(ConfigSupport.java:194)
at org.jvnet.hk2.config.ConfigSupport.apply(ConfigSupport.java:130)
at com.sun.enterprise.v3.server.ApplicationLifecycle.registerAppInDomainXML(ApplicationLifecycle.java:814)
at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:297)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1224)
at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:365)
at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:204)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:245)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.RuntimeException: org.jvnet.hk2.config.ValidationException: Constraints for this bean violated.
Message = ref must match "[\p{L}\p{N}_][\p{L}\p{N}\-_./;#]*"
at org.jvnet.hk2.config.WriteableView.setter(WriteableView.java:178)
at org.jvnet.hk2.config.WriteableView.invoke(WriteableView.java:134)
at $Proxy95.setRef(Unknown Source)
at com.sun.enterprise.v3.server.ApplicationLifecycle$2.run(ApplicationLifecycle.java:884)
at org.jvnet.hk2.config.ConfigSupport._apply(ConfigSupport.java:171)
... 28 more
Caused by: org.jvnet.hk2.config.ValidationException: Constraints for this bean violated.
Message = ref must match "[\p{L}\p{N}_][\p{L}\p{N}\-_./;#]*"
at org.jvnet.hk2.config.WriteableView.handleValidation(WriteableView.java:660)
at org.jvnet.hk2.config.WriteableView.setter(WriteableView.java:175)
... 32 more

SEVERE: Error during deployment : org.jvnet.hk2.config.ValidationException: Constraints for this bean violated.
Message = ref must match "[\p{L}\p{N}_][\p{L}\p{N}\-_./;#]*"

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
hzhang_jn
Offline
Joined: 2005-07-22
Points: 0

This message seems to indicate that your application name contains some character the server does not like such as space (yes, it is a fairly cryptic error message!)

Can you try to change the application name and try again?