eclipse-ee4j / glassfish

Eclipse GlassFish
https://eclipse-ee4j.github.io/glassfish/
387 stars 144 forks source link

Unrecognized ":" character in windows path #11916

Closed glassfishrobot closed 13 years ago

glassfishrobot commented 14 years ago

An exception occurs when server contains applications with "Windows" paths. Steps to reproduce the stack trace :

INFO: Exception registering application: HelloWorld java.lang.RuntimeException: Cannot register J2EEApplication=D:-ws_gtb-1.metadata-.plugins-com.sun.enterprise.jst.server.sunappsrv92-domain1-eclipseApps-HelloWorld- as child of amx:pp=/J2EEDomain,type=J2EEServer,name=server,j2eeType=J2EEServer at org.glassfish.admin.amx.impl.j2ee.RegistrationSupport.registerJ2EEChild(RegistrationSupport.java:554) at org.glassfish.admin.amx.impl.j2ee.RegistrationSupport.createAppMBeans(RegistrationSupport.java:246) at org.glassfish.admin.amx.impl.j2ee.RegistrationSupport.processApplicationRef(RegistrationSupport.java:522) at org.glassfish.admin.amx.impl.j2ee.RegistrationSupport.registerApplications(RegistrationSupport.java:474) at org.glassfish.admin.amx.impl.j2ee.RegistrationSupport.(RegistrationSupport.java:158) at org.glassfish.admin.amx.impl.j2ee.J2EEServerImpl.registerChildren(J2EEServerImpl.java:116) at org.glassfish.admin.amx.impl.j2ee.DASJ2EEServerImpl.registerChildren(DASJ2EEServerImpl.java:68) at org.glassfish.admin.amx.impl.mbean.AMXImplBase.postRegisterHook(AMXImplBase.java:1168) at org.glassfish.admin.amx.impl.mbean.MBeanImplBase.postRegister(MBeanImplBase.java:448) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.postRegisterInvoke(DefaultMBeanServerInterceptor.java:1035) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:974) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312) at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482) at org.glassfish.admin.amx.impl.mbean.AMXImplBase.registerChild(AMXImplBase.java:1243) at org.glassfish.admin.amx.impl.j2ee.J2EEDomainImpl.registerChildren(J2EEDomainImpl.java:93) at org.glassfish.admin.amx.impl.mbean.AMXImplBase.postRegisterHook(AMXImplBase.java:1168) at org.glassfish.admin.amx.impl.mbean.MBeanImplBase.postRegister(MBeanImplBase.java:448) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.postRegisterInvoke(DefaultMBeanServerInterceptor.java:1035) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:974) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312) at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482) at org.glassfish.admin.amx.impl.j2ee.loader.AMXJ2EEStartupService.loadAMXMBeans(AMXJ2EEStartupService.java:133) at org.glassfish.admin.amx.impl.AMXStartupService$AMXLoaderThread.run(AMXStartupService.java:321) Caused by: java.lang.RuntimeException: Invalid character ':' in value part of property at org.glassfish.admin.amx.util.jmx.JMXUtil.newObjectName(JMXUtil.java:158) at org.glassfish.admin.amx.util.jmx.JMXUtil.newObjectName(JMXUtil.java:176) at org.glassfish.admin.amx.impl.util.ObjectNameBuilder.buildChildObjectName(ObjectNameBuilder.java:188) at org.glassfish.admin.amx.impl.util.ObjectNameBuilder.buildChildObjectName(ObjectNameBuilder.java:145) at org.glassfish.admin.amx.impl.j2ee.RegistrationSupport.registerJ2EEChild(RegistrationSupport.java:549) ... 24 more Caused by: javax.management.MalformedObjectNameException: Invalid character ':' in value part of property at javax.management.ObjectName.construct(ObjectName.java:602) at javax.management.ObjectName.(ObjectName.java:1403) at org.glassfish.admin.amx.util.jmx.JMXUtil.newObjectName(JMXUtil.java:154) ... 28 more

