Error 500 with cgi

hello
When i load a cgi program with my iplanet server i have a 500 error message and in the error.log :
"[04/Dec/2001:20:02:05] failure (22308): for host 10.67.209.59 trying to POST /cgi-bin/EnvoiFormulaire, cgieng_scan_heade
rs reports: the CGI program /space/iw3/iplanet/FEU/server_root/extension/cgi/EnvoiFormulaire did not produce a valid hea
der (program terminated without a valid CGI header. Check for core dump or other abnormal termination)"
my obj.conf is like this :
"Init fn="flex-init" access="/space/iw3/iplanet/FEU/server_root/logs/acces.log" format.access="%Ses->client.ip% - %Req->v
ars.auth-user% [%SYSDATE%] \"%Req->reqpb.clf-request%\" %Req->srvhdrs.clf-status% %Req->srvhdrs.content-length%"
Init fn="load-types" mime-types="mime.types"
Init fn="init-cgi" ORACLE_HOME="/space/iw3/iplanet/FEU/server_root/oracle" TWO_TASK=""
<Object name="default">
NameTrans fn="pfx2dir" from="/cgi-bin" dir="/space/iw3/iplanet/FEU/server_root/scripts" name="cgi"
NameTrans fn="pfx2dir" from="/java" dir="/space/iw3/iplanet/FEU/server_root/extension/servlets" name="ServletsByExt"
NameTrans fn="document-root" root="/space/iw3/iplanet/FEU/server_root/data"
PathCheck fn="unix-uri-clean"
PathCheck fn="check-acl" acl="default"
PathCheck fn="find-pathinfo"
PathCheck fn="find-index" index-names="index.html,home.html"
ObjectType fn="type-by-extension"
ObjectType fn="force-type" type="text/plain"
Service method="(GET|HEAD)" type="magnus-internal/imagemap" fn="imagemap"
Service method="(GET|HEAD)" type="magnus-internal/directory" fn="index-common"
Service method="(GET|HEAD|POST)" type="*~magnus-internal/*" fn="send-file"
AddLog fn="flex-log" name="access"
</Object>
<Object name="cgi">
ObjectType fn="force-type" type="magnus-internal/cgi"
Service fn="send-cgi"
</Object>
<Object name="ServletByExt">
ObjectType fn="force-type" type="magnus-internal/servlet"
Service type="magnus-internal/servlet" fn="NSServletService"
</Object>
<Object name="es-internal">
PathCheck fn="check-acl" acl="es-internal"
</Object>"
What is the problem???
How to configure well this cgi......
thxs for all ur replies
seb

Dartigues Sebastien wrote:
When i load a cgi program with my iplanet server i have a 500 error
message and in the error.log :
"[04/Dec/2001:20:02:05] failure (22308): for host 10.67.209.59 trying to
POST /cgi-bin/EnvoiFormulaire, cgieng_scan_heade
rs reports: the CGI program
/space/iw3/iplanet/FEU/server_root/extension/cgi/EnvoiFormulaire did not
produce a valid hea
der (program terminated without a valid CGI header. Check for core dump
or other abnormal termination)"At an absolute minimum your CGI needs to provide a hint to iWS about
what it's trying to send to the browser. So your CGI needs to,
minimally, send a Content-Type: line follow by \n\n.
Joe McCabe As I got up in front of them, I felt an intoxication
Moz' Pad that had nothing to do with alcohol. It was the
intoxication of being a public spectacle. -- H. Simpson

