Tomcat error:   SEVERE: Protocol handler pause failed

I am running apache-tomcat-5.5.23 using java 1.5.0_11 with modjk and Apache 2.0.52 on Redhat Enterprise Linux 4ES. Tomcat does not seem to shutdown cleanly taking a long time to do so displaying the following message in the logs. Any Ideas how to resolve this problem?
I also have
127.0.0.1          localhost localhost.localdomain
in my hosts file amoungst other things.
SEVERE: Protocol handler pause failed
java.net.ConnectException: Connection timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at java.net.Socket.<init>(Socket.java:366)
at java.net.Socket.<init>(Socket.java:208)
at org.apache.jk.common.ChannelSocket.unLockSocket(ChannelSocket.java:492)
at org.apache.jk.common.ChannelSocket.pause(ChannelSocket.java:289)
at org.apache.jk.server.JkMain.pause(JkMain.java:681)
at org.apache.jk.server.JkCoyoteHandler.pause(JkCoyoteHandler.java:163)
at org.apache.catalina.connector.Connector.pause(Connector.java:1032)
at org.apache.catalina.core.StandardService.stop(StandardService.java:489)
at org.apache.catalina.core.StandardServer.stop(StandardServer.java:734)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:602)
at org.apache.catalina.startup.Catalina.start(Catalina.java:577)
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:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
30-May-2007 02:41:42 org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
30-May-2007 02:41:43 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: Failed shutdown of Apache Portable Runtime

This problem was resolved by editing the host file (/etc/hosts in the case of my unix box). What had happened in my case was that the box was using the IP address of the external cisco box, when it should have been using its internal IP. So I would recommend looking and checking what your host name resolve to.
Just thought I would add this note as I hate it when people say problem fixed but leave no resolution.

