Problem with DataSource lookup(Urgent)
HI,
I am facing a unique problem. I am migratinga application from weblogic to WAS. In a web module I wrote a normal class which will get the initial context of the server and create a connection object for the use of servlets. It is working fine in weblogic but when i have deployed the samething in WAS it is giving exception
com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of MLJNDI.
where MLJNDI is my DataSource jndi name.
can anybody suggest me the solution?.This is very urgent.
Thanks in advance.
Ashok.
It is not clear if you already created a Datasource to a specified database. This can be done via the Visual Admin.
Services --> JDBC Connector. There you can upload vendor specific drivers and bind it to a database.
This is possible usings the standards. JDBC 1.x and 2.0 way.
Success.
Similar Messages
-
Delta problem with datasource 2LIS_08TRTLP
Hello everybody,
I'm having a problem with the delta to datasource 2LIS_08TRTLP.
I follow this tasks:
1 - I did a deletion of setup table data in transaction LBWG for application 08 and checked Shipment document and Shipment Costs.
2 - Transaction VTBW -> Execute this transaction with the fields "Shipment Number" and "Created on" empty.
3 - Execute a infopackage with update - "Initialize Delta process - Initialization with Data Transfer".
I don't have problem with this 03 tasks, the data come from ECC without problem.
But when I execute a infopackage with "Delta Update" the Monitor - Administrator Workbench show me 0 from 0 records "No data available, data selection ended ".
What is wrong in my tasks? Why the delta don't work?
Thanks.
Paulo SampaioHi,
Your Process is correct for initialization load. But when you are running the delta there should be a V3 run for this datasource in ECC system, then it captures the deltas.
Till you have pulled all the full load data to BI, but there is no data available in the delta tables for this datasource, since you have not run any V3 run for this. That is why it is showing zero from zero recrods.
There must be some positings in ECC to the database tables related to this datasource after your initialization run, then only after running the V3 to capture the new/changed records it updates to Delta Queue (RSA7), then we will get the records to the BI.
Otherwise check the data source data in RSA7 tcode.
Hope this helps.
Veerendra. -
Problem with ODS activation -- Urgent
Hi All,
I have a problem with ODS activations, when I trying to activate ODS data automatically/ Manually. It is going to short dump.
Could you anybody pls help me in this issue.
Thanks in Advance
NarendraSorry for delay,
I raised an OSS messsage and waiting from reply.
The ODS fetch the data from 6 sources. all the 5 sources data is correctly updating in the ODS. I have ODS activation problem with only one soure data.
The error is
RSMO
Inserted records 1-; Changed records 1-; Deleted records 1-
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000001 not correct
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000003 not correct
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000002 not correct
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000001 not correct
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000002 not correct
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000001 incorrect with status 4 in rsodsacstreq
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000003 incorrect with status 4 in rsodsacstreq
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000002 incorrect with status 4 in rsodsacstreq
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000001 incorrect with status 4 in rsodsacstreq
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000003 incorrect with status 4 in rsodsacstreq
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000002 incorrect with status 4 in rsodsacstreq
No confirmation for request ODSR_49Y5D1HMEA9OOGJD9VS1XTXY9 when activating the ODS object ZPMPRCST
Activation of data records from ODS object ZPMPRCST terminated
SM37 Job log
Error Message from Job log (SM37) (Highlights of the Job log)
SIDs determined successfully for request REQU_49Y4VOQEDO6H73KDE354JNDB5 from ODS object ZPMPRCST
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000002 incorrect with status 4 in rsodsacstreq
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000003 incorrect with status 4 in rsodsacstreq
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000001 incorrect with status 4 in rsodsacstreq
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000002 not correct
Inserted records 1-; Changed records 1-; Deleted records 1-
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000003 not correct
Inserted records 1-; Changed records 1-; Deleted records 1-
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000001 not correct
Inserted records 1-; Changed records 1-; Deleted records 1-
No confirmation for request ODSR_49Y5D1HMEA9OOGJD9VS1XTXY9 when activating the ODS object ZPMPRCST
SID assignment started at 07:41:12
SID assignment finished at 07:42:22
Activation started at 07:42:22
Activation finished at 08:12:28
Errors occured when carrying out activation
Analyze errors and reactivate if necessary
Activation of data records from ODS object ZPMPRCST terminated
Activation is running: Data target ZPMPRCST, from 1.397.204 to 1.397.204
Data to be activated successfully checked against archiving objects
SIDs determined successfully for request REQU_49Y4VOQEDO6H73KDE354JNDB5 from ODS object ZPMPRCST
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000002 incorrect with status 4 in rsodsacstreq
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000003 incorrect with status 4 in rsodsacstreq
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000001 incorrect with status 4 in rsodsacstreq
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000002 not correct
Inserted records 1-; Changed records 1-; Deleted records 1-
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000003 not correct
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000001 not correct
No confirmation for request ODSR_49Y5D1HMEA9OOGJD9VS1XTXY9 when activating the ODS object ZPMPRCST
SID assignment started at 07:41:12
SID assignment finished at 07:42:22
Activation started at 07:42:22
Activation finished at 08:12:28
Errors occured when carrying out activation
Analyze errors and reactivate if necessary
Activation of data records from ODS object ZPMPRCST terminated
Activation is running: Data target ZPMPRCST, from 1.397.204 to 1.397.204
Data to be activated successfully checked against archiving objects
SIDs determined successfully for request REQU_49Y4VOQEDO6H73KDE354JNDB5 from ODS object ZPMPRCST
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000002 incorrect with status 4 in rsodsacstreq
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000003 incorrect with status 4 in rsodsacstreq
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000001 incorrect with status 4 in rsodsacstreq
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000002 not correct
Inserted records 1-; Changed records 1-; Deleted records 1-
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000003 not correct
Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000001 not correct
No confirmation for request ODSR_49Y5D1HMEA9OOGJD9VS1XTXY9 when activating the ODS object ZPMPRCST
SID assignment started at 07:41:12
SID assignment finished at 07:42:22
Activation started at 07:42:22
Activation finished at 08:12:28
Errors occured when carrying out activation
Analyze errors and reactivate if necessary
Activation of data records from ODS object ZPMPRCST terminated
Report RSODSACT1 ended with errors
Job cancelled after system exception ERROR_MESSAGE
RSODSACTREQ Table Entries
Table: RSODSACTREQ
Displayed Fields: 10 of 10 Fixed Columns: 3 List Width 1000
InfoCube Request ID Data packet number Boolean Boolean Request ID ODS operation Activ. status
ZPMPRCST REQU_49Y4VOQEDO6H73KDE354JNDB5 000000 X X ODSR_49Y5D1HMEA9OOGJD9VS1XTXY9 A 0
ZPMPRCST REQU_49Y4VOQEDO6H73KDE354JNDB5 000001 X ODSR_49Y5D1HMEA9OOGJD9VS1XTXY9 A 4
ZPMPRCST REQU_49Y4VOQEDO6H73KDE354JNDB5 000002 X ODSR_49Y5D1HMEA9OOGJD9VS1XTXY9 A 4
ZPMPRCST REQU_49Y4VOQEDO6H73KDE354JNDB5 000003 X ODSR_49Y5D1HMEA9OOGJD9VS1XTXY9 A 4 -
Problem with delta load urgent!!
Hi,
I have a problem with delta load
We have an IP, which loads data from R/3 system daily, its a delta load to the ODS and it updates to the cube with the selection on Company Codes and 0FISCPER
we are in 3.5 system
For a couple of company codes A & B, the init was done for the period 07.2010 to 12.2099 and after tht the deltas are loaded from 07.2010 till 12.2099 and there's no pblm with tht
Now, there was some updation in R/3 system and the data was maintained for the company codes in A& B for the FISCPER 001.2010 to 006.2010, for which init wasnt maintained...
now how shall we need to load the init in this case? dnt ask me how the postings was done in R/3, but my pblm is purely related to the loading data in BW from R/3, as its very imp for the customer to see the data from 01.2010 to 12.2010 in reports, but the data was only available in reports from 07.2010 onwards
do i need to create another IP and maintain the init for 01.2010 to 06.2010? so tht this selection will automatically appear in the ODS delta loading infopackage
pls throw ur inputs ASAP
thank youHi Prince,
No need to maintain any Init for this data, It will be enough if you can load the data from jan 2010 to jun 2010 into your Info Cube.
Follow the below steps:
1)create full load IP for this data source.
2) give the selection as A and B company codes and 0FISCPER as 001.2010 to 006.2010
3) in menu bar, click on scheduler --> select full repair request
4) In the next screen check the check box and save
5) Now execute the IP, it will the data with out disturbing your daily delta.
follow the same procedure to load data till to your Info Cube.
Please revert if you have any questions
Regards,
Venkatesh -
Problem with Datasource for SQL Server Express
I have set up a development environment to develop some processes for the HCSO client and have a question. I have a turnkey install on my laptop with MYSQL. The liveCycle databases are in MYSQL. I have also installed SQL Server Express on this machine and created a table to query that will control workflow. I added a datasource configuration in the adobe-ds.xml configuration file. That configuration is:
<local-tx-datasource>
<jndi-name>HCSO</jndi-name>
<connection-url>jdbc:sqlserver://localhost:1433;DatabaseName=DBName</connection-url>
<driver-class>com.microsoft.sqlserver.jdbc.SQLServerDriver</driver-class>
<user-name>username</user-name>
<password>password</password>
<min-pool-size>1</min-pool-size>
<max-pool-size>30</max-pool-size>
<blocking-timeout-millis>60000</blocking-timeout-millis>
<autoReconnect>true</autoReconnect>
<idle-timeout-minutes>15</idle-timeout-minutes>
<prepared-statement-cache-size>100</prepared-statement-cache-size>
<transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>
<new-connection-sql>Select id from HCSOUser.eric</new-connection-sql>
<check-valid-connection-sql>Select id from HCSOUser.eric</check-valid-connection-sql>
<metadata>
<type-mapping>MS SQLSERVER2000</type-mapping>
</metadata>
</local-tx-datasource>
In SQL Server, I created a user and a schema with the same name in a database. I created a simple table called "eric" with one column called "id". The user was given the appropriate default schema and given full permissions on the database and table.
In workbench, I added a JDBC query single row activity. I have configured the datasource as java:/HCSO and also tried java:HCSO. I then entered the query as "Select id from HCSOUser.eric" and hit test. Nothing appears in the results area. I see the following in the server.log:
2009-09-24 14:44:26,437 ERROR [org.jboss.ejb.plugins.LogInterceptor] RuntimeException in method: public abstract java.lang.Object com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterLocal.doBMT(com.ad obe.idp.dsc.transaction.TransactionCallback) throws com.adobe.idp.dsc.DSCException:
java.lang.RuntimeException: A result set was generated for update.
at com.adobe.idp.dsc.jdbc.JDBCService.testExecute(JDBCService.java:616)
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:592)
at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
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.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doBMT(EjbTran sactionBMTAdapterBean.java:197)
at sun.reflect.GeneratedMethodAccessor573.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:214)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:149)
at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor. java:54)
at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:106)
at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:1 58)
at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:62)
at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:154)
at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:153)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:122)
at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
at org.jboss.ejb.Container.invoke(Container.java:873)
at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:415)
at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:88)
at $Proxy270.doBMT(Unknown Source)
at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:95)
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:132)
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:118)
at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.invoke(AbstractMessageReceiv er.java:315)
at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invokeCall(SoapSdkEndpoint. java:138)
at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invoke(SoapSdkEndpoint.java :81)
at sun.reflect.GeneratedMethodAccessor710.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.adobe.idp.dsc.provider.impl.soap.axis.InvocationFilter.doFilter(InvocationFilter.java :43)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.ja va:159)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11P rotocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: A result set was generated for update.
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.doExecuteStatement(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerStatement$StatementExecutionRequest.executeStatemen t(Unknown Source)
at com.microsoft.sqlserver.jdbc.CancelableRequest.execute(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeRequest(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeUpdate(Unknown Source)
at org.jboss.resource.adapter.jdbc.WrappedStatement.executeUpdate(WrappedStatement.java:161)
at com.adobe.idp.dsc.jdbc.helper.SqlHelper.executeTestUpdate(SqlHelper.java:117)
at com.adobe.idp.dsc.jdbc.JDBCService.testExecute(JDBCService.java:610)
... 82 moreThanks fot the tip, but now I got a different message in the "Test" results of "Query Single Row":
Exception: Could not create connection; - nested throwable: (com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host has failed. java.net.ConnectException: Connection refused: connect); - nested throwable: (org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host has failed. java.net.ConnectException: Connection refused: connect))
My datasource xml is like this:
<?xml version="1.0" encoding="UTF-8"?>
<datasources>
<local-tx-datasource>
<jndi-name>MSSQL</jndi-name>
<connection-url>jdbc:sqlserver://localhost:1433;DatabaseName=ADOBE</connection-url>
<use-java-context>false</use-java-context>
<driver-class>com.microsoft.sqlserver.jdbc.SQLServerDriver</driver-class>
<user-name>sa</user-name>
<password>adobe</password>
<min-pool-size>10</min-pool-size>
<max-pool-size>50</max-pool-size>
<blocking-timeout-millis>60000</blocking-timeout-millis>
<idle-timeout-minutes>15</idle-timeout-minutes>
<prepared-statement-cache-size>100</prepared-statement-cache-size>
<transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>
<check-valid-connection-sql>SELECT 1 FROM sysobjects</check-valid-connection-sql>
<metadata>
<type-mapping>MS SQLSERVER2005</type-mapping>
</metadata>
</local-tx-datasource>
</datasources>
Where is the problem and how to fix it?
Thank you. -
Problems with JNDI lookup for java:comp/env/ejb
Hi all,
I'm using OC4J 9.0.3 and I have problems when looking up for the local
EJB context.
I have a SLSB which refers to another SLSB via a JNDI mapping like
shown below. Both services are deployed within one EAR file.
(snippets of ejb-jar.xml and orion-ejb-jar.xml)
<ejb-jar>
<enterprise-beans>
<session>
<ejb-name>ServiceABean</ejb-name>
<home>com.coi.ServiceAHome</home>
<remote>com.coi.ServiceA</remote>
<ejb-class>com.coi.ServiceABean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
<ejb-ref>
<ejb-ref-name>ejb/some/sub/packages/ServiceB</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<home>com.coi.ServiceBHome</home>
<remote>com.coi.ServiceB</remote>
</ejb-ref>
</session>
</enterprise-beans>
</ejb-jar>
<orion-ejb-jar>
<enterprise-beans>
<session-deployment location="global/some/sub/packages/ServiceA" name="ServiceABean">
<ejb-ref-mapping name="ejb/some/sub/packages/ServiceB" location="global/some/sub/packages/ServiceB" />
</session-deployment>
</enterprise-beans>
</orion-ejb-jar>
The ApplicationInitialContextFactory will be used (prepared by the container),
so the lookup for ServiceB within a method of ServiceA should work as follows:
public class ServiceABean implements SessionBean
public void someMethod()
InitialContext con = new InitialContext(); // will be of class ApplicationContext
Context localEjbContext = (Context)con.lookup( "java:comp/env/ejb" );
ServiceBHome serviceBHome = (ServiceBHome) PortableRemoteObject.narrow(
localEjbContext.lookup( "some/sub/packages/ServiceB" ),
ServiceBHome.class );
The problem is now, that the lookup for "java:comp/env/ejb" doesn't work
and throws a NameNotFoundException.
To figure out what's actually happening during lookup I debugged a little bit and
tried a few things:
1. A lookup for "java:comp" works fine. It returns an instance of class FlatMapContext
which consists of a hash map which itself contains an entry for "env".
2. So a lookup for "env" on that FlatMapContext also works and returns an instance of SubContext.
3. A lookup for "ejb" using this SubContext causes a NameNotFoundException
with message "java:comp/env/ejb not found".
4. A lookup like con.lookup( "java:comp/env" ) throws also a NameNotFoundException
with message "java:comp/env not found (not inside a J2EE module, for instance a Web-App,
EJB, or Application-Client)".
Does anyone know something about this?
Regards
--thomasHi Debu,
Great! 9.0.4 will be released in june/july this year, right? Sorry for my ironical reaction, but does that mean, that I don't have any chance to get my whole stuff running in 9.0.3? I cannot believe that. Isn't there a wordaround I could apply? A setting or whatever to substitute the daft FlatCtx by something else that is implemented according to the spec?
Regards
--thomas -
Problem with Qualified lookup field
Hi all
I have one qualified lookup field in main table of the repository. when i created the iview for ItemDetails then i selected all the fields of the main table which includes the qualified look up field . but when i see the preview then i am not able to see the field of qualified lookup field in the preview. it is not displaying but i selected the same field.
please help me out on Can we enter the data in the qualified table field which is part of main table in the repository while creating the record??
but i am able to edit the qualified lookup field which is part of main table. but the only problem while creating the record it is not displaying me the qualified lookup field. please help on this........
Thanks
Regards
SunilHi Sunil,
It will not allow you to add the qualified lookup value in the main table record directly.
As the qualified lookup field in the mai table links the main table record with the qualified table fileds.
You will only be able to view the non-qualifier field values in the main table but the qualifier value for that particular record will be visible in the qualifier table only.
So as to populate the lookup qualifier you need to create the main rec then you can establish the link and populate the qualified table fields.
Hope it helps
Kindly reward points if found useful
Thanks
Simona -
Another Problem with XI Lookup
Shame on me...
I think I've read all of the topics regarding XI Lookups and still don't understand the whole thing:
My need is:
I have to read a SAP-Table to substitute a Value in my Mapping.
So I have to create a Function in my SAP-System, which ich call via RFC from my Mapping, right?
Anymore I need to specify the Party, Business system, Communication channel in my Configuration, correct?
Furthermore I need a user defined Function in my Mapping, where I call this SAP Function, OK?
I determined a channel, get a RFC accessor, and then i'm not sure further...
Where in this function do i specify which SAP Function I want to call?
Do I need something more?
Thanks for your patience and help,
best regards, LeoHi Moorthy,
I tried to implement the sample in the blog you suggested, but when I try to test it I get the following errors now:
K:/usr/sap/XIW/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapaf243160faaa11dab2e20050568633c9/source/com/sap/xi/tf/_DELJIT97A_DELFOR02_AI_.java:2172: package JCO does not exist JCO.Repository mRepository; ^ K:/usr/sap/XIW/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapaf243160faaa11dab2e20050568633c9/source/com/sap/xi/tf/_DELJIT97A_DELFOR02_AI_.java:2173: package JCO does not exist JCO.Client mConnection = JCO.createClient( ^ K:/usr/sap/XIW/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapaf243160faaa11dab2e20050568633c9/source/com/sap/xi/tf/_DELJIT97A_DELFOR02_AI_.java:2173: cannot resolve symbol symbol : variable JCO location: class com.sap.xi.tf._DELJIT97A_DELFOR02_AI_ JCO.Client mConnection = JCO.createClient( ^ K:/usr/sap/XIW/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapaf243160faaa11dab2e20050568633c9/source/com/sap/xi/tf/_DELJIT97A_DELFOR02_AI_.java:2185: package JCO does not exist mRepository = new JCO.Repository( "GenericRFCMappingLookup", mConnection ); ^ K:/usr/sap/XIW/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapaf243160faaa11dab2e20050568633c9/source/com/sap/xi/tf/_DELJIT97A_DELFOR02_AI_.java:2188: package JCO does not exist JCO.Function function = null; ^ K:/usr/sap/XIW/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapaf243160faaa11dab2e20050568633c9/source/com/sap/xi/tf/_DELJIT97A_DELFOR02_AI_.java:2189: cannot resolve symbol symbol : class IFunctionTemplate location: class com.sap.xi.tf._DELJIT97A_DELFOR02_AI_ IFunctionTemplate ft = mRepository.getFunctionTemplate("RFC_READ_TABLE"); ^ K:/usr/sap/XIW/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapaf243160faaa11dab2e20050568633c9/source/com/sap/xi/tf/_DELJIT97A_DELFOR02_AI_.java:2192: package JCO does not exist JCO.ParameterList input = function.getImportParameterList(); ^ K:/usr/sap/XIW/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapaf243160faaa11dab2e20050568633c9/source/com/sap/xi/tf/_DELJIT97A_DELFOR02_AI_.java:2198: package JCO does not exist JCO.ParameterList tabInput = function.getTableParameterList(); ^ K:/usr/sap/XIW/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapaf243160faaa11dab2e20050568633c9/source/com/sap/xi/tf/_DELJIT97A_DELFOR02_AI_.java:2199: package JCO does not exist JCO.Table inputTable = tabInput.getTable("OPTIONS"); ^ K:/usr/sap/XIW/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapaf243160faaa11dab2e20050568633c9/source/com/sap/xi/tf/_DELJIT97A_DELFOR02_AI_.java:2204: package JCO does not exist JCO.Table lookupFieldPos = function.getTableParameterList().getTable("FIELDS"); ^ K:/usr/sap/XIW/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapaf243160faaa11dab2e20050568633c9/source/com/sap/xi/tf/_DELJIT97A_DELFOR02_AI_.java:2213: package JCO does not exist JCO.Table valueSet = function.getTableParameterList().getTable("DATA"); ^ 11 errors
Can you give me an advice where I have to look for this problem or what is wrong with my implementation? Do I have to import something?
Am I able to test it during design time at all?
Thanks, Leo -
Problems with logistic cockpit: URGENT!!
Hi,
I have a few verifications with LO cockpit.
I have dobne the following steps.
1. Activated the datasource.
2. The update group shows active.
3. In maintenance I have selected the fields.
4. Deleted the setup tables.
Now my question is when I run the intial set up do I need to bring the system down so that no updates are taking place.The second question is when I do I set the update to be queued update . When does it get set for the delta loads.
We are writing a function module to put extra fields on the delivery table and would need to pull these fields in the standard extractor. Can I be guided as to how to accomplish this.
Please help me out as it is very urgent.
Thanks
AmitHi Siggi,
Here is the function module:
name: Z_PALLET_SPOT_CALC_DELIVERY
FUNCTION z_pallet_spot_calc_delivery.
""Local interface:
*" IMPORTING
*" VALUE(I_VBELN) LIKE LIKP-VBELN DEFAULT '86000801'
*" VALUE(I_POSNR) LIKE LIPS-POSNR OPTIONAL
*" VALUE(I_VKORG) LIKE LIKP-VKORG DEFAULT 'US01'
*" VALUE(I_VTWEG) LIKE LIPS-VTWEG DEFAULT '00'
*" EXPORTING
*" VALUE(E_PALLET_SPOT) LIKE ZZVS001-SPOT
*" VALUE(E_REAL_PALLETS) LIKE ZZVS001-SPOT
*" VALUE(E_TOTAL_WEIGHT) LIKE ZZVS001-BRGEW
*" VALUE(E_TOTAL_VOLUME) LIKE ZZVS001-VOLUM
*" VALUE(E_TOTAL_PALLETS_3) LIKE ZZVS001-ZSPOT_3
*" TABLES
*" T_LIPS STRUCTURE LIPS OPTIONAL
*" T_ZZVS001 STRUCTURE ZZVS001 OPTIONAL
*" T_ZZVS0012 STRUCTURE ZZVS0012 OPTIONAL
*" EXCEPTIONS
*" NO_DATA_FOUND
DATA: l_lfimg LIKE lips-lfimg, " Delivery Quantity
l_matnr LIKE lips-matnr, " Material Number
l_meins LIKE lips-meins, " Base Unit of Measure
l_vrkme LIKE lips-vrkme, " Sales Unit
ls_zzvs001 LIKE zzvs001,
ls_zzvs0012 LIKE zzvs0012.
CLEAR: e_pallet_spot, e_real_pallets, e_total_weight, e_total_volume,
e_total_pallets_3, z_spots_3, z_spots_1, z_tot_wgt, z_tot_vol.
FREE: t_zzvs001, "Clear header line and contents
t_zzvs0012.
IF NOT i_vbeln IS INITIAL.
IF NOT i_posnr IS INITIAL.
SELECT *
INTO TABLE t_lips
FROM lips
WHERE vbeln EQ i_vbeln
AND posnr EQ i_posnr.
ELSE.
SELECT *
INTO TABLE t_lips
FROM lips
WHERE vbeln EQ i_vbeln.
ENDIF.
IF sy-subrc NE 0.
RAISE no_data_found.
ENDIF.
ENDIF.
LOOP AT t_lips.
CHECK t_lips-nopck IS INITIAL " Indicator not relevant for pici
AND NOT t_lips-komkz IS INITIAL. " Indicator for picking control
l_matnr = t_lips-matnr.
l_lfimg = t_lips-lfimg.
l_meins = t_lips-meins.
l_vrkme = t_lips-vrkme.
CLEAR: ls_zzvs001, " Clear header line
ls_zzvs0012.
ls_zzvs001-mandt = sy-mandt.
Convert sales unit of measure to base unit of measure
IF l_meins NE l_vrkme.
PERFORM mat_unit_conv
USING l_lfimg " Delivery Quantity
l_matnr " Material Number
l_vrkme " Sales Unit
l_meins " Base Unit of Measure
CHANGING dummy_f
zz_umren
zz_umrez
rc.
CHECK rc = 0.
l_lfimg = dummy_f.
ENDIF.
Convert a base unit of measure to 1 pallet
MENG is the quantity to be converted in base unit of meas ie 'CA '
cases. Returned ZZ_UMREZ contains the number of cases per 1 pallet
SELECT SINGLE *
FROM marm
WHERE matnr = l_matnr
AND meinh = 'PAL'.
CHECK sy-subrc = 0.
PERFORM mat_unit_conv
USING zz_lfimg " Constant 1000
l_matnr " Material Number
'PAL' " Pallet
l_meins " Base Unit of Measure
CHANGING dummy_f
zz_umren
zz_umrez
rc.
CHECK rc = 0.
Get weight and volume and product attributes for material
PERFORM mat_maapv
USING l_matnr
i_vkorg
i_vtweg
CHANGING maapv
rc.
CHECK rc = 0.
For PALLET SPOTS:
If there is any value in the hundredths decimal position, it will
round the tenths decimal position up by 1 tenth. Because of float-
ing point calculations this is accomplished by adding .444 to calc
CLEAR: z_spots, vz_spots.
IF l_lfimg NE 0.
z_spots = ( ( l_lfimg * zz_umren ) / zz_umrez ) + z_5.
vz_spots = ( l_lfimg * zz_umren ) / zz_umrez.
vz_spots = vz_spots + z_4.
ENDIF.
Calculate Number of Real Pallets
e_real_pallets = e_real_pallets + z_spots.
ls_zzvs001-real_pallets = z_spots.
Product attribute 4 = Top Load product
Product attribute 5 = Single Stack Prod(reserves 2 pallet spots)
Single Stack: move calc'd field to dec4_1 to get value in tenths
before multiplying by factor of 2.
Product attribute 6 = Half Mod Prod(reserves 1/2 pallet spots)
Divide by factor of 2
Product attribute 7 = Qtr Mod Prod(reserves 1/4 pallet spots)
Divide by factor of 4
z_spots_cpy = z_spots.
IF maapv-prat7 = 'X'. " Quarter Mod Product
ls_zzvs001-spot = z_spots.
ls_zzvs001-zqtrmod = z_spots_cpy.
ls_zzvs001-spot = ls_zzvs001-spot / 4.
vz_spots = vz_spots / 4.
z_spots = ls_zzvs001-spot.
ENDIF.
z_spots_cpy = z_spots.
IF maapv-prat6 = 'X'. " Half Mod Product
ls_zzvs001-spot = z_spots.
ls_zzvs001-zhalfmod = z_spots_cpy.
ls_zzvs001-spot = ls_zzvs001-spot / 2.
z_spots = ls_zzvs001-spot.
vz_spots = vz_spots / 2.
ENDIF.
IF maapv-prat5 = 'X'. " Single Stack Product
ls_zzvs001-spot = z_spots.
ls_zzvs001-zsnglstk = z_spots_cpy.
ls_zzvs001-spot = ls_zzvs001-spot * 2.
z_spots = ls_zzvs001-spot.
vz_spots = vz_spots * 2.
ELSE.
ls_zzvs001-spot = z_spots.
ENDIF.
IF maapv-prat4 = 'X'. " Top Load Product
ls_zzvs001-ztopload = z_spots_cpy.
ENDIF.
ls_zzvs001-prat4 = maapv-prat4.
ls_zzvs001-prat5 = maapv-prat5.
ls_zzvs001-prat6 = maapv-prat6.
ls_zzvs001-prat7 = maapv-prat7.
ls_zzvs001-brgew = maapv-brgew * l_lfimg.
ls_zzvs001-gewei = maapv-gewei.
ls_zzvs001-volum = maapv-volum * l_lfimg.
ls_zzvs001-voleh = maapv-voleh.
IF maapv-prat4 = 'X'
OR maapv-prat5 = 'X'.
ls_zzvs001-tlss = z_spots.
ENDIF.
IF maapv-prat7 = 'X'. " Quarter Mod Product
ls_zzvs001-real_pallets = ls_zzvs001-real_pallets / 4.
ELSEIF maapv-prat6 = 'X'. " Half Mod Product
ls_zzvs001-real_pallets = ls_zzvs001-real_pallets / 2.
ENDIF.
ls_zzvs001-zspot_3 = vz_spots.
APPEND ls_zzvs001 TO t_zzvs001.
z_tot_wgt = z_tot_wgt + ls_zzvs001-brgew.
z_tot_vol = z_tot_vol + ls_zzvs001-volum.
z_spots_3 = z_spots_3 + vz_spots.
z_spots_1 = z_spots_1 + ls_zzvs001-spot.
Load additional information into secondary table Structure. Quantity
has already been converted to Base Unit of Measure
t_lips-matnr = '000003400024000000'.
t_lips-lfimg = 10023.
t_lips-meins = 'CA'.
IF maapv-prat7 = 'X'. " Quarter Mod Product
l_lfimg = t_lips-lfimg / 4.
ELSEIF maapv-prat6 = 'X'. " Half Mod Product
l_lfimg = t_lips-lfimg / 2.
ELSE.
l_lfimg = t_lips-lfimg.
ENDIF.
PERFORM get_additional_keyf
USING t_lips-matnr " Material Number
l_lfimg " Delivery Quantity
t_lips-meins " Base Unit of Measure
CHANGING ls_zzvs0012-ztotpalq " Total Pallets
ls_zzvs0012-zfullpalq " Full Pallets
ls_zzvs0012-zfulllayq " Full Layers
ls_zzvs0012-zfullcaq " Full Cases
ls_zzvs0012-zmisccaq. " Miscellaneous Cases
ls_zzvs0012-mandt = t_lips-mandt.
ls_zzvs0012-vbeln = t_lips-vbeln.
ls_zzvs0012-posnr = t_lips-posnr.
ls_zzvs0012-matnr = t_lips-matnr.
ls_zzvs0012-zspot_3 = ls_zzvs001-zspot_3.
APPEND ls_zzvs0012 TO t_zzvs0012.
ENDLOOP.
this pallet total is 1 decimal precision
e_pallet_spot = z_spots_3.
IF maapv-prat7 EQ 'X'. "Qtr Mod
e_real_pallets = e_real_pallets / 4.
ELSEIF maapv-prat6 EQ 'X'. "Half Mod
e_real_pallets = e_real_pallets / 2.
ENDIF.
this pallet total is 3 decimal precision
e_total_pallets_3 = z_spots_3.
e_total_weight = z_tot_wgt.
e_total_volume = z_tot_vol.
ENDFUNCTION.
I hope thats what is needed. Look forward to your kind reply.
Thanks so much in advance
Amit -
Toplink cache coordination problem with opmn lookup
Dear all,
We encounter some problems when we use opmn url and jms to realize the toplink cache coordination.
Scenario:
1. Using oracle application server 10g, create three processes(jvm) on one oc4j instance
2. Using oc4j in memory jms server for cache coordination
3. Using opmn url to lookup jms topic connection factory and connection, opmn url: opmn:ormi://shasudv4:6004:OC4J_TTS/tts
When we start oc4j instance, we find the log, all the toplink cache coordination properites has been set to toplink framework, and remote command manager has been initialized successfully. All in memory jms server has also been started successfully, there are three listeners on the topic.
But, when we test the synchronization, the data can't be synchronized between all the processes, two of them is ok, the rest of them has some problem to coordinate with the other two. There are no exceptions, we have set the level of toplink log to 'all'.
I have checked the thread dump, I find that "HTTPThreadGroup", "RMICallHandler" and "JMSRequestHandler" threads are involved in cache synchronization.
So, we are obliged to change the opmn url to ormi url, so we can only set a bound for rmi ports of processes, because the ormi port is dynamicly assigned.
<port id="rmi" range="12405-12407" />
This seems ok, and involved thread are: "RMICallHander" and "JMSRequestHandler". But we also concern that we have restricted the port bound of ormi port of every instance.
Thanks of any advice.I raised a TAR with Oracle. The short answer is that you can't do cache coordination either with ADF business objects, or with Toplink Essentials (as opposed to Oracle Toplink, which doesn't yet support JPA).
-
Problem with a Servlet - URGENT help
Hello
i really need your help. here i uploaded my web project: http://www.2shared.com/file/4450238/aaa4d9cd/JMSTest.html
it's about 2 servlets, one Test servlet sending a message, and another one, Receiver, to receive the message sent via JMS (i use ActiveMQ)
i didn't know what's wrong, if i call http://localhost:8080/JMSTest , then i enter something into that textfield, then i press the button(form action is http://localhost:8080/test ). it writes that "Mesaj trimis" (message sent - written by me in Romanian), and when i call http://localhost:8080/receiver i did not receive the message. Why?
I use queue, so i think the send message is stored in a queue until a receiver receives it.
Please download the project, isn't complicated.
I did not know what's the problem.
here is the server.xml file from Tomcat conf folder:
<?xml version="1.0" encoding="UTF-8"?>
<Server port="8005" shutdown="SHUTDOWN">
<Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"/>
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"/>
<!-- Global JNDI resources
Documentation at /docs/jndi-resources-howto.html
-->
<GlobalNamingResources>
<!-- Editable user database that can also be used by
UserDatabaseRealm to authenticate users
-->
<Resource auth="Container" description="User database that can be updated and saved" factory="org.apache.catalina.users.MemoryUserDatabaseFactory" name="UserDatabase" pathname="conf/tomcat-users.xml" type="org.apache.catalina.UserDatabase"/>
</GlobalNamingResources>
<Service name="Catalina">
<Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443"/>
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443"/>
<Engine defaultHost="localhost" name="Catalina">
<Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase"/>
<!-- Define the default virtual host
Note: XML Schema validation will not work with Xerces 2.2.
-->
<Host appBase="webapps" autoDeploy="true" name="localhost" unpackWARs="true" xmlNamespaceAware="false" xmlValidation="false">
<!-- SingleSignOn valve, share authentication between web applications
Documentation at: /docs/config/valve.html -->
<!--
<Valve className="org.apache.catalina.authenticator.SingleSignOn" />
-->
<!-- Access log processes all example.
Documentation at: /docs/config/valve.html -->
<!--
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log." suffix=".txt" pattern="common" resolveHosts="false"/>
-->
<Context path="/JMSTest" docBase="JMSTest"
debug="5" reloadable="true" crossContext="true">
<Resource name="jms/ConnectionFactory" auth="Container"
type="org.apache.activemq.ActiveMQConnectionFactory"
description="JMS Connection Factory"
factory="org.apache.activemq.jndi.JNDIReferenceFactory"
brokerURL="vm://localhost"
brokerName="LocalActiveMQBroker"
userName="activemq" password="activemq"
useEmbeddedBroker="false"
clientID="TomcatClientID" />
<Resource name="jms/myQueue" auth="Container"
type="org.apache.activemq.command.ActiveMQQueue"
description="JMS Queue"
factory="org.apache.activemq.jndi.JNDIReferenceFactory"
physicalName="TEST.FOO" />
<Resource name="jms/myTopic" auth="Container"
type="org.apache.activemq.command.ActiveMQTopic"
description="JMS Topic"
factory="org.apache.activemq.jndi.JNDIReferenceFactory"
physicalName="TEST.BAR"/>
</Context>
</Host>
</Engine>
</Service>
</Server>or, how should i do this, but using Sun Message Queue? my way is using Apache MQ
Thanks
Edited by: Talkabout on Dec 13, 2008 7:15 AMI didn't go all through your code, but I'd say you should make sure that the Receiver servlet is up and running BEFORE your access the Sender servlet.
-
I-Procurement problems with approval hierarchy - Urgent!! Please help!
Dear experts,
I am having a number of problems in i-procurement (12.1.3). When creating a Requisitions in i-procurement on the screen when it arrives with the approval list, it has retrieved a personel who is not in the hierarchy list at all. (not using AME just employee hierarchy)
I have checked the usual setting such as making sure the document type settings is correct and the position hierarchy for the position raising the requisition.
In addition to this once proceeding with submitting the requisition the created time is completly wrong. It is displaying a date occuring in the past. And in the Justification field it has already been populated it appears that it has captured information from a previous requisition. Furthermore in the created by field it also displaying a name of a different user to the one I am currently using.
I am out of ideas as to exactly what the problems is. Would appreciate if any I-procurement gurus can take a look at my issue.
Thanks and Regards
EbsnoobThat sounds like a feedback loop.
Does the tone alter in pitch when you alter input and/or output levels or move your microphone?
And have you checked your coreaudio device in *Logic Pro>Preferences>Audio* ? And your recording settings in *File>Project Settings* ?
And how is your monitoring setup? Directly from the Presonus, or do you use *Software Monitoring* ?
Does the tone stop when you hit Pause ?
2nd possibility: a note event somewhere triggers a synth - but that would also happen in playback, so it is a long shot.... it does not happen in playback?
regards, Querik.
ps: the advantage of smashing up things is that then you are at least sure you can't fix it anymore. Better keep some broken stuff handy, because you'll regret smashing up working stuff. -
I Guys I am new to BW, I activate a Datasource in RSA5, but when I try to replicate in BW I cannot see it, Do I have to create a Source System for R3 for this to work. I went to SM59 and create a RFC pointing to the Client I want to extract the data.
Thanks You in Advance.Hello ,
Please use the below procedure :
1- Go to Transaction RSDS and enter your Data Source name and Source System ( you can check your source system if it is already available )
If your source system is available, then goto datasource table and select replicate data source .
Another Option :
,Go to transaction SBIW in the source system choose Business Information Warehouse-- Business Content DataSources --Transfer Business Content DataSources
Select the nodes in the application component hierarchy for which you want to transfer DataSources into the active version..
Alternative you can Go to Data Warehousing Workbench. Transaction RSA1
Select the Datasource tab--select your application component --and right click --replicate meta data .
Now if you have not connected with Source system first ask your Basis Team to make connection between R/3 source and BW system .
If this task you have to do then follow the instruction given in below link :
http://help.sap.com/saphelp_nw70/helpdata/en/ac/4a4e38493e4774e10000009b38f889/content.htm
hope this helps
Regards
Vikas Sharma
Robert Bosch -
Problem with MTO scenario-urgent
hi everyone,
our client is using MTO process, where they will exchange halb materials for the fert level production order. i.e according to MTO sales order will trigger procurement seperately at all levels of bom( as sales order stock). what is happening at the client side is they are converting plnd orders to production orders generated in the stock requirement list for HALBS, as thier wish they want to use these randomly for fert production,
costs differences are arising.....
so kindly suggest a solution
thanks
madhuHi Madhu,
Your requirement is simple. If my understanding is right in your scenario you have a FERT (A) which is MTO and the assemblies/components (B) used for manufacturing it is a stock item or MTS.
For component A you have to define in material master MRP view 3 with planning strategy - 20 and in MRP4 maintain "1" for Individual and Collective requirement indicator.
For component B you have to define in material master MRP view 3 with a suitable planning strategy -(Not= 20) and in MRP4 maintain "2" for Individual and Collective requirement indicator.
This would resolve the problem. Reward your points,
thank you,
Regards,
Prasobh -
Hi all,
I'm using oracle 6i and in my program I use an activeX for generating barcodes..
the activeX genrate an image file and i need to store it in db(oracle 9i) or at least show the generated image through my form...the problem I encounter is that the read_image_file built in does not read the barcode images while it reads and shows other pictures with the same type (ex. tif or jpg)...
here is my code (in case if it is useful) :
declare
application ole2.obj_type;
begin
application := ole2.create_obj('IDAuto.BarCode.1');
----DataToEncode :this is the data that is to be encoded in the barcode
ole2.set_property(application,'DataToEncode',:txt);
IDAuto_IBarCode.SetPixelsXY(application,2048,1024);
----this method save the image file
IDAuto_IBarCode.SaveEnhWMF(application,'d:\TEST.tif');
:system.message_level := '25';
Read_Image_File(,'d:\TEST.tif','TIFF', 'control.itm_image');
:system.message_level := '0';
end;The errors are here:
byte buff[]=new byte[(int)file.length()];
InputStream fileIn=new FileInputStream(aa);
int i=fileIn.read(buff);
String conffile=new String(buff); (conffile is a String object containing the image)
and here:
String content ="-----------------------------7d11e410e500f2\r\n"+"Con
ent-Disposition: form-data;"+"name=\"upload\";
filename=\""+aa+"\"\r\n"+"Content-Type:
application/octet-strem\r\n\r\n\r\n"+conffile+"--------
--------------------7d11e410e500f2--\r\n";
printout.writeBytes(content);conffie is sent to the server but
it's non possible to treat binary data as String!
Image files must be sent as byte[] NOT as String ......
Maybe you are looking for
-
How to configure MS Loopback Adapter in Windows 7
Hello all, I installed SAP NetWeaver 7.02 SP06 ABAP Trial Version mainly to teach myself some WebDynpro Programming for ABAP. Unfortunately this does not work correctly. I created a View in a Web Dynpro Component and the Layout Preview does not work.
-
How to give avi filepath as command line argument
hi friends my problem is that when i run source code seek.java at following link "http://java.sun.com/products/java-media/jmf/2.1.1/solutions/Seek.html" it works fine with some avi file on any website. for example if url="http://w1.520.telia.com/~u52
-
Exporting HD video for use on AppleTV and iPod
I use a Canon HV30 HD camcorder. Work in FCE. Also have QTPro. I typically export from FCE as a pure .MOV file, then do my conversions to other formats in QTPro. To get good quality on my Apple TV, I use QTPro to export to Apple TV. But then that vid
-
Hi, I am upgrading from 11.1.1.5 to 11.1.1.6 and the upgrade stalls with the error that it cannot write c:\oracle\middleware\oracle\Oracle_Bi1\jdk\jre\bin\awt.dll - the process cannot access the file because it is being used by another process... Bef
-
Trying to open a .pkg file
I'm trying to open a .pkg file but it won't open and I don't have the apple installer. Where can I find it, or are there any other solutions?