NB 6.1: web service on tomcat

View: New views
6 Messages — Rating Filter:   Alert me  

NB 6.1: web service on tomcat

by Motaz K. Saad :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I worked on NB 5.5 and successfully deployed web service as a war file. but I am facing a problem with NB 6.1.

I created a new web application project and chose tomcat 6 as a container. then developed a web service.When I deploy the WS, an error arose (the context /webapplication1 did not start)!

Are there anyone faced such problem ?

I would appreciate if anyone help me
Thanks,
--
Motaz K. Saad


Re: NB 6.1: web service on tomcat

by Roderico Cruz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Kindly send the error message that you got, or better, the server log.
Rico

Motaz K. Saad wrote:

> Hello,
>
> I worked on NB 5.5 and successfully deployed web service as a war
> file. but I am facing a problem with NB 6.1.
>
> I created a new web application project and chose tomcat 6 as a
> container. then developed a web service.When I deploy the WS, an error
> arose (the context /webapplication1 did not start)!
>
> Are there anyone faced such problem ?
>
> I would appreciate if anyone help me
> Thanks,
> --
> Motaz K. Saad
>


Re: NB 6.1: web service on tomcat

by Motaz K. Saad :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Below is tomcat log
Using CATALINA_BASE:   C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.16
Using CATALINA_HOME:   C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.16
Using CATALINA_TMPDIR: C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.16\temp
Using JRE_HOME:        C:\Program Files\Java\jdk1.6.0_02
25/04/2008 11:00:08 م org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_02\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\bin;C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\bin\x11;C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\mksnt;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\wbem;/home/motaz/ns-2/ns-allinone-2.32/bin;/home/motaz/ns-2/ns-allinone-2.32/tcl8.4.15/unix;/home/motaz/ns-2/ns-allinone-2.32/tk8.4.15/unix;C:\Program Files\Rational\common;C:\Program Files\Rational\ClearQuest;C:\Program Files\Rational\Rose\TopLink\;C:\Program Files\Rational\Rational Test;C:\Sun\AppServer\bin;C:\AppServ\Apache2.2\bin;C:\AppServ\php5;C:\AppServ\MySQL\bin;c:\Program Files\Java\jdk1.6.0_02\bin;c:\ws-tools\axis2-1.3\bin;c:\ws-tools\apache-ant-1.7.0\bin;C:\ws-tools\apache-maven-2.0.8\bin;;C:\Program Files\Common Files\Nero\Lib\;C:\Program Files\Common Files\Nero\Lib\
25/04/2008 11:00:08 م org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8084
25/04/2008 11:00:08 م org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1638 ms
25/04/2008 11:00:08 م org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
25/04/2008 11:00:08 م org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.16
25/04/2008 11:00:10 م org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.sun.xml.ws.transport.http.servlet.WSServletContextListener" is already configured for this context. The duplicate definition has been ignored.
25/04/2008 11:00:10 م com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextInitialized
INFO: WSSERVLET12: JAX-WS context listener initializing
25/04/2008 11:00:10 م com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextInitialized
SEVERE: WSSERVLET11: failed to parse runtime descriptor: java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/C:/Documents%20and%20Settings/motaz/My%20Documents/NetBeansProjects/WebApplication6/build/web/WEB-INF/lib/jaxb-impl.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
**************************************WARNING***************************************
To use JAX-WS 2.1 with JDK 6, newer versions of API jars need to be in bootclasspath
before rt.jar. To do this you can use Java endorsed mechanism to override what is in
Java platform. The easiest way to do so is to copy all jars from the
C:\Program Files\NetBeans 6.1 Beta\java2\modules\ext\jaxws21\api folder to
C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.16\endorsed.
************************************************************************************
java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/C:/Documents%20and%20Settings/motaz/My%20Documents/NetBeansProjects/WebApplication6/build/web/WEB-INF/lib/jaxb-impl.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
        at com.sun.xml.bind.v2.model.impl.ModelBuilder.<clinit>(ModelBuilder.java:172)
        at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:422)
        at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:286)
        at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:139)
        at com.sun.xml.bind.api.JAXBRIContext.newInstance(JAXBRIContext.java:105)
        at com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:146)
        at com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:145)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:144)
        at com.sun.xml.ws.model.AbstractSEIModelImpl.postProcess(AbstractSEIModelImpl.java:83)
        at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:260)
        at com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:322)
        at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:188)
        at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:467)
        at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parseAdapters(DeploymentDescriptorParser.java:253)
        at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(DeploymentDescriptorParser.java:147)
        at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:108)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
        at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
        at org.apache.catalina.core.StandardService.start(StandardService.java:516)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
        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 org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
