JPublisher: oracle...literal.AttributeMap not translated into object type
Hi,
I have a problem to get a valid PL/SQL wrapper for the web-service at http://adostest.armstrongconsulting.com/DSX/DocumentServices.asmx?wsdl
I use jpub to generate the web service callout (jar file and pl/sql wrapper) and the generation of that file completes without an error, but if I try to load the pl/sql package into the database it fails, because one of the generated object types has an invalid definition.
-- Create SQL type for oracle.j2ee.ws.common.encoding.literal.AttributeMap
CREATE OR REPLACE TYPE OBJ_AttributeMap AS OBJECT (); The object type for the java class oracle.j2ee.ws.common.encoding.literal.AttributeMap doesn't contain any attributes.
Software used:
-) Latest JPublisher 10g Release 10.2 (http://download.oracle.com/otn/utilities_drivers/jdbc/10201/jpub_102.zip)
-) 10.1.3.1 Callout Utility for 10g and 11g RDBMS (http://download.oracle.com/technology/sample_code/tech/java/jsp/dbws-callout-utility-10131.zip)
-) Oracle DB 10.2.0.3
Command used to generate files:
jpub -proxywsdl="http://adostest.armstrongconsulting.com/DSX/DocumentServices.asmx?wsdl" -proxyopts=noload -package=ados -plsqlpackage=ADOS_WebServiceBTW, I noticed that the dbwsa.jar contains this class, but the "runtime" classes contained in dbwsclientws.jar which are loaded into the database do not contain this class. If I look into the previous version of the Callout Utility (10.1.3.0) at http://download.oracle.com/technology/sample_code/tech/java/jsp/dbws-callout-utility-10R2.zip it is contained in the dbwsclient.jar which is loaded into the database.
What is wrong or what can I do to get a valid object type mapping?
Thanks
Patrick
Yes. We are calling a .NET web service as well.
I got around the problem by the following steps:
1. Forcing JPub to use the jar files that come with JDeveloper 10.1.3.3, rather than dbwsa.jar and dbwsclientws.jar.
2. Upload the JDeveloper 10.1.3.3 web service libraries into the database
3. Manually edit the JPub wrapper code (static methods) generated by JPub. I have to comment out all references to AttributeMap. Not sure why JPub wants to use it...
Similar Messages
-
Oracle 10.2.0.5.0
Using Pl/SQL Developer
Hi I'm new to collections, object types etc, so I aologize for any poor wording and missed concepts...
I need to output a ref cursor from my package (for a summary report in SQL Server Reporting Services 2005). The summary report has two fields that come from the database table and 5 calculated fields. My idea for creating the ref cursor is as follows:
1. Define an object type at the schema level
2. Define a table (collection) type at the schema level
3. Define a ref cursor at the package level
4. Using dynamic SQL create a sql statement creating virtual columns for the 5 calculated fields
5. Fetch cursor with dynamic sql into object type one record at a time
6. Calculate the other five field values and update the object for each record processed
7. Add the object 'record' to the table (collection) after each record is processed
8. After the fetch is complete, convert the table to a ref cursor for returning to my application
Here is what I have so far. I have cut out several of the calculated fields for simplicities sake. It is not complete and I don't know how to fetch the database row into the object, nor convert the collection to a ref cursor.
Any help would be greatly appreciated.
create or replace type dlyout.srvCtr_sum_rec_type as object (
zoneNo number,
zonetx varchar2(15),
distNo varchar2(4),
distTx varchar2(30),
numOccr number,
MEError varchar2(1));
create or replace type dlyout.srvCtr_sum_tbl_of_recs is table of srvCtr_sum_rec_type;
CREATE OR REPLACE PACKAGE DLYOUT.REPORTS_PKG is
TYPE CUR IS REF CURSOR;
PROCEDURE testABC(startDate IN date,
endDate IN date,
startTime IN varchar2,
endTime IN varchar2,
zoneNo IN dlyout.loc.zone_no%type,
distNo IN dlyout.loc.dist_cd%type,
CUROUT OUT CUR);
END;
CREATE OR REPLACE PACKAGE BODY DLYOUT.REPORTS_PKG IS
PROCEDURE testABC(startDate IN date,
endDate IN date,
startTime IN varchar2,
endTime IN varchar2,
zoneNo IN dlyout.loc.zone_no%type,
distNo IN dlyout.loc.dist_cd%type,
CUROUT OUT CUR) as
startDateTimeStr varchar2(10) := to_Char(startDate, 'MM/DD/YYYY') ;
endDateTimeStr varchar2(10) := to_Char(endDate, 'MM/DD/YYYY');
startDateTime date := to_date(startDateTimeStr || ' ' || startTime, 'MM/DD/YYYY HH24:MI:SS');
endDateTime date := to_date(endDateTimeStr|| ' ' || endTime, 'MM/DD/YYYY HH24:MI:SS');
distClause varchar2(1000);
sqls varchar2(2000);
zoneClause varchar2(1000) :='';
idx number :=0;
curSrvCtr cur;
srvCtrRec srvCtr_sum_rec_type;
srvCtrTbl srvCtr_sum_tbl_of_recs :=srvCtr_sum_tbl_of_recs();
BEGIN
if zoneNo <> 9999 then
zoneClause := ' and zone_no member of dlyout.reports_common_stuff_pkg.convert_to_collection(zoneNo)';
end if;
if distNo <> '9999' then
distClause := ' and dist_cd member of dlyout.reports_common_stuff_pkg.convert_to_collection(distNo) ';
end if;
sqls := 'select distinct l.zone_no zoneNo, l.zone_tx zoneTx,
l.dist_cd distCd , l.dist_tx distTx, 0 numOccr, '''' MEError
from dlyout.loc l
where l.ts between :startts and :endts ' ||
zoneClause ||
distClause ||
' order by l.zone_no, l.dist_tx ';
open curSrvCtr for sqls using startDateTime, endDateTime;
LOOP
FETCH curSrvCtr INTO srvCtrRec; --ORA:00932 inconsistent datatype expected - got -
EXIT WHEN curSrvCtr%NOTFOUND;
--call other functions to get calculated fields
srvCtrRec.numOccr := dlyout.reports_common_stuff_pkg.Num_Loc_Exc_Mom(startDateTimeStr, endDateTimeStr, starttime, endTime, srvctrRec.distno);
srvCtrRec.MEError := dlyout.reports_common_stuff_pkg.ME_Error(startDateTimeStr, endDateTimeStr, starttime, endTime, srvCtrRec.distNo, null);
dbms_output.put_line(srvCtrRec.distTx || ' ' || srvCtrRec.numoccr|| ' ' || srvCtrRec.MEError);
end loop;
end testABC;
END;
Then I need to add the object to the table. Something like this?
-- add object 'record' to table
srvCtrTbl.extend;
srvCtrTbl.last := srvCtrRec;
Then I am not sure how to do the cast to get the table to a ref cursor. Something like this?
open curout for SELECT *
FROM TABLE (CAST (srvCtrTbl AS srvCtr_sum_tbl_of_recs))
ORDER BY zoneNo, distTx;Ok, so after more research if seems that in 10.2 you cannot assign an object (SQL) type to a ref cursor (PLSQL). SO i changed my direction and used a global temp table - created at the schema level.
Create global temporary table dlyout.srvCtr_summary (
zoneNo number,
zonetx varchar2(15),
distNo varchar2(4),
distTx varchar2(30),
numOccr number,
MEError varchar2(1)
) on commit delete rows;Here is what the procedure looks like now.
PROCEDURE testABC(startDate IN date,
endDate IN date,
startTime IN varchar2,
endTime IN varchar2,
zoneNo IN dlyout.location.zone_no%type,
distNo IN dlyout.location.dist_cd%type,
CUROUT OUT CUR) as
startDateTimeStr varchar2(10) := to_Char(startDate, 'MM/DD/YYYY') ;
endDateTimeStr varchar2(10) := to_Char(endDate, 'MM/DD/YYYY');
startDateTime date := to_date(startDateTimeStr || ' ' || startTime, 'MM/DD/YYYY HH24:MI:SS');
endDateTime date := to_date(endDateTimeStr|| ' ' || endTime, 'MM/DD/YYYY HH24:MI:SS');
distClause varchar2(1000);
sqls varchar2(2000);
zoneClause varchar2(1000) :='';
curSrvCtr cur;
--Still need the PLSQL record type to put in the cursor for the dynamic SQL
type srvCtr_sum_rec_type is record (zoneNo dlyout.location.zone_no%type,
zonetx dlyout.location.zone_tx%type,
distNo dlyout.location.dist_cd%type,
distTx dlyout.location.dist_tx%type,
numOccr number,
MEError varchar2(1));
srvCtrRec srvCtr_sum_rec_type;
BEGIN
--create clauses for dynamic sql by calling other functions
if zoneNo <> 9999 then
zoneClause := ' and zone_no member of dlyout.reports_common_stuff_pkg.convert_to_collection(zoneNo)';
end if;
if distNo <> '9999' then
distClause := ' and dist_cd member of dlyout.reports_common_stuff_pkg.convert_to_collection(distNo) ';
end if;
--here is the dynamic sql
sqls := 'select distinct l.zone_no, l.zone_tx,
l.dist_cd , l.dist_tx, 0, 0,
0, 0, ''''
from dlyout.location l
where l.enrgz_ts between :startts and :endts ' ||
zoneClause ||
distClause ||
' order by l.zone_no, l.dist_tx ';
open curSrvCtr for sqls using startDateTime, endDateTime;
LOOP
--fetch in part of the record
FETCH curSrvCtr INTO srvCtrRec;
EXIT WHEN curSrvCtr%NOTFOUND;
--do the calculations to get the other field values
srvCtrRec.numOccr := dlyout.reports_common_stuff_pkg.Num_Loc_Exc_Mom(startDateTimeStr, endDateTimeStr, starttime, endTime, srvctrRec.distno);
srvCtrRec.MEError := dlyout.reports_common_stuff_pkg.MEC_Error(startDateTimeStr, endDateTimeStr, starttime, endTime, srvCtrRec.distNo, null);
dbms_output.put_line(srvCtrRec.distTx || ' ' || srvCtrRec.numoccr|| ' ' || srvCtrRec.MEError);
--add record to GTT
insert into dlyout.srvCtr_summary(zoneNo, zoneTx, distNo, distTX, numOccr, MEError )
values(srvCtrRec.zoneNo, srvCtrRec.zoneTx, srvCtrRec.distNo, srvCtrRec.distTX, srvCtrRec.numOccr, srvCtrRec.MEError);
end loop;
--open GTT and return ref cursor to app
open curout for SELECT *
FROM srvCtr_summary
ORDER BY zoneNo, distTx;
end testABC; -
We have test environment in running state for the past months, developer complained something is not usual, when tried to review if any new applications deployed thru admin UI, I ended up this error:
[11/2/12 17:54:45:367 EDT] 00000028 servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [LiveCycleES2] [/AACComponent] [/layouts/aacLayout.jsp]: Initialization successful.
[11/2/12 17:54:47:345 EDT] 00000033 TilesRequestP I org.apache.struts.tiles.TilesRequestProcessor initDefinitionsMapping Tiles definition factory found for request processor ''.
[11/2/12 17:54:49:668 EDT] 00000033 LocalExceptio E CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method "doSupports" on bean "BeanId(LiveCycleES2#adobe-dscf.jar#EjbTransactionCMTAdapter, null)". Exception data: com.adobe.pof.schema.AttributeNotFoundException: Attribute: head_application_configuration_uuid does not exist on object-type: dsc.sc_application.
at com.adobe.pof.schema.POFAbstractObjectType.getAttribute(POFAbstractObjectType.java:177)
at com.adobe.pof.DefaultGenericObject.getValue(DefaultGenericObject.java:88)
at com.adobe.idp.dsc.boi.BOIApplicationBase.getHeadApplicationConfigurationUuid(BOIApplicati onBase.java:237)
at com.adobe.idp.applicationmanager.application.impl.ApplicationStoreImpl.getApplications(Ap plicationStoreImpl.java:515)
at com.adobe.idp.applicationmanager.application.impl.ApplicationRegistryImpl.getApplications (ApplicationRegistryImpl.java:906)
at com.adobe.idp.applicationmanager.service.ApplicationManagerService.getApplications(Applic ationManagerService.java:1206)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
at com.adobe.idp.applicationmanager.invoker.ApplicationInvoker.invoke(ApplicationInvoker.jav a:38)
at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:357)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doSupports(Ej bTransactionCMTAdapterBean.java:227)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EJSLocalStatelessEjbTransactionCMTAdapter_ caf58c4f.doSupports(Unknown Source)
at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:104)
at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:188)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:115)
at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)
at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:93)
at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:20 9)
at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:66)
at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
at com.adobe.idp.applicationmanager.client.ApplicationManagerClient.callApplicationManager(A pplicationManagerClient.java:78)
at com.adobe.idp.applicationmanager.client.ApplicationManager.getApplications(ApplicationMan ager.java:336)
at com.adobe.repository.ui.aac.struts.actions.SwitchArchivesPageAction.execute(SwitchArchive sPageAction.java:168)
at com.adobe.repository.ui.aac.struts.actions.CommandProcessorAction.execute(CommandProcesso rAction.java:228)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:718)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1657)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1597)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131)
at com.adobe.repository.ui.aac.AacServletFilter.doFilter(AacServletFilter.java:137)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java: 188)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
at com.adobe.framework.SecurityFilter.doFilter(SecurityFilter.java:206)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java: 188)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
at com.adobe.framework.SessionBundleFilter.doFilter(SessionBundleFilter.java:135)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java: 188)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
at com.adobe.repository.ui.aac.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java :76)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java: 188)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:908)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:934)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:502)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java: 179)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3933)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:276)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:931)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink .java:452)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.jav a:511)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java: 305)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.jav a:83)
at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLRe adServiceContext.java:1784)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionLi stener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1604)
[11/2/12 17:54:49:744 EDT] 00000033 DMAdapter I com.ibm.ws.ffdc.impl.DMAdapter getAnalysisEngine FFDC1009I: Analysis Engine using data base: /wsste/wasapps/OLF/WASv70/profiles/nhwsutgCell/nhwsutg/properties/logbr/ffdc/adv/ffdcdb.x ml
[11/2/12 17:54:50:706 EDT] 00000033 FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on /wsste/wasapps/OLF/WASv70/profiles/nhwsutgCell/nhwsutg/logs/ffdc/ADB_nhwsutgServer1_55fa5 5fa_12.11.02_17.54.49.6837809252540716734891.txt com.ibm.ejs.container.LocalExceptionMappingStrategy.setUncheckedException 178
[11/2/12 17:54:50:715 EDT] 00000033 LocalTranCoor E WLTC0017E: Resources rolled back due to setRollbackOnly() being called.
[11/2/12 17:54:51:544 EDT] 00000033 FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on /wsste/wasapps/OLF/WASv70/profiles/nhwsutgCell/nhwsutg/logs/ffdc/ADB_nhwsutgServer1_55fa5 5fa_12.11.02_17.54.50.7232356566147224587866.txt com.ibm.ejs.csi.TranStrategy.rollback 375
[11/2/12 17:54:51:552 EDT] 00000033 CommandProces E Application Administration: com.adobe.pof.schema.AttributeNotFoundException: Attribute: head_application_configuration_uuid does not exist on object-type: dsc.sc_application.
java.lang.RuntimeException: com.adobe.pof.schema.AttributeNotFoundException: Attribute: head_application_configuration_uuid does not exist on object-type: dsc.sc_application.
at com.adobe.repository.ui.aac.struts.actions.SwitchArchivesPageAction.execute(SwitchArchive sPageAction.java:190)
at com.adobe.repository.ui.aac.struts.actions.CommandProcessorAction.execute(CommandProcesso rAction.java:228)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:718)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1657)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1597)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131)
at com.adobe.repository.ui.aac.AacServletFilter.doFilter(AacServletFilter.java:137)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java: 188)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
at com.adobe.framework.SecurityFilter.doFilter(SecurityFilter.java:206)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java: 188)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
at com.adobe.framework.SessionBundleFilter.doFilter(SessionBundleFilter.java:135)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java: 188)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
at com.adobe.repository.ui.aac.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java :76)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java: 188)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:908)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:934)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:502)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java: 179)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3933)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:276)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:931)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink .java:452)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.jav a:511)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java: 305)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.jav a:83)
at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLRe adServiceContext.java:1784)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionLi stener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1604)
Caused by: com.adobe.pof.schema.AttributeNotFoundException: Attribute: head_application_configuration_uuid does not exist on object-type: dsc.sc_application.
at com.adobe.idp.applicationmanager.client.ApplicationManagerClient.callApplicationManager(A pplicationManagerClient.java:98)
at com.adobe.idp.applicationmanager.client.ApplicationManager.getApplications(ApplicationMan ager.java:336)
at com.adobe.repository.ui.aac.struts.actions.SwitchArchivesPageAction.execute(SwitchArchive sPageAction.java:168)
... 45 more
Caused by: com.adobe.pof.schema.AttributeNotFoundException: Attribute: head_application_configuration_uuid does not exist on object-type: dsc.sc_application.
at com.adobe.idp.dsc.boi.BOIApplicationBase.getHeadApplicationConfigurationUuid(BOIApplicati onBase.java:240)
at com.adobe.idp.applicationmanager.application.impl.ApplicationStoreImpl.getApplications(Ap plicationStoreImpl.java:515)
at com.adobe.idp.applicationmanager.application.impl.ApplicationRegistryImpl.getApplications (ApplicationRegistryImpl.java:906)
at com.adobe.idp.applicationmanager.service.ApplicationManagerService.getApplications(Applic ationManagerService.java:1206)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
at com.adobe.idp.applicationmanager.invoker.ApplicationInvoker.invoke(ApplicationInvoker.jav a:38)
at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:357)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doSupports(Ej bTransactionCMTAdapterBean.java:227)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EJSLocalStatelessEjbTransactionCMTAdapter_ caf58c4f.doSupports(Unknown Source)
at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:104)
at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:188)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:115)
at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)
at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:93)
at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:20 9)
at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:66)
at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
at com.adobe.idp.applicationmanager.client.ApplicationManagerClient.callApplicationManager(A pplicationManagerClient.java:78)
... 47 more
I did run the LCM to see if that fix the issue, but it failed at Db initializing. error as below:
[2012-11-02 17:38:50,723], SEVERE, Thread-11, com.adobe.livecycle.bootstrap.client.BootstrapRequestClient, com.adobe.livecycle.bootstrap.BootstrapException: ALC-TTN-011-031: Bootstrapping failed for platform component [DocumentServiceContainer]. The wrapped exception's message reads:
See nested exception; nested exception is: com.adobe.pof.schema.RelationNotFoundException: Relation: application_configuration does not exist on object-type: dsc.sc_application.
at com.adobe.livecycle.bootstrap.bootstrappers.DSCBootstrapper.bootstrap(DSCBootstrapper.jav a:73)
at com.adobe.livecycle.bootstrap.framework.ManualBootstrapInvoker.invoke(ManualBootstrapInvo ker.java:78)
at com.adobe.livecycle.bootstrap.framework.BootstrapServlet.doGet(BootstrapServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:718)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1657)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:939)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:502)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java: 179)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.jav a:91)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:864)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)
at com.ibm.ws.ard.channel.ARDChannelConnLink.handleDiscrimination(ARDChannelConnLink.java:18 8)
at com.ibm.ws.ard.channel.ARDChannelConnLink.ready(ARDChannelConnLink.java:93)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink .java:452)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.jav a:511)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java: 305)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.jav a:78)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionLi stener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1604)
Caused by: javax.ejb.EJBException: See nested exception; nested exception is: com.adobe.pof.schema.RelationNotFoundException: Relation: application_configuration does not exist on object-type: dsc.sc_application.
at com.adobe.pof.odapi.POFSchemaManagerImpl.synchronizeAll(POFSchemaManagerImpl.java:1127)
at com.adobe.pof.odapi.POFSchemaManagerRemoteBean.synchronizeAll(POFSchemaManagerRemoteBean. java:511)
at com.adobe.pof.odapi.EJSLocalStatelessadobe_POFSchemaManagerLocalEJB_626825cc.synchronizeA ll(Unknown Source)
at com.adobe.pof.odapi.POFSchemaManagerLocalEJBAdapter.synchronizeAll(POFSchemaManagerLocalE JBAdapter.java:135)
at com.adobe.idp.dsc.initializer.DSCInitializerBean.installSchema(DSCInitializerBean.java:20 1)
at com.adobe.idp.dsc.initializer.DSCInitializerBean.bootstrap(DSCInitializerBean.java:94)
at com.adobe.idp.dsc.initializer.EJSLocalStatelessDSCInitializerBeanLocalEJB_7bb34e85.bootst rap(Unknown Source)
at com.adobe.livecycle.bootstrap.bootstrappers.DSCBootstrapper.bootstrap(DSCBootstrapper.jav a:68)
... 26 more
Caused by: com.adobe.pof.schema.RelationNotFoundException: Relation: application_configuration does not exist on object-type: dsc.sc_application.
... 34 more
[2012-11-02 17:38:50,735], INFO, Thread-11, com.adobe.livecycle.lcm.feature.bootstrap.BootstrapTask, Completing task: com.adobe.livecycle.lcm.feature.bootstrap.BootstrapTask@4c144c14 isDone:true
[2012-11-02 17:38:50,735], INFO, Thread-11, com.adobe.livecycle.lcm.feature.bootstrap.BootstrapTask, Completing task: com.adobe.livecycle.lcm.feature.bootstrap.BootstrapTask@4c144c14 isDone:true
[2012-11-02 17:38:50,736], SEVERE, Thread-11, com.adobe.livecycle.lcm.feature.bootstrap.BootstrapTask, Task failed
com.adobe.livecycle.bootstrap.BootstrapException: ALC-TTN-103-000: Bootstrapping request failed on server. Message from server:
ALC-TTN-011-031: Bootstrapping failed for platform component [DocumentServiceContainer]. The wrapped exception's message
reads:
See nested exception; nested exception is: com.adobe.pof.schema.RelationNotFoundException: Relation: application_configuration does not
exist on object-type: dsc.sc_application.
Check application server logs for details.
at com.adobe.livecycle.bootstrap.client.BootstrapRequestClient.analyzeResponse(BootstrapRequ estClient.java:152)
at com.adobe.livecycle.bootstrap.client.BootstrapRequestClient.bootstrap(BootstrapRequestCli ent.java:63)
at com.adobe.livecycle.bootstrap.client.BootstrapManager.executeStep(BootstrapManager.java:2 03)
at com.adobe.livecycle.lcm.feature.bootstrap.BootstrapTask$ActualTask.<init>(BootstrapTask.j ava:125)
at com.adobe.livecycle.lcm.feature.bootstrap.BootstrapTask$1.construct(BootstrapTask.java:58 )
at com.adobe.livecycle.lcm.core.tasks.SwingWorker$2.run(SwingWorker.java:114)
at java.lang.Thread.run(Thread.java:736)
[2012-11-02 17:38:51,184], SEVERE, AWT-EventQueue-0, com.adobe.livecycle.lcm.feature.bootstrap.BootstrapDialog, Bootstrap exception
com.adobe.livecycle.bootstrap.BootstrapException: ALC-TTN-103-000: Bootstrapping request failed on server. Message from server:
ALC-TTN-011-031: Bootstrapping failed for platform component [DocumentServiceContainer]. The wrapped exception's message
reads:
See nested exception; nested exception is: com.adobe.pof.schema.RelationNotFoundException: Relation: application_configuration does not
exist on object-type: dsc.sc_application.
Check application server logs for details.
at com.adobe.livecycle.bootstrap.client.BootstrapRequestClient.analyzeResponse(BootstrapRequ estClient.java:152)
at com.adobe.livecycle.bootstrap.client.BootstrapRequestClient.bootstrap(BootstrapRequestCli ent.java:63)
at com.adobe.livecycle.bootstrap.client.BootstrapManager.executeStep(BootstrapManager.java:2 03)
at com.adobe.livecycle.lcm.feature.bootstrap.BootstrapTask$ActualTask.<init>(BootstrapTask.j ava:125)
at com.adobe.livecycle.lcm.feature.bootstrap.BootstrapTask$1.construct(BootstrapTask.java:58 )
at com.adobe.livecycle.lcm.core.tasks.SwingWorker$2.run(SwingWorker.java:114)
at java.lang.Thread.run(Thread.java:736)
[2012-11-02 17:40:38,734], INFO, AWT-EventQueue-0, com.adobe.livecycle.lcm.feature.bootstrap.BootstrapDialog, onExit(com.adobe.livecycle.lcm.gui.LCMDialogExitEvent: CLOSE)
Techstack: ES2 (9.5), AIX 6.1, Oracle 11gr2, WAS 7.0.0.17.
Any one faced similar issue can add their inputs, How can we avoid such issues in future.
Thanks in advance and much appreciated.
Regards,
BuddigaThis error disappeared when we changed to the drivers ojdbc6.jar provided by Adobe along with the bundle. We were using the one that are available local to the system(default from oracle). I shall post more information if I see any other occurance.
Hope this is helpful. -
Error : software component version does not support this object type.
Hi ,
We are getting error as software component version does not support this object type when we try to create Business Object in PI 7.1 ESR .
How can we solve this error.
Regards,
Syed
Edited by: Umar Syed on Jun 11, 2009 12:01 PMHi Srinivas,
We are working on Modelling in SAP PI, but we are unable to create any Business Object.. is there any specific steps need to be followed.
Once we login to our ESR from index page we have this option to choose
Available Profiles : Process Definition
Service Definition
Unregistered.
We are getting the option of new types (_Business Object_) only if we select Unregistered Profile and not in other Profiles . Is there some settings need to be done.
Regards,
Syed -
Method 'PROCESS' is not defined for object type 'BUS2081'
Hi All,
I am using a workflow for incoming invoice approval using WS20001004. I prepared one version for this. The standard business methos bus2081 i delegated to zbus2081. Here i placed one decision step for reject or approve. In the same task in inbox i can see the document i can see as attachment. Now the issue is after seeing the attachment when i click on task in my inbox it status is changed to red and i can not process it further.In log i can see the error like Method 'PROCESS' is not defined for object type 'BUS2081'. This method i do not have in standard or in delegated one. I was struck here. Pleas help in this.
Regards,
Madhu.Hi,
"Here i placed one decision step for reject or approve." if your workitem is based on standard user decision step type of workflow, then the business object in underlying task should be 'DECISION' and method should be 'PROCESS'. I think in the task you have put your custom business object instead of business object 'DECISION'. This could be the reason you are facing error.
Regards,
Ibrahim -
Event 'INFO_APPRAISEE_CHANGE_APPROVE' is not defined for object type
hi all
i made 4 workflows for MBO appraisal using APPR_DOC BO nd using std wfs- ws12300114, ws12300122, ws12300124 nd ws12300125. all r working properly in development server.
but
in quality all r giving errors related to evevts. as for example, for ws12300114 workflow it is giving error--
"Event 'INFO_APPRAISEE_CHANGE_APPROVE' is not defined for object type"
for all 4 wfs it is giving error like this related to event nd business object.
plzzzzzzzz anybody knows thn reply or call me at 09886999122 or mail at [email protected]
thanks in advance
RajHi,
Since you are saying that the object worked fine in DEV and giving problem in Quality I feel that some sort of Your Dev work was not properly included in the Transport Request and was not gone to Quality server.
Something like EVENT activation, release status etc were not gone to Quality
check them.
reward if useful
regards,
Anji -
"Event 'INFO_APPRAISEE_CHANGE_APPROVE' is not defined for object type 'APPR
hi all
i made 4 workflows for MBO appraisal using APPR_DOC BO nd using std wfs- ws12300114, ws12300122, ws12300124 nd ws12300125. all r working properly in development server.
but
in quality all r giving errors related to evevts. as for example, for ws12300114 workflow it is giving error--
"Event 'INFO_APPRAISEE_CHANGE_APPROVE' is not defined for object type 'APPR_DOC' "
for all 4 wfs it is giving error like this related to event nd business object.
plzzzzzzzz anybody knows thn reply or call me at 09886999122 or mail at [email protected]
thanks in advance
RajHi,
Since you are saying that the object worked fine in DEV and giving problem in Quality I feel that some sort of Your Dev work was not properly included in the Transport Request and was not gone to Quality server.
Something like EVENT activation, release status etc were not gone to Quality
check them.
reward if useful
regards,
Anji -
Status profile not allowed for object type
hi
i had created a status profile (for having 2 statuses before production order release) and assigned in the order type.
but while creating the production order i receive the following error.
Message no - CO622
status profile not allowed for object type
please provide your inputs
regards
RameshRamesh,
once you cerate a Status profile in BS02 and add status to the same. in the tollbar you will see OBJECT TYPE push button, select teh obejcts like PP/PM order header / operation /comepeoent and PRT ect where that staus can be applied.
Then assign the statsu profile to order type. -
Text written into MS Word document is not translated into unicode format
Hi all,
I am creating a MS word document using OLE document management interface. Then I am adding some text fields with i_oi_form->add_field. My system is a unicode system. The word document is created but characters like "á" or "ñ" become strange things, somehow the interface is not translating the text into unicode. Example "Não más" becomes "Não más" on the word document.What am I missing here? How can I achieve to create on the word document exactly what I write in SAP ECC 6.0?
Thanks,
nsHi all,
I am creating a MS word document using OLE document management interface. Then I am adding some text fields with i_oi_form->add_field. My system is a unicode system. The word document is created but characters like "á" or "ñ" become strange things, somehow the interface is not translating the text into unicode. Example "Não más" becomes "Não más" on the word document.What am I missing here? How can I achieve to create on the word document exactly what I write in SAP ECC 6.0?
Thanks,
ns -
Geometry not translating into FCP
Hi, all. Just curious if anyone has figured out an FCP-->Color-->FCP round trip workaround scenario that includes Geometry room parameters. I'm striking out.
The media was shot on 16:9 720P/24, and I'm cutting it in (amazingly, in real time--nice work, Apple) with a ProRes HQ 4:3 NTSC sequence. After a round trip, everything else looks great: primary/seconday color settings, pulldown insertion, etc. However, I've done a number of repos and small camera moves in Color, and they disappear back in FCP. Experimenting with the first :30, I've got to say the autofeathering keyframes LOOK GREAT in Color, (very natural, quick and easy to set up, and smooth) but they do not come back in after rendering, no matter what I try.
It says in the manual and on the FCPS 2 site that Geometry room settings get translated into FCP motion parameters. That's not happening. Is this a known bug? FCP's motion control is so clunky, I'd be more likely to do it in After Effects, but that's a pain, since the controls are right here in front of me in Color.
Many thanks.I realize this is an old thread, but here's the solution:
Just delete the .xml file from your project's container. You'll have to right-click on the project, choose "Show Package Contents", then delete the .xml file that's in there. Actually, maybe move it some place safe, even though it is a clone of the file you actually did use.
Once it's gone, Color is fooled into thinking that you didn't import this form XML, and you're good to go.
You might also have to delete the line in the project's .PDL file that has the <IMPORTFROMFCP> tag, I'm not sure. It was the first thing I tried and it didn't have any effect, but since I never put it back I can't be sure you don't need to do both things.
And I respectfully disagree about doing it there way or the highway. Since FinalTouch 1.x I've been doing all sorts of XML hacks and workarounds to make it do some things MY WAY I still can't get it to 4K with this DALSA footage I'm on right now, though
Tyler Hawes, DI Colorist
Liquid DI
www.liquidcompanies.com -
How can I check the field char can be translate into num type?
Hi
when I import Excel file into sap . I create one table to save the column and there are one column who's tpye is num . as we all know ,all the fields from excel are char type, the sap system will
automatic translate char to num . but if the field can not translate char to num. then the program
will be crush down
such as : qty type char : 500 in excel then in tab qty type num :500 ok
qty type char : 50A in excel then crash
Is there any function that can deal with this matter?You may [CATCH|http://help.sap.com/abapdocu/en/ABAPCATCH_SYSTEM-EXCEPT_SHORTREF.htm] the error.
CATCH SYSTEM-EXCEPTIONS convt_no_number = 1
conversion_errors = 2.
MOVE char TO num.
ENDCATCH.
IF sy-subrc EQ 0.
" converted
ELSEIF sy-subrc EQ 1.
" not numeric
ELSEIF sy-subrc EQ 2.
" not converted, other error
ENDIF.
Regards -
BI Content Input Help Not Working on Object Type View
In the BI Content area, if I go to the Object Type View and click on 'Select Objects' for Datasources or InfoPackages, I will not get the Input Help screen.
I am running SAP BI 7.0 Level 0013. BI Content is version 7.03 Level 0005
I am sure there is a note to fix this, but I have not been able to find it!
ThanksAll of the correct Source Systems Assignments were not selected.
-
Missing saved usernames, passwords and not translating into English
On Monday Firefox would not open. I received some message about my internet connection. Went to B&N because it has AT&T WiFi. Firefox open but when I open a foreign magazine the translate did not automatically and the Translation button did not appear. Later on Monday I opened a site that required a username and password that was remembered on Firefox but it did not appear. I have not been able to find out how to turn the Translation and the password Remembered back on. I saw a site that says a software program had to be download in order to correct this program but I did not download the software.
Did you check the settings in the Google Toolbar?
* http://www.google.com/support/toolbar/bin/answer.py?answer=20871 - Translate : Translate basics -
Text not translating into another language
Hi!
When I'm working in Robohelp HTML, and I select topic langauge and change to another language, it does not change the text. I've even tried just selecting a paragraph and changing the language there, but still nothing happens. I'm not sure if something is not set up right with my RoboHelp 8 version, or what the deal is. I did notice that when I changed the language at the project level that the Contents, Index, etc. buttons at the top changed languages, but the text in the topics stayed the same. Can someone please tell me what I'm doing wrong or how I can fix this?
Thanks.Hi there and welcome to our community
You are unfortunately misunderstanding what this option is for. Different languages require different character sets in order to be rendered on the computer screen properly. All the language setting does is configure the page so it will use that character set. Another process has to occur where the text is converted from one language to another.
Cheers... Rick
Helpful and Handy Links
RoboHelp Wish Form/Bug Reporting Form
Begin learning RoboHelp HTML 7 or 8 moments from now - $24.95!
Adobe Certified RoboHelp HTML Training
SorcererStone Blog
RoboHelp eBooks -
Error Thrown while assinging the value into OBJECT TYPE
Hi Oracle Experts:
i was create one Oracle OBJECT, that object contain only one variable, and i created one function which is return the object(system date), but while i complied that procedure i was thrown the error message like ORA-06530: Reference to uninitilized composite .
can any one tell me how can i use the object variable in the select statement into clause .
Below i pasted my code.
CREATE OR REPLACE TYPE str_batch IS OBJECT
sys_date DATE
CREATE OR REPLACE FUNCTION F_Ln_Getodperd
p_s_actype VARCHAR2,
p_s_acno VARCHAR2,
p_n_bal NUMBER,
p_d_prodt DATE
)RETURN str_batch
IS
lstr_od str_batch ;
BEGIN
SELECT SYSDATE INTO lstr_od.sys_date FROM dual; -- Error(Error message shown in below)
dbms_output.put_line('');
RETURN lstr_od;
END;
Error:
ORA-06530: Reference to uninitilized composite
Thanks in advance
Arun M MHi Mr. Saubhik
Below i Paste my original source code. Still am facing the same problem while i execute the function. can you please tell me the solution for this.
OBJECT :
CREATE OR REPLACE TYPE str_batch IS OBJECT
batchno NUMBER,
batchslno NUMBER,
act_type VARCHAR2(20),
act_no VARCHAR2(20),
curr_code VARCHAR2(10),
amount NUMBER(23,5),
MOD VARCHAR2(10),
drcr VARCHAR2(2),
cheqno VARCHAR2(20),
cheqdt DATE,
sts VARCHAR2(4),
operid NUMBER,
narr VARCHAR2(300),
srno VARCHAR2(10),
rem_type VARCHAR2(10)
Function :
CREATE OR REPLACE FUNCTION F_Ln_Getodperd
p_s_actype IN VARCHAR2,
p_s_acno IN VARCHAR2,
p_n_bal IN NUMBER,
p_d_prodt IN DATE
)RETURN str_batch
IS
lstr_od str_batch ;
-- Variable Declaration
v_n_perd NUMBER;
v_n_lnperd NUMBER;
v_n_mon NUMBER;
v_n_effmon NUMBER;
v_n_instno NUMBER;
v_n_odno NUMBER;
v_n_actual NUMBER(23,5);
v_n_diff NUMBER(23,5);
v_n_inst NUMBER(23,5);
v_d_first DATE;
v_d_exp DATE;
v_d_oddt DATE;
v_d_lastprod DATE;
v_s_instmode VARCHAR2(10);
v_s_inst VARCHAR2(10);
v_s_branch VARCHAR2(10);
v_s_errm VARCHAR2(20000);
BEGIN
SELECT F_Get_Brcode INTO v_s_branch FROM dual;
SELECT pay_c_final,lon_d_expiry, lon_d_lastprod
INTO v_s_inst,v_d_exp, v_d_lastprod
FROM LOAN_MAST
WHERE branch_c_code = v_s_branch AND
act_c_type = p_s_actype AND
act_c_no = p_s_acno;
IF (p_d_prodt > v_d_exp) THEN
SELECT CEIL(MONTHS_BETWEEN(p_d_prodt,v_d_exp)) INTO lstr_od.batchslno FROM dual;
lstr_od.cheqdt := v_d_exp;
SELECT v_d_lastprod - p_d_prodt INTO lstr_od.batchslno FROM dual;
--lstr_od.batchslno = DaysAfter(DATE(ldt_lastprod), DATE(adt_prodt))
ELSE
IF (v_s_inst = 'N') THEN
IF p_d_prodt > v_d_exp THEN
SELECT CEIL(MONTHS_BETWEEN(p_d_prodt,v_d_exp)) INTO lstr_od.batchslno FROM dual;
lstr_od.cheqdt := v_d_exp;
ELSE
lstr_od.batchslno := 1;
END IF;
ELSIF (v_s_inst = 'Y') THEN
SELECT first_d_due,lon_c_instperd,lon_n_perd
INTO v_d_first,v_s_instmode,v_n_lnperd
FROM LOAN_MAST
WHERE branch_c_code = v_s_branch AND
act_c_type = p_s_actype AND
act_c_no = p_s_acno;
SELECT CEIL(MONTHS_BETWEEN(p_d_prodt,v_d_first)) INTO v_n_mon FROM dual;
IF v_n_mon > 0 THEN
SELECT NVL(ln_n_balance,0),NVL(ln_n_instlamt,0),NVL(ln_n_instlno,0)
INTO v_n_actual,v_n_inst,v_n_instno
FROM LOAN_INST_SCH
WHERE act_c_type = p_s_actype AND
act_c_no = p_s_acno AND
ln_d_effdate = (SELECT MAX(ln_d_effdate)
FROM LOAN_INST_SCH
WHERE act_c_type = p_s_actype AND
act_c_no = p_s_acno AND
ln_d_effdate < p_d_prodt);
IF (p_n_bal > v_n_actual) THEN
IF v_n_inst > 0 THEN
lstr_od.batchslno := (p_n_bal - v_n_actual) / v_n_inst;
END IF;
ELSE
lstr_od.batchslno := 1;
END IF;
IF lstr_od.batchslno = 0 THEN
lstr_od.batchslno := 1;
END IF;
--FOR FULL OD
IF (v_n_mon > v_n_lnperd) THEN
lstr_od.batchslno := (v_n_mon - v_n_lnperd) + lstr_od.batchslno;
END IF;
IF v_s_instmode = 'Q' THEN
lstr_od.batchslno := lstr_od.batchslno * 3;
ELSIF v_s_instmode = 'H' THEN
lstr_od.batchslno := lstr_od.batchslno * 6;
ELSIF v_s_instmode = 'Y' THEN
lstr_od.batchslno := lstr_od.batchslno * 12;
END IF;
SELECT p_d_prodt - lstr_od.batchslno INTO lstr_od.cheqdt FROM dual;
IF v_s_instmode = 'M' THEN
v_n_odno := v_n_instno - lstr_od.batchslno; -- TO get OD DATE
SELECT ln_d_effdate
INTO lstr_od.cheqdt
FROM LOAN_INST_SCH
WHERE act_c_type = p_s_actype AND
act_c_no = p_s_acno AND
ln_n_instlno = v_n_odno;
IF SQLCODE = -1 THEN
lstr_od.batchslno := -1;
RETURN lstr_od;
END IF;
END IF;
ELSE
lstr_od.batchslno := 1;
END IF;
END IF;
END IF;
RETURN lstr_od;
EXCEPTION
WHEN OTHERS THEN
v_s_errm := SQLERRM;
dbms_output.put_line(SQLERRM);
lstr_od.batchslno := -1;
RETURN lstr_od;
END;
/
Maybe you are looking for
-
Creative Mediasource Organizer faswforwards playli
When I select content to play, PC Music Library, then select a playlist, my mediasource Organizer?will fastforward each song on the playlist. I can play individual songs from the library but not playlists.
-
Debit balance in vendor account due to outward
Dear All, While analyzing debit balance in vendor account, we came across that in most of the cases the debit balances arisen due to stock outward to vendor from stores and DCs. As we know that in case of Food, the PO/GRN and returns happens at each
-
Deploying application on SunOne Application Server
Hi, I am trying to deploy a j2ee application on the sun one application server 7.0. However I am getting the following error while trying to deploy the application - "Cannot deploy the component error received from mbean null" I have tried using the
-
I am to build a large-scale project with j2me and i need to control the process of development. What alternatives to RUP do you suggest?
-
How to pack & unpack in case of selection options
I have a Ztable having field ztable-belnr. Now i hav a report which fetch data according to belnr. This is a section option: select-options: belnr1 for Ztable-belnr. Now if i enter 51 it shows no document & if i enter '0000000051' it shows the data.