Tpcall() within a tuxedo service fails

when i invoke tpcall() within another Tuxedo service, the call fails with code
TPESVCFAIL. If I call this service from a standalone client, it works fine.
I'm reallocating a new FML Buffer to pass to the call, so I'm not sure if this
is somehow causing the service dispatcher (in main()) to not find the service
I'm trying to call.... here is the relevant code:
if ((trans_deposit = (FBFR*)tpalloc(FMLTYPE, NULL, 0)) == (FBFR*)NULL)
(void)printf("Failed to allocate deposit buffer>>>>\n");
tpreturn(TPFAIL, 0, transb->data, 0L, 0);
} else
printf(" allocated deposit buffer\n");
(void)Fadd(trans_deposit, ACCOUNT_ID, &account_id, (FLDLEN)0);
(void)Fadd(trans_deposit, TRANS_AMT, &trans_amt, (FLDLEN)0);
(void)Fadd(trans_deposit, TRANS_DATE, open_date, (FLDLEN)0);
if ((retc = tpcall("DEPOSIT", (char*)trans_deposit, 0L, (char**)&trans_deposit,
&reply_len, 0)) == -1)
printf(" error number is: %d\n", tperrno);
printf(" error message using tperr: %s\n", tpstrerror(tperrno));
printf("*********************\n");
Any help is greatly appreciated.