25/04/2008 11:00:10 م org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
25/04/2008 11:00:10 م org.apache.catalina.core.StandardContext start
SEVERE: Context [/WebApplication6] startup failed due to previous errors
25/04/2008 11:00:10 م com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextDestroyed
INFO: WSSERVLET13: JAX-WS context listener destroyed
25/04/2008 11:00:11 م org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "listeners.ContextListener" is already configured for this context. The duplicate definition has been ignored.
25/04/2008 11:00:11 م org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "listeners.SessionListener" is already configured for this context. The duplicate definition has been ignored.
25/04/2008 11:00:11 م org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8084
25/04/2008 11:00:12 م org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
25/04/2008 11:00:12 م org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/94  config=null
25/04/2008 11:00:12 م org.apache.catalina.startup.Catalina start
INFO: Server startup in 3900 ms


_______________________________
Below is the web application log

init:
deps-module-jar:
deps-ear-jar:
deps-jar:
library-inclusion-in-archive:
library-inclusion-in-manifest:
wsgen-init:
wsgen-hello:
wsgen-service-compile:
Compiling 2 source files to C:\Documents and Settings\motaz\My Documents\NetBeansProjects\WebApplication6\build\web\WEB-INF\classes
compile:
compile-jsps:
In-place deployment at C:\Documents and Settings\motaz\My Documents\NetBeansProjects\WebApplication6\build\web
deploy?config=file:/C:/DOCUME~1/motaz/LOCALS~1/Temp/context52336.xml&path=/WebApplication6
OK - Deployed application at context path /WebApplication6
Start is in progress...
start?path=/WebApplication6
FAIL - Application at context path /WebApplication6 could not be started
run-deploy:
BUILD SUCCESSFUL (total time: 17 seconds)
_______________________________




On Fri, Apr 25, 2008 at 8:05 PM, Roderico Cruz <Roderico.Cruz@...> wrote:
Kindly send the error message that you got, or better, the server log.
Rico


Motaz K. Saad wrote:
Hello,

I worked on NB 5.5 and successfully deployed web service as a war file. but I am facing a problem with NB 6.1.

I created a new web application project and chose tomcat 6 as a container. then developed a web service.When I deploy the WS, an error arose (the context /webapplication1 did not start)!

Are there anyone faced such problem ?

I would appreciate if anyone help me
Thanks,
--
Motaz K. Saad





--
Motaz K. Saad

Re: NB 6.1: web service on tomcat

by Karthikeyan Rajeswaran :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://wiki.netbeans.org/SOAPNetBeans6#section-SOAPNetBeans6-PossibleProblems

Does that help?

regards,
karthik

