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

Discussion in 'Java' started by kiran, Jul 7, 2008.

  1. kiran

    kiran Guest

    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.
    kiran, Jul 7, 2008
    #1
    1. Advertising

  2. kiran

    kiran Guest

    Re: Deploying application in domain failed; WSGEN FAILED inNetbeans6.1 with Glassfish

    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;



    On Jul 6, 10:41 pm, kiran <> 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\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(Deplo­yment.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(DelegatingMethodAccessorImp­l.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(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.
    kiran, Jul 7, 2008
    #2
    1. Advertising

  3. kiran

    Evans Guest

    Re: Deploying application in domain failed; WSGEN FAILED inNetbeans6.1 with Glassfish

    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
    Evans, Jul 7, 2008
    #3
  4. kiran

    kiran Guest

    Re: Deploying application in domain failed; WSGEN FAILED inNetbeans6.1 with Glassfish

    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 <> 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
    kiran, Jul 7, 2008
    #4
  5. kiran

    kiran Guest

    Re: Deploying application in domain failed; WSGEN FAILED inNetbeans6.1 with Glassfish

    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 <> 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 <> 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 -
    kiran, Jul 9, 2008
    #5
  6. kiran

    Guest

    Re: Deploying application in domain failed; WSGEN FAILED inNetbeans6.1 with Glassfish

    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
    , Jul 9, 2008
    #6
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Infant Newbie
    Replies:
    2
    Views:
    3,238
    Infant Newbie
    Nov 12, 2003
  2. hmorris70
    Replies:
    0
    Views:
    364
    hmorris70
    Mar 1, 2007
  3. d0ngd0ng
    Replies:
    1
    Views:
    686
  4. news.internetia.pl
    Replies:
    2
    Views:
    543
    tricky
    Jan 12, 2008
  5. Arun
    Replies:
    0
    Views:
    92
Loading...

Share This Page