Problem of HMAC-SHA1!

I do not understand this problem! I am really frustrated...

I have this por HMAC-SHA1 function:

QByteArray Fla * bleep *: firmaHMACSHA1 (QString textBase, QString key) {}
qDebug()< "base:="" "="" +="">
qDebug()< "key:="" "="" +="">
sb_Context hmacContext;
sb_GlobalCtx globalCtx;
unsigned char messageDigestHMAC [SB_HMAC_SHA1_160_TAG_LEN];

hu_GlobalCtxCreateDefault(&globalCtx);
hu_RegisterSbg56 (globalCtx);
hu_RegisterSystemSeed (globalCtx);
hu_InitSbg56 (globalCtx);

QByteArray textBaseBytes = textBase.toUtf8 ();
unsigned char * textBaseHash = reinterpret_cast(textBaseBytes.data ());
QByteArray keyBytes = key.toUtf8 ();
unsigned char * keyHash = reinterpret_cast(keyBytes.data ());

hu_HMACSHA1Begin (SB_HMAC_SHA1_160_TAG_LEN, keyHash, NULL, & hmacContext, globalCtx);
hu_HMACSHA1Hash (hmacContext, (size_t) textBaseBytes.length (), textBaseHash, globalCtx);
hu_HMACSHA1End (& hmacContext, SB_HMAC_SHA1_160_TAG_LEN, messageDigestHMAC, globalCtx);

QByteArray PasswordHash = QByteArray::fromRawData (reinterpret_cast(messageDigestHMAC), SB_HMAC_SHA1_160_TAG_LEN);

hu_GlobalCtxDestroy(&globalCtx);
qDebug()<>
Return passwordHash.toBase64 () .toPercentEncoding ();
}

For these values, works WELL:

textBase: POST&https%3A%2F%2Fwww.flickr.com%2Fservices%2Foauth%2Frequest_token&oauth_callback%3Dhttp%253A%252F%252Fwww.poncholabs.net%26oauth_consumer_key%ca93486d3aa617636656d7XXXXXXXXXX%26oauth_nonce%3D87ae6fb631f7c8a627e8e28785d9992d%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1402195208%26oauth_version%3D1.0

key: f0e54c70825XXXXX &

But for these values does not work:

textBase: POST&https%3A%2F%2Fwww.flickr.com%2Fservices%2Foauth%2Faccess_token&oauth_consumer_key%3Dca93486d3aa617636656d7XXXXXXXXXX%26oauth_nonce%3D936a40b7e8eea0dc537e5f2edee1387a%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1402195228%26oauth_token%3D72157644652600637-4d9daa97cdab0be3%26oauth_verifier%3D7ee06a20ebc9d621%26oauth_version%3D1.0

key: f0e54c70825XXXXX & dcec3a2abb77844b

Why not work well? To compare the hash generated with the result https://quickhash.com, are NOT the same (for the first values placed if I coincide).

You can see that between the values I put, what changes is basically the key

NOTE: For obvious reasons, that I have NOT set the secret values of the API complete, I replaced some characters by 'X '.

Help, please.

FIX:

Change hu_HMACSHA1Begin (SB_HMAC_SHA1_160_TAG_LEN, keyHash, NULL, & hmacContext, globalCtx);

By: hu_HMACSHA1Begin ((size_t) keyBytes.length (), keyHash, NULL, & hmacContext, globalCtx);

Is the right one.

Tags: BlackBerry Developers

