Joly Mathew

Greenhorn
+ Follow
since Jul 03, 2002
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 Joly Mathew

Hi,

We are currently working on the strategies for deploying applications on WAS 5.1 on a Zone basis.

We got AS400 Servers deployed in many countries which are grouped under different Zones.

For Example : 1 Websphere Server for Asian zone (connecting to multiple/single AS400 Servers in that zone)

1 Websphere server for Europe

etc..

Note that the AS/400 servers can be near the WAS server or remote.

All Zone Users will access the WAS server of the zone via their private lan.

The question is ,is there any performance/security impact of using such a material configuration ?

Any input to the above listed scenario will be very helpfull to me.

Thanks,
Joly Mathew



Regards,
Joly
19 years ago
Hi all,
We have developed an upload module , which helps the user to upload
MP3 files to the server.
Module contains two parts 1. is the the servlet deployed in WAS 3.5.5 which reads the Httprequest and parse it and save the file to a temporary directory.
At the Client end we got a JSP file containing HTML form with 'file' input type and enctype set to 'multipart/form'.

Everything works fine when the entire setup is in intranet.

But when I try to upload the file to our production server which is in Internet, files are not uploading , infact I recieve , 'page cannot be displayed error' after sometime.

Just to isolate the issue I tried the O'reilly upload component in the same setup , but got the same error. further I emptied the parsing code in servlet and deployed it with a one system.out.printl statement. But again when I tried to call the servlet using the same HTML form, it comes with the same error .

I found that files with very small size (uptp 100KB) are getting uploaded .

Could any one advice us , what is going wrong with the component/network/server setup?

Thanks & Regards,
Joly Mathew
19 years ago
Hi All,
We have developed an upload servlet which reads the request header submitted from a JSP Page(with File form control and enctype=multipart/form)
and then stores the file to the server temporary folder.

The servlet works fine all the time!! But....
If I keep the JSP page idle for 2-3 minutes and try to do an upload It gives the following excepttion and eventualy displays 'Page not available' Error.
"d699cdce but ContentType "multipart/form-data; boundary=---------------------------7d43a92bc021c" was not recognized"

Now If I reload the entire page and do the upload , it works fine.

Another Issue,is If I put a proxy /firewall between my server and client application.File data is not entirelly put into request, I examined the request and found only 20-25 KB of file data is submitted to the servlet.

Could Any one please advice me ,what is going wrong here!

