New protocol implementation

Hello
I implemented my own Protocol class for sip, I used the following package name com.sun.midp.io.j2me.sip.
I made this Protocol class inherit the ConnectionBaseInterface.
I put this file with the rest of the jsr180 implementation classes in a jar named nist-siplite.jar.
I created a MIDlet to test my Protocol class and when I tried to open the connection with Connector.open("sip:..."),
I got the following exception :
Uncaught exception java/lang/NoClassDefFoundError: com/sun/midp/io/j2me/sip/Protocol: Cannot create class in system package .
My command to run the MIDlet is the following :
${wtk}/bin/emulator -classpath ${wtk}/lib/nist-siplite.jar;build/bin/ShootLite.jar -Dmicroedition.platform=j2me -Xdescriptor:build/bin/ShootLite.jad
where ${wtk} is my wtk_home.
I'm using the DefaultColorPhone to run my MIDlet.
javax.microedition.io.Connector.protocolpath=com.sun.midp.io
Now if I put the Protocol class in another package, by example, gov.nist.microedition.io.j2me.sip and change the
javax.microedition.io.Connector.protocolpath attribute in the system.config to gov.nist.microedition.io
I got he following exception :
[exec] java.lang.ClassNotFoundException: com/sun/midp/io/j2me/sip/Protocol
[exec] at javax.microedition.io.Connector.openPrim(+99)
[exec] at javax.microedition.io.Connector.open(+15)
[exec] at javax.microedition.io.Connector.open(+6)
[exec] at javax.microedition.io.Connector.open(+5)
[exec] at examples.jsr180.Shootme.<init>(+53)
[exec] at java.lang.Class.runCustomCode(+0)
[exec] at com.sun.midp.midlet.MIDletState.createMIDlet(+19)
[exec] at com.sun.midp.midlet.Selector.run(+22)
[exec] java.lang.ClassNotFoundException: com/sun/midp/io/j2me/sip/Protocol
[exec] at javax.microedition.io.Connector.openPrim(+99)
[exec] at javax.microedition.io.Connector.open(+40)
[exec] at javax.microedition.io.Connector.open(+6)
[exec] at javax.microedition.io.Connector.open(+5)
[exec] at examples.jsr180.Shootme.<init>(+53)
[exec] at java.lang.Class.runCustomCode(+0)
[exec] at com.sun.midp.midlet.MIDletState.createMIDlet(+19)
[exec] at com.sun.midp.midlet.Selector.run(+22)
[exec] javax.microedition.io.ConnectionNotFoundException: The requested pro
tocol does not exist sip://5060
[exec] at javax.microedition.io.Connector.open(+72)
[exec] at javax.microedition.io.Connector.open(+6)
[exec] at javax.microedition.io.Connector.open(+5)
[exec] at examples.jsr180.Shootme.<init>(+53)
[exec] at java.lang.Class.runCustomCode(+0)
[exec] at com.sun.midp.midlet.MIDletState.createMIDlet(+19)
[exec] at com.sun.midp.midlet.Selector.run(+22)
I know for sure that the system.config's attributes are well read because I print them from the MIDlet application and they're right
But the wireless toolkit seems to continue to look for the class in the com.sun.midp.io.j2me.sip package.
So I'd like to know if you've already encountered this kind of problem or have any ideas about this....?
Thanks in advance for your reply.
Best regards.

Ok, it seems that the wireless toolkit doesn't allow one to load a class whose the package name is one of the system (i.e. com.sun.midp.io). The remaining question is how to force the wireless toolkit to correctly use
the protocol path defined in the system.config file...(i.e. javax.microedition.io.Connector.protocolpath=gov.nist.micoredition.io).
I'm wondering if the wireless toolkit doesn't take this protocolpath because the others protocol doesn't exist anymore.
Hope that someone can answer this question.
Best regards