Motaz K. Saad wrote:
Below is tomcat log
Using CATALINA_BASE:   C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.16
Using CATALINA_HOME:   C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.16
Using CATALINA_TMPDIR: C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.16\temp
Using JRE_HOME:        C:\Program Files\Java\jdk1.6.0_02
25/04/2008 11:00:08 م org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_02\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\bin;C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\bin\x11;C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\mksnt;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\wbem;/home/motaz/ns-2/ns-allinone-2.32/bin;/home/motaz/ns-2/ns-allinone-2.32/tcl8.4.15/unix;/home/motaz/ns-2/ns-allinone-2.32/tk8.4.15/unix;C:\Program Files\Rational\common;C:\Program Files\Rational\ClearQuest;C:\Program Files\Rational\Rose\TopLink\;C:\Program Files\Rational\Rational Test;C:\Sun\AppServer\bin;C:\AppServ\Apache2.2\bin;C:\AppServ\php5;C:\AppServ\MySQL\bin;c:\Program Files\Java\jdk1.6.0_02\bin;c:\ws-tools\axis2-1.3\bin;c:\ws-tools\apache-ant-1.7.0\bin;C:\ws-tools\apache-maven-2.0.8\bin;;C:\Program Files\Common Files\Nero\Lib\;C:\Program Files\Common Files\Nero\Lib\
25/04/2008 11:00:08 م org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8084
25/04/2008 11:00:08 م org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1638 ms
25/04/2008 11:00:08 م org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
25/04/2008 11:00:08 م org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.16
25/04/2008 11:00:10 م org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.sun.xml.ws.transport.http.servlet.WSServletContextListener" is already configured for this context. The duplicate definition has been ignored.
25/04/2008 11:00:10 م com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextInitialized
INFO: WSSERVLET12: JAX-WS context listener initializing
25/04/2008 11:00:10 م com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextInitialized
SEVERE: WSSERVLET11: failed to parse runtime descriptor: java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/C:/Documents%20and%20Settings/motaz/My%20Documents/NetBeansProjects/WebApplication6/build/web/WEB-INF/lib/jaxb-impl.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
**************************************WARNING***************************************
To use JAX-WS 2.1 with JDK 6, newer versions of API jars need to be in bootclasspath
before rt.jar. To do this you can use Java endorsed mechanism to override what is in
Java platform. The easiest way to do so is to copy all jars from the
C:\Program Files\NetBeans 6.1 Beta\java2\modules\ext\jaxws21\api folder to
C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.16\endorsed.
************************************************************************************
java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/C:/Documents%20and%20Settings/motaz/My%20Documents/NetBeansProjects/WebApplication6/build/web/WEB-INF/lib/jaxb-impl.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
        at com.sun.xml.bind.v2.model.impl.ModelBuilder.<clinit>(ModelBuilder.java:172)
        at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:422)
        at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:286)
        at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:139)
        at com.sun.xml.bind.api.JAXBRIContext.newInstance(JAXBRIContext.java:105)
        at com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:146)
        at com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:145)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:144)
        at com.sun.xml.ws.model.AbstractSEIModelImpl.postProcess(AbstractSEIModelImpl.java:83)
        at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:260)
        at com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:322)
        at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:188)
        at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:467)
        at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parseAdapters(DeploymentDescriptorParser.java:253)
        at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(DeploymentDescriptorParser.java:147)
        at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:108)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
        at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
        at org.apache.catalina.core.StandardService.start(StandardService.java:516)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
        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 org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
25/04/2008 11:00:10 م org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
25/04/2008 11:00:10 م org.apache.catalina.core.StandardContext start
SEVERE: Context [/WebApplication6] startup failed due to previous errors
25/04/2008 11:00:10 م com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextDestroyed
INFO: WSSERVLET13: JAX-WS context listener destroyed
25/04/2008 11:00:11 م org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "listeners.ContextListener" is already configured for this context. The duplicate definition has been ignored.
25/04/2008 11:00:11 م org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "listeners.SessionListener" is already configured for this context. The duplicate definition has been ignored.
25/04/2008 11:00:11 م org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8084
25/04/2008 11:00:12 م org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
25/04/2008 11:00:12 م org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/94  config=null
25/04/2008 11:00:12 م org.apache.catalina.startup.Catalina start
INFO: Server startup in 3900 ms


_______________________________
Below is the web application log

init:
deps-module-jar:
deps-ear-jar:
deps-jar:
library-inclusion-in-archive:
library-inclusion-in-manifest:
wsgen-init:
wsgen-hello:
wsgen-service-compile:
Compiling 2 source files to C:\Documents and Settings\motaz\My Documents\NetBeansProjects\WebApplication6\build\web\WEB-INF\classes
compile:
compile-jsps:
In-place deployment at C:\Documents and Settings\motaz\My Documents\NetBeansProjects\WebApplication6\build\web
deploy?config=file:/C:/DOCUME~1/motaz/LOCALS~1/Temp/context52336.xml&path=/WebApplication6
OK - Deployed application at context path /WebApplication6
Start is in progress...
start?path=/WebApplication6
FAIL - Application at context path /WebApplication6 could not be started
run-deploy:
BUILD SUCCESSFUL (total time: 17 seconds)
_______________________________