Thanks in Adavance,
Joly Mathew
19 years ago
Hi All,
I am trying to deploy a Web Application in WAS 5.1 application Server. I have created the WAR file using the Latest Application Assembly Tool.
While Deploying the WAR File( I have selected the 'Distribute Application' Option while deploying) , Admin Console is not showing any errors and it gives a successfull message. But I can see The War is not exploded in the 'WebSphere\AppServer\installedApps\wcmblr' directory where I requested to deploy. Now If I try to start the application , I get an error. I examined the Stdout.log and found following error stack trace is printed while saving the deployment to 'Save Master Configuration'.
===========================================================
[5/4/04 11:36:28:031 IST] 2028506d AppBinaryProc E ADMA7005E: Unexpected exception loading resource cells/wcmblr/applications/wcm_war.ear/deployments/wcm_war/deployment.xml from the repository. This will cause further problems in using this resource for app sync logic.
[5/4/04 11:36:28:078 IST] 2028506d AppBinaryProc W ADMA7002E: Unexpected exception java.lang.NullPointerException
at com.ibm.ws.management.application.task.ConfigRepoHelper.getAppDeploymentForApp(ConfigRepoHelper.java:480)
at com.ibm.ws.management.application.sync.AppBinaryProcessor.buildCacheEntry(AppBinaryProcessor.java:520)
at com.ibm.ws.management.application.sync.AppBinaryProcessor.buildBin2AppRelation(AppBinaryProcessor.java:451)
at com.ibm.ws.management.application.sync.AppBinaryProcessor.onChangeStart(AppBinaryProcessor.java:204)
at com.ibm.ws.management.repository.FileRepository.preNotify(FileRepository.java:1860)
at com.ibm.ws.management.repository.FileRepository.update(FileRepository.java:1336)
at com.ibm.ws.management.repository.client.LocalConfigRepositoryClient.update(LocalConfigRepositoryClient.java:189)
at com.ibm.ws.sm.workspace.impl.WorkSpaceMasterRepositoryAdapter.update(WorkSpaceMasterRepositoryAdapter.java:352)
at com.ibm.ws.sm.workspace.impl.RepositoryContextImpl.update(RepositoryContextImpl.java:1191)
at com.ibm.ws.sm.workspace.impl.RepositoryContextImpl.synch(RepositoryContextImpl.java:1147)
at com.ibm.ws.sm.workspace.impl.WorkSpaceImpl.synch(WorkSpaceImpl.java:271)
at com.ibm.ws.console.core.action.SyncWorkSpaceAction.perform(SyncWorkSpaceAction.java:164)
at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1791)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1586)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:974)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:555)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:443)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)
in building cache for app sync from serverindex.xml. The app sync logic will not work for deletions or modifictions of binaries in this case.
===========================================================
Could Any one suggest what is going wrong !!
Thanks ,
Joly Mathew
20 years ago
Hi All,
I am getting the following exception while trying to execute a demo program using CIPHER(DES) encryption. Could any one advice what is causing the exception.
Thanks,
Joly Mathew
java.lang.ExceptionInInitializerError
at javax.crypto.KeyGenerator.getInstance(DashoA6275)
at com.joly.test.cipher.EncryptTest.main(EncryptTest.java:29)
Caused by: java.lang.SecurityException: Cannot set up certs for trusted CAs
at javax.crypto.SunJCE_b.<clinit>(DashoA6275)
... 2 more
Caused by: java.security.PrivilegedActionException: java.security.NoSuchAlgorithmException: MD5WITHRSA Signature not available
at java.security.AccessController.doPrivileged(Native Method)
... 3 more
Caused by: java.security.NoSuchAlgorithmException: MD5WITHRSA Signature not available
at java.security.Security.getEngineClassName(Security.java:584)
at java.security.Security.getEngineClassName(Security.java:595)
at java.security.Security.getImpl(Security.java:1044)
at java.security.Signature.getInstance(Signature.java:169)
at sun.security.x509.X509CertImpl.verify(X509CertImpl.java:425)
at sun.security.x509.X509CertImpl.verify(X509CertImpl.java:383)
at javax.crypto.SunJCE_b.c(DashoA6275)
at javax.crypto.SunJCE_b.b(DashoA6275)
at javax.crypto.SunJCE_s.run(DashoA6275)
... 4 more
Exception in thread "main"
20 years ago
Hi all,
Any one can suggest ,how can I pass the HTTPSession object from a JSP/Servlet to a ASP page.
I need to pass the User Credentials stored in HTTPSession object to a ASP Application so that ,It can behave like part of the Java Application.

Thanks in Advance,
Joly Mathew
20 years ago
JSP
Hi All,
I am currently in the process of migrating several B2B Application from Websphere 3.5.5 Application server(Win-NT) to Websphere 5.1 server(Win-NT). Any one can suggest some books/manual/articles which can be helpfull in this process.
Note: All this applications are Web Applications .There are no EJBs present here.
Source Platform : Win-Nt
Server Version : Websphere 3.5.5 with Fix Pack 5.1
Database : Oracle 8.i
--------------------
Target Platform : Win-2k
Server Version : Websphere 5.1
Database : Oracle 9.i

