EJB lookup failing in DCM managed Oracle AS clustering
Hi
My purpose is to test DCM managed Oracle AS clustering:
For that I have two Oracle Application servers installed in two different machines with
Version: 10.1.2.0.2 and Installation Type as J2EE and Web Cache
I created an OracleAS File-based Farm and associated both the instances of AS to the cluster. Then I created One OC4J instance called InstanceOne on the cluster and deployed my Application ear onto the cluster.I also configued web Application and EJB Application State Replication the with OracleAS Cluster (OC4J).
My Application has one Ejb module and a web module. My stateless Session bean is Spring framework implemented and I am trying to load the Spring Context lookup from the Struts Action Class by using WebApplicationContext.
My spring context looks like this
<bean id="jndiTemplate"
class="org.springframework.jndi.JndiTemplate">
<property name="environment">
<props>
<prop key="java.naming.factory.initial">com.evermind.server.rmi.RMIInitialContextFactory</prop>
<prop key="java.naming.provider.url">opmn:ormi://<server host>:InstanceOne/<Application Name></prop>
<prop key="java.naming.security.principal">oc4jadmin</prop>
<prop key="java.naming.security.credentials">admin</prop>
<prop key="oracle.j2ee.naming.cache.timeout">30</prop>
<prop key="Dedicated.Connection">yes</prop>
<prop key="Dedicated.RMIcontext">false</prop>
<prop key="LoadBalanceOnLookup">true</prop>
</props>
</property>
</bean>
<bean id="service"
class="org.springframework.ejb.access.SimpleRemoteStatelessSessionProxyFactoryBean">
<property name="jndiTemplate">
<ref bean="jndiTemplate"/>
</property>
<property name="jndiName">
<value>MyServiceEJB</value>
</property>
<property name="cacheHome">
<value>false</value>
</property>
<property name="refreshHomeOnConnectFailure">
<value>true</value>
</property>
<property name="businessInterface">
<value>com.my.springejb.MyBusinessInterface</value>
</property>
</bean>
When I give only one server lookup like
opmn:ormi://<server host1>:InstanceOne/<Application Name>
then lookup is working, But by giving two servers in cluster, like opmn:ormi://<server host1>:InstanceOne/<Application Name>, opmn:ormi://<server host2>:InstanceOne/<Application Name>
I am getting error like this
06/12/01 19:27:41 java.lang.NumberFormatException: For input string: "InstanceOne"
06/12/01 19:27:41 at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
06/12/01 19:27:41 at java.lang.Integer.parseInt(Integer.java:468)
06/12/01 19:27:41 at java.lang.Integer.parseInt(Integer.java:518)
06/12/01 19:27:41 at com.evermind.server.rmi.RMIInitialContextFactory.getInitialContext(RMIInitialContextFactory.java:237)
06/12/01 19:27:41 at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
06/12/01 19:27:41 at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
06/12/01 19:27:41 at javax.naming.InitialContext.init(InitialContext.java:219)
06/12/01 19:27:41 at javax.naming.InitialContext.<init>(InitialContext.java:195)
06/12/01 19:27:41 at org.springframework.jndi.JndiTemplate.createInitialContext(JndiTemplate.java:105)
06/12/01 19:27:41 at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:83)
06/12/01 19:27:41 at org.springframework.ejb.access.SimpleRemoteStatelessSessionProxyFactoryBean.create(SimpleRemoteStatelessSessionProxyFactoryBean.java:19)
My intension of testing is, if I make one server instance (InstanceOne) down then my lookup should divert all ejb calls to the other server in the cluster, which is not happening at all, and I am getting Server SHUT DOWN exception in the server.
Can anybody please let me know, whether the approach is correct and is there any problem with Spring lookup which does not support multiple host lookup or anything I am missing in my steps, as I am following the Oracle Application Server High Availability Guide 10g Release 2 (10.1.2)
you can find an running sample from :
http://javahowto.blogspot.com/2007/12/calling-weblogic-ejb-3-from-jruby-and.html
In weblogic, local ejb don't appear in the jndi tree, but , it can be founded ...
It works into 10.0 and 10.3
Cheers !
Similar Messages
-
JNDI EJB Lookup fails on Remote Server
Hi,
I am having two different domain (domain1,domain2) respectvely. My ABC.ear j2eee application is deployed on domain2 and its iiop port is 33703.In domain1 i have xyz.war (web application) and it's IIOP port is 3700 .In xyz.war i am having CallEJB.jsp file.In this Jsp file i want to lookup an EJB Service called PaymentEJB(JNDI Name is ejb/PaymentEJB).
The code is below
InitialContext context=new InitialContext();
Object objRef=context.lookup("corbaname:iiop:andaman:33703#ejb/PaymentEJB");
I am getting the following error.
[#|2005-12-14T16:42:03.422+0530|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.resource.corba._DEFAULT_.rpc.transport|_ThreadID=11;|"IOP00410216: (COMM_FAILURE) Unable to create IIOP listener on the specified host/port: all interfaces/3700"
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 216 completed: No
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.createListenerFailed(ORBUtilSystemException.java:2661)
My doubt is
1.While starting domain1 and domain2 iiop listeners are started on the port 3700 and 33703.in that case why EJB lookup tries to create listener on one more time.
2.I am looking the 33703 port only.but it tries to create port on 3700 why?
3.It was working till JES2005Q1.Is there any patch i need to install? or i need to change anything in my code.
I am frustrated with this error for past one week.I will be happy if some body will give me the peace of mind(thru some solution).http://docs.sun.com/source/819-0079/dgjndi.html
This might help. -
Ejb lookups fail from threads spawned from servlet
Hello,
We have a servlet from which we are spawning a thread. In the thread we are
trying to do a JNDI lookup for the database resource / EJBs. It does not
work as if it is not able to find the context t do the lookup.
I thought that the threads are spawned in the same JVM and context, so why
does the lookup not work.
Please need to figure out a solution to this problem, we need to call some
business logic in the EJBS from the thread and we do not want to do RMI-IIOP
lookups becuase they could be slower.
Appreciate your help in advance.
Regards,
SakibCustom threading is not supported. I think a workaround was posted on
this alias (search for custom threading), where you can call the
proprietary API's of the container to recreate the context, but I'm
pretty sure that it's not a supported or recommended solution.
The better (and more scalable) solution is to avoid spawning your own
threads.
David
Sakib Mehasanewala wrote:
Hello,
We have a servlet from which we are spawning a thread. In the thread we are
trying to do a JNDI lookup for the database resource / EJBs. It does not
work as if it is not able to find the context t do the lookup.
I thought that the threads are spawned in the same JVM and context, so why
does the lookup not work.
Please need to figure out a solution to this problem, we need to call some
business logic in the EJBS from the thread and we do not want to do RMI-IIOP
lookups becuase they could be slower.
Appreciate your help in advance.
Regards,
Sakib -
Hi all,
When i try to run more than one servelt of the Quick Start samples that using Livecycle Java APIs and i get an error of "Remote EJBObject lookup failed for ejb/Invocation provider" from any servelt i run.
I try some Quick samples which is not servelts (java class) and it works fine, which makes me sure that my connection properties is true.
Environment:
The LiveCycle is based on "Websphere v6.1", and i use "Eclipse Platform
Version: 3.4.1".
i install "tomcat 5.5.17" to test the servelts in developing time through Eclipse.(only for test in developing time not for deploy on )
The Jars i added in the classpath:
adobe-forms-client.jar
adobe-livecycle-client.jar
adobe-usermanager-client.jar
adobe-utilities.jar
ejb.jar
j2ee.jar
ecutlis.jar
com.ibm.ws.admin.client_6.1.0.jar
com.ibm.ws.webservices.thinclient_6.1.0.jar
server.jar
utlis.jar
wsexception.jar
My code is :
Properties ConnectionProps = new Properties();
ConnectionProps.setProperty(ServiceClientFactoryProperties.DSC_DEFAULT_EJB_ENDPOINT, "iiop://localhost:2809");
ConnectionProps.setProperty ServiceClientFactoryProperties.DSC_TRANSPORT_PROTOCOL,ServiceClientFactoryProperties.DSC_ EJB_PROTOCOL);
ConnectionProps.setProperty(ServiceClientFactoryProperties.DSC_SERVER_TYPE,ServiceClientFa ctoryProperties.DSC_WEBSPHERE_SERVER_TYPE);
ConnectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_USERNAME, "Administrator");
ConnectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_PASSWORD, "password");
ConnectionProps.setProperty("java.naming.factory.initial", "com.ibm.ws.naming.util.WsnInitCtxFactory");
//Create a ServiceClientFactory object
ServiceClientFactory myFactory = ServiceClientFactory.createInstance(ConnectionProps);
//Create a FormsServiceClient object
FormsServiceClient formsClient = new FormsServiceClient(myFactory);
//Get Form data to pass to the processFormSubmission method
Document formData = new Document(req.getInputStream());
//Set run-time options
RenderOptionsSpec processSpec = new RenderOptionsSpec();
processSpec.setLocale("en_US");
//Invoke the processFormSubmission method
FormsResult formOut = formsClient.processFormSubmission(formData,"CONTENT_TYPE=application/pdf&CONTENT_TYPE=app lication/vnd.adobe.xdp+xml&CONTENT_TYPE=text/xml", "",processSpec);
List fileAttachments = formOut.getAttachments();
Iterator iter = fileAttachments.iterator();
int i = 0 ;
while (iter.hasNext()) {
Document file = (Document)iter.next();
file.copyToFile(new File("C:\\Adobe\\tempFile"+i+".jp i++;
short processState = formOut.getAction();
...... (To the end of the sample)
My Error was:
com.adobe.livecycle.formsservice.exception.ProcessFormSubmissionException: ALC-DSC-031-000: com.adobe.idp.dsc.net.DSCNamingException: Remote EJBObject lookup failed for ejb/Invocation provider
at com.adobe.livecycle.formsservice.client.FormsServiceClient.processFormSubmission(FormsSer viceClient.java:416)
at HandleData.doPost(HandleData.java:62)
at HandleData.doGet(HandleData.java:31)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:252)
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.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)
aI assume here that your application is deployed on a different physical machine of where LCES is deployed and running.
Do the following test:
- Say that LCES is deployed on machine1 and your application is deployed on machine2. Ping machine1 from machine2 and note the ip address.
- Ping machine1 from machine1 and note the ip address.
The two pings should match.
- Ping machine2 from machine1 and note the ip address.
- Ping machine2 from machine2 and note the ip address.
The two pings should match.
Usually this kind of error would happen if your servers have internal and external ip addresses. -
EJB Context lookup fails all of a sudden in OC4J
I've been working on a J2EE application using JDeveloper
for some time now and all of a sudden out of nowhere OC4J
is failing upon doing my EJB lookups. For instance, the following line:
holderHome = (HolderHome)ctx.lookup("Holder");
throws this exception:
javax.naming.NameNotFoundException: Holder not found
Now, I assure you, I have done NOTHING to change how my context is created, in fact I stepped through my code with the debugger and the Context object is successfully created. Also my EJB's haven't been altered or moved and my orion-ejb-jar.jar files are fine. And it happends for all EJB lookups, not just this example. For all purposes, it looks this OC4J just stopped being able to perform it's lookups. Help! This is extremely frustrating as I have no clue on how to fix this or even trace the problem.What version of OC4J and JDev are you using ? Is this a > remote OC4J instance or embedded OC4J ?I'm running JDev v9.0.2. I don't know what version of OC4J. Just the embedded one that came with this install.
Did you change the name of the application or name of
the EJBs ? Verify with your application entry in
server.xml ?No and No.
check the ejb-name in the ejb-jar.xml for your EJB ?Didn't change one bit. I think this is some kind of bug.
I even tried creating a new project from scratch and recompiling everything and got the same result. It REALLY sucks because I can't go forward until I solve this problem :( -
EJB lookup on Remote Server or different domain fails
Hi,
I am having two different domain (domain1,domain2) respectvely. My ABC.ear j2eee application is deployed on domain2 and its iiop port is 33703.In domain1 i have xyz.war (web application) and it's IIOP port is 3700 .In xyz.war i am having CallEJB.jsp file.In this Jsp file i want to lookup an EJB Service called PaymentEJB(JNDI Name is ejb/PaymentEJB).
The code is below
InitialContext context=new InitialContext();
Object objRef=context.lookup("corbaname:iiop:andaman:33703#ejb/PaymentEJB");
I am getting the following error.
[#|2005-12-14T16:42:03.422+0530|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.resource.corba._DEFAULT_.rpc.transport|_ThreadID=11;|"IOP00410216: (COMM_FAILURE) Unable to create IIOP listener on the specified host/port: all interfaces/3700"
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 216 completed: No
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.createListenerFailed(ORBUtilSystemException.java:2661)
My doubt is
1.While starting domain1 and domain2 iiop listeners are started on the port 3700 and 33703.in that case why EJB lookup tries to create listener on one more time.
2.I am looking the 33703 port only.but it tries to create port on 3700 why?
3.It was working till JES2005Q1.Is there any patch i need to install? or i need to change anything in my code.
I am frustrated with this error for past one week.I will be happy if some body will give me the peace of mind(thru some solution).Hi
I found the solution for this issue.
To lookup the EJB applications in web component,we should not set any thing in the Initial Context.i.e the lookup should be
InitialContext initContext=new InitialContext();
Object objref = initContext.lookup("java:comp/env/ejb/"+ejbName_);
This will get you the Home object of the EJB you are looking.
In your web.xml you should have the entry like below.(Just replace the ejbname which you are looking for)
<ejb-ref>
<ejb-ref-name>ejb/GetAssertionEJB</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<home>com.ssertion.GetAssertionHome</home>
<remote>com.assertion.GetAssertionRemote</remote>
</ejb-ref>
In your sun-wb.xml,you should have the entry like below(Just replace the ejbname which you are looking for)
<ejb-ref>
<ejb-ref-name>ejb/GetAssertionEJB</ejb-ref-name>
<jndi-name>corbaname:iiop:<hostname>:<iiopport>#ejb/GetAssertionEJB</jndi-name>
</ejb-ref>
Hope this works. -
When i try to view the FlowTrace i'm getting the following exception in EM
Unable to display Flowtrace due to exception while initializing object, please review logs for detailed information.
>> Exception occured while retrieving the Flowtrace XML for the Composite Instance; ECID: 0000JzmIFk95EgPquci8UH1HtzlR0000HC
>> java.rmi.UnmarshalException: Problem finding error class; nested exception is:
>>> java.lang.ClassNotFoundException: Failed to load class oracle.bpel.services.workflow.WorkflowException
>>> at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:237)
>>> at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
>>> at oracle.soa.management.internal.ejb.impl.FacadeFinderBean_4vacyo_FacadeFinderBeanImpl_1036_WLStub.getAuditTrail(Unknown Source)
>>> at oracle.soa.management.internal.ejb.EJBLocatorImpl.getAuditTrail(EJBLocatorImpl.java:473)
>>> at oracle.sysman.emai.model.sca.share.composite.FlowTraceModel.setFloatraceModelInfo(FlowTraceModel.java:172)
>>> at oracle.sysman.emai.model.sca.share.composite.FlowTraceModel.initialize(FlowTraceModel.java:79)
>>> at oracle.sysman.emai.model.sca.EMEntityModel._initializeEntityData(EMEntityModel.java:28)
>>> at oracle.sysman.emai.model.sca.common.SCAEntityObject.initializeSCAData(SCAEntityObject.java:124)
>>> at oracle.sysman.emai.model.sca.SCAObject.initializeData(SCAObject.java:66)
>>> at oracle.sysman.core.model.util.ModelUtil$EMObjectResetter.initOrResetEMObject(ModelUtil.java:319)
>>> at oracle.sysman.core.model.util.ModelUtil$EMObjectResetter.access$000(ModelUtil.java:280)
>>> at oracle.sysman.core.model.util.ModelUtil.initializeMBEMObjects(ModelUtil.java:231)
>>> at oracle.sysman.core.model.util.ModelUtil.initializeAllEMObjects(ModelUtil.java:128)
>>> at oracle.sysman.core.model.util.ModelUtil.initializeAllEMObjects(ModelUtil.java:101)
>>> at oracle.sysman.emSDK.adfext.ctlr.EMPagePhaseListener.doPrePrepareModel(EMPagePhaseListener.java:867)
>>> at oracle.sysman.emSDK.adfext.ctlr.EMPagePhaseListener.beforePhase(EMPagePhaseListener.java:795)
>>> at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.beforePhase(ADFLifecycleImpl.java:551)
>>> at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchBeforeEvent(LifecycleImpl.java:100)
>>> at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:191)
>>> at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$400(ADFPhaseListener.java:23)
>>> at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:238)
>>> at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:274)
>>> at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:75)
>>> at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
>>> at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:472)
>>> at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
>>> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
>>> at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
>>> at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
>>> at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
>>> at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
>>> at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:164)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
>>> at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
>>> at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
>>> at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
>>> at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
>>> at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
>>> at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
>>> at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
>>> at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
>>> at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
>>> at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
>>> at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
>>> at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:179)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
>>> at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
>>> at oracle.sysman.core.model.targetauth.EMLangPrefFilter.doFilter(EMLangPrefFilter.java:158)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
>>> at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
>>> at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
>>> at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
>>> at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
>>> at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
>>> at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
>>> at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
>>> at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
>>> at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
>>> at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
>>> at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
>>> at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
>>> at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
>>> at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
>>> at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
>>> at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
>>> at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
>>> at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
>>> at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
>>> Caused by: java.lang.ClassNotFoundException: Failed to load class oracle.bpel.services.workflow.WorkflowException
>>> at weblogic.rmi.utils.WLRMIClassLoaderDelegate.loadClass(WLRMIClassLoaderDelegate.java:208)
>>> at weblogic.rmi.utils.WLRMIClassLoaderDelegate.loadClass(WLRMIClassLoaderDelegate.java:135)
>>> at weblogic.rmi.utils.Utilities.loadClass(Utilities.java:305)
>>> at weblogic.rjvm.MsgAbbrevInputStream.resolveClass(MsgAbbrevInputStream.java:436)
>>> at weblogic.utils.io.ChunkedObjectInputStream$NestedObjectInputStream.resolveClass(ChunkedObjectInputStream.java:268)
>>> at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1731)
>>> at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
>>> at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
>>> at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
>>> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
>>> at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:208)
>>> at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:599)
>>> at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:235)
>>> at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
>>> at oracle.soa.management.internal.ejb.impl.FacadeFinderBean_4vacyo_FacadeFinderBeanImpl_1036_WLStub.getAuditTrail(Unknown Source)
>>> at oracle.soa.management.internal.ejb.EJBLocatorImpl.getAuditTrail(EJBLocatorImpl.java:473)
>>> at oracle.sysman.emai.model.sca.share.composite.FlowTraceModel.setFloatraceModelInfo(FlowTraceModel.java:172)
>>> at oracle.sysman.emai.model.sca.share.composite.FlowTraceModel.initialize(FlowTraceModel.java:80)
>>> at oracle.sysman.emai.model.sca.EMEntityModel._initializeEntityData(EMEntityModel.java:29)
>>> at oracle.sysman.emai.model.sca.common.SCAEntityObject.initializeSCAData(SCAEntityObject.java:125)
>>> at oracle.sysman.emai.model.sca.SCAObject.initializeData(SCAObject.java:66)
>>> at oracle.sysman.core.model.util.ModelUtil$EMObjectResetter.initOrResetEMObject(ModelUtil.java:319)
>>> at oracle.sysman.core.model.util.ModelUtil$EMObjectResetter.access$000(ModelUtil.java:280)
>>> at oracle.sysman.core.model.util.ModelUtil.initializeMBEMObjects(ModelUtil.java:231)
>>> at oracle.sysman.core.model.util.ModelUtil.initializeAllEMObjects(ModelUtil.java:131)
>>> at oracle.sysman.core.model.util.ModelUtil.initializeAllEMObjects(ModelUtil.java:102)
>>> at oracle.sysman.emSDK.adfext.ctlr.EMPagePhaseListener.doPrePrepareModel(EMPagePhaseListener.java:869)
>>> at oracle.sysman.emSDK.adfext.ctlr.EMPagePhaseListener.beforePhase(EMPagePhaseListener.java:795)
>>> at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.beforePhase(ADFLifecycleImpl.java:552)
>>> at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchBeforeEvent(LifecycleImpl.java:100)
>>> at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:192)
>>> at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$400(ADFPhaseListener.java:23)
>>> at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:238)
>>> at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:276)
>>> at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:77)
>>> at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:54)
>>> at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:472)
>>> at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
>>> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
>>> at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
>>> at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
>>> at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
>>> at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
>>> at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:166)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
>>> at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
>>> at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
>>> at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
>>> at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
>>> at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
>>> at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
>>> at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
>>> at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
>>> at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
>>> at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
>>> at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
>>> at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:183)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
>>> at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
>>> at oracle.sysman.core.model.targetauth.EMLangPrefFilter.doFilter(EMLangPrefFilter.java:158)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
>>> at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
>>> at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
>>> at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
>>> at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
>>> at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
>>> at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
>>> at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
>>> at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
>>> at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
>>> at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
>>> ... 9 moreHi Manish,
It seems that you are using a custom security provider and the weblogic server is not able to find the class / jar file that contains the class.
java.lang.ClassNotFoundException: Failed to load class com.msl.security.providers.SessionPrincipal]
Make sure you have all the required jar files in the server classpath.
You can use the JarScan utility to find the jar that contains the class.
Refer the below link regarding the jarScan.
http://weblogic-wonders.com/weblogic/2011/01/26/finding-jar-files-using-jarscan/
Regards,
Anandraj
http://weblogic-wonders.com -
DVM lookup failing in soa 11g (11.1.1.3)
Hi
I have a strange problem. my dvm lookup fails in 11g if it does not has exact 1:1 mapping in the DVM. The same code is working in 10g fine.
In 10g:
-for '' (null) as source-value the dvm lookup function returns the default value
orcl:lookup-dvm('LANGUAGECODE','EBIZ','','RETAIL','DEFAULT')_
-for multiple values for COMMON column returns the correct value 'GB'
orcl:lookup-dvm('ADDRESSCOUNTRYID','COMMON','United Kingdom','RETAIL','DEFAULT')_
In 11g(PS2):
-for '' value the dvm lookup function
dvm:lookupValue("oramds:/apps/AIAMetaData/dvm/LANGUAGECODE.dvm","EBIZ","","RETAIL","")_
Error:
Error invoking 'lookupValue':'oracle.tip.dvm.exception.DVMException: *The source column "EBIZ" has already multiple occurences of source value "" in dvm "oramds:/apps/AIAMetaData/dvm/LANGUAGE_CODE.dvm".* Please ensure the source value is unique for a given source column.'.
-for COMMON multiple values
_dvm:lookupValue("oramds:/apps/AIAMetaData/dvm/'ADDRESS_COUNTRYID'.dvm","'COMMON'","","RETAIL","")_
Error:
Error invoking 'lookupValue':'oracle.tip.dvm.exception.DVMException: *The source column "COMMON" has already multiple occurences of source value "United Kingdom" in dvm "oramds:/apps/AIAMetaData/dvm/ADDRESS_COUNTRYID.dvm".* Please ensure the source value is unique for a given source column.'
Anyone faced this issue?Am i Hitting a bug on ps2?
Will Qualifiers help in any way?
-debashis
Edited by: debashis on 08-Apr-2011 02:53Thans for repsonse.
I understand the duplicate rows dont work in 11g and simply removing it would not make our use case work.
okay here is my requirement :
My DVM:
column A____value
============
1_____________A
2_____________B
3_____________C
1_____________D
I want to get both the values A,D when provided 1 as search value. But I understand that this is not possible as duplicate rows are not permitted in dvm.
However I could achieve it using a very slight simple workaround. as below
Modified the dvm as below
column A____value
============
1_____________A,D
2_____________B
3_____________C
Now I get A,D and in my code I do the parsing and seperating A and D by using some string functions to individually get A and D.
Just one compromise to make is -- users entering values in dvm should enter in a specific way ie, A,D,....so on...so that i can use logic accordingly in my code to break them again.
Hope this helps to any others looking for similar solution.
Thanks,
Sridhar. -
Hi,
Webtier Utilities 11.1.1.2 failed to install on Oracle Linux OEL 5.7 x86_64 (Linux vilje05 2.6.18-274.3.1.0.1.el5 #1 SMP Wed Sep 7 06:02:50 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux):
[oracle@vilje05 ~]$ cd install/Disk1/
[oracle@vilje05 Disk1]$ ./runInstaller -silent -response /home2/oracle/my_response.txt -invPtrLoc /home2/oracle/orainv.loc
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 80 MB. Actual 5192 MB Passed
Checking swap space: must be greater than 500 MB. Actual 2000 MB Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-10-19_03-27-57PM. Please wait ...[oracle@vilje05 Disk1]$ Lo
g: /home2/oracle/oraInventory/logs/install2011-10-19_03-27-57PM.log
Copyright (c) 1999, 2009, Oracle and/or its affiliates. All rights reserved.
Reading response file..
Expected result: One of enterprise-5.4,enterprise-4,enterprise-5,redhat-5.4,redhat-4,redhat-5,SuSE-10
Actual Result: enterprise-5
Check complete. The overall result of this check is: Passed
CertifiedVersions Check: Success.
Checking for binutils-2.17.50.0.6; found binutils-2.17.50.0.6-14.el5-x86_64. Passed
Checking for compat-libstdc++-33-3.2.3-x86_64; found compat-libstdc++-33-3.2.3-61-x86_64. Passed
Checking for compat-libstdc++-33-3.2.3-i386; found compat-libstdc++-33-3.2.3-61-i386. Passed
Checking for elfutils-libelf-0.125; found elfutils-libelf-0.137-3.el5-i386. Passed
Checking for elfutils-libelf-devel-0.125; found elfutils-libelf-devel-0.137-3.el5-x86_64. Passed
Checking for gcc-4.1.1; found gcc-4.1.2-51.el5-x86_64. Passed
Checking for gcc-c++-4.1.1; found gcc-c++-4.1.2-51.el5-x86_64. Passed
Checking for glibc-2.5-12-x86_64; found glibc-2.5-65-x86_64. Passed
Checking for glibc-2.5-12-i686; found glibc-2.5-65-i686. Passed
Checking for glibc-common-2.5; found glibc-common-2.5-65-x86_64. Passed
Checking for glibc-devel-2.5-x86_64; found glibc-devel-2.5-65-x86_64. Passed
Checking for glibc-devel-2.5-12-i386; found glibc-devel-2.5-65-i386. Passed
Checking for libaio-0.3.106-x86_64; found libaio-0.3.106-5-x86_64. Passed
Checking for libaio-0.3.106-i386; found libaio-0.3.106-5-i386. Passed
Checking for libaio-devel-0.3.106; found libaio-devel-0.3.106-5-x86_64. Passed
Checking for libgcc-4.1.1-x86_64; found libgcc-4.1.2-51.el5-x86_64. Passed
Checking for libgcc-4.1.1-i386; found libgcc-4.1.2-51.el5-i386. Passed
Checking for libgcc-4.1.1-i386; found libgcc-4.1.2-51.el5-i386. Passed
Checking for libstdc++-4.1.1-x86_64; found libstdc++-4.1.2-51.el5-x86_64. Passed
Checking for libstdc++-4.1.1-i386; found libstdc++-4.1.2-51.el5-i386. Passed
Checking for libstdc++-devel-4.1.1; found libstdc++-devel-4.1.2-51.el5-x86_64. Passed
Checking for make-3.81; found make-1:3.81-3.el5-x86_64. Passed
Checking for sysstat-7.0.0; found sysstat-7.0.2-11.el5-x86_64. Passed
Check complete. The overall result of this check is: Passed
Packages Check: Success.
Checking for VERSION=2.6.18; found VERSION=2.6.18-274.3.1.0.1.el5. Passed
Checking for hardnofiles=4096; found hardnofiles=16384. Passed
Checking for softnofiles=4096; found softnofiles=16384. Passed
Check complete. The overall result of this check is: Passed
Kernel Check: Success.
Expected result: ATLEAST=2.5-12
Actual Result: 2.5-65
Check complete. The overall result of this check is: Passed
GLIBC Check: Success.
Expected result: 1024MB
Actual Result: 11732MB
Check complete. The overall result of this check is: Passed
TotalMemory Check: Success.
Expected result: LD_ASSUME_KERNEL environment variable should not be set in the environment.
Actual Result: Variable Not set.
Check complete. The overall result of this check is: Passed
Check Env Variable Check: Success.
Verifying data......
Copying Files...
-----------20%----------40%----------60%----------80%--------100%
Applying Oneoff Patch...
[CONFIG] Launching Config Actions....
Started Configuration:Web Tier Configuration
[CONFIG]:Create and Start AS Instance (instance1)
[CONFIG] [Web Tier Configuration] [Create and Start AS Instance (instance1)]:Creating Oracle Instance directories...
[CONFIG] [Web Tier Configuration] [Create and Start AS Instance (instance1)]:Recording OPMN ports reservations...
[CONFIG] [Web Tier Configuration] [Create and Start AS Instance (instance1)]:Bootstrapping OPMN configuration files...
[CONFIG] [Web Tier Configuration] [Create and Start AS Instance (instance1)]:Instantiating opmnctl for direct usage...
[CONFIG] [Web Tier Configuration] [Create and Start AS Instance (instance1)]:Skipping instance registration
[CONFIG] SUCCESS:Create and Start AS Instance (instance1)
[CONFIG]:Create and Start OHS Component (ohs1)
[CONFIG] [Web Tier Configuration] [Create and Start OHS Component (ohs1)]:Creating empty component directories...
[CONFIG] [Web Tier Configuration] [Create and Start OHS Component (ohs1)]:Provisioning OHS files for ohs1
[CONFIG] [Web Tier Configuration] [Create and Start OHS Component (ohs1)]:Copying OHS files from ORACLE_HOME to ORACLE_INSTANCE locations
[CONFIG] [Web Tier Configuration] [Create and Start OHS Component (ohs1)]:Customizing httpd.conf
[CONFIG] [Web Tier Configuration] [Create and Start OHS Component (ohs1)]:Adding component's process control to OPMN...
[CONFIG] [Web Tier Configuration] [Create and Start OHS Component (ohs1)]:Skipping ohs1 component registration.
[CONFIG] FAILED:Create and Start OHS Component (ohs1)
Question Received:Failed to Start OHS Component
[CONFIG] [Web Tier Configuration]:Failed to Start OHS Component
[CONFIG] FAILED:Create and Start OHS Component (ohs1)
Configuration:Web Tier Configuration failed
Error while running Configuration.
The installation of Oracle AS Common Toplevel Component, Oracle WebTier and Utilities CD failed.
[oracle@vilje05 Disk1]$
[oracle@vilje05 ~]$ opmnctl stopall
XML parser init: error 54.
opmnctl stopall: error parsing /home2/oracle/bea_default/Oracle_WT1/instances/instance1/config/OPMN/opmn/opmn.xml
===
$ cat my_response.txt
[ENGINE]
#DO NOT CHANGE THIS.
Response File Version=1.0.0.0.0
[GENERIC]
#Set this to true if installation and configuration need to be done, all other required variables need to be provided. Variable "INSTALL AND CONFIGURE LATER TYPE" must be set to false if this is set to true as the variables are mutually exclusive
INSTALL AND CONFIGURE TYPE=true
#Set this to true if only Software only installation need to be done. If this is set to true then variable "INSTALL AND CONFIGURE TYPE" must be set to false, since the variables are mutually exclusive.
INSTALL AND CONFIGURE LATER TYPE=false
#Provide the Oracle Home location. The location has to be the immediate child under the specified Middleware Home location. The Oracle Home directory name may only contain alphanumeric , hyphen (-) , dot (.) and underscore (_) characters, and it must begin with an alphanumeric character. The total length has to be less than or equal to 128 characters. The location has to be an empty directory or a valid SOA Oracle Home.
ORACLE_HOME=/home2/oracle/bea_default/Oracle_WT1
#Provide existing Middleware Home location.
MIDDLEWARE_HOME=/home2/oracle/bea_default
#The name of the Oracle Instance. Instance name must begin with an alphabetic character, may only contain alphanumeric characters, or the underscore (_) or hyphen (-) characters and are 4 to 30 characters long.
INSTANCE_HOME=/home2/oracle/bea_default/Oracle_WT1/instances/instance1
#Provide the Oracle Instance location. The Oracle Instance directory name may only contain alphanumeric , hyphen (-) , dot (.) and underscore (_) characters, and it must begin with an alphanumeric character. The total length has to be less than or equal to 128 characters. The location has to be an empty or non existing directory.
INSTANCE_NAME=instance1
#If set to true, installer will auto assign ports
AUTOMATIC_PORT_DETECT=true
#This is required if "AUTOMATIC_PORT_DETECT" variable is set to false, absolute path of a staticports file location need to be provided with values for ports.\nThe template for staticports.ini can be found from Disk1/staget/Response directory of the shiphome.
STATICPORT INI FILE LOCATION=
#Provide the My Oracle Support Username. If you wish to ignore Oracle Configuration Manager configuration provide empty string for user name.
MYORACLESUPPORT_USERNAME=
#Provide the My Oracle Support Password
MYORACLESUPPORT_PASSWORD=<SECURE VALUE>
#Set this to true if you wish to decline the security updates. Setting this to true and providing empty string for My Oracle Support username will ignore the Oracle Configuration Manager configuration
DECLINE_SECURITY_UPDATES=true
#Set this to true if My Oracle Support Password is specified
SECURITY_UPDATES_VIA_MYORACLESUPPORT=false
#Provide the Proxy Host
PROXY_HOST=
#Provide the Proxy Port
PROXY_PORT=
#Provide the Proxy Username
PROXY_USER=
#Provide the Proxy Password
PROXY_PWD=<SECURE VALUE>
[SYSTEM]
#Set true to configure Oracle HTTP Server, else skip Oracle HTTP Server configuration
CONFIGURE_OHS=true
#Set true to configure Oracle Web Cache, else skip Oracle Web Cache configuration
CONFIGURE_WEBCACHE=false
#The Oracle HTTP Server (OHS) component name (required only if CONFIGURE_OHS is set to true). OHS component name must begin with an alphabetic character, may only contain alphanumeric characters, or the underscore (_) or hyphen (-) characters and are 4 to 30 characters long.
OHS_COMPONENT_NAME=ohs1
[APPLICATIONS]
[RELATIONSHIPS]
#If set to true, the instance and components will be registered with an existing weblogic server
ASSOCIATE_WEBTIER_WITH_DOMAIN=false
==
as you see all checks passed OK, but the whole install failed. What could be wrong? And what is XML parser init: error 54?
Edited by: 892273 on Oct 19, 2011 8:12 AMWhere's the WebLogic Server home???
Else you should attach this to an existing WebLogic domain
kind regards
Michel
Edited by: Michel Schildmeijer on 20-okt-2011 15:57 -
EJB lookup works in embedded OC4J but not stand-alone
I use JDeveloper 9.0.3.1 to develop a combined web & EJB application. The EJBs are deployed on a 9.0.3 iAS server on a different machine.
The EJB lookup is in a helper class that's called by the servlet. For EJB lookup, I use the class "com.evermind.server.rmi.RMIInitialContextFactory" as described by the OC4J servlet guide (http://download-uk.oracle.com/docs/cd/A97688_10/generic.903/a97680/develop.htm#1003973). So my code looks like this:
Hashtable map = new Hashtable();
map.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory");
map.put(Context.PROVIDER_URL, "ormi://server:port/app-business");
map.put(Context.SECURITY_PRINCIPAL, "admin");
map.put(Context.SECURITY_CREDENTIALS, "password");
map.put("dedicated.rmicontext", "true");
InitialContext context = new InitialContext(map);
Object thing = context.lookup("MyEjb");
EJBHome feedback = (EJBHome)PortableRemoteObject.narrow(thing, "com.company.ejb.MyEjbHome");
The last insert into the map (map.put("dedicated.rmicontext", "true");) wasn't mentioned neither in the servlet guide nor the EJB one. But without it, I'd always get some "domain is null" error.
Now this code above works flawlessly in the embedded OC4J of JDeveloper. But it always hangs in the "Object thing = context.lookup("MyEjb");" line when executed either in a stand-alone OC4J (the one from JDeveloper launched through the batch file in [JDeveloper directory]\jdev\bin\start_oc4j.bat) or in the OC4J in iAS.
Does anybody know why this happens or how to fix it? I know that there are other ways of EJB lookup in servlets but since we also have plain Java classes for testing purposes that access EJBs, this seemed like the simplest thing to do for both Java classes and servlets.I was referring to the java client case where this optoin is not required. In general for web clients one doesn't use the rmi initial context to find the bean. This is because the bean and the webclient are both packaged in the same application. One defines the ejb-ref in the web.xml for the bean and then looks it using the default initial context. Something like
Context ctx = new InitialCOntext();
ctx.lookup("bean ejb-ref-name");
However if you must use rmi for accessing the bean from the web client then the dedicated connection property is required.
For java clients you would setup the rmi context environment.
Since you are trying to use a common utility class for both java and webclient I would recommend that you look into packaging the java client as a j2ee application client. Basically in that case you would be able to define a ejb-ref in the aplication-client.xml and use the default initial context in code for both the cases.
Hope that helps
Dhiraj -
Agreement lookup failed as From trading partner cannot be identified
Hi,
I am working on custom document over HTTPS.
I configured B2B to send custom document over Generic Exchange(transport - HTTPS).
I enqueue the XML document with AQ header to IP_OUT_QUEUE. B2B is able to read the data from IP_OUT_QUEUE and invokes the client Webapplication.
I changed the IP_OUT_QUEUE to custom AQ. B2B is able to read data from custom AQ, but B2B throws "Trading partner agreement lookup failed as From trading partner cannot be identified"
b2b.log:
2010.02.15 at 13:03:44:470: Thread-19: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:run Thread start
2010.02.15 at 13:03:44:471: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize Exit
2010.02.15 at 13:03:44:497: Thread-22: B2B - (DEBUG)
Protocol = AQ
Version = null
Transport Header
aq.receiver.expiration:-1
aq.receiver.delay:0
aq.receiver.priority:1
aq.receiver.correlation:b2buser
2010.02.15 at 13:03:44:881: Thread-19: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:run initialize Enter
2010.02.15 at 13:03:44:907: Thread-19: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:run initialize B2BListen turned on, will listen on IP_OUT_QUEUE for messages
2010.02.15 at 13:03:44:921: Thread-19: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:run start listening on message
2010.02.15 at 13:03:45:069: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.AppInterfaceListener:onMessage calling processOutgoingMessage
2010.02.15 at 13:03:45:069: Thread-22: B2B - (INFORMATION) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage Enter
2010.02.15 at 13:03:45:070: Thread-22: B2B - (DEBUG) DBContext beginTransaction: Enter
2010.02.15 at 13:03:45:070: Thread-22: B2B - (DEBUG) DBContext beginTransaction: Transaction.begin()
2010.02.15 at 13:03:45:071: Thread-22: B2B - (DEBUG) DBContext beginTransaction: Leave
2010.02.15 at 13:03:45:076: Thread-22: B2B - (DEBUG) calling setFromPartyId() changing from null to TPName: null Type: null Value: null
2010.02.15 at 13:03:45:077: Thread-22: B2B - (DEBUG) calling setToPartyId() changing from null to TPName: null Type: null Value: null
2010.02.15 at 13:03:45:077: Thread-22: B2B - (DEBUG) calling setInitiatingPartyId() changing from null to TPName: null Type: null Value: null
2010.02.15 at 13:03:45:077: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage To TP Namenull
2010.02.15 at 13:03:45:078: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage From TP Namenull
2010.02.15 at 13:03:45:078: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage business action name: null
2010.02.15 at 13:03:45:079: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage doctype name: null
2010.02.15 at 13:03:45:079: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage doctype revision: null
2010.02.15 at 13:03:45:079: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage AppMsgIdnull
2010.02.15 at 13:03:45:094: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage ipmsg.get_MSG_TYPE = 1
2010.02.15 at 13:03:45:095: Thread-22: B2B - (DEBUG) calling setInitiatingPartyId() changing from TPName: null Type: null Value: null to TPName: null Type: null Value: null
2010.02.15 at 13:03:45:095: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage B2B Message ID is 0A4DBD67126D1BA2FC700000136A1AD0
2010.02.15 at 13:03:45:099: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage RefTo B2B Message ID is null
2010.02.15 at 13:03:45:100: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage isSignalMsg() == false; call outgoingTPA
2010.02.15 at 13:03:45:100: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processOutgoingTPA() Begin TPA Processing..
2010.02.15 at 13:03:45:100: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() PARTIES (before calling processParty) :
initial : null
from : TPName: null Type: null Value: null
to : TPName: null Type: null Value: null
final : null
initiating : TPName: null Type: null Value: null
2010.02.15 at 13:03:45:101: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() direction is outgoing
2010.02.15 at 13:03:45:102: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() calling processparty with : TPName: null Type: null Value: null
2010.02.15 at 13:03:45:102: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.RepoDataAccessor:processParty() Begin..
2010.02.15 at 13:03:45:112: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() after calling processparty with : TPName: Acme Type: null Value: null
2010.02.15 at 13:03:45:112: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() PARTIES (after calling processParty):
initial : null
from : TPName: Acme Type: null Value: null
to : TPName: null Type: null Value: null
final : null
initiating : TPName: Acme Type: null Value: null
2010.02.15 at 13:03:45:113: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() docTypeName: null docTypeRevision: null
2010.02.15 at 13:03:45:118: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() actionName: null actionRevision: null
2010.02.15 at 13:03:45:119: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() Set actionRevision in MessageInfo: null
2010.02.15 at 13:03:45:119: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() Obtain DocType using actionName and actionRevision.
2010.02.15 at 13:03:45:124: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.RepoDataAccessor:getCollaborationDetails() Begin.. Activity Name : null Activity Version: null
2010.02.15 at 13:03:45:125: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() eventName:<null>
2010.02.15 at 13:03:45:125: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() messageType:1
2010.02.15 at 13:03:45:126: Thread-22: B2B - (DEBUG) calling setInitiatingPartyId() changing from TPName: Acme Type: null Value: null to TPName: Acme Type: null Value: null
2010.02.15 at 13:03:45:127: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() cpaID=null
2010.02.15 at 13:03:45:127: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() TPA Name : null
2010.02.15 at 13:03:45:128: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAProcessor:processTPA() TPA Name : null
2010.02.15 at 13:03:45:128: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAIdentifier:identifyTPA() Begin..
2010.02.15 at 13:03:45:129: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.tpa.TPAIdentifier:identifyTPA()
From Party -> null-null-Acme-null To Party -> null-null-null-null Business Action name -> null
2010.02.15 at 13:03:45:130: Thread-22: B2B - (ERROR) Error -: AIP-50548: Trading partner agreement lookup failed as From trading partner cannot be identified
at oracle.tip.adapter.b2b.tpa.TPAIdentifier.identifyTPA(TPAIdentifier.java:230)
at oracle.tip.adapter.b2b.tpa.TPAProcessor.processTPA(TPAProcessor.java:598)
at oracle.tip.adapter.b2b.tpa.TPAProcessor.processOutgoingTPA(TPAProcessor.java:222)
at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1074)
at oracle.tip.adapter.b2b.transport.AppInterfaceListener.onMessage(AppInterfaceListener.java:141)
at oracle.tip.transport.basic.aq.AQDequeuer.dequeue(AQDequeuer.java:348)
at oracle.tip.transport.basic.aq.AQDequeuer.run(AQDequeuer.java:211)
2010.02.15 at 13:03:45:131: Thread-22: B2B - (ERROR) Error -: AIP-50548: Trading partner agreement lookup failed as From trading partner cannot be identified
at oracle.tip.adapter.b2b.tpa.TPAIdentifier.identifyTPA(TPAIdentifier.java:230)
at oracle.tip.adapter.b2b.tpa.TPAProcessor.processTPA(TPAProcessor.java:598)
at oracle.tip.adapter.b2b.tpa.TPAProcessor.processOutgoingTPA(TPAProcessor.java:222)
at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1074)
at oracle.tip.adapter.b2b.transport.AppInterfaceListener.onMessage(AppInterfaceListener.java:141)
at oracle.tip.transport.basic.aq.AQDequeuer.dequeue(AQDequeuer.java:348)
at oracle.tip.transport.basic.aq.AQDequeuer.run(AQDequeuer.java:211)
2010.02.15 at 13:03:45:131: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage B2BDomainException
2010.02.15 at 13:03:45:132: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleOutboundException Updating Error Message: Error -: AIP-50548: Trading partner agreement lookup failed as From trading partner cannot be identified
2010.02.15 at 13:03:45:132: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Enter
2010.02.15 at 13:03:45:209: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Wire message not found.
2010.02.15 at 13:03:45:211: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Creating new business message
2010.02.15 at 13:03:45:212: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertMsgTblRow Enter
2010.02.15 at 13:03:45:353: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertMsgTblRow toparty name null
2010.02.15 at 13:03:45:354: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertMsgTblRow toparty type and value nullnull
2010.02.15 at 13:03:45:367: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertMsgTblRow BusinessAction for the given name null null
2010.02.15 at 13:03:45:397: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Creating new b2berror object
2010.02.15 at 13:03:45:398: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Updating business message error information
2010.02.15 at 13:03:45:471: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Exit
2010.02.15 at 13:03:45:472: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleOutboundException Updating Native Event Tbl Row
2010.02.15 at 13:03:45:472: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:updateNativeEvtTblRow Enter
2010.02.15 at 13:03:45:476: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:
** DbAccess:updateNativeEvtTblRow:tip_wireMsg wiremsg not found
2010.02.15 at 13:03:45:477: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleOutboundException notifying App
2010.02.15 at 13:03:45:477: Thread-22: B2B - (DEBUG) Engine:notifyApp Enter
2010.02.15 at 13:03:45:485: Thread-22: B2B - (DEBUG) notifyApp:notifyApp Enqueue the ip exception message:
<Exception xmlns="http://integration.oracle.com/B2B/Exception" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<correlationId>null</correlationId>
<b2bMessageId>0A4DBD67126D1BA2FC700000136A1AD0</b2bMessageId>
<errorCode>AIP-50548</errorCode>
<errorText>Trading partner agreement lookup failed as From trading partner cannot be identified</errorText>
<errorDescription>
<![CDATA[Machine Info: (dgda21a)
Description: Make sure the trading partner has name, type, and value information
StackTrace:
Error -: AIP-50548: Trading partner agreement lookup failed as From trading partner cannot be identified
at oracle.tip.adapter.b2b.tpa.TPAIdentifier.identifyTPA(TPAIdentifier.java:230)
at oracle.tip.adapter.b2b.tpa.TPAProcessor.processTPA(TPAProcessor.java:598)
at oracle.tip.adapter.b2b.tpa.TPAProcessor.processOutgoingTPA(TPAProcessor.java:222)
at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1074)
at oracle.tip.adapter.b2b.transport.AppInterfaceListener.onMessage(AppInterfaceListener.java:141)
at oracle.tip.transport.basic.aq.AQDequeuer.dequeue(AQDequeuer.java:348)
at oracle.tip.transport.basic.aq.AQDequeuer.run(AQDequeuer.java:211)
]]>
</errorDescription>
<errorSeverity>2</errorSeverity>
</Exception>
2010.02.15 at 13:03:45:512: Thread-22: B2B - (DEBUG) Engine:notifyApp Exit
2010.02.15 at 13:03:45:513: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleOutboundException Updated the Error Message Successfully: Error -: AIP-50548: Trading partner agreement lookup failed as From trading partner cannot be identified
2010.02.15 at 13:03:45:513: Thread-22: B2B - (DEBUG) DBContext commit: Enter
2010.02.15 at 13:03:45:516: Thread-22: B2B - (DEBUG) DBContext commit: Transaction.commit()
2010.02.15 at 13:03:45:516: Thread-22: B2B - (DEBUG) DBContext commit: Leave
Kindly help me to resolve this issue.hi Anuj,
I am enqueuing from BPEL process. I have set the AQ header.
<b2bMsgHeader><Header xmlns="http://xmlns.oracle.com/pcbpel/adapter/aq/publishB2BMessage/">
<QueueHeader/>
<PayloadHeader>
<MSG_ID xmlns="">2SY16SY_TEST_FEB15_07E01null2010021513270041</MSG_ID>
<INREPLYTO_MSG_ID xmlns=""/>
<FROM_PARTY xmlns="">Acme</FROM_PARTY>
<TO_PARTY xmlns="">GlobalChips</TO_PARTY>
<ACTION_NAME xmlns="">ProcessBusiness</ACTION_NAME>
<DOCTYPE_NAME xmlns="">DocType</DOCTYPE_NAME>
<DOCTYPE_REVISION xmlns="">1.0</DOCTYPE_REVISION>
<MSG_TYPE xmlns="">1</MSG_TYPE>
<PAYLOAD xmlns="">XML payload</PAYLOAD>
<ATTACHMENT xmlns=""/>
</PayloadHeader>
</Header>
</b2bMsgHeader> -
Trading partner agreement lookup failed as From trading partner cannot be i
Hi,
I am sending 850 EDI XML to our Penske trading partner, Its throwing below error. Could anyone helpme how to resolve this issue. Please do the needful.
our sender id is EMR and receiver id is Penske( I am also attaching a file which i am processing)
Machine Info: (essapt020-u009.emrsn.com)
Description: Make sure the trading partner has name, type, and value information
StackTrace:
Error -: AIP-50548: Trading partner agreement lookup failed as From trading partner cannot be identified
at oracle.tip.adapter.b2b.tpa.TPAIdentifier.identifyTPA(TPAIdentifier.java:199)
at oracle.tip.adapter.b2b.tpa.TPAProcessor.processTPA(TPAProcessor.java:589)
at oracle.tip.adapter.b2b.tpa.TPAProcessor.processOutgoingTPA(TPAProcessor.java:221)
at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1061)
at oracle.tip.adapter.b2b.transport.AppInterfaceListener.onMessage(AppInterfaceListener.java:141)
at oracle.tip.transport.basic.FileSourceMonitor.processMessages(FileSourceMonitor.java:903)
at oracle.tip.transport.basic.FileSourceMonitor.run(FileSourceMonitor.java:317)
File which i processed
<?xml version="1.0" ?>
- <Transaction-850 xmlns="urn:oracle:integration:b2b:BD5A9C92A91F474292233E610E5258F9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" XDataVersion="1.0" Standard="X12" Version="V4010" CreatedDate="2009-09-14T06:20:48" CreatedBy="ECXEngine_837" GUID="{3A6795B0-F6A0-DE11-B354-00144F86C7D4}">
- <Internal-Properties>
- <Data-Structure Name="Interchange">
<Lookup Name="InterchangeSenderQual">ZZ</Lookup>
<Lookup Name="InterchangeSenderID">EMR</Lookup>
<Lookup Name="InterchangeReceiverQual">ZZ</Lookup>
<Lookup Name="InterchangeReceiverID">Penske</Lookup>
<Lookup Name="InterchangeControlVersion">00401</Lookup>
<Lookup Name="Standard">X12</Lookup>
<Property Name="InterchangeAuthorizationInfoQual">00</Property>
<Property Name="InterchangeAuthorizationInfo" />
<Property Name="InterchangeSecurityInfoQual">00</Property>
<Property Name="InterchangeSecurityInfo" />
<Property Name="InterchangeSenderQual">ZZ</Property>
<Property Name="InterchangeSenderID">EMR</Property>
<Property Name="InterchangeReceiverQual">ZZ</Property>
<Property Name="InterchangeReceiverID">Penske</Property>
<Property Name="InterchangeDate">090909</Property>
<Property Name="InterchangeTime">1419</Property>
<Property Name="InterchangeControlStandard_RepeatingSeparator">U</Property>
<Property Name="InterchangeControlVersion">00401</Property>
<Property Name="InterchangeControlNumber">000085390</Property>
<Property Name="InterchangeAckRequested">0</Property>
<Property Name="InterchangeUsageIndicator">P</Property>
<Property Name="InterchangeComponentElementSep">0x3e</Property>
<Property Name="DecimalSeparator" />
<Property Name="ElementDelimiter">0x2a</Property>
<Property Name="ReleaseCharacter" />
<Property Name="RepeatingSeparator" />
<Property Name="SegmentDelimiter">0x7e</Property>
<Property Name="SubelementDelimiter">0x3e</Property>
<Property Name="InterchangeChildCount">1</Property>
<Property Name="InterchangeTrailerControlNumber">000085390</Property>
- <Data-Structure Name="Group">
<Lookup Name="GroupSenderID">EMR</Lookup>
<Lookup Name="GroupReceiverID">Penske</Lookup>
<Lookup Name="GroupVersionNumber">004010</Lookup>
<Property Name="GroupID">PO</Property>
<Property Name="GroupSenderID">EMR</Property>
<Property Name="GroupReceiverID">Penske</Property>
<Property Name="GroupDate">20090909</Property>
<Property Name="GroupTime">1419</Property>
<Property Name="GroupControlNumber">85364</Property>
<Property Name="GroupAgencyCode">X</Property>
<Property Name="GroupVersionNumber">004010</Property>
<Property Name="GroupChildCount">1</Property>
<Property Name="GroupTrailerControlNumber">85364</Property>
- <Data-Structure Name="Transaction">
<Lookup Name="TransactionID">850</Lookup>
<Property Name="TransactionID">850</Property>
<Property Name="TransactionControlNumber">0001</Property>
<Property Name="TransactionImplementationReference" />
<Property Name="TransactionChildCount">24</Property>
<Property Name="TransactionTrailerControlNumber">0001</Property>
</Data-Structure>
</Data-Structure>
</Data-Structure>
</Internal-Properties>
- <Segment-ST>
<Element-143>850</Element-143>
<Element-329>0001</Element-329>
</Segment-ST>
- <Segment-BEG>
<Element-353>00</Element-353>
<Element-92>SA</Element-92>
<Element-324>16010055985</Element-324>
<Element-328 xsi:nil="true" />
<Element-373>20090909</Element-373>
<Element-367 xsi:nil="true" />
<Element-587>AC</Element-587>
<Element-1019 xsi:nil="true" />
<Element-1166 xsi:nil="true" />
<Element-1232 xsi:nil="true" />
<Element-786>03</Element-786>
</Segment-BEG>
- <Segment-CUR>
<Element-98>2L</Element-98>
<Element-100>USD</Element-100>
</Segment-CUR>
- <Segment-REF>
<Element-128>06</Element-128>
<Element-127 xsi:nil="true" />
<Element-352>ALICE.EMRSN.COM:oracle.apps.po.event.xmlpo:458153-325924</Element-352>
</Segment-REF>
- <Segment-FOB>
<Element-146>CC</Element-146>
<Element-309>ZZ</Element-309>
<Element-352>UCC FOB DEST COL</Element-352>
<Element-334 xsi:nil="true" />
<Element-335 xsi:nil="true" />
<Element-309_1>ZZ</Element-309_1>
<Element-352_1>FOB Shipping Point</Element-352_1>
</Segment-FOB>
- <Segment-ITD>
<Element-336 xsi:nil="true" />
<Element-333 xsi:nil="true" />
<Element-338 xsi:nil="true" />
<Element-370 xsi:nil="true" />
<Element-351 xsi:nil="true" />
<Element-446 xsi:nil="true" />
<Element-386 xsi:nil="true" />
<Element-362 xsi:nil="true" />
<Element-388 xsi:nil="true" />
<Element-389 xsi:nil="true" />
<Element-342 xsi:nil="true" />
<Element-352>NET75 EOM</Element-352>
</Segment-ITD>
- <Loop-N1>
- <Segment-N1>
<Element-98>VN</Element-98>
<Element-93>XPEDX</Element-93>
<Element-66>US</Element-66>
<Element-67>160000511</Element-67>
</Segment-N1>
- <Segment-N3>
<Element-166>2099 CORPORATE 44 DRIVE</Element-166>
</Segment-N3>
- <Segment-N4>
<Element-19>FENTON</Element-19>
<Element-156>MO</Element-156>
<Element-116>63026</Element-116>
<Element-26>US</Element-26>
</Segment-N4>
</Loop-N1>
- <Loop-N1>
- <Segment-N1>
<Element-98>BT</Element-98>
<Element-93>EMC OU CIM</Element-93>
</Segment-N1>
- <Segment-N3>
<Element-166>Emerson Motor Company,</Element-166>
<Element-166_1>a Division of Emerson Electric Co. PO BOX 4147</Element-166_1>
</Segment-N3>
- <Segment-N4>
<Element-19>Saint Louis</Element-19>
<Element-156>MO</Element-156>
<Element-116>63136</Element-116>
<Element-26>US</Element-26>
</Segment-N4>
</Loop-N1>
- <Loop-N1>
- <Segment-N1>
<Element-98>SO</Element-98>
<Element-93>EMC OU CIM</Element-93>
</Segment-N1>
- <Segment-N3>
<Element-166>8100 West Florissant Ave</Element-166>
<Element-166_1>PO Box 3946</Element-166_1>
</Segment-N3>
- <Segment-N4>
<Element-19>Saint Louis</Element-19>
<Element-156>MO</Element-156>
<Element-116>63136</Element-116>
<Element-26>US</Element-26>
</Segment-N4>
</Loop-N1>
- <Loop-N1>
- <Segment-N1>
<Element-98>CA</Element-98>
<Element-93>SEE EMERSON ROUTING</Element-93>
</Segment-N1>
</Loop-N1>
- <Loop-PO1>
- <Segment-PO1>
<Element-350>1</Element-350>
<Element-330>4800</Element-330>
<Element-355_1>EA</Element-355_1>
<Element-212>116</Element-212>
<Element-639 xsi:nil="true" />
<Element-235_1 xsi:nil="true" />
<Element-234_1 xsi:nil="true" />
<Element-235_2>SW</Element-235_2>
<Element-234_2>P062155530000</Element-234_2>
</Segment-PO1>
- <Loop-PID>
- <Segment-PID>
<Element-349>F</Element-349>
<Element-750 xsi:nil="true" />
<Element-559 xsi:nil="true" />
<Element-751 xsi:nil="true" />
<Element-352>PAD (BOX)</Element-352>
</Segment-PID>
</Loop-PID>
- <Loop-N1_2>
- <Segment-N1>
<Element-98>ST</Element-98>
<Element-93>CIM IO Plant CMD</Element-93>
<Element-66>FA</Element-66>
<Element-67>INTERNALC01</Element-67>
</Segment-N1>
- <Segment-N3>
<Element-166>Boul Carlos Salinas de Gortari</Element-166>
<Element-166_1>Kilometro 9.7</Element-166_1>
</Segment-N3>
- <Segment-N4>
<Element-19>Apodaca</Element-19>
<Element-156>NL</Element-156>
<Element-116>66600</Element-116>
<Element-26>MX</Element-26>
</Segment-N4>
- <Segment-SCH>
<Element-380_2>4800</Element-380_2>
<Element-355>EA</Element-355>
<Element-98_1 xsi:nil="true" />
<Element-93 xsi:nil="true" />
<Element-374_5>112</Element-374_5>
<Element-373>20090910</Element-373>
<Element-337 xsi:nil="true" />
<Element-374 xsi:nil="true" />
<Element-373_1 xsi:nil="true" />
<Element-337_1 xsi:nil="true" />
<Element-326 xsi:nil="true" />
<Element-350>1</Element-350>
</Segment-SCH>
</Loop-N1_2>
</Loop-PO1>
- <Loop-CTT>
- <Segment-CTT>
<Element-354>1</Element-354>
</Segment-CTT>
</Loop-CTT>
- <Segment-SE>
<Element-96>24</Element-96>
<Element-329>0001</Element-329>
</Segment-SE>
</Transaction-850>Hi Srinivas,
I am in dilemaaa whether i need to take a EDI x12 over internet and EDI x12 over genric exchange.I think this is something which you should discuss with your TP and as per the availability and requirement a decision should be made.
If you are using FTP protocol in internal delivery channel, then you need to follow the file naming convention to provide B2B required information to identify the TP and transaction. For this please refer -
http://www.b2bgurus.com/search/label/Generic%20File
To know more about TP identification in EDI, please refer -
http://www.b2bgurus.com/2007/08/trading-partner-identification-in-edi.html
Regards,
Anuj -
Trading partner agreement lookup failed as From trading partner cannotbeide
Machine Info: (essapt020-u009.emrsn.com)
Description: Make sure the trading partner has name, type, and value information
StackTrace:
Error -: AIP-50548: Trading partner agreement lookup failed as From trading partner cannot be identified
at oracle.tip.adapter.b2b.tpa.TPAIdentifier.identifyTPA(TPAIdentifier.java:199)
at oracle.tip.adapter.b2b.tpa.TPAProcessor.processTPA(TPAProcessor.java:589)
at oracle.tip.adapter.b2b.tpa.TPAProcessor.processOutgoingTPA(TPAProcessor.java:221)
at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1061)
at oracle.tip.adapter.b2b.transport.AppInterfaceListener.onMessage(AppInterfaceListener.java:141)
at oracle.tip.transport.basic.FileSourceMonitor.processMessages(FileSourceMonitor.java:903)
at oracle.tip.transport.basic.FileSourceMonitor.run(FileSourceMonitor.java:317)
I am getting an above error, while procssing data to our trading partner
regards
srinivasHi Srinivas,
I think you have one more thread opened for the same -
Trading partner agreement lookup failed as From trading partner cannot be i
Anyways, as I mentioned earlier in above thread, please follow proper file naming convention to allow B2B to identify the Trading Partner.
Regards,
Anuj -
EJB lookup returned stub from a different classloader.
I've written an EJB for doing authenitcation. This EJB is accessed by an security-mbean (BEA's login module).
- The EJB is deployed in an EAR.
- The EJB-stubs are extracted and is included as part of the MBEAN Jar.
When I hit a webapp causing the EJB lookup to occur, the stub object returned is created by the webapp's classloader. This cause a ClassCastException when trying to cast the returned home interface into the home interface of the MBEAN's classloader.
Note that all this is happening on the same BEA server running WLS8.1.
I don't want to put the EJB jar on the system classpath so I can redeploy the EJB, the Application's EAR and the MBEAN to a cluster.
-alexRobert Greig <[email protected]> wrote:
Thanks for responding to my question, which newsgroup is more appropriate for
my line of question?
But before I move this thread, I would like to add:
I've already handled the recursion problem on top of the ejb-lookup before JNDI
becomes avaliable (while doing server startup) problem.
The advantage with the EJB model is this. By changing the host/port configuration,
I can switch between a local-authentication server or a remote provide authentication
server network configuration.
If I were to include the necessary classes in the mbean JAR from our application,
there maybe resources issues since I now have 2 classloaders loading my server-portion
of classes. Not sure how that will workout with resources and all. This model
has the disadvantage of any classes I have in the mbean JAR will require updates
outside my EAR. This wroks against the EAR deployment model.
-alex
Alex Cheung wrote:
I've written an EJB for doing authenitcation. This EJB is accessedby an security-mbean (BEA's login module).
- The EJB is deployed in an EAR.
- The EJB-stubs are extracted and is included as part of the MBEANJar.
This isn't a good approach. You are pretty much stuffed mainly for the
reasons you outline.
Also note that if you continue to go down this road you will have to
handle the potential recursion (i.e accessing an EJB will invoke a
security call to your provider!).
Why do you need to implement this as an EJB? The main advantages of EJBs
are security and container managed transactions neither of which is
relevant here surely?
Robert -
Management console fails connecting to Management server.
I have installed Oracle 9.2 on Red Hat Advanced Server V2.1.
Also installed Management server and client software on the system.
Started everything up: oemctl start oms, agentctl start agent, apachectl start...
Run Manager Console on Linux machine (i.e. locally)
Runs successfully - connecting stand-alone
Runs successfully - connecting to management sever
Installed client software on a Windows NT PC.
Runs successfully - connecting stand-alone
FAILS - connecting to Management server
On another NT PC, try running web interface to Management server
FAILS - Same error as when using thick client.
Failure is the same in both cases: The exception (java.lang.NullPointerException) occured.
Failure of both of these suggested a server issue...
Don't know where to find management server logs?
Looking at $ORACLE_HOME/Apache/Apache/logs/error_log seems unable to find files, e.g.:
[Mon Nov 25 10:01:46 2002] [error] [client 192.0.0.120] File does not exist: /u0
1/app/oracle/product/9.2.0/oem_webstage/readme/emreadme.htm
[Mon Nov 25 10:01:57 2002] [error] [client 192.0.0.120] File does not exist: /u0
1/app/oracle/product/9.2.0/oem_webstage/java/awt/KeyboardFocusManager.class
[Mon Nov 25 10:02:11 2002] [error] [client 192.0.0.120] File does not exist: /u0
1/app/oracle/product/9.2.0/oem_webstage/oracle/ewt/alert/resource/AlertBundle_en
_GB.class
[Mon Nov 25 10:02:11 2002] [error] [client 192.0.0.120] File does not exist: /u0
1/app/oracle/product/9.2.0/oem_webstage/oracle/ewt/alert/resource/AlertBundle_en
_GB.properties
[Mon Nov 25 10:02:15 2002] [error] [client 192.0.0.120] File does not exist: /u0
1/app/oracle/product/9.2.0/oem_webstage/oracle/sysman/vt/console/app/ConsoleBean
Info.class
[Mon Nov 25 10:02:15 2002] [error] [client 192.0.0.120] File does not exist: /u0
1/app/oracle/product/9.2.0/oem_webstage/sun/beans/infos/ConsoleBeanInfo.class
[Mon Nov 25 10:02:15 2002] [error] [client 192.0.0.120] File does not exist: /u0
1/app/oracle/product/9.2.0/oem_webstage/oracle/sysman/emSDK/client/appContainer/
WebApplicationBeanInfo.class
I have tried reinstalling Oracle website, however this made no difference.Can you ping the server which is running OEM from the client NT machine?
Are you trying to connect using DNS or IP?
Verify that this works first.
Maybe you are looking for
-
How do I use earphones with iphone
I am a grandmother who doesn't use all the apps that are on the iphone. I am planning a nice vacation where I will be flying quite a lot. Please tell me how to use noise cancelling earphones with my iphone. If I download an audio book, will I be able
-
Dynamic Selection Screen based on database seletion
Hi, Gurus: I just have simple selection screen with a few radio buttons However, I would like the radio button show up based on database table criterias: e.g. if there is no data in table1, the radio button 1 will not showing up. I have used "SELECT
-
XSL used on XML validated against XSD
Transforming XSD validated XMLType Data Re: example XSL in Chapter 6 that transforms XML with associated XSD schema definition (Oracle 9i XML Database Developer's Guide) I noted that this XSL uses only the "general" node identification functions (e.g
-
"BindException: Address already in use" error all the time!
I made a simple program that streams lines of text across the network/internet and a simple client program to display that text. The problem is, regardless of what port I choose, I always get this exception on the server's side: C:\Users\Nathan\Deskt
-
Safari 4.0.3 can't log into FaceBook
Since I updated the Safari software, I've had a problem logging into my Facebook account. Now it won't let me at all. It simply keeps sending me back to the original login page. I've tossed cache and cookies and keep trying with no luck. Firefox has