On Fri, Apr 25, 2008 at 8:05 PM, Roderico Cruz <Roderico.Cruz@...> wrote:
Kindly send the error message that you got, or better, the server log.
Rico


Motaz K. Saad wrote:
Hello,

I worked on NB 5.5 and successfully deployed web service as a war file. but I am facing a problem with NB 6.1.

I created a new web application project and chose tomcat 6 as a container. then developed a web service.When I deploy the WS, an error arose (the context /webapplication1 did not start)!

Are there anyone faced such problem ?

I would appreciate if anyone help me
Thanks,
--
Motaz K. Saad





--
Motaz K. Saad

Re: NB 6.1: web service on tomcat

by ejf-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

create a folder:
{JAVA-HOME}/jre/lib/endorsed
copy jaxb-api-2.1.jar and jaxws-api.jar to that folder.
you will then be using jaxws21 for all apps


Karthik wrote:
http://wiki.netbeans.org/SOAPNetBeans6#section-SOAPNetBeans6-PossibleProblems

Does that help?

regards,
karthik

Motaz K. Saad wrote:
Below is tomcat log
Using CATALINA_BASE:   C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.16
Using CATALINA_HOME:   C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.16
Using CATALINA_TMPDIR: C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.16\temp
Using JRE_HOME:        C:\Program Files\Java\jdk1.6.0_02
25/04/2008 11:00:08 م org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_02\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\bin;C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\bin\x11;C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\mksnt;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\wbem;/home/motaz/ns-2/ns-allinone-2.32/bin;/home/motaz/ns-2/ns-allinone-2.32/tcl8.4.15/unix;/home/motaz/ns-2/ns-allinone-2.32/tk8.4.15/unix;C:\Program Files\Rational\common;C:\Program Files\Rational\ClearQuest;C:\Program Files\Rational\Rose\TopLink\;C:\Program Files\Rational\Rational Test;C:\Sun\AppServer\bin;C:\AppServ\Apache2.2\bin;C:\AppServ\php5;C:\AppServ\MySQL\bin;c:\Program Files\Java\jdk1.6.0_02\bin;c:\ws-tools\axis2-1.3\bin;c:\ws-tools\apache-ant-1.7.0\bin;C:\ws-tools\apache-maven-2.0.8\bin;;C:\Program Files\Common Files\Nero\Lib\;C:\Program Files\Common Files\Nero\Lib\
25/04/2008 11:00:08 م org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8084
25/04/2008 11:00:08 م org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1638 ms
25/04/2008 11:00:08 م org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
25/04/2008 11:00:08 م org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.16
25/04/2008 11:00:10 م org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.sun.xml.ws.transport.http.servlet.WSServletContextListener" is already configured for this context. The duplicate definition has been ignored.
25/04/2008 11:00:10 م com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextInitialized
INFO: WSSERVLET12: JAX-WS context listener initializing
25/04/2008 11:00:10 م com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextInitialized
SEVERE: WSSERVLET11: failed to parse runtime descriptor: java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/C:/Documents%20and%20Settings/motaz/My%20Documents/NetBeansProjects/WebApplication6/build/web/WEB-INF/lib/jaxb-impl.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
**************************************WARNING***************************************
To use JAX-WS 2.1 with JDK 6, newer versions of API jars need to be in bootclasspath
before rt.jar. To do this you can use Java endorsed mechanism to override what is in
Java platform. The easiest way to do so is to copy all jars from the
C:\Program Files\NetBeans 6.1 Beta\java2\modules\ext\jaxws21\api folder to
C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.16\endorsed.
************************************************************************************
java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/C:/Documents%20and%20Settings/motaz/My%20Documents/NetBeansProjects/WebApplication6/build/web/WEB-INF/lib/jaxb-impl.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
        at com.sun.xml.bind.v2.model.impl.ModelBuilder.<clinit>(ModelBuilder.java:172)
        at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:422)
        at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:286)
        at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:139)
        at com.sun.xml.bind.api.JAXBRIContext.newInstance(JAXBRIContext.java:105)
        at com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:146)
        at com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:145)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:144)
        at com.sun.xml.ws.model.AbstractSEIModelImpl.postProcess(AbstractSEIModelImpl.java:83)
        at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:260)
        at com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:322)
        at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:188)
        at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:467)
        at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parseAdapters(DeploymentDescriptorParser.java:253)
        at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(DeploymentDescriptorParser.java:147)
        at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:108)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
        at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
        at org.apache.catalina.core.StandardService.start(StandardService.java:516)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
        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 org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
