Error 500 calling an ES

Hi experts,
I have a BPM in XI that calls an ES many times. The standard ESs called are the Create Project Create Network an Create Activity. The BPM calls first of all the create project, then calls the create network, once for each network realted to the main project and then calls the create activity once for each activity realated to each network.
The BPM works fine for few networks and activities, but when calling many networks and activities it returns an error 500 of conection. It will be because the project object gets blocked when its called many times in a little period of time. Do you know how can avoid this problem?
Regards
Gonzalo

Hi experts,
I have a BPM in XI that calls an ES many times. The standard ESs called are the Create Project Create Network an Create Activity. The BPM calls first of all the create project, then calls the create network, once for each network realted to the main project and then calls the create activity once for each activity realated to each network.
The BPM works fine for few networks and activities, but when calling many networks and activities it returns an error 500 of conection. It will be because the project object gets blocked when its called many times in a little period of time. Do you know how can avoid this problem?
Regards
Gonzalo

Similar Messages

  • Error 500 calling an ES from a BPM

    Hi experts,
    I have a BPM in XI that calls an ES many times. The standard ESs called are the Create Project Create Network an Create Activity. The BPM calls first of all the create project, then calls the create network, once for each network realted to the main project and then calls the create activity once for each activity realated to each network.
    The BPM works fine for few networks and activities, but when calling many networks and activities it returns an error 500 of conection. It will be because the project object gets blocked when its called many times in a little period of time.  I think it's not due to the XML or related because if I do the same process but with a wait step between each send it works fine. Do you know how can avoid this problem?
    Regards
    Gonzalo

    ou are working with XI 3.0 or 7.0. If you have one XI installation across different network domains, host names may not be resolvable across network domains depending on your network setup. For the XI inter-component communication, URLs registered in the System Landscape Directory (SLD) are used.
    XI Tools, Integration Engine and XI Adapter Engine register their URLs in the SLD in different ways:
    XI Tools: Hostname and port used by the Tools (RWB, Integration Builder -Repository and -Directory) are stored in the Exchange Profile. During J2EE system restart they get self registered in the SLD using the values defined there.
    XI Adapter Engine: In case of the XI Adapter Engine, these URLs are automatically entered to the SLD as part of the Adapter Framework self registration process. Host and port are taken from the J2EE server.
    In most cases the host name in these URLs is not fully qualified whereas in cross-domain scenarios fully qualified host names are required.
    Solution
    The problem can be solved in most cases by forcing the XI self-registration to use fully qualified host names.
    For XI Integration Builder, Integration Engine and Runtime Workbench, you accomplish this by entering fully qualified host names in the XI Exchange Profile, then initiating a new self-registration (restarting the J2EE engine).
    For the Adapter Engine, the approach is different: Change the properties "SLD.selfregistration.httpPort", "SLD.selfregistration.httpsPort" and "SLD.selfregistration.hostName" of the J2EE service SAP XI AF CPA Cache. Enter the fully qualified host name under which the Adapter Engine can be reached from all relevant network domains. Do this in the Visual Administrator of the J2EE Engine.  Then restart the applications "com.sap.aii.af.cpa.app" and "com.sap aii.af.app", or restart the complete J2EE engine. This triggers a new Adapter Engine self-registration.
    Go in the Integration Server (IS) to transaction "SXI_CACHE -> Goto -> Adapter-Engine-Cache" and delete the old Adapter Engine cache entries. After that the cache is refreshed from SLD as soon as a new message in sent to the respective Adapter Engine.
    Check: After restart, navigate in SLD through "Content Maintenance -> XIAdapter Framework" to your Adapter Engine.  As part of the "associated instances" you find e.g. at "XI  Adapter Service XIRA -> Associated Instances -> Port for XIRA of af.<SID>.<hostname>" the new URL with the fully qualified host name.
    regards
    chandra

  • Internal system error 500 in Adapter call

    Hi Guys,
                  I am processing the following scenario in XI
    File -> XI -> SAP R/3
    User place the data file in a directory, XI process the file and call a RFC FM in R/3.
    After successful processing, file will be moved to Archive directory.
    I am getting an error - Internal system error 500 in Call Adapter section in the Monitoring screen.
    I enable the XI service in SICF.
    SLDCHECK returns 4, even though it opens the SLD page.
    Any other configuration steps need to be checked to make sure other system are connected.
    How to restart the process again.
    Thanks
    Senthil

    Hi,
         I have done the following configuration checks.
    XI service has been activated in SICF
    RFC Connections are working.
    TCP/IP - LCRSAPRFC & SAPSLDAPI
    HTTP Connections u2013 XIHUB
    SLD integration settings using SLDAPICUST is correct.
    SLD update settings using RZ70 is set.
    SLDCHECK from XI is working.
    SLDCHECK from SAP is failed.
    Anything else I need to check or set.
    Cheers
    Senthil

  • 500 Internal Server Error while calling Reports 10g

    I am using standalone forms and report services. I am getting intermittently 500 Internal Server Error while calling Reports 10g.

    500 Internal error is a generic error and it could be due to multiple reasons like misconfiguration or the dearth of the resources.

  • 500 Internal Server Error - When calling LOV's

    I receiving the following error when calling a LOV.
    Both date LOV's and LOV's based on a foreign key fail.
    500 Internal Server Error
    OracleJSP: oracle.jsp.provider.JspCompileException:
    Errors compiling:D:\Oracle\oc4j\j2ee\home\application-deployments\ois\web\persistence\_pages\_jheadstart\_lovFrame.java
    error: Invalid class file format in C:\Program Files\Java\j2re1.4.0\lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand.
    D:\Oracle\oc4j\j2ee\home\application-deployments\ois\web\persistence\_pages\_jheadstart\_lovFrame.java:0: Class java.lang.Object not found in class com.orionserver.http.OrionHttpJspPage.
    package _jheadstart;
    ^
    2 errors

    Marcel,
    JDeveloper will not run out of the box with JDK 1.4. There is a help topic 'Configuring Support for JDK 1.4.0.01 in JDeveloper' that gives you some information.
    But you also need to verify the compatability of all the frameworks you use with JKD 1.4, including BC4J, MVC and UIX. E.g. the classes12.jar we normally use for a JHeadstart application only works with JKD 1.2/1.3.
    Having found out which versions of the frameworks you need, the next step is to validate whether the JHeadstart runtime classes will work with these versions. We have no experience ourself in this respect.
    If it is an option for you, you might consider to downgrade to JKD 1.3.
    Jan Kettenis

  • Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 500

    I get the following error when trying to connect to my BlazeDS Java server from Flex application. Flex application is on localhost:80, blazeDS on tomcat localhost:8080. Please help!
    createUser();faultHandler():(mx.messaging.messages::ErrorMessage)#0
      body = (Object)#1
      clientId = (null)
      correlationId = "9FFDEBE8-EAD0-F3D9-8E9B-E3D7D7F5AE79"
      destination = ""
      extendedData = (null)
      faultCode = "Client.Error.MessageSend"
      faultDetail = "Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 500: url: 'http://77.93.202.150:8080/QuizDS/messagebroker/amf'"
      faultString = "Send failed"
      headers = (Object)#2
      messageId = "98F54E19-7B0D-DCB9-4B86-E3D7D84E484F"
      rootCause = (mx.messaging.events::ChannelFaultEvent)#3
        bubbles = false
        cancelable = false
        channel = (mx.messaging.channels::AMFChannel)#4
          authenticated = false
          channelSets = (Array)#5
          connected = false
          connectTimeout = -1
          enableSmallMessages = true
          endpoint = "http://77.93.202.150:8080/QuizDS/messagebroker/amf"
          failoverURIs = (Array)#6
          id = (null)
          mpiEnabled = false
          netConnection = (flash.net::NetConnection)#7
            client = (mx.messaging.channels::AMFChannel)#4
            connected = false
            maxPeerConnections = 8
            objectEncoding = 3
            proxyType = "none"
            uri = "http://77.93.202.150:8080/QuizDS/messagebroker/amf"
          piggybackingEnabled = false
          polling = false
          pollingEnabled = true
          pollingInterval = 3000
          protocol = "http"
          reconnecting = false
          recordMessageSizes = false
          recordMessageTimes = false
          requestTimeout = -1
          uri = "http://77.93.202.150:8080/QuizDS/messagebroker/amf"
          url = "http://77.93.202.150:8080/QuizDS/messagebroker/amf"
          useSmallMessages = false
        channelId = (null)
        connected = false
        currentTarget = (mx.messaging.channels::AMFChannel)#4
        eventPhase = 2
        faultCode = "Channel.Connect.Failed"
        faultDetail = "NetConnection.Call.Failed: HTTP: Status 500: url: 'http://77.93.202.150:8080/QuizDS/messagebroker/amf'"
        faultString = "error"
        reconnecting = false
        rejected = false
        rootCause = (Object)#8
          code = "NetConnection.Call.Failed"
          description = "HTTP: Status 500"
          details = "http://77.93.202.150:8080/QuizDS/messagebroker/amf"
          level = "error"
        target = (mx.messaging.channels::AMFChannel)#4
        type = "channelFault"
      timestamp = 0
      timeToLive = 0

    halodev:
    I made a CF/Flex site based on the Flexstore sample app,
    using a database instead of XML as the data source; in case you
    want to see it:
    http://www.timos.com/dg/flex/DilemmaGames.html
    At first I had troubles similar to what you describe;
    initially, part of the problem was that my hosting company had not
    yet upgraded to CF 7.02. One other thing I had to correct: when you
    upload to your server, upload the entire ‘bin’ (or
    whatever your output folder is) minus the debug SWF.
    If it would help with other issues, contact me and I will be
    glad to make my project code available to you. Good luck.
    Carlos
    [email protected]

  • HTTP Error 500.0 with CF 9 & IIS 7.5 32 bit enabled web app

    Hello !
    I have recently installed CF 9 64 bit on Windows Server 2008 Standard Edition R2 with IIS 7.5.  I have just set the 'Enable 32 bit applications' option on the application pool settings to 'true' for one of the sites as I have some web pages that make use of a 32 bit COM DLL.  I originally had this option set to 'false' and all of the web pages in my site were being served fine with the exception of the ones making use of the 32 bit COM DLL.
    The details on the error message from IIS are as follows:
    HTTP Error 500.0 - Internal Server Error
    Detailed Error Information:
    Module: IsapiModule
    Notification: ExecuteRequestHandler
    Handler: AboMapperCustom-75500
    Error Code: 0x800700c1
    Most Likely causes:
    IIS received the request; however, an internal error occurred during the processing of the request. The root cause of this error depends on which module handles the request and what was happening in the worker process when this error occurred.
    IIS was not able to access the web.config file for the Web site or application. This can occur if the NTFS permissions are set incorrectly.
    IIS was not able to process configuration for the Web site or application.
    The authenticated user does not have permission to use this DLL.
    The request is mapped to a managed handler but the .NET Extensibility Feature is not installed.
    Things you can try:
    Ensure that the NTFS permissions for the web.config file are correct and allow access to the Web server's machine account.
    Check the event logs to see if any additional information was logged.
    Verify the permissions for the DLL.
    Install the .NET Extensibility feature if the request is mapped to a managed handler.
    Create a tracing rule to track failed requests for this HTTP status code. For more information about creating a tracing rule for failed requests, click here.
    I am not sure if the error is permissions related or not.
    1.  How do I rectify this error and still keep the 'Enable 32 application' option turned on so I can call a 32 bit COM DLL ?
    2.  In general, can the 64 bit version of CF 9 even invoke 32 bit COM DLL's on IIS 7.5 or should this only be done with the 32 bit version of CF 9 ?
    I would appreciate any help.
    Thank you.

    Here is the info:
    http://helpx.adobe.com/coldfusion/kb/coldfusion-security-hotfix-apsb12-15.html
    See notes section 5
    CF9.0.2 came out with apsb12-15 applied.
    Difference with CF10 is you can use CFadmin to change postparamlimit setting.
    Cheers, Carl.

  • ADFS 3.0 - Internal Server Error 500, Event ID 342

    Hello all,
    I have a trouble testing ADFS 3.0 (Windows Server 2012 R2) working in a clean test Azure VM environment.
    First, I did a standard setup (DC and a separate ADFS server machine) with all the default settings, letting wizard to set up gMSA service account for the ADFS service. It did not quite work – details below. Then I reinstalled ADFS following this setup guide:
    http://www.schmarr.com/Blog/Post/12/Installing-Windows-2012-R2-Server-ADFS-Service-
    It did not help.
    Here is what happens: when I try to request SAML security token calling: /adfs/services/trust/13/UsernameMixed server responds with http error 500 - internal server error while call to /FederationMetadata/2007-06/FederationMetadata.xml returns expected result.
    Please advise. I have no clue what could be wrong. Log messages below.
    Tomasz
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
      <Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" /> 
      <EventID>4625</EventID> 
      <Version>0</Version> 
      <Level>0</Level> 
      <Task>12544</Task> 
      <Opcode>0</Opcode> 
      <Keywords>0x8010000000000000</Keywords> 
      <TimeCreated SystemTime="2014-07-29T13:08:41.247349800Z" /> 
      <EventRecordID>9004</EventRecordID> 
      <Correlation /> 
      <Execution ProcessID="536" ThreadID="1212" /> 
      <Channel>Security</Channel> 
      <Computer>MobTstVmAdfs0.mytestdomain.com</Computer> 
      <Security /> 
    </System>
    <EventData>
      <Data Name="SubjectUserSid">S-1-5-21-2610119604-2933780250-1221947404-1111</Data> 
      <Data Name="SubjectUserName">ADFSManaged$</Data> 
      <Data Name="SubjectDomainName">MYTESTDOMAIN</Data> 
      <Data Name="SubjectLogonId">0x145e9f</Data> 
      <Data Name="TargetUserSid">S-1-0-0</Data> 
      <Data Name="TargetUserName">user</Data> 
      <Data Name="TargetDomainName" /> 
      <Data Name="Status">0xc000006d</Data> 
      <Data Name="FailureReason">%%2313</Data> 
      <Data Name="SubStatus">0xc0000064</Data> 
      <Data Name="LogonType">3</Data> 
      <Data Name="LogonProcessName">W</Data> 
      <Data Name="AuthenticationPackageName">Negotiate</Data> 
      <Data Name="WorkstationName">MOBTSTVMADFS0</Data> 
      <Data Name="TransmittedServices">-</Data> 
      <Data Name="LmPackageName">-</Data> 
      <Data Name="KeyLength">0</Data> 
      <Data Name="ProcessId">0x5cc</Data> 
      <Data Name="ProcessName">C:\Windows\ADFS\Microsoft.IdentityServer.ServiceHost.exe</Data> 
      <Data Name="IpAddress">-</Data> 
      <Data Name="IpPort">-</Data> 
    </EventData>
    </Event>
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
      <Provider Name="AD FS" Guid="{2FFB687A-1571-4ACE-8550-47AB5CCAE2BC}" /> 
      <EventID>342</EventID> 
      <Version>0</Version> 
      <Level>2</Level> 
      <Task>0</Task> 
      <Opcode>0</Opcode> 
      <Keywords>0x8000000000000001</Keywords> 
      <TimeCreated SystemTime="2014-07-29T13:08:41.247349800Z" /> 
      <EventRecordID>164</EventRecordID> 
      <Correlation /> 
      <Execution ProcessID="1484" ThreadID="1492" /> 
      <Channel>AD FS/Admin</Channel> 
      <Computer>MobTstVmAdfs0.mytestdomain.com</Computer> 
      <Security UserID="S-1-5-21-2610119604-2933780250-1221947404-1111" /> 
    </System>
    <UserData>
      <Event xmlns="http://schemas.microsoft.com/ActiveDirectoryFederationServices/2.0/Events">
      <EventData>
      <Data>http://schemas.microsoft.com/ws/2006/05/identitymodel/tokens/UserName</Data> 
      <Data>user-The user name or password is incorrect</Data> 
      <Data>System.IdentityModel.Tokens.SecurityTokenValidationException: user ---> System.ComponentModel.Win32Exception: The user name or password is incorrect --- End of inner exception stack trace --- at Microsoft.IdentityServer.Service.Tokens.MSISWindowsUserNameSecurityTokenHandler.ValidateTokenInternal(SecurityToken
    token) at Microsoft.IdentityServer.Service.Tokens.MSISWindowsUserNameSecurityTokenHandler.ValidateToken(SecurityToken token) System.ComponentModel.Win32Exception (0x80004005): The user name or password is incorrect</Data> 
      </EventData>
      </Event>
    </UserData>
    </Event>
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
      <Provider Name="AD FS Tracing" Guid="{0457a490-4d4d-4a5b-b639-35382f1b6709}" /> 
      <EventID>996</EventID> 
      <Version>0</Version> 
      <Level>2</Level> 
      <Task>0</Task> 
      <Opcode>0</Opcode> 
      <Keywords>0x8000000000020000</Keywords> 
      <TimeCreated SystemTime="2014-07-29T13:05:53.358232900Z" /> 
      <EventRecordID>7136</EventRecordID> 
      <Correlation /> 
      <Execution ProcessID="1484" ThreadID="1524" ProcessorID="1" KernelTime="0" UserTime="5" /> 
      <Channel>AD FS Tracing/Debug</Channel> 
      <Computer>MobTstVmAdfs0.mytestdomain.com</Computer> 
      <Security UserID="S-1-5-21-2610119604-2933780250-1221947404-1111" /> 
    </System>
    <UserData>
      <Event xmlns="http://schemas.microsoft.com/ActiveDirectoryFederationServices/2.0/Events">
      <EventData>
      <OriginalEvent>WcfErrorTraceEvent</OriginalEvent> 
      <DataIndex>0</DataIndex> 
      <DataPageIndex>0</DataPageIndex> 
      <Data>Source : System.ServiceModel EventId : 131075 Data : <TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Error"><TraceIdentifier>http://msdn.microsoft.com/en-US/library/System.ServiceModel.Diagnostics.ThrowingException.aspx</TraceIdentifier><Description>Throwing
    an exception.</Description><AppDomain>Microsoft.IdentityServer.ServiceHost.exe</AppDomain><Exception><ExceptionType>System.Net.Sockets.SocketException, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>An
    existing connection was forcibly closed by the remote host</Message><StackTrace> at System.ServiceModel.Channels.SocketConnection.BeginReadCore(Int32 offset, Int32 size, TimeSpan timeout, WaitCallback callback, Object state) at System.ServiceModel.Channels.SocketConnection.CloseAsyncAndLinger()
    at System.ServiceModel.Channels.SocketConnection.Close(TimeSpan timeout, Boolean asyncAndLinger) at System.ServiceModel.Channels.BufferedConnection.Close(TimeSpan timeout, Boolean asyncAndLinger) at System.ServiceModel.Channels.CommunicationPool`2.EndpointConnectionPool.CloseIdleConnection(TItem
    connection, TimeSpan timeout) at System.ServiceModel.Channels.CommunicationPool`2.EndpointConnectionPool.TakeConnection(TimeSpan timeout) at System.ServiceModel.Channels.ConnectionPoolHelper.TakeConnection(TimeSpan timeout) at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan
    timeout) at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan
    timeout) at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade) at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout) at System.Se</Data> 
      </EventData>
      </Event>
    </UserData>
    </Event>
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
      <Provider Name="AD FS Tracing" Guid="{0457a490-4d4d-4a5b-b639-35382f1b6709}" /> 
      <EventID>996</EventID> 
      <Version>0</Version> 
      <Level>2</Level> 
      <Task>0</Task> 
      <Opcode>0</Opcode> 
      <Keywords>0x8000000000020000</Keywords> 
      <TimeCreated SystemTime="2014-07-29T13:05:53.358232900Z" /> 
      <EventRecordID>7137</EventRecordID> 
      <Correlation /> 
      <Execution ProcessID="1484" ThreadID="1524" ProcessorID="1" KernelTime="0" UserTime="5" /> 
      <Channel>AD FS Tracing/Debug</Channel> 
      <Computer>MobTstVmAdfs0.mytestdomain.com</Computer> 
      <Security UserID="S-1-5-21-2610119604-2933780250-1221947404-1111" /> 
    </System>
    <UserData>
      <Event xmlns="http://schemas.microsoft.com/ActiveDirectoryFederationServices/2.0/Events">
      <EventData>
      <OriginalEvent>WcfErrorTraceEvent</OriginalEvent> 
      <DataIndex>0</DataIndex> 
      <DataPageIndex>1</DataPageIndex> 
      <Data>rviceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall,
    ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp;amp; msgData, Int32 type) at Microsoft.IdentityServer.Protocols.PolicyStore.IPolicyStore.Search(FilterData
    filter, Int32 maxObjects, String[] propertyNames) at Microsoft.IdentityServer.PolicyModel.Client.PolicyStoreClientManager.SearchWorker(Filter filter, Int32 maxObjects, String[] propertyNames, Boolean firstTry, PropertyFactoryBase propertyFactory) at Microsoft.IdentityServer.PolicyModel.Client.PolicyStoreClientManager.Search(Filter
    filter, Int32 maxObjects, String[] propertyNames, PropertyFactoryBase propertyFactory) at Microsoft.IdentityServer.PolicyModel.Client.PolicyManager.Search(Filter filter, Int32 maxObjects, String[] propertyNames) at Microsoft.IdentityServer.Service.FederationMetadata.SamlMetadataService.GetConfiguredClaims(ServiceState
    state) at Microsoft.IdentityServer.Service.FederationMetadata.SamlMetadataService.GenerateMetadata(ServiceState state) at Microsoft.IdentityServer.Service.FederationMetadata.SamlMetadataListener.OnGetContext(IAsyncResult result) at System.Net.LazyAsyncResult.Complete(IntPtr
    userToken) at System.Net.ListenerAsyncResult.IOCompleted(ListenerAsyncResult asyncResult, UInt32 errorCode, UInt32 numBytes) at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
    </StackTrace><ExceptionString>System.Net.Sockets.SocketException (0x80004005): An existing connection was forcibly closed by the remote host</ExceptionString><NativeErrorCode>2746</NativeErrorCode></Exception></TraceRecord>
    ProcessId : 1484 ThreadId : 41</Data> 
      </EventData>
      </Event>
    </UserData>
    </Event>
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
      <Provider Name="AD FS Tracing" Guid="{0457a490-4d4d-4a5b-b639-35382f1b6709}" /> 
      <EventID>996</EventID> 
      <Version>0</Version> 
      <Level>2</Level> 
      <Task>0</Task> 
      <Opcode>0</Opcode> 
      <Keywords>0x8000000000020000</Keywords> 
      <TimeCreated SystemTime="2014-07-29T13:05:53.358232900Z" /> 
      <EventRecordID>7138</EventRecordID> 
      <Correlation /> 
      <Execution ProcessID="1484" ThreadID="1524" ProcessorID="1" KernelTime="0" UserTime="5" /> 
      <Channel>AD FS Tracing/Debug</Channel> 
      <Computer>MobTstVmAdfs0.mytestdomain.com</Computer> 
      <Security UserID="S-1-5-21-2610119604-2933780250-1221947404-1111" /> 
    </System>
    <UserData>
      <Event xmlns="http://schemas.microsoft.com/ActiveDirectoryFederationServices/2.0/Events">
      <EventData>
      <OriginalEvent>WcfErrorTraceEvent</OriginalEvent> 
      <DataIndex>0</DataIndex> 
      <DataPageIndex>0</DataPageIndex> 
      <Data>Source : System.ServiceModel EventId : 262256 Data : <TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Error"><TraceIdentifier>http://msdn.microsoft.com/en-US/library/System.ServiceModel.Channels.TcpConnectionResetError.aspx</TraceIdentifier><Description>The
    socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '00:05:00.0000001'.</Description><AppDomain>Microsoft.IdentityServer.ServiceHost.exe</AppDomain><ExtendedData
    xmlns="http://schemas.microsoft.com/2006/08/ServiceModel/MessageTraceRecord"></ExtendedData><Exception><ExceptionType>System.ServiceModel.CommunicationException, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>The
    socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '00:05:00.0000001'.</Message><StackTrace>
    at System.ServiceModel.Channels.SocketConnection.ConvertTransferException(SocketException socketException, TimeSpan timeout, Exception originalException, TransferOperation transferOperation, Boolean aborted, String timeoutErrorString, TransferOperation timeoutErrorTransferOperation,
    SocketConnection socketConnection, TimeSpan remainingTime) at System.ServiceModel.Channels.SocketConnection.ConvertReceiveException(SocketException socketException, TimeSpan remainingTime) at System.ServiceModel.Channels.SocketConnection.BeginReadCore(Int32
    offset, Int32 size, TimeSpan timeout, WaitCallback callback, Object state) at System.ServiceModel.Channels.SocketConnection.CloseAsyncAndLinger() at System.ServiceModel.Channels.SocketConnection.Close(TimeSpan timeout, Boolean asyncAndLinger) at System.ServiceModel.Channels.BufferedConnection.Close(TimeSpan
    timeout, Boolean</Data> 
      </EventData>
      </Event>
    </UserData>
    </Event>
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
      <Provider Name="AD FS Tracing" Guid="{0457a490-4d4d-4a5b-b639-35382f1b6709}" /> 
      <EventID>996</EventID> 
      <Version>0</Version> 
      <Level>2</Level> 
      <Task>0</Task> 
      <Opcode>0</Opcode> 
      <Keywords>0x8000000000020000</Keywords> 
      <TimeCreated SystemTime="2014-07-29T13:05:53.358232900Z" /> 
      <EventRecordID>7139</EventRecordID> 
      <Correlation /> 
      <Execution ProcessID="1484" ThreadID="1524" ProcessorID="1" KernelTime="0" UserTime="5" /> 
      <Channel>AD FS Tracing/Debug</Channel> 
      <Computer>MobTstVmAdfs0.mytestdomain.com</Computer> 
      <Security UserID="S-1-5-21-2610119604-2933780250-1221947404-1111" /> 
    </System>
    <UserData>
      <Event xmlns="http://schemas.microsoft.com/ActiveDirectoryFederationServices/2.0/Events">
      <EventData>
      <OriginalEvent>WcfErrorTraceEvent</OriginalEvent> 
      <DataIndex>0</DataIndex> 
      <DataPageIndex>1</DataPageIndex> 
      <Data>asyncAndLinger) at System.ServiceModel.Channels.CommunicationPool`2.EndpointConnectionPool.CloseIdleConnection(TItem connection, TimeSpan timeout) at System.ServiceModel.Channels.CommunicationPool`2.EndpointConnectionPool.TakeConnection(TimeSpan
    timeout) at System.ServiceModel.Channels.ConnectionPoolHelper.TakeConnection(TimeSpan timeout) at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout) at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan
    timeout) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan
    timeout, CallOnceManager cascade) at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs,
    TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp;amp;
    msgData, Int32 type) at Microsoft.IdentityServer.Protocols.PolicyStore.IPolicyStore.Search(FilterData filter, Int32 maxObjects, String[] propertyNames) at Microsoft.IdentityServer.PolicyModel.Client.PolicyStoreClientManager.SearchWorker(Filter filter, Int32
    maxObjects, String[] propertyNames, Boolean firstTry, PropertyFactoryBase propertyFactory) at Microsoft.IdentityServer.PolicyModel.Client.PolicyStoreClientManager.Search(Filter filter, Int32 maxObjects, String[] propertyNames, PropertyFactoryBase propertyFactory)
    at Microsoft.IdentityServer.PolicyModel.Client.PolicyManager.Searc</Data> 
      </EventData>
      </Event>
    </UserData>
    </Event>
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
      <Provider Name="AD FS Tracing" Guid="{0457a490-4d4d-4a5b-b639-35382f1b6709}" /> 
      <EventID>996</EventID> 
      <Version>0</Version> 
      <Level>2</Level> 
      <Task>0</Task> 
      <Opcode>0</Opcode> 
      <Keywords>0x8000000000020000</Keywords> 
      <TimeCreated SystemTime="2014-07-29T13:05:53.358232900Z" /> 
      <EventRecordID>7140</EventRecordID> 
      <Correlation /> 
      <Execution ProcessID="1484" ThreadID="1524" ProcessorID="1" KernelTime="0" UserTime="5" /> 
      <Channel>AD FS Tracing/Debug</Channel> 
      <Computer>MobTstVmAdfs0.mytestdomain.com</Computer> 
      <Security UserID="S-1-5-21-2610119604-2933780250-1221947404-1111" /> 
    </System>
    <UserData>
      <Event xmlns="http://schemas.microsoft.com/ActiveDirectoryFederationServices/2.0/Events">
      <EventData>
      <OriginalEvent>WcfErrorTraceEvent</OriginalEvent> 
      <DataIndex>0</DataIndex> 
      <DataPageIndex>2</DataPageIndex> 
      <Data>h(Filter filter, Int32 maxObjects, String[] propertyNames) at Microsoft.IdentityServer.Service.FederationMetadata.SamlMetadataService.GetConfiguredClaims(ServiceState state) at Microsoft.IdentityServer.Service.FederationMetadata.SamlMetadataService.GenerateMetadata(ServiceState
    state) at Microsoft.IdentityServer.Service.FederationMetadata.SamlMetadataListener.OnGetContext(IAsyncResult result) at System.Net.LazyAsyncResult.Complete(IntPtr userToken) at System.Net.ListenerAsyncResult.IOCompleted(ListenerAsyncResult asyncResult, UInt32
    errorCode, UInt32 numBytes) at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP) </StackTrace><ExceptionString>System.ServiceModel.CommunicationException: The socket
    connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '00:05:00.0000001'. ---&amp;gt; System.Net.Sockets.SocketException:
    An existing connection was forcibly closed by the remote host at System.ServiceModel.Channels.SocketConnection.BeginReadCore(Int32 offset, Int32 size, TimeSpan timeout, WaitCallback callback, Object state) --- End of inner exception stack trace ---</ExceptionString><InnerException><ExceptionType>System.Net.Sockets.SocketException,
    System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>An existing connection was forcibly closed by the remote host</Message><StackTrace> at System.ServiceModel.Channels.SocketConnection.BeginReadCore(Int32
    offset, Int32 size, TimeSpan timeout, WaitCallback callback, Object state)</StackTrace><ExceptionString>System.Net.Sockets.SocketException (0x80004005): An existing connection was forcibly closed by the remote host at System.ServiceModel.Channels.SocketConnection.BeginReadCore(Int32
    offset, Int32 size, TimeSpan timeout, WaitCallback callback, Object state)</Exception</Data> 
      </EventData>
      </Event>
    </UserData>
    </Event>
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
      <Provider Name="AD FS Tracing" Guid="{0457a490-4d4d-4a5b-b639-35382f1b6709}" /> 
      <EventID>996</EventID> 
      <Version>0</Version> 
      <Level>2</Level> 
      <Task>0</Task> 
      <Opcode>0</Opcode> 
      <Keywords>0x8000000000020000</Keywords> 
      <TimeCreated SystemTime="2014-07-29T13:05:53.358232900Z" /> 
      <EventRecordID>7141</EventRecordID> 
      <Correlation /> 
      <Execution ProcessID="1484" ThreadID="1524" ProcessorID="1" KernelTime="0" UserTime="5" /> 
      <Channel>AD FS Tracing/Debug</Channel> 
      <Computer>MobTstVmAdfs0.mytestdomain.com</Computer> 
      <Security UserID="S-1-5-21-2610119604-2933780250-1221947404-1111" /> 
    </System>
    <UserData>
      <Event xmlns="http://schemas.microsoft.com/ActiveDirectoryFederationServices/2.0/Events">
      <EventData>
      <OriginalEvent>WcfErrorTraceEvent</OriginalEvent> 
      <DataIndex>0</DataIndex> 
      <DataPageIndex>3</DataPageIndex> 
      <Data>String><NativeErrorCode>2746</NativeErrorCode></InnerException></Exception></TraceRecord> ProcessId : 1484 ThreadId : 41</Data> 
      </EventData>
      </Event>
    </UserData>
    </Event>
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
      <Provider Name="AD FS Tracing" Guid="{0457a490-4d4d-4a5b-b639-35382f1b6709}" /> 
      <EventID>996</EventID> 
      <Version>0</Version> 
      <Level>2</Level> 
      <Task>0</Task> 
      <Opcode>0</Opcode> 
      <Keywords>0x8000000000020000</Keywords> 
      <TimeCreated SystemTime="2014-07-29T13:05:53.358232900Z" /> 
      <EventRecordID>7142</EventRecordID> 
      <Correlation /> 
      <Execution ProcessID="1484" ThreadID="1524" ProcessorID="1" KernelTime="0" UserTime="5" /> 
      <Channel>AD FS Tracing/Debug</Channel> 
      <Computer>MobTstVmAdfs0.mytestdomain.com</Computer> 
      <Security UserID="S-1-5-21-2610119604-2933780250-1221947404-1111" /> 
    </System>
    <UserData>
      <Event xmlns="http://schemas.microsoft.com/ActiveDirectoryFederationServices/2.0/Events">
      <EventData>
      <OriginalEvent>WcfErrorTraceEvent</OriginalEvent> 
      <DataIndex>0</DataIndex> 
      <DataPageIndex>0</DataPageIndex> 
      <Data>Source : System.ServiceModel EventId : 131075 Data : <TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Error"><TraceIdentifier>http://msdn.microsoft.com/en-US/library/System.ServiceModel.Diagnostics.ThrowingException.aspx</TraceIdentifier><Description>Throwing
    an exception.</Description><AppDomain>Microsoft.IdentityServer.ServiceHost.exe</AppDomain><Exception><ExceptionType>System.ServiceModel.CommunicationException, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>The
    socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '00:05:00.0000001'.</Message><StackTrace>
    at System.ServiceModel.Channels.SocketConnection.BeginReadCore(Int32 offset, Int32 size, TimeSpan timeout, WaitCallback callback, Object state) at System.ServiceModel.Channels.SocketConnection.CloseAsyncAndLinger() at System.ServiceModel.Channels.SocketConnection.Close(TimeSpan
    timeout, Boolean asyncAndLinger) at System.ServiceModel.Channels.BufferedConnection.Close(TimeSpan timeout, Boolean asyncAndLinger) at System.ServiceModel.Channels.CommunicationPool`2.EndpointConnectionPool.CloseIdleConnection(TItem connection, TimeSpan timeout)
    at System.ServiceModel.Channels.CommunicationPool`2.EndpointConnectionPool.TakeConnection(TimeSpan timeout) at System.ServiceModel.Channels.ConnectionPoolHelper.TakeConnection(TimeSpan timeout) at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan
    timeout) at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan
    timeout) at System.ServiceMod</Data> 
      </EventData>
      </Event>
    </UserData>
    </Event>
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
      <Provider Name="AD FS Tracing" Guid="{0457a490-4d4d-4a5b-b639-35382f1b6709}" /> 
      <EventID>996</EventID> 
      <Version>0</Version> 
      <Level>2</Level> 
      <Task>0</Task> 
      <Opcode>0</Opcode> 
      <Keywords>0x8000000000020000</Keywords> 
      <TimeCreated SystemTime="2014-07-29T13:05:53.358232900Z" /> 
      <EventRecordID>7143</EventRecordID> 
      <Correlation /> 
      <Execution ProcessID="1484" ThreadID="1524" ProcessorID="1" KernelTime="0" UserTime="5" /> 
      <Channel>AD FS Tracing/Debug</Channel> 
      <Computer>MobTstVmAdfs0.mytestdomain.com</Computer> 
      <Security UserID="S-1-5-21-2610119604-2933780250-1221947404-1111" /> 
    </System>
    <UserData>
      <Event xmlns="http://schemas.microsoft.com/ActiveDirectoryFederationServices/2.0/Events">
      <EventData>
      <OriginalEvent>WcfErrorTraceEvent</OriginalEvent> 
      <DataIndex>0</DataIndex> 
      <DataPageIndex>1</DataPageIndex> 
      <Data>el.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade) at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.Call(String action,
    Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage
    message) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp;amp; msgData, Int32 type) at Microsoft.IdentityServer.Protocols.PolicyStore.IPolicyStore.Search(FilterData filter, Int32 maxObjects, String[] propertyNames) at Microsoft.IdentityServer.PolicyModel.Client.PolicyStoreClientManager.SearchWorker(Filter
    filter, Int32 maxObjects, String[] propertyNames, Boolean firstTry, PropertyFactoryBase propertyFactory) at Microsoft.IdentityServer.PolicyModel.Client.PolicyStoreClientManager.Search(Filter filter, Int32 maxObjects, String[] propertyNames, PropertyFactoryBase
    propertyFactory) at Microsoft.IdentityServer.PolicyModel.Client.PolicyManager.Search(Filter filter, Int32 maxObjects, String[] propertyNames) at Microsoft.IdentityServer.Service.FederationMetadata.SamlMetadataService.GetConfiguredClaims(ServiceState state)
    at Microsoft.IdentityServer.Service.FederationMetadata.SamlMetadataService.GenerateMetadata(ServiceState state) at Microsoft.IdentityServer.Service.FederationMetadata.SamlMetadataListener.OnGetContext(IAsyncResult result) at System.Net.LazyAsyncResult.Complete(IntPtr
    userToken) at System.Net.ListenerAsyncResult.IOCompleted(ListenerAsyncResult asyncResult, UInt32 errorCode, UInt32 numBytes) at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
    </StackTrace><ExceptionString>System.ServiceModel.CommunicationException: Th</Data> 
      </EventData>
      </Event>
    </UserData>
    </Event>
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
      <Provider Name="AD FS Tracing" Guid="{0457a490-4d4d-4a5b-b639-35382f1b6709}" /> 
      <EventID>996</EventID> 
      <Version>0</Version> 
      <Level>2</Level> 
      <Task>0</Task> 
      <Opcode>0</Opcode> 
      <Keywords>0x8000000000020000</Keywords> 
      <TimeCreated SystemTime="2014-07-29T13:05:53.358232900Z" /> 
      <EventRecordID>7144</EventRecordID> 
      <Correlation /> 
      <Execution ProcessID="1484" ThreadID="1524" ProcessorID="1" KernelTime="0" UserTime="5" /> 
      <Channel>AD FS Tracing/Debug</Channel> 
      <Computer>MobTstVmAdfs0.mytestdomain.com</Computer> 
      <Security UserID="S-1-5-21-2610119604-2933780250-1221947404-1111" /> 
    </System>
    <UserData>
      <Event xmlns="http://schemas.microsoft.com/ActiveDirectoryFederationServices/2.0/Events">
      <EventData>
      <OriginalEvent>WcfErrorTraceEvent</OriginalEvent> 
      <DataIndex>0</DataIndex> 
      <DataPageIndex>2</DataPageIndex> 
      <Data>e socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '00:05:00.0000001'. ---&amp;gt;
    System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host at System.ServiceModel.Channels.SocketConnection.BeginReadCore(Int32 offset, Int32 size, TimeSpan timeout, WaitCallback callback, Object state) --- End of inner
    exception stack trace ---</ExceptionString><InnerException><ExceptionType>System.Net.Sockets.SocketException, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>An existing connection
    was forcibly closed by the remote host</Message><StackTrace> at System.ServiceModel.Channels.SocketConnection.BeginReadCore(Int32 offset, Int32 size, TimeSpan timeout, WaitCallback callback, Object state)</StackTrace><ExceptionString>System.Net.Sockets.SocketException
    (0x80004005): An existing connection was forcibly closed by the remote host at System.ServiceModel.Channels.SocketConnection.BeginReadCore(Int32 offset, Int32 size, TimeSpan timeout, WaitCallback callback, Object state)</ExceptionString><NativeErrorCode>2746</NativeErrorCode></InnerException></Exception></TraceRecord>
    ProcessId : 1484 ThreadId : 41</Data> 
      </EventData>
      </Event>
    </UserData>
    </Event>

    Hello,
    please use the forum listed in
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/195399e6-b5dd-46cf-a351-228bd62b24d8/adfs-specific-question-post-on-the-adfs-forum?forum=winserverDS
    Best regards
    Meinolf Weber
    MVP, MCP, MCTS
    Microsoft MVP - Directory Services
    My Blog: http://blogs.msmvps.com/MWeber
    Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.
    Twitter:  

  • Error 500--Internal Server Error in a Project Gantt Chart portlet

    Hi All
    I am getting Error 500--Internal Server Error in a Project Gantt Chart portlet of Corporate Dashboard.
    We have recently installed the Primavera EPPM 8.1, here are the steps we followed to setup the Primavera EPPM 8.1
    1) We have created the database schemas by using automatic database setup(by clicking on dbsetup.bat on the media files)
    2) Installed Weblogic server 11gR1(10.3.4)
    3)Created web logic domain as admin server
    4) Installed P6 Web access and deployed on weblogic domain
    5)Made changes to setEnvDomain file of weblogic domain to increase the Java Heap size and to locate the location of p6.war file
    6)Reastred the weblogic domain
    Now we can access the Primavera but in one of the portlet we are getting Error 500--Internal Server Error.
    Please le me know if I miss any thing while installing or should I modify P6 configuration settings through p6 admin confiuration console.
    Also it would be greatful if any one provide me th best practice to setup Primavera EPPM 8.1.
    Thanks & Best Regards
    Pradeep

    Hello Pradeep
    please delete a folder called fmwconfig in the path yourdomain\config\ for a folder called fmwconfig
    restart P6 and try again

  • Office Web Apps 2013 Error 500

    Below I configured Office Web Apps 2013, on 2 servers,
    SharePoint 2013 SP1 Enterprise Edition August 2014 CU on Microsoft Windows Server 2013 R1
    SP2013ServerWFE-AppServer
    Office Web Apps 2013 August 2014 CU on Microsoft Windows Server 2013 R1
    OFFICEWEBAPP2013SERVER
    After my install, I can see that the preview displayes for the site I am on I am NOT logged on as the System Account or Site Collection Admin, just a user.
    I then try to display the file below it and this is where I get the error 500
    This error (HTTP 500 Internal Server Error) means that the website you are visiting had a server problem which prevented  the webpage from displaying.
    The website cannot display the page
    These are the steps that I have just taken to try to enable this process.
    I went to SP2013ServerWFE-AppServer – SharePoint 2013 Server
    SharePoint 2013 Management Shell as Admin
    Remove-SPWOPIBinding –All:$true
    Went to OFFICEWEBAPP2013SERVER – Office Web Apps 2013 server.
    PowerShell, as Admin.
    New-OfficeWebAppsFarm –Verbose –InternalUrl "http://SP2013ServerWFE-AppServer" -ExternalUrl "http://SP2013ServerWFE-AppServer" -AllowHTTP –EditingEnabled
    –ClipartEnabled -AllowCEIP
    On the OFFICEWEBAPP2013SERVER server, open up IE
    NETBIOS
    http://OFFICEWEBAPP2013SERVER/hosting/discovery
    FQDN
    http://OFFICEWEBAPP2013SERVER.COMPANY.DOMAIN.local/hosting/discovery
    Both worked!
    Go to SP2013ServerWFE-AppServer – SharePoint 2013 Server
    New-SPWOPIBinding -ServerName OFFICEWEBAPP2013SERVER –AllowHTTP
    Worked, ran:
    Get-SPWOPIZone
    Set already but if needed to, could have changed, kept it as was below.
    Set-SPWOPIZone -zone "Internal-http"
     Now I get the error.  Am I missing something? 

    Get-OfficeWebAppsMachine
    MasterMachineName             MachineName                   Roles                                         
    HealthStatus
    2013OWAOFFWA01                 2013OWAOFFWA01                 {All}                                            
    Unhealthy
    It shows unhealthy, thanks to your having me check.
    I just went and did Remove-OfficeWebAppsMachine and
    Remove-SPWOPIBinding –All:$true and then tried what I have in my original post.  Not sure why it is saying unhealthy!
    Excel Calculation Services is running, I know that that will cause an issue with Excel Services and Excel Web Apps.  Testing with Word Documents, and or putting in SharePoint to get to the main page, to see an image rendition in search.
    I went to open a word document as search gave me an error message, so I thought I'd try, but I didn't see it in office web apps ULS but on SharePoint 2013
    10/20/2014 14:59:37.41 w3wp.exe (0x0CF0) 0x15D0 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:http://sharepoint2013:80/site/subsite/_layouts/15/WopiFrame2.aspx?sourcedoc=/site/subsite/Shared%20Documents/ADP%20Portal%20Registration%20Instructions%20Contractor%20Rev%20061212.docx&action=default) aa11c49c-5974-a070-b2c8-1829a3b17e45
    10/20/2014 14:59:37.42 w3wp.exe (0x0CF0) 0x15D0 SharePoint Foundation Authentication Authorization agb9s Medium Non-OAuth request. IsAuthenticated=True, UserIdentityName=0#.w|DOMAIN\mcarter, ClaimsCount=70 aa11c49c-5974-a070-b2c8-1829a3b17e45
    10/20/2014 14:59:37.42 w3wp.exe (0x0CF0) 0x15D0 SharePoint Foundation Logging Correlation Data xmnv Medium Site=/ aa11c49c-5974-a070-b2c8-1829a3b17e45
    10/20/2014 14:59:37.44 w3wp.exe (0x0CF0) 0x15D0 SharePoint Foundation Authentication Authorization aib35 Medium SPShareByLinkHandler.Initialize : Not a ShareByLink request - missing access token aa11c49c-5974-a070-b2c8-1829a3b17e45
    10/20/2014 14:59:37.46 w3wp.exe (0x0CF0) 0x15D0 SharePoint Foundation Claims Authentication amcbl Medium Trusted provider is missing. Provider: '00000003-0000-0ff1-ce00-000000000000' aa11c49c-5974-a070-b2c8-1829a3b17e45
    10/20/2014 14:59:37.46 w3wp.exe (0x0CF0) 0x15D0 SharePoint Foundation Topology e5mc Medium WcfSendRequest: RemoteAddress: 'net.pipe://localhost/SecurityTokenServiceApplication/appsts.svc' Channel: 'Microsoft.SharePoint.IdentityServices.IApplicationSecurityTokenServiceContract'
    Action: 'http://schemas.microsoft.com/sharepoint/2011/05/securitytokenservice/IApplicationSecurityTokenServiceContract/Issue' MessageId: 'urn:uuid:5244ce59-b4fd-4d2b-83fd-c07c58a79061' aa11c49c-5974-a070-b2c8-1829a3b17e45
    10/20/2014 14:59:37.50 w3wp.exe (0x0CF0) 0x15D0 SharePoint Foundation Application Authentication aiv3c Exception System.ServiceModel.ServiceActivationException: The requested service, 'net.pipe://localhost/SecurityTokenServiceApplication/appsts.svc'
    could not be activated. See the server's diagnostic trace logs for more information.    Server stack trace:      at System.ServiceModel.Channels.ConnectionUpgradeHelper.DecodeFramingFault(ClientFramingDecoder decoder,
    IConnection connection, Uri via, String contentType, TimeoutHelper& timeoutHelper)     at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.SendPreamble(IConnection connection, ArraySegment`1 preamble, TimeoutHelper&
    timeoutHelper)     at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.DuplexConnectionPoolHelper.AcceptPooledConnection(IConnection connection, TimeoutHelper& timeoutHelper)     at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan
    timeout)     at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)     at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)     at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan
    timeout)     at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)     at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)    
    at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout)     at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan
    timeout)     at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)     at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)   
    Exception rethrown at [0]:      at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)     at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
    msgData, Int32 type)     at Microsoft.SharePoint.IdentityServices.IApplicationSecurityTokenServiceContract.Issue(RequestApplicationSecurityToken request)     at Microsoft.SharePoint.IdentityServices.SPApplicationSecurityTokenServiceClient.<>c__DisplayClass2.<RequestSelfIssuedToken>b__0()    
    at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)     at Microsoft.SharePoint.IdentityServices.SPApplicationSecurityTokenServiceClient.RequestSelfIssuedToken(RequestApplicationSecurityToken rst)
    StackTrace:  at onetnative.dll: (sig=8299e000-0f80-4b71-8567-479075c2110d|2|onetnative.pdb, offset=28B42) at onetnative.dll: (offset=152A9) aa11c49c-5974-a070-b2c8-1829a3b17e45
    10/20/2014 14:59:37.50 w3wp.exe (0x0CF0) 0x15D0 SharePoint Foundation Unified Logging Service c91s Monitorable Watson bucket parameters: Microsoft SharePoint Foundation 4, ULSException14, 269cd32d "sharepoint foundation",
    0f0011db "15.0.4571.0", c180aef3 "mscorlib", 0400766f "4.0.30319.0", 528fdae1 "fri nov 22 17:29:53 2013", 00005387 "00005387", 00000051 "00000051", b742a024 "serviceactivationexception",
    00215742 "aiv3c" aa11c49c-5974-a070-b2c8-1829a3b17e45
    10/20/2014 14:59:37.50 w3wp.exe (0x0CF0) 0x15D0 SharePoint Foundation Unified Logging Service b6ig Medium Data collection is not enabled for tag 'aiv3c' in the configuration or configuration file not available. Not reporting
    to Watson aa11c49c-5974-a070-b2c8-1829a3b17e45
    10/20/2014 14:59:37.52 w3wp.exe (0x0CF0) 0x15D0 SharePoint Foundation Application Authentication agmxo Exception System.ServiceModel.ServiceActivationException: The requested service, 'net.pipe://localhost/SecurityTokenServiceApplication/appsts.svc'
    could not be activated. See the server's diagnostic trace logs for more information.    Server stack trace:      at System.ServiceModel.Channels.ConnectionUpgradeHelper.DecodeFramingFault(ClientFramingDecoder decoder,
    IConnection connection, Uri via, String contentType, TimeoutHelper& timeoutHelper)     at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.SendPreamble(IConnection connection, ArraySegment`1 preamble, TimeoutHelper&
    timeoutHelper)     at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.DuplexConnectionPoolHelper.AcceptPooledConnection(IConnection connection, TimeoutHelper& timeoutHelper)     at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan
    timeout)     at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)     at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)     at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan
    timeout)     at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)     at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)    
    at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout)     at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan
    timeout)     at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)     at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)   
    Exception rethrown at [0]:      at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)     at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
    msgData, Int32 type)     at Microsoft.SharePoint.IdentityServices.IApplicationSecurityTokenServiceContract.Issue(RequestApplicationSecurityToken request)     at Microsoft.SharePoint.IdentityServices.SPApplicationSecurityTokenServiceClient.<>c__DisplayClass2.<RequestSelfIssuedToken>b__0()    
    at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)     at Microsoft.SharePoint.IdentityServices.SPApplicationSecurityTokenServiceClient.RequestSelfIssuedToken(RequestApplicationSecurityToken rst)    
    at Microsoft.SharePoint.IdentityModel.OAuth2.SPOAuth2SecurityTokenManager.RequestRawLoopbackToken(OAuth2EndpointIdentity endpointIdentity, JsonWebSecurityToken onBehalfOf, String applicationContext)     at Microsoft.SharePoint.IdentityModel.OAuth2.SPOAuth2SecurityTokenManager.IssueLoopbackTokenString(Uri
    endpointAddress, SPIdentityContext identityContext, String applicationContext, DateTime& validTo) StackTrace:  at onetnative.dll: (sig=8299e000-0f80-4b71-8567-479075c2110d|2|onetnative.pdb, offset=28B42) at onetnative.dll: (offset=152A9) aa11c49c-5974-a070-b2c8-1829a3b17e45
    10/20/2014 14:59:37.52 w3wp.exe (0x0CF0) 0x15D0 SharePoint Foundation Unified Logging Service c91s Monitorable Watson bucket parameters: Microsoft SharePoint Foundation 4, ULSException14, 269cd32d "sharepoint foundation",
    0f0011db "15.0.4571.0", c180aef3 "mscorlib", 0400766f "4.0.30319.0", 528fdae1 "fri nov 22 17:29:53 2013", 00005387 "00005387", 00000051 "00000051", b742a024 "serviceactivationexception",
    0018c5ce "agmxo" aa11c49c-5974-a070-b2c8-1829a3b17e45
    10/20/2014 14:59:37.52 w3wp.exe (0x0CF0) 0x15D0 SharePoint Foundation Unified Logging Service b6ig Medium Data collection is not enabled for tag 'agmxo' in the configuration or configuration file not available. Not reporting
    to Watson aa11c49c-5974-a070-b2c8-1829a3b17e45
    10/20/2014 14:59:37.52 w3wp.exe (0x0CF0) 0x15D0 SharePoint Foundation WOPI ajc39 Unexpected WOPIFrame - Unhandled exception: System.ServiceModel.ServiceActivationException: The requested service, 'net.pipe://localhost/SecurityTokenServiceApplication/appsts.svc'
    could not be activated. See the server's diagnostic trace logs for more information.    Server stack trace:      at System.ServiceModel.Channels.ConnectionUpgradeHelper.DecodeFramingFault(ClientFramingDecoder decoder,
    IConnection connection, Uri via, String contentType, TimeoutHelper& timeoutHelper)     at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.SendPreamble(IConnection connection, ArraySegment`1 preamble, TimeoutHelper&
    timeoutHelper)     at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.DuplexConnectionPoolHelper.AcceptPooledConnection(IConnection connection, TimeoutHelper& timeoutHelper)     at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan
    timeout)     at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)     at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)     at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan
    timeout)     at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)     at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)    
    at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout)     at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan
    timeout)     at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)     at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)   
    Exception rethrown at [0]:      at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)     at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
    msgData, Int32 type)     at Microsoft.SharePoint.IdentityServices.IApplicationSecurityTokenServiceContract.Issue(RequestApplicationSecurityToken request)     at Microsoft.SharePoint.IdentityServices.SPApplicationSecurityTokenServiceClient.<>c__DisplayClass2.<RequestSelfIssuedToken>b__0()    
    at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)     at Microsoft.SharePoint.IdentityServices.SPApplicationSecurityTokenServiceClient.RequestSelfIssuedToken(RequestApplicationSecurityToken rst)    
    at Microsoft.SharePoint.IdentityModel.OAuth2.SPOAuth2SecurityTokenManager.RequestRawLoopbackToken(OAuth2EndpointIdentity endpointIdentity, JsonWebSecurityToken onBehalfOf, String applicationContext)     at Microsoft.SharePoint.IdentityModel.OAuth2.SPOAuth2SecurityTokenManager.IssueLoopbackTokenString(Uri
    endpointAddress, SPIdentityContext identityContext, String applicationContext, DateTime& validTo)     at Microsoft.SharePoint.IdentityModel.OAuth2.SPOAuth2SecurityTokenManager.IssueLoopbackTokenString(Uri endpointAddress, SPUser user,
    String applicationContext, DateTime& validTo)     at Microsoft.SharePoint.Utilities.SPWOPIHost.GetAccessToken(SPWeb web, Guid uniqueId, String proofKeyId, SPUrlZone zone, SPBasePermissions perms, Boolean hasEditLicense, Int64& ttl)    
    at Microsoft.SharePoint.Utilities.SPWOPIHost.GetAccessToken(SPFile file, String proofKeyId, SPUrlZone zone, Int64& ttl)     at Microsoft.SharePoint.Utilities.SPWOPIHost.GetWOPITargetInternal(HttpContext httpContext, SPWeb web, Object&
    spPrimeObject, SPWOPIAction& requestedAction, SPRegionalSettings spSettings, String& wopiAppUrl, String& wopiFavIconUrl, String& wopiAccessToken, Int64& wopiAccessTokenTtl, String& errorMessageToDisplay, String& redirectUrl)    
    at Microsoft.SharePoint.ApplicationPages.WOPIFrameHelper.OnLoadHelper(WOPIFrame frame)     at Microsoft.SharePoint.ApplicationPages.WOPIFrameHelper.OnLoad(WOPIFrame frame) aa11c49c-5974-a070-b2c8-1829a3b17e45
    10/20/2014 14:59:37.52 w3wp.exe (0x0CF0) 0x15D0 SharePoint Foundation General aat87 Monitorable An error has occurred on the server. aa11c49c-5974-a070-b2c8-1829a3b17e45
    10/20/2014 14:59:37.52 w3wp.exe (0x0CF0) 0x15D0 SharePoint Foundation Micro Trace uls4 Medium Micro Trace Tags: 0 nasq,8 agb9s,16 aib35,11 amcbl,0 e5mc,62 ajc39,1 aat87 aa11c49c-5974-a070-b2c8-1829a3b17e45
    10/20/2014 14:59:37.52 w3wp.exe (0x0CF0) 0x15D0 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:http://sharepoint2013:80/site/subsite/_layouts/15/WopiFrame2.aspx?sourcedoc=/site/subsite/Shared%20Documents/ADP%20Portal%20Registration%20Instructions%20Contractor%20Rev%20061212.docx&action=default)).
    Execution Time=108.9893 aa11c49c-5974-a070-b2c8-1829a3b17e45

  • Again a Error 500--Internal Server Error

              Hi folks,
              I hope someone can help out. I get a error 500 and the already documented "java.lang.VerifyError:
              (class: jsp_servlet/_cda/_RedArticleDetailFB, method: _jspService signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V)
              Incompatible object argument for function call
              error while generating a servlet from the following JSP. Maybe I'm to blind or
              the platform is corrupt (WebLogic 5.1, Solaris 2.x, JDK 1.3). Can anyone have
              look at the code and make a suggestion.
              <%--
              $Id$
              --%><%@page import="java.sql.*" contentType="text/html; charset=UTF-8"
              %><jsp:useBean id="articleDetail" scope="request" class="ce.beans.ArticleDetail"
              /><jsp:setProperty name="articleDetail" property="*"
              /><jsp:useBean id="dbcon" scope="request" class="client.beans.DBConnection"
              /><jsp:useBean id="publish" scope="request" class="ce.beans.LayoutTemplate" /><%
              Connection con = null;
              * Load the right articleDetail bean if an existing is to be updated
              if ((!request.getParameter("articleDetailId").equals("0")) && (request.getParameter("articleDetail")
              != null)) {
                   try {
                        con = dbcon.getConnection("content");
                        // Load an articleDetail content bean if an update is on progress
                        articleDetail.setId(Long.parseLong(request.getParameter("articleDetailId")));
                        articleDetail.load(con);
                        articleDetail.setArticleId(Long.parseLong(request.getParameter("articleId")));
                   } catch (Exception e) {
                        request.setAttribute("errorMsg","Fehler beim Identifizieren des Konfigurationsbeans:
              "+e.getMessage());
                   } finally {
                   if (con != null) {
                   dbcon.freeConnection("content",con);
              } // if articleDetailId
              * Save the ArticleDetail bean to the database, if requested by "mode" parameter.
              if ((request.getParameter("mode") != null) && (request.getParameter("mode").equals("save")))
                   try {
                        con = dbcon.getConnection("content");
                        // throws exception while saving without a configured article
                        articleDetail.store(con);
                        // Call the SP to update the content_id in TM01_NAVIGATION_CONTENT
                        publish.updateConfFBContentId(con,Long.parseLong(request.getParameter("lid")),articleDetail.getId());
                   } catch (Exception e) {
                        request.setAttribute("errorMsg","Fehler beim Schreiben in die DB, wenden Sie
              sich an den Administrator: "+e.getMessage());
                   } finally {
                   if (con != null) {
                   dbcon.freeConnection("content",con);
              } // if mode
              * Return to the page, defined in the "returnTo" parameter
              if (request.getParameter("returnTo") != null) {
                   request.setAttribute("articleDetail",articleDetail);
                   request.setAttribute("lid",request.getParameter("lid"));
              pageContext.forward(request.getParameter("returnTo"));
                   return;
              } else {
              out.println("Done with save.");
              %><%--
                   $Log$
              --%>
              

    Hunk09 wrote:
    Hi all
    I am using Apex 4.1.1 , linux 11g r2
    Classic report
    I have a query basic select from where typo with *36-38* unions in thast query
    Apex wont let me save the query would report
    500 Internal Server Error
    System Unavailable. Please try again later.Is there a limit for Maximum length of query string.
    when a remove few unions just use 32 union then it work like charm.
    pls throw some light on this.
    thanksYes, first option is to create view. If it's not possible (you want to use apex session state in aueryetc.) then change report type as "PL/SQL function returning SQL" and create function in DB.
    Regards,
    Hari

  • Access denied Error while calling Web Service form Infopath Form 2010.

    Hi Dear All,
    I have been facing an error while calling an GetUserProfileByName() web service method from InfoPath 2010 from.
    i have FBA(Forms Base Authentication )configured . After Infopath form published to site collection when i select an user from people picker control i want to get Email Id of Selected user for that i am calling getUserProfileByName() Web Method, but 
    i am getting Access denied error code 500.
    Any Help would be more than welcome.
    Thanks.

    Hi,
    Greetings. Please check 
    Check the IE settings. Click Internet Options> Security>Custom level. Make sure that the ‘Access data source across domains’ is enabled. Make sure that you have permission to the web service and to the content which the web service tries to modify.
    For more information, please refer to this site:
    "Access is denied." error in Infopath 2007 form + ASMX: http://us.generation-nt.com/answer/access-denied-error-infopath-2007-form-plus-asmx-help-65808252.html
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • ADDT multiple image upload: "error 500"

    Right now, I have managed to get the update record form wizard working, the right input ends up in the correct fields in the database.
    So I'm left fighting with the "multiple image upload", which gives me an "error 500" message (error connecting to server)
    The window does show me the correct files in the correct folder, but when I try and upload an image I always get the error 500 message.
    I have read that the "multiple file upload" uses a temporary folder, and Im assuming that the "multiple image upload" does the same, and I suppose that I should CHMOD that folder to 777.
    Do you know where I can find that folder?
    Can anyone help me with that error?
    Please?
    Sorry about my name, I tried a lot of other names, and all were taken, but this random name went just fine

    I thought it did - When I used the upload and save to database it saved the original images in a folder and created a sub folder called "thumbnails" and saved the thumbnails - origianl filesname just with width and height appended at the end.
    I checked my server files and their definately created.
    I browsed the java script and the help files which mentions it does this but I would like to be able to change the naming format of the thumbanils if possible

  • Servlet I/O Stream problem: cannot write into file, error 500

    I am a new Java developer and now, I am facing a problem regarding the error 500. I try to grab records from a table with a date as a constraint. There are two servlets involed: a) saveRecord and b) getRecord. Servlet getRecord will grab data from a database while another servlet, saveRecord will get the data from servlet getRecord and save it into a file. The codes are as below:
    =========================================================================================================================================
    // Servlet Name : saveRecord
    BufferedInputStream instr     = null;
    BufferedOutputStream outstr     = null;
    PostMethod http_post          = null;
    http_post = new PostMethod("getRecord");
    http_client.executeMethod(http_post);
    instr     = new BufferedInputStream(http_post.getResponseBodyAsStream());
    outstr     = new BufferedOutputStream(new FileOutputStream("c:\student.csv"), false));
    int byte_at;
    while (-1 != (byte_at = instr.read())) {
         outstr.write(byte_at);
    =========================================================================================================================================
    // Servlet Name : getRecord
    ServletOutputStream out     = response.getOutputStream();
    StringBuffer str_buf     = new StringBuffer();
    str_buf = generateStudentAc();
    out = response.getOutputStream();
    FileStream(out, response, str_buf);
    // Function Called
    private StringBuffer generateStudentAc() {
         StringBuffer str_buf = new StringBuffer();
         String date = "2000-01-01";
         statement = connection.createStatement();
         resultset = statement.executeQuery("SELECT NAME, ADDRESS FROM STUDENT WHERE DATE>'" + date + "';
         // Write column headers               
    str_buf.append("NAME,ADDRESS");
    String data_row;
    while (resultset.next()) {
              data_row = "\n";
              data_row += "\"" + resultset.getString("STUDENT") + "\"";
              data_row += ",\"" + resultset.getString("ADDRESS") + "\"";
              // Write row
              str_buf.append(data_row);
         return str_buf;
    // Function called
    private void FileStream(ServletOutputStream out, HttpServletResponse response, StringBuffer str_buf) {
         BufferedOutputStream buf_out = null;
    // Create input/output streams
         buf_out     = new BufferedOutputStream(out);
         int length     = str_buf.length();
         // Read/Write
         for (int i = 0; i < length; i++) {
              buf_out.write(str_buf.charAt(i));
    =========================================================================================================================================
    Then, the result will be post back to a JSP page. It didn't work when the records in database growing bigger ( > 100 000 records) but works nice while the records are still in a small quantities ( < 20 000 records). It seems that no record can be inserted into the file and the JSP page becomes blank. When I opened the csv file, I found a message"Error 500:" inside it.
    Hope you all experts can help to figure out this problem. TQ

    I am amatuer in Java Programming, so I don't know how to implement serializable interface but I will look through it.
    However, as I mention before, the code run perfectly if there are not much records un the table. But once there are more and more table added in (> 1000 000 records) in the table, it becomes unstable - sometime it works but most of the time it doesn't. So, I didn't find any different event I replaced the code with String date = "=2000-01-01".
    Anyway, thanks for your help.

  • Error 500

    Hi All,
    Attempting to synch with SAP but receives the error below error. I always use my pc when using sap as I find it easyer to use, I have had all of my settings checked on my pc and they should work fine, the problem started after thye sap upgrade
    Error: 500
    Location: /ZD2SAPMOBILE_PROD/home/D2SAPMobileHome.do
    Internal Servlet Error:
    java.lang.RuntimeException: Failed calling event handler onLoad in co.uk.orange.d2sap.d2sapmobile.home.control.HomeManagement.
    java.lang.ArrayIndexOutOfBoundsException: 12212
         at com.sap.ip.me.persist.fileio.TypeConverter.toInt(TypeConverter.java:112)
         at com.sap.ip.me.persist.fileio.IndexTree.readIndexTreeFromFile(IndexTree.java:498)
         at com.sap.ip.me.persist.fileio.IndexTree.initializeFileData(IndexTree.java:315)
         at com.sap.ip.me.persist.fileio.IndexTree.(IndexTree.java:148)
         at com.sap.ip.me.persist.fileio.SecondaryIndex.(SecondaryIndex.java:31)
         at com.sap.ip.me.persist.fileio.ObjectTable.getIndex(ObjectTable.java:1048)
         at com.sap.ip.me.persist.fileio.ObjectTable.commit
    Please help me out in this.
    Regards
    Raj.

    Install the Mac OS X 10.6.8 Update Combo
    Then restart your Mac. Try downloading the game.

Maybe you are looking for