BAM plan failing on an ampersand character ("&")
Has anyone run across this issue?
A customer is seeing his Enterprise Link plan in BAM fail due to an ampersand ("&") in the XML data ...
Unable to parse XML in message field "rawData".
An error occurred while parsing EntityName. Line 1, position 156.
XML:
<?xml version="1.0"?><row><SAK_DSHBD_METRIC_DATA>17530</SAK_DSHBD_METRIC_DATA><SAK_DSHBD_CRITERIA>111</SAK_DSHBD_CRITERIA><TXT_DSHBD_CRITERIA_VALUE>AGING & ADULT SERVICES </TXT_DSHBD_CRITERIA_VALUE></row>
[Oracle BAM Enterprise Link error code: 0x75 -- 0x1, 0x75 -- 0x68]
Error while processing the data for the step 'Oracle BAM Enterprise Message Receiver'
[Oracle BAM Enterprise Link error code: DC -- 0x1, DC -- 0x83]
Error while processing the data for the step 'Oracle BAM Enterprise Message Receiver'
[Oracle BAM Enterprise Link error code: DC -- 0x1, DC -- 0x83]
Update of Plan "FLMMIS_AQ_T_DSHBD_METRIC_DATA_CRIT_g" failed.
[Oracle BAM Enterprise Link error code: PlanMgr -- 0x1, PlanMgr -- 0xD5]
Any ideas how to get around this problem (other than modifying the source data to remove the ampersand)?
Thanks,
Lon
My apologies for take a super long time to reply. Are you still having issues here? How can we help?
Thanks Guy
Similar Messages
-
Cannot produce the ampersand character in an output ile
We are using DBMS_XMLQuery to select some stuff from thedatabase (8.1.7) and output as XML in a CLOB.
We pass transform this CLOB to a text output file (not html) by passing the above result to the xmlparser package.
Our stylesheet looks like
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/" >
testing
</xsl:template>
</xsl:stylesheet>
OK, we're just trying to get anything to appear!!!
Obviously this fails. Replacing ampersand with 'ampersand amp;' causes hash number tobe output (38 I think).
I'd really like to get an ampersand out the end of this.
I have tried enclosing the ampersand amp; in <xsl:text> - no good
<xsl:text disable-output-beffering> - no good
I've tried CDATA, using <xsl:output type="text" /> at the start of the stylesheet, all to no avail.
I've searched this forum, lots of similar questions but no relevant answer (I'm new to this stuff).
Help!!!!!!!!!!!!!!Apologies for replying to my own posting (although I would greatly appreciate someones elses reply), I decided to try out oraxsl from the unix command line. Sure enough, it output the ampersand as an ampersand and not a code. Therefore, I must have something wrong in the plsql code that sets up the parser.
Heres the code - I think we got it from the online docs. I've chopped out the comments and debug, hopefully I didnt chop out any code :)
PROCEDURE gen_file(dir varchar2, p_clob clob, xslfile varchar2, resfile varchar2, errfile varchar2) is
p xmlparser.Parser;
xmldoc xmldom.DOMDocument;
xmldocnode xmldom.DOMNode;
proc xslprocessor.Processor;
ss xslprocessor.Stylesheet;
xsldoc xmldom.DOMDocument;
docfrag xmldom.DOMDocumentFragment;
docfragnode xmldom.DOMNode;
xslelem xmldom.DOMElement;
nspace varchar2(50);
xslcmds xmldom.DOMNodeList;
begin
-- new parser
p := xmlparser.newParser;
xmlparser.setValidationMode(p, FALSE);
xmlparser.setErrorLog(p, dir | | '/' | | errfile);
xmlparser.setPreserveWhiteSpace(p, TRUE);
xmlparser.setBaseDir(p, dir);
xmlparser.parseclob(p, p_clob);
xmldoc := xmlparser.getDocument(p);
xmlparser.parse(p, dir | | '/' | | xslfile);
xsldoc := xmlparser.getDocument(p);
xslelem := xmldom.getDocumentElement(xsldoc);
nspace := xmldom.getNamespace(xslelem);
xmldom.getExpandedName(xslelem));
xslcmds := xmldom.getChildrenByTagName(xslelem, '*', nspace);
ss := xslprocessor.newStylesheet(xsldoc, dir | | '/' | | xslfile);
proc := xslprocessor.newProcessor;
xslprocessor.showWarnings(proc, true);
xslprocessor.setErrorLog(proc, dir | | '/' | | errfile);
docfrag := xslprocessor.processXSL(proc, ss, xmldoc);
docfragnode := xmldom.makeNode(docfrag);
xmldom.writeToFile(docfragnode, dir | | '/' | | resfile);
-- deal with exceptions
exception
when xmldom.INDEX_SIZE_ERR then
raise_application_error(-20120, 'Index Size error');
when xmldom.DOMSTRING_SIZE_ERR then
raise_application_error(-20120, 'String Size error');
when xmldom.HIERARCHY_REQUEST_ERR then
raise_application_error(-20120, 'Hierarchy request error');
when xmldom.WRONG_DOCUMENT_ERR then
raise_application_error(-20120, 'Wrong doc error');
when xmldom.INVALID_CHARACTER_ERR then
raise_application_error(-20120, 'Invalid Char error');
when xmldom.NO_DATA_ALLOWED_ERR then
raise_application_error(-20120, 'Nod data allowed error');
when xmldom.NO_MODIFICATION_ALLOWED_ERR then
raise_application_error(-20120, 'No mod allowed error');
when xmldom.NOT_FOUND_ERR then
raise_application_error(-20120, 'Not found error');
when xmldom.NOT_SUPPORTED_ERR then
raise_application_error(-20120, 'Not supported error');
when xmldom.INUSE_ATTRIBUTE_ERR then
raise_application_error(-20120, 'In use attr error');
end gen_file;
null -
Oracle BAM Plan Monitor does not start
Hello all,
the Oracle BAM Plan Monitor does not start in when I execute the start scripts.
It tells my that the name of the service is invalid.
Is there any possibility to check on the configuration for that service name?
I have also checked on the event log of my Windows machine. There are a couple of strange entries coming from the Oracle BAM Engine:
EventEngine: ADC Context exception ADC Server exception in GetUserGroups(): 2.
ActiveDataCache: Caught exception while validating user NT-AUTORITÄT\SYSTEM: The RPC-Server is not available
Maybe someone has a clue how to resolve this issue.Hi
Are you using a valid user name and passwd to access the plan monitor?
Did you set up a user called 'BAM' in your Enterprise Link? Normally this user will get created automaticaly while installing BAM. If it doesnt exist, you will have to create a user called BAM in EL with a blank password.
Please follow the post installation document, that is having more details.
Thanks
Laj -
HI,
I am getting below error while deploying BAM activity ...Pls help me resolve this issue.
Microsoft.BizTalk.Bam.Management.BamManagerException: The BAM deployment failed. ---> Microsoft.BizTalk.Bam.Management.BamManagerException: Encountered error while executing command on SQL Server
"ServerName". ---> System.Data.SqlClient.SqlException: An object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or
[] are not allowed. Change the alias to a valid name.An object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed.
Change the alias to a valid name.An object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias
to a valid name.An object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name.An
object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name.An object or column
name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name.An object or column name is missing
or empty. For SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name.An object or column name is missing or empty. For
SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name.An object or column name is missing or empty. For SELECT INTO statements,
verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name.An object or column name is missing or empty. For SELECT INTO statements, verify each column
has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name.An object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For
other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name.An object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements,
look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock,
Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at
System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean
sendToPipe, Int32 timeout, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Microsoft.BizTalk.Bam.Management.SqlHelper.ExecuteBatches(String cmdText) at Microsoft.BizTalk.Bam.Management.SqlHelper.ExecuteNonQuery(String
cmdText, CommandType cmdType, Boolean inTransaction, Transaction transaction) --- End of inner exception stack trace --- at Microsoft.BizTalk.Bam.Management.SqlHelper.ExecuteNonQuery(String cmdText, CommandType cmdType, Boolean inTransaction,
Transaction transaction) at Microsoft.BizTalk.Bam.Management.ViewModule.Create(XmlDocument defXmlDoc) at Microsoft.BizTalk.Bam.Management.WorkerModule.DispatchOperation(OperationType operation, XmlDocument defXmlDoc) at
Microsoft.BizTalk.Bam.Management.BamManager.ProcessOneBamArtifactType(BamArtifactType bamArtifact, OperationType operation) at Microsoft.BizTalk.Bam.Management.BamManager.ManageInfrastructure(OperationType operation) at Microsoft.BizTalk.Bam.Management.BamManager.Deploy()
--- End of inner exception stack trace --- at Microsoft.BizTalk.Bam.Management.BamManager.Deploy() at Microsoft.BizTalk.Bam.Management.BamManagementUtility.BamManagementUtility.HandleDeployAll() at Microsoft.BizTalk.Bam.Management.BamManagementUtility.BamManagementUtility.DispatchCommand()
at Microsoft.BizTalk.Bam.Management.BamManagementUtility.BamManagementUtility.Run() at Microsoft.BizTalk.Bam.Management.BamManagementUtility.BamManagementUtility.Main(String[] args)Your View Name, OLAP Cube Name and certain other restrictions listed @http://msdn.microsoft.com/en-us/library/aa561577.aspx
Please review your BAM Definitons.
Regards. -
BAM plans stacking up when JMS queue input source is blocked
I have a BAM installation that receives data from a JMS queue through Enterprise Message Source connections, using Enterprise Link plans to manipulate the data and insert/update it into data objects. I also use BAM alerts to trigger the plans to run every 20 minutes to check for data to pull from the queues.
The data is coming in from several batch processes that insert records to an external Oracle table, that uses triggers to push the data into the JMS queues. Some of these batch processes are currently written poorly so that they run for long periods of time and tie up the Oracle table.
The BAM plans are running every 20 minutes, as expected. However, if one of these batch processes is running and it ties up the source table, it also ties up the queue table. The BAM alerts continue to kick off the plans every 20 minutes. But, if the resources are being blocked, the Enterprise Message Source doesn't appear to be able to connect with the JMS queue table, and the plan hangs up - continuing to "run" while waiting for the connection. If the batch jobs run for some length of time, the next iteration of the plans is kicked off, queuing up behind the still-running previous iteration. Then 20 minutes later, the next execution of the plan kicks off and also hangs. And so on until all the database connections are being tied up.
Other than process improvements to the batch jobs to prevent/minimize locking of the source table (which is being done), are there any settings that would allow the BAM alert-based execution of the plans to "time out" if a connection cannot be established in a matter of minutes, or a way to prevent the same plan from initiating if a copy of that plan is already executing? I would like to prevent having the executions of the plans "queue up" and cause even more database contention.the script for the triger where missing some parameters this resolve the insert problems.
create or replace trigger employee AFTER INSERT OR Update ON employee
FOR each row
declare
xml_complete varchar2(1000);
v_enqueue_options dbms_aq.enqueue_options_t;
v_message_properties dbms_aq.message_properties_t;
v_msgid raw(16);
temp sys.aq$_jms_text_message;
v_recipients dbms_aq.aq$_recipient_list_t;
Begin
temp:=sys.aq$_jms_text_message.construct;
v_recipients(1) := sys.aq$_agent('bamclient',null,0);
*# v_recipient is case sensitive, this is the name of the external user who should pick up this AQ*
message from the bus. (should match on BAM side)
v_message_properties.recipient_list := v_recipients;
xml_complete :=
'<?xml version="1.0"?><row>' ||
'<EMPNO>' || :new.EMPNO || '</EMPNO>' ||
'<ENAME>' || :new.ENAME || '</ENAME>' ||
'<JOB>' || :new.JOB || '</JOB>' ||
'<MGR>' || :new.MGR || '</MGR>' ||
'<HIREDATE>' || :new.HIREDATE || '</HIREDATE>' ||
'<SAL>' || :new.SAL || '</SAL>' ||
'<COMM>' || :new.COMM || '</COMM>' ||
Tech Note: Oracle BAM: Integration with Oracle AQ / Database
TechNote_BAM_AQ_Configuration.doc
Page 4 of 9
Nov 6, 06 (version 10.1.3)
Document version (5)
Oracle confidential, All rights reserved
'<DEPTNO>' || :new.DEPTNO || '</DEPTNO>' ||
'</row>' ;
temp.set_text(xml_complete);
dbms_aq.enqueue(queue_name => 'bam_ttq',
enqueue_options => v_enqueue_options,
message_properties => v_message_properties,
payload => temp,
msgid => v_msgid );
commit;
end ; -
Execution Plan Failed for Full Load
Hi Team,
When i run the full Load the execution plan failed and verified the log and found below information from SEBL_VERT_8_1_1_FLATFILE.DATAWAREHOUSE.SIL_Vert.SIL_InsertRowInRunTable
DIRECTOR> VAR_27028 Use override value [DataWarehouse] for session parameter:[$DBConnection_OLAP].
DIRECTOR> VAR_27028 Use override value [SEBL_VERT_8_1_1_FLATFILE.DATAWAREHOUSE.SIL_Vert.SIL_InsertRowInRunTable.log] for session parameter:[$PMSessionLogFile].
DIRECTOR> VAR_27028 Use override value [1] for mapping parameter:[mplt_SIL_InsertRowInRunTable.$$DATASOURCE_NUM_ID].
DIRECTOR> VAR_27028 Use override value [21950495] for mapping parameter:[MPLT_GET_ETL_PROC_WID.$$ETL_PROC_WID].
DIRECTOR> TM_6014 Initializing session [SIL_InsertRowInRunTable] at [Mon Sep 26 15:53:45 2011].
DIRECTOR> TM_6683 Repository Name: [infa_rep]
DIRECTOR> TM_6684 Server Name: [infa_service]
DIRECTOR> TM_6686 Folder: [SIL_Vert]
DIRECTOR> TM_6685 Workflow: [SIL_InsertRowInRunTable] Run Instance Name: [] Run Id: [8]
DIRECTOR> TM_6101 Mapping name: SIL_InsertRowInRunTable [version 1].
DIRECTOR> TM_6963 Pre 85 Timestamp Compatibility is Enabled
DIRECTOR> TM_6964 Date format for the Session is [MM/DD/YYYY HH24:MI:SS]
DIRECTOR> TM_6827 [H:\Informatica901\server\infa_shared\Storage] will be used as storage directory for session [SIL_InsertRowInRunTable].
DIRECTOR> CMN_1805 Recovery cache will be deleted when running in normal mode.
DIRECTOR> CMN_1802 Session recovery cache initialization is complete.
DIRECTOR> TM_6703 Session [SIL_InsertRowInRunTable] is run by 32-bit Integration Service [node01_eblnhif-czc80685], version [9.0.1 HotFix2], build [1111].
MANAGER> PETL_24058 Running Partition Group [1].
MANAGER> PETL_24000 Parallel Pipeline Engine initializing.
MANAGER> PETL_24001 Parallel Pipeline Engine running.
MANAGER> PETL_24003 Initializing session run.
MAPPING> CMN_1569 Server Mode: [ASCII]
MAPPING> CMN_1570 Server Code page: [MS Windows Latin 1 (ANSI), superset of Latin1]
MAPPING> TM_6151 The session sort order is [Binary].
MAPPING> TM_6156 Using low precision processing.
MAPPING> TM_6180 Deadlock retry logic will not be implemented.
MAPPING> TM_6187 Session target-based commit interval is [10000].
MAPPING> TM_6307 DTM error log disabled.
MAPPING> TE_7022 TShmWriter: Initialized
MAPPING> DBG_21075 Connecting to database [Connect_to_OLAP], user [OBAW]
MAPPING> CMN_1761 Timestamp Event: [Mon Sep 26 15:53:45 2011]
MAPPING> CMN_1022 Database driver error...
CMN_1022 [
Database driver error...
Function Name : Logon
ORA-12154: TNS:could not resolve service name
Database driver error...
Function Name : Connect
Database Error: Failed to connect to database using user [OBAW] and connection string [Connect_to_OLAP].]
MAPPING> CMN_1761 Timestamp Event: [Mon Sep 26 15:53:45 2011]
MAPPING> CMN_1076 ERROR creating database connection.
MAPPING> DBG_21520 Transform : LKP_W_PARAM_G_Get_ETL_PROC_WID, connect string : Relational:DataWarehouse
MAPPING> CMN_1761 Timestamp Event: [Mon Sep 26 15:53:45 2011]
MAPPING> TE_7017 Internal error. Failed to initialize transformation [MPLT_GET_ETL_PROC_WID.LKP_ETL_PROC_WID]. Contact Informatica Global Customer Support.
MAPPING> CMN_1761 Timestamp Event: [Mon Sep 26 15:53:45 2011]
MAPPING> TM_6006 Error initializing DTM for session [SIL_InsertRowInRunTable].
MANAGER> PETL_24005 Starting post-session tasks. : (Mon Sep 26 15:53:45 2011)
MANAGER> PETL_24029 Post-session task completed successfully. : (Mon Sep 26 15:53:45 2011)
MAPPING> TM_6018 The session completed with [0] row transformation errors.
MANAGER> PETL_24002 Parallel Pipeline Engine finished.
DIRECTOR> PETL_24013 Session run completed with failure.
DIRECTOR> TM_6022
SESSION LOAD SUMMARY
================================================
DIRECTOR> TM_6252 Source Load Summary.
DIRECTOR> CMN_1740 Table: [SQ_FILE_DUAL] (Instance Name: [SQ_FILE_DUAL])
Output Rows [0], Affected Rows [0], Applied Rows [0], Rejected Rows [0]
DIRECTOR> TM_6253 Target Load Summary.
DIRECTOR> TM_6023
===================================================
DIRECTOR> TM_6020 Session [SIL_InsertRowInRunTable] completed at [Mon Sep 26 15:53:46 2011].
I checked physical datasource connection in DAC and workflow manager and tested and verified but still facing same issue. I connected through oracle merant ODBC driver.
Pls. let me know the solution for this error
Regards,
VSRHi,
Did you try using Oracle 10g/11g drivers as datasource? If not I think you should try that but before that ensure that from your DAC server box you are able to tnsping the OLAP database. Hope this helps
If this is helpful mark is helpful
Regards,
BI Learner -
Dac 10g etl plan fails without error
Hi
The dac execution plan fails all of a sudden with no failed tasks. There are about 460 tasks in the plan and 300 of them run fine and the rest are just remaining in the Stopped phase. They have a status meassage description like "One or more of the tasks that this task depended did not notify of completion. Stopping.".
I do not see any failed tasks and do not understand where is the fault. I have re assembled subject areas, re generated the parameters and re built the execution plan, but still no luck. On looking the dac etl plan log file I found a message like "896514 SEVERE Thu Nov 24 23:39:10 EST 2011 DANGER: We will hang..."
Please help me if any one has seen this message before.
Thanks
MNRKPatch 14306642: DAC 10.1.3.4.1 CUMULATIVE PATCH FOR BI APPS - JUL 2012
Shutdown DAC server.
Apply this patch
Patch 14306642: DAC 10.1.3.4.1 CUMULATIVE PATCH FOR BI APPS - JUL 2012
You can download it from the My Oracle Support.
I faced the same and fixed it by applying the cummulative patch.
Mark it as correct if it resolves your issue.
Regards,
Veeresh Rayan -
BAM Adapter fails with Authentication
Hi,
I've created a simple BPEL process which populates a sensor variable and tries to insert a row in a BAM data object. I have already configured the BAM Adapter to reflect the host, port, password, etc. When I call the BPEL process, the sensor variable gets populated but it does not proceed thereon to BAM. The message fails at BAM with the following:
javax.security.auth.login.LoginException: [Security:090304]Authentication Failed: User webbam javax.security.auth.login.FailedLoginException: [Security:090302]Authentication Failed: User webbam denied
at oracle.security.jps.internal.jaas.module.authentication.JpsUserAuthenticationLoginModule.login(JpsUserAuthenticationLoginModule.java:73)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
at javax.security.auth.login.LoginContext$5.run(LoginContext.java:707)
at javax.security.auth.login.LoginContext.invokeCreatorPriv(LoginContext.java:703)
at javax.security.auth.login.LoginContext.login(LoginContext.java:575)
at oracle.bam.common.security.authentication.BamLoginContext.loginJPS(BamLoginContext.java:320)
at oracle.bam.common.security.authentication.BamLoginContext.loginJPS(BamLoginContext.java:289)
at oracle.bam.common.security.authentication.BamLoginContext.login(BamLoginContext.java:157)
at oracle.bam.common.security.authentication.BamLoginContext.login(BamLoginContext.java:95)
at oracle.bam.adapter.adc.CachedConnection.<init>(CachedConnection.java:144)
at oracle.bam.adapter.adc.ADCManagedConnectionFactory.getCachedConnection(ADCManagedConnectionFactory.java:503)
at oracle.bam.adapter.adc.ADCInteraction.execute(ADCInteraction.java:226)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:303)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeJcaReference(JCAInteractionInvoker.java:542)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeAsyncJcaReference(JCAInteractionInvoker.java:502)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAEndpointInteraction.performAsynchronousInteraction(JCAEndpointInteraction.java:491)
at oracle.integration.platform.blocks.adapter.client.JCABindingOperation.executeInputOnlyOperation(JCABindingOperation.java:159)
at com.collaxa.cube.engine.sensor.sa.publisher.bamMonitor.BAMMonitorDataPublisher.sendPayloadtoBam(BAMMonitorDataPublisher.java:119)
at com.collaxa.cube.engine.sensor.sa.publisher.bamMonitor.BAMMonitorDataPublisher.publish(BAMMonitorDataPublisher.java:80)
at com.collaxa.cube.engine.sensor.sa.publisher.bamMonitor.BAMMonitorPublisherAdapter.publish(BAMMonitorPublisherAdapter.java:60)
at com.collaxa.cube.engine.sensor.sa.BpelPublisher.publishMonitor(BpelPublisher.java:179)
at com.collaxa.cube.engine.sensor.sa.MonitorDataRouter.send(MonitorDataRouter.java:14)
at com.collaxa.cube.engine.sensor.dca.DataCaptureAgency.sendMonitorActivityData(DataCaptureAgency.java:455)
at com.collaxa.cube.engine.sensor.dca.DataCaptureAgency.onActivityActivate(DataCaptureAgency.java:253)
at com.collaxa.cube.engine.util.CompositeInstanceObserver.onActivityActivate(CompositeInstanceObserver.java:34)
at com.collaxa.cube.engine.ext.bpel.v1.blocks.BPELProcessBlock.activate(BPELProcessBlock.java:77)
at orabpel.bploracletofltwiface.BPEL_BIN$$BPELC_BpPrc0.activate(BPEL_BIN.java:979)
at com.collaxa.cube.engine.CubeEngine.invokeMethod(CubeEngine.java:882)
at com.collaxa.cube.engine.CubeEngine._createAndInvoke(CubeEngine.java:699)
at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:545)
at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:654)
at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:355)
at sun.reflect.GeneratedMethodAccessor1126.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
at oracle.security.jps.ee.ejb.JpsAbsInterceptor$1.run(JpsAbsInterceptor.java:88)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
at oracle.security.jps.wls.JpsWeblogicEjbInterceptor.runJaasMode(JpsWeblogicEjbInterceptor.java:61)
at oracle.security.jps.ee.ejb.JpsAbsInterceptor.intercept(JpsAbsInterceptor.java:106)
at oracle.security.jps.ee.ejb.JpsInterceptor.intercept(JpsInterceptor.java:106)
at sun.reflect.GeneratedMethodAccessor898.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy246.handleInvoke(Unknown Source)
at com.collaxa.cube.engine.ejb.impl.bpel.BPELDeliveryBean_5k948i_ICubeDeliveryLocalBeanImpl.handleInvoke(BPELDeliveryBean_5k948i_ICubeDeliveryLocalBeanImpl.java:462)
at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:35)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:141)
at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTask.java:82)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:909)
at java.lang.Thread.run(Thread.java:619)
I know a lot of user have faced this issue (numerous posts on this forum) and the issues have been solved once the BAM Adapter in the WLS console was updated with the host, port, username and password. However, I am facing this issue despite changing that.
Are there any other changes I am supposed to do after entering the values in the BAM Adapter? Do I need to activate in the change center or redeploy? I am using SOA 11.1.1.3Hi,
I did not update the deployment plan for the BAMAdapter despite making changes in the BAMAdapter. This was the cause of the authentication failure.
Thanks. -
Using html in cf report builder and escaping the & ampersand character
Some of the data we collect is entered via a WYSIWYG editor. Therefore formatting such as bold, italic etc is translated into HTML.
The text could also contain special characters/accented characters, again these are translated into their html equivalents.
In CF Report Builder, I have set the XHTML Text formatting to TRUE. However the report won't render the text in these boxes. From what I can see it doesn't like the '&' character (ampersand).
I have read elsewhere that report builder is limited in the characters etc that it can read and that I should translate the values. I ended up doing this in the database to try and save some time.
CREATE OR REPLACE FUNCTION translatexhtmltoasci(var_text IN appendix3%TYPE)
RETURN clob
ISvar_translated_text clob;BEGIN
select replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(re place(replace(
replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(re place(replace
(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(r eplace(replace
(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(r eplace(replace
(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(r eplace(replace
(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(r eplace(replace
(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(r eplace(replace
(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(r eplace(replace
(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(r eplace(replace
(replace(replace(replace(replace(replace(replace(replace(replace(replace(
var_text , chr(38) || 'lt;', chr(60))
, chr(38) || 'gt;', chr(62))
, chr(38) || 'euro;', chr(49792))
, chr(38) || 'iexcl;', chr(49825))
, chr(38) || 'cent;', chr(49826))
, chr(38) || 'pound;', chr(49827))
, chr(38) || 'curren;', chr(49828))
, chr(38) || 'yen;', chr(49829))
, chr(38) || 'brvbar;', chr(49830))
, chr(38) || 'uml;', chr(49832))
, chr(38) || 'copy;', chr(49833))
, chr(38) || 'ordf;', chr(49834))
, chr(38) || 'laquo;', chr(49835))
, chr(38) || 'not;', chr(49836))
, chr(38) || 'shy;', chr(49837))
, chr(38) || 'reg;', chr(49838))
, chr(38) || 'macr;', chr(49839))
, chr(38) || 'deg;', chr(49840))
, chr(38) || 'plusmn;', chr(49841))
, chr(38) || 'sup2;', chr(49842))
, chr(38) || 'sup3;', chr(49843))
, chr(38) || 'acute;', chr(49844))
, chr(38) || 'micro;', chr(49845))
, chr(38) || 'para;', chr(49846))
, chr(38) || 'middot;', chr(49847))
, chr(38) || 'cedil;', chr(49848))
, chr(38) || 'sup1;', chr(49849))
, chr(38) || 'ordm;', chr(49850))
, chr(38) || 'raquo;', chr(49851))
, chr(38) || 'frac14;', chr(49852))
, chr(38) || 'frac12;', chr(49853))
, chr(38) || 'frac34;', chr(49854))
, chr(38) || 'iquest;', chr(49855))
, chr(38) || 'Agrave;', chr(50048))
, chr(38) || 'Aacute;', chr(50049))
, chr(38) || 'Acirc;', chr(50050))
, chr(38) || 'Atilde;', chr(50051))
, chr(38) || 'Auml;', chr(50052))
, chr(38) || 'Aring;', chr(50053))
, chr(38) || 'AElig;', chr(50054))
, chr(38) || 'Ccedil;', chr(50055))
, chr(38) || 'Egrave;', chr(50056))
, chr(38) || 'Eacute;', chr(50057))
, chr(38) || 'Ecirc;', chr(50058))
, chr(38) || 'Euml;', chr(50059))
, chr(38) || 'Igrave;', chr(50060))
, chr(38) || 'Iacute;', chr(50061))
, chr(38) || 'Icirc;', chr(50062))
, chr(38) || 'Iuml;', chr(50063))
, chr(38) || 'ETH;',I also stuck with this . Still no answer, no solution
-
SOA 11g: Intergation with BAM 11g failed with ThreadPool has stuck threads
Hi,
I have installed BAM and SOA server on local host. Now while integrating BAM with BAMAdapter it's going into long running state and finally failing with below error.
<Notice> <Diagnostics> <mars.as.local> <soa_server1> <[ACTIVE] ExecuteThread: '14' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <c82d73b0a2a7776f:37a0afd7:130d1278d97:-8000-0000000000028a7f> <1309264042380> <BEA-320068> <Watch 'StuckThread' with severity 'Notice' on server 'soa_server1' has triggered at Jun 28, 2011 1:27:22 PM BST. Notification details:
WatchRuleType: Log
WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'WL-000337') OR (MSGID = 'BEA-000337'))
WatchData: DATE = Jun 28, 2011 1:27:22 PM BST SERVER = soa_server1 MESSAGE = *[STUCK] ExecuteThread: '11' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "638" seconds working on the request "weblogic.servlet.internal.ServletRequestImpl@16e92176[*
*POST /soa-infra/services/default/BAMInsert/bpelprocess1_client_ep HTTP/1.1*
Connection: TE
TE: trailers, deflate, gzip, compress
User-Agent: Oracle HTTPClient Version 10h
SOAPAction: "process"
Accept-Encoding: gzip, x-gzip, compress, x-compress
ECID-Context: 1.c82d73b0a2a7776f:2ced6156:130d1186ef6:-8000-00000000000046b2;kYjE0ZJOoOTLkKPOoLRKlSODoITT_G
Content-type: text/xml; charset=UTF-8
Content-Length: 270
*]", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:*
*Thread-139 "[STUCK] ExecuteThread: '11' for queue: 'weblogic.kernel.Default (self-tuning)'" <alive, suspended, sleeping, priority=1, DAEMON> {*
*java.lang.Thread.sleep(Thread.java:???)*
oracle.bam.common.remoting.BamEjbClient.getSession(BamEjbClient.java:973)
oracle.bam.common.remoting.BamEjbClient.getADCSession(BamEjbClient.java:350)
oracle.bam.adc.api.util.Context.<init>(Context.java:270)
oracle.bam.adapter.adc.CachedConnection.<init>(CachedConnection.java:134)
oracle.bam.adapter.adc.ADCManagedConnectionFactory.getCachedConnection(ADCManagedConnectionFactory.java:490)
^-- Holding lock: java.lang.String@13416588[fat lock]
What could be root cause of this? Can anyone please help to find the solution?
Even though both servers on same host why BAM connection is getting to much time and Putting server in warning state like :
+[STUCK] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'+
*Do i need to modify any config file at Admin or BAM level? if Yes, what parameter Do i need to change?*
Please guide.
Thanks,
Sagar.Further Updates on this :
I further debugged and found out few more things. This might help.
In Weblogic Admin console Home > Summary of Deployments >oracle-bam(11.1.1)
MDB application oracle-bam is NOT connected to messaging system with below error.
EJBs
MessageDispatcherBean - Error java.lang.IllegalArgumentException: Getting Deployment configuration...
connectionFactoryJNDIName - Red Cross with warning
destinationJNDIName - Red Cross with warning
resourceAdapterJNDIName - Red Cross with warning
Modules
Also please check out another similar thread and please update.
BAMAdapter Issue : java.rmi.ConnectException: Destination unreachable;
Thanks,
Sagar -
Keyword import fails on non-ascii character
I recently tried to import a long set of keywords (about 4000 terms). i set up the file in excel and then tried to import the records. I kept getting this message:
only text files encoded with ascii or unicode UTF-8 are supported when importing keywords.
I finally tracked down the problem when i converted the file to a MS word text file, broke it down into parts and eventually found the problem record. for some reason, the apostrophe in the words "don't know" had been corrupted to a weird character. after i corrected this, everything worked.
however, this took a long time. It would have been helpful if lightroom could have at least pinpointed the line where the import failed or offered to convert non-compliant charaters to some specific character or set of characters.Yeah, that didn't work so well since SuperDuper ran across repeated errors trying to do so; I suspect it's something to do with the drive. (SuperDuper complains about WD's MyBook, which is what the drive is.) Because SD stops the entire copy operation on single errors, it'd be a painstaking process.
Besides that, I like doing fresh installs of all the bits. -
Replacing Ampersand character - &
Hi All,
I am working on the PO Layout for Oracle Applications. I have managed to get the program to show long text notes associated with the purchase order lines. However some notes include ampersand characters.
I have no control over the generation of the data (as it is Oracle standard PO data definition) so I cannot replace it in the pl/sql.
I have tried using the replace function, but am struggling.
the following code contains my latest attempt, and also a commented out line which simply shows the text (works fine if the text has no & character) and another attempt I have made.
<!-- for long text -->
<xsl:for-each select="$LINE_LONG_ATTACHMENTS_ROOT_OBJ">
<!-- fo:block><fo:inline><xsl:value-of select ="TEXT"/> </fo:inline></fo:block-->
SHOW LINE LONG MSGS
<xsl:if test="$lineID = .">
<xsl:variable name="line" select="position()" />
<!-- fo:block><fo:inline xdofo:use-attribute-sets="i_61"><xsl:value-of select="../TEXT[$line]"/></fo:inline> </fo:block><fo:block/ -->
<fo:block><fo:inline xdofo:use-attribute-sets="i_61"><xsl:value-of select="replace(string(../TEXT[$line]), string('L'), string('M')) "/></fo:inline> </fo:block><fo:block/>
<!-- xsl:variable name="note_text" select="replace(string(xdoxslt:normalize_string($_XDOCTX, ../TEXT[$line])), string('L'), string('M'))"/>
<fo:block><fo:inline xdofo:use-attribute-sets="i_61">
<xsl:value-of select="$note_text"/ >
</fo:inline> </fo:block><fo:block/-->
</xsl:if>
</xsl:for-each>
Currently my example tries to replace L with M as a test. Ideally I would like to replace & with &s;
Thanks,
WillHi Will:
Unfortunately replacing & in XML is already too late - you don't have valid XML so you can't apply a stylesheet. If you could wrap a cdata section around your & you would be fine:
<![CDATA[" text "]]>
, but it seems that you can't modify the XML - so you are between a rock and a hard place.
Klaus -
Configuration of Planning fails on new Db server.
Hi guys,
I want to reconfigure my EPM system 113 to new Db server machine but with old databases,(restored from old Db machine)
All components were configured well, except Planning.
Here is scenario,
I have 3 system as,
A : EPM 11.1.1.3
B : SQL server 2005
C : SQL server 2008
Now I want to upgrade DB so I Import all databases from "B" to "C" then at the time of re-configuring EPM system with system "C",
Every components were configured properly but at the time of configuration of work-space in configurator Database connection is pointing towards Planning database.
so I changed it to work-space database and configured it get succeeded but after that I tried to configure Planning it get failed.
any idea? Do I missed any step?
Here is the log content,
"configtool.log" File:-
(Jun 11, 2012, 04:10:25 PM), com.hyperion.planning.ConfigToolUtils, DEBUG, Getting CSS instance
(Jun 11, 2012, 04:10:25 PM), com.hyperion.css.CSSSystem, DEBUG, 20:3502:Missing file HSSLogger.properties.
(Jun 11, 2012, 04:11:32 PM), com.hyperion.planning.HspDBConfigurator, ERROR, Error happened: 20:3008:Failed to connect to native directory.
(Jun 11, 2012, 04:11:32 PM), com.hyperion.cis.config.wizard.RunAllTasksWizardAction, ERROR, Error:
com.hyperion.cis.config.ProcessingException
at com.hyperion.planning.HspDBConfigurator.configure(HspDBConfigurator.java:209)
at com.hyperion.cis.config.wizard.RunAllTasksWizardAction.executeDbConfigTask(RunAllTasksWizardAction.java:658)
at com.hyperion.cis.config.wizard.RunAllTasksWizardAction.execute(RunAllTasksWizardAction.java:202)
at com.installshield.wizard.RunnableWizardBeanContext.run(Unknown Source)
Regards,
NarayanYou do know that 11.1.1.3 is not supported with SQL Server 2008, 11.1.1.4 supports SQL Server 2008
Cheers
John
http://john-goodwin.blogspot.com/ -
Hi all
I have a maintenance plan to backup ALL databases on everyday 11:00am. however it failed start from wednesday.
I see the log is so strange:
Executing the query "
declare @backupSetId as int
select @backupSetId = position from msdb..backupset
where
database_name=N'DB_A' and
backup_set_id=(select max(backup_set_id) from msdb..backupset where database_name=N'DB_A' )
if @backupSetId is null begin raiserror(N'Verify failed. Backup information for database ''DB_A'' not found.', 16, 1) end
RESTORE VERIFYONLY FROM
DISK = N'H:\\DB_Backup\\DB_A\\DB_A_backup_201303132300.bak'
WITH
FILE = @backupSetId,
NOUNLOAD,
NOREWIND
" failed with the following error: "Cannot open backup device 'H:\\DB_Backup\\DB_A\\DB_A_backup_201303132300.bak'.
Operating system error 32(The process cannot access the file because it is being used by another process.).
VERIFY DATABASE is terminating abnormally.".
Possible failure reasons: Problems with the query,
"ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.
===================================================================================
Executing the query "
BACKUP DATABASE [DB_B] TO DISK = N'H:\\DB_Backup\\DB_B\\DB_B_backup_201303132300.bak' WITH
RETAINDAYS = 31,
NOFORMAT,
NOINIT,
NAME = N'DB_B_backup_20130313230031',
SKIP,
REWIND,
NOUNLOAD,
STATS = 10
failed with the following error:
"Cannot open backup device 'H:\\DB_Backup\\DB_B\\DB_B_backup_201303132300.bak'.
Operating system error 32(The process cannot access the file because it is being used by another process.).
BACKUP DATABASE is terminating abnormally.".
Possible failure reasons: Problems with the query,
"ResultSet" property not set correctly,
parameters not set correctly, or
connection not established correctly
Finally, the backup file is created on the disk, and the log above is display on 11:00:31pm....why verify is process before backup finish?
the backup file date is about 11:14pm...
really has no clue.
wednesday night and thursday night got the same problem, and the same database.I have check it's already exclude .BAK
that's really strange!!!!! Database DB_A has already been backup at 23:05:14... Why it try to backup again on 23:09:42.....??
any how can I trace spid 54 to know what and who is doing ?
2013-03-14 23:05:14.94 Backup Database backed up. Database: DB_A, creation date(time): 2011/02/02(14:14:54), pages dumped: 323851, first LSN: 156927:43:38, last LSN: 156927:59:1, number of dump devices: 1, device information:
(FILE=1, TYPE=DISK: {'H:\DB_Backup\DB_A\DB_A_backup_201303142300.bak'}). This is an informational message only. No user action is required.
2013-03-14 23:09:42.01 spid54 Error: 18204, Severity: 16, State: 1.
2013-03-14 23:09:42.01 spid54 BackupDiskFile::CreateMedia: Backup device 'H:\DB_Backup\DB_A\DB_A_backup_201303142300.bak' failed to create. Operating system error 32(The process cannot access the file because it is being used by
another process.).
2013-03-14 23:09:42.18 Backup Error: 3041, Severity: 16, State: 1.
2013-03-14 23:09:42.18 Backup BACKUP failed to complete the command BACKUP DATABASE DB_A. Check the backup application log for detailed messages. -
Deployment plan fails for weblogic-ejb-jar.xml
FILE FOR PLAN TO ACT ON:
application.ear\ReferenceTableSession.jar\META-INF\weblogic-ejb-jar.xml
<?xml version="1.0" encoding="utf-8"?>
<weblogic-ejb-jar xmlns="http://www.bea.com/ns/weblogic/10.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.bea.com/ns/weblogic/10.0 http://www.bea.com/ns/weblogic/10.0/weblogic-ejb-jar.xsd">
<weblogic-enterprise-bean>
<ejb-name>referencetablesession</ejb-name>
<stateless-session-descriptor>
<pool>
<max-beans-in-free-pool>100</max-beans-in-free-pool>
<initial-beans-in-free-pool>0</initial-beans-in-free-pool>
</pool>
<stateless-clustering>
<stateless-bean-is-clusterable>true</stateless-bean-is-clusterable>
</stateless-clustering>
</stateless-session-descriptor>
<transaction-descriptor>
<trans-timeout-seconds>150</trans-timeout-seconds>
</transaction-descriptor>
<enable-call-by-reference>true</enable-call-by-reference>
<jndi-name>XYZ_ejb/ProviderMaintSvc/referencetablesession</jndi-name>
</weblogic-enterprise-bean>
<transaction-isolation>
<isolation-level>TransactionReadCommitted</isolation-level>
<method>
<ejb-name>referencetablesession</ejb-name>
<method-name>*</method-name>
</method>
</transaction-isolation>
</weblogic-ejb-jar>
DEPLOYMENT PLAN:
<?xml version='1.0' encoding='utf-8'?>
<deployment-plan xmlns="http://www.bea.com/ns/weblogic/deployment-plan"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.bea.com/ns/weblogic/deployment-plan http://www.bea.com/ns/weblogic/deployment-plan/1.0/deployment-plan.xsd">
<application-name>application.ear</application-name>
<variable-definition>
<variable>
<name>VAR_referencetablesession</name>
<value>ejb/ProviderClaimOnlineSvc/referencetablesession</value>
</variable>
</variable-definition>
<module-override>
<module-name>ReferenceTableSession.jar</module-name>
<module-type>ejb</module-type>
<module-descriptor external="false">
<root-element>weblogic-ejb-jar</root-element>
<uri>META-INF/weblogic-ejb-jar.xml</uri>
<variable-assignment>
<name>VAR_referencetablesession</name>
<xpath>/weblogic-ejb-jar/weblogic-enterprise-bean/\[ejb-name="referencetablesession"\]/jndi-name</xpath>
<operation>replace</operation>
</variable-assignment>
</module-descriptor>
</module-override>
<config-root>servers/AdminServer/upload</config-root>
</deployment-plan>
ERROR FROM CONSOLE:
Message icon - Error An error occurred during activation of changes, please see the log for details.
Message icon - Error Exception preparing module: EJBModule(ReferenceTableSession.jar) [EJB:011023]An error occurred while reading the deployment descriptor. The error was: Unmarshaller failed.
Message icon - Error Bean already exists: "[email protected]f2(/WeblogicEnterpriseBeans[referencetablesession])"
ERROR FROM LOG:
<Oct 2, 2009 1:08:25 PM CDT> <Error> <J2EE> <BEA-160197> <Unable to load descriptor servers/ms34/tmp/_WL_user/ProviderClaimOnlineSvc/y1anoa/ReferenceTableSession.jar/META-INF/weblogic-ejb-jar.xml of module ReferenceTableSession.jar. The error is weblogic.descriptor.DescriptorException: Unmarshaller failed
at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:152)
at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:306)
at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
at weblogic.application.descriptor.AbstractDescriptorLoader2.mergeDescriptorBeanWithPlan(AbstractDescriptorLoader2.java:703)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:776)
at weblogic.ejb.spi.EjbJarDescriptor.parseWeblogicEjbJarBean(EjbJarDescriptor.java:160)
at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processWLEjbJarXMLWithSchema(EjbDescriptorReaderImpl.java:719)
at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.parseWLDD(EjbDescriptorReaderImpl.java:541)
at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processWeblogicEjbJarXML(EjbDescriptorReaderImpl.java:380)
at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.createReadOnlyDescriptorFromJarFile(EjbDescriptorReaderImpl.java:191)
at weblogic.ejb.spi.EjbDescriptorFactory.createReadOnlyDescriptorFromJarFile(EjbDescriptorFactory.java:93)
at weblogic.ejb.container.deployer.EJBModule.loadEJBDescriptor(EJBModule.java:1198)
at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:380)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:42)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:16)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:155)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
at weblogic.deploy.internal.targetserver.operations.RedeployOperation.createAndPrepareContainer(RedeployOperation.java:98)
at weblogic.deploy.internal.targetserver.operations.RedeployOperation.doPrepare(RedeployOperation.java:122)
Thanks,
Rob
Edited by: user11337024 on Oct 5, 2009 2:31 PMFILE FOR PLAN TO ACT ON:
application.ear\ReferenceTableSession.jar\META-INF\weblogic-ejb-jar.xml
<?xml version="1.0" encoding="utf-8"?>
<weblogic-ejb-jar xmlns="http://www.bea.com/ns/weblogic/10.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.bea.com/ns/weblogic/10.0 http://www.bea.com/ns/weblogic/10.0/weblogic-ejb-jar.xsd">
<weblogic-enterprise-bean>
<ejb-name>referencetablesession</ejb-name>
<stateless-session-descriptor>
<pool>
<max-beans-in-free-pool>100</max-beans-in-free-pool>
<initial-beans-in-free-pool>0</initial-beans-in-free-pool>
</pool>
<stateless-clustering>
<stateless-bean-is-clusterable>true</stateless-bean-is-clusterable>
</stateless-clustering>
</stateless-session-descriptor>
<transaction-descriptor>
<trans-timeout-seconds>150</trans-timeout-seconds>
</transaction-descriptor>
<enable-call-by-reference>true</enable-call-by-reference>
<jndi-name>XYZ_ejb/ProviderMaintSvc/referencetablesession</jndi-name>
</weblogic-enterprise-bean>
<transaction-isolation>
<isolation-level>TransactionReadCommitted</isolation-level>
<method>
<ejb-name>referencetablesession</ejb-name>
<method-name>*</method-name>
</method>
</transaction-isolation>
</weblogic-ejb-jar>
DEPLOYMENT PLAN:
<?xml version='1.0' encoding='utf-8'?>
<deployment-plan xmlns="http://www.bea.com/ns/weblogic/deployment-plan"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.bea.com/ns/weblogic/deployment-plan http://www.bea.com/ns/weblogic/deployment-plan/1.0/deployment-plan.xsd">
<application-name>application.ear</application-name>
<variable-definition>
<variable>
<name>VAR_referencetablesession</name>
<value>ejb/ProviderClaimOnlineSvc/referencetablesession</value>
</variable>
</variable-definition>
<module-override>
<module-name>ReferenceTableSession.jar</module-name>
<module-type>ejb</module-type>
<module-descriptor external="false">
<root-element>weblogic-ejb-jar</root-element>
<uri>META-INF/weblogic-ejb-jar.xml</uri>
<variable-assignment>
<name>VAR_referencetablesession</name>
<xpath>/weblogic-ejb-jar/weblogic-enterprise-bean/\[ejb-name="referencetablesession"\]/jndi-name</xpath>
<operation>replace</operation>
</variable-assignment>
</module-descriptor>
</module-override>
<config-root>servers/AdminServer/upload</config-root>
</deployment-plan>
ERROR FROM CONSOLE:
Message icon - Error An error occurred during activation of changes, please see the log for details.
Message icon - Error Exception preparing module: EJBModule(ReferenceTableSession.jar) [EJB:011023]An error occurred while reading the deployment descriptor. The error was: Unmarshaller failed.
Message icon - Error Bean already exists: "[email protected]f2(/WeblogicEnterpriseBeans[referencetablesession])"
ERROR FROM LOG:
<Oct 2, 2009 1:08:25 PM CDT> <Error> <J2EE> <BEA-160197> <Unable to load descriptor servers/ms34/tmp/_WL_user/ProviderClaimOnlineSvc/y1anoa/ReferenceTableSession.jar/META-INF/weblogic-ejb-jar.xml of module ReferenceTableSession.jar. The error is weblogic.descriptor.DescriptorException: Unmarshaller failed
at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:152)
at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:306)
at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
at weblogic.application.descriptor.AbstractDescriptorLoader2.mergeDescriptorBeanWithPlan(AbstractDescriptorLoader2.java:703)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:776)
at weblogic.ejb.spi.EjbJarDescriptor.parseWeblogicEjbJarBean(EjbJarDescriptor.java:160)
at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processWLEjbJarXMLWithSchema(EjbDescriptorReaderImpl.java:719)
at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.parseWLDD(EjbDescriptorReaderImpl.java:541)
at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processWeblogicEjbJarXML(EjbDescriptorReaderImpl.java:380)
at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.createReadOnlyDescriptorFromJarFile(EjbDescriptorReaderImpl.java:191)
at weblogic.ejb.spi.EjbDescriptorFactory.createReadOnlyDescriptorFromJarFile(EjbDescriptorFactory.java:93)
at weblogic.ejb.container.deployer.EJBModule.loadEJBDescriptor(EJBModule.java:1198)
at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:380)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:42)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:16)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:155)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
at weblogic.deploy.internal.targetserver.operations.RedeployOperation.createAndPrepareContainer(RedeployOperation.java:98)
at weblogic.deploy.internal.targetserver.operations.RedeployOperation.doPrepare(RedeployOperation.java:122)
Thanks,
Rob
Edited by: user11337024 on Oct 5, 2009 2:31 PM
Maybe you are looking for
-
Sensor touch no longer works on my 1st generation iPhone. Is there a fix for this?
software version 3.1.3 The most crucial feature of the iPhone ceases to function rendering the unit useless. When I get a call, I hear the ring but cannot answer. I hear the notification of a text message, but cannot view or reply. I reboot over
-
I'm trying to reset my iPhone 5 but no longer have the email address iTunes is connected to
IM trying to reset my ipone 5. But my email address is no longer active so cant get my pass word back is there any other way I can reset my phone to factory settings .
-
My iPod touch won't be recognized by my macbook.
I plugged in my iPod touch to my macbook this morning and it doesn't even charge. To make sure it wasn't the cable or the USB port, I plugged another USB and it was working fine. It won't appear on either iTunes or Finder. I found a solution that was
-
Connecting A100-306 & Desktop via Wireless Modem/Router: access is denied
I am attempting to file/printer share between my A100-306 laptop and desktop units. I have used the Windows Wizard to create internet connection/LAN. This has been successful with the internet connection (via Belkin 54g Modem/Wireless Router) but my
-
How to increment an element in an array and put it back in the same array?
I have an array of values generated by another part of my program. My goal is to count the number of occurences for each integer value in the array and put these values in a new array. This new array will be a histogram of the input array. My approac