Failed to load applet ( Caused by: java.io.IOException: open HTTP connect )
Sometimes this error occurs :
load: class applet.OMcsAppletMeetMeConf...
java.lang.ClassNotFoundException: applet.OMcsAppletMeetMeConf
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed:http://192.168.73.101/mcs/applet/applet/OMcsAppletMeetMeConf.class
at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 7 more
Exception: java.lang.ClassNotFoundException: applet.OMcsAppletMeetMeConf This error occurs sometimes while applet load. In most cases program work normally
I can not know the cause.
plz.. help me..
system info
- java version : 1.6.0_17
- browser : ie 8 (but this error also occurs to ie 7, ie 6)
- html source is :
<applet id="mm_app" alt="" codebase="/mcs/applet" code="applet.OMcsAppletMeetMeConf"
width="800px" height="400px" archive="signedApplet.jar">
</applet>
namgung0718 wrote:
Sometimes this error occurs :
load: class applet.OMcsAppletMeetMeConf...
java.lang.ClassNotFoundException: applet.OMcsAppletMeetMeConf
Caused by: java.io.IOException: open HTTP connection failed:http://192.168.73.101/mcs/applet/applet/OMcsAppletMeetMeConf.class
- html source is :
<applet id="mm_app" alt="" codebase="/mcs/applet" code="applet.OMcsAppletMeetMeConf"
width="800px" height="400px" archive="signedApplet.jar">
</applet> As an aside. Since 'px' is the only valid unit for width and height, they should not be included in the applet element.
..This error occurs sometimes while applet load. In most cases program work normally
I can not know the cause.That applet element combined with the address would imply the JRE was (first) looking for the applet at..
[http://192.168.73.101/mcs/applet/signedApplet.jar]
When I try that link in FF, I get the message..
Network Timeout
The server at 192.168.73.101 is taking too long to respond.
plz.. help me..Please take the effort to spell all 6 letters of the word 'please'.
Similar Messages
-
Java.io.IOException: open HTTP connection failed
I got this error message when trying to load applets in a web page, with J2SDK_Forte:
==================================
load: class myClass.class not found.
java.lang.ClassNotFoundException: myClass.class
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:151)
at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:189)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:112)
at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:478)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:548)
at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1621)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:477)
at sun.applet.AppletPanel.run(AppletPanel.java:290)
at java.lang.Thread.run(Thread.java:536)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:224)
at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:40)
at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:141)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:138)
... 10 more
==================================
The applet is in the same directory as the ASP. It is a NT 4 (SP6) server. The applets loaded and ran fine with jdk1.3. Do I need to do something different in my ASP, or IIS setup to allow java applet HTTP connection in JDK1.4?
Thanks!I have the exact same problem but have yet to find a solution.
It works fine in 1.3 but fails occasionally in 1.4. If I refresh the browser several times it eventually
loads.
Scott -
Error: java.io.IOException: open HTTP connection failed
When im trying to load ANY Java applet i get this error:
load: class y.po.0 not found.
java.lang.ClassNotFoundException: y.po.0
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 morePlease help me.. what can i do?
I tried to load the applet in IE and Firefox.. no luck.. :(Hi ,
Even Iam getting same error error message is as follows. I tried setting codebase to appropriately but still Iam getting the same error. I searched all the forums they were also talking abt proxy setting does has any idea is that is also one of the reason. Please let me know how can I fix this problem. same application works fine with MSJVM but not with SUN JVM 1.4.2_07.
Waiting for reply....
Thanks
Nagaraj
ERROR Message:
load: class EFileDownloadViewApplet.class not found.
java.lang.ClassNotFoundException: EFileDownloadViewApplet.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method) -
Errors: "java.io.IOException: open HTTP connection failed"
I am trying to execute an applet, but ocorrs the following errors:
"Java.lang.ClassNotFoundException: InterfaceApplet.class Caused by: java.io.IOException: open HTTP connection failed"
Why don't open HTTP connection???
I already signed the applet and my applet.html is:
codebase='http://200.134.165.36/path' code= 'applet.class' archive='appletSigned.jar'
....It's not difficult understand the topic.
The actual DNS resolution implementation of Java is faulty.
It's the ONLY service in my Windows machine that couldn't do a correct DNS resolution, stand alone application, Internet Explorer and Mozzilla web pages with applet-
If i use IPs all go fine... when i use domain java fail.
ALL java... non only applet. Also Java Web Start fail.
I controlled proxy, there isn't. i say to java to do a direct connect.
The only thing in my net configuration of strange is the router, a zyxel 660hw... nothing else... my pc work fine with all the rest of the programs that use IPs. Only java is faulty. -
I am using Oracle forms 10.1.2.0.2 on Windows Xp and using a java bean taken from following location:
http://forms.pjc.bean.over-blog.com/ext/http://sheikyerbouti.developpez.com/forms-pjc-bean/first-bean/first_bean.pdf
Now when i deploy it in my development environment, then following errors is seen in Java Console:
>
Oracle JInitiator: Version 1.3.1.22
Using JRE version 1.3.1.22-internal Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\mmunir
Proxy Configuration: no proxy
JAR cache enabled
Location: C:\Documents and Settings\mmunir\Oracle Jar Cache
Maximum size: 50 MB
Compression level: 0
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
q: hide console
s: dump system properties
t: dump thread list
x: clear classloader cache
0-5: set trace level to <n>
Loading http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/frmall_jinit.jar FormsProperties.jar from JAR cache
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
Forms Applet version is : 10.1.2.0
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
Forms Applet version is : 10.1.2.0
>
I have gone throug the following thread to fix this issue but to no avail.
Error oracle.forms.engine.Main not found.java.lang.ClassNotFoundException
Please help?Kindly find find below the required information:
<H1> formsweb.cfg file </H1>
>
[bean]
form=BEAN.fmx
userid=gl/xyz@orcl
baseHTMLjpi=basejpi.htm
baseHTMLJInitiator=basejpi.htm
jpi_download_page=http://java.sun.com/products/archive/j2se/1.4.2_06/index.html
archive=frmall.jar FormsProperties.jar
jpi_classid=clsid:CAFEEFAC-0014-0002-0006-ABCDEFFEDCBA
jpi_codebase=http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab#Version=1,4,2,06
jpi_mimetype=application/x-java-applet;jpi-version=1.4.2_06
em_mode=0
>
<H1> Java Console </H1>
>
Java Plug-in 1.6.0_22
Using JRE version 1.6.0_22-b04 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\mmunir
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
basic: Starting applet teardown
network: Connecting http://ssi-mmunir.ssilhr.com.pk:8889/forms/lservlet;jsessionid=ac1201b922b9a3fdba952bbd446e914da8fd1a8d5ecd with proxy=DIRECT
network: Connecting http://ssi-mmunir.ssilhr.com.pk:8889/ with proxy=DIRECT
network: Connecting http://ssi-mmunir.ssilhr.com.pk:8889/forms/lservlet;jsessionid=ac1201b922b9a3fdba952bbd446e914da8fd1a8d5ecd with proxy=DIRECT
basic: Added progress listener: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@7b7b11
basic: Plugin2ClassLoader.addURL parent called for http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/frmall.jar FormsProperties.jar
basic: Applet loaded.
basic: Applet resized and added to parent container
basic: PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt 464428 us, pluginInit dt 53483491 us, TotalTime: 53947919 us
basic: Applet initialized
basic: Removed progress listener: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@7b7b11
basic: Applet made visible
basic: Starting applet
basic: completed perf rollup
Loaded image: jar:http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/frmall.jar FormsProperties.jar!/oracle/forms/icons/splash.gif
Loaded image: jar:http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/frmall.jar FormsProperties.jar!/oracle/forms/icons/oracle_logo.gif
Loaded image: jar:http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/frmall.jar FormsProperties.jar!/oracle/forms/icons/bgnd.gif
network: Cache entry not found [url: http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/oracle/forms/registry/Registry.dat, version: null]
network: Connecting http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/oracle/forms/registry/Registry.dat with proxy=DIRECT
network: Connecting http://ssi-mmunir.ssilhr.com.pk:8889/ with proxy=DIRECT
network: Cache entry not found [url: http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/oracle/forms/registry/default.dat, version: null]
network: Connecting http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/oracle/forms/registry/default.dat with proxy=DIRECT
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
network: Connecting http://ssi-mmunir.ssilhr.com.pk:8889/forms/frmservlet?Config=bean&acceptLanguage=en-us&ifcmd=startsession with proxy=DIRECT
network: Connecting http://ssi-mmunir.ssilhr.com.pk:8889/forms/lservlet;jsessionid=ac1201b922b9788bf36fce964dcdab6dd331b3d189df?ifcmd=getinfo&ifhost=ssi-mmunir&ifip=172.18.1.185 with proxy=DIRECT
network: Connecting http://ssi-mmunir.ssilhr.com.pk:8889/forms/lservlet;jsessionid=ac1201b922b9788bf36fce964dcdab6dd331b3d189df with proxy=DIRECT
java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:485)
at com.sun.deploy.util.DeployAWTUtil.invokeAndWait(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.runOnEDT(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
basic: Finished applet teardown
Forms Applet version is : 10.1.2.0
network: Connecting http://ssi-mmunir.ssilhr.com.pk:8889/forms/lservlet;jsessionid=ac1201b922b9788bf36fce964dcdab6dd331b3d189df with proxy=DIRECT
network: Cache entry not found [url: http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/oracle/forms/demo/GetCanvasProp.class, version: null]
network: Connecting http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/oracle/forms/demo/GetCanvasProp.class with proxy=DIRECT
java.lang.ClassNotFoundException: oracle.forms.demo.GetCanvasProp
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed:http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/oracle/forms/demo/GetCanvasProp.class
at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 21 more
network: Connecting http://ssi-mmunir.ssilhr.com.pk:8889/forms/lservlet;jsessionid=ac1201b922b9788bf36fce964dcdab6dd331b3d189df with proxy=DIRECT
network: Connecting http://ssi-mmunir.ssilhr.com.pk:8889/forms/lservlet;jsessionid=ac1201b922b9788bf36fce964dcdab6dd331b3d189df with proxy=DIRECT
network: Connecting http://ssi-mmunir.ssilhr.com.pk:8889/forms/lservlet;jsessionid=ac1201b922b9788bf36fce964dcdab6dd331b3d189df with proxy=DIRECT
basic: Applet started
basic: Told clients applet is started
network: Connecting http://ssi-mmunir.ssilhr.com.pk:8889/forms/lservlet;jsessionid=ac1201b922b9788bf36fce964dcdab6dd331b3d189df with proxy=DIRECT
network: Cache entry not found [url: http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/frmall.jar FormsProperties.jar, version: null]
network: Cache entry not found [url: http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/frmall.jar FormsProperties.jar, version: null]
network: Cache entry not found [url: http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/frmall.jar FormsProperties.jar, version: null]
network: Cache entry not found [url: http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/frmall.jar FormsProperties.jar, version: null]
network: Cache entry not found [url: http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/frmall.jar FormsProperties.jar, version: null]
network: Cache entry not found [url: http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/frmall.jar FormsProperties.jar, version: null]
network: Cache entry not found [url: http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/frmall.jar FormsProperties.jar, version: null]
network: Cache entry not found [url: http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/frmall.jar FormsProperties.jar, version: null]
network: Cache entry not found [url: http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/frmall.jar FormsProperties.jar, version: null]
network: Cache entry not found [url: http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/frmall.jar FormsProperties.jar, version: null]
network: Cache entry not found [url: http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/frmall.jar FormsProperties.jar, version: null]
network: Cache entry not found [url: http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/frmall.jar FormsProperties.jar, version: null]
network: Cache entry not found [url: http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/frmall.jar FormsProperties.jar, version: null]
network: Cache entry not found [url: http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/frmall.jar FormsProperties.jar, version: null]
network: Cache entry not found [url: http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/frmall.jar FormsProperties.jar, version: null]
network: Cache entry not found [url: http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/frmall.jar FormsProperties.jar, version: null] -
Hi,
I'm using a pjc on my forms but on runtime i received an error: open HTTP connection failed.
The output of my java console is :
Oracle JInitiator: Version 1.3.1.22
Using JRE version 1.3.1.22-internal Java HotSpot(TM) Client VM
User home directory = D:\documents and settings\OFV7600
Proxy Configuration: Automatic Proxy Configuration
JAR cache enabled
Location: D:\documents and settings\OFV7600\Oracle Jar Cache
Maximum size: 50 MB
Compression level: 0
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
q: hide console
s: dump system properties
t: dump thread list
x: clear classloader cache
0-5: set trace level to <n>
Loading http://do040001334/forms60java/f60all.jar from JAR cache
Loading http://do040001334/hsd65-java/hst65.jar from JAR cache
Loading http://do040001334/forms60java/classes12.jar.sig from JAR cache
Loading http://do040001334/forms60java/cadtest.jar.sig from JAR cache
Loading http://do040001334/forms60java/browser_jpkg.jar.sig from JAR cache
Loading http://do040001334/forms60java/TutoFichier.jar.sig from JAR cache
Loading http://do040001334/forms60java/stip.jar.sig from JAR cache
Loading http://do040001334/forms60java/pkg_scroll.jar.sig from JAR cache
Loading http://do040001334/forms60java/client.jar.sig from JAR cache
Loading http://do040001334/forms60java/pkg_geosoft.jar.sig from JAR cache
Loading http://do040001334/forms60java/cadtest20060320.jar.sig from JAR cache
connectMode=Socket
serverHost=DO040001334
serverPort=9000
Forms Applet version is : 60824
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Where is my problem ?
How to resolve my problem ?
Thanksthanks,
I had do the classpath
Now, I have another problem
Oracle JInitiator: Version 1.3.1.22
Using JRE version 1.3.1.22-internal Java HotSpot(TM) Client VM
User home directory = D:\documents and settings\OFV7600
Proxy Configuration: Automatic Proxy Configuration
JAR cache enabled
Location: D:\documents and settings\OFV7600\Oracle Jar Cache
Maximum size: 50 MB
Compression level: 0
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
q: hide console
s: dump system properties
t: dump thread list
x: clear classloader cache
0-5: set trace level to <n>
Loading http://do040001334/forms60java/f60all.jar from JAR cache
Loading http://do040001334/hsd65-java/hst65.jar from JAR cache
Loading http://do040001334/forms60java/classes12.jar.sig from JAR cache
Loading http://do040001334/forms60java/cadtest.jar.sig from JAR cache
Loading http://do040001334/forms60java/browser_jpkg.jar.sig from JAR cache
Loading http://do040001334/forms60java/TutoFichier.jar.sig from JAR cache
Loading http://do040001334/forms60java/stip.jar.sig from JAR cache
Loading http://do040001334/forms60java/pkg_scroll.jar.sig from JAR cache
Loading http://do040001334/forms60java/client.jar.sig from JAR cache
Loading http://do040001334/forms60java/pkg_geosoft.jar.sig from JAR cache
Loading http://do040001334/forms60java/cadtest20060320.jar.sig from JAR cache
connectMode=Socket
serverHost=DO040001334
serverPort=9000
Forms Applet version is : 60824
_____START CADViewerWrapper() constructor_____
Running CADViewer 8.0.6d
Exception =java.security.AccessControlException: access denied (java.io.FilePermission viewer.cfg read)
java.security.AccessControlException: access denied (java.io.FilePermission viewer.cfg read)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkRead(Unknown Source)
at java.io.File.isDirectory(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
at com.cadviewer.be.a(Unknown Source)
at com.cadviewer.be.do(Unknown Source)
at com.cadviewer.e0.m(Unknown Source)
at com.cadviewer.e0.a(Unknown Source)
at com.cadviewer.ViewerAWT.<init>(Unknown Source)
at cadtest20060320.CADViewerWrapper2.<init>(CADViewerWrapper2.java:78)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
url=file:/d:/acad_B/es/cat/STIP/Extract/410009.dwf
url=file:/d:/acad_B/es/cat/STIP/Extract/410009.dwf
Netscape security model is no longer supported.
Please migrate to the Java 2 security model instead.
Netscape security model is no longer supported.
Please migrate to the Java 2 security model instead.
protocol=file,fileURL.getHost()=,fileURL.getPort()=-1,fileURL.getFile()=/d:/acad_B/es/cat/STIP/Extract/410009.dwf
FileToArray url=file:/d:/acad_B/es/cat/STIP/Extract/410009.dwf
longName=dummy.dwf
java.lang.NullPointerException
at java.awt.Container.addImpl(Unknown Source)
at java.awt.Container.add(Unknown Source)
at cadtest20060320.CADViewerWrapper2.<init>(CADViewerWrapper2.java:84)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
__START CadWrapper public void init
__END CadWrapper public void init
What about -
Java.io.IOExcetion :open HTTP Connection Failed
Hi Everybody,
I'm getting the java.io.IOExcetion :open HTTP Connection Failed error when I'm trying run a html page with an embedded Applet in it.
We are having a proxy server and all our network traffic have to be done through proxy.
But in Browser we give exemption to local host.
When I run the html file outside JDeveloper keeping it in the same directory in which the Applets class file is : I'm getting the Applet running.
But If I run the html page From JDeveloper , I'm getting the above said error.
My JRE is configured to use Browser settings and the browser is set to use the proxy.
Why are applets not able to connnect to the sever?
How to make Jdeveloper connect to proxy?
Thanking you for the answer?
SambaOh ! I thought i could change in my pc control panel settings for rectify the error (java.io.IOException: open HTTP connection failed.)..
Ok now my name is displayed in forum..
Which trigger i have to call when a form is loaded? (Instead of When-New-Form-Instance ).
I am running samples which i downloaded from your website only.(A java input dialog box)
Input Dialog box is not displayed?
and also java.io.IOException: open HTTP connection failed error is displayed... -
IOException : open HTTP connection failed...
Hi !
I am still trying to load an applet in doc-root from a servlet , at this point I got MS-IE to throw up a JAVA console window, which informs me that the HTTP connection has failed.
Any hints or pointers to what causes this ?
I can both Netscape and IE to access html's in Apache doc root.
THXHi !
I post this in case anyone has a similar problem :
Using the <applet... > tag, the calling servlet must explicitly identify the applet directory in the remote web server because the servlet does not know anything about httpd and will not read the PATH on the linux/unix box.
I think it would be good house keep if the document root has an equivalent sub-dir structure as the servlet packages.
This is the only way I know how to get it to work, I would like to know of any other solution.
Good luck. -
Hi all.
The environment is J2SDK4 + Tomcat4.0.4
I tried to implement the WebClient.java in SUN/Marty Hall's book "Core Servlets and JavaServer Pages".
Everything compiles okay. All the java and class files are in a package under the /examples folder in tomcat.
When I invoke WebClient.html in "http://localhost:8080/examples/" I got this error:
load: class com.omh.utilities.WebClient not found.
java.lang.ClassNotFoundException: com.omh.utilities.WebClient
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
...etc...
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
...etc...
Other servlets okay.
Can someone point me in the right direction please.
TIA :-)Oops, forgot about the dukes.
Here is a more detailed description of my problem:
My environment is j2sdk4 and TC404. I am trying to implement SUN/Marty hall's WebClient for administering host, port and requests. The code uses java.net's SocketUtil. e.g.
(NetworkClient.java)
Socket client = new Socket(host, port);
handleConnection(client);
protected void handleConnection(Socket client){
PrintWriter out = SocketUtil.getWriter(client);
BufferedReader in = SocketUtil.getReader(client);
etc
I'm not sure whether this is TC4 or a java related problem, but all java code compiles to class file okay.
My path is $CATALINA_HOME/webapps/examples/
In the server.xml I've uncommented the example Context, like this:
(server.xml)
<Connector className="...Ajp13Connector" ...etc...>
<Connector className="org.apache.catalina.connector,http.HttpConnector
port="8080" minprocessors="3" maxProcessors="10"
enableLookups="true" acceptCount="3" debug="0"/>
<Engine jvmRoute="blurb" name="blurb" defaultHost="localHost" debug="2">
<Logger...>
<Realm...>
<Host name="localhost" debug="0" appBase="webapps" unpackWARs="true">
<Valve...>
<Logger...>
<Context path=/examples" docBase="examples"
debug="0" reloadable="true" crossContext="true">
</Context>
In my TC log, I've this error:
"GET /examples/com/omh/utilities/WebClient.class HTTP/1.1" 404 675
On the java console, I have these errors (they tend to be very long and tedious):
load: class com.omh.utilities.WebClient not found.java.lang.ClassNotFoundException: com.omh.utilities.WebClient at sun.applet.AppletClassLoader.findClass(Unknown Source) at sun.plugin.security.PluginClassLoader.findClass(Unknown Source) ...etc...Caused by: java.io.IOException: open HTTP connection failed. at sun.applet.AppletClassLoader.getBytes(Unknown Source) at sun.applet.AppletClassLoader.access$100(Unknown Source)
...etc...
Other demo and example servlets and jsp that come with the standard install work find. Other stuff I put in examples work find as well.
Is this a TC setup error on my part???
TIA -
ClassNotFoundException,open HTTP connection failed
Hai All,
when I try to run my applet in webpage the applet is notinited
& i found the following stacktrace in java Console:
Requesting URL: http://localhost/PCC/Applet/ImgDemo.class
load: class ImgDemo.class not found.
java.lang.ClassNotFoundException: ImgDemo.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more
Is this a problem with classpath or OS or my code.
Thank you.Hi mate.
You realise you double posted? Bad move :P
Your problem is with your HTML tagging; you need
<applet codebase="http://sitename.com/path/to/applet" code="ClassName.class" archive="ArchiveName.jar" width="500 height="460">
<param name=.... />
<param name=.... />
</applet>In the above, 'archive=...' is only necessary if you've jar'ed your applet, and obviously width and height you specify according to your needs.
HTH. -
FormsGraph: open HTTP connection failed
I have the forms 9i demos installed and they work fine. However when I put my own form into the bigraph\forms directory and try to run it, the form itself runs but I have no chart. The implementation class is the same as in the FormsGraph demo.
I have copied the [bigraph] config information in forms90demo.cfg to my own config, changing only the fmx name and the userid. However, the java console shows
..java.lang....open HTTP connection failed
followed by a number of java classes.
What could be going wrong?
AdrianFrank, this is from the java console
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
Forms Applet version is : 90290
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
and this is the forms90demo.cfg, which I have
modified to make sure I hadn't missed anything
for FormsGraph capabilities
(I have stripped out the other named configs)
# Forms 9i Samples and Demos Configurations
# Generic settings for the Demos and Samples
# SYSTEM PARAMETERS
# These have fixed names and give information required by the Forms
# Servlet in order to function. They cannot be specified in the URL query
# string. But they can be overriden in a named configuration (see below).
# Some parameters specify file names: if the full path is not given,
# they are assumed to be in the same directory as this file. If a path
# is given, then it should be a physical path, not a URL.
baseHTML=demo90base.html
baseHTMLie=demo90baseie.html
baseHTMLJInitiator=demo90basejini.html
HTMLdelimiter=%
# WorkingDirectory defaults to <oracle_home>/forms90 if unset.
workingDirectory=
envFile=forms90demo.env
# The next parameter specifies how to execute the Forms applet under
# Microsoft Internet Explorer 5.x.
# The Demos want to use JInitiator as we ahve many demos that need a 1.3 JVM
IE=JInitiator
# These settings support running and debugging a form from the Builder:
otherparams=debug=%debug% buffer_records=%buffer% debug_messages=%debug_messages% array=%array% query_only=%query_only% quiet=%quiet% render=%render% host=%host% port=%port% record=%record% tracegroup=%tracegroup% log=%log% term=%term%
debug=no
buffer=no
debug_messages=no
array=no
query_only=no
quiet=yes
render=no
host=
port=
record=
tracegroup=
log=
term=
# Values for the Forms applet parameters:
serverURL=/forms90demo/l90servlet
codebase=/forms90demo/java
imageBase=DocumentBase
formsMessageListener=
recordFileName=
serverApp=default
# General Shared settings which define the Look and feel of the Demos
width=675
height=480
separateFrame=false
splashScreen=no
lookAndFeel=oracle
colorScheme=blue
background=/forms90demo/images/blue.gif
logo=/forms90demo/images/Forms9i.gif
# Other settings
scripting=false
# Default JARs
archive=f90all.jar,/forms90demo/jars/demo90.jar
archive_jini=f90all_jinit.jar,/forms90demo/jars/demo90.jar
archive_ie=f90all.cab,/forms90demo/jars/demo90.cab
# Jinitiator and iAS general settings
# Number of times client should retry if a network failure occurs. Only
# change after having read the documentation.
networkRetries=0
# 4) Parameters for JInitiator (used with Windows clients)
# Page displayed to Netscape users to allow them to download JInitiator.
# If you create your own page, you should set this parameter to point to it.
jinit_download_page=/forms90demo/jinitiator/us/jinit_download.htm
# Parameters related to the version of JInitiator.
jinit_classid=clsid:CAFECAFE-0013-0001-0013-ABCDEFABCDEF
jinit_exename=jinit.exe#Version=1,3,1,13
jinit_mimetype=application/x-jinit-applet;version=1.3.1.13
# EM config parameter
# Set this to "1" to enable Enterprise Manager to track Forms processes
em_mode=0
[qt]
userid=capel/james@bond
form=portfoliomanager.fmx
#width=960
#height=1200
#baseHTML=qtbase.htm
#baseHTMLjinitiator=qtbasejini.htm
#baseHTMLjpi=qtbasejpi.htm
#baseHTMLie=qtbaseie.htm
archive=f90all_jinit.jar,/forms90demo/jars/demo90.jar,/forms90demo/jars/FormsGraph.jar
archive_jini=f90all_jinit.jar,/forms90demo/jars/demo90.jar,/forms90demo/jars/FormsGraph.jar
#background=NO
#look-and-feel=Generic
#logo=NO
imagebase=codebase
# End
Even when I replace graph90.fmx in the [bigraph] named configuration with my portfoliomanager.fmx I still get these errors. This leads me to think there is something wrong with the form itself. The demos work fine. -
Webutil - Open HTTP Connection failed error
Hi all,
I am trying to setup webutil on 9iDS. I have configured all the necessary files & the registry as per the manual & the read me.html.
I have doubts on the \ (slash) used for the virtual path in orion_web.xml and forms90.conf. Is it supposed to be
C:\webutil\lib or C:/webutil.lib ?
Should WebUtilArchive be set to /forms90/webutil/webutil.jar or /webutil/webutil.jar?
Can someone please help me with the foll. error.
Console message
WARNING: Unable to cache http://houwdisndgd01:8888/forms90/java/=/forms90/webutil/webutil.jar
Loading http://houwdisndgd01:8888/forms90/webutil/jacob.jar from
JAR cache
Loading http://houwdisndgd01:8888/forms90/java/f90all_jinit.jar from JAR cache
load: class oracle.forms.webutil.common.RegisterWebUtil not found.
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
BTW I don't get this error on the apps. server but my call to CLIENT_WIN_API_ENVIRONMENT.READ_REGISTRY or WRITE_REGISTRY still raises the When Others exception on the apps server.
Please help !
Thanks
KalpanaCheck the entries pointing to webutil
I see an '=' in your path.
cache http://houwdisndgd01:8888/forms90/java/=/forms90/webutil/webutil.jar
my entries for webutil.jar (on windohs) looks like this
webUtilArchive=/forms90/webutil/webutil.jar,/forms90/webutil/jacob.jar -
Caused by java.sql.SQLException: No JDBC connection can be made
Hi,
I am using OSB11g (with soa db adapter ) to select data from DB2 Database. I am trying to just fetch like 100 records(very less).
I get this Exception once in 4-5 tests I do . I am not sure if I have to modify any configurations, in case its timing out .
I see something like *"To classify it as non-retriable instead add property nonRetriableErrorCodes with value "0" to your deployment descriptor (i.e. weblogic-ra.xml)."*
I don't see the tables when I try to perform SELECT operation in db adapter. In JDev worksheet I can see the tables and records when queried.
BEA-380002: Invoke JCA outbound service failed with connection error, exception: com.bea.wli.sb.transports.jca.JCATransportException: oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/SampleOSBEMEA/WSDL/DBOut [ DBOut_ptt::DBOut(DBOutInput_msg,DBOutOutputCollection) ] - WSIF JCA Execute of operation 'DBOut' failed due to: Pure SQL Exception.
Pure SQL Execute of SELECT Column1, Column2 ..........Column216 from Table.
Caused by java.sql.SQLException: No JDBC connection can be made
because the transaction state is
Rolledback.
; nested exception is:
BINDING.JCA-11633
Pure SQL Exception.
Caused by java.sql.SQLException: No JDBC connection can be made
because the transaction state is
Rolledback.
The Pure SQL option is for border use cases only and provides simple yet minimal functionality. Possibly try the "Perform an operation on a table" option instead. This exception is considered retriable, likely due to a communication failure. Because the global transaction is rolling back the invoke must be retried in a new transaction, restarting from the place of the last transaction commit. To classify it as non-retriable instead add property nonRetriableErrorCodes with value "0" to your deployment descriptor (i.e. weblogic-ra.xml).
The Pure SQL option is for border use cases only and provides simple yet minimal functionality. Possibly try the "Perform an operation on a table" option instead. This exception is considered retriable, likely due to a communication failure. Because the global transaction is rolling back the invoke must be retried in a new transaction, restarting from the place of the last transaction commit. To classify it as non-retriable instead add property nonRetriableErrorCodes with value "0" to your deployment descriptor (i.e. weblogic-ra.xml).
at oracle.tip.adapter.db.exceptions.DBResourceException.createXARetriableException(DBResourceException.java:670)
at oracle.tip.adapter.db.exceptions.DBResourceException.createEISException(DBResourceException.java:642)
at oracle.tip.adapter.db.exceptions.DBResourceException.pureSQLException(DBResourceException.java:711)
at oracle.tip.adapter.db.puresql.PureSQLInteraction.executePureSQL(PureSQLInteraction.java:625)
at oracle.tip.adapter.db.DBInteraction.executePureSQL(DBInteraction.java:1146)
at oracle.tip.adapter.db.DBInteraction.execute(DBInteraction.java:254)
at oracle.tip.adapter.sa.impl.fw.wsif.jca.WSIFOperation_JCA.performOperation(WSIFOperation_JCA.java:529)
... 63 more
Caused by: java.sql.SQLException: No JDBC connection can be made
because the transaction state is
Rolledback
at weblogic.jdbc.jts.Driver.newConnection(Driver.java:949)
at weblogic.jdbc.jts.Driver.createLocalConnection(Driver.java:327)
at weblogic.jdbc.jts.Driver.connect(Driver.java:173)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:364)
at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:126)
at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:94)
at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162)
at org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor.connectInternal(DatasourceAccessor.java:327)
at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.connectInternal(DatabaseAccessor.java:291)
at org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor.reconnect(DatasourceAccessor.java:558)
at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.reconnect(DatabaseAccessor.java:1433)
at org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor.incrementCallCount(DatasourceAccessor.java:302)
at oracle.tip.adapter.db.DBConnection.getTopLinkSQLConnection(DBConnection.java:333)
at oracle.tip.adapter.db.transaction.DBTransaction.beginInternal(DBTransaction.java:126)
at oracle.tip.adapter.db.puresql.PureSQLInteraction.executePureSQL(PureSQLInteraction.java:171)
... 66 more
Should I increase the time interval in weblogicra.xml (DEV/wls1034/middleware/Oracle_OSB1/lib/external/adapters/META-INF)
for <wls:connection-reserve-timeout-seconds>5</wls:connection-reserve-timeout-seconds>
Thanks
Edited by: soauser on Jul 6, 2011 10:02 AMLooks like either database is too slow or data-source is not functioning properly. Make sure to test data source and see if it is in running state and it has sufficient number of connections (you may increase max connections value). Actually transaction is getting rolled back because it could not get connection in specified time period (may be JTA/statement timeout).
Cross post in Weblogic JDBC forum as well for expert's advice -
WebLogic Server - JDBC
You may consider raising a case with support as well.
Regards,
Anuj -
I am attemping to set up a sender channel using the SOAP adatper to process HTTP(S) posts containg a file that is being uploaded.
The Sender channel is set up to use HTTPS With Client Authentication, and selected "Do Not Use SOAP Envelope" -- since the payload will not be SOAP. I am simply trying to generate a message in PI from the HTTP post.
I have posted the data but am getting the following error in the channel:
com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.interfaces.messaging.api.exception.MessageFormatException: Failed to render XIMessage. Reason: java.io.IOException: Missing mandatory element <sap:Main>sap:Receiver/sap:Service
The trading partner I am workgin with only has the ability to use a generic POST (I believe he is usnig CURL or some some other tool the 'post' the data.Thank you for your reply.
The solution I am seeking is not for XML payload. Its a flat-file that one of our trading partners is sending to us, both for flat files as well as EDI/X12 data. I have the checkbox selected to not use the SOAP Envelope and am using the "nosoap=true" in the URL.
This should be simple, as all we need to do is to pass the data as posted by the trading partner to a SFTP or FILE adapter on the receiver side. Nothing more than we've already done using an AS2 Sender channel for, the trouble with in case case our trading partner does not support any encrypted transports except for HTTPS.
-Gerry -
Hi experts,
I have a IDOC to SOAP scenario where SOAP receiver channel is sending data to web service. In the receiver channel I am getting error as below. Kindly help me to resolve this issue. Thanks.
"Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid http response: null"Did you check this?
http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40611dd6-e66e-2910-f383-e80fb44f9cd4
Regards
Pothana
Maybe you are looking for
-
What is diff b/w NW2004 and NW2004s
Hi could any body tell me what that is the basic/major difference between SAP NW2004 and SAP NW2004s Servers Thanks mmukehs
-
Possible to view graphics in ABAP documentation without printing?
I have uploaded a bitmap to the document server and included it in the documentation of my component (an interface, in this case), for which the ABAP workbench generates the statement BITMAP 'BO_VSAB' OBJECT GRAPHICS ID BMAP TYPE BCOL DPI 300 The pic
-
i want to edit my audio book so that i can listen to my favorite parts. i can't import the book into a third party software where i can edit it because it's locked. the whole mp3 is two hours long, so i can't copy it 10 times and specify the starting
-
I have an 8500a how, once I select the apps I want and add to the printer. How do i get them to work? And is it always this slow....
-
Add Planning Version in SDP94 header
Hi SCM Gurus, Is there any possibility to add the planning version information in to the planning book "header", I quote this is because I want the planning version to be shown as the place in attachment. ( through menu I can go to Setting-> Header I