Http Status 400

Hi.
First of all, If this is in the wrong part of the forum.
A user is running windows 7, Since her PC was upgraded from XP she is unable to run any infoview reports. They reports are created in crystal reports. Other users are able to run the same report, She is the only person who has been upgraded to windows 7.
She receives an error when running the report as below;
https status 400 - invalid path \ crystalreports\view was requested
Type : Status Report
Message : invalid path\crystalreports\view was requested
Description : The request sent by the client was syntactically incorrect (invalid path \ crystalreports\view was requested
Does anyone have any idea how to resolve this error ?
Thank you
Leigh

Hello and thanks for the reply and sorry for the delay responding.
Installing chrome has worked for the users that this affects. Does anyone know what the problem with IE 9 is ? Our IT dept are rolling out IE 9 as part of the windows 7 upgrade. We have approx 60-70 business objects users and we can't install chrome as a seperate browser to use with buiness objects on each PC.
Thanks
Leigh

Similar Messages

  • "The request failed with HTTP Status 400: Bad Request." when running reports

    Hi,
    I installed reporting services and the install went fine.  The Reporting Services are located on a different server.  I can see all the reports in SCCM but when I try to run them I get the "400" error with the following details:
    System.Net.WebException
    The request failed with HTTP status 400: Bad Request.
    Stack Trace:
       at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
       at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.ReportExecutionService.LoadReport2(String Report, String HistoryID)
       at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.<>c__DisplayClass2.<LoadReport>b__0()
       at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.ProxyMethodInvocation.Execute[TReturn](RSExecutionConnection connection, ProxyMethod`1 initialMethod, ProxyMethod`1 retryMethod)
       at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.LoadReport(String Report, String HistoryID)
       at Microsoft.Reporting.WinForms.ServerReport.EnsureExecutionSession()
       at Microsoft.Reporting.WinForms.ServerReport.SetParameters(IEnumerable`1 parameters)
       at Microsoft.ConfigurationManagement.AdminConsole.SrsReporting.ReportViewerWindowsForms.SetParameterValues_DoWork(Object sender, DoWorkEventArgs e)
    I can open the URL from the SCCM server but when I select a report I am unable to select any report options if available.  If no options are availble the report just doesn't run,  I don't get and error if I select "View Report" mutiple
    times.
    If I connect to the Reporting Services site on the computer where it is installed all the reports run fine.
    One thing I have noticed is that when I try to change or add a role assignment for Reporting Services the edited account always reverts back to the default settings and the added Domain user is dropped.
    Thanks

    I reviewed the topic and found a couple of steps I missed the first time around.  I had to "Configure Reports to Use Report Builder 3.0 and setting the "Log on Locally" permission. 
    I then uninstalled the role and reinstalled it.  I am still getting the 400 error.
    When I inspected the SmsAdminUI.log I noticed the Error on the last line 2151811598 (it repeats in the log).  I couldn't find anything specific related to it.  By reading a few "related" Internet posts I came accross a intial setup
    blog that noted some WMI firewall execptions (Async-in, DCOM-in and WMI-in) as require so I checked and they were not allowed on the SCCM server so I allowed them and tested with the same result.  I turned them off again. 
    Here is the tail end of the SmsAdminUI.log
    [19, PID:2684][01/24/2013 16:08:29] :[ReportProxy] - User-specified default Reporting Point [INC-SQL42.deccoinc.net] could not be found, [] is now the default Reporting Point.
    [4, PID:2684][01/24/2013 16:08:30] :[ReportProxy] - User-specified default Reporting Point [INC-SQL42.deccoinc.net] could not be found, [] is now the default Reporting Point.
    [15, PID:2684][01/24/2013 16:08:30] :[ReportProxy] - User-specified default Reporting Point [INC-SQL42.deccoinc.net] could not be found, [] is now the default Reporting Point.
    [1, PID:2684][01/24/2013 19:06:02] :System.Management.ManagementException\r\nNot found \r\n   at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
       at System.Management.ManagementObject.Initialize(Boolean getObject)
       at System.Management.ManagementBaseObject.get_wbemObject()
       at System.Management.PropertyData.RefreshPropertyInfo()
       at System.Management.PropertyDataCollection.get_Item(String propertyName)
       at System.Management.ManagementBaseObject.GetPropertyValue(String propertyName)
       at System.Management.ManagementBaseObject.get_Item(String propertyName)
       at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.GetInstance(String objectPath)\r\nManagementException details:
    instance of SMS_ExtendedStatus
     Description = "Error retrieving object FileType=2";
     ErrorCode = 2151811598;
     File = "e:\\nts_sccm_release\\sms\\siteserver\\sdk_provider\\smsprov\\SspInterface.h";
     Line = 1208;
     Operation = "GetObject";
     ParameterInfo = "SMS_SCI_SysResUse.FileType=2,ItemName=\"[\\\"Display=\\\\\\\\INC-SQL42.deccoinc.net\\\\\\\"]MSWNET:[\\\"SMS_SITE=INC\\\"]\\\\\\\\INC-SQL42.deccoinc.net\\\\,SMS SRS Reporting Point\",ItemType=\"System Resource Usage\",SiteCode=\"INC\"";
     ProviderName = "ExtnProv";
     StatusCode = 2147749890;
    \r\n
    [1, PID:2684][01/24/2013 23:39:14] :System.NullReferenceException\r\nObject reference not set to an instance of an object.\r\n   at Microsoft.ConfigurationManagement.AdminConsole.SmsCustomDialog.get_LocaleIndependentIdentifier()
       at Microsoft.ConfigurationManagement.AdminConsole.ShowDialogTaskHandler.DoTask(NavigationModelNodeBase node, SccmTaskConfiguration sccmTask, PropertyDataUpdated dataUpdatedDelegate, Boolean readOnly)\r\n
    [1, PID:5008][01/25/2013 20:48:00] :System.Management.ManagementException\r\nNot found \r\n   at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
       at System.Management.ManagementObject.Initialize(Boolean getObject)
       at System.Management.ManagementBaseObject.get_wbemObject()
       at System.Management.PropertyData.RefreshPropertyInfo()
       at System.Management.PropertyDataCollection.get_Item(String propertyName)
       at System.Management.ManagementBaseObject.GetPropertyValue(String propertyName)
       at System.Management.ManagementBaseObject.get_Item(String propertyName)
       at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.GetInstance(String objectPath)\r\nManagementException details:
    instance of SMS_ExtendedStatus
     Description = "Error retrieving object FileType=2";
     ErrorCode = 2151811598;
     File = "e:\\nts_sccm_release\\sms\\siteserver\\sdk_provider\\smsprov\\SspInterface.h";
     Line = 1208;
     Operation = "GetObject";
     ParameterInfo = "SMS_SCI_SysResUse.FileType=2,ItemName=\"[\\\"Display=\\\\\\\\INC-SQL42.deccoinc.net\\\\\\\"]MSWNET:[\\\"SMS_SITE=INC\\\"]\\\\\\\\INC-SQL42.deccoinc.net\\\\,SMS SRS Reporting Point\",ItemType=\"System Resource Usage\",SiteCode=\"INC\"";
     ProviderName = "ExtnProv";
     StatusCode = 2147749890;
    \r\n

  • Business Objects XI 3.1 SP4 Infoview and IE9 HTTP Status 400 - Invalid path

    Hi There,
    When I working in Infoview with IE9 32Bit or 64Bit and I right click on any object i.e Crystal Report, Folder, Webi Report etc. and select properties I get the following Error
    HTTP Status 400 - Invalid path /PlatformServices/properties was requested
    Has any one got a workaround or a solution for this problem.
    Server - BOE XI 3.1 with SP4 running on a Windows Server 2008 R2 64 bit.
    Client PC`s\Laptops  - Windows 7 64 bit
    Kind Regards,
    Frikkie

    Dear all,
    Seems the issue is browser compatibility ans the below solution may work in your case
    HTTP 400 occurs because of URL difference between IE9 and older versions of supported IE. To resolve this issue, this error in Tomcat will be redirected to a HTML script that applies new URL format. Please follow this 3 steps process:
    STEP ONE: Solution in InfoViewAppActions Folder:
    1) Go to “D:\Business Objects\Tomcat55\webapps\InfoViewAppActions” folder. This folder already has httperror_404.htm and httperror_500.jsp by default.  Rename httperror_404.htm to httperror_404_backup.htm.
    2) Copy and paste the attached file from InfoViewAppActions folder (httperror_400.htm and httperror_404.htm) into “D:\Business Objects\Tomcat55\webapps\InfoViewAppActions” folder. Go to “D:\Business Objects\Tomcat55\webapps\InfoViewAppActions\WEB-INF”
    3) Take a backup of web.xml file and name it as web_backup.xml
    4) Open the file and paste the following script after the Error 404 error handling and save.
    Before:
    <error-page>
            <error-code>404</error-code>
    <location>/httperror_404.htm</location>
        </error-page>
    After:
    <error-page>
    <error-code>404</error-code>
    <location>/httperror_404.htm</location>
        </error-page>
        <error-page>
    <error-code>400</error-code>
    <location>/httperror_400.htm</location>
        </error-page>
    STEP TWO: Solution in AnalyticalReporting Folder:
    1) Go to “D:\Business Objects\Tomcat55\webapps\ AnalyticalReporting” folder. This folder already has httperror_404.htm and httperror_500.jsp by default.  Rename httperror_404.htm to httperror_404_backup.htm.
    2) Copy and paste the attached file from AnalyticalReporting folder (httperror_400.htm and httperror_404.htm) into “D:\Business Objects\Tomcat55\webapps\ AnalyticalReporting” folder. Go to “D:\Business Objects\Tomcat55\webapps\ AnalyticalReporting \WEB-INF”
    3) Take a backup of web.xml file and name it as web_backup.xml
    4) Open the file and paste the following script after the Error 404 error handling and save.
    Before:
    <error-page>
    <error-code>404</error-code>
    <location>/httperror_404.htm</location>
        </error-page>
    After:
    <error-page>
    <error-code>404</error-code>
    <location>/httperror_404.htm</location>
        </error-page>
        <error-page>
    <error-code>400</error-code>
    <location>/httperror_400.htm</location>
        </error-page>

  • HTTP STatus 400: WebiView was requested

    Hi All
    I install BOE to my ZCM 11 Primary server(SLES11), and it install successfully.
    I click reporting service from ZCC, and generate anyone report,it's fail.
    The web shaow "HTTP Status 400 - Invalid path /AnalyticalReporting/WebiView was requested"
    Type: Status report
    Message: Invalid path /AnalyticalReporting/WebiView was requested
    Description: The request sent by the client was syntactically incorrect (Invalid path /AnalyticalReporting/WebiView was requested).
    Do I have patch for fix it ?
    wyld

    Originally Posted by wyld
    Hi All
    I install BOE to my ZCM 11 Primary server(SLES11), and it install successfully.
    I click reporting service from ZCC, and generate anyone report,it's fail.
    The web shaow "HTTP Status 400 - Invalid path /AnalyticalReporting/WebiView was requested"
    Type: Status report
    Message: Invalid path /AnalyticalReporting/WebiView was requested
    Description: The request sent by the client was syntactically incorrect (Invalid path /AnalyticalReporting/WebiView was requested).
    Do I have patch for fix it ?
    wyld
    What browser and version are you using?
    Thomas

  • HTTP Status 400 - Invalid path /AnalyticalReporting/WebiCreate was requeste

    Hi,
    I have a  BusinessObject Enterprise XI 3.1 installed on a Linux server.
    When I try to create a New Web Intelligence Document, I get the following error.
    HTTP Status 400 - Invalid path /AnalyticalReporting/WebiCreate was requeste
    Do I need to install another module to activate this feature?
    Thanks
    /Yannick

    Hello Yannick
    Have a look at the following SAP note 1431655
    https://bosap-support.wdf.sap.corp/sap/support/notes/1431655
    Basically, you have to use the wdeploy command.
    Another information: When you install a Service Pack or a Fix Pack, the war files need to be redeployed.
    The installation program asks you if you want to do it manually or automatically.
    Regards,
    Philippe

  • BPC NW 7.5 - Request failed with HTTP status 400:  Bad Request

    Dear Experts,
    I am trying to upload a flat file to BPC server. I am getting the following error.
    " Request to transfer a file to the server failed (ERROR): The request failed with HTTP status 400: Bad Request"
    Could any of you please help?
    I am selecting BPC for excel >manage data > upload data file > selection for source file > selection of destination file > ok
    Thanks in advance
    Vipin Jain

    Hi Vipin,
    Glad to know that you have heard good about me.
    Can you try to upload the same file from some other system. If it doesnt work from any system, there might be some problem with the flat file. In that case, you can try to create a small and simple file and try to upload that.
    You might also get this error if there is a blank line at the end of the file.
    Hope this helps.

  • GetItemsRequest failed with HTTP status 400

    At one of our customers we've got a strange error.
    The Login/Logout request works fine, but the getItemsRequest fails with status 400.
    Here is the soap request:
    ------- SoapRequest at 13:29:22 -------
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Header><session xmlns="http://schemas.novell.com/2005/01/GroupWise/types">BbOOBFebTkAxSffn</session></soap:Header><soap:Body><getItemsRequest xmlns="http://schemas.novell.com/2005/01/GroupWise/methods"><view>default id container @type message subject startDate endDate attachments recipients status</view><filter><element xsi:type="FilterGroup" xmlns="http://schemas.novell.com/2005/01/GroupWise/types"><op>and</op><element xsi:type="FilterEntry"><op>contains</op><field>subject</field><value>*</value></element></element></filter><items><item xmlns="http://schemas.novell.com/2005/01/GroupWise/types">4ECE5BEE.GWDOMNM.GWPOSTNM.100.1333466.1.16E BA.1</item></items><count>-1</count></getItemsRequest></soap:Body></soap:Envelope>
    POA is 8.0.2, any suggestions?

    There is not enough information.
    You could check the POA log file.
    You can turn on logging the soap requests in the POA log file
    to see if that shows the error around the time on the soap
    request.
    If you get an 8.0.x build after 98083, we put the engine
    error in an HTTP header line:
    X-GWError-Code: xxxx
    Preston
    >>> On Wednesday, January 04, 2012 at 6:26 AM,
    hkunze<[email protected]> wrote:
    > At one of our customers we've got a strange error.
    > The Login/Logout request works fine, but the getItemsRequest fails with
    > status 400.
    >
    > Here is the soap request:
    >
    > ‑‑‑‑‑‑‑ SoapRequest at 13:29:22 ‑‑‑‑‑‑‑
    >
    > <?xml version="1.0" encoding="utf‑8"?>
    > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
    > xmlns:xsi="http://www.w3.org/2001/XMLSchema‑instance"
    > xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Header><session
    > xmlns="http://schemas.novell.com/2005/01/GroupWise/types">BbOOBFebTkAxSff
    > n</session></soap:Header><soap:Body><getItemsRequest
    > xmlns="http://schemas.novell.com/2005/01/GroupWise/methods"><view>default
    > id container @type message subject startDate endDate attachments
    > recipients status</view><filter><element xsi:type="FilterGroup"
    >
    xmlns="http://schemas.novell.com/2005/01/GroupWise/types"><op>and</op><eleme
    nt
    >
    xsi:type="FilterEntry"><op>contains</op><field>subject</field><value>*</valu
    e></elemen
    > t></element></filter><items><item
    > xmlns="http://schemas.novell.com/2005/01/GroupWise/types">4ECE5BEE.GWDOMN
    >
    M.GWPOSTNM.100.1333466.1.16EBA.1</item></items><count>‑1</count></getItems
    Request></s
    > oap:Body></soap:Envelope>
    >
    > POA is 8.0.2, any suggestions?

  • Http status 400 error in the emulator

    I successfully have run the servlet (ImageAdapter.java). The servlet is suposed to convert GIF images into PNG images according to the clients display settings by using Sun's Jimi packages. It displays both gif and png type images in IE. Now, I am trying to run the midlet (ImageClient.java) in the J2ME toolkit 2.2. It displays the gif image in the emulator. But, when I try to display a png image it gives me a http 400 error. Why is this ? Can anyone help ?
    servlet code: ImageAdapter.java
    import com.sun.jimi.core.*;
    import com.sun.jimi.core.util.*;
    //import com.sun.jimi.util.*;
    import java.awt.*;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import java.lang.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    * A simple example of a servlet that reads the image from
    * a given URL and uses Jimi to convert it to PNG format,
    * scaling it and recoloring it appropriately for the device.
    * Can be called using either GET or POST.  If GET, then the
    * request parameters are used to determine the URL of the
    * image to fetch and the scaling and color attributes.
    * If POST, the data is sent as UTF-encoded string pairs in the
    * request body.
    public class ImageAdapter extends HttpServlet {
        // The PNG MIME type
        static final String PNG_MIME = "image/png";
        // Convenience method
        static boolean getBooleanProperty( Properties p,
                                           String key,
                                           boolean def ){
            String  sval = p.getProperty( key );
            boolean bval = def;
            if( sval != null ){
                bval = ( sval.equalsIgnoreCase( "true" ) ||
                         sval.equals( "1" ) );
            return bval;
        // Convenience method
        static int getIntegerProperty( Properties p,
                                       String key,
                                       int def ){
            String sval = p.getProperty( key );
            int    ival = def;
            if( sval != null ){
                try {
                    ival = Integer.parseInt( sval );
                catch( NumberFormatException e ){
            return ival;
        // Process GET requests.  Sets up some defaults and then
        // overrides them with the request parameters.
        public void doGet( HttpServletRequest request,
                            HttpServletResponse response )
                throws IOException, ServletException {
            // Put in some defaults for testing with a browser
            Properties props = new Properties();
            props.put( "url",
                 "http://localhost:8080/img/Availability.png" );
            props.put( "colors", "256" );
            props.put( "minwidth", "200" );
            props.put( "maxwidth", "200" );
            props.put( "minheight", "200" );
            props.put( "maxheight", "200" );
            // Overwrite the default with any request parameters...
            Enumeration names = request.getParameterNames();
            while( names.hasMoreElements() ){
                String key = (String) names.nextElement();
                props.put( key, request.getParameter( key ) );
            // Now send back the image...
            adaptImage( props, response );
        // Process POST request.  Parameters are extracted from
        // the request body.
        public void doPost( HttpServletRequest request,
                            HttpServletResponse response )
                throws IOException, ServletException {
            // Get the input stream and read the data...
            ServletInputStream in = request.getInputStream();
            DataInputStream    din = new DataInputStream( in );
            Properties         props = new Properties();
            // Read in properties as sent by client.
            while( true ){
                try {
                    String key = din.readUTF();
                    if( key.length() == 0 ) break;
                    props.put( key, din.readUTF() );
                catch( IOException e ){
                    break;
            din.close();
            adaptImage( props, response );
        // Use Jimi to grab the original image and
        // then scale it and reduce its colors
        // based on the requested settings.
        private void adaptImage( Properties props,
                                 HttpServletResponse response )
                    throws IOException, ServletException {
            // Read in the parameters, with appropriate
            // defaults.
            String imageURL = props.getProperty( "url" );
            if( imageURL == null ){
                response.sendError( response.SC_BAD_REQUEST,
                                   "No 'url' specified" );
                return;
            int minWidth = getIntegerProperty( props,
                                               "minwidth",
                                               0 );
            int maxWidth = getIntegerProperty( props,
                                               "maxwidth",
                                               96 );
            int minHeight = getIntegerProperty( props,
                                                "minheight",
                                                0 );
            int maxHeight = getIntegerProperty( props,
                                                "maxheight",
                                                0 );
            int colors = getIntegerProperty( props,
                                             "colors", 2 );
            boolean dither = getBooleanProperty( props,
                                                 "dither",
                                                 true );
            boolean reduce = getBooleanProperty( props,
                                                 "reduce",
                                                 false );
            // Now read in the image using Jimi...
            URL url;
            try {
                url = new URL( imageURL );
            catch( MalformedURLException e ){
                response.sendError( response.SC_BAD_REQUEST,
                                    "Invalid image URL" );
                return;
            Image img = Jimi.getImage( url, Jimi.SYNCHRONOUS |
                                            Jimi.IN_MEMORY );
            if( img == null ){
                response.sendError( response.SC_BAD_REQUEST,
                                    "Bad image format" );
                return;
            // Now adjust the image, first by
            // scaling it if necessary....
            int     width = img.getWidth( null );
            int     height = img.getHeight( null );
            boolean scale = false;
            if( width < minWidth ){
                width = minWidth;
                scale = true;
            } else if( width > maxWidth){
                width = maxWidth;
                scale = true;
            if( height < minHeight ){
                height = minHeight;
                scale = true;
            } else if( height > maxHeight ){
                height = maxHeight;
                scale = true;
            if( scale ){
                img = img.getScaledInstance( width, height,
                           Image.SCALE_SMOOTH );
                GraphicsUtils.waitForImage( img );
            // Now adjust the color depth...
            if( reduce ){
                ColorReducer reducer = new ColorReducer( colors,
                                                         dither );
                try {
                    img = reducer.getColorReducedImage( img );
                catch( Exception e ){
                    response.sendError( response.SC_BAD_REQUEST,
                                        "Error reducing image" );
                    return;
                GraphicsUtils.waitForImage( img );
            // Convert it to PNG format
            ByteArrayOutputStream bout = new ByteArrayOutputStream();
            try {
                Jimi.putImage( PNG_MIME, img, bout );
            catch( Exception e ){
                response.sendError( response.SC_BAD_REQUEST,
                                    "Error converting image" );
                return;
            byte[] data = bout.toByteArray();
            // Send it out!
            response.setContentType( PNG_MIME );
            response.setContentLength( data.length );
            response.setStatus( response.SC_OK );
            OutputStream out = response.getOutputStream();
            out.write( data );
            out.close();
    }MIDlet code: ImageClient.java
    import java.io.*;
    import javax.microedition.io.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.midlet.*;
    * A MIDP application that fetches and displays an arbitrary
    * image from the Web using the ImageAdapter servlet.
    * This class depends on HttpConnectionHelper, described
    * in an earlier J2ME Tech Tip.
    public class ImageClient extends MIDlet
                             implements CommandListener {
        // Adjust this URL appropriately for the adapter...
        private static String adapterURL =
         "http://localhost:8080/img/image";
        // A default image to display...
        private static String defaultURL =
         "http://localhost:8080/img/Availability.png";
    //http://www.w3schools.com/images/ie.gif
        private Display display;
        private Command exitCommand = new Command( "Exit",
                                                   Command.EXIT, 1 );
        private Command okCommand   = new Command( "OK", Command.OK, 1 );
        private Command sendCommand = new Command( "Get",
                                                   Command.OK, 1 );
        private TextBox entryForm;
        private int     screenHeight;
        private int     screenWidth;
        private int     numColors;
        public ImageClient(){
        protected void destroyApp( boolean unconditional )
                           throws MIDletStateChangeException {
            exitMIDlet();
        protected void pauseApp(){
        protected void startApp()
                          throws MIDletStateChangeException {
            if( display == null ){ // first time called...
                initMIDlet();
        // First we display the dummy canvas so we can
        // get information about the display
        private void initMIDlet(){
            display = Display.getDisplay( this );
            entryForm = new EntryForm();
            display.setCurrent( new DummyCanvas() );
        public void exitMIDlet(){
            notifyDestroyed();
        public void commandAction( Command c, Displayable d ){
            if( c == sendCommand ){
                StatusForm f =
                    new StatusForm( entryForm.getString() );
                display.setCurrent( f );
                f.start();
            } else if( c == okCommand ){
                display.setCurrent( entryForm );
            } else {
                exitMIDlet();
        // A dummy canvas to get the size of the screen
        class DummyCanvas extends Canvas {
            protected void paint( Graphics g ){
                screenHeight = getHeight();
                screenWidth  = getWidth();
                numColors    = display.numColors();
                // Go directly to the main screen
                display.setCurrent( entryForm );
        // The text entry form...
        class EntryForm extends TextBox {
            EntryForm(){
                super( "Enter a URL", defaultURL, 80, 0 );
                addCommand( exitCommand );
                addCommand( sendCommand );
                setCommandListener( ImageClient.this );
        // Show the image...
        class ShowImage extends Canvas {
            ShowImage( byte[] imageData ){
                image = Image.createImage( imageData, 0,
                                           imageData.length );
                display.setCurrent( this );
                addCommand( okCommand );
                setCommandListener( ImageClient.this );
            protected void paint( Graphics g ){
                g.drawImage( image, 0, 0,
                             g.TOP | g.LEFT );
            private Image image;
        // A status for for displaying messages as the data is sent...
        class StatusForm extends Form
                     implements Runnable,
                                HttpConnectionHelper.Callback {
            StatusForm( String url ){
                super( "Status" );
                try {
                    ByteArrayOutputStream bout =
                                new ByteArrayOutputStream();
                    DataOutputStream      dout =
                                new DataOutputStream( bout );
                    // Write info about the image and the
                    // display settings for this device
                    dout.writeUTF( "url" );
                    dout.writeUTF( url );
                    writeInt( dout, "minwidth", screenWidth );
                    writeInt( dout, "maxwidth", screenWidth );
                    writeInt( dout, "minheight", screenHeight );
                    writeInt( dout, "maxheight", screenHeight );
                    writeInt( dout, "colors", numColors );
                    writeInt( dout, "reduce", 1 );
                    writeInt( dout, "dither", 1 );
                    dout.writeUTF( "" );
                    data = bout.toByteArray();
                    dout.close();
                catch( IOException e ){
                    // should handle this....
            void writeInt( DataOutputStream dout, String key,
                           int value ) throws IOException {
                dout.writeUTF( key );
                dout.writeUTF( Integer.toString( value ) );
            // Updates the display.
            void display( String text ){
                if( message == null ){
                    message = new StringItem( null, text );
                    append( message );
                } else {
                    message.setText( text );
            // We're done.
            void done( String msg ){
                display( msg != null ? msg : "Done." );
                addCommand( okCommand );
                setCommandListener( ImageClient.this );
            // Callback for making the HTTP connection.
            public void prepareRequest( String originalURL,
                           HttpConnection conn ) throws IOException
                conn.setRequestMethod( HttpConnection.POST );
                conn.setRequestProperty( "User-Agent",
                  "Profile/MIDP-2.0 Configuration/CLDC-1.1" );
                conn.setRequestProperty( "Content-Language",
                  "en-US" );
                conn.setRequestProperty( "Accept", "image/png" );
                conn.setRequestProperty( "Connection", "close" );
                conn.setRequestProperty( "Content-Length",
                  Integer.toString( data.length ) );
                OutputStream os = conn.openOutputStream();
                os.write( data );
                os.close();
            // Do the connection on a separate thread to keep the UI
            // responsive...
            public void run(){
                HttpConnection conn = null;
                display( "Obtaining HttpConnection object..." );
                try {
                    conn =
                      HttpConnectionHelper.connect( adapterURL,
                                                    this );
                    display( "Connecting to the server..." );
                    int rc = conn.getResponseCode();
                    if( rc == HttpConnection.HTTP_OK ){
                        try {
                            DataInputStream din = new DataInputStream(
                                                conn.openInputStream() );
                            data = new byte[ (int) conn.getLength() ];
                            din.readFully( data );
                            din.close();
                        catch( IOException e ){
                        done( "Image received" );
                        new ShowImage( data );
                    } else {
                        done( "Unexpected return code: " + rc );
                    conn.close();
                catch( IOException e ){
                    done( "Exception " + e +
                          " trying to connect." );
            // Starts the upload in the background...
            void start(){
                display( "Starting..." );
                Thread t = new Thread( this );
                try {
                    t.start();
                catch( Exception e ){
                    done( "Exception " + e +
                          " trying to start thread." );
            private StringItem message;
            private byte[]     data;
    }Regards,
    Ship.

    I have the same problem and I don`t found info about this. How do you solved this problem.

  • HTTP Status 400 error

    Every time I try to send an email with an attachment I get the above error message. Also with the message I get "The request sent by the client was syntactically incorrect (The parameter "nimlet" was not found in the HTTP request to the HttpNimletDriver").
    What the heck does this all mean, please help.
    Thanks
    David

    I have the same problem and I don`t found info about this. How do you solved this problem.

  • "HTTP Status 400 - exception looking up trusted root"

    I see people have been having this problem for years, right back from version 2, on different websites, doesn't anyone know how to fix it?
    When I try to login on the syfy forums, I get that error message - when I use Firefox, not if i use other browsers, say Chrome...

    I have the same problem and I don`t found info about this. How do you solved this problem.

  • HTTP Status 408/ HTTP Status 400 JDBCRealm/Form Authorization Tomcat

    Hi all
    When I'm trying to log in to my webapp using Form Authorization based on JDBCRealm I can't get in.
    Opera gives me sth like this:
    opera
    And IE:
    ie
    When I'm using Firefox everything is ok. Have no idea why. Any suggestions?
    Waiting for ur help ;]

    Well, if the cookies are actually enabled, then the problem lies somewhere else (however, have you actually verified if the browser has accepted the jsessionid cookie on the correct domain/path?). URL rewriting is not needed if cookies are enabled. It is only essential for ones who disabled cookies, because that would be the only way to let the server track the client session then. You can use JSTL's c:url for this. But again, this is not the main cause of your problem.
    Can you post an SSCCE so that we can try to reproduce the same problem and spot on the cause?

  • Application Web Service Control Manager detected AWEBSVC is not responding to HTTP requests. The http status code and text is 400, Bad Request.

    Hi All,
    I am seeing the following error for SMS_AWEBSVC_CONTROL_MANAGER component with Message ID: 8100
    Application Web Service Control Manager detected AWEBSVC is not responding to HTTP requests.  The http status code and text is 400, Bad Request.
    awebsctl.log file has below errors:
    Call to HttpSendRequestSync failed for port 80 with status code 400, text: Bad Request
    SMS_AWEBSVC_CONTROL_MANAGER 12/22/2014 3:37:55 PM
    13920 (0x3660)
    AWEBSVCs http check returned hr=0, bFailed=1
    SMS_AWEBSVC_CONTROL_MANAGER 12/22/2014 3:37:55 PM
    13920 (0x3660)
    AWEBSVC's previous status was 1 (0 = Online, 1 = Failed, 4 = Undefined)
    SMS_AWEBSVC_CONTROL_MANAGER 12/22/2014 3:37:55 PM
    13920 (0x3660)
    Health check request failed, status code is 400, 'Bad Request'.
    SMS_AWEBSVC_CONTROL_MANAGER 12/22/2014 3:37:55 PM
    13920 (0x3660)
    Management point and Application Catalog Website Point are installed on the same Server where I am seeing the error for Application Catalog Web Service Point role. Management Point and Application Catalog Website Point are functioning properly. Application
    Catalog Website is working.
    Thanks & Regards, Kedar

    Hi Jason,
    Application Catalog Web Service Point and Application Catalog Website Point; both are installed as per below configuration on same Server:
    IIS Website: Default Web Site
    Port Number: 80
    with default value for Web Application Name configured.
    For SMS_AWEBSVC_CONTROL_MANAGER component, I am getting below error in Component Status:
    Application Web Service Control Manager detected AWEBSVC is not responding to HTTP requests.  The http status code and text is 400, Bad Request.
    Possible cause: Internet Information Services (IIS) isn't configured to listen on the ports over which AWEBSVC is configured to communicate. 
    Solution: Verify that the designated Web Site is configured to use the same ports which AWEBSVC is configured to use.
    Possible cause: The designated Web Site is disabled in IIS. 
    Solution: Verify that the designated Web Site is enabled, and functioning properly.
    For more information, refer to Microsoft Knowledge Base.
    And awebsctl.log has the below error lines:
    Call to HttpSendRequestSync failed for port 80 with status code 400, text: Bad Request
    SMS_AWEBSVC_CONTROL_MANAGER
    12/23/2014 11:04:36 AM 16388 (0x4004)
    AWEBSVCs http check returned hr=0, bFailed=1
    SMS_AWEBSVC_CONTROL_MANAGER
    12/23/2014 11:04:36 AM 16388 (0x4004)
    AWEBSVC's previous status was 1 (0 = Online, 1 = Failed, 4 = Undefined)
    SMS_AWEBSVC_CONTROL_MANAGER
    12/23/2014 11:04:36 AM 16388 (0x4004)
    Health check request failed, status code is 400, 'Bad Request'.
    SMS_AWEBSVC_CONTROL_MANAGER
    12/23/2014 11:04:36 AM 16388 (0x4004)
    STATMSG: ID=8100
    What should I check from IIS side?
    Application Catalog Website is functioning properly.
    Thanks & regards,
    Kedar
    Thanks & Regards, Kedar

  • WinRM - WsManFault - HTTP Bad Request status (400) - Error number: -2144108175 0x80338171

    I am trying to configure the WinRM in my servers for eventlog forwarding but I am facing issue when i run "winrm qc" command on domain controllers. I get the following error,
    WinRM already is set up to receive requests on this machine.
    WSManFault
        Message = The WinRM client received an HTTP bad request status (400), but the remote service did not include any other information about the cause of the failure.
    Error number:  -2144108175 0x80338171
    The WinRM client received an HTTP bad request status (400), but the remote service did not include any other information about the cause of the failure.
    Please help me resolve this. I searched many articles but no result. Nothing helped.
    Regards,
    Sameer Gawde

    Hi Sameer,
    Before going further, would you please let me confirm edition information of the server OS that this issue
    occurred? Was it Windows Server 2008 or Windows Server 2008 R2 or any other?
    Based on the error message, this issue may occur if the Window Remote Management service and its listener functionality
    are broken. Please refer to resolution in following KB and check if can help you.
    Errors when you run winrm commands to check local functionality
    in a Windows Server 2008 environment
    If any update, please feel free to let me know.
    Hope this helps.
    Best regards,
    Justin Gu

  • Test web service published returns Error code: InternalError, Http status code: 500

    Further invastigating ther error mentioned here: 
    https://social.msdn.microsoft.com/Forums/azure/en-US/14afa50f-287d-4158-852a-c9532f9f30eb/test-published-web-service-experiment-error-with-status-code-400?forum=MachineLearning
    I have made an even simpler experiment with two python scirpt modules. The experiment again runs fine in Azure ML Studio but fails in the web service test with the error
    Error code: InternalError, Http status code: 500, Request id: 53eef674-190a-4f63-bdc6-a072a45a9c72, Timestamp: Fri, 24 Apr 2015 09:30:37 GMT
    The experiment consists only of two python script modules. The code of the first module:
    import numpy as np
    import pandas as pd
    def azureml_main(dataframe1 = None, dataframe2 = None):
        dataframe1.loc[1] = ["U5000","resB",np.nan]
        dataframe1.loc[2] = ["U5000","resC",2]
        dataframe1.loc[3] = ["U5000","resD",2]
        dataframe1.loc[4] = ["U5000","resE",np.nan]
        dataframe1.loc[5] = ["U6000","resA",np.nan]
        dataframe1.loc[6] = ["U6000","resB",1]
        dataframe1.loc[7] = ["U6000","resC",2]
        dataframe1.loc[8] = ["U6000","resD",np.nan]
        dataframe1.loc[9] = ["U6000","resE",1]
        dataframe1['hasRated'] = pd.Series(1, index=dataframe1.index).astype(bool)
        df_new = pd.DataFrame()
        df_new = pd.DataFrame(dataframe1[["restaurant","rating","hasRated"]])
        return df_new,
    The code of the second module that takes as input the result of the first module:
    def azureml_main(dataframe1 = None, dataframe2 = None):
    return dataframe1,
    A url of a screenshot taken from the experiment.
    http://i.imgur.com/4nrbneA.png
    Please respond. Again I am using a free workspace of Azure ML Studio.
    Thank you very much

    Thank you for your quick reply.
    I hope you will be able to resolve this issue soon.
    asavvopoulos

  • Apache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error

    Can someone give my a hand with this problem because the unix administrator of my website don't know how to fixes.
    When I try to run a servlet name SimpleServer or other servlet from my website I received the following error:
    Apache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error
    type Exception report
    message Internal Server Error
    description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Cannot allocate servlet instance for path /servlet/SimpleServlet
         at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:419)
         at org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:180)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:458)
         at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:551)
         at java.lang.Thread.run(Thread.java:484)
    root cause
    java.lang.ClassFormatError: SimpleServlet (Illegal constant pool type)
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
         at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1643)
         at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:937)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1372)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1254)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:867)
         at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:655)
         at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:400)
         at org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:180)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:458)
         at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:551)
         at java.lang.Thread.run(Thread.java:484)
    Thanks in advance,
    Jose

    Hi,
    ClassFormatError is Thrown when the Java Virtual Machine attempts to read a class file and determines that the file is malformed or otherwise cannot be interpreted as a class file.
    So check whether you have properly configured servlet and whether class file is VALID and is in right place or not.
    Sandesh

Maybe you are looking for

  • I can download firefox, but when I try to run it, windows 7 asks me to select a program type to run the *.exe file

    I am running windows 7 with IE 10. I want to switch to Firefox as my browser. I am able to download the Firefox Setup 22 0 exe, but when I try to open or run it, windows prompts me to "choose the program you want to use to open this file". This happe

  • RMI Server

    Alright guys I am trying to get a Simple RMI example running. I can run the registtry from the command prompt but cannot get the server started. My command to run the server and the error are as follows C:\Documents and Settings\John\jbproject\simple

  • EPM 11 - Planning App not showing up in Dropdown

    I have an EPM 11.1 demo on my laptop. I created a datasource, then using Classic App Wizard, I was able to successfully create an application, and register it to a group in Shared Services. If I got into SS, I can see the app. If i go into EAS, I can

  • Why offer download, when no URL supplied?

    I was just doing a few quick checks based on the previous thread by Baski (sorry, I have no new/interesting information to offer on that specific question), and noticed a disturbing thing. Here is a series of three images (total <100Kb) that demonstr

  • Email not working on iPad

    For the third time this year, my iPad does not pick up my BT Mail. I can still get into it through the webpage (so I know it is there), but no synchronisation with the mail program.  I have uninstalled and reinstalled the mailboxes on the iPad. ....