Java Communications Testing

Does anyone know if there are a set of JUnit tests, or any other tests available for the Java Communications API or RXTX?
Thanks,

Delegated Administrator (DA) is not required but it does make life much simpler in terms of adding users to JCS.
DA has a CLI and a web interface so one could build out provisioning scripts using the CLI interface to get the best of both worlds.
If you don't want to use DA you do not have to but I would recommend looking at the Schema Guide (http://docs.sun.com/app/docs/doc/819-4437) to figure out which attributes are required, etc
Access Manager is used if you want to provide single sign on for the web client Communications Express in terms of Messaging Server/Calendar Server.
If you don't need/want Communications Express then AM is optional for sure.
Delegated Administrator does need Access Manager I believe although I could be wrong about that off the top of my head.
It also depends on the schema choice you make (http://docs.sun.com/app/docs/doc/820-0639) in terms of what tools are available for managing your users in JCS.

Similar Messages

  • Help! How to get the Java Communication Package work in JDK1.3.1?

    I downloaded a Java Communications API Win32 ver 2.0 from java.sun.com, and try to use it to do some programming to communication ports with JDK1.3.1.
    I failed. When I tested with the samples (BlackBox, SimpleRead) coming with the javax.comm. It showed "no serial port found", something like that. I check the installation Instructions of the comm. package, it only described the installation under JDK1.1 and the pre-release version of JDK1.2. (and the installation of the same package in JDK1.1 and JDK1.2 are totally different.)I tried the specification with my JDK1.3, but it doesn't work.
    Who knows how to install the Javax.comm package in JDK1.3.1? Please let me know as soon as possible. Thanks a lot.

    This comes straight out of the FAQ that you got with your download:
    Q: My application does not find any ports when it enumerates available ports.
    Q: BlackBox gives me a message that says "No serial ports found!"
    A: In order for the Java communications API to find ports the file
    javax.comm.properties must be in the correct place. The preferred location
    is in <jdk>/lib. See the installation instructions for alternate locations
    and further information.
    Installation is very simple. Comm is a standard extension, so copy comm.jar to %JAVA_HOME%\jre\lib\ext
    This is all in the docs....

  • Java Communication error:Error while opening an RFC connection

    Hi,
    I am getting Java Communication error:Error while opening an RFC connection when i try to run a query from Bex analyser.
    please let me know how to resolve this
    Thanks
    Bala Duvvuri

    This error usually comes when the java stack is not upgraded.
    when you upgrade yourABAP stack, simultaneously you have to upgrade the java stack also.
    Please co-ordinate with your basis team to inform EP team to upgrade the java stack when basis team do ABAP stack upgrade.
    Hope this would help you.

  • Need API for Java communicating with RS232

    Dear All,
    I am a newbie to Java. I have a sensor connected to a microcontroller, and this microcontroller is also connected to a PC through the RS232 (COM 1). I have installed the Java Communications API "Javax.comm" on my PC and was able to run the "BlackBox" sample program. What I require is a simple Java program that will read and show the bytes comming through the COM1 port. If anyone has done anything similar or has an idea of how to go about it, could they please send me some example code, I would be very grateful. Or if anyone knows about any website with such similar examples i would be very grateful.
    Thank you very much.
    FREDERIC

    Cross posted numerous times...
    http://forum.java.sun.com/thread.jspa?threadID=634826

  • Some general questions about Sun Java Communications Suite

    Hello Everybody,
    We are a small group of individuals (2 Java developers and 1 Linux expert and Web Application developer), located in Germany.
    We are fully new to �Solaris� and Sun Java Communications Suite and know, that it�s a highly professional software system for large scale deployment. However we plan to install (64 Bit version) and manage it in a small network environment, consisting of a Server (4 GB RAM, RAID 5, AMD Dual CPU) based on Solaris 10 (X86) and *20* clients based on Win XP, Solaris and Linux.
    It�s a network of a non-profit organization, providing social services to local society.
    At clients we will use the Communications Express and the needed services are: Calander, Mail and Address book. (no need of Outlook Connector, Instant Messaging, Document Management, etc.)
    Our long-term aim is - after learning of professional architecting, deployment and management of Communications Suite - to provide integration and development services to organizations (schools and small / medium sized Business) and public in cooperation with ISP or infrastructure-providers like Sun Microsystems.
    Now, our main questions are:
    *1.-* Is the Server phy. recourse enough to deliver the mentioned services of Communication Suite to 20 clients without problems?
    *2.-* Isn�t Communications Suite oversized for such small network mentioned above or better, if we use another collaboration software system like Opengroupeware (http://opengroupware.org/) ? Opengroupeware is developed using non-java lang and therefore doesn�t match our strategy.
    *3.-* Does the Communications Suite download-pack includes all necessary components of Sun Java ES (Directory Server, Access Manager, etc.) or these components are to be downloaded separately?
    *4.-* What is the difference between the Sun Java System Messaging Server and the Sun Java System Message Queue?
    We appropriate very much your answers and any further useful information regarding our project.
    Thanks
    Asghar

    1> I believe your hardware can support 20 users (you might need to tune the Web Server heap size) - I had a Sparc 2x450mhz w/ 2GB of ram supporting 50+ users quite comfortably - with roughly half using POP and the other half IMAP/webmail. Ideally though, for best performance you would want to break up the main servers (LDAP, WEB, and MS) between hosts) - probably not necessary for 20 users. Having all on one machine simplifies things too (but also makes it a single-point-of-failure). Your disk obviously is important, the faster the better - that it's redundant is also nice - larger deployments might use much fancier storage systems to provide speed and redundancy, and use an the App Server instead of the Web Server as a container for Comms Express.
    2> I don't think it's "oversized" - might you mean overkill? In this case I don't think overkill is a bad thing. Why not have very capable software, even if you don't really need it -is how I see things.
    3> I believe you get all you need in the download. Though I've never tried the 64bit version (which I am guessing is only really necessary for larger deployments where you want to obtain maximized performance for heavier loads). I recommend following the single host evaluation document to get the hang of the install.
    4> I'm not sure - though the Messaging install I believe requires the MQueue stuff, I think it's sort of an API for messaging, also available separately, but used by JES Messaging system?
    Good Luck,
    s7

  • About Java Communication API for Windows

    hi
    I'm studying Serial Communication in university.
    I'd like to know the reason why we can't downlaod Java Communication API for Windows.
    I confirmed Comm for Linux and Soralis, but I can't find Comm for Win.
    Please tell me the reason if someone know.

    For no particular reason Sun stopped supporting the windows version
    of that package. I use rxtx which happens to allow for much faster
    communication too.
    The interface is identical to Sun's version, just the package differs: "gnu.io".
    kind regards,
    Jos

  • Problem with Java Communication API

    hi
    I installed the Java Communication API on win32 platform (as per the guidelines)
    Now when I try to run the sample program 'Blackbox' for the serial port, I get an error (in fact an exception is generated inside main function in BlackBox.class file)
    I tried the SimpleRead.java example but that too generated the same exception
    Can anybody help me out.... I am a novice with Java Comm API

    I tried running the sample BlackBox program provided for serial port and now it says
    No Serial Ports Found!
    I verified that both comm.jar and javax.comm.properties are in the <JDK>\lib directory.
    Actually, I am using netBeans IDE 1.4 and I used the C:\J2SDK folder installed with netBeans for the Java Communicaion API
    plz help.

  • Sun Java Communications Sync Problem

    hello,
    I have windows VISTA and i installed "Sun Java Communications Sync" on it.
    When i click in Outlook the "synchronize" tab then "Configure menu" to configure my calendar an Address Bokk settings, it gives me the error "Unable to login to synch engine".
    If i open the program after installation from the program menu, it gives me "Invalid user name" error.
    Any ideas?
    Thanks,
    stamford

    lock123 wrote:
    1) Contacts with birthday less then 1970 are stored in calendar server with birthday 1970 after synchronization from device.You cannot store contacts in the calendar server. The calendar server only stores events and tasks. Contacts are stored in the LDAP directory server.
    Is there any workaround to resolve the problem? If you meant to say that events with a start-date of less then 1970 don't get synchronised, then no, there is no workaround. This is a fundamental limitation of Unix timestamps as used by the calendar server to represents event dates.
    2)
    To clarify, the problem with Cyrillic characters becoming corrupted occurs when you sync contacts which exists only on the windows mobile device to the server-side addressbook? --- Yes it is
    Does this corruption occur if you synchronise a contact created on the server to the windows mobile client? ---- only birthday is wrong on pocket after syncThe birthday being incorrect is likely to be a different issues.
    A quick search didn't reveal any existing reports of the behaviour you are seeing and I have no way to reproduce the problem myself to investigate further so I suggest once again logging a Sun support case for these two issues (birthday & Cyrillic character corruption).
    Regards,
    Shane.

  • Java -jar Test.jar  option is not identifing the CLASSPATH on UNIX BOX

    Hi All,
    java -jar Test.jar
    I am trying to execute Test.jar file using -jar option. I am able to excute the Test.jar file but it is not identifing the CLASSPATH set for other JAR files which is used in part of Test.jar. Saying java.lang.NoClassDefFoundError: for the class which are set in CLASSPATH.
    The same is able to identify the CLASSPATH if i excute the Test.class file directly with out -jar option like
    java Test. In this case everything is working fine.
    Can any one tell me why it is not identifying the classpath if i use or execute with java -jar Test.jar option.
    Thanks,
    sha

    When you use the -jar option, the only classpath that is used is the Class-Path in the manifest file of the jar. If there is no Class-Path, then only the jar is searched for classes. If there is a Class-Path, the paths must be relative to the jar file.

  • Sun Java Communications Suite questions

    Hi all! This is my first post to these boards so please excuse any board fobars.
    Anyway, I have been charge with replacing our existing mail system based on POSTFIX, IMAP and SMTP with a better solution and have come to Sun Java Communications Suite as an option.
    I notice the software can be downloaded for free, but there isn't any obvious mention of end-user costs. Are there any?
    Second, what is the best way to back up the system each night and weekend. I have tried doing a search in Yahoo! and Google but haven't really come up with an answer. Can I back up individial mailboxes and objects with them or must I backup only the system as a whole?
    Thanks for any help!
    Mark

    Yes it has shared folders and you can set up email lists. For instance I have our hylafax fax server just convert the incoming fax and put it in a public company folder that everyone has read access to. Also I have a mailing list that when you send to the address it goes to all employees and you can add the ability for an outside email address like [email protected] rights to send mail to it. The graphical interface works well but you'll want to make your own service packages which isn't hard to do. I really like using commadmin to create my users over the delegated admin but that&#8217;s just me.
    Oh yea I also have a public mail folder I use for corp documents. I just email the docs into that folder.
    Calendar server is great. The outlook connector works great.
    Plus if you&#8217;re going to run it on Solaris 10 you get all the great functionality of that operating system for instance I have my whole mail server running on a solaris zone which resides on a zfs filesystem.
    Which makes it extremely easy to back up or clone and run experiments or updates something goes wrong just rollback. ZFS is truly the best file system out. Solaris is so awesome it was able to keep running even when one of my cheap xeon processors was running in a degraded state. Solaris Fault manager is a god send and they don&#8217;t even market it really. fmadm faulty has saved my butt many times.
    Solaris 10 + commsuite = Little downtime and tons of power.
    Edited by: mark42324 on Dec 4, 2008 5:45 PM

  • Performance in Sun Java Communication Suite 5 between Solaris 9 and 10

    Somebody knows which is the best Operation System to deploy the Sun Java Communication Suite? in performance terms?
    I have and old Sun Fire 280R with two 750 Mhz Processors, 3 GB Ram, and an A1000 Storage.
    Thanks a lot,
    Andres.

    AYacopino wrote:
    Somebody knows which is the best Operation System to deploy the Sun Java Communication Suite? in performance terms?Solaris 10 by far for several reasons:
    -> improved overall performance (kernel/networking level)
    -> ZFS for storage
    -> dtrace for debugging
    -> zones for the various components of the communication suite (http://www.sun.com/blueprints/0806/819-7663.html)
    I have and old Sun Fire 280R with two 750 Mhz Processors, 3 GB Ram, and an A1000 Storage.I'm not sure how many users you are planning to provide access to but your RAM is going to be the bottleneck.
    Regards,
    Shane.

  • Sun Java Communication Suite 5 using example deployment not working

    I download the sun java communication suite 5 for solaris sparc.
    I have a sunfire 280r server with Solaris 9 9/05 HW s9s_u9wos_06b SPARC installed.
    I follow the document 820-0086.pdf to try the product (deployment example), i succesfully installed the product using acasalud.com.ar as the domain.
    The problem arises when i begin to verify the installation(page 16), i sucessfully start the web services but when i put:
    http://fully-qualified-hostname:web-server-port/amconsole
    Nothing happens, the amconsole url doesn't exists.
    Somebody knows how to solve this?

    I found this in the logs:
    Web Server Admin command (/SUNWwbsvr7/bin/wadm) not found!|#]
    [#|2007-12-13T17:53:02-03:00|WARNING|CommsSuite|JavaESInstall|_versionID=1.0;_th
    readID=11;_SourceJavaFile=EntsysConfigurator;_SourceMethodName=executeCmd(cmd,en
    vp,dir);_CommsSuiteMessageID=;_CommsSuiteResourceBundle=|
    ldap_add: Already exists
    ldap_add: Already exists
    ldap_modify: Type or value exists
    ldap_modify: No such attribute
    ldap_modify: No such attribute
    ldap_modify: No such attribute
    ldap_modify: No such attribute
    ldap_modify: Type or value exists
    ldap_modify: Type or value exists|#]
    [#|2007-12-13T17:53:02-03:00|SEVERE|JavaES|JavaESConfig|_versionID=1.0;_threadID
    =11;_SourceJavaFile=IdentityServConfigurator;_SourceMethodName=configure();_Comm
    sSuiteMessageID=JavaES_ConfigIS24;_CommsSuiteResourceBundle=EntSysLoggingResourc
    es;_CommsSuiteArg1=1|Access Manager Configuration Failed ...1|#]

  • Java Communications API and Java SDK 1.4.2

    I just installed the Java Communications API 2.0 on my Windows XP system, with JDK 1.4.2. As per the install instructions, I copied files from the zip into my /lib and /bin directories and set the classpath. However, when I attempt to compile any of the samples, the compiler displays a large number of errors. I know the API documentation only references JDK1.2 -- are there any special tricks to installing on newer JDKs, or will I need to acquire an older JDK to develop?

    My path variable is still not being set! Here is the content of my autoexec.bat located on the root directory of C:\
    rem - By Groove Setup
    PATH=%PATH%;"C:\Program Files\Groove Networks\Groove\Bin"
    PATH=%PATH%;C:\PROGRAM FILES\J2SDK1.4.2_07\BIN
    /code]
    When I type 'path' at the MSDOS C:\ prompt, I receive the following in the get the following:C:\WINDOWS;C:\WINDOWS\COMMAND;\C:\PROGRAM FILES\GROOVE NETWORKS\GROOVE\BIN
    As an aside, I noticed that when I perform a search of the my hard drive (c:\), I find two autoexec.bat files. One at the root, and the other in C:\Windows\Command\EBD.
    I believe the instructions stated to modify the autoexec.bat at the root directory.
    TIA for any assistance. This is really becoming a nusance and taking up quite a bit of my time trying to resolve this problem.

  • Java Communications Package

    I have download the commapi file and load the files to the place in my current version. I am running J2SE 1.5.0_04. I have run the blackbox program and have found no serial ports. I have also tired running the SimpleRead.java. This comes up with this error message:
    Exception in thread "main" java.lang.NoClassDefFoundError; SimpleRead
    What does this mean?
    Why do I find no serial ports with the black box program?
    thanks

    Go to www.java.sun.com and type commapi on the search text box. You will find the Java Communication API for dowload.

  • Accessibility and Java GUI testing

    Hi,
    Can java accessibility be used for developing java GUI testing tool for applet embedded in IE? If not is there any other way we can test Java Appet GUI?
    best regards
    Krishna

    I do not know of a free tool, but you can use the Robot class in Java to create what you need.

Maybe you are looking for