Thanks,
JMathew
20 years ago
Hi All,
Following is a section from the websphere startup log , which is showing ProcessHasExited Exception.
Initializing Websphere Administration server
EJBServerBean W Failed to reconnect to a server : "mgmb2b" java.rmi.ServerException : RemoteException occurred in server thred: nested exception is:
com.ibm.ejs.sm.util.process.exception.PRocessHasExitedException: Error recreating new process.
Could any one suggest whats happening behind the scene.
Thanks,
JMathew
20 years ago
Hi Kyle,
Thanks for the input. Infact I was also thinking in that way. But suddenly it seems to be moving in a different angle as we found out,Oracle database TEMP tablespace in SUN has run out of space. But Its happening every month now , not a clue why TEMP is running out of space frequently. What I am thinking probably large SQL statements involving Sort operations, giving database a good load.
I am not sure this situation has got any link to the ConnectionTimeout exception in Websphere log.
As far as I can see , JSP files are clean.Every files has got finally block which is closing the connection properly. So I can't proceed in that angle.
Kyle, could you provide more input on this situation.
Thanks,
JMathew
20 years ago
Hi All,
We have got websphere 3.5.5 running on sun solaris.Now a days Its getting crashed frequently.Following are few messages from stderr.txt
com.ibm.ejs.cm.pool.ConnectionWaitTimeoutException: Timeout waiting for free connection
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.sql.SQLException.<init>(Compiled Code)
at com.ibm.ejs.cm.portability.PortableSQLException.<init>(Compiled Code)
at com.ibm.ejs.cm.pool.ConnectionWaitTimeoutException.<init>(Compiled Code)
at com.ibm.ejs.cm.pool.ConnectionPool.waitForVictimConnection(Compiled Code)
at com.ibm.ejs.cm.pool.ConnectionPool.createOrWaitForConnection(Compiled Code)
Could any one explain,what is happening here.
Thanks ,
JMathew
20 years ago
Hi,
We are trying to run a web application moduled deployed in Websphere 5.0 app server.Application installed successfully with no errors.But while trying to access the index.jsp page we are getting a 404-FileNotFound Exception.
SystemOut.log file shows no errors but server1_Exception.log shows the following error attached.
It will be great help if some one can advice me the cause of this exception.
Thanks in Advance,
Joly Mathew
================
Index Occur Time of last Occurence Exception SourceId ProbeId
ences
-----------------------------------------------------------------------
1 4 03.10.16 12:30:15:547 GMT+05:30 java.io.FileNotFoundException com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service 344
2 1 03.10.16 12:23:56:906 GMT+05:30 java.lang.ClassNotFoundException com.ibm.ws.runtime.component.MessageListenerImpl.initialize 83
3 1 03.10.16 12:24:01:266 GMT+05:30 java.io.FileNotFoundException com.ibm.ejs.jms.DurableSubscriptionManagerImpl.readDurableSubscriptionFile 236
4 5 03.10.16 12:24:27:875 GMT+05:30 com.ibm.ws.naming.jcache.CacheEntryNotFoundException com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal 367
5 1 03.10.16 12:24:00:406 GMT+05:30 java.lang.NullPointerException com.ibm.ws.utils.VUTrace.initialisation 584
6 2 03.10.16 12:23:59:781 GMT+05:30 org.omg.CosNaming.NamingContextPackage.AlreadyBound com.ibm.ws.naming.jndicos.CNContextImpl.doCreateSubcontext 2155
7 5 03.10.16 12:41:37:453 GMT+05:30 java.io.FileNotFoundException com.ibm.ws.webcontainer.jsp.servlet.JspServlet.loadJSP 794
8 1 03.10.16 12:24:30:609 GMT+05:30 java.util.ConcurrentModificationException com.ibm.ejs.util.am._Alarm.run 75
9 3 03.10.16 12:24:20:031 GMT+05:30 javax.naming.NameAlreadyBoundException com.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.do_bind_new_corba_context 1042
10 1 03.10.16 12:23:58:031 GMT+05:30 java.lang.ClassNotFoundException com.ibm.ws.activity.ActivityServiceInterceptor.loadMigrationImpls 424
11 4 03.10.16 12:24:00:750 GMT+05:30 javax.naming.NameNotFoundException com.ibm.ws.naming.urlbase.UrlContext.lookup 1226
12 2 03.10.16 12:23:59:781 GMT+05:30 javax.naming.NameAlreadyBoundException com.ibm.ws.naming.jndicos.CNContextImpl.createSubcontext 756
13 2 03.10.16 12:24:00:750 GMT+05:30 javax.naming.NameNotFoundException com.ibm.ws.naming.urlbase.UrlContext.lookup 1252
14 989 03.10.16 12:34:59:781 GMT+05:30 java.lang.ClassNotFoundException com.ibm.ws.classloader.CompoundClassLoader.loadClass 248
15 1 03.10.16 12:24:20:031 GMT+05:30 org.omg.CosNaming.NamingContextPackage.AlreadyBound com.ibm.ws.naming.cosbase.WsnOptimizedNamingImplBase.executeBatchedOperations 1497
16 1 03.10.16 12:24:13:438 GMT+05:30 java.util.MissingResourceException com.ibm.ejs.sm.client.ui.NLS.NLS 166
17 1 03.10.16 12:23:56:953 GMT+05:30 java.io.FileNotFoundException com.ibm.ejs.jms.listener.AsyncMessageLog.readRequestLogFile 128
18 1 03.10.16 12:24:01:250 GMT+05:30 java.lang.ClassNotFoundException com.ibm.ejs.jms.listener.MDBListenerManagerImpl.initializeMQJMSConnectionPooling 705
-----------------------------------------------------------------------
20 years ago
Hi,
I am running weblogic server 6.1 on w2k (p-4 machine with 256 m.b ram) . Frequently I get the following error while starting the server.
java.exe - Application error. The instruction at "0x504c42b8" referenced memory at "0x00000009".The memory cannot be "read".
If any one got a suggestion on how to tackle the above ,it will be a great help.
Thanks in Advance,
Joly Mathew
21 years ago
Noreen,
Mapping dont solve the problem ur local mac should run the env setup related to ur server.
PS. Remember u ran the weblogic class path file before running the bo/bp client(Eontec...)

Good luck,
JM
22 years ago