Encoding on the server

How can I receive a 1.5Mbit stream from Flash Media Live Encoder and then re-encode it to 2 different streams?
It's much like what Ustream is doing. They receive one high-quality feed, and then re-encode to a couple of different qualities in realtime.
I want to do it this way because it's much more bandwidth-efficient.
Thanks.

this is a windows batch file that will have to be modified pretty heavily to do what you want but it is the idea you want to use. This script was found on the Internet so there are probably more I also have this as a shell script on linux but i didn't include it here because my linux box is in the closet but like the windows version I found it on the internet.
@ping 127.0.0.1 -n 2 -w 1000 > nul
@ping 127.0.0.1 -n %1% -w 1000> nul
@echo off
setLocal EnableDelayedExpansion
for /f "tokens=* delims= " %%c in ('dir /b "C:\webserver\currentwebsite\Images\*.flv"')  do   (
if errorlevel 1 (
echo "error"
) else (
set filein=%%c
ffmpeg.exe -i "C:\webserver\currentwebsite\Images\%%c" -y -f mjpeg -ss 0.001  -vframes 1 -s 138x148 -an "C:\webserver\currentwebsite\Images\%%c.jpg"
del "C:\webserver\currentwebsite\Images\%%c"
for /f "tokens=1,2 delims=."   %%a in ('dir /b "C:\webserver\currentwebsite\Images\*.jpg"')  do   (
rename "C:\webserver\currentwebsite\Images\%%a*.jpg"  "%%a.jpg"
pause

Similar Messages

  • How to limited Media Encoder connect the media server?

    how to limited Media Encoder connect the media server?
    I have a adobe media server3 for liniux and  hava a live IP.
       I can  use the Media Encoder connenct the media server anywhere  when I use the live IP.
    I want to know how to limited Media Encoder connect the media server.
    thank you!

    You can use an authorization plugin, or you can use server side actionscript to validate credentials (as of FMS 3.0, you can use get variables in the RTMP URL)

  • Async tcp client and server. How can I determine that the client or the server is no longer available?

    Hello. I would like to write async tcp client and server. I wrote this code but a have a problem, when I call the disconnect method on client or stop method on server. I can't identify that the client or the server is no longer connected.
    I thought I will get an exception if the client or the server is not available but this is not happening.
    private async void Process()
    try
    while (true)
    var data = await this.Receive();
    this.NewMessage.SafeInvoke(Encoding.ASCII.GetString(data));
    catch (Exception exception)
    How can I determine that the client or the server is no longer available?
    Server
    public class Server
    private readonly Dictionary<IPEndPoint, TcpClient> clients = new Dictionary<IPEndPoint, TcpClient>();
    private readonly List<CancellationTokenSource> cancellationTokens = new List<CancellationTokenSource>();
    private TcpListener tcpListener;
    private bool isStarted;
    public event Action<string> NewMessage;
    public async Task Start(int port)
    this.tcpListener = TcpListener.Create(port);
    this.tcpListener.Start();
    this.isStarted = true;
    while (this.isStarted)
    var tcpClient = await this.tcpListener.AcceptTcpClientAsync();
    var cts = new CancellationTokenSource();
    this.cancellationTokens.Add(cts);
    await Task.Factory.StartNew(() => this.Process(cts.Token, tcpClient), cts.Token, TaskCreationOptions.LongRunning, TaskScheduler.Default);
    public void Stop()
    this.isStarted = false;
    foreach (var cancellationTokenSource in this.cancellationTokens)
    cancellationTokenSource.Cancel();
    foreach (var tcpClient in this.clients.Values)
    tcpClient.GetStream().Close();
    tcpClient.Close();
    this.clients.Clear();
    public async Task SendMessage(string message, IPEndPoint endPoint)
    try
    var tcpClient = this.clients[endPoint];
    await this.Send(tcpClient.GetStream(), Encoding.ASCII.GetBytes(message));
    catch (Exception exception)
    private async Task Process(CancellationToken cancellationToken, TcpClient tcpClient)
    try
    var stream = tcpClient.GetStream();
    this.clients.Add((IPEndPoint)tcpClient.Client.RemoteEndPoint, tcpClient);
    while (!cancellationToken.IsCancellationRequested)
    var data = await this.Receive(stream);
    this.NewMessage.SafeInvoke(Encoding.ASCII.GetString(data));
    catch (Exception exception)
    private async Task Send(NetworkStream stream, byte[] buf)
    await stream.WriteAsync(BitConverter.GetBytes(buf.Length), 0, 4);
    await stream.WriteAsync(buf, 0, buf.Length);
    private async Task<byte[]> Receive(NetworkStream stream)
    var lengthBytes = new byte[4];
    await stream.ReadAsync(lengthBytes, 0, 4);
    var length = BitConverter.ToInt32(lengthBytes, 0);
    var buf = new byte[length];
    await stream.ReadAsync(buf, 0, buf.Length);
    return buf;
    Client
    public class Client
    private TcpClient tcpClient;
    private NetworkStream stream;
    public event Action<string> NewMessage;
    public async void Connect(string host, int port)
    try
    this.tcpClient = new TcpClient();
    await this.tcpClient.ConnectAsync(host, port);
    this.stream = this.tcpClient.GetStream();
    this.Process();
    catch (Exception exception)
    public void Disconnect()
    try
    this.stream.Close();
    this.tcpClient.Close();
    catch (Exception exception)
    public async void SendMessage(string message)
    try
    await this.Send(Encoding.ASCII.GetBytes(message));
    catch (Exception exception)
    private async void Process()
    try
    while (true)
    var data = await this.Receive();
    this.NewMessage.SafeInvoke(Encoding.ASCII.GetString(data));
    catch (Exception exception)
    private async Task Send(byte[] buf)
    await this.stream.WriteAsync(BitConverter.GetBytes(buf.Length), 0, 4);
    await this.stream.WriteAsync(buf, 0, buf.Length);
    private async Task<byte[]> Receive()
    var lengthBytes = new byte[4];
    await this.stream.ReadAsync(lengthBytes, 0, 4);
    var length = BitConverter.ToInt32(lengthBytes, 0);
    var buf = new byte[length];
    await this.stream.ReadAsync(buf, 0, buf.Length);
    return buf;

    Hi,
    Have you debug these two applications? Does it go into the catch exception block when you close the client or the server?
    According to my test, it will throw an exception when the client or the server is closed, just log the exception message in the catch block and then you'll get it:
    private async void Process()
    try
    while (true)
    var data = await this.Receive();
    this.NewMessage.Invoke(Encoding.ASCII.GetString(data));
    catch (Exception exception)
    Console.WriteLine(exception.Message);
    Unable to read data from the transport connection: An existing   connection was forcibly closed by the remote host.
    By the way, I don't know what the SafeInvoke method is, it may be an extension method, right? I used Invoke instead to test it.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Problem in sending HTTP request to the server.

    Hi,
    i dveloped an ant script for sar deployment.
    i deployed a sar to my local soa server with ant script. it got deployed succesfully..
    but when i try to deploy to a remote server, getting the below error..
    "Problem in sending HTTP request to the server. Please make sure the server is up and/or check standard HTTP response code for 404"
    but the server is up and runnig and i am able to ping it from my machine and also access the console...
    below is my script
    build.properties
    wn.bea.home=C:/Oracle/Middleware
    all.needed.jars.path=D:/SourceCode/neededJAR
    oracle.soa.home=C:/Oracle/Middleware/Oracle_SOA1
    java.passed.home=C:/Oracle/Middleware/jdk160_24
    #Deployment environment
    deployment.plan.environment=DEV
    #Deploy Action
    deployAction =redeploy
    #credentials
    user=weblogic
    password=welcome1
    #For Composite deployment
    serverURL=http://10.177.154.6:7001
    forceDefault=true
    server=10.177.154.6
    port=7001
    sarLocation=D:/SourceCode/JAR
    build.xml
    <?xml version="1.0" encoding="iso-8859-1"?>
    <project name="soaDeployAll" default="deployAll">
         <echo>basedir ${basedir}</echo>
         <property environment="env"/>
    <echo>current folder ${basedir}</echo>
         <property file="${basedir}/build.properties"/>
         <taskdef resource="net/sf/antcontrib/antlib.xml">
         <classpath>
              <pathelement location="${all.needed.jars.path}/ant-contrib.jar"/>           
         </classpath>
         </taskdef>
         <target name="init">
              <tstamp>
                   <format property="timestamp" pattern="yyyy-MM-dd_HH-mm-ss"/>
              </tstamp>
              <property name="build.log.dir" location="${basedir}/buildlogs"/>
              <mkdir dir="${build.log.dir}"/> <property name="build.log.filename" value="build_${timestamp}.log"/>
              <record name="${build.log.dir}/${build.log.filename}" loglevel="verbose" append="false"/>
              <echo message="Build logged to ${build.log.filename}"/>
         </target>
         <target name="deployAll" depends="init">
         <echo>Deploy for environment ${deployment.plan.environment}</echo>
         <antcall target="deployAllComposites"/>
    </target>
    <!-- Following Actions are performed for Composite files in Managed Server - Deploy,Redeploy -->
         <target name="deployAllComposites" depends="init">
         <foreach target="deployComposites" param="Files">
              <fileset dir="${sarLocation}" casesensitive="no" includes="*.jar"/>
         </foreach>
         </target>
         <target name="deployComposites" depends="init">
         <basename file="${Files}" property="basename"/>
    <echo>Deploy Project ${basename} for environment ${deployment.plan.environment}</echo>
              <if>
                   <equals arg1="${deployAction}" arg2="deploy" />
                   <then>
                        <echo message="Deploying composites in Managed server........." />
                        <ant antfile="${oracle.soa.home}/bin/ant-sca-deploy.xml" inheritAll="true" target="deploy">
                             <property name="serverURL" value="${serverURL}"/>
                             <property name="user" value="${user}"/>
                             <property name="password" value="${password}"/>
                             <property name="overwrite" value="false"/>
                             <property name="forceDefault" value="${forceDefault}"/>
                             <property name="sarLocation" value="${sarLocation}/${basename}"/>
                        </ant>
                   </then>
                   <else>
                        <echo message="ReDeploying composites in Managed server........." />
                        <ant antfile="${oracle.soa.home}/bin/ant-sca-deploy.xml" inheritAll="true" target="deploy">
                             <property name="serverURL" value="${serverURL}"/>
                             <property name="user" value="${user}"/>
                             <property name="password" value="${password}"/>
                             <property name="overwrite" value="true"/>
                             <property name="forceDefault" value="${forceDefault}"/>
                             <property name="sarLocation" value="${sarLocation}/${basename}"/>                         
                        </ant>
                   </else>
              </if>
    </target>
    </project>
    please help....

    Hi,
    Give the serverURL as http://<host>:<managed.server.port>/soa-infra/deployer and try.
    e.g . http://10.177.154.6:8001/soa-infra/deployer
    Regards,
    Neeraj Sehgal

  • How to list IP address from client on the Server (TCP/IP CLIENT SERVER COMMUNICATION)

    Excuse me,
    In this project I want to ask how to add list IP from client that connect to server.
    I have edited slightly the project.
    'SERVER
    Imports System.Net
    Imports System.Net.Sockets
    Imports System.Threading
    Imports System.Threading.Tasks
    Imports System.Reflection
    Public Class ServerForm
    Private _Listener As TcpListener
    Private _Connections As New List(Of ConnectionInfo)
    Private _ConnectionMonitor As Task
    Private Sub Button_Checked(sender As System.Object, e As System.EventArgs) Handles StartStopButton.CheckedChanged
    If StartStopButton.Checked Then
    StartStopButton.Text = "Stop"
    StartStopButton.Image = My.Resources.StopServer
    _Listener = New TcpListener(IPAddress.Any, CInt(PortTextBox.Text))
    _Listener.Start()
    Dim monitor As New MonitorInfo(_Listener, _Connections)
    ListenForClient(monitor)
    _ConnectionMonitor = Task.Factory.StartNew(AddressOf DoMonitorConnections, monitor, TaskContinuationOptions.LongRunning)
    Else
    StartStopButton.Text = "Start:"
    StartStopButton.Image = My.Resources.StartServer
    CType(_ConnectionMonitor.AsyncState, MonitorInfo).Cancel = True
    _Listener.Stop()
    _Listener = Nothing
    End If
    End Sub
    Private Sub PortTextBox_Validating(sender As Object, e As System.ComponentModel.CancelEventArgs) Handles PortTextBox.Validating
    Dim deltaPort As Integer
    If Not Integer.TryParse(PortTextBox.Text, deltaPort) OrElse deltaPort < 1 OrElse deltaPort > 65535 Then
    MessageBox.Show("Port number between 1 and 65535", "Invalid Port Number", MessageBoxButtons.OK, MessageBoxIcon.Exclamation)
    PortTextBox.SelectAll()
    e.Cancel = True
    End If
    End Sub
    Private Sub ListenForClient(monitor As MonitorInfo)
    Dim info As New ConnectionInfo(monitor)
    _Listener.BeginAcceptTcpClient(AddressOf DoAcceptClient, info)
    End Sub
    Private Sub DoAcceptClient(result As IAsyncResult)
    Dim monitorinfo As MonitorInfo = CType(_ConnectionMonitor.AsyncState, MonitorInfo)
    If monitorinfo.Listener IsNot Nothing AndAlso Not monitorinfo.Cancel Then
    Dim info As ConnectionInfo = CType(result.AsyncState, ConnectionInfo)
    monitorinfo.Connections.Add(info)
    info.AcceptClient(result)
    ListenForClient(monitorinfo)
    info.AwaitData()
    Dim doUpdateConnectionCountLabel As New Action(AddressOf UpdateConnectionCountLabel)
    Invoke(doUpdateConnectionCountLabel)
    End If
    End Sub
    Private Sub DoMonitorConnections()
    Dim doAppendOutput As New Action(Of String)(AddressOf AppendOutput)
    Dim doUpdateConnectionCountLabel As New Action(AddressOf UpdateConnectionCountLabel)
    Dim monitorInfo As MonitorInfo = CType(_ConnectionMonitor.AsyncState, MonitorInfo)
    Me.Invoke(doAppendOutput, "Server Started")
    Do
    Dim lostCount As Integer = 0
    For index As Integer = monitorInfo.Connections.Count - 1 To 0 Step -1
    Dim info As ConnectionInfo = monitorInfo.Connections(index)
    If info.Client.Connected Then
    If info.DataQueue.Count > 0 Then
    Dim messageBytes As New List(Of Byte)
    While info.DataQueue.Count > 0
    Dim value As Byte
    If info.DataQueue.TryDequeue(value) Then
    messageBytes.Add(value)
    End If
    End While
    Me.Invoke(doAppendOutput, "Message from IP: " + System.Text.Encoding.ASCII.GetString(messageBytes.ToArray))
    End If
    Else
    monitorInfo.Connections.Remove(info)
    lostCount += 1
    End If
    Next
    If lostCount > 0 Then
    Invoke(doUpdateConnectionCountLabel)
    End If
    _ConnectionMonitor.Wait(1)
    Loop While Not monitorInfo.Cancel
    For Each info As ConnectionInfo In monitorInfo.Connections
    info.Client.Close()
    Next
    monitorInfo.Connections.Clear()
    Invoke(doUpdateConnectionCountLabel)
    Me.Invoke(doAppendOutput, "Server Stoped")
    End Sub
    Private Sub UpdateConnectionCountLabel()
    ConnectionCountLabel.Text = String.Format("{0} Connections", _Connections.Count)
    End Sub
    Private Sub AppendOutput(message As String)
    If RichTextBox1.TextLength > 0 Then
    RichTextBox1.AppendText(ControlChars.NewLine)
    End If
    RichTextBox1.AppendText(message)
    RichTextBox1.ScrollToCaret()
    End Sub
    Private Sub ClearButton_Checked(sender As Object, e As EventArgs) Handles ClearButton.CheckedChanged
    If ClearButton.Checked Then
    RichTextBox1.Clear()
    End If
    End Sub
    End Class
    Public Class MonitorInfo
    Private _listener As TcpListener
    Public ReadOnly Property Listener As TcpListener
    Get
    Return _listener
    End Get
    End Property
    Private _connections As List(Of ConnectionInfo)
    Public ReadOnly Property Connections As List(Of ConnectionInfo)
    Get
    Return _connections
    End Get
    End Property
    Public Property Cancel As Boolean
    Public Sub New(tcpListener As TcpListener, connectionInfoList As List(Of ConnectionInfo))
    _listener = tcpListener
    _connections = connectionInfoList
    End Sub
    End Class
    Public Class ConnectionInfo
    Private _monitor As MonitorInfo
    Public ReadOnly Property Monitor As MonitorInfo
    Get
    Return _monitor
    End Get
    End Property
    Private _Client As TcpClient
    Public ReadOnly Property Client As TcpClient
    Get
    Return _Client
    End Get
    End Property
    Private _DataQueue As System.Collections.Concurrent.ConcurrentQueue(Of Byte)
    Public ReadOnly Property DataQueue As System.Collections.Concurrent.ConcurrentQueue(Of Byte)
    Get
    Return _DataQueue
    End Get
    End Property
    Private _Stream As NetworkStream
    Public ReadOnly Property Stream As NetworkStream
    Get
    Return _Stream
    End Get
    End Property
    Public Sub New(monitor As MonitorInfo)
    _monitor = monitor
    _DataQueue = New System.Collections.Concurrent.ConcurrentQueue(Of Byte)
    End Sub
    Private _LastReadLength As Integer
    Public ReadOnly Property LastReadLength As Integer
    Get
    Return _LastReadLength
    End Get
    End Property
    Private _Buffer(63) As Byte
    Public Sub AcceptClient(result As IAsyncResult)
    _Client = _monitor.Listener.EndAcceptTcpClient(result)
    If _Client IsNot Nothing AndAlso _Client.Connected Then
    _Stream = _Client.GetStream
    End If
    End Sub
    Public Sub AwaitData()
    _Stream.BeginRead(_Buffer, 0, _Buffer.Length, AddressOf DoReadData, Me)
    End Sub
    Private Sub DoReadData(result As IAsyncResult)
    Dim info As ConnectionInfo = CType(result.AsyncState, ConnectionInfo)
    Try
    If info.Stream IsNot Nothing AndAlso info.Stream.CanRead Then
    info._LastReadLength = info.Stream.EndRead(result)
    For Index As Integer = 0 To _LastReadLength - 1
    info._DataQueue.Enqueue(info._Buffer(Index))
    Next
    'info.SendMessage("Data Diterima " & info._LastReadLength & " Bytes")
    info.SendMessage("reply form server: " & info._LastReadLength & " Bytes")
    For Each otherInfo As ConnectionInfo In info.Monitor.Connections
    If Not otherInfo Is info Then
    otherInfo.SendMessage(System.Text.Encoding.ASCII.GetString(info._Buffer))
    End If
    Next
    info.AwaitData()
    Else
    info.Client.Close()
    End If
    Catch ex As Exception
    info._LastReadLength = -1
    End Try
    End Sub
    Private Sub SendMessage(message As String)
    If _Stream IsNot Nothing Then
    Dim messageData() As Byte = System.Text.Encoding.ASCII.GetBytes(message)
    Stream.Write(messageData, 0, messageData.Length)
    End If
    End Sub
    End Class
    'CLIENT
    Imports System.Net
    Imports System.Net.Sockets
    Public Class ClientForm
    Private _Connection As ConnectionInfo
    Private _ServerAddress As IPAddress
    Private Sub ClientForm_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
    ValidateChildren()
    End Sub
    Private Sub ConnectButton_Checked(sender As Object, e As System.EventArgs) Handles ConnectButton.CheckedChanged
    If ConnectButton.Checked Then
    If _ServerAddress IsNot Nothing Then
    ConnectButton.Text = "Disconnect"
    ConnectButton.Image = My.Resources.StopServer
    Try
    _Connection = New ConnectionInfo(_ServerAddress, CInt(PortTextBox.Text), AddressOf InvokeAppendOutput)
    _Connection.AwaitData()
    Catch ex As Exception
    MessageBox.Show(ex.Message, "Error Connecting to Server", MessageBoxButtons.OK, MessageBoxIcon.Exclamation)
    ConnectButton.Checked = False
    End Try
    Else
    MessageBox.Show("Invlid IP Server", "Cannt Connect to Server", MessageBoxButtons.OK, MessageBoxIcon.Exclamation)
    ConnectButton.Checked = False
    End If
    Else
    ConnectButton.Text = "Connect"
    ConnectButton.Image = My.Resources.StartServer
    If _Connection IsNot Nothing Then _Connection.Close()
    _Connection = Nothing
    End If
    End Sub
    Private Sub SendButton_Click(sender As System.Object, e As System.EventArgs) Handles SendButton.Click
    If _Connection IsNot Nothing AndAlso _Connection.Client.Connected AndAlso _Connection.Stream IsNot Nothing Then
    Dim buffer() As Byte = System.Text.Encoding.ASCII.GetBytes(InputTextBox.Text)
    _Connection.Stream.Write(buffer, 0, buffer.Length)
    End If
    End Sub
    Private Sub ServerTextBox_Validating(sender As Object, e As System.ComponentModel.CancelEventArgs) Handles IPTextBox.Validating
    _ServerAddress = Nothing
    Dim remoteHost As IPHostEntry = Dns.GetHostEntry(IPTextBox.Text)
    If remoteHost IsNot Nothing AndAlso remoteHost.AddressList.Length > 0 Then
    For Each deltaAddress As IPAddress In remoteHost.AddressList
    If deltaAddress.AddressFamily = AddressFamily.InterNetwork Then
    _ServerAddress = deltaAddress
    Exit For
    End If
    Next
    End If
    If _ServerAddress Is Nothing Then
    MessageBox.Show("Cannot resolve Server Address", "invalid Server", MessageBoxButtons.OK, MessageBoxIcon.Exclamation)
    IPTextBox.SelectAll()
    e.Cancel = True
    End If
    End Sub
    Private Sub PortTextBox_Validating(sender As Object, e As System.ComponentModel.CancelEventArgs) Handles PortTextBox.Validating
    Dim deltaPort As Integer
    If Not Integer.TryParse(PortTextBox.Text, deltaPort) OrElse deltaPort < 1 OrElse deltaPort > 65535 Then
    MessageBox.Show("Port number between 1 and 65535", "invalid Port number", MessageBoxButtons.OK, MessageBoxIcon.Exclamation)
    PortTextBox.SelectAll()
    e.Cancel = True
    End If
    End Sub
    Private Sub InvokeAppendOutput(message As String)
    Dim doAppendOutput As New Action(Of String)(AddressOf AppendOutput)
    Me.Invoke(doAppendOutput, message)
    End Sub
    Private Sub AppendOutput(message As String)
    If RichTextBox1.TextLength > 0 Then
    RichTextBox1.AppendText(ControlChars.NewLine)
    End If
    RichTextBox1.AppendText(message)
    RichTextBox1.ScrollToCaret()
    End Sub
    Private Sub ButtonClear_Click(sender As Object, e As EventArgs) Handles ButtonClear.Click
    RichTextBox1.Clear()
    InputTextBox.Clear()
    End Sub
    End Class
    Public Class ConnectionInfo
    Private _AppendMethod As Action(Of String)
    Public ReadOnly Property AppendMethod As Action(Of String)
    Get
    Return _AppendMethod
    End Get
    End Property
    Private _Client As TcpClient
    Public ReadOnly Property Client As TcpClient
    Get
    Return _Client
    End Get
    End Property
    Private _Stream As NetworkStream
    Public ReadOnly Property Stream As NetworkStream
    Get
    Return _Stream
    End Get
    End Property
    Private _LastReadLength As Integer
    Public ReadOnly Property LastReadLength As Integer
    Get
    Return _LastReadLength
    End Get
    End Property
    Private _Buffer(63) As Byte
    Public Sub New(address As IPAddress, port As Integer, append As Action(Of String))
    _AppendMethod = append
    _Client = New TcpClient
    _Client.Connect(address, port)
    _Stream = _Client.GetStream
    End Sub
    Public Sub AwaitData()
    _Stream.BeginRead(_Buffer, 0, _Buffer.Length, AddressOf DoreadData, Me)
    End Sub
    Public Sub Close()
    If _Client IsNot Nothing Then _Client.Close()
    _Client = Nothing
    _Stream = Nothing
    End Sub
    Private Sub DoreadData(result As IAsyncResult)
    Dim info As ConnectionInfo = CType(result.AsyncState, ConnectionInfo)
    Try
    If info._Stream IsNot Nothing AndAlso info._Stream.CanRead Then
    info._LastReadLength = info._Stream.EndRead(result)
    If info._LastReadLength > 0 Then
    Dim message As String = System.Text.Encoding.ASCII.GetString(info._Buffer)
    info._AppendMethod(message)
    End If
    info.AwaitData()
    End If
    Catch ex As Exception
    info._LastReadLength = -1
    info._AppendMethod(ex.Message)
    End Try
    End Sub
    End Class
    //ScreenShot server
    http://prntscr[dot]com/5t1ol3
    //Screenshot client
    http://prntscr[dot]com/5t1odj
    source: code[dot]msdn[dot]microsoft[dot]com/windowsdesktop/Simple-Multi-User-TCPIP-43cc3b44

    I have a similar chat application. When the user attempts to connect, instead of sending a simple string, the client sends a serialized object(xml string) with all relevant login and session information, this includes the user's IP address. Once the server
    receives said information, depending on the type of TCP broadcast (a custom enumerated type) information from one user may be passed to a single user, or distributed to many users.
    If it helps, here is the TCPBroadcast object I use. But in order for your server to understand it, you kind of have to build your server and client somewhat around it.
    Option Strict On
    Option Explicit On
    Option Infer Off
    Namespace TCPChat
    Public Class TCPBroadcast
    Public Property Message As String
    Public Property BroadCastTime As DateTime
    Public Property DestUser As String
    Public Property OriginUser As String
    Public Property PasswordHash As String
    Public Property BroadcastSourceIP As String
    Public Property BroadCastType As TCPBroadcastType
    Public Property LoginUserName As String
    Public Property FailureReason As String
    Public Function XmlEncoding() As String
    Dim serializer As New Xml.Serialization.XmlSerializer(GetType(TCPBroadcast))
    Dim XML As String = String.Empty
    Using memStream As New IO.MemoryStream
    Using xmlWriter As New Xml.XmlTextWriter(memStream, System.Text.Encoding.UTF8) With _
    {.Indentation = 4, .Formatting = System.Xml.Formatting.Indented}
    serializer.Serialize(xmlWriter, Me)
    End Using
    XML = System.Text.Encoding.UTF8.GetString(memStream.ToArray)
    End Using
    Return XML
    End Function
    Public Function ToBinary() As Byte()
    Return System.Text.Encoding.UTF8.GetBytes(Me.XmlEncoding)
    End Function
    Public Shared Function FromBinary(binary As Byte()) As DeserializationResult
    Dim xml As String = System.Text.Encoding.UTF8.GetString(binary)
    Return FromXML(xml)
    End Function
    Public Shared Function FromXML(xml As String) As DeserializationResult
    Dim DeserializationResult As New DeserializationResult
    DeserializationResult.Error = False
    Try
    Dim deserializer As New Xml.Serialization.XmlSerializer(GetType(TCPBroadcast))
    Dim buffer As Byte() = System.Text.Encoding.UTF8.GetBytes(xml)
    Using memStream As New IO.MemoryStream(buffer)
    DeserializationResult.tcpBroadCast = CType(deserializer.Deserialize(memStream), TCPBroadcast)
    End Using
    Catch ex As Exception
    DeserializationResult.Error = True
    DeserializationResult.ErrorMessage = ex.ToString
    DeserializationResult.AttemptedXML = xml
    End Try
    Return DeserializationResult
    End Function
    Public Class DeserializationResult
    Public [Error] As Boolean
    Public ErrorMessage As String
    Public tcpBroadCast As TCPBroadcast
    Public AttemptedXML As String
    Sub New()
    End Sub
    End Class
    Public Enum TCPBroadcastType
    AdministrativeMessage
    AuthenticationFailure
    AuthenticationSuccess
    ChatBroadcast
    CredentialsRequest
    Credentials
    DisconnectedByServer
    KeepAlive
    PrivateMessage
    ServerMessage
    SystemMessage
    UnableToProcessRequest
    End Enum
    End Class
    End Namespace
    “If you want something you've never had, you need to do something you've never done.”
    Don't forget to mark
    helpful posts and answers
    ! Answer an interesting question? Write a
    new article
    about it! My Articles
    *This post does not reflect the opinion of Microsoft, or its employees.

  • Unable to retrieve clouds on VMM server. Please make sure the server name is correct and try connecting again

    I getting this annoying error "Unable to retrieve clouds on VMM server. Please make sure the server name is correct and try connecting again."  I've followed the recommended documentation for setting up SPF and Azure using the following:
    http://www.hyper-v.nu/archives/mvaneijk/2013/01/installing-and-configuring-system-center-service-provider-foundation/
    I've gone thru the troubleshoot steps from the following:
    http://blogs.technet.com/b/scvmm/archive/2014/03/04/kb-the-windows-azure-pack-service-management-portal-does-not-retrieve-cloud-settings.aspx
    http://social.technet.microsoft.com/forums/windowsazure/en-US/363e7dae-7370-4605-bc8d-b98fa6dc9d8e/unable-to-register-vmm-server
    So you don't need to send me those links.
    I found a few others which pointed me to the event logs WindowsAzurePack\MGmtSVC-AdminAPi and AdminSite.  In these event logs, I see a lot of event ID 12 and 1046.  The contents of event id 12 is the following:
    Log Name:      Microsoft-WindowsAzurePack-MgmtSvc-AdminSite/Operational
    Source:        Microsoft-WindowsAzurePack-MgmtSvc-AdminSite
    Date:          6/19/2014 3:27:55 PM
    Event ID:      12
    Task Category: (65522)
    Level:         Error
    Keywords:      None
    User:          IIS APPPOOL\MgmtSvc-AdminSite
    Computer:      usw-azure-01.uswired.com
    Description:
    Error:ManagementClientException: Resource not found.
    <Exception>
      <Type>ManagementClientException</Type>
      <Message>Resource not found.</Message>
      <StackTrace><![CDATA[
       at Microsoft.WindowsAzure.Server.Management.ManagementClientBase.<ThrowIfResponseNotSuccessful>d__2b.MoveNext()
       at Microsoft.WindowsAzure.Management.TaskSequencer.<>c__DisplayClass1e`1.<RunSequenceAsync>b__1d(Task previousTask)
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.WindowsAzure.Server.SystemCenter.AdminExtension.Controllers.SystemCenterAdminController.<GetResourceProviderAsync>d__2e7.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.WindowsAzure.Server.SystemCenter.AdminExtension.Controllers.SystemCenterAdminController.<GetAutomationResourceProvider>d__2b6.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at lambda_method(Closure , Task )
       at System.Web.Mvc.Async.TaskAsyncActionDescriptor.EndExecute(IAsyncResult asyncResult)
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass3f.<BeginInvokeAsynchronousActionMethod>b__3e(IAsyncResult asyncResult)
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass37.<>c__DisplayClass39.<BeginInvokeActionMethodWithFilters>b__33()
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49()
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49()
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49()
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass37.<BeginInvokeActionMethodWithFilters>b__36(IAsyncResult asyncResult)
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass25.<>c__DisplayClass2a.<BeginInvokeAction>b__20()
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass25.<BeginInvokeAction>b__22(IAsyncResult asyncResult)]]></StackTrace>
      <HttpContext>
        <User IsAuthenticated="true" Name="USWIRED\Administrator" />
        <Request>
          <RawUrl>/SystemCenterAdmin/GetAutomationResourceProvider</RawUrl>
          <UserHostAddress>fe80::c179:19c8:c5f2:7309%12</UserHostAddress>
          <Headers>
            <Header Key="Cache-Control" Value="no-cache" />
            <Header Key="Connection" Value="Keep-Alive" />
            <Header Key="Content-Length" Value="2" />
            <Header Key="Content-Type" Value="application/json" />
            <Header Key="Accept" Value="application/json, text/javascript, */*; q=0.01" />
            <Header Key="Accept-Encoding" Value="gzip, deflate" />
            <Header Key="Accept-Language" Value="en-US" />
            <Header Key="Host" Value="usw-azure-01.uswired.com:30091" />
            <Header Key="Referer" Value="https://usw-azure-01.uswired.com:30091/" />
            <Header Key="User-Agent" Value="Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko" />
            <Header Key="x-ms-client-session-id" Value="c343c29d-20b1-412b-be94-879409205700" />
            <Header Key="x-ms-client-antiforgery-id" Value="0crwi2qNk20bMr6C04/vKd4L28WG1nd8JKBdOlCCp+xlph40YeL2oTdmeiTkPmE272S2dqmGQMNo+FElKkG2MdR0Xhq41RU/t8PrFjcG0Vgx4a8dgZLbfKVURo9n84F1XWtJOkTTUK/OeNVWBrK1+w=="
    />
            <Header Key="x-ms-client-request-id" Value="dcc427c7-40fc-4fdd-9a70-7622969ff40d-2014-06-19 22:27:55Z" />
            <Header Key="X-Requested-With" Value="XMLHttpRequest" />
            <Header Key="DNT" Value="1" />
            <Cookies>
              <Cookie Name="AdminSiteFedAuth" Secure="false" Expires="0001-01-01T00:00:00Z" Domain="" Path="/" Value="Redacted (2000 characters)" />
              <Cookie Name="AdminSiteFedAuth1" Secure="false" Expires="0001-01-01T00:00:00Z" Domain="" Path="/" Value="Redacted (424 characters)" />
              <Cookie Name="__RequestVerificationToken_Admin" Secure="false" Expires="0001-01-01T00:00:00Z" Domain="" Path="/" Value="Redacted (128 characters)" />
            </Cookies>
          </Headers>
        </Request>
      </HttpContext>
    </Exception>, operationName:SystemCenterAdmin.GetAutomationResourceProvider, version:, accept language:en-US, subscription Id:, client request Id:dcc427c7-40fc-4fdd-9a70-7622969ff40d-2014-06-19 22:27:55Z, principal Id:USWIRED\Administrator, page request
    Id:c343c29d-20b1-412b-be94-879409205700, server request id:
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-WindowsAzurePack-MgmtSvc-AdminSite" Guid="{5E78D550-1384-5A96-C12A-CB6DA7BC6365}" />
        <EventID>12</EventID>
        <Version>0</Version>
        <Level>2</Level>
        <Task>65522</Task>
        <Opcode>0</Opcode>
        <Keywords>0x0</Keywords>
        <TimeCreated SystemTime="2014-06-19T22:27:55.971935000Z" />
        <EventRecordID>399</EventRecordID>
        <Correlation ActivityID="{FAA512AF-E0A9-4F2A-80EF-09F72D2F7918}" />
        <Execution ProcessID="3424" ThreadID="2308" />
        <Channel>Microsoft-WindowsAzurePack-MgmtSvc-AdminSite/Operational</Channel>
        <Computer>usw-azure-01.uswired.com</Computer>
        <Security UserID="S-1-5-82-4118156790-2181488624-806685255-2797011695-3958995103" />
      </System>
      <EventData>
        <Data Name="message">ManagementClientException: Resource not found.
    &lt;Exception&gt;
      &lt;Type&gt;ManagementClientException&lt;/Type&gt;
      &lt;Message&gt;Resource not found.&lt;/Message&gt;
      &lt;StackTrace&gt;&lt;![CDATA[
       at Microsoft.WindowsAzure.Server.Management.ManagementClientBase.&lt;ThrowIfResponseNotSuccessful&gt;d__2b.MoveNext()
       at Microsoft.WindowsAzure.Management.TaskSequencer.&lt;&gt;c__DisplayClass1e`1.&lt;RunSequenceAsync&gt;b__1d(Task previousTask)
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.WindowsAzure.Server.SystemCenter.AdminExtension.Controllers.SystemCenterAdminController.&lt;GetResourceProviderAsync&gt;d__2e7.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.WindowsAzure.Server.SystemCenter.AdminExtension.Controllers.SystemCenterAdminController.&lt;GetAutomationResourceProvider&gt;d__2b6.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at lambda_method(Closure , Task )
       at System.Web.Mvc.Async.TaskAsyncActionDescriptor.EndExecute(IAsyncResult asyncResult)
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.&lt;&gt;c__DisplayClass3f.&lt;BeginInvokeAsynchronousActionMethod&gt;b__3e(IAsyncResult asyncResult)
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.&lt;&gt;c__DisplayClass37.&lt;&gt;c__DisplayClass39.&lt;BeginInvokeActionMethodWithFilters&gt;b__33()
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.&lt;&gt;c__DisplayClass4f.&lt;InvokeActionMethodFilterAsynchronously&gt;b__49()
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.&lt;&gt;c__DisplayClass4f.&lt;InvokeActionMethodFilterAsynchronously&gt;b__49()
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.&lt;&gt;c__DisplayClass4f.&lt;InvokeActionMethodFilterAsynchronously&gt;b__49()
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.&lt;&gt;c__DisplayClass37.&lt;BeginInvokeActionMethodWithFilters&gt;b__36(IAsyncResult asyncResult)
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.&lt;&gt;c__DisplayClass25.&lt;&gt;c__DisplayClass2a.&lt;BeginInvokeAction&gt;b__20()
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.&lt;&gt;c__DisplayClass25.&lt;BeginInvokeAction&gt;b__22(IAsyncResult asyncResult)]]&gt;&lt;/StackTrace&gt;
      &lt;HttpContext&gt;
        &lt;User IsAuthenticated="true" Name="USWIRED\Administrator" /&gt;
        &lt;Request&gt;
          &lt;RawUrl&gt;/SystemCenterAdmin/GetAutomationResourceProvider&lt;/RawUrl&gt;
          &lt;UserHostAddress&gt;fe80::c179:19c8:c5f2:7309%12&lt;/UserHostAddress&gt;
          &lt;Headers&gt;
            &lt;Header Key="Cache-Control" Value="no-cache" /&gt;
            &lt;Header Key="Connection" Value="Keep-Alive" /&gt;
            &lt;Header Key="Content-Length" Value="2" /&gt;
            &lt;Header Key="Content-Type" Value="application/json" /&gt;
            &lt;Header Key="Accept" Value="application/json, text/javascript, */*; q=0.01" /&gt;
            &lt;Header Key="Accept-Encoding" Value="gzip, deflate" /&gt;
            &lt;Header Key="Accept-Language" Value="en-US" /&gt;
            &lt;Header Key="Host" Value="usw-azure-01.uswired.com:30091" /&gt;
            &lt;Header Key="Referer" Value="https://usw-azure-01.uswired.com:30091/" /&gt;
            &lt;Header Key="User-Agent" Value="Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko" /&gt;
            &lt;Header Key="x-ms-client-session-id" Value="c343c29d-20b1-412b-be94-879409205700" /&gt;
            &lt;Header Key="x-ms-client-antiforgery-id" Value="0crwi2qNk20bMr6C04/vKd4L28WG1nd8JKBdOlCCp+xlph40YeL2oTdmeiTkPmE272S2dqmGQMNo+FElKkG2MdR0Xhq41RU/t8PrFjcG0Vgx4a8dgZLbfKVURo9n84F1XWtJOkTTUK/OeNVWBrK1+w=="
    /&gt;
            &lt;Header Key="x-ms-client-request-id" Value="dcc427c7-40fc-4fdd-9a70-7622969ff40d-2014-06-19 22:27:55Z" /&gt;
            &lt;Header Key="X-Requested-With" Value="XMLHttpRequest" /&gt;
            &lt;Header Key="DNT" Value="1" /&gt;
            &lt;Cookies&gt;
              &lt;Cookie Name="AdminSiteFedAuth" Secure="false" Expires="0001-01-01T00:00:00Z" Domain="" Path="/" Value="Redacted (2000 characters)" /&gt;
              &lt;Cookie Name="AdminSiteFedAuth1" Secure="false" Expires="0001-01-01T00:00:00Z" Domain="" Path="/" Value="Redacted (424 characters)" /&gt;
              &lt;Cookie Name="__RequestVerificationToken_Admin" Secure="false" Expires="0001-01-01T00:00:00Z" Domain="" Path="/" Value="Redacted (128 characters)" /&gt;
            &lt;/Cookies&gt;
          &lt;/Headers&gt;
        &lt;/Request&gt;
      &lt;/HttpContext&gt;
    &lt;/Exception&gt;</Data>
        <Data Name="requestId">
        </Data>
        <Data Name="subscriptionId">
        </Data>
        <Data Name="clientRequestId">dcc427c7-40fc-4fdd-9a70-7622969ff40d-2014-06-19 22:27:55Z</Data>
        <Data Name="principalId">USWIRED\Administrator</Data>
        <Data Name="version">
        </Data>
        <Data Name="pageRequestId">c343c29d-20b1-412b-be94-879409205700</Data>
        <Data Name="acceptLanguage">en-US</Data>
        <Data Name="operationName">SystemCenterAdmin.GetAutomationResourceProvider</Data>
      </EventData>
    </Event>
    Event ID 1046 is 
    Log Name:      Microsoft-WindowsAzurePack-MgmtSvc-AdminSite/Operational
    Source:        Microsoft-WindowsAzurePack-MgmtSvc-AdminSite
    Date:          6/19/2014 3:32:56 PM
    Event ID:      1046
    Task Category: (116)
    Level:         Error
    Keywords:      None
    User:          IIS APPPOOL\MgmtSvc-AdminSite
    Computer:      usw-azure-01.uswired.com
    Description:
    Could not connect to Resource Provider. Error: Resource not found.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-WindowsAzurePack-MgmtSvc-AdminSite" Guid="{5E78D550-1384-5A96-C12A-CB6DA7BC6365}" />
        <EventID>1046</EventID>
        <Version>0</Version>
        <Level>2</Level>
        <Task>116</Task>
        <Opcode>0</Opcode>
        <Keywords>0x0</Keywords>
        <TimeCreated SystemTime="2014-06-19T22:32:56.854137500Z" />
        <EventRecordID>413</EventRecordID>
        <Correlation ActivityID="{C20DBEAD-388F-4CF4-80FD-21C6419CC2F1}" />
        <Execution ProcessID="3424" ThreadID="2768" />
        <Channel>Microsoft-WindowsAzurePack-MgmtSvc-AdminSite/Operational</Channel>
        <Computer>usw-azure-01.uswired.com</Computer>
        <Security UserID="S-1-5-82-4118156790-2181488624-806685255-2797011695-3958995103" />
      </System>
      <EventData>
        <Data Name="errorMessage">Resource not found.</Data>
      </EventData>
    </Event>
    The other thing I notice is that when trying to connect to the VMM. It's trying to use domain\username, yet when I try logging in with domain\username via the SCVMM Console. I get the  You cannot access VMM management server (Error ID: 1604).
     I'm not sure if this is why I can not add the VMM to WAP.  Any help would be appreciated.  Thanks
    Nick

    Hello,
    I am not sure about the answer but I guess these steps will solve your problem:
    1) Log in to the SPF server by using an account that is a member of the SPF_Admin local group.
    2) Open an elevated Windows PowerShell window.
    3) Type the following commands, and press Enter after you type each command:
    Import-module spfadmin
    New-SCSPFTenant -Name Administrator -SubscriptionId 00000000-0000-0000-0000-000000000000
    4) Close the WAP Server Management Portal, and then reconnect to it to update all items.

  • File download from the server

    I have this page(in a distributive application) that checks the status of files on the server. These are hyperlinked and I am trying to allow the users to download the files. I can see the files, and the links but can't download a file or "save target as.." option.
    I have added an .xml file in the configuration directory of my application server(JBoss). I can download the files on the same computer, but if I can't do that from other computer. I got this .xml file from online search, someone suggested to use this in order to allow for download option.
    <?xml version='1.0' encoding='utf-8'?>
    <Context debug="99" docBase="/home/jboss-4.0.5.GA/bin/Fastran" path="/Fastran" reloadable="true">
    </Context>Can I get some help in this regard ? The files are created in the application server folder, should I change the destination for resultant files outside of the server folder ?
    Thanks.

    <%
            String userFolder = applicationId.getUserEmail() + applicationId.getSessionId() ;
            for (int i = 0 ; i < Integer.parseInt(applicationId.getSpecValue()) ; i ++)
                int j = i + 1 ;
                File spec = new File("C:\\jboss-4.0.5.GA\\bin\\Fastran\\" + userFolder + "\\ftn07_" + (i+1)) ;
                if (spec.exists() == true)
                    //out.println("") ;
                %>
                <a href = "<%= destFile %><%= j %>"><% out.println("ftn07_" + j); %></a><br>
                <%
                else
                    out.println("File not found") ;
        %>
    and here is how i get to the destFile:
    <%
         String destFile = "C:\\jboss-4.0.5.GA\\bin\\Fastran\\" + applicationId.getUserEmail() + applicationId.getSessionId() + "\\ftn07_" ;
            String destSum = "C:\\jboss-4.0.5.GA\\bin\\Fastran\\" + applicationId.getUserEmail() + applicationId.getSessionId() + "\\DamageSummary.txt" ;
        %>

  • The server name osr_server1 is unknown to the administration server

    I have successfully installed OSR and created WLS Domain using config.cmd. But when I try to start by command line (startManagedWebLogic.cmd osr_server1) I got the error "server is unknown". I have no idea what could be wrong.
    Basically I followed http://niallcblogs.blogspot.com.br/2010/09/oracle-service-registry-and-osb11g.html.
    The complete command line is:
    C:\Oracle\Middleware\user_projects\domains\base_domain\bin>startManagedWebLogic.
    cmd osr_server1
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=
    48m -XX:MaxPermSize=128m
    WLS Start Mode=Development
    CLASSPATH=C:\Oracle\MIDDLE~1\patch_wls1036\profiles\default\sys_manifest_classpa
    th\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_oepe180\profiles\default\sys_mani
    fest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_ocp371\profiles\defau
    lt\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_adfr1111\p
    rofiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\JDK
    160~1\lib\tools.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\
    Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\Oracle\MIDDLE~1\modules\fe
    atures\weblogic.server.modules_10.3.6.0.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server
    \lib\webservices.jar;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;C:\Or
    acle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\Oracle\MIDDLE~1\WLSERV
    ~1.3\common\derby\lib\derbyclient.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\x
    qrl.jar;C:\Program Files\Java\jdk1.7.0_09\jre\lib
    PATH=C:\Oracle\MIDDLE~1\patch_wls1036\profiles\default\native;C:\Oracle\MIDDLE~1
    \patch_oepe180\profiles\default\native;C:\Oracle\MIDDLE~1\patch_ocp371\profiles\
    default\native;C:\Oracle\MIDDLE~1\patch_adfr1111\profiles\default\native;C:\Orac
    le\MIDDLE~1\WLSERV~1.3\server\native\win\32;C:\Oracle\MIDDLE~1\WLSERV~1.3\server
    \bin;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1\bin;C:\Oracle\MIDDLE~1\JDK160~1\jre\b
    in;C:\Oracle\MIDDLE~1\JDK160~1\bin;C:\Oracle\product\11.1.0\client_1\bin;C:\Wind
    ows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowe
    rShell\v1.0\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program File
    s\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Micr
    osoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft Visual Studio 9.0\Co
    mmon7\IDE\PrivateAssemblies\;c:\Program Files\Microsoft SQL Server\90\Tools\binn
    \;C:\Program Files\Java\jdk1.7.0_09\bin;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\nat
    ive\win\32\oci920_8
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    java version "1.6.0_29"
    Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
    Java HotSpot(TM) Client VM (build 20.4-b02, mixed mode)
    Starting WLS with line:
    C:\Oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThre
    shold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m -Dweblogic.Name=osr_server1 -D
    java.security.policy=C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -D
    weblogic.security.SSL.trustedCAKeyStore="C:\Oracle\Middleware\wlserver_10.3\serv
    er\lib\cacerts" -Xverify:none -da -Dplatform.home=C:\Oracle\MIDDLE~1\WLSERV~1.
    3 -Dwls.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=C:\Oracle\MIDD
    LE~1\WLSERV~1.3\server -Dweblogic.management.discover=false -Dweblogic.managem
    ent.server=http://SISTEMA026:7001 -Dwlw.iterativeDev=false -Dwlw.testConsole=fa
    lse -Dwlw.logErrorsToConsole=false -Dweblogic.ext.dirs=C:\Oracle\MIDDLE~1\patch_
    wls1036\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~1\patch_oepe
    180\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~1\patch_ocp371\p
    rofiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~1\patch_adfr1111\prof
    iles\default\sysext_manifest_classpath weblogic.Server
    <19/11/2012 18h40min53s BRST> <Info> <Security> <BEA-090905> <Disabling CryptoJ
    JCE Provider self-integrity check for better startup performance. To enable this
    check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
    <19/11/2012 18h40min53s BRST> <Info> <Security> <BEA-090906> <Changing the defau
    lt Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable
    this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
    <19/11/2012 18h40min53s BRST> <Info> <WebLogicServer> <BEA-000377> <Starting Web
    Logic Server with Java HotSpot(TM) Client VM Version 20.4-b02 from Sun Microsyst
    ems Inc.>
    <19/11/2012 18h40min53s BRST> <Info> <Security> <BEA-090065> <Getting boot ident
    ity from user.>
    Enter username to boot WebLogic server:weblogic_osr2
    Enter password to boot WebLogic server:
    <19/11/2012 18h41min23s BRST> <Info> <Management> <BEA-141107> <Version: WebLogi
    c Server 10.3.6.0 Tue Nov 15 08:52:36 PST 2011 1441050 >
    <19/11/2012 18h41min24s BRST> <Emergency> <Management> <BEA-141151> <The admin s
    erver could not be reached at http://SISTEMA026:7001.>
    <19/11/2012 18h41min24s BRST> <Critical> <WebLogicServer> <BEA-000362> <Server f
    ailed. Reason:
    There are 1 nested errors:
    weblogic.management.ManagementException: The server name osr_server1 is unknown
    to the administration server. Check if restart is required.
    at weblogic.management.provider.internal.RuntimeAccessImpl.initialize(Ru
    ntimeAccessImpl.java:447)
    at weblogic.management.provider.internal.RuntimeAccessService.start(Runt
    imeAccessService.java:49)
    at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesMan
    ager.java:461)
    at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServ
    icesManager.java:166)
    at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:881)
    at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:568)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:469)
    at weblogic.Server.main(Server.java:71)
    >
    <19/11/2012 18h41min24s BRST> <Notice> <WebLogicServer> <BEA-000365> <Server sta
    te changed to FAILED>
    <19/11/2012 18h41min24s BRST> <Error> <WebLogicServer> <BEA-000383> <A critical
    service failed. The server will shut itself down>
    <19/11/2012 18h41min24s BRST> <Notice> <WebLogicServer> <BEA-000365> <Server sta
    te changed to FORCE_SHUTTING_DOWN>

    Yes, there are the tags you have suggested. The complete config.xml is below.
    I tried:
    C:\Oracle\Middleware\user_projects\domains\base_domain\bin>startManagedWebLogic.
    cmd osr_server1
    When asked the user, I tried the node-manager-username weblogic_osr2 and the admin user but I always received the error: The server name osr_server1 is unknown to the administration server.
    <?xml version="1.0" encoding="UTF-8" ?>
    - <domain xsi:schemaLocation="http://xmlns.oracle.com/weblogic/security/wls http://xmlns.oracle.com/weblogic/security/wls/1.0/wls.xsd http://xmlns.oracle.com/weblogic/domain http://xmlns.oracle.com/weblogic/1.0/domain.xsd http://xmlns.oracle.com/weblogic/security http://xmlns.oracle.com/weblogic/1.0/security.xsd http://xmlns.oracle.com/weblogic/security/xacml http://xmlns.oracle.com/weblogic/security/xacml/1.0/xacml.xsd" xmlns="http://xmlns.oracle.com/weblogic/domain" xmlns:sec="http://xmlns.oracle.com/weblogic/security" xmlns:wls="http://xmlns.oracle.com/weblogic/security/wls" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <name>base_domain</name>
    <domain-version>10.3.6.0</domain-version>
    - <security-configuration>
    <name>base_domain</name>
    - <realm xmlns:pas="http://xmlns.oracle.com/weblogic/security/providers/passwordvalidator">
    <sec:authentication-provider xsi:type="wls:default-authenticatorType" />
    - <sec:authentication-provider xsi:type="wls:default-identity-asserterType">
    <sec:active-type>AuthenticatedUser</sec:active-type>
    </sec:authentication-provider>
    <sec:role-mapper xsi:type="wls:default-role-mapperType" />
    <sec:authorizer xsi:type="wls:default-authorizerType" />
    <sec:adjudicator xsi:type="wls:default-adjudicatorType" />
    <sec:credential-mapper xsi:type="wls:default-credential-mapperType" />
    <sec:cert-path-provider xsi:type="wls:web-logic-cert-path-providerType" />
    <sec:cert-path-builder>WebLogicCertPathProvider</sec:cert-path-builder>
    <sec:name>myrealm</sec:name>
    - <sec:password-validator xsi:type="pas:system-password-validatorType">
    <sec:name>systemPasswordValidator</sec:name>
    <pas:min-password-length>8</pas:min-password-length>
    <pas:min-numeric-or-special-characters>1</pas:min-numeric-or-special-characters>
    </sec:password-validator>
    </realm>
    <default-realm>myrealm</default-realm>
    <credential-encrypted>{AES}LArhcMlb7Jdt2zQbNnzLdi3luhgdNyPJS1JIVb9H+VWi5XcC9SP4SQa/8mp/SKI072DoA/sGnzvYDqpn3OxQl3pE0LxaXoOmYNnWsSv/keo8I0rMvrXWJXqn4fbSl9bd</credential-encrypted>
    *<node-manager-username>weblogic_osr2</node-manager-username>*
    <node-manager-password-encrypted>{AES}1SioVLWu3mu/u6y/You1ZGeBTXJHfUCq+loZSCVOdSE=</node-manager-password-encrypted>
    </security-configuration>
    - <server>
    <name>AdminServer</name>
    <listen-address />
    </server>
    - <server>
    *<name>osr_server1</name>*
    <listen-port>7101</listen-port>
    <listen-address>sistema026.br-lihi.libertyinternational.com</listen-address>
    </server>
    - <embedded-ldap>
    <name>base_domain</name>
    <credential-encrypted>{AES}C+0tyHN5wihXjDHQKdQt/5PvYpko8rS0PL6wSSvp3sHLZscRB1RjSNL8MXfHHjwW</credential-encrypted>
    </embedded-ldap>
    <configuration-version>10.3.6.0</configuration-version>
    - <app-deployment>
    <name>registry</name>
    <target>osr_server1</target>
    <module-type>war</module-type>
    <source-path>C:\Oracle\Middleware\registry111/conf/porting/weblogic/build/registry.war</source-path>
    <deployment-order>195</deployment-order>
    <security-dd-model>DDOnly</security-dd-model>
    </app-deployment>
    <admin-server-name>AdminServer</admin-server-name>
    - <jdbc-system-resource>
    <name>jdbc/registryDS</name>
    <target>osr_server1</target>
    <descriptor-file-name>jdbc/registry-20121119171422-jdbc.xml</descriptor-file-name>
    </jdbc-system-resource>
    </domain>

  • Discoveryd process uses 100% CPU - Safari Can't find the server

    Hello
    Since upgrading to Yosemite, I lose connection to the internet 2 or 3 times a day. (Outlook goes offline at the same time)
    This is with a wired connection. (Wi-Fi is turned off)
    Safari gives me the "Safari Can't Find the Server" message.
    Restarting the computer solves the issue temporarily.
    While I'm unable to connect to the internet, Activity Monitor shows a process named "discoveryd" that uses 100% CPU.
    Force quitting this process gives me back access to the internet instantly. Unfortunately, I suffered a kernel panic (auto restart) a few minutes after force quitting discoveryd. I'm not 100% sure those 2 are related but it would be an odd coincidence as I never experienced had a single kernel on that system. Haven't tried force quitting that process since.
    I'm using this iMac in a work environment. (Connected to a windows file server and exchange)
    This issue has been happening 2-3 times a day since the day I upgraded to Yosemite.
    Any pointers on what could fix this issue ?
    Thanks

    Start time: 10:04:31 11/11/14
    Model Identifier: iMac11,3
    System Version: OS X 10.10 (14A389)
    Kernel Version: Darwin 14.0.0
    Time since boot: 1:39
    SATA
       WDC WD1001FALS-40Y6A0                  
    USB
       USB-PS/2 Optical Mouse (Logitech Inc.)
    Diagnostic reports
       2014-10-30 Adobe InDesign CC 2014 hang
       2014-10-30 Adobe InDesign CS6 hang
       2014-10-30 Adobe InDesign CS6 crash
       2014-10-30 FileMaker Pro hang x5
       2014-10-30 Finder crash* x2
       2014-10-30 Finder hang
       2014-10-30 Microsoft Outlook hang
       2014-10-30 iTunes hang
       2014-10-31 Adobe InDesign CC 2014 hang
       2014-11-04 Adobe InDesign CC 2014 crash x2
       2014-11-04 Adobe InDesign CC 2014 hang
       2014-11-04 Adobe InDesign CS6 crash x2
       2014-11-04 Microsoft Excel hang
       2014-11-05 Adobe InDesign CS6 hang
       2014-11-05 FileMaker Pro hang
       2014-11-10 Adobe InDesign CC 2014 hang
       2014-11-10 FileMaker Pro hang
       2014-11-11 Adobe Illustrator hang
        * Code injection
    Log
       Nov  5 08:25:33 ** GPU Hardware VM is disabled (multispace: disabled, page table updates with DMA: disabled)
       Nov  5 10:07:01 process discoveryd[49] thread 1190 caught burning CPU! It used more than 50% CPU (Actual recent usage: 82%) over 180 seconds. thread lifetime cpu usage 91.907001 seconds, (77.250009 user, 14.656992 system) ledger info: balance: 90001960650 credit: 91780798965 debit: 1778838315 limit: 90000000000 (50%) period: 180000000000 time since last refill (ns): 109240779280
       Nov  5 10:09:03 ** GPU Hardware VM is disabled (multispace: disabled, page table updates with DMA: disabled)
       Nov  5 11:46:47 process discoveryd[49] thread 1256 caught burning CPU! It used more than 50% CPU (Actual recent usage: 99%) over 180 seconds. thread lifetime cpu usage 91.591946 seconds, (75.959886 user, 15.632060 system) ledger info: balance: 90000109700 credit: 91486467544 debit: 1486357844 limit: 90000000000 (50%) period: 180000000000 time since last refill (ns): 90105095085
       Nov  5 11:54:53 PM notification timeout (pid 275, Creative Cloud)
       Nov  5 11:54:53 PM notification timeout (pid 344, Adobe CEF Helper)
       Nov  5 11:54:53 PM notification timeout (pid 343, Adobe CEF Helper)
       Nov  5 12:35:03 jnl: b(1, 2): replay_journal: from: 57934848 to: 61127168 (joffset 0x1721c000)
       Nov  5 12:35:03 jnl: b(1, 2): journal replay done.
       Nov  5 12:38:37 jnl: b(1, 2): replay_journal: from: 61127168 to: 67488768 (joffset 0x1721c000)
       Nov  5 12:38:37 jnl: b(1, 2): journal replay done.
       Nov  5 12:38:40 ** GPU Hardware VM is disabled (multispace: disabled, page table updates with DMA: disabled)
       Nov  5 13:26:28 process mdworker32[357] thread 8766 caught burning CPU! It used more than 85% CPU (Actual recent usage: 86%) over 40 seconds. thread lifetime cpu usage 81.048638 seconds, (76.580865 user, 4.467773 system) ledger info: balance: 34001309838 credit: 80940733771 debit: 46939423933 limit: 34000000000 (85%) period: 40000000000 time since last refill (ns): 39339579198 [fatal violation]
       Nov  5 14:26:53 PM notification timeout (pid 231, Creative Cloud)
       Nov  5 14:26:53 PM notification timeout (pid 325, Adobe CEF Helper)
       Nov  5 14:26:53 PM notification timeout (pid 326, Adobe CEF Helper)
       Nov  5 14:45:49 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov  5 14:45:49 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov  5 14:47:27 process discoveryd[49] thread 1023 caught burning CPU! It used more than 50% CPU (Actual recent usage: 99%) over 180 seconds. thread lifetime cpu usage 91.572722 seconds, (77.540749 user, 14.031973 system) ledger info: balance: 90015163759 credit: 91483527972 debit: 1468364213 limit: 90000000000 (50%) period: 180000000000 time since last refill (ns): 90121915160
       Nov  5 15:13:33 ** GPU Hardware VM is disabled (multispace: disabled, page table updates with DMA: disabled)
       Nov  6 08:25:36 ** GPU Hardware VM is disabled (multispace: disabled, page table updates with DMA: disabled)
       Nov  6 11:59:36 PM notification timeout (pid 286, Creative Cloud)
       Nov  6 11:59:36 PM notification timeout (pid 355, Adobe CEF Helper)
       Nov  6 11:59:36 PM notification timeout (pid 356, Adobe CEF Helper)
       Nov  6 12:29:24 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov  6 12:29:24 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov  6 12:29:24 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov  6 12:29:24 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov  6 12:29:24 smbsmb2_sm2_b_parse_smchabnge_no_tipfary: ssmb_er_chq_replya failngeed_n ot6if0
       Nov  6 12:29:24 y: smb_rq_reply failed 60
       Nov  6 12:29:24 smb2_ssmmb2_b_spmabr_sparsee_c_hancgeh_naotinfgy: smb_rq_re_epnlyoti failfedy :60 sm
       Nov  6 12:29:24 b_rq_reply failed 60
       Nov  6 12:29:24 rs failed Qsmumber2b_sy m_Inrqfbo __pa60rr
       Nov  6 12:29:24 rse_change_notify: smb_rq_reply failed 60
       Nov  6 12:29:24 ply failed 60smb2_smb_parse_change
       Nov  6 12:29:24 _notify: smsmb_rq_reply failb2_ed smb_6parse_0
       Nov  6 12:29:24 ply failed smb2_smb_pa60
       Nov  6 12:29:24 rse_change_nsmb2otif_smy:b_ spmb_rq_reply failedars e_c60han
       Nov  6 12:29:24 ge_notify: smb_smb2_smb_parse_chrqange__repnotify: smb_rly fq_ailed reply failed 60
       Nov  6 12:29:24 smb2_smb_parssmb2_e_smbchange_pa_nrsote_chifany:ge _nosmb_tifrq_y:re smplb_y rq_fareilply failed 60
       Nov  6 12:29:24 y failed 60
       Nov  6 12:29:24 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov  6 12:29:24 q_reply failed 60
       Nov  6 12:29:24 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov  6 12:29:24 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov  6 12:29:24 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov  6 14:01:02 process discoveryd[49] thread 1259 caught burning CPU!; EXC_RESOURCE supressed due to audio playback
       Nov  6 15:49:49 ** GPU Hardware VM is disabled (multispace: disabled, page table updates with DMA: disabled)
       Nov  6 16:10:23 process Adobe InDesign C[435] caught causing excessive wakeups. Observed wakeups rate (per sec): 309; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 45011
       Nov  7 08:25:38 ** GPU Hardware VM is disabled (multispace: disabled, page table updates with DMA: disabled)
       Nov 10 09:28:46 process discoveryd[49] thread 1195 caught burning CPU! It used more than 50% CPU (Actual recent usage: 99%) over 180 seconds. thread lifetime cpu usage 152.284113 seconds, (127.648543 user, 24.635570 system) ledger info: balance: 90002963251 credit: 152063056684 debit: 62060093433 limit: 90000000000 (50%) period: 180000000000 time since last refill (ns): 90142287445
       Nov 10 09:42:09 ** GPU Hardware VM is disabled (multispace: disabled, page table updates with DMA: disabled)
       Nov 10 11:20:45 process discoveryd[49] thread 1182 caught burning CPU! It used more than 50% CPU (Actual recent usage: 99%) over 180 seconds. thread lifetime cpu usage 150.526060 seconds, (126.552866 user, 23.973194 system) ledger info: balance: 90000111985 credit: 150369654672 debit: 60369542687 limit: 90000000000 (50%) period: 180000000000 time since last refill (ns): 90164134478
       Nov 10 12:14:06 PM notification timeout (pid 261, Creative Cloud)
       Nov 10 12:14:06 PM notification timeout (pid 332, Adobe CEF Helper)
       Nov 10 12:14:06 PM notification timeout (pid 333, Adobe CEF Helper)
       Nov 10 12:43:27 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 12:43:27 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 12:43:27 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 12:43:27 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 12:43:27 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 12:43:27 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 12:43:27 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 12:43:27 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 12:43:27 y failed 60
       Nov 10 12:43:27 failed mb60
       Nov 10 12:43:27 smb_rq_reply failed 60
       Nov 10 12:43:27 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 12:43:27 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 12:43:27 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 12:43:27 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 12:43:27 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 12:43:27 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 12:43:27 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 12:43:27 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 12:43:27 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 12:43:27 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 12:43:27 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 12:43:27 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 12:43:27 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 12:43:27 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 12:43:27 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 12:43:27 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 12:43:27 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 12:43:27 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 12:43:27 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 12:43:27 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 12:43:27 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 12:43:27 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 12:43:27 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 12:46:06 process WindowServer[121] caught causing excessive wakeups. EXC_RESOURCE supressed due to audio playback
       Nov 10 12:49:29 jnl: b(1, 2): replay_journal: from: 27704832 to: 35355648 (joffset 0x1721c000)
       Nov 10 12:49:29 jnl: b(1, 2): journal replay done.
       Nov 10 12:54:05 jnl: b(1, 2): replay_journal: from: 35355648 to: 40313344 (joffset 0x1721c000)
       Nov 10 12:54:05 jnl: b(1, 2): journal replay done.
       Nov 10 12:54:08 ** GPU Hardware VM is disabled (multispace: disabled, page table updates with DMA: disabled)
       Nov 10 14:31:43 PM notification timeout (pid 232, Creative Cloud)
       Nov 10 14:31:43 PM notification timeout (pid 327, Adobe CEF Helper)
       Nov 10 14:31:43 PM notification timeout (pid 324, Adobe CEF Helper)
       Nov 10 15:07:47 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 15:07:47 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 15:07:47 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 15:07:47 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 15:07:47 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 15:07:47 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 15:07:47 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 15:07:47 : smb_rq_reply failesmbd 2_smb_60
       Nov 10 15:07:47 parse_change_notify: smb_rq_reply failed 60
       Nov 10 15:07:47 tify: smb_rq_reply failed 60
       Nov 10 15:07:47 smb2_smb_parse_change_nsotify:mb2 sm_b_rq_reply sfailmed b60
       Nov 10 15:07:47 _parse_change_notify: smbsmb2_rq__rsepmb_parsly failee_d ch60ange_notify
       Nov 10 15:07:47 : smb_rq_reply failed 60
       Nov 10 15:07:47 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 15:07:47 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 15:07:47 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 15:47:46 process discoveryd[49] thread 1013 caught burning CPU! It used more than 50% CPU (Actual recent usage: 99%) over 180 seconds. thread lifetime cpu usage 153.503446 seconds, (128.774521 user, 24.728925 system) ledger info: balance: 90007455004 credit: 153327303891 debit: 63319848887 limit: 90000000000 (50%) period: 180000000000 time since last refill (ns): 90099512937
       Nov 11 08:25:38 ** GPU Hardware VM is disabled (multispace: disabled, page table updates with DMA: disabled)
       Nov 11 09:38:05 process Adobe InDesign C[553] caught causing excessive wakeups. Observed wakeups rate (per sec): 283; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 45017
       Nov 10 14:31:43 PM notification timeout (pid 327, Adobe CEF Helper)
       Nov 10 14:31:43 PM notification timeout (pid 324, Adobe CEF Helper)
       Nov 10 14:31:43 com.apple.dpd: Service exited with abnormal code: 75
       Nov 10 15:07:47 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 15:07:47 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 15:07:47 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 15:07:47 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 15:07:47 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 15:07:47 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 15:07:47 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 15:07:47 : smb_rq_reply failesmbd 2_smb_60
       Nov 10 15:07:47 parse_change_notify: smb_rq_reply failed 60
       Nov 10 15:07:47 tify: smb_rq_reply failed 60
       Nov 10 15:07:47 smb2_smb_parse_change_nsotify:mb2 sm_b_rq_reply sfailmed b60
       Nov 10 15:07:47 _parse_change_notify: smbsmb2_rq__rsepmb_parsly failee_d ch60ange_notify
       Nov 10 15:07:47 : smb_rq_reply failed 60
       Nov 10 15:07:47 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 15:07:47 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 15:07:47 smb2_smb_parse_change_notify: smb_rq_reply failed 60
       Nov 10 15:47:46 process discoveryd[49] thread 1013 caught burning CPU! It used more than 50% CPU (Actual recent usage: 99%) over 180 seconds. thread lifetime cpu usage 153.503446 seconds, (128.774521 user, 24.728925 system) ledger info: balance: 90007455004 credit: 153327303891 debit: 63319848887 limit: 90000000000 (50%) period: 180000000000 time since last refill (ns): 90099512937
       Nov 10 16:47:01 com.apple.WebKit.Networking.UUID: Service exited with abnormal code: 1
       Nov 11 08:25:37 com.apple.Kerberos.kdc: Service exited with abnormal code: 1
       Nov 11 08:25:38 ** GPU Hardware VM is disabled (multispace: disabled, page table updates with DMA: disabled)
       Nov 11 08:56:36 com.apple.dpd: Service exited with abnormal code: 75
       Nov 11 09:38:05 process Adobe InDesign C[553] caught causing excessive wakeups. Observed wakeups rate (per sec): 283; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 45017
    CPU per process: com.apple.WebKit (UID 501) is using 41.2  %
    Daemons
       com.apple.installer.osmessagetracing
       com.microsoft.office.licensing.helper
       com.adobe.fpsaud
    Agents
       com.adobe.CS4ServiceManager
       com.adobe.AdobeCreativeCloud
       com.adobe.ARM.UUID
       com.adobe.ARM.UUID
       com.apple.Safari
       com.adobe.ARM.UUID
       com.google.keystone.user.agent
       com.apple.AirPortBaseStationAgent
    App extensions
       com.apple.InternalFiltersXPC
    Contents of /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist (checksum 461455494)
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
        <key>Label</key>
        <string>com.adobe.AdobeCreativeCloud</string>
        <key>Program</key>
        <string>/Applications/Utilities/Adobe Creative Cloud/ACC/Creative Cloud.app/Contents/MacOS/Creative Cloud</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Applications/Utilities/Adobe Creative Cloud/ACC/Creative Cloud.app/Contents/MacOS/Creative Cloud</string>
        <string>--showwindow=false</string>
              <string>--onOSstartup=true</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
       </dict>
       </plist>
    Contents of Library/LaunchAgents/com.adobe.AAM.Updater-1.0.plist (checksum 4071182229)
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
        <dict>
         <key>Label</key>
         <string>com.adobe.AAM.Scheduler-1.0</string>
         <key>Program</key>
         <string>/Library/Application Support/Adobe/OOBE/PDApp/UWA/UpdaterStartupUtility</string>
         <key>ProgramArguments</key>
         <array>
            <string>/Library/Application Support/Adobe/OOBE/PDApp/UWA/UpdaterStartupUtility</string>
            <string>-mode=scheduled</string>
         </array>
         <key>StartCalendarInterval</key>
         <dict>
           <key>Minute</key>
           <integer>0</integer>
           <key>Hour</key>
           <integer>2</integer>
         </dict>
        </dict>
       </plist>
    Contents of Library/LaunchAgents/com.adobe.ARM.UUID.plist (checksum 394026997)
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
        <key>Label</key>
        <string>com.adobe.ARM.UUID</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Applications/Adobe Reader.app/Contents/MacOS/Updater/Adobe Reader Updater Helper.app/Contents/MacOS/Adobe Reader Updater Helper</string>
        <string>semi-auto</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        <key>StartInterval</key>
        <integer>12600</integer>
       </dict>
       </plist>
    Contents of Library/LaunchAgents/com.adobe.ARM.UUID.plist (checksum 4116814193)
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
        <key>Label</key>
        <string>com.adobe.ARM.UUID</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Applications/Adobe Acrobat XI Pro/Adobe Acrobat Pro.app/Contents/MacOS/Updater/Adobe Acrobat Updater Helper.app/Contents/MacOS/Adobe Acrobat Updater Helper</string>
        <string>semi-auto</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        <key>StartInterval</key>
        <integer>12600</integer>
       </dict>
       </plist>
    Contents of Library/LaunchAgents/com.adobe.ARM.UUID.plist (checksum 926752576)
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
        <key>Label</key>
        <string>com.adobe.ARM.UUID</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Applications/Adobe Acrobat X Pro/Adobe Acrobat Pro.app/Contents/MacOS/Updater/Adobe Acrobat Updater Helper.app/Contents/MacOS/Adobe Acrobat Updater Helper</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        <key>StartInterval</key>
        <integer>12600</integer>
       </dict>
       </plist>
    Contents of Library/LaunchAgents/com.apple.SafariBookmarksSyncer.plist (checksum 4209634474)
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
        <key>Label</key>
        <string>com.apple.Safari</string>
        <key>LimitLoadToSessionType</key>
        <string>Aqua</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Applications/Safari.app/Contents/SafariSyncClient.app/Contents/MacOS/S afariSyncClient</string>
        <string>--sync</string>
        <string>com.apple.Safari</string>
        <string>--entitynames</string>
        <string>com.apple.bookmarks.Bookmark,com.apple.bookmarks.Folder</string>
        </array>
        <key>RunAtLoad</key>
        <false/>
        <key>ThrottleInterval</key>
        <integer>60</integer>
        <key>WatchPaths</key>
        <array>
        <string>/Users/USER/Library/Safari/Bookmarks.plist</string>
        </array>
       </dict>
       ...and 1 more line(s)
    Contents of Library/LaunchAgents/com.google.keystone.agent.plist (checksum 64800286)
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
        <key>Label</key>
        <string>com.google.keystone.user.agent</string>
        <key>LimitLoadToSessionType</key>
        <string>Aqua</string>
        <key>ProgramArguments</key>
        <array>
         <string>/Users/USER/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bu ndle/Contents/Resources/GoogleSoftwareUpdateAgent.app/Contents/MacOS/GoogleSoftw areUpdateAgent</string>
         <string>-runMode</string>
         <string>ifneeded</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        <key>StartInterval</key>
        <integer>3523</integer>
        <key>StandardErrorPath</key>
        <string>/dev/null</string>
        <key>StandardOutPath</key>
        <string>/dev/null</string>
       </dict>
       </plist>
    Bad plists
       Library/Preferences/com.apple.iphotomosaic.plist
    Listeners
       launchd: afpovertcp
       launchd: afpovertcp
       launchd: microsoft-ds
       launchd: ssh
       launchd: microsoft-ds
       launchd: ssh
       kdc: kerberos
    User login items
       Microsoft Outlook
       - /Applications/Microsoft Office 2011/Microsoft Outlook.app
       TransmitMenu
       - /Applications/Transmit.app/Contents/MacOS/TransmitMenu.app
       ClipMenu
       - /Applications/ClipMenu.app
       Dept
       - /Volumes/Dept
       Public
       - /Volumes/Public
       Apps
       - /Volumes/Apps
    Restricted files: 4584
    Lockfiles: 99
    Elapsed time (s): 352

  • Restlet Error "The server has not found anything matching the request URI"

    I want to serve some static html pages along with my restlet services from the same app ( running in Tomcat )
    Here is my web.xml
    <?xml version="1.0" encoding="UTF-8"?> 
    <web-app id="WebApp_ID" version="2.4" 
                xmlns="http://java.sun.com/xml/ns/j2ee" 
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
                xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
                     http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> 
       <display-name>first steps servlet</display-name> 
       <!-- Application class name --> 
       <context-param> 
          <param-name>org.restlet.application</param-name> 
          <param-value> 
             firstSteps.FirstStepsApplication 
          </param-value> 
       </context-param> 
       <!-- Restlet adapter --> 
       <servlet> 
          <servlet-name>RestletServlet</servlet-name> 
          <servlet-class> 
             org.restlet.ext.servlet.ServerServlet 
          </servlet-class> 
       </servlet> 
       <!-- Catch all requests --> 
       <servlet-mapping> 
          <servlet-name>RestletServlet</servlet-name> 
          <url-pattern>/*</url-pattern> 
       </servlet-mapping> 
    </web-app>
    Here is my Application router class
    public class FirstStepsApplication extends Application
         @Override
         public synchronized Restlet createInboundRoot()
              Router router = new Router(getContext());
              // Defines only one route
              router.attach("/hello", HelloWorldResource.class);
              router.attach("/login", LoginResource.class);
              router.attach("/", BasicResource.class);
              return router;
    }I've gone back to the basic first steps example.
    It works fine if the url pattern is <url-pattern>/*</url-pattern>
    localhost/rest/login returns a string from my LoginResource, same too for /hello
    However a static html page I have /Mypage.html does not get returned when I enter the URL /MyPage.html
    However, if I then modify the url pattern to be
    <url-pattern>/login</url-pattern>
    and then enter the url /MyPage.html I will get the html page.
    But ...... I get the error "The server has not found anything matching the request URI" when I enter the url /login which worked ok the first case.
    What must I do in order for both Restlet & Static HTML resources to work together?
    Thanks ... J

    yes, basicResource is my own class. It's a catch all for restlet requests that don't match any of the other ones. It just returns String = "My catch all resource"
    Because you highlighted it I decided to try and remove it from my Restlet Router. Presto, it now works, the login & hello requests are serviced by my Restlet resources and the MyPage.html requests are served the mypage.html file. This now brings another question. If from my servlet mapping in web.xml all urls are to be handled by restlet "/*", how then does a mypage.html request not get serviced by my restlet? Seems to be just passed through the restlet framework when there is no router to match it? what do you think?

  • Generating a PDF of what the user sees, and sending it as a binary stream to the server

    Hi All,
    On the final page of our Flex app, we allow the user to print out a copy of everything they've entered for their own records.
    I'm wondering if there is a way for me, programmatically, to generate a PDF document that is the same as their printout (I pass a particular container to the "print" button I've got for the user), and send those bytes back to the server.  We can store this PDF along with all the rest of their data, and it would be useful as a "snapshot" of exactly what the user saw when they submitted their application.
    I'm looking into Flex PDF generation, but so far haven't gotten this figured out.  I thought some folks here might be able to point me in the right direction.
    Thanks!
      -Josh

    Here is how you can take a snapshot.
    import mx.graphics.ImageSnapshot;
    import mx.graphics.codec.IImageEncoder;
    import mx.graphics.codec.PNGEncoder;
    import mx.utils.Base64Encoder;
    private function uploadImage(rSource:IBitmapDrawable):void
                        var tBitmapData:BitmapData = ImageSnapshot.captureBitmapData(rSource);
                        var tEnc:IImageEncoder = new PNGEncoder();
                        var tBA:ByteArray = tEnc.encode(tBitmapData);
                        var tB64:Base64Encoder = new Base64Encoder();
                        tB64.encodeBytes(tBA);
                        // send tB64.toString() using POST to the server to save the image.
    // call
    uploadImage(this) // where parameter is an object to get the snapshot of. Can be anything including Application. ("this" in my case).

  • Adobe Flash Media Live Encode support the HDV format?

    Hi,
    I have a Sony PMW-EX1 that I would like to use as a video source. However when I select the device (connected via iLink / Firewire) I get an error saying the video format is not supported. Sony have decided to only output HDV on this camera, and therefore I cannot 'downgrade' the output to DV.
    Do Adobe Flash Media Live Encode support the HDV format?
    Thanks,
    William.

    Can you check if firewall is on machine where Flash Media Server is installed? I mean it needs to off or you need to allow port 1935 and 80 so that you allow incoming traffic to FMS on this ports.

  • Problem of Starting the Server

    I just downloaded
    j2eesdk-1_4_02_2005Q2-windows.exe
    to my windows machine and insatlled it.
    When I started the verifying of Server by going to "Start menu, choose Programs -> Sun Microsystems -> Application Server PE-> Start Default Server", I did get the message as follows:
    "Domain domain1 is ready to receive client requests. Additional services are being started in the background.....Press any key to continue"
    But when I ran "http://localhost:8080", I got an error page with something like "can't find the web site".
    I even tried to use "http://my real IP address here:8080", and I got the same error.
    Could anyone tell me what might be the problem? Do I need to set up something somewhere else?
    Thanks a lot

    BTW, the server.log file gives me these messages:
    [#|2005-10-13T11:24:12.828-0500|WARNING|sun-appserver-pe8.1_02|javax.enterprise.tools.launcher|_ThreadID=10;|LAUNCHER005:Spaces in your PATH have been detected. The PATH must be consistently formated (e.g. C:\Program Files\Java\jdk1.5.0\bin; ) or the Appserver may not be able to start and/or stop.  Mixed quoted spaces in your PATH can cause problems, so the launcher will remove all double quotes before invoking the process. The most reliable solution would be to remove all spaces from your path before starting the Appservers components.  |#]
    [#|2005-10-13T11:24:12.828-0500|INFO|sun-appserver-pe8.1_02|javax.enterprise.tools.launcher|_ThreadID=10;|
    C:/Sun/AppServer/jdk\bin\java
    -client
    -Xmx512m
    -XX:NewRatio=2
    -Dcom.sun.aas.defaultLogFile=C:/Sun/AppServer/domains/domain1/logs/server.log
    -Djava.endorsed.dirs=C:/Sun/AppServer/lib/endorsed
    -Djava.security.policy=C:/Sun/AppServer/domains/domain1/config/server.policy
    -Djava.security.auth.login.config=C:/Sun/AppServer/domains/domain1/config/login.conf
    -Dsun.rmi.dgc.server.gcInterval=3600000
    -Dsun.rmi.dgc.client.gcInterval=3600000
    -Djavax.net.ssl.keyStore=C:/Sun/AppServer/domains/domain1/config/keystore.jks
    -Djavax.net.ssl.trustStore=C:/Sun/AppServer/domains/domain1/config/cacerts.jks
    -Djava.ext.dirs=C:/Sun/AppServer/jdk/jre/lib/ext;C:/Sun/AppServer/domains/domain1/lib/ext
    -Djdbc.drivers=com.pointbase.jdbc.jdbcUniversalDriver
    -Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
    -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
    -Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
    -Dcom.sun.enterprise.taglisteners=jsf-impl.jar
    -Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
    -Dcom.sun.aas.configName=server-config
    -Dorg.xml.sax.parser=org.xml.sax.helpers.XMLReaderAdapter
    -Ddomain.name=domain1
    -Djmx.invoke.getters=true
    -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
    -Dcom.sun.aas.promptForIdentity=true
    -Dorg.xml.sax.driver=com.sun.org.apache.xerces.internal.parsers.SAXParser
    -Dcom.sun.aas.instanceRoot=C:/Sun/AppServer/domains/domain1
    -Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
    -Dcom.sun.aas.domainName=domain1
    -Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
    -Dproduct.name=Sun-Java-System/Application-Server
    -Dcom.sun.enterprise.overrideablejavaxpackages=javax.faces,javax.servlet.jsp.jstl,javax.xml.bind,javax.help
    -Dcom.sun.aas.configRoot=C:/Sun/AppServer/config
    -Djava.library.path=C:\Sun\AppServer\jdk\jre\bin\client;C:\Sun\AppServer\lib;C:\Sun\AppServer\lib;C:\Sun\AppServer\jdk\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Sun\AppServer\lib;C:\Sun\AppServer\bin;C:\Sun\AppServer\lib;C:\Sun\AppServer\bin;C:\Sun\AppServer\bin;C:\Sun\AppServer\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Java\j2re1.4.2_09\bin;C:\Program Files\Java\j2re1.4.2_09\javaws;C:\Program Files\ATI Technologies\ATI Control Panel;C:\putty;C:\Sun\AppServer\bin;.
    -Dcom.sun.aas.instanceName=server
    -Dcom.sun.aas.processLauncher=SE
    -cp
    C:/Sun/AppServer/jdk/lib/tools.jar;C:/Sun/AppServer/lib/appserv-rt.jar;C:/Sun/AppServer/lib\activation.jar;C:/Sun/AppServer/lib\admin-cli.jar;C:/Sun/AppServer/lib\appserv-admin.jar;C:/Sun/AppServer/lib\appserv-cmp.jar;C:/Sun/AppServer/lib\appserv-ext.jar;C:/Sun/AppServer/lib\appserv-jstl.jar;C:/Sun/AppServer/lib\appserv-upgrade.jar;C:/Sun/AppServer/lib\commons-launcher.jar;C:/Sun/AppServer/lib\commons-logging.jar;C:/Sun/AppServer/lib\dom.jar;C:/Sun/AppServer/lib\j2ee-svc.jar;C:/Sun/AppServer/lib\j2ee.jar;C:/Sun/AppServer/lib\jax-qname.jar;C:/Sun/AppServer/lib\jaxr-api.jar;C:/Sun/AppServer/lib\jaxr-impl.jar;C:/Sun/AppServer/lib\jaxrpc-api.jar;C:/Sun/AppServer/lib\jaxrpc-impl.jar;C:/Sun/AppServer/lib\jmxremote.jar;C:/Sun/AppServer/lib\jmxremote_optional.jar;C:/Sun/AppServer/lib\jsf-api.jar;C:/Sun/AppServer/lib\jsf-impl.jar;C:/Sun/AppServer/lib\mail.jar;C:/Sun/AppServer/lib\relaxngDatatype.jar;C:/Sun/AppServer/lib\rmissl.jar;C:/Sun/AppServer/lib\saaj-api.jar;C:/Sun/AppServer/lib\saaj-impl.jar;C:/Sun/AppServer/lib\xalan.jar;C:/Sun/AppServer/lib\xercesImpl.jar;C:/Sun/AppServer/lib\xsdlib.jar;C:/Sun/AppServer/lib/install/applications/jmsra/imqjmsra.jar;C:/Sun/AppServer/imq/lib/jaxm-api.jar;C:/Sun/AppServer/imq/lib/fscontext.jar;C:/Sun/AppServer/lib/ant/lib/ant.jar;C:/Sun/AppServer/pointbase/lib/pbclient.jar;C:/Sun/AppServer/pointbase/lib/pbembedded.jar
    com.sun.enterprise.server.PEMain
    start
    display
    native|#]
    [#|2005-10-13T11:24:16.234-0500|INFO|sun-appserver-pe8.1_02|javax.enterprise.resource.jms|_ThreadID=10;|JMS5023: JMS service successfully started. Instance Name = imqbroker, Home = [C:\Sun\AppServer\imq\bin].|#]
    [#|2005-10-13T11:24:16.234-0500|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.core|_ThreadID=10;|CORE5098: AS Socket Service Initialization has been completed.|#]
    [#|2005-10-13T11:24:16.750-0500|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM0001:MBeanServer initialized successfully|#]
    [#|2005-10-13T11:24:17.203-0500|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.core.security|_ThreadID=10;|SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.|#]
    [#|2005-10-13T11:24:17.609-0500|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|Created virtual server server|#]
    [#|2005-10-13T11:24:17.625-0500|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|Created virtual server __asadmin|#]
    [#|2005-10-13T11:24:18.296-0500|INFO|sun-appserver-pe8.1_02|javax.enterprise.resource.corba.S1AS-ORB.rpc.transport|_ThreadID=10;|"IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/3700"|#]
    [#|2005-10-13T11:24:18.312-0500|INFO|sun-appserver-pe8.1_02|javax.enterprise.resource.corba.S1AS-ORB.rpc.transport|_ThreadID=10;|"IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/3820"|#]
    [#|2005-10-13T11:24:18.312-0500|INFO|sun-appserver-pe8.1_02|javax.enterprise.resource.corba.S1AS-ORB.rpc.transport|_ThreadID=10;|"IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/3920"|#]
    [#|2005-10-13T11:24:18.984-0500|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.core.transaction|_ThreadID=10;|JTS5014: Recoverable JTS instance, serverId = [3700]|#]
    [#|2005-10-13T11:24:21.562-0500|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM1079: Initialization of AMX MBeans successful|#]
    [#|2005-10-13T11:24:22.703-0500|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.ejb|_ThreadID=10;|Instantiated container for: ejbName: MEJBBean; containerId: 74004224866254848|#]
    [#|2005-10-13T11:24:22.843-0500|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.core.classloading|_ThreadID=10;|LDR5010: All ejb(s) of [MEjbApp] loaded successfully!|#]
    [#|2005-10-13T11:24:22.984-0500|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.ejb|_ThreadID=10;|Instantiated container for: ejbName: TimerBean; containerId: 74004225324023808|#]
    [#|2005-10-13T11:24:23.500-0500|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.ejb|_ThreadID=10;|EJB5109:EJB Timer Service started successfully for datasource [jdbc/__TimerPool]|#]
    [#|2005-10-13T11:24:23.500-0500|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.core.classloading|_ThreadID=10;|LDR5010: All ejb(s) of [__ejb_container_timer_app] loaded successfully!|#]
    [#|2005-10-13T11:24:23.515-0500|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0302: Starting Sun-Java-System/Application-Server.|#]
    [#|2005-10-13T11:24:23.578-0500|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [__default-admingui] in virtual server [__asadmin] at []|#]
    [#|2005-10-13T11:24:23.640-0500|WARNING|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0500: default-locale attribute of locale-charset-info element has been deprecated and is being ignored. Use default-charset attribute of parameter-encoding element instead|#]
    [#|2005-10-13T11:24:23.703-0500|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [adminapp] in virtual server [__asadmin] at [web1]|#]
    [#|2005-10-13T11:24:23.718-0500|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [admingui] in virtual server [__asadmin] at [asadmin]|#]
    [#|2005-10-13T11:24:23.718-0500|WARNING|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0500: default-locale attribute of locale-charset-info element has been deprecated and is being ignored. Use default-charset attribute of parameter-encoding element instead|#]
    [#|2005-10-13T11:24:23.718-0500|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [com_sun_web_ui] in virtual server [__asadmin] at [com_sun_web_ui]|#]
    [#|2005-10-13T11:24:23.812-0500|INFO|sun-appserver-pe8.1_02|org.apache.catalina.core.StandardEngine|_ThreadID=10;|Starting Servlet Engine: Sun-Java-System/Application-Server|#]
    [#|2005-10-13T11:24:24.671-0500|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0703: Initializing Sun-Java-System/Application-Server-PE HTTP/1.1 on 8080|#]
    [#|2005-10-13T11:24:24.687-0500|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0712: Starting Sun-Java-System/Application-Server-PE HTTP/1.1 on 8080|#]
    [#|2005-10-13T11:24:24.734-0500|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0703: Initializing Sun-Java-System/Application-Server-PE HTTP/1.1 on 8181|#]
    [#|2005-10-13T11:24:24.750-0500|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0712: Starting Sun-Java-System/Application-Server-PE HTTP/1.1 on 8181|#]
    [#|2005-10-13T11:24:24.796-0500|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0703: Initializing Sun-Java-System/Application-Server-PE HTTP/1.1 on 4848|#]
    [#|2005-10-13T11:24:24.796-0500|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0712: Starting Sun-Java-System/Application-Server-PE HTTP/1.1 on 4848|#]

  • SSRS in SharePoint2013:Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModule

    SSRS in SharePoint2013: There is a report in SharePoint and it contains a sub-report and the sub-report hyperlink. When I click the hyperlink to go to the sub-report, after >10min, I click the "Back to.." button
    on IE to go to the previous page. Then it catch the error as:
    Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.
    Details: Error parsing near '
    <!DOCTYPE html PUB'.
    I am using SQL2012 and Sharpoint2013.

    Hi Alisa,
    Thanks for your reply, I changed the web.config, but the issue did not resolved. 
    I add the codes in two parts of the web.config as below, you can find in by keywords “aspnet:MaxHttpCollectionKeys”
    This issue can not reproduce on Chrome only occur on IE.
    So, do you have some details suggestion for me to fix it?
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <configuration>
    <configSections>
    <sectionGroup name="SharePoint">
    </sectionGroup>
    <location path="_layouts/15/TA_AppMonitoringDetails.aspx">
    <appSettings>
    <add key="ChartImageHandler" value="storage=memory;timeout=20" />
    </appSettings>
    </location>
    <location path="_layouts/15/ReportServer/RSViewerPage.aspx">
    <appSettings>
    <add key="aspnet:MaxHttpCollectionKeys" value="10000" />
    </appSettings>
    </location>
    <system.net>
    <defaultProxy />
    </system.net>
    <appSettings>
    <add key="aspnet:MaxHttpCollectionKeys" value="10000" />
    <add key="aspnet:RestrictXmlControls" value="true" />
    <add key="FeedCacheTime" value="300" />
    <add key="FeedPageUrl" value="/_layouts/15/feed.aspx?" />
    <add key="FeedXsl1" value="/Style Library/Xsl Style Sheets/Rss.xsl" />
    <add key="ReportViewerMessages" value="Microsoft.SharePoint.Portal.Analytics.UI.ReportViewerMessages, Microsoft.SharePoint.Portal, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
    </appSettings>

  • Encoding in Application Server

    Hi
    What is the significance of the parameter Encoding in the application servers? Is that parameter value actually telling the application server that it has to treat all the incoming request parameters as UTF-8 encoded values?
    I think within an application server we can also instruct the server that certain J2EE containers (or request path) should be treated as UTF-8 encoded and other containers (or request path) should be treated as ISO-8859. What is the best practice for an Internationalized application? Is it to have the default as UTF-8 and override certain request for certain containers (request path) to be treated as ISO-8859.
    Please let me know.
    Thanks & Regards
    Prasanna Kumar

    I think its solely on the discretion of the developer to set the required encoding parameter.
    In JSP :
    <%@ page contentType="text/html; charset=UTF-8" %>
    Also in case you are using struts then in the reset method of ur ActionForm you may do ...
    request.setCharacterEncoding("UTF-8");
    So u r in control of what encoding type u want.

Maybe you are looking for

  • I dropped my iPhone 4 and now it won't turn on it all.

    I've shook it to see if it's broken inside and i dont hear anything. The charger won't bring it on and it's not cracked or scratched. What can I try to get it to turn on? Will they fix it at the apple store for free or will there be a fee?

  • M4E different problem

    I have problems with the M4E plug-in on a E51 and E65. I have it up and running and it works fine on Mail, calendar, tasks BUT for some reason it will only sync 27 contacts, I have been moved from Lotus notes to exchange just 2 months ago, but I can

  • A few people with activation problems is an understatment

    After calling att around 12 times and still no activation. The pay as you go plan is a crock. Att says you have to come into the store to set up a pay as you go plan because you may have to place a deposit.Hmm, lets see. I buy the phone. I would have

  • HTML file manager/ browse button

    I want a user to be able to upload a .jpg file with php from a flash page. But how does one create a "browse" capability from Flash so they can select their file?

  • FRM:92101 and forms service disabled.

    Hi, Fresh installation R12 (12.0.4) in SUSE Linux 9. I am getting login page. I exported once the ORACLE_SID, ORACLE_HOME,ORACLE_OWNER, PATH, LD_LIBRARY_PATH. Even then forms services couldn't start it. while strat from INST_TOP/admin/scripts/sh adst