Exclude objects from generation process
Hello,
how can i disable the generation of objects like roles or useres to the database?
The reason is the fact, that my dba doesn't want to delegate the security part to the PowerDesigner.
The data modeller is only able to add tables/views/sequences/etc... to a role.
kind regards
Christian
Hello Christian
You can change the generation options to exclude creating or dropping types of object. In the Preview tab for a model, table, view etc, click on the 'Show Generation Options' button. You can tell PD what to include when generating from this model, and save the options as a 'set'. See screenshot below:
Similar Messages
-
Passing complex object from bpel process to web service
I have deployed my web service on apache axis.The wsdl file looks like as follows,
<?xml version="1.0" encoding="UTF-8" ?>
- <wsdl:definitions targetNamespace="http://bpel.jmetro.actiontech.com" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://bpel.jmetro.actiontech.com" xmlns:intf="http://bpel.jmetro.actiontech.com" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <wsdl:types>
- <schema targetNamespace="http://bpel.jmetro.actiontech.com" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
- <complexType name="ADLevelBpelWS">
- <sequence>
<element name="adLevelStr" nillable="true" type="xsd:string" />
<element name="id" type="xsd:int" />
</sequence>
</complexType>
- <complexType name="TransResultWS">
- <sequence>
<element name="description" nillable="true" type="xsd:string" />
<element name="id" type="xsd:long" />
<element name="responseType" type="xsd:int" />
<element name="status" type="xsd:boolean" />
</sequence>
</complexType>
- <complexType name="NamespaceDataImplBpelWS">
- <sequence>
<element name="ADLevel" nillable="true" type="impl:ADLevelBpelWS" />
<element name="appdataDef" nillable="true" type="apachesoap:Map" />
<element name="description" nillable="true" type="xsd:string" />
<element name="name" nillable="true" type="xsd:string" />
</sequence>
</complexType>
- <complexType name="CreateSharedNamespaceBpelWS">
- <sequence>
<element name="actor" nillable="true" type="xsd:string" />
<element name="comment" nillable="true" type="xsd:string" />
<element name="from" nillable="true" type="xsd:string" />
<element name="namespaceData" nillable="true" type="impl:NamespaceDataImplBpelWS" />
<element name="priority" type="xsd:int" />
<element name="processAtTime" nillable="true" type="xsd:dateTime" />
<element name="replyTo" nillable="true" type="xsd:string" />
<element name="responseRequired" type="xsd:boolean" />
</sequence>
</complexType>
</schema>
- <schema targetNamespace="http://xml.apache.org/xml-soap" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
- <complexType name="mapItem">
- <sequence>
<element name="key" nillable="true" type="xsd:string" />
<element name="value" nillable="true" type="xsd:string" />
</sequence>
</complexType>
- <complexType name="Map">
- <sequence>
<element maxOccurs="unbounded" minOccurs="0" name="item" type="apachesoap:mapItem" />
</sequence>
</complexType>
</schema>
</wsdl:types>
+ <wsdl:message name="createNamespaceRequest">
<wsdl:part name="createNs" type="impl:CreateSharedNamespaceBpelWS" />
</wsdl:message>
- <wsdl:message name="createNamespaceResponse">
<wsdl:part name="createNamespaceReturn" type="impl:TransResultWS" />
</wsdl:message>
- <wsdl:portType name="JMetroWebService">
- <wsdl:operation name="createNamespace" parameterOrder="createNs">
<wsdl:input message="impl:createNamespaceRequest" name="createNamespaceRequest" />
<wsdl:output message="impl:createNamespaceResponse" name="createNamespaceResponse" />
</wsdl:operation>
</wsdl:portType>
- <wsdl:binding name="NAMESPACEWITHMAPSoapBinding" type="impl:JMetroWebService">
<wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
- <wsdl:operation name="createNamespace">
<wsdlsoap:operation soapAction="" />
- <wsdl:input name="createNamespaceRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://bpel.jmetro.actiontech.com" use="encoded" />
</wsdl:input>
- <wsdl:output name="createNamespaceResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://bpel.jmetro.actiontech.com" use="encoded" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
- <wsdl:service name="JMetroWebServiceService">
- <wsdl:port binding="impl:NAMESPACEWITHMAPSoapBinding" name="NAMESPACEWITHMAP">
<wsdlsoap:address location="http://localhost:7001/axis/services/NAMESPACEWITHMAP" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
My NamespaceDataObjectImplBpelWS object contains element appDataDef which is of type java.util.Map.My bpel wsdl file is as below,
<?xml version="1.0"?>
<definitions name="NsWithMap"
targetNamespace="http://bpel.jmetro.actiontech.com"
xmlns:tns="http://bpel.jmetro.actiontech.com"
xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:apachesoap="http://xml.apache.org/xml-soap"
>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TYPE DEFINITION - List of services participating in this BPEL process
The default output of the BPEL designer uses strings as input and
output to the BPEL Process. But you can define or import any XML
Schema type and us them as part of the message types.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<types>
<schema targetNamespace="http://bpel.jmetro.actiontech.com" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
<element name="createNamespace" type="tns:CreateSharedNamespaceBpelWS"/>
<element name="transResult" type="tns:TransResultWS"/>
<complexType name="TransResultWS">
<sequence>
<element name="description" type="string" />
<element name="id" type="long" />
<element name="responseType" type="int" />
<element name="status" type="boolean" />
</sequence>
</complexType>
<complexType name="ADLevelBpelWS">
<sequence>
<element name="adLevelStr" type="string" />
<element name="id" type="int" />
</sequence>
</complexType>
<complexType name="NamespaceDataImplBpelWS">
<sequence>
<element name="ADLevel" type="tns:ADLevelBpelWS" />
<element name="description" type="string" />
<element name="name" type="string" />
<element name="appdataDef" type="apachesoap:Map" />
</sequence>
</complexType>
<complexType name="CreateSharedNamespaceBpelWS">
<sequence>
<element name="namespaceData" type="tns:NamespaceDataImplBpelWS" />
</sequence>
</complexType>
<element name="desc" type="string"/>
</schema>
<schema targetNamespace="http://xml.apache.org/xml-soap" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
<complexType name="mapItem">
<sequence>
<element name="key" type="string" />
<element name="value" type="string" />
</sequence>
</complexType>
<complexType name="Map">
<sequence>
<element maxOccurs="unbounded" minOccurs="0" name="item" type="apachesoap:mapItem" />
</sequence>
</complexType>
</schema>
</types>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
MESSAGE TYPE DEFINITION - Definition of the message types used as
part of the port type defintions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<message name="NsWithMapRequestMessage">
<part name="payload" element="tns:createNamespace"/>
</message>
<message name="NsWithMapResponseMessage">
<part name="payload" element="tns:transResult"/>
</message>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PORT TYPE DEFINITION - A port type groups a set of operations into
a logical service unit.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<!-- portType implemented by the NsWithMap BPEL process -->
<portType name="NsWithMap">
<operation name="initiate">
<input message="tns:NsWithMapRequestMessage"/>
</operation>
</portType>
<!-- portType implemented by the requester of NsWithMap BPEL process
for asynchronous callback purposes
-->
<portType name="NsWithMapCallback">
<operation name="onResult">
<input message="tns:NsWithMapResponseMessage"/>
</operation>
</portType>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PARTNER LINK TYPE DEFINITION
the NsWithMap partnerLinkType binds the provider and
requester portType into an asynchronous conversation.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<plnk:partnerLinkType name="NsWithMap">
<plnk:role name="NsWithMapProvider">
<plnk:portType name="tns:NsWithMap"/>
</plnk:role>
<plnk:role name="NsWithMapRequester">
<plnk:portType name="tns:NsWithMapCallback"/>
</plnk:role>
</plnk:partnerLinkType>
</definitions>
I am trying to set this map data using java code ,
HashMap procADMap1 = new HashMap(5);
PropertyTypeWS pType = new PropertyTypeWS();
pType.setTypeIndex(2);
AppdataDefImplWS appData1 = new AppdataDefImplWS();
appData1.setName("Project");
appData1.setType(pType);
appData1.setMaxSize(400);
appData1.setLOB(false);
appData1.setDefaultValue("Project Default value");
procADMap1.put(appData1.getName(), appData1);
setVariableData("request","createNs","/createNs/namespaceData/appdataDef",procADMap1);
Then I am passing request object to the method which I want to invoke from bpel process.
I am able to deploy the application but when I do post message I am getting following exception,
NamespaceWithMap (createNamespace) (faulted)
[2004/09/09 18:35:54] "{http://schemas.oracle.com/bpel/extension}bindingFault" has been thrown. Less
faultName: {{http://schemas.oracle.com/bpel/extension}bindingFault}
messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
code: {Server.userException}
summary: {org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.}
detail: {null}
Is there any other way to handle Map type in bpel process?
Thanks in advance,
SanjayThanks for the quick reply.Actually the web service is already deployed on the server.What I want to do is use existing wsdl file of the deployed web service and invoke the method of the same using oracle PM.
If I remove element which uses apachesoap:Map type it just works fine also I am getting the complex object returned by the web service method.But when I try to set appDataDef which is of type apachesoap:Map(Axis conversion for java.util.Map and it uses namespace xmlns:apachesoap="http://xml.apache.org/xml-soap") I am getting the error.
Can you give me some direction to use this exising wsdl file to set map object or it is not possible. -
Calling REST Services that accept JSON objects from BPEL Process
Hi,
I do have a requirement of calling RESTful service from the BPEL process (SOA Suite 11.1.1.5). The RESTful service accepts the payload as JSON object.
I have gone through the documentation of HTTP binding through which we can call RESTful services from BPEL. But the payload option is coming as only XML.
So just wondering whether BPEL has out-of-the box support for JSON object payloads when calling REST service? Please let me know if you have any pointers on this.
Thanks & Regards
SHi Vijay,
Thanks for the links Vijay.
Went through the links and the documentation. From that i could see the only way is coming up with Java based proxy which takes care of XML to JSON conversion and calling the REST based service. This would actually need a java developer now :)
Regards
Siva -
How to exclude table from capture process in 9.2.0.8?
I have stream replication in Oracle 9.2.0.8 at schema level. In the list of tables I need to exclude one.
How can I do that?
Thanks in advancehttp://download.oracle.com/docs/cd/B10501_01/appdev.920/a96612/d_strm_2.htm#1006471
Read everything that has the word "RULES" in it and seems to apply. -
Hi,
In short: How to suppress compiler errors without excluding the object from the "Schema Compare" tool ??
A bit longer:
We have a SQL Server 2008 project in Visual Studio 2013 running SQL Server Data Tool.
An old database, with a lot of history in, has been imported into SSDT and there are many syntax errors preventing the project from compiling/running. An typical error is: "SQL70001: This statement is not recognized in this context".
Running the "faulty" scripts on the server, executes just fine. I understand that there are syntax errors and they should be rewritten, but it's not gonna happen just like that - it is a slow process over a long period of time.
I know it is possible to change Build Action to None, but that also exclude the object from appearing in the Schema Compare function/window.
So - how to ignore some compiler errors and still having the objects to appear when doing "Schema Compare" ??
Thank you in advance.Hi Steven,
Thanks for your comments.
Well, it sure does help in the future, but right now i would prefer the other way - to suppress some errors and still allow the scripts to build.
The thing is that if we "rewrite" the objects into create scripts, then we have a huge test job ahead of us + the database environments (PROD vs DEV and UAT) does not share the same AD or DB users and therefore grants is lost if dropping/creating
objects, right!
If you drop a object before creating it, the drop will also drop the roles and grants and since they don't share user table, the create will not be able to add the permissions again. There might be a solution to that, but it is going to be very complicated
for some newbies like us. We need something we can trust.
BR
Peter -
Create internet explorer object from process ID
Hi,
I want to create a object for open instance of internet explorer and pass username and password to it.
By using the below command I am getting the process object but how can we create internet explorer object from it so that I can access document elements.
gps | ? {$_.mainwindowtitle -match 'Service'} | select name, mainwindowtitle
Thanks
PrasannaHi Prasanna,
If you means create IE object and signin automatically with username and password, the script below is for your reference:
$username = "....."
$password = "......"
$ie = New-Object -com InternetExplorer.Application
$ie.visible=$true
$ie.navigate("https://login.live.com/")
while($ie.ReadyState -ne 4) {start-sleep -m 100}
$ie.document.getElementById("i0116").value= $username
$ie.document.getElementById("i0118").value = $password
$ie.document.getElementById("idSIButton9").click()
start-sleep -m 100
gps | ? {$_.mainwindowtitle -match 'Microsoft account'} | select name, mainwindowtitle
The result like:
If there is anything else regarding this issue, please feel free to post back.
Best Regards,
Anna Wang -
Exclude a General Item Category from rebate processing
Is it possible to exclude a General Item Cateogory from rebate processing?
We have a "non-stock" item category that we want to set as "non relevant" for rebate processing, but I don't know where/how in configuration to do this.....Can anyone tell me if this is possible, and if so what do I do to make this exclusion.The other option would be for that item category in VOV7, dont maintain any value against the field "Pricing".
G. Lakshmipathi -
Hi,how can i transport objects from one server to other like (Dev To Qty)
Hi Sir/madam,
Can u explain how can i transport objects from one server to other like (Development To Quality To Production).
Regards,
Vishali.Hi Vishali,
Step 1: Collect all Transports(with Packages) in Transports Tab(RSA1)- CTO
Step 2: Release the subrequests first and then the main request by pressing Truck button
Step 3: STMS or Customized transactions
Object Collection In Transports:
The respective Transports should have the following objects:
1. Base Objects -
a. Info Area
b. Info object catalogs
c. Info Objects
2. Info Providers u2013
a. Info Cubes
b. Multi Providers
c. Info Sets
d. Data Store Objects
e. Info Cube Aggregates
3. Transfer Rules u2013
a. Application Components
b. Communication Structure
c. Data Source replica
d. Info Packages
e. Transfer Rules
f. Transformations
g. Info Source Transaction data
h. Transfer Structure
i. Data sources (Active version)
j. Routines & BW Formulas used in the Transfer routines
k. Extract Structures
l. (Note) If the transfer structures and related objects are being transferred without preceding
Base Objects transport (e.g. while fixing an error) it is safer to transport the related Info
Objects as well.
4. Update Rules u2013
a. Update rules
b. Routines and formulas used in Update rules
c. DTPs
5. Process Chains u2013
a. Process Chains
b. Process Chain Starter
c. Process Variants
d. Event u2013 Administration Chains
6. Report Objects u2013
a. Reports
b. Report Objects
c. Web Templates
Regards,
Suman -
I started using JasperReports for my web application report generation. I'm using JSPs for web development.
I created a .jrxml file using iReport and used the following code to generate the report.
try {
JasperDesign jasperDesign = JRXmlLoader.load("C:\\tomcat\\webapps\\web\\JSP\\reports\\samples\\pmm-final.jrxml");
JasperReport jasperReport = JasperCompileManager.compileReport(jasperDesign);
// Second, create a map of parameters to pass to the report.
Map parameters = new HashMap();
parameters.put("Title", "JasperReport");
// Third, get a database connection
Connection conn = null;
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
conn=DriverManager.getConnection("jdbc:odbc:driver={Microsoft Access Driver (*.mdb)};DBQ=C:/tomcat/webapps/db1/db1.mdb");
// Fourth, create JasperPrint using fillReport() method
JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport,
parameters, conn);
// You can use JasperPrint to create PDF
//JasperExportManager.exportReportToPdfFile(jasperPrint, "C:\\tomcat\\webapps\\web\\JSP\\reports\\TestReport.pdf");
JasperExportManager.exportReportToHtmlFile(jasperPrint, "C:\\tomcat\\webapps\\web\\JSP\\reports\\TestPMM.html");
JRXlsExporter exporter = new JRXlsExporter();
exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);
exporter.setParameter(JRExporterParameter.OUTPUT_FILE_NAME, "C:\\tomcat\\webapps\\web\\JSP\\reports\\TestPMM.xls");
exporter.exportReport();
// Or to view report in the JasperViewer
//JasperViewer.viewReport(jasperPrint);
} catch (JRException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
The above pmm-final.jrxml uses a subreport 'top.jasper'. Error being thrown while loading top.jasper file. Error is as follows.
java.io.InvalidClassException: net.sf.jasperreports.engine.base.JRBaseReport; lo
cal class incompatible: stream classdesc serialVersionUID = 604, local class ser
ialVersionUID = 606
at java.io.ObjectStreamClass.initNonProxy(Unknown Source)
at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
at java.io.ObjectInputStream.readClassDesc(Unknown Source)
at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
at java.io.ObjectInputStream.readClassDesc(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:86
at net.sf.jasperreports.engine.util.JRLoader.loadObjectFromLocation(JRLo
ader.java:236)
at net.sf.jasperreports.engine.fill.JRFillSubreport.evaluate(JRFillSubre
port.java:295)
at net.sf.jasperreports.engine.fill.JRFillBand.evaluate(JRFillBand.java:
340)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillPageBand(JRVert
icalFiller.java:1224)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillPageHeader(JRVe
rticalFiller.java:353)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRV
erticalFiller.java:205)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVertic
alFiller.java:119)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:
613)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:
483)
at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:77
at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillMa
nager.java:248)
at org.apache.jsp.JSP.UserGuide_jsp._jspService(org.apache.jsp.JSP.UserG
uide_jsp:74)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:325)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
95)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:214)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:148)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:306)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:745)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.ja
va:675)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:868)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:684)
at java.lang.Thread.run(Unknown Source)
NESTED BY :
java.io.InvalidClassException: net.sf.jasperreports.engine.base.JRBaseReport; lo
cal class incompatible: stream classdesc serialVersionUID = 604, local class ser
ialVersionUID = 606
at java.io.ObjectStreamClass.initNonProxy(Unknown Source)
at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
at java.io.ObjectInputStream.readClassDesc(Unknown Source)
at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
at java.io.ObjectInputStream.readClassDesc(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:86
at net.sf.jasperreports.engine.util.JRLoader.loadObjectFromLocation(JRLo
ader.java:236)
at net.sf.jasperreports.engine.fill.JRFillSubreport.evaluate(JRFillSubre
port.java:295)
at net.sf.jasperreports.engine.fill.JRFillBand.evaluate(JRFillBand.java:
340)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillPageBand(JRVert
icalFiller.java:1224)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillPageHeader(JRVe
rticalFiller.java:353)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRV
erticalFiller.java:205)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVertic
alFiller.java:119)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:
613)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:
483)
at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:77
at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillMa
nager.java:248)
at org.apache.jsp.JSP.UserGuide_jsp._jspService(org.apache.jsp.JSP.UserG
uide_jsp:74)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:325)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
95)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:214)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:148)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:306)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:745)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.ja
va:675)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:868)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:684)
at java.lang.Thread.run(Unknown Source)
NESTED BY :
net.sf.jasperreports.engine.JRException: Error loading object from file : C:\tom
cat\webapps\web\JSP\reports\samples\top.jasper
at net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:90
at net.sf.jasperreports.engine.util.JRLoader.loadObjectFromLocation(JRLo
ader.java:236)
at net.sf.jasperreports.engine.fill.JRFillSubreport.evaluate(JRFillSubre
port.java:295)
at net.sf.jasperreports.engine.fill.JRFillBand.evaluate(JRFillBand.java:
340)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillPageBand(JRVert
icalFiller.java:1224)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillPageHeader(JRVe
rticalFiller.java:353)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRV
erticalFiller.java:205)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVertic
alFiller.java:119)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:
613)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:
483)
at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:77
at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillMa
nager.java:248)
at org.apache.jsp.JSP.UserGuide_jsp._jspService(org.apache.jsp.JSP.UserG
uide_jsp:74)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:325)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
95)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:214)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:148)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:306)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:745)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.ja
va:675)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:868)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:684)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.InvalidClassException: net.sf.jasperreports.engine.base.JRBas
eReport; local class incompatible: stream classdesc serialVersionUID = 604, loca
l class serialVersionUID = 606
at java.io.ObjectStreamClass.initNonProxy(Unknown Source)
at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
at java.io.ObjectInputStream.readClassDesc(Unknown Source)
at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
at java.io.ObjectInputStream.readClassDesc(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:86
... 33 more
Anyone pls help. It's bit urgent. Thanks.I was using iReport v0.5.0 and it uses jasperreports-0.6.7.jar (v0.6.7) of
JasperReports. I compiled and i deployed my application in BEA weblogic server. I got the error listed below. Only after i saw your
response explaining that iReport was the issue, i checked the iReport lib directory and found this version of jasperreport jar.
iReport creates a java source file which is used to a jasper file.
iReport will link in the v0.6.7 version of jasperReports. When you
deploy your web application it will recognize this version through the compiled jasper file and give you the InvalidClassException, even
though you only have one jasperReport jar deployed with your war file.
The way i fixed this problem was to create my web application with the
jasperreport jar comes with iReport.
Thanks for mentioning iReport.
Christopher
Error:
Caused by: java.io.InvalidClassException: net.sf.jasperreports.engine.base.JRBas
eReport; local class incompatible: stream classdesc serialVersionUID = 607, local class serialVersionUID = 10002
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:463)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1521)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1521)
... -
Error while loading data to ods object from flatfile
hello all
Iam loading data from flatfile to ods object and the processing type is PSA and then to data target(package by package),data arrived in PSA(its green) but in monitor the request is in red and in details tab of <b>subsequent processing</b> <b>its showing as ODS activation</b><b>?(change-log):not yet activated</b> and overall the error is <b>Missing Messages</b>.
and its also saying like "Activation of data records from ODS object ODS_SALES terminated.
and in help node its saying like data arrived in BW and try to change the request from red to green?
can anyone tell me what will be the problem?
In settings of ODS object everthing is set to automatically.
many thanks
balajiHi praveen
problem is <b>generic</b> here.
In monitor tab the <b>request</b> and <b>overall</b> the statuts is "<b>RED</b>",but when I went into the <b>mange</b> tab of ODS object here the request is "<b>GREEN</b>",but the data is not available here.but data is still available in "<b>New data</b>",how come data is not yet activated.
bcoz in settings all are set to "automatically",so there is no question of manual activation?
One more question is in Settings Iam finding one column like "<b>Unique Data Records</b>",whats's this,if v check this what happens ifnot what happens?
regrads
balaji -
Add/Remove data object from dataset
Hello,
I was working out a way to add and remove data from a dataset
on the fly and could not figure out any built in methods to do
this.
As I have decided to include spry in my project I like to try
and utilise as much as of its code as possible since it is
complicated to explain I have created a simple example – a
colour picker! (thought it might be more interesting…) of
what I am trying to achieve at
http://www.freshfresh.co.uk/spry/
- if you have a go on this and maybe look at the source code (all
the JS is embedded in HTML there are no modifications to other the
other core files). I have only used spry effects etc, including the
‘accordion’ – which I have become quite attached
to, it is really good for condensing pages down.
You will see I am using the setDataFromDoc method to create
the dataset – I tried the .data = myArrayOfData; .dataHash =
hashTable; method i.e. creating from an object rather than array
but it did’nt seem to play ball with the
addDataChangedObserver method – it did’nt update itself
each time it was modified (I am sorry I cannot remember exactly
what I did – but I tried all kinds of ways…). I stuck
with the string method because it worked - each time my new dataset
changed it updated itself on the screen (you will have to have a
look to understand.....sorry!!), but I would be interested to know
how such a thing could be implemented using the object route if you
believe this would be more efficient.
My second question is more simple – is there a shorter
way to add and remove a data object from a dataset? – as you
can see from the source code I have effectively created an
‘interface’ to do these tasks…. I could’nt
work out whether these methods are already built in. Maybe they
are?
Third question is… to extract a data object from a
dataset I use the .dataHash[the_row_id] method – is this the
right thing to do or could it lead to complications… that is
using methods that might supposedly be private?
Fourth question (observation really) – whilst creating
that colour picker example I went over board with my datasets and
loaded in several palettes some of which had over 1000 elements or
data objects. Which inevitably was very slow (on my computer
anyway) – but it got me thinking about trimming the contents
of my spry regions for better performance. I am I right in thinking
that the less HTML etc that there is in a spry region the quicker
SPRY will process it. For example say you had spry repeat with an
image tag in with some onclick, onmousover, onmouseout, style
attributes etc and compare this to a spry repeat with a simple
image with minimal attributes set. I suppose what I am trying to
say is – does spry ‘store’ all the contents of
each spry region somewhere? Or does it just process it and leave it
to the browser dom?
Fifth observation.... I find it really difficult to explain
computer technicalities in writing. It must be tough reading these
posts.... I know I find it difficult sometimes when dealing with
written end user feedback!
AndrewJust clarifying my questions a bit further....
I found some old code regarding question 1 by using the
object method I mean something like this...
var mySwatches = [{'@hex':'ff0000'},{'@hex':'00ff00'}];
var hashTable = [];
function createDs(){
for (var i = 0; i < mySwatches.length; i++)
mySwatches
.ds_RowID = i;
hashTable = mySwatches
dsMySwatches.data = mySwatches;
dsMySwatches.dataHash = hashTable;
dsMySwatches.loadData();
i.e. not writing out a whole XML string string as the online
example does. When using this way I did'nt seem to be able to get
the HTML to refresh. I tried using [
Spry.Data.updateRegion('mydata'); ] after recreating the dataset I
also tried adding an [ .addDataChangedObserver ] (like in the
string example) amongst numerous other ways but it just would not
work like the string way. - Maybe I did something wrong somewhere.
In question 3 I refer to the [ .hash ] method .... its not a
'method' its a 'property' - my question should read - is it ok to
access private properties (from a browser campatiblity/security
point of view) that do not have specific methods to gain access to
them. I suppose it does'nt really matter with JS...
In question 4 I mention minimising the amount of code in a
spry region to speed it up. A clearer example of this might be for
example - a gallery with lots of images. As we know there will be a
slight delay as SPRY writes all the html so to speed up that intial
write I strip out all the image attributes such as onlclick do
this, onmouse over do that... and add these after the images have
loaded using a seperate function similar to my
fillSwatches(ds,prefix) function in my online colorpicker example.
I suppose it like a 2 tier processing of all the data. SPRY does
the intial display writing to get everything in place and then
another pass is made over to add any further functionality
adjustments etc. I am still not sure if that makes any sense!
***edit
Also on the subject of speed and the application as a whole
i.e. including my PHP - In one example I was creating I ended up
with an XML structure where each node has over 14 attributes i.e.
<somenode att1=”x” ……..
att14=”z”/> - as the file grew it obviously took
longer to process particularly on the server side, i.e. added all
those attributes just slowed it all down. So I did
this…… <somenode att1=”x:y:z” /> i.e
condensed selected attributes into a string that I could explode
later on.
Obviously this limits SPRYS ability to access the attributes
using the {attr} syntax. I had to create a function to explode the
array and do the ‘necessary’ on a second pass over the
data – this works ok for me. But its interesting that in this
particular case the server could not refresh the XML in an
acceptable time without doing this – just thought that might
be interesting to you. I suppose technically what I am doing is
abusing the concept of an XML structure and simply using it as a
‘carrier’ to feed my application …. Which I
suppose is where JSON comes in…. which is a bit more compact
and maybe faster to manipulate on both the server and client side
– I don’t really know, I have never used it –
just throwing ideas around!!
Andrew -
How to trigger a form based on object type and process type
Hi all,
I am new into SRM.. I have been asked to develop a form by cloning an existing standard form..
Using bbp_output_change_sf badi you can trigger the form by passing the object type but the scenario is such that depending on the object type and process type the new form should be triggered.
The parameter iv_object_type passes the object type but how could i pass the process type ?
In the badi I noticed an import parameter is_event that has a field called transction_type that carries the process type but this field never got populated when i checked using debugger.
Please help as to how i can trigger the form based on the object_type and the process_type.
Thanx in advance.Thanx again Jay Yang.. Well is there any possibility that you could get the items that were confirmed..
Let me eleborate..
Suppose in the PO u order an item for 10 nos and 5 gets confirmed and u return 2..
Well in my case it is that i need to fill up a field Qty returned / Qty confirmed..
I was able to get the number of items from the PO by passing the the passing the parameter to the FM "bbp_pd_conf_getdetaill"
but i dont know how to get the number of items been confirmed..
The quantity field in the line item structure gives me the number of items returned..
Can u tell me how to get the number of items been confirmed.... -
How to extract an object from a complicated background?
any good ideas how to extract a detailed object from a complicated background in Photoshop CC 2014 ?
I hear you and I agree. Yes, some images lend themselves better to automated masking tools than others. I've had a few cases where the tools delivered spectacular results, and others where they wouldn't even get close. More often they help you get closer more quickly, then you have to do some hand touchup.
Some images where the process Russell describes worked pretty well...
Re: Best plugin for complex masking tasks ?
Re: Extract Filter v Refine Edge CS5
Can you post all or part of your image? Perhaps with more specifics the suggestions can get more specific...
-Noel -
Internal error: Link from Integration Process
Hello,
i´ve got a big problem with a process in PI 7.1
When I try to save my process I get this Error Message:
Internal error: Link from Integration Process IP_ASSET_EXCHANGE | http://hiddennamespace.com to object type "ifmextmes" with role "d77b01873ae811de8f28000c294f2f80" is not permitted
For my Abstract interfaces I use External Definitions.
Does anyone has a tip?
Thnx,
Rgds,
SteffenHi!
I have same problem.
Have you decided this issue?
Thnx,
Serg -
Getting information about an object from JList
Hi
I have created a movie application and i have a JList displaying all registered movies, it uses a DefaultListModel to display these.
I want to be able to click on an element in the JList and then push a button called "Show movie details" to display all information about the selected movie.'.
Every new movie is added to the DefaultListModel as an object with "Titlle", "Genere" etc. If someone click on a movie, what do i do to get information about which object that was clicked. All i can see is that integers can be returned with the getSelectedIndex/Value methods. If i use one of these methods to get the object from the DefaultListModel, that would work i guess, but what when someone deletes a movie in the middle of the JList, then the indexes wouldnt match.
Can someone help me out here? :)I get a big fat exception when trying to cast the returned object to a Movie object which im using.
Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: java.lang.S
tring cannot be cast to Movie
...sure that this is the way to do it? If so, what am i doing wrong..
Maybe you are looking for
-
Report for Inventory Status for Serialized Materials
I am trying to generate a report which would display the material #, all serial #s related to that material and the stock type for each of these serial#s. I currently following this approach, I will fetch all the material number from MARC for a parti
-
OIM: Error while updating Task Attributes
Hi All, I am trying to use PeopleSoft User Management using OIM connector. I am facing an error saying "problem in updating Task Attributes" while scheduling a task on OIM design Console. I am trying to update and save PSFT Base Non Trusted User Reco
-
Dear Experts, While posting document in FBCJ i am getting following error. i am posting one payment document with out put tax code. we have done customisation settings to do posting with tax code in FBCJ and Tax code also working fine. only we are ge
-
MBP no longer boots into Mac OS 10.9 Mavericks
After installing Mavericks on launch day and using it successfully for the past few days, my MBP stopped shutting down - system would freeze. I would have to turn it off by holding down the power switch. I booted into Recovery mode to Repair Disk - p
-
I am not able to get both sound and video out of my new Apple TV. I can get audio but no picture or picture and no audio. Any suggestion how to make it work? Finn