Atul Agarwal

Greenhorn
+ Follow
since Apr 15, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Atul Agarwal

We have two different applications running on different IBM WAS instances. In the runtime environment, user moves from first application to 2nd and continue working on it. In the meantime application 1 session timeout happens. Is there any way to make both the application sessions active if user is active in any of the application so that other application doesn't timeout.
15 years ago
Hi,

Is it possible to have '/' as a part of context root in the application.xml

eg.
<module id="WebModule_123456789">
<web>
<web-uri>XYZ.war</web-uri>
<context-root>abc/def</context-root>
</web>
</module>
Thanks.
Hi,

I would like to ask what could be the possible approaches to call from java a vb dll that incorporates an active x component which links to another(third party) application. The reason I am doing this is because I haven't got the API of that application in Java so I have to go round it using the VB activex.

So eventually the vb dll will incorporate the third party active x and the
calls to that active x together with functions and properties for the java
application which will return data to java for processing.

If anyone know how to do this or something similar with a VB dll and java I
will appreciate it if he/she contacts me.

VB dll is on windows machine and the java program would be on Unix.

Thanks for your time
Atul
17 years ago
We have a requirement of storing an image through our java web application on the filenet (Image Services 4.0) through java api's.Our Web application is residing on the Linux server and also the filenet is on another Linux server. We have identified the api's and also understood that we need to use WcmApiConfig.properties file to make a connection. We have mentioned below given entries in this property file but are unable to connect to filenet server.

RemoteServerUrl = http://content_engine_name/ApplicationEngine/xcmisasoap.dll
RemoteServerUploadUrl = http://content_engine_name/ApplicationEngine/doccontent.dll
RemoteServerDownloadUrl = http://content_engine_name/ApplicationEngine/doccontent.dll

The Exception is mentioned below:
Error connecting to content_engine_name:80: java.net.ConnectException: Connection refused: connect. ; OMFC/TheNetwork/NoOp/Client
at com.filenet.wcm.api.impl.SOAPFacilities.convertSoapFault(SOAPFacilities.java:443)

Now we are assuming that as the filenet is installed on the Linux server so we would not be able to call the dll's mentioned in the WcmApiConfig.properties

Please provide your input. Also if you can provide some sample code to connect to FileNET would be of great help.
[ April 16, 2007: Message edited by: Atul Agarwal ]
17 years ago
Hi Sajid,
Actually what happen with your code, it initiate the first thread that runs endlessly. If you try your code to run with a loop of 10 then it will work perfectly. Since first thread run indefinitely, second and third thread will never get a chance to take the cpu. Although what you are saying would be correct if your OS implements timesharing algorigthm, which give CPU time in a round robin fasion to all the threads. But as with multithreading we can't rely on OS algo. The correct answer is option 3.
If you still have doubts or if you feel I am wrong, please do correct me.
Regards,
Atul
Hi Raja,

ServletContext interface provide a place to hold information that can be share with all the Servlets & JSPs in an application. It intializes at the time of server startup with the values decalred in the Deployoment Descriptor.
Its better to call Web Container instead of Servlet Container, which holds all Servlets and JSPs(later converted to Servlets) instances. Also web container takes care of life cycle of each servlet and provide call back methods for servlets.

Regards,
Atul
19 years ago