Binding Endpoint to HTTPS problem

Hi guys. I created a basic REST service that works when it is invoked over a http connection. But when I try to add SSL on top I have some problems.
This is the code for the server creation:
1. private HttpContext getHttpContext() { 
2. HttpsServer server = null;
3. try { 
4. server = HttpsServer.create(new InetSocketAddress("localhost", 443), 5);
5.
6. server.setHttpsConfigurator(new HttpsConfigurator(SecureChatSslContextFactory.getServerContext()) { 
7.
8. public void configure(HttpsParameters params) { 
9. SSLContext context = getSSLContext();
10.
11. // get the default parameters
12. SSLParameters sslparams = context.getDefaultSSLParameters();
13. params.setSSLParameters(sslparams);
14. }
15. });
16.
17. server.start();
18.
19. return server.createContext("/customerservice/customer");
20. } catch (IOException e) { 
21. e.printStackTrace();
22. }
23. return null;
24. }
25. Endpoint e = Endpoint.create(HTTPBinding.HTTP_BINDING, new RestSourcePayloadProvider());
26. e.publish(getHttpContext());
The class RestSourcePayloadProvider has the public method invoke, but it never gets called when using https insteand of http. I suppose that the reason for this behaviour is that the binding for the endpoint is HTTPBinding.HTTP_BINDING, and not HTTPS. But I didn't manage to find a way to bind to https.
If I run the test client or the browser on "https://127.0.0.1:443/customerservice/customer" I get the same answer:
500 Internal Server Error No handler for context
Anyone has any idea about what's going on?
Thanks.
Edited by: user13793980 on Jan 19, 2011 5:47 AM

I found the answer to my problem. I was not creating a handler for the incoming requests. I was supposed to use
return server.createContext("/customerservice/customer", new HttpHandler(...));
instead of
return server.createContext("/customerservice/customer");
It looks like the interface Endpoint is implemented by the EndpointImpl class in Apache's CFX. When calling "publish(address)" the method called in EndpointImpl creates a ServerImpl that will be the service server. If I call "publish(server context)" nothing happens, because EndpointImpl doesn't override that method also.

