Deploying application in domain failed; WSGEN FAILED in Netbeans6.1with Glassfish

K

kiran

Hi,

I am following one of the examples given in netbeans site for creating
web service and I am getting this error.

init:
deps-module-jar:
deps-ear-jar:
deps-jar:
Created dir: C:\Documents and Settings\ocuments\NetBeansProjects
\CalculatorWSApplication\build\web\WEB-INF\classes
Created dir: C:\Documents and Settings\ Documents\NetBeansProjects
\CalculatorWSApplication\build\web\META-INF
Copying 1 file to C:\Documents and Settings\My Documents
\NetBeansProjects\CalculatorWSApplication\build\web\META-INF
Copying 3 files to C:\Documents and Settings\My Documents
\NetBeansProjects\CalculatorWSApplication\build\web
Copied 1 empty directory to 1 empty directory under C:\Documents and
Settings\\My Documents\NetBeansProjects\CalculatorWSApplication\build
\web
library-inclusion-in-archive:
library-inclusion-in-manifest:
Compiling 1 source file to C:\Documents and Settings\\My Documents
\NetBeansProjects\CalculatorWSApplication\build\web\WEB-INF\classes
compile:
compile-jsps:
In-place deployment at C:\Documents and Settings\#KBADI\My Documents
\NetBeansProjects\CalculatorWSApplication\build\web
Start registering the project's server resources
Finished registering server resources
moduleID=CalculatorWSApplication
deployment started : 0%
Deploying application in domain failed; WSGEN FAILED
Deployment error:
The module has not been deployed.
See the server log for details.
at
org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:
166)
at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:
104)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown
Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:
105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:
1298)
at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:
41)
at org.apache.tools.ant.Project.executeTargets(Project.java:
1181)
at
org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:
277)
at
org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:
460)
at
org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:
151)
Caused by: The module has not been deployed.
at
org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:
160)
... 16 more
BUILD FAILED (total time: 12 seconds)

I am following this http://www.netbeans.org/kb/60/websvc/jax-ws.html#Exercise_1.

Any Ideas.
 
K

kiran

Hi,

Some more details from me,