Environment

Operating System: Windows XP Platform: All

Affected Versions

[V3]

glassfishrobot commented 6 years ago
glassfishrobot commented 14 years ago

@glassfishrobot Commented anilam said: I have a few questions:

Can you attach the entire server.log ? thanks.

glassfishrobot commented 14 years ago

@glassfishrobot Commented laps said: anilam,

I'm using IDE to do it. Right click on HelloWorld project (the wrapper), Run As

Run on server. This stack trace does not appear when I'm deploying, but when I'm opening the server admin console at http://localhost:4860.

Can you attach the entire server.log ?

====================== Starting emtpy server (no app deployed) :

17 mai 2010 17:26:34 com.sun.enterprise.admin.launcher.GFLauncherLogger info INFO: JVM invocation command line: C:\Program Files\Java\jdk1.6.0_16\bin\java.exe -cp D:/GTB1.2-1/glassfishv3/glassfish/modules/glassfish.jar -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9009 -XX:+UnlockDiagnosticVMOptions -XX:MaxPermSize=192m -XX:NewRatio=2 -XX:+LogVMOutput -XX:LogFile=D:\ws_gtb-1.metadata.plugins\com.sun.enterprise.jst.server.sunappsrv92\domain1/logs/jvm.log -Xmx512m -client -javaagent:/GTB1.2-1/glassfishv3/glassfish/lib/monitor/btrace-agent.jar=unsafe=true,noServer=true -Dosgi.shell.telnet.maxconn=1 -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver -Dfelix.fileinstall.dir=D:\GTB1.2-1\glassfishv3\glassfish/modules/autostart/ -Djavax.net.ssl.keyStore=D:\ws_gtb-1.metadata.plugins\com.sun.enterprise.jst.server.sunappsrv92\domain1/config/keystore.jks -Dosgi.shell.telnet.port=6666 -Djava.security.policy=D:\ws_gtb-1.metadata.plugins\com.sun.enterprise.jst.server.sunappsrv92\domain1/config/server.policy -Dfelix.fileinstall.poll=5000 -Dcom.sun.aas.instanceRoot=D:\ws_gtb-1.metadata.plugins\com.sun.enterprise.jst.server.sunappsrv92\domain1 -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory -Dosgi.shell.telnet.ip=127.0.0.1 -Djava.endorsed.dirs=D:\GTB1.2-1\glassfishv3\glassfish/modules/endorsed;D:\GTB1.2-1\glassfishv3\glassfish/lib/endorsed -Dcom.sun.aas.installRoot=D:\GTB1.2-1\glassfishv3\glassfish -Djava.ext.dirs=C:\Program Files\Java\jdk1.6.0_16/lib/ext;C:\Program Files\Java\jdk1.6.0_16/jre/lib/ext;D:\ws_gtb-1.metadata.plugins\com.sun.enterprise.jst.server.sunappsrv92\domain1/lib/ext -Dfelix.fileinstall.bundles.new.start=true -Djavax.net.ssl.trustStore=D:\ws_gtb-1.metadata.plugins\com.sun.enterprise.jst.server.sunappsrv92\domain1/config/cacerts.jks -Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as -Djava.security.auth.login.config=D:\ws_gtb-1.metadata.plugins\com.sun.enterprise.jst.server.sunappsrv92\domain1/config/login.conf -DANTLR_USE_DIRECT_CLASS_LOADING=true -Dfelix.fileinstall.debug=1 -Dorg.glassfish.web.rfc2109_cookie_names_enforced=false -Djava.library.path=D:/GTB1.2-1/glassfishv3/glassfish/lib;C:/Program Files/Java/jdk1.6.0_16/bin;D:/GTB1.2-1/glassfishv3/glassfish;C:/WINDOWS/Sun/Java/bin;C:/WINDOWS/system32;C:/WINDOWS;C:/Program Files/Java/jdk1.6.0_16/jre/bin/client;C:/Program Files/Java/jdk1.6.0_16/jre/bin;C:/Program Files/JavaFX/javafx-sdk1.2/bin;C:/Program Files/JavaFX/javafx-sdk1.2/emulator/bin;C:/PHP;C:/pecl;C:/GTK/bin;C:/WINDOWS/system32/wbem;C:/Program Files/Fichiers communs/Roxio Shared/DLLShared;C:/Program Files/OpenOffice.org 2.3/program;C:/Program Files/MySQL/MySQL Server 5.1/bin com.sun.enterprise.glassfish.bootstrap.ASMain -domainname domain1 -asadmin-args start-domain,,,-domaindir,,,D:\ws_gtb-1.metadata.plugins\com.sun.enterprise.jst.server.sunappsrv92,,,debug=false,,,-verbose=true,,,domain1 -instancename server -verbose true -debug false -asadmin-classpath D:/GTB1.2-1/glassfishv3/glassfish/modules/admin-cli.jar -asadmin-classname com.sun.enterprise.admin.cli.AsadminMain -upgrade false -domaindir D:/ws_gtb-1/.metadata/.plugins/com.sun.enterprise.jst.server.sunappsrv92/domain1 -read-stdin true

