Client/Server hang up?
I'm writing a basic client server program. I created an ArrayList to hold all the sockets of a connection so each client could, hopefully, eventually interact.
Right now my client is a text field with a text area under it. A user types a command up top and then hits enter and sends that along to the server. However when i send in the message it seems to hang up and never sends back a reply. But what's really odd about it, is that if i close my server window and there by shutting it down the client then outputs exactly what i expected it to if it was working right. So im curious why there's this hangup in my code?
Server:
import java.awt.BorderLayout;
import java.awt.Font;
import java.io.IOException;
import java.net.InetAddress;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.ArrayList;
import javax.swing.JFrame;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
public class Server extends JFrame{
private JTextArea jta = new JTextArea();
private static ArrayList<Socket> clients = new ArrayList<Socket>();
public Server(){
getContentPane().setLayout(new BorderLayout());
getContentPane().add(new JScrollPane(jta), BorderLayout.CENTER);
jta.setFont( new Font( "Times", Font.BOLD, 20));
setSize(500, 300);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setVisible(true);
try{
setTitle("Server: " + InetAddress.getLocalHost().getHostName());
int clientNo = 1;
ServerSocket serverSocket = new ServerSocket(0);
jta.append("Port: " + serverSocket.getLocalPort() + "\n");
while(true){
Socket socket = serverSocket.accept();
InetAddress inetAddress = socket.getInetAddress();
clients.add(socket);
World thread = new World(socket);
jta.append("Connected with client :" + clientNo + "\n");
thread.start();
clientNo++;
}catch(IOException ex){
System.err.println(ex);
public static void main(String[] args){
new Server();
public static ArrayList getClients(){
return clients;
}World:
import java.io.IOException;
import java.io.PrintWriter;
import java.net.InetAddress;
import java.net.Socket;
import java.util.ArrayList;
import java.util.Scanner;
public class World extends Thread {
private Socket mySocket;
private int myPort;
private InetAddress myInetAddress;
private String myHostName;
private ArrayList<Socket> theClients;
public World(Socket newSocket) {
mySocket = newSocket;
myPort = mySocket.getPort();
myInetAddress = mySocket.getInetAddress();
myHostName = myInetAddress.getHostName();
public void run() {
String test;
Scanner input = null;
PrintWriter output = null;
try {
String fileName;
input = new Scanner(mySocket.getInputStream());
output = new PrintWriter(mySocket.getOutputStream(), true);
}catch(IOException e){
output.println("Please Enter Command");
while((test = input.nextLine()) != null){
if(test.contains("get clients") ){
theClients = Server.getClients();
for(int i = 0; i < theClients.size(); i++){
output.println(theClients.get(i).getInetAddress().getHostName());
output.flush();
}else{
output.println("not sure");
output.flush();
}Client:
import java.awt.*;
import java.awt.event.*;
import java.io.*;
import java.net.*;
import java.util.Scanner;
import javax.swing.*;
public class Client extends JFrame implements ActionListener{
private JTextField jtf;
private JTextArea jta = new JTextArea();
private PrintWriter output;
private Scanner input;
public Client(String host, int port){
JPanel p1 = new JPanel();
p1.setLayout(new BorderLayout());
p1.add(jtf = new JTextField(10), BorderLayout.CENTER);
jtf.setHorizontalAlignment(JTextField.RIGHT);
jtf.setFont(new Font("Times", Font.BOLD, 20));
jta.setFont(new Font("Times", Font.BOLD, 20));
getContentPane().setLayout(new BorderLayout());
getContentPane().add(p1, BorderLayout.NORTH);
getContentPane().add(new JScrollPane(jta), BorderLayout.CENTER);
jtf.addActionListener(this);
setSize(500,300);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setVisible(true);
try{
setTitle("Client: " + InetAddress.getLocalHost().getHostName());
Socket socket = new Socket(host, port);
input = new Scanner(socket.getInputStream());
output = new PrintWriter(socket.getOutputStream(), true);
jta.append(input.nextLine() + "\n");
}catch(IOException ex){
jta.append(ex.toString() + "\n");
public void actionPerformed(ActionEvent e){
String nextLine;
String findFile = jtf.getText().trim();
((JTextField)(e.getSource())).setEditable(false);
if ( e.getSource() instanceof JTextField){
jta.append("Getting file: \"" + findFile + "\" \n");
output.println(findFile);
output.flush();
while(input.hasNext()){
nextLine = input.nextLine();
jta.append(nextLine + "\n");
public static void main(String[] args){
int portSend;
if (args.length != 2){
System.out.println("not Enough arguments");
System.exit(-1);
portSend = Integer.parseInt(args[1]);
new Client(args[0], portSend);
}
Don't run networking code in the constructor. Start a separate thread for the accept loop.
Similar Messages
-
Stuck Threads Leading to server hang
Hi ,
We have been facing a problem with Stuck Threads in our production environment. We are currently running version 8.1. Though the stuck Threads do point to JDBC issues, we suspect that these problems may be related to some Weblogic/OS configuration issue as well. These probelms eventually lead to a server hang.
The general pattern of the problem is that we see messages like :
Dec 24, 2006 8:56:09 AM EST> <Debug> <Common> <BEA-000610> < RP(rtqdbConnectionPool):timeoutInactiveRes (20)>
####<Dec 25, 2006 8:54:51 AM EST> <Error> <WebLogicServer> <hygeia> <hygeia-rtq-vm7> <weblogic.health.CoreHealthMonitor> <<WLS Kernel>> <> <BEA-000337> <UNKNOWN_SESSION has been busy for "896" seconds working on the request "Http Request: /quote.do", which is more than the configured time (StuckThreadMaxTime) of "600" seconds.> ==================== This email/fax message is for the sole use of the intended
Sometimes a deadlock Exception would be thrown from the Database,
nested exception is java.sql.SQLException: ORA-00060: deadlock detected while waiting for resource
But this is not as often as we get the Stuck Thread messages.
This is a typical Thread dump from one of our servers when it complained of a stuck thread.
///*************Thread Dump Start**********************///
Full thread dump Java HotSpot(TM) Server VM (1.4.2_08-b03 mixed mode):
"idle thread" daemon prio=5 tid=0x00d2c150 nid=0x7f in Object.wait() [94e7f000..94e7fc28]
at java.lang.Object.wait(Native Method)
- waiting on <0xb2010000> (a org.xbill.Task.WorkerThread)
at org.xbill.Task.WorkerThread.run(WorkerThread.java:130)
- locked <0xb2010000> (a org.xbill.Task.WorkerThread)
"Thread-28" daemon prio=5 tid=0x00c6a7c0 nid=0x7d in Object.wait() [92c7f000..92c7fc28]
at java.lang.Object.wait(Native Method)
- waiting on <0xbce667f8> (a com.geico.util.LockManager)
at com.geico.util.LockManager.waitForWork(LockManager.java:85)
- locked <0xbce667f8> (a com.geico.util.LockManager)
at com.geico.mail.Mail.run(Mail.java:259)
at java.lang.Thread.run(Thread.java:534)
"CacheManager-idle" daemon prio=5 tid=0x00c7d950 nid=0x7c in Object.wait() [92d7f000..92d7fc28]
at java.lang.Object.wait(Native Method)
- waiting on <0xbce66878> (a com.geico.util.LockManager)
at com.geico.util.LockManager.waitForWork(LockManager.java:85)
- locked <0xbce66878> (a com.geico.util.LockManager)
at com.geico.cache.CacheManager.run(CacheManager.java:353)
at java.lang.Thread.run(Thread.java:534)
"ExecuteThread: '2' for queue: 'weblogic.kernel.Non-Blocking'" daemon prio=5 tid=0x006a6c90 nid=0x7a in Object.wait() [92e7f000..92e7fc28]
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:429)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:153)
- locked <0xbc2a5db8> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
"ExecuteThread: '1' for queue: 'weblogic.kernel.Non-Blocking'" daemon prio=5 tid=0x0120c568 nid=0x79 in Object.wait() [92f7f000..92f7fc28]
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:429)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:153)
- locked <0xbc2a5e38> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
"ExecuteThread: '0' for queue: 'weblogic.kernel.Non-Blocking'" daemon prio=5 tid=0x006a6af0 nid=0x78 in Object.wait() [9307f000..9307fc28]
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:429)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:153)
- locked <0xbc2a5eb8> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
"ExecuteThread: '0' for queue: 'JMSStore<AptSoftFileStore-morpheus-rtq-vm7>.ioThreadPool'" daemon prio=5 tid=0x0052a198 nid=0x77 in Object.wait() [9317f000..9317fc28]
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:429)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:153)
- locked <0xbc2a5f38> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
"Thread-26" daemon prio=5 tid=0x00635d58 nid=0x75 in Object.wait() [9327f000..9327fc28]
at java.lang.Object.wait(Native Method)
- waiting on <0xbb97ad20> (a com.geico.util.LockManager)
at java.lang.Object.wait(Object.java:429)
at com.geico.util.LockManager.waitForWork(LockManager.java:63)
- locked <0xbb97ad20> (a com.geico.util.LockManager)
at com.geico.util.providers.StorageProvider.run(StorageProvider.java:158)
at java.lang.Thread.run(Thread.java:534)
"Thread-25" daemon prio=5 tid=0x00fac430 nid=0x72 waiting on condition [9337f000..9337fc28]
at java.lang.Thread.sleep(Native Method)
at org.apache.commons.pool.impl.GenericObjectPool$Evictor.run(GenericObjectPool.java:1080)
at java.lang.Thread.run(Thread.java:534)
"ListenThread.Default" prio=5 tid=0x014ec6e8 nid=0x71 runnable [9347f000..9347fc28]
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
- locked <0xbb97ae60> (a java.net.PlainSocketImpl)
at java.net.ServerSocket.implAccept(ServerSocket.java:448)
at java.net.ServerSocket.accept(ServerSocket.java:419)
at weblogic.socket.WeblogicServerSocket.accept(WeblogicServerSocket.java:26)
at weblogic.t3.srvr.ListenThread.accept(ListenThread.java:735)
at weblogic.t3.srvr.ListenThread.run(ListenThread.java:301)
"Thread-24" daemon prio=5 tid=0x011e9668 nid=0x70 waiting on condition [9357f000..9357fc28]
at java.lang.Thread.sleep(Native Method)
at com.geico.log.HeartbeatLogger$1.run(HeartbeatLogger.java:133)
"Thread-22" daemon prio=5 tid=0x011e8610 nid=0x6f waiting on condition [9367f000..9367fc28]
at java.lang.Thread.sleep(Native Method)
at com.geico.log.StreamLogger.pause(StreamLogger.java:263)
at com.geico.log.StreamLogger.access$300(StreamLogger.java:15)
at com.geico.log.StreamLogger$WorkerThread.run(StreamLogger.java:217)
at java.lang.Thread.run(Thread.java:534)
"filewatcher" daemon prio=5 tid=0x0111ca50 nid=0x6e waiting on condition [9377f000..9377fc28]
at java.lang.Thread.sleep(Native Method)
at com.geico.watcher.FileWatcher.sleep(FileWatcher.java:135)
at com.geico.watcher.FileWatcher.run(FileWatcher.java:118)
at java.lang.Thread.run(Thread.java:534)
"Thread-18" prio=5 tid=0x00de2388 nid=0x6d in Object.wait() [9437e000..9437fc28]
at java.lang.Object.wait(Native Method)
- waiting on <0xa20f1a60> (a weblogic.jms.backend.BEConsumerReceiveRequest)
at java.lang.Object.wait(Object.java:429)
at weblogic.jms.dispatcher.Request.sleepTillNotified(Request.java:240)
at weblogic.jms.dispatcher.Request.wrappedFiniteStateMachine(Request.java:685)
- locked <0xa20f1a60> (a weblogic.jms.backend.BEConsumerReceiveRequest)
at weblogic.jms.dispatcher.DispatcherImpl.dispatchAsyncInternal(DispatcherImpl.java:132)
at weblogic.jms.dispatcher.DispatcherImpl.dispatchAsync(DispatcherImpl.java:123)
at weblogic.jms.dispatcher.Request.dispatchAsync(Request.java:878)
at weblogic.jms.frontend.FEConsumer.receive(FEConsumer.java:452)
at weblogic.jms.frontend.FEConsumer.invoke(FEConsumer.java:643)
at weblogic.jms.dispatcher.Request.wrappedFiniteStateMachine(Request.java:643)
at weblogic.jms.dispatcher.DispatcherImpl.dispatchSyncTran(DispatcherImpl.java:192)
at weblogic.jms.client.JMSSession.receiveMessage(JMSSession.java:456)
at weblogic.jms.client.JMSConsumer.receive(JMSConsumer.java:421)
at org.springframework.jms.core.JmsTemplate.doReceive(JmsTemplate.java:800)
at org.springframework.jms.core.JmsTemplate.doReceive(JmsTemplate.java:783)
at org.springframework.jms.core.JmsTemplate$8.doInJms(JmsTemplate.java:741)
at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:582)
at org.springframework.jms.core.JmsTemplate.receive(JmsTemplate.java:739)
at org.springframework.jms.core.JmsTemplate.receive(JmsTemplate.java:731)
at com.geico.uierrorlog.UiErrorUtil.getMessage(UiErrorUtil.java:89)
at com.geico.uierrorlog.UiErrorDaemon.getMessage(UiErrorDaemon.java:108)
at com.geico.uierrorlog.UiErrorDaemon.run(UiErrorDaemon.java:166)
at java.lang.Thread.run(Thread.java:534)
"StatisticsThread" daemon prio=5 tid=0x00d0c798 nid=0x6c in Object.wait() [9447f000..9447fc28]
at java.lang.Object.wait(Native Method)
- waiting on <0xb8ee7b18> (a com.geico.tangosol.stats.StatsDaemon)
at com.geico.tangosol.stats.StatsDaemon.run(StatsDaemon.java:144)
- locked <0xb8ee7b18> (a com.geico.tangosol.stats.StatsDaemon)
at com.tangosol.util.Daemon$1.run(Daemon.java:63)
"StatisticsThread" daemon prio=5 tid=0x01202c18 nid=0x6b in Object.wait() [9457f000..9457fc28]
at java.lang.Object.wait(Native Method)
- waiting on <0xb8ee7bd8> (a com.geico.tangosol.stats.StatsDaemon)
at com.geico.tangosol.stats.StatsDaemon.run(StatsDaemon.java:144)
- locked <0xb8ee7bd8> (a com.geico.tangosol.stats.StatsDaemon)
at com.tangosol.util.Daemon$1.run(Daemon.java:63)
"StatisticsThread" daemon prio=5 tid=0x00b33f18 nid=0x6a in Object.wait() [9467f000..9467fc28]
at java.lang.Object.wait(Native Method)
- waiting on <0xb8ee7c90> (a com.geico.tangosol.stats.StatsDaemon)
at com.geico.tangosol.stats.StatsDaemon.run(StatsDaemon.java:144)
- locked <0xb8ee7c90> (a com.geico.tangosol.stats.StatsDaemon)
at com.tangosol.util.Daemon$1.run(Daemon.java:63)
"DistributedCache:DistributedRTQOverflow" daemon prio=5 tid=0x009895e8 nid=0x69 in Object.wait() [9477f000..9477fc28]
at java.lang.Object.wait(Native Method)
- waiting on <0xb8ee7d40> (a com.tangosol.coherence.component.util.daemon.QueueProcessor$Queue)
at com.tangosol.coherence.component.util.Daemon.onWait(Daemon.CDB:9)
- locked <0xb8ee7d40> (a com.tangosol.coherence.component.util.daemon.QueueProcessor$Queue)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:31)
at java.lang.Thread.run(Thread.java:534)
"DistributedCache:PoolStatsDistributedCache:EventDispatcher" daemon prio=5 tid=0x00dff060 nid=0x68 in Object.wait() [9487f000..9487fc28]
at java.lang.Object.wait(Native Method)
- waiting on <0xb8ee7f18> (a com.tangosol.coherence.component.util.daemon.queueProcessor.Service$EventDispatcher$Queue)
at com.tangosol.coherence.component.util.Daemon.onWait(Daemon.CDB:9)
- locked <0xb8ee7f18> (a com.tangosol.coherence.component.util.daemon.queueProcessor.Service$EventDispatcher$Queue)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:31)
at java.lang.Thread.run(Thread.java:534)
"DistributedCache:PoolStatsDistributedCache" daemon prio=5 tid=0x006f3e98 nid=0x67 in Object.wait() [9497f000..9497fc28]
at java.lang.Object.wait(Native Method)
at com.tangosol.coherence.component.util.Daemon.onWait(Daemon.CDB:9)
- locked <0xb8ee7fe8> (a com.tangosol.coherence.component.util.daemon.QueueProcessor$Queue)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:31)
at java.lang.Thread.run(Thread.java:534)
"StatisticsThread" daemon prio=5 tid=0x0090d8d0 nid=0x66 in Object.wait() [94a7f000..94a7fc28]
at java.lang.Object.wait(Native Method)
- waiting on <0xb8ee81c8> (a com.geico.tangosol.stats.StatsDaemon)
at com.geico.tangosol.stats.StatsDaemon.run(StatsDaemon.java:144)
- locked <0xb8ee81c8> (a com.geico.tangosol.stats.StatsDaemon)
at com.tangosol.util.Daemon$1.run(Daemon.java:63)
"DistributedCache:dist-RTQSession:EventDispatcher" daemon prio=5 tid=0x00a05110 nid=0x65 in Object.wait() [94b7f000..94b7fc28]
at java.lang.Object.wait(Native Method)
- waiting on <0xb8ee8278> (a com.tangosol.coherence.component.util.daemon.queueProcessor.Service$EventDispatcher$Queue)
at com.tangosol.coherence.component.util.Daemon.onWait(Daemon.CDB:9)
- locked <0xb8ee8278> (a com.tangosol.coherence.component.util.daemon.queueProcessor.Service$EventDispatcher$Queue)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:31)
at java.lang.Thread.run(Thread.java:534)
"DistributedCache:dist-RTQSession" daemon prio=5 tid=0x0036e600 nid=0x64 in Object.wait() [94c7f000..94c7fc28]
at java.lang.Object.wait(Native Method)
at com.tangosol.coherence.component.util.Daemon.onWait(Daemon.CDB:9)
- locked <0xb8ee8348> (a com.tangosol.coherence.component.util.daemon.QueueProcessor$Queue)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:31)
at java.lang.Thread.run(Thread.java:534)
"ReplicatedCache" daemon prio=5 tid=0x00e9f9f8 nid=0x63 in Object.wait() [94d7f000..94d7fc28]
at java.lang.Object.wait(Native Method)
at com.tangosol.coherence.component.util.Daemon.onWait(Daemon.CDB:9)
- locked <0xb8ee8520> (a com.tangosol.coherence.component.util.daemon.QueueProcessor$Queue)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:31)
at java.lang.Thread.run(Thread.java:534)
"Scheduler_Worker-9" prio=5 tid=0x00339820 nid=0x61 in Object.wait() [94f7f000..94f7fc28]
at java.lang.Object.wait(Native Method)
at org.quartz.simpl.SimpleThreadPool.getNextRunnable(SimpleThreadPool.java:423)
- locked <0xb8ee8788> (a java.lang.Object)
at org.quartz.simpl.SimpleThreadPool.access$000(SimpleThreadPool.java:53)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:514)
"Scheduler_Worker-8" prio=5 tid=0x0033af58 nid=0x60 in Object.wait() [9507f000..9507fc28]
at java.lang.Object.wait(Native Method)
at org.quartz.simpl.SimpleThreadPool.getNextRunnable(SimpleThreadPool.java:423)
- locked <0xb8ee8788> (a java.lang.Object)
at org.quartz.simpl.SimpleThreadPool.access$000(SimpleThreadPool.java:53)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:514)
"Scheduler_Worker-7" prio=5 tid=0x0033a878 nid=0x5f in Object.wait() [9517f000..9517fc28]
at java.lang.Object.wait(Native Method)
at org.quartz.simpl.SimpleThreadPool.getNextRunnable(SimpleThreadPool.java:423)
- locked <0xb8ee8788> (a java.lang.Object)
at org.quartz.simpl.SimpleThreadPool.access$000(SimpleThreadPool.java:53)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:514)
"Scheduler_Worker-6" prio=5 tid=0x00935488 nid=0x5e in Object.wait() [9527f000..9527fc28]
at java.lang.Object.wait(Native Method)
at org.quartz.simpl.SimpleThreadPool.getNextRunnable(SimpleThreadPool.java:423)
- locked <0xb8ee8788> (a java.lang.Object)
at org.quartz.simpl.SimpleThreadPool.access$000(SimpleThreadPool.java:53)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:514)
"Scheduler_Worker-5" prio=5 tid=0x00bb2190 nid=0x5d in Object.wait() [9537f000..9537fc28]
at java.lang.Object.wait(Native Method)
at org.quartz.simpl.SimpleThreadPool.getNextRunnable(SimpleThreadPool.java:423)
- locked <0xb8ee8788> (a java.lang.Object)
at org.quartz.simpl.SimpleThreadPool.access$000(SimpleThreadPool.java:53)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:514)
"Scheduler_Worker-4" prio=5 tid=0x010b9038 nid=0x5c in Object.wait() [9547f000..9547fc28]
at java.lang.Object.wait(Native Method)
at org.quartz.simpl.SimpleThreadPool.getNextRunnable(SimpleThreadPool.java:423)
- locked <0xb8ee8788> (a java.lang.Object)
at org.quartz.simpl.SimpleThreadPool.access$000(SimpleThreadPool.java:53)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:514)
"Scheduler_Worker-3" prio=5 tid=0x00a34678 nid=0x5b in Object.wait() [9557f000..9557fc28]
at java.lang.Object.wait(Native Method)
at org.quartz.simpl.SimpleThreadPool.getNextRunnable(SimpleThreadPool.java:423)
- locked <0xb8ee8788> (a java.lang.Object)
at org.quartz.simpl.SimpleThreadPool.access$000(SimpleThreadPool.java:53)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:514)
"Scheduler_Worker-2" prio=5 tid=0x014f9860 nid=0x5a in Object.wait() [9567f000..9567fc28]
at java.lang.Object.wait(Native Method)
at org.quartz.simpl.SimpleThreadPool.getNextRunnable(SimpleThreadPool.java:423)
- locked <0xb8ee8788> (a java.lang.Object)
at org.quartz.simpl.SimpleThreadPool.access$000(SimpleThreadPool.java:53)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:514)
"Scheduler_Worker-1" prio=5 tid=0x0044e530 nid=0x59 in Object.wait() [9577f000..9577fc28]
at java.lang.Object.wait(Native Method)
at org.quartz.simpl.SimpleThreadPool.getNextRunnable(SimpleThreadPool.java:423)
- locked <0xb8ee8788> (a java.lang.Object)
at org.quartz.simpl.SimpleThreadPool.access$000(SimpleThreadPool.java:53)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:514)
"Scheduler_Worker-0" prio=5 tid=0x0110b8e8 nid=0x58 in Object.wait() [9587f000..9587fc28]
at java.lang.Object.wait(Native Method)
at org.quartz.simpl.SimpleThreadPool.getNextRunnable(SimpleThreadPool.java:423)
- locked <0xb8ee8788> (a java.lang.Object)
at org.quartz.simpl.SimpleThreadPool.access$000(SimpleThreadPool.java:53)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:514)
"StatisticsThread" daemon prio=5 tid=0x011352b8 nid=0x57 in Object.wait() [9597f000..9597fc28]
at java.lang.Object.wait(Native Method)
- waiting on <0xb8ee8b20> (a com.geico.tangosol.stats.StatsDaemon)
at com.geico.tangosol.stats.StatsDaemon.run(StatsDaemon.java:144)
- locked <0xb8ee8b20> (a com.geico.tangosol.stats.StatsDaemon)
at com.tangosol.util.Daemon$1.run(Daemon.java:63)
"DistributedCache:dist-rtq-sessionheader:EventDispatcher" daemon prio=5 tid=0x004222a0 nid=0x56 in Object.wait() [95a7f000..95a7fc28]
at java.lang.Object.wait(Native Method)
- waiting on <0xb8ee8bd8> (a com.tangosol.coherence.component.util.daemon.queueProcessor.Service$EventDispatcher$Queue)
at com.tangosol.coherence.component.util.Daemon.onWait(Daemon.CDB:9)
- locked <0xb8ee8bd8> (a com.tangosol.coherence.component.util.daemon.queueProcessor.Service$EventDispatcher$Queue)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:31)
at java.lang.Thread.run(Thread.java:534)
"DistributedCache:dist-rtq-sessionheader" daemon prio=5 tid=0x01278fa0 nid=0x55 in Object.wait() [95b7f000..95b7fc28]
at java.lang.Object.wait(Native Method)
at com.tangosol.coherence.component.util.Daemon.onWait(Daemon.CDB:9)
- locked <0xb8ee8ca8> (a com.tangosol.coherence.component.util.daemon.QueueProcessor$Queue)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:31)
at java.lang.Thread.run(Thread.java:534)
"DistributedCache:dist-hibernate-default:EventDispatcher" daemon prio=5 tid=0x015273f0 nid=0x54 in Object.wait() [95c7f000..95c7fc28]
at java.lang.Object.wait(Native Method)
- waiting on <0xb8ee8e80> (a com.tangosol.coherence.component.util.daemon.queueProcessor.Service$EventDispatcher$Queue)
at com.tangosol.coherence.component.util.Daemon.onWait(Daemon.CDB:9)
- locked <0xb8ee8e80> (a com.tangosol.coherence.component.util.daemon.queueProcessor.Service$EventDispatcher$Queue)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:31)
at java.lang.Thread.run(Thread.java:534)
"DistributedCache:dist-hibernate-default" daemon prio=5 tid=0x00ea1328 nid=0x53 in Object.wait() [9607f000..9607fc28]
at java.lang.Object.wait(Native Method)
at com.tangosol.coherence.component.util.Daemon.onWait(Daemon.CDB:9)
- locked <0xb8ee8f50> (a com.tangosol.coherence.component.util.daemon.QueueProcessor$Queue)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:31)
at java.lang.Thread.run(Thread.java:534)
"Invocation:Management" daemon prio=5 tid=0x003d8968 nid=0x52 in Object.wait() [95d7f000..95d7fc28]
at java.lang.Object.wait(Native Method)
at com.tangosol.coherence.component.util.Daemon.onWait(Daemon.CDB:9)
- locked <0xb8448698> (a com.tangosol.coherence.component.util.daemon.QueueProcessor$Queue)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:31)
at java.lang.Thread.run(Thread.java:534)
"Invocation:Management:EventDispatcher" daemon prio=5 tid=0x007e6040 nid=0x51 in Object.wait() [95e7f000..95e7fc28]
at java.lang.Object.wait(Native Method)
- waiting on <0xb84487f0> (a com.tangosol.coherence.component.util.daemon.queueProcessor.Service$EventDispatcher$Queue)
at com.tangosol.coherence.component.util.Daemon.onWait(Daemon.CDB:9)
- locked <0xb84487f0> (a com.tangosol.coherence.component.util.daemon.queueProcessor.Service$EventDispatcher$Queue)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:31)
at java.lang.Thread.run(Thread.java:534)
"TcpRingListener" daemon prio=6 tid=0x007e6f40 nid=0x50 runnable [95f7f000..95f7fc28]
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
- locked <0xb84488d0> (a java.net.PlainSocketImpl)
at java.net.ServerSocket.implAccept(ServerSocket.java:448)
at java.net.ServerSocket.accept(ServerSocket.java:419)
at com.tangosol.coherence.component.net.socket.TcpSocketAccepter.accept(TcpSocketAccepter.CDB:17)
at com.tangosol.coherence.component.util.daemon.TcpRingListener.acceptConnection(TcpRingListener.CDB:9)
at com.tangosol.coherence.component.util.daemon.TcpRingListener.onNotify(TcpRingListener.CDB:1)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:34)
at java.lang.Thread.run(Thread.java:534)
"Cluster" daemon prio=5 tid=0x00c94738 nid=0x4e in Object.wait() [9617f000..9617fc28]
at java.lang.Object.wait(Native Method)
at com.tangosol.coherence.component.util.Daemon.onWait(Daemon.CDB:9)
- locked <0xb8448ac0> (a com.tangosol.coherence.component.net.Cluster$ClusterService$Queue)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:31)
at java.lang.Thread.run(Thread.java:534)
"PacketPublisher" daemon prio=6 tid=0x00d83418 nid=0x4d runnable [9627f000..9627fc28]
at java.lang.Object.wait(Native Method)
at com.tangosol.coherence.component.util.Daemon.onWait(Daemon.CDB:9)
- locked <0xb8448c78> (a com.tangosol.coherence.component.net.Cluster$PacketPublisher$Queue)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:31)
at java.lang.Thread.run(Thread.java:534)
"PacketReceiver" daemon prio=7 tid=0x00b3cd70 nid=0x4c in Object.wait() [9637f000..9637fc28]
at java.lang.Object.wait(Native Method)
at com.tangosol.coherence.component.util.Daemon.onWait(Daemon.CDB:9)
- locked <0xb8448dc0> (a com.tangosol.coherence.component.net.Cluster$PacketReceiver$Queue)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:31)
at java.lang.Thread.run(Thread.java:534)
"PacketListenerN" daemon prio=8 tid=0x003d7cd0 nid=0x4b runnable [9647f000..9647fc28]
at java.net.PlainDatagramSocketImpl.receive(Native Method)
at java.net.DatagramSocket.receive(DatagramSocket.java:711)
- locked <0xb84494c8> (a java.net.DatagramPacket)
- locked <0xb84494e8> (a java.net.MulticastSocket)
at com.tangosol.coherence.component.net.socket.UdpSocket.receive(UdpSocket.CDB:18)
at com.tangosol.coherence.component.net.UdpPacket.receive(UdpPacket.CDB:17)
at com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketListener.onWait(PacketListener.CDB:5)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:31)
at java.lang.Thread.run(Thread.java:534)
"PacketListener1" daemon prio=8 tid=0x00df5538 nid=0x4a runnable [9657f000..9657fc28]
at java.net.PlainDatagramSocketImpl.receive(Native Method)
at java.net.DatagramSocket.receive(DatagramSocket.java:711)
- locked <0xb8449cb8> (a java.net.DatagramPacket)
- locked <0xb8449cd8> (a java.net.DatagramSocket)
at com.tangosol.coherence.component.net.socket.UdpSocket.receive(UdpSocket.CDB:18)
at com.tangosol.coherence.component.net.UdpPacket.receive(UdpPacket.CDB:17)
at com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketListener.onWait(PacketListener.CDB:5)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:31)
at java.lang.Thread.run(Thread.java:534)
"Logger@13785534 3.1.2/343" daemon prio=3 tid=0x006b7358 nid=0x49 in Object.wait() [9667f000..9667fc28]
at java.lang.Object.wait(Native Method)
- waiting on <0xb8449e90> (a com.tangosol.coherence.component.application.console.Coherence$Logger$Queue)
at com.tangosol.coherence.component.util.Daemon.onWait(Daemon.CDB:9)
- locked <0xb8449e90> (a com.tangosol.coherence.component.application.console.Coherence$Logger$Queue)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:31)
at java.lang.Thread.run(Thread.java:534)
"ExecuteThread: '5' for queue: 'JMS.TimerClientPool'" daemon prio=5 tid=0x011384b0 nid=0x48 in Object.wait() [9677f000..9677fc28]
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:429)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:153)
- locked <0xb82c91f8> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
"ExecuteThread: '4' for queue: 'JMS.TimerClientPool'" daemon prio=5 tid=0x01137bc8 nid=0x47 in Object.wait() [9687f000..9687fc28]
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:429)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:153)
- locked <0xb82c9278> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
"ExecuteThread: '3' for queue: 'JMS.TimerClientPool'" daemon prio=5 tid=0x0111d4e0 nid=0x46 in Object.wait() [9697f000..9697fc28]
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:429)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:153)
- locked <0xb82c92f8> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
"ExecuteThread: '2' for queue: 'JMS.TimerClientPool'" daemon prio=5 tid=0x010dd218 nid=0x45 in Object.wait() [96a7f000..96a7fc28]
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:429)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:153)
- locked <0xb82c9378> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
"ExecuteThread: '1' for queue: 'JMS.TimerClientPool'" daemon prio=5 tid=0x00bb1c98 nid=0x44 in Object.wait() [96b7f000..96b7fc28]
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:429)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:153)
- locked <0xb82c93f8> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
"ExecuteThread: '0' for queue: 'JMS.TimerClientPool'" daemon prio=5 tid=0x00979ac8 nid=0x43 in Object.wait() [96c7f000..96c7fc28]
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:429)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:153)
- locked <0xb82c9478> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
"Thread-12" daemon prio=5 tid=0x00200610 nid=0x42 waiting on condition [96d7f000..96d7fc28]
at java.lang.Thread.sleep(Native Method)
at com.geico.log.HeartbeatLogger$1.run(HeartbeatLogger.java:133)
"Thread-10" daemon prio=5 tid=0x00200470 nid=0x41 waiting on condition [96e7f000..96e7fc28]
at java.lang.Thread.sleep(Native Method)
at com.geico.log.StreamLogger.pause(StreamLogger.java:267)
at com.geico.log.StreamLogger.access$300(StreamLogger.java:19)
at com.geico.log.StreamLogger$WorkerThread.run(StreamLogger.java:221)
at java.lang.Thread.run(Thread.java:534)
"ClockDaemonThread-0" daemon prio=5 tid=0x00ab6a48 nid=0x40 in Object.wait() [96f7f000..96f7fc28]
at java.lang.Object.wait(Native Method)
- waiting on <0xb8051b20> (a com.geico.util.concurrent.ClockDaemon)
at com.geico.util.concurrent.ClockDaemon.nextTask(ClockDaemon.java:328)
- locked <0xb8051b20> (a com.geico.util.concurrent.ClockDaemon)
at com.geico.util.concurrent.ClockDaemon$RunLoop.run(ClockDaemon.java:362)
at java.lang.Thread.run(Thread.java:534)
"Thread-9" prio=5 tid=0x008912e0 nid=0x3f in Object.wait() [9ad7f000..9ad7fc28]
at java.lang.Object.wait(Native Method)
at java.util.TimerThread.mainLoop(Timer.java:429)
- locked <0xb8051bc0> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:382)
"ExecuteThread: '0' for queue: 'JMS.TimerTreePool'" daemon prio=5 tid=0x001d7fa8 nid=0x3e in Object.wait() [9ae7f000..9ae7fc28]
at java.lang.Object.wait(Native Method)
at weblogic.jms.backend.BETimerTree.execute(BETimerTree.java:146)
- locked <0xb8051c90> (a weblogic.jms.backend.BETimerTree)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
"Thread-8" prio=5 tid=0x00247418 nid=0x3d in Object.wait() [9af7f000..9af7fc28]
at java.lang.Object.wait(Native Method)
- waiting on <0xb8051d20> (a java.util.TaskQueue)
at java.util.TimerThread.mainLoop(Timer.java:429)
- locked <0xb8051d20> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:382)
"Thread-7" prio=5 tid=0x001d8a28 nid=0x3c in Object.wait() [9b07f000..9b07fc28]
at java.lang.Object.wait(Native Method)
at java.util.TimerThread.mainLoop(Timer.java:429)
- locked <0xb8051dc0> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:382)
"ExecuteThread: '0' for queue: 'weblogic.cluster.MulticastManager'" daemon prio=5 tid=0x00da0a60 nid=0x3b runnable [9b17f000..9b17fc28]
at java.net.PlainDatagramSocketImpl.receive(Native Method)
at java.net.DatagramSocket.receive(DatagramSocket.java:711)
- locked <0xa22dc3e8> (a java.net.DatagramPacket)
- locked <0xb7558130> (a java.net.MulticastSocket)
at weblogic.cluster.FragmentSocket.receive(FragmentSocket.java:169)
at weblogic.cluster.MulticastManager.execute(MulticastManager.java:395)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
"SSLListenThread.Administrator" prio=5 tid=0x00c7db08 nid=0x3a runnable [9b27f000..9b27fc28]
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
- locked <0xb75582a0> (a java.net.PlainSocketImpl)
at java.net.ServerSocket.implAccept(ServerSocket.java:448)
at javax.net.ssl.impl.SSLServerSocketImpHi,
I guess this issue is related to your connectivity and hyperion services. Can you take a restart and try to execute the reports. Also try to check all your Hyperion services are up and running before executing the FR Reports. You can also check the Reporting services by login to Weblogic server (if you have applied it in your environment). In weblogic it should be in Running mode and not in Admin mode. If it is not in Running mode then try to check the Data Source setting from Connection Pool in Weblogic Server.
Soumya -
Server hangs up when tryin to read object Urgent Help Plz
Hi,
I've been working on a client-server model for a while, I've tested my applicaction a thousand of times locally (I mean, server and serveral clients running on the same machine) and it's ok, now I finally run server in a remote host and I find it rarely works fine, most of the times server hangs up when tryin to read objects I dont know why.
this is the part of the server-code where the problem begins:
public int EscucharSocket(){
Socket cliente = null;
System.out.println("Servidor en escucha...\n");
while(true){
try{
cliente = SocketS.accept();
//I get client's ip and port
String ip = cliente.getInetAddress().getHostAddress();
int puerto = cliente.getPort();
//After the conexion is made, server reads a signature to
//identify the client
//in function process I check if the signature is valid
//SignedData is a class where I wrap the signiture (obviously
//it implements Serializable interface
process((SignedData)le.LeerObject(cliente));
//Other things done here
catch (Exception e) { }
}le is a class I use to read,write data to the socket, this is the code of the LeerObject function
public Object LeerObject(Socket c) throws Exception {
//Here Is where the server hangs up
ObjectInputStream b = new ObjectInputStream(c.getInputStream());
return b.readObject();
}As I wrote when running locally, there is no problem, but when I have a remote host, that happens
Any help or idea?Hi again, thnx for your help
I modified my LE class so I just create a couple of Input/Output Streams per client (on server n client program), this is now the complete code of the class:
import java.net.*;
import java.io.*;
public class LE {
DataOutputStream dos;
ObjectOutputStream oos;
DataInputStream dis;
ObjectInputStream ois;
//Streams are created just once in the constructor
public LE (Socket s) throws Exception {
dos = new DataOutputStream(s.getOutputStream());
//I'm not sure if this flush has any sense
dos.flush();
oos = new ObjectOutputStream (s.getOutputStream());
oos.flush();
dis = new DataInputStream(s.getInputStream());
ois = new ObjectInputStream (s.getInputStream());
public void EscribirByte(byte datos[],int len) throws Exception {
dos.write(datos,0,len);
dos.flush();
public void EscribirString(String dato) throws Exception {
dos.writeUTF(dato);
dos.flush();
public void EscribirChar(char dato) throws Exception {
dos.writeChar(dato);
dos.flush();
public void EscribirInt(int dato) throws Exception {
dos.writeInt(dato);
dos.flush();
public void EscribirLong(long dato) throws Exception {
dos.writeLong(dato);
dos.flush();
public void EscribirObject(Object dato) throws Exception {
oos.writeObject(dato);
oos.flush();
public String LeerString() throws Exception {
return dis.readUTF();
public int LeerInt() throws Exception {
return dis.readInt();
public char LeerChar() throws Exception {
return dis.readChar();
public long LeerLong() throws Exception {
return dis.readLong();
public Object LeerObject() throws Exception {
return ois.readObject();
}part of code of server and client, where the conexion is made and the LE object is created
Server:
try{
cliente = SocketS.accept();
//After accepting the conexion the LE object is created
le = new LE(cliente);
//I get client's ip and port
String ip = cliente.getInetAddress().getHostAddress();
int puerto = cliente.getPort();
//Object wraping signature is read
process((SignedData)le.LeerObject());
//other control operations doing here
//A thread is created to receive requests from client
//(reference to LE object is passed to the thread
ConexionCliente c = new ConexionCliente (cliente,id_persona,id_grupo,tipo_usuario,backup,le);
//thread is started
c.start();
catch (Exception e) {
try {
cliente.close();
catch(Exception e2){}
}Cliente code:
try{
//it connects to the server
c=new Socket(host,puerto);
//After accepting the conexion the LE object is created
le = new LE(c);
//other things made here to genarate SignedData Object
//It sends signed data object
le.EscribirObject(Data);
//A thread is created and started to receive messages from server
//reference to object LE is sent to the thread to avoid the need of
//creating another
new ConexionServidorClient(c,id_persona,ci,le).start();
return 1;
catch(Exception e) {
return -1;
}after the change, itworks a little better, but still most of the times server hangs up, I can't make server operational yet and I dont have any idea for solving this issue -
Server hangs or freezes during heavy load
During peak times of the day, especially during heavy load on the Calendar Server,
the application seems to hang. The client side application will not respond on
the user's desktop, and uni* commands on the server itself respond considerably
slow.
<P>
There are two parameters in the server configuration file that are strongly
believed to be a trigger of server hangs or freezes in large deployments and/or
busy servers. Here is a description of the problem:
<P>
Large deployments tend to be 3000+ users per node. This could be a single or
multi-node environment.
<P>
A lock manager fix was implemented in 4.0 to correct a problem that was
found in 3.51 where the server would hang. At that time, the parameters called
read/writelocktimeouts
were introduced as a failover mechanism in case the
database was not available, which would then trigger the client process to
disconnect rather than hang the whole server.
<P>
These timeouts effectively will terminate a process whose read or write exceeds
the specified periods. The default of 20 seconds is quite a large amount of time;
however, it is not totally unlikely that such a value could be met on a
very busy system. If this is the case, and there is some relation between a
process being terminated by one of these timeouts and subsequent system
instability, then the "solution" would not be to extend the values of the
timeouts but rather to exclude them. This way, it will ensure that no process is
terminated this way and therefore the process would be allowed to continue until
it had completed its job.
<P>
The timeouts were not removed from the product, but under normal circumstances
they probably won't be needed anymore anyhow. It seems that on a busy calendar
server, setting the db timeout alarms may actually trigger the server to freeze.
Below are some examples of errors that appear in the log files which show
that the database is no longer accepting client requests:
<P>
db_VISTA ERROR -920 -> cst_d_open: d_open
db_SchedBaseOpen: unable to open database
probable cause: unilckd is down or "/users/unison/tmp/unisonlckm"
was removed
uniengd: database lock timeout
ITEM: "NA,NA" <0,0>
CLIENT: "unises", "A.02.80"
INET-NAME:
INET-ADDR:
CALL: "SessionsInfoGet"
<P>
To make the fix:
<OL>
<LI>Using your favorite editor, edit the /users/unison/misc/unison.ini file.
In the following section you will see these two parameters:
<P>
[ENG]
writelocktimeout = 20
readlocktimeout = 20
<P>
<LI>Place a "#" sign (or the appropriate comment symbol for your OS) in front of
these two lines and save the file.
<P>
<LI>The server will now have to be restarted in order for the changes to take
effect.
</OL>This looks similar to what I'm seeing.
DPM 2010, there's one backup set (for me a file server disk) that every time I try to run the initial replica on it the server hangs and needs to be rebooted by iLO. It doesn't just die suddenly, first the data stream on the backup stops then the OS becomes
less responsive but there is no resource issue. trying to open event view will cause a few things to lock up then over a few mins the server is complete froze. like the disk drives have been locked.
Suspecting McAfee, I added in all the exclusions, that didn't help so I added the process exclusions which are done by setting dpmra and csc to low risk and that didn't help either. I could reproduce it just by kicking off a backup for this one file servers
drive so it's easy to test with.
Tonight, I had some permissions in EPO to let me stop the scanning completely and disable the on-access scan and for the first time it worked!
There is definitely an issue between DPM and McAfee beyond what is on MS's web page for AV checks.
I don't have a workaround yet other than stopping the AV completely... Something to follow up on next week. For the moment I made some progress though. -
Server Hangs while compiling some EJB in Weblogic 6.1 SP5 on AIX 4.3.3
Hi,
Iam not able to deploy a J2EE application in WebLogic 6.1 SP5 on an AIX 4.3.3
box.
CMP is being used and my EJBs are not being compiled( though there are no errors
thrown).
Iam using IBM DB2 ver 8.0 DB as client and server.
While compiling, the server Hangs, displaying the message "<Info> <Management>
<Configuration changes for domain saved to the repository.>"
Is there any configuration Issues with weblogic 6.1 SP5 and AIX 4.3.3?
Because the same EAR works in SP3.
Please help ASAP.
Thanks in advance.
NageshThe only thing to do again with "hangs" is to take thread dumps. As for why
things are going wrong...... I am at a loss other than some AIX weirdness.
Cheers
mbg
"Deshpande" <[email protected]> wrote in message
news:[email protected]...
>
Hi Mark,
I tried it out ....I ran EJBC on all my EJB's and then tried to deploy myapplication.
Application got deployed and the server was up, but JSP's dosent getcompiled(
i.e when I want to run my application, my server hangs again).
I tried one more option.. I pointed my JAVAHOME in startweblogic.sh to anSP3
JDK .. and it worked!! Now with this JDK Iam able to deploy my entireapplication
( with out precompiled) also run through the application without anyproblems.
I then over wrote the existing JDK ( of SP5 ) with that of SP3 and thentried.
Which also works fentastically!!!
I can feel something fishy here ....
Any help in this regard is most welcome.
Thanks and Regards...
Nagesh
"Mark Griffith" <[email protected]> wrote:
Deshpande:
"Deshpande" <[email protected]> wrote in message
news:[email protected]...
Hi Mark,
Thanks again.
For
Q1> How much time was between the two dumps?
A1> There was a minute gap B/w the two dumps. ( since it took so longto
write
the Core)
Q2> How long have you waited with no progress seeming to be made?
A1> Over a whole night. ( appx 14 hours).
Now I believe you would have figured out what the problem is.Not sure if this is a statement saying you think I have figured it out,
or a
statement saying you think I should have figured it out but I haven't.
Anyway... Did you try running ejbc on the "app" first?
Meanwhile also it would be great, if you would tell me the proceduresto
get support
form the BEA and AIX to solve the Issue.
http://www.bea.com/framework.jsp?CNT=index.htm&FP=/content/services/custome
r_support/contacts/
>>
I would suggest sending as much detail as possible, including zips of
the
thread dumps and pointers to this newsgroup conversation [email protected]
>>
I do however suggest you first try running ejbc.
Cheers
mbg
Thanks in advance.
R
Deshpande.
"Mark Griffith" <[email protected]> wrote:
Nagesh:
Wow, AXI outputs some interesting thread dumps. ;)
So the interesting thread (and the problem) is:
"main" (TID:0x300C41D8, sys_thread_t:0x30010A60, state:CW, native
ID:0x1)
prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:429)
at java.lang.UNIXProcess.waitFor(UNIXProcess.java:130)
at weblogic.utils.Executable.exec(Executable.java(Compiled Code))
at weblogic.utils.Executable.exec(Executable.java(Inlined CompiledCode))
at
weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.j
a
v
a(Compiled Code))
at
weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java(Inlin
e
d
Compiled Code))
at
weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java(Compiled
Code))
at weblogic.ejb20.deployer.Deployer.runEJBC(Deployer.java(InlinedCompiled
Code))
at weblogic.ejb20.deployer.Deployer.compileEJB(Deployer.java(Compiled
Code))
at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java(CompiledCode))
at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:33)
at weblogic.j2ee.Application.addComponent(Application.java:176)
at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Deploymen
t
T
arget.java(Compiled Code))
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Deployme
n
t
Target.java:286)
at
weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments
D
eploymentTarget.java:239)
at
weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(Deplo
y
m
entTarget.java:199)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanIm
p
l
..java(Compiled Code))
at
weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java
C
ompiled Code))
at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMB
e
a
nImpl.java:374)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java(Compiled
Code))
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java(Compiled
Code))
at $Proxy34.updateDeployments(Unknown Source)
at
weblogic.management.configuration.ServerMBean_CachingStub.updateDeployment
s
ServerMBean_CachingStub.java:3015)
at
weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(Ap
p
l
icationManager.java:376)
at
weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationMana
g
e
r.java:164)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanIm
p
l
..java(Compiled Code))
at
weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java
C
ompiled Code))
at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMB
e
a
nImpl.java:374)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java(Compiled
Code))
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java(Compiled
Code))
at $Proxy48.start(Unknown Source)
at
weblogic.management.configuration.ApplicationManagerMBean_CachingStub.star
t
ApplicationManagerMBean_CachingStub.java:480)
at weblogic.management.Admin.startApplicationManager(Admin.java:1309)
at weblogic.management.Admin.finish(Admin.java:650)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:547)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:214)
at weblogic.Server.main(Server.java:35)
So the Server never gets out of the Main thread to run, because theEJBC
compilation is "stuck", ejbc is running because either the EJB being
deployed was previously deployed on a different version of WLS orejbc
had
never been run on those beans. Either there is a problem on the AIX
VM
where execing processes are not returning, OR the ejb that ejbc isrunning
on is huge and is taking a REALLY long time. How much time was
between
the
two dumps? How long have you waited with no progress seeming to bemade?
Depending on the answers to these questions it maybe that there isa
VM bug
and you will need to contact BEA support to see the procedure forworking
with AIX to resolve the issue.
You maybe able to work around the problem by running EJBC on the ejb
in
question prior to starting the server.
http://edocs.bea.com/wls/docs61/ejb/EJB_utilities.html#1075296
Cheers
mbg
"deshpande" <[email protected]> wrote in message
news:[email protected]...
Hi, Mark,
Thanks for the early reply.
I have attached two consecutive dumps Zipped.
Pls look into the same and helpme out.
Thanks in advance.
Regards,
Nagesh
"Mark Griffith" <[email protected]> wrote:
When it hangs, you need to get thread dumps.
"kill -3 PID" is how this works on Solaris. Additionally if the
terminal/shell has focus that started the process you can do "CTRL
Break"
as
well. The thread dumps will go to std-out/err, so you'll have
to
redierect
std-out and err of the shell. (Make sure you don't nohup the
process
(if
AIX even supports that) since this prevents sigquits). When thehang
occurs
take a thread dump, wait 10 seconds and take another one, thenplease
zip
and attach the file in a post.
Cheers
mbg
"Deshpande" <[email protected]> wrote in message
news:[email protected]...
Hi,
Iam not able to deploy a J2EE application in WebLogic 6.1 SP5
on
an
AIX
4.3.3
box.
CMP is being used and my EJBs are not being compiled( though
there
are no
errors
thrown).
Iam using IBM DB2 ver 8.0 DB as client and server.
While compiling, the server Hangs, displaying the message "<Info><Management>
<Configuration changes for domain saved to the repository.>"
Is there any configuration Issues with weblogic 6.1 SP5 and AIX
4.3.3?
Because the same EAR works in SP3.
Please help ASAP.
Thanks in advance.
Nagesh -
In AIR 3.x, a socket write() + flush() on a client will hang (and freeze the entire app) if the socket peer advertises a ZERO TCP Window, i.e. no space available in peer receiver's socket buffer.
AIR on Windows insists that the developer flush() the socket in order to write (any data at all). When the peer (receiver) advertises a 0 byte tcp window, the client flush() call can sometimes take 10 seconds (i.e. 10000 milliseconds), whereas normally it should take 10 to 50 milliseconds.
Additionally, AIR stayed in hung position. Since the socket had TCP KEEPALIVE option enabled (at the server), the socket stayed open. I let it stay hung overnight. The next day when I rebooted the server, the socket got closed and finally the AIR program "RETURNED FROM the sock.flush()" call. A timestamp before and after the call to flush() showed that the flush() call was in hung state for 56472475 milliseconds, i.e. 15.7 hours! After it returned from the flush() call the AIR app was responsive and seemed to work properly. Thus proving that it was indeed stuck (or blocked) on the flush() call for 15 hours trying to drain the data to a socket with zero tcp window condition.
A tcp zero window condition on 1 socket hanging an entire app sounds concerning.
Solution Suggestions:
(1) What is needed is for the OutputProgress event to include a field for 'bytes that can be written safely without blocking on the socket', i.e. 'space available in underlying platform socket buffer' which would account for the socket send buffer size.
(2) An alternative solution would be for AIR to provide a write-timeout setsockopt (or a writeTimeout() method on the socket), and return flush with an error (or EWOULDBLOCK), and call the OUTPUTPROG event only when there is enough space available.
If there are any other workarounds, please let me know.
Thank you.Question: Does Adobe AIR expose the getsockopt() and setsockopt() calls on a socket? It would be useful to apps to tune the io buffer sizes.
Additional Details:
RTT = 100+ milliseconds
TCP Window Scaling enabled
Secure Socket
Hard to reproduce with plain TCP socket, but occurs without fail with SecureSocket. Not knowing the underlying code base, am wondering if it is because the SSL encryption overhead (bytes) throws off the buffer available size compution in secure_sock.flush() .
Thanks. -
Writng-Reading stream through client-server application
I am developing a client-server application which is the client sends a sentence to the server and the server will convert the sentence from small letters to all capital letters. The problem is when the sentence send by the client contains special character such as Registered Trade Mark or Copyright , the server receive the sentence but the special character has changed to undefined symbol. After the server do the conversion process, the server couldn't send back the sentence because of the undefined symbol. It will make the system hangs.
I use socket connection to do the process. The system use DataOutputStream object to pass the sentence . The source code is as below:
Socket clientSocket = new Socket("localhost", 111);
DataOutputStream outToServer = new DataOutputStream(clientSocket.getOutputStream());
BufferedReader inFromServer = new BufferedReader(new InputStreamReader(clientSocket.getInputStream()));
sentence = "Stomach-Comfort is the all-natural alternative to over-the-counter products, such as Tums�, Rolaids� and Pepcid AC�.";
outToServer.writeUTF(sentence + '\n');
modifiedSentence = inFromServer.readLine();
System.out.println("FROM SERVER: " + modifiedSentence);
Any body can help me?Well, I think that this would work but I haven't tried it, but you could evaluate the numerical value of each
character and see if it falls within the range of ASCII fields that you want to convert.
If not don't convert it.
So for example,
for each char in your stream:
1) get a char's numerical value
2) If between 97-122 decimal
convert to the capital (forgot the exact method name)
3) else
keep value as it is. -
TCP Client Program hangs up! Please help
Hi,
I'm trying to send a sudio file from server to client. Before starting to send the file I take the system time at the server and send it to client. For this I use the following code.
At Client:
DataInputStream inFromServer2 = new DataInputStream(clientSocket.getInputStream());
long begin_time = inFromServer2.readLong();
System.out.println("FROM SERVER: "+begin_time);
At Server:
begin_time = System.currentTimeMillis();
System.out.println("begin_time="+begin_time);
outToClient.writeLong(begin_time);
It takes the system time correctly at the server but when it sends to client it gives me some negative number. Sometimes the client just hangs up after coming to this statement.
Can anyone please figure out what am I doing wrong
Thanks a lot.Perhaps the output never gets packaged into a packet and sent to the client, try adding the line:
outToClient.flush();To your Server source.
-Jason Thomas. -
11gr2 client installation hangs during client installation
hi
11gr2 client installation hangs during client installation during "perform pre-requisit test"-- what to do??
server oel 5.6
db 11gr2
client 11gr2
os win xp prof 32 bit
java jre 6u24
netbeans 6.9.1
kind regards
Edited by: SYSAPPSDBATSM(EBZ11,R12)1152046c on Mar 25, 2011 3:40 PMhi
INFO: Completed validating state <init>
INFO: Verifying route success
INFO: Get view named [InstallTypesUI]
INFO: size estimation for InstantClientinstall is 174.04894161224365
INFO: size estimation for Administratorinstall is 1046.229476928711
INFO: size estimation for Runtimeinstall is 754.2802858352661
INFO: View for [InstallTypesUI] is oracle.install.ivw.client.view.InstallTypesGUI@1cf243b
INFO: Initializing view <InstallTypesUI> at state <clientInstallType>
INFO: InstallTypesPane installType is: InstantClient
INFO: Completed initializing view <InstallTypesUI> at state <clientInstallType>
INFO: Displaying view <InstallTypesUI> at state <clientInstallType>
INFO: Completed displaying view <InstallTypesUI> at state <clientInstallType>
INFO: Loading view <InstallTypesUI> at state <clientInstallType>
INFO: Completed loading view <InstallTypesUI> at state <clientInstallType>
INFO: Localizing view <InstallTypesUI> at state <clientInstallType>
INFO: size estimation for InstantClientinstall is 174.04894161224365
INFO: size estimation for Administratorinstall is 1046.229476928711
INFO: size estimation for Runtimeinstall is 754.2802858352661
INFO: Completed localizing view <InstallTypesUI> at state <clientInstallType>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Executing action at state clientInstallType
INFO: Completed executing action at state <clientInstallType>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Moved to state <clientInstallType>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Client Install Type set in InstallTypeUI is : Custom
INFO: Validating view at state <clientInstallType>
INFO: Completed validating view at state <clientInstallType>
INFO: Validating state <clientInstallType>
WARNING: Validation disabled for the state clientInstallType
INFO: Completed validating state <clientInstallType>
INFO: In Transition of InstallTypesAction:
INFO: Verifying route ic_no
INFO: Get view named [ProductLanguageUI]
INFO: View for [ProductLanguageUI] is oracle.install.ivw.common.view.ProductLanguageGUI@a16157
INFO: Initializing view <ProductLanguageUI> at state <productLanguage>
INFO: Completed initializing view <ProductLanguageUI> at state <productLanguage>
INFO: Displaying view <ProductLanguageUI> at state <productLanguage>
INFO: Fetching Available Languages...
INFO: Completed displaying view <ProductLanguageUI> at state <productLanguage>
INFO: Loading view <ProductLanguageUI> at state <productLanguage>
INFO: Completed loading view <ProductLanguageUI> at state <productLanguage>
INFO: Localizing view <ProductLanguageUI> at state <productLanguage>
INFO: Completed localizing view <ProductLanguageUI> at state <productLanguage>
INFO: Waiting for completion of background operations
INFO: Finishing all forked tasks at state productLanguage
INFO: Waiting for completion all forked tasks at state productLanguage
INFO: All forked task are completed at state productLanguage
INFO: Completed background operations
INFO: Executing action at state productLanguage
INFO: Completed executing action at state <productLanguage>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Moved to state <productLanguage>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: The languages in which the product will be installed are [en]
INFO: Validating view at state <productLanguage>
INFO: Completed validating view at state <productLanguage>
INFO: Validating state <productLanguage>
INFO: Using default Validator configured in the Action class oracle.install.ivw.common.action.ProductLanguageAction
INFO: Completed validating state <productLanguage>
INFO: Verifying route productlanguage_yes
INFO: Get view named [InstallLocationUI]
WARNING: Active Help Content for InstallLocationPane.cbxOracleBases do not exist. Error :Can't find resource for bundle oracle.install.ivw.client.resource.ContextualHelpResource, key InstallLocationPane.cbxOracleBases.conciseHelpText
WARNING: Active Help Content for InstallLocationPane.cbxSoftwareLoc do not exist. Error :Can't find resource for bundle oracle.install.ivw.client.resource.ContextualHelpResource, key InstallLocationPane.cbxSoftwareLoc.conciseHelpText
INFO: View for [InstallLocationUI] is oracle.install.ivw.client.view.InstallLocationGUI@ba8fce
INFO: Initializing view <InstallLocationUI> at state <getOracleHome>
INFO: inventory location isC:\Program Files\Oracle\Inventory
INFO: inventory location isC:\Program Files\Oracle\Inventory
INFO: inventory location isC:\Program Files\Oracle\Inventory
INFO: inventory location isC:\Program Files\Oracle\Inventory
INFO: Completed initializing view <InstallLocationUI> at state <getOracleHome>
INFO: Displaying view <InstallLocationUI> at state <getOracleHome>
INFO: Completed displaying view <InstallLocationUI> at state <getOracleHome>
INFO: Loading view <InstallLocationUI> at state <getOracleHome>
INFO: Completed loading view <InstallLocationUI> at state <getOracleHome>
INFO: Localizing view <InstallLocationUI> at state <getOracleHome>
INFO: Completed localizing view <InstallLocationUI> at state <getOracleHome>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Executing action at state getOracleHome
INFO: Completed executing action at state <getOracleHome>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Moved to state <getOracleHome>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: inventory location isC:\Program Files\Oracle\Inventory
INFO: Validating view at state <getOracleHome>
INFO: Completed validating view at state <getOracleHome>
INFO: Validating state <getOracleHome>
INFO: custom prereq file name: oracle.client_Custom.xml
INFO: refDataFile: C:\Documents and Settings\DBA\Desktop\win32_11gR2_client\client\stage\cvu\oracle.client_Custom.xml
INFO: isCustomRefDataFilePresent: false
INFO: InstallAreaControl exists: true
INFO: isNewHome= true isORCAHome=false
INFO: Checking:NEW_HOME
INFO: Checking:COMP
INFO: Checking:COMP
INFO: Checking:COMP
INFO: Checking:COMP
INFO: Checking:COMP
INFO: Checking:COMP
INFO: Checking:COMP
INFO: Checking:COMP
INFO: Checking:ORCA_HOME
INFO: Reading shiphome metadata from C:\Documents and Settings\DBA\Desktop\win32_11gR2_client\client\install\..\stage\shiphomeproperties.xml
INFO: Loading beanstore from file:/C:/Documents and Settings/DBA/Desktop/win32_11gR2_client/client/install/../stage/shiphomeproperties.xml
INFO: Translating external format into raw format
INFO: Restoring class oracle.install.driver.oui.ShiphomeMetadata from file:/C:/Documents and Settings/DBA/Desktop/win32_11gR2_client/client/install/../stage/shiphomeproperties.xml
INFO: inventory location isC:\Program Files\Oracle\Inventory
INFO: inventory location isC:\Program Files\Oracle\Inventory
INFO: size estimation for Administratorinstall is 1046.229476928711
INFO: PATH has :==>C:\DOCUME~1\DBA\LOCALS~1\Temp\OraInstall2011-03-26_10-46-45AM\jdk\jre\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\Common Files\NetSarang;C:\Program Files\PC Connectivity Solution\;C:\app\DBA\product\11.1.0\db_2\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\WinSCP\;C:\Program Files\QuickTime\QTSystem\
INFO: Completed validating state <getOracleHome>
INFO: InstallLocationAction to INVENTORY_YES_CUSTOM_YES
INFO: Verifying route INVENTORY_YES_CUSTOM_YES
INFO: Get view named [CustomInstallUI]
INFO: Re-loading component config bean
INFO: Loading beanstore from jar:file:/C:/Documents%20and%20Settings/DBA/Local%20Settings/Temp/OraInstall2011-03-26_10-46-45AM/ext/jlib/instclient.jar!/oracle/install/ivw/client/resource/custom_components.xml
INFO: Translating external format into raw format
INFO: Restoring class oracle.install.commons.base.util.ComponentConfig from jar:file:/C:/Documents%20and%20Settings/DBA/Local%20Settings/Temp/OraInstall2011-03-26_10-46-45AM/ext/jlib/instclient.jar!/oracle/install/ivw/client/resource/custom_components.xml
WARNING: [INS-07001] Value for property 'dependants' not found in the bean store.
WARNING: [INS-07001] Value for property 'dependants' not found in the bean store.
WARNING: [INS-07001] Value for property 'dependants' not found in the bean store.
WARNING: [INS-07001] Value for property 'dependants' not found in the bean store.
WARNING: [INS-07001] Value for property 'dependants' not found in the bean store.
WARNING: [INS-07001] Value for property 'dependants' not found in the bean store.
WARNING: [INS-07001] Value for property 'dependants' not found in the bean store.
WARNING: [INS-07001] Value for property 'dependants' not found in the bean store.
WARNING: [INS-07001] Value for property 'dependants' not found in the bean store.
WARNING: [INS-07001] Value for property 'dependants' not found in the bean store.
WARNING: [INS-07001] Value for property 'dependants' not found in the bean store.
WARNING: [INS-07001] Value for property 'dependants' not found in the bean store.
WARNING: [INS-07001] Value for property 'dependants' not found in the bean store.
WARNING: [INS-07001] Value for property 'dependants' not found in the bean store.
WARNING: [INS-07001] Value for property 'dependants' not found in the bean store.
WARNING: [INS-07001] Value for property 'dependants' not found in the bean store.
WARNING: [INS-07001] Value for property 'dependants' not found in the bean store.
WARNING: [INS-07001] Value for property 'dependants' not found in the bean store.
WARNING: [INS-07001] Value for property 'dependants' not found in the bean store.
WARNING: [INS-07001] Value for property 'dependants' not found in the bean store.
WARNING: [INS-07001] Value for property 'dependants' not found in the bean store.
WARNING: [INS-07001] Value for property 'dependants' not found in the bean store.
WARNING: [INS-07001] Value for property 'dependants' not found in the bean store.
WARNING: [INS-07001] Value for property 'dependants' not found in the bean store.
WARNING: [INS-07001] Value for property 'dependants' not found in the bean store.
WARNING: [INS-07001] Value for property 'dependants' not found in the bean store.
WARNING: [INS-07001] Value for property 'dependants' not found in the bean store.
INFO: Resolving dependencies
INFO: View for [CustomInstallUI] is oracle.install.ivw.client.view.CustomInstallGUI@1473a2e
INFO: Initializing view <CustomInstallUI> at state <clientCustomInstall>
INFO: Completed initializing view <CustomInstallUI> at state <clientCustomInstall>
INFO: Displaying view <CustomInstallUI> at state <clientCustomInstall>
INFO: Completed displaying view <CustomInstallUI> at state <clientCustomInstall>
INFO: Loading view <CustomInstallUI> at state <clientCustomInstall>
INFO: Completed loading view <CustomInstallUI> at state <clientCustomInstall>
INFO: Localizing view <CustomInstallUI> at state <clientCustomInstall>
INFO: Completed localizing view <CustomInstallUI> at state <clientCustomInstall>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Executing action at state clientCustomInstall
INFO: Completed executing action at state <clientCustomInstall>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Moved to state <clientCustomInstall>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Client Custom Install Selection. map = {}
INFO: Validating view at state <clientCustomInstall>
INFO: Completed validating view at state <clientCustomInstall>
INFO: Validating state <clientCustomInstall>
INFO: Completed validating state <clientCustomInstall>
INFO: Verifying route TO_ENDCUSTOM
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Executing action at state prereqExecutionDecider
INFO: Completed executing action at state <prereqExecutionDecider>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Moved to state <prereqExecutionDecider>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Validating view at state <prereqExecutionDecider>
INFO: Completed validating view at state <prereqExecutionDecider>
INFO: Validating state <prereqExecutionDecider>
WARNING: Validation disabled for the state prereqExecutionDecider
INFO: Completed validating state <prereqExecutionDecider>
INFO: Verifying route executeprereqs
INFO: Get view named [PrereqUI]
INFO: View for [PrereqUI] is [email protected]77
INFO: Initializing view <PrereqUI> at state <checkPrereqs>
INFO: Completed initializing view <PrereqUI> at state <checkPrereqs>
INFO: Displaying view <PrereqUI> at state <checkPrereqs>
INFO: Completed displaying view <PrereqUI> at state <checkPrereqs>
INFO: Loading view <PrereqUI> at state <checkPrereqs>
INFO: Completed loading view <PrereqUI> at state <checkPrereqs>
INFO: Localizing view <PrereqUI> at state <checkPrereqs>
INFO: Completed localizing view <PrereqUI> at state <checkPrereqs>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Executing action at state checkPrereqs
INFO: custom prereq file name: oracle.client_Custom.xml
INFO: refDataFile: C:\Documents and Settings\DBA\Desktop\win32_11gR2_client\client\stage\cvu\oracle.client_Custom.xml
INFO: isCustomRefDataFilePresent: false
INFO: Completed executing action at state <checkPrereqs>
INFO: Waiting for completion of background operations
INFO: Finishing all forked tasks at state checkPrereqs
INFO: Waiting for completion all forked tasks at state checkPrereqs
INFO: Creating PrereqChecker Job for leaf task Physical Memory
INFO: Creating CompositePrereqChecker Job for container task Free Space
INFO: Creating PrereqChecker Job for leaf task Free Space: dba-077754d77ea:C:\DOCUME~1\DBA\LOCALS~1\Temp
INFO: Creating PrereqChecker Job for leaf task Architecture
INFO: Creating PrereqChecker Job for leaf task Environment variable: "PATH"
INFO: CVU tracingEnabled = false
INFO: Nodes are prepared for verification.
INFO: *********************************************
INFO: Physical Memory: This is a prerequisite condition to test whether the system has at least 128MB (131072.0KB) of total physical memory.
INFO: Severity:IGNORABLE
INFO: OverallStatus:SUCCESSFUL
INFO: -----------------------------------------------
INFO: Verification Result for Node:dba-077754d77ea
INFO: Expected Value:128MB (131072.0KB)
INFO: Actual Value:1.9906GB (2087276.0KB)
INFO: -----------------------------------------------
INFO: *********************************************
INFO: Free Space: dba-077754d77ea:C:\DOCUME~1\DBA\LOCALS~1\Temp: This is a prerequisite condition to test whether sufficient free space is available in the file system.
INFO: Severity:IGNORABLE
INFO: OverallStatus:SUCCESSFUL
INFO: -----------------------------------------------
INFO: Verification Result for Node:dba-077754d77ea
INFO: Expected Value:130MB
INFO: Actual Value:12.5322GB
INFO: -----------------------------------------------
INFO: *********************************************
INFO: Architecture: This is a prerequisite condition to test whether the system has a certified architecture.
INFO: Severity:CRITICAL
INFO: OverallStatus:SUCCESSFUL
INFO: -----------------------------------------------
INFO: Verification Result for Node:dba-077754d77ea
INFO: Expected Value:32-bit
INFO: Actual Value:32-bit
INFO: -----------------------------------------------
INFO: *********************************************
INFO: Environment variable: "PATH": This test checks whether the length of the environment variable "PATH" does not exceed the recommended length.
INFO: Severity:CRITICAL
INFO: OverallStatus:SUCCESSFUL
INFO: -----------------------------------------------
INFO: Verification Result for Node:dba-077754d77ea
INFO: Expected Value:1023
INFO: Actual Value:235
INFO: -----------------------------------------------
INFO: All forked task are completed at state checkPrereqs
INFO: Completed background operations
INFO: Moved to state <checkPrereqs>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Validating view at state <checkPrereqs>
INFO: Completed validating view at state <checkPrereqs>
INFO: Validating state <checkPrereqs>
INFO: Using default Validator configured in the Action class oracle.install.ivw.client.action.PrereqAction
INFO: Completed validating state <checkPrereqs>
INFO: Verifying route success
INFO: Get view named [SummaryUI]kind regards -
Web server hangs after exceeding number of connection
Hi DBAs,
We are maintaining oracle 9i and webser on solaris.
so, after reaching 800 connection as shown on v$session the webserver hangs and we have to restart the webserver again.
Please help me where i need to check for this.
Regards
Asifplease find the following details :-
We are maintaining one DB server and 4 webserver .
OS Platform (for DB and Webserver)
: Sun Microsystems Inc. SunOS 5.9
Web server : SunONE 6.1
Database Version : Oracle Database 10g Release 10.1.0.2.0 - 64bit
Physical RAM (for DB server) : 8Gb.
Physical RAM (for Web server):4 web server each of 4 GB
Connect descriptor used in webserver to connect to oracle:
We use JDBC connection pooling that comes with the web server(SunONE)
The details of the configuration are:
<JDBCCONNECTIONPOOL name="wbol-pool" datasourceclassname="oracle.jdbc.pool.OracleDataSource" steadypoolsize="8" maxpoolsize="100"
poolresizequantity="2" idletimeout="300" maxwaittime="180000" connectionvalidationrequired="off"
connectionvalidationmethod="auto-commit" validationtablename="" failallconnections="off" transactioniso
lationlevel="read-committed" isolationlevelguaranteed="on">
<PROPERTY name="URL"
value="jdbc:oracle:thin:@{server ip}:1521:wborcle"/>
<PROPERTY name="User" value="username"/>
<PROPERTY name="Password" value="password"/>
</JDBCCONNECTIONPOOL>
Database is running in Shared mode(with 4 dispatchers) but clients are connected through dedicated mode.
max_process = 810
cur_process = 349
in alert.log file i have seen below error :-
Process q000 started up but failed with error = 20
user not able to stablish a connection through sqlplus also when web server hangs .
Hope you can help me to identify the problem based on above information, if any thing else u wanted to know plz let me know..
Asif -
After every hours our DEV Relay server hangs and stops responding.
There are no errors received when relay server URL is used but response takes unlimited time.
http://servername.com/ias_relay_server/client/rs_client.dll
To resolve this issue each time we need to reset the IIS so that all application pools are restarted. After this it works OK for a while but later it get stuck again.
Could you please advise
1) If this is a known issue ?
2) How and where to check what is the exact error ?
3) What could be the issue here ?I found few more error while I am working on your suggestion to check ports.
E. 2014-04-02 11:24:24. <8048.932.F1B0S3R5> RSE4008: Communication error [SYS0: Malformed HTTP chunk] occurred while writing response to client of backend server 'DEVASSPMP001' in backend farm 'DEVMBS' when 'scaning next chunk'
E. 2014-04-02 11:24:24. <8048.932.F1B0S3R5> RSE4008: Communication error [SYS0: Malformed HTTP chunk] occurred while writing response to client of backend server 'DEVASSPMP001' in backend farm 'DEVMBS' when 'scaning next chunk'
W. 2014-04-02 11:24:24. <8048.932.F1B0S3R5> Server response NOT completed.
E. 2014-04-02 11:32:14. <8048.4424.F1B0S3R0> RSE4003: Client of backend server 'DEVASSPMP001' in backend farm 'DEVMBS' timed out waiting for backend server response after 480 seconds
E. 2014-04-02 20:50:35. <7148.6704.rshost:master> RSE1017: Timed out waiting for down channels and clients to detach from shared memory during soft shutdown
Can you suggest any pointers for these error. That would be great. You have been a great help. -
Wls6.1withsp2 Server hangs
Hi,
I am facing a problem with weblogic6.0 with sp2.I am doing a loadtest on wls6.0.After
around 40,000th clients acceses the servlet,server hangs forever.
Whether this may be due to below things----as written in the release doc of
wls6.0
" WebLogic Server may hang when used with the HotSpot server VM on Windows NT
or Windows 2000. Use the HotSpot client VM on Windows NT or Windows 2000
instead.
I noticed that memory usage reaches the peak around 40000th client.I ran same
application under wls5.1 but no problem.
Please help me.
Regards,
Jango
Chris,
It seems to be quite abnormal to have a full GC every 2 mins. Did you
try taking a thread dump any time. If you take a thred dump, you can
analyze to see the threads are spending most of the time. It might
give you a good idea on where to start with and focus. Also try using
the alternate thread Library found under /usr/lib/lwp. This might help
some times. I assume you are using Server JVM. If not use Server JVM
by adding -server to the command line arguments.
Can you post the ThreadCount and Percentage of threads used as socket
readers (found under DomainName->Servers->ManagedServerName->Tuning).
You can tweak these parameters to make the server span more threads
which will help if you have lot of request coming in and if you see
lot of queing.
-Kiran
Chris Drake <[email protected]> wrote in message news:<[email protected]>...
Hello,
I have a WLS6.1 environment with (2) JVM's in a cluster on the sameSol2.8 server. While applying a load on the server one of the two
JVM's will stop resonding and will stack up outstanding requests.
After about 2 minutes, the JVM will "wake up" and begin to process the
outstanding requests until it catches up. After an indeterminate
period of time, the patter will repeat. There are no errors in the
logs but the JVM's will do a full GC every 2 minutes.
The listener threads will max out and pile up outstanding requests. The 8.1.7 JDBC connections will go from a typical 4 concurrent to the max limit of 40 concurrent. I cant tell what happens first. The front end, (listener threads)or the back end (jdbc connections).
Here is the startup parameters
JAVA_OPTIONS="-ms600m -mx600m -XX:NewSize=128m -XX:MaxNewSize=128m -XX:SurvivorRatio=8 -noclassgc -verbose:gc"
HEre is what I have tried so far...
SP3, SP4, Java 1.3.1_03, (1) JVM, (3) JVM's -
Weblogic 7.0 Server hangs on Sun Solaris 5.7
Hi,
We are facing a problem with weblogic server 7.0 SP2 running on jre 1.3.1_01
Hotspot Client VM. The operating system used is SunOS 5.7 .
Symptom : The weblogic server hangs after running for around 8 to 10 hours . the
log file contains messages which says 'Connection created for Oracle Pool'Hello,
Could you take a thread dump at that state?
kill -3 <pid of WLS>
Whats the state of the client application
- Exception (PeerGone, No Router)
- or just hangs
Also, you could run WLS using the JRE that ships with it. AFAIK, its v1.3.1_06.
rgds
MS -
Client/Server to Web-Based application Conversion
Hi! Everyone,
I have couple of questions for you guys.
Our Client had recently upgraded Forms 4.5 to 6i to move from Client/Server based application to Web based application.
They are using Forms Server 6i Patch Set 1, OAS 4.0.8.1, Windows NT Service Pack 5 and Oracle 7.3. They are facing the following error every now and then, when they run the forms,
"FRM-92100: Your connection to the server was interrupted. This may be the result of a network error or a failure on the server.You will need to re-establish your session."
Please let me know what might be causing the above error. The only problem i can think about might be Oracle 7.3. If i am right only Oracle 8 and above supports Forms 6i.
Can anyone let me know some tips and/or techniques to upgrade Forms 4.5 to 6i. If there are any important settings/steps which we might have over looked during the upgrade, please list them.
Any kind of help is greatly appreciated.
Thanks,
Jeevan Kallem
[email protected]Most of the code is use with no changes at all.
See otn.oracle.com/formsupgrade
Regards
Grant Ronald -
Client/server program validation - is it possible?
I've been mulling over this problem for a few days, and am starting to wonder if it's theoretically possible to find a solution. I'm not looking for specific code, this probably won't even be implemented in Java, I'm just wondering if there is a theoretical program model that would work in this situation.
The short version:
Validate the data generated by a client program, without knowing the original data.
The long version:
This is a "profiling" system for a MMOG (Massively Multiplayer Online Game). The MMOG is an internet based client/server graphical program where each client connects to the server and they interact with each other and the virtual world. They pay a monthly fee for access to the game. My program is not affiliated with the MMOG or its makers. I have no connections inside the company and cannot expect any cooperation from them.
The "profiling" system is also a client/server model. The client program runs in the background while the MMOG client is active. It accesses the memory of the MMOG client to retrieve information about the player's character. Then, possibly on request or maybe immediately, it sends the character data to our server.
What I want to validate is that the character data being sent is unmodified and actually comes from the MMOG program.
I can reasonably expect that with mild encryption and some sort of checksum or digest, the vast majority of problems can be avoided. However, I am not sure it's possible to completely secure the system.
I assume that the user has access to and knowledge of the profiler client and the MMOG client, their assembly code, and the ability to modify them or create new programs, leveraging that knowledge. I also assume that the user does not have access to or knowledge of either of the server applications - the MMOG server or mine.
In a worst-case scenario, there are several ways they could circumvent any security I have yet been able to think of. For instance, they could set up a fake MMOG client that had the data they wanted in memory, and let the profiler access that instead of the real thing. Or, they could rewrite the profiler to use the data they wanted and still encrypt it using whatever format I had specified.
I have been considering using some kind of buffer overflow vulnerability or remote execution technique that would allow me to run specific parts of the client program on command, or get information by request, something that could not be anticipated prior to execution and thus could not be faked. But this seems not only insecure for the client but also not quite solid enough, depending on how it was implemented.
Perhaps a series of apparently random validation codes, where the client does not know which one actually is doing the validation, so it must honor them all. Again, this is very conceptual and I'm sure that I'm not explaining them very well. I'm open to ideas.
If I don't come up with anything better, I would consider relying on human error and the fact that the user will not know, at first, the relevance of some of the data being passed between client and server. In this case, I would include some kind of "security handshake" that looks like garbage to the client but actually is validated on the server end. A modified program or data file would result in an invalid handshake, alerting the server (and me) that this client was a potential problem. The client would have no idea anything had gone wrong, because they would not know what data the server was expecting to receive.
I hope I have not confused anyone too much. I know I've confused myself....Yes, that is the general model for all MMOGs these days - no data that can actually affect the game is safe if loaded from the client's computer. All character and world data is sent from server to client and stored in memory. Any information that is saved to the client's computer is for reference only and not used by the game engine to determine the results of actions/events etc.
My program accesses the MMOG client's memory while the game is running, and takes the character information from there. It does not have direct access to the MMOG server, and does not attempt to modify the data or the memory. Instead, it just encrypts it and sends it to our server, where the information is loaded into a database.
The security issue comes into play because our database is used for ranking purposes, and if someone were to hack my program, they could send invalid data to our servers and affect the rankings unfairly.
I'm just trying to think of a way to prevent that from happening.
Maybe you are looking for
-
I know it defeats the purpose of the iCloud, but I would like to have some (if not all) of my iCloud music available on my iPad. I'm not always able to get a wifi signal and it would be nice to have these files actually on my iOS device. Is there a s
-
Time Capsule port mapping is broken for L2TP Servers behind NAT config.
I'm hoping that someone here can refute the below bug assertion... am I missing something? There is a bug with Apple’s Time Capsule/Airport Express Base Station (TC/AEBS) rendering L2TP servers on the LAN unusable: When TC/AEBS is used as a router pr
-
Best way to root out redundant files?
So my photo folder is a complete mess. My database died, and I made the mistake of just reimporting my Pictures folder and iPhoto library. Which it failed after 3-4 attempts. To make a long story short, my hard drive is being eaten up by redundant ph
-
System Freezes While Running Disk Utility?
While I was partitioning my disk, disk utility froze, along with my whole system. So I was forced to reboot. Now my Mac thinks there's an 80 gb chunk of data somewhere (the data that would have been my partition), but I can't find it. How do I regain
-
Siri will not read my messages
Since the last update, Siri no longer recognises that I have a new messages when I ask it to read my messages. It now says "you have no messages". Previously it would read the message back to me and ask for a reply. Any pointers?