ANT Deployment issue. works fine in one environment but fails in other
Hi,
Ant script is working fine in Dev environment but is failing in the other environment. Somehow the BPEL server is not able to pick the latest deployed process , due to this the dependent BPEL processes are failing. If we restart the server , it moves forward and then fails at the point where it couldn’t find reference to the processes deployed after restart. Restarting the server at every failed interval will deploy all the BPEL processes which is not the solution.
example : we have BPEL Processes say A, B, C, D and E. A,B are independent processes C is dependent on A, D is independent and E is dependent on D. So I have Ant script to deploy in A,B,C,D,E order. Now I run the Ant Script: It deploys A,B processes and Fails at C saying it couldn't find the process A.wsdl(But A is deployed). So if i restart now it recognizes A and B are deployed so C is also deployed succesfully it also deploys D as it is Independent but fails at E. If i restart the server E is also deployed.
The Environment is clustered.
Any suggestion to make my Ant script to run at a go will be highly appreciated
Thanks
Krishna
Hi KrishnaBhaskarla,
I have something related to ant script, Can you please provide me the steps for deploying applications using ant script.
Regards
Kumar
Similar Messages
-
Query running fine in one environment but failing in other environment
Hi,
I have a query which i am trying to execute in two different environments.
Test :- Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
Prod:- Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
Now query executes finely in one environment and fails in other environment.
It gives following error.
ORA-01861: literal does not match format string
01861. 00000 - "literal does not match format string"
The query is too long and contains CHAR-DATE and DATE-CHAR conversions.
The same query works fine on TEST environment and and fails on PROD environment.
Any help related to it would be appreciated.
Thanks,
MaheshMaheshGx wrote:
Hi,
I have a query which i am trying to execute in two different environments.
Test :- Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
Prod:- Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
Now query executes finely in one environment and fails in other environment.
It gives following error.
ORA-01861: literal does not match format string
01861. 00000 - "literal does not match format string"
The query is too long and contains CHAR-DATE and DATE-CHAR conversions.
The same query works fine on TEST environment and and fails on PROD environment.
Any help related to it would be appreciated.
Thanks,
MaheshThat's called a bug. One caused by the person who developed the code. They relied on implicit conversion between strings and dates when
production quality code will always use to_char and to_date functions with a format mask. -
Program is working fine in one version but not in other how to handle this
hi all,
i have a program which works fine in ECC5. in that program i have used some XML related classes and interfaces. but when i try to execute this in 4.6c version its showing lot of all errors saying that so and so class or so and so interface is not supported in 4.6c version like that.
how to overcome these errors, means how to make the classes and interfaces which work fine in ECC5 to work well in 4.6c version.Hello Mr. Rich,
the coding which u provided was very helpful it almost solved my problem,but at
the the last iam stuck up with a small problem. i wrote the coding like this for my
program
tables:mara.
type-pools: truxs.
parameters: p_matnr like mara-matnr.
data: ixml type truxs_xml_table.
data: xxml like line of ixml.
data: size type i.
data: file_str type string.
file_str = 'C:\simp.xml'.
data: begin of itab_mara occurs 0,
matnr like mara-matnr,
ernam like mara-ernam,
aenam like mara-aenam,
vpsta like mara-vpsta,
end of itab_mara.
select matnr ernam aenam vpsta from mara into table itab_mara up to 5
rows where matnr = p_matnr.
CALL FUNCTION 'SAP_CONVERT_TO_XML_FORMAT'
EXPORTING
I_FIELD_SEPERATOR =
I_LINE_HEADER =
I_FILENAME =
I_APPL_KEEP = ' '
I_XML_DOC_NAME =
IMPORTING
PE_BIN_FILESIZE = size
TABLES
I_TAB_SAP_DATA = itab_mara
CHANGING
I_TAB_CONVERTED_DATA = ixml
EXCEPTIONS
CONVERSION_FAILED = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE = size
FILENAME = file_str
FILETYPE = 'BIN'
APPEND = ' '
WRITE_FIELD_SEPARATOR = ' '
HEADER = '00'
TRUNC_TRAILING_BLANKS = ' '
WRITE_LF = 'X'
COL_SELECT = ' '
COL_SELECT_MASK = ' '
DAT_MODE = ' '
IMPORTING
FILELENGTH =
TABLES
DATA_TAB = ixml
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
GUI_REFUSE_FILETRANSFER = 3
INVALID_TYPE = 4
NO_AUTHORITY = 5
UNKNOWN_ERROR = 6
HEADER_NOT_ALLOWED = 7
SEPARATOR_NOT_ALLOWED = 8
FILESIZE_NOT_ALLOWED = 9
HEADER_TOO_LONG = 10
DP_ERROR_CREATE = 11
DP_ERROR_SEND = 12
DP_ERROR_WRITE = 13
UNKNOWN_DP_ERROR = 14
ACCESS_DENIED = 15
DP_OUT_OF_MEMORY = 16
DISK_FULL = 17
DP_TIMEOUT = 18
FILE_NOT_FOUND = 19
DATAPROVIDER_EXCEPTION = 20
CONTROL_FLUSH_ERROR = 21
OTHERS = 22
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
but when i try to open the XML file into which the data has to be downloaded it shows the following error.
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
A name was started with an invalid character. Error processing resource 'file:///C:/simp.xml'. Line 1, Position 23
<?xml version="1.0"?><%_TYPE0000000019><%_TYPE0000000019><MATNR Datatype="C" Length="18">00000000008...
help me to resolve this problem.
thanks,
anil. -
MyPlugin works fine in AdobeReader-9 but fails in AdobeReader-X(10).
Hi ,
The plugin which i created using Acrobat SDK works fine in AdobeReader-9 but it doesnt works as expected in AdobeReader-X.
The issues with Reader-X are listed below :
1. MyPlugin doesn't get loaded at the top as the other tollbars , which i was able to load MyPlugin in Reader-9. In Reader-X , MyPlugin gets loaded at the right-side panel under 'Tools' Tab.
2. In Reader-X, there is an option which we can select for 'Enable Protected-Mode'.
a. If this is enabled i am able to see all the buttons of MyPlugin but when i clicked on each button it wont do its task instead i get error message saying unable to create HelperObject. Why MyPlugin's buttons not performing its task when the Protected-Mode is Enabled?
b.If i disable the Protected-Mode , i will see only first two buttons of MyPlugin(MyPlugin contains 4 buttons) and the when i click on those buttons it will be able to do its task as expected. Why i am not able to see all the buttons of MyPlugin during Protected-Mode disabled ?
Please let me know what i should do to make MyPlugin work in Reader-X. MyPlugin is working fine in Reader-9.
Thanks in advance. Please someone help me out from this..Hi Richard,
Sorry , i could not reply to your previous posts.
In the below link they is a sample for making IE-Plugin work when IE-Protected mode is On.There is explaination on broker process.
http://msdn.microsoft.com/en-us/library/bb250462(v=vs.85).aspx .
This below links may also be useful :
http://msdn.microsoft.com/en-us/library/ms537312(v=vs.85).aspx
http://www.codeproject.com/KB/vista-security/PMSurvivalGuide.aspx
We may have to do the same way for our Reader Plugin, which i have also not implemented it till now,also did not get any sample for Reader Broker process.
I did lot of search but i also didn find any.
So what i am doing is,displaying a message box to user if the Reader Protected mode is enabled. And ask the user to Click on a button to disable Reader Protected mode. After restarting the PDF the user will be able to access MyPlugin without any error.
As of now i am doing this, but i have to make MyPlugin to work even when the Protected Mode is enabled. For this i need to create the Broker Process.
I know you have also spend lotz of your time to find a solution for this. But we are not getting the right ways to achieve a solution for this.
If i get a solution for this i will definately inform you and if you get any solution please let me know.
Thanks and Regards,
Chetan. -
Printing inmediately works in one step but fails in other step of same job
Hello all,
I´m defining a job in SM37 with 2 steps which both of them should be printed inmediately. For this reason in each step I define "print out inmediately" in print specifications>properties>time of printing-->print out inmediately. The strange thing is that only works in one step (works means is printed inmediately) but in the other it doesn´t and I get the message SY355 "spool request without inmediate output"
In Default Tab of user who is running both steps is not marked "output inmediately" but as far as I know it is not needed (that´s the reason we marked the option in the steps of the job).
I changed the option f time of printing from "print out inmediately" to "print later" and back again to "print out inmediately" but it didn´t work. I deleted the step of the job and recreated again but it didn´t work.
I have the same job with 2 steps defined in other SAP systems and are working properly (same version but probably different patching). The version of the system is ECC 6.0.
Any ideas?
Thanks in advanced,
FélixHi,
We dind´t find the reason to this behaviour but we did a workaround: define a third step with program rspo0065 which print spool orders.
Best regards,
Félix
Edited by: Felix Granados on Dec 16, 2010 1:42 PM -
XML publisher report works fine in English environment but NOT in Dutch
We are using Oracle Reports to generate XML file which will be input for XML Publisher report . Our requirement is to generate report in Dutch (Netherlands) language.
We developed a report which is working fine in English. Then we copied this RDF file to NL directory also registered concurrent program in dutch language but then it stopped working and gives error.
Basically it doesn't create any XML output .
Please help . Its URGENT.
Thanks in Advance.
ManojHi Norman,
Thanks for the reply, actually my query was failing as it was trying to compare English date format (1-MAY-2007) which was stored in a DFF with Dutch date (1-MIE-2007) database format ,so it was not generating any xml output.
We have resolved this issue but now we are facing few other issue which are ,
I have created a template which has a current date field. I inserted current date in Dutch format i,e, (1-juni-2007), but concurrent program output appears with english date format (1-June-2007).
Same template has the customer name with 'Title' and this also appear in english i.e.Sir , in place of dutch title (Dhr.)
Is it possible to display .pdf output with
portrait (first page - Letter to customer)
and landscape(second page - Invoice data details) styles for multiple customers in one request?
We can do it for one customer by passing customer id so letter part (portrait output) is out of grouping and only data details (landscape) appear with multiple lines , but when we try to run it for multiple customers in one go , WITHOUT specifying a customer , it FAILS .
Any help will be highly appreciated.
Thanks - Manoj, Utrecht -
Report works fine in local environment but gives problem on server
Hi,
I have following condition which works fine when executed in local environment.
But simply does not work when executed on server.
<?for-each-group:XYZIC[ListOf_ssFsInvoice/ssFsInvoice/InvoiceDate >= EffStartDate][ListOf_ssFsInvoice/ssFsInvoice/InvoiceDate <= EffEndDate];./Code?>
EffStartDate and EffEndDate are from XYZIC.
What could be the reason?
Thanks.Hi,
try this
<?for-each-group:XYZIC[ListOf_ssFsInvoice/ssFsInvoice/InvoiceDate >= EffStartDate] and [ListOf_ssFsInvoice/ssFsInvoice/InvoiceDate <= EffEndDate];./Code?>
or this one
before using declare namespace specifier
<?for-each-group:XYZIC[psfn:totext(InvoiceDate,"dd-MMM-yyyy","MM/dd/yyyy" >= psfn:totext(EffStartDate,"dd-MMM-yyyy","MM/dd/yyyy" and psfn:totext(InvoiceDate,"dd-MMM-yyyy","MM/dd/yyyy" <= psfn:totext(EffEndDate,"dd-MMM-yyyy","MM/dd/yyyy"];./Code?> -
Paypal button code works fine for one button but not another
Hey there, I have a paypal btn with this code on it:
on(release){
mylv = new LoadVars();
mylv.cmd = '_s-xclick';
mylv.encrypted = '-----BEGIN
PKCS7-----MIIH0QYJKoZIhvcNAQcEoIIHwjCCB74CAQExggEwMIIBLAIBAD
CBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYD
VQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW
5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2 ==-----END
PKCS7-----';
mylv.send('https://www.paypal.com/cgi-bin/webscr', 'POST');
(i took a few characters out of the encrypted string--just in
case and to shorten the post)
This button works fine.
Now, I need a second button for a different item.
So, I went on to paypal last night and generated a "buy now
button" several different times. Copied and pasted the encrypted
string where the old one is. When I have the site live and click on
the new button it takes me to a paypal pages that says "We were
unable to decrypt the certificate id."
Any one have this issue before? And does anyone have any idea
of how to correct it?
Thank you in advanced,
hutchHI Bob,
You can test your settings by clicking the big "Test My DNS" button at <https://www.dns-oarc.net/oarc/services/dnsentropy>. If you see "Poor" on any of the tests, don't use that domain name server! Remove it from Apple Menu => System Preferences =>Network =>DNS Servers or similar location in your router if you've got a 'home network'. If all you have is "poor" DNS servers in your list, call your ISP and insist that they give you the address of a name server which is protected against the recently exposed DNS cache-poisoning threat.
Also, open System Preferences/Network. Click the DNS tab. Add these numbers in the DNS Servers box.
208.67.222.222
208.67.220.220
See if that helps.
Carolyn -
Safari works fine in one account, but not another
In one account ONLY, Safari doesn't work. I get a "can't connect to internet" error message. In that same account, email works fine, so I know I am connected. Tried emptying Safari folders, re-setting Safari, and downloading the latest Safari. Nothing helps.
Any suggestions?
Many thanks.
RSFHi
The usual remedy for "can't connect to Internet" is to add DNS numbers to the Network panel.
Go to System Preferences>Network. Select your connection, then select "advanced". In the DNS panel add these codes:
If you live in the United States: 4.2.2.1 and 4.2.2.2
Outside the US: 208.67.222.220 and 208.67.220.222
Select "OK", then select "apply".
Restart Safari. -
Code working in 32 bit environment but fails in 64 bit environment
Hi,
I am trying to compile my code in 64 bit environment which was perfectly working fine in 32 bit environment. But the following message gets displayed.
"Retrieving the COM class factory for component with CLSID {632F4591-AA62-4219-8FB6-22BCF5F62007} failed due to the following error: 80040154."
I tried running the Sample programs in the 64 bit environment, The UI API Samples are working fine, but the samples of DI API give out the same message. I even tried re-installing the SAP Business One client thinking that it might be due to improper installation of DI API component in the client installation. But that too, did not work out.
The code works fine in 32 bit environment with no issues. I am still clueless as to why it is not working in the 64 bit environment.
Kindly help. Immediate help is appreciable.
Thanks & Regards,
Siju DasanHI,
See SAP NOte 1383536.
It says, that DI API has been build in into the Application is using invalid path
in32 bit clients:
C:\Program Files\SAP\SAP Business One\DI API\2007\SAPbobsCOM2007.dll
in 64 bit clients:
?C:\Program Files x86\SAP\SAP Business One\DI API\2007\SAPbobsCOM2007.dll ?
Please recompile your application in 32 bit mode (x86 as a complier option) and try to run.
Regards,
J. -
Desname parameter works fine in Report builder but fails in Forms builder
Hi,
I need some help with my current task. Here is my problem.
I am working on Oracle 10g. My reports and Forms builder version is 10.1.2.3.0.
My objective is to use Forms builder to call a report which will direct the output directly to the printer without preview.
First , in report builder , I use the Parameter Form builder and set Report parameter DESTYPE = PRINTER and the DESNAME automatically changes to PCL6 ( which is the network printer name I am using).
When I run the report , the output is directed to the printer and it works just fine.
But in Forms builder , when I call the same report, set the DESTYPE as Printer and DESNAME as 'PCL6' , it gives an error Invalid printer name 'PCL6' specified by parameter DESNAME.
I tried searching in this forum, it says the error is due to an invalid printer name specified in the DESNAME. But if my printer name is invalid, I wonder how the same printer name works well in Report builder?
My coding in Forms as below :
SET_REPORT_OBJECT_PROPERTY( repid, REPORT_DESTYPE,PRINTER);
SET_REPORT_OBJECT_PROPERTY( repid, REPORT_DESNAME,'PCL6');
Appreciate if anyone can help. Thanks
Regards
ShivaHi Puppethead,
I have tried with your suggestions.
the following condition -- did not work
( (mgr_name = :manager name)
OR (mgr_name LIKE DECODE(:manager name, 'ALL', '%', NULL)))
but for the other condition ---
( (mgr_name = :manager name)
OR (mgr_name LIKE DECODE(nvl(:manager name, 'ALL'), 'ALL', '%', NULL)))
is wrong because, :manager name cud be null, when it is null, it takes 'ALL' i.e. '%' which shud not be the case.
if the user enters null, it has to display records with null only but with the above condition it takes '%'
The main issue which i dont understand is, the report works fine for the first time. for the second time, the report takes null values . why is it taking null values for the second time.
Thanks -
hi,
we have multi server or wfe architecture. configured search service on one server 01, central admin is 02, and query as 03, now crawled content with hostname:port of 01. everything is fine.
but now when we trying to search results its giving results on server 01 which is index and query role. but didnt return any results in other servers.
help is really appreciated.
Thanks,
SJI thought you are posting question in wrong forum. Please move the question to
https://social.technet.microsoft.com/Forums/en-US/home?forum=sharepointsearch. There some one will help
Ravin Singh D -
I tried changing persona made no difference
Bookmarks toolbar showing in sidebar with default and added bookmarksmy /etc/group:
root::0:root
bin::1:root,bin,daemon
daemon::2:root,bin,daemon
sys::3:root,bin
adm::4:root,daemon
tty::5:
disk::6:root
lp::7:daemon
mem::8:
kmem::9:
wheel::10:root,hans,ibm,gast
ftp::11:
mail::12:
uucp:x:14:
log::19:root
locate:x:21:
smmsp::25:
http::33:
games::50:
network:x:90:
video:x:91:
audio::92:ibm,gast
optical::93:hal
floppy:x:94:hal
storage:x:95:hal
scanner:x:96:
power:x:98:
nobody::99:
users::100:gast
dbus:x:81:
hans:x:1001:
vboxusers:x:108:hans
policykit:x:1002:
hal:x:82:
kvm:x:78:
nx:x:85:nx
avahi:x:84:
camera:x:97:
gdm:x:1003:
gast:x:1004: -
Ant Scripts works fine in one but fails in other environment
Hi,
Ant script is working fine in Dev environment but is failing in the other environment. Somehow the BPEL server is not able to pick the latest deployed process , due to this the dependent BPEL processes are failing. If we restart the server , it moves forward and then fails at the point where it couldn’t find reference to the processes deployed after restart. Restarting the server at every failed interval will deploy all the BPEL processes which is not the solution.
example : we have BPEL Processes say A, B, C, D and E. A,B are independent processes C is dependent on A, D is independent and E is dependent on D. So I have Ant script to deploy in A,B,C,D,E order. Now I run the Ant Script: It deploys A,B processes and Fails at C saying it couldn't find the process A.wsdl(But A is deployed). So if i restart now it recognizes A and B are deployed so C is also deployed succesfully it also deploys D as it is Independent but fails at E. If i restart the server E is also deployed.
The Environment is clustered.
Any suggestion to make my Ant script to run at a go will be highly appreciated
Thanks
KrishnaHi,
is this a redeployment of workflows? (do you use the same versionnumber or new ones?)
can you post the soap:address of a dependent process? -
Cant open web pages when connected to the internet via Telstra's Pre Paid WiFi (this connection is working on other devices) has anyone else had the same issues, works fine with BigPond Wifi
and now, when i tried to check again my network preference below the airport tab is showing a message that
"my airport does not have an IP address and cannot connect to the internet!"
then after seconds it will goes back to the first message that
"airport has the self assigned IP address etc....."
i don't know whats going on now!
airport tab is not showing green color anyway! i'ts always in yellow!
i tried turning it on and off but nothing happen! HEEELLLLPP!!!!
Maybe you are looking for
-
Issues while configuring java application using JDO with MS JDBC Driver 1.0
We are in the process of configuring our java application with the production version of SQL Server 2005 Java Database Connectivity (JDBC) Driver 1.0. We are facing issues getting it to work with Sun App Server using JDO concept. After creating the d
-
Not putting mbp to sleep when closing screen, possible?
Dear All, I was wondering whether it is possible to close the screen without putting the MacBook Pro to sleep but instead having applications running or listening to music etc. Is it possible to adjust the settings for that? I haven't found anything
-
It is related to the partner functions - Reporting
My client is using the Partner functions for vendors Where Vendor A is ordering vendor, Vendor B is Goods Carrier and Vendor C is the Invoicing party I want to get such a report; in which there will be Purchase order number Ordering vendor Quantity o
-
Third Party Reporing Tool for CallManager
Does anyone know of any third party tool that can be used to generate reports. (Web based). Thanks Martin
-
Whats the best way to do this? Out of sync in middle of movie.
Not real familiar with Soundbooth as I have just started using it. But here is what I have; I have a foreign video that I am trying to synch up with the english audio track (its an old movie and thankfully an animation so the synch does not have to b