17 mai 2010 17:26:34 com.sun.enterprise.admin.launcher.GFLauncherLogger info INFO: Successfully launched in 16 msec.

INFO: Running GlassFish Version: GlassFish v3 (build 74.2)

INFO: Perform lazy SSL initialization for the listener 'http-listener-2' INFO: Starting Grizzly Framework 1.9.18-k - Mon May 17 17:26:38 CEST 2010 INFO: Grizzly Framework 1.9.18-k started in: 235ms listening on port 8181 INFO: Grizzly Framework 1.9.18-k started in: 63ms listening on port 3700 INFO: Grizzly Framework 1.9.18-k started in: 266ms listening on port 8084 INFO: Grizzly Framework 1.9.18-k started in: 203ms listening on port 4860 INFO: Starting Grizzly Framework 1.9.18-k - Mon May 17 17:26:38 CEST 2010 INFO: Grizzly Framework 1.9.18-k started in: 32ms listening on port 7676

INFO: javassist.util.proxy.ProxyFactory.classLoaderProvider = org.glassfish.weld.WeldActivator$GlassFishClassLoaderProvider@1052f49 INFO: The Admin Console is already installed, but not yet loaded. INFO: GlassFish v3 (74.2) startup time : Felix(3235ms) startup services(1422ms) total(4657ms)

INFO: Binding RMI port to *:8686 INFO: JMXStartupService: Started JMXConnector, JMXService URL = service:jmx:rmi://OLIVIER:8686/jndi/rmi://OLIVIER:8686/jmxrmi

INFO: Using com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate as the delegate INFO: [Thread[GlassFish Kernel Main Thread,5,main]] started INFO:

{felix.fileinstall.poll (ms) = 5000, felix.fileinstall.dir = D:\ws_gtb-1.metadata.plugins\com.sun.enterprise.jst.server.sunappsrv92\domain1\autodeploy\bundles, felix.fileinstall.debug = 1, felix.fileinstall.bundles.new.start = true, felix.fileinstall.tmpdir = C:\DOCUME~1\Olivier\LOCALS~1\Temp\fileinstall-836750050048803803, felix.fileinstall.filter = null}

INFO:

{felix.fileinstall.poll (ms) = 5000, felix.fileinstall.dir = D:\GTB1.2-1\glassfishv3\glassfish\modules\autostart, felix.fileinstall.debug = 1, felix.fileinstall.bundles.new.start = true, felix.fileinstall.tmpdir = C:\DOCUME~1\Olivier\LOCALS~1\Temp\fileinstall--6644748806735390092, felix.fileinstall.filter = null}