Similar Messages

  • Error 500 with .htaccess and +FollowSymlinks

    Hi, I'm doing a website for a community of gamers and I have one .htaccess on the root folder of the website that cointains parameters to allow using friendly urls. The content of the .htacces is this:
    RewriteEngine On
    Options +FollowSymLinks
    RewriteBase /~doodom/doomhispano/
    Rewriterule ^administracion/$ ?administracion
    Rewriterule ^articulos.html$ ?articulos
    Rewriterule ^descargas.html$ ?descargas
    Rewriterule ^foro/$ ?foro
    Rewriterule ^foro/(.*)/(.*)/(.*)/(.*).html$ ?foro&cat=$1&sub=$2&thr=$3&title=$4
    Rewriterule ^foro/(.*)/(.*)/$ ?foro&cat=$1&sub=$2
    Rewriterule ^foro/(.*)/$ ?foro&cat=$1
    Rewriterule ^juegos.html$ ?juegos
    Rewriterule ^logout.html$ logout.php
    Rewriterule ^noticias/$ ./ [R]
    Rewriterule ^noticias/(.*)/(.*).html$ ?noticias&id=$1&title=$2
    Rewriterule ^noticias/archivo(.*).html$ ?offset=$1
    Rewriterule ^perfil/$ ./ [R]
    Rewriterule ^perfil/(.*).html$ ?perfil=$1
    Rewriterule ^preferencias.html$ ?preferencias
    Rewriterule ^registro.html$ ?registro
    The problem is that Apache delivers an Error 500 and I don't know why. It always happen when I have uncommented this line:
    Options +FollowSymLinks
    If I comment it the website loads correctly, but the friendly urls don't work at all.
    I also paste the content of my /etc/httpd/conf/httpd.conf
    # This is the main Apache HTTP server configuration file. It contains the
    # configuration directives that give the server its instructions.
    # See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
    # In particular, see
    # <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
    # for a discussion of each configuration directive.
    # Do NOT simply read the instructions in here without understanding
    # what they do. They're here only as hints or reminders. If you are unsure
    # consult the online docs. You have been warned.
    # Configuration and logfile names: If the filenames you specify for many
    # of the server's control files begin with "/" (or "drive:/" for Win32), the
    # server will use that explicit path. If the filenames do *not* begin
    # with "/", the value of ServerRoot is prepended -- so "/var/log/httpd/foo_log"
    # with ServerRoot set to "/etc/httpd" will be interpreted by the
    # server as "/etc/httpd//var/log/httpd/foo_log".
    # ServerRoot: The top of the directory tree under which the server's
    # configuration, error, and log files are kept.
    # Do not add a slash at the end of the directory path. If you point
    # ServerRoot at a non-local disk, be sure to point the LockFile directive
    # at a local disk. If you wish to share the same ServerRoot for multiple
    # httpd daemons, you will need to change at least LockFile and PidFile.
    ServerRoot "/etc/httpd"
    # Listen: Allows you to bind Apache to specific IP addresses and/or
    # ports, instead of the default. See also the <VirtualHost>
    # directive.
    # Change this to Listen on specific IP addresses as shown below to
    # prevent Apache from glomming onto all bound IP addresses.
    #Listen 12.34.56.78:80
    Listen 81
    # Dynamic Shared Object (DSO) Support
    # To be able to use the functionality of a module which was built as a DSO you
    # have to place corresponding `LoadModule' lines at this location so the
    # directives contained in it are actually available _before_ they are used.
    # Statically compiled modules (those listed by `httpd -l') do not need
    # to be loaded here.
    # Example:
    # LoadModule foo_module modules/mod_foo.so
    LoadModule authn_file_module modules/mod_authn_file.so
    LoadModule authn_dbm_module modules/mod_authn_dbm.so
    LoadModule authn_anon_module modules/mod_authn_anon.so
    LoadModule authn_dbd_module modules/mod_authn_dbd.so
    LoadModule authn_default_module modules/mod_authn_default.so
    LoadModule authz_host_module modules/mod_authz_host.so
    LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
    LoadModule authz_user_module modules/mod_authz_user.so
    LoadModule authz_dbm_module modules/mod_authz_dbm.so
    LoadModule authz_owner_module modules/mod_authz_owner.so
    LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
    LoadModule authz_default_module modules/mod_authz_default.so
    LoadModule auth_basic_module modules/mod_auth_basic.so
    LoadModule auth_digest_module modules/mod_auth_digest.so
    LoadModule file_cache_module modules/mod_file_cache.so
    LoadModule cache_module modules/mod_cache.so
    LoadModule disk_cache_module modules/mod_disk_cache.so
    LoadModule mem_cache_module modules/mod_mem_cache.so
    LoadModule dbd_module modules/mod_dbd.so
    LoadModule dumpio_module modules/mod_dumpio.so
    LoadModule ext_filter_module modules/mod_ext_filter.so
    LoadModule include_module modules/mod_include.so
    LoadModule filter_module modules/mod_filter.so
    LoadModule substitute_module modules/mod_substitute.so
    LoadModule deflate_module modules/mod_deflate.so
    LoadModule ldap_module modules/mod_ldap.so
    LoadModule log_config_module modules/mod_log_config.so
    LoadModule log_forensic_module modules/mod_log_forensic.so
    LoadModule logio_module modules/mod_logio.so
    LoadModule env_module modules/mod_env.so
    LoadModule mime_magic_module modules/mod_mime_magic.so
    LoadModule cern_meta_module modules/mod_cern_meta.so
    LoadModule expires_module modules/mod_expires.so
    LoadModule headers_module modules/mod_headers.so
    LoadModule ident_module modules/mod_ident.so
    LoadModule usertrack_module modules/mod_usertrack.so
    LoadModule unique_id_module modules/mod_unique_id.so
    LoadModule setenvif_module modules/mod_setenvif.so
    LoadModule version_module modules/mod_version.so
    LoadModule proxy_module modules/mod_proxy.so
    LoadModule proxy_connect_module modules/mod_proxy_connect.so
    LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
    LoadModule proxy_http_module modules/mod_proxy_http.so
    LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
    LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
    LoadModule ssl_module modules/mod_ssl.so
    LoadModule mime_module modules/mod_mime.so
    LoadModule dav_module modules/mod_dav.so
    LoadModule status_module modules/mod_status.so
    LoadModule autoindex_module modules/mod_autoindex.so
    LoadModule asis_module modules/mod_asis.so
    LoadModule info_module modules/mod_info.so
    LoadModule suexec_module modules/mod_suexec.so
    LoadModule cgi_module modules/mod_cgi.so
    LoadModule cgid_module modules/mod_cgid.so
    LoadModule dav_fs_module modules/mod_dav_fs.so
    LoadModule vhost_alias_module modules/mod_vhost_alias.so
    LoadModule negotiation_module modules/mod_negotiation.so
    LoadModule dir_module modules/mod_dir.so
    LoadModule imagemap_module modules/mod_imagemap.so
    LoadModule actions_module modules/mod_actions.so
    LoadModule speling_module modules/mod_speling.so
    LoadModule userdir_module modules/mod_userdir.so
    LoadModule alias_module modules/mod_alias.so
    LoadModule rewrite_module modules/mod_rewrite.so
    LoadModule php5_module modules/libphp5.so
    <IfModule !mpm_netware_module>
    <IfModule !mpm_winnt_module>
    # If you wish httpd to run as a different user or group, you must run
    # httpd as root initially and it will switch.
    # User/Group: The name (or #number) of the user/group to run httpd as.
    # It is usually good practice to create a dedicated user and group for
    # running httpd, as with most system services.
    User http
    Group http
    </IfModule>
    </IfModule>
    # 'Main' server configuration
    # The directives in this section set up the values used by the 'main'
    # server, which responds to any requests that aren't handled by a
    # <VirtualHost> definition. These values also provide defaults for
    # any <VirtualHost> containers you may define later in the file.
    # All of these directives may appear inside <VirtualHost> containers,
    # in which case these default settings will be overridden for the
    # virtual host being defined.
    # ServerAdmin: Your address, where problems with the server should be
    # e-mailed. This address appears on some server-generated pages, such
    # as error documents. e.g. [email protected]
    ServerAdmin [email protected]
    # ServerName gives the name and port that the server uses to identify itself.
    # This can often be determined automatically, but we recommend you specify
    # it explicitly to prevent problems during startup.
    # If your host doesn't have a registered DNS name, enter its IP address here.
    #ServerName www.example.com:80
    # DocumentRoot: The directory out of which you will serve your
    # documents. By default, all requests are taken from this directory, but
    # symbolic links and aliases may be used to point to other locations.
    DocumentRoot "/srv/http"
    # Each directory to which Apache has access can be configured with respect
    # to which services and features are allowed and/or disabled in that
    # directory (and its subdirectories).
    # First, we configure the "default" to be a very restrictive set of
    # features.
    <Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
    </Directory>
    # Note that from this point forward you must specifically allow
    # particular features to be enabled - so if something's not working as
    # you might expect, make sure that you have specifically enabled it
    # below.
    # This should be changed to whatever you set DocumentRoot to.
    <Directory "/srv/http">
    Options Indexes FollowSymLinks
    AllowOverride none
    Order allow,deny
    Allow from all
    </Directory>
    <Directory "/home/*/public_html">
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    # Note that "MultiViews" must be named *explicitly* --- "Options All"
    # doesn't give it to you.
    # The Options directive is both complicated and important. Please see
    # http://httpd.apache.org/docs/2.2/mod/core.html#options
    # for more information.
    Options Indexes FollowSymLinks
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    # Options FileInfo AuthConfig Limit
    AllowOverride None
    # Controls who can get stuff from this server.
    Order allow,deny
    Allow from all
    </Directory>
    # DirectoryIndex: sets the file that Apache will serve if a directory
    # is requested.
    <IfModule dir_module>
    DirectoryIndex index.html
    </IfModule>
    # The following lines prevent .htaccess and .htpasswd files from being
    # viewed by Web clients.
    <FilesMatch "^\.ht">
    Order allow,deny
    Deny from all
    Satisfy All
    </FilesMatch>
    # ErrorLog: The location of the error log file.
    # If you do not specify an ErrorLog directive within a <VirtualHost>
    # container, error messages relating to that virtual host will be
    # logged here. If you *do* define an error logfile for a <VirtualHost>
    # container, that host's errors will be logged there and not here.
    ErrorLog "/var/log/httpd/error_log"
    # LogLevel: Control the number of messages logged to the error_log.
    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn
    <IfModule log_config_module>
    # The following directives define some format nicknames for use with
    # a CustomLog directive (see below).
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common
    <IfModule logio_module>
    # You need to enable mod_logio.c to use %I and %O
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
    </IfModule>
    # The location and format of the access logfile (Common Logfile Format).
    # If you do not define any access logfiles within a <VirtualHost>
    # container, they will be logged here. Contrariwise, if you *do*
    # define per-<VirtualHost> access logfiles, transactions will be
    # logged therein and *not* in this file.
    CustomLog "/var/log/httpd/access_log" common
    # If you prefer a logfile with access, agent, and referer information
    # (Combined Logfile Format) you can use the following directive.
    #CustomLog "/var/log/httpd/access_log" combined
    </IfModule>
    <IfModule alias_module>
    # Redirect: Allows you to tell clients about documents that used to
    # exist in your server's namespace, but do not anymore. The client
    # will make a new request for the document at its new location.
    # Example:
    # Redirect permanent /foo http://www.example.com/bar
    # Alias: Maps web paths into filesystem paths and is used to
    # access content that does not live under the DocumentRoot.
    # Example:
    # Alias /webpath /full/filesystem/path
    # If you include a trailing / on /webpath then the server will
    # require it to be present in the URL. You will also likely
    # need to provide a <Directory> section to allow access to
    # the filesystem path.
    # ScriptAlias: This controls which directories contain server scripts.
    # ScriptAliases are essentially the same as Aliases, except that
    # documents in the target directory are treated as applications and
    # run by the server when requested rather than as documents sent to the
    # client. The same rules about trailing "/" apply to ScriptAlias
    # directives as to Alias.
    ScriptAlias /cgi-bin/ "/srv/http/cgi-bin/"
    </IfModule>
    <IfModule cgid_module>
    # ScriptSock: On threaded servers, designate the path to the UNIX
    # socket used to communicate with the CGI daemon of mod_cgid.
    #Scriptsock /var/run/httpd/cgisock
    </IfModule>
    # "/srv/http/cgi-bin" should be changed to whatever your ScriptAliased
    # CGI directory exists, if you have that configured.
    <Directory "/srv/http/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
    </Directory>
    # DefaultType: the default MIME type the server will use for a document
    # if it cannot otherwise determine one, such as from filename extensions.
    # If your server contains mostly text or HTML documents, "text/plain" is
    # a good value. If most of your content is binary, such as applications
    # or images, you may want to use "application/octet-stream" instead to
    # keep browsers from trying to display binary files as though they are
    # text.
    DefaultType text/plain
    <IfModule mime_module>
    # TypesConfig points to the file containing the list of mappings from
    # filename extension to MIME-type.
    TypesConfig conf/mime.types
    # AddType allows you to add to or override the MIME configuration
    # file specified in TypesConfig for specific file types.
    #AddType application/x-gzip .tgz
    # AddEncoding allows you to have certain browsers uncompress
    # information on the fly. Note: Not all browsers support this.
    #AddEncoding x-compress .Z
    #AddEncoding x-gzip .gz .tgz
    # If the AddEncoding directives above are commented-out, then you
    # probably should define those extensions to indicate media types:
    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz
    # AddHandler allows you to map certain file extensions to "handlers":
    # actions unrelated to filetype. These can be either built into the server
    # or added with the Action directive (see below)
    # To use CGI scripts outside of ScriptAliased directories:
    # (You will also need to add "ExecCGI" to the "Options" directive.)
    #AddHandler cgi-script .cgi
    # For type maps (negotiated resources):
    #AddHandler type-map var
    # Filters allow you to process content before it is sent to the client.
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #AddType text/html .shtml
    #AddOutputFilter INCLUDES .shtml
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php-source .phps
    </IfModule>
    # The mod_mime_magic module allows the server to use various hints from the
    # contents of the file itself to determine its type. The MIMEMagicFile
    # directive tells the module where the hint definitions are located.
    #MIMEMagicFile conf/magic
    # Customizable error responses come in three flavors:
    # 1) plain text 2) local redirects 3) external redirects
    # Some examples:
    #ErrorDocument 500 "The server made a boo boo."
    #ErrorDocument 404 /missing.html
    #ErrorDocument 404 "/cgi-bin/missing_handler.pl"
    #ErrorDocument 402 http://www.example.com/subscription_info.html
    # EnableMMAP and EnableSendfile: On systems that support it,
    # memory-mapping or the sendfile syscall is used to deliver
    # files. This usually improves server performance, but must
    # be turned off when serving from networked-mounted
    # filesystems or if support for these functions is otherwise
    # broken on your system.
    #EnableMMAP off
    #EnableSendfile off
    # Supplemental configuration
    # The configuration files in the conf/extra/ directory can be
    # included to add extra features or to modify the default configuration of
    # the server, or you may simply copy their contents here and change as
    # necessary.
    # Server-pool management (MPM specific)
    #Include conf/extra/httpd-mpm.conf
    # Multi-language error messages
    Include conf/extra/httpd-multilang-errordoc.conf
    # Fancy directory listings
    Include conf/extra/httpd-autoindex.conf
    # Language settings
    Include conf/extra/httpd-languages.conf
    # User home directories
    Include conf/extra/httpd-userdir.conf
    # Real-time info on requests and configuration
    #Include conf/extra/httpd-info.conf
    # Virtual hosts
    #Include conf/extra/httpd-vhosts.conf
    # Local access to the Apache HTTP Server Manual
    #Include conf/extra/httpd-manual.conf
    # Distributed authoring and versioning (WebDAV)
    #Include conf/extra/httpd-dav.conf
    # Various default settings
    Include conf/extra/httpd-default.conf
    # Secure (SSL/TLS) connections
    #Include conf/extra/httpd-ssl.conf
    # PHP 5
    Include conf/extra/php5_module.conf
    # Note: The following must must be present to support
    # starting without SSL on platforms with no /dev/random equivalent
    # but a statically compiled-in mod_ssl.
    <IfModule ssl_module>
    SSLRandomSeed startup builtin
    SSLRandomSeed connect builtin
    </IfModule>
    And if I check the error_log I can see the following:
    [Tue Jun 02 23:32:39 2009] [alert] [client xx.xx.xx.xx] /home/doodom/public_html/doomhispano/.htaccess: Options not allowed here
    Why does this happen? Any ideas?
    I've searched all along the Internet, I have tried it out everything but still nothing.
    Thanks in advance for your help.
    Last edited by [DoodoM] (2009-06-02 19:48:42)

    Uhm... what's an /etc/httpd/conf/httpd.conf?
    If I had that error, I'd look into /etc/apache/sites* and see if for the site changing follow-symlinks and everything is allowed.
    Then again, that's not an arch server, so you might be better of ignoring me (if your... stuff... is all that different. Me did my server strange chaos admin method like )
    Edit: wah, now I've been confusing myself, that huge config file is a mess in my eyes - are you sure you're supposed to change stuff in there? What folder is your htaccess in? Most I saw look about like that in there...:
    <Directory "??????">
        Options Indexes FollowSymLinks
        AllowOverride none
        Order allow,deny
        Allow from all
    </Directory>
    Which isn't a thaaat good for using .htaccess.
    Last edited by whoops (2009-06-02 20:01:58)

  • ICal error 500 with calDav

    Hi all,
    sorry if this thread doesn't comply with the board's rules or anything like that, but its my first one so please bare with me
    I am working in a company who use google apps accounts for mail and calendars. When I go into google calendar (web based), I can simply type any of my colleague's calendars in the box and they show up so I can see what they are up to and when (very useful when organising meetings etc).
    Unforutnatley, I cannot seem to set up iCal to do something similar. I have set up a calDav to show my work calendar and some delegates to show my colleagues calendars which I had previously shown on my webbased Google view (I cannot access any of the others through iCal?) but it comes out with a 500 error when I try to bring any of them online.
    Any ideas?
    Isnt there something similar to LDAP for contacts that I can use to seamlessly integrate my own and my colleagues' calendars into my iCal app?
    Thanks in advance,
    G         

    Uhm... what's an /etc/httpd/conf/httpd.conf?
    If I had that error, I'd look into /etc/apache/sites* and see if for the site changing follow-symlinks and everything is allowed.
    Then again, that's not an arch server, so you might be better of ignoring me (if your... stuff... is all that different. Me did my server strange chaos admin method like )
    Edit: wah, now I've been confusing myself, that huge config file is a mess in my eyes - are you sure you're supposed to change stuff in there? What folder is your htaccess in? Most I saw look about like that in there...:
    <Directory "??????">
        Options Indexes FollowSymLinks
        AllowOverride none
        Order allow,deny
        Allow from all
    </Directory>
    Which isn't a thaaat good for using .htaccess.
    Last edited by whoops (2009-06-02 20:01:58)

  • Error 500 with generic Apache

    Hi,
    I am trying to user Apex Listener 1.0.2 on OC4J fronted with generic Apache 2.0. I configured mod_oc4j and the combination seems to work.
    When i ran apex/listenerConfigure the configuration page shows up. But when I try to Apply changes I constantly get
    500 Internal Server Error
    Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details.
    Any idea what would be the cause?
    Janis

    Thank you for the answer. This is the log. I hope it helps
    10/10/27 12:39:04.951 apex: 10.1.3.5.0 Started
    10/10/27 12:56:51.975 apex: Servlet error
    java.lang.NoSuchMethodError: java.lang.String.getBytes(Ljava/nio/charset/Charset;)[B
         at oracle.dbtools.apex.utilities.Text.getBytes(Text.java:31)
         at oracle.dbtools.apex.ModApex.notifyNotConfigured(ModApex.java:257)
         at oracle.dbtools.apex.ModApex.doConfig(ModApex.java:98)
         at oracle.dbtools.apex.ModApex.doGet(ModApex.java:92)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    10/10/27 12:59:11.662 apex: Servlet error
    java.lang.NoSuchMethodError: java.lang.String.isEmpty()Z
         at oracle.dbtools.apex.admin.AdminManager.validConnection(AdminManager.java:337)
         at oracle.dbtools.apex.admin.AdminManager.validateInfo(AdminManager.java:168)
         at oracle.dbtools.apex.admin.AdminManager.processAdministration(AdminManager.java:81)
         at oracle.dbtools.apex.admin.Admin.doPost(Admin.java:87)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)

  • Error 500 with shared calendars

    Hi,
    we have problems since some weeks with our calendar server.. again..
    We are on Mac OS X Lion Server 10.7.4
    In /var/log/caldavd/error.log I can see many enries with this:
    2013-06-12 12:50:53+0200 [-] [caldav-5]  [-] [twext.web2.server#error] [Failure instance: Traceback: <class 'pg.DatabaseError'>: error 'ERROR:  canceling statement due to statement timeout
    2013-06-12 12:50:53+0200 [-] [caldav-5]     ' in 'select RESOURCE_ID, RESOURCE_NAME, ICALENDAR_UID, MD5, character_length(ICALENDAR_TEXT), ATTACHMENTS_MODE, DROPBOX_ID, ACCESS, SCHEDULE_OBJECT, SCHEDULE_TAG, SCHEDULE_ETAGS, PRIVATE_COMMENTS, CREATED, MODIFIED from CALENDAR_OBJECT where CALENDAR_RESOURCE_ID = 3747'
    2013-06-12 12:50:53+0200 [-] [caldav-5]     /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twis ted/internet/defer.py:388:errback
    2013-06-12 12:50:53+0200 [-] [caldav-5]     /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twis ted/internet/defer.py:455:_startRunCallbacks
    2013-06-12 12:50:53+0200 [-] [caldav-5]     /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twis ted/internet/defer.py:542:_runCallbacks
    2013-06-12 12:50:53+0200 [-] [caldav-5]     /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twis ted/internet/defer.py:1076:gotResult
    2013-06-12 12:50:53+0200 [-] [caldav-5]     --- <exception caught here> ---
    2013-06-12 12:50:53+0200 [-] [caldav-5]     /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twis ted/internet/defer.py:1018:_inlineCallbacks
    2013-06-12 12:50:53+0200 [-] [caldav-5]     /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twis ted/python/failure.py:350:throwExceptionIntoGenerator
    2013-06-12 12:50:53+0200 [-] [caldav-5]     /usr/share/caldavd/lib/python/twistedcaldav/resource.py:309:renderHTTP
    2013-06-12 12:50:53+0200 [-] [caldav-5]     /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twis ted/internet/defer.py:1018:_inlineCallbacks
    2013-06-12 12:50:53+0200 [-] [caldav-5]     /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twis ted/python/failure.py:350:throwExceptionIntoGenerator
    2013-06-12 12:50:53+0200 [-] [caldav-5]     /usr/share/caldavd/lib/python/twext/web2/static.py:127:renderHTTP
    2013-06-12 12:50:53+0200 [-] [caldav-5]     /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twis ted/internet/defer.py:1018:_inlineCallbacks
    2013-06-12 12:50:53+0200 [-] [caldav-5]     /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twis ted/python/failure.py:350:throwExceptionIntoGenerator
    2013-06-12 12:50:53+0200 [-] [caldav-5]     /usr/share/caldavd/lib/python/twext/web2/resource.py:109:renderHTTP
    2013-06-12 12:50:53+0200 [-] [caldav-5]     /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twis ted/internet/defer.py:1018:_inlineCallbacks
    2013-06-12 12:50:53+0200 [-] [caldav-5]     /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twis ted/python/failure.py:350:throwExceptionIntoGenerator
    2013-06-12 12:50:53+0200 [-] [caldav-5]     /usr/share/caldavd/lib/python/twistedcaldav/method/propfind.py:127:http_PROPFIN D
    2013-06-12 12:50:53+0200 [-] [caldav-5]     /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twis ted/internet/defer.py:1018:_inlineCallbacks
    2013-06-12 12:50:53+0200 [-] [caldav-5]     /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twis ted/python/failure.py:350:throwExceptionIntoGenerator
    2013-06-12 12:50:53+0200 [-] [caldav-5]     /usr/share/caldavd/lib/python/twistedcaldav/storebridge.py:343:findChildrenFast er
    2013-06-12 12:50:53+0200 [-] [caldav-5]     /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twis ted/internet/defer.py:1018:_inlineCallbacks
    2013-06-12 12:50:53+0200 [-] [caldav-5]     /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twis ted/python/failure.py:350:throwExceptionIntoGenerator
    2013-06-12 12:50:53+0200 [-] [caldav-5]     /usr/share/caldavd/lib/python/txdav/common/datastore/sql.py:2012:objectResource s
    2013-06-12 12:50:53+0200 [-] [caldav-5]     /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twis ted/internet/defer.py:1018:_inlineCallbacks
    2013-06-12 12:50:53+0200 [-] [caldav-5]     /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twis ted/python/failure.py:350:throwExceptionIntoGenerator
    2013-06-12 12:50:53+0200 [-] [caldav-5]     /usr/share/caldavd/lib/python/txdav/common/datastore/sql.py:2326:loadAllObjects
    2013-06-12 12:50:53+0200 [-] [caldav-5]     /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twis ted/internet/defer.py:1018:_inlineCallbacks
    2013-06-12 12:50:53+0200 [-] [caldav-5]     /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twis ted/python/failure.py:350:throwExceptionIntoGenerator
    2013-06-12 12:50:53+0200 [-] [caldav-5]     /usr/share/caldavd/lib/python/txdav/common/datastore/sql.py:512:execSQL
    2013-06-12 12:50:53+0200 [-] [caldav-5]     /usr/share/caldavd/lib/python/twext/internet/threadutils.py:64:_oneWorkUnit
    2013-06-12 12:50:53+0200 [-] [caldav-5]     /usr/share/caldavd/lib/python/twext/enterprise/adbapi2.py:293:<lambda>
    2013-06-12 12:50:53+0200 [-] [caldav-5]     /usr/share/caldavd/lib/python/twext/enterprise/adbapi2.py:230:_reallyExecSQL
    2013-06-12 12:50:53+0200 [-] [caldav-5]     /usr/share/caldavd/lib/python/txdav/base/datastore/dbapiclient.py:76:execute
    2013-06-12 12:50:53+0200 [-] [caldav-5]     /usr/share/caldavd/lib/python/pgdb.py:259:execute
    2013-06-12 12:50:53+0200 [-] [caldav-5]     /usr/share/caldavd/lib/python/pgdb.py:289:executemany
    2013-06-12 12:50:53+0200 [-] [caldav-5]     ]
    In /Library/Logs/PostgreSQL/PostgreSQL.log I can see many enries with this:
    2013-06-12 12:50:05 CEST ERROR:  canceling statement due to statement timeout
    bash-3.2# serveradmin status calendar
    calendar:state = "RUNNING"
    calendar:setStateVersion = 1
    calendar:readWriteSettingsVersion = 1
    bash-3.2# serveradmin status postgres
    postgres:state = "RUNNING"
    A co-worker has access to around 10 shared calendars and gets a lot of errors similiar to the following screenshot:
    https://31337deadbeef.cc/ical-500-error.jpg
    And more and more co-worker report the same behavior.
    To make it clear. This happens not all the day long, just from time to time, but it's annoying. What could be the cause?
    I found this: https://discussions.apple.com/thread/3398078?start=75&tstart=0
    But we do NOT use the wiki stuff on our server.
    Any suggestions would be appreciated
    Thanks,
    Sirko

    Hi,
    Sorry not to be able to give a better solution but you may get more information by posting this to the Calendar Server Users mailing list:
    https://lists.macosforge.org/mailman/listinfo/calendarserver-users
    Best wishes
    John M

  • Server Error 500 with windows 7

    hi,
    Im trying to migrate a web site from Windows XP to windows 7. My web site worked on XP, but when I try to run it in W7, I cant connect to my oracle Database!
    This is the connection string (perfectly working in XP)
    <%
    Dim conOracle, OraSession
    Dim NRigheLista, OraDatabase
    Dim BgColor, SocDataBase
    Set conOracle = Server.CreateObject("ADODB.connection")
    ConOracle.Open ="Provider=ORAOLEDB.Oracle;Data Source=MYDB;User ID=usr;Password=password;" (this comes into error!)
    set OraSession = server.createobject("OracleInProcServer.XOraSession")
    set OraDatabase = OraSession.dbOpenDatabase("MYDB","usr/password",cint(0))
    %>
    Now Im getting the 500 - Internal Server Error. But I know MYDB is well installed and I can reach it via SQLPlus. Can someone help me? thank you

    hi Jim,
    the error code is "429: ActiveX component can't create object", caused by this command line
    set OraSession = server.createobject("OracleInProcServer.XOraSession")
    I know it may depend on a mismatch between Oracle server (11.2.0.1.0 64bit) and the Oraoledb driver, only available in 32 bit version. So I tried to download the ODAC 11.2.0.2.1 32bit, but I was unable to get it work. What should I do? Is there an alternative driver to connect to oracle?

  • Error 500 running a tutorial application and other issues

    While I am following a tutorial at Oracle JDeveloper 12c (12.1.2) Tutorials - Building a Web Application Using EJB, JPA, and JavaServer Faces it is refusing to run more than once.
    When I re-run the application after making changes, it throws error 500 with the below exception stack until it is un-deployed. Once un-deployed, it runs once fine. Why does it have to be terminated and re-deployed?
    In Part 3, Step 1 i cannot follow 'p. 7 In the Applications Navigator, right-click HRFacadeBean.java and select Edit Session Facade from context.' as the tree does not have Employees branch.
    Why is there no Employees under the session facade?
    Error 500 exception:
    java.lang.ClassCastException: oracle.adfinternal.view.faces.webapp.rich.RichWindowManagerFactory$WindowIdProviderAdapter cannot be cast to org.apache.myfaces.trinidad.event.WindowLifecycleListener
    at oracle.adfinternal.view.faces.webapp.rich.RichWindowManagerFactory$ApplicationWindowListeners.processWindowLifecylce(RichWindowManagerFactory.java:244)
    at oracle.adfinternal.view.faces.webapp.rich.RichWindowManager._fireWindowLifecycleEvent(RichWindowManager.java:362)
    at oracle.adfinternal.view.faces.webapp.rich.RichWindowManager._handleWindowOpened(RichWindowManager.java:398)
    at oracle.adfinternal.view.faces.webapp.rich.RichWindowManager.beginRequest(RichWindowManager.java:924)
    at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl._beginWindowManagerRequest(GlobalConfiguratorImpl.java:657)
    at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl.beginRequest(GlobalConfiguratorImpl.java:225)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:174)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:137)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:225)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3367)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3333)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
    at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2220)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2146)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2124)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1564)
    at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:254)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)

    I thought he prematurely hit Post, thanks for clarification.
    The method kind of works. It worked for a few times, then I got this. Of course property b6 does exist. Undeploying and re-deploying fixed the issue, as previously.
    javax.el.PropertyNotFoundException: //D:/Users/user0/AppData/Roaming/JDeveloper/system12.1.2.0.40.66.68/o.j2ee/drs/OracleDemoWeb/ViewControllerWebApp.war/customerOrders.jsf @25,100 binding="#{backingBeanScope.backing_untitled1.b6}": The class 'oracledemo.view.backing.Untitled1' does not have the property 'b6'.
    at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:111)
    at com.sun.faces.application.ApplicationImpl.createComponentApplyAnnotations(ApplicationImpl.java:1941)
    at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:1144)
    at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.createComponent(ComponentTagHandlerDelegateImpl.java:518)
    at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:168)
    at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
    at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
    at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
    at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:195)
    at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
    at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
    at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:195)
    at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
    at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
    at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
    at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:195)
    at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
    at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
    at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:195)
    at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
    at com.sun.faces.facelets.tag.jsf.core.FacetHandler.apply(FacetHandler.java:104)
    at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
    at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
    at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:195)
    at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
    at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
    at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:195)
    at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
    at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
    at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
    at oracle.adfinternal.view.faces.facelets.rich.RichDocumentHandler.applyNextHandler(RichDocumentHandler.java:69)
    at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:195)
    at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
    at com.sun.faces.facelets.tag.jsf.core.ViewHandler.apply(ViewHandler.java:182)
    at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
    at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:86)
    at com.sun.faces.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:152)
    at com.sun.faces.application.view.FaceletViewHandlingStrategy.buildView(FaceletViewHandlingStrategy.java:774)
    at org.apache.myfaces.trinidad.view.ViewDeclarationLanguageWrapper.buildView(ViewDeclarationLanguageWrapper.java:94)
    at org.apache.myfaces.trinidad.view.ViewDeclarationLanguageWrapper.buildView(ViewDeclarationLanguageWrapper.java:94)
    at org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper.buildView(ViewDeclarationLanguageFactoryImpl.java:322)
    at oracle.adfinternal.view.faces.lifecycle.ResponseRenderManager._processViewDefinitionLanguage(ResponseRenderManager.java:105)
    at oracle.adfinternal.view.faces.lifecycle.ResponseRenderManager.runRenderView(ResponseRenderManager.java:41)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:1104)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:389)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:255)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:478)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:478)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:303)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:208)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at weblogic.servlet.utils.FastSwapFilter.doFilter(FastSwapFilter.java:64)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:137)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:225)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3367)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3333)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
    at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2220)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2146)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2124)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1564)
    at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:254)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)

  • ERROR 500 after MTS sync.

    Dear all,
    I am getting an error 500 message when attempting to synchronize Mobile TimeSheet MTS for the first time.
    I have just upgraded from R/3 Enterprise 4.7 110 to NW2004s . the tables MEMAPPDEST and BWAFMAPP have also been maintend to reflect the upgrade scenario. I am able to synchronize with MTR (Mobile Travel) however keep getting the Error 500 with MTS.
    I started a trace of the sync connection which I am including in this message.
    Does anyone know how I can resolve this issue?
    Trace:
    20061207 00:08:45:333] I [MI/API/Logging ] ***** LOG / TRACE SWITCHED ON 
    [20061207 00:08:45:333] I [MI/API/Logging ] ***** Mobile Infrastructure version: MI 70 SP 10 Patch 0 Build 200610241749 
    [20061207 00:08:45:333] I [MI/API/Logging ] ***** Current timezone: CET[20061207 00:08:45:333] I [MI/API/Logging ] ***** Current Trace Level: 50 
    [20061207 00:08:59:954] E [Unknown ] java.lang.NullPointerException: no message available 
    java.lang.NullPointerException 
    at com.sap.mbs.mttcore.synchronization.container.UnpackContainerHelper.unpackME1(Unknown Source) 
    at com.sap.mbs.mttcore.synchronization.communication.InboundProcessing.unpack(Unknown Source) 
    at com.sap.mbs.mttcore.synchronization.communication.InboundProcessing.processIntern(Unknown Source) 
    at com.sap.mbs.mttcore.synchronization.communication.InboundProcessing.process(Unknown Source) 
    at com.sap.ip.me.sync.SyncManagerImpl.processSingleContainer(SyncManagerImpl.java:173) 
    at com.sap.ip.me.sync.SyncManagerMerger.processInboundContainers(SyncManagerMerger.java:168) 
    at com.sap.ip.me.sync.SyncManagerImpl.processSyncCycle(SyncManagerImpl.java:895) 
    at com.sap.ip.me.sync.SyncManagerImpl.syncForUser(SyncManagerImpl.java:1338) 
    at com.sap.ip.me.sync.SyncManagerImpl.processSynchronization(SyncManagerImpl.java:968) 
    at com.sap.ip.me.sync.SyncManagerImpl.synchronizeWithBackend(SyncManagerImpl.java:461) 
    at com.sap.ip.me.sync.SyncManagerImpl.synchronizeWithBackend(SyncManagerImpl.java:317) 
    at com.sap.mbs.mttcore.compatibility.sync.TESyncManager.synchronizeWithBackend(Unknown Source) 
    at com.sap.mbs.mts.sync.process.impl.SynchronizationManager.startSync(Unknown Source) 
    at com.sap.mbs.mts.sync.process.impl.SynchronizationManager.prepareAndSyncBootstrap(Unknown Source) 
    at com.sap.mbs.mts.sync.process.impl.SynchronizationManager.synchronize(Unknown Source) 
    at com.sap.mbs.mts.sync.process.impl.SyncProcessImpl.sync(Unknown Source) 
    at com.sap.mbs.mts.sync.control.impl.SyncInitialController.onSync(Unknown Source) 
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 
    at java.lang.reflect.Method.invoke(Unknown Source) 
    at com.sap.mbs.core.control.AbstractViewController.process(Unknown Source) 
    at com.sap.mbs.core.control.DefaultStateMachine.process(Unknown Source) 
    at com.sap.mbs.core.web.FrontServlet.doHandleEvent(Unknown Source) 
    at com.sap.mbs.mtt.application.web.FrontServletImpl.doHandleEvent(Unknown Source) 
    at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGetNotThreadSafe(AbstractMEHttpServlet.java:347) 
    at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGet(AbstractMEHttpServlet.java:689) 
    at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doPost(AbstractMEHttpServlet.java:706) 
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) 
    at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.service(AbstractMEHttpServlet.java:313) 
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) 
    at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405) 
    at org.apache.tomcat.core.Handler.service(Handler.java:287) 
    at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) 
    at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806) 
    at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752) 
    at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213) 
    at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) 
    at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501) 
    at java.lang.Thread.run(Unknown Source) 
    [20061207 00:09:00:184] E [Unknown ] com.sap.mbs.mttcore.synchronization.SynchronizationFailedException: Bootstrap aborted, synchronization stopped 
    com.sap.mbs.mttcore.synchronization.SynchronizationFailedException: Bootstrap aborted, synchronization stopped 
    at com.sap.mbs.mts.sync.process.impl.SynchronizationManager.synchronize(Unknown Source) 
    at com.sap.mbs.mts.sync.process.impl.SyncProcessImpl.sync(Unknown Source) 
    at com.sap.mbs.mts.sync.control.impl.SyncInitialController.onSync(Unknown Source) 
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 
    at java.lang.reflect.Method.invoke(Unknown Source) 
    at com.sap.mbs.core.control.AbstractViewController.process(Unknown Source) 
    at com.sap.mbs.core.control.DefaultStateMachine.process(Unknown Source) 
    at com.sap.mbs.core.web.FrontServlet.doHandleEvent(Unknown Source) 
    at com.sap.mbs.mtt.application.web.FrontServletImpl.doHandleEvent(Unknown Source) 
    at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGetNotThreadSafe(AbstractMEHttpServlet.java:347) 
    at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGet(AbstractMEHttpServlet.java:689) 
    at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doPost(AbstractMEHttpServlet.java:706) 
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) 
    at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.service(AbstractMEHttpServlet.java:313) 
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) 
    at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405) 
    at org.apache.tomcat.core.Handler.service(Handler.java:287) 
    at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) 
    at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806) 
    at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752) 
    at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213) 
    at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) 
    at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501) 
    at java.lang.Thread.run(Unknown Source) 
    [20061207 00:09:00:184] E [Unknown ] MTS Error begin: 
    [20061207 00:09:00:184] E [Unknown ] Bootstrap aborted, synchronization stopped - sync - com.sap.mbs.mts.sync.control.impl.SyncInitialController - onSync 
    [20061207 00:09:00:184] E [Unknown ] com.sap.mbs.mttcore.synchronization.SynchronizationFailedException: Bootstrap aborted, synchronization stopped 
    com.sap.mbs.mttcore.synchronization.SynchronizationFailedException: Bootstrap aborted, synchronization stopped 
    at com.sap.mbs.mts.sync.process.impl.SynchronizationManager.synchronize(Unknown Source) 
    at com.sap.mbs.mts.sync.process.impl.SyncProcessImpl.sync(Unknown Source) 
    at com.sap.mbs.mts.sync.control.impl.SyncInitialController.onSync(Unknown Source) 
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 
    at java.lang.reflect.Method.invoke(Unknown Source) 
    at com.sap.mbs.core.control.AbstractViewController.process(Unknown Source) 
    at com.sap.mbs.core.control.DefaultStateMachine.process(Unknown Source) 
    at com.sap.mbs.core.web.FrontServlet.doHandleEvent(Unknown Source) 
    at com.sap.mbs.mtt.application.web.FrontServletImpl.doHandleEvent(Unknown Source) 
    at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGetNotThreadSafe(AbstractMEHttpServlet.java:347) 
    at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGet(AbstractMEHttpServlet.java:689) 
    at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doPost(AbstractMEHttpServlet.java:706) 
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) 
    at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.service(AbstractMEHttpServlet.java:313) 
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) 
    at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405) 
    at org.apache.tomcat.core.Handler.service(Handler.java:287) 
    at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) 
    at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806) 
    at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752) 
    at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213) 
    at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) 
    at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501) 
    at java.lang.Thread.run(Unknown Source) 
    [20061207 00:09:00:184] E [Unknown ] MTS Error end. 
    Best regards,
    Owen Shaw.

    Sivakumar V 
    I have already implemented these notes in the R/3 system. But I think SAP has withdrawn the note from general circulation because I can't seem to find it on SAPNet anymore.
    I am no longer getting the Error 500 message. Apparently I had defined the wrong Function Modules in the table BWAFMAPP for the CATS* Methods.
    Regards,
    Owen.

  • Between statment I have a strange error (error 500)

    Hi all,
    This is my problem : I made a "between query" to a oracle database which contains dates values as long. My query is working fine when I put an space like 1 months (ie : between the 06/01/2001 and the 07/01/2001), i recieved around 500 records. But if I stretch the space (as for ie one year) I received an internal error 500 with a root cause nullpointerexception.
    I'll put th returned error message. I'm really disappointed and I can't see how to fix this problem (for the moment).
    Hope that someone can help me
    Thanks in advance
    STF
    Here is the code
    Error: 500
    Location: /examples/jsp/Rmdy/CountTab.jsp
    Internal Servlet Error:
    Root cause:
    java.lang.NullPointerException
    at jsp.Rmdy._0002fjsp_0002fRmdy_0002fCountTab_0002ejspCountTab_jsp_0._jspService(_0002fjsp_0002fRmdy_0002fCountTab_0002ejspCountTab_jsp_0.java:268)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:177)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
    at org.apache.tomcat.core.Handler.service(Handler.java:286)
    at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
    at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
    at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
    at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
    at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
    at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
    at java.lang.Thread.run(Thread.java:484)a:484)

    Hi There
    I'm not sure from your description what the problem is, but you should be able to find out what is causing the NullPointerException very easily by finding the compiled JSP's (for example, in Tomcat they are stored under <tomcat>/work/<app-name>).
    Then find the exact source file (given in the stack trace). Bear in mind if there are two versions of a file with the same name, they will have version numbers added onto the filename - make sure you edit the latest version.
    Now edit the file, go to the line number given in the stack trace, and you'll hopefully see what is giving you the null pointer.
    My guess is probably the ResultSet is coming back as null, and you're not doing a test for null before doing rs.next() for example.
    Hope this helps
    Richard

  • [EWS] [Exchange-Online] Http error 500 CAS server not available

    We have a customer using our software to connect to outlook.office365.com via EWS. The application creates messages in the user's mailbox. We are seeing intermittent http error 500, with the fault string "Exchange Web Services are not currently available
    for this request because none of the Client Access Servers in the destination site could process the request.".  The software then retries the request, and usually succeeds.  I have not seen this error with other customers, just this one. 
    Why does that happen, and what can be done about it?

    Hi,
    As per the information and details provided by you, I think you should: -
    Check the Require SSL check box under Exchange Web Services (EWS). Often, this is done under Autodiscover instead of EWS.
    Perform  a reset of the Synchronize Connection and Excahnge Mailboxes (SIB) from the Edit Unified Messaging Account page.
    I hope this information will be helpful for you.
    Thanks and regards
    Ashish@S 
    Ashish@V

  • 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.

  • Error 500.00 just with Azure, locally working well

    Hi, how are you?
    I'm testing the deploy via Visual Studio 2003, but when I deploy I got the error 500.00. If I run via Visual Studio (Locally) works fine but using Windows Azure I get this error
    Module
       ManagedPipelineHandler
    Notification
       ExecuteRequestHandler
    Handler
       System.Web.Mvc.MvcHandler
    Error Code
       0x00000000
    I've enabled the "DETAILED ERROR MESSAGES" but when I try to access the page I just get the error "Error. An error occurred while processing your request." and nothing more.
    Thank you.
    Matheus Canela
    Analista de Segurança Windows
    MCT / MCSA / MCP / MCTS / MCDST / ITIL v2
    Caso a resposta for útil, favor responda e clica na seta verde abaixo da foto para votação

    Hello,
    Thank you for your post.
    I am afraid that the issue is out of support range of VS General Question forum which mainly discusses
    the usage of Visual Studio IDE such as WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    It seems that you got issue when deploying web app with Windows Azure, I suggest that you can consult your issue on ASP.NET
    Azure and ASP.NET forum:
    http://forums.asp.net/1247.aspx/1?Azure+and+ASP+NET  for better solution and support.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Server returned code (500) with message Internal Server Error and content

    Hi cracks,
    I am trying to run the web service
    InternalRequestSRMUpdateRequestConfirmation_In
    an get following error :
    Server returned code (500) with message <Internal Server Error> and content type <text/html; charset=utf-8>.
    any idea?
    rgds
    Vincent

    yes,
    you got crash aka shortdump in your system.
    - webserver: didn't crash, because it issued an error 500, so it works
    - remains either the soap runtime, which usually doesn't dump but throw errors and the application itself.
    I'd look into the tracefiles (ST11) or tie the debugger to the service in question (SICF) and try to find out hat happens/d.
    anton

  • Problems with MI 70 SP 16 and DB2e 912. Error: 500. XMAU/home/home_mgmt.do

    Hi,<br>
    i have problems with my MI and DB2e.<br>
    I installed database DB2e but i cannot do that this work.<br><br>
    My configuration is:<br>
    Mobile Infrastructure version: MI 70 SP 16 Patch 0<br>
    DB2e 9.1.2 <br><br>
    When i want to access to the application, i getting the following error:<br><br>
    Error: 500<br>
    Localizacion: /XMAU/home/home_mgmt.do<br>
    Error interno del servlet:<br><br>
    java.lang.NullPointerException<br>
         at com.sap.mbs.mam.bo.impl.Mam090ManagerImpl.getMam090s(Unknown Source)<br>
         at com.sap.mbs.mam.cstm.process.impl.UserCustomCache.getUserCustomizing(Unknown Source)<br>
         at com.sap.mbs.mam.cstm.process.impl.UserCustomProcessImpl.getUserCustomizing(Unknown Source)<br>
         at com.sap.mbs.mam.cstm.process.impl.GenericCustomCache.getMamScenario(Unknown Source)<br>
         at com.sap.mbs.mam.cstm.process.impl.GenericCustomCache.getDeviceSettingsProfile(Unknown Source)<br>
         at com.sap.mbs.mam.cstm.util.DateTimeUtils.getDeviceSettingsProfile(Unknown Source)<br>
         at com.sap.mbs.mam.cstm.util.DateTimeUtils.getDateFormat(Unknown Source)<br>
         at com.sap.mbs.mau.application.impl.MauApplicationImpl.init(Unknown Source)<br>
         at com.sap.mbs.mam.application.web.FrontServlet.init(Unknown Source)<br>
         at com.sap.mbs.mau.application.web.FrontServlet.init(Unknown Source)<br>
         at javax.servlet.GenericServlet.init(GenericServlet.java:258)<br>
         at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)<br>
         at org.apache.tomcat.core.Handler.init(Handler.java:215)<br>
         at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)<br>
         at org.apache.tomcat.core.Handler.service(Handler.java:254)<br>
         at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)<br>
         at org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherImpl.java:222)<br>
         at org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:162)<br>
         at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:423)<br>
         at mam_0005fstart._jspService(Unknown Source)<br>
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)<br>
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)<br>
         at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)<br>
         at org.apache.tomcat.core.Handler.service(Handler.java:287)<br>
         at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)<br>
         at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)<br>
         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)<br>
         at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)<br>
         at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)<br>
         at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)<br>
         at java.lang.Thread.run(Unknown Source)<br><br>
    and in the trace log, i'm getting the following message:<br><br>
    [20100316 13:57:36:792] D [MI/API/Services ] CREATED MEPropertyResourceBundle com.sap.ip.me.api.services.MEResourceBundle$MEPropertyResourceBundle@111bfbc for bundleName: MAUText with Locale: _es  <br>
    [20100316 13:57:36:792] D [MI/API/Services ] CREATED parent MEPropertyResourceBundle for child bundle: com.sap.ip.me.api.services.MEResourceBundle$MEPropertyResourceBundle@111bfbc using bundle name: MAUText  <br>
    [20100316 13:57:36:792] D [MI/API/Services ] MEResourceBundle:Constructor: Create MEResourceBundle(ZMAMText, es_AR, com.sap.ip.me.core.Startup@9664a1)  <br>
    [20100316 13:57:36:792] D [MI/API/Services ] MEResourceBundle:Constructor: Use classloader com.sap.ip.me.core.Startup@9664a1  <br>
    [20100316 13:57:36:792] W [AppLog/MI/API/Services ] cannot find resource bundle ZMAMText_es_AR  <br>
    [20100316 13:57:36:792] D [MI/API/Services ] MEResourceBundle:Constructor: Create MEResourceBundle(ZMAUText, es_AR, com.sap.ip.me.core.Startup@9664a1)  <br>
    [20100316 13:57:36:792] D [MI/API/Services ] MEResourceBundle:Constructor: Use classloader com.sap.ip.me.core.Startup@9664a1  <br>
    [20100316 13:57:36:792] W [AppLog/MI/API/Services ] cannot find resource bundle ZMAUText_es_AR  <br>
    [20100316 13:57:36:792] D [Unknown ] FrontServlet:setResourceBundle() done.  <br>
    [20100316 13:57:36:792] D [MI/API/Services ] MEResourceBundle:Constructor: Create MEResourceBundle((null), es_AR, (null))  <br>
    [20100316 13:57:36:792] D [MI/API/Services ] MEResourceBundle:Constructor: Use classloader com.sap.ip.me.core.Startup@9664a1  <br>
    [20100316 13:57:36:792] I [MI/API/Services ] Cannot find resource key LIST_TAG_TOTAL within MAUText  <br>
    [20100316 13:57:36:792] I [MI/API/Services ] Cannot find resource key LIST_TAG_PAGE within MAUText  <br>
    [20100316 13:58:11:215] D [MI/Core ] Deactivated application XMAU  <br>
    [20100316 13:58:11:215] P [MI/Core ] Set current MSD to Name: / MOBILEENGINE_JSP (V. 70160), Target=, Type=com.sap.ip.me.core.FrameworkApplicationType  <br>
    [20100316 13:58:11:215] D [MI/Core ] Set current application to 'MOBILEENGINE_JSP'  <br><br>
    Someone can i help me?<br>
    Thanks for your help.<br>

    I can't be sure but most of the dota2 output looks "normal" to me (I get the same yet it works fine).
    eurotrucks is clearly crashing. You could try to force the resolution it uses in its config files?
    Or maybe it's missing a lib (you may need to install 32bit versions):
    ldd /path/to/eurotrucks
    to see if that's the case. If not, you might have to take it up with the eurotrucks developers.
    And you could try using fluxbox/openbox just to see what happens. A lot lighter than KDE.
    Have a good look though: https://wiki.archlinux.org/index.php/Steam
    and remember to check for missing 32bit libs.

  • Please help with SSL POST: Servlet returns Error 500

    I am struggling for many days to get a Java program to log in to an SSL page. The program is supposed to track ADSL usage statistics from https://secure.telkomsa.net/titracker/, but I never seem to get around Server returned Error 500.
    Could anyone please help me understand what I am doing wrong by looking at the method I used. (It seems on the server side it is a jsp servlet that handles authentication).
    Any help is deeply appreciated!
    I copy-paste the method directly from NetBeans:
    CODE>
    void connectHTTPS(String url){
    try {
    URL page = new URL(url); // login page necessary to get a jsp session cookie
    //------------ SET UP SSL - is it right?
    System.setProperty("java.protocol.handler.pkgs",
    "com.sun.net.ssl.internal.www.protocol");
    try {
    //if we have the JSSE provider available,
    //and it has not already been
    //set, add it as a new provide to the Security class.
    final Class clsFactory = Class.forName("com.sun.net.ssl.internal.ssl.Provider");
    if( (null != clsFactory) && (null == Security.getProvider("SunJSSE")) )
    Security.addProvider((Provider)clsFactory.newInstance());
    } catch( ClassNotFoundException cfe ) {
    throw new Exception("Unable to load the JSSE SSL stream handler." +
    "Check classpath." + cfe.toString());
    URLConnection urlc = page.openConnection();
    urlc.setDoInput(true);
    *Get the session id cookie set by the TelkomInternet java server
    String cookie = urlc.getHeaderField("Set-Cookie");
    //textpane.setText(totextpane);
    textpane.setText(cookie);
    //---------------- form an auth request and post it with the cookie
    String postdata =URLEncoder.encode("ID_Field","UTF-8")+"="+URLEncoder.encode("myusrname","UTF-8")+"&"+URLEncoder.encode("PW_Field","UTF-8")+"="+URLEncoder.encode("mypwd","UTF-8")+"&"+URLEncoder.encode("confirm","UTF-8")+"="+URLEncoder.encode("false","UTF-8");
    // set the servlet that handles authentication as target
    URL page2 = new URL("https://secure.telkomsa.net/titracker/servlet/LoginServlet");
    // cast to httpConn to enable setRequestMethod()
    HttpURLConnection urlc2 = (HttpURLConnection)page2.openConnection();
    // formulate request with POST data urlc2.setRequestProperty("Content-Type","application/x-www-form-urlencoded");
    urlc2.setRequestMethod("POST"); // experimental
    urlc2.setRequestProperty("Content-Length",""+postdata.length());
    urlc2.setRequestProperty("User-Agent","Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)");
    urlc2.setRequestProperty("Accept-Language","en-us");
    urlc2.setUseCaches(false);
    urlc2.setDoOutput(true);
    urlc2.setDoInput(true);
    urlc2.setFollowRedirects(true); // ??
    //send cookies
    urlc2.setRequestProperty("Set-Cookie", cookie); // or "Cookie" - doesn't work either
    //write other data
    PrintWriter out = new PrintWriter(urlc2.getOutputStream());
    out.print(postdata); // username and password here
    out.flush();
    out.close();
    //---------------- get the authenticated page with real ADSL statistics
    BufferedReader br = new BufferedReader(new InputStreamReader(urlc2.getInputStream()));
    String totextpane = "";
    String buffer = "";
    while (buffer != null) {
    try {
    totextpane = totextpane + "\n" + buffer;
    buffer = br.readLine();
    } catch (IOException ioe) {
    ioe.printStackTrace();
    break;
    textpane.setText(totextpane);
    } catch (Exception ex) {
    System.err.println(ex.getMessage());
    ---- END CODE---
    Thank you very much for any attempt at helping with this problem!

    I am struggling for many days to get a Java program to log in to an SSL page. The program is supposed to track ADSL usage statistics from https://secure.telkomsa.net/titracker/, but I never seem to get around Server returned Error 500.
    Could anyone please help me understand what I am doing wrong by looking at the method I used. (It seems on the server side it is a jsp servlet that handles authentication).
    Any help is deeply appreciated!
    I copy-paste the method directly from NetBeans:
    CODE>
    void connectHTTPS(String url){
    try {
    URL page = new URL(url); // login page necessary to get a jsp session cookie
    //------------ SET UP SSL - is it right?
    System.setProperty("java.protocol.handler.pkgs",
    "com.sun.net.ssl.internal.www.protocol");
    try {
    //if we have the JSSE provider available,
    //and it has not already been
    //set, add it as a new provide to the Security class.
    final Class clsFactory = Class.forName("com.sun.net.ssl.internal.ssl.Provider");
    if( (null != clsFactory) && (null == Security.getProvider("SunJSSE")) )
    Security.addProvider((Provider)clsFactory.newInstance());
    } catch( ClassNotFoundException cfe ) {
    throw new Exception("Unable to load the JSSE SSL stream handler." +
    "Check classpath." + cfe.toString());
    URLConnection urlc = page.openConnection();
    urlc.setDoInput(true);
    *Get the session id cookie set by the TelkomInternet java server
    String cookie = urlc.getHeaderField("Set-Cookie");
    //textpane.setText(totextpane);
    textpane.setText(cookie);
    //---------------- form an auth request and post it with the cookie
    String postdata =URLEncoder.encode("ID_Field","UTF-8")+"="+URLEncoder.encode("myusrname","UTF-8")+"&"+URLEncoder.encode("PW_Field","UTF-8")+"="+URLEncoder.encode("mypwd","UTF-8")+"&"+URLEncoder.encode("confirm","UTF-8")+"="+URLEncoder.encode("false","UTF-8");
    // set the servlet that handles authentication as target
    URL page2 = new URL("https://secure.telkomsa.net/titracker/servlet/LoginServlet");
    // cast to httpConn to enable setRequestMethod()
    HttpURLConnection urlc2 = (HttpURLConnection)page2.openConnection();
    // formulate request with POST data urlc2.setRequestProperty("Content-Type","application/x-www-form-urlencoded");
    urlc2.setRequestMethod("POST"); // experimental
    urlc2.setRequestProperty("Content-Length",""+postdata.length());
    urlc2.setRequestProperty("User-Agent","Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)");
    urlc2.setRequestProperty("Accept-Language","en-us");
    urlc2.setUseCaches(false);
    urlc2.setDoOutput(true);
    urlc2.setDoInput(true);
    urlc2.setFollowRedirects(true); // ??
    //send cookies
    urlc2.setRequestProperty("Set-Cookie", cookie); // or "Cookie" - doesn't work either
    //write other data
    PrintWriter out = new PrintWriter(urlc2.getOutputStream());
    out.print(postdata); // username and password here
    out.flush();
    out.close();
    //---------------- get the authenticated page with real ADSL statistics
    BufferedReader br = new BufferedReader(new InputStreamReader(urlc2.getInputStream()));
    String totextpane = "";
    String buffer = "";
    while (buffer != null) {
    try {
    totextpane = totextpane + "\n" + buffer;
    buffer = br.readLine();
    } catch (IOException ioe) {
    ioe.printStackTrace();
    break;
    textpane.setText(totextpane);
    } catch (Exception ex) {
    System.err.println(ex.getMessage());
    ---- END CODE---
    Thank you very much for any attempt at helping with this problem!

Maybe you are looking for

  • IMac no longer boots up to windows partition?

    Hi, I have a problem where my I installed Windows 7 on my iMac and set it to automatically boot up to the Windows partitionwhen turning on the computer. Suddenly, it's not doing that anymore. It boots up to the Apple partition and when I want to choo

  • How can i zip a folder with use of  webutil

    hi, We are using forms 10g and weutil 1.0.6.Is it possilble to zip and extract a folder with use of the webutil our requirement is take current day folder, zip that filder and upload that file second requirement is extract the uploaded zip file if an

  • Mass Cancellation of Inspection lots

    Dear Experts, How to cancel  the inspection lots collectively . Is there is any standard transaction for this ? Regards, Ram

  • [URGENT] Future client

    I am most definitely going to purchase AMS 5 professional from adobe, however i can not figure out how to configure my current apache to AMS. This is what i know. PORTS 443,80AMS used port 1935, 80 PORT 80 is used for http request PORT 1935 is used f

  • Consistency error for user in PPOSA_BBP , no error in HRALXSYNC

    Hi Experts, For the same user when we run the report HRALXSYNC in SE38 , everything is green but when we check the same user in PPOSA_BBP it gives error "Attribute check for USER failed" . I have two queries, 1)Why is the mismatch between the two che