CR2008: parameters ignored when using the PrintToPrinter method
Hi all,
Currently I'm using Crystal Reports in all my add-ons and my algorithm is has follows:
- Create a New Report object;
- Load the Reports;
- Set the reports Parameters and SelectionFormula;
- Set the server/database connection info and login into every table;
- Load Form OR Send to Printer
- Load Form procedure:
- Create a New Windows Form with a ReportViewer control;
- Set the ReportViewer's ReportSource;
- Invoke the Refresh method of the ReportViewer control;
- Invoke the ShowDialog method of the Report object.
- Send To Printer procedure
- Invoke the PrintToPrinter method of the Report object...
When I use the Load Form procedure, everything works has it should: the SelectionFormula filters the correct records and the Parameters hide/show the fields that they are supposed to.
If I use the Send To Printer procedure, the SelectionFormula works correctly but some Parameters are ignored. I've checked the object properties at runtime, and all the parameters I define are correct...
My question is: is there some sort of Refresh method that I can call before calling the PrintToPrinter method that forces the report to check the parameter fields values? Or am I doing something wrong?
My code is posted bellow.
Thanks in advanced,
Regards,
Vítor Vieira
' procedure that creates a new ConnectionInfo object with the login credentials to the SQL server.
Private Sub SetDBConnection()
Try
rptConnectionInfo = New ConnectionInfo()
rptConnectionInfo.DatabaseName = OONE_CompanyDB
rptConnectionInfo.UserID = OONE_CompanySQLUserId
rptConnectionInfo.Password = OONE_CompanySQLPass
rptConnectionInfo.ServerName = OONE_CompanyServer
Catch ex As Exception
System.Windows.Forms.MessageBox.Show("Error(SetDBConnection): " & ex.ToString)
End Try
End Sub
''' procedure that creates a new ReportDocument object
Private Sub SetReportDocument()
Try
rptDocument = New ReportDocument
rptDocument.Load(rptPath)
SetParameters()
rptDocument.DataDefinition.RecordSelectionFormula = SelectionString
Catch ex As Exception
System.Windows.Forms.MessageBox.Show("Error(SetReportDocument): " & ex.ToString)
End Try
End Sub
' procedure that makes the login to the table in the ReportDocument object
Private Sub SetDBLogonForReport()
Try
Dim myTables As Tables = rptDocument.Database.Tables
Dim myTableLogonInfo As TableLogOnInfo
For Each myTable As Table In myTables
myTableLogonInfo = myTable.LogOnInfo
myTableLogonInfo.ConnectionInfo = rptConnectionInfo
myTable.ApplyLogOnInfo(myTableLogonInfo)
Next
Catch ex As Exception
System.Windows.Forms.MessageBox.Show("Error(SetDBLogonForReport): " & ex.ToString)
End Try
End Sub
' procedure that loads a windows form with the report
Private Sub SetCrystalForm(ByRef Titulo As String)
Try
rptCrystalForm = New CrystalForm()
rptCrystalForm.Text = Titulo
rptCrystalForm.oCrystalReportViewer.ReportSource = rptDocument
rptCrystalForm.TopMost = True
rptCrystalForm.oCrystalReportViewer.Refresh()
If rptSendToPrinter Then
rptCrystalForm.oCrystalReportViewer.PrintReport()
Else
rptCrystalForm.ShowDialog()
End If
Catch ex As Exception
System.Windows.Forms.MessageBox.Show("Error(SetCrystalForm): " & ex.ToString)
Finally
ReleaseMemory()
End Try
End Sub
' Send the report directly to a printer without showing it.
Private Sub SendReportToPrinter()
Try
rptDocument.PrintToPrinter(rptPageSettings.PrinterSettings, rptPageSettings, False)
Catch ex As Exception
System.Windows.Forms.MessageBox.Show("Error(SendReportToPrinter): " & ex.ToString)
Finally
ReleaseMemory()
End Try
End Sub
' Procedure that releases memory.
Private Sub ReleaseMemory()
Try
rptParameterField = Nothing
For Each oTable As Table In rptDocument.Database.Tables
oTable.Dispose()
Next
If rptSendToPrinter Then
rptPageSettings.PrinterSettings = Nothing
rptPageSettings = Nothing
End If
rptConnectionInfo = Nothing
rptDocument.Database.Tables.Dispose()
rptDocument.Database.Tables.Reset()
rptDocument.Database.Dispose()
rptDocument.Close()
rptDocument.Dispose()
Catch ex As Exception
System.Windows.Forms.MessageBox.Show("ReleaseMemory: " & ex.ToString)
End Try
End Sub
Similar Messages
-
There is no printer output when using the PrintOut method
I have a VB6 app with CR XI, and a customer found a situation that when printing a report directly to the printer using the PrintOut method, there is no printer output or error message.
Some reports using the same code print normally, but a report that is preceded by another print call, presents this behavior.
And when the output is directed to the screen, we can see the report.
Could someone give me an idea of what is the problem?
Thanks,
Isis
SP - Brazil
The code used is below:
Set rpt = applic.OpenReport(App.Path & "SEFoto" + TipoRPT + ".rpt")
rpt.FormulaSyntax = crCrystalSyntaxFormula
rpt.FormulaFields.GetItemByName("Empresa").Text = "'" + Company + "'"
rpt.FormulaFields.GetItemByName("Idioma").Text = "'" + Idioma + "'"
rpt.FormulaFields.GetItemByName("Versao").Text = "'" + Versao + "'"
' ... Some lines to compose the selection formula
rpt.RecordSelectionFormula = Cond
' To evaluate the image length:
Arq = rsTMP3!FT_Arquivo
ImageScaling = FatorDeReducao(Arq, "F")
' To reduce the image length:
AchouOLE = False
For Each oSection In rpt.Sections
For Each oObject In oSection.ReportObjects
If oObject.Name = "PictureFoto" Then
Set oOleObject = oObject
AchouOLE = True
Exit For
End If
Next oObject
If AchouOLE Then Exit For
Next oSection
With oOleObject
.Suppress = True
.XScaling = ImageScaling ' 0.5 = 50%, 1 = 100%
.YScaling = ImageScaling
.Suppress = False
End With
Aguarde.Show 1
If DestinoRel = 9 Or DestinoRel = 1 Then ' Padrão ou impressora
rpt.PrintOut True ' <<<---- Here using true or false nothing happens
Else
PrintRPTtela rpt, "Fotos" ' <<<--- Here it works fine
End IfHi Isis,
Not sure if you have applied any service Packs to CR? If please do so and test again. Then you can upgrade to CR XI R2 for free, use your XI Keycode and download Service Pack 4 from this link:
https://smpdl.sap-ag.de/~sapidp/012002523100011802732008E/crxir2_sp4_full_build.exe
You'll find the distribution files for your app also from that same download area.
If you don't want to upgrade to XI R2 then download all patches from XI and test again. This issues rings a bell that it may have been fixed.
Thank you
Don -
I can't turn on my MacBook Air despite trying to hold down the power button and using the SMC method. BTW my battery charger lights up to a green when plugged into the laptop.
Hello cass528,
I would be concerned too if my MacBook Air would not power on. I recommend following the steps in this article when experiencing an issue like this:
Troubleshooting: My computer won't turn on
http://support.apple.com/kb/TS1367
Thank you for using Apple Support Communities.
Best,
Sheila M. -
FileNotFoundException when using the Help.addBook method
Hi,
I tried to use the following code:
HelpSet helpSet = new HelpSet(myUrl);
Help help = new Help();
help.addBook(helpSet);
However, when trying to launch my application, a "FileNotFoundException: c:\Documents%20and%20Settings\...\myToc.xml" is thrown !
This problem occurs when using the JDK 1.4 (it does not seem to depend on the version of Oracle Help for Java: I tried to use successively 4.1.16, 4.1.17 and 4.2 versions !).
When developping my own application, I encountered a similar problem and found that it was related to a change in the java API. More precisely, prior to JDK 1.4 beta, getClass().getResource("myFile").getFile() would return "/c:/Documents and Settings/myFile" which could be used to read "myFile". But in JDK 1.4 beta, it returns a location that has spaces translated into %20 characters ("/c:/Documents%20and%20Settings/myFile") which cannot be used as a valid file name in java.io.File or java.io.FileInputStream classes.
Could you help me ?
Carine.Hi,
"myUrl" is the url of my "helpset.hs" file.
This file is written as follow:
<helpset>
<title>Validation</title>
<maps>
<homeID>top</homeID>
<mapref location="validation_map.xml"/>
</maps>
<view>
<title>Table of Contents</title>
<label>Table of Contents</label>
<type>oracle.help.navigator.tocNavigator.TOCNavigator</type>
<data engine="oracle.help.engine.XMLTOCEngine">validation_toc.xml</data>
</view>
<view>
<title>Index</title>
<label>Index</label>
<type>oracle.help.navigator.keywordNavigator.KeywordNavigator</type>
<data engine="oracle.help.engine.XMLIndexEngine">validation_index.xml</data>
</view>
<view>
<title>Search</title>
<label>Search</label>
<type>oracle.help.navigator.searchNavigator.SearchNavigator</type>
<data engine="oracle.help.engine.SearchEngine">validation_search.idx</data>
</view>
</helpset>
Thank you,
Carine. -
How do I use the find method to find multiple items in a single paragraph?
I am desigining a script to find any instances where ctrl+b and ctrl+i are applied to body text and then replace those character format overrides with Italic or Bold chartag. Here's what the script is supposed to do:
put the find method in a while loop that searches for character format overrides.
If a character format override is found, pass the text range returned by the find method and the CharPropsChange flag to the GetTextForRange method.
Use a boolean compare between the idata of the text item to the character angle and character weight constants.
Whichever boolean evaluates to true, then use the SetTextProp method to set properties of the text range to the properties of the italic or bold character tag.
This script does work on the first character format override found however it ignores any other overrides in the same paragraph. The cause of this is that the while loop updates the text loc that the find method uses to the next paragraph in flow. I suspect that i need to add an inner loop that goes through all the text in a single paragraph, where at teach iteration the text loc used by the find method is based on the same paragraph but the offset is modified. I am just not sure how to do that.
function removeOverrides (pDoc)
var vDocStart = pDoc.MainFlowInDoc.FirstTextFrameInFlow.FirstPgf;
var vBoldFmt=getCharFmt (pDoc, 'Bold')
var vItalicFmt=getCharFmt (pDoc, 'Italic')
initFA_errno ();
while (FA_errno==Constants.FE_Success)
var vTextLoc = new TextLoc(vDocStart,0);
var vFindParams=findOverrideParams (pDoc);
var vTextRange=pDoc.Find(vTextLoc,vFindParams);
if (vTextRange.beg.obj.ObjectValid())
var vTextItems=pDoc.GetTextForRange (vTextRange, Constants.FTI_CharPropsChange)
if (vTextItems.length==!0 )
if (vTextItems[0].idata==Constants.FTF_WEIGHT)
pDoc.SetTextProps (vTextRange, vBoldFmt.GetProps())
if (vTextItems[0].idata==Constants.FTF_ANGLE)
pDoc.SetTextProps (vTextRange, vItalicFmt.GetProps())
} else (Log (vLogFileName, '\nERROR: No items were found in the text format array but format override was found: '+pDoc.Name))
vDocStart=vDocStart.NextPgfInFlow;
function findOverrideParams (pDoc)
var vFindParams = AllocatePropVals(1);
vFindParams[0].propIdent.num = Constants.FS_FindObject;
vFindParams[0].propVal.valType = Constants.FT_Integer;
vFindParams[0].propVal.ival = Constants.FV_FindCharacterFormatOverride;
return vFindParams;Hi Rick,
Well, following up on the previous posting, I actually did figure out how to make it work but it seems rather inefficient. I can insert a new paragraph right after the paragraph that has the table anchor but when i cut the table, i also cut the paragraph i just created. So to get around that, I create two paragraphs, so that there will be one paragraph left after i do the cut and that is the paragraph that I paste the table into. Once the table is pasted into the new paragraph, I delete the other paragraph that I created.
Here's the updated code from the for loop:
var vTbl = vDoc.GetUniqueObject(Constants.FO_Tbl, vTextItems[i].obj.Unique);
var vAnchorPgf=vDoc.NewSeriesPgf (vTbl.TextLoc.obj)
var vAnchorPgf2=vDoc.NewSeriesPgf (vAnchorPgf);
var vAnchorTextLoc=new TextLoc (vAnchorPgf2, 0);
var vTblTextRange=new TextRange ();
vTblTextRange.beg.obj=vTbl.TextLoc.obj;
vTblTextRange.beg.offset = vTbl.TextLoc.offset;
vTblTextRange.end.obj=vTbl.TextLoc.obj;
vTblTextRange.end.offset = Constants.FV_OBJ_END_OFFSET
vDoc.TextSelection=vTblTextRange;
vDoc.Cut (0);
vTblTextRange.beg.obj=vAnchorTextLoc.obj;
vTblTextRange.beg.offset = 0;
vTblTextRange.end.obj=vAnchorTextLoc.obj;
vTblTextRange.end.offset =0;
vDoc.TextSelection=vTblTextRange;
vDoc.Paste (0);
vAnchorPgf2.Delete(); -
How to use the POST method In Oracle APEX 3.1
Hi,
In APEX if we are submitting the page the parameters( Variables ) will pass through URL.
How to hide the these parameters from URL??
I Hope POST method will solve this problem.
How to use the POST method in APEX???
Help me out to solve this problem.
thanks in advance.
Cheers,
ShanIn APEX if we are submitting the page the parameters( Variables ) will pass through URL.No they won't. Submission POSTs the <tt>wwv_flow</tt> form.
Sometimes a branch may be performed after submission, generating a URL in which parameter values are visible. To avoid this, use the save state before branching option.
Other actions—like using navigation lists, or clicking a link in a report—will perform a GET using parameters in the URL. In these cases using Session State Protection is advised. -
Adding a pre-existing podcast to iTunes U using the feed method.
While trying to add another pre-existing CSULB podcast to our CSULB on iTunes U (using the "feed" method), I encountered an error message that I don't know how to interpret.
Can you help me with this or is there somebody else at Apple I should work with?
The pre-existing podcast is at: http://www.ccpe.csulb.edu/citt/podcast/feed.aspx
The error message reads:
"While attempting to download. . . iTunes U encountered an authorization error and could not update the content. Verity your authorization access to the feed specified in the feed URL field, including the user name and password permissions, and then try again."
I have no idea what this means. Can someone please help?
Walterbgerth wrote:
Is anyone using Podcast Producer 2 to publish content on iTunes U, and if so, does it work reasonably well (do you recommend using it)?
Its spiffy. I like it, but I'm a softie when it comes to Apple stuff.
Am I correct in thinking Podcast Producer 2 can only be used to create an RSS feed to point to podcasts stored in its Podcast Library or can you use Podcast Producer to upload files into our institutional iTunes U storage space (yes we are fortunate to have access to Apple's 500 GB storage space)?
You can choose to do either. Although I haven't seen anything official, I suspect that Apple prefers the use of Podcast Library…but that's just a preference, not any sort of recommendation or future direction. In the end, I suggest (and I think Apple would agree) that you do what makes the most sense for you. For example, we choose to do it both ways.
Can you provide a link to instructions (or explain how to either identify in iTunes U that the podcast is in Podcast Producer's Podcast Library as an RSS Feed or how to upload the podcast from Podcast Producer to a specific tab in a specific iTunes tab.
I believe someone (a friend from Apple…??) released a PcP workflow action that deals with iTunes U the same way as PcPv1 did. Overall, though, probably the best kept PcP secret is that Podcast Producer is a generalized workflow solution. Sure, it's cast as a podcasting solution…but if you can get OS X Server to do something, you can get Podcast Producer to turn it into a workflow…anything. Since OS X Server can be scripted to upload content to iTunes U, Podcast Producer can handle that too.
I appreciate any information given as I have tried with little success to find this information in either the iTunes U or Podcast Producer Admin guides.
Thanks!!
BGerth -
How to add image in virtual dir / i/ 11g when using the embedded gateway
Hi,
Does somebody knows how to 'simple' import a file or directory
into the /images/ or /i/ directory created by APEX without tricks like in How I added a new image to APEX in 11g when using the embedded gateway.
when using Database 11g with the embedded gateway. with webdav of ftp.
When I use the url http://localhost/images
I need to logon.
There is not 1 username/password that I can use. I tried all.
When I try http://localhost/i/16admin.gif then the gif is shown.
I must be something with ACL's or DBMS_EPG or maybe the default port 80 that I use?
My configuration is
Doing 11.1.0.6.0 checks
############# Status/Version #############
XDB Status is: VALID at version 11.1.0.6.0
############# OTHER DATABASE FEATURES #############
Oracle Application Express is VALID at version 3.1.2.00.02
OWB is VALID at version 11.1.0.6.0
Oracle Enterprise Manager is VALID at version 11.1.0.6.0
Oracle Ultra Search is VALID at version 11.1.0.6.0
OLAP Catalog is VALID at version 11.1.0.6.0
Spatial is VALID at version 11.1.0.6.0
Oracle Multimedia is VALID at version 11.1.0.6.0
Oracle XML Database is VALID at version 11.1.0.6.0
Oracle Text is VALID at version 11.1.0.6.0
Oracle Expression Filter is VALID at version 11.1.0.6.0
Oracle Rules Manager is VALID at version 11.1.0.6.0
Oracle Workspace Manager is VALID at version 11.1.0.6.0
Oracle Database Catalog Views is VALID at version 11.1.0.6.0
Oracle Database Packages and Types is VALID at version 11.1.0.6.0
JServer JAVA Virtual Machine is VALID at version 11.1.0.6.0
Oracle XDK is VALID at version 11.1.0.6.0
Oracle Database Java Packages is VALID at version 11.1.0.6.0
OLAP Analytic Workspace is VALID at version 11.1.0.6.0
Oracle OLAP API is VALID at version 11.1.0.6.0
############# XDBCONFIG INFORMATION #############
acl-max-age= = = 15
acl-cache-size= = = 32
case-sensitive= = = true
call-timeout= = = 6000
max-link-queue= = = 65536
max-session-use= = = 100
persistent-sessions= = = false
default-lock-timeout= = = 3600
xdbcore-logfile-path= = = /sys/log/xdblog.xml
xdbcore-log-level= = = 0
resource-view-cache-size= = = 1048576
extension= = = au
mime-type= = = audio/basic
extension= = = avi
mime-type= = = video/x-msvideo
extension= = = bin
mime-type= = = application/octet-stream
extension= = = bmp
mime-type= = = image/bmp
extension= = = css
mime-type= = = text/css
extension= = = doc
mime-type= = = application/msword
extension= = = eml
mime-type= = = message/rfc822
extension= = = gif
mime-type= = = image/gif
extension= = = htm
mime-type= = = text/html
extension= = = html
mime-type= = = text/html
extension= = = jpe
mime-type= = = image/jpeg
extension= = = jpeg
mime-type= = = image/jpeg
extension= = = jpg
mime-type= = = image/jpeg
extension= = = js
mime-type= = = application/x-javascript
extension= = = jsp
mime-type= = = text/html
extension= = = mid
mime-type= = = audio/mid
extension= = = mov
mime-type= = = video/quicktime
extension= = = movie
mime-type= = = video/x-sgi-movie
extension= = = mp3
mime-type= = = audio/mpeg
extension= = = mpe
mime-type= = = video/mpg
extension= = = mpeg
mime-type= = = video/mpg
extension= = = mpg
mime-type= = = video/mpg
extension= = = msa
mime-type= = = application/x-msaccess
extension= = = msw
mime-type= = = application/x-msworks-wp
extension= = = pcx
mime-type= = = application/x-pc-paintbrush
extension= = = pdf
mime-type= = = application/pdf
extension= = = png
mime-type= = = image/png
extension= = = ppt
mime-type= = = application/vnd.ms-powerpoint
extension= = = ps
mime-type= = = application/postscript
extension= = = qt
mime-type= = = video/quicktime
extension= = = ra
mime-type= = = audio/x-realaudio
extension= = = ram
mime-type= = = audio/x-realaudio
extension= = = rm
mime-type= = = audio/x-realaudio
extension= = = rtf
mime-type= = = application/rtf
extension= = = rv
mime-type= = = video/x-realvideo
extension= = = sgml
mime-type= = = text/sgml
extension= = = svg
mime-type= = = image/svg+xml
extension= = = tif
mime-type= = = image/tiff
extension= = = tiff
mime-type= = = image/tiff
extension= = = txt
mime-type= = = text/plain
extension= = = url
mime-type= = = text/plain
extension= = = vrml
mime-type= = = x-world/x-vrml
extension= = = wav
mime-type= = = audio/wav
extension= = = wpd
mime-type= = = application/wordperfect5.1
extension= = = xls
mime-type= = = application/vnd.ms-excel
extension= = = xml
mime-type= = = text/xml
extension= = = xsd
mime-type= = = text/xml
extension= = = xsl
mime-type= = = text/xml
extension= = = zip
mime-type= = = application/x-zip-compressed
extension= = = htc
mime-type= = = text/x-component
extension= = = xbl
mime-type= = = text/xml
extension= = = en
lang= = = english
extension= = = gzip
encoding= = = zip file
extension= = = tar
encoding= = = tar file
session-pool-size= = = 50
session-timeout= = = 6000
ftp-port= = = 0
ftp-listener= = = local_listener
ftp-protocol= = = tcp
logfile-path= = = /sys/log/ftplog.xml
log-level= = = 0
session-timeout= = = 6000
buffer-size= = = 8192
http-port= = = 80
http-listener= = = local_listener
http-protocol= = = tcp
max-http-headers= = = 64
max-header-size= = = 16384
max-request-body= = = 2000000000
session-timeout= = = 6000
server-name= = = XDB HTTP Server
logfile-path= = = /sys/log/httplog.xml
log-level= = = 0
servlet-realm= = = Basic realm="XDB"
welcome-file= = = index.html
welcome-file= = = index.htm
servlet-pattern= = = /Test
servlet-name= = = TestServlet
servlet-pattern= = = /oradb/*
servlet-name= = = DBURIServlet
servlet-pattern= = = /orarep/*
servlet-name= = = ReportFmwkServlet
servlet-pattern= = = /i/*
servlet-name= = = PublishedContentServlet
servlet-pattern= = = /apex/*
servlet-name= = = APEX
servlet-pattern= = = /images/*
servlet-name= = = IMAGES
servlet-name= = = TestServlet
servlet-language= = = Java
display-name= = = XDB Test Servlet
description= = = A servlet to test the internals of the XDB Servlet API
servlet-class= = = xdbtserv
servlet-schema= = = xdb
servlet-name= = = DBURIServlet
servlet-language= = = C
display-name= = = DBURI
description= = = Servlet for accessing DBURIs
role-name= = = authenticatedUser
role-link= = = authenticatedUser
servlet-name= = = ReportFmwkServlet
servlet-language= = = C
display-name= = = REPT
description= = = Servlet for accessing reports
role-name= = = authenticatedUser
role-link= = = authenticatedUser
servlet-name= = = PublishedContentServlet
servlet-language= = = C
display-name= = = Unauthenticated File Access Servlet
description= = = Servlet for files for unauthenticated users
param-name= = = RootFolder
param-value= = = /images
description= = = RootFolder
role-name= = = anonymousServletRole
role-link= = = anonymousServletRole
servlet-name= = = APEX
servlet-language= = = PL/SQL
display-name= = = APEX
database-username= = = ANONYMOUS
default-page= = = apex
document-table-name= = = wwv_flow_file_objects$
document-path= = = docs
document-procedure= = = wwv_flow_file_mgr.process_download
nls-language= = = american_america.al32utf8
request-validation-function= = = wwv_flow_epg_include_modules.authorize
role-name= = = anonymousServletRole
role-link= = = anonymousServletRole
servlet-name= = = IMAGES
servlet-language= = = PL/SQL
display-name= = = IMAGES
database-username= = = APS
role-name= = = anonymousServletRole
role-link= = = anonymousServletRole
allow-mechanism= = = basic
nonce-timeout= = = 300
xdbcore-xobmem-bound= = = 1024
xdbcore-loadableunit-size= = = 16
acl-evaluation-method= = = ace-order
############# XMLTYPE Tables #############
XDB has 1 XMLTYPE TABLES stored as CLOB
XDB has 24 XMLTYPE TABLES stored as OBJECT-RELATIONAL
XDB has 11 XMLTYPE TABLES stored as BINARY
############# XMLTYPE Columns #############
XDB has 3 XMLTYPE Columns stored as CLOB
MDSYS has 24 XMLTYPE Columns stored as CLOB
SYS has 1 XMLTYPE Columns stored as CLOB
ORDSYS has 9 XMLTYPE Columns stored as CLOB
############# XMLTYPE Views #############
############# XMLTYPE INDEXES #############
XDB has 1 XMLTYPE Indexes of type CSX
############# Items built with XML API's #############
PACKAGE BODY FLOWS_030100.WWV_FLOW_XLIFF
PACKAGE BODY FLOWS_030000.WWV_FLOW_XLIFF
PACKAGE BODY MDSYS.SDO_WFS_PROCESS
PACKAGE BODY EXFSYS.DBMS_RLMGR_DR
PACKAGE BODY FLOWS_030100.WWV_FLOW_DATALOAD_XML
PACKAGE BODY MDSYS.SDO_OLS
PACKAGE BODY FLOWS_030000.WWV_FLOW_DATALOAD_XML
PACKAGE BODY FLOWS_030100.WWV_FLOW_XLIFF
PACKAGE BODY FLOWS_030000.WWV_FLOW_XLIFF
PACKAGE BODY EXFSYS.DBMS_RLMGR_DR
PACKAGE BODY XDB.DBMS_XSLPROCESSOR
PACKAGE BODY XDB.DBMS_XMLPARSER
PACKAGE BODY FLOWS_030100.WWV_FLOW_XLIFF
PACKAGE BODY XDB.DBMS_CSX_INT
PACKAGE BODY FLOWS_030000.WWV_FLOW_XLIFF
PACKAGE BODY EXFSYS.DBMS_RLMGR_DR
PACKAGE BODY XDB.DBMS_XDB
PACKAGE BODY XDB.DBMS_XDBRESOURCE
PACKAGE BODY XDB.DBMS_XMLDOM
PACKAGE XDB.DBMS_XSLPROCESSOR
PACKAGE XDB.DBMS_XMLPARSER
PACKAGE XDB.DBMS_XDBRESOURCE
PACKAGE BODY XDB.DBMS_XMLDOM
PACKAGE BODY XDB.DBMS_XMLINDEX
PACKAGE BODY XDB.DBMS_XMLPARSER
PACKAGE BODY XDB.DBMS_XMLPARSER
PACKAGE BODY XDB.DBMS_XMLSCHEMA
PACKAGE BODY XDB.DBMS_XMLSCHEMA
PACKAGE BODY XDB.DBMS_XMLSCHEMA_INT
PACKAGE BODY XDB.DBMS_XMLTRANSLATIONS
PACKAGE BODY XDB.DBMS_XSLPROCESSOR
PACKAGE BODY XDB.DBMS_XMLPARSER
PACKAGE BODY XDB.DBMS_CSX_INT
PACKAGE BODY XDB.DBMS_XMLDOM
PACKAGE BODY XDB.DBMS_XSLPROCESSOR
############# XML SCHEMAS #############
MDSYS has 4 registered.
EXFSYS has 2 registered.
ORDSYS has 17 registered.
XDB has 25 registered.
SYS has 43 registered.
############# Repository Resources #############
MDSYS has 9 resources.
EXFSYS has 3 resources.
ORDSYS has 20 resources.
XDB has 28 resources.
SYS has 12634 resources.
############# Network ACLs Configured #############
mail.4aps.be has network acls configured for ports 25 through 25
* has network acls configured for ports through
* has network acls configured for ports through
############# DBMS_EPG DAD USAGE #############
APEX
IMAGESHi Jules,
You need a user with XDBADMIN rights to access the WebDav. Once you have access, you can open the URL as webfolder (in IE).
Regards,
Christian -
Many problems of memory, when using the workbench - LC 8.2
Hello,
I have many problems memory, when using the workbench.
When a try to add a component in the workbench, I get an outOfMemoreException in the log file. There is an error message in a popup in the workbench.
My configuration:
Hardware: Intel Core 2 Quad - Q9550 - 2.83 Ghz - 4Go of RAM - 32 bits (this is a new workstation computer).
Software: Windows XP pro service pack 3.
JBoss for Adobe LiveCycle ES - Jboss Livecycle version 8.2 with SP2 of LiveCycle ES and Workbench.
MySQL for Adobe LiveCycle ES
Here is my workbench.ini file - the beginning:
-vmargs
-Xms128M
-Xmx512M
-XX:MinHeapFreeRatio=40
-XX:MaxPermSize=512M
Here is my log file from the workbench.
!SESSION 2009-05-20 14:44:12.435 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.5.0_11
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_CH
Framework arguments: #Product Runtime Configuration File
Command-line arguments: -os win32 -ws win32 -arch x86 #Product Runtime Configuration File
!ENTRY com.adobe.ide.singlesignon 1 1 2009-05-20 14:44:13.638
!MESSAGE LiveCycle Workbench ES version '8.2.1.2'
!ENTRY org.eclipse.ui 4 4 2009-05-20 14:44:14.700
!MESSAGE Invalid Menu Extension (Path is invalid): org.eclipse.ui.edit.text.gotoLastEditPosition
!ENTRY com.adobe.DSC_Admin_UI 4 4 2009-05-20 14:44:34.746
!MESSAGE failed to retrieve list of components
!STACK 0
ALC-DSC-000-000: com.adobe.idp.dsc.DSCRuntimeException: Internal error.
at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapAxisDispatcher.throwExceptionHandler(So apAxisDispatcher.java:207)
at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapAxisDispatcher.doSend(SoapAxisDispatche r.java:125)
at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:57)
at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
at com.adobe.idp.dsc.registry.component.client.ComponentRegistryClient.invoke(ComponentRegis tryClient.java:373)
at com.adobe.idp.dsc.registry.component.client.ComponentRegistryClient.getComponents(Compone ntRegistryClient.java:63)
at com.adobe.dsc.contentprovider.MixedRegistryContentProvider$RegistryRootEntry.getChildren( MixedRegistryContentProvider.java:150)
at com.adobe.dsc.contentprovider.MixedRegistryContentProvider.getChildren(MixedRegistryConte ntProvider.java:575)
at org.eclipse.jface.viewers.AbstractTreeViewer.getRawChildren(AbstractTreeViewer.java:1166)
at org.eclipse.jface.viewers.TreeViewer.getRawChildren(TreeViewer.java:768)
at org.eclipse.jface.viewers.AbstractTreeViewer.getFilteredChildren(AbstractTreeViewer.java: 574)
at org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildren(AbstractTreeViewer.java:54 3)
at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:728)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:705)
at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:892)
at org.eclipse.jface.viewers.AbstractTreeViewer.setExpandedState(AbstractTreeViewer.java:220 1)
at com.adobe.dsc.contentprovider.MixedRegistryContentProvider.userLoggedIn(MixedRegistryCont entProvider.java:619)
at com.adobe.ide.singlesignon.LoginChangeProgressMonitor.run(Unknown Source)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:479)
at com.adobe.ide.singlesignon.IDESession.notifyListenersOfLogin(Unknown Source)
at com.adobe.ide.singlesignon.IDESession.localLogin(Unknown Source)
at com.adobe.ide.singlesignon.IDESession.access$000(Unknown Source)
at com.adobe.ide.singlesignon.IDESession$1.run(Unknown Source)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:152)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:28)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:3763)
at com.adobe.ide.singlesignon.IDESession.login(Unknown Source)
at com.adobe.common.ui.controls.LoginInfoPanel$1.widgetSelected(LoginInfoPanel.java:63)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)
at org.eclipse.swt.widgets.Link.wmNotifyChild(Link.java:923)
at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:3794)
at org.eclipse.swt.widgets.Composite.WM_NOTIFY(Composite.java:1166)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3298)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4025)
at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:1851)
at org.eclipse.swt.widgets.Link.callWindowProc(Link.java:124)
at org.eclipse.swt.widgets.Widget.wmLButtonUp(Widget.java:1807)
at org.eclipse.swt.widgets.Control.WM_LBUTTONUP(Control.java:3587)
at org.eclipse.swt.widgets.Link.WM_LBUTTONUP(Link.java:773)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3280)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4025)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1932)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2966)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at com.adobe.lcide.rcp.Application.run(Unknown Source)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Caused by: java.lang.OutOfMemoryError: Java heap space; nested exception is:
java.lang.OutOfMemoryError: Java heap space
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:221)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:128)
at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:10 87)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch( Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
at org.apache.axis.client.Call.invoke(Call.java:2748)
at org.apache.axis.client.Call.invoke(Call.java:2424)
at org.apache.axis.client.Call.invoke(Call.java:2347)
at org.apache.axis.client.Call.invoke(Call.java:1804)
at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapAxisDispatcher.doSend(SoapAxisDispatche r.java:123)
... 68 more
!ENTRY com.adobe.ide.singlesignon 1 1 2009-05-20 14:44:37.871
!MESSAGE User 'administrator' logged in to server 'Livecycle ES - localhost' (hostname: 'localhost')
!ENTRY com.adobe.DSC_Admin_UI 4 4 2009-05-20 14:44:56.792
!MESSAGE failed to retrieve list of components
!STACK 0
ALC-DSC-000-000: com.adobe.idp.dsc.DSCRuntimeException: Internal error.
at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapAxisDispatcher.throwExceptionHandler(So apAxisDispatcher.java:207)
at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapAxisDispatcher.doSend(SoapAxisDispatche r.java:125)
at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:57)
at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
at com.adobe.idp.dsc.registry.component.client.ComponentRegistryClient.invoke(ComponentRegis tryClient.java:373)
at com.adobe.idp.dsc.registry.component.client.ComponentRegistryClient.getComponents(Compone ntRegistryClient.java:63)
at com.adobe.dsc.contentprovider.MixedRegistryContentProvider$RegistryRootEntry.getChildren( MixedRegistryContentProvider.java:150)
at com.adobe.dsc.contentprovider.MixedRegistryContentProvider.getChildren(MixedRegistryConte ntProvider.java:575)
at org.eclipse.jface.viewers.AbstractTreeViewer.getRawChildren(AbstractTreeViewer.java:1166)
at org.eclipse.jface.viewers.TreeViewer.getRawChildren(TreeViewer.java:768)
at org.eclipse.jface.viewers.AbstractTreeViewer.getFilteredChildren(AbstractTreeViewer.java: 574)
at org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildren(AbstractTreeViewer.java:54 3)
at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:728)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:705)
at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:892)
at org.eclipse.jface.viewers.AbstractTreeViewer.handleTreeExpand(AbstractTreeViewer.java:125 1)
at org.eclipse.jface.viewers.AbstractTreeViewer$4.treeExpanded(AbstractTreeViewer.java:1263)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:181)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)
at org.eclipse.swt.widgets.Tree.wmNotifyChild(Tree.java:6343)
at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:3794)
at org.eclipse.swt.widgets.Composite.WM_NOTIFY(Composite.java:1166)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3298)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4025)
at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:1851)
at org.eclipse.swt.widgets.Tree.callWindowProc(Tree.java:1321)
at org.eclipse.swt.widgets.Tree.WM_LBUTTONDOWN(Tree.java:5203)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3279)
at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:4783)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4025)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1932)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2966)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at com.adobe.lcide.rcp.Application.run(Unknown Source)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Caused by: java.lang.OutOfMemoryError: Java heap space; nested exception is:
java.lang.OutOfMemoryError: Java heap space
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:221)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:128)
at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:10 87)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch( Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
at org.apache.axis.client.Call.invoke(Call.java:2748)
at org.apache.axis.client.Call.invoke(Call.java:2424)
at org.apache.axis.client.Call.invoke(Call.java:2347)
at org.apache.axis.client.Call.invoke(Call.java:1804)
at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapAxisDispatcher.doSend(SoapAxisDispatche r.java:123)
... 54 more
Please, can you tell me if you have met thist problem. How didi you solve it ?
Thank you in advance.
ECIHello,
I did what you told:
- the mysql Jar version was already the mysql-connector-java-5.1.6-bin.jar (may be due to update SP2),
- I changed to adobe-ds.xml file,
- I tried to launch the workbench with -Xmx512m in the command line.
Here is the result:
1- the launch of the workbench isa bit faster.
2- when I try to login with the administrator account, it takes a long while. Then I get an error: I can not logon to the livecycle ES server from the workbench. The message is "Authentication for user administrator on server ... failed, please retry".
In my log file, I get the following.
eclipse.buildId=unknown
java.version=1.5.0_12
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_CH
Framework arguments: #Product Runtime Configuration File -Xmx512m
Command-line arguments: -os win32 -ws win32 -arch x86 #Product Runtime Configuration File -Xmx512m
!ENTRY com.adobe.ide.singlesignon 1 1 2009-05-25 15:17:37.780
!MESSAGE LiveCycle Workbench ES version '8.2.1.2'
!ENTRY org.eclipse.ui 4 4 2009-05-25 15:17:38.827
!MESSAGE Invalid Menu Extension (Path is invalid): org.eclipse.ui.edit.text.gotoLastEditPosition
!ENTRY com.adobe.ide.singlesignon 4 4 2009-05-25 15:19:26.874
!MESSAGE login failed
I also got another error message - with another configuration when triying to launch the workbench with JRE 1.6.0.12 (I hoped for better performance when replacing the JRE folder) :
!ENTRY com.adobe.ide.singlesignon 4 4 2009-05-25 15:02:46.942
!MESSAGE login failed
!STACK 0
com.adobe.ide.singlesignon.exceptions.IDEServerError: ALC-DSC-000-000: com.adobe.idp.dsc.DSCRuntimeException: Internal error.
at com.adobe.ide.singlesignon.utils.DSInstance.authenticate(Unknown Source)
Caused by: ALC-DSC-000-000: com.adobe.idp.dsc.DSCRuntimeException: Internal error.
at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapAxisDispatcher.throwExceptionHandler(So apAxisDispatcher.java:207)
Caused by: (404)/soap/sdk
at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:744)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
I also tried to to logon after renaming the folder JRE under: C:\Program Files\Adobe\LiveCycle ES\Workbench ES\Workbench . In order to use my default JRE which is 1.5.0-12.
On the whole, I still get so errors and I can not logon.
Do you have any suggestion ?
Thank you for taking some time to reply.
What I am tried to do is to added a HelloComponent.jar fronm a tutorial:
http://www.adobe.com/devnet/livecycle/articles/dsc_development.html
My final goal is to developp a ECM Connector.
Thank you
Regards
eci -
Omit the XML declaration when using the PHP MM_XSLTransform class
Hi
Is there any way to omit the XML declaration when using the
PHP MM_XSLTransform class?
When using the PHP MM_XSLTransform to transform some XML into
HTML, the XML declaration is faithfully delivered, which is
expected. In my case though this ends up in the body of the
document and is not desired. I wish to choose that the XML
declaration is not shown.
I have tried to use the <xsl:output method="xml"
encoding="utf-8" omit-xml-declaration="yes"/> in the XSL
stylesheet but the declaration still appears.
Any help?
all the best
DaveJim20005 wrote:
> I'm using XLS transfomation in DW for reading XML files.
Now (I'm just back
> form holiday), my webspace provider has updated to php
5.1.5. I'm getting this
> error:
Comment out line 301 and add two new lines immediately after
it like this:
// $xml = DOMDocument::loadXML($content);
$doc = new DOMDocument();
$err = $doc->loadXML($content);
This is part of a PHP 8.0.2 hotfix that can be obtained
directly from
Adobe support.
David Powers
Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
http://foundationphp.com/ -
Wrong number of parameters exception when using PreparedStatement
Hi,
I'm getting Wrong number of parameters exception when using a prepared statement. It's very weird. The code is:
sqlstmt="update blah1 set blah2=? where blah3=?";
myps = Conn.prepareStatement(sqlstmt);
myps.setString(1, p1);
myps.setInt(2, p2);
myps.executeUpdate(sqlstmt);
The error is:
SQLException: [IBM][CLI Driver] CLI0100E Wrong number of parameters. SQLSTATE=07001:07001
Could someone please help? Thanks
MahdadHi and thanks for the reply.
Actually this is the try block...
The variable's defintions are correct.
PreparedStatement myps;
try {
sqlstmt="update blah1 set blah2=? where blah3=?";
myps = Conn.prepareStatement(sqlstmt);
myps.setString(1, blah4);
myps.setInt(2, blah5);
myps.executeUpdate(sqlstmt);
catch (SQLException e) {
System.out.println("SQLException: " + e.getMessage() + ":" + e.getSQLState());
blah6++; -
Intermittent error when using the Disco Viewer client
Hi, I have a user receiving the following intermittent error when using the Discoverer Viewer client:
“The application encountered an invalid state.
- Discoverer Beans XML Exception. Method: findNode Class: XMLUtils Error: Cannot find parent node. Parent element does not exist in XML document, looking for database_account/eul
OracleBI Discoverer Viewer was unable to find the necessary data for displaying the results of this event. Please correct any errors and try again.”
Any idea what this might be? Any help or direction would be very much appreciated! Thank you!Hello
Is this related to a single machine or common to a single report or is it purely random?
I did a search on your behalf and came up with nothing related to this error. You may therefore need to raise the problem with Oracle Support.
Just out of curiosity which version of Discoverer are you using?
Michael -
Using the ContactInsertOrUpdate method from the ContactWS but error msg rcv
[This thread was migrated from the On Demand Developer Forum in the old Siebel Community]
Corsa
Contributor
I am getting the following error I do not know why or how to work around
it.
Method 'SetFieldValue' of business component 'Contact' (integration
component 'Contact') for record with search specification '[External <br/>
System Id] = "123456"' returned the following error:"Access <br/>
denied.(SBL-DAT-00542)"(SBL-EAI-04375)
Does any out there have any ideas?
Previously when I tried to do the same action I got the following message:
Multiple matches found for instance of integration component 'Contact'
using search specification '[External System Id] = "123456"' in the
business component 'Contact', based on user key 'Contact User
Key:3'.(SBL-EAI-04390)
Both messages are baffling me. Please, please help
Product: CRM OnDemand
06-16-2006 04:35 AM
Re: Using the ContactInsertOrUpdate method from the ContactWS but error
msg rcvd
BigSlick
Valued Contributor
Hi Corsa,
Can you access the record in the online application. Perhaps someone has
changed the access rights for this Contact on the Contact Team ?
-BigSlick
06-20-2006 12:33 PM
Re: Using the ContactInsertOrUpdate method from the ContactWS but error
msg rcvd
Corsa
Contributor
I realise now that the field AccountID is readonly and cannot be assigned.
I was attempting to assign contactsList[count].AccountId to a value . I
believe, this is the reason I was getting the access denied error.
06-23-2006 11:10 AM
==============================================================================
Click on the board or message subject at the top to return.Ok, so I hit a bump in the road. Just when I think I understand something It doesn't work correctly.
I implemented it I thought correctly. I looked up something on the sun website (core java) I used advice from here, and my professor finaly responded to me with almost identical instructions. So I did it
my RationalNumber.java no looks like this.
public class RationalNumber implements Comparable
//.....Break to new section
public float compute ()
float value = getNumerator() / getDenominator();
return value;
public int compareTo(RationalNumber op2)
if (Math.abs(compute() - op2.compute()) < .0001)
return 0; //Equal
if (compute() > op2.compute())
return + 1; //Rational Number bigger
if (compute() < op2.compute())
return - 1; //Rational Number Smaller
}I thought that would work fine, but it gives me an error when I compile it:
RationalNumber.java:8: RationalNumber is not abstract and does not override abstract method compareTo(java.lang.Object) in java.lang.Comparable
public class RationalNumber implements Comparable
^So now what, making it abstract only creates more errors....
Also, thanks ChuckBing, I'm glad you like the screen name, I've been using it for years. -
Drop Shipments costing of Inventory using the average method.
How does the system handles the costing of inventory using the average method during dropshipments?
One of my prospects uses average costing method for the accounting of their inventory. The issue now is, how does the system compute s for the cost since the goods/inventory is delivered directly by the supplier to the customer? What is the basis for the amount to be posted in COGS? Thanks!
nullFor Drop shipments two inventory movements are still performed. When the goods are initially received (albeit logically), Oracle Inventory immediately issues them out of stock again - just as if you had ship confirmed them. Therefore you inventory accounting is also the same, and will use the purchase price of the goods as the inventory value.
-
How do I remove an old username from the app store when using the update function
How do I remove an old username from the app store when using the update function.
I purchased my Mac used. The former owners username prepopulates when I try to perform the updated function on the app store. It does not allow me to use a different user name. I have created my own username and password. I have even been able to purchase items from the app store, it's just when I use the update function it does populate with my username. Any help is appreciated.The first thing to do with a second-hand computer is to erase the internal drive and install a clean copy of OS X. You — not the previous owner — must do that. How you do it depends on the model, and on whether you already own another Mac. If you're not sure of the model, enter the serial number on this page. Then find the model on this page to see what OS version was originally installed.
1. You don't own another Mac.
If the machine shipped with OS X 10.4 or 10.5, you need a boxed and shrink-wrapped retail Snow Leopard (OS X 10.6) installation disc from the Apple Store or a reputable reseller — not from eBay or anything of the kind. If the machine has less than 1 GB of memory, you'll need to add more in order to install 10.6. Preferably, install as much memory as it can take, according to the technical specifications.
If the machine shipped with OS X 10.6, you need the installation media that came with it: gray installation discs, or a USB flash drive for some MacBook Air models. For early MBA models, you may need a USB optical drive or Remote Disc. You should have received the media from the previous owner, but if you didn't, order replacements from Apple. A retail disc, or the gray discs from another model, will not work.
To boot from an optical disc or a flash drive, insert it, then reboot and hold down the C key at the startup chime. Release the key when you see the gray Apple logo on the screen.
If the machine shipped with OS X 10.7 or later, you don't need media. It should boot into Internet Recovery mode when you hold down the key combination option-command-R at the startup chime. Release the keys when you see a spinning globe.
2. You do own another Mac.
If you already own another Mac that was upgraded in the App Store to the version of OS X that you want to install, and if the new Mac is compatible with it, then you can install it. Use Recovery Disk Assistant to create a bootable USB device and boot the new Mac from it by holding down the C key at the startup chime. Alternatively, if you have a Time Machine backup of OS X 10.7.3 or later on an external hard drive (not a Time Capsule or other network device), you can boot from that by holding down the option key and selecting it from the row of icons that appears. Note that if your other Mac was never upgraded in the App Store, you can't use this method.
Once booted in Recovery, launch Disk Utility and select the icon of the internal drive — not any of the volume icons nested beneath it. In the Partition tab, select the default options: a GUID partition table with one data volume in Mac OS Extended (Journaled) format. This operation will permanently remove all existing data on the drive.
After partitioning, quit Disk Utility and run the OS X Installer. You will need the Apple ID and password that you used to upgrade. When the installation is done, the system will automatically reboot into the Setup Assistant, which will prompt you to transfer the data from another Mac, its backups, or from a Windows computer. If you have any data to transfer, this is usually the best time to do it.
Then run Software Update and install all available system updates from Apple. To upgrade to a major version of OS X newer than 10.6, get it from the Mac App Store. Note that you can't keep an upgraded version that was installed by the previous owner. He or she can't legally transfer it to you, and without the Apple ID you won't be able to update it in Software Update or reinstall, if that becomes necessary. The same goes for any App Store products that the previous owner installed — you have to repurchase them.
If the previous owner "accepted" the bundled iLife applications (iPhoto, iMovie, and Garage Band) in the App Store so that he or she could update them, then they're linked to that Apple ID and you won't be able to download them without buying them. Reportedly, Apple customer service has sometimes issued redemption codes for these apps to second owners who asked.
If the previous owner didn't deauthorize the computer in the iTunes Store under his Apple ID, you wont be able to authorize it immediately under your ID. In that case, you'll either have to wait up to 90 days or contact iTunes Support.
Maybe you are looking for
-
Can i upgrade my cpu or gpu in my Pavilion 15 laptop?
So my Processer is a AMD a10 5750m apu with Radeon HD Grapics. 2.50 ghz 64 bit operating system I want to upgrade to a i7 intel processer if i can... please help!
-
Help with hosting multiple versions of the same schema
Hi All⦠I have a problem that I need some help/advice on how to manage it. I have scoured the forums here but only found bits and pieces of what Iâm trying to do. Basically I have a small application that I am hosting the database for. As each cl
-
How to Expose CAF services as web services?
Hi friends, I want to expose my CAF entity services and application services as web services. Can I do that, if yes How? In NWDS While designing the application service I have found two options in the <b>General</b> tab: 1) Remote Enabled Service
-
Hi: I have a Panasonic video camera that records in 1920x1080 60P format and writes an .m2ts type file. I've written a filter that scales this to half size and allows me to draw on the video etc. I would like to save that video. When I attempt
-
Live Paint Bucket tool Question
Hello Illustrators. Its been a while since I've used this tool. But I'm facing an issue I cannot understand. I'm seeing some tutorials and as I try to follow along I cannot have the same functions of the tool as demonstrated. My live paint bucket too