INFO: Started bundle: file:/D:/GTB1.2-1/glassfishv3/glassfish/modules/autostart/org.apache.felix.scr.jar INFO: Started bundle: file:/D:/GTB1.2-1/glassfishv3/glassfish/modules/autostart/osgi-web-container.jar

INFO: Updating configuration from org.apache.felix.fileinstall-autodeploy-bundles.cfg INFO: Installed D:\GTB1.2-1\glassfishv3\glassfish\modules\autostart\org.apache.felix.fileinstall-autodeploy-bundles.cfg INFO:

{felix.fileinstall.poll (ms) = 5000, felix.fileinstall.dir = D:\ws_gtb-1.metadata.plugins\com.sun.enterprise.jst.server.sunappsrv92\domain1\autodeploy\bundles, felix.fileinstall.debug = 1, felix.fileinstall.bundles.new.start = true, felix.fileinstall.tmpdir = C:\DOCUME~1\Olivier\LOCALS~1\Temp\fileinstall-8540592496708441954, felix.fileinstall.filter = null}

====================== Deploying HelloWorld : 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: Hibernate Validator bean-validator-3.0-JBoss-4.0.2 INFO: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.

LE PLUS FIN: Begin predeploying Persistence Unit ExempleUP; session file:/D:/ws_gtb-1/.metadata/.plugins/com.sun.enterprise.jst.server.sunappsrv92/domain1/eclipseApps/HelloWorld/HelloWorldEJB_jar/_ExempleUP; state Initial; factoryCount 0 LE PLUS FIN: property=eclipselink.orm.throw.exceptions; default value=true LE PLUS FIN: property=eclipselink.weaving.changetracking; default value=true LE PLUS FIN: property=eclipselink.weaving.lazy; default value=true LE PLUS FIN: property=eclipselink.weaving.eager; default value=false LE PLUS FIN: property=eclipselink.weaving.fetchgroups; default value=true LE PLUS FIN: property=eclipselink.weaving.internal; default value=true PLUS FIN: Searching for default mapping file in file:/D:/ws_gtb-1/.metadata/.plugins/com.sun.enterprise.jst.server.sunappsrv92/domain1/eclipseApps/HelloWorld/HelloWorldEJB_jar/ PLUS FIN: Found a default mapping file at file:/D:/ws_gtb-1/.metadata/.plugins/com.sun.enterprise.jst.server.sunappsrv92/domain1/eclipseApps/HelloWorld/HelloWorldEJB_jar/META-INF/orm.xml for root URL file:/D:/ws_gtb-1/.metadata/.plugins/com.sun.enterprise.jst.server.sunappsrv92/domain1/eclipseApps/HelloWorld/HelloWorldEJB_jar/

PLUS FIN: Searching for default mapping file in file:/D:/ws_gtb-1/.metadata/.plugins/com.sun.enterprise.jst.server.sunappsrv92/domain1/eclipseApps/HelloWorld/HelloWorldEJB_jar/ CONFIG: The access type for the persistent class [class fr.societe.hellow.entites.User] is set to [PROPERTY]. CONFIG: The alias name for the entity class [class fr.societe.hellow.entites.User] is being defaulted to: User. CONFIG: The column name for element [method getId] is being defaulted to: ID. CONFIG: The column name for element [method getLastName] is being defaulted to: LASTNAME. CONFIG: The column name for element [method getLevel] is being defaulted to: LEVEL. CONFIG: The column name for element [method getAddress] is being defaulted to: ADDRESS. CONFIG: The column name for element [method getEmail] is being defaulted to: EMAIL. CONFIG: The column name for element [method getZipCode] is being defaulted to: ZIPCODE. CONFIG: The column name for element [method isActive] is being defaulted to: ACTIVE. CONFIG: The column name for element [method getFirstName] is being defaulted to: FIRSTNAME. CONFIG: The column name for element [method getPassword] is being defaulted to: PASSWORD. CONFIG: The column name for element [method getCity] is being defaulted to: CITY. CONFIG: The column name for element [method getCountry] is being defaulted to: COUNTRY. PLUS FIN: Class [fr.societe.hellow.entites.User] registered to be processed by weaver. LE PLUS FIN: End predeploying Persistence Unit ExempleUP; session file:/D:/ws_gtb-1/.metadata/.plugins/com.sun.enterprise.jst.server.sunappsrv92/domain1/eclipseApps/HelloWorld/HelloWorldEJB_jar/_ExempleUP; state Predeployed; factoryCount 1