25/04/2008 11:00:10 م org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
25/04/2008 11:00:10 م org.apache.catalina.core.StandardContext start
SEVERE: Context [/WebApplication6] startup failed due to previous errors
25/04/2008 11:00:10 م com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextDestroyed
INFO: WSSERVLET13: JAX-WS context listener destroyed
25/04/2008 11:00:11 م org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "listeners.ContextListener" is already configured for this context. The duplicate definition has been ignored.
25/04/2008 11:00:11 م org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "listeners.SessionListener" is already configured for this context. The duplicate definition has been ignored.
25/04/2008 11:00:11 م org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8084
25/04/2008 11:00:12 م org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
25/04/2008 11:00:12 م org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/94  config=null
25/04/2008 11:00:12 م org.apache.catalina.startup.Catalina start
INFO: Server startup in 3900 ms


_______________________________
Below is the web application log

init:
deps-module-jar:
deps-ear-jar:
deps-jar:
library-inclusion-in-archive:
library-inclusion-in-manifest:
wsgen-init:
wsgen-hello:
wsgen-service-compile:
Compiling 2 source files to C:\Documents and Settings\motaz\My Documents\NetBeansProjects\WebApplication6\build\web\WEB-INF\classes
compile:
compile-jsps:
In-place deployment at C:\Documents and Settings\motaz\My Documents\NetBeansProjects\WebApplication6\build\web
deploy?config=file:/C:/DOCUME~1/motaz/LOCALS~1/Temp/context52336.xml&path=/WebApplication6
OK - Deployed application at context path /WebApplication6
Start is in progress...
start?path=/WebApplication6
FAIL - Application at context path /WebApplication6 could not be started
run-deploy:
BUILD SUCCESSFUL (total time: 17 seconds)
_______________________________




On Fri, Apr 25, 2008 at 8:05 PM, Roderico Cruz <Roderico.Cruz@...> wrote:
Kindly send the error message that you got, or better, the server log.
Rico


Motaz K. Saad wrote:
Hello,

I worked on NB 5.5 and successfully deployed web service as a war file. but I am facing a problem with NB 6.1.

I created a new web application project and chose tomcat 6 as a container. then developed a web service.When I deploy the WS, an error arose (the context /webapplication1 did not start)!

Are there anyone faced such problem ?

I would appreciate if anyone help me
Thanks,
--
Motaz K. Saad





--
Motaz K. Saad


Re: NB 6.1: web service on tomcat

by Jaroslav Pospisil :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
If you use JDK version 1.6.0_03 or older, check this page:
http://wiki.netbeans.org/FaqEndorsedDirTomcat .

-Jarek



Motaz K. Saad wrote:

