javaeetutorial
  1. javaeetutorial
  2. JAVAEETUTORIAL-149

I deployed web service but ESI did not created

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 6.0.8
    • Fix Version/s: None
    • Component/s: examples
    • Labels:
      None
    • Environment:

      Platform: Linux

      Description

      I used javaee-tutorial6 for creating web service. I run the deploy command and i got deployed successfully message.
      Then i put ESI(Endpoint Service Interface)url in browser, but it shows "The requested resource () is not available."
      Pl help to solve this issue.

        Activity

        Hide
        karthikannadurai added a comment - - edited

        This is my server log file.

        Feb 7, 2013 12:41:49 AM com.sun.enterprise.admin.launcher.GFLauncherLogger info
        INFO: JVM invocation command line:
        /home/applir12/glassfish3/jdk/bin/java
        -cp
        /home/applir12/glassfish3/glassfish/modules/glassfish.jar
        -XX:+UnlockDiagnosticVMOptions
        -XX:MaxPermSize=192m
        -XX:NewRatio=2
        -Xmx512m
        -javaagent:/home/applir12/glassfish3/glassfish/lib/monitor/btrace-agent.jar=unsafe=true,noServer=true
        -client
        -Dosgi.shell.telnet.maxconn=1
        -Dfelix.fileinstall.disableConfigSave=false
        -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
        -Dfelix.fileinstall.dir=/home/applir12/glassfish3/glassfish/modules/autostart/
        -Djavax.net.ssl.keyStore=/home/applir12/glassfish3/glassfish/domains/domain1/config/keystore.jks
        -Dosgi.shell.telnet.port=6666
        -Djava.security.policy=/home/applir12/glassfish3/glassfish/domains/domain1/config/server.policy
        -Dfelix.fileinstall.log.level=2
        -Dfelix.fileinstall.poll=5000
        -Dcom.sun.aas.instanceRoot=/home/applir12/glassfish3/glassfish/domains/domain1
        -Dosgi.shell.telnet.ip=127.0.0.1
        -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
        -Djava.endorsed.dirs=/home/applir12/glassfish3/glassfish/modules/endorsed:/home/applir12/glassfish3/glassfish/lib/endorsed
        -Dcom.sun.aas.installRoot=/home/applir12/glassfish3/glassfish
        -Dfelix.fileinstall.bundles.startTransient=true
        -Djava.ext.dirs=/home/applir12/glassfish3/jdk/lib/ext:/home/applir12/glassfish3/jdk/jre/lib/ext:/home/applir12/glassfish3/glassfish/domains/domain1/lib/ext
        -Dfelix.fileinstall.bundles.new.start=true
        -Djavax.net.ssl.trustStore=/home/applir12/glassfish3/glassfish/domains/domain1/config/cacerts.jks
        -Dorg.glassfish.additionalOSGiBundlesToStart=org.apache.felix.shell,org.apache.felix.gogo.runtime,org.apache.felix.gogo.shell,org.apache.felix.gogo.command
        -Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as
        -Djava.security.auth.login.config=/home/applir12/glassfish3/glassfish/domains/domain1/config/login.conf
        -DANTLR_USE_DIRECT_CLASS_LOADING=true
        -Dgosh.args=--nointeractive
        -Djava.library.path=/home/applir12/glassfish3/glassfish/lib:/home/applir12/glassfish3/jdk/jre/lib/i386/server:
        /home/applir12/glassfish3/jdk/jre/lib/i386:/home/applir12/glassfish3/jdk/lib/i386:
        /ir12/d01/oracle/ir12/apps/tech_st/10.1.2/jdk/jre/lib/i386:
        /ir12/d01/oracle/ir12/apps/tech_st/10.1.2/jdk/jre/lib/i386/server:
        /ir12/d01/oracle/ir12/apps/tech_st/10.1.2/jdk/jre/lib/i386/native_threads:
        /ir12/d01/oracle/ir12/apps/apps_st/appl/cz/12.0.0/bin:/ir12/d01/oracle/ir12/apps/tech_st/10.1.2/lib32:
        /ir12/d01/oracle/ir12/apps/tech_st/10.1.2/lib:/usr/X11R6/lib:
        /usr/openwin/lib:/ir12/d01/oracle/ir12/apps/apps_st/appl/sht/12.0.0/lib:
        /usr/java/packages/lib/i386:/lib:/usr/lib
        com.sun.enterprise.glassfish.bootstrap.ASMain
        -domainname
        domain1
        -asadmin-args
        --host,,,localhost,,,--port,,,4848,,,--secure=false,,,--terse=false,,,--echo=false,,,--interactive=true,,,start-domain,,,--verbose=false,,,--debug=false,,,--domaindir,,,/home/applir12/glassfish3/glassfish/domains,,,domain1
        -instancename
        server
        -verbose
        false
        -debug
        false
        -asadmin-classpath
        /home/applir12/glassfish3/glassfish/modules/admin-cli.jar
        -asadmin-classname
        com.sun.enterprise.admin.cli.AsadminMain
        -upgrade
        false
        -type
        DAS
        -domaindir
        /home/applir12/glassfish3/glassfish/domains/domain1
        -read-stdin
        true
        Feb 7, 2013 12:41:49 AM com.sun.enterprise.admin.launcher.GFLauncherLogger info
        INFO: Successfully launched in 5 msec.
        [#|2013-02-07T00:41:57.030+0530|INFO|glassfish3.1|null|_ThreadID=1;_ThreadName=Thread-1;|Running GlassFish Version: GlassFish Server Open Source Edition 3.1 (build 43)|#]
        
        [#|2013-02-07T00:41:57.159+0530|INFO|glassfish3.1|org.glassfish.ha.store.spi.BackingStoreFactoryRegistry|_ThreadID=10;_ThreadName=Thread-1;|Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry|#]
        
        [#|2013-02-07T00:41:57.944+0530|INFO|glassfish3.1|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=29;_ThreadName=Thread-1;|Grizzly Framework 1.9.31 started in: 383ms - bound to [0.0.0.0:8080]|#]
        
        [#|2013-02-07T00:41:57.945+0530|INFO|glassfish3.1|javax.enterprise.system.core.com.sun.enterprise.v3.admin.adapter|_ThreadID=1;_ThreadName=Thread-1;|The Admin Console is already installed, but not yet loaded.|#]
        
        [#|2013-02-07T00:41:57.946+0530|INFO|glassfish3.1|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=30;_ThreadName=Thread-1;|Grizzly Framework 1.9.31 started in: 332ms - bound to [0.0.0.0:3700]|#]
        
        [#|2013-02-07T00:41:57.947+0530|INFO|glassfish3.1|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=32;_ThreadName=Thread-1;|Grizzly Framework 1.9.31 started in: 328ms - bound to [0.0.0.0:7676]|#]
        
        [#|2013-02-07T00:41:57.944+0530|INFO|glassfish3.1|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=31;_ThreadName=Thread-1;|Grizzly Framework 1.9.31 started in: 353ms - bound to [0.0.0.0:8181]|#]
        
        [#|2013-02-07T00:41:57.949+0530|INFO|glassfish3.1|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=28;_ThreadName=Thread-1;|Grizzly Framework 1.9.31 started in: 349ms - bound to [0.0.0.0:4848]|#]
        
        [#|2013-02-07T00:42:01.493+0530|INFO|glassfish3.1|javax.enterprise.webservices.org.glassfish.webservices.metroglue|_ThreadID=1;_ThreadName=Thread-1;|WS10010: Web service endpoint deployment events listener registered successfully.|#]
        
        [#|2013-02-07T00:42:01.935+0530|WARNING|glassfish3.1|global|_ThreadID=10;_ThreadName=Thread-1;|Cannot load appclient.HelloAppClient reason : appclient.HelloAppClient
        java.lang.ClassNotFoundException: appclient.HelloAppClient
        	at com.sun.enterprise.loader.ASURLClassLoader.findClassData(ASURLClassLoader.java:808)
        	at com.sun.enterprise.loader.ASURLClassLoader.findClass(ASURLClassLoader.java:696)
        	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        	at com.sun.enterprise.deployment.annotation.impl.ModuleScanner.getElements(ModuleScanner.java:361)
        	at com.sun.enterprise.deployment.archivist.Archivist.processAnnotations(Archivist.java:565)
        	at com.sun.enterprise.deployment.archivist.Archivist.readAnnotations(Archivist.java:445)
        	at com.sun.enterprise.deployment.archivist.Archivist.readAnnotations(Archivist.java:432)
        	at com.sun.enterprise.deployment.archivist.Archivist.readRestDeploymentDescriptors(Archivist.java:408)
        	at com.sun.enterprise.deployment.archivist.Archivist.readDeploymentDescriptors(Archivist.java:383)
        	at com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:246)
        	at com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:255)
        	at com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:216)
        	at com.sun.enterprise.deployment.archivist.ApplicationFactory.openArchive(ApplicationFactory.java:165)
        	at org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:180)
        	at org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:93)
        	at com.sun.enterprise.v3.server.ApplicationLifecycle.loadDeployer(ApplicationLifecycle.java:826)
        	at com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:768)
        	at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:368)
        	at com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:364)
        	at com.sun.enterprise.v3.server.ApplicationLoaderService.postConstruct(ApplicationLoaderService.java:208)
        	at com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:131)
        	at com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91)
        	at com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82)
        	at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:67)
        	at com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139)
        	at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:76)
        	at com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:243)
        	at com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:135)
        	at com.sun.enterprise.glassfish.bootstrap.GlassFishImpl.start(GlassFishImpl.java:79)
        	at com.sun.enterprise.glassfish.bootstrap.GlassFishMain$Launcher.launch(GlassFishMain.java:117)
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        	at java.lang.reflect.Method.invoke(Method.java:597)
        	at com.sun.enterprise.glassfish.bootstrap.GlassFishMain.main(GlassFishMain.java:97)
        	at com.sun.enterprise.glassfish.bootstrap.ASMain.main(ASMain.java:55)
        |#]
        
        [#|2013-02-07T00:42:02.840+0530|INFO|glassfish3.1|javax.enterprise.system.container.appclient.org.glassfish.appclient.server.core|_ThreadID=1;_ThreadName=Thread-1;|ACDEPL103: Java Web Start services started for the app client appclient (contextRoot: /appclient)|#]
        
        [#|2013-02-07T00:42:02.845+0530|INFO|glassfish3.1|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=1;_ThreadName=Thread-1;|CORE10010: Loading application appclient done in 4,750 ms|#]
        
        [#|2013-02-07T00:42:02.967+0530|INFO|glassfish3.1|javax.enterprise.system.core.security.com.sun.enterprise.security|_ThreadID=1;_ThreadName=Thread-1;|SEC1002: Security Manager is OFF.|#]
        
        [#|2013-02-07T00:42:03.181+0530|INFO|glassfish3.1|javax.enterprise.system.core.security.com.sun.enterprise.security|_ThreadID=1;_ThreadName=Thread-1;|SEC1010: Entering Security Startup Service|#]
        
        [#|2013-02-07T00:42:03.197+0530|INFO|glassfish3.1|javax.enterprise.system.core.security.com.sun.enterprise.security|_ThreadID=1;_ThreadName=Thread-1;|SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.|#]
        
        [#|2013-02-07T00:42:03.256+0530|INFO|glassfish3.1|javax.enterprise.system.core.security.com.sun.enterprise.security.auth.realm|_ThreadID=1;_ThreadName=Thread-1;|SEC1115: Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.|#]
        
        [#|2013-02-07T00:42:03.261+0530|INFO|glassfish3.1|javax.enterprise.system.core.security.com.sun.enterprise.security.auth.realm|_ThreadID=1;_ThreadName=Thread-1;|SEC1115: Realm [file] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.|#]
        
        [#|2013-02-07T00:42:03.265+0530|INFO|glassfish3.1|javax.enterprise.system.core.security.com.sun.enterprise.security.auth.realm|_ThreadID=1;_ThreadName=Thread-1;|SEC1115: Realm [certificate] of classtype [com.sun.enterprise.security.auth.realm.certificate.CertificateRealm] successfully created.|#]
        
        [#|2013-02-07T00:42:03.278+0530|INFO|glassfish3.1|javax.enterprise.system.core.security.com.sun.enterprise.security|_ThreadID=1;_ThreadName=Thread-1;|SEC1011: Security Service(s) Started Successfully|#]
        
        [#|2013-02-07T00:42:03.660+0530|INFO|glassfish3.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=1;_ThreadName=Thread-1;|WEB0169: Created HTTP listener [http-listener-1] on host/port [0.0.0.0:8080]|#]
        
        [#|2013-02-07T00:42:03.665+0530|INFO|glassfish3.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=1;_ThreadName=Thread-1;|WEB0169: Created HTTP listener [http-listener-2] on host/port [0.0.0.0:8181]|#]
        
        [#|2013-02-07T00:42:03.669+0530|INFO|glassfish3.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=1;_ThreadName=Thread-1;|WEB0169: Created HTTP listener [admin-listener] on host/port [0.0.0.0:4848]|#]
        
        [#|2013-02-07T00:42:03.710+0530|INFO|glassfish3.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=1;_ThreadName=Thread-1;|WEB0171: Created virtual server [server]|#]
        
        [#|2013-02-07T00:42:03.713+0530|INFO|glassfish3.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=1;_ThreadName=Thread-1;|WEB0171: Created virtual server [__asadmin]|#]
        
        [#|2013-02-07T00:42:04.059+0530|INFO|glassfish3.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=1;_ThreadName=Thread-1;|WEB0172: Virtual server [server] loaded default web module []|#]
        
        [#|2013-02-07T00:42:05.720+0530|INFO|glassfish3.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=1;_ThreadName=Thread-1;|WEB0671: Loading application [helloservice] at [/helloservice]|#]
        
        [#|2013-02-07T00:42:05.721+0530|INFO|glassfish3.1|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=1;_ThreadName=Thread-1;|CORE10010: Loading application helloservice done in 2,874 ms|#]
        
        [#|2013-02-07T00:42:05.722+0530|INFO|glassfish3.1|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=1;_ThreadName=Thread-1;|GlassFish Server Open Source Edition 3.1 (43) startup time : Felix (6,438ms), startup services(9,340ms), total(15,778ms)|#]
        
        [#|2013-02-07T00:42:06.711+0530|INFO|glassfish3.1|javax.enterprise.system.tools.admin.org.glassfish.server|_ThreadID=49;_ThreadName=Thread-1;|JMXStartupService: Started JMXConnector, JMXService URL = service:jmx:rmi://server2.yantro.com:8686/jndi/rmi://server2.yantro.com:8686/jmxrmi|#]
        
        [#|2013-02-07T00:43:35.367+0530|INFO|glassfish3.1|org.hibernate.validator.util.Version|_ThreadID=17;_ThreadName=Thread-1;|Hibernate Validator 4.1.0.Final|#]
        
        [#|2013-02-07T00:43:35.376+0530|INFO|glassfish3.1|org.hibernate.validator.engine.resolver.DefaultTraversableResolver|_ThreadID=17;_ThreadName=Thread-1;|Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.|#]
        
        [#|2013-02-07T00:43:35.678+0530|INFO|glassfish3.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=65;_ThreadName=Thread-1;|WEB0671: Loading application [helloservice] at [/helloservice]|#]
        
        [#|2013-02-07T00:43:35.705+0530|INFO|glassfish3.1|javax.enterprise.system.tools.admin.org.glassfish.deployment.admin|_ThreadID=65;_ThreadName=Thread-1;|helloservice was successfully deployed in 411 milliseconds.|#]
        
        
        Show
        karthikannadurai added a comment - - edited This is my server log file. Feb 7, 2013 12:41:49 AM com.sun.enterprise.admin.launcher.GFLauncherLogger info INFO: JVM invocation command line: /home/applir12/glassfish3/jdk/bin/java -cp /home/applir12/glassfish3/glassfish/modules/glassfish.jar -XX:+UnlockDiagnosticVMOptions -XX:MaxPermSize=192m -XX:NewRatio=2 -Xmx512m -javaagent:/home/applir12/glassfish3/glassfish/lib/monitor/btrace-agent.jar=unsafe= true ,noServer= true -client -Dosgi.shell.telnet.maxconn=1 -Dfelix.fileinstall.disableConfigSave= false -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver -Dfelix.fileinstall.dir=/home/applir12/glassfish3/glassfish/modules/autostart/ -Djavax.net.ssl.keyStore=/home/applir12/glassfish3/glassfish/domains/domain1/config/keystore.jks -Dosgi.shell.telnet.port=6666 -Djava.security.policy=/home/applir12/glassfish3/glassfish/domains/domain1/config/server.policy -Dfelix.fileinstall.log.level=2 -Dfelix.fileinstall.poll=5000 -Dcom.sun.aas.instanceRoot=/home/applir12/glassfish3/glassfish/domains/domain1 -Dosgi.shell.telnet.ip=127.0.0.1 -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory -Djava.endorsed.dirs=/home/applir12/glassfish3/glassfish/modules/endorsed:/home/applir12/glassfish3/glassfish/lib/endorsed -Dcom.sun.aas.installRoot=/home/applir12/glassfish3/glassfish -Dfelix.fileinstall.bundles.startTransient= true -Djava.ext.dirs=/home/applir12/glassfish3/jdk/lib/ext:/home/applir12/glassfish3/jdk/jre/lib/ext:/home/applir12/glassfish3/glassfish/domains/domain1/lib/ext -Dfelix.fileinstall.bundles. new .start= true -Djavax.net.ssl.trustStore=/home/applir12/glassfish3/glassfish/domains/domain1/config/cacerts.jks -Dorg.glassfish.additionalOSGiBundlesToStart=org.apache.felix.shell,org.apache.felix.gogo.runtime,org.apache.felix.gogo.shell,org.apache.felix.gogo.command -Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as -Djava.security.auth.login.config=/home/applir12/glassfish3/glassfish/domains/domain1/config/login.conf -DANTLR_USE_DIRECT_CLASS_LOADING= true -Dgosh.args=--nointeractive -Djava.library.path=/home/applir12/glassfish3/glassfish/lib:/home/applir12/glassfish3/jdk/jre/lib/i386/server: /home/applir12/glassfish3/jdk/jre/lib/i386:/home/applir12/glassfish3/jdk/lib/i386: /ir12/d01/oracle/ir12/apps/tech_st/10.1.2/jdk/jre/lib/i386: /ir12/d01/oracle/ir12/apps/tech_st/10.1.2/jdk/jre/lib/i386/server: /ir12/d01/oracle/ir12/apps/tech_st/10.1.2/jdk/jre/lib/i386/native_threads: /ir12/d01/oracle/ir12/apps/apps_st/appl/cz/12.0.0/bin:/ir12/d01/oracle/ir12/apps/tech_st/10.1.2/lib32: /ir12/d01/oracle/ir12/apps/tech_st/10.1.2/lib:/usr/X11R6/lib: /usr/openwin/lib:/ir12/d01/oracle/ir12/apps/apps_st/appl/sht/12.0.0/lib: /usr/java/packages/lib/i386:/lib:/usr/lib com.sun.enterprise.glassfish.bootstrap.ASMain -domainname domain1 -asadmin-args --host,,,localhost,,,--port,,,4848,,,--secure= false ,,,--terse= false ,,,--echo= false ,,,--interactive= true ,,,start-domain,,,--verbose= false ,,,--debug= false ,,,--domaindir,,,/home/applir12/glassfish3/glassfish/domains,,,domain1 -instancename server -verbose false -debug false -asadmin-classpath /home/applir12/glassfish3/glassfish/modules/admin-cli.jar -asadmin-classname com.sun.enterprise.admin.cli.AsadminMain -upgrade false -type DAS -domaindir /home/applir12/glassfish3/glassfish/domains/domain1 -read-stdin true Feb 7, 2013 12:41:49 AM com.sun.enterprise.admin.launcher.GFLauncherLogger info INFO: Successfully launched in 5 msec. [#|2013-02-07T00:41:57.030+0530|INFO|glassfish3.1| null |_ThreadID=1;_ThreadName= Thread -1;|Running GlassFish Version: GlassFish Server Open Source Edition 3.1 (build 43)|#] [#|2013-02-07T00:41:57.159+0530|INFO|glassfish3.1|org.glassfish.ha.store.spi.BackingStoreFactoryRegistry|_ThreadID=10;_ThreadName= Thread -1;|Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry|#] [#|2013-02-07T00:41:57.944+0530|INFO|glassfish3.1|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=29;_ThreadName= Thread -1;|Grizzly Framework 1.9.31 started in: 383ms - bound to [0.0.0.0:8080]|#] [#|2013-02-07T00:41:57.945+0530|INFO|glassfish3.1|javax.enterprise.system.core.com.sun.enterprise.v3.admin.adapter|_ThreadID=1;_ThreadName= Thread -1;|The Admin Console is already installed, but not yet loaded.|#] [#|2013-02-07T00:41:57.946+0530|INFO|glassfish3.1|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=30;_ThreadName= Thread -1;|Grizzly Framework 1.9.31 started in: 332ms - bound to [0.0.0.0:3700]|#] [#|2013-02-07T00:41:57.947+0530|INFO|glassfish3.1|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=32;_ThreadName= Thread -1;|Grizzly Framework 1.9.31 started in: 328ms - bound to [0.0.0.0:7676]|#] [#|2013-02-07T00:41:57.944+0530|INFO|glassfish3.1|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=31;_ThreadName= Thread -1;|Grizzly Framework 1.9.31 started in: 353ms - bound to [0.0.0.0:8181]|#] [#|2013-02-07T00:41:57.949+0530|INFO|glassfish3.1|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=28;_ThreadName= Thread -1;|Grizzly Framework 1.9.31 started in: 349ms - bound to [0.0.0.0:4848]|#] [#|2013-02-07T00:42:01.493+0530|INFO|glassfish3.1|javax.enterprise.webservices.org.glassfish.webservices.metroglue|_ThreadID=1;_ThreadName= Thread -1;|WS10010: Web service endpoint deployment events listener registered successfully.|#] [#|2013-02-07T00:42:01.935+0530|WARNING|glassfish3.1|global|_ThreadID=10;_ThreadName= Thread -1;|Cannot load appclient.HelloAppClient reason : appclient.HelloAppClient java.lang.ClassNotFoundException: appclient.HelloAppClient at com.sun.enterprise.loader.ASURLClassLoader.findClassData(ASURLClassLoader.java:808) at com.sun.enterprise.loader.ASURLClassLoader.findClass(ASURLClassLoader.java:696) at java.lang. ClassLoader .loadClass( ClassLoader .java:306) at java.lang. ClassLoader .loadClass( ClassLoader .java:247) at com.sun.enterprise.deployment.annotation.impl.ModuleScanner.getElements(ModuleScanner.java:361) at com.sun.enterprise.deployment.archivist.Archivist.processAnnotations(Archivist.java:565) at com.sun.enterprise.deployment.archivist.Archivist.readAnnotations(Archivist.java:445) at com.sun.enterprise.deployment.archivist.Archivist.readAnnotations(Archivist.java:432) at com.sun.enterprise.deployment.archivist.Archivist.readRestDeploymentDescriptors(Archivist.java:408) at com.sun.enterprise.deployment.archivist.Archivist.readDeploymentDescriptors(Archivist.java:383) at com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:246) at com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:255) at com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:216) at com.sun.enterprise.deployment.archivist.ApplicationFactory.openArchive(ApplicationFactory.java:165) at org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:180) at org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:93) at com.sun.enterprise.v3.server.ApplicationLifecycle.loadDeployer(ApplicationLifecycle.java:826) at com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:768) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:368) at com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:364) at com.sun.enterprise.v3.server.ApplicationLoaderService.postConstruct(ApplicationLoaderService.java:208) at com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:131) at com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91) at com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82) at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:67) at com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139) at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:76) at com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:243) at com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:135) at com.sun.enterprise.glassfish.bootstrap.GlassFishImpl.start(GlassFishImpl.java:79) at com.sun.enterprise.glassfish.bootstrap.GlassFishMain$Launcher.launch(GlassFishMain.java:117) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.enterprise.glassfish.bootstrap.GlassFishMain.main(GlassFishMain.java:97) at com.sun.enterprise.glassfish.bootstrap.ASMain.main(ASMain.java:55) |#] [#|2013-02-07T00:42:02.840+0530|INFO|glassfish3.1|javax.enterprise.system.container.appclient.org.glassfish.appclient.server.core|_ThreadID=1;_ThreadName= Thread -1;|ACDEPL103: Java Web Start services started for the app client appclient (contextRoot: /appclient)|#] [#|2013-02-07T00:42:02.845+0530|INFO|glassfish3.1|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=1;_ThreadName= Thread -1;|CORE10010: Loading application appclient done in 4,750 ms|#] [#|2013-02-07T00:42:02.967+0530|INFO|glassfish3.1|javax.enterprise.system.core.security.com.sun.enterprise.security|_ThreadID=1;_ThreadName= Thread -1;|SEC1002: Security Manager is OFF.|#] [#|2013-02-07T00:42:03.181+0530|INFO|glassfish3.1|javax.enterprise.system.core.security.com.sun.enterprise.security|_ThreadID=1;_ThreadName= Thread -1;|SEC1010: Entering Security Startup Service|#] [#|2013-02-07T00:42:03.197+0530|INFO|glassfish3.1|javax.enterprise.system.core.security.com.sun.enterprise.security|_ThreadID=1;_ThreadName= Thread -1;|SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.|#] [#|2013-02-07T00:42:03.256+0530|INFO|glassfish3.1|javax.enterprise.system.core.security.com.sun.enterprise.security.auth.realm|_ThreadID=1;_ThreadName= Thread -1;|SEC1115: Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.|#] [#|2013-02-07T00:42:03.261+0530|INFO|glassfish3.1|javax.enterprise.system.core.security.com.sun.enterprise.security.auth.realm|_ThreadID=1;_ThreadName= Thread -1;|SEC1115: Realm [file] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.|#] [#|2013-02-07T00:42:03.265+0530|INFO|glassfish3.1|javax.enterprise.system.core.security.com.sun.enterprise.security.auth.realm|_ThreadID=1;_ThreadName= Thread -1;|SEC1115: Realm [certificate] of classtype [com.sun.enterprise.security.auth.realm.certificate.CertificateRealm] successfully created.|#] [#|2013-02-07T00:42:03.278+0530|INFO|glassfish3.1|javax.enterprise.system.core.security.com.sun.enterprise.security|_ThreadID=1;_ThreadName= Thread -1;|SEC1011: Security Service(s) Started Successfully|#] [#|2013-02-07T00:42:03.660+0530|INFO|glassfish3.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=1;_ThreadName= Thread -1;|WEB0169: Created HTTP listener [http-listener-1] on host/port [0.0.0.0:8080]|#] [#|2013-02-07T00:42:03.665+0530|INFO|glassfish3.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=1;_ThreadName= Thread -1;|WEB0169: Created HTTP listener [http-listener-2] on host/port [0.0.0.0:8181]|#] [#|2013-02-07T00:42:03.669+0530|INFO|glassfish3.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=1;_ThreadName= Thread -1;|WEB0169: Created HTTP listener [admin-listener] on host/port [0.0.0.0:4848]|#] [#|2013-02-07T00:42:03.710+0530|INFO|glassfish3.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=1;_ThreadName= Thread -1;|WEB0171: Created virtual server [server]|#] [#|2013-02-07T00:42:03.713+0530|INFO|glassfish3.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=1;_ThreadName= Thread -1;|WEB0171: Created virtual server [__asadmin]|#] [#|2013-02-07T00:42:04.059+0530|INFO|glassfish3.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=1;_ThreadName= Thread -1;|WEB0172: Virtual server [server] loaded default web module []|#] [#|2013-02-07T00:42:05.720+0530|INFO|glassfish3.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=1;_ThreadName= Thread -1;|WEB0671: Loading application [helloservice] at [/helloservice]|#] [#|2013-02-07T00:42:05.721+0530|INFO|glassfish3.1|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=1;_ThreadName= Thread -1;|CORE10010: Loading application helloservice done in 2,874 ms|#] [#|2013-02-07T00:42:05.722+0530|INFO|glassfish3.1|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=1;_ThreadName= Thread -1;|GlassFish Server Open Source Edition 3.1 (43) startup time : Felix (6,438ms), startup services(9,340ms), total(15,778ms)|#] [#|2013-02-07T00:42:06.711+0530|INFO|glassfish3.1|javax.enterprise.system.tools.admin.org.glassfish.server|_ThreadID=49;_ThreadName= Thread -1;|JMXStartupService: Started JMXConnector, JMXService URL = service:jmx:rmi: //server2.yantro.com:8686/jndi/rmi://server2.yantro.com:8686/jmxrmi|#] [#|2013-02-07T00:43:35.367+0530|INFO|glassfish3.1|org.hibernate.validator.util.Version|_ThreadID=17;_ThreadName= Thread -1;|Hibernate Validator 4.1.0.Final|#] [#|2013-02-07T00:43:35.376+0530|INFO|glassfish3.1|org.hibernate.validator.engine.resolver.DefaultTraversableResolver|_ThreadID=17;_ThreadName= Thread -1;|Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.|#] [#|2013-02-07T00:43:35.678+0530|INFO|glassfish3.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=65;_ThreadName= Thread -1;|WEB0671: Loading application [helloservice] at [/helloservice]|#] [#|2013-02-07T00:43:35.705+0530|INFO|glassfish3.1|javax.enterprise.system.tools.admin.org.glassfish.deployment.admin|_ThreadID=65;_ThreadName= Thread -1;|helloservice was successfully deployed in 411 milliseconds.|#]
        Hide
        Ian Evans added a comment -

        What are the contents of the WAR?

        Show
        Ian Evans added a comment - What are the contents of the WAR?
        Hide
        Ian Evans added a comment -

        Also, make sure you follow the steps I posted above to clean your environment.

        If you can't get a WAR file with the HelloService.class file in it after cleaning and rebuilding with the correct javaee.home property set, you're going to have to start with the latest version of the Tutorial examples and SDK.

        That means:

        1. Install Java EE 6 SDK update 4 (with GlassFish 3.1.2).
        2. Update to version 6.0.8 of the Java EE 6 Tutorial from the Update Center. This will install the Tutorial in $ {glassfish_home}

          /glassfish/docs/javaee-tutorial.

        When you install the Tutorial from the Update Center, you don't have to worry about setting javaee.home or any other configuration. The examples in version 6.0.8 of the Tutorial have been thoroughly tested, including helloservice.

        Show
        Ian Evans added a comment - Also, make sure you follow the steps I posted above to clean your environment. If you can't get a WAR file with the HelloService.class file in it after cleaning and rebuilding with the correct javaee.home property set, you're going to have to start with the latest version of the Tutorial examples and SDK. That means: Install Java EE 6 SDK update 4 (with GlassFish 3.1.2). Update to version 6.0.8 of the Java EE 6 Tutorial from the Update Center. This will install the Tutorial in $ {glassfish_home} /glassfish/docs/javaee-tutorial. When you install the Tutorial from the Update Center, you don't have to worry about setting javaee.home or any other configuration. The examples in version 6.0.8 of the Tutorial have been thoroughly tested, including helloservice.
        Hide
        karthikannadurai added a comment -

        In the helloservice.war contain below files
        META-INF: MANIFEST.MF
        WEB-INF: classes/META-INF
        sun-web.xml
        web.xml

        It does not contain wsdl file and class file. I created one war file with one HelloService.wsdl file and Hello.class. I run the deploy command and its worked fine(service created successfully). What i have to do?

        Show
        karthikannadurai added a comment - In the helloservice.war contain below files META-INF: MANIFEST.MF WEB-INF: classes/META-INF sun-web.xml web.xml It does not contain wsdl file and class file. I created one war file with one HelloService.wsdl file and Hello.class. I run the deploy command and its worked fine(service created successfully). What i have to do?
        Hide
        Ian Evans added a comment -

        I don't know where you got your Tutorial install, as it is in a nonstandard location. I can't verify that it is a version that we've tested based on the information you've given. Therefore I'm closing this as Cannot Reproduce.

        You can install Java EE 6 SDK update 4 and version 6.0.8 of the Tutorial, as I've said above. If you get the same error in version 6.0.8 of helloservice, and verify that the output WAR doesn't contain a class file or WSDL, you can reopen this issue.

        Show
        Ian Evans added a comment - I don't know where you got your Tutorial install, as it is in a nonstandard location. I can't verify that it is a version that we've tested based on the information you've given. Therefore I'm closing this as Cannot Reproduce. You can install Java EE 6 SDK update 4 and version 6.0.8 of the Tutorial, as I've said above. If you get the same error in version 6.0.8 of helloservice, and verify that the output WAR doesn't contain a class file or WSDL, you can reopen this issue.

          People

          • Assignee:
            Ian Evans
            Reporter:
            karthikannadurai
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: