Help coderanch get a
new server
by contributing to the fundraiser

Cilla Pestoff

+ Follow
since Mar 15, 2004
Merit badge: grant badges
For More
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Cilla Pestoff


I have a java client calling a PB component on an EAServer.

I am just using the following simple code:

Properties props = new Properties();
props.put("org.omg.CORBA.ORBClass", "com.sybase.CORBA.ORB");
ORB orb = ORB.init(new String[0], props);
Manager manager = ManagerHelper.narrow(orb.string_to_object("iiop://localhost:9000"));

On this last line I am getting:
java.lang.NoClassDefFoundError: com/sybase/CORBA/UnknownException

Anyone know what this is about? Should I have this class?

Cilla Pestoff
20 years ago
Hello all,
I am using a PowerBuilder object on an EAServer.
I am using a Java stub to instantiate and call methods on this object.
It works perfectly fine the first 2 times.
On the third run, I get a CORBA.TRANSACTION_ROLLEDBACK exception.
I have tried many different configurations dealing with the transaction timeout property, and nothing seems to even change the behavior.
If I stop and start the server, it will run fine another 2 times, and fail on the 3rd again.
Can anyone shed light on this strange behavior?
20 years ago
Hello all,
Yesterday I posted on the intermediate forum asking about using OLE objects in my Java app. Well, I can't find a good solution to that problem.
But, there is a PowerBuilder user object available to me that accesses the oleobject and does exactly what I need to do in my Java app. (In fact, if I could find a way to access the ole object in java, I was simply going to translate the Powerbuilder user object code to Java)
So my next question is, how do I access and use a PowerBuilder user object in my Java application?
Thank you,
20 years ago
Hmm... ok, let me be more specific.
There is a specific OLE object already created and in use. I believe it is written in VB. How do I communicate and access its functions from within my Java application? For example, in Powerbuilder, you simply call connectToNewObject(). So, how do you do this in Java, specifically? Is there a method to call, a wrapper class to use, etc? anything? Someone please explain to me Java is not this isolated...
20 years ago
Hello all,
Is there a way to communicate and use an OLE object in Java?
20 years ago
Hello all,
I am very new to database programming.
Here is my problem code:
this.myDBManager.setEditQuery("select ACS_DATE, ERAT, ERCC, ERCA, ER06, ER07, ER09 from PGOODWYNE.ACS_FORM where ACS_ID = ?");
this.myQueryStatement = this.myDBManager.getPreparedEditQuery();
this.myQueryStatement.setInt(1, acsNum);
ResultSet rs = this.myQueryStatement.executeQuery();
java.sql.Date[] mydates = new java.sql.Date[7];;
for(int i = 0; i < mydates.length; i++){
java.sql.Date d = rs.getDate(i + 1);
mydates[i] = null;
mydates[i] = d;
Here's the thing: is returning false.
I have executed this SQL statement in my Database Pilot. I always get one row returned with data. I have checked the metadata for the resultset. It returns 7 columns, the first one being labeled ACS_DATE, as it should.
So, I don't know why when I test the SQL statement I get one valid row returned, but here returns false. Oh, and I am executing this on a new database connection, this is the first prepared statement on it.
I am at a loss, any comments/suggestions/help is greatly appreciated.
--Priscilla G.