Hostname lookup failing
Any idea why this won't work:"jdbc:oracle:thin:@my.host.net:1521:mydb" when "jdbc:oracle:thin:@192.168.0.7:1521:mydb" does work and my.host.net is set in the /etc/hosts files as 192.168.0.7 and I can ping and traceroute my.host.net. Two weeks ago all this code did work and now I am a loss for words.
Hi
Try to check TNSPING service_name, if it doesn't work check TNSNAMES.ORA and check if this name is in it and match the correct IP.
the /etc/names just change an IP name to it's address, but with Oracle you must first decode the service, then in TNSNAMES.ORA you specift the protocol (TCP,TCPS...) and the name (DNS) associted.
A10!
Similar Messages
-
I am running Oracle 8.17 on a Win2000 PC and my App server on a linux box.
My problem is when connecting the following wont work:
"jdbc:oracle:thin:@my.host.net:1521:mydb"
while
"jdbc:oracle:thin:@192.168.0.7:1521:mydb"
does work
I do have my.host.net set in the /etc/hosts file as 192.168.0.7 and I can ping and traceroute to my.host.net.
Two weeks ago all this code did work and now I am a loss for words.Update: I used hstrerror() and extracted the error message for the corresponding error when res_init() failed. hstrerror() returned 'Hostname lookup failure' error. Any inputs?
-
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 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. -
Dear Experts,
I am stuck on the error :*' ERROR [HY000] ERROR: fmgr_info: function 0: cache lookup failed'* while calling a stored procedure(SP).
The function in the SP run successfully but while calling the same SP from call function then it is executing this type of error.
Please suggest
Best Regards,
Manishhi guys,
sorry where to post this issue.But i am trying this in netezza.
dear p0428,
my calling function is
call AEI_OPS_MD_STEP_CHECK_PROC(1,1,1,1)
and the called function is :
CREATE OR REPLACE PROCEDURE AEI_OPS_MD_STEP_CHECK_PROC(INTEGER, INTEGER, INTEGER, INTEGER)
RETURNS integer
LANGUAGE NZPLSQL AS
BEGIN_PROC
DECLARE
pAPP_ID ALIAS FOR $1;
pSUB_ID ALIAS FOR $2;
pJOB_ID ALIAS FOR $3;
pSTEP_ID ALIAS FOR $4;
STATUS_CHECK INTEGER;
BEGIN
SELECT CASE DSL.PROC_STATUS
WHEN 0 THEN 0
WHEN 1 THEN 1
WHEN 2 THEN 1
ELSE 3 END
INTO STATUS_CHECK
FROM DEVELOPER.AEI_APPLICATION DA
JOIN DEVELOPER.AEI_SUBJECT_AREA DSA
ON DA.APPLICATION_ID = DSA.APPLICATION_ID
AND DA.APPLICATION_ID = pAPP_ID
AND DSA.SUBJECT_AREA_ID = pSUB_ID
JOIN DEVELOPER.AEI_JOB DJ
ON DSA.APPLICATION_ID = DJ.APPLICATION_ID
AND DSA.SUBJECT_AREA_ID = DJ.SUBJECT_AREA_ID
AND DJ.JOB_ID = pJOB_ID
JOIN DEVELOPER.AEI_STEP DS
ON DJ.APPLICATION_ID = DS.APPLICATION_ID
AND DJ.SUBJECT_AREA_ID = DS.SUBJECT_AREA_ID
AND DJ.JOB_ID = DS.JOB_ID
AND DS.STEP_ID = pSTEP_ID
LEFT OUTER JOIN DEVELOPER.AEI_STEP_LOG DSL
ON DS.APPLICATION_ID = DSL.APPLICATION_ID
AND DS.SUBJECT_AREA_ID = DSL.SUBJECT_AREA_ID
AND DS.JOB_ID = DSL.JOB_ID
AND DS.STEP_ID = DSL.STEP_ID
AND DA.CURRENT_LOG_ID = DSL.LOG_ID
Return 1;
END;
END_PROC;
where DA,DSA,DJ,DSL are the tables
Help is hugely appreciable
manish -
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 -
Lookup failed: javax.jnlp.UnavailableServiceException: uninitialized
When U deployed *.war file to App Server and I call JNLP to launch program and display its on Java Web Start. But If i call as below
System.out.println("Before Step1");
System.out.println(ServiceManager.getServiceNames());
basicService = (BasicService)
ServiceManager.lookup("javax.jnlp.BasicService");
I get message on console
Lookup failed: javax.jnlp.UnavailableServiceException: uninitialized
I can check service where is working?
anyone advice plese?
ThankI had the same problem and to solve it, I do those 3
steps :
- I copy the file "jnlp.jar" (you can find with the
JDK files) in the folder of my application.
- After you have to put the path of jnlp.jar
(generally
"C:\Java\jdk1.5.0_06\sample\jnlp\servlet\jnlp.jar")
in the CLASSPATH.
- And finally when you create your .jar, you have to
add the file "jnlp.jar" to it...
So I hope it is "quite" clear (if not, don't hesitate
to ask for it) and I hope it will work.
Regards.====================
I had followed the steps defined above.
Even then i am getting same UnavailableServiceException.
regards,
raj -
[Solved] A note and question about slow hostname lookups
I reinstalled Arch recently and the first thing I noticed was slow resolve times on hostname lookups. This didn't happen on all webpages but did on about 50% of them. This also happened on downloads from pacman %100 percent of the time. I have done a good bit of research and most of the points led to nssswich. One website said to try using this in nsswitch.conf:
hosts: files[NOTFOUND=continue UNAVAIL=continue] dns [NOTFOUND=continue UNAVAIL=continue TRYAGAIN=return] nis
With this it appears (after about 20 minutes of testing) that firefox lookups are again behaving normal again. However, pacman is still having slow lookups (about 30 seconds for each package). Does anyone know what could be the problem here. I dont' know much about nsswitch or how it could be the problem. Is there a way to help return pacman to regular lookup times?
Last edited by Gen2ly (2010-11-05 18:13:34)Yeah, no problem.
# /etc/hosts: static lookup table for host names
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost pavilion
# End of file
# The Hosts File Project http://hostsfile.mine.nu
# Global Advert Servers Blocklist - Personal Edition
# Release 2010-1-26
# Servers Verified as up and running 2010-1-26 (by dns exploration)
# Updated sorted and maintained by Andrew Short (sh0rtie)
# Contact: [email protected]
# A big thank you to all contributers (too many to mention)
# who really have made this project a success, well done :)
# Licensed under the LGPL a copy of the license may be viewed at
# http://www.gnu.org/licenses/lgpl.txt
# WARNING:
# This file is *extremely comprehensive* and some sites might be
# included here that you wish to visit, if this is the case you can
# deactivate the block on that site by placing a # (octothorpe)symbol
# before its entry, this will deactivate blocking on that server
# so for example #127.0.0.1 foobar.com
# will enable you to visit foobar.com or you can just simply delete
# the line that contains the site you wish to visit.
# NB:
# For some computer software updates you may need to disable
# this file in order to perform the update, if you have problems
# rename this file from "hosts" to "hosts.txt" reboot then perform
# the update and then rename this file back to "hosts" to re-enable it
# You must keep the below lines
127.0.0.1 localhost
127.0.0.1 007arcadegames.com
127.0.0.1 00fun.com
127.0.0.1 00inkjets.com
127.0.0.1 00pro.com
127.0.0.1 00web.com
I use the hosts files to to block advertisements which is the stuff trailing on the end and continuing. Think there might be a problemt here? -
DNS lookup failed. How to fix with Google chrome?
"The server at _____.com can't be found, because the DNS lookup failed. This error is often caused by having no connection to the internet or a misconfigured network. It can also be caused by an unresponsive DNS server or a firewall preventing google chrome from accessing the network."
Is Safari the same?
-
Systemd-hostnamed.service fails to start
I'm finding the systemd-hostnamed.service isnt working
$ sudo systemctl --state=failed
[sudo] password for kevdog:
UNIT LOAD ACTIVE SUB DESCRIPTION
● systemd-hostnamed.service loaded failed failed Hostname Service
LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.
1 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.
$ sudo systemctl status systemd-hostnamed.service
● systemd-hostnamed.service - Hostname Service
Loaded: loaded (/usr/lib/systemd/system/systemd-hostnamed.service; static)
Active: failed (Result: timeout) since Tue 2014-12-16 23:11:36 CST; 10min ago
Docs: man:systemd-hostnamed.service(8)
man:hostname(5)
man:machine-info(5)
http://www.freedesktop.org/wiki/Software/systemd/hostnamed
Main PID: 4584
Dec 16 23:08:35 orphan systemd[1]: systemd-hostnamed.service start operation timed out. Terminating.
Dec 16 23:10:06 orphan systemd[1]: systemd-hostnamed.service stop-final-sigterm timed out. Killing.
Dec 16 23:11:36 orphan systemd[1]: systemd-hostnamed.service still around after final SIGKILL. Entering failed mode.
Dec 16 23:11:36 orphan systemd[1]: Failed to start Hostname Service.
Dec 16 23:11:36 orphan systemd[1]: Unit systemd-hostnamed.service entered failed state.
Dec 16 23:11:36 orphan systemd[1]: systemd-hostnamed.service failed.
I found this addressed in this topic:
https://github.com/ev3dev/ev3dev/issues/189
Within this page they state:
Confirmed that removing PrivateNetwork=yes from the service file works as a workaround. Maybe need to enable CONFIG_NAMESPACES=y and CONFIG_NET_NS=y kernel modules
I removed the PrivateNetwork=yes from the service file, however this didn't seem to work. I did not enable the kernel modules. I am currently running the following kernel: 3.17.6-1-ARCH
ThanksI'm finding the systemd-hostnamed.service isnt working
$ sudo systemctl --state=failed
[sudo] password for kevdog:
UNIT LOAD ACTIVE SUB DESCRIPTION
● systemd-hostnamed.service loaded failed failed Hostname Service
LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.
1 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.
$ sudo systemctl status systemd-hostnamed.service
● systemd-hostnamed.service - Hostname Service
Loaded: loaded (/usr/lib/systemd/system/systemd-hostnamed.service; static)
Active: failed (Result: timeout) since Tue 2014-12-16 23:11:36 CST; 10min ago
Docs: man:systemd-hostnamed.service(8)
man:hostname(5)
man:machine-info(5)
http://www.freedesktop.org/wiki/Software/systemd/hostnamed
Main PID: 4584
Dec 16 23:08:35 orphan systemd[1]: systemd-hostnamed.service start operation timed out. Terminating.
Dec 16 23:10:06 orphan systemd[1]: systemd-hostnamed.service stop-final-sigterm timed out. Killing.
Dec 16 23:11:36 orphan systemd[1]: systemd-hostnamed.service still around after final SIGKILL. Entering failed mode.
Dec 16 23:11:36 orphan systemd[1]: Failed to start Hostname Service.
Dec 16 23:11:36 orphan systemd[1]: Unit systemd-hostnamed.service entered failed state.
Dec 16 23:11:36 orphan systemd[1]: systemd-hostnamed.service failed.
I found this addressed in this topic:
https://github.com/ev3dev/ev3dev/issues/189
Within this page they state:
Confirmed that removing PrivateNetwork=yes from the service file works as a workaround. Maybe need to enable CONFIG_NAMESPACES=y and CONFIG_NET_NS=y kernel modules
I removed the PrivateNetwork=yes from the service file, however this didn't seem to work. I did not enable the kernel modules. I am currently running the following kernel: 3.17.6-1-ARCH
Thanks -
JNDI lookup failed:javax.naming.NameNotFoundException
Hello:
I have a application (not web) that publish messages to a specific topic, i want to receive these messages in a Web Service, but when the web service make the call to a class that is the JMS Client it can't find the Connection factory Name that i create in the aplication.
I want to know what i have to do,
I work with J2EE1.3.1 and JMS1.0.2 for the application that publish the messages
and Jwsdp1.1, tomcat 4 and j2sdk 1.4.0 for the web service.
I create the connection factory with this command:
j2eeadmin -addJmsFactory jms/DurableTopicB topic -props clientID=IdTopicB
Then in the class that the web service invoke i trying to join with this:
try {
jndiContext =new InitialContext();
}catch (NamingException e){
System.err.println("Could not create JNDI API "+
"context:"+e.toString());
return;
*Look up connection factory and topic.If either
*does not exist,exit.
try {
topicConnectionFactory =(TopicConnectionFactory)
jndiContext.lookup(conFacName);
}catch (NamingException e){
System.err.println("JNDI API lookup failed:"+
e.toString());
return;
//System.exit(1);
But i receive a error message in the log of Tomcat:
JNDI API lookup failed:javax.naming.NameNotFoundException: El nombre DurableTopicB no este asociado a este contexto
ThanksHello:
I display the full context of the connection factory in the application that publish the message:
Full context is :
Enviroment is : {java.naming.corba.orb=com.sun.enterprise.iiop.POAEJBORB@ec4a87}
And in the web service when i create the initial context the full context is:
Full context is : java:
Enviroment is : {java.naming.factory.initial=org.apache.naming.java.javaURLContextFactory, java.naming.factory.url.pkgs=org.apache.naming}
How can i see the connection factory in the Web Service, because the connection factory was created in other Application? -
JDBC Connector service - lookup fails
Hi all,
We have EP6 SP14 on Linux. I am trying to access some data from external database SQL Server 2000. I tried two different sets of drivers in Visual Admin --> Services --> JDBC Connector but the context lookup fails.
<b>Set 1:</b>
msbase.jar,msutil.jar, mssqlserver.jar
JDBC 1.x compliant
Driver class: com.microsoft.jdbc.sqlserver.SQLServerDriver
also tried com.sap.jdbc.sqlserver.SQLServerDriver
URL: jdbc:microsoft:sqlserver://sqlser2:1433;databaseName=repdb
<b>Set 2:</b>
P9sqlserver.jar, P9base.jar, P9util.jar
JDBC 1.x compliant
Driver class: com.sap.portals.jdbc.sqlserver.SQLServerDriver
URL:jdbc:sap:sqlserver://sqlser2:1433;databaseName=repdb
<b>The connection works fine if use the traditional way</b>
Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
conn = DriverManager.getConnection("jdbc:microsoft:sqlserver://dbsql2:1172","<userid>","<passwd>");
(Note no db name here)
Can you help me let me know where I am going wrong. Thank you in advance.
Regards,
Subu.hi,
The problem is with driver class and the URL.
pliz check out the link.
http://www.bwexpertonline.com/downloads/Schroeder0604.doc
regards
mujjammil -
I have a small test program that gets a Context to our server and does a
lookup for an EJB. The lookup fails with the following client-side
trace...
javax.naming.CommunicationException. Root exception is
java.lang.ClassNotFoundException: class
com.prismadata.appserv.session.series.TimeseriesSBBeanHomeImpl_ServiceStub
previously not found
at weblogic.rjvm.MsgAbbrev.read(MsgAbbrev.java:181)
at
weblogic.socket.JVMAbbrevSocket.readMsgAbbrevs(JVMAbbrevSocket.java:505)
at
weblogic.rjvm.MsgAbbrevInputStream.prime(MsgAbbrevInputStream.java:134)
at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:610)
at
weblogic.rjvm.ConnectionManagerClient.handleRJVM(ConnectionManagerClient.java:34)
at
weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:630)
at
weblogic.socket.JVMAbbrevSocket.dispatch(JVMAbbrevSocket.java:393)
at weblogic.socket.JVMSocketT3.dispatch(JVMSocketT3.java:342)
at
weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:247)
at
weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
--------------- nested within: ------------------
weblogic.rmi.UnmarshalException: Unmarshalling return
- with nested exception:
[java.lang.ClassNotFoundException: class
com.prismadata.appserv.session.series.TimeseriesSBBeanHomeImpl_ServiceStub
previously not found]
at
weblogic.jndi.toolkit.BasicWLContext_WLStub.lookup(BasicWLContext_WLStub.java:256)
at
weblogic.jndi.toolkit.WLContextStub.lookup(WLContextStub.java:545)
at javax.naming.InitialContext.lookup(InitialContext.java:349)
at
com.prismadata.appserv.session.series.test.Client.main(Client.java:73)
However, when I perform the same lookup in a servlet (admittedly running
in the same JVM) I successfully get the home interface object back.
Any ideas why ?
Thanks,
GinoIn order to get a reference to you EJB Home interface from JNDI, your
application has to have an access to the stub of this interface. This stub
is generated by WL tools when you deploy your EJB. Because your servlet runs
inside the server's VM, it has an access to this stub by default. So just
include these stubs in CLASSPATH of your test program and you will see the
difference.
kesha
"Gino Coccia" <[email protected]> wrote in message
news:[email protected]...
I have a small test program that gets a Context to our server and does a
lookup for an EJB. The lookup fails with the following client-side
trace...
javax.naming.CommunicationException. Root exception is
java.lang.ClassNotFoundException: class
com.prismadata.appserv.session.series.TimeseriesSBBeanHomeImpl_ServiceStub
previously not found
at weblogic.rjvm.MsgAbbrev.read(MsgAbbrev.java:181)
at
weblogic.socket.JVMAbbrevSocket.readMsgAbbrevs(JVMAbbrevSocket.java:505)
at
weblogic.rjvm.MsgAbbrevInputStream.prime(MsgAbbrevInputStream.java:134)
at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:610)
at
weblogic.rjvm.ConnectionManagerClient.handleRJVM(ConnectionManagerClient.jav
a:34)
>
at
weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:630)
at
weblogic.socket.JVMAbbrevSocket.dispatch(JVMAbbrevSocket.java:393)
at weblogic.socket.JVMSocketT3.dispatch(JVMSocketT3.java:342)
at
weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:247)
at
weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
--------------- nested within: ------------------
weblogic.rmi.UnmarshalException: Unmarshalling return
- with nested exception:
[java.lang.ClassNotFoundException: class
com.prismadata.appserv.session.series.TimeseriesSBBeanHomeImpl_ServiceStub
previously not found]
at
weblogic.jndi.toolkit.BasicWLContext_WLStub.lookup(BasicWLContext_WLStub.jav
a:256)
>
at
weblogic.jndi.toolkit.WLContextStub.lookup(WLContextStub.java:545)
at javax.naming.InitialContext.lookup(InitialContext.java:349)
at
com.prismadata.appserv.session.series.test.Client.main(Client.java:73)
However, when I perform the same lookup in a servlet (admittedly running
in the same JVM) I successfully get the home interface object back.
Any ideas why ?
Thanks,
Gino
Maybe you are looking for
-
IPod, Apple Universal Dock and Remote
Hello everyone, So I have this 3-years-old 3g iPod, a 4th generation that still has black and white display and no video. Yesterday I just bought this Apple Universal Dock on a discount which has an IR receiver, audio output but no s-video output (i
-
my wife and I just bought a piortable storage so we can store our pictures and videos but every time we plug it in it says we have to reformat it. We are using a MAC, please help?
-
Web gallery design for editing in Contribute?
Hello all, (cross posted on the admin forum) I am designing a site for a client who wants photo galleries (with thumbnails to click for enlargements) on parts of the site. Does anyone know of any way to do that so that she will be able to change the
-
Is there an upgrade price from 9.1.8
Logic Pro X looks good, but it's expensive. Isn't it possible to upgrade from 9.1.8 for a more reasonable price? I can't find an upgrade option, but Apple is usually reasonable with this sort of thing.
-
Airport Network Hierarchy Changes Randomly in Utility
I have a Time Capsule (4th Generation) and two AirPort Expresses (2nd Generation). The TC is my primary station/router. The two AEs are located in different parts of the house. The TC is broadcasting a wireless signal. It is also feeding the two