Requests Not Reaching Servlet

Hi Guys
I have a servlet that reads a file from the hard disk and sends it to the servlet output stream. Once the servlet is file is placed into the stream it is deleted from the hard disk. I am load testing this using Apache JMeter. The problem I have is that not all the requests seem to be reaching the servlet. For example, I send 100 requests through and only 80 seem to get through. I know that the requests do not come through because of logging and the fact that the files are not deleted.
I thought at first it was an issue with tomcat as it only starts to fail around 5-10 requests a second, but I have a webservice on the same server that can deal with 10+ a second. Could it possibly be related to way the servlet has been implemented?
Does anyone have any other ideas why this could be?

I suggest using synchronize on the entire block of code to see if the problem goes away before tackling any performance issues (thereby dealing with one issue at a time). If it fixes it, you can look at only putting the synchronize block around a critical subsection of code. I'm not familiar enought with synchronization and related issues to advice any further.
Reading a file via a servlet for each user's request doesn't sound very efficient. A web server such as Apache is designed to serve up static content (files) efficiently. You might read up on how it does so rather than use tomcat (apache uses tomcat to server up dynamic pages). Again, I'm not familiar enough with this topic to say much more about it.

Similar Messages

  • SIP Registration Request not reaching provider

    I have a home lab setup and recently decided to add PSTN access via a SIP trunk and termination. I got the applicable information from the provider, set up the IOS configuration, but I'm not registering. I checked the CCSIP messages logs, no response. I talked to the provider, they are not getting my messages at all. Other traffic to and from the internet passes just fine (including SSL VPN). 
    I've talked to my ISP many times, and they continually insist they do not block any traffic except port 25. 
    Here is the applicable configuration:
     sip
      bind control source-interface Vlan1
      bind media source-interface Vlan1
      session transport tcp
      header-passing
      no call service stop
    sip-ua
     credentials username XXXXXXXXX password 7 XXXXXXXXXXX realm XXXX
     authentication username XXXXXXXXXXX password 7 XXXXXXXXXXXX
     registrar ipv4:XX.XX.XX.XXX expires 3600
     sip-server ipv4:XX.XX.XX.XXX
    (the source button puts the whole post in source tags... annoying)
    And here's the debug output from ccsip all:
    Apr 10 21:17:33.091: //-1/xxxxxxxxxxxx/SIP/Info/sipSPISetDateHeader: Converting TimeZone CDT to SIP default timezone = GMT
    Apr 10 21:17:33.091: //594/000000000000/SIP/Info/sipSPISendRegister: Associated container=0x4F7E3670 to Register
    Apr 10 21:17:33.091: //594/000000000000/SIP/Transport/sipSPISendRegister: Sending REGISTER to the transport layer
    Apr 10 21:17:33.091: //594/000000000000/SIP/Transport/sipSPIGetSwitchTransportFlag: Return the Global configuration, Switch Transport is FALSE
    Apr 10 21:17:33.091: //594/000000000000/SIP/Transport/sipSPITransportSendMessage: msg=0x4F3BB008, addr=XX.XX.XX.XX, port=5060, sentBy_port=0, local_addr=10.XX.XX.XX, is_req=1, transport=1, switch=0, callBack=0x0
    Apr 10 21:17:33.091: //594/000000000000/SIP/Transport/sipSPITransportSendMessage: Proceedable for sending msg immediately
    Apr 10 21:17:33.091: //594/000000000000/SIP/Transport/sipTransportLogicSendMsg: switch transport is 0
    Apr 10 21:17:33.091: //-1/xxxxxxxxxxxx/SIP/Transport/sipConnectionManagerGetConnection: connection required for raddr:Xx.XX.XX.XX, rport:5060 with laddr:Xx.XX.XX.Xx
    Apr 10 21:17:33.091: //594/000000000000/SIP/Transport/sipTransportLogicSendMsg: Set to send the msg=0x4F3BB008
    Apr 10 21:17:33.091: //-1/xxxxxxxxxxxx/SIP/Transport/sipTransportPostSendMessage: Posting send for msg=0x4F3BB008, addr=XX.XX.XX.XX, port=5060, local_addr=10.Xx.XX.XX, connId=3 for UDP
    I took out the message because I don't think it's relevant, and has too many IPs to XX out :)
    Apr 10 21:17:37.091: //594/000000000000/SIP/Error/act_sent_register_wait_100: act_sent_register_wait_100: Out of retries
    Apr 10 21:17:37.091: //-1/xxxxxxxxxxxx/SIP/Info/sipSPIDecrementOverloadCount: Count:Local 0 Global 1
    Apr 10 21:17:37.091: //594/000000000000/SIP/Error/ccsip_api_register_result_ind: Message Code Class 4xx Method Code 100 received for REGISTER
    Apr 10 21:17:37.091: //-1/xxxxxxxxxxxx/SIP/Info/ccsip_register_reset_dns_cache: CCSIP_REGISTER:: registrar 0 DNS resolved addr reset
    Apr 10 21:17:37.091: //594/000000000000/SIP/Error/ccsip_api_register_result_ind: SIP Registration Retries Exhausted
    Apr 10 21:17:37.091: //594/000000000000/SIP/Info/sipSPIRegPthruProcessResponse: Processing response w/ resp code == 408
    Apr 10 21:17:37.091: //-1/xxxxxxxxxxxx/SIP/Info/sipSPIGetRPCBFromRCB: Retreiving RCB [0x4FA37D28] from RPCB [0x0]
    Apr 10 21:17:37.091: //594/000000000000/SIP/Error/sipSPIRegPthruProcessResponse: Error NO RPCB
    Apr 10 21:17:37.091: //-1/xxxxxxxxxxxx/SIP/Info/ccsipRegisterStartRCBTimer: Starting timer for pattern XXXXXXXX for 180 seconds
    Apr 10 21:17:37.091: //-1/xxxxxxxxxxxx/SIP/Info/sipSPIDeleteContextFromTable: Context for key=[576] removed.
    Apr 10 21:17:37.091: //594/000000000000/SIP/Info/sipSPIUdeleteCcbFromUACTable: ****Deleting from UAC table.
    Apr 10 21:17:37.091: //594/000000000000/SIP/Info/sipSPIUdeleteCcbFromTable: Deleting from table. ccb=0x4B6CC660 key=AD7E2293-C01A11E3-80AEE452-E7A949D0
    Apr 10 21:17:37.091: //594/000000000000/SIP/Info/sipSPIFlushEventBufferQueue: There are 0 events on the internal queue that are going to be free'd
    Apr 10 21:17:37.091: //594/000000000000/SIP/Info/sipSPI_ipip_free_codec_profile: Codec Profiles Freed
    Apr 10 21:17:37.091: //594/000000000000/SIP/Info/ccsip_offer_ans_delete:
    Apr 10 21:17:37.091: //594/000000000000/SIP/Info/ccsip_iwf_delete:
    Apr 10 21:17:37.091: //594/000000000000/SIP/Info/sipSPIUfreeOneCCB: Freeing ccb 4B6CC660

    Nevermind; I downloaded a SIP phone app for my smart phone, got it to connect in the same network. After that, I put the gateway in a DMZ and it started working. Not entirely sure why it was required, but hey, it works!
    Cheers

  • ERROR       partner 'localhost:sapgw00' not reached

    Hi,
    i have BI system with portal. when i am trying to connetct portal with url http://<hostnaem>/<ip>:<portnumber>/irj/portal ---it is displaying as 500 internel server error with java.lang.NullPointerException: null .
    i am keeping  here two logfiles 1.dev_jrfc.trc 2.defaulttrace.trc here under for your reference.
    1..dev_jrfc.trc  --log
    Error> occured  >Tue Feb 17 04:52:46,483<
    RfcException:
        message: Connect to SAP gateway failed
    Connect_PM  TYPE=A ASHOST=localhost SYSNR=00 GWHOST=localhost GWSERV=sapgw00 PCS=1
    LOCATION    CPIC (TCP/IP) on local host with Unicode
    ERROR       partner 'localhost:sapgw00' not reached
    TIME        Tue Feb 17 04:52:46 2009
    RELEASE     700
    COMPONENT   NI (network interface)
    VERSION     38
    RC          -10
    MODULE      nixxi.cpp
    LINE        2513
    DETAIL      NiPConnect
    SYSTEM CALL connect
    ERRNO       146
    ERRNO TEXT  Connection refused
    COUNTER     10
        Return code: RFC_FAILURE(1)
        error group: 102
        key: RFC_ERROR_COMMUNICATION
    Error> occured  >Tue Feb 17 04:52:46,503<
    RfcException:
        message: Connect to SAP gateway failed
    Connect_PM  TYPE=A ASHOST=localhost SYSNR=00 GWHOST=localhost GWSERV=sapgw00 PCS=1
    LOCATION    CPIC (TCP/IP) on local host with Unicode
    ERROR       partner 'localhost:sapgw00' not reached
    TIME        Tue Feb 17 04:52:46 2009
    RELEASE     700
    COMPONENT   NI (network interface)
    VERSION     38
    RC          -10
    MODULE      nixxi.cpp
    LINE        2513
    DETAIL      NiPConnect
    SYSTEM CALL connect
    ERRNO       146
    ERRNO TEXT  Connection refused
    COUNTER     12
        Return code: RFC_FAILURE(1)
        error group: 102
        key: RFC_ERROR_COMMUNICATION
    2.DefaultTrace.trc --log
    <!LOGHEADER[START]/>
    <!HELP[Manual modification of the header may cause parsing problem!]/>
    <!LOGGINGVERSION[1.5.3.7185 - 630]/>
    <!NAME[./log/defaultTrace.trc]/>
    <!PATTERN[defaultTrace.trc]/>
    <!FORMATTER[com.sap.tc.logging.ListFormatter]/>
    <!ENCODING[UTF8]/>
    <!FILESET[14, 20, 10485760]/>
    <!PREVIOUSFILE[defaultTrace.13.trc]/>
    <!NEXTFILE[defaultTrace.15.trc]/>
    <!LOGHEADER[END]/>
    #1.5 #00144FAC097C006C000000550000723800045E43F3A75D87#1229545850494#com.sap.engine.services.security#sap.com/tcjetrace~app#com.sap.engine.services.security#J2EE_GUEST#0##n/a##2f24ad50cc6c11dd974500144fac097c#SAPEngine_Application_Thread[impl:3]_9##0#0#Error#1#/System/Security#Java#security_3031##Cannot get run_as identity for the security role "admnistrator".#1#admnistrator#
    #1.5 #00144FAC097C006C000000560000723800045E43F3A776EC#1229545850500#com.sap.engine.services.security#sap.com/tcjetrace~app#com.sap.engine.services.security#J2EE_GUEST#0##n/a##2f24ad50cc6c11dd974500144fac097c#SAPEngine_Application_Thread[impl:3]_9##0#0#Error#1#/System/Audit#Java###Exception #1#com.sap.engine.services.security.exceptions.BaseSecurityException: Cannot get run_as identity for the security role "admnistrator".
         at com.sap.engine.services.security.roles.SecurityRoleContextImpl.getRunAsIdentity(SecurityRoleContextImpl.java:662)
         at com.sap.engine.services.security.roles.SecurityRoleReference.getRunAsIdentity(SecurityRoleReference.java:183)
         at com.sap.engine.services.servlets_jsp.server.runtime.context.SessionServletContext.getSubject(SessionServletContext.java:598)
         at com.sap.engine.services.servlets_jsp.server.runtime.context.ApplicationContext.getSubject(ApplicationContext.java:893)
         at com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents.destroyServlets(WebComponents.java:720)
         at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadDestroyer.run(ApplicationThreadDestroyer.java:62)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Caused by: com.sap.security.api.PrincipalNotAccessibleException: Connect to SAP gateway failed
    Connect_PM  TYPE=A ASHOST=localhost SYSNR=00 GWHOST=localhost GWSERV=sapgw00 PCS=1
    LOCATION    CPIC (TCP/IP) on local host with Unicode
    ERROR       partner 'localhost:sapgw00' not reached
    TIME        Wed Dec 17 15:30:50 2008
    RELEASE     700
    COMPONENT   NI (network interface)
    VERSION     38
    RC          -10
    MODULE      nixxi.cpp
    LINE        2513
    DETAIL      NiPConnect
    SYSTEM CALL connect
    ERRNO       146
    ERRNO TEXT  Connection refused
    COUNTER     16
         at com.sap.security.core.imp.AbstractPrincipal.getPrincipalDatabagValues(AbstractPrincipal.java:1787)
         at com.sap.security.core.imp.Principal.setDirectChildrenInternal(Principal.java:501)
         at com.sap.security.core.imp.AbstractPrincipalSet.getUserMembersInternal(AbstractPrincipalSet.java:393)
         at com.sap.security.core.imp.AbstractPrincipalSet.getUserMembers(AbstractPrincipalSet.java:210)
         at com.sap.security.core.imp.AbstractPrincipalSet.getUserMembers(AbstractPrincipalSet.java:129)
         at com.sap.security.core.imp.GroupWrapper.getUserMembers(GroupWrapper.java:29)
         at com.sap.security.core.server.userstore.GroupInfoUME.engineGetUsersInGroup(GroupInfoUME.java:181)
         at com.sap.security.core.server.userstore.GroupContextUME.engineGetUsersOfGroup(GroupContextUME.java:379)
         at com.sap.engine.services.security.userstore.context.GroupContext.getUsersOfGroup(GroupContext.java:191)
         at com.sap.engine.services.security.roles.SecurityRoleContextImpl.getUserFromGroup(SecurityRoleContextImpl.java:775)
         at com.sap.engine.services.security.roles.SecurityRoleContextImpl.getUserFromRole(SecurityRoleContextImpl.java:763)
         at com.sap.engine.services.security.roles.SecurityRoleContextImpl.generateValidRunAsPrincipal(SecurityRoleContextImpl.java:719)
         at com.sap.engine.services.security.roles.SecurityRoleContextImpl.getRunAsIdentity(SecurityRoleContextImpl.java:610)
         ... 9 more
    #1.5 #002128049C66006D00000049000023EF0004631BF918D17E#1234871701262#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#sap.com/irj#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#J2EE_GUEST#0##n/a##ce792bd0fce911dda3de002128049c66#SAPEngine_Application_Thread[impl:3]_12##0#0#Error##Plain###application [irj] Processing HTTP request to servlet [gateway] finished with error. The error is: java.lang.NullPointerException
         at com.sap.portal.navigation.Gateway.service(Gateway.java:126)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    #1.5 #002128049C66006D0000004B000023EF0004631BF918E565#1234871701267#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#sap.com/irj#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#J2EE_GUEST#0##n/a##ce792bd0fce911dda3de002128049c66#SAPEngine_Application_Thread[impl:3]_12##0#0#Error#1#/System/Server/WebRequests#Plain###application [irj] Processing HTTP request to servlet [gateway] finished with error.
    The error is: java.lang.NullPointerException: null
    Exception id: [002128049C66006D00000049000023EF0004631BF918D17E]#
    #1.5 #002128049C66007200000033000023EF0004631BFBCDBE0A#1234871746674#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#sap.com/irj#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#J2EE_GUEST#0##n/a##e98aa520fce911ddb1ff002128049c66#SAPEngine_Application_Thread[impl:3]_18##0#0#Error##Plain###application [irj] Processing HTTP request to servlet [gateway] finished with error. The error is: java.lang.NullPointerException
         at com.sap.portal.navigation.Gateway.service(Gateway.java:126)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    #1.5 #002128049C66007200000035000023EF0004631BFBCFAC76#1234871746800#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#sap.com/irj#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#J2EE_GUEST#0##n/a##e98aa520fce911ddb1ff002128049c66#SAPEngine_Application_Thread[impl:3]_18##0#0#Error#1#/System/Server/WebRequests#Plain###application [irj] Processing HTTP request to servlet [gateway] finished with error.
    The error is: java.lang.NullPointerException: null
    Exception id: [002128049C66007200000033000023EF0004631BFBCDBE0A]#
    #1.5 #002128049C66006700000026000023EF0004631DEA2AFCFF#1234880040729#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#sap.com/irj#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#J2EE_GUEST#0##n/a##392f0090fcfd11ddbd79002128049c66#SAPEngine_Application_Thread[impl:3]_26##0#0#Error##Plain###application [irj] Processing HTTP request to servlet [gateway] finished with error. The error is: java.lang.NullPointerException
         at com.sap.portal.navigation.Gateway.service(Gateway.java:126)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    #1.5 #002128049C66006700000028000023EF0004631DEA2B0507#1234880040731#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#sap.com/irj#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#J2EE_GUEST#0##n/a##392f0090fcfd11ddbd79002128049c66#SAPEngine_Application_Thread[impl:3]_26##0#0#Error#1#/System/Server/WebRequests#Plain###application [irj] Processing HTTP request to servlet [gateway] finished with error.
    The error is: java.lang.NullPointerException: null
    Exception id: [002128049C66006700000026000023EF0004631DEA2AFCFF]#
    please help on this issue

    Hi,
    Somewhere the address is not getting resolved. I would suggest you to enter IP address instead of the hostname in the RFC (SM59).
    Hope this helps.
    Manoj Chintawar

  • Sap-nw:3300 not reached error in gateway

    Dear experts,
    I am facing a strange problem after a successful installation of netweaver Java+abap.
    when i start the server i found this error
    **** ERROR file opened at 20100131 114242 Arab Standard T, SAP-REL 700,0,113 RFC-VER 3 911150 MT-SL
    T:2844 Error in program 'igsmux': ======> CPIC-CALL: 'SAP_CMNOREGTP'
    LOCATION    CPIC (TCP/IP) on local host
    ERROR       partner 'sap-nw:3300' not reached
    TIME        Sun Jan 31 11:42:42 2010
    RELEASE     700
    COMPONENT   NI (network interface)
    VERSION     38
    RC          -10
    MODULE      nixxi.cpp
    LINE        2770
    DETAIL      NiPConnect2
    SYSTEM CALL connect
    ERRNO       10061
    ERRNO TEXT  WSAECONNREFUSED: Connection refused
    COUNTER     1
    i ignore the error and i tried to login
    after successful login to the portal server when i access the user administration tab. the explorer show
    SAP WebAS Engine is starting...
    If this state does not change within a few minutes,
    please contact your system administrator.
    Check the recommendations in SAP Notes: 943498, 764417
    Message: Dispatcher running but no server connected!
    and the server turns to yellow again when it turns to green again
    i checked dev_rd
    Sun Jan 31 13:11:15 2010
    ***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
    *** ERROR => NiIRead: SiRecv failed for hdl 9 / sock 268
        (SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:1205) [nixxi.cpp    4424]
    ***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
    *** ERROR => NiIRead: SiRecv failed for hdl 6 / sock 304
        (SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:1148) [nixxi.cpp    4424]
    ***LOG S23=> GwIDisconnectClient, client disconnected (006) [gwxxrd.c     11592]
    ***LOG S74=> GwIDisconnectClient, client disconnected ( sap-nw) [gwxxrd.c     11603]
    ***LOG S0R=> GwIDisconnectClient, client disconnected () [gwxxrd.c     11638]
    ***LOG S0I=> GwIDisconnectClient, client disconnected ( jlaunch) [gwxxrd.c     11651]
    *  LOCATION    SAP-Gateway on host sap-nw / sapgw00
    *  ERROR       connection to partner 'sap-nw:1148' broken
    *  TIME        Sun Jan 31 13:11:15 2010
    *  RELEASE     700
    *  COMPONENT   NI (network interface)
    *  VERSION     38
    *  RC          -6
    *  MODULE      nixxi.cpp
    *  LINE        4424
    *  DETAIL      NiIRead
    *  SYSTEM CALL recv
    *  ERRNO       10054
    *  ERRNO TEXT  WSAECONNRESET: Connection reset by peer
    *  COUNTER     232
    ***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
    *** ERROR => NiIRead: SiRecv failed for hdl 10 / sock 256
        (SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:1206) [nixxi.cpp    4424]
    ***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
    *** ERROR => NiIRead: SiRecv failed for hdl 11 / sock 244
        (SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:1208) [nixxi.cpp    4424]
    ***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
    *** ERROR => NiIRead: SiRecv failed for hdl 12 / sock 232
        (SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:1207) [nixxi.cpp    4424]
    then i try to login again with the browser it give me
    Portal Runtime Error
    An exception occurred while processing your request
    Exception id: 01:27_31/01/10_6192950
    See the details for the exception ID in the log file.
    any help would be appreciated
    <br>
    i also wanted to add that telnet 3300 works fine ping to host name is ok
    my os win2003 sap 2004s sr3
    Edited by: ebrahime on Jan 31, 2010 11:37 AM

    thanks for your reply. i wanted to add 2 thing after the installation the password i entered in installation was not working  for all the super users that is why i had to delete SAP* from database and change the j2ee_Admin password.
    you mentioned that the java stack is unable to communicate with abap stack but i can login to portal by j2ee_admin user. but when i go to identity management then it give the error i gave you earlier.
    any way the dev_w0 file contents is bellow
    trc file: "dev_w0", trc level: 1, release: "700"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, MJ

    B Tue Feb 02 10:23:01 2010
    B  create_con (con_name=R/3)
    B  Loading DB library 'F:\usr\sap\ENP\DVEBMGS00\exe\dbdb6slib.dll' ...
    B  Library 'F:\usr\sap\ENP\DVEBMGS00\exe\dbdb6slib.dll' loaded
    B  Version of 'F:\usr\sap\ENP\DVEBMGS00\exe\dbdb6slib.dll' is "700.08", patchlevel (0.144)
    C  DbSl trace SM50: switch request to level 1
    B  New connection 0 created
    M sysno      00
    M sid        ENP
    M systemid   562 (PC with Windows NT)
    M relno      7000
    M patchlevel 0
    M patchno    144
    M intno      20050900
    M make:      multithreaded, Unicode, 64 bit, optimized
    M pid        1604
    M
    M  kernel runs with dp version 232000(ext=109000) (@(#) DPLIB-INT-VERSION-232000-UC)
    M  length of sys_adm_ext is 576 bytes
    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 1604) [dpxxdisp.c   1305]
    I  MtxInit: 30000 0 0
    M  DpSysAdmExtCreate: ABAP is active
    M  DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
    M  DpShMCreate: sizeof(wp_adm)          25168     (1480)
    M  DpShMCreate: sizeof(tm_adm)          5652128     (28120)
    M  DpShMCreate: sizeof(wp_ca_adm)          24000     (80)
    M  DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    M  DpCommTableSize: max/headSize/ftSize/tableSize=500/16/552064/552080
    M  DpShMCreate: sizeof(comm_adm)          552080     (1088)
    M  DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    M  DpShMCreate: sizeof(slock_adm)          0     (104)
    M  DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    M  DpShMCreate: sizeof(file_adm)          0     (72)
    M  DpShMCreate: sizeof(vmc_adm)          0     (1864)
    M  DpShMCreate: sizeof(wall_adm)          (41664/36752/64/192)
    M  DpShMCreate: sizeof(gw_adm)     48
    M  DpShMCreate: SHM_DP_ADM_KEY          (addr: 0000000010E70050, size: 6348592)
    M  DpShMCreate: allocated sys_adm at 0000000010E70050
    M  DpShMCreate: allocated wp_adm at 0000000010E72150
    M  DpShMCreate: allocated tm_adm_list at 0000000010E783A0
    M  DpShMCreate: allocated tm_adm at 0000000010E78400
    M  DpShMCreate: allocated wp_ca_adm at 00000000113DC2A0
    M  DpShMCreate: allocated appc_ca_adm at 00000000113E2060
    M  DpShMCreate: allocated comm_adm at 00000000113E3FA0
    M  DpShMCreate: system runs without slock table
    M  DpShMCreate: system runs without file table
    M  DpShMCreate: allocated vmc_adm_list at 000000001146AC30
    M  DpShMCreate: allocated gw_adm at 000000001146ACB0
    M  DpShMCreate: system runs without vmc_adm
    M  DpShMCreate: allocated ca_info at 000000001146ACE0
    M  DpShMCreate: allocated wall_adm at 000000001146ACF0
    M  ThTaskStatus: rdisp/reset_online_during_debug 0
    X  EmInit: MmSetImplementation( 2 ).
    X  MM global diagnostic options set: 0
    X  <ES> client 0 initializing ....
    X  Using implementation view
    X  <EsNT> Using memory model view.
    M  <EsNT> Memory Reset disabled as NT default
    X  ES initialized.

    M Tue Feb 02 10:23:02 2010
    M  ThInit: running on host ENP

    M Tue Feb 02 10:23:03 2010
    M  calling db_connect ...
    C  Registering callback for dynamic profile parameters
    C  DB2 library successfully loaded DB2 library 'F:\usr\sap\ENP\DVEBMGS00\exe/db6_clidriver\bin\db2app64.dll' successfully loaded

    C  DB6 (DB2 UDB) UNICODE database interface 700.08 [opt]

    C  DB6 shared library (dbdb6slib) patchlevels
    C    (0.8) DB6: V8.2.2 optguidelines in OPEN SQL (note 150037)
    C    (0.8) Support of SDBUPDEXCL (note 847616)
    C    (0.9) DB6: use export file for dbdb6slib (note 835135)
    C    (0.9) DB6: Core in getAndBindSQLDA (note 833183)
    C    (0.10) DB6: link dbdb6slib.dll on windows with libdb6.obj (note 761159)
    C    (0.10) DB6: DUPLICATE_KEY on MERGE -> repeat (note 851474)
    C    (0.15) DB6: wrong CAST for short string ABAP type (note 861905)
    C    (0.17) DB6: special characters in sidadm passwd (note 865839)
    C    (0.21) DB6: no SAP_INFO comments (note 873889)
    C    (0.22) DB6: hints: get correlation names from view texts (note 868888)
    C    (0.23) DB6: hints: get correlation names from view texts (note 868888)
    C    (0.26) DB6: DB6_DBSL_CLP_COMMAND STRING_BAD_REF (note 883402)
    C    (0.27) DB6: activate value compression (note 886231)
    C    (0.28) DB6: optimization guidelines on views part 2 (note 868888)
    C    (0.30) DB6: no SQL trace for SQLCancel (note 892111)
    C    (0.33) DB6: append SAP_TA comment (note 873889)
    C    (0.34) DB6: activate value compression with quoted names (note 886231)
    C    (0.36) DB6: Repeat isolated DDL statements after SQL0911 (note 901338)
    C    (0.41) DB6: add V9 to list of supported DB2 releases (note 912386)
    C    (0.50) DB6: reread passwords for secondary connections (note 931742)
    C    (0.52) DB6: double quote table names in optguidelines (note 868888)
    C    (0.54) DB6: error handling in DBSL CLP (note 940260)
    C    (0.69) DB6: technical support of DB2 CLI driver (note 962892)
    C    (0.73) DB6: log table name on TRUNCATE failure (note 970743)
    C    (0.79) DB6: column type XML in index size calculation (note 982993)
    C    (0.82) DB6: CAST for SSTRING data types (note 989568)
    C    (0.86) DB6: long runtimes for R3szchk (note 1000847)
    C    (0.88) DB6: patch collection Dec 06 (note 1005574)
    C    (0.96) DB6: patch collection Jan 07 (note 1017852)
    C    (0.97) DB6: CLP commands with DB2 CLI Driver (note 1024102)
    C    (0.99) DB6: SUBSTITUTE VALUES with FAE statements (note 1028779)
    C    (0.107) DB6: patch collection Apr 07 (note 1047194)
    C    (0.110) DB6: SAP user names ending with non-ASCII char (note 1054555)
    C    (0.113) DB6: work process type in application snapshot (note 1059905)
    C    (0.114) DB6: connect using SAPDBHOST and DB2DB6_SVCENAME (note 1062049)
    C    (0.117) DB6: patch for execution of long DDL statements (note 1069658)
    C    (0.122) DB6: SNAPSHOT_TBS_CFG table function is deprecated (note 1077963)
    C    (0.123) DB6: CLP commands on Windows with V9.1 (note 1080149)
    C    (0.124) DB6: Set DB2CODEPAGE=819 for non-Unicode (note 1084400)
    C    (0.126) DB6: reuse optguidelines on FAE statements (note 1087375)
    C    (0.126) DB6: Enforce DB2CODEPAGE=819 for non-Unicode environments (note 1084400)
    C    (0.128) DB6: db6_free on invalid memory area (note 1092030)
    C    (0.133) DB6: statement cache enhancements (note 1101031)
    C    (0.136) DB6: change for enhancement pack installer (note 1111536)
    C    (0.138) DB6: improoved table size estimate for DB8 V8 (note 1119934)
    C    (0.144) I5/OS ldappasswd support for 5250 terminal. (note 1129573)
    C    (0.144) MSSQL: ODBC fastload on separate connection (note 1131805)

    C  Supported features:

    C  ..retrieving configuration parameters
    C  ..done
    C  Running with UTF-8 Unicode

    C Tue Feb 02 10:23:04 2010
    C  Running with CLI driver
    C  DB2 client driver version '09.01.0007'
    C  Connected to DB2 server type 'DB2/NT64'
    C  Connected to DB2 version '09.01.0007'
    C  Connect to 'ENP' as 'SAPENP' schema 'SAPENP' o.k.; con_hdl=0
    C  Database code page is ok.
    C  Database collating sequence is ok.
    C  DB2_WORKLOAD=SAP is set in DB2 registry as required.
    C  CLI Insert Buffering is disabled on single partition databases.
    C  DbSl trace SM50: switch request to level 1
    C  DbSlControl: returning SAPDBHOST='ENP'
    B  Connection 0 opened (DBSL handle 0)
    B  Wp  Hdl ConName          ConId     ConState     TX  PRM RCT TIM MAX OPT Date     Time   DBHost         
    B  000 000 R/3              000000000 ACTIVE       NO  YES NO  000 255 255 20100202 102303 ENP            
    C  DbSlControl: returning SAPDBHOST='ENP'
    M  db_connect o.k.
    M  ICT: exclude compression: .zip,.cs,.rar,.arj,.z,.gz,.tar,.lzh,.cab,.hqx,.ace,.jar,.ear,.war,.css,.pdf,.js,.gzip,.uue,.bz2,.iso,.sda,.sar,.gif

    I Tue Feb 02 10:23:05 2010
    I  MtxInit: 0 0 0
    M  SHM_PRES_BUF               (addr: 0000000015400050, size: 4400000)
    M  SHM_ROLL_AREA          (addr: 000007FFDDA80050, size: 268435456)
    M  SHM_PAGING_AREA          (addr: 0000000015840050, size: 134217728)
    M  SHM_ROLL_ADM               (addr: 000000001D850050, size: 2678942)
    M  SHM_PAGING_ADM          (addr: 000000001DAE0050, size: 525344)
    M  ThCreateNoBuffer          allocated 544152 bytes for 1000 entries at 000000001DB70050
    M  ThCreateNoBuffer          index size: 3000 elems
    M  ThCreateVBAdm          allocated 12176 bytes (50 server) at 000000000AE50050
    X  EmInit: MmSetImplementation( 2 ).
    X  MM global diagnostic options set: 0
    X  <ES> client 0 initializing ....
    X  Using implementation view
    X  ES initialized.
    B  db_con_shm_ini:  WP_ID = 0, WP_CNT = 17, CON_ID = -1
    B  dbtbxbuf: Buffer TABL  (addr: 0000000021540160, size: 30000000, end: 00000000231DC4E0)
    B  dbtbxbuf: Buffer TABLP (addr: 00000000231E0160, size: 10240000, end: 0000000023BA4160)
    B  dbexpbuf: Buffer EIBUF (addr: 0000000023BC0170, size: 4194304, end: 0000000023FC0170)
    B  dbexpbuf: Buffer ESM   (addr: 0000000023FD0170, size: 4194304, end: 00000000243D0170)
    B  dbexpbuf: Buffer CUA   (addr: 00000000243E0170, size: 3072000, end: 00000000246CE170)
    B  dbexpbuf: Buffer OTR   (addr: 00000000246D0170, size: 4194304, end: 0000000024AD0170)
    M  CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    S  *** init spool environment
    S  initialize debug system
    T  Stack direction is downwards.
    T  debug control: prepare exclude for printer trace
    T  new memory block 00000000128BEA10
    S  spool kernel/ddic check: Ok
    S  using table TSP02FX for frontend printing
    S  1 spool work process(es) found
    S  frontend print via spool service enabled
    S  printer list size is 150
    S  printer type list size is 50
    S  queue size (profile)   = 300
    S  hostspool list size = 3000
    S  option list size is 30
    S      found processing queue enabled
    S  found spool memory service RSPO-RCLOCKS at 000000002DDF00D0
    S  doing lock recovery
    S  setting server cache root
    S  found spool memory service RSPO-SERVERCACHE at 000000002DDF0610
    S    using messages for server info
    S  size of spec char cache entry: 297032 bytes (timeout 100 sec)
    S  size of open spool request entry: 2272 bytes
    S  immediate print option for implicitely closed spool requests is disabled

    A  -PXA--
    A  PXA INITIALIZATION
    A  PXA: Locked PXA-Semaphore.
    A  System page size: 4kb, total admin_size: 11460kb, dir_size: 11392kb.
    A  Attached to PXA (address 000007FFEDAB0050, size 300000K)
    A  abap/pxa = shared protect gen_remote
    A  PXA INITIALIZATION FINISHED
    A  -PXA--

    A  ABAP ShmAdm attached (addr=000007FF35ED5000 leng=20955136 end=000007FF372D1000)
    A  >> Shm MMADM area (addr=000007FF363AEF10 leng=244096 end=000007FF363EA890)
    A  >> Shm MMDAT area (addr=000007FF363EB000 leng=15622144 end=000007FF372D1000)
    A  RFC Destination> destination ENP_ENP_00 host ENP system ENP systnr 0 (ENP_ENP_00)
    A  RFC Options> H=ENP,S=00,d=2,
    A  RFC FRFC> fallback activ but this is not a central instance.
    A   
    A  RFC rfc/signon_error_log = -1
    A  RFC rfc/dump_connection_info = 0
    A  RFC rfc/dump_client_info = 0
    A  RFC rfc/cp_convert/ignore_error = 1
    A  RFC rfc/cp_convert/conversion_char = 23
    A  RFC rfc/wan_compress/threshold = 251
    A  RFC rfc/recorder_pcs not set, use defaule value: 2
    A  RFC rfc/delta_trc_level not set, use default value: 0
    A  RFC rfc/no_uuid_check not set, use default value: 0
    A  RFC rfc/bc_ignore_thcmaccp_retcode not set, use default value: 0
    A  RFC Method> initialize RemObjDriver for ABAP Objects
    M  ThrCreateShObjects          allocated 35354 bytes at 000000002DF60050
    N  SsfSapSecin: putenv(SECUDIR=F:\usr\sap\ENP\DVEBMGS00\sec): ok

    N  =================================================
    N  === SSF INITIALIZATION:
    N  ===...SSF Security Toolkit name SAPSECULIB .
    N  ===...SSF trace level is 0 .
    N  ===...SSF library is F:\usr\sap\ENP\DVEBMGS00\exe\sapsecu.dll .
    N  ===...SSF hash algorithm is SHA1 .
    N  ===...SSF symmetric encryption algorithm is DES-CBC .
    N  ===...completed with return code 5.
    N  =================================================
    N  MskiInitLogonTicketCacheHandle: Logon Ticket cache pointer retrieved from shared memory.
    N  MskiInitLogonTicketCacheHandle: Workprocess runs with Logon Ticket cache.
    M  JrfcVmcRegisterNativesDriver o.k.
    W  =================================================
    W  === ipl_Init() called
    B    dbtran INFO (init_connection '<DEFAULT>' [DB6:700.08]):
    B     max_blocking_factor =  30,  max_in_blocking_factor      =  60,
    B     min_blocking_factor =   1,  min_in_blocking_factor      =   1,
    B     prefer_union_all    =   1,  prefer_join                 =   1,
    B     prefer_fix_blocking =   0,  prefer_in_itab_opt          =   0,
    B     convert AVG         =   1,  alias table FUPD            =   0,
    B     escape_as_literal   =   0,  opt GE LE to BETWEEN        =   0,
    B     select *            =0x0f,  character encoding          = STD / <none>:-,
    B     use_hints           = abap->1, dbif->0x3, upto->2147483647, rule_in->0,
    B                           rule_fae->0, concat_fae->0, concat_fae_or->0
    W    ITS Plugin: Path dw_gui
    W    ITS Plugin: Description ITS Plugin - ITS rendering DLL
    W    ITS Plugin: sizeof(SAP_UC) 2
    W    ITS Plugin: Release: 700, [7000.0.144.20050900]
    W    ITS Plugin: Int.version, [33]
    W    ITS Plugin: Feature set: [16]
    W    ===... Calling itsp_Init in external dll ===>
    W  === ipl_Init() returns 0, ITSPE_OK: OK
    W  =================================================
    N  VSI: WP init in ABAP VM completed with rc=0
    E  Enqueue Info: rdisp/wp_no_enq=1, rdisp/enqname=<empty>, assume ENP_ENP_00
    E  Replication is disabled
    E  EnqCcInitialize: local lock table initialization o.k.
    E  EnqId_SuppressIpc: local EnqId initialization o.k.
    E  EnqCcInitialize: local enqueue client init o.k.

    M Tue Feb 02 10:23:06 2010
    M  SecAudit(RsauShmInit): WP attached to existing shared memory.
    M  SecAudit(RsauShmInit): addr of SCSA........... = 000000000A960050
    M  SecAudit(RsauShmInit): addr of RSAUSHM........ = 000000000A9607C0
    M  SecAudit(RsauShmInit): addr of RSAUSLOTINFO... = 000000000A960800
    M  SecAudit(RsauShmInit): addr of RSAUSLOTS...... = 000000000A96080C

    M Tue Feb 02 10:23:28 2010
    M  rdisp/rb_cleaned_rfc = 0

    A Tue Feb 02 10:23:34 2010
    A  RFC FRFC> fallback on the central gateway ENP sapgw00 activ

  • How to redirect request to a servlet on another server/context

    Hi
    I want to redirect a request came to a servlet to another servlet on another server or atlest different context on same server.
    Thanks in advance,
    --Nagesh                                                                                                                                                                                                                                                                                                                               

    Thanks but, now after rediriceting the request I am
    not getting any ServletInputStream. Getting rintime
    error as NoClassDefinitionFoundError :
    ServletInputStream.That's indicative of a problem with your classpath settings.
    DO I have to do anything the JSP
    (which submitted the request to first servlet) after
    redirecting?Nops, you shouldnt do anything after sendredirect(). The response is committed after using this method.
    ram.

  • Message not reaching to XI

    Hello ,
    I have configured a scenario Http ->XI->Idoc.
    when I test this scenario using runtime workbench test tool,it gives me message sent , but message is not available in SXMB_moni.
    message is not struck in SMQ2.
    Pl can you suggest on this.
    thanks,
    Sharada

    Hello Matias,Udo,Prateek,
    Letter case are correct.
    This is the url of Intergration Engine used for testing.
    http://WCSPIDEV1:8051/sap/xi/engine?type=entry
    There cannot be entry at SM58 as message is not reaching to IE from http request.
    Pl can you suugest.
    thanks,
    Sharada

  • Erro "Partner not reached" - web service from ABAP

    Hi.
    I wrote a a sample web service call from abap program from net.
    But, when I executed, i am getting error 404 resource not found, partner not reached.."Connection request from (19/1132/0) to host: www.webservicex.net, service: 80 failed (NIEHOST_UNKNOWN)"..
    Not sure if any settings need to be done before running this ABAP program..
    Pl let me know how to proceed further.
    Thanks & Regards
    Krish

    Hi,
    You should check if your server has internet access, may be there is a proxy who block the access.
    If you have a proxy you can configure your proxy settings via SMICM.
    Regards, Gilles.

  • FWSM not reaching it´s Syslog Server

    Hi,
    I have a FWSM Ver. 4.1(5) configured in transparent mode. My problem is that the FWSM is not reaching the Syslog Server. The FWSM can reach other Servers in the  10.10.113.0/24 Subnet, which is the Syslog Server´s Subnet.
    What can be causing this behavior? Why is it that I can ping some host but no others on the same Subnet?  I have 5 Bridge Groups on ths FWSM and I have a management IP address for each BVI.
    Thank you in Advanced.

    quote:
    Originally posted by:
    CaioToOn!
    Hi, Woo.
    In your code you're sending also the variables thru GET, as
    you see in
    http://www.example.comcom/?act=admin&action=login&login=true&air=true"
    Have you tried to remove the GET arguments? Passing the URL
    just as "
    http://www.example.comcom/"
    and sending the variables act, action, login and air also in the
    POST data?
    Bye,
    CaioToOn!
    Hello, Thanks for the help.
    The variables I'm sending through GET are different to the
    ones I'm attempting to send through POST. The GET variables are
    needed to make the server run the correct PHP script.
    I did remove the variables and attempt to try POST to
    "test.php" without any variables but it didn't help, it still isn't
    POSTing anything - it's just sending a GET request.

  • IOCTL from user level program do not reach module

    Hello,
    I am facing with a weired problem. The user level ioctl on my device file does not reach the ioctl handler in my module at all. I have a simple character device driver called dummy (just pulled from a device driver manual 'hello world' example).
    [root@/]modinfo | grep dummy
    227 fa2f9a20 634 220 1 dummy (dummy driver)
    [root@/]ls -l /devices/pseudo/dummy\@0\:0
    c-wxrw--wx 1 root sys 220, 0 Dec 3 15:13 /devices/pseudo/dummy@0:0
    The open on the device file works well. But when I call ioctl, the message in the ioctl handler does not print. Niether does the ioctl call appear in the DTrace probes. perror from user program returns :
    : Invalid argument
    Let me know of any probable cause of ioctls not getting executed.
    Thanks in advance
    ->Shreyas
    My driver code is as follows :
        * Minimalist pseudo-device.
        * Writes a message whenever a routine is entered.
        * Build the driver:
        *         cc -D_KERNEL -c dummy.c
        *         ld -r -o dummy dummy.o
        * Copy the driver and the configuration file to /usr/kernel/drv:
        *         cp dummy.conf /usr/kernel/drv
        *         cp dummy /tmp
        *         ln -s /tmp/dummy /usr/kernel/drv/dummy
        * Add the driver:
        *         add_drv dummy
        * Test (1) read from driver (2) write to driver:
        *         cat /devices/pseudo/dummy@*
                  echo hello > ‘ls /devices/pseudo/dummy@*‘
        * Verify the tests in another window:
        *         tail -f /var/adm/messages
        * Remove the driver:
        *         rem_drv dummy
    #define SOLARIS
    #include <sys/devops.h> /* used by dev_ops */
    #include <sys/conf.h>               /* used by dev_ops and cb_ops */
    #include <sys/modctl.h> /* used by modlinkage, modldrv, _init, _info, */
                                           /* and _fini */
    #include <sys/types.h> /* used by open, close, read, write, prop_op, */
                                           /* and ddi_prop_op */
    #include <sys/file.h>               /* used by open, close */
    #include <sys/errno.h> /* used by open, close, read, write */
    #include    <sys/open.h>         /* used by open, close, read, write */
    #include    <sys/cred.h>         /* used by open, close, read */
    #include    <sys/uio.h>          /* used by read */
    #include    <sys/stat.h>         /* defines S_IFCHR used by ddi_create_minor_node */
    #include    <sys/cmn_err.h>      /* used by all entry points for this driver */
    #include    <sys/ddi.h>          /* used by all entry points for this driver */
                                     /* also used by cb_ops, ddi_get_instance, and */
                                     /* ddi_prop_op */
    #include <sys/sunddi.h> /*          used by all entry points for this driver */
                                     /* also used by cb_ops, ddi_create_minor_node, */
                                     /* ddi_get_instance, and ddi_prop_op */
    #include "vmci_defs.h"
    #include "vmciDatagram.h"
    char _depends_on[]="vmci";
    static int dummy_attach(dev_info_t *dip, ddi_attach_cmd_t cmd);
    static int dummy_detach(dev_info_t *dip, ddi_detach_cmd_t cmd);
    static int dummy_getinfo(dev_info_t *dip, ddi_info_cmd_t cmd, void *arg,
         void **resultp);
    static int dummy_prop_op(dev_t dev, dev_info_t *dip, ddi_prop_op_t prop_op,
         int flags, char *name, caddr_t valuep, int *lengthp);
    static int dummy_open(dev_t *devp, int flag, int otyp, cred_t *cred);
    static int dummy_close(dev_t dev, int flag, int otyp, cred_t *cred);
    static int dummy_read(dev_t dev, struct uio *uiop, cred_t *credp);
    static int dummy_write(dev_t dev, struct uio *uiop, cred_t *credp);
    static int dummy_ioctl(dev_t dev, int cmd, intptr_t arg, int mode,
                          cred_t *credp, int *rval);
    static int dummy_poll(dev_t dev, short events, int anyyet,
                          short *reventsp, struct pollhead **phpp);
    /* cb_ops structure */
    static struct cb_ops dummy_cb_ops = {
         dummy_open,
         dummy_close,
         nodev,                     /* no strategy - nodev returns ENXIO */
         nodev,                     /* no print */
         nodev,                     /* no dump */
         dummy_read,
         dummy_write,
         dummy_ioctl,
         nodev,                     /* no devmap */
         nodev,                     /* no mmap */
         nodev,                     /* no segmap */
         dummy_poll,                /* returns ENXIO for non-pollable devices */
         dummy_prop_op,
         NULL,                      /* streamtab struct; if not NULL, all above */
                                    /* fields are ignored */
         D_NEW | D_MP,              /* compatibility flags: see conf.h */
         CB_REV,                    /* cb_ops revision number */
         nodev,                     /* no aread */
         nodev                      /* no awrite */
    /* dev_ops structure */
    static struct dev_ops dummy_dev_ops = {
         DEVO_REV,
         0,                            /* reference count */
         ddi_no_info,
         //dummy_getinfo,
         nulldev,                      /* no identify - nulldev returns 0 */
         nulldev,                      /* no probe */
         dummy_attach,
         dummy_detach,
         nodev,                        /* no reset - nodev returns ENXIO */
         &dummy_cb_ops,
         (struct bus_ops *)NULL,
         NULL                         /* no power */
    /* modldrv structure */
    static struct modldrv md = {
         &mod_driverops,               /* Type of module. This is a driver. */
         "dummy driver",              /* Name of the module. */
         &dummy_dev_ops
    /* modlinkage structure */
    static struct modlinkage ml = {
         MODREV_1,
         &md,
         NULL
    /* dev_info structure */
    dev_info_t *dummy_dip; /* keep track of one instance */
    /* Loadable module configuration entry points */
    int
    _init(void)
         cmn_err(CE_NOTE, "Inside _init");
         return(mod_install(&ml));
    int
    _info(struct modinfo *modinfop)
         cmn_err(CE_NOTE, "Inside _info");
         return(mod_info(&ml, modinfop));
    int
    _fini(void)
         cmn_err(CE_NOTE, "Inside _fini");
         return(mod_remove(&ml));
    /* Device configuration entry points */
    static int
    dummy_attach(dev_info_t *dip, ddi_attach_cmd_t cmd)
         cmn_err(CE_NOTE, "Inside dummy_attach");
         switch(cmd) {
         case DDI_ATTACH:
               dummy_dip = dip;
               if (ddi_create_minor_node(dip, "0", S_IFCHR,
                   ddi_get_instance(dip), DDI_PSEUDO,0)
                   != DDI_SUCCESS) {
                   cmn_err(CE_NOTE,
                         "%s%d: attach: could not add character node.",
                         "dummy", 0);
                   return(DDI_FAILURE);
               } else
                   return DDI_SUCCESS;
         default:
               return DDI_FAILURE;
    static int
    dummy_detach(dev_info_t *dip, ddi_detach_cmd_t cmd)
         cmn_err(CE_NOTE, "Inside dummy_detach");
         switch(cmd) {
         case DDI_DETACH:
               dummy_dip = 0;
               ddi_remove_minor_node(dip, NULL);
               return DDI_SUCCESS;
         default:
               return DDI_FAILURE;
    static int
    dummy_getinfo(dev_info_t *dip, ddi_info_cmd_t cmd, void *arg,
         void **resultp)
         cmn_err(CE_NOTE, "Inside dummy_getinfo");
         switch(cmd) {
         case DDI_INFO_DEVT2DEVINFO:
                                     *resultp = dummy_dip;
                                     return DDI_SUCCESS;
                                 case DDI_INFO_DEVT2INSTANCE:
                                     *resultp = 0;
                                     return DDI_SUCCESS;
                                 default:
                                     return DDI_FAILURE;
    /* Main entry points */
    static int
    dummy_prop_op(dev_t dev, dev_info_t *dip, ddi_prop_op_t prop_op,
      int flags, char *name, caddr_t valuep, int *lengthp)
      cmn_err(CE_NOTE, "Inside dummy_prop_op");
    //  return DDI_SUCCESS;
      return(ddi_prop_op(dev,dip,prop_op,flags,name,valuep,lengthp));
    static int
    dummy_open(dev_t *devp, int flag, int otyp, cred_t *cred)
       int status;
       cmn_err(CE_NOTE, "Inside dummy_open");
        return DDI_SUCCESS;
    static int
    dummy_close(dev_t dev, int flag, int otyp, cred_t *cred)
        cmn_err(CE_NOTE, "Inside dummy_close");
        return DDI_SUCCESS;
    static int
    dummy_read(dev_t dev, struct uio *uiop, cred_t *credp)
         cmn_err(CE_NOTE, "Inside dummy_read");
         return DDI_SUCCESS;
    static int
    dummy_write(dev_t dev, struct uio *uiop, cred_t *credp)
         cmn_err(CE_NOTE, "Inside dummy_write");
         return DDI_SUCCESS;
    static int
    dummy_ioctl(dev_t dev, int cmd, intptr_t arg, int mode,
                          cred_t *credp, int *rval)
         cmn_err(CE_WARN, "%s(%d) Received function : %d\n", __FUNCTION__, __LINE__, cmd);
         return(0);
    static int
    dummy_poll(dev_t dev,                // IN: Device number.
               short events,             // IN: Requested events.
               int anyyet,               // IN: Whether other fds have had events.
               short *reventsp,          // OUT: Mask of satisfied events. 
               struct pollhead **phpp) { // OUT: Set to a pollhead if necessary.
         cmn_err(CE_WARN, "%s(%d) \n", __FUNCTION__, __LINE__);
       return 0;
    }

    Read very carefully the file /usr/include/sys/ioccom.h.
    -r

  • Is not a Servlet Exception

    I am new to Servlets and am trying to add a sample Servlet to Tomcat 4.0.4. Whenever I try to run it, it gives me one of two errors.
    1)The requested service (Servlet RequestDetails is currently unavailable) is not currently available.
    2)javax.servlet.ServletException: Class org.stevengould.javaworld.RequestDetails is not a Servlet
    I am getting my code from an article I was reading in JavaWorld:
    http://www.javaworld.com/javaworld/jw-02-2001/jw-0223-servletweblogic.html
    Any help would be great.
    Thanks!
    Jeremy

    I call the Servlet like this: http://localhost:8080/SampleServlet/
    Below is the error it gives me:
    EXCEPTION:
    javax.servlet.ServletException: Class org.stevengould.javaworld.RequestDetails is not a Servlet
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:890)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:655)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
    &#160;&#160;&#160;&#160;&#160;at java.lang.Thread.run(Thread.java:536)
    ROOT CAUSE:
    java.lang.ClassCastException: org.stevengould.javaworld.RequestDetails
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:886)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:655)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
    &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
    &#160;&#160;&#160;&#160;&#160;at java.lang.Thread.run(Thread.java:536)

  • Travel Expenses not reaching to the superiors UWL for approval

    Hi,
    When an employee creates a Travel Expenes on approve Travel Request, the Travel Expenes does not reach to his superiors Inbox for approval.
    As well as while checking in SAP R3, via Tcode - swia, the said Travel Expenses not appearing in the list.
    Pl help.
    Regards
    S J Rajam

    Hi,
    In continuation with Rajagopalan message, please also check whether the reporting relationship is maintained correctly and the validity date. Communication id are maintained in IT 0105.
    Hope this helps,
    Regards.
    S.Srikanth

  • Class mypackage.TripsServletTable is not a Servlet

    I've seen several postings similar to this, but still haven't been able to solve my problem. Maybe another set of eyes would help.
    I have an html file in webapps/Trips, with the line:
    <form action = "http://localhost:8080/Trips/servlet/TripsServletTable" method = "post">
    I've also tried:
    <form action = "/servlet/tripsTable" method = "post">
    and
    <form action = "/Trips/tripsTable" method = "post">
    my web.xml file contains
    <servlet>
         <servlet-name>tripsTable</servlet-name>
         <servlet-class>mypackage.TripsServletTable</servlet-class>
    </servlet>
    <servlet-mapping>
         <servlet-name>tripsTable</servlet-name>
         <url-pattern>servlet/tripsTable</url-pattern>
    </servlet-mapping>
    My class file is in the classes/mypackage directory under WEB-INF and is name TripsServletTable.
    I either get the message :
    Class mypackage.TripsServletTable is not a Servlet
    or that the servlet is not available (depending on which of the above options is in place). FYI, This directory was running with tomcat 3.2.3. Any suggestions would be appreciated.

    Thanks for the quick reply. Yes, my class does extend HttpServlet. Also, I had previously tried (and have since tried again) having the url pattern start with a / character. With these changes the error message is now:
    The requested resource (/Trips/servlet/TripsServletTable) is not available.
    By the way, I am running Tomcat 5.5.9. Any other suggestions would be appreciated. I admit I am pretty confused about what to put in the <form action = "..."> portion of my html file, as I've seen different recommendations from various sources.

  • File does not exist: /servlet/f60servlet

    Hi,
    We have a Developer 2000 application which is running on 9ias.
    Till last week the UAT system was working ok. Since i re-started, it stopped working. The apache error log displays the following error messages:
    [Tue Jan 25 15:53:08 2005] [error] [client 3.248.176.44] File does not exist: e:/uat/oracle/806/forms60/java/sun/applet/AppletViewer.class
    [Tue Jan 25 15:53:08 2005] [error] [client 3.248.176.44] Filename is not valid: e:/uat/apps/forms_icons/http:
    [Tue Jan 25 15:53:08 2005] [error] OPM:Can not find one alive process
    [Tue Jan 25 15:53:08 2005] [error] [client 3.248.176.44] File does not exist: /servlet/oracle.forms.servlet.ListenerServlet
    [Tue Jan 25 15:53:26 2005] [error] OPM:Can not find one alive process
    [Tue Jan 25 15:53:26 2005] [error] [client 3.248.176.44] File does not exist: /servlet/f60servlet
    Please help!
    Note: Developemtn and Productions systems with the same setting are working ok.
    Thanks,
    Naveen

    I am currently using OracleAS 10g and is using mod_oc4j to mount the Forms Servlet.
    It seems that you use JServ for mounting the Forms Servlet, (maybe default in 9i R2?) from the error log entry /servlet/f60servlet...
    Maybe Jserv is not up and running on your host? It looks like Jserv hasn't mounted /servlet/ or aliased /servlet/f60servlet as the error log indicates that Apache is looking in the filesystem for these paths which is wrong.
    But what do I know... :)
    Regards
    /Stefan

  • How to invoke a jsp page from java which does not use Servlets?

    Hello,
    I am working in Documentum. I am trying to invoke a jsp page from another java page which does not use Servlets.
    I tried doing this by just instantiating the java class related to the jsp page from my present java class.In my java class related to the jsp page, I have defined onInit() and onRender() methods.
    Now, I am trying to call the jsp page from my present java class by just instantiating the java class related to the jsp page. This throws a java.lang.NullPointerException.
    Any comments or suggestions on this.Any help would be appreciated.
    Thanks,
    Ranjith M.V

    RanjithM.V wrote:
    Hello,
    Thanks for the reply. One important thing I forgot to mention. I am also using xml component.And?
    As this is the standard way used for coding in Documentum, I do not want to use Beans.Well, JSP's should, in and of themselves, contain no functional code. It should all be only display.
    Without that is it not possible?What did I say? I said,
    masijade wrote:
    It is possible, but I very, very, very, much doubt, that it would be worth the effort.And, if you don't know how, a forum is not truely going to be able to help you implement it (at least not in less than a few years time, at which point it would be outdated).
    >
    Appreciate your understanding and help.
    Thanks,
    Ranjith M.V

  • Can someone please help me figure out why I keep getting the "can not reach server" when I try to download the ebook? This is happening with Adobe Digital Editions.

    When I try to download the ebook I bough, the Adobe Digital Reader shows the following message: "can not reach server".  Can someone please help me with this?
    TO be precise, it says "licensee server communication problem"
    Thank you

    The thread running through your explanation has to do with connectivity to your server. (iCloud out of the blue asking for password, unable to message your boyfriend, unable to access e-mail). You said that you boyfriend restart his device and then the two of you were able to then imessage. My best advice for you would be to go to settings to reset to reset network settings. Once this has been done you then will need to enter the name and password of your wifi. ONce this is done you then can attempt to check to see that all passwords are enter correctly.
    Good luck.

Maybe you are looking for

  • Address book exporter with Lion

    Address book exporter does not work with the new Lion operating software.  How do I now export my address book into a csv file?

  • Downloaded Itunes setup and it won't run

    I downloaded the newest version of itunes. The setup wizard won't work when i try to install it. It doesn't say there is an error just absolutely nothing happens. I don't understand what is going on can someone help.

  • Pricing procedure field importence(ovkk)

    hello experts in (ovkk) pricing procedure determination what is the importent of condition type while determining pricing we are not specifing condition type.when can we use condition type in ovkk advance thanks

  • Which xcode version works for OS X 10.7.5?

    I'm a web designer and I'd like to learn how to create simple apps for iPad and iPhone so I decided to install xcode but the current version is only supporting OS 10.8.4 or later. I'm working on Mac OS X 10.7.5. Which version of xcode works best for

  • Dr.Note-Cr.Note

    Dear Friends, My co. wants to use dr.note-cr.note concept and this should be done by SD people,I want to know that if this is applicable then what will be financial impact ??