RMI Connect Exception
I have a client server application,
1) Server is running on a Linux Suse machine
2) Client is running on a Windows 2000 machine
I had been running this application for some time now, but now i started getting this weird problem.
When i try to run the client i get this exception below:
java.rmi.ConnectException: Connection refused to host: 127.0.0.2;
and im unable to bring up the client.
I'm inclined to doubt that a security policy error, especially on the client side, would given you such a general error. You't get an exception from the security manager instead.
The "connection refused" is pretty much always down to not having a listener running on the port you're trying to connect to.
Pinging uses a lower level of connection than TCP/IP so it doesn't tell you anything about ports being open. All it establishes is that the server's operating system is up and reachable.
On unix you can use netstat to check what ports are being listened to by what tasks, don't know if you can do that on Windows. There's a netstat but I haven't explored the options.
Agreed, it's probably not a problem with the code, it's more likely to be a problem with the scripts that start the server, or nameserver.
Similar Messages
-
Connect Exception trying to connect to rmi registry on a Linux box
I have prepared the Sun tutroial for RMI, implementing the remote method on a Linux box, and a client on the XP box. Try as I may though, the XP client always comes back with a Connect exception indicating it cannot connect to 127.0.0.1. I am though trying to connect to 192.168.0.4
The firewalls on both machines are open on port 1099, and if I connect from the client with telnet to port 1099 on the server something happens, (well the CMD box screen goes blank, and I get a cursor).
I'm struggling here, being both a Java RMI newbie, and likewise for Linux. I have seen suggestions that the hosts files may need modifying on both machines, but I am not sure what I might need to do.
Any guidance would be appreciated. Thanks in anticipation
P.S. I have posted this previously, but it seems to have expired. So, sorry for repitition, but I don't seem to be alone with this kind of problem.I have made some progress if you can call it that. Doing what you (ejp) suggested with regards to the hostname, and the following helped.
Elsewhere on these forums I read of a problem where the rmiregistry was not being invoked by the JDK version. I forced this to happen by using an explicit path, then tested my client.
My client now starts, and does not crash with an exception immediately, instead it runs slowly, and then stops with a NoRouteToHostException, and now it is referncing the correct IP address. I am not sure how to resolve the cause of this exception. Again I have read elsewhere about IPTABLES being the cause of this exception, but I don't know what these are, or how to configure them.
Can someone guide me a bit more please.
Thanks -
RMI connectivity problem (multi-NIC)
I'm developing a simple photo share program with Java RMI.
I connect rmiregistry (192.168.100.3), it returns the object reference, but when I invoke a method I get problems.
My server (remote) - 192.168.100.3 - reply with an address of another NIC - 192.168.62.1 (from VMware). I print out the Proxy object, and I was surprised when I saw 192.167.62.1 address, instead 192.168.100.3. My client is running on 192.168.100.1 address.
Why is this happening?
When I turned off the VMware virtual NICs, I was successful. I want to understand what is going on, and if is there a way to fix this issue.
$ java rmi.Client
Looking...object found!
Proxy[PhotoShare,RemoteObjectInvocationHandler[UnicastRef [liveRef: [endpoint:[192.168.62.1:58343](remote),objID:[4cc5973e:11de2bb065b:-7fff, 4037313925566802436]]]]]
Exception in thread "main" java.rmi.ConnectIOException: Exception creating connection to: 192.168.62.1; nested exception is:
java.net.SocketException: Network is unreachable
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:614)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:110)
at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:178)
at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:132)
at $Proxy0.listaFotos(Unknown Source)
at rmi.Client.main(Client.java:26)
Caused by: java.net.SocketException: Network is unreachable
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at java.net.Socket.<init>(Socket.java:366)
at java.net.Socket.<init>(Socket.java:180)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595)
... 7 moreEdited by: pantony on Nov 28, 2008 3:26 AM
Edited by: pantony on Nov 28, 2008 3:27 AMSee item A.1 of the [RMI FAQ|http://java.sun.com/j2se/1.5.0/docs/guide/rmi/faq.html].
-
Hi there,
I am wondering is there anyway to make a RMI connection in such a manor as to allow the remote methods to be called from anywhere in the application, without re initializing the original connection.
For example say I have a client with the class classmain.java -the main class with the main method and classgui.java and classloginscreen.java
Then a server with the interface class and the main implementation class.
Now in the client main I have
public RemoteServerInterface remote;
then in classmain I make a call to a method setup connection,
the method is as follows
try {
remote = (RemoteServerInterface)Naming.lookup("rmi://127.0.0.1/servername");
catch (RemoteException ee) {
System.out.println("RemoteException: " + ee.getMessage());
ee.printStackTrace();
ok now I make an instance of clientgui from clientmain, and from clientgui i make an instance of classloginscreen. here I want to call for example
remote.test();
But I get a null pointer exception because remote is not defined. If I make a new variable as like the one in clientmain inside classloginscreen hence [public RemoteServerInterface remote; ] and
if I make a method inside classloginscreen which dose the code above, all works fine but I want to have one global connection so once I run classmain after that inside any other class I can just go remote.methodname();. is this possible or do I need to make a connection every time I am inside a different class.
any suggestions would be great.
Thanks
Cuspblue>
any suggestions would be great.1. This has nothing to do with JDBC.
2. Patterns -> Singleton.
3. Don't expose the connection itself. Wrap it in something. -
I am trying to implement an RMI connection and am consistently getting the message:
-java.rmi.UnmarshalException: Return value not found; nested exception is:
-java.lang.ClassNotFoundException
-at sun/rmi/registry/RegistryImpl_Stub.lookup (RegistryImpl_Stub.java:109)
-at java/rmi/Naming.lookup (Naming.java:60)
-at client.main (client.java:9)
client.java:9 is:
-ServerCommands SC = (ServerCommands) Naming.lookup("rmi://localhost:1099/Thing");
also, the server side binding is:
-CommandsImpl acct = new CommandsImpl();
-Naming.rebind("rmi://localhost:1099/Thing", acct);
i dunno if i am braindead or if there is something wrong here... i had read elsewhere about delclaring the registry location, if that makes sense... if that is the case, how do i do this?
Thanks in advance!well, here we are again, talking to myself ;)
anyways, i did take your advice and a updated my code... its a little slopyy, as i didn't really go back over it, but it runs and i get that same error... KoQ (the client) cannot run without the ServerCommands.class file being along side it... even if i copy it to the directory, java doesn't like it... the only way it works is if i run KoQ(client) and the server out of the same directory and they share the ServerCommands.class file... its pointless to have to have them both share that same file, because then the server must be the client as well, both running out of that same directory.... ahhhhhhh!
here we are:
import com.ms.wfc.app.Application;
import java.io.*;
import java.net.*;
import java.rmi.Naming;
import java.util.Properties;
public class KoQ {
public static void main(String args[])
try {
ServerCommands server = (ServerCommands) Naming.lookup("rmi://localhost:1089/KoQ");
Application.run(new KoQLogin());
}//end try
catch (Exception e) {
e.printStackTrace();
Application.run(new KoQDisconnect());
}//end catch
}//end main
}//end KoQ
import java.rmi.Naming;
import java.rmi.server.UnicastRemoteObject;
import java.rmi.RemoteException;
import java.rmi.registry.Registry;
import java.io.*;
public class Server extends UnicastRemoteObject implements ServerCommands {
public Server() throws RemoteException {super();}
public Character Login (String Username, String Password) throws RemoteException {
try {
File f = new File("c:\\KoQ\\Characters\\"+Username);
if (f.exists()) {
FileInputStream fis = new FileInputStream(f);
ObjectInputStream ois = new ObjectInputStream(fis);
Character CHARACTER = (Character) ois.readObject();
if (CHARACTER.vfyLogin(Password)) {
return CHARACTER;
}//end if
else {
return null;
}//end else
} //end if
else {
return null;
} //end else
} //end try
catch (Exception e){
return null;
} //end catch
}//end login
public boolean CreateCharacter(String Username, String Password) throws RemoteException {
Character CHARACTER = new Character(Username, Password);
//Check if character exists
return saveObject(CHARACTER, "c:\\KoQ\\Characters\\"+Username);
public boolean saveObject(Object obj, String dir)
try {
File objSaver = new File(dir);
FileOutputStream fos = new FileOutputStream(objSaver);
ObjectOutputStream oos = new ObjectOutputStream(fos);
oos.writeObject(obj);
System.out.println("OK, file was made...");
return true;
}//end try
catch (Exception e) {
e.printStackTrace();
System.out.println("AHHHHHHH! obj Could not be saved!");
return false;
}//end catch
}//end caveCharacterInfo
public static void main(String args[]) {
try {
Registry r = java.rmi.registry.LocateRegistry.createRegistry(1089);
ServerCommands obj = new Server();
System.out.print("RMI rebinding...");
Naming.rebind("//localhost:1089/KoQ", obj);
System.out.println("complete");
System.out.println("Server ready");
}//end try
catch (Exception e) {
System.out.println("Server: exception:");
e.printStackTrace();
System.out.println("AHHHHHHHHHHHHHHHH!");
}//end catch
}//end main
}//end Server
import java.rmi.Remote;
import java.rmi.RemoteException;
public interface ServerCommands extends Remote {
Character Login (String Username, String Password) throws java.rmi.RemoteException;
boolean CreateCharacter (String Username, String Password) throws java.rmi.RemoteException;
}//end ServerCommands
**************************************again i threw out the useless classes from here (Character.class, etc); does ANYONE have an idea? this has been a problem for days and i really would like to know what it wrong... i am sure it is a problem on my part, and maybe you can see my mistakes?
Thanks... -
RMI-Server "checks" when Client closes RMI-Connection
Hi there!
I hope somebody can help me...
I'm developing a client/server application where my client calls a remote method and my server starts working (i.e. 5-7 minutes batch processing).
Is there a way my server "gets informed", when RMI connection is closed (network failure, client closes)? In this situation the server should perform a rollback, delete generated files, etc.
I don't know if there is thrown a exception inside the server method, which I can catch ....
Any suggestion is welcome ..
Best Regards
AntonThanks a lot, I will have a look at the tutorial.
Initially my thoughts on this issue were:
-) The Client-RMI call is made in an own Thread (There are several things to do before job processing can start on the remote machine).
-) when the RMI call is processed, the thread gets blocked, so doesn't add load to the machine (hope so).
-) RMI does the "alive-checking", when network connection fails the client can mark the job as failed. The called server should also do some rollback. So I do not have to implements callback-listeners to react on server callbacks
-) But I'm worried about open connections, running out of socket resources and that there is no way to abort a endless running job.
This is my first aproach to solve this problem, I would be very glad about any comment ... -
RMI/Unmarshaling exception
Hi,
I tried to run numerous RMI examples off the web, but i still get the same exceptions thrown each time.
I tried running it on WinXP and a 98 m/c but of no avail.
Any help would be appreciated.
Thanks.
For testing purposes I kept all the .java files and java.policy files in the same directory.
After compiling all the .java files [included at the end of this post], i ran
rmic myRMIImpl
rmiregistryand then i tried to run the server but then i get the exception shown below
=========================================
C:\rmi3>java -Djava.rmi.server.codebase=c:\rmi3\ -Djava.rmi.server.hostname=127.
0.0.1 -Djava.security.policy=c:\rmi2\java.policy myRMIServer
Exception occurred: java.rmi.ServerException: RemoteException occurred in server
thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested excep
tion is:
java.net.MalformedURLException: unknown protocol: c
java.rmi.ServerException: RemoteException occurred in server thread; nested exce
ption is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested excep
tion is:
java.net.MalformedURLException: unknown protocol: c
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.net.MalformedURLException: unknown protocol: c
java.net.MalformedURLException: unknown protocol: c
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknow
n Source)
at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
at java.rmi.Naming.bind(Unknown Source)
at myRMIImpl.<init>(myRMIImpl.java:11)
at myRMIServer.main(myRMIServer.java:11)
=========================================
rmic myRMIImpl
rmiregistry
=========================================
public interface myRMIInterface extends java.rmi.Remote
public java.util.Date getDate() throws java.rmi.RemoteException;
=========================================
import java.rmi.*;
import java.rmi.server.UnicastRemoteObject;
public class myRMIImpl extends UnicastRemoteObject implements myRMIInterface
public myRMIImpl(String name) throws RemoteException
super();
try
Naming.bind(name, this);
catch(Exception e)
System.out.println("Exception occurred: " + e);
public java.util.Date getDate()
return new java.util.Date();
=======================================
import java.rmi.*;
import java.rmi.server.UnicastRemoteObject;
public class myRMIServer
public static void main(String[] argv)
System.setSecurityManager(new RMISecurityManager());
try
myRMIImpl implementation = new myRMIImpl("myRMIImpl instance");
catch (Exception e)
System.out.println("Exception occurred: " + e);
=======================================
import java.rmi.*;
import java.rmi.registry.*;
import java.rmi.server.*;
import java.util.Date;
public class myRMIClient
public static void main(String[] argv)
System.setSecurityManager(new RMISecurityManager());
if (argv.length != 1)
System.out.println("usage: java myRMIClient <IP address of host running RMI server>");
System.exit(0);
String serverName = argv[0];
try
//bind server object to object in client
myRMIInterface myServerObject = (myRMIInterface) Naming.lookup("rmi://"+serverName+"/myRMIImpl instance");
//invoke method on server object
Date d = myServerObject.getDate();
System.out.println("Date on server is " + d);
catch(Exception e)
System.out.println("Exception occured: " + e);
System.exit(0);
System.out.println("RMI connection successful");Looks like if is trying to understand you URL given as the codebase and failing to do so. You specify the protocol to be used to retrieve the URL in the beginning of the URL string. For a http protocol is is http://URL, for rmi it is rmi://URL and in this case im not sure how a file URL should be written but it should be something like file://URL. Check this site for correct syntax or somewhere on the net. Anyway after you get if right, you should try it with something like
"-Djava.rmi.server.codebase=file://c:\rmi3\"
or something in those lines. That is what the exception is about anyways.
-teka -
Help!!getting Connection Exception &permission denied for my local system
Hi,
I am getting this connect Exception when i am running my RMI program.It is not comming when i am running all the programs[server,client] in my local system.
When i put the server program in the server which is linux server and i am calling it from my local system its giving ConnectException permission denied to 127.0.0.1,no more further infoemation.
These are the programs..
server :
import java.net.*;
import java.rmi.*;
public class AddServer
public static void main(String args[])
try
AddServerImpl addServerImpl=new AddServerImpl();
Naming.rebind("AddServer",addServerImpl);
catch(Exception e)
System.out.println("Exception :"+e);
Implement:
import java.rmi.*;
import java.rmi.server.*;
public class AddServerImpl extends UnicastRemoteObject
implements AddServerIntf
public AddServerImpl()throws RemoteException
public double add(double d1,double d2)throws RemoteException
return d1+d2;
Interface:
import java.rmi.*;
public interface AddServerIntf extends Remote
double add(double d1,double d2)throws RemoteException;
Client Program :
import java.rmi.*;
import java.rmi.registry.*;
public class AddClient
public static void main(String args[])
try
// String addServerURL="rmi://"+args[0]+"/AddServer";
Registry r=LocateRegistry.getRegistry("rmi://"+args[0]);
//AddServerIntf addServerIntf=(AddServerIntf)Naming.lookup(addServerURL);
AddServerIntf addServerIntf=(AddServerIntf)r.lookup("AddServer");
System.out.println("The firsrt number is"+args[1]);
double d1 =Double.valueOf(args[1]).doubleValue();
System.out.println("The second number is:"+args[2]);
double d2=Double.valueOf(args[2]).doubleValue();
System.out.println("The sum is:"+addServerIntf.add(d1,d2));
catch(Exception e){
System.out.println("Exception:"+e);
Plese go thru it and tell what modifications that i have to do with it...
regards,
j.mouliYou can specify a policy file and grant the following pemission in it:
grant {
permission java.net.SocketPermission "*:1024-65535","accept, connect, listen, resolve";
Specify this policy file using "-Djava.security.policy=your policy file".
BTW, don't forget to run rmiregistry before you launch your own RMI application.
Good luck!
Justine -
Java.rmi.MarshalException: Exception
hi,
i am getting the below error while displaying the data from a servlet. Here in servlet i had written the code to store values. And then i had written a function "getDetails()" which will give result set object. At that time i am getting this error. This method code is in bena class.
In servlet this is the code i had wriiten
InitialContext initContext=new InitialContext();
home=(InsuranceHome)initContext.lookup(ejbJndiName);
remote=home.create();
int n=remote.insertDetails(cname,frm_date,to_date,type,ppaid,rmks);
ResultSet rs=remote.getResults();
while(rs.next())
System.out.print(rs.getString(1));
System.out.print(rs.getString(2));
System.out.print(rs.getString(3));
System.out.println(rs.getString(4));
System.out.println(n);
[10/Apr/2008:11:34:06] INFO ( 3108): CORE3282: stdout: java.rmi.MarshalException: Exception occurred in server thread; nested exception is:
[10/Apr/2008:11:34:06] INFO ( 3108): CORE3282: stdout: java.io.NotSerializableExceptionthe NEVER used here, is it an EJB specification issue or design issue. If EJB specification issue then you should be right of which i am not sure. Please quote reference.
If design issue then NEVER is wrong. Its depends on task to be addressed. Data Transfer Pattern allows the use of Rowset to exchange data between clients and servers.These options are either DTOs, containers, RowSets all are serializabel.How will you managed bandwidth and memory issues in a critical application where by clients needs to get a copy of data store in their memory(delete,update, insert) and after finished with their task they simply click synchronized.
this copy(rowset) in client is simply sent to sever for updates rather than doing update, insert, delete request to server for every operation.
This is a pattern design issue and the choice of Data Transfer Object depends on the task and type of communication between clients and server.
A RowSet in the situation whereby 1. number of request to server has to be reduced, 2. connection to server has to be minimal. 3. each client gets a copy of his data as a snapshot of server contents processed it an then do synchronization when needed(bulk).Also this is issued when memory of client is a big issue like mobiles so installing a DB on the mobile is not possible. The rowset sent to client must not hold a connection to DB.
Ivo Sumelong -
The strangest RMI connection error
Hi all,
i have a client server application that uses RMI. The server has the following network configuration. It has 2 network interfaces.
hostname iface IP netmask
====================================
sakura e1000g0 203.126.56.80 255.255.255.224
nc_apps5 e1000g1 10.224.100.18 255.255.0.0
when the server application listens on 203.126.56.80 iface, the client
has no problem establishing RMI connection from 10.224.10.122 netmask 255.255.0.0
via a static route with a route in between.
However when I switched the server over to 10.224.100.18, and connects from the same client ( no configuration change) , i get the error
[Wed Oct 11 14:38:53 SGT 2006 darkstar] ERROR calling: NetworkTestClient.performTest() called: Naming.lookup() args: rmi://nc_apps5.ncc.shs.com.sg:10000/RMITest
java.rmi.ConnectException: Connection refused to host: 10.224.10.122; nested exception is:
java.net.ConnectException: Connection refused
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
If anything the second scenario should work, because both the server and the client are in the subnet i.e 10.224.x.x. but it turns to be the opposite. Can anyone
tell me what gives over here.
Many Thanks in advance
Henley from Singapore. National Cancer Center.Thanks for pointing that out. its not a mistake. I do not have access to the source of the application. However I am wondering why is the client trying to connect back to itself in the second scenario when its supposed to be connecting to 10.224.100.18. ip of the server.
Its very strange because the connection was apparently successful when
the the client tries to connect to 203.126.56.80. instead of 10.224.100.18 i.e no error.
is there anycode in the RMI that says, if server is in the same ip as me, try connecting to myself first ?
once again thanks in advance. -
Closed Connection exceptions every day with WL813 SP3 and 10g
Every day we get closed connection exceptions (which I think in turn leads to Heuristic Hazard exceptions), the first time we run the tests after restarting Weblogic and database.
I tried various WL parameters so far but not with much luck. The parameters I tried include setting "Test Reserved Connections", "Test Created Connections", "Test Released Connections", "Connection Creation Retry Frequency", disabling "Allow Shrinking" etc.
I tried weblogic support but so far not much progress. Any help is greatly appreciated. Following are the log traces.
Server.log Fragment:
####<Mar 23, 2005 12:06:30 AM UTC> <Error> <JDBC> <m184.dev.opsware.com> <twist> <ExecuteThread: '26' for queue: 'default'> <<anonymous>> <> <BEA-001112> <Test "select count(*) from dual" set up for pool "TruthPool" failed with exception: "java.sql.SQLException: Closed Connection".>
####<Mar 23, 2005 12:06:30 AM UTC> <Info> <JDBC> <m184.dev.opsware.com> <twist> <ExecuteThread: '26' for queue: 'default'> <<anonymous>> <> <BEA-001128> <Connection for pool "TruthPool" closed.>
####<Mar 23, 2005 12:06:31 AM UTC> <Info> <JDBC> <m184.dev.opsware.com> <twist> <ExecuteThread: '26' for queue: 'default'> <<anonymous>> <> <BEA-001067> <Connection for pool "TruthPool" refreshed.>
####<Mar 23, 2005 12:06:31 AM UTC> <Error> <JTA> <m184.dev.opsware.com> <twist> <ExecuteThread: '26' for queue: 'default'> <<anonymous>> <BEA1-1B44D3A1A2E1DF26344B> <BEA-110412> <Name=[EJB com.opsware.list.PaginatedListBean.getList(int,int)],Xid=BEA1-1B44D3A1A2E1DF26344B(6341523),Status=Committed,HeuristicErrorCode=XA_HEURHAZ,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=2,seconds left=119,activeThread=Thread[ExecuteThread: '26' for queue: 'default',5,Thread Group for Queue: 'default'],XAServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(ServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(state=committed,assigned=twist),xar=weblogic.jdbc.wrapper.JTSXAResourceImpl@c806dc,re-Registered = false),SCInfo[twist_domain+twist]=(state=committed),properties=({weblogic.transaction.name=[EJB com.opsware.list.PaginatedListBean.getList(int,int)], weblogic.jdbc=t3://192.168.198.5:1026}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=twist+192.168.198.5:1026+twist_domain+t3+, XAResources={},NonXAResources={})],CoordinatorURL=twist+192.168.198.5:1026+twist_domain+t3+) completed heuristically: (weblogic.jdbc.wrapper.JTSXAResourceImpl, HeuristicHazard, (javax.transaction.xa.XAException: Closed Connection)) >
####<Mar 23, 2005 12:06:31 AM UTC> <Error> <EJB> <m184.dev.opsware.com> <twist> <ExecuteThread: '26' for queue: 'default'> <<anonymous>> <> <BEA-010026> <Exception occurred during commit of transaction Name=[EJB com.opsware.list.PaginatedListBean.getList(int,int)],Xid=BEA1-1B44D3A1A2E1DF26344B(6341523),Status=Committed,HeuristicErrorCode=XA_HEURHAZ,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=2,seconds left=119,XAServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(ServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(state=committed,assigned=twist),xar=weblogic.jdbc.wrapper.JTSXAResourceImpl@c806dc,re-Registered = false),SCInfo[twist_domain+twist]=(state=committed),properties=({weblogic.transaction.name=[EJB com.opsware.list.PaginatedListBean.getList(int,int)], weblogic.jdbc=t3://192.168.198.5:1026}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=twist+192.168.198.5:1026+twist_domain+t3+, XAResources={},NonXAResources={})],CoordinatorURL=twist+192.168.198.5:1026+twist_domain+t3+): javax.transaction.HeuristicMixedException: (weblogic.jdbc.wrapper.JTSXAResourceImpl, HeuristicHazard, (javax.transaction.xa.XAException: Closed Connection))
at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:294)
at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:244)
at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:299)
at com.opsware.list.PaginatedList_mywl9s_EOImpl.getList(PaginatedList_mywl9s_EOImpl.java:110)
at com.opsware.list.PaginatedList_mywl9s_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:90)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
.>
JDBC Log:
JDBC log stream started at Tue Mar 22 22:44:30 UTC 2005
DriverManager.initialize: jdbc.drivers = null
JDBC DriverManager initialized
registerDriver: driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@29a046]
DriverManager.getDriver("jdbc:oracle:oci:@")
trying driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@29a046]
getDriver returning driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@29a046]
registerDriver: driver[className=weblogic.jdbc.jts.Driver,weblogic.jdbc.jts.Driver@1c68b20]
registerDriver: driver[className=weblogic.jdbc.pool.Driver,weblogic.jdbc.pool.Driver@f0b51d]
SQLException: SQLState(23000) vendor code(1)
java.sql.SQLException: ORA-00001: unique constraint (TRUTH.TMP$ACCT_ID_PK) violated
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:630)
at oracle.jdbc.driver.T2CPreparedStatement.execute_for_describe(T2CPreparedStatement.java:851)
at oracle.jdbc.driver.T2CPreparedStatement.execute_for_rows(T2CPreparedStatement.java:1012)
at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:8661)
at weblogic.jdbc.wrapper.PreparedStatement.executeBatch(PreparedStatement.java:137)
at com.opsware.utils.SQLHelper.setFilterIds(SQLHelper.java:90)
at com.opsware.utils.SQLHelper.setFilterAcctIds(SQLHelper.java:45)
at com.opsware.list.impl.device.DeviceBaseList.getQuery(DeviceBaseList.java:178)
at com.opsware.list.impl.device.DeviceBaseList.getIds(DeviceBaseList.java:50)
at com.opsware.list.impl.device.DeviceServerGroupViewList.getDeviceIds(DeviceServerGroupViewList.java:145)
at com.opsware.list.impl.device.DeviceServerGroupViewList.getIds(DeviceServerGroupViewList.java:47)
at com.opsware.list.PaginatedListBean.init(PaginatedListBean.java:77)
at com.opsware.list.PaginatedListBean.getSize(PaginatedListBean.java:216)
at com.opsware.list.PaginatedList_mywl9s_EOImpl.getSize(PaginatedList_mywl9s_EOImpl.java:154)
at com.opsware.list.PaginatedList_mywl9s_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:90)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
SQLException: SQLState(23000) vendor code(1)
java.sql.BatchUpdateException: ORA-00001: unique constraint (TRUTH.TMP$ACCT_ID_PK) violated
at oracle.jdbc.driver.DatabaseError.throwBatchUpdateException(DatabaseError.java:367)
at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:8726)
at weblogic.jdbc.wrapper.PreparedStatement.executeBatch(PreparedStatement.java:137)
at com.opsware.utils.SQLHelper.setFilterIds(SQLHelper.java:90)
at com.opsware.utils.SQLHelper.setFilterAcctIds(SQLHelper.java:45)
at com.opsware.list.impl.device.DeviceBaseList.getQuery(DeviceBaseList.java:178)
at com.opsware.list.impl.device.DeviceBaseList.getIds(DeviceBaseList.java:50)
at com.opsware.list.impl.device.DeviceServerGroupViewList.getDeviceIds(DeviceServerGroupViewList.java:145)
at com.opsware.list.impl.device.DeviceServerGroupViewList.getIds(DeviceServerGroupViewList.java:47)
at com.opsware.list.PaginatedListBean.init(PaginatedListBean.java:77)
at com.opsware.list.PaginatedListBean.getSize(PaginatedListBean.java:216)
at com.opsware.list.PaginatedList_mywl9s_EOImpl.getSize(PaginatedList_mywl9s_EOImpl.java:154)
at com.opsware.list.PaginatedList_mywl9s_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:90)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
SQLException: SQLState(23000) vendor code(1)
java.sql.SQLException: ORA-00001: unique constraint (TRUTH.TMP$DATA_CENTER_ID_PK) violated
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:630)
at oracle.jdbc.driver.T2CPreparedStatement.execute_for_describe(T2CPreparedStatement.java:851)
at oracle.jdbc.driver.T2CPreparedStatement.execute_for_rows(T2CPreparedStatement.java:1012)
at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:8661)
at weblogic.jdbc.wrapper.PreparedStatement.executeBatch(PreparedStatement.java:137)
at com.opsware.utils.SQLHelper.setFilterIds(SQLHelper.java:90)
at com.opsware.utils.SQLHelper.setFilterDcIds(SQLHelper.java:36)
at com.opsware.list.impl.device.DeviceBaseList.getQuery(DeviceBaseList.java:196)
at com.opsware.list.impl.device.DeviceBaseList.getIds(DeviceBaseList.java:50)
at com.opsware.list.impl.device.DeviceServerGroupViewList.getDeviceIds(DeviceServerGroupViewList.java:145)
at com.opsware.list.impl.device.DeviceServerGroupViewList.getIds(DeviceServerGroupViewList.java:47)
at com.opsware.list.PaginatedListBean.init(PaginatedListBean.java:77)
at com.opsware.list.PaginatedListBean.getSize(PaginatedListBean.java:216)
at com.opsware.list.PaginatedList_mywl9s_EOImpl.getSize(PaginatedList_mywl9s_EOImpl.java:154)
at com.opsware.list.PaginatedList_mywl9s_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:90)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
SQLException: SQLState(23000) vendor code(1)
java.sql.BatchUpdateException: ORA-00001: unique constraint (TRUTH.TMP$DATA_CENTER_ID_PK) violated
at oracle.jdbc.driver.DatabaseError.throwBatchUpdateException(DatabaseError.java:367)
at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:8726)
at weblogic.jdbc.wrapper.PreparedStatement.executeBatch(PreparedStatement.java:137)
at com.opsware.utils.SQLHelper.setFilterIds(SQLHelper.java:90)
at com.opsware.utils.SQLHelper.setFilterDcIds(SQLHelper.java:36)
at com.opsware.list.impl.device.DeviceBaseList.getQuery(DeviceBaseList.java:196)
at com.opsware.list.impl.device.DeviceBaseList.getIds(DeviceBaseList.java:50)
at com.opsware.list.impl.device.DeviceServerGroupViewList.getDeviceIds(DeviceServerGroupViewList.java:145)
at com.opsware.list.impl.device.DeviceServerGroupViewList.getIds(DeviceServerGroupViewList.java:47)
at com.opsware.list.PaginatedListBean.init(PaginatedListBean.java:77)
at com.opsware.list.PaginatedListBean.getSize(PaginatedListBean.java:216)
at com.opsware.list.PaginatedList_mywl9s_EOImpl.getSize(PaginatedList_mywl9s_EOImpl.java:154)
at com.opsware.list.PaginatedList_mywl9s_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:90)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
SQLException: SQLState(42000) vendor code(936)
java.sql.SQLException: ORA-00936: missing expression
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:630)
at oracle.jdbc.driver.T2CStatement.execute_for_describe(T2CStatement.java:841)
at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:894)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:984)
at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1124)
at weblogic.jdbc.wrapper.Statement.executeQuery(Statement.java:345)
at com.opsware.impl.servergroup.ServerGroupSQL.refreshLocalCoreMemberships(ServerGroupSQL.java:897)
at com.opsware.ejb.session.ServerGroupFacadeBean.refreshMembershipsInLocalCore(ServerGroupFacadeBean.java:497)
at com.opsware._gen.sejb.ejb.session._ServerGroupFacadeBean._opsw__refreshMembershipsInLocalCore(_ServerGroupFacadeBean.java:10715)
at com.opsware._gen.sejb.ejb.session.ServerGroupFacade_686jy5_EOImpl._opsw__refreshMembershipsInLocalCore(ServerGroupFacade_686jy5_EOImpl.java:8902)
at com.opsware._gen.client.ejb.session._ServerGroupFacadeStub._opsw__refreshMembershipsInLocalCore(_ServerGroupFacadeStub.java:5096)
at com.opsware._gen.client.ejb.session._ServerGroupFacadeStub.refreshMembershipsInLocalCore(_ServerGroupFacadeStub.java:5091)
at com.opsware.impl.groupevent.Recalc.performFullRecalc(Recalc.java:204)
at com.opsware.impl.groupevent.Recalc$1.run(Recalc.java:573)
at java.lang.Thread.run(Thread.java:534)
SQLException: SQLState(60000) vendor code(600)
java.sql.SQLException: ORA-00600: internal error code, arguments: [kpofdr-long], [], [], [], [], [], [], []
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:630)
at oracle.jdbc.driver.T2CPreparedStatement.doDefineExecuteFetch(T2CPreparedStatement.java:1135)
at oracle.jdbc.driver.T2CPreparedStatement.execute_for_rows(T2CPreparedStatement.java:1010)
at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:913)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:984)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2885)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:2926)
at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:92)
at com.opsware.ejb.DeviceRoleConfig_bbuo9g__WebLogic_CMP_RDBMS.ejbFindByDvcRoleAndKey(DeviceRoleConfig_bbuo9g__WebLogic_CMP_RDBMS.java:652)
at sun.reflect.GeneratedMethodAccessor169.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.scalarFinder(RDBMSPersistenceManager.java:294)
at weblogic.ejb20.manager.BaseEntityManager.scalarFinder(BaseEntityManager.java:1662)
at weblogic.ejb20.manager.BaseEntityManager.localScalarFinder(BaseEntityManager.java:1611)
at weblogic.ejb20.internal.EntityEJBLocalHome.finder(EntityEJBLocalHome.java:462)
at com.opsware.ejb.DeviceRoleConfig_bbuo9g_LocalHomeImpl.findByDvcRoleAndKey(DeviceRoleConfig_bbuo9g_LocalHomeImpl.java:132)
at com.opsware.impl.device.DeviceUtil.getAttributeNL(DeviceUtil.java:224)
at com.opsware.impl.device.DeviceUtil.getLockUser(DeviceUtil.java:308)
at com.opsware.vo.DeviceBaseVO.<init>(DeviceBaseVO.java:42)
at com.opsware.vo.DeviceSWVO.<init>(DeviceSWVO.java:21)
at com.opsware.list.impl.device.DeviceServerGroupViewList.getList(DeviceServerGroupViewList.java:173)
at com.opsware.list.PaginatedListBean.getSubList(PaginatedListBean.java:173)
at com.opsware.list.PaginatedListBean.getList(PaginatedListBean.java:124)
at com.opsware.list.PaginatedList_mywl9s_EOImpl.getList(PaginatedList_mywl9s_EOImpl.java:100)
at com.opsware.list.PaginatedList_mywl9s_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:90)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
SQLException: SQLState(null) vendor code(17008)
java.sql.SQLException: Closed Connection
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227)
at oracle.jdbc.driver.PhysicalConnection.prepareStatement(PhysicalConnection.java:698)
at oracle.jdbc.driver.PhysicalConnection.prepareStatement(PhysicalConnection.java:615)
at weblogic.jdbc.common.internal.ConnectionEnv.makeStatement(ConnectionEnv.java:1133)
at weblogic.jdbc.common.internal.ConnectionEnv.getCachedStatement(ConnectionEnv.java:966)
at weblogic.jdbc.wrapper.PreparedStatement.reCreateStatement(PreparedStatement.java:48)
at weblogic.jdbc.wrapper.Statement.checkStatement(Statement.java:237)
at weblogic.jdbc.wrapper.Statement.close(Statement.java:300)
at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.releaseStatement(RDBMSPersistenceManager.java:3419)
at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.releaseResources(RDBMSPersistenceManager.java:3300)
at com.opsware.ejb.DeviceRoleConfig_bbuo9g__WebLogic_CMP_RDBMS.ejbFindByDvcRoleAndKey(DeviceRoleConfig_bbuo9g__WebLogic_CMP_RDBMS.java:703)
at sun.reflect.GeneratedMethodAccessor169.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.scalarFinder(RDBMSPersistenceManager.java:294)
at weblogic.ejb20.manager.BaseEntityManager.scalarFinder(BaseEntityManager.java:1662)
at weblogic.ejb20.manager.BaseEntityManager.localScalarFinder(BaseEntityManager.java:1611)
at weblogic.ejb20.internal.EntityEJBLocalHome.finder(EntityEJBLocalHome.java:462)
at com.opsware.ejb.DeviceRoleConfig_bbuo9g_LocalHomeImpl.findByDvcRoleAndKey(DeviceRoleConfig_bbuo9g_LocalHomeImpl.java:132)
at com.opsware.impl.device.DeviceUtil.getAttributeNL(DeviceUtil.java:224)
at com.opsware.impl.device.DeviceUtil.getLockUser(DeviceUtil.java:308)
at com.opsware.vo.DeviceBaseVO.<init>(DeviceBaseVO.java:42)
at com.opsware.vo.DeviceSWVO.<init>(DeviceSWVO.java:21)
at com.opsware.list.impl.device.DeviceServerGroupViewList.getList(DeviceServerGroupViewList.java:173)
at com.opsware.list.PaginatedListBean.getSubList(PaginatedListBean.java:173)
at com.opsware.list.PaginatedListBean.getList(PaginatedListBean.java:124)
at com.opsware.list.PaginatedList_mywl9s_EOImpl.getList(PaginatedList_mywl9s_EOImpl.java:100)
at com.opsware.list.PaginatedList_mywl9s_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:90)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
SQLException: SQLState(null) vendor code(17008)
java.sql.SQLException: Closed Connection
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227)
at oracle.jdbc.driver.PhysicalConnection.prepareStatement(PhysicalConnection.java:698)
at oracle.jdbc.driver.PhysicalConnection.prepareStatement(PhysicalConnection.java:615)
at weblogic.jdbc.common.internal.ConnectionEnv.makeStatement(ConnectionEnv.java:1133)
at weblogic.jdbc.common.internal.ConnectionEnv.getCachedStatement(ConnectionEnv.java:966)
at weblogic.jdbc.common.internal.ConnectionEnv.getCachedStatement(ConnectionEnv.java:905)
at weblogic.jdbc.wrapper.Connection.prepareStatement(Connection.java:350)
at weblogic.jdbc.wrapper.JTSConnection.prepareStatement(JTSConnection.java:479)
at com.opsware.ejb.DeviceRoleConfig_bbuo9g__WebLogic_CMP_RDBMS.ejbFindByDvcRoleAndKey(DeviceRoleConfig_bbuo9g__WebLogic_CMP_RDBMS.java:632)
at sun.reflect.GeneratedMethodAccessor169.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.scalarFinder(RDBMSPersistenceManager.java:294)
at weblogic.ejb20.manager.BaseEntityManager.scalarFinder(BaseEntityManager.java:1662)
at weblogic.ejb20.manager.BaseEntityManager.localScalarFinder(BaseEntityManager.java:1611)
at weblogic.ejb20.internal.EntityEJBLocalHome.finder(EntityEJBLocalHome.java:462)
at com.opsware.ejb.DeviceRoleConfig_bbuo9g_LocalHomeImpl.findByDvcRoleAndKey(DeviceRoleConfig_bbuo9g_LocalHomeImpl.java:132)
at com.opsware.impl.device.DeviceUtil.getAttributeNL(DeviceUtil.java:224)
at com.opsware.impl.device.DeviceUtil.getLockComment(DeviceUtil.java:316)
at com.opsware.vo.DeviceBaseVO.<init>(DeviceBaseVO.java:43)
at com.opsware.vo.DeviceSWVO.<init>(DeviceSWVO.java:21)
at com.opsware.list.impl.device.DeviceServerGroupViewList.getList(DeviceServerGroupViewList.java:173)
at com.opsware.list.PaginatedListBean.getSubList(PaginatedListBean.java:173)
at com.opsware.list.PaginatedListBean.getList(PaginatedListBean.java:124)
at com.opsware.list.PaginatedList_mywl9s_EOImpl.getList(PaginatedList_mywl9s_EOImpl.java:100)
at com.opsware.list.PaginatedList_mywl9s_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:90)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
SQLException: SQLState(null) vendor code(17008)
java.sql.SQLException: Closed Connection
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227)
at oracle.jdbc.driver.PhysicalConnection.prepareStatement(PhysicalConnection.java:698)
at oracle.jdbc.driver.PhysicalConnection.prepareStatement(PhysicalConnection.java:615)
at weblogic.jdbc.common.internal.ConnectionEnv.makeStatement(ConnectionEnv.java:1133)
at weblogic.jdbc.common.internal.ConnectionEnv.getCachedStatement(ConnectionEnv.java:966)
at weblogic.jdbc.common.internal.ConnectionEnv.getCachedStatement(ConnectionEnv.java:905)
at weblogic.jdbc.wrapper.Connection.prepareStatement(Connection.java:350)
at weblogic.jdbc.wrapper.JTSConnection.prepareStatement(JTSConnection.java:479)
at com.opsware.ejb.RoleClassWads_opugk0__WebLogic_CMP_RDBMS.ejbFindByRoleClasses_nx2si8__WebLogic_CMP_RDBMS_roleClassWads__WL_(RoleClassWads_opugk0__WebLogic_CMP_RDBMS.java:1510)
at sun.reflect.GeneratedMethodAccessor256.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.collectionFinder(RDBMSPersistenceManager.java:378)
at weblogic.ejb20.manager.BaseEntityManager.wrapperSetFinder(BaseEntityManager.java:1888)
at weblogic.ejb20.manager.BaseEntityManager.localWrapperSetFinder(BaseEntityManager.java:1859)
at com.opsware.ejb.RoleClasses_nx2si8__WebLogic_CMP_RDBMS_roleClassWads_Set.populateCache(RoleClasses_nx2si8__WebLogic_CMP_RDBMS_roleClassWads_Set.java:111)
at com.opsware.ejb.RoleClasses_nx2si8__WebLogic_CMP_RDBMS_roleClassWads_Set.iterator(RoleClasses_nx2si8__WebLogic_CMP_RDBMS_roleClassWads_Set.java:177)
at com.opsware.vo.DeviceSWVO.<init>(DeviceSWVO.java:35)
at com.opsware.list.impl.device.DeviceServerGroupViewList.getList(DeviceServerGroupViewList.java:173)
at com.opsware.list.PaginatedListBean.getSubList(PaginatedListBean.java:173)
at com.opsware.list.PaginatedListBean.getList(PaginatedListBean.java:124)
at com.opsware.list.PaginatedList_mywl9s_EOImpl.getList(PaginatedList_mywl9s_EOImpl.java:100)
at com.opsware.list.PaginatedList_mywl9s_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:90)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
SQLException: SQLState(null) vendor code(17008)
java.sql.SQLException: Closed Connection
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227)
at oracle.jdbc.driver.PhysicalConnection.commit(PhysicalConnection.java:964)
at weblogic.jdbc.wrapper.JTSConnection.internalCommit(JTSConnection.java:404)
at weblogic.jdbc.wrapper.JTSXAResourceImpl.commit(JTSXAResourceImpl.java:56)
at weblogic.transaction.internal.XAServerResourceInfo.commit(XAServerResourceInfo.java:1251)
at weblogic.transaction.internal.XAServerResourceInfo.commit(XAServerResourceInfo.java:482)
at weblogic.transaction.internal.ServerSCInfo.startCommit(ServerSCInfo.java:421)
at weblogic.transaction.internal.ServerTransactionImpl.localCommit(ServerTransactionImpl.java:1803)
at weblogic.transaction.internal.ServerTransactionImpl.globalRetryCommit(ServerTransactionImpl.java:2434)
at weblogic.transaction.internal.ServerTransactionImpl.globalCommit(ServerTransactionImpl.java:2365)
at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:278)
at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:244)
at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:299)
at com.opsware.list.PaginatedList_mywl9s_EOImpl.getList(PaginatedList_mywl9s_EOImpl.java:110)
at com.opsware.list.PaginatedList_mywl9s_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:90)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
SQLException: SQLState(null) vendor code(17008)
java.sql.SQLException: Closed ConnectionDurga Gokina wrote:
Every day we get closed connection exceptions (which I think in turn leads to Heuristic Hazard exceptions), the first time we run the tests after restarting Weblogic and database.
I tried various WL parameters so far but not with much luck. The parameters I tried include setting "Test Reserved Connections", "Test Created Connections", "Test Released Connections", "Connection Creation Retry Frequency", disabling "Allow Shrinking" etc.
I tried weblogic support but so far not much progress. Any help is greatly appreciated. Following are the log traces.
Server.log Fragment:Hi. The jdbc log shows that some native code error is killing your type-2 JDBC connection,
and depending on what C bug it is, it could corrupt any other native connection or code.
I highly recommend you switch to a type-4 driver.
Joe
####<Mar 23, 2005 12:06:30 AM UTC> <Error> <JDBC> <m184.dev.opsware.com> <twist> <ExecuteThread: '26' for queue: 'default'> <<anonymous>> <> <BEA-001112> <Test "select count(*) from dual" set up for pool "TruthPool" failed with exception: "java.sql.SQLException: Closed Connection".>
####<Mar 23, 2005 12:06:30 AM UTC> <Info> <JDBC> <m184.dev.opsware.com> <twist> <ExecuteThread: '26' for queue: 'default'> <<anonymous>> <> <BEA-001128> <Connection for pool "TruthPool" closed.>
####<Mar 23, 2005 12:06:31 AM UTC> <Info> <JDBC> <m184.dev.opsware.com> <twist> <ExecuteThread: '26' for queue: 'default'> <<anonymous>> <> <BEA-001067> <Connection for pool "TruthPool" refreshed.>
####<Mar 23, 2005 12:06:31 AM UTC> <Error> <JTA> <m184.dev.opsware.com> <twist> <ExecuteThread: '26' for queue: 'default'> <<anonymous>> <BEA1-1B44D3A1A2E1DF26344B> <BEA-110412> <Name=[EJB com.opsware.list.PaginatedListBean.getList(int,int)],Xid=BEA1-1B44D3A1A2E1DF26344B(6341523),Status=Committed,HeuristicErrorCode=XA_HEURHAZ,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=2,seconds left=119,activeThread=Thread[ExecuteThread: '26' for queue: 'default',5,Thread Group for Queue: 'default'],XAS
erverResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(ServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(state=committed,assigned=twist),xar=weblogic.jdbc.wrapper.JTSXAResourceImpl@c806dc,re-Registered = false),SCInfo[twist_domain+twist]=(state=committed),properties=({weblogic.transaction.name=[EJB com.opsware.list.PaginatedListBean.getList(int,int)], weblogic.jdbc=t3://192.168.198.5:1026}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=twist+192.168.198.5:102
6+twist_domain+t3+, XAResources={},NonXAResources={})],CoordinatorURL=twist+192.168.198.5:1026+twist_domain+t3+) completed heuristically: (weblogic.jdbc.wrapper.JTSXAResourceImpl, HeuristicHazard, (javax.transaction.xa.XAException: Closed Connection)) >
####<Mar 23, 2005 12:06:31 AM UTC> <Error> <EJB> <m184.dev.opsware.com> <twist> <ExecuteThread: '26' for queue: 'default'> <<anonymous>> <> <BEA-010026> <Exception occurred during commit of transaction Name=[EJB com.opsware.list.PaginatedListBean.getList(int,int)],Xid=BEA1-1B44D3A1A2E1DF26344B(6341523),Status=Committed,HeuristicErrorCode=XA_HEURHAZ,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=2,seconds left=119,XAServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(ServerResourceI
nfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(state=committed,assigned=twist),xar=weblogic.jdbc.wrapper.JTSXAResourceImpl@c806dc,re-Registered = false),SCInfo[twist_domain+twist]=(state=committed),properties=({weblogic.transaction.name=[EJB com.opsware.list.PaginatedListBean.getList(int,int)], weblogic.jdbc=t3://192.168.198.5:1026}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=twist+192.168.198.5:1026+twist_domain+t3+, XAResources={},NonXAResources={})],CoordinatorURL=twist
+192.168.198.5:1026+twist_domain+t3+): javax.transaction.HeuristicMixedException: (weblogic.jdbc.wrapper.JTSXAResourceImpl, HeuristicHazard, (javax.transaction.xa.XAException: Closed Connection))
at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:294)
at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:244)
at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:299)
at com.opsware.list.PaginatedList_mywl9s_EOImpl.getList(PaginatedList_mywl9s_EOImpl.java:110)
at com.opsware.list.PaginatedList_mywl9s_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:90)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
.>
JDBC Log:
JDBC log stream started at Tue Mar 22 22:44:30 UTC 2005
DriverManager.initialize: jdbc.drivers = null
JDBC DriverManager initialized
registerDriver: driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@29a046]
DriverManager.getDriver("jdbc:oracle:oci:@")
trying driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@29a046]
getDriver returning driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@29a046]
registerDriver: driver[className=weblogic.jdbc.jts.Driver,weblogic.jdbc.jts.Driver@1c68b20]
registerDriver: driver[className=weblogic.jdbc.pool.Driver,weblogic.jdbc.pool.Driver@f0b51d]
SQLException: SQLState(23000) vendor code(1)
java.sql.SQLException: ORA-00001: unique constraint (TRUTH.TMP$ACCT_ID_PK) violated
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:630)
at oracle.jdbc.driver.T2CPreparedStatement.execute_for_describe(T2CPreparedStatement.java:851)
at oracle.jdbc.driver.T2CPreparedStatement.execute_for_rows(T2CPreparedStatement.java:1012)
at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:8661)
at weblogic.jdbc.wrapper.PreparedStatement.executeBatch(PreparedStatement.java:137)
at com.opsware.utils.SQLHelper.setFilterIds(SQLHelper.java:90)
at com.opsware.utils.SQLHelper.setFilterAcctIds(SQLHelper.java:45)
at com.opsware.list.impl.device.DeviceBaseList.getQuery(DeviceBaseList.java:178)
at com.opsware.list.impl.device.DeviceBaseList.getIds(DeviceBaseList.java:50)
at com.opsware.list.impl.device.DeviceServerGroupViewList.getDeviceIds(DeviceServerGroupViewList.java:145)
at com.opsware.list.impl.device.DeviceServerGroupViewList.getIds(DeviceServerGroupViewList.java:47)
at com.opsware.list.PaginatedListBean.init(PaginatedListBean.java:77)
at com.opsware.list.PaginatedListBean.getSize(PaginatedListBean.java:216)
at com.opsware.list.PaginatedList_mywl9s_EOImpl.getSize(PaginatedList_mywl9s_EOImpl.java:154)
at com.opsware.list.PaginatedList_mywl9s_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:90)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
SQLException: SQLState(23000) vendor code(1)
java.sql.BatchUpdateException: ORA-00001: unique constraint (TRUTH.TMP$ACCT_ID_PK) violated
at oracle.jdbc.driver.DatabaseError.throwBatchUpdateException(DatabaseError.java:367)
at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:8726)
at weblogic.jdbc.wrapper.PreparedStatement.executeBatch(PreparedStatement.java:137)
at com.opsware.utils.SQLHelper.setFilterIds(SQLHelper.java:90)
at com.opsware.utils.SQLHelper.setFilterAcctIds(SQLHelper.java:45)
at com.opsware.list.impl.device.DeviceBaseList.getQuery(DeviceBaseList.java:178)
at com.opsware.list.impl.device.DeviceBaseList.getIds(DeviceBaseList.java:50)
at com.opsware.list.impl.device.DeviceServerGroupViewList.getDeviceIds(DeviceServerGroupViewList.java:145)
at com.opsware.list.impl.device.DeviceServerGroupViewList.getIds(DeviceServerGroupViewList.java:47)
at com.opsware.list.PaginatedListBean.init(PaginatedListBean.java:77)
at com.opsware.list.PaginatedListBean.getSize(PaginatedListBean.java:216)
at com.opsware.list.PaginatedList_mywl9s_EOImpl.getSize(PaginatedList_mywl9s_EOImpl.java:154)
at com.opsware.list.PaginatedList_mywl9s_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:90)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
SQLException: SQLState(23000) vendor code(1)
java.sql.SQLException: ORA-00001: unique constraint (TRUTH.TMP$DATA_CENTER_ID_PK) violated
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:630)
at oracle.jdbc.driver.T2CPreparedStatement.execute_for_describe(T2CPreparedStatement.java:851)
at oracle.jdbc.driver.T2CPreparedStatement.execute_for_rows(T2CPreparedStatement.java:1012)
at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:8661)
at weblogic.jdbc.wrapper.PreparedStatement.executeBatch(PreparedStatement.java:137)
at com.opsware.utils.SQLHelper.setFilterIds(SQLHelper.java:90)
at com.opsware.utils.SQLHelper.setFilterDcIds(SQLHelper.java:36)
at com.opsware.list.impl.device.DeviceBaseList.getQuery(DeviceBaseList.java:196)
at com.opsware.list.impl.device.DeviceBaseList.getIds(DeviceBaseList.java:50)
at com.opsware.list.impl.device.DeviceServerGroupViewList.getDeviceIds(DeviceServerGroupViewList.java:145)
at com.opsware.list.impl.device.DeviceServerGroupViewList.getIds(DeviceServerGroupViewList.java:47)
at com.opsware.list.PaginatedListBean.init(PaginatedListBean.java:77)
at com.opsware.list.PaginatedListBean.getSize(PaginatedListBean.java:216)
at com.opsware.list.PaginatedList_mywl9s_EOImpl.getSize(PaginatedList_mywl9s_EOImpl.java:154)
at com.opsware.list.PaginatedList_mywl9s_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:90)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
SQLException: SQLState(23000) vendor code(1)
java.sql.BatchUpdateException: ORA-00001: unique constraint (TRUTH.TMP$DATA_CENTER_ID_PK) violated
at oracle.jdbc.driver.DatabaseError.throwBatchUpdateException(DatabaseError.java:367)
at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:8726)
at weblogic.jdbc.wrapper.PreparedStatement.executeBatch(PreparedStatement.java:137)
at com.opsware.utils.SQLHelper.setFilterIds(SQLHelper.java:90)
at com.opsware.utils.SQLHelper.setFilterDcIds(SQLHelper.java:36)
at com.opsware.list.impl.device.DeviceBaseList.getQuery(DeviceBaseList.java:196)
at com.opsware.list.impl.device.DeviceBaseList.getIds(DeviceBaseList.java:50)
at com.opsware.list.impl.device.DeviceServerGroupViewList.getDeviceIds(DeviceServerGroupViewList.java:145)
at com.opsware.list.impl.device.DeviceServerGroupViewList.getIds(DeviceServerGroupViewList.java:47)
at com.opsware.list.PaginatedListBean.init(PaginatedListBean.java:77)
at com.opsware.list.PaginatedListBean.getSize(PaginatedListBean.java:216)
at com.opsware.list.PaginatedList_mywl9s_EOImpl.getSize(PaginatedList_mywl9s_EOImpl.java:154)
at com.opsware.list.PaginatedList_mywl9s_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:90)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
SQLException: SQLState(42000) vendor code(936)
java.sql.SQLException: ORA-00936: missing expression
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:630)
at oracle.jdbc.driver.T2CStatement.execute_for_describe(T2CStatement.java:841)
at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:894)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:984)
at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1124)
at weblogic.jdbc.wrapper.Statement.executeQuery(Statement.java:345)
at com.opsware.impl.servergroup.ServerGroupSQL.refreshLocalCoreMemberships(ServerGroupSQL.java:897)
at com.opsware.ejb.session.ServerGroupFacadeBean.refreshMembershipsInLocalCore(ServerGroupFacadeBean.java:497)
at com.opsware._gen.sejb.ejb.session._ServerGroupFacadeBean._opsw__refreshMembershipsInLocalCore(_ServerGroupFacadeBean.java:10715)
at com.opsware._gen.sejb.ejb.session.ServerGroupFacade_686jy5_EOImpl._opsw__refreshMembershipsInLocalCore(ServerGroupFacade_686jy5_EOImpl.java:8902)
at com.opsware._gen.client.ejb.session._ServerGroupFacadeStub._opsw__refreshMembershipsInLocalCore(_ServerGroupFacadeStub.java:5096)
at com.opsware._gen.client.ejb.session._ServerGroupFacadeStub.refreshMembershipsInLocalCore(_ServerGroupFacadeStub.java:5091)
at com.opsware.impl.groupevent.Recalc.performFullRecalc(Recalc.java:204)
at com.opsware.impl.groupevent.Recalc$1.run(Recalc.java:573)
at java.lang.Thread.run(Thread.java:534)
SQLException: SQLState(60000) vendor code(600)
java.sql.SQLException: ORA-00600: internal error code, arguments: [kpofdr-long], [], [], [], [], [], [], []
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:630)
at oracle.jdbc.driver.T2CPreparedStatement.doDefineExecuteFetch(T2CPreparedStatement.java:1135)
at oracle.jdbc.driver.T2CPreparedStatement.execute_for_rows(T2CPreparedStatement.java:1010)
at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:913)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:984)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2885)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:2926)
at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:92)
at com.opsware.ejb.DeviceRoleConfig_bbuo9g__WebLogic_CMP_RDBMS.ejbFindByDvcRoleAndKey(DeviceRoleConfig_bbuo9g__WebLogic_CMP_RDBMS.java:652)
at sun.reflect.GeneratedMethodAccessor169.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.scalarFinder(RDBMSPersistenceManager.java:294)
at weblogic.ejb20.manager.BaseEntityManager.scalarFinder(BaseEntityManager.java:1662)
at weblogic.ejb20.manager.BaseEntityManager.localScalarFinder(BaseEntityManager.java:1611)
at weblogic.ejb20.internal.EntityEJBLocalHome.finder(EntityEJBLocalHome.java:462)
at com.opsware.ejb.DeviceRoleConfig_bbuo9g_LocalHomeImpl.findByDvcRoleAndKey(DeviceRoleConfig_bbuo9g_LocalHomeImpl.java:132)
at com.opsware.impl.device.DeviceUtil.getAttributeNL(DeviceUtil.java:224)
at com.opsware.impl.device.DeviceUtil.getLockUser(DeviceUtil.java:308)
at com.opsware.vo.DeviceBaseVO.<init>(DeviceBaseVO.java:42)
at com.opsware.vo.DeviceSWVO.<init>(DeviceSWVO.java:21)
at com.opsware.list.impl.device.DeviceServerGroupViewList.getList(DeviceServerGroupViewList.java:173)
at com.opsware.list.PaginatedListBean.getSubList(PaginatedListBean.java:173)
at com.opsware.list.PaginatedListBean.getList(PaginatedListBean.java:124)
at com.opsware.list.PaginatedList_mywl9s_EOImpl.getList(PaginatedList_mywl9s_EOImpl.java:100)
at com.opsware.list.PaginatedList_mywl9s_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:90)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
SQLException: SQLState(null) vendor code(17008)
java.sql.SQLException: Closed Connection
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227)
at oracle.jdbc.driver.PhysicalConnection.prepareStatement(PhysicalConnection.java:698)
at oracle.jdbc.driver.PhysicalConnection.prepareStatement(PhysicalConnection.java:615)
at weblogic.jdbc.common.internal.ConnectionEnv.makeStatement(ConnectionEnv.java:1133)
at weblogic.jdbc.common.internal.ConnectionEnv.getCachedStatement(ConnectionEnv.java:966)
at weblogic.jdbc.wrapper.PreparedStatement.reCreateStatement(PreparedStatement.java:48)
at weblogic.jdbc.wrapper.Statement.checkStatement(Statement.java:237)
at weblogic.jdbc.wrapper.Statement.close(Statement.java:300)
at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.releaseStatement(RDBMSPersistenceManager.java:3419)
at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.releaseResources(RDBMSPersistenceManager.java:3300)
at com.opsware.ejb.DeviceRoleConfig_bbuo9g__WebLogic_CMP_RDBMS.ejbFindByDvcRoleAndKey(DeviceRoleConfig_bbuo9g__WebLogic_CMP_RDBMS.java:703)
at sun.reflect.GeneratedMethodAccessor169.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.scalarFinder(RDBMSPersistenceManager.java:294)
at weblogic.ejb20.manager.BaseEntityManager.scalarFinder(BaseEntityManager.java:1662)
at weblogic.ejb20.manager.BaseEntityManager.localScalarFinder(BaseEntityManager.java:1611)
at weblogic.ejb20.internal.EntityEJBLocalHome.finder(EntityEJBLocalHome.java:462)
at com.opsware.ejb.DeviceRoleConfig_bbuo9g_LocalHomeImpl.findByDvcRoleAndKey(DeviceRoleConfig_bbuo9g_LocalHomeImpl.java:132)
at com.opsware.impl.device.DeviceUtil.getAttributeNL(DeviceUtil.java:224)
at com.opsware.impl.device.DeviceUtil.getLockUser(DeviceUtil.java:308)
at com.opsware.vo.DeviceBaseVO.<init>(DeviceBaseVO.java:42)
at com.opsware.vo.DeviceSWVO.<init>(DeviceSWVO.java:21)
at com.opsware.list.impl.device.DeviceServerGroupViewList.getList(DeviceServerGroupViewList.java:173)
at com.opsware.list.PaginatedListBean.getSubList(PaginatedListBean.java:173)
at com.opsware.list.PaginatedListBean.getList(PaginatedListBean.java:124)
at com.opsware.list.PaginatedList_mywl9s_EOImpl.getList(PaginatedList_mywl9s_EOImpl.java:100)
at com.opsware.list.PaginatedList_mywl9s_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:90)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
SQLException: SQLState(null) vendor code(17008)
java.sql.SQLException: Closed Connection
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227)
at oracle.jdbc.driver.PhysicalConnection.prepareStatement(PhysicalConnection.java:698)
at oracle.jdbc.driver.PhysicalConnection.prepareStatement(PhysicalConnection.java:615)
at weblogic.jdbc.common.internal.ConnectionEnv.makeStatement(ConnectionEnv.java:1133)
at weblogic.jdbc.common.internal.ConnectionEnv.getCachedStatement(ConnectionEnv.java:966)
at weblogic.jdbc.common.internal.ConnectionEnv.getCachedStatement(ConnectionEnv.java:905)
at weblogic.jdbc.wrapper.Connection.prepareStatement(Connection.java:350)
at weblogic.jdbc.wrapper.JTSConnection.prepareStatement(JTSConnection.java:479)
at com.opsware.ejb.DeviceRoleConfig_bbuo9g__WebLogic_CMP_RDBMS.ejbFindByDvcRoleAndKey(DeviceRoleConfig_bbuo9g__WebLogic_CMP_RDBMS.java:632)
at sun.reflect.GeneratedMethodAccessor169.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.scalarFinder(RDBMSPersistenceManager.java:294)
at weblogic.ejb20.manager.BaseEntityManager.scalarFinder(BaseEntityManager.java:1662)
at weblogic.ejb20.manager.BaseEntityManager.localScalarFinder(BaseEntityManager.java:1611)
at weblogic.ejb20.internal.EntityEJBLocalHome.finder(EntityEJBLocalHome.java:462)
at com.opsware.ejb.DeviceRoleConfig_bbuo9g_LocalHomeImpl.findByDvcRoleAndKey(DeviceRoleConfig_bbuo9g_LocalHomeImpl.java:132)
at com.opsware.impl.device.DeviceUtil.getAttributeNL(DeviceUtil.java:224)
at com.opsware.impl.device.DeviceUtil.getLockComment(DeviceUtil.java:316)
at com.opsware.vo.DeviceBaseVO.<init>(DeviceBaseVO.java:43)
at com.opsware.vo.DeviceSWVO.<init>(DeviceSWVO.java:21)
at com.opsware.list.impl.device.DeviceServerGroupViewList.getList(DeviceServerGroupViewList.java:173)
at com.opsware.list.PaginatedListBean.getSubList(PaginatedListBean.java:173)
at com.opsware.list.PaginatedListBean.getList(PaginatedListBean.java:124)
at com.opsware.list.PaginatedList_mywl9s_EOImpl.getList(PaginatedList_mywl9s_EOImpl.java:100)
at com.opsware.list.PaginatedList_mywl9s_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:90)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
SQLException: SQLState(null) vendor code(17008)
java.sql.SQLException: Closed Connection
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227)
at oracle.jdbc.driver.PhysicalConnection.prepareStatement(PhysicalConnection.java:698)
at oracle.jdbc.driver.PhysicalConnection.prepareStatement(PhysicalConnection.java:615)
at weblogic.jdbc.common.internal.ConnectionEnv.makeStatement(ConnectionEnv.java:1133)
at weblogic.jdbc.common.internal.ConnectionEnv.getCachedStatement(ConnectionEnv.java:966)
at weblogic.jdbc.common.internal.ConnectionEnv.getCachedStatement(ConnectionEnv.java:905)
at weblogic.jdbc.wrapper.Connection.prepareStatement(Connection.java:350)
at weblogic.jdbc.wrapper.JTSConnection.prepareStatement(JTSConnection.java:479)
at com.opsware.ejb.RoleClassWads_opugk0__WebLogic_CMP_RDBMS.ejbFindByRoleClasses_nx2si8__WebLogic_CMP_RDBMS_roleClassWads__WL_(RoleClassWads_opugk0__WebLogic_CMP_RDBMS.java:1510)
at sun.reflect.GeneratedMethodAccessor256.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.collectionFinder(RDBMSPersistenceManager.java:378)
at weblogic.ejb20.manager.BaseEntityManager.wrapperSetFinder(BaseEntityManager.java:1888)
at weblogic.ejb20.manager.BaseEntityManager.localWrapperSetFinder(BaseEntityManager.java:1859)
at com.opsware.ejb.RoleClasses_nx2si8__WebLogic_CMP_RDBMS_roleClassWads_Set.populateCache(RoleClasses_nx2si8__WebLogic_CMP_RDBMS_roleClassWads_Set.java:111)
at com.opsware.ejb.RoleClasses_nx2si8__WebLogic_CMP_RDBMS_roleClassWads_Set.iterator(RoleClasses_nx2si8__WebLogic_CMP_RDBMS_roleClassWads_Set.java:177)
at com.opsware.vo.DeviceSWVO.<init>(DeviceSWVO.java:35)
at com.opsware.list.impl.device.DeviceServerGroupViewList.getList(DeviceServerGroupViewList.java:173)
at com.opsware.list.PaginatedListBean.getSubList(PaginatedListBean.java:173)
at com.opsware.list.PaginatedListBean.getList(PaginatedListBean.java:124)
at com.opsware.list.PaginatedList_mywl9s_EOImpl.getList(PaginatedList_mywl9s_EOImpl.java:100)
at com.opsware.list.PaginatedList_mywl9s_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:90)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
SQLException: SQLState(null) vendor code(17008)
java.sql.SQLException: Closed Connection
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227)
at oracle.jdbc.driver.PhysicalConnection.commit(PhysicalConnection.java:964)
at weblogic.jdbc.wrapper.JTSConnection.internalCommit(JTSConnection.java:404)
at weblogic.jdbc.wrapper.JTSXAResourceImpl.commit(JTSXAResourceImpl.java:56)
at weblogic.transaction.internal.XAServerResourceInfo.commit(XAServerResourceInfo.java:1251)
at weblogic.transaction.internal.XAServerResourceInfo.commit(XAServerResourceInfo.java:482)
at weblogic.transaction.internal.ServerSCInfo.startCommit(ServerSCInfo.java:421)
at weblogic.transaction.internal.ServerTransactionImpl.localCommit(ServerTransactionImpl.java:1803)
at weblogic.transaction.internal.ServerTransactionImpl.globalRetryCommit(ServerTransactionImpl.java:2434)
at weblogic.transaction.internal.ServerTransactionImpl.globalCommit(ServerTransactionImpl.java:2365)
at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:278)
at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:244)
at weblogic.ejb20.internal.Bas -
RMI Connection Refused through Firewall
Hi,
I am having problems making an RMI connection through a firewall. On the server outside the firewall I have my servlet application running in an OC4J container and inside the firewall I have an EJB listening on port 6666. I have setup the firewall to allow connections through on port 6666. If I telnet from the machine outside the firewall on port 6666 I am able to make a connection to the EJB. So I know the firewall has been setup to handle the connection.
I run the servlet application and when it tries to make the connection it gives an error:
javax.naming.NamingException: Lookup error: java.net.ConnectException: Connection refused; nested exception is:
java.net.ConnectException: Connection refused
When I do a snoop on the external machine to see what data is trying to be sent to the internal machine there is no data. When doing the telnet test there was data.
I have the same servlet application deployed on a machine internally and it is able to make a connection to the EJB. The only problem is either the configuration of the application server on the external machine or the firewall configuration.
Anyone able to help me see what I am missing?
Thanks
Shawn Clarknot sure what you mean by having a 'EJB listening' on port 6666. Do you mean actually having a socket listening within the EJB code? If so then that is a suspicious EJB activity.
If not then i guess you mean the ORMI listening port of the OC4J application. This is normally set on port 23791 to allow the RMI communication to flow.
-lp -
RMI connection Error: No route to host
hi all,
We are using RMI in our project and We are using different computers on LAN for
server and Client Component,
Both the computers use j2sdk1.4.2_03
But when the client runs it gives the following error:
:java.rmi.ConnectIOException: Exception creating connection to: gridlab26;
nested exception is:
java.net.NoRouteToHostException: No route to host: connect
In this scenario we are just retrieving a String from the server. this
works well on One PC using localhost.
we found that you have encountered such problem earlier and might have
resolved it.
if you have any idea how to correct this problem please help us.
thanks
[email protected]hi,
yes both the PCs are pinging each other and we are able to share our things as well (with sharing n securiry facility in winXP)
if u hav any other suggestion plz convey me
tnx
Deep -
Connection Exception Please help middle of a program
my server is remote and when the client call the method connection Exception is thrown .
and please clarify this?
does the client side need to have the servers stub in the same folder where the client is and also the .class file of the Remote interface
do we have to copy this file manually?
please help i have to complete this Rmi program within 30 minutes.What you are seeing here has several reasons. The people you call mob are the very same ones that used to handle it greatly.
But there was a huge increase in posts like
- "do my homework"
- "URGENT!!!!!!!!!!!!!!!!!!!!!!!!!! HELP ME ASAP"
- "I need to know something almost everyone knows but I can't be bothered to use Google or to read the API"
- "I won't tell you my problem, but fix it at once"
which most regulars are sick and tired of. How often do you think you can stand someone asking you "why is 3.3 - 0.3 = 3.00000000001"?
A second reason are jerks like Goldie and Richard West who simply abuse these forums.
And you're been here for only a month, you don't really remember "how it used to be". It's been like this for a long time now. -
Hi..
can anyone provide me any tutorial/link which will help me in learning JSP and RMI connection. Like I need to acces RMI server object from JSP.Hi ...
I didn't get any reply from any one....
Is it possible to make Java Server Pages and RMI work together -
to invoke a method on a server object from a JSP? And if, does
someone know of a good tutorial, article etc., on this matter?
waiting for ur reply!!!!
Maybe you are looking for
-
Servlet Applet object communication problem???!!!
Hy folks, I need to validate the ability of complex Servlet Applet communication an run into my first pb right at the beginning of my tests. I need to have around 200 Applet clients connect to my servlet and communicate by ObjectInput and ObjectOutpu
-
Delete authorization for specific Company Code
All, For a specific transactions, our users may only run the transaction for a specific company code. Transaction is TPM55A What authorization object do I need to add to my role, so the users have only authorization for let's say Company code range 1
-
CursorBlock Exception while traversing a value cursor
The version of Oracle :9.2.0.1 I am using ORACLE Connection Pooling for obtaining the connection Oracle Connection Pooling // Create OracleConnectionPoolDataSource instance ocpds = new OracleConnectionPoolDataSourc
-
Applications bounce but don't open!
Hi ! I have a problem with my iMac with 10.8.2 After some minutes my iMac is on, when I click on some applications ( not every ) the icon on the dock bounce a lot of times but doesn t open! same thing with system preferences , Finder ecc I have to fo
-
Subquery results need help with output
Requirements: There is request to dump every days data from one table into text file. Tables:INSPECTION_RESULTS NJAS Primary Key: RES_SYS_NO Parent table: INSPECTION_RESULTS Child table: NJAS Purpose: 1. obtain output results for the MIN and MAX RES