Unable to read attachment from javamail using IMAP
I am unable to read and save attachement in java mail using IMAP, but able to do using POP3
Sample code below:
Multipart multipart = (Multipart) message.getContent();
for (int i = 0, n = multipart.getCount(); i < n; i++)
Part part = multipart.getBodyPart(i);
String disposition = part.getDisposition();
// here i am getting dispostion null if use IMAP, if i use POP3 then i can able to recevive attachment
if ((disposition != null) && ((disposition.equals(Part.ATTACHMENT) || (disposition.equals(Part.INLINE)))))
System.out.println("file name is " + part.getFileName());
message.setFlag(Flags.Flag.ANSWERED, true);
saveFile(part.getFileName(), part.getInputStream());
public static void saveFile(String fn, InputStream in) {
try {
FileOutputStream fos = new FileOutputStream(new File("c://test//" + fn));
byte[] buf = new byte[1024];
int i = 0;
while ((i = in.read(buf)) != -1) {
fos.write(buf, 0, i);
in.close();
fos.close();
} catch (IOException e) {
e.printStackTrace();
Any help is appreciated
Thanks
Sami
If you're getting disposition == null it's because your IMAP server
isn't returning this information to you. Possibly your IMAP server
is buggy. You can look at the protocol trace to see what the IMAP
server is returning, and if it's missing information that should be there,
report a bug to your IMAP server vendor.
Your program might need to work around this problem by deciding
that any body part with a filename is an attachment, or any part
after the first is an attachment.
Similar Messages
-
Hi Everybody,
i'm playing a little bit with Windows Azure and I'm blocked with a really simple issue (or maybe not).
I've created a Cloud Service containing one simple Worker Role. I've configured an EndPoint in the WorkerRole configuration, which allows Input connections via tcp on port 10100.
Here the ServiceDefinition.csdef file content:
<?xml version="1.0" encoding="utf-8"?>
<ServiceDefinition name="EmacCloudService" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition" schemaVersion="2014-01.2.3">
<WorkerRole name="TcpListenerWorkerRole" vmsize="Small">
<Imports>
<Import moduleName="Diagnostics" />
<Import moduleName="RemoteAccess" />
<Import moduleName="RemoteForwarder" />
</Imports>
<Endpoints>
<InputEndpoint name="Endpoint1" protocol="tcp" port="10100" />
</Endpoints>
</WorkerRole>
</ServiceDefinition>
This WorkerRole is just creating a TcpListener object listening to the configured port (using the RoleEnvironment instance) and waits for an incoming connection. It receives a message and returns a hardcoded message (see code snippet below).
namespace TcpListenerWorkerRole
using System;
using System.Net;
using Microsoft.WindowsAzure.ServiceRuntime;
using System.Net.Sockets;
using System.Text;
using Roche.Emac.Infrastructure;
using System.IO;
using System.Threading.Tasks;
using Microsoft.WindowsAzure.Diagnostics;
using System.Linq;
public class WorkerRole : RoleEntryPoint
public override void Run()
// This is a sample worker implementation. Replace with your logic.
LoggingProvider.Logger.Info("TcpListenerWorkerRole entry point called");
TcpListener listener = null;
try
listener = new TcpListener(RoleEnvironment.CurrentRoleInstance.InstanceEndpoints["Endpoint1"].IPEndpoint);
listener.ExclusiveAddressUse = false;
listener.Start();
LoggingProvider.Logger.Info(string.Format("TcpListener started at '{0}:{1}'", RoleEnvironment.CurrentRoleInstance.InstanceEndpoints["Endpoint1"].IPEndpoint.Address, RoleEnvironment.CurrentRoleInstance.InstanceEndpoints["Endpoint1"].IPEndpoint.Port));
catch (SocketException ex)
LoggingProvider.Logger.Exception("Unexpected exception while creating the TcpListener", ex);
return;
while (true)
Task.Run(async () =>
TcpClient client = await listener.AcceptTcpClientAsync();
LoggingProvider.Logger.Info(string.Format("Client connected. Address='{0}'", client.Client.RemoteEndPoint.ToString()));
NetworkStream networkStream = client.GetStream();
StreamReader reader = new StreamReader(networkStream);
StreamWriter writer = new StreamWriter(networkStream);
writer.AutoFlush = true;
string input = string.Empty;
while (true)
try
char[] receivedChars = new char[client.ReceiveBufferSize];
LoggingProvider.Logger.Info("Buffer size: " + client.ReceiveBufferSize);
int readedChars = reader.Read(receivedChars, 0, client.ReceiveBufferSize);
char[] validChars = new char[readedChars];
Array.ConstrainedCopy(receivedChars, 0, validChars, 0, readedChars);
input = new string(validChars);
LoggingProvider.Logger.Info("This is what the host sent to you: " + input+". Readed chars=" + readedChars);
try
string orderResultFormat = Encoding.ASCII.GetString(Encoding.ASCII.GetBytes("\xB")) + @"MSH|^~\&|Instrument|Laboratory|LIS|LIS Facility|20120427123212+0100||ORL^O34^ORL_O34| 11|P|2.5.1||||||UNICODE UTF-8|||LAB-28^IHE" + Environment.NewLine + "MSA|AA|10" + Environment.NewLine + @"PID|||patientId||""""||19700101|M" + Environment.NewLine + "SPM|1|sampleId&ROCHE||ORH^^HL70487|||||||P^^HL70369" + Environment.NewLine + "SAC|||sampleId" + Environment.NewLine + "ORC|OK|orderId|||SC||||20120427123212" + Encoding.ASCII.GetString(Encoding.ASCII.GetBytes("\x1c\x0d"));
writer.Write(orderResultFormat);
catch (Exception e)
LoggingProvider.Logger.Exception("Unexpected exception while writting the response", e);
client.Close();
break;
catch (Exception ex)
LoggingProvider.Logger.Exception("Unexpected exception while Reading the request", ex);
client.Close();
break;
}).Wait();
public override bool OnStart()
// Set the maximum number of concurrent connections
ServicePointManager.DefaultConnectionLimit = 12;
DiagnosticMonitor.Start("Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString");
RoleEnvironment.Changing += RoleEnvironment_Changing;
return base.OnStart();
private void RoleEnvironment_Changing(object sender, RoleEnvironmentChangingEventArgs e)
// If a configuration setting is changing
LoggingProvider.Logger.Info("RoleEnvironment is changing....");
if (e.Changes.Any(change => change is RoleEnvironmentConfigurationSettingChange))
// Set e.Cancel to true to restart this role instance
e.Cancel = true;
As you can see, nothing special is being done. I've used the RoleEnvironment.CurrentRoleInstance.InstanceEndpoints to retrieve the current IPEndpoint.
Running the Cloud Service in the Windows Azure Compute Emulator everything works fine, but when I deploy it in Azure, then I receive the following Exception:
2014-08-06 14:55:23,816 [Role Start Thread] INFO EMAC Log - TcpListenerWorkerRole entry point called
2014-08-06 14:55:24,145 [Role Start Thread] INFO EMAC Log - TcpListener started at '100.74.10.55:10100'
2014-08-06 15:06:19,375 [9] INFO EMAC Log - Client connected. Address='196.3.50.254:51934'
2014-08-06 15:06:19,375 [9] INFO EMAC Log - Buffer size: 65536
2014-08-06 15:06:45,491 [9] FATAL EMAC Log - Unexpected exception while Reading the request
System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.IO.StreamReader.ReadBuffer(Char[] userBuffer, Int32 userOffset, Int32 desiredChars, Boolean& readToUserBuffer)
at System.IO.StreamReader.Read(Char[] buffer, Int32 index, Int32 count)
at TcpListenerWorkerRole.WorkerRole.<>c__DisplayClass0.<<Run>b__2>d__0.MoveNext() in C:\Work\Own projects\EMAC\AzureCloudEmac\TcpListenerWorkerRole\WorkerRole.cs:line 60
I've already tried to configure an internal port in the ServiceDefinition.csdef file, but I get the same exception there.
As you can see, the client can connect to the service (the log shows the message: Client connected with the address) but when it tries to read the bytes from the stream, it throws the exception.
For me it seems like Azure is preventing the retrieval of the message. I've tried to disable the Firewall in the VM in Azure and the same continues happening.
I'm using Windows Azure SDK 2.3
Any help will be very very welcome!
Thanks in advance!
Javier
En caso de que la respuesta te sirva, porfavor, márcala como válida
Muchas gracias y suerte!
Javier Jiménez Roda
Blog: http://jimenezroda.wordpress.comhi Javier,
I changed your code like this:
private AutoResetEvent connectionWaitHandle = new AutoResetEvent(false);
public override void Run()
TcpListener listener = null;
try
listener = new TcpListener(
RoleEnvironment.CurrentRoleInstance.InstanceEndpoints["Endpoint"].IPEndpoint);
listener.ExclusiveAddressUse = false;
listener.Start();
catch (SocketException se)
return;
while (true)
IAsyncResult result = listener.BeginAcceptTcpClient(HandleAsyncConnection, listener);
connectionWaitHandle.WaitOne();
The HandleAsync method is your "While (true)" code:
private void HandleAsyncConnection(IAsyncResult result)
TcpListener listener = (TcpListener)result.AsyncState;
TcpClient client = listener.EndAcceptTcpClient(result);
connectionWaitHandle.Set();
NetworkStream netStream = client.GetStream();
StreamReader reader = new StreamReader(netStream);
StreamWriter writer = new StreamWriter(netStream);
writer.AutoFlush = true;
string input = string.Empty;
try
char[] receivedChars = new char[client.ReceiveBufferSize];
// LoggingProvider.Logger.Info("Buffer size: " + client.ReceiveBufferSize);
int readedChars = reader.Read(receivedChars, 0, client.ReceiveBufferSize);
char[] validChars = new char[readedChars];
Array.ConstrainedCopy(receivedChars, 0, validChars, 0, readedChars);
input = new string(validChars);
// LoggingProvider.Logger.Info("This is what the host sent to you: " + input + ". Readed chars=" + readedChars);
try
string orderResultFormat = Encoding.ASCII.GetString(Encoding.ASCII.GetBytes("\xB")) + @"MSH|^~\&|Instrument|Laboratory|LIS|LIS Facility|20120427123212+0100||ORL^O34^ORL_O34| 11|P|2.5.1||||||UNICODE UTF-8|||LAB-28^IHE" + Environment.NewLine + "MSA|AA|10" + Environment.NewLine + @"PID|||patientId||""""||19700101|M" + Environment.NewLine + "SPM|1|sampleId&ROCHE||ORH^^HL70487|||||||P^^HL70369" + Environment.NewLine + "SAC|||sampleId" + Environment.NewLine + "ORC|OK|orderId|||SC||||20120427123212" + Encoding.ASCII.GetString(Encoding.ASCII.GetBytes("\x1c\x0d"));
writer.Write(orderResultFormat);
catch (Exception e)
// LoggingProvider.Logger.Exception("Unexpected exception while writting the response", e);
client.Close();
catch (Exception ex)
//LoggingProvider.Logger.Exception("Unexpected exception while Reading the request", ex);
client.Close();
Please try it. For this error message, I suggest you could refer to this thread (http://stackoverflow.com/questions/6173763/using-windows-azure-to-use-as-a-tcp-server
) and this post (http://stackoverflow.com/a/5420788).
Regards,
Will
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Unable to read payload from the message object in XI
Hello Guys,
Please help me about my problem in XI version 7.0.im quite new here.
im trying to test my config but error message occured. "Unable to read payload from the message object"
when i checked the comm channel this is the error message :
Error during database connection to the database URL 'jdbc:sqlserver://172.16.40.20:1433;databasename=TRAVEL:SelectMethod=cursor' using the JDBC driver 'com.microsoft.sqlserver.jdbc.SQLServerDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:sqlserver://172.16.40.20:1433;databasename=TRAVEL:SelectMethod=cursor': com.microsoft.sqlserver.jdbc.SQLServerException: Cannot open database "TRAVEL:SelectMethod=cursor" requested by the login. The login failed.'
when i tried my login in sql it works...but in this message the login is failed..what shall i do..
Please advice.
Thanks in advance
aVaDuDzHi
Check with the connection string & Authorization of user you have used.
MSSQL string is
jdbc:microsoft:sqlserver://dbhost:1433;databaseName=example;SelectMethod=Cursor
While doing JDBC its good to refer Note 831162 lot of problems can be resolved.
Thanks
Gaurav -
Unable to read payload from the message object
Hi
I have a scenario where i am send request to http receiver and getting the response. When I am testing through WFETCH it is working fine. But when i am testing through XI I am getting the follwoing error
Unable to read payload from the message object
I have tested the XI payload in mapping. I have done all kinds of testing but it is still giving the same error.
One more strange thing is
I have done one BPM scenario where Data is coming from Source to BPM( which is asyn) and then from it will go from BPM to Target (which is sync) But when I am checking the SXMB_MONI... it showing the messages like this
Source to BPM
Target to BPM
Target to BPM.
But i think it should show message like
Source to BPM
BPM to Target
Target to BPM
why i am getting the floHi
Check with the connection string & Authorization of user you have used.
MSSQL string is
jdbc:microsoft:sqlserver://dbhost:1433;databaseName=example;SelectMethod=Cursor
While doing JDBC its good to refer Note 831162 lot of problems can be resolved.
Thanks
Gaurav -
This is my first web service. I thought I read that the
service registers itself when first run, but it's just not jumping
for me. I'd try registering it, but I'm not sure how to fill in all
the blanks in the CF Administrator's Register Web Service form.
I believe I'm doing this pretty plain and simple. Any ideas
why this won't work? Tried both methods, both give the same error
-- "Unable to read WSDL from URL"
Calling URL:
http://prod.trollsoftware.com/echotest.cfm
Is looking at:
http://prod.trollsoftware.com/trollws.cfc?wsdl
which looks fine to me, but what do I know? This is my
first....
RLSI found this wonderful forum post
{HERE}">http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=7&threadid=881689[/S
and have been tyring to get it to run without removing the "/"
mapping in case that would "break" something on my production
server. I've tried hard to get Approach #2 to work as listed in
that item, but to no avail. I can almost always see the XML code,
but CF never wants to find it as an object reference.
To answer your questions -- and thank you for your help on
this! --
1. Yes. I can see the XML code just fine.
2. No. I get unknown host, connection failure, status not
available.
3. Doesn't work with IP, but that was expected as there are
many domains on this server, not just this one.
So, to continue, I thought I'd back up and try it on my CF7
server. The program runs from here [
http://www.saphea.com/echotest.cfm
against the WSDL/CFC file here [
http://components.findaportal.com/wsdl/trollws.cfc?wsdl
I can see the XML file just fine, but the echotest does not work
(code attached).
I created a mapping of "/wsdl" to
"d:\clients\components\wsdl" in trying to emulate Approach #2, and
created a web subdomain of
http://components.findaportal.com
to "d:\clients\components", but no dice. Approach #2 may have to be
abandoned.
Why would it work for you and not me? That's the weird part.
RLS -
IB Error: Unable to read symbols from "UIKit" (not yet mapped into memory)
I created a simple view program for iPhone, using IB to add a button and a label, once the button is clicked, the label text is changed.
I am able to compile it fine, and ran it. The program/view showed up. But when I clicked on the button, the console showed this message:
This GDB was configured as "i386-apple-darwin".warning: Unable to read symbols for "/System/Library/Frameworks/UIKit.framework/UIKit" (file not found).
warning: Unable to read symbols from "UIKit" (not yet mapped into memory).
I checked UIKit info, it's physically (full path) at:
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/System/Lib rary/Frameworks/UIKit.framework
The relative path to SKD is:
System/Library/Frameworks/UIKit.framework
I'm running the latest SDK beta 8, OS X 10.5.4 latest update.
Anyone had this bizarre problem? I was able to run all Apple samples fine.
Please help!
THanks!The answer is mentioned in a few other posts, but I thought I'd repeat it here, so that it's easier to find this solution in the future.
I got the same problem trying to build an iPhone-Simulator application using another build process -- in this case, Boost Build. When I tried to run the program, it gave me the same nonsensical dynamic-library error.
The problem is that the application you built for the iPhone Simulator is NOT a real application, even though it looks like one. You need to run it from within Xcode.
In my case, I got around the problem by building the GLPaint sample using Xcode, copying over the executable it generated with the one I generated via Boost Build, then running GLPaint (actually my program now) from within Xcode. Then it worked.
So far, it seems that Macintosh and iPhone are very unfriendly platforms to someone that's trying to port an existing project. Any attempt to do something, without completely buying into the Apple way of doing everything, leads to a torrent of cryptic undocumented errors. Even an old Unix guru like me can't keep up. -
Unable to read rdbms_server_dn from init.ora
I encounter a error message from trace file Oracle version is v8.1.7.0, windows NT server.
But the database is working fine.., just the trace file often been amend with this message.
*** SESSION ID:(14.482) 2006-09-27 08:40:36.453
Unable to read rdbms_server_dn from init.ora
Can some one help to solve it?
Thankshi
refresh ur cache memory as
Open IR : Environment -
> Clear SLD Data Cache.
now try to import the same.
evenif u wont get use Tcode: SXI_CACHE and from menu bar use as
XI RunTime Cahche------>Start Delta Refresh Cache (F6).
regards
sreeni -
Unable to read configuration from NDS
Dear All,
I just finished setting up this Border 3.9 server few months ago, everything works fine; but from time to time I will get the following message during ACLCHECK as follow: For example this is a log from system console after I made some changes on the proxy access rule.
2-19-2008 2:47:13 pm: BRDSRV-3.70-11
Severity = 1
Timestamp synchronization of BRDSRV.NLM is completed.
2-19-2008 2:47:13 pm: BRDSRV-3.70-11
Severity = 1
Timestamp synchronization of ACLCHECK.NLM is completed.
2-19-2008 2:47:47 pm: ACLCHECK-4.80-9
Severity = 1
ACLCHECK.NLM is reading rules from NDS...
2-19-2008 2:47:47 pm: ACLCHECK-4.80-1
Severity = 1
ACLCHECK.NLM read 15 rules from NDS.
2-19-2008 3:00:09 pm: BRDSRV-3.70-3
Severity = 1
Unable to read configuration from NDS (error - -669).
Again, this BDM server running just fine without any issue, all access rules is working, VPN and filtering is working fine as well. Just can't think of why it throwing me this error from time to time. Any suggestion?
Thank you,
JamesIn article <[email protected]>, Jkent wrote:
> 2-19-2008 3:00:09 pm: BRDSRV-3.70-3
> Severity = 1
> Unable to read configuration from NDS (error - -669).
>
This is an invalid password error, and I'm unsure why you are getting it.
Do you have a replica on the server?
> Again, this BDM server running just fine without any issue, all access
> rules is working, VPN and filtering is working fine as well. Just can't
> think of why it throwing me this error from time to time. Any
> suggestion?
3.9 sp1 is supposed to come out on Feb 29 - keep an eye out for it.
Craig Johnson
Novell Support Connection SysOp
*** For a current patch list, tips, handy files and books on
BorderManager, go to http://www.craigjconsulting.com *** -
Unable to read data from the SAP marketplace
Hi All,
These days, certain packages in my download basketball cannot be downloaded, while others can be downloaded normally.
After serveral redirecting, the SAP download manager keeps informing me that "Unable to read data from the SAP marketplace, check your settings and try again".
Anyone knows how to solve it?
Thanks,
YiningHi Yining,
You user on SAP MarketPlace is locked.
You have to unlock it but I do not know the way.
Check in user data maintenance on SAP MarketPlace who is your responsible and perhaps he wwill be able to solve to unlock our user.
Regards,
Ronan -
Unable to read data from the SAP Service Marketplace issue
Good morning, experts.
I´ve just installed the SAP Download Manager, but I can´t get connected to Marketplace.
First I tried downloading a file I could see in my Basket Download. Then I deleted it from the basket so I could test only the connection. In both situations I got the same error message: "Unable to read data from the SAP Service Marketplace (...)".
It is probably due to wrong settings, but I can´t figure it out. My settings are:
Address: https://websmp205.sap-ag.de/
User name: S0005951541
Password: (my password)
Proxy (my proxy settings)
Any ideas?Thanks for your answer.
I can see my download basket online. I realize I didn´t delete the items so I could test purely the connection. I am going to do it again.
I found out I dind´t have permission to download those items, and with the right permission I could download them directly online.
As long as I have more information I am going to repost this issue on a new forum.
Thanks. -
Error when reading data from XML using JAXB?
Hi all,
I get the error message when reading data from XML using JAXB.
[org.xml.sax.SAXParseException: The entity name must immediately follow the '&' in the entity reference.]
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException
(AbstractUnmarshallerImpl.java:315)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshalException(UnmarshallerImpl.java:481)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:199)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:168)
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:137)
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:142)
I don't find the reason, please help!
Thanks in advance!The problem is sovled.
-
Named Error - unable to read locator from NCP
OES 11 SP2 with DSFW
when rcnovell-named loads, the named.run returns :
dns/db : critical : unable to read locator from NCP server
dns/db : critical : Failed to lod RRs of rootserver zone with error -10
ldapsearch -x -b "" objectClass=dNIPlocator returns 0 object
The DNSDHCP locator object is in the tree adn I have checked all it;s
attributes and references
I have tried out most if the TIDS on this
Any help would be appreciated
SteveHere they are :
SASL/EXTERNAL authentication started
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn =auth
SASL SSF: 0
dn: cn=DNS_dsfw-2,ou=OESSystemObjects,o=WILLDAV
dNIPServerDN: cn=dsfw-2,ou=OESSystemObjects,o=WILLDAV
SASL/EXTERNAL authentication started
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn =auth
SASL SSF: 0
dn: cn=dsfw-2,ou=OESSystemObjects,o=WILLDAV
dNIPLocatorPtr: cn=DNS-DHCP,o=WILLDAV
dNIPDNSServerReference: cn=DNS_dsfw-2,ou=OESSystemObjects,o=WILLDAV
Steve wrote:
> Had to export LDAPCONF first ...
>
> But, my stntax must be wrong as no objexts are found
>
>
> Steve wrote:
>
> > Sorry - BAD syntax in my LDAP statement :
> > Should have been "ldapsearch -x -b "o=willdav"
> > objectClass=dNIPlocator This does return the object :
> >
> > dn: cn=DNS-DHCP,o=willdav
> > objectClass : Rop
> > objectClass: dNIPLocator
> > cn: DNS-DHCP
> > name: DNS-DHCP
> >
> >
> >
> > I'm getting this response for wach query:
> > ldap_sasl_interactive_bind_s: Unknown authentication method (-6)
> > additional info: SASL(-4): no mechanism available:
> >
> > My statemnet syntax is :
> > ldapsearch -Y EXTERNAL -s base -b
> > "cn=DNS_dsfw2,ou=OESSystemObjects,o=willdav" dNIPServerDN -LLL dn:
> > cn=DNS_dsfw-2,ou=OESSystemObjects,o=willdav dNIPServerDN:
> > cn=dsfw-2,ou=OESSystemObjects,o=willdav
> >
> >
> >
> > rkamalesh wrote:
> >
> > >
> > > thhg;2303944 Wrote:
> > > > OES 11 SP2 with DSFW
> > > >
> > > > when rcnovell-named loads, the named.run returns :
> > > >
> > > > dns/db : critical : unable to read locator from NCP server
> > > > dns/db : critical : Failed to lod RRs of rootserver zone with
> > > > error -10
> > > >
> > > >
> > > >
> > > > ldapsearch -x -b "" objectClass=dNIPlocator returns 0 object
> > > >
> > > > The DNSDHCP locator object is in the tree adn I have checked all
> > > > it;s attributes and references
> > > >
> > > >
> > > > I have tried out most if the TIDS on this
> > > >
> > > > Any help would be appreciated
> > > >
> > > > Steve
> > >
> > >
> > > Hi Steve,
> > >
> > > Welcome back!! Could you please attempt the below searches and
> > > copy the output here
> > >
> > > 1. Search for dNIPServerDN for NCP server object on DNS Server
> > > object. frd:~/Desktop/x86_64 # ldapsearch -Y EXTERNAL -s base -b
> > > "cn=DNS_frd,ou=OESSystemObjects,o=novell" dNIPServerDN -LLL
> > > dn: cn=DNS_frd,ou=OESSystemObjects,o=novell
> > > dNIPServerDN: cn=frd,ou=OESSystemObjects,o=novell
> > >
> > > 2. Search for dNIPLocatorPtr attribute on NCP server object that
> > > points to DNS Locator object and ensure all are good.
> > > frd:~/Desktop/x86_64 # ldapsearch -Y EXTERNAL -s base -b
> > > cn=frd,ou=OESSystemObjects,o=novell dNIPDNSServerReference
> > > dNIPLocatorPtr -LLL
> > > dn: cn=frd,ou=OESSystemObjects,o=novell
> > > dNIPLocatorPtr: cn=DNS-DHCP,ou=OESSystemObjects,o=novell
> > > dNIPDNSServerReference: cn=DNS_frd,ou=OESSystemObjects,o=novell
> > >
> > > Based on this search result we will explore further.
> > >
> > > -Kamalesh -
1456 the remote management agent is unable to read information from edirectory
I have novell 6.5 sp6 and Zfd 7sp1.
From consoleOne I can done the action "remote control" when the
workstation is already turn on.
I can do the "remote wakeup" but after I can't do the login. I can't see
the window novell login.
When the machine is up I have tried to do the action "remote control" but
I have this error:
1456 the remote management agent is unable to read information from
eDirectory.verify the workstation object is valid and the middle tier
server is up and running.
Into the event log I have seen this (under application):
Remote operator: cn=moni.ou=mio.o=mytree.t=tree
console address: CN=P30g-0510_1_1_1.ou=workstation.o=mytree.t=tree
invalid NDS authentication informatiom.
Please, Can sonmeone help me?
thanks for all and excuse me for my poor english I'm italian.
Regards
MonicaI have found my problem:
On my server there isn't SLP configured.
Now my problem became how to configure SLP !!!
thanks for all
Regards
Monica -
Read E-Mail Actionblock -Unable to read mail from Mailserver
Hi,
As a part of business requirement I need to write a transaction which picks the attachment from a particular mail on a server on a scheduled basis.
I am getting the below error while trying to connect to the server
[INFO ]: ReadMail: Connecting To: xxxx.yyyy.mycompany.com
[ERROR]: ReadMail error: Connect failed; nested exception is: java.net.ConnectException: Connection refused: connect+
[ERROR]: ACTION FAILED: End Action ReadMail_0 :
But with the same credentials I am able to send mail from xMII using the Send mail action block.So this signifies that I am using the right MailServer name.
Is this the problem with the firewall with the server ? or
Will there be different MailServer name for receiving and reading mails?
How to know which port number to be used?
Did any one faced this problem before?
Appreciate your help
thanks
RajHi,
Im also having problems with reading mails from mailserver.
When I execute the transaction the action block Read Mail return me the following error:
[ERROR] [ReadMail]Unable to read mail Exception: [unicode-1-1-utf-7]
Could anybody help me?
P.S.: Im using the imap4 protocol.
Thank you!
Edited by: Thiago Barros on Jul 29, 2010 5:15 PM -
Unable to read file from application server
Hi guys,
I am reading file(could be any extension) from application server,but some time i am successfuly able to read file and sometime unable to read,why its happening .
my code is here
OPEN DATASET E_FILE FOR INPUT IN BINARY MODE . "
IF SY-SUBRC = 0.
DO .
READ DATASET E_FILE INTO GS_PDF_TAB.
IF SY-SUBRC = 0.
APPEND GS_PDF_TAB TO GT_PDF_TAB.
ELSE.
EXIT.
ENDIF.
ENDDO.
CLOSE DATASET E_FILE.
ENDIF.
Thanks
Ankur SharmaHi,
What actually happens? Do you get a short dump? Do you get a return code ne 0? Does it run fine but you get no data in your table?
We aren't mind-readers and can't help much without more information.
Try using transaction AL11 to see if you access the files you are trying to open.
Gareth.
Maybe you are looking for
-
Regarding Outgoing Excise Invoice
Dear All, I have a problem for eg. My Client has made a GRN of 100 Quantities and from this GRN he has made the A/P Inovice. Now after 3-4 days he does the Quality Check of the Stock received. Now during the Quality Check some items
-
Can I use my iPod as a hard drive?
In addition to listening to music and looking at photos, I would like to use my iPod as a hard drive. I was able to set the switch to do this on my Mac Powerbook in iTunes. But I want to transfer some files to my desktop PC. I don't want to put the s
-
How do I create a new document that is 8" X 8" and with Print as the document profile?
Page 47 in Chris Botello's Adobe Illustrator CS6 of Cengage's Illustrated Series asks this for the Independent Challenge for Unit B. "Create a new document that is 8" X 8" and with Print as the document profile." As long as its CMYK it's "Print". Ri
-
DVD Studio is Freezing on me...
Hey everyone I've been having lots of trouble when I import my m2v file onto DVD Studio and it either freezes or it just doesn't show any image. I compressed it on compressor and that's another issue when I want to compress I get an exclamation point
-
hi, i can't find export in archive tab.. i need to save in pdf..