Java.io.IOException: Transport scheme NOT recognized: [tcp]
Hi everyone, I developed a Java class that allow me to connect, create, send and receive information to an ActiveMQ queues.
However when I loaded this java class to Oracle 11gR2 (11.2), the java class did not show any error message (its status is active and without errors. The output I got in SqlDeveloper is
*java.io.IOException: Transport scheme NOT recognized: [tcp].* When I called this Java Class from Jdeveloper 11g It worked but PL/SQL did not.
This is the Java Class I have been using
import javax.jms.JMSException;
import javax.jms.*;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import org.apache.activemq.ActiveMQConnectionFactory;
public class ActiveMQRequest {
// URL of the JMS server. DEFAULT_BROKER_URL will just mean
// that JMS server is on localhost
// Name of the queue we will be sending messages to
// private static String destMameReq = "QueueIN"; // request
// private static String destNameResp = "QueueOUT"; // response
public static String Request(String urlMQ,
String destNameReq,
String destNameResp,
String OperationType,
String XMLmessage) throws JMSException {
int JMSDeliveryMode=2 ; //for PERSISTENT
QueueConnectionFactory connectionFactory =null;
Context jndiContext =null;
Queue destRequ =null;
Queue destResp =null;
QueueSession session =null;
QueueConnection connection =null;
String messageID = null;
QueueReceiver queueReceiver =null;
QueueSender queueSender =null;
String replyString =null;
boolean transacted = false;
TextMessage outMessage = null;
try {
jndiContext = new InitialContext();
} catch (NamingException e) {
//System.out.println("Could not create JNDI API context: " + e.toString());
//System.exit(1);
return "Error: Initial Context Failed";
try {
connectionFactory = new ActiveMQConnectionFactory(urlMQ);
//connectionFactory = (QueueConnectionFactory) jndiContext.lookup("connectionFactory");
//destRequ = (Queue) jndiContext.lookup(destNameReq); // Request queue
// destResp = (Queue) jndiContext.lookup(destNameResp); // Response queue
} catch (Exception e) {
//System.out.println("JNDI API lookup failed: " + e.toString());
//System.exit(1);
return "Error: MqConnection Factory failed: " + e.toString();
// begin
try {
connection = connectionFactory.createQueueConnection();
connection.start();
} catch (JMSException jmse) {
//System.out.println("Error:JMS Exception occurred: " + jmse.toString());
return "Error:JMS Exception occurred Create Queue Connection: " + jmse.toString();
} catch (Exception e) {
//System.out.println("JNDI API lookup failed: " + e.toString());
//e.printStackTrace();
return "Error:JNDI API lookup failed Create Queue Connectio: " + e.toString();
try {
session = connection.createQueueSession( transacted,Session.AUTO_ACKNOWLEDGE);
// check this instead of using JNDI
destRequ = session.createQueue(destNameReq);
destResp = session.createQueue(destNameResp);
} catch (JMSException jmse) {
//System.out.println("Error:JMS Exception occurred: " + jmse.toString());
return "Error:JMS Exception occurred createQueueSession: " + jmse.toString();
} catch (Exception e) {
//System.out.println("JNDI API lookup failed: " + e.toString());
//e.printStackTrace();
return "Error:JNDI API lookup failed createQueueSession: " + e.toString();
try {
queueSender = session.createSender(destRequ);
outMessage = session.createTextMessage(XMLmessage);
// Sets other properties of the message
outMessage.setJMSPriority(7);
outMessage.setJMSReplyTo(destResp);
outMessage.setJMSDeliveryMode(JMSDeliveryMode);
//outMessage.setJMSType("Interval"); Interval
outMessage.setJMSType(OperationType); // ODR , Interval, Ping
System.out.println("Sending message.: " + outMessage.getText());
} catch (JMSException jmse) {
//System.out.println("Error:JMS Exception occurred: " + jmse.toString());
return "Error:JMS Exception occurred createSender: " + jmse.toString();
} catch (Exception e) {
//System.out.println("JNDI API lookup failed: " + e.toString());
//e.printStackTrace();
return "Error:JNDI API lookup failed: createSender " + e.toString();
// Here we are sending the message!
try {
queueSender.send(outMessage);
System.out.println("Message Sent....: " + outMessage.getText() + "'");
// Receiving
messageID = outMessage.getJMSMessageID();
String selector = "JMSCorrelationID = '"+messageID+"'";
System.out.println("JMSCorrelationID = '"+messageID+"'");
queueReceiver = session.createReceiver(destResp, selector);
System.out.println("Receiving Message.");
Message inMessage = queueReceiver.receive(2000);
if ( inMessage instanceof TextMessage ) {
replyString = ((TextMessage) inMessage).getText();
System.out.println("Message Received: " + replyString + "'");
else
replyString = "Error: TextMessage is empty";
} catch (JMSException jmse) {
//System.out.println("Error:JMS Exception occurred: " + jmse.toString());
return "Error:JMS Exception occurred Receiving: " + jmse.toString();
} catch (Exception e) {
//System.out.println("JNDI API lookup failed: " + e.toString());
//e.printStackTrace();
return "Error:JNDI API lookup failed Receiving: " + e.toString();
} finally {
queueReceiver.close();
queueSender.close();
session.close();
connection.close();
return replyString;
This is th pl/sql wrapper
create or replace
function ActiveMQRequest( url in varchar2,
destNameReq in varchar2,
destNameResp in varchar2,
OperationType in varchar2,
XMLmessage in varchar2) return varchar2
as language java
name 'ActiveMQRequest.Request( java.lang.String,java.lang.String, java.lang.String , java.lang.String , java.lang.String ) return java.lang.String';
and this is the JDeveloper Output
Sending message.:
<Message>
<Header>
<SourceID >sourceid</SourceID>
<TransactionID>11111111111</TransactionID><MeterID>AAAAAAA</MeterID><REPID>41679178</REPID><TransactionDate>2010-10-08T02:00:00</TransactionDate><UserID>Sensus</UserID><CustomerID>Customer</CustomerID></Header><Body><StarDate>2010-10-01T14:00:00</StartDate><EndDate>2010-10-06T14:00:00</EndDate><IntervalFlag>Y</IntervalFlag><MeterFlag>Y</MeterFlag></Body>
JMSCorrelationID = 'ID:W05834007-3793-1286901259437-0:0:1:1:1'
Receiving Message.
Message Received: <Message>
<Header>
<TransactionID>11111111111</TransactionID>
<SourceID>sourceid</SourceID>
</Header>
<Body>
<TransactionStatus>Acknowledge</TransactionStatus>
<TransactionMessage>Interval Flag null is not Y or N</TransactionMessage>
</Body>
</Message>'
Result is :<Message>
<Header>
<TransactionID>4444444444444444</TransactionID>
<SourceID>RNI</SourceID>
</Header>
<Body>
<TransactionStatus>Acknowledge</TransactionStatus>
<TransactionMessage>Interval Flag null is not Y or N</TransactionMessage>
</Body>
</Message>
When I run in Oracle Sqldeveloper the output was
Error:JMS Exception occurred Create Queue Connection: javax.jms.JMSException: Could not create Transport. Reason: java.io.IOException: Transport scheme NOT recognized: [tcp]
Do you know what do I do in the Oracle 11gR2 configuration for making this work. I would appreciate your help.
Thanks
Perhaps you did not notice that you posted to a forum named "Database - General" with a question that is neither general nor related to the Oracle Database.
Please update this thread (use Edit) and change the subject to "Please Ignore."
Then repost your question in a Java related forum.
Thank you.
~ Posted from PEOUG: Lima Peru
Similar Messages
-
Java.io.IOException: TLS SSLContext not available
Hi all,
I'm new to https and SSL. I had my eclipse configured for non-ssl mode and working fine. now I'm trying to change my tomcat to HTTPS.
I created a new certificate using the keytool and gave the password changeit. I found the .keystore file in my user home directory.
I added the following lines to my %TOMCAT_HOME%/conf/server.xml
<Connector port="443"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" disableUploadTimeout="true"
acceptCount="100" debug="0" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" />
And the following line to %TOMCAT_HOME%/conf/web.xml
<security-constraint>
<web-resource-collection>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>
I copied both jce.jar and jsse.jar to %TOMCAT_HOME%/common/lib
When I try to start my tomcat using eclipse tomcat plugin, It is giving me the following error
java.io.IOException: TLS SSLContext not available
at org.apache.tomcat.util.net.jsse.JSSE14SocketFactory.init(JSSE14SocketFactory.java:125)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(JSSESocketFactory.java:88)
at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:292)
at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:142)
at org.apache.catalina.connector.Connector.initialize(Connector.java:928)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:580)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:764)
at org.apache.catalina.startup.Catalina.load(Catalina.java:490)
at org.apache.catalina.startup.Catalina.load(Catalina.java:509)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:243)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:408)
Jun 22, 2007 10:35:38 AM org.apache.catalina.startup.Catalina load
SEVERE: Catalina.start
LifecycleException: Protocol handler initialization failed: java.io.IOException: TLS SSLContext not available
at org.apache.catalina.connector.Connector.initialize(Connector.java:930)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:580)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:764)
at org.apache.catalina.startup.Catalina.load(Catalina.java:490)
at org.apache.catalina.startup.Catalina.load(Catalina.java:509)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:243)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:408)
Can any one help me to resolve this issueNo. I tried to give
<Connector port="443"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" disableUploadTimeout="true"
acceptCount="100" debug="0" scheme="https" secure="true"
clientAuth="false" sslProtocol="SSL" />
then it is giving the following error
java.io.IOException: SSL SSLContext not available
at org.apache.tomcat.util.net.jsse.JSSE14SocketFactory.init(JSSE14SocketFactory.java:125)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(JSSESocketFactory.java:88)
at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:292)
at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:142)
at org.apache.catalina.connector.Connector.initialize(Connector.java:928)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:580)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:764)
at org.apache.catalina.startup.Catalina.load(Catalina.java:490)
at org.apache.catalina.startup.Catalina.load(Catalina.java:509)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:243)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:408)
Jun 22, 2007 12:14:05 PM org.apache.catalina.startup.Catalina load
SEVERE: Catalina.start
LifecycleException: Protocol handler initialization failed: java.io.IOException: SSL SSLContext not available
at org.apache.catalina.connector.Connector.initialize(Connector.java:930)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:580)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:764)
at org.apache.catalina.startup.Catalina.load(Catalina.java:490)
at org.apache.catalina.startup.Catalina.load(Catalina.java:509)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:243)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:408) -
Java.io.IOException in OPP for XML Publisher Report
Hi,
When we run the XML Publisher report for more data we get an exception in the OPP log as
[9/27/10 10:26:37 AM] [UNEXPECTED] [1805143:RT102444048] java.io.IOException: There is not enough space in the file system.
at java.io.FileOutputStream.writeBytes(Native Method)
at java.io.FileOutputStream.write(FileOutputStream.java:266)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:76)
at java.io.BufferedOutputStream.write(BufferedOutputStream.java:89)
at java.io.DataOutputStream.writeInt(DataOutputStream.java:191)
at oracle.apps.xdo.generator.ProxyGenerator.writeInt(ProxyGenerator.java:613)
at oracle.apps.xdo.generator.ProxyGenerator.setColor(ProxyGenerator.java:1161)
at oracle.apps.xdo.template.fo.area.BorderArea.renderBorder(BorderArea.java:775)
at oracle.apps.xdo.template.fo.area.BorderArea.outBorders(BorderArea.java:206)
at oracle.apps.xdo.template.fo.area.BorderArea.outBorders(BorderArea.java:147)
at oracle.apps.xdo.template.fo.area.TableArea.doOutput(TableArea.java:271)
at oracle.apps.xdo.template.fo.area.BlockArea.doOutput(BlockArea.java:427)
at oracle.apps.xdo.template.fo.area.NormalFlowReferenceArea.doOutput(NormalFlowReferenceArea.java:58)
at oracle.apps.xdo.template.fo.area.SpanReferenceArea.doOutput(SpanReferenceArea.java:188)
at oracle.apps.xdo.template.fo.area.BodyRegionArea.doOutput(BodyRegionArea.java:122)
at oracle.apps.xdo.template.fo.area.PageArea.doOutput(PageArea.java:666)
at oracle.apps.xdo.template.fo.area.AreaTree.doOutput(AreaTree.java:483)
at oracle.apps.xdo.template.fo.elements.FormattingEngine.startLayout(FormattingEngine.java:243)
at oracle.apps.xdo.template.fo.elements.FormattingEngine.run(FormattingEngine.java:121)
at oracle.apps.xdo.template.fo.FOHandler.endElement(FOHandler.java:600)
at oracle.apps.xdo.common.xml.XSLTHandler$EEEntry.sendEvent(XSLTHandler.java:594)
at oracle.apps.xdo.common.xml.XSLTMerger.startElement(XSLTMerger.java:51)
at oracle.xml.parser.v2.XMLContentHandler.startElement(XMLContentHandler.java:181)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1288)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:336)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:303)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:205)
at oracle.apps.xdo.template.fo.FOProcessingEngine.process(FOProcessingEngine.java:307)
at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:1045)
at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5926)
at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3458)
at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3547)
at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:259)
at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:172)
[9/27/10 10:26:37 AM] [1805143:RT102444048] Completed post-processing actions for request 102444048.Check the error: There is not enough space in the file system.
-
hi
i am using JDeveloper 11g ADF web
i have made some changes on the Java file but it is not recognizing it, it is like i haven't done anyhting. and when i put a break point it is ignoring the lines i have wrote.
i have tried to erase the classes and recompile i also restarted my computer.
i have also removed the break point and recompile and run again
but no use
please it is so urgentDunno then, I guess I'd start checking the obvious stuff, such as "Am I changing the code that I am running?" - I've been known to edit a file in a different JDev project and get myself messed up on silly errors before.
john -
BPEL invoke Webserivce Transport can not be determined from uri REPLACE_WI
Hi,
I am in the process of migrating BPEL 10.1.3.4 to SOA 11.1.1.5.0. I am seeing problems with bpel invoking the webservice. Webservice is available and I could test with the test option in EM successfully. But when I tried to bring up the BPEL process which invokes the webservice, i get the following error.
<Jan 29, 2012 5:12:41 PM EST> <Error> <oracle.soa.bpel.engine.ws> <BEA-000000> <got FabricInvocationException
java.lang.IllegalArgumentException: Transport can not be determined from uri REPLACE_WITH_ACTUAL_URL
at oracle.j2ee.ws.common.transport.TransportFactory.getTransport(TransportFactory.java:48)
at oracle.j2ee.ws.common.async.MessageSender.call(MessageSender.java:63)
at oracle.j2ee.ws.common.async.Transmitter.transmitSync(Transmitter.java:134)
at oracle.j2ee.ws.common.async.Transmitter.transmit(Transmitter.java:90)
at oracle.j2ee.ws.common.async.RequestorImpl.transmit(RequestorImpl.java:273)
at oracle.j2ee.ws.common.async.RequestorImpl.invoke(RequestorImpl.java:95)
at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:793)
at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.jav
a:235)
I don't have this problem with different webservice and bpel processes. All the webservices were upgraded to 11g using Jdeveloper's Upgrade 10.1.3.4 JAX-RPC to 11g option.
Would appreicate if any help on this.
thanks
KanchanaHi
Please refer the below blog,this may resolve your problem.
http://albinoraclesoa.blogspot.com/2011/11/oracle-soa-suite-10g-to-11g-migration_9478.html
Regards
Albin I -
ChaRM class java.io.IOException:The file does not exist on the filesystem
Hi All,
We are implementing ChaRM with Portal. While deploying we are running into following issue.
Deployable-Id:/usr/sap/trans/data/GPSK90001B/sktp14_20100806_095633.epa
Returncode:'12'
class java.io.IOException:The file (/usr/sap/trans/data/GPSK90001B/sktp14_20100806_095633.epa) does not exist on the filesystem.
Any suggestion.
Regards,
SmitaWe resolved this issue by sharing the trans file across SolMan and Portal system.
-
Hello, everyone.
I'm trying to create a .cfm document that will erase a specific Solr collection and then re-create it, index it, and optimize it.
The delete works flawlessly.
Unfortunately, creating it isn't working, at all. I get the following message:
Unable to create collection publicsearch - An error occurred while creating the collection: java.io.IOException: The device is not ready.
This is a Windows 7 server running Apache and CFServer 9.0.1 (the version before Verity was cut.) I'm not getting any more details than the one error message. Any idea of what could be causing this? I've Googled this and I'm seeing a lot of issues similar, but not quite what I have happening.
Thanks,
^_^Nevermind.. no one bothered to inform the developer that the path to the collection AND the path to the directory that the collection is for are different on this other server.
Fixed. -
While trying to publish mesaage by MQ 5.3 .I got the following error
Please help.
<Error> <HTTP> <BEA-101083> <Connection failure.
java.io.IOException: A complete message could not be read on socket: 'weblogic.servlet.internal.MuxableSocketHTTP@1c94ff
3 - idle timeout: '30000' ms, socket timeout: '30000' ms', in the configured timeout period of '60' secs
at weblogic.socket.SocketMuxer$TimeoutTrigger.trigger(SocketMuxer.java:775)
at weblogic.time.common.internal.ScheduledTrigger.run(ScheduledTrigger.java:243)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.time.common.internal.ScheduledTrigger.executeLocally(ScheduledTrigger.java:229)
at weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigger.java:223)
at weblogic.time.server.ScheduledTrigger.execute(ScheduledTrigger.java:49)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
Can you help me ? I have the same problem.
-
Java.io.IOException: A complete message could not be read on socket
Hell All , Am gettign this issue very frequently .. From my googling i see that this can be because weblgic server was not able to do an IO operation because of time out or may be because of Net work issue ..
I would like to know how this can be fixed
java.io.IOException: A complete message could not be read on socket: 'weblogic.servlet.internal.MuxableSocketHTTP@a7f309 - idle timeout: '30000' ms, socket timeout: '5000' ms', in the configured timeout period of '60' secsHi All,
Has anyone got any further information on this problem? I have several instances of the message
###<Dec 13, 2005 2:29:40 PM GMT> <Error> <socket> <finland> <serviceview> <ExecuteThread: '12' for queue: 'default'> <kernel identity> <> <000424> <I
OException on socket: weblogic.socket.MuxableSocketDiscriminator@4a4b21 - number of bytes read: '0', buffer: 'null', fd: 23
java.net.SocketException: Connection refused: Connection refused>
java.net.SocketException: Connection refused: Connection refused
at java.net.SocketInputStream.socketRead(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
at weblogic.socket.PosixSocketMuxer.readBytesProblem(PosixSocketMuxer.java:898)
at weblogic.socket.PosixSocketMuxer.deliverGoodNews(PosixSocketMuxer.java:782)
at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:708)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
In my wl-domain.log. I have no idea how to solve this? I am running WebLogic 7 SP4 on HP-UX 11.11 with JDK 1.3.1.09.
I note that the release notes for WL7 SP 6 release notes mention MuxableSocketDiscriminator. See link http://e-docs.bea.com/wls/docs70/notes/resolved2.html Is this the problem? Anyone else come accross this and solve it?
Best Regards,
Kevin.
Any help much appreciated. Best Regards, Kevin. -
In my 2006 biztalk application I have exposed web service to receive SAP input. It was working fine. After I have modified something in orchestration in that application . I am getting following error while SAP try to consume my web service. Can anyone please
help me.
Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 404 Not FoundIn my 2006 biztalk application I have exposed web service to receive SAP input. It was working fine. After I have modified something in orchestration in that application . I am getting following error while SAP try to consume my web service.
HI Arivazhagan K,
Could you give some explanation about what you modified? according the to error message, this is "resource is not found issue".
Best regards,
Angie
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Java.io.IOException: Not enough space - Weblogic 8.1 on Solaris 8
Hi,
We get "java.io.Exception: Not enough space" sometimes when trying to access
JSPs hosted on Weblogic 8.1 on Solaris 8. It looks like a problem because of
increased swap space usage. What should we do to get rid of this issue
Compilation of '.......java' failed:_____
(Failed to parse compiler output. See full output below). ____
Full compiler error(s):
java.io.IOException: Not enough space
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:52)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Runtime.java:566)
at java.lang.Runtime.exec(Runtime.java:491)
at java.lang.Runtime.exec(Runtime.java:457)
at weblogic.utils.Executable.exec(Executable.java:227)
at weblogic.utils.Executable.exec(Executable.java:156)
at weblogic.utils.Executable.exec(Executable.java:142)
at
weblogic.utils.compiler.CompilerInvoker.execCompiler(CompilerInvoker.java:249)
at
weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:427)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:321)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:443)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:238)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:188)
at
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:535)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:373)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:463)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
Thanks,
Abhijeet DevHello,
I had the same problem and I eradicated it by changing used % of /tmp dir from 97% to 81% by removing unwanted files in /tmp folder.
Try it out......
df -k
Now u will see that ur swap space is not sufficient.Check the corresponding mounting directory.Remove unwanted files from this dir. Restart ur server.Your problem should be solved.Note: Restarting server is not needed but for safe side restart ur server.
In mine case, my dir was /tmp.I removed all unwanted files and then the problem was solved.
Thanks
Chandra -
I have installed JES 2005Q4 and then I try to setup Portal Server 7 and at the beginnig of the installation it gave thsi error: Is there any thing you can suggest?
1. Install
2. Start Over
3. Exit Installation
What would you like to do [1] {"<" goes back, "!" exits}?
Java Enterprise System
|-1%--------------25%---
java.io.IOException: java.io.IOException: /opt/sun/portal/bin/psconfig: not found
at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
at java.lang.ProcessImpl.start(ProcessImpl.java:65)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
at java.lang.Runtime.exec(Runtime.java:591)
at java.lang.Runtime.exec(Runtime.java:464)
at com.sun.orion.installer.common.config.OrionConfigurator.executeCmdWithArgs(Unknown Source)
at com.sun.orion.installer.portalserv.config.PortalServerConfigurator.unconfigure(Unknown Source)
at com.sun.orion.installer.common.config.OrionConfigurator.performUnconfiguration(Unknown Source)
at com.sun.orion.installer.common.config.ConfigLeaf.uninstall(Unknown Source)
at com.sun.install.products.InstallComponent.performUninstallation(InstallComponent.java:1637)
at com.sun.install.products.InstallNode.finishUninstall(InstallNode.java:1270)
at com.sun.install.products.InstallComponent.performUninstallation(InstallComponent.java:1642)
at com.sun.install.products.InstallNode.finishUninstall(InstallNode.java:1270)
at com.sun.install.products.InstallComponent.performUninstallation(InstallComponent.java:1642)
at com.sun.install.products.Product.performUninstallation(Product.java:223)
at com.sun.install.products.InstallNode.CheckCancelledAndWriteToLog(InstallNode.java:965)
at com.sun.install.products.InstallNode.startInstall(InstallNode.java:1090)
at com.sun.install.products.InstallComponent.performInstallation(InstallComponent.java:1457)
at com.sun.install.products.Product.performInstallation(Product.java:651)
at com.sun.install.tasks.ProductTask.perform(ProductTask.java:153)
at com.sun.wizards.core.Sequence.perform(Sequence.java:343)
at com.sun.wizards.core.SequenceManager.run(SequenceManager.java:226)
at java.lang.Thread.run(Thread.java:595)
Error in executing command : /opt/sun/portal/bin/psconfig --unconfig /tmp/psunconfig_bla.bla_114286064037648246.xml
--------------50%-----------------75%--------------100%|
Installation Failed
No software was installed.at the installation log file containing these:
Installation Log
Installing Java Enterprise System
Log file: /var/opt/sun/install/logs/Java_Enterprise_System_install.
B03201513
Installed: /var/sadm/prod/sun-ps7_0-
entsys/uninstall_Sun_Java_tm__Enterprise_System_2005Q4.class
Uninstaller is at: /var/sadm/prod/sun-ps7_0-
entsys/uninstall_Sun_Java_tm__Enterprise_System_2005Q4.class
OrionUninstallersun-ps7_0-entsys
Installing RPM: sun-ps7_0-entsys
RPM sun-ps7_0-entsys successfully installed.
Installing RPM: sun-ps7_0-entsys-l10n
error: ../Product/entsys/Packages/sun-ps7_0-entsys-l10n-4.0-1.i386.rpm: MD5
digest: BAD Expected(50518d27bb86729827e12611f261333a) !=
(9bff1755f96e04bebe270aa64f9d9d4c)
error: ../Product/entsys/Packages/sun-ps7_0-entsys-l10n-4.0-1.i386.rpm cannot
be installed
Error: RPM sun-ps7_0-entsys-l10n install failed}.
Install complete. Package: sun-ps7_0-entsys-l10n
rpm: Skipping rpm remove of sun-ps7_0-entsys-l10n, not installed.
rpm: Skipping rpm remove of sun-portal-search, not installed.
rpm: Skipping rpm remove of sun-portal-portlets, not installed.
rpm: Skipping rpm remove of sun-portal-base, not installed.
rpm: Skipping rpm remove of sun-portal-admin, not installed.
Installing RPM: sun-mobileaccess-config
package sun-mobileaccess-config-1.0-25 is already installed
Error: RPM sun-mobileaccess-config install failed}.
Install complete. Package: sun-mobileaccess-config -
Adobe AIR - java is not recognized as an internal or external command operable program or batch file
Hi,
I've done everything as in the HelloWorld tutorial but when i run this cmd: adt
it gives me the following error java is not recognized as an internal or external command operable program or batch file
I've installed the AIR runtime v2
Downloaded the SDK v2 and placed in D:\Www\air
Modified the path variable with D:\Www\air\bin
And then i open a new cmd console and simply write adt and gives me that error.
I've updated to the latest version of Java, but it did solve it.
But what's strage it's that the adl command work, but i'm not being able to pack my application.
I'm running Windows 7 on x64 platform.
Sincerely,
AlexI think the 32bit version will work, but it sounds like you'll need to add the Java bin folder to your system path. This is usually done by the Java installer, so I'm not sure what failed, did you run the installer located at www.java.com? Either way, this document might be able to help you out:
How do I set or change the PATH system variable
Add the Java "bin" folder to your path, you might also need to add the CLASSPATH.
Please let me know how it goes! -
Java.io.IOException: The specified module could not be found
Hi.
I am using Runtime.exec() to run egrep on some files, and then trying to read its ouput in the following way:
String command2 = "egrep \"" + pattern +
"\" " + category + "egrep.txt";
Process p2 = Runtime.getRuntime().exec(command2);
double counterA = 0;
try {
BufferedReader fin3 = new BufferedReader(new InputStreamReader(p2.
getInputStream()));
String reader = "";
while ( (reader = fin3.readLine()) != null) {
counterA++;
if (counterA != 0)
//System.out.println(read + " ::: " + counterA);
fin3.close();
catch (Exception e) {
System.out.println("E");
And I get the following exception:
java.io.IOException: The specified module could not be found
at java.io.FileInputStream.readBytes(Native Method)
and this goes on to show exceptions in BufferedInputStream and then my code.
This does not happen all the time, so I cannot reproduce it easily. I have searched on google and in this forum looking for information but have not found out anything useful.
Help would be appreciated. Thanks.The only possible reason for this error occurring that I can think of is that it is somehow a side effect of the limited buffer size for stdin and stderr.
For an example of emptying both output streams simultaneously, see the StreamGobbler class in this article:
http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
(this applies to unix, the author just mixed it in with his discussion of windows issues, just remove the "cmd.exe" and other windows stuff)
Another thing to try if only for the sake of experimentation would be to throw in a "exitValue = p2.waitFor()" just in case there's some unpredictable resource conflict going on (although I can't imagine why for egrep, but it's something to experiment with).
Let me know if you can narrow down the conditions for reproducing the bug. -
Java.io.IOException: The specified procedure could not be found
I get this error in this code.
private boolean updateCICServer(){
boolean updatestatus=true;
long fsize=0;
int arraysize=0;
byte temp[];
try{
if(f.length()>this.m_iCICDataSize){
if(DEBUG) System.err.println("update file");
fsize = f.length();
arraysize = (int)f.length()-this.m_iCICDataSize;
temp = new byte[arraysize];
if (this.fs.read(temp,0,arraysize)!=-1){
//THIS READ () Throws "java.io.IOException: The specified procedure could not be found"
fs is a fileinput stream and it is open.
addByte(temp);
} else{
updatestatus=false;
}catch(Exception e){
updatestatus=false;
System.err.println(fsize);
System.err.println(arraysize);
System.err.println(this.m_iCICDataSize);
System.err.println(e.toString());
return(updatestatus);
Any suggestions?Never mind I found it.
It was a programmer (Me) IQ error.
I did close the fs in another place in the program and for got about it.
Still it is a strange error message.
Well now I know.
Maybe you are looking for
-
All valid disks are read-only after installing UJ-835 firmware update
Hello everyone, I've just installed the firmware update for my SuperDrive. When I insert a DVD that is blank and writeable, my PowerBook does not ask me to prepare for a Burn as it used to. When viewing in Disk Utility, the DVD is marked as non-write
-
I'm trying to read in files with a specific name from a directory with this code: String s=" "; File dir = new File ("c:\test"); String myFiles [] = dir.list(); for(int i=0;i<myFiles.length;i++) f(myFiles.substring(0,3).equals("test")) BufferedR
-
Macbook Pro on 23" HDTV LNT-2353H is not working at right resolution???
Hi, Right now i'm running on 23" Samsung HDTV at the resolution of 1360 x 768 on MAC OS X However when i switch to vista the resolution goes to 1024 x 768 is there anyway to resolve that problem?
-
I'm not sure whether or not the cursor activates this problem as it happens to pass over a word that wikipedia is programed to respond to w/ this definition balloon--it happens too fast for me to back track and figure out what i might have done that
-
Safari bookmarks not sychronized
My Safari bookmarks are synchronized on my iMac, iPhone and iPad but not on my new MacBook Air (mid 2012). I use iCloud. Why is this happening? (Calendar and Contacts are synchronised)