Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Deploying application in domain failed; WSGEN FAILED in Netbeans6.1with Glassfish

Reply
Thread Tools

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

 
 
kiran
Guest
Posts: n/a
 
      07-07-2008
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\we b\META-INF
Copying 3 files to C:\Documents and Settings\My Documents
\NetBeansProjects\CalculatorWSApplication\build\we b
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\we b\WEB-INF\classes
compile:
compile-jsps:
In-place deployment at C:\Documents and Settings\#KBADI\My Documents
\NetBeansProjects\CalculatorWSApplication\build\we b
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.ap i.Deployment.deploy(Deployment.java:
166)
at org.netbeans.modules.j2ee.ant.Deploy.execute(Deplo y.java:
104)
at
org.apache.tools.ant.UnknownElement.execute(Unknow nElement.java:28
at sun.reflect.GeneratedMethodAccessor36.invoke(Unkno wn
Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.tools.ant.dispatch.DispatchUtils.execut e(DispatchUtils.java:
105)
at org.apache.tools.ant.Task.perform(Task.java:34
at org.apache.tools.ant.Target.execute(Target.java:35 7)
at org.apache.tools.ant.Target.performTasks(Target.ja va:385)
at
org.apache.tools.ant.Project.executeSortedTargets( Project.java:1329)
at org.apache.tools.ant.Project.executeTarget(Project .java:
129
at
org.apache.tools.ant.helper.DefaultExecutor.execut eTargets(DefaultExecutor.java:
41)
at org.apache.tools.ant.Project.executeTargets(Projec t.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(Run ClassThread.java:
151)
Caused by: The module has not been deployed.
at
org.netbeans.modules.j2ee.deployment.devmodules.ap i.Deployment.deploy(Deployment.java:
160)
... 16 more
BUILD FAILED (total time: 12 seconds)

I am following this http://www.netbeans.org/kb/60/websvc...tml#Exercise_1.

Any Ideas.
 
Reply With Quote
 
 
 
 
kiran
Guest
Posts: n/a
 
      07-07-2008
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(WsU til.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(WsU til.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;



On Jul 6, 10:41*pm, kiran <(E-Mail Removed)> wrote:
> 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\we b\META-INF
> Copying 3 files to C:\Documents and Settings\My Documents
> \NetBeansProjects\CalculatorWSApplication\build\we b
> 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\we b\WEB-INF\classes
> compile:
> compile-jsps:
> In-place deployment at C:\Documents and Settings\#KBADI\My Documents
> \NetBeansProjects\CalculatorWSApplication\build\we b
> 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.ap i.Deployment.deploy(Deplo*yment.java:
> 166)
> * * * * at org.netbeans.modules.j2ee.ant.Deploy.execute(Deplo y.java:
> 104)
> * * * * at
> org.apache.tools.ant.UnknownElement.execute(Unknow nElement.java:28
> * * * * at sun.reflect.GeneratedMethodAccessor36.invoke(Unkno wn
> Source)
> * * * * at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImp*l.java:
> 25)
> * * * * at java.lang.reflect.Method.invoke(Method.java:597)
> * * * * at
> org.apache.tools.ant.dispatch.DispatchUtils.execut e(DispatchUtils.java:
> 105)
> * * * * at org.apache.tools.ant.Task.perform(Task.java:34
> * * * * at org.apache.tools.ant.Target.execute(Target.java:35 7)
> * * * * at org.apache.tools.ant.Target.performTasks(Target.ja va:385)
> * * * * at
> org.apache.tools.ant.Project.executeSortedTargets( Project.java:1329)
> * * * * at org.apache.tools.ant.Project.executeTarget(Project .java:
> 129
> * * * * at
> org.apache.tools.ant.helper.DefaultExecutor.execut eTargets(DefaultExecutor.*java:
> 41)
> * * * * at org.apache.tools.ant.Project.executeTargets(Projec t.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(Run ClassThread.java:
> 151)
> Caused by: The module has not been deployed.
> * * * * at
> org.netbeans.modules.j2ee.deployment.devmodules.ap i.Deployment.deploy(Deplo*yment.java:
> 160)
> * * * * ... 16 more
> BUILD FAILED (total time: 12 seconds)
>
> I am following thishttp://www.netbeans.org/kb/60/websvc/jax-ws.html#Exercise_1.
>
> Any Ideas.


 
Reply With Quote
 
 
 
 
Evans
Guest
Posts: n/a
 
      07-07-2008


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.

--
Evans

http://www.javawug.org
 
Reply With Quote
 
kiran
Guest
Posts: n/a
 
      07-07-2008
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.


On Jul 7, 5:56*am, Evans <(E-Mail Removed)> wrote:
> 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.
>
> --
> Evans
>
> http://www.javawug.org


 
Reply With Quote
 
kiran
Guest
Posts: n/a
 
      07-09-2008
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.

On Jul 7, 10:50*am, kiran <(E-Mail Removed)> wrote:
> 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.
>
> On Jul 7, 5:56*am, Evans <(E-Mail Removed)> wrote:
>
>
>
> > 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.

>
> > --
> > Evans

>
> >http://www.javawug.org- Hide quoted text -

>
> - Show quoted text -


 
Reply With Quote
 
conrad@lewscanon.com
Guest
Posts: n/a
 
      07-09-2008
Please, please, please do not top-post.

Evans wrote:
>> 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.


kiran wrote:
> 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.

--
Lew
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Glassfish invoke method during application startup news.internetia.pl Java 2 01-12-2008 09:51 AM
New to Web Services question about wsgen hmorris70 Java 0 03-01-2007 03:02 AM



Advertisments