Getting response from a server

im working on a simple smtp mail sender and i want to get responses to the commands that i post to the DataOutputStream. in all examples on java.sun.com and the net, there is a while block used for reading response from the server.
while((c=is.read()) != -1)
sb.append((char)c);
this code did not work on my application, i changed a bit like below:
/**Get a response from server */
private String getResponse() throws IOException {
int CR = 0, LF = 0;
int c;
char ch;
int count = 0;
StringBuffer sb = new StringBuffer();
while (true) {
c = is.read();
count++;
ch = (char) c;
if (c == -1) {
break;
else if (ch == '\r') {
CR = count;
else if (ch == '\n') {
LF = count;
if (LF - 1 == CR) { //CRLF seen
sb.append(ch);
break;
sb.append(ch);
return sb.toString();
and i use this function in my code as
os.write( ("QUIT\r\n").getBytes());
System.out.println("QUIT : " + getResponse());
this works, because it returns a single line that has a CRLF at the and of line, but if i want to read multi-line responses like greeting messages, i tried to change the code as on the examples like:
/**Get a response from server */
private String getResponse() throws IOException {
int c;
StringBuffer sb = new StringBuffer();
while((c=is.read()) != -1)
sb.append((char)c);
return sb.toString();
this code does not work, because i cannot reach the end of stream. i want to post one command and get one response for that command.
how an algorithm i can develop to solve this problem?
thanks for all help.

i changed the code and it's working well now:
/**Get a response from server */
private String getResponse() throws IOException {
int c;
if((c=is.read()) != -1) {
byte[] b = new byte[is.available()];
StringBuffer sb = new StringBuffer();
is.read(b);
sb.append((char)c);
for(int i=0; i<b.length; i++) {
sb.append((char)b);
return sb.toString();
return "";
if you directly use is.available() when there is no response currently available, it returns 0. we wait for the first character of server response, and then use is.available(). thanks to Kay_Kadner for the idea.
(im a newbie, and dont know how to convert byte[] to String, tried b.toString() but only got meaningless values)

Similar Messages

  • One socket and two ports, not getting response from the server

    Hi everyone,
    I am working on device which communicate through Tcp sockets, It has an IP address and one port for listening and another for sending the response.
    Problem is that I am able to create a connection to Device ip+port, and i am trying to listen on the same port while the device is sending the response on other port. My problem is that i can't create another socket using this port and therefore not getting the response from the device.
    Can you people tell me how to handle such socket communication in java ?
    Thanks in advance.

    I am working on device which communicate through Tcp sockets, It has an IP address and one port for listening and another for sending the response.Are you sure? That's not usual. It would be usual for it to use the same port for listening, reading, and writing.
    Problem is that I am able to create a connection to Device ip+port, and i am trying to listen on the same port while the device is sending the response on other port.I would try just reading from the same socket you are sending on. I suggest you have misunderstood how the device works.

  • Response from Tomcat Server slow and Invariable to JSP

    Hello,
    I have developed an application which is an INTRANET PORTAL in advanced java. My database is MySQL and Server is Tomcat V5.5
    The problem is server response is very slow and sometimes it stops responding, also when I try accessing it from remote machine I don't get response from my server.
    Please help...
    Thank and Regards

    since you posted to web server forum, i have to also add that web server 7 bundles a tomcat like web container within and can be used for your web serving needs. you can download web server 7 from http://www.sun.com/webserver

  • Socket Programming-Not getting response from server.

    Hi,
    I am trying to communicate with server using java socket programming, I am getting the response for first two times third time when I am trying to write some thing I am not getting any response from the server,
    I am writing to migrate the vb code to Java the vb is using a c++ dll to communicate with the server and we tried accessing the dll from java using JNI then it is working fine, this dll is dependent on windows so we want to avoid the dependency with windows that is why we are going for socket programming, Please help on this.

    Hi,
    I am writing the data in forms of string
    like
    Socket sockt = new Socket(ipAddress, portNo);     
    out= new DataOutputStream(sockt.getOutputStream());
    in = new DataInputStream(sockt.getInputStream());
    out.writeBytes("Serv");
    out.writeBytes("Serv,32");
    out.writeBytes("home,serv32,run.prg,sucess");
    these are the strings to communicate with server.
    I am trying to read the same
    StringBuffer buf = new StringBuffer();
              byte b = '\0';
                        try {
                   while ((b = in.readByte()) != '\0')
                        char ch = (char) b;
                        buf.append(ch);
              } catch (Exception e) {
                   System.out.println(e.getStackTrace());
    we are getting the response for the first two strings, but for the third string it is getting stucked for some time and returing some junk values like '???' we are sending the same string using JNI and it is working.

  • "This message may not have been delivered to User Name because there was no response from the server." in IM chat

    Hello All, 
    Sometime users are getting below error message on the IM windows when they having P2P IM Chat. 
    "This message may not have been delivered to User Name because there
    was no response from the server."
    I can see below error on the Lync 2013 Monitoring page. 

    Hi,
    Please make sure all required ports have been allowed. You can verify that all ports are open can accepting connections using telnet.
    Telnet from External Client:
    Test to SIP.domain.com 443/SIP
    Test to WebConf.domain.com 443/PSOM
    Test to AV.domain.com 443/STUN
    Telnet from Lync 2013 Edge:
    Telnet to Pool.domain.com 5061/SIP
    Telnet from Lync 2013 Pool:
    Telnet to LyncEdge.domain.com 5061
    Telnet to LyncEdge.domain.com 443
    Telnet to LyncEdge.domain.com 5062
    Telnet to LyncEdge.domain.com 4443
    Telnet to LyncEdge.domain.com 8057
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • An FTP Error occured - cannot make connection to host. No response from the server

    "An FTP Error occured - cannot make connection to host. No response from the server".
    As of today this is all i get when trying to connect to every single ftp account i have. It's not the server cause it's every one and there is several different. Tried passive and non-passive same result. I've connected fine with other FTP clients. So this must be another dreamweaver bug. Anyone know what to do?

    Very hard to diagnose these problems, particularly as you can connect using a 3rd party program.
    See if the 'timeout' issue could be at play here:
    http://forums.adobe.com/message/708941#708941

  • Unable to read SEARCH response from backend server

    Currently we have problem when searching huge amounts of users against new SunOne Directory Server v6.3
    in production and acceptance.
    [17:12:43] root@ecdiala03-2[!]# /opt/app/sun/ds6/bin/dsadm -V
    [dsadm]
    dsadm : 6.3 B2008.0311.0058 NAT
    [slapd 64-bit]
    Sun Microsystems, Inc.
    Sun-Java(tm)-System-Directory/6.3 B2008.0311.0058 64-bit
    ns-slapd : 6.3 B2008.0311.0058 NAT
    Slapd Library : 6.3 B2008.0311.0058
    Front-End Library : 6.3_MTR_5087249_1_20081209 B2008.1210.1821
    ==============================================================
    It’s not working while searching huge amounts of users against DPS.However, It’s working while searching huge amounts of users against DS.
    Below is the error from access log of DPS when the problem occurred.
    ==================================
    31/Mar/2009:14:08:17 +0200] - CONNECT - INFO - conn=4565433 client=153.88.247.15:2719 server=ecdiala03-1:389 protocol=LDAP
    [31/Mar/2009:14:08:17 +0200] - PROFILE - INFO - conn=4565433 assigned to connection handler cn=default connection handler, cn=connection handlers, cn=config
    [31/Mar/2009:14:08:17 +0200] - OPERATION - INFO - conn=4565433 op=0 BIND dn="uid=itimadm1,ou=system accounts,o=ericsson" method="SIMPLE" version=3
    [31/Mar/2009:14:08:17 +0200] - SERVER_OP - INFO - conn=4565433 op=0 BIND dn="uid=ITIMADM1,ou=system accounts,o=Ericsson" method="SIMPLE"" version=3 s_msgid=17 s_conn=ecditna03-2:72725
    [31/Mar/2009:14:08:17 +0200] - SERVER_OP - INFO - conn=4565433 op=0 BIND RESPONSE err=0 msg="" s_conn=ecditna03-2:72725
    [31/Mar/2009:14:08:17 +0200] - PROFILE - INFO - conn=4565433 assigned to connection handler cn=BindDone,cn=connection handlers,cn=config
    [31/Mar/2009:14:08:17 +0200] - OPERATION - INFO - conn=4565433 op=0 BIND RESPONSE err=0 msg="" etime=0
    [31/Mar/2009:14:08:17 +0200] - OPERATION - INFO - conn=4565433 op=1 msgid=2 SEARCH base="ou=External,o=Ericsson" scope=2 filter="(objectclass=inetorgperson)" attrs="*"
    [31/Mar/2009:14:08:17 +0200] - SERVER_OP - INFO - conn=4565433 op=1 SEARCH base="ou=external,o=ericsson" scope=2 filter="(objectclass=inetorgperson)" attrs="*" s_msgid=18 s_conn=ecditna03-2:72725
    [31/Mar/2009:14:12:25 +0200] - OPERATION - INFO - conn=4565433 op=1 SEARCH RESPONSE err=1 msg="Unable to read SEARCH response from backend server : Timeout when waiting to read from input stream" nentries=33959 etime=248309
    [31/Mar/2009:14:17:25 +0200] - DISCONNECT - INFO - conn=4565433 reason="other" msg="Exception caught while polling client connection LDAP.153.88.247.15.2719 -- java.io.IOException: Connection reset by peer"
    ================================
    >>
    > > [15:12:29] root@ecdiala03-1[!]# ./dpadm -V
    > >
    > > [dpadm]
    > >
    > > dpadm :
    > >
    6.3_PD_COMBO_CUMULATIVE_VIRTUAL_15112008_ED2.0+6774589+6780423+6778308+6782659_2
    > > B2008.1212.0459 NAT
    > >
    > >
    > >
    > > [DPS]
    > >
    > > Sun Microsystems, Inc.
    > >
    > >
    Sun-Java(tm)-System-Directory-Proxy-Server/6.3_PD_COMBO_CUMULATIVE_VIRTUAL_15112008_ED2.0+6774589+6780423+6778308+6782659_2
    > > B2008.1212.0436
    > >
    > > =================

    We have changed the value of data-source-read-timeout in DPS from 20s to 30m.As per application test, the "time out" error has gone, but we get a new error as following.
    ==========================
    [27/Apr/2009:05:28:36 +0200] - SERVER_OP - INFO - conn=209469 op=8 SEARCH base="ou=internal,o=ericsson" scope=2 filter="(objectclass=ericssonInternal)" attrs="EriCA-AttesterNL EriCA-EmploymentForm EriCA-KeyRecoveryNL-Auth EriCA-NL-Auth EriCA-NLOTP-Admin EriCA-NLOTP-User EriCA-accountExpires c cn departmentNumber description displayName eriCompanySynch eriCountry eriCountryCode eriEmployeeStatus eriExpired eriIsManager eriMasterDomain eriOpOrgUnitAbbreviation eriOpOrgUnitIdentifier eriOpOrgUnitName eriOperationalManager eriPartner eriPartnerTrigram eriPwSynchDate eriSignType eriSignum eriSignumStatus facsimileTelephoneNumber givenName isMemberOf l mail memberOf mobile objectClass ou sametimebrowseldap sametimehomeserver sametimeuser smChallResp smDisabled smXauthRADIUSServer sn telephoneNumber title uid uidNumber " s_msgid=27 s_conn=ecditna03-2:8645
    [27/Apr/2009:06:06:23 +0200] - SERVER_OP - INFO - conn=209469 op=8 SEARCH RESPONSE err=0 msg="" nentries=236367 s_conn=ecditna03-2:8645
    [27/Apr/2009:06:06:23 +0200] - OPERATION - INFO - conn=209469 op=8 SEARCH RESPONSE err=0 msg="" nentries=236367 etime=2266483
    [27/Apr/2009:06:11:27 +0200] - DISCONNECT - INFO - conn=209469 reason="other" msg="Exception caught while polling client connection LDAP.153.88.247.15.4862 -- java.io.IOException: Connection reset by peer"
    ================
    Each time while application client (153.88.247.15) connecting DPS to read, they will exit with “connection reset” error.
    Could you please kindly give us some suggestion if this error is realted to the DPS?

  • No response from Web Server

    Hello,
    I have installed Oracle9i application server Rel 2,9i Infrastructure & oracle 8i DB on Win 2000 server.The installation was successful.
    When I access the browser with http://<hostname>:7777 it works fine, it shows HTTP server welcome page.
    Now I am trying to access Portal home page using http://<hostname>:7779/pls/portal
    It seems, it searches for the Web site for sometime & then gives the error "No response from Web Server"
    What is the problem ?? Is there anything with the services ?? I can see two http servers(apps & infrastructure)in the program listing,is it related with these ??
    Please help.I will appreciate your support.
    Regards
    Sandeep

    Hi Sandeep.
    Try run EM WebSite running in http://&lt;hostname&gt;:1810.
    If you are familiarized with this service it should be easy to solve your problem.
    Once you access EM WebSite, you'll see two farms(One for iasdb, and one for Portal). That are some symbols that tell you about the status of Portal. If You see an red arrow pointing down, then you need to access Portal farm to put some services "up".
    Choose the link for Portal Farm.
    This page shows the status of all Portal components.
    For you to get response from your portal http server, there a few of these that must be working.
    They are (by order):
    1. OC4J_Portal;
    2. Web Cache;
    3. HTTP Server;
    For you to start them, you must (for each one) click on it's radio button an choose start.
    With this components "up" you should be able to access Portal.
    Some of other components cannot be started by us, because it's radio button is disabled, but Single Sign-On:orasso:7777 must be "up", and
    Portal:portal:7778 in my case is "down". The rest of OC4J components are needed for other utilities like deploying components.
    Hope i helped you.
    Pedro.

  • How to decrease timeout value when there is no response from BOE server?

    We are using BOE XI R2 .NET SDK to logon BOE XI R2 Server as below as well as using Infoview/CMC logon BOE:
    set boSessionManager = Server.CreateObject("CrystalEnterprise.SessionMgr")
    set boEnterpriseSession = boSessionManager.Logon(boUserID, boPassword, boCMS, boAuthType)
    There is no response for long time from BOE server after I excuting log on BOE using .NET SDK or Infoview/CMC App for more than one minute.
    So I want to timeout the logon atction after a certain time such as one minute if there is no response from BOE server.
    My question comes:
    1. What is the default timeout value for this operation?
        Where can I find it and how to modify it?
    2. I found ther are some registry keys on .NET APP Server:
        HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 12.0\Report Application Server\InprocServer\EnterpriseRequestTimeout
        HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 12.0\Report Application Server\Client SDK\CorbaAdapter\WaitReplyTimeout
    Are they for the action timeout I mentioned above? If not, what do they work for?
    It seems that WaitReplyTimeout is for report data retrieval timeout according to Kbase article 1199286 and which registry setting to change for long running reports, is it correct?
    Thanks for any response.
    Thanks,
    Sunny

    I don't think there is a setting available for this.  The timeouts you are looking at are essentially how long to wait for a report to process.
    My concern about trying to find a setting like this is that if you do get the client (aka SDK) to timeout after one minute, the CMS may still recieve this request shortly after and logon, creating a session that no longer has a handle to it and will then have to wait for it to timeout because of inactivity which would tie up a license.

  • Error - no response from the server

    Attempting to upload my first file (18,888 KB) to the acrobat.com server with this consistent error message: 
    "Error: Acrobat did not get a response from the server.  Try again later or contact your system administrator."  When I cancel the message after a retry, the following message appears: "The following files were not uploaded due to an unknown error."
    Support yesterday indicated to restart my machine - same result.  A bit desperate to get this up and running since I like the whole concept of sharing and presenting  technical information.  Help!
    Charles

    Did you ever figure out a solution to this problem?  I am getting the same message and can't figure out how to fix it.  Thanks!

  • Error: Unable to process the following response from FOI server

    Hi
    While integrating BI with mapviewer, I am getting the following error:
    Unable to process the following response from FOI server
    Please let me know how this can be fixed
    Thanks & Rgds
    Dipesh
    Message was edited by:
    user542575

    One more question about NSDP, Im still wondering how can NSDP work as you only need to declare nsdpInfo.setKeyColumn("xx") --xx
    Eg. My result set come from OBIEE, it hase 2 column xx and yy.
    Im just copy the sample code to translate the output into xml, the output sample is like:
    Column 1 Column 2
    440100 0
    440200 5
    440300 1
    So how can MapViewer know that the second column is the value column?
    The same question is about when the output is multiple column.

  • No response from the server

    Hi,
    I have a G4 imac and powerbook both running 10.3.9. They are both conected to a network created by my airport express, they both get internet and I can print to the printer attached to the imac from the powerbook.
    I have file sharing turned on on both computers and apple talk enabled for airport on both computers but when I click on the powerbooks icon in the network tab in finder it comes back with "Connection failed. No response from the server. Please try again."
    I tried again and again and...
    Also I can connect to the imac from the powerbook fine.
    Anybody got any sugestions.
    Thanks

    Try following these instructions, which I have copied from another discussion:
    The first step is: on each computer, go into System Preferences, then Sharing, and turn on "Personal File Sharing". On that page, you'll see, at the top, the computer's name (which you can change), and at the bottom, the IP number (eg 10.0.1.2), which you may need as an alternative.
    Then, on each computer, go to Finder, then click on Network. You may straightaway see the other computer appear - you can click on it, click "Connect", and then either log in as a user (it has to be a user that's been set up on that machine), or a guest.
    As a guest, you can access all Public folders on the computer.
    As a user, you can access that user's Home folder
    As an admin user, you can access the whole hard drive.
    So, if you have different user accounts set up on the computers, it's best to use Guest access and then put the files you're sharing in your user's Public folder.
    Now, if that computer doesn't immediately appear, go to the Finder, click cmd-K (to open the Connect to Server dialogue), and type in
    afp://ip-address-of-other-computer
    eg afp://10.0.1.2
    You'll then get the same login dialogue as above.

  • MediaSource Player: "Response from CDDB server had bad synt

    I am using the Creative MediaSource Player as part of the software I got with my SoundBlaster Audigy 2 PCMCIA card. I cannot register to use the CDDB database. I get the error message "Response from CDDB server had bad syntax"?There are many posts here regarding CDDB problems, but none?mention that particular error message. In fact, I Googled it and only two sites came up. But I read all the proposed solutions here and in those two sites, and have tried the following:?. Deleted cddb.db2. Unregistered and reregistered the 4 files mentioned3. Updated to latest version of the software4. Disabled ZoneAlarm5. Tried another app - I CAN successfully access CDDB from Roxio Easy-CD Creator's CD player.6. Manually entered the proxy address that's in IE|Tools|Connections?Has anyone else received this error message? What does it mean? The problem is clearly with the Creative product. Any suggestions?Many thanks,?-- Eric

    In the initial customer on that bug, it was not so much the client or what the client was doing, but the fact that it was connecting to the wrong backend IMAP server. If you are going thru the MMP, that should not happen. If you are going thru the webmail server (used by Convergence, UWC, and old webmail), it should not happen. Both of those (MMP and webmail) use the mailHost attribute to determine which backend to connect to. This specific 3rd party software was a different webmail service. It was supposed to be using the mailHost attribute, but it had a bug. So all connections were going to a default backend. And they have set up Distributed Shared Folders -- see:
    https://wikis.oracle.com/display/CommSuite/Managing+Shared+Folders#ManagingSharedFolders-ToSetUpDistributedSharedFolders
    The key to this bug is that the client has connected to one backend and that backend, for whatever reason, has proxied that connection to a different backend and the bug is in handling errors on that backend-to-backend connection.
    We have also seen it happen while moving users. It could also happen if the user is accessing a shared folder owned by a user on a different backend.

  • How to get file from FTP Server using File Control

    Hi,
    Any one did getting file from FTP Server?
    Please let me know any one help me.
    I would need to get file from FTP Server.
    Thanks,
    Madhu

    Yes I have done that. But In FTP Server I cannt read file, because no previliges. Only I need to copy file from FTP Server to local server then only I can read that file.
    I tried all options using FileConrol(getFiles(),read()).
    getFiles() - It wont copy the file, it give information about file.
    read() - I dont have previliges to read the file.
    Please tell me any other procedure would be there for getting file from FTPServer.
    Thanks,
    Madhu

  • Could not get IOR from Domino Server while provisioning Lotus Notes

    Hi all,
    There are two servers that have OIM installed, development server and test server. From development server, we can
    provision to Lotus Notes just fine. But for test server everytime when
    provision to Lotus Notes. There will be an exception
    NotesException: Could not get IOR from Domino Server: http://10.3.100.61:63148/diiop_ior.txt
    From test server
    I can access the URL http://10.3.100.61:63148/diiop_ior.txt using Internet Explorer
    I can telnet to 10.3.100.61 63148
    I can use connector testing program and it work fine
    All configuration and jar files are the same as development server
    There is no firewall or antivirus running in both systems.
    Both server is virtual server using VMWare.
    OS: Windows2003R2 Enterprise
    DB: Oracle 10gR2 10.2.0.2
    AS: Oracle AS 10g 10.1.3.3.0
    OIM 9.1.0
    Lotus Notes Connector 9.0.4.2
    Thank you.
    Satit
    The error is as below
    =================================================
    INFO,11 Nov 2008 11:24:26,109,[ADAPTER.LOTUSNOTES],LotusNotesProvision::init
    INFO,11 Nov 2008 11:24:26,109,[ADAPTER.LOTUSNOTES],LotusNotesProvision::init
    DEBUG,11 Nov 2008 11:24:26,109,[ADAPTER.LOTUSNOTES],LotusNotesProvision::init : Host 10.3.100.61
    DEBUG,11 Nov 2008 11:24:26,109,[ADAPTER.LOTUSNOTES],LotusNotesProvision::init : Port 63148
    DEBUG,11 Nov 2008 11:24:26,109,[ADAPTER.LOTUSNOTES],LotusNotesProvision::init : Admin Pongtape Ungkawanish/Telecom./Central Support/Fin./KK_Bangkok/TH
    DEBUG,11 Nov 2008 11:24:26,109,[ADAPTER.LOTUSNOTES],LotusNotesProvision::init : Certifier OU
    DEBUG,11 Nov 2008 11:24:26,109,[ADAPTER.LOTUSNOTES],LotusNotesProvision::init : Before session
    08/11/11 11:24:26 Running setTimeoutParameters
    08/11/11 11:24:26 Running Connect
    INFO,11 Nov 2008 11:24:26,109,[ADAPTER.LOTUSNOTES],LNotesConnectionUtil::getSession
    INFO,11 Nov 2008 11:24:26,109,[ADAPTER.LOTUSNOTES],LNotesConnectionUtil::getSession : ***Non-Secure Mode
    ERROR,11 Nov 2008 11:24:26,109,[ADAPTER.LOTUSNOTES],LNotesConnectionUtil::getSession : ***Connection refused to Lotus Notes......
    NotesException: Could not get IOR from Domino Server: http://10.3.100.61:63148/diiop_ior.txt
         at lotus.domino.NotesFactory.requestIORPlain(Unknown Source)
         at lotus.domino.NotesFactory.requestIORUsingArgs(Unknown Source)
         at lotus.domino.NotesFactory.getIOR(Unknown Source)
         at lotus.domino.NotesFactory.createSessionUP(Unknown Source)
         at lotus.domino.NotesFactory.createSession(Unknown Source)
         at com.thortech.xl.Integration.HostAccess.LNotesConnectionUtil.getSession(Unknown Source)
         at com.thortech.xl.Integration.HostAccess.LotusNotesProvision.connect(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpLNCREATEUSER.CONNECT(adpLNCREATEUSER.java:449)
         at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpLNCREATEUSER.implementation(adpLNCREATEUSER.java:160)
         at com.thortech.xl.client.events.tcBaseEvent.run(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.runEvent(Unknown Source)
         at com.thortech.xl.dataobj.tcScheduleItem.runMilestoneEvent(Unknown Source)
         at com.thortech.xl.dataobj.tcScheduleItem.eventPostInsert(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
         at com.thortech.xl.ejb.beansimpl.tcProvisioningOperationsBean.retryTasks(Unknown Source)
         at com.thortech.xl.ejb.beans.tcProvisioningOperationsSession.retryTasks(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SecurityRoleInterceptor.invoke(SecurityRoleInterceptor.java:47)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at tcProvisioningOperations_RemoteProxy_6ocop18.retryTasks(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.NullPointerException
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:781)
         at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:669)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:913)
         ... 45 more
    INFO,11 Nov 2008 11:24:26,109,[ADAPTER.LOTUSNOTES],Unable to connect to the target. Attempting to reconnect after delay of 2000ms.......
    INFO,11 Nov 2008 11:24:28,110,[ADAPTER.LOTUSNOTES],LNotesConnectionUtil::getSession
    INFO,11 Nov 2008 11:24:28,110,[ADAPTER.LOTUSNOTES],LNotesConnectionUtil::getSession : ***Non-Secure Mode
    ERROR,11 Nov 2008 11:24:28,110,[ADAPTER.LOTUSNOTES],LNotesConnectionUtil::getSession : ***Connection refused to Lotus Notes......
    NotesException: Could not get IOR from Domino Server: http://10.3.100.61:63148/diiop_ior.txt
         at lotus.domino.NotesFactory.requestIORPlain(Unknown Source)
         at lotus.domino.NotesFactory.requestIORUsingArgs(Unknown Source)
         at lotus.domino.NotesFactory.getIOR(Unknown Source)
         at lotus.domino.NotesFactory.createSessionUP(Unknown Source)
         at lotus.domino.NotesFactory.createSession(Unknown Source)
         at com.thortech.xl.Integration.HostAccess.LNotesConnectionUtil.getSession(Unknown Source)
         at com.thortech.xl.Integration.HostAccess.LNotesConnectionUtil.getSession(Unknown Source)
         at com.thortech.xl.Integration.HostAccess.LotusNotesProvision.connect(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpLNCREATEUSER.CONNECT(adpLNCREATEUSER.java:449)
         at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpLNCREATEUSER.implementation(adpLNCREATEUSER.java:160)
         at com.thortech.xl.client.events.tcBaseEvent.run(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.runEvent(Unknown Source)
         at com.thortech.xl.dataobj.tcScheduleItem.runMilestoneEvent(Unknown Source)
         at com.thortech.xl.dataobj.tcScheduleItem.eventPostInsert(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
         at com.thortech.xl.ejb.beansimpl.tcProvisioningOperationsBean.retryTasks(Unknown Source)
         at com.thortech.xl.ejb.beans.tcProvisioningOperationsSession.retryTasks(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SecurityRoleInterceptor.invoke(SecurityRoleInterceptor.java:47)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at tcProvisioningOperations_RemoteProxy_6ocop18.retryTasks(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.NullPointerException
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:781)
         at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:669)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:913)
         ... 46 more

    check if DIIOP service is turned on at the Lotus Domino side...
    Oleg.

Maybe you are looking for

  • How to use a custom script in a batch process?

    I was recently told that I can Photomerge, crop and save 2 separate folders of images to a 3rd folder in a batch process if I created a custom Javascript.  Are there any examples of how to integrate a custom script as an action in a batch process?

  • Security Error when creating a web service with Flex

    Hello comminuty. I'm using Flex to create a standalone application and I have to use web services to retrieve data from SAP. I used the bapi bapi_flight_getlist to create an associated WS that works fine (tested with the Eclipse's WS Explorer). In Fl

  • Array to String (VISA Write)

    Hello all, I'm trying to use the function "Triangle Wave.vi" from the Owning Palette "Signal Generation VIs" to output a triangle wave pattern voltage to an external DC power source.  My power source is an RS-232 connection, therefore I'm using VISA

  • CL_SFW_SYSTEM_SETTINGS error when importing SPs

    When we want to import the support packages SAP_BASIS, SAP_ABA, SAP_BW, PI-BASIS untill packages level 7 ( we come from level 4) and the HR untill package level 26 we run into the short text error when importing the basis, aba, pi-basis and bw packag

  • Can I sync E71 with MS Project?

    I mean, can I schedule a task within an MPP file... and sync it with my nokia, so the phone could ring the alarm when i specified in the MS project file ? Is there any-how ?