Similar Questions

  • HMAC-SHA1

    Hello

    I have a small question.

    My application needs to communicate with a web service that uses code HMAC-SHA1. Is there an API that would calculate HMAC-SHA1 signatures for me?

    Thank you

    Go to the API documentation and click on "net.rim.device.api.crypto", go down until you get to tutorials and choose #10. Summaries and MACs. They demonstrate the HMAC-SHA1 encoding.

  • IPSec on VMWare ESX 5.1 communication problems

    Hello

    We have 2 computer systems.  You running us VMWare ESX 5.1 and the other is running Ubuntu 14.04.  We have problems for IPSec to work between the two systems.  We cannot find any documentation or known issues with IPsec on VMWare ESX 5.1, so we're going to reach out to the community.

    Here's what we did:

    1. we configured Ubuntu and VMWare systems to use IPv6, we can ping each other using IPv6.

    2. we configure IPSec on an Ubuntu operating system by following the instructions below:

    https://help.Ubuntu.com/community/IPSecHowTo

    3. we have followed the instructions below to configure IPsec on VMWare.

    http://KB.VMware.com/selfservice/microsites/search.do?language=en_US & cmd = displayKC & externalId = 1021769

    Here's the problem:

    When 2 Ubuntu systems run IPsec, they are able to ping each other.  However, when allow us IPSec communications between VMWare and Ubuntu, the ping is suspended.

    Here is the result of the configuration of command esxcli on VMWare:

    UBUNTU. IPv6.ADDRESS-> Ubuntu IPv6 address

    VMWARE. IPv6.ADDRESS-> address IPv6 from VMWARE


    Name Source address Destination address State SPI Mode Encryption Algorithm, integrity algorithm to life

    --------           -------------------------------------  -------------------------------------  ------      -----     ---------     --------------------               -------------------           --------

    GoToDPSA UBUNTU. IPv6.ADDRESS VMWARE. Mature IPv6.ADDRESS infinity 0 256 transport 3des-cbc hmac-sha2-256 x

    VMWARE DPToGoSA. IPv6.ADDRESS UBUNTU. Mature IPv6.ADDRESS infinity 0 x 300 transport 3des-cbc hmac-sha2-256

    Name of the Source address Source Port Destination address Destination Port Protocol flow Action Mode SA

    --------          ----------------------------------------  -----------        ----------------------------------------  ----------------          --------       ----     ------     ---------      --------

    VMWARE DPToGoSP. IPv6.ADDRESS/64 0 UBUNTU. IPv6.ADDRESS/64 0 everything on transport ipsec DPToGoSA

    GoToDPSP UBUNTU. IPv6.ADDRESS/64 0 VMWARE. IPv6.ADDRESS/64 0 in ipsec transport GoToDPSA

    Here's what we found:

    After debugging the problem (using tcpdump), we found that the VMWare system sends the ESP packets, but never sends a package AH (required for IPSec authentication).  Even when the encryption protocol is null, the system of VMWare would always send ESP packets, but never once sent a package of AH.

    Here is the resulting execution trace: Ubuntu - ping-> VMWare:

    ...

    IP6 UBUNTU. IPv6.ADDRESS > VMWARE. IPv6.ADDRESS: AH(spi = 0 x 00000256, seq = 0 x 16): ICMP6, an echo request, seq 1, length 64

    IP6 VMWARE. IPv6.ADDRESS > UBUNTU. IPv6.ADDRESS: ESP(spi = 0 x 00000300, seq = 0 x 1), length 160

    IP6 UBUNTU. IPv6.ADDRESS > VMWARE. IPv6.ADDRESS: AH(spi = 0 x 00000256, seq = 0 x 17): ICMP6, an echo request, seq 2, length 64

    IP6 VMWARE. IPv6.ADDRESS > UBUNTU. IPv6.ADDRESS: ESP(spi = 0 x 00000300, seq = 0 x 2), length 160

    IP6 UBUNTU. IPv6.ADDRESS > VMWARE. IPv6.ADDRESS: AH(spi = 0 x 00000256, seq = 0 x 18): ICMP6, an echo request, seq 3, length 64

    IP6 VMWARE. IPv6.ADDRESS > UBUNTU. IPv6.ADDRESS: ESP(spi = 0 x 00000300, seq = 0 x 3), length 160

    Summary:

    There seems to be a problem with IPSec in VMWare ESX 5.1 on IPv6.

    We noticed that the downloads section of the site support provided patches for VMWare ESx 4.x and earlier, but lack of patches for VMWare ESx 5.x.

    Are there known issues in this area or available patches to fix this problem?  Your kind suggestions would be greatly appreciated.  Thank you.

    Sorry for the late reply, but here the analysis of what is happening and why you are experiencing a problem.

    The Encapsulating Security Payload (ESP) to IPsec protocol will encrypt a payload of the packet and can

    Optionally authenticate the packages as well. You do not include orders allowing you to set the

    Security Association (SA) and political security (PS), but the output in your post indicates that you

    you want to encrypt the payloads both authenticate packets in mode of transport between the hosts.

    I don't know why the Ubuntu IPsec HowTo examples using protocols AH and ESP to encrypt and

    authenticate the packets. In our view, it is best done in a single step with ESP, ESXi only

    offer the option of AH with IPsec. Of course, this requires configuring the ESXi server and your

    The host with a configuration of IPsec compatible Ubuntu (or any other operating system).

    To illustrate, suppose the ESXi server has the address 2001:db8:1 and the host of Ubuntu has the

    address 2001:db8:2. We will use cbc-3des for encryption of the useful and hmac-sha2-256 load for integrity

    authentication mode of transport - just like in your message.

    On the ESXi host, the commands to do this might look like this (of course, you need to generate your)

    own keys and not re-use those I did).

    # Add the outbound security association ESXi

    esxcli ipsec ip network his Add.

    -sa-source = 2001:db8:1.

    -sa-destination = 2001:db8:2.

    -sa-mode = transport.

    -sa-spi = 0 x 200.

    -encryption = 3des-cbc algorithm-

    -encryption key = 0x6dd50fa97e919365d393fd0d404c655f80651316e9418682.

    -the integrity algorithm hmac-sha2-256 =.

    -integrity key = 0x730047c680d9812535a741bbb3521a29322cca77464cf16092519c4165ca6958.

    -sa-name = sa_1to2

    # Add the ESXi inbound security association

    esxcli ipsec ip network his Add.

    -sa-source = 2001:db8:2.

    -sa-destination = 2001:db8:1.

    -sa-mode = transport.

    -sa-spi = 0 x 300.

    -encryption = 3des-cbc algorithm-

    -encryption key = 0x50988e55ca6a0d0440cf0c29f80d308df884616ec4b55552.

    -the integrity algorithm hmac-sha2-256 =.

    -integrity key = 0xf76caa5b4985a8a9d1c7cedbcf43f21b83401818e3b8d5e526a8c99ff4d4baa7.

    -sa-name = sa_2to1

    # Add the outbound security policy ESXi

    esxcli network ip ipsec Ms Add.

    -sp-source = 2001:db8:1 / 64.

    -source-port = 0.

    -sp-destination = 2001:db8:2 / 64.

    -destination-port = 0.

    -top-layer-protocol = any.

    -action = ipsec.

    -output = flow direction.

    sp-= transport mode.

    -sa-name = sa_1to2.

    -sp - name = sp_1to2

    # Add the ESXi incoming security policy

    esxcli network ip ipsec Ms Add.

    -sp-source = 2001:db8:2 / 64.

    -source-port = 0.

    -sp-destination = 2001:db8:1 / 64.

    -destination-port = 0.

    -top-layer-protocol = any.

    -action = ipsec.

    -direction of flow = in.

    sp-= transport mode.

    -sa-name = sa_2to1.

    -sp - name = sp_2to1

    # List the ESXi security associations

    esxcli network ip ipsec its list

    Name Source address Destination address State SPI Mode Encryption Algorithm, integrity algorithm to life

    -------  --------------  -------------------  ------  -----  ---------  --------------------  -------------------  --------

    sa_2to1 2001:db8:2 infinite mature 2001:db8:1 of hmac-sha2-256 0 x 300 transport 3des-cbc

    sa_1to2 2001:db8:1 infinite mature 2001:db8:2 of hmac-sha2-256 0 x 200 transport 3des-cbc

    # List the ESXi security policies

    List of the sp network ip ipsec esxcli

    Name of the Source address Source Port Destination address Destination Port Protocol flow Action Mode SA

    -------  --------------  -----------  -------------------  ----------------  --------  ----  ------  ---------  -------

    sp_1to2 2001:db8:1 / 64 0 2001:db8:2 / 64 0 everything on ipsec transport sa_1to2

    sp_2to1 2001:db8:2 / 64 0 2001:db8:1 / 64 0 in ipsec transport sa_2to1

    On your Ubuntu host, you need a compatible IPsec configuration. In general, on linux systems

    use the command setkey BSD-door, this is done by changing the system-wide

    in/etc/ipsec configuration file - tools.conf.

    #! / usr/sbin/setkey - f

    flush;

    spdflush;

    #

    # SAs ESP using 192 bit long keys (168 + 24 parity)

    # generated using: dd if account = / dev/random = 24 bs = 1 | xxd - ps

    # ESXi supports 3des-cbc, aes128-cbc, or null

    #

    # AH SAs using 256 bit long keys

    # generated using: dd if account = / dev/random = 32 = 1 bs | xxd - ps

    # ESXi supports hmac-sha1 or hmac-sha2-256

    #

    Add 2001:db8:1 2001:db8:2 esp 0x200

    E 3des-cbc 0x6dd50fa97e919365d393fd0d404c655f80651316e9418682

    -A hmac-sha256 0x730047c680d9812535a741bbb3521a29322cca77464cf16092519c4165ca6958;

    Add 2001:db8:2 2001:db8:1 esp 0 x 300

    E 3des-cbc 0x50988e55ca6a0d0440cf0c29f80d308df884616ec4b55552

    -A hmac-sha256 0xf76caa5b4985a8a9d1c7cedbcf43f21b83401818e3b8d5e526a8c99ff4d4baa7;

    # Security policies

    spdadd 2001:db8:1 2001:db8:2 all Pei in ipsec

    ESP/transport / / need;

    spdadd 2001:db8:2 2001:db8:1 all Pei on ipsec

    ESP/transport / / need;

    I have no problem of encryption and authentication of IPv6 traffic between a server ESXi 5.1

    and a host of 14.10 Ubuntu using this configuration.

  • vRealize 7 - NSX Automation deployments fail due to problems of certificate with vRealize Orchestrator

    Hello community,

    After you have installed the latest version of vRA, vRO, and NSX I run questions when you apply components that use components of the NSX. First of all: details of the version:

    -vRA: 7.0.0 (build 3292778)

    -vRO: 7.0.0.16989 (build 331003)

    -NSX: 6.2.1 (build 3300239)

    vRO plugin versions are delivered with the vRO version listed above with the exception of the plugin NSX, which has been updated to the latest version (1.0.3 published on 17.12.15).

    In the configured tenant vRO is configured as endpoint. I can check the data collection is running and working. I can see the plugin NSX for vRO runs the workflow 'create endpoint NSX' from time to time using the configured user of vRA VRO.

    In the configured tenant vRO is thus configured as server default for ASD vRO. Connection test is successful. When you save the config I'm prompted to approve the vRO certificate, which I confirm. Note that the thumbprint specified matches the footprint of the vRO certificate that I get during the visit of the vRO system on https://vro:8281. I am able to navigate the vRO vRA designer workflows, therefore: connection seems established.

    Within vRO the vRA COFFEE and plug-ins IAAS have been saved successfully. I am able to browse the inventory of plugin for both plugins.

    To solve the problem, I created a new unified plan within the design section of vRA with the following configuration:

    -Transport box: my area of transport configured NSX (checked: manual creation on this area using NSX works very well)

    -Routed res pol. Bridge: my reference for the dash cluster to use Pol

    -The only component dragged to canvas is a 'network and safety'-> 'On-Demand NAT Network' that uses a profile preset 1-to-many network as is "Parent network profile" without manual modification.

    -Note that, although there is a plan very simple example to illustrate the problem, it happens with any model that I have set up if any component is confgured requiring the NSX plugin for vRO.

    "Whenever I ask this plan, the request fails with the error message:" ","application [fa1e0689-0d06-4308-a914-e498c0d1fd99]: 404 not found "

    Looking in vCenter, NSX and vRO I can check that nothing is really trigged when you ask for the action plan.

    Consider the vRA /storage/log/vmware/vcac/catalina.log becomes very visible:

    com.vmware.vcac.iaas.vco.network.helper.VcoEndpointSelector.isEndpointAlive:88 -
    vRealize Orchestrator endpoint with url [https://s00-vro.my.domain:8281/vco] is not alive. 
    Exception message:> [Host name 's00-vro.my.domain' does not match the certificate subject provided by the peer (CN=s00-vro.my.domain, OU=VMware, O=My Company, C=DE)]
    
    com.vmware.vcac.iaas.vco.network.helper.VcoEndpointSelector.getFirstAliveEndpointByPriority:200
    - vRealize Orchestrator endpoint [https://s00-vro.my.domain:8281/vco] with priority 1 is not alive. Skipping.
    
    org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolv
    er.logException:189 - Handler execution resulted in exception: Endpoint not found. There are no vRealize Orchestrator endpoints that are alive.
    
    com.vmware.vcac.platform.service.rest.resolver.ApplicationExceptionHandler.handleHttpStatusCodeException:673 - 404 Not Found
    org.springframework.web.client.HttpClientErrorException: 404 Not Found
    ...
    ...
    ...
    
    

    Please note that I double checked the certificate. This is a self-signed certificate created using the 7.0 vRO new control panel, the one I get when you go to https://vro:8281. It is valid and the object (issed to CN) matches perfectly the hostname entered the ASD and endpoint configuration in the vRA. It is separable and time on all components of the server is in sync with the use NTP.

    Now, I even re-generated certificate and re-registered and rebooted all the components, but while I can see that the certificate has been updated all components I always get the same question.

    Never had this problem with the previous version of the NSX / vRA / vRO. I checked the documentation if nothing has changed here, but did not find what I'm doing wrong. Anythimg I'm missing here? Any bug?

    OK, this seems to be the issue. So put atleast to previous day since version ofvRO (cannot check if it's true for charges vRO 7 installs as well but it is probably) vRO 'control center' will generate certificates based SHA1 vRA love not for actions that use the endpoint in the vRA vRO. ASD seems to work without these problems.

    Sidenote: VRO upgraded installs will also come with SHA1 based CERT if they use a self-signed cert created by vRO. However: you would think that it is sufficient to recreate the cert using the control center. But it turns out it isn't, because it will generate a (new) based SHA1 cert.

    What I did to solve the problem:

    1. create a vRO SSH2 based certificate without the cert extensions, similar to the one that ships with built-in vRA vRO. I tend to use xCA for these jobs, but openSSL will do as well. The exact format required for the certificate of vRO is not documented, but I can make sure you need it like this: PEM certificate in key private and public including format PKCS #1, formatted as follows:

    -----BEGIN RSA PRIVATE KEY-----
    (Your private Key: your_vro_server.key)
    -----END RSA PRIVATE KEY-----
    -----BEGIN CERTIFICATE-----
    (Your primary certificate: your_vro_server.crt)
    -----END CERTIFICATE-----
    -----BEGIN CERTIFICATE-----
    (Your intermediate certificate: intermed.crt)
    -----END CERTIFICATE-----
    -----BEGIN CERTIFICATE-----
    (Your root certificate: root.crt)
    -----END CERTIFICATE-----
    

    I had problems when I used the key extensions so I would say you don't use and don't create a very basic cert without extensions V3, as indicated on the right of the image to my last post (ideally, you want to have a cert with the same properties as the cert is used by the device of integrated vRO vRA unless of course different CN) etc.).

    2. use the vRO control center located at https://your-externa-vro:8283 / vco-controlcenter / #/ and move to--> Orchestrator Server SSL certificate certificates. Use the action to import to import your PEM cert. It should tell you that you need to restart your device vRO. Then RESTART the device (for not just restart the service, this seems not be sufficient).

    3 al ' vRA remove the Endpoint vRO everywhere wherever it has been configured. Also, I removed the vRO to the ASD config just to make sure that nothings left.

    4 reboot the vRA power (IAAS can be left as what). I needed to do this because I have seen that the keystore at some point would keep beeing crushed by CERT vRA (?), I deleted it (AND I checked that they are deleted) reappears in the keystore after a while. After a reboot, the problem was gone, the keystore was clean.

    5. Add the configuration of endpoint and ASD vRO. Accept the certificate.

    6. the works.

    Therefore, while I have no more time to solve the problems more than I guess the problem is the SHA1 function certificate generated by the device of vRO. The internal unit is equipped with a SHA2 based cert that works and after that change the external device SHA1 cert in a basic cert SHA2 all works.

  • Error on new install http status 500, said "the monitoring service is not available..."

    I don't really understand this problem. I am relatively new on tomcat and coldfusion, but I followed the basic instructions.

    Deployment under Tomcat 7.0.68 and Java 1.8.0.77. It's on CentOS 6,7

    ColdFusion Setup log, no errors, said 8890 successes. Tomcat on localhost: 8080 seems good. Using the JEE WAR file deployment, 30 days trial, production server. I modified the Web.XML of Tomcat to enable a deployment of 500 MB, the Coldfusion WAR file being almost 300 MB. I spent my file Catalina.out here, because it seems most relevant. And I really appreciate any help someone can offer.

    Journal of org.apache.catalina.startup.VersionLoggerListener March 29, 2016 10:03:29

    INFO: Server Version: Apache Tomcat/7.0.68

    Journal of org.apache.catalina.startup.VersionLoggerListener March 29, 2016 10:03:29

    INFO: Server built: 8 February 2016 20:25:54 UTC

    Journal of org.apache.catalina.startup.VersionLoggerListener March 29, 2016 10:03:29

    INFO: Number of server: 7.0.68.0

    Journal of org.apache.catalina.startup.VersionLoggerListener March 29, 2016 10:03:29

    INFO: Name of OS: Linux

    Journal of org.apache.catalina.startup.VersionLoggerListener March 29, 2016 10:03:29

    INFO: OS Version: 2.6.32 - 573.22.1.el6.x86_64

    Journal of org.apache.catalina.startup.VersionLoggerListener March 29, 2016 10:03:29

    INFO: Architecture: amd64

    Journal of org.apache.catalina.startup.VersionLoggerListener March 29, 2016 10:03:29

    INFO: Home of Java: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.77-0.b03.el6_7.x86_64/jre

    Journal of org.apache.catalina.startup.VersionLoggerListener March 29, 2016 10:03:29

    INFO: JVM Version: 1.8.0_77 - b03

    Journal of org.apache.catalina.startup.VersionLoggerListener March 29, 2016 10:03:29

    INFO: JVM vendor: Oracle Corporation

    Journal of org.apache.catalina.startup.VersionLoggerListener March 29, 2016 10:03:29

    INFO: CATALINA_BASE: /opt/apache-tomcat-7.0.68

    Journal of org.apache.catalina.startup.VersionLoggerListener March 29, 2016 10:03:29

    INFO: CATALINA_HOME: /opt/apache-tomcat-7.0.68

    Journal of org.apache.catalina.startup.VersionLoggerListener March 29, 2016 10:03:29

    INFO: command line argument:-Djava.util.logging.config.file=/opt/apache-tomcat-7.0.68/conf/logging.properties

    Journal of org.apache.catalina.startup.VersionLoggerListener March 29, 2016 10:03:29

    INFO: command line argument:-Djava.util.logging.manager = org.apache.juli.ClassLoaderLogManager

    Journal of org.apache.catalina.startup.VersionLoggerListener March 29, 2016 10:03:29

    INFO: :-Djava.endorsed.dirs=/opt/apache-tomcat-7.0.68/endorsed command line argument

    Journal of org.apache.catalina.startup.VersionLoggerListener March 29, 2016 10:03:29

    INFO: command line argument:-Dcatalina.base=/opt/apache-tomcat-7.0.68

    Journal of org.apache.catalina.startup.VersionLoggerListener March 29, 2016 10:03:29

    INFO: command line argument:-Dcatalina.home=/opt/apache-tomcat-7.0.68

    Journal of org.apache.catalina.startup.VersionLoggerListener March 29, 2016 10:03:29

    INFO: command line argument:-Djava.io.tmpdir=/opt/apache-tomcat-7.0.68/temp

    March 29, 2016 10:03:29 org.apache.catalina.core.AprLifecycleListener lifecycleEvent

    NEWS: APR based Apache Tomcat Native library that allows optimal performance in production environments was not found on the java.library.path: / usr/java/packages/lib/amd64: / usr/lib64: / lib64: / lib: / usr/lib

    March 29, 2016 init org.apache.coyote.AbstractProtocol 10:03:29

    INFO: Initializing ProtocolHandler ['http-bio-8080"]

    March 29, 2016 init org.apache.coyote.AbstractProtocol 10:03:29

    INFO: Initializing ProtocolHandler ["ajp-bio-8009"]

    Charge of org.apache.catalina.startup.Catalina March 29, 2016 10:03:29

    INFO: Initializing transformed into 980 ms

    March 29, 2016 10:03:29 org.apache.catalina.core.StandardService startInternal

    INFO: Starting service Catalina

    March 29, 2016 10:03:29 org.apache.catalina.core.StandardEngine startInternal

    INFO: Starting the Servlet engine: Apache Tomcat/7.0.68

    March 29, 2016 10:03:29 org.apache.catalina.startup.HostConfig deployDirectory

    NEWS: Deployment web application directory /opt/apache-tomcat-7.0.68/webapps/host-manager

    March 29, 2016 10:03:29 org.apache.catalina.startup.HostConfig deployDirectory

    NEWS: Deployment of web application directory /opt/apache-tomcat-7.0.68/webapps/host-manager ended up in ms 595

    March 29, 2016 10:03:29 org.apache.catalina.startup.HostConfig deployDirectory

    NEWS: Deployment web application directory /opt/apache-tomcat-7.0.68/webapps/ROOT

    March 29, 2016 10:03:30 org.apache.catalina.startup.HostConfig deployDirectory

    INFO: Web application directory /opt/apache-tomcat-7.0.68/webapps/ROOT deployment ended at 126 ms

    March 29, 2016 10:03:30 org.apache.catalina.startup.HostConfig deployDirectory

    NEWS: Deployment web application directory /opt/apache-tomcat-7.0.68/webapps/manager

    March 29, 2016 10:03:30 org.apache.catalina.startup.HostConfig deployDirectory

    INFO: Web application directory /opt/apache-tomcat-7.0.68/webapps/manager deployment has completed 132 Ms

    March 29, 2016 10:03:30 org.apache.catalina.startup.HostConfig deployDirectory

    NEWS: Deployment web application directory /opt/apache-tomcat-7.0.68/webapps/docs

    March 29, 2016 10:03:30 org.apache.catalina.startup.HostConfig deployDirectory

    NEWS: Deployment of web application directory /opt/apache-tomcat-7.0.68/webapps/docs ended up in 83 ms

    March 29, 2016 10:03:30 org.apache.catalina.startup.HostConfig deployDirectory

    NEWS: Deployment web application directory /opt/apache-tomcat-7.0.68/webapps/examples

    March 29, 2016 10:03:30 org.apache.catalina.startup.HostConfig deployDirectory

    INFO: Web application directory /opt/apache-tomcat-7.0.68/webapps/examples deployment ended at 445 ms

    Departure from org.apache.coyote.AbstractProtocol 29 March 2016 10:03:30

    INFO: From ProtocolHandler ['http-bio-8080"]

    Departure from org.apache.coyote.AbstractProtocol 29 March 2016 10:03:30

    INFO: From ProtocolHandler ["ajp-bio-8009"]

    Departure from org.apache.catalina.startup.Catalina 29 March 2016 10:03:30

    INFO: Start the server in 1497 ms

    March 29, 2016 10:22:03 org.apache.catalina.startup.HostConfig reload

    INFO: Reloading context [/ manager]

    March 29, 2016 10:22:03 org.apache.catalina.core.StandardContext reload

    INFO: Reloading of context with the name [/ manager] started

    March 29, 2016 10:22:03 org.apache.catalina.core.StandardContext reload

    INFO: Reloading of context with the name [/ manager] is finished

    March 29, 2016 10:23:35 org.apache.catalina.core.StandardServer wait

    INFO: A valid stop command has been received via the port of the judgment. Judgment of the server instance.

    March 29, 2016 10:23:35 org.apache.coyote.AbstractProtocol break

    NEWS: Pause ProtocolHandler ['http-bio-8080"]

    March 29, 2016 10:23:35 org.apache.coyote.AbstractProtocol break

    NEWS: Pause ProtocolHandler ["ajp-bio-8009"]

    March 29, 2016 10:23:35 org.apache.catalina.core.StandardService stopInternal

    INFO: Stopping service Catalina

    Judgment of 29 March 2016 org.apache.coyote.AbstractProtocol 10:23:35

    NEWS: Stop ProtocolHandler ['http-bio-8080"]

    Judgment of 29 March 2016 org.apache.coyote.AbstractProtocol 10:23:35

    NEWS: Stop ProtocolHandler ["ajp-bio-8009"]

    March 29, 2016 10:23:35 org.apache.coyote.AbstractProtocol destroy

    INFO: Destroy ProtocolHandler ['http-bio-8080"]

    March 29, 2016 10:23:35 org.apache.coyote.AbstractProtocol destroy

    INFO: Destroy ProtocolHandler ["ajp-bio-8009"]

    Journal of org.apache.catalina.startup.VersionLoggerListener March 29, 2016 10:39:10

    INFO: Server Version: Apache Tomcat/7.0.68

    Journal of org.apache.catalina.startup.VersionLoggerListener March 29, 2016 10:39:10

    INFO: Server built: 8 February 2016 20:25:54 UTC

    Journal of org.apache.catalina.startup.VersionLoggerListener March 29, 2016 10:39:10

    INFO: Number of server: 7.0.68.0

    Journal of org.apache.catalina.startup.VersionLoggerListener March 29, 2016 10:39:10

    INFO: Name of OS: Linux

    Journal of org.apache.catalina.startup.VersionLoggerListener March 29, 2016 10:39:10

    INFO: OS Version: 2.6.32 - 573.22.1.el6.x86_64

    Journal of org.apache.catalina.startup.VersionLoggerListener March 29, 2016 10:39:10

    INFO: Architecture: amd64

    Journal of org.apache.catalina.startup.VersionLoggerListener March 29, 2016 10:39:10

    INFO: Home of Java: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.77-0.b03.el6_7.x86_64/jre

    Journal of org.apache.catalina.startup.VersionLoggerListener March 29, 2016 10:39:10

    INFO: JVM Version: 1.8.0_77 - b03

    Journal of org.apache.catalina.startup.VersionLoggerListener March 29, 2016 10:39:10

    INFO: JVM vendor: Oracle Corporation

    Journal of org.apache.catalina.startup.VersionLoggerListener March 29, 2016 10:39:10

    INFO: CATALINA_BASE: /opt/apache-tomcat-7.0.68

    Journal of org.apache.catalina.startup.VersionLoggerListener March 29, 2016 10:39:10

    INFO: CATALINA_HOME: /opt/apache-tomcat-7.0.68

    Journal of org.apache.catalina.startup.VersionLoggerListener March 29, 2016 10:39:10

    INFO: command line argument:-Djava.util.logging.config.file=/opt/apache-tomcat-7.0.68/conf/logging.properties

    Journal of org.apache.catalina.startup.VersionLoggerListener March 29, 2016 10:39:10

    INFO: command line argument:-Djava.util.logging.manager = org.apache.juli.ClassLoaderLogManager

    Journal of org.apache.catalina.startup.VersionLoggerListener March 29, 2016 10:39:10

    INFO: :-Djava.endorsed.dirs=/opt/apache-tomcat-7.0.68/endorsed command line argument

    Journal of org.apache.catalina.startup.VersionLoggerListener March 29, 2016 10:39:10

    INFO: command line argument:-Dcatalina.base=/opt/apache-tomcat-7.0.68

    Journal of org.apache.catalina.startup.VersionLoggerListener March 29, 2016 10:39:10

    INFO: command line argument:-Dcatalina.home=/opt/apache-tomcat-7.0.68

    Journal of org.apache.catalina.startup.VersionLoggerListener March 29, 2016 10:39:10

    INFO: command line argument:-Djava.io.tmpdir=/opt/apache-tomcat-7.0.68/temp

    March 29, 2016 10:39:10 org.apache.catalina.core.AprLifecycleListener lifecycleEvent

    NEWS: APR based Apache Tomcat Native library that allows optimal performance in production environments was not found on the java.library.path: / usr/java/packages/lib/amd64: / usr/lib64: / lib64: / lib: / usr/lib

    March 29, 2016 init org.apache.coyote.AbstractProtocol 10:39:11

    INFO: Initializing ProtocolHandler ['http-bio-8080"]

    March 29, 2016 init org.apache.coyote.AbstractProtocol 10:39:11

    INFO: Initializing ProtocolHandler ["ajp-bio-8009"]

    Charge of org.apache.catalina.startup.Catalina March 29, 2016 10:39:11

    INFO: Initializing processed in ms 3871

    March 29, 2016 10:39:11 org.apache.catalina.core.StandardService startInternal

    INFO: Starting service Catalina

    March 29, 2016 10:39:11 org.apache.catalina.core.StandardEngine startInternal

    INFO: Starting the Servlet engine: Apache Tomcat/7.0.68

    March 29, 2016 10:39:11 org.apache.catalina.startup.HostConfig deployWAR

    INFO: Web deployment application archive /opt/apache-tomcat-7.0.68/webapps/cfusion.war

    March 29, 2016 10:40:41 org.apache.catalina.util.SessionIdGeneratorBase createSecureRandom

    INFO: Creating instance of SecureRandom for the generation of using [SHA1PRNG] session ID a [123] milliseconds.

    03/29 10:41:01 INFO License Service: Flex 1.5 CF Edition activated

    03/29 10:41:01 INFO from Flex 1.5 CF Edition

    March 29, 2016 10:41:02 [localhost-startStop-1] - initialized /opt/apache-tomcat-7.0.68/webapps/cfusion/WEB-INF/cfusion/logs/server.log Information

    March 29, 2016 10:41:02 [localhost-startStop-1] - start logging Information...

    March 29, 2016 10:41:02 [localhost-startStop-1] Information - from license...

    March 29, 2016 10:41:02 [localhost-startStop-1] - Evaluation Edition Information activated

    March 29, 2016 10:41:03 [localhost-startStop-1] Information - from crypto...

    March 29, 2016 10:41:03 [localhost-startStop-1] - installed provider JSafe PVE Information: Version 6,201 Crypto-J 6.2.0.1, EMC Corporation. Security JsafeJCE provider (implements RSA, DSA, ECDSA, Diffie-Hellman, ECDH, AES, DES, Triple, DESX, RC2, RC4, RC5, PBE, MD2, MD5, RIPEMD160, SHA1, SHA224, SHA256, SHA384, SHA512, HMAC-MD5, HMAC-RIPEMD160, HMAC-SHA1, HMAC-SHA224, HMAC-SHA256, HMAC-SHA384, HMAC-SHA512, HMACDRBG, HASHDRBG, CTRDRBG, FIPS186PRNG, SHA1PRNG, MD5PRNG;) RFC 3394 RFC 5649 AES Key Wrap; X.509 CertificateFactory; PKCS12, KeyStore PKCS15; X.509V1, PKIX, PKIX-SuiteB, PKIX-SuiteBTLS CertPathValidators; X.509V1, PKIX, PKIX-SuiteB, PKIX-SuiteBTLS CertPathBuilders; LDAP, CertStores Collection)

    March 29, 2016 10:41:03 [localhost-startStop-1] Information - from security...

    March 29, 2016 10:41:04 [localhost-startStop-1] Information - from Planner...

    March 29, 2016 10:41:04 [localhost-startStop-1] Information - from WatchService...

    March 29, 2016 10:41:04 [localhost-startStop-1] Information - from debugging...

    March 29, 2016 10:41:05 [localhost-startStop-1] information - from sql...

    March 29, 2016 10:41:05 [localhost-startStop-1] information - from TIME...

    March 29, 2016 10:41:06 [localhost-startStop-1] - Configuration of CORBA information not activated

    March 29, 2016 10:41:06 [localhost-startStop-1] - starting mail information...

    March 29, 2016 10:41:06 [localhost-startStop-1] information - from cron...

    March 29, 2016 10:41:06 [localhost-startStop-1] information - from registry...

    March 29, 2016 10:41:06 [localhost-startStop-1] - startup customer information...

    March 29, 2016 10:41:06 information [localhost-startStop-1] - the metrological service is disabled for the J2EE edition

    March 29, 2016 10:41:06 [localhost-startStop-1] - start xmlrpc information...

    March 29, 2016 10:41:07 [localhost-startStop-1] Information - from jaxrs...

    March 29, 2016 10:41:07 [localhost-startStop-1] Information - from graphics...

    March 29, 2016 10:41:07 [localhost-startStop-1] Information - from solr...

    March 29, 2016 10:41:07 [localhost-startStop-1] Information - from the archive...

    March 29, 2016 10:41:07 [localhost-startStop-1] Information - from document...

    March 29, 2016 10:41:07 [localhost-startStop-1] Information - from eventgateway...

    March 29, 2016 10:41:07 [localhost-startStop-1] - initialized /opt/apache-tomcat-7.0.68/webapps/cfusion/WEB-INF/cfusion/logs/eventgateway.log Information

    March 29, 2016 10:41:07 Information [localhost-startStop-1] - event gateway disabled.

    March 29, 2016 10:41:07 [localhost-startStop-1] Information - from FlexAssembler...

    March 29, 2016 10:41:07 [localhost-startStop-1] Information - from .NET...

    March 29, 2016 10:41:07 [localhost-startStop-1] Information - from monitoring...

    March 29, 2016 10:41:08 error [localhost-startStop-1].

    March 29, 2016 10:41:08]

    March 29, 2016 10:41:08 [localhost-startStop-1] - initialized /opt/apache-tomcat-7.0.68/webapps/cfusion/WEB-INF/cfusion/logs/monitor.log Information

    March 29, 2016 10:41:08 error [localhost-startStop-1].

    March 29, 2016 10:41:08 error [localhost-startStop-1] - failed to initialize the monitoring service: coldfusion.server.ServiceException

    March 29, 2016 10:41:08 [localhost-startStop-1] Information - from WebSocket...

    March 29, 2016 10:41:08 Information [localhost-startStop-1] - WebSocket server listening on port: 8579

    March 29, 2016 10:41:09 [localhost-startStop-1] - ColdFusion Information started

    March 29, 2016 10:41:09 [localhost-startStop-1] - ColdFusion Information: application services are now available

    03/29 10:41:09 INFO Macromedia Flex Build: 87315.134646

    March 29, 2016 10:41:15 org.apache.catalina.startup.HostConfig deployWAR

    INFO: Web application deployment archive /opt/apache-tomcat-7.0.68/webapps/cfusion.war ended up in the SP 123 936

    March 29, 2016 10:41:15 org.apache.catalina.startup.HostConfig deployDirectory

    NEWS: Deployment web application directory /opt/apache-tomcat-7.0.68/webapps/host-manager

    March 29, 2016 10:41:16 org.apache.catalina.startup.HostConfig deployDirectory

    INFO: Web application directory /opt/apache-tomcat-7.0.68/webapps/host-manager deployment ended at 419 ms

    March 29, 2016 10:41:16 org.apache.catalina.startup.HostConfig deployDirectory

    NEWS: Deployment web application directory /opt/apache-tomcat-7.0.68/webapps/ROOT

    March 29, 2016 10:41:16 org.apache.catalina.startup.HostConfig deployDirectory

    INFO: Web application directory /opt/apache-tomcat-7.0.68/webapps/ROOT deployment has completed 227 Ms

    March 29, 2016 10:41:16 org.apache.catalina.startup.HostConfig deployDirectory

    NEWS: Deployment web application directory /opt/apache-tomcat-7.0.68/webapps/manager

    March 29, 2016 10:41:16 org.apache.catalina.startup.HostConfig deployDirectory

    NEWS: Deployment of web application directory /opt/apache-tomcat-7.0.68/webapps/manager ended up in ms 192

    March 29, 2016 10:41:16 org.apache.catalina.startup.HostConfig deployDirectory

    NEWS: Deployment web application directory /opt/apache-tomcat-7.0.68/webapps/docs

    March 29, 2016 10:41:16 org.apache.catalina.startup.HostConfig deployDirectory

    NEWS: Deployment of web application directory /opt/apache-tomcat-7.0.68/webapps/docs ended up in the ms 261

    March 29, 2016 10:41:16 org.apache.catalina.startup.HostConfig deployDirectory

    NEWS: Deployment web application directory /opt/apache-tomcat-7.0.68/webapps/examples

    March 29, 2016 10:41:18 org.apache.catalina.startup.HostConfig deployDirectory

    NEWS: Deployment of web application directory /opt/apache-tomcat-7.0.68/webapps/examples finished in 1 851 ms

    Departure from org.apache.coyote.AbstractProtocol 29 March 2016 10:41:18

    INFO: From ProtocolHandler ['http-bio-8080"]

    Departure from org.apache.coyote.AbstractProtocol 29 March 2016 10:41:18

    INFO: From ProtocolHandler ["ajp-bio-8009"]

    Departure from org.apache.catalina.startup.Catalina 29 March 2016 10:41:18

    Information: Start the server in 127377 ms

    March 29, 2016 10:41:37 error Thread [13] - registration for the service manager error:. http://127.0.0.1:8989/PDFgServlet/.Reason: SERVER ERROR

    I hope this is the right place to come to the rescue. Thank you.

    Hi Shawn,

    Release ColdFusion 2016 working on tomcat 8.0 and higher. It is not supported in older versions 7.x.

    Thank you

    Abhishek

  • Error in MAP using PLINK.exe and PSCP.exe

    Working on a script in PowerCLI which allows me to audit security and re-concile ESXi from the security settings for all our guests. For the ESXi 'Message of the day' host, I check to see if the file ' / etc/issue "is filled with the warning banner I want and if it is not, copy the correct file. The problem is one of our environments has 20 + ESXi hosts on the same subnet. For some reason, some of the guests become ' pam_sm_authenticate: failed [error code: 40017] "and access denied when I try to run PSCP.exe and PLINK.exe. Firewalls between hosts and my script box is clean and its looks like the connection is made.  Anyone have an idea on why some hosts the same generation, config, FW rules and subnet would work for some but not others?

    -ESXi Var\log\auth error - "pam_sm_authenticate: failed [error code: 40017]."

    -Error PowerCLI\PowerShell;

    Connect to % IP % port 22 host

    Server version: SSH - 2.0 - OpenSSH_6.6.1

    Using the SSH version 2 Protocol

    We pretend that version: SSH - 2.0 - PuTTY_Release_0.61

    Diffie-Hellman group Exchange

    Make the exchange of keys Diffie-Hellman with SHA-256 hash

    Footprint of the host key is:

    SSH - rsa 2048 RSA KEY % %

    Detected-> server encryption AES-256 SDCTR customer

    Detected-> MAC Server algorithm HMAC-SHA1 customer

    Initialized AES-256 SDCTR Server-> client encryption

    HMAC-SHA1 Server detected-> client MAC algorithm

    Using the user name "root".

    ******************************************************************

    Message from the WARNING message % day\Banner %

    ******************************************************************

    Access denied

    Access denied

    Access denied

    Access denied

    Access denied

    Access denied

    Access denied

    Access denied

    Access denied

    Access denied

    Received disconnect message (Protocol error)

    Disconnect message text: too many failures for root authentication

    Server disconnect message has

    Type 2 (Protocol error):

    "Too many failures for root authentication."

    * PLINK and PSCP is part of the PuTTY application group. PLINK is to run the CLI and PSCP commands remotely, is to copy the files via SCP.

    Yes, all nodes have been running the same version.

    It seems that this could be a problem with the same or agents. We noticed while speaking with the support that only systems which were related to the area were affected. It turns out that if separate you them from the field and then stop the Service Active Directory, it will suddenly start working. Support is always trying to figure our why, as the error only we were what I mentioned in the previous announcement.

    LucD thanks for the reply.

  • Can't ssh ESXi 5 host

    I had to do a strengthening of security on a host computer and now I can't ssh in.  I can go back to what I did, but I want to clarify what line in the sshd_config file is the cause.  I'll list out what I have:

    The SSH server is enabled and running under Firewall and ssh and ESXi shell is running on the host computer in the security profile

    I can connect to the host via the HP Onboard Administrator, both the shell and the DCUI

    I use putty and I put the 3DES encryption cipher selection policy and I tried to tell the version of the SSH 2 Protocol only, I went back with only 2 and just selection 2

    I can connect to the host directly with root and with an admin account, that set up the shell and DCUI

    I know that root cannot ssh in the host since PermitRootLogin is set to no, I'm getting my secondary account

    I immediately receive an error "The network connection closed unexpectedly Server", so it's going to stop until I can grasp anything.

    Finally, the ESXishelltimeout is 900 seconds

    I don't know what the sshd_config fie since I edited it's just before I had this problem.

    Thanks for any input.

    file of sshd:

    # linking inetd

    # Port 2200

    Protocol 2

    HostKey/etc/ssh/ssh_host_rsa_key

    HostKey/etc/ssh/ssh_host_dsa_key

    UsePrivilegeSeparation Yes

    SyslogFacility auth

    LogLevel info

    PermitRootLogin not

    PrintMotd Yes

    PrintLastLog no

    TCPKeepAlive Yes

    X11Forwarding no

    The cipher 3des-ctr, aes128-ctr, aes192-ctr, aes256-ctr

    Mac hmac-sha1

    AllowTCPForwarding no

    GatewayPorts no

    Allowgroupscase

    GSSAPIAuthentication no

    KerberosAuthentication no

    LOCAL AcceptEnv

    PermitUserEnvironment no

    PermitTunnel not

    MaxSessions 1

    StrictModes yes

    RhostsRSAAuthentication no

    Compression without

    UsePAM Yes

    # use only challenge-response MAP (interactive keyboard)

    PasswordAuthentication no

    Banner/etc/issue

    Subsystem sftp/usr/lib/vmware/openssh/bin/sftp-server

    AuthorizedKeysFile /etc/ssh/keys-%u/authorized_keys

    #ListenAddress

    # 10-minute delay. The default value of ClientAliveCountMax is 3.

    # This is why, we get a 3 * 200 = 600 seconds timeout if the customer has been

    # does not.

    ClientAliveInterval 200

    I think I have figured it out, I think that the 'UsePrivilegeSeparation yes' line is causing the problem, I tried on another host and that seems to be.  I check just in case anyone has the problem in the future.

  • CF10 - admin page load error

    CF10 installed on a Server Windows 2012.  Use the built-in web server.  After installation, the admin page is unable to laod and I see the following in the coldfusion error log:

    12 may 2013 15:28:09 org.apache.catalina.core.AprLifecycleListener init
    NEWS: APR based Apache Tomcat Native library that allows optimal performance in production environments was not found on the java.library.path: C:\\ColdFusion10\\cfusion\lib. C:\\ColdFusion10\\cfusion\jintegra\bin; C:\\ColdFusion10\\cf usion\jintegra\bin\international; C:\\ColdFusion10\\cfusion\lib\oosdk\classes\win
    12 may 2013 15:28:10 org.apache.coyote.AbstractProtocol init
    INFO: Initializing ProtocolHandler ['http-bio-8500']
    12 may 2013 15:28:10 org.apache.coyote.AbstractProtocol init
    INFO: Initializing ProtocolHandler ["ajp-bio-8012"]
    12 may 2013 15:28:10 org.apache.catalina.core.StandardService startInternal
    INFO: Starting service Catalina
    12 may 2013 15:28:10 org.apache.catalina.core.StandardEngine startInternal
    INFO: Starting the Servlet engine: Apache Tomcat/7.0.23
    Journal of the org.apache.catalina.core.ApplicationContext 12 may 2013 15:28:13
    INFO: ColdFusionStartUpServlet: ColdFusion: from application services
    Journal of the org.apache.catalina.core.ApplicationContext 12 may 2013 15:28:13
    INFO: ColdFusionStartUpServlet: ColdFusion: version VM = 23, 7 - b01
    Journal of the org.apache.catalina.core.ApplicationContext 12 may 2013 15:28:18
    INFO: CFMxmlServlet: Macromedia Flex Build: 87315.134646
    Departure from org.apache.coyote.AbstractProtocol may 12, 2013 15:28:27
    INFO: From ProtocolHandler ['http-bio-8500']
    Departure from org.apache.coyote.AbstractProtocol may 12, 2013 15:28:27
    INFO: From ProtocolHandler ["ajp-bio-8012"]
    12 may 2013 15:28:27 com.adobe.coldfusion.launcher.Launcher run
    INFO: 18772 SP server startup
    The exception that is thrown by the error handling model:
    coldfusion.server.ServiceFactory$ ServiceNotAvailableException: the security service is not available.
    at coldfusion.server.ServiceFactory.getSecurityService(ServiceFactory.java:43)
    to coldfusion.runtime.TemplateClassLoader$ TemplateCache$ 1.fetch (TemplateClassLoader.java:456)
    at coldfusion.util.LruCache.get(LruCache.java:180)
    to coldfusion.runtime.TemplateClassLoader$ TemplateCache.fetchSerial (TemplateClassLoader.java:362)
    at coldfusion.util.AbstractCache.fetch(AbstractCache.java:58)
    at coldfusion.util.SoftCache.get_statsOff(SoftCache.java:133)
    at coldfusion.util.SoftCache.get(SoftCache.java:81)
    at coldfusion.runtime.TemplateClassLoader.findClass(TemplateClassLoader.java:609)
    at coldfusion.filter.PathFilter.invoke(PathFilter.java:101)
    at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:30)
    at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94)
    at coldfusion.filter.ClientScopePersistenceFilter.invoke (ClientScopePersistenceFilter.java:2 8)
    at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
    at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
    at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
    at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
    at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62)
    to coldfusion. CfmServlet.service (CfmServlet.java:204)
    at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.j ava: 305)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at coldfusion.monitor.event.MonitoringServletFilter.doFilter (MonitoringServletFilter.java:42)
    at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.j ava: 243)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at coldfusion.filter.ClickjackingProtectionFilter.doFilter (ClickjackingProtectionFilter.java:75)
    at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.j ava: 243)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:414)
    at org.apache.coyote.http11.AbstractHttp11Processor.process (AbstractHttp11Processor.java:987)
    to org.apache.coyote.AbstractProtocol$ AbstractConnectionHandler.process (AbstractProtocol.jav one: 539)
    to org.apache.tomcat.util.net.JIoEndpoint$ SocketProcessor.run (JIoEndpoint.java:298)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    to java.util.concurrent.ThreadPoolExecutor$ Worker.run (ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:722)
    12 may 2013 15:28:44 org.apache.catalina.core.StandardWrapperValve invoke
    SERIOUS: Servlet.service () for servlet [CfmServlet] in the context of path [/] threw the exception [CAUSE DEEP:]
    coldfusion.server.ServiceFactory$ ServiceNotAvailableException: the security service is not available.
    at coldfusion.server.ServiceFactory.getSecurityService(ServiceFactory.java:43)
    to coldfusion.runtime.TemplateClassLoader$ TemplateCache$ 1.fetch (TemplateClassLoader.java:456)
    at coldfusion.util.LruCache.get(LruCache.java:180)
    to coldfusion.runtime.TemplateClassLoader$ TemplateCache.fetchSerial (TemplateClassLoader.java:362)
    at coldfusion.util.AbstractCache.fetch(AbstractCache.java:58)
    at coldfusion.util.SoftCache.get_statsOff(SoftCache.java:133)
    at coldfusion.util.SoftCache.get(SoftCache.java:81)
    at coldfusion.runtime.TemplateClassLoader.findClass(TemplateClassLoader.java:609)
    at coldfusion.filter.PathFilter.invoke(PathFilter.java:101)
    at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:30)
    at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94)
    at coldfusion.filter.ClientScopePersistenceFilter.invoke (ClientScopePersistenceFilter.java:2 8)
    at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
    at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
    at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
    at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
    at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62)
    to coldfusion. CfmServlet.service (CfmServlet.java:204)
    at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.j ava: 305)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at coldfusion.monitor.event.MonitoringServletFilter.doFilter (MonitoringServletFilter.java:42)
    at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.j ava: 243)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at coldfusion.filter.ClickjackingProtectionFilter.doFilter (ClickjackingProtectionFilter.java:75)
    at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.j ava: 243)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:414)
    at org.apache.coyote.http11.AbstractHttp11Processor.process (AbstractHttp11Processor.java:987)
    to org.apache.coyote.AbstractProtocol$ AbstractConnectionHandler.process (AbstractProtocol.jav one: 539)
    to org.apache.tomcat.util.net.JIoEndpoint$ SocketProcessor.run (JIoEndpoint.java:298)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    to java.util.concurrent.ThreadPoolExecutor$ Worker.run (ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:722)
    ] the cause root
    javax.servlet.ServletException: ROOT CAUSE:
    coldfusion.server.ServiceFactory$ ServiceNotAvailableException: the security service is not available.
    at coldfusion.server.ServiceFactory.getSecurityService(ServiceFactory.java:43)
    to coldfusion.runtime.TemplateClassLoader$ TemplateCache$ 1.fetch (TemplateClassLoader.java:456)
    at coldfusion.util.LruCache.get(LruCache.java:180)
    to coldfusion.runtime.TemplateClassLoader$ TemplateCache.fetchSerial (TemplateClassLoader.java:362)
    at coldfusion.util.AbstractCache.fetch(AbstractCache.java:58)
    at coldfusion.util.SoftCache.get_statsOff(SoftCache.java:133)
    at coldfusion.util.SoftCache.get(SoftCache.java:81)
    at coldfusion.runtime.TemplateClassLoader.findClass(TemplateClassLoader.java:609)
    at coldfusion.filter.PathFilter.invoke(PathFilter.java:101)
    at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:30)
    at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94)
    at coldfusion.filter.ClientScopePersistenceFilter.invoke (ClientScopePersistenceFilter.java:2 8)
    at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
    at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
    at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
    at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
    at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62)
    to coldfusion. CfmServlet.service (CfmServlet.java:204)
    at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.j ava: 305)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at coldfusion.monitor.event.MonitoringServletFilter.doFilter (MonitoringServletFilter.java:42)
    at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.j ava: 243)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at coldfusion.filter.ClickjackingProtectionFilter.doFilter (ClickjackingProtectionFilter.java:75)
    at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.j ava: 243)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:414)
    at org.apache.coyote.http11.AbstractHttp11Processor.process (AbstractHttp11Processor.java:987)
    to org.apache.coyote.AbstractProtocol$ AbstractConnectionHandler.process (AbstractProtocol.jav one: 539)
    to org.apache.tomcat.util.net.JIoEndpoint$ SocketProcessor.run (JIoEndpoint.java:298)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    to java.util.concurrent.ThreadPoolExecutor$ Worker.run (ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:722)

    at coldfusion.monitor.event.MonitoringServletFilter.doFilter (MonitoringServletFilter.java:70)
    at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.j ava: 243)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at coldfusion.filter.ClickjackingProtectionFilter.doFilter (ClickjackingProtectionFilter.java:75)
    at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.j ava: 243)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:414)
    at org.apache.coyote.http11.AbstractHttp11Processor.process (AbstractHttp11Processor.java:987)
    to org.apache.coyote.AbstractProtocol$ AbstractConnectionHandler.process (AbstractProtocol.jav one: 539)
    to org.apache.tomcat.util.net.JIoEndpoint$ SocketProcessor.run (JIoEndpoint.java:298)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    to java.util.concurrent.ThreadPoolExecutor$ Worker.run (ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:722)

    and the follogwing in the journal of colfusion-out:

    05/12 15:28:13 INFO License Service: Flex 1.5 CF Edition activated

    05/12 15:28:13 INFO from Flex 1.5 CF Edition

    12 may 2013 15:28:13 initialized [pool-2-thread-1] information - C:\ColdFusion10\cfusion\logs\server.log

    12 may 2013 15:28:13 information [hen-2-thread-1] - start logging...

    12 may 2013 15:28:13 [hen-2-thread-1] information - from license...

    12 may 2013 15:28:15 information [hen-2-thread-1] - invalid License 10 ColdFusion.

    12 may 2013 15:28:15 information [hen-2-thread-1] - invalid License 10 ColdFusion.

    12 may 2013 15:28:15 information [hen-2-thread-1] - invalid License 10 ColdFusion.

    12 may 2013 15:28:15 information [hen-2-thread-1] - Developer Edition activated

    12 may 2013 15:28:15 [hen-2-thread-1] information - from crypto...

    12 may 2013 15:28:15 [hen-2-thread-1] - PVE of JSafe information installed by the supplier: Version 6.0 6.0 Crypto-J, EMC Corporation. Security JsafeJCE provider (implements RSA, DSA, ECDSA, Diffie-Hellman, ECDH, AES, DES, Triple, DESX, RC2, RC4, RC5, PBE, MD2, MD5, RIPEMD160, SHA1, SHA224, SHA256, SHA384, SHA512, HMAC-MD5, HMAC-RIPEMD160, HMAC-SHA1, HMAC-SHA224, HMAC-SHA256, HMAC-SHA384, HMAC-SHA512, FIPS186PRNG, ECDRBG, HMACDRBG, SHA1PRNG, MD5PRNG;) RFC 3394 RFC 5649 AES Key Wrap; X.509 CertificateFactory; PKCS12, KeyStore PKCS15; X.509V1, PKIX, PKIX-SuiteB, PKIX-SuiteBTLS CertPathValidators; X.509V1, PKIX, PKIX-SuiteB, PKIX-SuiteBTLS CertPathBuilders; LDAP, CertStores Collection)

    12 may 2013 15:28:15 [hen-2-thread-1] information - from security...

    12 may 2013 15:28:15 error [pool-2-thread-1] - failed to initialize security service: java.lang.NullPointerException

    12 may 2013 15:28:15]

    12 may 2013 15:28:15 [hen-2-thread-1] information - from Planner...

    12 may 2013 15:28:15 [hen-2-thread-1] information - from WatchService...

    12 may 2013 15:28:15 error [pool-2-thread-1] - failed to initialize the service WatchService: coldfusion.server.ServiceFactory$ ServiceNotAvailableException: the security service is not available.

    12 may 2013 15:28:15 [hen-2-thread-1] information - from debugging...

    12 may 2013 15:28:15 [hen-2-thread-1] information - from sql...

    12 may 2013 15:28:15 information [hen-2-thread-1] - starting mail...

    12 may 2013 15:28:15 [hen-2-thread-1] information - from TIME...

    12 may 2013 15:28:16 information [hen-2-thread-1] - Configuration of CORBA not activated

    12 may 2013 15:28:16 [hen-2-thread-1] information - from cron...

    12 may 2013 15:28:16 [hen-2-thread-1] information - from registry...

    12 may 2013 15:28:16 information [hen-2-thread-1] client startup...

    12 may 2013 15:28:16 information [hen-2-thread-1] - xmlrpc to start...

    12 may 2013 15:28:17 [hen-2-thread-1] Information - from jaxrs...

    12 may 2013 15:28:17 [hen-2-thread-1] Information - from graphics...

    12 may 2013 15:28:17 [hen-2-thread-1] Information - from solr...

    12 may 2013 15:28:17 [hen-2-thread-1] Information - from the archive...

    12 may 2013 15:28:17 [hen-2-thread-1] Information - from document...

    12 may 2013 15:28:17 [hen-2-thread-1] Information - from eventgateway...

    12 may 2013 15:28:17 initialized [pool-2-thread-1] information - C:\ColdFusion10\cfusion\logs\eventgateway.log

    12 may 2013 15:28:17 [hen-2-thread-1] - event gateway Information disabled.

    12 may 2013 15:28:17 [hen-2-thread-1] Information - from FlexAssembler...

    12 may 2013 15:28:17 [hen-2-thread-1] Information - from .NET...

    12 may 2013 15:28:17 [hen-2-thread-1] Information - from monitoring...

    12 may 2013 15:28:17 [hen-2-thread-1] Information - from WebSocket...

    12 may 2013 15:28:18 information [hen-2-thread-1] - WebSocket server listening on port: 8575

    12 may 2013 15:28:18 information [hen-2-thread-1] - ColdFusion started

    12 may 2013 15:28:18 information [hen-2-thread-1] - ColdFusion: application services are now available

    05/12 15:28:18 INFO Macromedia Flex Build: 87315.134646

    12 may 2013 15:28:44 initialized information [catalina-exec-2] - C:\ColdFusion10\cfusion\logs\application.log

    12 may 2013 15:28:44 error [catalina-exec-2] - the security service is not available. This exception is usually caused by the failure to start service. Check the configuration of your server. The specific sequence of files included or processed is: C:\ColdFusion10\cfusion\wwwroot\CFIDE\administrator\index.cfm "

    12 may 2013 15:28:44 error [catalina-exec-2] - the Exception thrown by the error handling model:

    12 may 2013 15:28:44 error [catalina-exec-2] - the security service is not available. This exception is usually caused by the failure to start service. Check the configuration of your server. The specific sequence of files included or processed is: C:\ColdFusion10\cfusion\wwwroot\WEB-INF\exception\coldfusion\runtime\ApplicationException .cfm "

    12 may 2013 15:29:51 error [catalina-exec-1] - the security service is not available. This exception is usually caused by the failure to start service. Check the configuration of your server. The specific sequence of files included or processed is: C:\ColdFusion10\cfusion\wwwroot\CFIDE\Application.cfm "

    12 may 2013 15:29:51 error [catalina-exec-1] - Exception thrown by the model of error handling:

    12 may 2013 15:29:51 error [catalina-exec-1] - the security service is not available. This exception is usually caused by the failure to start service. Check the configuration of your server. The specific sequence of files included or processed is: C:\ColdFusion10\cfusion\wwwroot\WEB-INF\exception\coldfusion\runtime\ApplicationException .cfm "

    12 may 2013 15:30:01 Error [catalina-exec-4] - the security service is not available. This exception is usually caused by the failure to start service. Check the configuration of your server. The specific sequence of files included or processed is: C:\ColdFusion10\cfusion\wwwroot\CFIDE\administrator\index.cfm "

    12 may 2013 15:30:01 error [catalina-exec-4] - the Exception thrown by the error handling model:

    12 may 2013 15:30:01 Error [catalina-exec-4] - the security service is not available. This exception is usually caused by the failure to start service. Check the configuration of your server. The specific sequence of files included or processed is: C:\ColdFusion10\cfusion\wwwroot\WEB-INF\exception\coldfusion\runtime\ApplicationException .cfm "

    12 may 2013 15:30:26 error [catalina-exec-3] - the security service is not available. This exception is usually caused by the failure to start service. Check the configuration of your server. The specific sequence of files included or processed is: C:\ColdFusion10\cfusion\wwwroot\CFIDE\adminapi\administrator.cfc "

    12 may 2013 15:30:26 error [catalina-exec-3] - Exception thrown by the model of error handling:

    12 may 2013 15:30:26 error [catalina-exec-3] - the security service is not available. This exception is usually caused by the failure to start service. Check the configuration of your server. The specific sequence of files included or processed is: C:\ColdFusion10\cfusion\wwwroot\WEB-INF\exception\coldfusion\runtime\ApplicationException .cfm "

    12 may 2013 15:30:31 error [catalina-exec-1] - the security service is not available. This exception is usually caused by the failure to start service. Check the configuration of your server. The specific sequence of files included or processed is: C:\ColdFusion10\cfusion\wwwroot\CFIDE\administrator\index.cfm "

    12 may 2013 15:30:31 error [catalina-exec-1] - Exception thrown by the model of error handling:

    12 may 2013 15:30:31 error [catalina-exec-1] - the security service is not available. This exception is usually caused by the failure to start service. Check the configuration of your server. The specific sequence of files included or processed is: C:\ColdFusion10\cfusion\wwwroot\WEB-INF\exception\coldfusion\runtime\ApplicationException .cfm "

    Any suggestions on what to watch?

    Thank you!!

    Hello Eddie,

    In accordance with our session webex, temp compensation, SEE uninstalling and reinstalling fixed the problem.

    Kind regards

    Anit Kumar.

  • Any way to retrieve Request/contents of the body of also request.getReader ()?

    We want to use a filter to perform a check of authentication (HMAC-SHA1) message for the web service calls. We want to use the body of the request as part of the message hash to authenticate (ala Amazon Web Services). Our problem: we can recover the body of the message--via request.getReader () or request.getInputStream ()--and use it to authenticate the incoming request. However, calls to chain.doFilter () or getRequestDispatcher () .forward () will fail with a "java.lang.IllegalStateException: getReader () | getInputStream () has already been called for this application of ' error. Try to copy the request to another object before calling getReader(), using a HttpServletRequestWrapper, closure or reset the player etc all causes the IllegalStateException.
    So: is there a way to recover the body of the query without using getReader (): getInputStream ()? Or y at - there a way to reset the State of the player application so that the application is accessible from the filter? Or is there a better way to HMAC processing in Java EE?

    827388 wrote:
    I tried a HttpServletRequestWrapper getReader() substitution, and construction
    and then by sending the wrapper in the method chain.doFilter () - but I always get an InvalidStateException.

    Yes, if what is invoked thereafter getInputStream() you will get that.

    ServletInputStream is an abstract class, so I don't know how to build a wrapper class.

    I guess it would be something along the lines of

    public class RequestWrapper
      extends HttpServletRequestWrapper
    {
      public RequestWrapper(HttpServletRequest httpServletRequest)
      {
        super(httpServletRequest); // super.request = httpServletRequest;
      }
    
      private byte[] bytes = null;
    
      public ServletInputStream getInputStream()
        throws IOException
      {
        if (bytes==null) { // first time
          InputStream in = super.request.getInputStream();
          bytes = new byte[super.request.getContentLength()];
          for(int r,offset=0; (r = in.read(bytes,offset,bytes.length-offset))>-1 ; ) { offset += r; }
        }
        final InputStream in = new ByteArrayInputStream(bytes);
        return new ServletInputStream() {
          public int read() {
            return in.read();
          }
        };
      }
    
      public BufferedReader getReader()
        throws IOException
      {
        return new BufferedReader(new InputStreamReader(getInputStream()));
      }
    }
    
  • Install CF9 - &gt; 500 on administrator

    After going through the papers, I have a strange problem I'm stumped on.

    JRE clean and clean CF install on laptop

    XP pro IIS 5.1, developer edition of Coldfusion 9

    Installs the great, all the IIS settings added .cfm, cfc, cfr, cfml, etc., installed in the IIS mappings.

    Docs by default added index.cfm

    This is done many times on other computers without problem, but today on this computer, I get a 500 error when you try to open the administrator.

    All the newspapers look too good (server.log below).

    What I'm mssing? Any suggestions?

    to extract:

    'Information', 'hand', ' 15/09/11 "," 18: 32: 21 ","Starting record... ". »
    'Information', 'hand', ' 15/09/11 "," 18: 32: 21 "," license to start... '. »
    'Information', 'hand', ' 15/09/11 "," invalid license ColdFusion 9 18:32:22 ','. '.
    'Information', 'hand', ' 15/09/11 "," invalid license ColdFusion 9 18:32:22 ','. '.
    'Information', 'hand', ' 15/09/11 "," 18:32:22 ',' active Developer Edition ".
    'Information', 'hand', ' 15/09/11 "," 18: 32:23 ',' Starting crypto... ". »
    'Information', 'hand', ' 15/09/11 "," 18: 32:23 ',"installed provider JSafe PVE: Version 3.6 RSA Security Inc. Crypto-J PVE Security Provider (implements RSA, DSA, Diffie-Hellman, AES, DES, Triple, DESX, RC2, RC4, RC5, PBE, MD2, MD5, RIPEMD160, SHA1, SHA224, SHA256, SHA384, SHA512, HMAC-MD5, HMAC-RIPEMD160, HMAC-SHA1, HMAC-SHA224, HMAC-SHA256, HMAC-SHA384, HMAC-SHA512).
    'Information', 'hand', ' 15/09/11 "," 18: 32:23 ',' Starting safety... ". »
    'Information', 'hand', ' 15/09/11 "," 18: 32:23 "," Scheduler starting...» »
    'Information', 'hand', ' 15/09/11 "," 18: 32:23 ',' starting WatchService...» »
    'Information', 'hand', ' 15/09/11 "," 18: 32:23 ', 'from Debug... ". »
    'Information', 'hand', ' 15/09/11 "," 18: 32:23 ',' start sql... ". »
    'Information', 'hand', ' 15/09/11 "," 18: 32:23 ',' check mail... ". »
    'Information', 'hand', ' 15/09/11 "," 18:32:24 ',' time of departure... ". »
    "Information', 'hand', ' 15/09/11","18:32:24 ',' Configuration of CORBA not activated."
    'Information', 'hand', ' 15/09/11 "," 18:32:24 ',' cron to start... '. »
    'Information', 'hand', ' 15/09/11 "," 18:32:24 ',' register of departure... ". »
    'Information', 'hand', ' 15/09/11 "," 18:32:24 ',' customer departure... ". »
    'Information', 'hand', ' 15/09/11 "," 18:32:26 ',' xmlrpc departure... ". »
    'Information', 'hand', ' 15/09/11 "," 18:32:27 ","graphic Starting... ". »
    'Information', 'hand', ' 15/09/11 "," 18:32:27 ',' start verity...» »
    'Information', 'hand', ' 15/09/11 "," 18:32:27 ',' start solr...» »
    'Information', 'hand', ' 15/09/11 "," 18:32:27 ',' Archives of departure... ". »
    'Information', 'hand', ' 15/09/11 "," 18:32:27 ',' starting... document. »
    'Information', 'hand', ' 15/09/11 "," 18:32:27 ',' departure eventgateway...» »
    'Information', 'hand', ' 15/09/11 "," 18:32:28 ',' from FlexAssembler...» »
    'Information', 'hand', ' 11/09-15 "," 18:32:28 ',' from .NET...» »
    'Information', 'hand', ' 15/09/11 "," 18:32:28 "," from surveillance...» »
    "Information', 'hand', ' 15/09/11","18:32:28","ColdFusion has begun."


    < / endsnippet >

    Proven problem disk hard failling. New drive, clean install == works fine now

  • User cannot connect to El Cap server from his mac, but can other

    The user came this morning and found that it could not connect to the file (El Cap 10.11.1) server, he told her that his password was incorrect. No changes were made on his iMac (10.11.4) or on the server. All services will stop working... messages, calendar, etc.

    My Assistant tried reseting password, creates a user fresh on the server with the same permissions... he couldn't connect since mac.

    I tried his letters of credence on my Mac and can connect successfully... then he I thought that the server must be blocking by MAC address.

    I went in the console logs, and that's what I found (shown below).

    So I think I have to trash com.apple.NetworkAuthenticationHelper and force his mac to require that the appropriate credentials... but maybe I don't see something.

    Any ideas?

    -Mark

    Console user logs on:

    )]

    22/07/16 10:14:04.494 AM CalendarAgent [305] [com.apple.calendar.store.log.session] [did not correct account name of USER (B9EA3862-2A67-4B01-B9BC-0644A6D5C641) as not authenticated with (null) error.]

    22/07/16 10:14:05.177 AM NetAuthSysAgent [358] all NAHSelectionAcquireCredential: 5828B4AA-6C06-B715-6112-148840D9967C-nom iakerb of USER: GSSCred: 0x7fdc3bc05870 < MC: iakerb. USERNAME@WELLKNOWN:COM Apple. LKDC >

    22/07/16 10:14:05.438 AM NetAuthSysAgent [358] NAHSelectionAcquireCredential error Domain = com.apple.NetworkAuthenticationHelper Code =-1765328228 ' acquire_kerberos is not USERNAME@LOCAL: - 1765328228 - impossible to reach any KDC in the LOCAL area, tried 0 KDC "UserInfo = {NSDescription = acquire_kerberos is not USERNAME@LOCAL: - 1765328228 - impossible to reach any KDC in the LOCAL area, tried KDC 0}

    22/07/16 10:14:07.796 AM AddressBookSourceSync [302] [CardDAVPlugin ERROR] - 50 < unknown error - 50 > of < HTTP/fileserver.local@LOCAL USERNAME@LOCAL > KRBAcquireTicket

    22/07/16 10:14:07.797 AM AddressBookSourceSync [302] [CardDAVPlugin-ERROR]-[CDXAccount getKerberosTicketWithConnection:]: < NSURLConnection: 0x7faf80723d20 > {request: NSMutableURLRequest: 0x7faf807192b0 > {URL: https://[email protected]/addressbooks/__uids__/6F2B2DB5-958C-46AD-B787-1E2C2CFD7C38 / }} return number because that can't get the Kerberos ticket acquired for host: fileserver.local user: username

    22/07/16 10:14:07.838 AM AddressBookSourceSync [302] [CardDAVPlugin-ERROR] - getHomeInfo: [_controller containersAtURLs :{(

    https://[email protected]/addressbooks/__uids__/6F2B2DB5-958C-46AD-B787-1E2C2CFD7C38 /.

    [)] Error Domain CoreDAVHTTPStatusErrorDomain Code = 401 '(null)' = UserInfo = {CoreDAVHTTPHeaders = < CFBasicHash 0x7faf821360e0 [0x7fff72b92440] > {type = dict immutable, count = 8}

    entries = >

    0: server = < CFString 0x7faf80721260 [0x7fff72b92440] > {content = "Twisted/15.2.1 TwistedWeb/9.0.0"}

    1: content-Type = < CFString 0x7fff72af8e60 [0x7fff72b92440] > {content = text/html";} charset = utf-8"}

    3: strict-transport-security < CFString 0x7faf80754e20 [0x7fff72b92440] > = {content = "max - age = 604800"}

    6: date = < CFString 0x7faf8075fec0 [0x7fff72b92440] > {content = "Wednesday, June 22, 2016 14:08:54 GMT"}

    9: Www-Authenticate = < CFString 0x7faf8075cdc0 [0x7fff72b92440] > {content = "Digest realm ="fileserver.local", nonce ="2cb6316410bec10ec761e48c", opaque =" 6c5a1bbd4c5f90fcefe1ed9582242220-MmNiNjMxNjQxMGJlYzEwZWM3NjFlNDhjLDAuMC 4wLjAsMTQ2NjYwNDUzNA is", algorithm is"md5", negotiate" "}

    10: content-Length = 141

    11: keep-Alive = < CFString 0x7faf8074fa40 [0x7fff72b92440] > {content = 'timeout = 5, max = 95'}

    12: connection = < CFString 0x7fff72b35940 [0x7fff72b92440] > {content = "Keep-Alive"}

    }

    22/07/16 10:14:04.417 AM CalendarAgent [305] [com.apple.calendar.foundation.accounts] [someone is trying to save a non-sale represent the name of USER (B9EA3862-2A67-4B01-B9BC-0644A6D5C641).] (
    0 CalendarFoundation 0x00007fff9683c284-[CalAccountsProvider saveAccount: check: withCompletionHandler:] + 1087
    1 CalendarFoundation 0x00007fff9683c4ab-[CalAccountsProvider saveAccount: check: withError:] + 277
    CalendarPersistence 2 0x00007fff954b651b + [CalSession persistErrorOnAccount:forPrincipal:] + 306
    3 CalendarPersistence 0x00007fff95484fd8-[CalDAVSession persistError:forChangeRequestID:] + 375
    4 CalendarPersistence 0x00007fff95484e32-[CalDAVSession persistErrorAndNotify] + 138
    5 CalendarPersistence 0x00007fff9555ef1b-[CalDAVQueueableOperation setError:] + 1507
    6 CalendarPersistence 0x00007fff95579d73 __58-[CalDAVAccountRefreshQueueableOperation (Private) discount] _block_invoke + 35
    7 libdispatch.dylib 0x00007fff8969693d _dispatch_call_block_and_release + 12
    8 libdispatch.dylib 0x00007fff8968b40b _dispatch_client_callout + 8
    libdispatch.dylib 9 _dispatch_main_queue_callback_4CF + 1685 0x00007fff8969ec1c
    10 CoreFoundation 0x00007fff82bb59e9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
    11 CoreFoundation 0x00007fff82b748dd __CFRunLoopRun + 1949
    12 CoreFoundation 0x00007fff82b73ed8 CFRunLoopRunSpecific + 296
    13 CalendarAgent 0x000000010e85f83d CalendarAgent + 6205
    14 libdyld.dylib 0x00007fff9813d5ad start + 1
    15?                                 0000000000000001 0 x 0 x 0 + 1

    )]

    22/07/16 10:14:04.417 AM CalendarAgent [305] [com.apple.calendar.store.log.session] [failure of the account name of the USER (B9EA3862-2A67-4B01-B9BC-0644A6D5C641) mark as not authenticated with (null) error.]
    22/07/16 10:14:04.493 AM CalendarAgent [305] Name of USER (B9EA3862-2A67-4B01-B9BC-0644A6D5C641) is registered.

    Account.Authenticated = NO

    account.dirtyProperties = (null)

    (

    Console server logs:

    June 22 at 10:06:42 fileserver kdc [211]: got a request to canonicalize to a Kingdom LKDC of local-ipc

    June 22 at 10:06:42 fileserver kdc [211]: reference LKDC for the real name of domain LKDC

    June 22 at 10:06:42 fileserver kdc [211]: USERNAME@LKDC:SHA1 AS - REQ. EFC5089C1826F697B2CD42507CA5F3AA5253EBFC local CPI for krbtgt / LKDC:SHA1. EFC5089C1826F697B2CD42507CA5F3AA5253EBFC@LKDC:SHA1. EFC5089C182 6F697B2CD42507CA5F3AA5253EBFC

    June 22 at 10:06:42 - last message repeated 1 time-

    June 22 at 10:06:42 fileserver kdc [211]: Client sent patypes: REQ-ENC-PA-REP

    June 22 at 10:06:42 fileserver kdc [211]: RPS announcing the message of size 52

    June 22 at 10:06:42 fileserver kdc [211]: to do PA-ENC-TIMESTAMP/PA-PK-AS-REQ

    June 22 at 10:06:42 fileserver kdc [211]: USERNAME@LKDC:SHA1 AS - REQ. EFC5089C1826F697B2CD42507CA5F3AA5253EBFC local CPI for krbtgt / LKDC:SHA1. EFC5089C1826F697B2CD42507CA5F3AA5253EBFC@LKDC:SHA1. EFC5089C182 6F697B2CD42507CA5F3AA5253EBFC

    June 22 at 10:06:42 - last message repeated 1 time-

    June 22 at 10:06:42 fileserver kdc [211]: Client sent patypes: RPS, REQ-ENC-PA-REP, FX-COOKIE

    June 22 at 10:06:42 fileserver kdc [211]: step 1 of the PRS

    June 22 at 10:06:42 fileserver kdc [211]: ccsrp start of server for user: USER name

    June 22 at 10:06:42 fileserver kdc [211]: factor FAST requires more pre-authentication data, feed him

    June 22 at 10:06:42 fileserver kdc [211]: USERNAME@LKDC:SHA1 AS - REQ. EFC5089C1826F697B2CD42507CA5F3AA5253EBFC local CPI for krbtgt / LKDC:SHA1. EFC5089C1826F697B2CD42507CA5F3AA5253EBFC@LKDC:SHA1. EFC5089C182 6F697B2CD42507CA5F3AA5253EBFC

    June 22 at 10:06:42 - last message repeated 1 time-

    June 22 at 10:06:42 fileserver kdc [211]: Client sent patypes: RPS, REQ-ENC-PA-REP, FX-COOKIE

    June 22 at 10:06:42 fileserver kdc [211]: step 2 of the PRS

    June 22 at 10:06:42 fileserver kdc [211]: RPS prior authentication is Reussi--username@lkdc:sha1. EFC5089C1826F697B2CD42507CA5F3AA5253EBFC

    June 22 at 10:06:42 fileserver kdc [211]: customer support enctypes: aes256-cts-hmac-sha1-96, aes128-cts-hmac-sha1-96, des3-cbc-sha1, arcfour-hmac-md5, d'aes256-cts-hmac-sha1-96/aes256-cts-hmac-sha1-96 help

    June 22 at 10:06:42 fileserver kdc [211]: requested flags: canonize

    June 22 at 10:06:42 fileserver kdc [211]: Client use FAST

    June 22 at 10:06:42 fileserver kdc [211]: QUICKLY strengthen key to response with key strengthening

    June 22 at 10:06:42 fileserver kdc [211]: TGS - REQ USERNAME@LKDC:SHA1. EFC5089C1826F697B2CD42507CA5F3AA5253EBFC local CPI for cifs/localhost@LKDC:SHA1. EFC5089C1826F697B2CD42507CA5F3AA5253EBFC [canonize]

    June 22 at 10:06:42 fileserver kdc [211]: armor QUICK

    What is a network account? The server is processed by name of Hello or unicast name?

  • Upgrade 5.2 to 5.4 ACS

    Hello

    I have an ACS 5.2 deployment and I want to upgrade to version 5.4.

    I have 2 server in my deplyement:

    1 / first server as authentication server & collector's Journal

    2 / secondary server as authentication server.

    What is the best way to do the migration?

    Normally, I can do the following:

    1 / Deregidter ==> of each server from the deployment are the servers standaone

    2 / upgrade the secondary server.

    3 / upgrade of the backend (without migrate the server logs).

    4 / attach servers to the deployment.

    steps 2 / and 3 / can be reversed?

    Thank you for your response.

    of course, you can use sftp as well. However, the SFTP server must meet certain requirements:

    -The destination directory must have read/write permissions

    -SCP must be activate and the SFTP server must be compatible FIPS.

    -As a result of certification FIPS the SSH client should support the following compatible encryption FIPS costumes:

    -Key Cipher Exchange: diffie-hellman-group14-sha1 (your SFTP server should be able to negotiate this encryption)

    -Encryption cryptographic algorithms: aes256-cbc, aes128-cbc, 3des-cbc

    -MAC: hmac-sha1

    Jatin kone
    -Does the rate of useful messages-

  • RADIUS authentic works not 3560

    Hello world.

    The switch's config for RADIUS authentic.

    When I try here is the log

    % SSH-SSH2_USERAUTH 5: 'xy' authentication SSH2 Session 192.168.x.x (ATS = 1) using crypto cipher "aes256-cbc" hmac "hmac-sha1' Failed

    What should I check now

    Concerning

    Mahesh

    You must post a few outings until I'd suggest something. If SSH works very well with the local database which means the keys RSA are fine.

    If you can't attach the executed full show. Attach the bottom of the outputs listed in your next reply.

    See the race | in aaa

    See the race | Please line vty 0 4

    Debug RADIUS

    Debug aaa authentic

    Debug aaa approval

    The radius, if any server error.

    ~ BR
    Jatin kone

    * Does the rate of useful messages *.

  • Guest never appears in a 2602i access point

    Hello:

    Today, I converted an access point AIR-CAP2602I-A-K9 to stand-alone using the mode button/tftp, but any IOS Installer (I tried 2 other IOS and also tried to enter Rommon - I am able to change IOS because that the procedure I used is a not any command), I never get to see the prompt so that I can introduce commands to configure the AP. It's as if it hangs after initialization "successfully."

    The only thing I see all the time is the 'normal' console messages, and it displays no error message at all.  It happened before the downgrade.

    That's where stops the PA, but it is not really hung up because the console messages could keep appearing. He simply never gets the PROMT so I can enter a few commands. Not same acept would come.

    Cisco IOS software, software C2600 (AP3G2-K9W7-M), Version 15.2 (4) JA1, VERSION of the SOFTWARE (fc2)
    Technical support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2013 by Cisco Systems, Inc.
    Updated Wednesday, July 30, 13 23:12 by prod_rel_team

    Initialization of flashfs...

    flashfs [3]: 200 files, 7 folders
    flashfs [3]: 0 orphaned files, orphaned directories 0
    flashfs [3]: Total number of bytes: 31739904
    flashfs [3]: bytes used: 14286848
    flashfs [3]: available bytes: 17453056
    flashfs [3]: flashfs fsck took 9 seconds.
    flashfs [3]: initialization complete.
    flashfs [4]: 0 files, directories 1
    flashfs [4]: 0 orphaned files, orphaned directories 0
    flashfs [4]: Total number of bytes: 11999232
    flashfs [4]: used bytes: 1024
    flashfs [4]: available bytes: 11998208
    flashfs [4]: fsck flashfs took 0 seconds.
    flashfs [4]: initialization complete.
    Copy of the radio flash files: RAM:
    Current copy... CARTER
    Current copy... CCC
    Current copy... CCBC
    Current copy... CCBC
    Current copy... CC
    Decompression of files radio...
    .. initialization flashfs .done.

    Radio0 presents 8764 8000 0 A8000000 A8010000 0
    Rate table has 244 entries (IMS/104 BF 64 variants)

    Radio1 present 8764 8000 0 88000000 88010000 4
    This product contains cryptographic features and is under the United States
    States and local laws governing the import, export, transfer and
    use. Delivery of Cisco cryptographic products does not imply
    third party approval to import, export, distribute or use encryption.
    Importers, exporters, distributors and users are responsible for
    compliance with U.S. laws and local countries. By using this product you
    agree to comply with the regulations and laws in force. If you are unable
    to satisfy the United States and local laws, return the product.

    A summary of U.S. laws governing Cisco cryptographic products to:
    http://www.Cisco.com/WWL/export/crypto/tool/stqrg.html

    If you need assistance please contact us by mail at
    [email protected] / * /.

    Cisco AIR-SAP2602I-A-K9 (PowerPC) Prozesseur (revision A0) 180214K / 81920K bytes of memory.
    Card processor ID FGL1716S0Q6
    PowerPC CPU at 800 Mhz, the revision number 0 x 2151
    Last reset of tension
    1 gigabit Ethernet interface
    2 802.11 radios

    32K bytes memory simulated by flash not volatile configuration.
    Basic Ethernet MAC address: BC:16:65:95:A7:C3
    Part number: 73-14588-02
    Kit numbered PCA: 800-37899-01
    Revision number of PCA: A0
    Serial number of PCB: FOC17151DSW
    Top Assembly part number: 800-38356-01
    Top of page the Assembly serial number: FGL1716S0Q6
    Top of page revision number: A0
    Product/model number: AIR-CAP2602I-A-K9

    Press RETURN to get started!

    * 00:00:11.819 Mar 1: % IFMGR-7-NO_IFINDEX_FILE: could not open the nvram: / ifIndex-table no such file or directory
    * 00:00:11.935 Mar 1: FIPS IOS Image Checksum successful test
    * 00:00:11.935 Mar 1: FIPS IOS test Crypto RNG DEK key to success
    * 00:00:11.939 Mar 1: FIPS IOS SHA-1 successfully test
    * 00:00:11.939 Mar 1: test of FIPS IOS HMAC-SHA1 successful
    * 00:00:11.939 Mar 1: test FIPS IOS CBC AES 128bits successful Encrypt
    * 00:00:11.939 Mar 1: test FIPS IOS CBC AES 128bits successful Decrypt
    * 00:00:11.939 Mar 1: test FIPS IOS IOS AES CMAC encrypt successful
    * 00:00:11.939 Mar 1: test of FIPS IOS IOS CCM encrypt successful
    * 00:00:11.939 Mar 1: test of FIPS IOS IOS CCM decipher successful
    * 00:00:11.939 Mar 1: test FIPS IOS successful RSA Signature generation
    * 00:00:11.939 Mar 1: FIPS IOS test with success the RSA Signature verification
    * 00:00:11.939 Mar 1: % SOAP_FIPS-2-SELF_TEST_IOS_SUCCESS: crypto IOS FIPS self-test passed
    * 00:00:18.863 Mar 1: test RADIO FIPS AES 128-bit encrypt for TX on Dot11Radio successful 0
    * 00:00:18.863 Mar 1: test RADIO FIPS AES 128-bit CCM encrypt on Dot11Radio successful 0
    * 00:00:18.863 Mar 1: RADIO FIPS test AES 128-bit CCM decrypt on Dot11Radio successful 0
    * 00:00:18.863 Mar 1: test RADIO AMAC AES FIPS encrypted 128-bit CMAC on Dot11Radio successful 0
    * 00:00:18.863 Mar 1: % SOAP_FIPS-2-SELF_TEST_RAD_SUCCESS: crypto RADIO FIPS self-test passed on Dot11Radio interface 0
    * 00:00:24.991 Mar 1: test RADIO FIPS AES 128-bit encrypt for TX on Dot11Radio 1 successfully
    * 00:00:24.991 Mar 1: test RADIO FIPS AES 128-bit CCM encrypt Dot11Radio 1 successfully
    * 00:00:24.991 Mar 1: RADIO FIPS test AES 128-bit CCM decrypt on Dot11Radio 1 successfully
    * 00:00:24.991 Mar 1: test RADIO FIPS AMAC AES 128-bit CMAC encrypt Dot11Radio 1 successfully
    * 00:00:24.991 Mar 1: % SOAP_FIPS-2-SELF_TEST_RAD_SUCCESS: crypto RADIO FIPS self-test passed on 1 Dot11Radio interface
    * 00:00:25.007 Mar 1: initializing dot11 onplus
    * 00:00:25.259 Mar 1: not pΘriphΘrique active autoconfig!
    * 00:00:27.039 Mar 1: % LINK-6-UPDOWN: Interface GigabitEthernet0, changed State to
    * 00:00:28.039 Mar 1: % LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0, state change downstairs
    * 00:01:13.383 Mar 1: "Promiscuous" from Ethernet mode
    * 07:12:42.000 Apr 12: % LINK-5-CHANGED: Interface Dot11Radio0, changed state down administratively
    * 07:12:42.000 Apr 12: % LINK-5-CHANGED: Interface Dot11Radio1, changed state down administratively
    * 12 Apr 07:12:42.003: % CDP_PD-4-POWER_OK: full power - supply line AC_ADAPTOR
    * 07:12:42.011 Apr 12: % SYS-5-RESTART: System restarted.
    Cisco IOS software, software C2600 (AP3G2-K9W7-M), Version 15.2 (4) JA1, VERSION of the SOFTWARE (fc2)
    Technical support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2013 by Cisco Systems, Inc.
    Updated Wednesday, July 30, 13 23:12 by prod_rel_team
    * 07:12:42.011 Apr 12: % SNMP-5-start COLD: SNMP agent on host ap knows a cold start
    * 07:12:42.991 Apr 12: % LINEPROTO-5-UPDOWN: Line protocol on Interface BVI1, changed State to
    * 07:12:42.999 Apr 12: % LINEPROTO-5-UPDOWN: Line protocol on the Interface Dot11Radio0, state change downstairs
    * 07:12:42.999 Apr 12: % LINEPROTO-5-UPDOWN: Line protocol on the Interface Dot11Radio1, change of State down
    * 12 Apr 07:12:44.651: % SOAP_FIPS-2-SELF_TEST_HW_SUCCESS: crypto HW FIPS self-test passed
    * 07:12:44.651 Apr 12: ACCA complete initialization
    * 07:12:44.651 Apr 12: % SYS-3-HARIKARI: first level of ACCA INIT process routine is out
    * 07:12:44.971 Apr 12: % LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0, changed State to<--- cursor="" stops="" here="" and="" won't="" accept="" enter="" or="" any="" other ="" keyboard="">

    Any thoughts?

    Best regards and thanks in advance

    Are you sure that you have turned off the flow control settings?

  • A secret shared 20 bytes works with GBLink v4?

    The technical reference Guide documentation is a little sparse on GBLink version 4 (most of the references are version 3). Can I use the secret shared the full dispenser 20 bytes when I connect URL parameters for the realization of GBLink of Content Server 4? I use the following ColdFusion code to generate the URL:

    < cfscript >

    action = "enterorder" ;

    ordersource = 'test' ;

    OrderID = "123456789" ;

    RESID = ' urn: uuid:f65407dc - 1558-ce72-4facefbfcc544fdf ' ;

    rights = "$prn##0$" ;

    sharedSecret = 'o95AO5FaTdxkpaPzHXCXMve1fBU =' ;

    Base URL

    baseUrl = " " " "http://< acs Server > / fulfillment/URLLink.acsm? " ;

    URL parameters

    params = "action =" & action;

    params & = '& ordersource =' & UrlEncodedFormat (ordersource);

    params & = "& orderid =" & UrlEncodedFormat (orderid);

    params & = "& resid ="        & UrlEncodedFormat (resid);

    params & = "& rights = ' & UrlEncodedFormat (rights);

    params & = '& gbauthdate ='   & UrlEncodedFormat (DateFormat(Now(), "m/d/yyyy") & " " & TimeFormat(Now(), "H:mm") & " UTC");

    params & = "& dateval ="      & UrlEncodedFormat (DateDiff("s", CreateDate(1970,1,1), Now()));

    params & = '& gblver = 4' ;

    Calculating HMAC SHA1 based on URL parameters

        key = createObject ()'java' 'javax.crypto.spec.SecretKeySpec') .init (JavaCast()'chain', sharedSecret) .getBytes ("iso-8859-1"""),'HmacSHA1');

        mac = createObject ()'java' 'javax.crypto.Mac') .getInstance (key.getAlgorithm ());

    Mac.init (Key);

    mac.update (JavaCast()'chain', params) .getBytes ("iso-8859-1"""));

    Convert ascii bytes and lowercase alphabetic characters

        auth = LCase ()BinaryEncode(mac.doFinal (),'Hex'));

    Parameter auth

    authParam = "& auth =" & auth;

    Assemble the last URL

    finalUrl = baseUrl & params, & authParam;

    < / cfscript >

    Yes, it is difference between v3 and v4 is what shared secret is used.  For V3 is the first byte 16, v4, this is the full 20 bytes

Maybe you are looking for