Error opening a Socket
Hi
I am getting delay in opening a socket in my application.
I have a listener service listening on a particular port. There are 2 entities that try to connect to this service - One is a standalone C batch program and other is Java Web application.
Both these programs use sockets to connect to this service.
Now about once a month (under some unknown scenario) the C batch faces a problem. It takes about 10-15 seconds to open the connection. In some retries it was not able to open the connection also. Under normal scenarios it does not take more than 100 millisec to do the same.
I saw the code but could not find any reason why this should happen. The only suspicious part of code was Java code, which while opening the socket in catch block, does not close the socket.
Please guide me on this problem. Also is there any limitation on how many sockets can be opened on a port in Java /C?
There's a platform limit on the number of file descriptors. The Java code (and the C code) should certainly close the socket, via all possible execution paths, any time it gets an EOF or any exception other than a SocketTimeoutException.
Similar Messages
-
Hi,
I need some help.
Product=weblogic5.1.0
Revision=(Release Level)=
Problem Description=
I am doing cluster of weblogic server, I have no problem to set up the
cluster and to run servlet and EJB examples.
However, on my command line for startcluster I got a lot of message as
followed:
Fri Aug 18 11:31:44 EDT 2000:<E> <MulticastSocket> Multicast socket receive
error: java.lang.RuntimeException: I/O error opening JAR file from
file:/D:/weblogic/mycluster/server86/tmp_deployments/ejbjar-17327.jar
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java, Compiled Code)
at java.util.zip.ZipFile.<init>(ZipFile.java, Compiled Code)
at weblogic.boot.ServerClassLoader.deploy(ServerClassLoader.java,
Compiled Code)
at
weblogic.cluster.AnnotatedServiceOffer.expandClassPath(AnnotatedServiceOffer
.java, Compiled Code)
at
weblogic.cluster.AnnotatedServiceOffer.readObject(AnnotatedServiceOffer.java
, Compiled Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLOb
jectInputStreamBase.java, Compiled Co
de)
at
weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputS
treamBase.java, Compiled Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInpu
tStreamBase.java, Compiled Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStr
eamBase.java, Compiled Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputS
treamBase.java, Compiled Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readArrayList(WLObjectInput
StreamBase.java, Compiled Code)
at weblogic.cluster.StateDump.readObject(StateDump.java, Compiled
Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLOb
jectInputStreamBase.java, Compiled Co
de)
at
weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputS
treamBase.java, Compiled Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInpu
tStreamBase.java, Compiled Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStr
eamBase.java, Compiled Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputS
treamBase.java, Compiled Code)
at weblogic.cluster.TMSocket.execute(TMSocket.java, Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
The message freshed about every 20 seconds.
Another question, I used a iplanet web server as a proxy server with a
cluster of two weblogic servers pluged in, although I set
weblogic.properties to round-robin, however, when I run a fibonacci servlet,
it does not do the round-robin. It always go to one machine for a lot of
times. Any idea?
Thank you for your help.
Tom
May i presume that your cluster is configured on a shared file system?.
I have seen this problem only if you cluster is configured on different machines
and if the directory structure is not identical.
let us know..
Kumar
Cameron Purdy wrote:
> First, update to SP4 (or SP5 if it is out now). Second, follow the cluster
> instructions on setting up deployments for a cluster. The only
> implementation that I have used is the single shared location that all the
> servers load from.
>
> --
>
> Cameron Purdy
> http://www.tangosol.com
>
> "Tom Gan" <[email protected]> wrote in message
> news:[email protected]...
> > Hi,
> > I need some help.
> >
> > Product=weblogic5.1.0
> > Revision=(Release Level)=
> > Problem Description=
> > I am doing cluster of weblogic server, I have no problem to set up the
> > cluster and to run servlet and EJB examples.
> > However, on my command line for startcluster I got a lot of message as
> > followed:
> > Fri Aug 18 11:31:44 EDT 2000:<E> <MulticastSocket> Multicast socket
> receive
> > error: java.lang.RuntimeException: I/O error opening JAR file from
> > file:/D:/weblogic/mycluster/server86/tmp_deployments/ejbjar-17327.jar
> > java.util.zip.ZipException: error in opening zip file
> > at java.util.zip.ZipFile.open(Native Method)
> > at java.util.zip.ZipFile.<init>(ZipFile.java, Compiled Code)
> > at java.util.zip.ZipFile.<init>(ZipFile.java, Compiled Code)
> > at weblogic.boot.ServerClassLoader.deploy(ServerClassLoader.java,
> > Compiled Code)
> > at
> >
> weblogic.cluster.AnnotatedServiceOffer.expandClassPath(AnnotatedServiceOffer
> > .java, Compiled Code)
> > at
> >
> weblogic.cluster.AnnotatedServiceOffer.readObject(AnnotatedServiceOffer.java
> > , Compiled Code)
> > at
> >
> weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLOb
> > jectInputStreamBase.java, Compiled Co
> > de)
> > at
> >
> weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputS
> > treamBase.java, Compiled Code)
> > at
> >
> weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInpu
> > tStreamBase.java, Compiled Code)
> > at
> >
> weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStr
> > eamBase.java, Compiled Code)
> > at
> >
> weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputS
> > treamBase.java, Compiled Code)
> > at
> >
> weblogic.common.internal.WLObjectInputStreamBase.readArrayList(WLObjectInput
> > StreamBase.java, Compiled Code)
> > at weblogic.cluster.StateDump.readObject(StateDump.java, Compiled
> > Code)
> > at
> >
> weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLOb
> > jectInputStreamBase.java, Compiled Co
> > de)
> > at
> >
> weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputS
> > treamBase.java, Compiled Code)
> > at
> >
> weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInpu
> > tStreamBase.java, Compiled Code)
> > at
> >
> weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStr
> > eamBase.java, Compiled Code)
> > at
> >
> weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputS
> > treamBase.java, Compiled Code)
> > at weblogic.cluster.TMSocket.execute(TMSocket.java, Compiled Code)
> > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
> > Code)
> >
> > The message freshed about every 20 seconds.
> >
> > Another question, I used a iplanet web server as a proxy server with a
> > cluster of two weblogic servers pluged in, although I set
> > weblogic.properties to round-robin, however, when I run a fibonacci
> servlet,
> > it does not do the round-robin. It always go to one machine for a lot of
> > times. Any idea?
> > Thank you for your help.
> > Tom
> >
> >
> >
-
I received Multicast socket receive error when I tried to restart the weblogic cluster in our pre-prod box.
The error message I received lkie this:
Multicast socket receive error: java.lang.RuntimeException: I/O error opening JAR file from file:/vol01/sites/vinlkup/site/versionc/local_classes/VIN/DeliveryTypeLookupEJB.jar
Yuping,
What release of WLS w/ service pack are you using? Make sure, if you are using a non-shared file system, to have the same absolute paths to your application on your file systems.
yuping xu wrote:
> I received Multicast socket receive error when I tried to restart the weblogic cluster in our pre-prod box.
> The error message I received lkie this:
> Multicast socket receive error: java.lang.RuntimeException: I/O error opening JAR file from file:/vol01/sites/vinlkup/site/versionc/local_classes/VIN/DeliveryTypeLookupEJB.jar
-
Please advise me on the below error;; I am using tftpd for tft
Router#copy startup-config tftp
Address or name of remote host []? 192.168.0.12
Destination filename [router-confg]?
%Error opening tftp://192.168.0.12/router-confg (Socket error)This was the right answer.. Solved
https://learningnetwork.cisco.com/thread/56041
im surprised you can ping without attaching a crossover cable.
because if your only using your console port to connect your pc...then you dont have ip connectivity
i think the cable your using to connect your pc to your router fa port is a straight through ethernet cable....
you see it attaches to a switch port in the back of your home router(not cisco router)
not a router port.
so you need a different cable depending on how you want to connect to your router.
you can check to see if it is a crossover cable
just peer down the end of the cable you can see the colours...
if they are in the same order on each end...then it is a straight through cable
if they have a different order...then it is a crossover cable
if your connecting to your pc via your home router.
then yes.....you need to plug a straight through cable into your cisco router from your home router
and it will work
if your connecting your pc directly to your router
then you need to use a crossover cable from the back of your pc...to your cisco router.
and it will work -
Applet not opening a socket on its own host. Please help.
I have also posted this in JSC2 forum.
My applet is not able to open a socket on its own host.
The applet is being served by a JSP (developed using Sun Creator2) from my laptop behind a DHCP broadband router at (say) 125.238.104.132 at my residence. I have a URL �samsub.no-ip.biz� that redirects port 80 calls to 29080 where my application runs. All required router rules/mapping are done and the JSPs run perfectly fine. In one of the pages, I have inserted an applet inside an escape disabled statictext field as follows:
<applet code="AppClient.class" width=540 height=440></applet>
The applet code and the test server code are shown below for your analysis. Note that, when run on the same machine (at home), the applet works fine. The commented lines will show other failed test. The error reported at the java console was: null pointer at line 56
Could someone help me please. Thanx. MarySam
The applet code
1 import java.util.*;
2 import java.awt.*;
3 import java.applet.*;
4 import java.text.*;
5 import javax.swing.*;
6 import com.sun.java.swing.plaf.windows.*;
7 import java.awt.event.*;
8 import java.net.*;
9
10 public class AppClient extends Applet {
11 JInternalFrame jif;
12 JTextArea jta1, jta2;
13 Socket kkSocket = null;
14
15 public void init() {
16 try {
17 LookAndFeel lf = new WindowsLookAndFeel();
18 UIManager.setLookAndFeel(lf);
19 kkSocket = new Socket("125.238.104.132", 4444);
//kkSocket = new Socket("samsub.no-ip.biz", 4444);
//kkSocket = new Socket("125.238.104.132:29080", 4444);
//kkSocket = new Socket("samsub.no-ip.biz:29080", 4444);
20 } catch(Exception e) {}
21
22 setLayout(null);
23 setBackground(Color.black);
24 jif = new JInternalFrame();
25 jif.setLocation(20,20);
26 jif.setSize(500,400);
27 Container con1 = jif.getContentPane();
28 con1.setLayout(null);
29
30 jta1 = new JTextArea();
31 JScrollPane jcp1 = new JScrollPane(jta1);
32 jcp1.setBounds(10,10,410,100);
33 con1.add(jcp1);
34
35 jta2 = new JTextArea();
36 JScrollPane jcp2 = new JScrollPane(jta2);
37 jcp2.setBounds(10,115,470,245);
38 con1.add(jcp2);
39
40 JButton jb = new JButton("Go");
41 jb.setBounds(425,10,60,30);
42 jb.addActionListener(this);
43 con1.add(jb);
44
45 JLabel jlb = new JLabel();
46 jlb.setOpaque(true);
47 jlb.setBackground(Color.gray);
48 jlb.setForeground(Color.white);
49 jlb.setBounds(425,50,60,30);
50 con1.add(jlb);
51
52
53 jif.setVisible(true);
54 add(jif);
55 //jta2.setText(getCodeBase().toString());
56 jta2.setText(kkSocket.getInetAddress().toString());
57
58 }
59
60 public void start() {}
61
62 public void stop() {}
63
64
65 }
66
67
The test server Code
1 import java.net.*;
2 import java.io.*;
3
4 public class MyServer {
5 public static void main(String[] args) throws IOException {
6
7 ServerSocket serverSocket = null;
8 try {
9 serverSocket = new ServerSocket(4444);
10 } catch (IOException e) {
11 System.err.println("Could not listen on port: 4444.");
12 System.exit(1);
13 }
14
15 Socket clientSocket = null;
16 try {
17 clientSocket = serverSocket.accept();
18 System.out.println(clientSocket.getInetAddress().toString());
19 } catch (IOException e) {
20 System.err.println("Accept failed.");
21 System.exit(1);
22 }
23
24 clientSocket.close();
25 serverSocket.close();
26 }
27 }
28
29Hi Guys,
I'm not actually from Mozilla Firefox, but I've had this problem before, and I've solved it with the help from another website.
What you need to do is download a programme called "tdsskiller" from here:
http://www.geekpolice.net/t23369-computer-infected
scroll down the page and you should see a link. (I know the article itself seems irrelevant to your problem, but trust me, the programme they recommend works on this virus too.) It's only 1.3MB or so, so it doesn't take up huge amounts of space either! :)
I can safely say that it is COMPLETELY safe to download this from geekpolice.net, as this website is a free website which helps people with viruses on their computer. If you ever have another problem with anything to do with computers, go and have a look on geekpolice.net, they should have something that might help you.
Before anyone wonders why I am singing its praises so much, no I am not advertising them for any personal gain, but they have helped me get rid of some pretty nasty viruses on my computer before, so I am very grateful to them :)
SO, anyway, after you've downloaded the tdsskiller, you should run it, and it may find some infected files, in which case let it repair them. After rebooting your computer, the annoying opening tab thing should be gone!
I hope this works for anyone who's stuck :) If it doesn't, I'm really sorry, but it has definately worked for me!
Good luck!
Yashmeee :) -
I'm using WLS 5.1 SP8 on NT 4.0 and trying to setup a cluster. The cluster
starts fine except when I try to deploy a session bean that is marked as
clustered. I get an error about reading a jar file
(D:/weblogic/mycluster/server196/tmp_deployments/ejbjar1559.jar) that WLS
created when the server started. Every server is getting this error and I
tried setting up the same paths (D:\weblogic) but it doesn't matter. Any
ideas?
Wed Jan 24 15:04:10 EST 2001:<I> <WebLogicServer> WebLogic Server started
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:69)
at java.util.zip.ZipFile.<init>(ZipFile.java:84)
at
weblogic.boot.ServerClassLoader.deploy(ServerClassLoader.java:141)
at
weblogic.cluster.AnnotatedServiceOffer.expandClassPath(AnnotatedServiceOffer
.java:74)
at
weblogic.cluster.AnnotatedServiceOffer.readObject(AnnotatedServiceOffer.java
, Compiled Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLOb
jectInputStreamBase.java, Compiled
Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputS
treamBase.java, Compiled Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInpu
tStreamBase.java, Compiled Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStr
eamBase.java, Compiled Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputS
treamBase.java, Compiled Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readArrayList(WLObjectInput
StreamBase.java, Compiled Code)
at weblogic.cluster.StateDump.readObject(StateDump.java:59)
at
weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLOb
jectInputStreamBase.java, Compiled
Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputS
treamBase.java, Compiled Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInpu
tStreamBase.java, Compiled Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStr
eamBase.java, Compiled Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputS
treamBase.java, Compiled Code)
at weblogic.cluster.TMSocket.execute(TMSocket.java, Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
Wed Jan 24 15:04:19 EST 2001:<E> <MulticastSocket> Multicast socket receive
error: java.lang.RuntimeException: I/O error
opening JAR file from
file:/D:/weblogic/mycluster/server196/tmp_deployments/ejbjar1559.jar
From previous posts I see this is a known bug. Is there a fix yet? btw, how
did a bug of this magnitude
get past QA. :(
Elan Halfin <[email protected]> wrote in message
news:[email protected]...
> I'm using WLS 5.1 SP8 on NT 4.0 and trying to setup a cluster. The cluster
> starts fine except when I try to deploy a session bean that is marked as
> clustered. I get an error about reading a jar file
> (D:/weblogic/mycluster/server196/tmp_deployments/ejbjar1559.jar) that WLS
> created when the server started. Every server is getting this error and I
> tried setting up the same paths (D:\weblogic) but it doesn't matter. Any
> ideas?
>
> Wed Jan 24 15:04:10 EST 2001:<I> <WebLogicServer> WebLogic Server started
> java.util.zip.ZipException: error in opening zip file
> at java.util.zip.ZipFile.open(Native Method)
> at java.util.zip.ZipFile.<init>(ZipFile.java:69)
> at java.util.zip.ZipFile.<init>(ZipFile.java:84)
> at
> weblogic.boot.ServerClassLoader.deploy(ServerClassLoader.java:141)
> at
>
weblogic.cluster.AnnotatedServiceOffer.expandClassPath(AnnotatedServiceOffer
> .java:74)
> at
>
weblogic.cluster.AnnotatedServiceOffer.readObject(AnnotatedServiceOffer.java
> , Compiled Code)
> at
>
weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLOb
> jectInputStreamBase.java, Compiled
>
> Code)
> at
>
weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputS
> treamBase.java, Compiled Code)
> at
>
weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInpu
> tStreamBase.java, Compiled Code)
> at
>
weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStr
> eamBase.java, Compiled Code)
> at
>
weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputS
> treamBase.java, Compiled Code)
> at
>
weblogic.common.internal.WLObjectInputStreamBase.readArrayList(WLObjectInput
> StreamBase.java, Compiled Code)
> at weblogic.cluster.StateDump.readObject(StateDump.java:59)
> at
>
weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLOb
> jectInputStreamBase.java, Compiled
>
> Code)
> at
>
weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputS
> treamBase.java, Compiled Code)
> at
>
weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInpu
> tStreamBase.java, Compiled Code)
> at
>
weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStr
> eamBase.java, Compiled Code)
> at
>
weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputS
> treamBase.java, Compiled Code)
> at weblogic.cluster.TMSocket.execute(TMSocket.java, Compiled Code)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
> Code)
> Wed Jan 24 15:04:19 EST 2001:<E> <MulticastSocket> Multicast socket
receive
> error: java.lang.RuntimeException: I/O error
>
> opening JAR file from
> file:/D:/weblogic/mycluster/server196/tmp_deployments/ejbjar1559.jar
>
>
-
Error on ASA5505: "IKE Receiver: Error reading from socket."
Hi,
I'm expecting a problem with the network of a customer.
He has one ASA5505 connected to 2 RV082 using VPN IPSec (1 top office and 2 remote sites).
Each sites have 2 internet ADSL providers: "Provider A" and "Provider B" for backup purpose.
The remote site 1 has the default connection using "Provider A" network on both sites (top office and remote site) and "Provider B" for backup purpose.
While remote site 2 has the default connection using "Provider B" network on both sites (top office and remote site) and "Provider A" for backup purpose.
(Kind of load balancing when all connections are working good)
When all "3 sites x 2 =" 6 connections are working, I doesn't have any problem and all is working good.
But since 2 weeks, the "Provider A" of the top office is disconnected: both remote site uses "Provider B" and are connected to the top office on
the "Provider B" connection. ("Provider A" is no longer used on every sites.)
This configuration works good until a short disconnection appear on "Provider B" connection on "Site 2".
Then I have many "IKE Receiver: Error reading from socket." on the ASA5505 syslog and the RV082 located on "Site 2" says it's connect but it isn't. (It is not possible to ping "site 2" from top office network.)
If I force this RV082 to reconnect, I can from the top office, ping "Site 2" and open a remote desktop session to the server located on "site 2".
But I cannot ping top office network from "Site 2" and I cannot open a remote desktop session to the server located on "top office"
(it's very strange I can ping from a A network to a B network but not from B to A).
Restart the RV082 of the "Site 2" and/or the ASA5505 does not fix the problem and I continue to get the IKE socket error message.
To fix the problem until next "Site 2" "Provider B" disconnection, I have to disconnect or restart the RV082 located on "Site 1" and then do the same to the RV082 located on "Site 2".
I use updated firmware: RV0XX-v4.1.1.01-sp.bin for both RV082 v3 and asa843-9-k8.bin for the ASA5505.
ASA routing part :
# 192.168.1.0 is the network of the top office
# 192.168.2.0 is the network of site 1
# 192.168.3.0 is the network of site 2
# 192.168.20.2 is the @IP of the "Provider A" internet router located on top office
# 192.168.21.2 is the @IP of the "Provider B" internet router located on top office
route outsideLB 0.0.0.0 0.0.0.0 192.168.20.2 128 track 1
route outsideFB 192.168.3.0 255.255.255.0 192.168.21.2 128 track 2
route outsideLB 192.168.2.0 255.255.255.0 192.168.20.2 128 track 3
route outsideFB 0.0.0.0 0.0.0.0 192.168.21.2 150
route outsideFB %Site2_ProviderB_PublicIP% 255.255.255.255 192.168.21.2 5
route outsideLB %Site1_ProviderA_PublicIP% 255.255.255.255 192.168.20.2 5
route outsideFB 192.168.2.0 255.255.255.0 192.168.21.2 150
route outsideLB 192.168.3.0 255.255.255.0 192.168.20.2 150
sla monitor 10
type echo protocol ipIcmpEcho %ProvideA_IP_of_a_SMTP_Server% interface outsideLB
frequency 5
sla monitor schedule 10 life forever start-time now
sla monitor 20
type echo protocol ipIcmpEcho %Site2_ProviderB_PublicIP% interface outsideFB
sla monitor schedule 20 life forever start-time now
sla monitor 30
type echo protocol ipIcmpEcho %Site1_ProviderA_PublicIP% interface outsideLB
sla monitor schedule 30 life forever start-time now
Thanks,
David
neitheisConnected means was ever connected.
Check whether isr is closed. If so, the server has disconnected/closed the connection. -
Redeploy fails after trying to open a socket to an invalid IP address
I'm having a problem with a servlet on the JSE8 application server. In this servlet I write to a socket. Everything is fine if the IP address I write to is valid, however if I try to open a socket to an ip address that doesn't exist I get an exception of course. However, after this if I try to redeploy the servlet I get an error saying the directory can't be deleted and the redeployment fails. Any ideas on what might be causing this issue?
Hey ioannis,
So I would recommend starting from scratch on this one and seeing if we can get things to work. I would recommend following these steps:
Make sure that you have access to port 80, which is what LabVIEW and the Web Server uses for communication. This might mean turning off virus checkers or firewalls, as Altenbach suggested.
Restart your computer. This is to make sure that there isn't anything already accessing this port that is conflicting.
Start LabVIEW once the computer is back up.
Open the VI that you would like to publish. I might recommend using an Example just to test, but you could use your program.
Select Tools » Web Publishing Tool (WPT).
On the bottom of the WPT window, press the Start Web Server button.
Configure your VI as you would like. You can probably just use the defaults for now.
Select Save to Disk and replace the file if necessary.
Hightlight the address that comes up in the Document URL window and press Ctrl+C to copy it.
Open Internet Explorer and past the URL into the address bar on the development computer.
These steps should be all that is necessary to use the WPT, so please follow them and let me know if they help or not.
Thanks!
Andy F.
Message Edited by Andy F. on 03-17-2006 12:41 PM
National Instruments -
Getting error 'opening port for MGR (Connection refused).
Hi Guys,
I m getting below, while starting replicat on target.
GGSCI (ggtarget) 16> start replicat RLOAD
Sending START request to MANAGER ...
ERROR: opening port for MGR MGR (Connection refused).
GGSCI (ggtarget) 20> view param mgr
PORT 7809
USERID orgg, PASSWORD orgg
PURGEOLDEXTRACTS /ggs/dirdat/*, USECHECKPOINTS
GGSCI (ggtarget) 21> view param rload
REPLICAT RLOAD
USERID orgg, PASSWORD orgg
ASSUMETARGETDEFS
HANDLECOLLISIONS
APPLYNOOPUPDATES
GETUPDATEBEFORES
reperror default, discard
DISCARDFILE ./dirrpt/rload.dsc, purge
MAP HR.TCUSTORD, TARGET HR.TCUSTORD;
MAP HR.TCUSTMER, TARGET HR.TCUSTMER;
from Source I could able to do the telnet to target...
What could be issue ???Hi,
Error:
GGSCI (ggtarget) 16> start replicat RLOAD
Sending START request to MANAGER ...
ERROR: opening port for MGR MGR (Connection refused).
You can start Manager, but when you try to start Replicat, GGSCI gives me a connection timeout error
Solution:
GoldenGate uses a TCP/IP socket to communicate between local processes. When you issue a START, STOP, SEND, or other command in GGSCI, the command interface will try to open a local port for the process.
Here is how to find out which local ports these processes are listening on. In the dirpcs directory, there will be one file for each running GoldenGate process.
For Manager, the file name will be MGR.pcm.
For Extract, it will be <GROUP_NAME>.pce.
For Replicat, it will be <GROUP_NAME>.pcr.
These are text files that can be viewed by using cat or any equivalent command. For example, the MGR.cpm file content will read like this:
PROGRAM MGR PROCESSID MGR PORT sys1.4356 PID 60070
After the keyword PORT will be the local hostname and the port number that Manager is supposed to be running on. In the preceding example, the hostname is sys1, and the port is 4356.
The program (ggsci) tries to use that hostname to communicate to the process (Extract/Replicat/Manager) when the command is issued in GGSCI. If you get a timeout or connection-refused error on the command, that means GoldenGate could not connect to the local host. Most of the time, you should have no problem connecting to a local host, but when you have the wrong IP address or routine table configured in your TCP/IP settings, connection errors can happen.
To troubleshoot this, follow the steps below
1. Try to ping that host name from the OS shell to see if it goes to the correct IP address (which should be the one for the local system).
2. If the ping is successful, try to telnet to the Manager port on your local host. You will be able to see your telnet session connect if a Manager is listening on that port.
Here is an example:
shell>telnet
telnet> open sys1 4356
Trying 100.100.100.100...
Connected to sys1.oracle.com (100.100.100.100).
Escape character is '^]'.
3. If your telnet session times out or gets a connection-refused error, that means either the hostname is wrong or the port number is wrong.
If the ping to the hostname listed in the pcm/pce/pcr file fails, or if you cannot connect your telnet session to the port listed in the file(s), contact your network engineers to get the TCP/IP issue resolved.
Hope this information helps.
Thanks & Regards
Santhosh -
Java.lang.RuntimeException : I/O error opening JAR file
Hi,
Cluster configuration : 2 NT boxes WLS5.1(SP6). On one m/c weblogic
is installed on drive C:\ and on another m/c weblogic is installed on drive D:\.
i.e. all jars are at two place m/c 1 : c:\weblogic\myserver\*.jar
m/c 2 : d:\weblogic \myserver\*.jar
When servers startup successfully, error is coming :
on the console of m/c 1 :
java.lang.RuntimeException : I/O error opening JAR file from
file:/d:/weblogic/myserver/eb_arn.jar
on the console of m/c 2 :
java.lang.RuntimeException : I/O error opening JAR file from
file:/c:/weblogic/myserver/eb_arn.jar
When both the weblgoic servers are installed on two machines and
on same drive(c:\), this error is not coming.
i.e. all jars are at two place m/c 1 : c:\weblogic\myserver\*.jar
m/c 2 : c:\weblogic \myserver\*.jar
Regards,
Jitendra Kumar.
Jitendra,
This looks like a bug. Please approach support.
- Prasad
Jitendra Kumar wrote:
> Hi,
>
> I'm deploying as per server property, because all servers have got their own myserver
> directory and jars under that.
> primary key class is not a problem at all, because that file is anyway under serverclasses directory.
>
> The problem starts when two weblogic servers on two m/c are installed on different drive(one on 'C:\' dirve
> and another on 'D:\' drive or a unix machine in cluster).
>
> Regards,
> Jitendra Kumar.
>
> Prasad Peddada <[email protected]> wrote:
> >Are you sure that the the primary key class is there in the jar file.
> >
> >Are you deploying as per cluster property? Deploy on all the servers as per server property.
> >
> >
> >- Prasad
> >
> >Jitendra Kumar wrote:
> >
> >> Hi,
> >>
> >> I don't have any problem in deploying beans and all servers have their local jar files.
> >> Today I started solaris server in cluster and that also giving the same error message in console.
> >> Now 2NT and One Solaris m/c running in cluster.
> >>
> >> error message on NT console is :
> >> **************************************************
> >> Sat Nov 04 15:43:14 GMT+05:30 2000:<E> <MulticastSocket> Multicast socket receive error: java.lang.R
> >> untimeException: I/O error opening JAR file from file:/mazaa/weblogic/weblogic/myserver/voter.jar
> >> <ServerClassLoader><W>: com.cot.eis.vl.eb_voter.VoterPK in not in archive java.util.zip.ZipFile@b902
> >> 66be
> >> java.util.zip.ZipException: error in opening zip file
> >> at java.util.zip.ZipFile.open(Native Method)
> >> at java.util.zip.ZipFile.<init>(ZipFile.java, Compiled Code)
> >> at java.util.zip.ZipFile.<init>(ZipFile.java, Compiled Code)
> >> at weblogic.boot.ServerClassLoader.deploy(ServerClassLoader.java, Compiled Code)
> >> at weblogic.cluster.AnnotatedServiceOffer.expandClassPath(AnnotatedServiceOffer.java, Compil
> >> ed Code)
> >> at weblogic.cluster.AnnotatedServiceOffer.readObject(AnnotatedServiceOffer.java, Compiled Co
> >> de)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLObjectInputStre
> >> amBase.java, Compiled Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputStreamBase.jav
> >> a, Compiled Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInputStreamBase.j
> >> ava, Compiled Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStreamBase.java,
> >> Compiled Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputStreamBase.jav
> >> a, Compiled Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readArrayList(WLObjectInputStreamBase.ja
> >> va, Compiled Code)
> >> at weblogic.cluster.StateDump.readObject(StateDump.java, Compiled Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLObjectInputStre
> >> amBase.java, Compiled Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputStreamBase.jav
> >> a, Compiled Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInputStreamBase.j
> >> ava, Compiled Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStreamBase.java,
> >> Compiled Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputStreamBase.jav
> >> a, Compiled Code)
> >> at weblogic.cluster.TMSocket.execute(TMSocket.java, Compiled Code)
> >> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
> >> Sat Nov 04 15:54:24 GMT+05:30 2000:<E> <MulticastSocket> Multicast socket receive error: java.lang.R
> >> untimeException: I/O error opening JAR file from file:/mazaa/weblogic/weblogic/myserver/voter.jar
> >>
> >> error message on Solaris console is :
> >> ******************************************
> >> java.util.zip.ZipException: error in opening zip file
> >> at java.util.zip.ZipFile.open(Native Method)
> >> at java.util.zip.ZipFile.open(Compiled Code)
> >> at java.util.zip.ZipFile.<init>(Compiled Code)
> >> at java.util.zip.ZipFile.<init>(Compiled Code)
> >> at weblogic.boot.ServerClassLoader.deploy(Compiled Code)
> >> at weblogic.cluster.AnnotatedServiceOffer.expandClassPath(Compiled Code)
> >> at weblogic.cluster.AnnotatedServiceOffer.readObject(Compiled Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializab
> >> le(Compiled Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readLeftover(Compile
> >> d Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(Compi
> >> led Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readObject(Compiled
> >> Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(Compile
> >> d Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readArrayList(Compil
> >> ed Code)
> >> at weblogic.cluster.StateDump.readObject(Compiled Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializab
> >> le(Compiled Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readLeftover(Compile
> >> d Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(Compi
> >> led Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readObject(Compiled
> >> Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(Compile
> >> d Code)
> >> at weblogic.cluster.TMSocket.execute(Compiled Code)
> >> at weblogic.kernel.ExecuteThread.run(Compiled Code)
> >> Sat Nov 04 15:55:09 GMT+00:00 2000:<E> <MulticastSocket> Multicast socket receiv
> >> e error: java.lang.RuntimeException: I/O error opening JAR file from file:/C:/we
> >> blogic/myserver/eb_arn.jar
> >>
> >> Regards,
> >> Jitendra Kumar
> >>
> >> Prasad Peddada <[email protected]> wrote:
> >> >Do you trouble deploying the app also.
> >> >
> >> >- Prasad
> >> >
> >> >Jitendra Kumar wrote:
> >> >
> >> >> Hi,
> >> >>
> >> >> Cluster configuration : 2 NT boxes WLS5.1(SP6). On one m/c weblogic
> >> >> is installed on drive C:\ and on another m/c weblogic is installed on drive D:\.
> >> >> i.e. all jars are at two place m/c 1 : c:\weblogic\myserver\*.jar
> >> >> m/c 2 : d:\weblogic \myserver\*.jar
> >> >> When servers startup successfully, error is coming :
> >> >>
> >> >> on the console of m/c 1 :
> >> >> java.lang.RuntimeException : I/O error opening JAR file from
> >> >> file:/d:/weblogic/myserver/eb_arn.jar
> >> >>
> >> >> on the console of m/c 2 :
> >> >> java.lang.RuntimeException : I/O error opening JAR file from
> >> >> file:/c:/weblogic/myserver/eb_arn.jar
> >> >>
> >> >> When both the weblgoic servers are installed on two machines and
> >> >> on same drive(c:\), this error is not coming.
> >> >> i.e. all jars are at two place m/c 1 : c:\weblogic\myserver\*.jar
> >> >> m/c 2 : c:\weblogic \myserver\*.jar
> >> >>
> >> >> Regards,
> >> >> Jitendra Kumar.
> >> >
> >
> >--
> >Cheers
> >
> >- Prasad
> >
> >
-
Unable to open a socket to talk to CMS (FWM 01005)
Hi,
I am running the monitoring probes every 15 minutes or so and once in while, the probes return this error message:
Unable to open a socket to talk to CMS (FWM 01005) {/quote}
Can anybody tell me what this error means and what I can do to avoid it?
Or is there a place where I can find definitions of error message in BusinessObjects.
PS: BO XI 3.1 SP3 .net
Thanks,
Aude FreemanThe error message(s) is mainly seen when trying to authenticate a user during login into BusinessObjects Enterprise. The error can be seen under following different actions:
Login to InfoView or
From CCM panel, click on "Manage Servers" and try to login or
Preview a Xcelsius Dashboard based on QaaWS or Live Office connection that is set to refresh on load and try to login in the authentication box that comes up.
Looks like once in a while you have either CMS too busy to answer or some network issues. -
Failed to open a socket connection to the Authentication Manager
Hello,
When I use utcapture command, I get the error *�Failed to open a socket connection to the Authentication Manager�*.
SO: Solaris 10 8/07
SRSS: Sun Ray Server Software 4.0
LAN Configuration
Thanks.Since the question was also posted to the sunray-users alias, see http://www.filibeto.org/pipermail/sunray-users/2007-December/008281.html for the answer. (Which currently seems to be that the Sun Ray auth daemon was not running.)
-
Help, I had aperture open and working on a image and did not have a battery in and bumped the power off. As a result it will not open my master, it is locked. when I try to open that Library it says There was an error opening the database for the library. I have tried every thing. I updated the other libr but now it will not open the main to update. What do I do?
Try starting Aperture with the command and option keys held down. You'll get 3 options.
Try each, starting at the top, in order, checking after each to see if it fixes the issue. -
When I attempt to open a PDF file I saved from a website using Safari, I get the message "There was an error opening this document. The file is damaged and could not be repaired." When I save the same PDF file using FireFox it opens up immediately. Is there any way to correct this problem with Safari?
Back up all data.
Triple-click the line of text below to select it, the copy the selected text to the Clipboard (command-C):
/Library/Internet Plug-ins
In the Finder, select
Go ▹ Go to Folder
from the menu bar, or press the key combination shift-command-G. Paste into the text box that opens (command-V), then press return.
From the folder that opens, remove any items that have the letters “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari, and test.
The "Silverlight" web plugin distributed by Microsoft can also interfere with PDF display in Safari, so you may need to remove it as well, if it's present.
If you still have the issue, repeat with this line:
~/Library/Internet Plug-ins
If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari again. -
Can not open pdf file in Outlook 2010 - error opening document
when I click on the PDF file in the email (Outlook 2010), Adobe opens but it pops a window "There was an error opening this document. Access denied". If I save the document as a file, aka to the desktop, I can open it then.
Also also I click on the ok button in adobe, it posted a Runtime error! application has requested the RunTime to terminate it in an unusal way.
has anyone seen this issue. Desktop is using Windows XP, 4 gig ram, Adobe X verision 10.0.1Did you try this? It worked for me.
http://www.darrenstraight.com/blog/2010/12/16/adobe-reader-x-there-was-an-error-opening-th is-document-access-denied/
Open up Adobe Reader X
On the Toolbar Menu go to Edit > Preferences
Go to the general tab under Categories.
Untick “Enable Protected Mode at Startup”
If asked if sure, click Yes and then Ok.
Now close Adobe Reader X and try opening the PDF again.
Maybe you are looking for
-
Why can't I access a list of details like noise ratio and attenuation any more. Clicking on troubleshooting says that these details are.available and may be needed if the helpdesk is contacted, it used to be possible to get to it from a link at the t
-
Is anybody using this functionality in your SAP system ? This is different than regular change number.
-
Map Definition Tool support in MapViewer 10.1.2
Hello, What about Map Definition Tool support in AS MapViewer 10.1.2? We have used this tool with MapViewer 9.0.4, but after update to 10.1.2 it seems that there is no way to use Map Definition Tool. So, if Map Definition Tool is not supported in new
-
Photo (.jpg) display at 1080 resolution possible?
Assuming input to a 1:1 pixel-mapped set such as a Sony XBR, Westinghouse, or Sharp Aquos D62/82/92 series, the kind which service Macs at 1920x1080/60Hz, will Apple TV also throttle photos to the same 720p limitation as for video? I.e. Does the Appl
-
Mac OS 9 shuts down before it opens
I keep getting an error message 1010 and then Mac OS 9 shuts down completely. The screen says to restart and hold down the shift key. I do this and it hasn't helped. Please help me. stovecat