I checked, and it is set to Y. What is the support email, and I will send them
an overview of what is happening....
thanks
John
Peter Holditch <[email protected]> wrote:
>
>
This seems a little wierd... I suggest you raise it with support.
The only thing I can think of is that your server making the tpcall has
REPLYQ=N set for it in the ubbconfig *SERVERS section.  It needs to be
Y
if a call is to work.
I woudn't expect the symptoms you describe if that was the problem, however.
Regards,
Peter.
Got a Question? Ask BEA at http://askbea.bea.com
The views expressed in this posting are solely those of the author, and
BEA
Systems, Inc. does not endorse any of these views.
BEA Systems, Inc. is not responsible for the accuracy or completeness
of
the
information provided
and assumes no duty to correct, expand upon, delete or update any of
the
information contained in this posting.
john wrote:
I found that if I call tpforward() instead, then it works. I noticedsomething
in the documentation about specifying TPNOREPLY, is this the problemwith the
way I was trying to do it?
Thanks
John
"john" <[email protected]> wrote:
Actually, the error code is TPENOENT, sorry.....
"john" <[email protected]> wrote:
when i invoke tpcall() within another Tuxedo service, the call fails
with code
TPESVCFAIL. If I call this service from a standalone client, it works
fine.
I'm reallocating a new FML Buffer to pass to the call, so I'm not
sure
if this
is somehow causing the service dispatcher (in main()) to not findthe
service
I'm trying to call.... here is the relevant code:
if ((trans_deposit = (FBFR*)tpalloc(FMLTYPE, NULL, 0)) == (FBFR*)NULL)
(void)printf("Failed to allocate deposit buffer>>>>\n");
tpreturn(TPFAIL, 0, transb->data, 0L, 0);
} else
printf(" allocated deposit buffer\n");
(void)Fadd(trans_deposit, ACCOUNT_ID, &account_id, (FLDLEN)0);
(void)Fadd(trans_deposit, TRANS_AMT, &trans_amt, (FLDLEN)0);
(void)Fadd(trans_deposit, TRANS_DATE, open_date, (FLDLEN)0);
if ((retc = tpcall("DEPOSIT", (char*)trans_deposit, 0L, (char**)&trans_deposit,
&reply_len, 0)) == -1)
printf(" error number is: %d\n", tperrno);
printf(" error message using tperr: %s\n", tpstrerror(tperrno));
printf("*********************\n");
Any help is greatly appreciated.
<html>
<head>
</head>
<body>
This seems a little wierd...  I suggest you raise it with support.<br>
<br>
<br>
The only thing I can think of is that your server making the tpcall has
REPLYQ=N
set for it in the ubbconfig *SERVERS section.  It needs to be Y
if a call
is to work.<br>
<br>
I woudn't expect the symptoms you describe if that was the problem, however.<br>
<br>
Regards,<br>
Peter.<br>
<br>
<p>__________________________________________________________ <br>
Got a Question?  Ask BEA at http://askbea.bea.com
</p>
The views expressed in this posting are solely those of the author, and
BEA
<br>
Systems, Inc. does not endorse any of these views. <br>
BEA Systems, Inc. is not responsible for the accuracy or completeness
of
the <br>
information provided <br>
and assumes no duty to correct, expand upon, delete or update any of
the <br>
information contained in this posting. <br>
___________________________________________________________ <br>
<br>
john wrote:<br>
<blockquote type="cite" cite="mid:[email protected]">
<pre wrap="">I found that if I call tpforward() instead, then it works.
I noticed something<br>in the documentation about specifying TPNOREPLY,
is this the problem with the<br>way I was trying to do it?<br>Thanks<br>John<br><br>"john"
<a class="moz-txt-link-rfc2396E" href="mailto:[email protected]"><[email protected]></a>
wrote:<br></pre>
<blockquote type="cite">
<pre wrap="">Actually, the error code is TPENOENT, sorry.....<br><br>"john"
<a class="moz-txt-link-rfc2396E" href="mailto:[email protected]"><[email protected]></a>
wrote:<br></pre>
<blockquote type="cite">
<pre wrap="">when i invoke tpcall() within another Tuxedo service,
the call fails<br>with code<br>TPESVCFAIL. If I call this service from
a standalone client, it works<br>fine. <br>I'm reallocating a new FML
Buffer to pass to the call, so I'm not sure<br>if this<br>is somehow
causing the service dispatcher (in main()) to not find the<br>service<br>I'm
trying to call.... here is the relevant code:<br><br> if ((trans_deposit
= (FBFR*)tpalloc(FMLTYPE, NULL, 0)) == (FBFR*)NULL)<br> {<br> (void)printf("Failed
to allocate deposit buffer>>>>\n");<br> tpreturn(TPFAIL,
0, transb->data, 0L, 0);<br> } else<br> {<br> printf(" allocated
deposit buffer\n");<br> }<br> (void)Fadd(trans_deposit, ACCOUNT_ID,
&account_id, (FLDLEN)0);<br> (void)Fadd(trans_deposit, TRANS_AMT,
&trans_amt, (FLDLEN)0);<br> (void)Fadd(trans_deposit, TRANS_DATE,
open_date, (FLDLEN)0);<br> <br> if ((retc = tpcall("DEPOSIT", (char*)trans_deposit,
0L, (char**)&trans_deposit,<br>&a
mp;reply_len, 0)) == -1)<br> {<br> printf(" error number is: %d\n",
tperrno);<br> printf(" error message using tperr: %s\n", tpstrerror(tperrno));<br>
printf("*********************\n");<br><br>Any help is greatly appreciated.<br></pre>
</blockquote>
</blockquote>
<pre wrap=""><!----><br></pre>
</blockquote>
<br>
</body>
</html>

Similar Messages

  • Tpcall return 1 when service call time's out (Tuxedo 8.1 on AIX 5.3TL6)

    Hello,
    I have an unexpected return code from tpcall !!??
    The code is simple :
    if (rc = tpcall ( (char *) service.c_str(), idata, ilen, odata, olen ,flags ) < 0 ) {
    printf ( "Returned %d\n", rc ) ;
    When the called service is timeout (SVCTIMEOUT) rc's value is 1 !!??
    Has anybody some explanation for this unexpected return code.
    Is this a bug or an undocumented valid return value for tpcall ?

    Herbert,
    The < operator is of higher precedence than the = operator in C++ and C.
    Your program is evaluating the expression tpcall ( (char *) service.c_str(),
    idata, ilen, odata, olen ,flags ) < 0.
    When the service fails, this expression is true, so 1 is assigned to rc.
    Parentheses will fix this problem:
    if ((rc = tpcall ( (char *) service.c_str(), idata, ilen, odata, olen
    ,flags) ) < 0 ) {
    Ed
    <herbert koelman> wrote in message news:[email protected]..
    Hello,
    I have an unexpected return code from tpcall !!??
    The code is simple :
    if (rc = tpcall ( (char *) service.c_str(), idata, ilen, odata, olen
    ,flags ) < 0 ) {
    printf ( "Returned %d\n", rc ) ;
    When the called service is timeout (SVCTIMEOUT) rc's value is 1 !!??
    Has anybody some explanation for this unexpected return code.
    Is this a bug or an undocumented valid return value for tpcall ?

  • Intermittent tpcall() failures in Tuxedo 7.1

    Hi,
    In our c++ tuxedo clint application (Tuxedo 7.1), tpcall() seems to fail intermittently. It seems that the operation that tpcall is suppossed to perform on the server side and return a result is completed successfully.
    But, the server log has the following entry:
    095644.machine22!WSH.1924.1.0: WSNAT_CAT:1287: WARN: Forced shutdown of client; user name 'TEST'; client name '*'; workstation address '//10.132.64.66:41370'
    Is this a Tuxedo 7.1 issue or a code defect? We didn't seem to have any problem when the same application ran under Tuxedo 6.5.
    Does this error have anything to do with a similar issue in Tuxedo 8.1 : CR082895 WTC tpcall fails randomly while Tuxedo service completes successfully.
    If yes, is there a patch available for Version 7.1? What is the patch level? We are currently using patch level 307.
    How can we trap the exception thrown by tpcall() in c++?
    Cheers,
    Taran

    Unfortunatelly I have already tried the -t flag and it didn't work! This flag is
    supposed to provide compatibility with pre-7.1 tuxedos so it wasn't supposed to
    help in the first place.
    "roopesh" <[email protected]> wrote:
    >
    I think there is a flag of -t which you can specify
    on GWTDOMAIN CLOPT option for the domain on 8.0 to work
    with domains on lower versions.
    try this
    Thanks
    "Dimitris Paleocostas" <[email protected]> wrote:
    Hello everyone,
    I am trying to setup Tuxedo8.0 Domain(Win2000) to call services from
    a Tuxedo7.1
    Domain(Compact Tru64). I have everything setup correctly (dmConfig files
    e.t.c.).
    When trying to call a service from Tuxedo8.0 to Tuxedo7.1, I receive
    a TPESYSTEM
    error 12 - internal system error in the Tuxedo 8.0 ULOG and a LIBGWT1313(:The
    gateway received a poorly formatted message from the specified remote
    domain and
    is unable to recognize it.) in the Tuxedo7.1 server ULOG.
    I have enabled the SSL option (without any parameters during the installation
    of Tuxedo8.0). Could that be making the diference?
    Note: When I reverse the routing settings in the dmConfig /ubbconfig
    files I am
    ablke to place a call from tuxedo7.1 to tuxedo8.0! The opposite refuses
    to work!

  • Encountered problem when invoking a Tuxedo service

    Good day.
    I'm currently encountering a problem when trying to invoke a Tuxedo service from a JCS. The error is a LIBTUX_CAT:488 : ERROR: Invalid data pointer given to tpreturn(). The returned error message to the WLS console was "tpcall invocation failed[null]."
    It was previously working until I added a few more lines of code that invoked a database.
    Both the JCS and the JCX used to invoke the Tuxedo service are in a Web Service project, stored separately in different folders though.
    Could anyone help please? I haven't found any solution to this problem yet.
    Thank you.

    Umm.. I already problem. Sorry for bothering everyone.
    I was simply passing a value that was longer than the set buffer in the Tuxedo service.
    Could someone please close topic? Thank you.

  • Tuxedo Service can not find a Jolt Client AFter timeout occured

    We are using Java Servlet/Jolt client to access out backend
    Tuxedo services.
    Whenever a Tuxedo service timedout, like
    "***tpcall failed |TPETIME - timeout occured|",
    The Jolt client and Tuxedo services will be out of sync,
    and Tuxedo Server will show following error message:
    "JOLT_CAT:1518: "ERROR: Call handle and clientid have no matching requests".
    Whenever this happends, we must reboot out Jolt client connection. Otherwise we
    will keep geting above problem.
    Our Jolt timeout time is 2 minutes. And Tuxedo block time is
    1 min 30 sec. (We setip in our UBB config as
    BLOCKTIME 9 #9*10s (def SCANUNIT)=90s or 1 min and 30s.).
    It seems like Tuxedo service will be timeouted before Jolt timedout.
    Could someone give us some suggestion about the above problem?
    Thanks in advance!

    Which version of Jolt are you using? This problem seems to have been fixed in
    latest rolling patch for Jolt1.2. Contact BEA support for it.
    -Deepak
    Yux71 wrote:
    We are using Java Servlet/Jolt client to access out backend
    Tuxedo services.
    Whenever a Tuxedo service timedout, like
    "***tpcall failed |TPETIME - timeout occured|",
    The Jolt client and Tuxedo services will be out of sync,
    and Tuxedo Server will show following error message:
    "JOLT_CAT:1518: "ERROR: Call handle and clientid have no matching requests".
    Whenever this happends, we must reboot out Jolt client connection. Otherwise we
    will keep geting above problem.
    Our Jolt timeout time is 2 minutes. And Tuxedo block time is
    1 min 30 sec. (We setip in our UBB config as
    BLOCKTIME 9 #9*10s (def SCANUNIT)=90s or 1 min and 30s.).
    It seems like Tuxedo service will be timeouted before Jolt timedout.
    Could someone give us some suggestion about the above problem?
    Thanks in advance!

  • Job for httpd.service failed. See 'systemctl status httpd.service' and

    Hello,
    I am the problem. I change "/etc/httpd/conf/httpd.conf" to install php5 on apache.
    sudo systemctl start httpd
    Job for httpd.service failed. See 'systemctl status httpd.service' and 'journalctl -xn' for details.
    systemctl status httpd.service
    ● httpd.service - Apache Web Server
    Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled)
    Active: failed (Result: exit-code) since lun. 2014-08-25 12:19:31 CEST; 1min 18s ago
    Process: 2208 ExecStop=/usr/bin/apachectl graceful-stop (code=exited, status=1/FAILURE)
    Process: 2433 ExecStart=/usr/bin/apachectl start (code=exited, status=1/FAILURE)
    Main PID: 2060 (code=exited, status=0/SUCCESS)
    août 25 12:19:31 creaprog apachectl[2433]: httpd: Syntax error on line 66 o...y
    août 25 12:19:31 creaprog systemd[1]: httpd.service: control process exite...=1
    août 25 12:19:31 creaprog systemd[1]: Failed to start Apache Web Server.
    août 25 12:19:31 creaprog systemd[1]: Unit httpd.service entered failed state.
    Hint: Some lines were ellipsized, use -l to show in full.
    cat /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.4/> for detailed information.
    # In particular, see
    # <URL:http://httpd.apache.org/docs/2.4/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 "logs/access_log"
    # with ServerRoot set to "/usr/local/apache2" will be interpreted by the
    # server as "/usr/local/apache2/logs/access_log", whereas "/logs/access_log"
    # will be interpreted as '/logs/access_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 specify a local disk on the
    # Mutex directive, if file-based mutexes are used. If you wish to share the
    # same ServerRoot for multiple httpd daemons, you will need to change at
    # least PidFile.
    ServerRoot "/srv/http"
    # Mutex: Allows you to set the mutex mechanism and mutex file directory
    # for individual mutexes, or change the global defaults
    # Uncomment and change the directory if mutexes are file-based and the default
    # mutex file directory is not on a local disk or is not appropriate for some
    # other reason.
    # Mutex default:/run/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 80
    # 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_socache_module modules/mod_authn_socache.so
    LoadModule authn_core_module modules/mod_authn_core.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 authz_dbd_module modules/mod_authz_dbd.so
    LoadModule authz_core_module modules/mod_authz_core.so
    #LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
    LoadModule access_compat_module modules/mod_access_compat.so
    LoadModule auth_basic_module modules/mod_auth_basic.so
    #LoadModule auth_form_module modules/mod_auth_form.so
    #LoadModule auth_digest_module modules/mod_auth_digest.so
    #LoadModule allowmethods_module modules/mod_allowmethods.so
    #LoadModule file_cache_module modules/mod_file_cache.so
    #LoadModule cache_module modules/mod_cache.so
    #LoadModule cache_disk_module modules/mod_cache_disk.so
    #LoadModule cache_socache_module modules/mod_cache_socache.so
    #LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
    #LoadModule socache_dbm_module modules/mod_socache_dbm.so
    #LoadModule socache_memcache_module modules/mod_socache_memcache.so
    #LoadModule watchdog_module modules/mod_watchdog.so
    #LoadModule macro_module modules/mod_macro.so
    #LoadModule dbd_module modules/mod_dbd.so
    #LoadModule dumpio_module modules/mod_dumpio.so
    #LoadModule echo_module modules/mod_echo.so
    #LoadModule buffer_module modules/mod_buffer.so
    #LoadModule data_module modules/mod_data.so
    #LoadModule ratelimit_module modules/mod_ratelimit.so
    LoadModule reqtimeout_module modules/mod_reqtimeout.so
    #LoadModule ext_filter_module modules/mod_ext_filter.so
    #LoadModule request_module modules/mod_request.so
    LoadModule include_module modules/mod_include.so
    LoadModule filter_module modules/mod_filter.so
    #LoadModule reflector_module modules/mod_reflector.so
    #LoadModule substitute_module modules/mod_substitute.so
    #LoadModule sed_module modules/mod_sed.so
    #LoadModule charset_lite_module modules/mod_charset_lite.so
    #LoadModule deflate_module modules/mod_deflate.so
    #LoadModule xml2enc_module modules/mod_xml2enc.so
    #LoadModule proxy_html_module modules/mod_proxy_html.so
    LoadModule mime_module modules/mod_mime.so
    #LoadModule ldap_module modules/mod_ldap.so
    LoadModule log_config_module modules/mod_log_config.so
    #LoadModule log_debug_module modules/mod_log_debug.so
    #LoadModule log_forensic_module modules/mod_log_forensic.so
    #LoadModule logio_module modules/mod_logio.so
    #LoadModule lua_module modules/mod_lua.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 remoteip_module modules/mod_remoteip.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_fcgi_module modules/mod_proxy_fcgi.so
    LoadModule proxy_scgi_module modules/mod_proxy_scgi.so
    #LoadModule proxy_fdpass_module modules/mod_proxy_fdpass.so
    LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so
    LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
    LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
    LoadModule proxy_express_module modules/mod_proxy_express.so
    #LoadModule session_module modules/mod_session.so
    #LoadModule session_cookie_module modules/mod_session_cookie.so
    #LoadModule session_crypto_module modules/mod_session_crypto.so
    #LoadModule session_dbd_module modules/mod_session_dbd.so
    LoadModule slotmem_shm_module modules/mod_slotmem_shm.so
    #LoadModule slotmem_plain_module modules/mod_slotmem_plain.so
    #LoadModule ssl_module modules/mod_ssl.so
    #LoadModule dialup_module modules/mod_dialup.so
    LoadModule lbmethod_byrequests_module modules/mod_lbmethod_byrequests.so
    LoadModule lbmethod_bytraffic_module modules/mod_lbmethod_bytraffic.so
    LoadModule lbmethod_bybusyness_module modules/mod_lbmethod_bybusyness.so
    LoadModule lbmethod_heartbeat_module modules/mod_lbmethod_heartbeat.so
    LoadModule mpm_event_module modules/mod_mpm_event.so
    LoadModule unixd_module modules/mod_unixd.so
    #LoadModule heartbeat_module modules/mod_heartbeat.so
    #LoadModule heartmonitor_module modules/mod_heartmonitor.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 cgid_module modules/mod_cgid.so
    #LoadModule cgi_module modules/mod_cgi.so
    #LoadModule dav_fs_module modules/mod_dav_fs.so
    #LoadModule dav_lock_module modules/mod_dav_lock.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
    #Load php5 module
    LoadModule php5_module modules/libphp5.so
    <IfModule unixd_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>
    # '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
    # Deny access to the entirety of your server's filesystem. You must
    # explicitly permit access to web content directories in other
    # <Directory> blocks below.
    <Directory />
    AllowOverride none
    Require all denied
    </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.
    # 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"
    <Directory "/srv/http">
    # 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.4/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:
    # AllowOverride FileInfo AuthConfig Limit
    AllowOverride None
    # Controls who can get stuff from this server.
    Require all granted
    </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.
    <Files ".ht*">
    Require all denied
    </Files>
    # 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 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
    Require all granted
    </Directory>
    <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
    </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
    # MaxRanges: Maximum number of Ranges in a request before
    # returning the entire resource, or one of the special
    # values 'default', 'none' or 'unlimited'.
    # Default setting is to accept 200 Ranges.
    #MaxRanges unlimited
    # EnableMMAP and EnableSendfile: On systems that support it,
    # memory-mapping or the sendfile syscall may be 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.
    # Defaults: EnableMMAP On, EnableSendfile Off
    #EnableMMAP off
    #EnableSendfile on
    # 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
    # PHP settings
    Include conf/extra/php5_module.conf
    # Configure mod_proxy_html to understand HTML4/XHTML1
    <IfModule proxy_html_module>
    Include conf/extra/proxy-html.conf
    </IfModule>
    # Secure (SSL/TLS) connections
    #Include conf/extra/httpd-ssl.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>
    # uncomment out the below to deal with user agents that deliberately
    # violate open standards by misusing DNT (DNT *must* be a specific
    # end-user choice)
    #<IfModule setenvif_module>
    #BrowserMatch "MSIE 10.0;" bad_DNT
    #</IfModule>
    #<IfModule headers_module>
    #RequestHeader unset DNT env=bad_DNT
    #</IfModule>
    Thanks, sorry my english is bad .
    Last edited by Creaprog (2014-08-25 10:25:17)

    I just noticed the exact same thing. It turns out that the httpd-ssl.conf file on my system is still the old v2.2 syntax, which means that the SSLMutex directive is still in there. This is an invalid directive after 2.2.
    This is where things get interesting. At first, I simply thought I had forgotten to merge httpd-ssl.conf.pacnew after apache had been upgraded to 2.4. However, when I check my pacman.log, it appears that httpd-ssl.conf was never upgraded when apache went to 2.4 - (2.2.26-1 -> 2.4.7-1). There was never a pacnew file generated to be merged.
    I took a look at the apache package via the abs and the "proper" httpd-ssl.conf is certainly in there, so why pacman never created a pacnew file is a mystery.
    Anyway, to fix this: pull the httpd-ssl.conf from the apache package, either from your cache, using the abs and building it, or (I think) pacman may re-install it if you move the file to a backup location (not sure about this). Then merge your original httpd-ssl-conf with the new one.

  • Windows Search Service failing to install on Windows Server 2008 R2 Terminal Server

    Hi,
    I am unable to install the Windows Search Service on a Server 2008 R2 Terminal Server. I want to install this to enable indexing options within Outlook 2013 for all users.
    Server Manager > Add Roles > File Services > Select only Windows Search Service > Install.
    The error I receive: "Attempt to configure Windows Search Service failed with error code 0x80070057. The parameter is incorrect."
    Thanks,
    Bjorn

    Hi,
    I did the test and could install the Windows Search Service without problem.
    Which role did you installed on the terminal server?
    Did you try to install it on another windows server?
    Regards.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • "The user profile service failed the logon. User profile cannot be loaded."

    I recently purchased a refurbished laptop from MTC (windows 7) and have been trying to remote into the windows systems at my school but I keep receiving this error message.  I'm aware there are dozens of threads on this topic but mine is slightly different.
     Bear with me, I know next to nothing about computers...
    I initially tried to follow the instructions given out by Microsoft (can't add a link here), but when it comes to looking at my S-1-5 directories, I do not have any that end in .bak, nor do I have two equally names ones.  I have one that is a string
    of numbers followed by -1000 and one with the same string of numbers but ending in -500.  
    The -1000 directory is missing the RunLogonScriptSync file, and has my account listed under value name for the ProfileImagePath information.  The -500 directory has the RunLogonScriptSync file and has "Administrator" listed under
    the value name for the ProfileImagePath.  
    In the instructions cited above I tried skipping to step 15 and accessing C:\Users\default\appdata\local\application data but I get an error message saying access is denied.  So I'm thinking there are two administrative accounts on this laptop, but
    when I access the accounts on the laptop I can only see mine.
    Any help would be appreciated!
    Thanks.

    In the instructions cited above I tried skipping to step 15 and accessing C:\Users\default\appdata\local\application data but I get an error message saying access is denied.  So I'm thinking there are two administrative accounts on this laptop, but
    when I access the accounts on the laptop I can only see mine.
    the "access denied" message, is making you think this?
    if so, ignore that, since the "access denied" message is a classic MSFT misdirection.
    It is *not* that you don't have access - the path you are trying to navigate to does not actually exist (it is a junction/reparse, not a folder), and, Windows Explorer doesn't follow that nicely, so it throws a misleading error message:
    C:\Users\Default\AppData\Local>dir /AL
     Volume in drive C is Windows7_OS
     Volume Serial Number is C0EB-A540
     Directory of C:\Users\Default\AppData\Local
    14/07/2009  03:08 PM    <JUNCTION>     Application Data [C:\Users\Default\AppData\Local]
    14/07/2009  03:08 PM    <JUNCTION>     History [C:\Users\Default\AppData\Local\Microsoft\Windows\History]
    14/07/2009  03:08 PM    <JUNCTION>     Temporary Internet Files [C:\Users\Default\AppData\Local\Microsoft\Windows\Temporary Internet Files]
                   0 File(s)              0 bytes
                   3 Dir(s)  33,354,055,680 bytes free
    Instead, the "user profile service service failed the logon" can be commonly caused by an improperly secured file within any of the other folders (folders which form the Default User profile).
    Here's one which caught me out, and MSFT helped me resolve via a support case, and they blogged it afterwards:
    http://blogs.msdn.com/b/asiatech/archive/2014/01/30/new-user-gets-event-1509-after-deploying-ie9-10-11-packaged-by-ieak.aspx
    (my advice to you, is to dive into the event log with eventvwr, and look for an event similar to 1509, which should point you in the right direction for your particular situation)
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • Error Message when logging on "The Group Policy Client service failed the logon. Access is denied"

    Since the move to Windows 7 we have started getting this error above when people login at random times and on random machines, at first we thought it was only a select few users, but now it seems to have occurred to about 20 different Staff members working
    at the school. Also of those 20 odd users it has happened to them on a few occasions.
    What we know
    We know this problem is only occurring to staff with Roaming Profiles, it seems like somehow the profile is not Synchronizing with the Servers File Share that houses the profiles, which causes the NTUSER.DAT file to become corrupt and go from being around
    2 – 3 MBs to 256KB (In all cases where a user has had this issue there NTUSER.DAT file has been 256KB)
    Current Resolution to the problem
    When a staff member contact us with this problem, we fortunately have Previous Versions working on the profiles folder on the server, so we are able to restore their NTUSER.DAT file from 1 to 2 days before it became corrupt, which then seems to allow them
    to log on fine
    What we have tried so far & suggested so far
    After some research on Google, we found the following thread on EduGeek
    http://www.edugeek.net/forums/windows-7/78733-windows-7-user-profile-failed-error-again.html#post700415
    Which suggested that the problem may lay within registry, so we implemented the Script that was posted on the website, however this has not seemed to make any difference
    In the early stages when only 5 – 10 staff seemed to be having the problem, we believed the issue could be with just certain AD accounts. It had not seemed to happen to any recently created AD accounts so we thought it could be a corrupt attribute on
    the user so we delete one of the staff AD accounts that had the problem and creating a brand new one, however within about 2 – 3 weeks that staff member had the issue occur again
    Leading on from point two, we also thought the problem could be with people using multiple computers, logging on in 2 places and not logging off properly, but unfortunately the staff member referred to in point 2 only uses the one computer in reception.
    Another potential cause that we figured might be the route of the problem, was it could be specific computers that are not communicating properly with the server, which could be causing this problem to occur, but we have no real way of testing this,
    as the staff generally log onto 3 – 4 different computers throughout the day and in different location
    We log a call with EE and they just pointed us to various websites that we had already checked and wasn’t much help.
    In Summary
    This error has now occurred with about 20 members of staff, we currently only use Windows 7 at our Senior School & Moving to Windows 7 at our Prep School in the Summer
    holidays, we would like to find out the route of this problem ideally before then, as we could potentially be doubling the amount of staff with the problem after the move. Has anyone else seen this problem or have a brain wave on how to solve it?
    Regards
    Andy

    Hi Dudleya,
    First of all ,I would suggest to check the permissions of the NTUSER.DAT registry hive .Here is a link for reference :
    The Group Policy Client service failed the logon. Access is denied(Juke Chou`s answer)
    https://social.technet.microsoft.com/Forums/windows/en-US/8c0054a3-35be-4fc4-839c-e2176613eb23/the-group-policy-client-service-failed-the-logon-access-is-denied?forum=w7itpronetworking
    Please refer to this link and add the registry keys to have a check .Please backup the registry keys before you made modifications to them.
    The Group Policy Client Service Failed The Logon In Windows 8(It should also work on windows 7 )
    http://www.thewindowsclub.com/fix-group-policy-client-service-failed-logon-windows-8
    If the issue persists ,we can refer to this link to troubleshoot this issue .
    Troubleshoot User Profiles with Events(It should also be applied to windows 7 )
    https://technet.microsoft.com/en-us/library/jj649075.aspx
    NOTE: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites.
    Best regards

  • IPhone 5 cellular data services failing

    ISSUE/SYMPTOMS:  iPhone 5 ONLY: Cellular Data stops intermittingly, cellular data locks up without warning, Wi-Fi data connection not working on occasion, iCloud contacts, calendar and reminders not updating, Find My Phone not working, mail or Internet not available or server time-outs. No error messages though. All of these are symptoms of no data service. Problems seem to be related to iPhone 5 failing to switch between LTE and 4G or 3G data services on AT&T.
    My iPhone 5 32GB AT&T version (iOS 6.0.2) along with my clients and family using iPhone 5 in the state of Oklahoma are having this issue on their AT&T iPhone 5's:  no cellular data connection re-established if at anytime the LTE connection is lost or weak.  As with iPhone's prior to iPhone 5, the iPhone 5 is supposed to drop down to the next tier of data service and re-connect to cellular data service when the higher speed cellular data service is not available.  Apparently this is not working well on the iPhone 5.
    What led me to research this LTE issue was that my iPhone was not syncing on iCloud with contacts, calendars and reminders with my other iOS devices.  Other times this issue became apparent was when iMessage quit sending and receiving until I would reboot my iPhone (sometimes it would finally send the message as a “text message”). When I had these problems I also found out I was not getting any cellular data service for Internet browsing, mail, Maps, Find My iPhone, etc.  This would happen without notice. In other words I would not receive any notice or error message that data service had stopped other than the fact I was not receiving any mail, iMessages, or iCloud sync updates. My only resolution was to reset or reboot my iPhone several times a day, and that would resolve it about 70% of the time. 
    I have talked to Apple Support on 2-3 occasions in the last week and AT&T Support twice in the last 2 days.  If it is really true, only the AT&T Technical Support Advisor informed me of a nationwide issue relating to iPhone 5 and LTE:  iPhone 5's are not re-connecting to 4G or 3G cellular data service once the LTE data connection is lost or dropped... the voice calls continue to work, but cellular data service fails and stays locked up without an error message until the customer reboots the iPhone.
    Obviously this is very unacceptable. We depend on these data services and at minimum need to know when it stops working instead of finding out from a phone call that someone sent us an important email or something.
    The AT&T representative also said that both AT&T and Apple are aware of and are working on the issue as it is a nationwide problem with iPhone 5 and LTE. The Apple Support Advisors I talked to made no mention of this "known" issue. AT&T said that it is partly AT&T responsibility because the capacity of LTE is overloaded and cellular data connections are dropping because of the lack of coverage and/or capacity. They actually refunded my data service for a whole month in apology for the inconvenience (I did not even ask for that--I just want my data service to work).  But they also said that Apple has responsibility in this issue because the iPhone 5 should drop down and re-connect to the next lower tier of data service when LTE is not available or lost; instead, it is locking up somehow or it still thinks it is connected to LTE when it is actually not. I don't know how accurate these statements are, but my problem is real.
    TEMPORARY WORK-AROUND / FIX FROM AT&T:  Disable LTE on the iPhone 5.  Or when you figure out that data is not coming to your iPhone, use Airplane Mode ON/OFF for a few seconds to force re-connection to a tower without rebooting the iPhone.  You can Disable LTE on the iPhone 5 in SETTINGS/GENERAL/CELLULAR. I have disabled LTE on my iPhone 5 and have not had any of these cellular data issues since. 
    Disabling LTE is not acceptable either, but it is working. At least I seem not be losing connection or locking up without knowing it.  In my office over the course of a day, my iPhone 5 will jump back and forth on LTE and 4G sitting in the same place.  Disabling LTE has stopped this and the problem, but the iPhone 5 should switch cellular data services seemlessly just like the phone switches towers on a phone voice call seemlessly (most of the time).
    WI-FI ALSO STOPS WORKING SOMETIMES AFTER THIS LTE disconnect / lock-up issue:  That has been my experience along with my clients and family as well. If you use Wi-Fi a lot on your iPhone it will hide this LTE issue until you leave your Wi-Fi and get on LTE and then drop LTE (silently) and then go back to your Wi-Fi.  My experience has been I have to reboot the iPhone to even get Wi-Fi working again after that happens.
    I do not know if some of these comments and analysis are really accurate or valid or not... all I know for sure is since I upgraded my iPhone to the 5 along with my other family members and clients, we have had "no data" on many occasions and are continually rebooting our iPhones and looking for what is wrong. 
    My questions to the support community are these:
         1. Is anyone else having this issue? Or is it just me and my few? Maybe a lot of people do not realize they are not getting their data because they are on Wi-Fi most of the time or they are just rebooting and not trying to identify the real problem. AT&T said it was nationwide iPhone 5/LTE issue.  Anyone else heard that from either Apple or AT&T?
         2. Is this an iPhone 5 / Apple issue or is AT&T solely responsible? Or is it both? Where do we get a solution??? Is AT&T LTE holding false connections with iPhone 5 or is the iPhone 5 failing to recognize a dropped LTE cellular data connection and then failing to attempt to re-connect with 4G or 3G?
         3. Did I miss where this issue is posted? I searched Apple Support and Communities and did not get any hits.  Any updates or further insight on the issue? Any other fixes other than Disabling LTE?
          4. If this is in fact a real issue belonging in part to the iPhone 5, we need to escalate Apple’s attention to it.
    Thanks in advance for your help and feedback.

    Thank you fellow users and experts for your feedback and updates. Sorry about the large font on the original post... accidental via cut and paste.
    I have escalated the issue with both Apple and AT&T.  I actually got senior level troubleshooters from both Apple and AT&T on the phone at the same time... rare moment. Here are the key points of the update:
         1. AT&T did NOT confirm the earlier statement by another AT&T Technical Support Agent that this was an emerging nationwide issue about iPhone 5 and LTE losing data connection and not reconnecting at a lower level or re-connecting to LTE once the signal came back. So that earlier statement was not accurate as suspected by all of us. The senior tech at AT&T said he has seen this issue sporadically over the last month or so, but only with about 3-4 customers.  He said it seems to be location or phone dependent (some phones not all phones).
         2. The Apple Tech was satisfied that all that could be done to eliminate my issues possibly relating to my instance of software / iOS had been accomplished except erasing my iPhone and restoring as a new phone (I have avoided this inconvenience with the argument that other family/clients with the iPhone 5 have had the same problem).
         3. AT&T went so far as to examine which towers I had been connecting to over the last week and looked at other technical data that could possibly explain the issue. I now know I have 3 towers that provide LTE within 4 miles of my home/office, one within a half mile.  But so far there is nothing to explain or even properly identify the issue.  AT&T offered me to take my phone to an AT&T store, try to force replicate the problem there, if so, the store would put my SIM card in a brand new iPhone 5 (just to test) and try tor replicate the problem again. If replicated on a new phone, there is a deeper issue; if resolved on a new phone, the answer is obvious. I have not taken the time to do this yet.
         4. On Friday, Jan 4, 2013 while talking and between the tech support calls (on a different phone), I was able to re-create the problem 2 separate times in my home/office by forcing my iPhone to weaken its connection to service (burying it under electronic gear) and then waiting a few minutes, then trying to browse the Internet--no data service unless I manually reset the connection.  I am only able to cause the issue to occur if there is at least 15 min of idle time after a weak signal condition AND only if I don’t completely lose a connection to cellular voice service. It seems that if you go down to NO SERVICE the phone will do new a search and keep searching until reconnects to LTE or other signals correctly, but a weak connection seems to be strong enough for voice service but can sometimes cause the LTE data service to stop without reconnecting to LTE, 4G or 3G unless I manually intervene. It also seems that idle time with a weak connection is also necessary to re-create the problem manually.  Since Friday, I have not been able to re-create the problem. This has been an intermittent problem, so who knows.
    FYI, I have never had this problem with my new iPad (also on AT&T LTE) that has been with me when the iPhone fails to have data service, but my iPad is never in my pocket or other places with perhaps less signal.
    Again, if you are connected to Wi-Fi on your iPhone 5 most of the time, you may never notice this issue if you are even having it.
    So far no progress on the real issue or resolution, but both Apple and AT&T have put forth very admirable effort.
    If you or others you know are having this issue, please take the time to post a reply to this issue. Thank you.

  • I have a problem when running my own EJB as a TUXEDO service using WTC.

    Hello,
    I have a problem when running my own EJB as a TUXEDO service using WTC. I am using TUXEDO 8.1 and WL 9.1.
    When I am trying to run my own EJB as a TUXEDO service error appears.
    TPENOENT(6):0:0:TPED_MINVAL(0):QMNONE(0):0:Could not find service TOUPPER
    at weblogic.wtc.gwt.WTCService.getImport(WTCService.java:4988)
    at weblogic.wtc.gwt.TuxedoConnection.getImport(TuxedoConnection.java:303)
    at weblogic.wtc.gwt.TuxedoConnection.tpcall(TuxedoConnection.java:1302)
    at examples.MyTestSessionBean.Toupper(MyTestSessionBean.java:102)
    at examples.TestSessionBean_knby6k_EOImpl.Toupper(TestSessionBean_knby6k_EOImpl.java:61)
    at net.roseindia.web.servlets.SessionTestServlet.doGet(SessionTestServlet.java:69)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3153)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1973)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1880)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1310)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
    e8
    10
    java.rmi.RemoteException: EJB Exception: ; nested exception is:
    java.lang.NullPointerException
    at weblogic.ejb.container.internal.EJBRuntimeUtils.throwRemoteException(EJBRuntimeUtils.java:95)
    at weblogic.ejb.container.internal.BaseEJBObject.handleSystemException(BaseEJBObject.java:713)
    at weblogic.ejb.container.internal.BaseEJBObject.handleSystemException(BaseEJBObject.java:681)
    at weblogic.ejb.container.internal.BaseEJBObject.postInvoke1(BaseEJBObject.java:447)
    at weblogic.ejb.container.internal.StatelessEJBObject.postInvoke1(StatelessEJBObject.java:72)
    at weblogic.ejb.container.internal.BaseEJBObject.postInvokeTxRetry(BaseEJBObject.java:374)
    at examples.TestSessionBean_knby6k_EOImpl.Toupper(TestSessionBean_knby6k_EOImpl.java:75)
    at net.roseindia.web.servlets.SessionTestServlet.doGet(SessionTestServlet.java:69)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3153)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1973)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1880)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1310)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
    Caused by: java.lang.NullPointerException
    at examples.MyTestSessionBean.Toupper(MyTestSessionBean.java:130)
    at examples.TestSessionBean_knby6k_EOImpl.Toupper(TestSessionBean_knby6k_EOImpl.java:61)
    ... 15 more
    Any clue on this.
    With Regards,
    MVS

    If you are trying to create a Tuxedo service in Java using WTC you need to develop an EJB that implements the TuxedoService interface and register its home in JNDI so WTC can look it up. Once that is done you can then export the service to a remote domain in the WTC configuration.
    Regards,
    Todd Little
    Oracle Tuxedo Chief Architect

  • Tuxedo service start

    Hi
    I have a Tuxedo COBOL service and I have a problem: the TPSVCSTART routine it seams that not working very well.
    When I start the service for the first time and I send some record to the TPSVCSTART service routine, everything goes fine. After the COBOL service is terminated (COPY TPRETURN...) and I try to connect to the service again, the VIEW record passed to the TPSVCSTART routine contains the data that I sent but contains also random chars in his string fields, although the record's string value fields and their lengths are correctly set on the client side.
    Anyone knows why this is happening?
    Code for the TPSVCSTART routine:
    DO-TPSVCSTART.
    INITIALIZE ClientData
    MOVE "VIEW" TO REC-TYPE OF TPTYPE-REC.
    MOVE "ClientData" TO SUB-TYPE OF TPTYPE-REC.
    MOVE LENGTH OF CLIENT-DATA-REC TO LEN IN TPTYPE-REC.
    CALL "TPSVCSTART" USING TPSVCDEF-REC
    TPTYPE-REC
    CLIENT-DATA-REC
    TPSTATUS-REC.
    IF TPTRUNCATE
    MOVE "Input data exceeded DATA-REC length"
    TO LOGMSG-TEXT
    PERFORM DO-USERLOG
    PERFORM EZ-EXIT.
    IF NOT TPOK
    MOVE "TPSVCSTART Failed" TO LOGMSG-TEXT
    PERFORM DO-USERLOG
    PERFORM EZ-EXIT.
    IF REC-TYPE NOT = "VIEW"
    MOVE "REC-TYPE is not VIEW" TO LOGMSG-TEXT
    PERFORM DO-USERLOG
    PERFORM EZ-EXIT.
    Thanx
    Daniel

    Run the server manually using the command line from "tmboot -n -d1" and
    see if it is dumping core or failing in some other manner.
    Or if you already have a core file, get a stack trace with a debugger.
    Paul van Rixel wrote:
    Hi,
    With version Tuxedo 6.4 I have a fmldef.fml with 472 entries. The number of views
    is 121. So when I tried to add a service the tuxedo services will not start and
    returns with an "CMDTUX_CAT:819 INFO: Process Id=.... assumed started (pipe)".
    However, when I delete this service (or another one) the tmboot process does not
    return an error and works fine.
    So I wondered if there might be (default) value which I exceed. Anyone an idea?
    Regards,
    Paul

  • The User Profile Service service failed the logon. User Profile cannot be loaded. (while using Vista)

    Hello - I'm receiving the error above when trying to logon on to my computer.  I've tried some of the fixes on this site and others and none of them seem to work b/c I get to a certain point and I don't have files.  Examples are below:
    1).  I don't have another account with administrator priv (or if I do, I don't know how to get there).
    2). Youtube video offers a fix by making registry edits, but with Windows 7 and once he gets to Windows NT file, current version, profile list  - I don't have any of those options.
    3). Another fix also suggests doing a reg edit, but I don't have the S-1-5 files with the really long numbers - I only have S-1-5 -18 and S-1-5-19.
    Any suggestions on fixes within in Vista would be greatly appreciated.
    Thank you!

    Hi,
    I know this thread is idle for some time, but I want to share the following link here, hope it can be helpful
    You receive a "The User Profile Service failed the logon” error message
    http://support.microsoft.com/kb/947215
    Yolanda Zhu
    TechNet Community Support

  • Passing data from jsp/servlet to a Tuxedo Service thru VIEW

    Hi..
    We are using Tuxedo10g R3 on AIX 5.3..
    We have a Tuxedo Service running which takes values from the VIEW and converts that to upper case.. From the jsp page v r passing values to the VIEW fields which will be accepted by the service..
    For testing v checked the service with a tuxedo client and it is working fine..
    We have defined a jolt repository file for this service and finished bulkloading and coded the servlet also.. After passing the datas from the jsp, the Tuxedo service is called and it is ended.. but in the service only blank values are passed or the datas are not passed to VIEW fields.. It is not showing any error..
    The repository file for this service:
    service=NSIMPSRV
    export=true
    inbuf=VIEW
    inview=sample
    outbuf=STRING
    param=FIRSTSTR
    type=string
    access=in
    param=SECONDSTR
    type=string
    access=in
    param=THIRDSTR
    type=string
    access=in
    param=S-FIRST
    type=string
    access=out
    param=S-SECOND
    type=string
    access=out
    param=S-THIRD
    type=string
    access=out
    and the servlet code for this service:
    Result result1;
    ServletSessionPool servletsession = (ServletSessionPool) joltsession.getSessionPool("demojoltpool");
    ServletDataSet joltdataset = new ServletDataSet();
    joltdataset.setValue("FIRSTSTR","Testing");
    joltdataset.setValue("SECONDSTR","Tuxedo");
    joltdataset.setValue("THIRDSTR","Views");
    result1 = servletsession.call("NSIMPSRV", joltdataset, null);
    System.out.println("FIRSTSTR:"+result1.getValue("S-FIRST",""));
    System.out.println("SECONDSTR:"+result1.getValue("S-SECOND",""));
    System.out.println("THIRDSTR:"+result1.getValue("S-THIRD",""));
    we are not sure why the datas have not been passed.. do anyone have any idea regarding this??
    Thanks..

    Hi Wayne,
    This is my view definition:
    VIEW sample
    # type cname fbna count flag size null
    string firststr - 1 - 10 -
    string secondstr - 1 - 10 -
    string thirdstr - 1 - 10 -
    ENDJolt repository file:
    service=NSIMPSRV
    export=true
    inbuf=VIEW
    inview=sample
    outbuf=VIEW
    outview=sample
    param=FIRSTSTR
    type=string
    access=inout
    param=SECONDSTR
    type=string
    access=inout
    param=THIRDSTR
    type=string
    access=inoutThe Servlet code is:
    package Servlet;
    import java.io.IOException;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import bea.jolt.pool.servlet.weblogic.PoolManagerStartUp;
    import bea.jolt.pool.servlet.*;
    import bea.jolt.pool.ApplicationException;
    import bea.jolt.pool.SessionPoolException;
    import bea.jolt.pool.ServiceException;
    import bea.jolt.pool.SessionPoolManager;
    import bea.jolt.pool.*;
    * Servlet implementation class ZC00582Servlet
    public class VIEWServlet extends HttpServlet {
         private ServletSessionPoolManager joltsession = (ServletSessionPoolManager) SessionPoolManager.poolmgr;
    public VIEWServlet() {
    super();
    // TODO Auto-generated constructor stub
         protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
              // TODO Auto-generated method stub
         response.setContentType("text/html");
         ServletResult result;
         Result result1;     
         String String1 = request.getParameter("FIRSTSTR");
         String String2 = request.getParameter("SECONDSTR");
         String String3 = request.getParameter("THIRDSTR");
         System.out.println("THE VALUES BEFORE CONVERSION");
         System.out.println("FIRSTSTR:"+String1);
         System.out.println("SECONDSTR:"+String2);
         System.out.println("THIRDSTR:"+String3);
         System.out.println("1..");     
         //ServletResult message;
         ServletSessionPool servletsession = (ServletSessionPool) joltsession.getSessionPool("demojoltpool");
         System.out.println("2..");
         ServletDataSet joltdataset = new ServletDataSet();
         //joltdataset.importRequest(request);
         System.out.println("3..");
         //joltdataset.setValue("firststr","Hi");
         joltdataset.setValue("firststr",String1);
         System.out.println("4..");
         //joltdataset.setValue("secondstr","hello");
         joltdataset.setValue("secondstr",String2);
         System.out.println("5..");
         //joltdataset.setValue("thridstr","fine");
         joltdataset.setValue("thirdstr",String3);
         System.out.println("6..");
         //result = (ServletResult) servletsession.call("NSIMPSRV", joltdataset, null);
         result1 = servletsession.call("NSIMPSRV", joltdataset, null);
         result = (ServletResult) result1;
         System.out.println("THE VALUES AFTER CONVERSION");
         System.out.println("FIRSTSTR:"+result.getStringValue("firststr",""));
         System.out.println("SECONDSTR:"+result.getStringValue("secondstr",""));
         System.out.println("THIRDSTR:"+result.getStringValue("thirdstr",""));     
         protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
              // TODO Auto-generated method stub
    and my server program :
    IDENTIFICATION DIVISION.
    PROGRAM-ID. NSIMPSRV.
    AUTHOR. TUXEDO DEVELOPMENT.
    ENVIRONMENT DIVISION.
    CONFIGURATION SECTION.
    DATA DIVISION.
    WORKING-STORAGE SECTION.
    * Tuxedo definitions
    01 TPSVCRET-REC.
    COPY TPSVCRET.
    01 TPTYPE-REC.
    COPY TPTYPE.
    01 TPSTATUS-REC.
    COPY TPSTATUS.
    01 TPSVCDEF-REC.
    COPY TPSVCDEF.
    * Log message definitions
    01 LOGMSG.
    05 FILLER PIC X(10) VALUE
    "NSIMPSRV :".
    05 LOGMSG-TEXT PIC X(50).
    01 LOGMSG-LEN PIC S9(9) COMP-5.
    * User defined data records
    01 STRING-DATA.
    COPY SAMPLE.
    LINKAGE SECTION.
    PROCEDURE DIVISION.
    START-FUNDUPSR.
    MOVE LENGTH OF LOGMSG TO LOGMSG-LEN.
    MOVE "Started" TO LOGMSG-TEXT.
    PERFORM DO-USERLOG.
    * Get the data that was sent by the client
    MOVE LENGTH OF STRING-DATA TO LEN.
    CALL "TPSVCSTART" USING TPSVCDEF-REC
    TPTYPE-REC
    STRING-DATA
    TPSTATUS-REC.
    IF NOT TPOK
    MOVE "TPSVCSTART Failed" TO LOGMSG-TEXT
    PERFORM DO-USERLOG
    PERFORM EXIT-PROGRAM
    END-IF.
    IF TPTRUNCATE
    MOVE "Data was truncated" TO LOGMSG-TEXT
    PERFORM DO-USERLOG
    PERFORM EXIT-PROGRAM
    END-IF.
    MOVE FIRSTSTR TO LOGMSG-TEXT.
    PERFORM DO-USERLOG.
    MOVE SECONDSTR TO LOGMSG-TEXT.
    PERFORM DO-USERLOG.
    MOVE THIRDSTR TO LOGMSG-TEXT.
    PERFORM DO-USERLOG.
    INSPECT FIRSTSTR CONVERTING
    "abcdefghijklmnopqrstuvwxyz" TO
    "ABCDEFGHIJKLMNOPQRSTUVWXYZ".
    INSPECT SECONDSTR CONVERTING
    "abcdefghijklmnopqrstuvwxyz" TO
    "ABCDEFGHIJKLMNOPQRSTUVWXYZ".
    INSPECT THIRDSTR CONVERTING
    "abcdefghijklmnopqrstuvwxyz" TO
    "ABCDEFGHIJKLMNOPQRSTUVWXYZ".
    MOVE "Success" TO LOGMSG-TEXT.
    PERFORM DO-USERLOG.
    MOVE STRING-DATA TO LOGMSG-TEXT.
    PERFORM DO-USERLOG.
    SET TPSUCCESS TO TRUE.
    COPY TPRETURN REPLACING
    DATA-REC BY STRING-DATA.
    * Write out a log err messages
    DO-USERLOG.
    CALL "USERLOG" USING LOGMSG
    LOGMSG-LEN
    TPSTATUS-REC.
    * EXIT PROGRAM
    EXIT-PROGRAM.
    MOVE "Failed" TO LOGMSG-TEXT.
    PERFORM DO-USERLOG.
    SET TPFAIL TO TRUE.
    COPY TPRETURN REPLACING
    DATA-REC BY STRING-DATA.
    Thanks & Regards,
    Janani.

  • Can a Tuxedo service send a message to itself?

    Hello,
    is it possible for a Tuxedo service to send a request to itself?
    The scenario is this:
    - The same Tuxedo service is provided by multiple processes (for scalability). The processes are single-threaded.
    - While handling a request in a transaction (XA transaction is started outside the process), the service code determines that some cached data needs to be refreshed. This refresh needs to be done outside the current transaction.
    - The service send an non-transactional async request to itself (the same process). [How?]
    - The transactional request completes.
    - The non-transactional request is handled and refreshes the cache.
    - The next transactional request is handled (by the same process), and uses the refreshed cache data.
    Is this possible? The challenge seems to be that the same process gets the non-transactional request. With multiple instances of the service, any instance could normally get the request (eg. when using tpacall()).
    Thanks...
    Roger

    Hi Roger,
    A couple of comments:
    1) There isn't any standard way of forcing a request to go to a specific server when the service is offered by multiple servers. The traditional way of handling the need to make a request to a specific server is to explicitly advertise the service with a synonym name that is unique to the server. So to call the BAL service in a particular server with a PID of 1433, the server would advertise the BAL server as BAL_1433 or something similar, and then any requests that had to be made to that particular server would be made to BAL_1433 instead of BAL. Unfortunately this is rather cumbersome and doesn't scale particularly well. One feature we are adding to Tuxedo in an upcoming release is client server affinity. With this feature an application could specify that all requests are routed to the first server that handles a service. Thus subsequent requests that are made to services while in a "session" with the server would always be routed to that server. While this client/server affinity might be a solution in the future, it's not really designed for the scenario you mention, i.e., performing an asynchronous out of band request to the same server.
    2) In your scenario under the point where you ask "how?", you could use the above approach, although the call would have to be a tpacall with TPNOTRAN set (which you already indicated) but would also have to set TPNOREPLY as it appears you are planning on performing a tpreturn before processing the asynch request.
    3) Obviously another solution would be to make the server multi-threaded and handling the refresh of the cache in a separate thread and not use a tpcall/tpacall to initiate the cache refresh.
    4) Although not likely to be an option, the Tuxedo CORBA infrastructure will support what you are trying to do. By activating an object in a process with a process activation policy, you could make a request to that object reference and be guaranteed the request would return to that same server.
    5) Finally one other possible solution, although probably inelegant and may not scale as well would be to use data dependent routing and only have a single server offering the service in each group.
    As an aside, we are planning on adding a distributed data caching mechanism to Tuxedo in a future release. Yeah, I know that doesn't help right now, but it is certainly something to look forward to! :-)
    Regards,
    Todd Little
    Oracle Tuxedo Chief Architect

Maybe you are looking for

  • How do I use a newer iTunes library on an older version of iTunes?

    I have an iTunes Library on my MacBook Pro running iTunes 11.1..5.  I want to copy the library to my older G5 PowerPC with an older version of iTunes which has recently had a new drive installed (because of the old drive failing) and new Leopard Syst

  • Spry accordion browser compatability issues

    I am building my first site and was in the process of checking each page for browser compatability. this certain page has spry accordians and I have some error messages that I don't understand. The first one says Line 48 has 2 errors in SpryAccordian

  • Array of class objects

    I was wondering how would you declare an array of class objects. Here is my situation: I'm working on a project dealing with bank accounts. Each customer has a specific ID and a balance. I have to handle transactions for each customer at different ti

  • Time Machine Permissions Changed Problem

    Greetings- I'm experiencing problems restoring to built-from-scratch Lion OS installation on a new disk.  Before starting the process I ensured everything was backed-up everything using Time Machine, which was backing-up regularly, then did a fresh i

  • Bing Search button does not load Bing App!!!!

    When I press Bing search button which is on the right side of Windows button, it loads the IE desktop version of Bing instead of the Bing App. I tried with some setting chage in Region+Language and Location as per Microsoft Answer blog but all went i