> Below is tomcat log
> Using CATALINA_BASE:   C:\Program Files\Apache Software
> Foundation\Apache Tomcat 6.0.16
> Using CATALINA_HOME:   C:\Program Files\Apache Software
> Foundation\Apache Tomcat 6.0.16
> Using CATALINA_TMPDIR: C:\Program Files\Apache Software
> Foundation\Apache Tomcat 6.0.16\temp
> Using JRE_HOME:        C:\Program Files\Java\jdk1.6.0_02
> 25/04/2008 11:00:08 م org.apache.catalina.core.AprLifecycleListener init
> INFO: The APR based Apache Tomcat Native library which allows optimal
> performance in production environments was not found on the
> java.library.path: C:\Program
> Files\Java\jdk1.6.0_02\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\bin;C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\bin\x11;C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\mksnt;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\wbem;/home/motaz/ns-2/ns-allinone-2.32/bin;/home/motaz/ns-2/ns-allinone-2.32/tcl8.4.15/unix;/home/motaz/ns-2/ns-allinone-2.32/tk8.4.15/unix;C:\Program
> Files\Rational\common;C:\Program Files\Rational\ClearQuest;C:\Program
> Files\Rational\Rose\TopLink\;C:\Program Files\Rational\Rational
> Test;C:\Sun\AppServer\bin;C:\AppServ\Apache2.2\bin;C:\AppServ\php5;C:\AppServ\MySQL\bin;c:\Program
> Files\Java\jdk1.6.0_02\bin;c:\ws-tools\axis2-1.3\bin;c:\ws-tools\apache-ant-1.7.0\bin;C:\ws-tools\apache-maven-2.0.8\bin;;C:\Program
> Files\Common Files\Nero\Lib\;C:\Program Files\Common Files\Nero\Lib\
> 25/04/2008 11:00:08 م org.apache.coyote.http11.Http11Protocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8084
> 25/04/2008 11:00:08 م org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 1638 ms
> 25/04/2008 11:00:08 م org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> 25/04/2008 11:00:08 م org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/6.0.16
> 25/04/2008 11:00:10 م org.apache.catalina.core.StandardContext
> addApplicationListener
> INFO: The listener
> "com.sun.xml.ws.transport.http.servlet.WSServletContextListener" is
> already configured for this context. The duplicate definition has been
> ignored.
> 25/04/2008 11:00:10 م
> com.sun.xml.ws.transport.http.servlet.WSServletContextListener
> contextInitialized
> INFO: WSSERVLET12: JAX-WS context listener initializing
> 25/04/2008 11:00:10 م
> com.sun.xml.ws.transport.http.servlet.WSServletContextListener
> contextInitialized
> SEVERE: WSSERVLET11: failed to parse runtime descriptor:
> java.lang.LinkageError: JAXB 2.0 API is being loaded from the
> bootstrap classloader, but this RI (from
> jar:file:/C:/Documents%20and%20Settings/motaz/My%20Documents/NetBeansProjects/WebApplication6/build/web/WEB-INF/lib/jaxb-impl.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class)
> needs 2.1 API. Use the endorsed directory mechanism to place
> jaxb-api.jar in the bootstrap classloader. (See
> http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
> **************************************WARNING***************************************
> To use JAX-WS 2.1 with JDK 6, newer versions of API jars need to be in
> bootclasspath
> before rt.jar. To do this you can use Java endorsed mechanism to
> override what is in
> Java platform. The easiest way to do so is to copy all jars from the
> C:\Program Files\NetBeans 6.1 Beta\java2\modules\ext\jaxws21\api
> folder to
> C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.16\endorsed.
> ************************************************************************************
> java.lang.LinkageError: JAXB 2.0 API is being loaded from the
> bootstrap classloader, but this RI (from
> jar:file:/C:/Documents%20and%20Settings/motaz/My%20Documents/NetBeansProjects/WebApplication6/build/web/WEB-INF/lib/jaxb-impl.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class)
> needs 2.1 API. Use the endorsed directory mechanism to place
> jaxb-api.jar in the bootstrap classloader. (See
> http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
>         at
> com.sun.xml.bind.v2.model.impl.ModelBuilder.<clinit>(ModelBuilder.java:172)
>         at
> com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:422)
>         at
> com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:286)
>         at
> com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:139)
>         at
> com.sun.xml.bind.api.JAXBRIContext.newInstance(JAXBRIContext.java:105)
>         at
> com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:146)
>         at
> com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:145)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at
> com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:144)
>         at
> com.sun.xml.ws.model.AbstractSEIModelImpl.postProcess(AbstractSEIModelImpl.java:83)
>         at
> com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:260)
>         at
> com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:322)
>         at
> com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:188)
>         at
> com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:467)
>         at
> com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parseAdapters(DeploymentDescriptorParser.java:253)
>         at
> com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(DeploymentDescriptorParser.java:147)
>         at
> com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:108)
>         at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
>         at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)
>         at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
>         at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
>         at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
>         at
> org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
>         at
> org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
>         at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
>         at
> org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147)
>         at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
>         at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
>         at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
>         at
> org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
>         at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>         at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
>         at
> org.apache.catalina.core.StandardService.start(StandardService.java:516)
>         at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
>         at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
>         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 org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
>         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> 25/04/2008 11:00:10 م org.apache.catalina.core.StandardContext start
> SEVERE: Error listenerStart
> 25/04/2008 11:00:10 م org.apache.catalina.core.StandardContext start
> SEVERE: Context [/WebApplication6] startup failed due to previous errors
> 25/04/2008 11:00:10 م
> com.sun.xml.ws.transport.http.servlet.WSServletContextListener
> contextDestroyed
> INFO: WSSERVLET13: JAX-WS context listener destroyed
> 25/04/2008 11:00:11 م org.apache.catalina.core.StandardContext
> addApplicationListener
> INFO: The listener "listeners.ContextListener" is already configured
> for this context. The duplicate definition has been ignored.
> 25/04/2008 11:00:11 م org.apache.catalina.core.StandardContext
> addApplicationListener
> INFO: The listener "listeners.SessionListener" is already configured
> for this context. The duplicate definition has been ignored.
> 25/04/2008 11:00:11 م org.apache.coyote.http11.Http11Protocol start
> INFO: Starting Coyote HTTP/1.1 on http-8084
> 25/04/2008 11:00:12 م org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009 <http://0.0.0.0:8009>
> 25/04/2008 11:00:12 م org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/94  config=null
> 25/04/2008 11:00:12 م org.apache.catalina.startup.Catalina start
> INFO: Server startup in 3900 ms
>
>
> _______________________________
> Below is the web application log
>
> init:
> deps-module-jar:
> deps-ear-jar:
> deps-jar:
> library-inclusion-in-archive:
> library-inclusion-in-manifest:
> wsgen-init:
> wsgen-hello:
> wsgen-service-compile:
> Compiling 2 source files to C:\Documents and Settings\motaz\My
> Documents\NetBeansProjects\WebApplication6\build\web\WEB-INF\classes
> compile:
> compile-jsps:
> In-place deployment at C:\Documents and Settings\motaz\My
> Documents\NetBeansProjects\WebApplication6\build\web
> deploy?config=file:/C:/DOCUME~1/motaz/LOCALS~1/Temp/context52336.xml&path=/WebApplication6
> OK - Deployed application at context path /WebApplication6
> Start is in progress...
> start?path=/WebApplication6
> FAIL - Application at context path /WebApplication6 could not be started
> run-deploy:
> BUILD SUCCESSFUL (total time: 17 seconds)
> _______________________________
>
>
>
>
> On Fri, Apr 25, 2008 at 8:05 PM, Roderico Cruz <Roderico.Cruz@...
> <mailto:Roderico.Cruz@...>> wrote:
>
>     Kindly send the error message that you got, or better, the server log.
>     Rico
>
>
>     Motaz K. Saad wrote:
>
>         Hello,
>
>         I worked on NB 5.5 and successfully deployed web service as a
>         war file. but I am facing a problem with NB 6.1.
>
>         I created a new web application project and chose tomcat 6 as
>         a container. then developed a web service.When I deploy the
>         WS, an error arose (the context /webapplication1 did not start)!
>
>         Are there anyone faced such problem ?
>
>         I would appreciate if anyone help me
>         Thanks,
>         --
>         Motaz K. Saad
>
>
>
>
>
> --
> Motaz K. Saad

LightInTheBox - Buy quality products at wholesale price