Similar Messages

  • Jax-WS Client - Change Endpoint Address "https" to "http" - Cause HTTP 302

    Hi,
    I don't know it is a bug or not, but i couldn't find any answer for this.
    I try to write a client for an SSL Secured and Basic Authenticated web service. To access the WSDL url, i have a VPN connection to that network. Also i registered their certificate to the JVM that i used to run the Client.
    To create Jax-WS Client codes, i used "......\jaxws-ri\bin\wsimport.bat -s src -d bin -p model https://xxxx.com/xxxxxx.asmx?WSDL" as explained.
    After successfully generated sources, i added my "SecurityEnvironmentHandler.java" to catch Username and Password callbacks, and also added "SecurityHandler.java" to register my handler and surrund with necessary SOAP Header Security tags. I register them as explained too.
    Everything looks fine, but when i try to run Client test which basically call one of the services, i get
    com.sun.xml.ws.client.ClientTransportException: The server sent HTTP status code 302: Found
         at com.sun.xml.ws.transport.http.client.HttpTransportPipe.checkStatusCode(HttpTransportPipe.java:203)
         at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:177)
         at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:93)
         at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:598)
         at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:557)
         at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:542)
         at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:439)
         at com.sun.xml.ws.client.Stub.process(Stub.java:222)
         at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:135)
         at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:109)
         at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)
         at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118)
         at $Proxy36.xxxxxxxxxxx(Unknown Source)
         at xxxxxxxxServisImpl.xxxxxxxxxxxxx(xxxxServisImpl.java:69)
         at xxxxxxxxxServisTest.testxxxxxxx(xxxxxxServisTest.java:57)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at junit.framework.TestCase.runTest(TestCase.java:154)
         at junit.framework.TestCase.runBare(TestCase.java:127)
         at org.springframework.test.ConditionalTestCase.runBare(ConditionalTestCase.java:69)
         at junit.framework.TestResult$1.protect(TestResult.java:106)
         at junit.framework.TestResult.runProtected(TestResult.java:124)
         at junit.framework.TestResult.run(TestResult.java:109)
         at junit.framework.TestCase.run(TestCase.java:118)
         at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
         at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)( i have changed some unnecessary parts with "xxxxxx" )
    The basic of it i get an "*HTTP 302*" which means it tries to redirect the request.
    Also i had an working copy of a sample Client which was written with Jax-RPC. I looked the generated SOAP Messages for both of clients, they was almostly the same.
    After lots of tries, i found the problem, somehow after the client application starts, it changes the Endpoint Address "https://xxxxxxxx.com/xxxx.asmx" to "http://xxxxxxxxx.com/xxx.asmx", ( it drops the "s" wich means it changes the protocol HTTPS to HTTP ).
    If i set the Endpoint Address to "https://xxxxxxxx.com/xxxx.asmx" before calling any service on port, it works as it should be.
    On the "generated" main WebServiceClient class the WSDL address and also Endpoint Address were set correctly ( with https ).
    Also do i missing any logical part of it? Because i didnt changed it, it generated from WSDL by using "wsimport", it couldnt be a mistake, of if it would be, somebody could see that.
    Thanks for any advice.
    Umut KUNDUKAN

    Welcome to the forum. Please don't post in threads that are long dead. When you have a question, start your own topic. Feel free to provide a link to an old post that may be relevant to your problem.
    I'm locking this thread now.

  • Https problems in IE, Chrome, Skype, but not Firefox

    I have a user whose account on a win2003 domain was deleted by accident (I have no idea how). I recreated the account and recovered the user profile from a local machine. The local machines all run Win7.
    Everything seems to work fine again now except that https calls through Internet Explorer and Chrome fail with error messages that seem to indicate the site is simply not available rather than a certificate error or the like. Firefox works fine to access
    the same sites. I believe Firefox only works because it doesn`t use the built in security.
    Other accounts on the same machine can make https calls without trouble. My assumption is that there is an issue in the user's profile, but moving the Chrome and IE directories from the AppData directory in the user's profile accomplished no change in behaviour.
    I found KB 813444 and attempted to follow the instructions there to some extent (they seem aimed at XP and Vista), but couldn't re-register the dlls. None of the other changes made any difference. Likely not the problem anyway as the problem does not occur
    for any other account that logs into the machine.
    There really seems to be something wrong in the user profile. Permissions too loose on a directory somewhere? But where?
    The system is a brand new HP tower with Windows 7 on it. Fresh install about a month ago and kept up to date. All other profiles on the machine work fine. Using the same profile on another machine has the same problem of being unable to connect to https
    sites. The error received is not a certificate error, but indicates that the site can't be found, which suggests to me some fundamental failure in the security setup of the user profile. However, I've been unable to find where that information might be stored.
    Clearing the SSL state from within Internet options has had no effect on this issue, nor has compatibility mode or any of the things that are possible on Windows 7 from kb813444.
    Any thoughts?
    Keith

    Hello Keith,
    If my understanding is right, you only have one account have this https problem.
    Will this issue occurs when you create an login as a new account?
    If this issue only occur in the single account, we could refer to the following article to fix the profile.
    Fix a corrupted user profile
    http://windows.microsoft.com/en-us/windows/fix-corrupted-user-profile#1TC=windows-7
    Best regards,
    Fangzhou CHEN
    Fangzhou CHEN
    TechNet Community Support

  • Dynamically Setting PartnerLink Endpoint Address (HTTP) - Null Pointer

    I am trying to dynamically set a partner link address in my synchronous bpel process. I am getting a NullPointerException when assigning variable of type EndpointReference to the partner link.
    I followed the example on the BPEL forum here (which describes dynamically setting the address):
    Re: How can I change my ip adresses from a expression?
    In this case, we only need to reset the address.
    My partner link wsdl file contains this service defn:
    <service name="Service1">
    <port name="HTTPPost" binding="tns:HTTPPost">
    <http:address location="http://test"/>
    </port>
    My assign syntax is as follows:
    <copy>
    <from variable="endPointRef" query="/wsa:EndpointReference/wsa:Address"/>
    <to partnerLink="PartnerLink_1"/>
    </copy>
    I printed out my endPointRef variable here after assigning the values:
    06/02/22 19:13:03 endPointRef: <EndpointReference xmlns="http://schemas.xmlsoap
    .org/ws/2003/03/addressing"><Address>http://otn.oracle.com/Test.integration.servlet.WMServlet</Address><ReferenceProperties/><PortType/>
    <ServiceName>ns2:Service1</ServiceName></EndpointReference>
    Here is the error:
    06/02/22 19:13:03 java.lang.NullPointerException
    06/02/22 19:13:03 at com.collaxa.cube.engine.types.bpel.CXPartnerLink.copy
    (CXPartnerLink.java:247)
    I tried to explicitly set the PortType as well, but I got the same error.
    thanks,nhi

    Try with a 'Dynamic publish to service' action with:
    <ctx:route isProxy="false">
    <ctx:service>{ $yourBusinessService }</ctx:service>
    </ctx:route>
    where $yourBusinessService is the variable hosting the uri of your business service.
    Regards
    ferp

  • Multiple endpoints for HTTP adapter (OracleAS 10g - 10.1.2)

    The HTTP adapter documentation states the HTTP adapter supports sending outgoing messages for Interconnect to multiple HTTP endpoints. This enables sending messages to various remote web servers.
    The HTTP user guide states:
    "An endpoint is associated with a subscribing event in iStudio by adding the transport properties such as the HTTP endpoint as metadata for the event. This is done using the Modify Fields function of the Subscribe Wizard - Define Application View dialog. After associating an endpoint and event, the message from the subscribing event is sent to the HTTP endpoint.
    When using the multiple endpoint feature with XML data type, use the Generic event type, instead of XML. Using the Generic event type allows you to enter the metadata for the endpoints using the Modify Fields feature associated with iStudio.
    When invoking this through iStudio, the screen allows you a name/value pair and I have entered 'multipleEP' for the name & 'http://....servlet' for the value. Is this the correct way? For an additional endpoint I assume I add another name/value pair in a similar way to above, can someone confirm this method?
    Some confirmation or additional HOWTO documentation on this facility would be appreciated.
    Regards,
    David

    I've done a bit of testing and this is what I found. Feel free to expand as you see fit.
    Using the Modify Fields feature allows you to enter name/value pairs. I found that you enter the metadata parameter in the name, and the metadata value in the value. For example:
    Name - ota.endpoint, Value - createMemoEP (appears to arbitrary but my example is related to event crateMemo)
    Name - ota.send.endpoint, Value - http://..../servlet/yourServlet
    The data gets saved in table EMDDATALET and when used by the adapter, the above information overrides the metadata from the adapter.ini file.
    Hopes this helps anyone who wants to use this facility.
    David

  • Bind to report server problem

    hello all
    please i want your help of my case that iam trying to run areport from aform both are (10g).
    the problem is when calling the report from a button in aform with this code in the ''when_button_pressed'' trigger
    web.show_document('http://localhost:8889/reports/rwservlet?&report=c:\MODULE2.jsp&destype=cache&desformat=PDF&userid=scott/tiger@ahmad');
    it generates for me aweb page with an error (REP-51002: BIND TO REPORT SERVER FAILD).
    The advise presented from reports builder help is to make sure that the Reports Server is running and that the Reports Server name is correct.
    so i make from run the following test ''rwserver'' it gives me aprompt with a message (please consult the installation guides for how to setup and run this program).
    so please please help find the solution.
    note: when i try to run the report from the report builder it works good and generates the report properly both paper layout or web layout.

    Thank u so much rajesh for your advises and help.
    i have tried your steps you have written in the last theared on my pc and on another pc has the same (10 g release) and project and i got the following results:
    1.For the scond pc evry thing was good and works properly. when performeing the command (rwserver server= rep_server) it intializes the report server and starting it very well and calling a report from aform goes well. and when running your form REPORT_SERVER_LIST.fmx it gives me the results for list of rep servers started.
    But on my pc which has the problem when running the command (rwserver server= rep_server) it starting the rep server for a 1 or 2 seconds then quickly shutdown the report server alone.
    when trying again and again when starting the rep server it gives a windos error msg says (connot delete file ''rep_repservername'') and shut down the rep server.
    can u please rajesh explain for me wy it is happening?
    i have tried to solve the problem so i vave opened the (Devhome\reports\server\) and and i found the reports servers files thier. i have recognised that that those files is (.dat) files and was considered the (Windos media player 10) as the recomended program to open . Do you think Rajesh that the (Windos media player 10) desabling the report servers and shutdown it??? becuase i have so that no recomended progrom to open in the good pc.
    please rajesh help>>>.
    ahmad salem

  • Error Transmitting the message to endpoint -Received HTTP response code 401

    Hello Experts,
      I am having a SOAP to Proxy scenario. We are using HTTPS without client Authentication.
    Everything is running fine and well set on DEV system. After transporting to Test system, i am getting error as :
    Error Transmitting the message to endpoint http://host:port/sap/xi/engine?type=entry using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Received HTTP response code 401 : Unauthorized.
    I get HTTP 200 Ok response in my soap client but the message is not reaching to Integration Engine. It is failing with above error. On CC monitoring for SOAP adapter it shows call completed successfully. But when I use the mesage ID from CC monitoring in Message monitoring i get the error as  shown above in Audit log.
    I have checked for Roles attached to my user on DEV and Test systems , I have same roles on both systems.
    Any inputs to solve this problem will be very helpful to me. Let me know which service users i need to check for this issue?
    Thanks in Advance,
    XI Queries.

    Hi Pinang,
    Thanks for input.
    1) Check Role -SAP_XI_APPL_SERV_USER is there in XIAPPLUSER or not.
    ->Done. Its Ok.
    2) check tyour port entry is like J2EE port 5<System no> or not.
    ->Done. Its Ok.
    3) If the error in Adapter Engine
    then have a look into SAP note- 821026, Delete the Adapter Engine cache in transaction SXI_CACHE Goto --> Cache.
    ->This note refers in case it happens with high load. I am just sending a small request and no one else is using / testing this interface. So no high load.
    4) Check password for user XIISUSER
    -> Basis team said they checked for all Xi users and they are not locked.
    5) Check password for user XIAFUSER
    -> Basis team said they checked for all Xi users and they are not locked.
    Any other hints will be helpful.
    Kind Regards,
    Xi Queries.

  • Howto access clustered direct binding Endpoint from OSB - SOA?

    Hello,
    I have one question in a clustered osb / soa envoirement. I a single instance to access a soa endpoint from the osb I use
    t3://serverip:8001/default/myProject/showUserDirectBinding
    what do I have to to if I have a a Cluster?
    I know i the WLS Console I have to add the Cluster Adress serverip1:8001 serverip2:8001
    But what to configure in the OSB Direct Binding?
    t3://serverip1:8001/default/myProject/showUserDirectBinding, t3://serverip2:8001/default/myProject/showUserDirectBinding ?
    Thanks you for you help
    Kind Regards
    Ben

    Hello Anuj,
    thank you for the quick response. I was just updating my post. My expectation is, that there has to be a cluster adress defined. Because when using lot of nodes, like 100+ or attaching new nodes to the cluster, i would be a bad way to always be forced to update the projects and deploy again.
    For setting the cluster adress i have found the documentation :
    http://download.oracle.com/docs/cd/E14571_01/core.1111/e12036/extend_soa.htm#insertedID18
    It is some how missleading. I can enter multiple cluster adresses here, why should I do this? How is this adress propagated to the nodes? And is this port custom? Or is this just a List of the Cluster Nodes, but where would be my cluster adress then?
    A Simpler Question, if I enter to my osb cluster the clusteraddress osbfoobar:1234 would the cluster(osb1:8001, osb2:8001) be accessable through osbfoobar:1234?
    Kind Regards
    Ben

  • Router Linksys RV082, RV016 https problems

    Problemas con Cisco Linksys RV082 y RV016, en paginas que manejan https, ejemplo www.logmein.com al iniciar sesión me regresa de nuevo a la pagina inicia de inicio de sesión, al investigar encuentro que es una posible suplantación de identidad, por la fucnión que tiene el RV de balancear la carga ya que cambia de un modem a otro modem que este mas libre, esto es uno de los problemas con los que me encontrado y aun no he podido solucionar en un buen tiempo, conocera alguien como arreglar este problemon.
    Gracias de antemano.
    Problems with Linksys RV082 and RV016 Cisco in pages that handle https, eg when logging www.logmein.com returns me back to the Home page of login, I find it when investigating a possible identity theft, the fucnión VR has the load balance as it changes from a modem to another modem that is more free, this is one of the problems I found and I have not been solved in a while, someone will know how to fix this big problem .
    Thanks in advance.

    Enrique,
    On the RV082:
    System Management-> Dual-WAN
    Change to Load Balance (Auto Mode) At the bottom of the page you will now see Protocol Binding
    Select HTTPS [TCP/443~443] from the dropdown
    Select the source IP or IP range: (i.e. 192.168.1.100 to 150) This will bind HTTPS for any LAN device that uses an IP in this range.
    Select the Destination IP: Usually leave at 0.0.0.0 to 0.0.0.0 for ALL destinations
    Select the Interface to bind the protocol to (WAN1 or WAN2)
    Check the Enable box and Add to list. Save Settings at bottom of page.
    On the RV016:
    System Management-> Multi-WAN
    Look for Interface Setting and select Edit for WAN1.
    Follow the steps from above.
    Please let us know if this helps or if you need further assistance.

  • Hyperlink to https problem

    I am trying to link from a Muse site to a FormsCentral form - the link for which is https.
    The link works correctly when directly pasted to a browser (ie10 or Firefox) - so not a problem at the FormsCentral end.
    When linking from Muse it takes users to the Adobe Account Log in page.
    I do not want my potential users to have to Log in or create an account, for what should be an open https link.
    Any ideas why this may be happening.
    Doesn't appear to be a problem if I create a page in Dreamweaver (6 or CC) and create a hyperlink - but then, of course, it's no longer compatible with rest of the Muse site.
    I can, and will, embed the FormsCentral form, without a problem - so that's a fix - but I still don't understand WIHIH
    Have I missed something?

    I found the answer to my problem. I was not creating a handler for the incoming requests. I was supposed to use
    return server.createContext("/customerservice/customer", new HttpHandler(...));
    instead of
    return server.createContext("/customerservice/customer");
    It looks like the interface Endpoint is implemented by the EndpointImpl class in Apache's CFX. When calling "publish(address)" the method called in EndpointImpl creates a ServerImpl that will be the service server. If I call "publish(server context)" nothing happens, because EndpointImpl doesn't override that method also.

  • Binding to Active Directory Problem. I am a Newb! probably something stupid

    Hey All,
    Trying to get my apple xsever to join our windows domain. I got it to bind and the user accounts show up on the machine but then it askes me to join it to the Active Directory Kerberos realm. I am confused.
    what i am trying to do is joint it to the windows domain for my admin account on the actual server and then set up local user accounts on the machine so when my mac users log in they authenticate using the local mac account and not the windows domain account. Does this make sense? From what i read macs authenticate using the local account before going to the windows account which is what i want. I am a total newb to this so forgive me for the stupid questions.
    cheers all,
    jess

    Hi
    set up the xserve as an Open directory Master
    will it place nice on the network
    with the rest of the windows servers that we have.
    There should be no problem in doing this. All you need to do is decide whether you want your Mac Server to run its own DNS Service or to use the existing DNS service being provided by the AD Server. Open Directory Master requires DNS Services running somewhere.
    i just want to have a mac studio of about 35 people be
    kind of an island within a sea of windows users. If
    there can be cross over there then fine.. but really
    i want the mac to work well with the apple server and
    if i can get the windows clients hooked up also then
    fine.
    There should be no problem with this.
    When you say studio do you mean a graphics design studio? Or are you talking about a video production studio? If the answer is yes to either one or both then perhaps a simple file server would do. An Open Directory Master is OK in this environment but your network needs to be up to job. Ideally gigabit ethernet certainly for video production and also if your studio are heavy photoshop users. You could get away with 100Base-T but with 35 heavy users editing files stored on the server as well as Home folders it may be a bit too much. If this is the situation in your studio you would be better placed working locally and saving the files back to the server at the end of the day. You would set up your users with names and passwords in the OD directory node. Your studio can use those account details to log on to the server to access share points but still work locally if they need to. If you start windows services on the mac server then there should be no reason for windows clients to access share points on the mac server as well. Be careful how you configure windows services as you already have existing PC servers on the network.
    As you have already stated your aim is to keep the macs completely separate from the PCs then consider connecting all your macs to a separate switch and have them running of a different IP address range and subnet mask. You could then use an intervening router to handle traffic between the two networks, this way you control cross platform access to shared resources. If you understand networks, routers etc then you should be able to accomplish this without too much trouble. Again searching the Server forums should give you plenty of ideas and advice on the best way to achieve what you want. As ever defining and deciding what you want you want the server to do is half the problem.

  • HTTP Problem

    hi all
    i m having 9i application server 9.0.2.0.1
    as per oracle documentation there is a problem with this version in http service
    once the service starts,it remains in the memory untill we manually kill it
    even though it becomes idle for a long time or even application closed.......
    is there any solution for that?
    can any one having the idea wht to do in this situation?
    thanx
    Viral

    Hi,
    do you have a bug number so I can look up if there is a fix?
    Frank

  • Bind variable and parameter problem

    Hello, I'm migrating a complex report from Oracle Report to BI Publisher. Now I have some problems with the bind variables. In order to explain the question clearly, I simplified the code as below. The value of e1 and sum1 can be generated correctly. The problem is that the value of e2 can not be generated.
    <dataTemplate name="dt" defaultPackage="dt">
         <properties>
              <property name="xml_tag_case" value="upper"/>
         </properties>
         <parameters>
         </parameters>
         <dataQuery>
              <sqlStatement name="q1">
                   <![CDATA[
    select     col1 c1, col2 c2, function1(:c1) e1,
    from     table1
    ]]>
              </sqlStatement>
              <sqlStatement name="q2">
                   <![CDATA[
    select     col3 c3, col4 c4, function2(:sum1) e2,
    from     table2
    ]]>
              </sqlStatement>
         </dataQuery>
         <dataStructure>
              <group name="g1" dataType="varchar2" source="q1">
                   <element name="e1" dataType="number" value="e1"/>
              </group>
              <group name="g2" dataType="varchar2" source="q2">
                   <element name="sum1" function="sum" dataType="number" value="g1.e1"/>
                   <element name="e2" dataType="number" value="e2"/>
              </group>
         </dataStructure>
    </dataTemplate>I tried to replace the bind variable ":sum1" in the function2(:sum1) with a value, e.g. 5. And e2 can be generated correctly. So my guess is that ":sum1" is not correctly parsed to function2.
    Please help if you have any idea of what may cause the problem.
    Thank you in advance.

    Thank you. Now the problem is clear and it relates to the conversion of the report.
    I posted a new question in Report conversion compatibility problem (argument, formula and sum column) .

  • AP Telnet & http problem

    i have cisco AP 1131AG-E-K9. i am getting a problem in it, that i cant telnet the device from my pc and when i try to open in http its also not responding.
    axcept that i can update the ios of device and can give the ip to interfaces and also configured the telnet but still there is no telnet and http working.
    this erroe comes when i telnet the device.
    could not open connection to the host, on port 23: connection failed.

    i have the console connection with AP and this is the show run and show version of the AP.
    ap#show run
    Building configuration...
    Current configuration : 1414 bytes
    version 12.3
    no service pad
    service timestamps debug datetime msec
    service timestamps log datetime msec
    service password-encryption
    hostname ap
    enable secret xxx
    ip subnet-zero
    no aaa new-model
    power inline negotiation prestandard source
    username Cisco password xxx
    bridge irb
    interface Dot11Radio0
    no ip address
    no ip route-cache
    shutdown
    speed
    station-role root
    bridge-group 1
    bridge-group 1 subscriber-loop-control
    bridge-group 1 block-unknown-source
    no bridge-group 1 source-learning
    no bridge-group 1 unicast-flooding
    bridge-group 1 spanning-disabled
    interface Dot11Radio1
    no ip address
    no ip route-cache
    shutdown
    speed
    station-role root
    bridge-group 1
    bridge-group 1 subscriber-loop-control
    bridge-group 1 block-unknown-source
    no bridge-group 1 source-learning
    no bridge-group 1 unicast-flooding
    bridge-group 1 spanning-disabled
    interface FastEthernet0
    no ip address
    no ip route-cache
    duplex auto
    speed auto
    bridge-group 1
    no bridge-group 1 source-learning
    bridge-group 1 spanning-disabled
    hold-queue 160 in
    interface BVI1
    ip address 192.168.1.1 255.255.255.0
    no ip route-cache
    ip http server
    no ip http secure-server
    ip http help-path http://www.cisco.com/warp/public/779/smbiz/prodconfig/help/eag
    control-plane
    bridge 1 route ip
    line con 0
    line vty 0 4
    password xxx
    login
    end
    ap#show sh tac ecq
    ap#sh tech-support
    ------------------ show version ------------------
    Cisco IOS Software, C1130 Software (C1130-K9W7-M), Version 12.3(8)JA2, RELEASE SOFTWARE (fc1)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2006 by Cisco Systems, Inc.
    Compiled Tue 30-May-06 18:05 by pwade
    ROM: Bootstrap program is C1130 boot loader
    BOOTLDR: C1130 Boot Loader (C1130-BOOT-M) Version 12.3(7)JA1, RELEASE SOFTWARE (fc1)
    ap uptime is 2 minutes
    System returned to ROM by power-on
    System image file is "flash:/c1130-k9w7-mx.123-8.JA2"
    This product contains cryptographic features and is subject to United
    States and local country laws governing import, export, transfer and
    use. Delivery of Cisco cryptographic products does not imply
    third-party authority to import, export, distribute or use encryption.
    Importers, exporters, distributors and users are responsible for
    compliance with U.S. and local country laws. By using this product you
    agree to comply with applicable laws and regulations. If you are unable
    to comply with U.S. and local laws, return this product immediately.
    A summary of U.S. laws governing Cisco cryptographic products may be found at:
    http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
    If you require further assistance please contact us by sending email to
    [email protected].
    cisco AIR-AP1131AG-A-K9 (PowerPCElvis) processor (revision A0) with 24566K/8192K bytes of memory.
    Processor board ID FOC09501JTE
    PowerPCElvis CPU at 262Mhz, revision number 0x0950
    Last reset from power-on
    1 FastEthernet interface
    2 802.11 Radio(s)
    32K bytes of flash-simulated non-volatile configuration memory.
    Base ethernet MAC Address: 00:16:46:F2:B3:A4
    Part Number : 73-8962-09
    PCA Assembly Number : 800-24818-08
    PCA Revision Number : A0
    PCB Serial Number : FOC09501JTE
    Top Assembly Part Number : 800-25544-06
    Top Assembly Serial Number : FHK1001C02E
    Top Revision Number : A0
    Product/Model Number : AIR-AP1131AG-A-K9
    Configuration register is 0xF

  • Mangled file downloads over http problem in 10g

    I have a web app running in an OC4J stand alone 10.1.3.3 and am having a problem with downloading files over http. Its a struts2 app whose file downloading impl is easy to use and standard code for writing to an http servlet response output stream.
    Using the firefox plugin for Live Headers I can see that the headers are correctly added to the servlet response and I do get the file I want. However the file has been mangled with binary output around the text. This is the case for txt, word, or any other file.
    This problem does not occur in Jetty or Tomcat. I've also ruled out file corruption while going in/out of the database since I can upload a file when running oc4j, turn off oc4j, start up my app in Jetty and retrieve the same file just fine.
    The mime types are all accounted for and the problem exists regardless if I use a specific content type or just application/download. My browsers (firefox and ie) also recognize all files from the content disposition value "attachment; filename=myfilename.ext". Its just the file content that some how has been wrecked on the way out of the container.
    Has anyone experienced this? I only found one or two unanswered posts elsewhere.
    How can this be mitigated?
    Thanks in advance.
    Andrew

    Figured it out when I realized it was in fact the data coming from the database that was corrupt. There were some older posts on the hibernate website that pointed to a single property that needs to go in the hibernate.properties file: hibernate.jdbc.use_streams_for_binary=true. Without it, Oracle returns the Blob locator consistently 86 bytes in length and therefore bad binary.

Maybe you are looking for

  • Make a digital signature required

    I am using Lifecycle Designer, and we are on version 8.  I have looked through the Acrobat 8 PDF bible, and have also been searching the web but cannot figure out a way to do what I want.  I see a lot of scripts, where you can set up a submit button

  • CHANGES STATES WHEN MOUSE ROLL OVER A DIFERENT OBJECT

    Hello, i need to do the explained at the imatge with Muse. When the muse ROLL OVER the image, the text buttons at the left column, must change the appearence,To indicate who is the artist of the photo.  the same whit the image 2, and 3 and 4.... you

  • H.264 HD MOV file in dvd studio not importing?

    I have an H.264 HD video (1,440 x 1080, 16 x 9). I was able to import into FCp and export out to quicktime successfully yet when I attempt to import this file into DVD Studio it shuts down as it tries to import, throwing an error? Any ideas.

  • Export pdf subscription problem

    I need help solving a subscription issue. I purchased Export Pdf and my credit card has been billed (almost 2 weeks ago). I have no access to program nor does it show up on my subscriptions in my account. I received no email confirmation. I cant find

  • XI Content Server directory

    hi,    I am doing a EDI scenario using Itemfields Conversion agent(Content master).It is a FILE-XI-R/3 scenario. I have done the necessary configurations in the Conversion agent. I need to deploy this in the "XI Content Server directory" Can anyone t