Similar Messages

  • Apache Tomcat error re: port 8080

    Hello.
    Our environment:
    RoboHelp Server 8.0
    Apache Tomcat 6.0.26
    Windows Server 2008 enterprise without Hyper-V SP2  (32-bit virtual machine)
    RoboHelp 8.0.2.208
    Our help system is periodically non-responsive. The Apache logs (extract below) indicate that there is an application using port 8080. We (my IT support and I) discovered that RDP (Windows Remote Desktop) had been changed from port 3389 (its default) to port 8080. The server is dedicated to our help system; there isn't anyone touching it so we were a bit confused. We reset the RDP port back to 3389 and restarted the server (full server restart) and everything worked as it should. A couple of days later...the same thing...and then a few times in one day. Research indicates there may be some Windows or Apache bug related to ports being reset to 8080, but not a lot of detail or suggestion for resolution or work around.
    Has anyone experienced this port issue?
    I am not familiar with Apache...is there another port that it can use and still run the RoboServer?
    Any thoughts or suggestions re: how to proceed?
    TIA,
    Michelle
    From Catalina log:
    Sep 13, 2010 9:42:34 AM 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\Apache Software Foundation\Tomcat 6.0\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\W indows;C:\Windows\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\
    Sep 13, 2010 9:42:34 AM org.apache.coyote.http11.Http11Protocol init
    SEVERE: Error initializing endpoint
    java.net.BindException: Address already in use: JVM_Bind <null>:8080
    at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:549)
    at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:176)
    at org.apache.catalina.connector.Connector.initialize(Connector.java:1014)
    at org.apache.catalina.core.StandardService.initialize(StandardService.java:680)
    at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:548)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    Caused by: java.net.BindException: Address already in use: JVM_Bind
    at java.net.PlainSocketImpl.socketBind(Native Method)
    at java.net.PlainSocketImpl.bind(Unknown Source)
    at java.net.ServerSocket.bind(Unknown Source)
    at java.net.ServerSocket.<init>(Unknown Source)
    at java.net.ServerSocket.<init>(Unknown Source)
    at org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFac tory.java:50)
    at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:538)
    ... 12 more
    Sep 13, 2010 9:42:34 AM org.apache.catalina.startup.Catalina load
    SEVERE: Catalina.start
    LifecycleException:  Protocol handler initialization failed: java.net.BindException: Address already in use: JVM_Bind <null>:8080
    at org.apache.catalina.connector.Connector.initialize(Connector.java:1016)
    at org.apache.catalina.core.StandardService.initialize(StandardService.java:680)
    at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:548)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    Sep 13, 2010 9:42:34 AM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 606 ms
    Sep 13, 2010 9:42:34 AM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Sep 13, 2010 9:42:34 AM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/6.0.26

    The default port with RH Server is 8080 as this is the standard port for all web services. Having said that, I suspect you can change the port to another. I've never used anything other than the default. it sounds like if you have another web services accessing the same port that either it or RH Server needs to be changed.
      The RoboColum(n)
      @robocolumn
      Colum McAndrew

  • Error in the Microsoft SharePoint Server People Protocol Handler

    I am trying to get people search to work. When I am crawling a content source with sps3 start address, I am getting the below error:
    Error in the Microsoft SharePoint Server People Protocol Handler. ( Object reference not set to an instance of an object. )
    I am not sure what is causing this problem. I researched and tried all the suggested solutions but nothing seems to work. How can I check whether I configured everything correctly? Is there a step-by-step guide? I followed this MSDN tutorial so far:
    http://technet.microsoft.com/en-us/library/hh582311.aspx
    Thanks for any pointers

    Hi dear
    After long time with issue, I discovered there is misunderstanding with the following step:
    "6- In the Path section, in the Path box, type the start address for the User Profile service application in the form
    sps3://<hostname>, where <hostname> is the URL for the Web application where you deployed the My Sites site collection."
    In the article, hostname have to be the name of the web application for my site site collection as mentioned like: sps3://mysite.contoso.com . NOT name of the server whish host this service.

  • "Server Tomcat v7.0 Server at localhost failed to start" in eclipse

    While running my web program I am getting following error in servlets.. I have removed the projects and removed tomcat server and after setting up again I am still getting this error. Tomcat server is not able to start.
    Error from console:
    27 Nov, 2013 11:03:55 PM 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_38\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jre7/bin/client;C:/Program Files/Java/jre7/bin;C:/Program Files/Java/jre7/lib/i386;C:\app\ehimkar\product\11.2.0\dbhome_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;.
    27 Nov, 2013 11:03:55 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
    WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:Banking' did not find a matching property.
    27 Nov, 2013 11:03:55 PM org.apache.coyote.AbstractProtocol init
    INFO: Initializing ProtocolHandler ["http-bio-8080"]
    27 Nov, 2013 11:03:56 PM org.apache.coyote.AbstractProtocol init
    INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
    27 Nov, 2013 11:03:56 PM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 605 ms
    27 Nov, 2013 11:03:56 PM org.apache.catalina.core.StandardService startInternal
    INFO: Starting service Catalina
    27 Nov, 2013 11:03:56 PM org.apache.catalina.core.StandardEngine startInternal
    INFO: Starting Servlet Engine: Apache Tomcat/7.0.47
    27 Nov, 2013 11:03:56 PM org.apache.tomcat.websocket.server.WsSci onStartup
    INFO: JSR 356 WebSocket (Java WebSocket 1.0) support is not available when running on Java 6. To suppress this message, run Tomcat on Java 7, remove the WebSocket JARs from $CATALINA_HOME/lib or add the WebSocketJARs to the tomcat.util.scan.DefaultJarScanner.jarsToSkip property in $CATALINA_BASE/conf/catalina.properties. Note that the deprecated Tomcat 7 WebSocket API will be available.
    27 Nov, 2013 11:03:56 PM org.apache.catalina.core.ContainerBase startInternal
    SEVERE: A child container failed during start
    java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Banking]]
      at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
      at java.util.concurrent.FutureTask.get(FutureTask.java:83)
      at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)
      at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:800)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
      at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)
    Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Banking]]
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
      ... 7 more
    Caused by: java.lang.IllegalArgumentException: Invalid <url-pattern> ATMTransaction in servlet mapping
      at org.apache.catalina.core.StandardContext.addServletMapping(StandardContext.java:3245)
      at org.apache.catalina.core.StandardContext.addServletMapping(StandardContext.java:3220)
      at org.apache.catalina.deploy.WebXml.configureContext(WebXml.java:1367)
      at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1346)
      at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:878)
      at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:376)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
      at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
      at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5322)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      ... 7 more
    27 Nov, 2013 11:03:56 PM org.apache.catalina.core.ContainerBase startInternal
    SEVERE: A child container failed during start
    java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]
      at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
      at java.util.concurrent.FutureTask.get(FutureTask.java:83)
      at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)
      at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:302)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:732)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:691)
      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:322)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:456)
    Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
      at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
      at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)
    Caused by: org.apache.catalina.LifecycleException: A child container failed during start
      at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1131)
      at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:800)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      ... 7 more
    27 Nov, 2013 11:03:56 PM org.apache.catalina.startup.Catalina start
    SEVERE: The required Server component failed to start so Tomcat is unable to start.
    org.apache.catalina.LifecycleException: Failed to start component [StandardServer[8005]]
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:691)
      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:322)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:456)
    Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardService[Catalina]]
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
      at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:732)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      ... 7 more
    Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina]]
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
      at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      ... 9 more
    Caused by: org.apache.catalina.LifecycleException: A child container failed during start
      at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1131)
      at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:302)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      ... 11 more
    27 Nov, 2013 11:03:56 PM org.apache.coyote.AbstractProtocol pause
    INFO: Pausing ProtocolHandler ["http-bio-8080"]
    27 Nov, 2013 11:03:56 PM org.apache.coyote.AbstractProtocol pause
    INFO: Pausing ProtocolHandler ["ajp-bio-8009"]
    27 Nov, 2013 11:03:56 PM org.apache.catalina.core.StandardService stopInternal
    INFO: Stopping service Catalina
    27 Nov, 2013 11:03:56 PM org.apache.coyote.AbstractProtocol destroy
    INFO: Destroying ProtocolHandler ["http-bio-8080"]
    27 Nov, 2013 11:03:56 PM org.apache.coyote.AbstractProtocol destroy
    INFO: Destroying ProtocolHandler ["ajp-bio-8009"]
    Kindly guide in fixing it.

    Did you try reading the stacktrace?
    "Caused by: java.lang.IllegalArgumentException: Invalid <url-pattern> ATMTransaction in servlet mapping"
    Seems clear enough, there is something in a servlet mapping in your web.xml that Tomcat doesn't like. So post your web.xml and lets find out what.

  • Error : Severity and Description Path Resource Location Creation Time     Id

    i have this error :
    Severity and Description Path Resource Location Creation Time Id
    invalid character or markup found in script block. Try surrounding your code with a CDATA block. essai/src essai.mxml Unknown 1236103965593 182
    my source is attach code
    Many thanks for your help , 
    Lionceau,

    look my source :
    <![CDATA[
    import mx.controls.Alert;
    import com.adobe.rtc.events.SessionEvent; //utilisé
    pour les trois blocs
    import com.adobe.rtc.messaging.UserRoles; //utilisé
    pour les trois blocs
    import com.adobe.rtc.collaboration.AudioPublisher; //
    AudioPublisher me sert pour la gestion du microphone
    import com.adobe.rtc.collaboration.AudioSubscriber; // me
    sert pour choisr l' aboné écouté
    //import com.adobe.rtc.collaboration; // me sert pour la
    gestion du microphone
    //import com.adobe.rtc.clientManagers;// me sert pour la
    gestion du microphone
    import com.adobe.rtc.events.StreamEvent;// pour le son
    (audio xml)
    import mx.events.ItemClickEvent; //pour le son ( audio xml)
    import mx.controls.Label;
    import mx.core.UIComponent; // me sert pour la gestion du
    microphone
    import flash.events.EventDispatcher;// me sert pour la
    gestion du microphone
    // import com.adobe.rtc.components:ResizableCanvas; amettre?
    //debut bloc share
    import
    com.adobe.rtc.sharedManagers.descriptors.FileDescriptor;
    import mx.utils.UIDUtil;
    import mx.collections.ArrayCollection;
    import com.adobe.rtc.collaboration.FileSubscriber;
    import com.adobe.rtc.sharedManagers.UserManager;
    import com.adobe.rtc.messaging.NodeConfiguration;
    import com.adobe.rtc.events.CollectionNodeEvent;
    import com.adobe.rtc.collaboration.FilePublisher;
    import com.adobe.rtc.sharedManagers.FileManager;
    [Bindable]
    private var applicationTitle:String = "File Publisher
    Example";
    // list of managers
    private var _fileManager:FileManager;
    private var _filePublisher:FilePublisher;
    private var _fileSubscriber:FileSubscriber;
    private var _userManager:UserManager;
    // our datagrid dataprovider will use this collection
    [Bindable]
    private var _fileDescriptors:ArrayCollection = new
    ArrayCollection();
    // file sharing group id, it is similiar to that of folder
    concept
    private var _groupid:String = "_filePublisherExample";
    //fin bloc share
    //debut bloc camera
    import com.adobe.rtc.events.UserEvent;
    import com.adobe.rtc.events.SharedPropertyEvent;
    import com.adobe.rtc.events.ConnectSessionEvent;
    import mx.controls.Button;
    import com.adobe.coreUI.controls.CameraUserBar;
    import mx.core.UITextField;
    import com.adobe.rtc.events.SharedPropertyEvent;
    import com.adobe.rtc.sharedModel.SharedProperty;
    import com.adobe.rtc.collaboration.WebcamSubscriber;
    import mx.containers.VBox;
    import com.adobe.rtc.events.UserEvent;
    import com.adobe.rtc.sharedManagers.StreamManager ;
    import
    com.adobe.rtc.sharedManagers.descriptors.StreamDescriptor ;
    private var currentSubscriber:WebcamSubscriber ;
    private var sharedProperty:SharedProperty ;
    * This example shows how the camera component can be used
    with a publisher and a
    * number of subscribers. The publisher has a big view while
    subscribers have a small view.
    * A shared property is used to pass the stream to the
    publisher's user interface.
    * Every user is provided with play and pause handlers.
    private function onCreationComplete():void
    sessionManager.roomManager.autoPromote = true ;
    sessionManager.roomManager.guestsHaveToKnock = false ;
    sharedProperty = new SharedProperty();
    sharedProperty.isSessionDependent = true ;
    sharedProperty.sharedID = "webcamShare2" ;
    sharedProperty.connectSession = sessionManager ;
    sharedProperty.subscribe();
    sharedProperty.addEventListener(SharedPropertyEvent.CHANGE,onChange);
    sessionManager.userManager.addEventListener(UserEvent.USER_REMOVE,onUserRemove)
    * @private
    protected function onUserRemove(p_event:UserEvent):void
    if ( sharedProperty.value &&
    p_event.userDescriptor.userID == sharedProperty.value[0]) {
    sharedProperty.value = [] ;
    * When the main big stream changes, all users can view it
    via the sharedProperty.
    private function onChange(p_evt:SharedPropertyEvent):void
    if ( currentSubscriber != null ) {
    clickedContainer.removeChild(currentSubscriber);
    currentSubscriber.close();
    currentSubscriber = null ;
    if ( sharedProperty.value == null ||
    sharedProperty.value.length == 0 ) {
    return ;
    currentSubscriber = new WebcamSubscriber();
    currentSubscriber.connectSession = sessionManager ;
    currentSubscriber.subscribe();
    currentSubscriber.webcamPublisher = webCamPub ;
    currentSubscriber.publisherIDs = sharedProperty.value ;
    currentSubscriber.addEventListener(UserEvent.USER_BOOTED,onCleared);
    currentSubscriber.addEventListener(UserEvent.STREAM_CHANGE,onCameraPause);
    clickedContainer.addChild(currentSubscriber);
    invalidateDisplayList();
    * If the big image is stopped, clear it.
    private function onCleared(p_evt:UserEvent):void
    if ( sessionManager.userManager.myUserRole ==
    UserRoles.OWNER ) {
    sharedProperty.value = [] ;
    * Clicking on the small image below makes it large.
    private function onClick(p_evt:MouseEvent):void
    if ( (p_evt.currentTarget is WebcamSubscriber) &&
    !(p_evt.target.parent is CameraUserBar)) {
    sharedProperty.value = (p_evt.currentTarget as
    WebcamSubscriber).publisherIDs;
    * Handler for a user pausing the camera.
    protected function onCameraPause(p_evt:UserEvent):void
    var userStreams:Array =
    sessionManager.streamManager.getStreamsForPublisher(p_evt.userDescriptor.userID,StreamMan ager.CAMERA_STREAM);
    if (userStreams.length == 0) {
    trace("onCameraPause: no userStreams");
    return;
    for (var i:int = 0; i< userStreams.length ; i++ ) {
    if (userStreams
    .type == StreamManager.CAMERA_STREAM ) {
    break;
    var streamDescriptor:StreamDescriptor = userStreams;
    if ( streamDescriptor.streamPublisherID ==
    sessionManager.userManager.myUserID ) {
    sessionManager.streamManager.pauseStream(StreamManager.CAMERA_STREAM,!streamDescriptor.pa use,streamDescriptor.streamPublisherID);
    * Handler for a user stopping the camera.
    private function onBooted(p_evt:UserEvent):void
    if ( (p_evt.currentTarget is WebcamSubscriber) &&
    (p_evt.userDescriptor.userID == sessionManager.userManager.myUserID
    || sessionManager.userManager.myUserRole == UserRoles.OWNER)) {
    webCamPub.stop();
    if ( (p_evt.currentTarget.parent as VBox).getChildAt(1) is
    Button ){
    ((p_evt.currentTarget.parent as VBox).getChildAt(1) as
    Button).label = "Start" ;
    if ( sharedProperty.value && (sharedProperty.value
    as Array)[0] == p_evt.userDescriptor.userID ) {
    sharedProperty.value = [] ;
    ]]>
    </mx:Script>

  • Error- isDefault SSL context init failed : Cannot recover key

    Hi,
    We are trying to run a sample HTTPS request from client to Server using SSL.
    Below is the the code we used to run Client program which will communicate with HTTPS server (Server Socket which will accept connections)
    Basically we created a server certificate inside Https server program and that will be exported and imported into Client directory.
    Finally when we run below client program means its giving below error
    Error- isDefault SSL context init failed : Cannot recover key
    Can anybody please help me to run this program successfully?If we you give some basic steps to check the settings what needs to be set before running this program.?
    Client Program
    Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider() );
    System.setProperty("javax.net.ssl.keyStore", "D:\\JavaR&D\\Rajiv\\server\\serverkeys");
    System.setProperty("javax.net.ssl.keyStoreType" ,"JKS"); /* ,"pkcs12" */
    System.setProperty("javax.net.ssl.keyStorePassword","welcome");
    System.setProperty("javax.net.ssl.trustStore" , "C:\\j2sdk1.5.0\\jre\\lib\\security\\cacerts");
    System.setProperty("javax.net.ssl.trustStorePassword" , "clientpass");
    System.setProperty("javax.net.ssl.trustStoreType","JKS"); /* ,"pkcs12" */
    System.setProperty("java.protocol.handler.pkgs" ,"com.sun.net.ssl.internal.www.protocol");
    com.sun.net.ssl.HostnameVerifier hv=new com.sun.net.ssl.HostnameVerifier() {
    public boolean verify(String urlHostname, String certHostname) {
    System.out.println("urlHostname >>" + urlHostname +"<<");
    System.out.println("certHostname >>" + certHostname +"<<");
    System.out.println("WARNING: Hostname is not matched for cert.");
    return true;
    com.sun.net.ssl.HttpsURLConnection.setDefaultHostnameVerifier(hv);
    SSLSocketFactory factory = (SSLSocketFactory)SSLSocketFactory.getDefault();
    // server = (SSLServerSocket) factory.createServerSocket(portNumber);
    System.out.println("above socketcreation");
    SSLSocket socket = (SSLSocket)factory.createSocket("172.16.56.227",8443);
    Server Program

    Is there some kind of timeline that I can expect 8.1 to ship in?
    I appreciate being informed that this is a known issue and all, but without giving me a timeframe to expect a fix in, how can you possibly expect me to continue to pursue your products as viable options?
    To tell me to wait for 8.1, without giving me a timeframe or any further details is simply put in one word. Amatuer.
    What kind of response is this? What am I supposed to tell my supervisor? How am I supposed to explain to upper management that the application server they're telling us to use is incapable of handling the use cases our business functions require? What do you want me to do, tell them to wait for the next release without being able to give them a ballpark figure? We're a small team, us Java guys. We've already invested months is moving to a new platform. Now that platform is failing us, and the vendor hasn't got any better response than, "Oh yeah, our bad. We'll fix it next time... whenever that is..."
    If 8.1 is as half-baked as 8.0 is (BTW your deploytool is a broken piece of junk. I can reliably crash the thing in under 10 seconds) then I don't have a lot of hope for 8.1. You can bet I sure as heck won't be holding my breath for it.
    Looks like it's time to investigate the other vendors that support J2EE 1.4. Something tells me I'll have better luck with WebSphere. The hard part there will be selling managment on the idea. At least IBM is notoriously forward with their clients, even if they are expensive.
    All I'm asking for now is a timeframe for 8.1. When can we expect it? If it's before I expect to -have- to have this stuff in production I may be able to wait... but at this point, I'm disgruntled enough to not bother.
    Maybe we should investigate moving to .net. At least then when the vendor screws me I'll be expecting it.

  • I recently tried to update iTunes to 11.1, and am now getting an error message "This application has failed to start because MSVCR80.d11 was not found."  I have uninstalled and reinstalled iTunes multiple times.  Am running Windows XP Svc Pack 3.  help

    I recently tried to update iTunes to 11.1, and am now getting an error message "This application has failed to start because MSVCR80.dll was not found.  Reinstalling the application may fix this problem."  I have uninstalled and reinstalled iTunes several times with no success.  I am running Windows XP Svc Pack 3.  Help please.

    Click here and follow the instructions. You may need to completely remove and reinstall iTunes and all related components, or run the process multiple times; this won't normally affect its library, but that should be backed up anyway.
    (99753)

  • Error message: "Webcam driver open fail" for Satellite L305-S5875

    Problem: Webcam is not working and when Camera Assistant Software is started up, the Error message, "Webcam driver open fail" pops up.
    Computer: Notebook Satellite L305-S5875
    OS: Windows Vista
    In troubleshooting, I have unsuccessfully tried the following: Changed the webcam driver several times, rolled back driver, updated driver, and tried Chicony 2.0 USB driver, and a few other webcam drivers. The webcam initially worked fine, but about a month after installing and using Skype video, the webcam suddenly stopped working and on reboot I got the error message.
    I've stopped Skype and Camera Assistant Software at startup and manually start them, as someone suggested this as a solution. I've uninstalled both and reinstalled several times.  I've tried one software without the other installed... trying every possible arrangement for a solution, to no avail.
    I called Customer Support and John, although very nice and patient, was not helpful.  He said he'd research and call back.  Didn't.
    I've gone to Chicony website to try to find an more current driver than January 07.  When I let Windows install the latest from the web, it installs a Microsoft 2006 driver.  I don't think it's a hardware issue, as it started acting up after Skype installed.  I also tried System Restore, but that didn't work either.
    Suggestions?
    Thanks,
    SteveCo

    Thanks Jerry.  I spent hours going through the links you provided and tried some of the suggestions looking for a solution.  Nothing worked.
    I tried uninstalling Toshiba's Camera Assist software and Skype (Skype initially seemed to be the instigator of the problem), completely removing both from the registry, and removing the webcam with Device Manager.  Then I made sure Vista was up to date, and then installed the latest Toshiba Camera Assist software from the Toshiba download page.  After installation and rebooting, I'm getting the same error message: "Webcam driver open fail."
    The webcam used to work, before we installed Skype and used it a few times.  From the other posts I've read, it does seem to be a common problem... usually after Skype or another webcam-using software is installed and run.
    We have another Toshiba laptop: A215-S4757, that has the same OS and webcam-using programs, and it does not have an issue.  Apparently though , after going through all the links on the European message board, you provided, the L305 model is having a problem.
    Open for suggestions.
    SteveCo

  • Unable to download iTunes on my second windows computer (64 bit). I got it fine on my first one. After downloading the program and installing it, I keep getting an error message:Apple Mobile Device Failed to Start. This happens wven when my IPhone 5c is t

    I am unable to download iTunes on my second Windows 8 computer (64 bit). I got it fine on my first one and have used it quite a bit. After downloading the program and installing it on the second computer, I keep getting this error message: "Apple Mobile Device Failed to Start." This happens when when my IPhone 5c is connected via Wi-Fi and I have clicked on "Trust This Computer." (I have tried to install several times-- It gets hung up when it reaches"Starting Services.")

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (Later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    See also HT1925: Removing and Reinstalling iTunes for Windows XP or HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    Should you get the error iTunes.exe - Entry Point Not Found after the above reinstall then copy QTMovieWin.dll from:
    C:\Program Files (x86)\Common Files\Apple\Apple Application Support
    and paste into:
    C:\Program Files (x86)\iTunes
    The above paths would be for a 64-bit machine. Hopefully the same fix with the " (x86)" omitted would work on 32-bit systems with the same error.
    tt2

  • File, Send link doesn't open a new email. Using Firefox 11.0. Outlook 2010 is the Mailto default and W7 default email program. On the About:config page network.protocol-handler.external.mailto is set to regular font (not bold) "default Boolean true".

    File, Send link doesn’t open a new email. Running Firefox 11.0. Outlook 2010 is the Mailto default and the W7 default email program. On the About:config page, network.protocol-handler.external.mailto is set to regular font (not bold) “default Boolean true”.

    I assume you have tried toggling the setting in Firefox between Outlook and, say, Gmail:
    orange Firefox button ''or'' classic Tools menu > Options > Applications
    In the search box, type or paste '''mailto''' and pause for the list to filter.
    Change the setting and OK to save it, then return to the dialog, change back, and OK again.
    You also might want to toggle the setting at the OS level between Microsoft Outlook and the native Windows Mail client in a similar fashion. In Windows XP you could use IE's Options dialog, Programs tab, for this, but I'm not sure in Windows 7.
    Since one possibility is a problem in your Firefox settings (including the possibility of interfering add-ons), and another is a problem at the Windows level (e.g., Registry settings), it would be useful to try to identify which one it is. One quick way to distinguish is to create a new Firefox profile. It will start up with all factory settings. You can switch back to your existing profile after testing.
    First, I recommend backing up your Firefox settings in case something goes wrong. See [https://support.mozilla.com/en-US/kb/Backing+up+your+information Backing up your information]. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)
    After closing Firefox, start up again in the Profile Manager as described in this article: [http://support.mozilla.com/kb/Managing+profiles Managing profiles].
    With the new profile, can Firefox successfully create a message in Outlook?

  • In the process of installing OS X Maverick on mac mini; got error "Filesystem verify or Repair failed"

    Hi,
    I am in the process of installing Maverick on my Mac Mini.  I got an error: "Filesystem verify or Repair failed".
    Most threads suggest that I either:
    1. restart process,
    2. install disk and try again,
    3. recover disk
    Since I am in the middle of installing, I cannot seem to go back to my working OS to restart the process.  Since Maverick is available in the App Store, i cannot use a disk for it.  That leaves me with recovering the disk.  Can anyone suggest how I can do this without destroying all my files on the computer?
    Thanks,

    Thanks for your advice.
    I do have a backup, but I can't access it right now.  I tried the OS X Recovery, but when I try the "Command-R" option, it just goes right back into the install.  I have used the "Command-R" option before, so I know when and how long to hold it for.  I just couldn't get it to not enter the install.  I did manage to at one point get a prompt where it asked me if I wanted to install from Macintosh HD (main partition) or Backup (secondary partition), but I chose Macintosh HD, and it went back into the install.  I couldn't get that option again for whatever reason.
    Is there a way I can just start from scratch?  Both Snow Leopard and Mavericks are online only.  Is there a way to pause the install, connect to the internet and install a brand new (wipe out all files - I can always use by backup to restore my important files later) copy of the OS?
    Thanks,

  • Tomcat error in DFM 3.0.5

    Hi,
    On a LMS 3.0.1, DFM 3.0.5, I've got a Tomcat error, when I want to see the "Alerts and Activity" (see attachement)
    Trying to solve the problem, i've made several try:
    1. I purged the dfm database (CSCOpx/bin/dbRestoreOrig.pl dsn=dfmInv dmprefix=INV, CSCOpx/bin/dbRestoreOrig.pl dsn=dfmFh dmprefix=FH,
    CSCOpx/bin/dbRestoreOrig.pl dsn=dfmEpm dmprefix=EPM)
    2. Import devices from DCR (almost 400 devices). I can see all the devices in "Device Management/Device summary"
    3. re-install DFM 3.0.5
    and this doesn't solve the problem
    I attach the "pdshow", if it can help.
    Which log file can help you ?
    thanks

    I add:
    As the post (https://supportforums.cisco.com/message/1328737#1328737), I do this:
    "NMSROOT/objects/db/win32/dbsrv9 -f NMSROOT/databases/dfmEpm/dfmEpm.db"
    and restore the database by
    "NMSROOT/bin/perl NMSROOT/bin/dbRestoreOrig.pl dsn=epm dmprefix=EPM"
    in attachement, the new pdshow (the EPMDbEngine is started, but the EPMServer is down)
    And still "tomcat error"...
    If you have an idea...

  • [SQLSTATE 42000][Error 4834] - SQL Agent Job failing

    Hello, 
    I have started getting the below error message on a bulk insert job that has been running over several months. 
    Error is:
    Executed as user: domain\svc_sql. You do not have permission to use the bulk load statement. [SQLSTATE 42000] (Error 4834).  The step failed.
    Domain\svc_sql is also service account for SQL Server. Both the SQL server and SQL agent are running under this account and it has sysadmin and bulkadmin privileges.
    Bulk insert is from csv file in a folder for which domain\svc_sql has full permission. 
    I've now ran out of ideas. 
    Could anybody advise?
    Many thanks, 
    Mohan

    Hi Mohan,
    According to the error message, it can be caused by that when SQL Server Agent performs EXECUTE AS USER, you are by default sandboxed into the database, and therefore you don't have access to server-level tasks.
    To work around the issue, as Praveen’s post, you can set the database TRUSTWORTHY to ON, however it might cause some security issues. For more details, please review this article:
    Giving Permissions through Stored Procedures Ownership Chaining, Certificates and the Problematic EXECUTE AS.
    Personally, I recommend you create the bulk insert job as a CmdExec job which uses SQLCMD to run scripts. For more information about CmdExec job, please review this article:
    Create a CmdExec Job Step.
    There is also a discussion about the error 4834 in the following thread.
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/48621876-11a0-468c-95b4-2a682f0134aa/bulk-insert-not-working-through-an-agent-job
    Thanks,
    Lydia Zhang

  • Using yepnope, getting error in event handler.

    Recently discover yepnope and started to implement it into my project to keep common functions in one file. The first set of functions worked fine when I moved them over, but with the last one I'm unable to control a symbol.  It's calling the function fine, it's just wont play the symbol timeline.
    -------Here's the function in the external file
    //Function for audio button
    // Tests the paused attribute and set state.
    voButton = function (){
        if ($('#voiceOver')[0].paused) {
            console.log("play");
            $('#voiceOver')[0].play();
            sym.getComposition().getStage().getSymbol("btnSound").stop(1000);
        else {
            console.log("pause");
            $('#voiceOver')[0].pause();
            sym.getComposition().getStage().getSymbol("btnSound").stop(0);
    -------Here's the call to the function
    Symbol.bindElementAction(compId, symbolName, "${_btnSound}", "click", function(sym, e) {
             voButton();
    //Edge binding end
    Calling the function plays the audio but doesn't change the symbol. Getting the error message:
    functions.js (line 39)
    Javascript error in event handler! Event Type = element
    I've tried different combinations of getComposition() or getSymbol(), nothing.  I read a post somewhere that said I needed to prefix my function creation with sym. and call it the same way.  This didn't work either and caused the function to stop working, but with a new error: sym is not defined in the external file.
    Like I said the function works when I call it, but I can't access the symbol's timeline for some reason.

    I'm trying to include a custom js file to an Edge project, and I'm getting the same "sym is not defined" error. have you found a workaround for this problem?
    can't we just use "sym" or methods like "getSymbol()" in the js loaded by yepnope?
    I can't find any sources about this.
    And I can't find an easy way to substitute "sym"...
    Thanks in advance

  • Oracle Queue Error creating JMS-120: Dequeue failed

    Hi Guys,
    We are facing serious problems with Oracle queue when dequeuing messages from the queue.
    Our configuration is the following:
    - SOA Suit 10.g (10.1.3.5.0)
    - Dehydration storage - Oracle Database 11gR2 in Exadata Cloud
    We use standard JMS Adabpter from AS10g to dequeue messages from the Oracle queue.
    Suddenly dequeue stop working pooling the flowing errors into the log.xml log file in $ORACLE_HOME/j2ee/oc4j_soa/log/oc4j_soa_SOA_GROUP_1/oc4j directory.
    <MSG_TEXT>Failed to process deferred message</MSG_TEXT>
    <SUPPL_DETAIL><![CDATA[oracle.tip.esb.server.dispatch.QueueHandlerException: Error creating "JMS-120: Dequeue failed"
         at oracle.tip.esb.server.dispatch.JMSDequeuer.dequeue(JMSDequeuer.java:197)
         at oracle.tip.esb.server.dispatch.agent.ESBWork.process(ESBWork.java:178)
         at oracle.tip.esb.server.dispatch.agent.ESBWork.run(ESBWork.java:135)
         at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
         at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
         at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:825)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: oracle.jms.AQjmsException: JMS-120: Dequeue failed
         at oracle.jms.AQjmsError.throwEx(AQjmsError.java:308)
         at oracle.jms.AQjmsConsumer.dequeue(AQjmsConsumer.java:2094)
         at oracle.jms.AQjmsConsumer.receiveFromAQ(AQjmsConsumer.java:922)
         at oracle.jms.AQjmsConsumer.receiveFromAQ(AQjmsConsumer.java:835)
         at oracle.jms.AQjmsConsumer.receive(AQjmsConsumer.java:776)
         at oracle.j2ee.ra.jms.generic.CommonConsumerWrapper.receive(CommonConsumerWrapper.java:203)
         at oracle.tip.esb.server.dispatch.JMSDequeuer.dequeue(JMSDequeuer.java:175)
         ... 7 more
    then:
    <COMPONENT_ID>j2ee</COMPONENT_ID>
        <MSG_ID>J2EE JTA-00107</MSG_ID>
    <MSG_TEXT>Error in resource driver during rollback: oracle.jdbc.xa.OracleXAException, errorCode : -7</MSG_TEXT>
    and this message comes out every second:
        <MSG_TEXT>Attempt to use an invalid handle : 'oracle_jdbc_driver_LogicalConnection_Proxy@10af88e3'.</MSG_TEXT>
    Any help, suggestions, hints would be much appreciated.
    cheers!!
    eMarcel                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi there
    I have got the same problem i.e
    oracle.jms.AQjmsException: JMS-120: Dequeue failed
         at oracle.jms.AQjmsError.throwEx(AQjmsError.java:283)
         at oracle.jms.AQjmsConsumer.dequeue(AQjmsConsumer.java:2178)
         at oracle.jms.AQjmsConsumer.receiveFromAQ(AQjmsConsumer.java:1013)
         at oracle.jms.AQjmsConsumer.receiveFromAQ(AQjmsConsumer.java:950)
         at oracle.jms.AQjmsConsumer.receive(AQjmsConsumer.java:897)
         at com.cramer.cdd.mytest.QueueReceive2.init(QueueReceive2.java:122)
         at com.cramer.cdd.mytest.QueueReceive2.main(QueueReceive2.java:152)
    Exception in thread "main
    Please help me in debugging this.
    I have a standalone java application to listen to the aqJMS queue.
    Regards
    Paul

Maybe you are looking for