Error in File adapter Module.-- the whole lookup name is localejbs/localjbs
Hi All,
Iam just trying to do File to IDoc scenario using Seeburger Modules.File is picked and when it enters into modules , it is showing the below error.
Success Channel CC_SND: Send binary file "/sapint/testout/Input_Test". Size 2568 with QoS EO
Error Attempt to process file failed with com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Path to object does not exist at localjbs, the whole lookup name is localejbs/localjbs/SeeClassifier.
The Steps which i followed in Module are as follows.
ModuleName ModuleKey
localjbs/SeeClassifier classifier
localejbs/CallBicXIRaBean bic
localejbs/Seeburger/MessageSplitter splitter
ModuleKey ParamterName ParameterValue
bic mappingName AUTO
bic destSourceMsg MainDocument
bic destTargetMsg MainDocument
bic split true
bic classifierAttID classifierAtt
classifier destSourceMsg MainDocument
classifier attID classifierAtt
classifier showInAuditLog true
If anyone has idea what might be wrong?? kinldy share the same.
Its urgent for me.
ThankYou
Seema.
Hi,
I think you have done a typo error. is it not
localejbs/SeeClassifier classifier*
To find the correct JNDI lookup name, log in to Visual Administrator of the J2EE Engine and in server node look for the JNDI Registry Service.Spot your desired bean and fetch the whole JNDI name form there.
Regards,
Sudharshan N A
Similar Messages
-
File adapter module enhancement error
Hello All,
We have a EDI scenario where data for 110 is to be transfered to SAP. Here customer is not able to ahead with seeburger hence decided to develope a adapter module. We have done that and started testing . While testing we are getting a error, in which ":" is field separator which is getting converted to "[]" . This we found when we debugged module process method. Pl can you suggest why this conversion is happening and how to resolve.
If you see , When I use only standared sap module file is getting read as it is. There is no such conversion happening.
Pl can you suggest at the earliest possible.
thanks,
SharadaHi,
I think you have done a typo error. is it not
localejbs/SeeClassifier classifier*
To find the correct JNDI lookup name, log in to Visual Administrator of the J2EE Engine and in server node look for the JNDI Registry Service.Spot your desired bean and fetch the whole JNDI name form there.
Regards,
Sudharshan N A -
File Adapter-Module configuration
Hi All,
I have the following requiremnt.
"Duplicate files should not process"
Following are the File Access Parameters.
Source Directory: ABC (ex: contains aa1,aa2,aa3,aa4 files)
Filename: *
File name mask: aa*
My doubt is if they place aa1 file again in ftp , i should not process.
For this I'm thinking to write module configuration.
Can any one suggests , whether this is the correct approach? If it is could u explain how to write this module and where to write this module and how to import in xI, do i need to pass any parameter name in module configuration.
Regards,
venu.Hi Venu,
You can go with Module in the Sender File Adapter.
First you need to check the file name and you need to store this file name in the Database.( you can use Java Database).
If there is an entry in the database for that file, then reject the whole file as per the business requirement. So that you can avoid , overhead of Mapping. Because if there is an error set the flag in the message and check this flag in your Receiver Determination, if it is an error send into error directory.
Another way is outside the XI, i.e using shell scripts.
Regards,
Moorthy -
Is it possible to send error message from Adapter Module to CCMS?
Hi
Is it possible to send error message from Adapter Module to CCMS...?I have written on adatper module from there i have to send error message to CCMS or SXMB_MONI. Is it possible if yes please send me the related documents
Best Regards
Ravi Shankar BHi
I have written following User Defined Exeption in my Module program
class DuplicateFileException extends ModuleException{
DuplicateFileException(String message){
super(message);
I am throwing my Exception like this
try{
throw new DuplicateFileException("Duplicate File");
}catch(DuplicateFileException e){
throw e;
But i am not getting this exception in SXMB_MONI. In adpater monitoring i am getting the following exceptions
<b>
2007-05-16 15:51:30 GMT+05:30: Retry interval started. Length: 5.000 s
- 2007-05-16 15:51:30 GMT+05:30: Error: java.lang.NullPointerException
- 2007-05-16 15:51:30 GMT+05:30: An unknown error occured.
- 2007-05-16 15:51:30 GMT+05:30: Processing started
- 2007-05-16 15:51:25 GMT+05:30: Error: java.lang.NullPointerException</b>
can any one give me the idea how to send error from module program to SXMB_MONI
Thanks & Regards
Ravi Shankar B -
Sender File Adapter picking the same file twice
We are facing a weird issue with File Sender Adapter
We are using PI File Adapter ( NFS ) to read files for a NFS folder and
processing those in PI.Normally it works fine. But for a scenario we
are noticing it sometimes process the same file twice before archiving,
thus duplicating the financial postings.
What we have is :
File Sender Adapter - NFS, Polling interval 60 secs, and Processign
mdoe Archive. File name includes Wildcards - JE_Upload*.txt
what we are noticing is that :
when it picks up a file, it immediately polls again to check for
another file, and sometimes the file is not yet archived so it picks up
and reprocess the same file.
If you see the message below, both belong to the same file, and it
picked up the same file again in 12 secs after processing it the first
time
Successful 02.11.2009 15:01:00 02.11.2009 15:01:01 APMANUAL urn:bl:i2g:003:100
SI_SKF_FIDOC_OB XI Message
Successful 02.11.2009 15:00:49 02.11.2009 15:00:50 APMANUAL urn:bl:i2g:003:100
SI_SKF_FIDOC_OB XI Message
Anyone seen this behavior before?Hi,
Please check the script which creates file in source NFS Folders. There is possibility that script is making change in file when PI is picking up the file.
When PI picks the file first time it creates one message ID in system. After that if script is making any change in file without file name change (This need not necessary data change), for PI it becomes new file and new message gets generated in PI for same file.
This error normally comes when File adapter is not able to archive file succesfully. For eg. file with same name alredy exists in Archive folder.
File adapter generates the new message id whenfile get modified(eg.change in its length or data change) even though
the file name is same and when file get change ,XI file adapter thinks that its new file and hence generate the new message id for same file.
If file has same name and notmodified then XI adapter will not generate new message id and will keep on throw the error till you remove that file with same name from the
archieve directory.
-Warm Regards,
Gouri -
Error in File UNKNOWN.RPT: The request could not be submitted for backgroun
I receive: Error in File UNKNOWN.RPT: The request could not be submitted for background processing.
The error is on a windows Server 2008 SP2 production server. The report generates fine if I run it from within Visual studio 2008 on the server but not through IIS. The Crystal Reports is the version that came with vs2008 (10.5).
Initially I was getting unauthorized access errors so I granted full access to everyone for the bin and managed crystal report folders under program files. This fixed the unauthorized access problem but now I get the background processing error. I also tried to inpersonate an admin account with the same result. I tried to copy the crystal reports dll's to the bin folder for the project but that did not help either. I am running out of ideas. I did notice that a 16kb rpt file is generated in the Windows/temp folder every time I try to run the report.
the crashing page is here Link:[http://futuretechgroup.com/cgi-bin/crystaltest.aspx]
Here is the event log:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 5/24/2010 12:24:56 PM
Event time (UTC): 5/24/2010 7:24:56 PM
Event ID: 87ee3d9297fb409ea7b440b059a0f07d
Event sequence: 4
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/5172/ROOT-1-129192026961318172
Trust level: Full
Application Virtual Path: /
Application Path: C:\inetpub\vhosts\futuretechgroup.com\httpdocs\
Machine name: FTG2009
Process information:
Process ID: 3644
Process name: w3wp.exe
Account name: FTG2009\IWPD_1(yanoshftg)
Exception information:
Exception type: CrystalReportsException
Exception message: Load report failed.
Request information:
Request URL: http://futuretechgroup.com/cgi-bin/crystaltest.aspx
Request path: /cgi-bin/crystaltest.aspx
User host address: 70.173.237.72
User:
Is authenticated: False
Authentication Type:
Thread account name: FTG2009\IWPD_1(yanoshftg)
Thread information:
Thread ID: 5
Thread account name: FTG2009\IWPD_1(yanoshftg)
Is impersonating: False
Stack trace: at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)
at cgi_bin_CrystalTest.CreateReport() in C:\inetpub\vhosts\futuretechgroup.com\httpdocs\cgi-bin\CrystalTest.aspx.vb:line 15
at cgi_bin_CrystalTest.Page_Load(Object sender, EventArgs e) in C:\inetpub\vhosts\futuretechgroup.com\httpdocs\cgi-bin\CrystalTest.aspx.vb:line 9
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)1. The OS is 32bit
2. Yes. The C drive is the primary drive
3. For the sake of simplicity and to troubleshoot the sample code has no datasource just 'Hello' in the report header. The Actual work order report that I need has ADO as datasource and it builds a PDF report without any problems when I run the page from VS2008 (development server) so I think the dll's are where thay are supposed to be. The c:\windows\assembly folder has about 25 CrystalDecisions files (10.5.37).
Do I still need to create a deployment package even though I have everything else working?
Below is the code I am using to create the report
Sub CreateReport()
Dim myReport As New ReportDocument
'Try
myReport.Load(Server.MapPath("CrystalReport.rpt"))
'Catch ex As Exception
'MsgBox(ex.InnerException.ToString)
'End Try
Dim g As Guid = Guid.NewGuid
Dim woPath As String = "../FileTemp/" & g.ToString & ".pdf"
'Try
Dim CrExportOptions As ExportOptions
Dim CrDiskFileDestinationOptions As New _
DiskFileDestinationOptions()
Dim CrFormatTypeOptions As New PdfRtfWordFormatOptions()
CrDiskFileDestinationOptions.DiskFileName = _
Server.MapPath(woPath)
CrExportOptions = myReport.ExportOptions
With CrExportOptions
.ExportDestinationType = ExportDestinationType.DiskFile
.ExportFormatType = ExportFormatType.PortableDocFormat
.DestinationOptions = CrDiskFileDestinationOptions
.FormatOptions = CrFormatTypeOptions
End With
myReport.Export()
'Catch ex As Exception
'MsgBox(ex.ToString)
'End Try
Response.Redirect(woPath)
End Sub -
I am using itunes 10 and trying to consolidate my files. I keep getting the error "Copying files failed. The file name was invalid or too long". How can I indentify what file is causing this problem or resolve this issue?
BUMP
Yes, I just get that message. I don't see how I could investigate this problem.
I didn't mention that this happened when I was consolidating my library, not copying files to another computer.
In other words, I'm using a "normal" itunes procedure, itunes won't complete it, and won't tell me exactly why or how to figure out how to fix it...
Is there at least some easy way to tell which files were successfully copied to my itunes music folder so I can work on moving the uncopied files?
Can anybody help me? -
Change status(Active/Inactive) of file adapter by the external command
Hi, all.
Is it possible to change status(Active/Inactive) of file adapter by the external command?
Let's say, like
"$ switch_file_adapter_status.sh <File Adapter name> <active|inactive>"
or something like that.
Actually, we have the following requirement for the file adapter.
For example, we have many "file adapter to R/3" scenarios and we only want to allow data transfer between 9:00 a.m. to 9:00 p.m.(R/3 service time).
In order to achieve this requirement, one option would be to switch file adapter status between active and inactive by external command line.
And this command will be controlled by the job scheduler(like Tivoli).
Does XI(3.0 or above) have this kind of feature?
Best Regards.Hi,
I don't think that this is possible.
But one Solution for your problem could be a job on xi who execute the Queue.
So that Adapter work the hole time and send the Message to XI Queue which process them not automatically.
And the XI Queue you can trigger with a Job like normal R/3 Jobs.
Hope that helps,
Regards,
Robin -
Hi
I am deploying my flash swf in dreamweaver, however i have a
problem my image is not fillng the whole of my browser screen
idealy 1000 x 600 and I am getting horible white borders around my
artwork.
I have
A used the properties settings in flash and sett my both my
stages to 1000 x 600 including my preloader
which the main swf loads into
B used the publish settings to match my document setting in
percent so they align in the middle of the page
Is there anything I can do in dreamweaver so my swf file
always fills the whole browser screen?
thanks
matt> I am deploying my flash swf in dreamweaver, however i
have a problem my
> image
> is not fillng the whole of my browser screen idealy 1000
x 600 and I am
> getting
> horible white borders around my artwork.
A flash file is proportional, and a web browser viewport
isn't necessarily
proportional.
So, unless you are forcing a persons web browser to a set
size (and I'd
STRONGLY not recommend doing that...ESPECIALLY at the size
you want) then
you'll need to confine your actual SWF file to a specific
size on the page
itself.
> A used the properties settings in flash and sett my both
my stages to 1000
> x
> 600 including my preloader
> which the main swf loads into
The stage in Flash is not what tells the web browser what
size to set the
SWF on the HTML page itself. That's done in the HTML when you
'publish/export' your SWF file from flash using the HTML tab.
> Is there anything I can do in dreamweaver so my swf file
always fills the
> whole browser screen?
Well, you set the width and height to 100%, but that will
distort your SWF
file if people change the aspect ration of their browser from
that of the
SWF file.
-Darrel -
Hi;
i have install 2 MCS 7816 (publisher and suscriber) with call manager version 6.1, i have load the files licenses for the publisher and the phones, but when i load the file license for the suscriber in publisher server i had the error messeage :
Error : License File Exception (check the log file for details): ENT_PE_NODE not found in datastore
what s the solution.
Thanks for your helpHello,
I seen this issue before, all you have to do is Contact Cisco Licensing team. In order to generate new licenses for your server.
Thanks, -
"There was an error opening this document. The filename, directory name, or volume label syntax is incorrect."
I tried different versions, no avail.
I think it has to do with the password somehow, but I do not know. I can copy the files from the web folder to my desktop and they open fine (after entering the password AGAIN), but I can not open them directly form the web folder - it does not ask for the password again, just pops up the error.
Adobe's support really upset me (insert explicative here) by keeping me on the phone for 20 min, collecting all sorts of information about me (not the problem) with some lady who barely spoke English, just to tell me to go to the website. No surprise they need to charge for tech support, customer service is doing everything but "service". I hate companies that do this. I am thinking of using another PDF reader, I have heard good things about them. Check
http://en.wikipedia.org/wiki/List_of_PDF_software
Has anyone ever been able to find a fix? I can not find anything on this site.Howdy, Moritz!
Thanks for the suggestion, but this is not an issue of filename and language conflicts, at least in my environment. I highly doubt that's the root cause of this issue.
The PDF files in my tests have all had very simple names, such as 123.pdf and test.pdf, as well as more complicated names with spaces in them. Nothing about the files contains anything outside of the English language, including the content and filenames.
From everything I've been able to determine, this is a WebDAV-related security issue that affects programs like Acrobat Reader. I know for a fact that MS's KB892211 WebDAV patch doesn't create the issue, however MS's update to that 892211 patch DOES create the issue. As I've outlined earlier in this thread, my extensive testing has proven this more than once.
At this point, I haven't been able to accurately uninstall the update to 892211 after the update has been installed. And, as far as I can tell, the update to 892211 comes down from MS as a Office and/or Windows Update component. So, everyone has it, the uninstaller doesn't work, and there's no documentation detailing what registry entries are being changed when the update to 892211 is installed.
My ultimate goal is to bring a test machine to the point just before the update to 892211 goes on, fire up the Registry, Process, and File monitors on my test box, and install the 892211 update. This should give me an accurate picture of what I need to restore in order to rid the machine of the update to 892211.
Until Microsoft officially fixes the issue, I am not totally sure how this will be resolved. I've ceased my work on the issue for now since copying the PDF file from the WebDAV share to the user's desktop gets the user what they wanted in the first place - the ability to open the PDF file!
Maybe, once some other projects slow down a bit, I might get back to creating a solution, but it's going to be a "hack" no matter which way you slice it. I'd much rather MS spend their time creating the solution. If I have to do it, my fee to MS will be quite HIGH! :*)
George B. -
Receiver File Adapter Module processor issue
Hello all,
I have deployed (using SDM) a specific module for one of my file communication channel.
In MDT, I have the following error :
Exceptions survenues pour Adapter Framework : Object not found in lookup of Module0001
La diffusion du message vers l'application via File_http://sap.com/xi/XI/System a échoué en raison de : com.sap.aii.af.ra.ms.api.RecoverableException: Object not found in lookup of Module0001.: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of Module0001.
Where can be the source of this problem ?
Thanks a lotJean
Also check if the "JNDI" name that you have specified in the Receiver Adapter module
excluding localejbs matches the deployed name in the "J2ee Aministartor Deploy service.
for example if you have
localejbs/sap.com/BeanName
you should have
the service deployed under
/sap.com/BeanName
regards
krishna -
Error-Receiver File Adapter using Variable substitution when file is empty
XI Experts,
We are on PI 7.0, SP14.
We are using variable subtitution to get the filename from source message. This works fine as long as we have data in the payload for filename element. But we have a scenario where we don't have to create file when certain condition does not exists in source message so in the message payload filename element will not exists in such condition and file will be empty and we should not create file.
Parameter in the communication channel for Handling empty message is "Ignore".
Does anyone knows how to handle this scneario. We don't want to default any file name in the message mapping if source file name element does not exists.
We are following getting error in the Adapter engine.
MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: The following variable was not found in the message payload: file: com.sap.aii.adapter.file.configuration.DynamicConfigurationException: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: The following variable was not found in the message payload: file
Thanks
MPYou can implement this by writing the module to throw an exception or whatever method you want to execute.
If you don't want to receive an error message then module is suitable for you.
Gaurav Jain -
Dynamic configuration required in sender file - Adapter Module
Hi Everybody,
I am developing an Adapter Module in the file adapter (sender) using Adapter Specific Message Attributes.
I am using Dynamic configuration inside the Module Process method in the adapter module.
We are getting an error saying Dynamic Configuration cannot be resolved.
Can anybody tell me the package to be used.
Thanks,
ZabiullaYou can access the dynamic configuration in adapter module like this:
Message msg = (Message) inputModuleData.getPrincipalData();
String fileName = msg.getMessageProperty("http://sap.com/xi/XI/System/File", "FileName");
You do not need any addition library besides the adapter module API.
Hope that helps
Stefan -
FileName in Sender File Adapter Module
Hi Folks,
In my sender file adapter have written a module to read the picked file name. The protocol used is NFS.
Notice that the file name read in the module has the absolute path, including the directory path. E.g The file name xyz has to be picked from source directory
XIServer\Outbound. In the module when I retrieve the file name, it comes up as
XIServer\Outbound\xyz. Is this expected behaviour?
I was expecting just the file name<xyz> to be retrieved.
Thanks,
AnandHI,
Create an UDF and write this code.
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key =
DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
String ourSourceFileName = conf.get(key);
return ourSourceFileName;
in Adapter u will have Adapter specific parameters check the file name check box.
Using this UDF u will get the file name at target side.
Regards,
Phani.
Maybe you are looking for
-
Any more suggestions please.
-
I am using the new iohone 5 , factory unlocked .
i am using the new iohone 5 , factory unlocked . i had used a nano sim card from a GSM company called 3 in the UK, but now want to switch , but now that i got the new nano sim for another GSM called Orange . but when it inot my itunes , or do the act
-
Does the mini ipad have parent controls?
Does the mini ipad have parent controls?
-
Equium A300D: Camera Software shows last picture I took 6 months ago
Hi, Just started using the built in camera on my Equium A300D after a long break (6 months). The software seems to run fine I can see whatever, is in front of the camera in preview and all seems right. However, when I press the snapshot button it sho
-
Java processes not coming up after WAS JAVA installation
Hi, After installing WAS ABAP and WAS JAVA, the Java related processes are not being seen. Under /usr/sap/<instance_name>/work, dev_jcontrol shows the following error: ERROR => OS release OS/400 V5R4 M0 570 is not supported with this startup framewo