Similar Messages

  • How can I implement a new protocol over IP

    Hi,
    I want to implement a new protocol (my customized one) in solaris 8. This protocol will be something like UDP and will be using IP for communication.
    So how can i use IP stream module for that?
    thankx
    prasenjit

    I can give you some pointers regarding this. Although, I implemented protocol below IP.
    - Look for information on ipsecah and ipsecesp. These are pseudo devices on top of IP for Solaris 8.0.
    - Check how the protocol stack is built while booting.
    - If you intend to implement a module, rather than a driver then things might be little easy. You can push your module on top of IP. See man for "sad" and "autopush" mechanism
    - Sample drivers and modules from SUN are of great
    help. I came to know about the sample drivers very late.
    Otherwise, I would have saved some time.
    - Unix System V network programming by Rago is a very good reference.
    I hope this helps.
    -Ashutosh

  • Add new protocol handler at OS level

    Hi,
    I'd like to write a new protocol handler at the OS level, so that when any browser points to myHandler:myData is should open a specified program and pass myData to it. Something similiar to the mailto: handler, which is built in. How do I do this?
    Thanks,
    Michael

    Hi Know ,
    I know that we have to use the following BADIs
    ME_PROCESS_PO_CUST
    ME_GUI_PO_CUST
    But I does not know what are the methods to be implemented
    and what is the code we have to write in that methods .
    Thanks in advance ,
    Siva.

  • Invalid endpoint uri with a new protocol (custom protocol)

    Hi!
    I've deployed a web service in the OSB console which has an endpoint with http protocol...(f.e. "http://myhost:port/WebService"), importing a jar which contains this files: proxy service, business service, schema and wsdl...
    I added to the weblogic server a new custom protocol.The endpoint of this new protocol must be like this: "tcp://host:port"...
    I've tried to redeploy the web service with the new protocol in the business service file...but when i redeploy the web service, the osb says that the uri is incorrect, because it's still having the last web service's uri : "http://myhost:port/WebService" and it doesn't match the new protocol's endpoint ( "tcp://...")...
    when i do the same change in the business service...(change the business service's protocol)...the osb automatically removes the existing uri and it shows me a new endpoint uri with the new protocol to add...
    does exist any way to remove the existing business service's endpoint uri when i redeploy the web service's jar in the osb console????
    Thanks!!
    Ingrid.
    Edited by: user11144501 on 17-ene-2011 7:46

    Changing URI and transport protocol itself are two different things. If you want to change URI only then that is very much possible using Customization File in OSB -
    http://download.oracle.com/docs/cd/E14571_01/doc.1111/e15867/customization.htm#CACJCAGD
    You may execute customization files using WLST as well.
    But in your case you want to change the transport protocol itself which may require changes in Transport Protocol Parameters (and other dependent settings), so it may not be possible to do the same using script. I think for changing transport protocol, you have to manually update all the service's configurations on sbconsole or in OEPE.
    Regards,
    Anuj

  • How to register new interface implementation?

    Hi,
    I have the following problem:
    There exists a self written webdynpro application. This application uses a Java Interface. The administrator of the application can add new functionality to the application by adding a new line to a table. He inserts the name of a class which implements that Java interface. This class has the new functionality.
    For each interface implementation the user of the webdynpro gets a value into a list. He can select an entry from this list. This value tells to the application that it has to create an object from the related java interface implementation.
    Now I wonder how I can tell to the webdynpro application that it knows all interface implementations which will come in the future? If I do not "register" or reference the new interface implementations, then I think the webdynpro application has ClassNotFound errors.
    The developers should make there own projects for each interface implementation an deploy them. But what must be done, that the webdynpro application knows them?
    Can you please give me some suggestions?
    Thank you and best regards,
    Marcus

    You can register a Mac, but not an accessory like the Time Capsule. Keep a copy of your sales receipt.....just in case.

  • New GL implementation impact

    Dear All
    We are going to implement New GL in our ECC system .
    In our existing system landscape we have profit center and GL reporting based on extractors 0EC_PCA_1& 0EC_PCA_2
    My question is if post New GL implementation we can still use the existing extractors or we need to switch to new extractors to maintain the current
    reporting in BW ?
    Thanks
    Ankush

    Suyash
    You are correct . I did some more analysis on my side and 0EC_PCA_1& 0EC_PCA_2 are fetching data from GLPCA /GLPCT tables which will become obsolete after new GL implementation . So we would need to use one of the below extractos to replace the existing ones ( PCA extractors )
    0FI_GL_10
    0FI_GL_14
    Regards
    Ankush

  • New to Implementation

    Hi Experts,
    I new to implementation project. Project is ready to start here the existing no system for client. We have to build the SAP BI system to them. R/3 is in process BI is going to start. Can Please any body guide me What are the reports  we have to show in demo to them based on that we have to gather the requirement from them. we have SD,FI,MM,QM,PM,PP,HR modules to implement.
    Please guide me....

    Hi,
    Check the below link which provides all the business content info like , IOs, ICs, DSOs, Data sources used and the standard Bi content reports...
    http://help.sap.com/saphelp_nw70ehp2/helpdata/en/6a/f247bf0ce745eab5648a309fbd784e/frameset.htm
    Here in the link you have BI Content -click on it - here it will displays all the BI content related all modules...
    [sales N Distribution|http://help.sap.com/saphelp_tm80/helpdata/en/f0/3baf6718d2427a94ced005f298be06/frameset.htm]
    Condition Rate Deviation (Sales Order and Billing Document)
    Condition Amount (Billing Document Document: Condition Amount (Sales Order)] Condition Amount (Sales Order)
    Document: Condition Amount By Customer] Condition Amount By Customer
    Document: Average Delivery Processing Times] Average Delivery Processing Times
    Document: Billing Documents] Billing Documents
    Document: Deliveries] Deliveries
    Document: Delivery Delays per Sales Area] Delivery Delays per Sales Area
    Document: Delivery Delays per Sold-to Party] Delivery Delays per Sold-to Party
    Document: Distribution Channel Analysis] Distribution Channel Analysis
    Document: Faultless Sales Order Processing] Faultless Sales Order Processing
    Document: Fulfillment Rates] Fulfillment Rates
    Document: Fulfillment Rates: Values] Fulfillment Rates: Values
    Check the below links for FI
    http://help.sap.com/saphelp_nw70ehp2/helpdata/en/65/7beb3cad744026e10000000a11405a/frameset.htm
    General Ledger
    http://help.sap.com/saphelp_nw70ehp2/helpdata/en/57/dd153c4eb5d82ce10000000a114084/frameset.htm
    [Asset Accounting|http://help.sap.com/saphelp_bic735/helpdata/en/a8/f4153c4eb5d82ce10000000a114084/frameset.htm]
    Etc
    All HR related
    help.sap.com/saphelp_nw70ehp2/helpdata/en/2a/77eb3cad744026e10000000a11405a/frameset.htm

  • Allowing a new sensor implementation to learn

    Hi,
    I'm setting up a new IPS sensor on an ASA 5500.
    I've heard a recommendation that for a new sensor implementation at a given site, it is better to allow the sensor to learn traffic patterns in promiscous mode before deploying inline mode, otherwise the sensor may not interpret certain events correctly.
    Is that a valid statement, and if so, does that mean you must wait to deploy any particular policies until this learning is complete?
    Thanks.

    Let me explain my point of view:
    The sensor in question is an AIP-SSM, so the traffic is normalized by the firewall. In this setup there is no difference in the detection capabilities between promiscous and inline. Promiscous mode has problems with traffic that the attacker has fragmented in an abnormal way or modified segments. Both are controlled by the ASA and don't show up at the sensor.
    So the signatures will behave the same. Now you want to make sure that you don't lose traffic while you are stil in the phase of minimizing or eliminating your false polsitives. You could filter out the deny-actions, but as a human you could make a mistake there and you configure something that has to be reconfigured later when your first tuning-phase is over. Both is not a problem when you observe your sensor in promiscous-mode. The change to inline is then very easy and your sensor doesn't need to be changed any more.
    For your promiscous delta: The PD has nothing to do how or if a signature triggers or how the signature behaves. It is only a modifier for your Risk-Rating that helps you to make better decisions when you are at your monitoring-console, have thousands of alarms and have to decide which to process first.
    Don't stop after you've improved your network! Improve the world by lending money to the working poor:
    http://www.kiva.org/invitedby/karsteni

  • Methodology or Process Documents for new XI implementations

    Hi All,
    Can someone point me to any docs on Process/Methodology new XI implementations.
    Thanks & Regards,
    Nandini

    Nandini,
    Please refer the below thread and look for the URL I gave over there
    Re: XI template documents
    Best regards,
    raj.

  • [svn] 1191: ASC side of the new vector implementation .

    Revision: 1191
    Author: [email protected]
    Date: 2008-04-11 07:56:10 -0700 (Fri, 11 Apr 2008)
    Log Message:
    ASC side of the new vector implementation . Strict mode checking now works for all vector types.
    ASC test, tamarin tests, and flex checkintests pass
    Modified Paths:
    flex/sdk/trunk/modules/asc/src/java/macromedia/abc/AbcParser.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/embedding/LintEvaluator.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/embedding/avmplus/ActionBlockConstants .java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/embedding/avmplus/ActionBlockEmitter.j ava
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/embedding/avmplus/ByteCodeFactory.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/embedding/avmplus/GlobalBuilder.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/parser/Evaluator.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/parser/MetaDataEvaluator.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/parser/Node.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/parser/NodeFactory.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/parser/NodePrinter.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/parser/Parser.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/parser/TypeIdentifierNode.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/semantics/CodeGenerator.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/semantics/ConfigurationEvaluator.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/semantics/ConstantEvaluator.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/semantics/Emitter.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/semantics/FlowAnalyzer.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/semantics/QName.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/semantics/ReferenceValue.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/semantics/TypeValue.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/util/Context.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/util/ContextStatics.java
    Added Paths:
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/parser/ApplyTypeExprNode.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/semantics/ParameterizedName.java

    please can you send in yr email address.
    I am attaching the code right now with an explanation!!!

  • Camera link protocol implementa​tion on FPGA

    Hi,
    I want to configure the Basler camera parameters like exposure time, frame rate, Gain value etc. through 7966R FlexRIO & 1483 Camlink adapter module. But on FPGA there is no option to configure these parameters through .icd file or MAX. So I have to implement the Camera Link protocol in FPGA to configure these parameters of camera.
    I found that camera link has 4 controls lines (CC1 to CC4) but I am not able to find how these lines works to control the parameters of camera. If anyone knows how these control lines work then please tell me or share any document to describe their operation. Or any other information through which I can implement the algorithm on FPGA to control the parameters of camera.
    Any help will be appreciate
    Regards

    I ran into multiple issues with the Serial Server running through the 1483/7966.  I was never able to reliably get the serial server to operate through the MAX NI Vision CLSerNat function.  It seems the 1483 is just not well supported in Max in any way.  This prevents the use of Pylon as your serial command/status tool.  Those work great with other frame grabbers like the 1433, but the 1483 leaves you having to implement the entire capability yourself.
    So, I wound up having to write my own serial driver for the BBPI protocol and message processors for the various standard message types the Basler ACE cameras respond to.
    Though I can't provide code, if you need to write your own protocol stack and have questions on the Basler interface, I'm worked through many of the issues.
    One issue you may encounter is with the serial server itself.  It operates in byte mode.  I was never able to understand the reasons, but between a VI running on a host PC interacting through the stock serial server running on an FPGA (7966) through a RT target (PXI-1082) byte mode inserted very large inter-character delays.  Often so large as to cause the Basler camera to claim a timeout and terminate the command.  I had to modify the serial server to operate in a one-shot FIFO mode for transmit data as follows:
    In the FPGA serial_interface.vi (For non byte-mode)
    Increase the FIFO to 64 bytes to accomodate the largest Basler message
    Add a "Transmit now" control to trigger a full FIFO output
    Add a "Transmit length" control to control the number of bytes transmitted
    In the upper level serial_server.vi
    Modify the transmit loops to better detect bytes to transmit from the Ethernet interface and to direct the transmit data to the new WriteBytes vi
    In the FPGA_UART.llb library
    Add an FPGA_UART_WriteBytes.vi to handle the non byte-mode modification and to 'chunk' up transmit data into 64 byte (max) pieces.  In the BBPI and Basler protocols, this has not been seen since all the messages are small.
    With these modifications, I could then write a state machine to handle the basler BBPI protocol.  States I chose for this were:
    Idle
    When a command is queued, it is fed to the serial server in its entirety.  The serial interface sends it to the camera as a complete message with no inter-character gaps)
    Wait for ACK
    Every command must have an ACK/NACK
    Go back to idle if sending a write or command message
    Wait for BFS (Only if sending a read request)
    Wait for FTF
    Wait for the data lengthbyte
    Wait for BFE (Goes back to idle once all bytes received)
    It's up to you if you want to handle the checksum capability of the BBPI protocol.  It's surprisingly tricky.  I hsould have saved myself the headache and just worked entirely in non-checksumming mode.
    Once I got that all working, I could then write message handlers for each of the basic Basler message types:
    Enum
    String
    Bitfield
    Scalar
    etc..
    followed by specific message handlers for each of the messages I wanted to deal with.  My usual technique is to perform a mass serial configuration as soon as I fire up the FPGA.  I haven't tried to use the trigger port signals (CC1 etc) but those can all be configured and controlled through the serial port once you get a message passing capability in place.

  • New GL implemented, problems in F.01 and trail balance report and balance carry forward.

    Dear Friends,
    One of the my client recently implemented New GL in the Dev system, and getting posted the documents. now we are facing the many problems in the Dev system.
    1. F.01 Financial statement report not generating for the year 2008 to till 2014 fiscal years.
    2. the same in trail balance also not generating data form the year 2008 to till 2014 fiscal years.
    3.system is asking the carry forward the balances form the 2008 to till, when we try to carry forward the 2008 year amount only forwarding for the all the fiscal year, not adding the other balances.
    i went through some forums and i did the some analysis on this, after implementing new GL the table GLT0 was desble, data was not updated in the GLT0 all the data has been moved to FAGLFLEXT table. later i activated the table GLT0 and able to storing the data both the tables.
    now i want to see the all my privious year report in the DEV system. all the data is there in the tables expect GLT0. how can i recover reports as well as how can i do the carry forward balances?
    even still i have not carry forward for the 2014 balances, those balances also not there in the reports? but data is there in the table.
    Please help me on this.
    Regards,
    Krish

    Hello,
    balance carry forward is done with TCd.
    FAGLGVTR
    when you are on SAP nGL.
    any further quesitions?
    By the way why don´t you do searching?
    all the best erwin

  • New GL Implementation, GL balances are not matched

    Dear Friends,
    In my project new GL is implemented, we are facing the problem of mismatch of GL balances of Tax GL,
    Can anyone please guide how to find the differences in the same.
    Thanks and regads,
    MD.

    You could use transaction code GCAC to compare GL account balances between any two ledgers.

  • Things to bear in new DBM implementation

    Hi all,
    This is not a question but just a general topic regarding the points to bear in mind while implementing DBM solution.
    The latest release of DBM -ECC-DIMP 6.0 does not have the credit check functionality for sales order/delivery/PGI  as is available on the standard R/3. This means that if the credit check functionality is required by the organisation then this will have to be developed on your own.
    In case there are lots of validations which you require in you require in the business process then this would have to be build in various BADI which have been provided. Since the DBM is based on the action control matrix ( Order control engine) please take care while configuring the action control. This is a very sensitive area and one wrong configuration will stop the process which you may have tested as working fine.
    Supersession is a good functionality which has been provided as standard feature on DBM but this works fine on DBM orders. In case you require this in R/3 quotations and orders ( VA21 /VA01)  then some tweaking on the item category determination and item category configuration may be required.
    Vendor material master table (/DBM/OMARA) is also a good feature since this helps do away with your own custom tables for maintaining the vendor material master data within your own system.
    Cash desk is also another feature which is a new DBM feature but this is still not stable and it requires the system adminstrator some time to understand the correct behavior of this feature.
    Enjoy the new DBM and also help SAP to stabilize this product since there are quite number of things which are not yet mature enough to take care of all the possible business situations all around the world.
    Cheers.
    Kartik Shah

    Hi vishal,
    There is a tab called Material Exchange in ME21N under item overview tab. When you select the item which is part of supersession chain and press this icon system will propose the list of materials under the chain and you can select the material and use this to replace the original material which was proposed on purchase order.
    Search on SAP Help web site. The is quite a bit of documentaiton for supersession behavior in purchase order.
    We are not using this functionality in our implementation.
    Trust this helps
    Regards,
    Kartik Shah

  • New tab implementation at item level in ME21N/ME22N/ME23N.

    Hi Friends,
    I have implemented two badis 1. ME_GUI_PO_CUST and 2. ME_PROCESS_PO_CUST to get a new tab at item level in ME21N/ME22N/ME23N, I could see this new tab only in ME23N but not in ME21N/ME22N, and I found that Badi ME_PROCESS_PO_CUST is not getting triggered for any of these tcodes : ME21N/ME22N/ME23N. Can anybody help me getting this issue resolved with coding example as well.
    Thanks in Advance.

    Hi Know ,
    I know that we have to use the following BADIs
    ME_PROCESS_PO_CUST
    ME_GUI_PO_CUST
    But I does not know what are the methods to be implemented
    and what is the code we have to write in that methods .
    Thanks in advance ,
    Siva.

Maybe you are looking for