1587 INFO JBI framework startup complete.(details)
com.sun.jbi.framework Jul 6, 2008 23:37:59.843
_ThreadID=17;_ThreadName=httpWorkerThread-4848-1;
1586 INFO Successfully processed 0 Service Assemblies during startup.
(details) com.sun.jbi.management.DeploymentService Jul 6, 2008
23:37:59.843 _ThreadID=17;_ThreadName=httpWorkerThread-4848-1;
1585 INFO Initializing Sun's JavaServer Faces implementation (1.2_04-
b20-p03) for context ''(details)
javax.enterprise.resource.webcontainer.jsf.config Jul 6, 2008
23:37:13.046 _ThreadID=17;_ThreadName=httpWorkerThread-4848-1;;
1584 SEVERE WSGEN FAILED at
com.sun.enterprise.webservice.WsUtil.genWSInfo(WsUtil.java:2256) at
com.sun.enterp... (details) javax.enterprise.system.tools.deployment
Jul 6, 2008 23:31:35.812
_ThreadID=16;_ThreadName=Thread-746;_RequestID=e557b410-
fc83-426b-9cca-8d8ddc2ca336;
1583 INFO wsgen -cp . example.Stock wsgen -cp . example.Stock -wsdl -
servicename {http://mynamespace}MyServi... (details)
javax.enterprise.system.stream.out Jul 6, 2008 23:31:35.796
_ThreadID=16;_ThreadName=Thread-746;
1582 INFO WSGEN [options] <SEI> where [options] include: -classpath
<path> specify where to find i... (details)
javax.enterprise.system.stream.out Jul 6, 2008 23:31:35.796
_ThreadID=16;_ThreadName=Thread-746;
1581 INFO (details) javax.enterprise.system.stream.out Jul 6, 2008
23:31:35.796 _ThreadID=16;_ThreadName=Thread-746;
1580 INFO "org.me.calculator.CalculatorWS"(details)
javax.enterprise.system.stream.out Jul 6, 2008 23:31:35.796
_ThreadID=16;_ThreadName=Thread-746;
1579 INFO No object matches the specified name "server.security-
service.message-security-config.SOAP.provider-... (details)
javax.enterprise.system.tools.admin Jul 6, 2008 22:56:04.406
_ThreadID=15;_ThreadName=RMI TCP Connection(6)-172.28.172.86;
1578 INFO No object matches the specified name "server.security-
service.message-security-config.SOAP.provider-... (details)
javax.enterprise.system.tools.admin Jul 6, 2008 22:56:04.375
_ThreadID=15;_ThreadName=RMI TCP Connection(6)-172.28.172.86;
1577 INFO No object matches the specified name "server.security-
service.message-security-config.SOAP.provider-... (details)
javax.enterprise.system.tools.admin Jul 6, 2008 22:56:04.375
_ThreadID=15;_ThreadName=RMI TCP Connection(6)-172.28.172.86;
1576 INFO No object matches the specified name "server.security-
service.message-security-config.SOAP.provider-... (details)
javax.enterprise.system.tools.admin Jul 6, 2008 22:56:04.359
_ThreadID=15;_ThreadName=RMI TCP Connection(6)-172.28.172.86;
1575 INFO No object matches the specified name "server.security-
service.message-security-config.SOAP.provider-... (details)
javax.enterprise.system.tools.admin Jul 6, 2008 22:56:04.359
_ThreadID=15;_ThreadName=RMI TCP Connection(6)-172.28.172.86;
1574 INFO No object matches the specified name "server.security-
service.message-security-config.SOAP.provider-... (details)
javax.enterprise.system.tools.admin Jul 6, 2008 22:56:04.343
_ThreadID=15;_ThreadName=RMI TCP Connection(6)-172.28.172.86;
1573 INFO No object matches the specified name "server.security-
service.message-security-config.SOAP.provider-... (details)
javax.enterprise.system.tools.admin Jul 6, 2008 22:56:04.328
_ThreadID=15;_ThreadName=RMI TCP Connection(6)-172.28.172.86;
1572 INFO No object matches the specified name
"server.applications.lifecycle-module.JBIFramework.property.com...
(details) javax.enterprise.system.tools.admin Jul 6, 2008 22:56:04.312
_ThreadID=15;_ThreadName=RMI TCP Connection(6)-172.28.172.86;
1571 INFO No object matches the specified name "server.security-
service.message-security-config.SOAP.provider-... (details)
javax.enterprise.system.tools.admin Jul 6, 2008 22:56:04.312
_ThreadID=15;_ThreadName=RMI TCP Connection(6)-172.28.172.86;
1570 INFO No object matches the specified name "server.security-
service.message-security-config.SOAP.provider-... (details)
javax.enterprise.system.tools.admin Jul 6, 2008 22:56:04.312
_ThreadID=15;_ThreadName=RMI TCP Connection(6)-172.28.172.86;
1569 INFO No object matches the specified name "server.security-
service.message-security-config.SOAP.provider-... (details)
javax.enterprise.system.tools.admin Jul 6, 2008 22:56:04.296
_ThreadID=15;_ThreadName=RMI TCP Connection(6)-172.28.172.86;
1568 INFO No object matches the specified name "server.security-
service.message-security-config.SOAP.provider-... (details)
javax.enterprise.system.tools.admin Jul 6, 2008 22:56:04.296
_ThreadID=15;_ThreadName=RMI TCP Connection(6)-172.28.172.86;
1567 INFO No object matches the specified name
"domain.applications.lifecycle-module.JBIFramework.property.com...
(details) javax.enterprise.system.tools.admin Jul 6, 2008 22:56:04.281
_ThreadID=15;_ThreadName=RMI TCP Connection(6)-172.28.172.86;
1566 INFO No object matches the specified name "server.security-
service.message-security-config.SOAP.provider-... (details)
javax.enterprise.system.tools.admin Jul 6, 2008 22:56:04.281
_ThreadID=15;_ThreadName=RMI TCP Connection(6)-172.28.172.86;
1565 INFO All ejb(s) of [__ejb_container_timer_app] loaded
successfully!(details) javax.enterprise.system.core.classloading Jul
6, 2008 22:56:04.015 _ThreadID=15;_ThreadName=RMI TCP
Connection(6)-172.28.172.86;__ejb_container_timer_app;
1564 INFO EJB Timer Service started successfully for datasource [jdbc/
__TimerPool](details) javax.enterprise.system.container.ejb Jul 6,
2008 22:56:04.015 _ThreadID=15;_ThreadName=RMI TCP
Connection(6)-172.28.172.86;jdbc/__TimerPool;
1563 INFO __ejb_container_timer_app(details)
javax.enterprise.system.core Jul 6, 2008 22:56:03.234
_ThreadID=15;_ThreadName=RMI TCP Connection(6)-172.28.172.86;
1562 INFO All ejb(s) of [MEjbApp] loaded successfully!(details)
javax.enterprise.system.core.classloading Jul 6, 2008 22:56:03.234
_ThreadID=15;_ThreadName=RMI TCP Connection(6)-172.28.172.86;MEjbApp;
1561 INFO POARemoteRefFactory addSFSBVersionPolicy? false(details)
javax.enterprise.resource.corba Jul 6, 2008 22:56:03.046
_ThreadID=15;_ThreadName=RMI TCP Connection(6)-172.28.172.86;
1560 INFO : sc.getEjbContainerAvailabilityEnabledFromConfig() ==>
false(details) javax.enterprise.system.container.ejb Jul 6, 2008
22:56:03.046 _ThreadID=15;_ThreadName=RMI TCP
Connection(6)-172.28.172.86;
1559 INFO POARemoteRefFactory checking if SFSBVersionPolicy need to be
added(details) javax.enterprise.resource.corba Jul 6, 2008
22:56:03.046 _ThreadID=15;_ThreadName=RMI TCP
Connection(6)-172.28.172.86;
1558 INFO POARemoteRefFactory addSFSBVersionPolicy? false(details)
javax.enterprise.resource.corba Jul 6, 2008 22:56:03.046
_ThreadID=15;_ThreadName=RMI TCP Connection(6)-172.28.172.86;
1557 INFO : sc.getEjbContainerAvailabilityEnabledFromConfig() ==>
false(details) javax.enterprise.system.container.ejb Jul 6, 2008
22:56:03.046 _ThreadID=15;_ThreadName=RMI TCP
Connection(6)-172.28.172.86;
1556 INFO POARemoteRefFactory checking if SFSBVersionPolicy need to be
added(details) javax.enterprise.resource.corba Jul 6, 2008
22:56:03.046 _ThreadID=15;_ThreadName=RMI TCP
Connection(6)-172.28.172.86;
1555 INFO MEjbApp(details) javax.enterprise.system.core Jul 6, 2008
22:56:02.578 _ThreadID=15;_ThreadName=RMI TCP
Connection(6)-172.28.172.86;
1554 INFO Recoverable JTS instance, serverId = [3700](details)
javax.enterprise.system.core.transaction Jul 6, 2008 22:56:02.468
_ThreadID=15;_ThreadName=RMI TCP Connection(6)-172.28.172.86;3700;
1553 INFO : sc.getEjbContainerAvailabilityEnabledFromConfig() ==>
false(details) javax.enterprise.system.container.ejb Jul 6, 2008
22:56:00.781 _ThreadID=15;_ThreadName=RMI TCP
Connection(6)-172.28.172.86;
1552 SEVERE WSGEN FAILED at
com.sun.enterprise.webservice.WsUtil.genWSInfo(WsUtil.java:2256) at
com.sun.enterp... (details) javax.enterprise.system.tools.deployment
Jul 6, 2008 22:56:00.125
_ThreadID=14;_ThreadName=Thread-28;_RequestID=bc3b3327-8ce1-4737-a72f-
cf25ce8343db;
1551 INFO wsgen -cp . example.Stock wsgen -cp . example.Stock -wsdl -
servicename {http://mynamespace}MyServi... (details)
javax.enterprise.system.stream.out Jul 6, 2008 22:56:00.093
_ThreadID=14;_ThreadName=Thread-28;
1550 INFO WSGEN [options] <SEI> where [options] include: -classpath
<path> specify where to find i... (details)
javax.enterprise.system.stream.out Jul 6, 2008 22:56:00.093
_ThreadID=14;_ThreadName=Thread-28;
1549 INFO (details) javax.enterprise.system.stream.out Jul 6, 2008
22:56:00.093 _ThreadID=14;_ThreadName=Thread-28;
1548 INFO "org.me.calculator.CalculatorWS"(details)
javax.enterprise.system.stream.out Jul 6, 2008 22:56:00.093
_ThreadID=14;_ThreadName=Thread-28;
 
E

Evans

Sorry,

I tried it myself but did not get the same error message - worked for
me.
I'm afraid you have to follow the steps properly.
 
K

kiran

I did follow all the steps precisely and now I am not able deploy and
the application which are present in samples directory also.It shows
me the same error.
In rememeber I had forgotten the password of Glassfish server and
tried many times to login,but it failed to login.Now finally when I
logined in through admin with adminadmin as password,I was able to
login but was not able to deploy it.
I was able to deploy and run other web application successfully before
but not now.
 
K

kiran

Seems like this is a bug as per my understanding with Glassfish v2
which comes bundled with netbeans 6.1.
Just wanted to give latest update.
 
C

conrad

Please, please, please do not top-post.
Seems like this is a bug as per my understanding with Glassfish v2
which comes bundled with netbeans 6.1.

That is contradicted by the fact that Evans didn't have the problem.

I conclude that it is not a bug in Glassfish or NetBeans but in your
process.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top