Web Service cannot be Started when we deploy war file in Tomcat

Hello every one,
We made a webservice in Netbeans 6. and we created the war file
and ist is workign fine with netbeans. when we tried to deploy to tomcat
it is showing error as given below:
**FAIL - Application at context path /WebApplication3 could not be started**
please help me to sort out this problem as early as possible.
Thanks in advance
Vishnu

Any one has any idea on this. I am stuck up with this. Help!
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by pragashj:
OS : Windows NT 4.0 SP 5
OAS : 4.0.8.2
Issue : Listner failed to start asking me to start OAS service first. But the OAS service is already started. When I tried starting the Listner service from Windows - Services (In control panel) still it failed. OAS Service though active does not show as active in the Service Control(This issue is listed in the Release note). The svwww.err gives oracle_adp_init returned ADI_FATALINIT.
Any one had the same issue? How do I work around to get my Web Listner started?
Thanks<HR></BLOCKQUOTE>
null

Similar Messages

  • How to deploy WAR file in tomcat.?

    Can anybody please provide step by step information of deploying war file to Jakarta tomcat without IDE.
    I am working on Windows XP with jakarta tomcat 4.1.30.
    Thanks in advance.
    Regards,
    Aman Aggarwal

    See if tomcat runs as a service in your operating system. If you can locate it, you can set the start type to automatic. A very crud way is to run the tomcat startup file from autoexe.bat.
    I don't know how to do this in Linux. Here is a link for tomcat 6. Maybe it is the same in tomcat 4
    [http://tomcat.apache.org/tomcat-6.0-doc/setup.html]
    Edited by: nirvan on Dec 29, 2008 9:15 AM

  • Deploying .war file on Tomcat 4.1?

    Hi,
    I would like to know whether anyone know how to deploy a .war file onto Tomcat 4.1? Or can this be done?
    And what about web.xml? Is it different from a web.xml written for BEA's Weblogic Server?
    Thanks

    hmm.. ic
    The .war file when drop in the webapps dir and u restart tomcat, it auto create a dir with your .war filename and the content of .war file is copied to there.
    Am i rite to say so?
    And wat about the web.xml?
    If i need to add users and password how can I accomplished it in tomcat web.xml?
    Last but not least, thanks for taking the time to reply. :D

  • An issue of deploying war file on tomcat 5.5

    Hi,
    I know the regular process to deply a war file is like this - stop tomcat server, remove your previous war file and directory, say abc.war and dir abc, copy your new version abc.war into webapps and restart tomcat server.
    However, I found an interesting issue today - I was deploying a new release war file as described. While I stopped tomcat, removed all previous version direcotry, and restarted tomcat server, I got an http 404 error saying that the resource /abc/ is not available. I noticed that the org folder was not generated at work/Catalina/locahost/abc.
    I stuck there for a long time to try to fix but did not find a solution. I am pretty sure the war file should be ok since it works fine on my local machine. This only happened in the unix box. Later, occasionally, I removed the director abc without stopping the tomcat server. In another word, I removed the war file while tomcat is still running. A new abc directory was created soon and now it works.
    Anyone has any idea about that? Thanks!
    Michael

    Any thoughts? Thanks

  • Deploying WAR files in Tomcat

    I placed cdmanagersample.war file under c:/tomcat5.0/webapps directory and restarted Tomcat. Then I went to web browser and typed http://127.0.0.1/cdmanagersample. I get the following error.
    HTTP Status 404 - /cdmanagerSample
    Shouldn't Tomcat extract the war file and deploy it as it should. Any reason why it didn't?

    Here's my server.xml file now:
    <!--
    Context fragment for deploying cdManagerSample.war
    -->
    <Context path="/cdmanagersample " docBase="../webapps/cdmanagersample " debug="0" reloadable="true" >
    <!-- <Context path="/cdManagersample" docBase="../webapps/cdManagerSample.war"
    debug="0" privileged="true"> --->
    <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
    resourceName="UserDatabase"/>
    </Context>
    When I try strating Tomcat by saing catalina run, I get following:
    C:\Program Files\Apache Software Foundation\Tomcat 5.0>cd bin
    C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin>catalina run
    Using CATALINA_BASE: C:\Program Files\Apache Software Foundation\Tomcat 5.0
    Using CATALINA_HOME: C:\Program Files\Apache Software Foundation\Tomcat 5.0
    Using CATALINA_TMPDIR: C:\Program Files\Apache Software Foundation\Tomcat 5.0\
    mp
    Using JAVA_HOME: C:\j2sdk1.4.2_03
    Jan 28, 2004 11:21:52 AM org.apache.coyote.http11.Http11Protocol init
    SEVERE: Error initializing endpoint
    java.net.BindException: Address already in use: JVM_Bind:8080
    at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndp
    nt.java:302)
    at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:18
    at org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnecto
    java:1366)
    at org.apache.catalina.core.StandardService.initialize(StandardService
    ava:633)
    at org.apache.catalina.core.StandardServer.initialize(StandardServer.j
    a:2413)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:532)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:553)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImp
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcc
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:397)
    Jan 28, 2004 11:21:52 AM org.apache.catalina.startup.Catalina load
    SEVERE: Catalina.start
    LifecycleException: Protocol handler initialization failed: java.net.BindExce
    ion: Address already in use: JVM_Bind:8080
    at org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnecto
    java:1368)
    at org.apache.catalina.core.StandardService.initialize(StandardService
    ava:633)
    at org.apache.catalina.core.StandardServer.initialize(StandardServer.j
    a:2413)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:532)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:553)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImp
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcc
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:397)
    Jan 28, 2004 11:21:52 AM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 2453 ms
    Jan 28, 2004 11:21:53 AM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Jan 28, 2004 11:21:53 AM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.0.16
    Jan 28, 2004 11:21:53 AM org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    Jan 28, 2004 11:21:53 AM org.apache.catalina.core.StandardHost getDeployer
    INFO: Create Host deployer for direct deployment ( non-jmx )
    Jan 28, 2004 11:21:53 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Processing Context configuration file URL file:C:\Program Files\Apache S
    tware Foundation\Tomcat 5.0\conf\Catalina\localhost\admin.xml
    Jan 28, 2004 11:21:54 AM org.apache.struts.util.PropertyMessageResources <init
    INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=t
    e
    Jan 28, 2004 11:21:54 AM org.apache.struts.util.PropertyMessageResources <init
    INFO: Initializing, config='org.apache.struts.action.ActionResources', returnN
    l=true
    Jan 28, 2004 11:21:55 AM org.apache.struts.util.PropertyMessageResources <init
    INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', ret
    nNull=true
    Jan 28, 2004 11:21:58 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Processing Context configuration file URL file:C:\Program Files\Apache S
    tware Foundation\Tomcat 5.0\conf\Catalina\localhost\balancer.xml
    Jan 28, 2004 11:21:59 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Processing Context configuration file URL file:C:\Program Files\Apache S
    tware Foundation\Tomcat 5.0\conf\Catalina\localhost\manager.xml
    Jan 28, 2004 11:21:59 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /cdmanagersample from URL fil
    C:/Program Files/Apache Software Foundation/Tomcat 5.0/webapps/cdmanagersample
    Jan 28, 2004 11:22:00 AM org.apache.struts.util.PropertyMessageResources <init
    INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=t
    e
    Jan 28, 2004 11:22:00 AM org.apache.struts.util.PropertyMessageResources <init
    INFO: Initializing, config='org.apache.struts.action.ActionResources', returnN
    l=true
    Jan 28, 2004 11:22:00 AM org.apache.struts.util.PropertyMessageResources <init
    INFO: Initializing, config='cdmanager.ApplicationResources', returnNull=true
    Jan 28, 2004 11:22:00 AM org.apache.struts.action.ActionServlet initApplicatio
    ataSources
    SEVERE: Initializing application data source org.apache.struts.action.DATA_SOU
    E
    java.sql.SQLException: Cannot load JDBC driver class 'org.gjt.mm.mysql.Driver'
    at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataS
    rce.java:529)
    at org.apache.commons.dbcp.BasicDataSource.setLogWriter(BasicDataSourc
    java:381)
    at org.apache.struts.util.GenericDataSource.setLogWriter(GenericDataSo
    ce.java:345)
    at org.apache.struts.action.ActionServlet.initApplicationDataSources(A
    ionServlet.java:942)
    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:457)
    at javax.servlet.GenericServlet.init(GenericServlet.java:256)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrappe
    java:1044)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:
    7)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardCont
    t.java:3948)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java
    271)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBa
    .java:866)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:
    0)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:63
    at org.apache.catalina.core.StandardHostDeployer.install(StandardHostD
    loyer.java:316)
    at org.apache.catalina.core.StandardHost.install(StandardHost.java:859
    at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:6
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:4
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1002)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.ja
    :393)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecy
    eSupport.java:166)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:113
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:816)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:112
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:5
    at org.apache.catalina.core.StandardService.start(StandardService.java
    19)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:2
    3)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImp
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcc
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)
    Jan 28, 2004 11:22:00 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /jsp-examples from URL file:C
    Program Files\Apache Software Foundation\Tomcat 5.0\webapps\jsp-examples
    Jan 28, 2004 11:22:01 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path from URL file:C:\Program Fil
    \Apache Software Foundation\Tomcat 5.0\webapps\ROOT
    Jan 28, 2004 11:22:01 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /servlets-examples from URL f
    e:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\servlets-exam
    es
    Jan 28, 2004 11:22:01 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /tomcat-docs from URL file:C:
    rogram Files\Apache Software Foundation\Tomcat 5.0\webapps\tomcat-docs
    Jan 28, 2004 11:22:01 AM org.apache.coyote.http11.Http11Protocol start
    SEVERE: Error starting endpoint
    java.net.BindException: Address already in use: JVM_Bind:8080
    at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndp
    nt.java:302)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(PoolTcpEnd
    int.java:319)
    at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:2
    at org.apache.coyote.tomcat5.CoyoteConnector.start(CoyoteConnector.jav
    1436)
    at org.apache.catalina.core.StandardService.start(StandardService.java
    28)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:2
    3)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImp
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcc
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)
    Jan 28, 2004 11:22:01 AM org.apache.catalina.startup.Catalina start
    SEVERE: Catalina.start:
    LifecycleException: Protocol handler start failed: java.net.BindException: Ad
    ess already in use: JVM_Bind:8080
    at org.apache.coyote.tomcat5.CoyoteConnector.start(CoyoteConnector.jav
    1438)
    at org.apache.catalina.core.StandardService.start(StandardService.java
    28)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:2
    3)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImp
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcc
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)
    Jan 28, 2004 11:22:01 AM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 9224 ms
    StandardServer.await: create[8005]: java.net.BindException: Address already in
    se: JVM_Bind
    java.net.BindException: Address already in use: JVM_Bind
    at java.net.PlainSocketImpl.socketBind(Native Method)
    at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331)
    at java.net.ServerSocket.bind(ServerSocket.java:318)
    at java.net.ServerSocket.<init>(ServerSocket.java:185)
    at org.apache.catalina.core.StandardServer.await(StandardServer.java:5
    at org.apache.catalina.startup.Catalina.await(Catalina.java:637)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:599)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImp
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcc
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)
    Jan 28, 2004 11:22:01 AM org.apache.catalina.core.StandardService stop
    INFO: Stopping service Catalina
    Jan 28, 2004 11:22:01 AM org.apache.coyote.http11.Http11Protocol destroy
    INFO: Stoping http11 protocol on 8080 Catalina:type=ThreadPool,name=http8080
    Jan 28, 2004 11:22:01 AM org.apache.coyote.tomcat5.CoyoteConnector stop
    SEVERE: Coyote connector has not been started
    Jan 28, 2004 11:22:01 AM org.apache.catalina.core.StandardHostDeployer remove
    INFO: Removing web application at context path /admin
    C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin>

  • Deploy war file to Tomcat

    Hi all,
    i have this problem:
    i've created a web application with Sun Studio Creator 2 with connectione to DB Oracle 10.1.3
    i've exported war file to deploy it under Tomcat but when i try to lunch the application i get the following error:
    com.sun.rave.web.ui.appbase.ApplicationException: org.apache.jasper.JasperException: java.lang.RuntimeException: org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'
         com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.destroy(ViewHandlerImpl.java:601)
         com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:316)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)Could you help me plese?
    Thank's,
    Ciro.

    hi Ciro,
    You have not created the context of your database in context.xml of your tomat (path for context.xml tomcat folder/conf/context.xml)
    Unless and until you don't create context you will get same error.
    regards,
    Joshmachine
    Edited by: joshmachine on Mar 27, 2008 3:46 PM

  • Deploying war file on Tomcat: file path problem

    Hello all,
    i am using my eclipse ide for automatically deploy my webapplication to Tomcat. For Database connectivity i configured hibernate. To configure hibernate i am using the following code:
    package de.wfm.hibernate.hibernateUtil;
    import org.hibernate.HibernateException;
    import org.hibernate.Session;
    import org.hibernate.SessionFactory;
    import org.hibernate.cfg.Configuration;
    public class ESDBFactory {
         private static SessionFactory sf;
         private static Session session = null;
         private static String pathToCfgFile = "de\\"
                             + "wfm\\hibernate\\hibernateUtil\\esdb.cfg.xml";
         public static synchronized Session getSession() throws HibernateException {
              if (session==null) {
                   if (sf==null) {
                        sf = new Configuration()
                             .configure(pathToCfgFile).
                             buildSessionFactory();
              session = sf.openSession();
              return session;
    }When i use this in the ide all is fine. But when i export my application to a war file and deploy it on Tomcat i got the exception:
    2006-07-28 10:06:10 StandardWrapperValve[Urlaubsplanung Servlet]: Servlet.service() for servlet Urlaubsplanung Servlet threw exception
    javax.faces.FacesException: #{User.doLogin}: javax.faces.el.EvaluationException: org.hibernate.HibernateException: de\wfm\hibernate\hibernateUtil\esdb.cfg.xml not foundHow to avoid this? What do i have to do to set the file path correctly?
    Regards,
    ak

    hmm.. ic
    The .war file when drop in the webapps dir and u restart tomcat, it auto create a dir with your .war filename and the content of .war file is copied to there.
    Am i rite to say so?
    And wat about the web.xml?
    If i need to add users and password how can I accomplished it in tomcat web.xml?
    Last but not least, thanks for taking the time to reply. :D

  • Error while deploying WAR file in TOMCAT

    hi.
    I have put my SEA.WAR (test WAR file) into /webapps of TOMCAT.
    I checked the server.xml and put:
         <Context path="/SEA" docBase="SEA" debug="0"/>
    I restarted TOMCAT and tried to execute the file:
         http://localhost:8080/SEA/index.jsp
    But I got error message:
    Apache Tomcat/4.0.3 - HTTP Status 404 - /SEA/index.jsp
    What was happenning?
    Anyone can help me?
    Thank you.

    what happens when you just hit http://localhost:8080/SEA/ ?

  • [Deploy WAR File with Tomcat]  Blank page  after login to DSCC

    i installed Sun Java System Directory Server Enterprise Edition 6.3 ( Zip Distro) in SuSe Linux 10 sp2 (64bit )
    and I've deployed DSCC web console in tomcat with following installation guide
    http://docs.sun.com/app/docs/doc/820-2761/6nebf1543?a=view
    open browser , go to http://hostname:8080/dscc, The Directory Service Manager Login page displays.
    i entered username/password , after that, nothing come up in the page...
    Anyone got idea ?
    Edited by: ikcat on Jan 16, 2009 12:06 AM

    Usually restarting Tomcat will help. Do the Tomcat logs have anything of interest?

  • How to deploy EAR file in Tomcat?

    Is we can deploy ear file in tomcat?
    Normally we can deploy WAR file in tomcat webapps folder. When we run the tomat it will automatically extract the war file.
    But samethink I have tried EAR file. But it is not working.
    Is we can deploy EAR file or not?
    If not plz give reason.

    Hi
    Normally we can deploy the war file thats routene stuff ofcourse ..........but when u deploy ear file it will give problmes as ear structure and war structure are differeant
    The Tomcat Servlet/JSP Container      
    The Apache Tomcat 5.5 Servlet/JSP Container
         Apache Logo
    Links
    * Docs Home
    Contents
    * Contents
    * Introduction
    * Installation
    * Deployment
    * Source Code
    * Processes
    * Example App
    Application Developer's Guide
    Deployment
         Printer Friendly Version
    print-friendly
    version
    Background
    Before describing how to organize your source code directories, it is useful to examine the runtime organization of a web application. Prior to the Servlet API Specification, version 2.2, there was little consistency between server platforms. However, servers that conform to the 2.2 (or later) specification are required to accept a Web Application Archive in a standard format, which is discussed further below.
    A web application is defined as a hierarchy of directories and files in a standard layout. Such a hierarchy can be accessed in its "unpacked" form, where each directory and file exists in the filesystem separately, or in a "packed" form known as a Web ARchive, or WAR file. The former format is more useful during development, while the latter is used when you distribute your application to be installed.
    The top-level directory of your web application hierarchy is also the document root of your application. Here, you will place the HTML files and JSP pages that comprise your application's user interface. When the system administrator deploys your application into a particular server, he or she assigns a context path to your application (a later section of this manual describes deployment on Tomcat). Thus, if the system administrator assigns your application to the context path /catalog, then a request URI referring to /catalog/index.html will retrieve the index.html file from your document root.
    Standard Directory Layout
    To facilitate creation of a Web Application Archive file in the required format, it is convenient to arrange the "executable" files of your web application (that is, the files that Tomcat actually uses when executing your app) in the same organization as required by the WAR format itself. To do this, you will end up with the following contents in your application's "document root" directory:
    * *.html, *.jsp, etc. - The HTML and JSP pages, along with other files that must be visible to the client browser (such as JavaScript, stylesheet files, and images) for your application. In larger applications you may choose to divide these files into a subdirectory hierarchy, but for smaller apps, it is generally much simpler to maintain only a single directory for these files.
    * /WEB-INF/web.xml - The Web Application Deployment Descriptor for your application. This is an XML file describing the servlets and other components that make up your application, along with any initialization parameters and container-managed security constraints that you want the server to enforce for you. This file is discussed in more detail in the following subsection.
    * /WEB-INF/classes/ - This directory contains any Java class files (and associated resources) required for your application, including both servlet and non-servlet classes, that are not combined into JAR files. If your classes are organized into Java packages, you must reflect this in the directory hierarchy under /WEB-INF/classes/. For example, a Java class named com.mycompany.mypackage.MyServlet would need to be stored in a file named /WEB-INF/classes/com/mycompany/mypackage/MyServlet.class.
    * /WEB-INF/lib/ - This directory contains JAR files that contain Java class files (and associated resources) required for your application, such as third party class libraries or JDBC drivers.
    When you install an application into Tomcat (or any other 2.2/2.3-compatible server), the classes in the WEB-INF/classes/ directory, as well as all classes in JAR files found in the WEB-INF/lib/ directory, are made visible to other classes within your particular web application. Thus, if you include all of the required library classes in one of these places (be sure to check licenses for redistribution rights for any third party libraries you utilize), you will simplify the installation of your web application -- no adjustment to the system class path (or installation of global library files in your server) will be necessary.
    Much of this information was extracted from Chapter 9 of the Servlet API Specification, version 2.3, which you should consult for more details.
    Shared Library Files
    Like most servlet containers, Tomcat 5 also supports mechanisms to install library JAR files (or unpacked classes) once, and make them visible to all installed web applications (without having to be included inside the web application itself. The details of how Tomcat locates and shares such classes are described in the Class Loader HOW-TO documentation. For the purposes of our discussion, there are two locations that are commonly used within a Tomcat 5 installation for shared code:
    * $CATALINA_HOME/common/lib - JAR files placed here are visible both to web applications and internal Tomcat code. This is a good place to put JDBC drivers that are required for both your application and internal Tomcat use (such as for a JDBCRealm).
    * $CATALINA_BASE/shared/lib - JAR files placed here are visible to all web applications, but not to internal Tomcat code. This is the right place for shared libraries that are specific to your application.
    Out of the box, a standard Tomcat 5 installation includes a variety of pre-installed shared library files, including:
    * The Servlet 2.4 and JSP 2.0 APIs that are fundamental to writing servlets and JavaServer Pages.
    * An XML Parser compliant with the JAXP (version 1.2) APIs, so your application can perform DOM-based or SAX-based processing of XML documents.
    Web Application Deployment Descriptor
    The description below uses the variable name $CATALINA_HOME to refer to the directory into which you have installed Tomcat 5, and is the base directory against which most relative paths are resolved. However, if you have configured Tomcat 5 for multiple instances by setting a CATALINA_BASE directory, you should use $CATALINA_BASE instead of $CATALINA_HOME for each of these references.
    As mentioned above, the /WEB-INF/web.xml file contains the Web Application Deployment Descriptor for your application. As the filename extension implies, this file is an XML document, and defines everything about your application that a server needs to know (except the context path, which is assigned by the system administrator when the application is deployed).
    The complete syntax and semantics for the deployment descriptor is defined in Chapter 13 of the Servlet API Specification, version 2.3. Over time, it is expected that development tools will be provided that create and edit the deployment descriptor for you. In the meantime, to provide a starting point, a basic web.xml file is provided. This file includes comments that describe the purpose of each included element.
    NOTE - The Servlet Specification includes a Document Type Descriptor (DTD) for the web application deployment descriptor, and Tomcat 5 enforces the rules defined here when processing your application's /WEB-INF/web.xml file. In particular, you must enter your descriptor elements (such as <filter>, <servlet>, and <servlet-mapping> in the order defined by the DTD (see Section 13.3).
    Tomcat Context Descriptor
    The description below uses the variable name $CATALINA_HOME to refer to the directory into which you have installed Tomcat 5, and is the base directory against which most relative paths are resolved. However, if you have configured Tomcat 5 for multiple instances by setting a CATALINA_BASE directory, you should use $CATALINA_BASE instead of $CATALINA_HOME for each of these references.
    A /META-INF/context.xml file can be used to define Tomcat specific configuration options, such as loggers, data sources, session manager configuration and more. This XML file must contain one Context element, which will be considered as if it was the child of the Host element corresponding to the Host to which the The Tomcat configuration documentation contains information on the Context element.
    Deployment With Tomcat 5
    In order to be executed, a web application must be deployed on a servlet container. This is true even during development. We will describe using Tomcat 5 to provide the execution environment. A web application can be deployed in Tomcat by one of the following approaches:
    * Copy unpacked directory hierarchy into a subdirectory in directory $CATALINA_HOME/webapps/. Tomcat will assign a context path to your application based on the subdirectory name you choose. We will use this technique in the build.xml file that we construct, because it is the quickest and easiest approach during development. Be sure to restart Tomcat after installing or updating your application.
    * Copy the web application archive file into directory $CATALINA_HOME/webapps/. When Tomcat is started, it will automatically expand the web application archive file into its unpacked form, and execute the application that way. This approach would typically be used to install an additional application, provided by a third party vendor or by your internal development staff, into an existing Tomcat installation. NOTE - If you use this approach, and wish to update your application later, you must both replace the web application archive file AND delete the expanded directory that Tomcat created, and then restart Tomcat, in order to reflect your changes.
    * Use the Tomcat 5 "Manager" web application to deploy and undeploy web applications. Tomcat 5 includes a web application, deployed by default on context path /manager, that allows you to deploy and undeploy applications on a running Tomcat server without restarting it. See the administrator documentation (TODO: hyperlink) for more information on using the Manager web application.
    * Use "Manager" Ant Tasks In Your Build Script. Tomcat 5 includes a set of custom task definitions for the Ant build tool that allow you to automate the execution of commands to the "Manager" web application. These tasks are used in the Tomcat deployer.
    * Use the Tomcat Deployer. Tomcat 5 includes a packaged tool bundling the Ant tasks, and can be used to automatically precompile JSPs which are part of the web application before deployment to the server.
    Deploying your app on other servlet containers will be specific to each container, but all containers compatible with the Servlet API Specification (version 2.2 or later) are required to accept a web application archive file. Note that other containers are NOT required to accept an unpacked directory structure (as Tomcat does), or to provide mechanisms for shared library files, but these features are commonly available.
    Copyright © 1999-2006, Apache Software Foundation

  • Deploying WAR files under a single virtual-host

    I wonder why when you deploy war files with the ASADMIN tool and tell it to run them under one virtual server with the --virtual-servers option it deploy's them under all the virtual servers you have defined on the AS?.. why is that?
    Chris.

    Hi, Chris
    I will assume you are using the J2EE SDK1.4 FCS bundle.
    I've tried this myself on solaris machine today, and seems working fine for me.
    1. I created a virtual server called server2 and created new http-listener-3 which listens at port 8081.
    2. Then I used this command to deploy:
    <J2EE_HOME>/bin/asadmin deploy --virtualservers server2 foo.war
    From the server log, it shows this war is only loaded under virtual server "server2" and not the others.
    And if I use my browser to point to
    http://localhost:8080/foo (which is where the virtual server "server" listens)
    I got a HTTP 404 which is expected.
    And I point my browser to
    http://localhost:8081/foo (which is where the virtual server "server2" listens)
    I can access the web app and it runs fine.
    If you still see problems, please provide the exact steps you tried so we can try to reproduce it.
    Thanks,
    - Hong

  • How to deploy my own web services to the Start BPEL PM Server?

    Recently, I am learning the JDeveloper BPEL Designer(version 10.1.2.0), I had finished my first BPEL process CreditFlow flowing the quickstart guider.
    Now I wonder how to deploy my own web services to the Start BPEL PM Server? I mean I don't want to invoke the CreditRatingService as I did flowing the quickstart guider, but to invoke my own web servcies. Now I had made some web services with eclipse and deployed them to the tomcat5.0. but how can I invoke these my own web services just like I invoked the CreditRatingService in the JDeveloper BPEL Designer?
    Thank you!

    Copy the WSDL file from your Tomcat server onto your development machine. Add them to your project in JDeveloper. Then add a partnerlink and specify the WSDL location. Then add you role, variables and compile!

  • Server 2012 R2 - Complete WSUS Installation Issue - The service cannot be started...

    Hi all,
    installed SCCM 2012 R2 CAS on a 2012 server. The SQL is off box on a server cluster. I've installed WSUS through the 'Add Roles and Features'. I configured it to have local storage for the content and a remote DB instance (called SQL1 on our cluster). All this
    worked well and the install completed as expected. I checked the SQL cluster and the "SUSDB" database was created ok.
    As a final step, i went to Tools in Server Manager and launched Windows Server Update Services. This brought up the 'Complete WSUS Installation' dialogue box. I entered the exact same DB info as i had done when completing the initial install of WSUS:
    Yet when i hit 'run' the following message returns:
    The relevant bit of logging is shown here:
    2015-01-14 16:58:42  Starting service W3SVC
    2015-01-14 16:58:42  Configuring IIS...
    2015-01-14 16:58:42  Start: ConfigureWebsite
    2015-01-14 16:58:42  System.Runtime.InteropServices.COMException (0x80070422): The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.
    Since i'm pretty sure i need WSUS working correctly to use it for SCCM, can anyone suggest what my problem is here? I'd assume it's falling down because the 'ConfigureWebsite' job can't start but what service does that need to run?
    Really stumpoed by this so any help would be much appreciated! Thanks

    2015-01-14 16:58:42  Start: ConfigureWebsite
    Did you install the Web Server role before installing the WSUS Server role? Is the Web Server role already installed? If so, is it installed and configured in a compatible manner with the WSUS role?
    Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
    SolarWinds Head Geek
    Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
    My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
    http://www.solarwinds.com/gotmicrosoft
    The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds.

  • PCMCIA Wlan card is not detected: Error 1058: service cannot be started

    PLEASE HELP!
    I am running WXP Pro for over 2 years and I have been connecting to the internet via a wireless pc card in my laptops PCMCIA slot with no problems. Suddenly last week it started to randomly disconnect and reconnect, and now it has gone off completely.
    I bought a new WiFi card and still didn't work. I have checked the device manager and the PCMCIA cardbus driver is working fine as is every other device. The wireless card driver and some other network related drivers fail to start no matter what I try and how many times I try. I have tried another laptop and both my old card and the new one work fine.
    All the device driver that I try to start have the error
    "Error 1058: The service cannot be started, either because it is disabled or because it has no enabled devices associated with it."
    The card driver is installed, just not starting, it's like the laptop cannot detect or see the card in the slot
    Please help; I am having trouble finding anyone with the same problem after a week of searching the web.

    Hi
    This behavior can occur if the service is disabled or if the service is disabled for the hardware profile that you are currently using.
    To enable the service do this:
    1. Click Start, point to Programs, point to Administrative Tools, and then click Services.
    2. Double-click the service that did not start.
    3. Click the Log On tab.
    4. Verify that the service has not been disabled for the hardware profile that you are using. If it has, click Enable.
    5. Click the General tab. Verify that the service has not been disabled in the Startup Type box. If it has, click Automatic to have it start when you start the computer.
    This was described here in the MS knowledge base article
    http://support.microsoft.com/kb/241584

  • Polycom CX 600 - Certificate web service cannot be found

    Hi All,
    I know, there are some same issues in the forum, bot those are not helpful for me. My problem is the same, via network cable (using just DHCP) the Polycom CX 600 Lync Phone are not able to sign in (however 1 month ago it was), returning the error message:
    'Certificate web service cannot be found.'
    I've double checked the DHCP options and all of them are OK! We are not using Windows DHCP, but the options are right, the 43 option containing the proper hexa value, the sub-options are also valid. From the DHCP log I can verify that the device got the
    options, but the phone still not able to sign in.
    From the browser I cannot open the device, by it's IP, just with FTP:\\'IP'. There I could find a .clg1 log file, but it not containing useful information for me. 
    This is the link of the log file: http://speedy.sh/XAgMT/system.clg1
    If I run the DHCPUtil.exe -emulateclient on my workstation, I got the following:
    Starting Discovery ...
    Result: Failure =  -2147014848
    Or... sometimes it has a result:
    Starting Discovery ...
    Sending Packet (Size: 288, Network Adapter: 57.56.69.138, Attempt Type: Broadcas
    t + Unicast)
    --Begin Packet--
    DHCP: INFORM                (xid=5C1E8177)
    DHCP: Op Code           (op)      = 1
    DHCP: Hardware Type     (htype)   = 6
    DHCP: Hops              (hops)    = 0
    DHCP: Transaction ID    (xid)     = 1545503095
    DHCP: Seconds           (secs)    = 0
    DHCP: Flags             (flags)   = 0000
    DHCP: Client IP Address (ciaddr)  = 57.56.69.138
    DHCP: Your IP Address   (yiaddr)  = 0.0.0.0
    DHCP: Server IP Address (siaddr)  = 0.0.0.0
    DHCP: Relay IP Address  (giaddr)  = 0.0.0.0
    DHCP: Client HW Address (chaddr)  = E0DB55DE###--End Packet--
    Received Packet
    Sender:57.20.120.85:67, Size:408
    --Begin Packet--
    DHCP: ACK                (xid=5C1E8177)
    DHCP: Op Code           (op)      = 1
    DHCP: Hardware Type     (htype)   = 6
    DHCP: Hops              (hops)    = 0
    DHCP: Transaction ID    (xid)     = 1545503095
    DHCP: Seconds           (secs)    = 0
    DHCP: Flags             (flags)   = 0000
    DHCP: Client IP Address (ciaddr)  = 57.56.69.138
    DHCP: Your IP Address   (yiaddr)  = 0.0.0.0
    DHCP: Server IP Address (siaddr)  = 0.0.0.0
    DHCP: Relay IP Address  (giaddr)  = 57.56.69.131
    DHCP: Client HW Address (chaddr)  = E0DB55DE8993
    DHCP: Server Host Name  (sname)   =
    DHCP: Boot File Name    (file)    =
    DHCP: Magic Cookie                = 99.130.83.99
    DHCP: Option Field
        DHCP: DHCP MESSAGE TYPE(  53) = (Length: 1) DHCP ACK
        DHCP: Server Identifier(  54) = (Length: 4) 57.20.120.85
        DHCP: Client Identifier(  61) = (Length: 0)  ()
        DHCP: SIP Server( 120)        = (Length: 18) enc:0 lync2013.dlh.de (00086C79
    6E633230313303646C6802646500)
        DHCP: Host Name(  12)         = (Length: 0)
        DHCP: Vendor Identifier(  60) = (Length: 0)
        DHCP: Param Req List(  55)    = (Length: 0) 0 0
        DHCP: Vendor Info(  43)       = (Length: 130) ☺♀MS-UC-Client☻♣https♥☼lync201
    3.dlh☻E6465040334343305252F4365727450726F762F4365727450726F766973696F6E696E67536
    572766963652E737663] (010C4D532D55432D436C69656E7402056874747073030F6C796E633230
    31332E646C6802453634363530343033333433343333303532353246343336353732373435303732
    36463736324634333635373237343530373236463736363937333639364636453639364536373533
    36353732373636393633363532453733373636335D)
        DHCP: End of this option field
    --End Packet--
    Received Packet
    Sender:57.20.120.85:67, Size:408
    --Begin Packet--
    DHCP: ACK                (xid=5C1E8177)
    DHCP: Op Code           (op)      = 1
    DHCP: Hardware Type     (htype)   = 6
    DHCP: Hops              (hops)    = 0
    DHCP: Transaction ID    (xid)     = 1545503095
    DHCP: Seconds           (secs)    = 0
    DHCP: Flags             (flags)   = 0000
    DHCP: Client IP Address (ciaddr)  = 57.56.69.138
    DHCP: Your IP Address   (yiaddr)  = 0.0.0.0
    DHCP: Server IP Address (siaddr)  = 0.0.0.0
    DHCP: Relay IP Address  (giaddr)  = 57.56.69.130
    DHCP: Client HW Address (chaddr)  = E0DB55DE8993
    DHCP: Server Host Name  (sname)   =
    DHCP: Boot File Name    (file)    =
    DHCP: Magic Cookie                = 99.130.83.99
    DHCP: Option Field
        DHCP: DHCP MESSAGE TYPE(  53) = (Length: 1) DHCP ACK
        DHCP: Server Identifier(  54) = (Length: 4) 57.20.120.85
        DHCP: Client Identifier(  61) = (Length: 0)  ()
        DHCP: SIP Server( 120)        = (Length: 18) enc:0 lync2013.dlh.de (00086C79
    6E633230313303646C6802646500)
        DHCP: Host Name(  12)         = (Length: 0)
        DHCP: Vendor Identifier(  60) = (Length: 0)
        DHCP: Param Req List(  55)    = (Length: 0) 0 0
        DHCP: Vendor Info(  43)       = (Length: 130) ☺♀MS-UC-Client☻♣https♥☼lync201
    3.dlh☻E6465040334343305252F4365727450726F762F4365727450726F766973696F6E696E67536
    572766963652E737663] (010C4D532D55432D436C69656E7402056874747073030F6C796E633230
    31332E646C6802453634363530343033333433343333303532353246343336353732373435303732
    36463736324634333635373237343530373236463736363937333639364636453639364536373533
    36353732373636393633363532453733373636335D)
        DHCP: End of this option field
    --End Packet--
    Received Packet
    Sender:57.20.120.100:67, Size:408
    --Begin Packet--
    DHCP: ACK                (xid=5C1E8177)
    DHCP: Op Code           (op)      = 1
    DHCP: Hardware Type     (htype)   = 6
    DHCP: Hops              (hops)    = 0
    DHCP: Transaction ID    (xid)     = 1545503095
    DHCP: Seconds           (secs)    = 0
    DHCP: Flags             (flags)   = 0000
    DHCP: Client IP Address (ciaddr)  = 57.56.69.138
    DHCP: Your IP Address   (yiaddr)  = 0.0.0.0
    DHCP: Server IP Address (siaddr)  = 0.0.0.0
    DHCP: Relay IP Address  (giaddr)  = 0.0.0.0
    DHCP: Client HW Address (chaddr)  = E0DB55DE8993
    DHCP: Server Host Name  (sname)   =
    DHCP: Boot File Name    (file)    =
    DHCP: Magic Cookie                = 99.130.83.99
    DHCP: Option Field
        DHCP: DHCP MESSAGE TYPE(  53) = (Length: 1) DHCP ACK
        DHCP: Server Identifier(  54) = (Length: 4) 57.20.120.100
        DHCP: Client Identifier(  61) = (Length: 0)  ()
        DHCP: SIP Server( 120)        = (Length: 18) enc:0 lync2013.dlh.de (00086C79
    6E633230313303646C6802646500)
        DHCP: Host Name(  12)         = (Length: 0)
        DHCP: Vendor Identifier(  60) = (Length: 0)
        DHCP: Param Req List(  55)    = (Length: 0) 0 0
        DHCP: Vendor Info(  43)       = (Length: 130) ☺♀MS-UC-Client☻♣https♥☼lync201
    3.dlh☻E6465040334343305252F4365727450726F762F4365727450726F766973696F6E696E67536
    572766963652E737663] (010C4D532D55432D436C69656E7402056874747073030F6C796E633230
    31332E646C6802453634363530343033333433343333303532353246343336353732373435303732
    36463736324634333635373237343530373236463736363937333639364636453639364536373533
    36353732373636393633363532453733373636335D)
        DHCP: End of this option field
    --End Packet--
    Received Packet
    Sender:57.20.120.100:67, Size:408
    --Begin Packet--
    DHCP: ACK                (xid=5C1E8177)
    DHCP: Op Code           (op)      = 1
    DHCP: Hardware Type     (htype)   = 6
    DHCP: Hops              (hops)    = 0
    DHCP: Transaction ID    (xid)     = 1545503095
    DHCP: Seconds           (secs)    = 0
    DHCP: Flags             (flags)   = 0000
    DHCP: Client IP Address (ciaddr)  = 57.56.69.138
    DHCP: Your IP Address   (yiaddr)  = 0.0.0.0
    DHCP: Server IP Address (siaddr)  = 0.0.0.0
    DHCP: Relay IP Address  (giaddr)  = 57.56.69.131
    DHCP: Client HW Address (chaddr)  = E0DB55DE8993
    DHCP: Server Host Name  (sname)   =
    DHCP: Boot File Name    (file)    =
    DHCP: Magic Cookie                = 99.130.83.99
    DHCP: Option Field
        DHCP: DHCP MESSAGE TYPE(  53) = (Length: 1) DHCP ACK
        DHCP: Server Identifier(  54) = (Length: 4) 57.20.120.100
        DHCP: Client Identifier(  61) = (Length: 0)  ()
        DHCP: SIP Server( 120)        = (Length: 18) enc:0 lync2013.dlh.de (00086C79
    6E633230313303646C6802646500)
        DHCP: Host Name(  12)         = (Length: 0)
        DHCP: Vendor Identifier(  60) = (Length: 0)
        DHCP: Param Req List(  55)    = (Length: 0) 0 0
        DHCP: Vendor Info(  43)       = (Length: 130) ☺♀MS-UC-Client☻♣https♥☼lync201
    3.dlh☻E6465040334343305252F4365727450726F762F4365727450726F766973696F6E696E67536
    572766963652E737663] (010C4D532D55432D436C69656E7402056874747073030F6C796E633230
    31332E646C6802453634363530343033333433343333303532353246343336353732373435303732
    36463736324634333635373237343530373236463736363937333639364636453639364536373533
    36353732373636393633363532453733373636335D)
        DHCP: End of this option field
    --End Packet--
    Received Packet
    Sender:57.20.120.100:67, Size:408
    --Begin Packet--
    DHCP: ACK                (xid=5C1E8177)
    DHCP: Op Code           (op)      = 1
    DHCP: Hardware Type     (htype)   = 6
    DHCP: Hops              (hops)    = 0
    DHCP: Transaction ID    (xid)     = 1545503095
    DHCP: Seconds           (secs)    = 0
    DHCP: Flags             (flags)   = 0000
    DHCP: Client IP Address (ciaddr)  = 57.56.69.138
    DHCP: Your IP Address   (yiaddr)  = 0.0.0.0
    DHCP: Server IP Address (siaddr)  = 0.0.0.0
    DHCP: Relay IP Address  (giaddr)  = 57.56.69.130
    DHCP: Client HW Address (chaddr)  = E0DB55DE8993
    DHCP: Server Host Name  (sname)   =
    DHCP: Boot File Name    (file)    =
    DHCP: Magic Cookie                = 99.130.83.99
    DHCP: Option Field
        DHCP: DHCP MESSAGE TYPE(  53) = (Length: 1) DHCP ACK
        DHCP: Server Identifier(  54) = (Length: 4) 57.20.120.100
        DHCP: Client Identifier(  61) = (Length: 0)  ()
        DHCP: SIP Server( 120)        = (Length: 18) enc:0 lync2013.dlh.de (00086C79
    6E633230313303646C6802646500)
        DHCP: Host Name(  12)         = (Length: 0)
        DHCP: Vendor Identifier(  60) = (Length: 0)
        DHCP: Param Req List(  55)    = (Length: 0) 0 0
        DHCP: Vendor Info(  43)       = (Length: 130) ☺♀MS-UC-Client☻♣https♥☼lync201
    3.dlh☻E6465040334343305252F4365727450726F762F4365727450726F766973696F6E696E67536
    572766963652E737663] (010C4D532D55432D436C69656E7402056874747073030F6C796E633230
    31332E646C6802453634363530343033333433343333303532353246343336353732373435303732
    36463736324634333635373237343530373236463736363937333639364636453639364536373533
    36353732373636393633363532453733373636335D)
        DHCP: End of this option field
    --End Packet--
    Result: Failure =  1
    I don't know what is that Failure = 1
    Has anybody an idea???
    Many thanks,
    Tamás

    Hi,
    The DHCP options are good.
    Finally, I was able to run the test-csphonebootsrap cmdlet, and I got the following error:
    Result        : Failure
    Latency       : 00:00:01.2179659
    Error Message : No response received for getting root certificate chain.
                    Inner Exception:The remote server returned an unexpected respon
                    se: (417) Expectation Failed.
                    Inner Exception:The remote server returned an error: (417) Expe
                    ctation Failed.
    Diagnosis     :
                    Inner Diagnosis:Mime-Version : 1.0
                    X-Squid-Error : ERR_INVALID_REQ 0
                    Vary : Accept-Language
                    Content-Language : en
                    X-Cache : MISS from proxy.lsy.bud.dlh.de
                    X-Cache-Lookup : NONE from proxy.lsy.bud.dlh.de:3128
                    Connection : close
                    Content-Length : 3944
                    Content-Type : text/html
                    Date : Thu, 09 Jan 2014 13:24:47 GMT
                    Server : squid/3.1.10
                    Via : 1.0 proxy.lsy.bud.dlh.de (squid/3.1.10)
    VERBOSE: Workflow
    'Microsoft.Rtc.SyntheticTransactions.Workflows.STPhoneBootstrapWorkflow'
    started.
    Workflow
    'Microsoft.Rtc.SyntheticTransactions.Workflows.STPhoneBootstrapWorkflow'
    completed in '0.0001508' seconds.
    Target server Fqdn or web service Url not provided. Will have to do DHCP
    Registrar Discovery.
    An exception 'No response received for getting root certificate chain.'
    occurred during Workflow
    Microsoft.Rtc.SyntheticTransactions.Workflows.STPhoneBootstrapWorkflow
    execution.
    Exception Call Stack:    at
    Microsoft.Rtc.Admin.Authentication.WebServicesHelper.GetRootCertChains()
       at
    Microsoft.Rtc.SyntheticTransactions.Activities.GetRootCertChainsActivity.Intern
    alExecute(ActivityExecutionContext executionContext)
       at
    Microsoft.Rtc.SyntheticTransactions.Activities.SyntheticTransactionsActivity.Ex
    ecute(ActivityExecutionContext executionContext)
       at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(T activity,
    ActivityExecutionContext executionContext)
       at
    System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRunti
    me workflowCoreRuntime)
       at System.Workflow.Runtime.Scheduler.Run()
    Server stack trace:
       at
    System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(
    HttpWebRequest request, HttpWebResponse response, HttpChannelFactory`1 factory,
     WebException responseException, ChannelBinding channelBinding)
       at
    System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChanne
    lRequest.WaitForReply(TimeSpan timeout)
       at System.ServiceModel.Channels.RequestChannel.Request(Message message,
    TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean
    oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan
    timeout)
       at
    System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessa
    ge methodCall, ProxyOperationRuntime operation)
       at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage
    message)
    Exception rethrown at [0]:
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
    reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
    msgData, Int32 type)
       at RootCertChainService.GetRootCertChains(GetRootCertChainsRequest request)
       at Microsoft.Rtc.Admin.Authentication.WebServicesHelper.GetRootCertChains()
    'DHCPDiscover' activity started.
    Starting DHCP registrar discovery...
    Constructing a DHCP packet.
    Adding DHCP option PARAMETER_REQUEST_LIST.
    Successfully added DHCP option.
    Adding DHCP option VENDOR_CLASS_IDENTIFIER.
    Successfully added DHCP option.
    Successfully constructed DHCP packet.
    Trying to open an udp connection.
    Remote IP : 255.255.255.255.
    Local IP : 10.150.7.33.
    \tCreating a new UDP client.
    Udp connection successfully created.
    Sending packet.
    Remote IP : 255.255.255.255.
    Remote Port : 67.
    Packet sent successfully.
    DHCP discovery message send. Waiting for DHCP servers to respond.
    Data received successfully.
    Remote IP : 57.20.120.85.
    Remote Port : 67.
    Response received for the DHCP Discovery message.
    Constructing a DHCP packet from received raw data.
    Extracting DHCP Options.
    Successfully constructed DHCP packet.
    Return value for DHCP option : SIP_SERVER.
    Found registrar Fqdn : lyncpool.dlh.de.
    Searching for DHCP sub option : VENDOR_SPECIFIC_INFORMATION.1.
    Return value for DHCP option : VENDOR_SPECIFIC_INFORMATION.
    Found DHCP sub option : VENDOR_SPECIFIC_INFORMATION.1 - MS-UC-Client.
    Successfully extracted sub option value.
    Searching for DHCP sub option : VENDOR_SPECIFIC_INFORMATION.2.
    Return value for DHCP option : VENDOR_SPECIFIC_INFORMATION.
    Found DHCP sub option : VENDOR_SPECIFIC_INFORMATION.2 - https.
    Successfully extracted sub option value.
    Searching for DHCP sub option : VENDOR_SPECIFIC_INFORMATION.3.
    Return value for DHCP option : VENDOR_SPECIFIC_INFORMATION.
    Found DHCP sub option : VENDOR_SPECIFIC_INFORMATION.3 - lyncpool.dlh.de.
    Successfully extracted sub option value.
    Searching for DHCP sub option : VENDOR_SPECIFIC_INFORMATION.4.
    Return value for DHCP option : VENDOR_SPECIFIC_INFORMATION.
    Found DHCP sub option : VENDOR_SPECIFIC_INFORMATION.4 - 443.
    Successfully extracted sub option value.
    Searching for DHCP sub option : VENDOR_SPECIFIC_INFORMATION.5.
    Return value for DHCP option : VENDOR_SPECIFIC_INFORMATION.
    Found DHCP sub option : VENDOR_SPECIFIC_INFORMATION.5 -
    /CertProv/CertProvisioningService.svc.
    Successfully extracted sub option value.
    Found web service Url :
    https://lyncpool.dlh.de:443/CertProv/CertProvisioningService.svc.
    Disconnecting.
    DHCP registrar discovery activity completed successfully.
    'DHCPDiscover' activity completed in '1.2179659' seconds.
    'GetRootCertChains' activity started.
    Trying to download a certificate chain from web service.
    Web Service Url : http://lyncpool.dlh.de/CertProv/CertProvisioningService.svc
    Could not download certificate chain from web service.
    CHECK:
     - Web service Url is valid and the web services are functional.
    'UnRegister' activity started.
    'UnRegister' activity completed in '3.78E-05' seconds.
    VERBOSE: Workflow Instance ID 'a9313cfa-b82c-4bd2-9df6-81acca1bcbbc' completed.
    VERBOSE: Workflow run-time (sec): 1.5083016.
    It looks like the telephone are not able to download the root CA, but the webservice is available and reachable via port 80 and 443 too.... So, what is the reason? Why the Polycom CX600 is not able to download the root CA??

Maybe you are looking for

  • Adobe CS3 Bridge - Metadata Problem

    Hello, Alot of my images (JPGs) seem to be losing their metadata, for example, if I keyword a bunch of pictures in bridge and save them. I go back the next day, and they are missing? Also when uploading to a website, if I put in copyright like this:

  • Denoising video in photoshop CS5

    i need to remove noise from some footage i shot on very high iso. ( Canon 7D -  2000 iso ). instead of purchasing yet another plug-in for Finalcut Pro i thought i might be able to do the de-noising in Photoshop CS5 using my old tried and trusted Nois

  • Reg: Check View/MView query -

    Hi Experts, I'm trying to search for all references of a Table (in ALL_SOURCE). But not able to check into the query of VIEWs and MVIEWs. ALL_VIEWS and ALL_MVIEWS have LONG columns called TEXT and QUERY respectively. Any pointers how can I search int

  • Procurement for Multiple Company Codes

    H Our busieness requirement is like this: We have requisitioners (Users) who sit in one plant (of one company code). He is the employee of this company code. We have 4 other comany codes with a plant under each of them. Each of these plants have thei

  • Printing all Adobe form in one attempt

    Hello Experts,    I have one print program where I am generating Adobe forms. If I enter 10 pernrs in the selection screen.. I will get 10 adobe forms in the output. By clicking right/left arrow in the application tool bar which appears if there are