users@glassfish.java.net

Re: First Web Service

From: <glassfish_at_javadesktop.org>
Date: Tue, 28 Apr 2009 02:24:53 PDT

Hi,
I recreated a project, now named WS3 but the problem is always the same. I looked on server.log and I find:

[code]
28-apr-2009 11.17.18 com.sun.enterprise.admin.launcher.GFLauncherLogger info
INFO: JVM invocation command line:
C:\Program Files\Java\jdk1.6.0_06\bin\java.exe
-cp
C:/glassfishv3-prelude/glassfish/modules/glassfish.jar;C:/axis14/lib/axis-ant.jar;C:/axis14/lib/axis.jar;C:/axis14/lib/commons-discovery-0.2.jar;C:/axis14/lib/commons-logging-1.0.4.jar;C:/axis14/lib/jaxrpc.jar;C:/axis14/lib/log4j-1.2.8.jar;C:/axis14/lib/saaj.jar;C:/axis14/lib/wsdl4j-1.5.1.jar;C:/glassfishv3-prelude/glassfish
-XX:+UnlockDiagnosticVMOptions
-XX:NewRatio=2
-XX:+LogVMOutput
-XX:LogFile=C:\glassfishv3-prelude\glassfish\domains\domain1/logs/jvm.log
-Xmx512m
-client
-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
-Djavax.net.ssl.trustStore=C:\glassfishv3-prelude\glassfish\domains\domain1/config/cacerts.jks
-Djavax.net.ssl.keyStore=C:\glassfishv3-prelude\glassfish\domains\domain1/config/keystore.jks
-Djava.security.policy=C:\glassfishv3-prelude\glassfish\domains\domain1/config/server.policy
-Dcom.sun.aas.instanceRoot=C:\glassfishv3-prelude\glassfish\domains\domain1
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
-Djava.security.auth.login.config=C:\glassfishv3-prelude\glassfish\domains\domain1/config/login.conf
-Djava.endorsed.dirs=C:\glassfishv3-prelude\glassfish/lib/endorsed
-Dcom.sun.aas.installRoot=C:\glassfishv3-prelude\glassfish
-Djava.ext.dirs=C:\Program Files\Java\jdk1.6.0_06/lib/ext;C:\Program Files\Java\jdk1.6.0_06/jre/lib/ext;C:\glassfishv3-prelude\glassfish\domains\domain1/lib/ext;C:\glassfishv3-prelude\javadb/lib
com.sun.enterprise.glassfish.bootstrap.ASMain
-domainname
domain1
-instancename
server
-verbose
false
-debug
false
-domaindir
C:/glassfishv3-prelude/glassfish/domains/domain1
28-apr-2009 11.17.19 com.sun.enterprise.admin.launcher.GFLauncherLogger info
INFO: Successfully launched in 47 msec.
[#|2009-04-28T11:18:01.531+0200|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=12;_ThreadName=Thread-3;org.glassfish.registration.glassfish-registration [73];|Started bundle org.glassfish.registration.glassfish-registration [73]|#]

[#|2009-04-28T11:18:01.562+0200|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=12;_ThreadName=Thread-3;org.glassfish.deployment.deployment-autodeploy [19];|Started bundle org.glassfish.deployment.deployment-autodeploy [19]|#]

[#|2009-04-28T11:18:01.703+0200|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=12;_ThreadName=Thread-3;org.glassfish.deployment.deployment-common [69];|Started bundle org.glassfish.deployment.deployment-common [69]|#]

[#|2009-04-28T11:18:01.890+0200|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=12;_ThreadName=Thread-3;org.glassfish.flashlight.flashlight-framework [72];|Started bundle org.glassfish.flashlight.flashlight-framework [72]|#]

[#|2009-04-28T11:18:02.625+0200|INFO|glassfish|global|_ThreadID=12;_ThreadName=Thread-3;|Listening on port 8080|#]

[#|2009-04-28T11:18:02.640+0200|INFO|glassfish|global|_ThreadID=12;_ThreadName=Thread-3;|Network listener http-listener-2 on port 8181 disabled per domain.xml|#]

[#|2009-04-28T11:18:02.640+0200|INFO|glassfish|global|_ThreadID=12;_ThreadName=Thread-3;|Listening on port 4848|#]

[#|2009-04-28T11:18:02.687+0200|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=12;_ThreadName=Thread-3;org.glassfish.common.container-common [83];|Started bundle org.glassfish.common.container-common [83]|#]

[#|2009-04-28T11:18:03.046+0200|INFO|glassfish|global|_ThreadID=12;_ThreadName=Thread-3;|The Admin Console is already installed, but not yet loaded.|#]

[#|2009-04-28T11:18:03.203+0200|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=12;_ThreadName=Thread-3;org.glassfish.persistence.jpa-connector [24];|Started bundle org.glassfish.persistence.jpa-connector [24]|#]

[#|2009-04-28T11:18:03.234+0200|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=12;_ThreadName=Thread-3;org.glassfish.scripting.gf-jruby-connector [12];|Started bundle org.glassfish.scripting.gf-jruby-connector [12]|#]

[#|2009-04-28T11:18:03.250+0200|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=12;_ThreadName=Thread-3;org.glassfish.web.gf-web-connector [99];|Started bundle org.glassfish.web.gf-web-connector [99]|#]

[#|2009-04-28T11:18:03.281+0200|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=12;_ThreadName=Thread-3;org.glassfish.security.security [21];|Started bundle org.glassfish.security.security [21]|#]

[#|2009-04-28T11:18:03.359+0200|INFO|glassfish|javax.enterprise.system.core.security|_ThreadID=12;_ThreadName=Thread-3;|SEC1002: Security Manager is OFF.|#]

[#|2009-04-28T11:18:03.562+0200|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=12;_ThreadName=Thread-3;org.glassfish.security.securitycommon [23];|Started bundle org.glassfish.security.securitycommon [23]|#]

[#|2009-04-28T11:18:04.125+0200|INFO|glassfish|javax.enterprise.system.core.security|_ThreadID=12;_ThreadName=Thread-3;|Security startup service called|#]

[#|2009-04-28T11:18:04.203+0200|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=12;_ThreadName=Thread-3;org.glassfish.security.realms [38];|Started bundle org.glassfish.security.realms [38]|#]

[#|2009-04-28T11:18:04.500+0200|INFO|glassfish|javax.enterprise.system.core.security|_ThreadID=12;_ThreadName=Thread-3;|Security service(s) started successfully....|#]

[#|2009-04-28T11:18:04.546+0200|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=12;_ThreadName=Thread-3;org.glassfish.web.DirContextURLStreamHandlerService_at_14c5b37;org.osgi.service.url.URLStreamHandlerService;|registering service = org.glassfish.web.DirContextURLStreamHandlerService_at_14c5b37, contract = org.osgi.service.url.URLStreamHandlerService, name = null|#]

[#|2009-04-28T11:18:04.546+0200|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=12;_ThreadName=Thread-3;org.glassfish.web.web-glue [91];|Started bundle org.glassfish.web.web-glue [91]|#]

[#|2009-04-28T11:18:04.937+0200|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=12;_ThreadName=Thread-3;org.glassfish.common.glassfish-naming [65];|Started bundle org.glassfish.common.glassfish-naming [65]|#]

[#|2009-04-28T11:18:05.390+0200|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=12;_ThreadName=Thread-3;org.glassfish.common.glassfish-api [84];|Started bundle org.glassfish.common.glassfish-api [84]|#]

[#|2009-04-28T11:18:05.421+0200|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=12;_ThreadName=Thread-3;org.glassfish.connectors.connectors-runtime [27];|Started bundle org.glassfish.connectors.connectors-runtime [27]|#]

[#|2009-04-28T11:18:05.703+0200|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=12;_ThreadName=Thread-3;org.glassfish.transaction.jta [7];|Started bundle org.glassfish.transaction.jta [7]|#]

[#|2009-04-28T11:18:06.359+0200|INFO|glassfish|javax.enterprise.system.container.web|_ThreadID=12;_ThreadName=Thread-3;|Created HTTP listener http-listener-1 on port 8080|#]

[#|2009-04-28T11:18:06.359+0200|INFO|glassfish|javax.enterprise.system.container.web|_ThreadID=12;_ThreadName=Thread-3;|Created HTTP listener admin-listener on port 4848|#]

[#|2009-04-28T11:18:06.500+0200|INFO|glassfish|javax.enterprise.system.container.web|_ThreadID=12;_ThreadName=Thread-3;|Created virtual server server|#]

[#|2009-04-28T11:18:06.515+0200|INFO|glassfish|javax.enterprise.system.container.web|_ThreadID=12;_ThreadName=Thread-3;|Created virtual server __asadmin|#]

[#|2009-04-28T11:18:06.531+0200|INFO|glassfish|javax.enterprise.system.tools.admin|_ThreadID=13;_ThreadName=Thread-3;|Started JMXConnector, JMXService URL = service:jmx:rmi:///jndi/rmi://g-marchione.replynet.prv:8686/jmxrmi|#]

[#|2009-04-28T11:18:06.593+0200|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=12;_ThreadName=Thread-3;org.glassfish.deployment.dol [10];|Started bundle org.glassfish.deployment.dol [10]|#]

[#|2009-04-28T11:18:08.531+0200|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=12;_ThreadName=Thread-3;org.glassfish.web.web-core [108];|Started bundle org.glassfish.web.web-core [108]|#]

[#|2009-04-28T11:18:09.375+0200|INFO|glassfish|org.apache.catalina.loader.WebappLoader|_ThreadID=12;_ThreadName=Thread-3;|Dual registration of jndi stream handler: factory already defined|#]

[#|2009-04-28T11:18:09.375+0200|INFO|glassfish|org.apache.catalina.loader.WebappLoader|_ThreadID=12;_ThreadName=Thread-3;|Unknown loader 91.0 class org.apache.felix.framework.searchpolicy.ContentClassLoader|#]

[#|2009-04-28T11:18:09.453+0200|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=12;_ThreadName=Thread-3;org.glassfish.web.jstl-connector [96];|Started bundle org.glassfish.web.jstl-connector [96]|#]

[#|2009-04-28T11:18:09.484+0200|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=12;_ThreadName=Thread-3;org.glassfish.web.jsf-connector [104];|Started bundle org.glassfish.web.jsf-connector [104]|#]

[#|2009-04-28T11:18:09.640+0200|INFO|glassfish|javax.enterprise.resource.jta|_ThreadID=12;_ThreadName=Thread-3;|Using com.sun.enterprise.transaction.JavaEETransactionManagerSimplifiedDelegate as the delegate|#]

[#|2009-04-28T11:18:09.734+0200|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=12;_ThreadName=Thread-3;org.glassfish.connectors.work-management [44];|Started bundle org.glassfish.connectors.work-management [44]|#]

[#|2009-04-28T11:18:09.765+0200|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=12;_ThreadName=Thread-3;org.glassfish.common.glassfish-ee-api [70];|Started bundle org.glassfish.common.glassfish-ee-api [70]|#]

[#|2009-04-28T11:18:09.765+0200|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=12;_ThreadName=Thread-3;org.glassfish.connectors.connectors-internal-api [89];|Started bundle org.glassfish.connectors.connectors-internal-api [89]|#]

[#|2009-04-28T11:18:09.843+0200|INFO|glassfish|javax.enterprise.system.core.security|_ThreadID=12;_ThreadName=Thread-3;com.sun.enterprise.security.provider.PolicyWrapper;|SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.|#]

[#|2009-04-28T11:18:10.187+0200|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=12;_ThreadName=Thread-3;org.glassfish.web.war-util [100];|Started bundle org.glassfish.web.war-util [100]|#]

[#|2009-04-28T11:18:10.500+0200|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=12;_ThreadName=Thread-3;org.glassfish.security.websecurity [92];|Started bundle org.glassfish.security.websecurity [92]|#]

[#|2009-04-28T11:18:10.625+0200|INFO|glassfish|org.apache.catalina.loader.WebappLoader|_ThreadID=12;_ThreadName=Thread-3;|Unknown loader org.glassfish.internal.api.DelegatingClassLoader_at_19d794d class org.glassfish.internal.api.DelegatingClassLoader|#]

[#|2009-04-28T11:18:10.687+0200|INFO|glassfish|javax.enterprise.system.container.web|_ThreadID=12;_ThreadName=Thread-3;|Loading application WS3 at /WS3|#]

[#|2009-04-28T11:18:10.687+0200|INFO|glassfish|javax.enterprise.system.core|_ThreadID=12;_ThreadName=Thread-3;|Loading WS3 Application done is 7516 ms|#]

[#|2009-04-28T11:18:12.921+0200|INFO|glassfish|org.apache.catalina.loader.WebappLoader|_ThreadID=12;_ThreadName=Thread-3;|Unknown loader org.glassfish.internal.api.DelegatingClassLoader_at_19d794d class org.glassfish.internal.api.DelegatingClassLoader|#]

[#|2009-04-28T11:18:13.906+0200|INFO|glassfish|javax.enterprise.system.container.web|_ThreadID=12;_ThreadName=Thread-3;|Loading application WS2 at /WS2|#]

[#|2009-04-28T11:18:13.906+0200|INFO|glassfish|javax.enterprise.system.core|_ThreadID=12;_ThreadName=Thread-3;|Loading WS2 Application done is 3219 ms|#]

[#|2009-04-28T11:18:13.906+0200|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=12;_ThreadName=Thread-3;org.glassfish.web.web-cli [102];|Started bundle org.glassfish.web.web-cli [102]|#]

[#|2009-04-28T11:18:13.921+0200|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=12;_ThreadName=Thread-3;org.glassfish.admin.monitoring-core [55];|Started bundle org.glassfish.admin.monitoring-core [55]|#]

[#|2009-04-28T11:18:14.000+0200|INFO|glassfish|javax.enterprise.system.core|_ThreadID=12;_ThreadName=Thread-3;|GlassFish v3 Prelude startup time : Felix(35437ms) startup services(12907ms) total(48344ms)|#]

[#|2009-04-28T11:18:14.218+0200|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=14;_ThreadName=Thread-3;org.glassfish.deployment.deployment-admin [40];|Started bundle org.glassfish.deployment.deployment-admin [40]|#]

[#|2009-04-28T11:18:14.281+0200|INFO|glassfish|null|_ThreadID=14;_ThreadName=Thread-3;|Error while invoking client: false ==> java.lang.reflect.InvocationTargetException|#]

[#|2009-04-28T11:18:14.671+0200|INFO|glassfish|null|_ThreadID=14;_ThreadName=Thread-3;|classLoader = WebappClassLoader
  delegate: true
  repositories:
    WEB-INF/classes/
----------> Parent Classloader:
org.glassfish.internal.api.DelegatingClassLoader_at_19d794d
|#]

[#|2009-04-28T11:18:14.671+0200|INFO|glassfish|null|_ThreadID=14;_ThreadName=Thread-3;|SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7_at_141a32f|#]

[#|2009-04-28T11:18:22.359+0200|INFO|glassfish|global|_ThreadID=15;_ThreadName=Thread-3;|AdminConsoleAdapter's STATE IS: The Admin Console is already installed, but not yet loaded.|#]

[#|2009-04-28T11:18:22.453+0200|INFO|glassfish|global|_ThreadID=16;_ThreadName=Thread-3;|The Admin Console is already installed, but not yet loaded.|#]

[#|2009-04-28T11:18:22.453+0200|INFO|glassfish|global|_ThreadID=16;_ThreadName=Thread-3;|The Admin Console is loading...|#]

[#|2009-04-28T11:18:23.546+0200|INFO|glassfish|global|_ThreadID=14;_ThreadName=Thread-3;|AdminConsoleAdapter's STATE IS: The Admin Console is loading...|#]

[#|2009-04-28T11:18:25.218+0200|INFO|glassfish|org.apache.catalina.loader.WebappLoader|_ThreadID=16;_ThreadName=Thread-3;|Unknown loader org.glassfish.internal.api.DelegatingClassLoader_at_19d794d class org.glassfish.internal.api.DelegatingClassLoader|#]

[#|2009-04-28T11:18:25.484+0200|INFO|glassfish|global|_ThreadID=14;_ThreadName=Thread-3;|AdminConsoleAdapter's STATE IS: The Admin Console is loading...|#]

[#|2009-04-28T11:18:25.546+0200|INFO|glassfish|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=16;_ThreadName=Thread-3;;|Initializing Mojarra 2.0.0 (PR2 b09) for context ''|#]

[#|2009-04-28T11:18:28.546+0200|INFO|glassfish|global|_ThreadID=15;_ThreadName=Thread-3;|AdminConsoleAdapter's STATE IS: The Admin Console is loading...|#]

[#|2009-04-28T11:18:30.843+0200|INFO|glassfish|javax.enterprise.system.container.web|_ThreadID=16;_ThreadName=Thread-3;|Loading application __admingui at /|#]

[#|2009-04-28T11:18:30.843+0200|INFO|glassfish|global|_ThreadID=16;_ThreadName=Thread-3;|Loading __admingui Application done is 8390 ms|#]

[#|2009-04-28T11:18:30.843+0200|INFO|glassfish|global|_ThreadID=16;_ThreadName=Thread-3;|The Admin Console application is loaded.|#]

[#|2009-04-28T11:18:39.437+0200|INFO|glassfish|javax.enterprise.system.tools.admin|_ThreadID=15;_ThreadName=Thread-3;|AMXStartupService: loaded 156 AMX MBeans in 584 ms (wall-clock time)|#]

[#|2009-04-28T11:19:13.625+0200|INFO|glassfish|null|_ThreadID=17;_ThreadName=Thread-3;|Cannot refresh Catalog : Connection timed out: connect|#]


[/code]


Here I do not read anything error. How can I solve?
I attach my wer file.
Thansk, bye bye
[Message sent by forum member 'abdujaparov' (abdujaparov)]

http://forums.java.net/jive/thread.jspa?messageID=344098