INFO: JTS5014: Recoverable JTS instance, serverId = [3700]

LE PLUS FIN: Begin weaver class transformer processing class [fr/societe/hellow/entites/User]. LE PLUS FIN: Weaved persistence (PersistenceEntity) [fr/societe/hellow/entites/User]. LE PLUS FIN: Weaved change tracking (ChangeTracker) [fr/societe/hellow/entites/User]. LE PLUS FIN: Weaved fetch groups (FetchGroupTracker) [fr/societe/hellow/entites/User]. LE PLUS FIN: End weaver class transformer processing class [fr/societe/hellow/entites/User]. INFO: fr.societe.hellow.entites.User actually got transformed

INFO: Portable JNDI names for EJB UserEJB : [java:global/HelloWorld/HelloWorldEJB/UserEJB!fr.societe.hellow.ejb.UserEJBLocal, java:global/HelloWorld/HelloWorldEJB/UserEJB!fr.societe.hellow.ejb.UserEJBRemote, java:global/HelloWorld/HelloWorldEJB/UserEJB!fr.societe.hellow.ejb.UserEJB] INFO: Glassfish-specific (Non-portable) JNDI names for EJB UserEJB : [fr.societe.hellow.ejb.UserEJBRemote#fr.societe.hellow.ejb.UserEJBRemote, fr.societe.hellow.ejb.UserEJBRemote] INFO: ACDEPL103: Java Web Start services started for the app client HelloWorld/HelloWorldClient.jar (contextRoot: /HelloWorld/HelloWorldClient) INFO: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.

INFO: HelloWorld was successfully deployed in 10 484 milliseconds. LE PLUS FIN: Begin undeploying Persistence Unit ExempleUP; session file:/D:/ws_gtb-1/.metadata/.plugins/com.sun.enterprise.jst.server.sunappsrv92/domain1/eclipseApps/HelloWorld/HelloWorldEJB_jar/_ExempleUP; state Predeployed; factoryCount 1 LE PLUS FIN: End undeploying Persistence Unit ExempleUP; session file:/D:/ws_gtb-1/.metadata/.plugins/com.sun.enterprise.jst.server.sunappsrv92/domain1/eclipseApps/HelloWorld/HelloWorldEJB_jar/_ExempleUP; state Undeployed; factoryCount 0 INFO: ACDEPL104: Java Web Start services stopped for the app client HelloWorld/HelloWorldClient.jar

LE PLUS FIN: property=eclipselink.logging.level; value=FINEST; translated value=FINEST LE PLUS FIN: property=eclipselink.logging.level; value=FINEST; translated value=FINEST LE PLUS FIN: Begin predeploying Persistence Unit ExempleUP; session file:/D:/ws_gtb-1/.metadata/.plugins/com.sun.enterprise.jst.server.sunappsrv92/domain1/eclipseApps/HelloWorld/HelloWorldEJB_jar/_ExempleUP; state Initial; factoryCount 0 LE PLUS FIN: property=eclipselink.orm.throw.exceptions; default value=true LE PLUS FIN: property=eclipselink.weaving.changetracking; default value=true LE PLUS FIN: property=eclipselink.weaving.lazy; default value=true LE PLUS FIN: property=eclipselink.weaving.eager; default value=false LE PLUS FIN: property=eclipselink.weaving.fetchgroups; default value=true LE PLUS FIN: property=eclipselink.weaving.internal; default value=true PLUS FIN: Searching for default mapping file in file:/D:/ws_gtb-1/.metadata/.plugins/com.sun.enterprise.jst.server.sunappsrv92/domain1/eclipseApps/HelloWorld/HelloWorldEJB_jar/ PLUS FIN: Found a default mapping file at file:/D:/ws_gtb-1/.metadata/.plugins/com.sun.enterprise.jst.server.sunappsrv92/domain1/eclipseApps/HelloWorld/HelloWorldEJB_jar/META-INF/orm.xml for root URL file:/D:/ws_gtb-1/.metadata/.plugins/com.sun.enterprise.jst.server.sunappsrv92/domain1/eclipseApps/HelloWorld/HelloWorldEJB_jar/ PLUS FIN: Searching for default mapping file in file:/D:/ws_gtb-1/.metadata/.plugins/com.sun.enterprise.jst.server.sunappsrv92/domain1/eclipseApps/HelloWorld/HelloWorldEJB_jar/ CONFIG: The access type for the persistent class [class fr.societe.hellow.entites.User] is set to [PROPERTY]. CONFIG: The alias name for the entity class [class fr.societe.hellow.entites.User] is being defaulted to: User. CONFIG: The column name for element [method getId] is being defaulted to: ID. CONFIG: The column name for element [method getLastName] is being defaulted to: LASTNAME. CONFIG: The column name for element [method getLevel] is being defaulted to: LEVEL. CONFIG: The column name for element [method getAddress] is being defaulted to: ADDRESS. CONFIG: The column name for element [method getEmail] is being defaulted to: EMAIL. CONFIG: The column name for element [method getZipCode] is being defaulted to: ZIPCODE. CONFIG: The column name for element [method isActive] is being defaulted to: ACTIVE. CONFIG: The column name for element [method getFirstName] is being defaulted to: FIRSTNAME. CONFIG: The column name for element [method getPassword] is being defaulted to: PASSWORD. CONFIG: The column name for element [method getCity] is being defaulted to: CITY. CONFIG: The column name for element [method getCountry] is being defaulted to: COUNTRY. PLUS FIN: Class [fr.societe.hellow.entites.User] registered to be processed by weaver. LE PLUS FIN: End predeploying Persistence Unit ExempleUP; session file:/D:/ws_gtb-1/.metadata/.plugins/com.sun.enterprise.jst.server.sunappsrv92/domain1/eclipseApps/HelloWorld/HelloWorldEJB_jar/_ExempleUP; state Predeployed; factoryCount 1 LE PLUS FIN: Begin weaver class transformer processing class [fr/societe/hellow/entites/User]. LE PLUS FIN: Weaved persistence (PersistenceEntity) [fr/societe/hellow/entites/User]. LE PLUS FIN: Weaved change tracking (ChangeTracker) [fr/societe/hellow/entites/User]. LE PLUS FIN: Weaved fetch groups (FetchGroupTracker) [fr/societe/hellow/entites/User]. LE PLUS FIN: End weaver class transformer processing class [fr/societe/hellow/entites/User]. INFO: fr.societe.hellow.entites.User actually got transformed INFO: Portable JNDI names for EJB UserEJB : [java:global/HelloWorld/HelloWorldEJB/UserEJB!fr.societe.hellow.ejb.UserEJBLocal, java:global/HelloWorld/HelloWorldEJB/UserEJB!fr.societe.hellow.ejb.UserEJBRemote, java:global/HelloWorld/HelloWorldEJB/UserEJB!fr.societe.hellow.ejb.UserEJB] INFO: Glassfish-specific (Non-portable) JNDI names for EJB UserEJB : [fr.societe.hellow.ejb.UserEJBRemote#fr.societe.hellow.ejb.UserEJBRemote, fr.societe.hellow.ejb.UserEJBRemote] INFO: ACDEPL103: Java Web Start services started for the app client HelloWorld/HelloWorldClient.jar (contextRoot: /HelloWorld/HelloWorldClient)

INFO: HelloWorld was successfully deployed in 703 milliseconds.

====================== Opening Admin console : INFO: The Admin Console is already installed, but not yet loaded. INFO: The Admin Console is loading...

INFO: Created HTTP listener http-listener-1 on port 8084 INFO: Created HTTP listener http-listener-2 on port 8181 INFO: Created HTTP listener admin-listener on port 4860 INFO: Created virtual server server INFO: Created virtual server server INFO: Created virtual server asadmin INFO: Created virtual server asadmin INFO: Created virtual server __asadmin

INFO: Virtual server server loaded system default web module INFO: Virtual server server loaded system default web module INFO: Virtual server server loaded system default web module

INFO: Initialisation de Mojarra 2.0.2 (FCS b10) pour le contexte ''

INFO: Loading application admingui at / INFO: Loading application admingui at / INFO: Loading application admingui at / INFO: Loading admingui Application done is 11563 ms INFO: The Admin Console application is loaded.

INFO: AMX ComplianceMonitor: ValidationLevel = full, UnregisterNonCompliant = false, LogInaccessibleAttributes = true

INFO: AMX config read, domain config registered as amx:pp=/,type=domain

INFO: Exception registering application: HelloWorld java.lang.RuntimeException: Cannot register J2EEApplication=D:-ws_gtb-1.metadata-.plugins-com.sun.enterprise.jst.server.sunappsrv92-domain1-eclipseApps-HelloWorld- as child of amx:pp=/J2EEDomain,type=J2EEServer,name=server,j2eeType=J2EEServer at org.glassfish.admin.amx.impl.j2ee.RegistrationSupport.registerJ2EEChild(RegistrationSupport.java:554) at org.glassfish.admin.amx.impl.j2ee.RegistrationSupport.createAppMBeans(RegistrationSupport.java:246) at org.glassfish.admin.amx.impl.j2ee.RegistrationSupport.processApplicationRef(RegistrationSupport.java:522) at org.glassfish.admin.amx.impl.j2ee.RegistrationSupport.registerApplications(RegistrationSupport.java:474) at org.glassfish.admin.amx.impl.j2ee.RegistrationSupport.(RegistrationSupport.java:158) at org.glassfish.admin.amx.impl.j2ee.J2EEServerImpl.registerChildren(J2EEServerImpl.java:116) at org.glassfish.admin.amx.impl.j2ee.DASJ2EEServerImpl.registerChildren(DASJ2EEServerImpl.java:68) at org.glassfish.admin.amx.impl.mbean.AMXImplBase.postRegisterHook(AMXImplBase.java:1168) at org.glassfish.admin.amx.impl.mbean.MBeanImplBase.postRegister(MBeanImplBase.java:448) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.postRegisterInvoke(DefaultMBeanServerInterceptor.java:1035) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:974) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312) at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482) at org.glassfish.admin.amx.impl.mbean.AMXImplBase.registerChild(AMXImplBase.java:1243) at org.glassfish.admin.amx.impl.j2ee.J2EEDomainImpl.registerChildren(J2EEDomainImpl.java:93) at org.glassfish.admin.amx.impl.mbean.AMXImplBase.postRegisterHook(AMXImplBase.java:1168) at org.glassfish.admin.amx.impl.mbean.MBeanImplBase.postRegister(MBeanImplBase.java:448) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.postRegisterInvoke(DefaultMBeanServerInterceptor.java:1035) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:974) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312) at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482) at org.glassfish.admin.amx.impl.j2ee.loader.AMXJ2EEStartupService.loadAMXMBeans(AMXJ2EEStartupService.java:133) at org.glassfish.admin.amx.impl.AMXStartupService$AMXLoaderThread.run(AMXStartupService.java:321) Caused by: java.lang.RuntimeException: Invalid character ':' in value part of property at org.glassfish.admin.amx.util.jmx.JMXUtil.newObjectName(JMXUtil.java:158) at org.glassfish.admin.amx.util.jmx.JMXUtil.newObjectName(JMXUtil.java:176) at org.glassfish.admin.amx.impl.util.ObjectNameBuilder.buildChildObjectName(ObjectNameBuilder.java:188) at org.glassfish.admin.amx.impl.util.ObjectNameBuilder.buildChildObjectName(ObjectNameBuilder.java:145) at org.glassfish.admin.amx.impl.j2ee.RegistrationSupport.registerJ2EEChild(RegistrationSupport.java:549) ... 24 more Caused by: javax.management.MalformedObjectNameException: Invalid character ':' in value part of property at javax.management.ObjectName.construct(ObjectName.java:602) at javax.management.ObjectName.(ObjectName.java:1403) at org.glassfish.admin.amx.util.jmx.JMXUtil.newObjectName(JMXUtil.java:154) ... 28 more

INFO: J2EEDomain registered at amx:pp=/,type=J2EEDomain,j2eeType=J2EEDomain,name=amx INFO: AMXStartupServiceNew: AMX ready for use, DomainRoot = amx:pp=,type=domain-root

INFO: admin console: initSessionAttributes()

INFO: Update Component count = 39

==========

thanks. You're welcome, hope this helps !

glassfishrobot commented 14 years ago

@glassfishrobot Commented laps said: FYI : I just tested with a GFv301 b18 JDK6 u20, the problem remains the same.

glassfishrobot commented 14 years ago

@glassfishrobot Commented anilam said: Thanks for quick reply and the detailed information. This sounds like an issue in AMX, transferring to that subcomponent. I will also try to reproduce this in my env. thanks again.

glassfishrobot commented 14 years ago

@glassfishrobot Commented anilam said: assign to amx owner

glassfishrobot commented 14 years ago

@glassfishrobot Commented @prsad said: This issue is specific to Windows and possibly eclipse. The app-name here has the full path name and we are not escaping the ":" if it comes in the app-name. The fix would be to check the Java EE spec to see if a ":" is valid in an app-name. if not , we need to escape that in the AMX codebase.

glassfishrobot commented 13 years ago

@glassfishrobot Commented @prsad said: The root cause was the AMX subsystem was not quoting value in the key property elements in the Object. Sending common/amx-core/src/main/java/org/glassfish/admin/amx/core/PathnameParser.java Sending common/amx-core/src/main/java/org/glassfish/admin/amx/core/Util.java Sending common/amx-core/src/main/java/org/glassfish/admin/amx/core/proxy/AMXProxyHandler.java Sending common/amx-core/src/main/java/org/glassfish/admin/amx/core/proxy/ProxyFactory.java Sending common/amx-core-impl/src/main/java/org/glassfish/admin/amx/impl/mbean/PathnamesImpl.java Sending common/amx-core-impl/src/main/java/org/glassfish/admin/amx/impl/util/ObjectNameBuilder.java Sending common/amx-j2ee-impl/src/main/java/org/glassfish/admin/amx/impl/j2ee/J2EEManagedObjectImplBase.java Sending common/amx-j2ee-impl/src/main/java/org/glassfish/admin/amx/impl/j2ee/J2EEServerImpl.java Transmitting file data ........ Committed revision 43520.

glassfishrobot commented 13 years ago

@glassfishrobot Commented @prsad said: Closed

glassfishrobot commented 14 years ago

@glassfishrobot Commented Was assigned to naman_mehta

glassfishrobot commented 7 years ago

@glassfishrobot Commented This issue was imported from java.net JIRA GLASSFISH-11916

glassfishrobot commented 14 years ago

@glassfishrobot Commented Reported by laps

glassfishrobot commented 13 years ago

@glassfishrobot Commented Marked as fixed on Monday, December 6th 2010, 1:00:34 pm