Bashar Abdullah

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

Recent posts by Bashar Abdullah

Thanks. Thats almost what I had, but now I am sure I am on the right track.
17 years ago
JSP
I came across this url:
http://e-docs.bea.com/wls/docs81/xml/xml_tech.html

It is giving me FileNotFound errors though upon reading response. If you have any good references that would be helpful.

Thanks
17 years ago
JSP
Sorry for the late reply. It's a normal HTTP XML Post request and returns XML response.
17 years ago
JSP
Hi,

I need to integrate to a system using XML API. I basically need to send XML request and receive the response. I can't seem to find useful resources on this, although I am sure I came across some before.
17 years ago
JSP
I am using a java plug-in that establishes HTTPS URL Connection, and returns com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnectionOldImpl. I have no control over this plugin and the return value.

I used the -DUseSunHttpHandler option at server start up, which will return the sun http handler javax.net.ssl.HttpsURLConnection instead of the bea SOAP HTTPS URL Connection. How this still gives classCastException.

How can I return the OldImplementation instead?
17 years ago
Thanks very much. I had doubts about the JDK Version.

Thanks for the link as well
17 years ago
Hi,

i am totally new to CORBA and am kind of stuck in a project with it. I have gone through several examples on CORBA, and all of them agree to the fact, when I compile the IDL file, it should generate the ImplBase.java file.

I have gone through the example I have and ran the idlj command, got six files but did not get the one mentioned above. Below is the IDL file I used:

module clock {

// Defintion of CORBA enabled service
interface SystemClock {
long long currentTimeMillis();
};
};



and the command is: idlj -td src -pkgPrefix clock com.deitel.advjhtp1.idl -fall systemclock.idl

idlj version is 3.1 I have confirmed that. I get the following files:

_SystemClockStub.java
SystemClock.java
SystemClockHelper.java
SystemClockHolder.java
SystemClockOperations.java
SystemClockPOA.java

Can anyone please help.

Thanks
17 years ago
Hi,

I am new to Corba, and I have a sample source code to connect to the CORBA itterface we have for one of our systems. Problem is, after compiling and running the code, I get the error:

===========================================================================
org.omg.CORBA.OBJECT_NOT_EXIST:
Could not locate the following Object:
repository id : IDL:com/semagroup/targys/servicelayer/corba/ServiceRoot
I:1.0
object name : SL_KWI2_CMS

minor code: 0 completed: No
at com.inprise.vbroker.orb.LocatorBidder.getBid(LocatorBidder.java:32)
at com.inprise.vbroker.ProtocolEngine.ManagerImpl.startBidding(ManagerIm
pl.java:167)
at com.inprise.vbroker.ProtocolEngine.ManagerImpl.getConnector(ManagerIm
pl.java:157)
at com.inprise.vbroker.orb.DelegateImpl._bind(DelegateImpl.java:205)
at com.inprise.vbroker.orb.DelegateImpl.bind(DelegateImpl.java:167)
at com.inprise.vbroker.CORBA.portable.ObjectImpl._bind(ObjectImpl.java:5
9)
at com.inprise.vbroker.orb.ORB.bind(ORB.java:1213)
at com.semagroup.targys.servicelayer.corba.ServiceRootIHelper.bind(Unkno
wn Source)
at com.semagroup.targys.servicelayer.corba.ServiceRootIHelper.bind(Unkno
wn Source)
at MiniClientAddrFile.connect(MiniClientAddrFile.java:275)
at MiniClientAddrFile.main(MiniClientAddrFile.java:1760)
=======================================================================

I have verified that I am using the correct object name, but still no luck.
What could be the cause of this error?

Thanks
[ June 26, 2006: Message edited by: Bashar Abdullah ]
17 years ago
Hi,

The keystoreFile should point to your certificate, and it seems from what I see you are pointing it to the Tomcat directory.

I would suggest separating the certificate from the Tomcat application it self, like stored it under D:\SSL\.keystore for example. But by all means, keystoreFile should point to the file not the containing directory.

keystoreFile="D:\tomcat5.0.28"

Hope this is where your problem lies.
17 years ago
Hi,

I am using the AJP13 Connector to map requests from IIS, acting as front end web server, to Tomcat as my middle ware. This was working fine for a long time with only minor problems, but recently, the failure rate has increased dramatically that 25% of the transactions are failing.

I have taken a look at the Isapi log, and this is what I got:

======================================================================
[Wed Jun 14 14:09:46 2006] [info] ajp_service::jk_ajp_common.c (1665): Sending request to tomcat failed, recoverable operation attempt=0
[Wed Jun 14 14:12:00 2006] [error] ajp_connection_tcp_get_message::jk_ajp_common.c (933): ERROR: can't receive the response message from tomcat, network problems or tomcat is down (192.168.47.20:8009), err=-1
[Wed Jun 14 14:12:00 2006] [error] ajp_get_reply::jk_ajp_common.c (1432): Tomcat is down or network problems. No response has been sent to the client (yet)
[Wed Jun 14 14:12:00 2006] [info] ajp_service::jk_ajp_common.c (1645): Receiving from tomcat failed, recoverable operation attempt=0
[Wed Jun 14 14:12:00 2006] [info] ajp_service::jk_ajp_common.c (1665): Sending request to tomcat failed, recoverable operation attempt=0
=====================================================================

I have a log full of these messages now, and as the error suggests either Tomcat is down or its a network problem. Tomcat is up, and we tried restarting it. Also, we did a ping between IIS and Tomcat for continuous 24 hours without any problems. So, there is no network problem it seems.

I have even gone further and disabled TomcatAuthentication! So now, we are real stuck and in a very bad shape. Its extremely important to get it fixed soon.

Anyone with any hints, please dont hesitate to help.
[ June 14, 2006: Message edited by: javaLight ]
17 years ago
Thanks a lot
You've done enough. But I think my problem is a bit different. Thanks for sharing your thoughts with me thought.

Regards
Bashar
18 years ago
Hi Michael,

I know this is an old post, but if you still remember, can you guide me on what parameters I should be modifying. It seems like a hell lot of data and its hard to figure it out.
18 years ago
Hi all,

I am still working on a connection from Tomcat to IIS and changing from Tomcat 4 to 5, JK 2 to 1 in a hope to get it to work.

Now that I moved a bit more forward in this task, i managed to load the ISAPI filter successfully on both my Default and parent website folders. I started getting errors in the ISAPI log file:

could not get a worker for name ajp13

Any hints please?

Thanks
Bashar
18 years ago
Hi,

Has anyone found a solution to the above problem? I am having it myself after I enabled AJP13Connector.

Please any help is appreciated.
18 years ago