Shing Wai,
Yes the class is there.
Funny thing. I found that webservices-rt.jar was in
glassfish/lib/endorsed and after deleting it GF came
up successfully.
I'm trying to figure out how webservices-rt.jar got
there. I did install WSIT nightly build, but the installer
doesn't copy that jar into lib/endorsed.
Tom
Shing Wai Chan wrote:
> The class is in $GLASSFISH_HOME/lib/jmac-api.jar
> Can you double check if the it is really there?
> Thanks.
> Shing Wai
> Tom Amiro wrote:
>
>> Hi,
>>
>> I installed the snapshot image for the latest nightly GFv2 build
>> on Windows JDK 6. The JAX-WS SQE tests autodeployed its test apps
>> but they are not availabl. Note this problem is not happening
>> on Solaris with JDK 5.
>>
>>> gen-client-wsimport:
>>> [echo] ***************
>>> [echo] http://localhost:8090/ow_wsdl_doclit/wsdl/OnewayIF?wsdl
>>> [echo] ***************
>>> [wsimport] Consider using <depends>/<produces> so that wsimport
>>> won't do unnecessary compilation
>>> [wsimport] command line: wsimport
>>> F:\progra~1\Java\jdk1.6.0\jre\bin\java.exe -classpath
>>> F:\Sun\glassfish\lib\mail.jar;F:\Sun\glassfish\lib\activation.jar;F:\Sun\glassfish\lib\endorsed\webservices-api.jar;F:\Sun\glassfish\lib\webservices-rt.jar;F:\Sun\glassfish\lib\webservices-tools.jar;F:\Sun\glassfish\lib\endorsed\activation.jar;F:\Sun\glassfish\lib\javaee.jar;F:\progra~1\Java\jdk1.6.0\lib\tools.jar
>>> com.sun.tools.ws.WsImport -d
>>> F:\Sun\tests\jaxws-test.gf\build\ow_wsdl_doclit\classes -keep -s
>>> F:\Sun\tests\jaxws-test.gf\build\ow_wsdl_doclit\src -catalog
>>> F:\Sun\tests\jaxws-test.gf\src\oneway\ow_wsdl_doclit -verbose
>>> http://localhost:8090/ow_wsdl_doclit/wsdl/OnewayIF?wsdl -b
>>> F:\Sun\tests\jaxws-test.gf\build\temp\config-client.xml
>>> [wsimport] parsing WSDL...
>>>
>>>
>>> [wsimport] [ERROR] Failed to read the WSDL document:
>>> http://localhost:8090/ow_wsdl_doclit/wsdl/OnewayIF?wsdl, because 1)
>>> could not find the document; /2) the document could not be read; 3)
>>> the root element of the document is not <wsdl:definitions>.
>>> [wsimport] unknown location
>>>
>>
>>
>> The server log shows the following
>>
>>> [#|2007-03-27T13:09:34.531-0400|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=12;_ThreadName=pool-1-thread-3;_RequestID=ec924dc7-7e72-42ca-ab90-2e1daca356a3;|WEB0123:
>>> WebModule [__JWSappclients:sys.war] failed to deploy and has been
>>> disabled
>>> java.lang.NoClassDefFoundError:
>>> javax/security/auth/message/config/AuthConfigProvider
>>> at java.lang.ClassLoader.findBootstrapClass(Native Method)
>>> at java.lang.ClassLoader.findBootstrapClass0(ClassLoader.java:891)
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:301)
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
>>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
>>> at
>>> com.sun.appserv.server.util.ASURLClassLoader.loadClass(ASURLClassLoader.java:131)
>>>
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>>> at
>>> com.sun.enterprise.util.ConnectorClassLoader.loadClass(ConnectorClassLoader.java:174)
>>>
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>>> at java.lang.Class.forName0(Native Method)
>>> at java.lang.Class.forName(Class.java:247)
>>> at
>>> com.sun.enterprise.security.jmac.config.GFAuthConfigFactory._constructProvider(GFAuthConfigFactory.java:481)
>>>
>>> at
>>> com.sun.enterprise.security.jmac.config.GFAuthConfigFactory._loadFactory(GFAuthConfigFactory.java:609)
>>>
>>> at
>>> com.sun.enterprise.security.jmac.config.GFAuthConfigFactory.<clinit>(GFAuthConfigFactory.java:83)
>>>
>>> at java.lang.Class.forName0(Native Method)
>>> at java.lang.Class.forName(Class.java:247)
>>> at
>>> javax.security.auth.message.config.AuthConfigFactory$1.run(AuthConfigFactory.java:200)
>>>
>>> at java.security.AccessController.doPrivileged(Native Method)
>>> at
>>> javax.security.auth.message.config.AuthConfigFactory.getFactory(AuthConfigFactory.java:189)
>>>
>>> at
>>> com.sun.enterprise.security.jmac.config.ConfigHelper.<clinit>(ConfigHelper.java:59)
>>>
>>> at
>>> com.sun.web.security.RealmAdapter.getConfigHelper(RealmAdapter.java:1198)
>>>
>>> at
>>> com.sun.web.security.RealmAdapter.setVirtualServer(RealmAdapter.java:276)
>>>
>>> at com.sun.enterprise.web.WebModule.setParent(WebModule.java:350)
>>> at
>>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:957)
>>>
>>> at
>>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:944)
>>> at
>>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:671)
>>> at
>>> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1575)
>>>
>>> at
>>> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1216)
>>>
>>> at
>>> com.sun.enterprise.web.WebContainer.loadJ2EEApplicationWebModules(WebContainer.java:1141)
>>>
>>> at
>>> com.sun.enterprise.server.TomcatApplicationLoader.doLoad(TomcatApplicationLoader.java:128)
>>>
>>> at
>>> com.sun.enterprise.server.AbstractLoader.load(AbstractLoader.java:226)
>>> at
>>> com.sun.enterprise.server.AbstractManager.loadOneSystemApp(AbstractManager.java:380)
>>>
>>> at
>>> com.sun.enterprise.server.AbstractManager$SystemAppStarter.doRun(AbstractManager.java:629)
>>>
>>> at
>>> com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:283)
>>>
>>> at
>>> com.sun.appserv.management.util.misc.RunnableBase.run(RunnableBase.java:317)
>>>
>>> at
>>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
>>> at
>>> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>>> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>>> at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
>>>
>>> at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
>>>
>>> at java.lang.Thread.run(Thread.java:619)
>>> |#]
>>>
>>> [#|2007-03-27T13:09:34.531-0400|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=10;_ThreadName=main;_RequestID=0a4ab35d-3ef7-4007-b890-7673ad7a800d;|java.lang.reflect.InvocationTargetException
>>>
>>> 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.server.PELaunch.main(PELaunch.java:274)
>>> Caused by: java.lang.NoClassDefFoundError:
>>> com/sun/appserv/server/LifecycleListener
>>> at java.lang.ClassLoader.findBootstrapClass(Native Method)
>>> at java.lang.ClassLoader.findBootstrapClass0(ClassLoader.java:891)
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:301)
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
>>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
>>> at
>>> com.sun.appserv.server.util.ASURLClassLoader.loadClass(ASURLClassLoader.java:131)
>>>
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>>> at
>>> com.sun.enterprise.util.ConnectorClassLoader.loadClass(ConnectorClassLoader.java:174)
>>>
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>>> at java.lang.Class.forName0(Native Method)
>>> at java.lang.Class.forName(Class.java:247)
>>> at
>>> com.sun.appserv.server.ServerLifecycleModule.loadServerLifecycle(ServerLifecycleModule.java:144)
>>>
>>> at
>>> com.sun.appserv.server.LifecycleModuleService$OneTimeIniter.doRun(LifecycleModuleService.java:157)
>>>
>>> at
>>> com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:283)
>>>
>>> at
>>> com.sun.appserv.management.util.misc.RunnableBase.run(RunnableBase.java:317)
>>>
>>> at
>>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
>>> at
>>> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>>> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>>> at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
>>>
>>> at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
>>>
>>> at java.lang.Thread.run(Thread.java:619)
>>
>>
>> Tom
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>