Praveen Katti

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

Recent posts by Praveen Katti

Hi All,
I would like to configure IBM HTTP Server on AIX in such way, when the request comes to the server with URL www.xxx.com, it should redirect that to http://10.10.10.10:9080/xxx/index.htm page. Could anybody help me out in doing this configuration?

Thanks in advance,
Praveen.
18 years ago
Hi,
I am in the process of migrating WebSphere 3.5 application to 5.1. I am successful in doing so. I have migrated my application in WSAD 5.1, it runs fine with no issues. But when I am deploying the same war file in WAS 5.1 its giving javascript error when my report result page is trying to load. The same war works in WSAD 5.1. Do I need to do any extra settings in WAS 5.1 to make this work?. Help needed.

Thanks in advance,
Praveen K
20 years ago
Hi All,
I am trying to upgrade my application from WebSphere 3.5 to 5.1. One of the servlet is extending PageListServlet, which got compiled in 5.1 but is throwing exception at the time of loading. Can anybody let me know the procedure to convert this servlet to 5.1 compatible?
Thanks,
20 years ago
Hi,
I am in the process of migrating WebSphere 3.5 application to 5.1. Application servlet extends "com.ibm.servlet.PageListServlet". When I am trying to run the application its throwing following error.

[8/31/04 19:38:53:162 IST] 1719f3f6 WebGroup E SRVE0020E: [Servlet Error]-[Report.ReportServlet]: Failed to load servlet: javax.servlet.ServletException: No PageList information is configured for servlet Report.ReportServlet
I looked into IBM website, it says to use Assembly Toolkit. But that has to be used for EAR file. I am trying to run this in my WebSphere Studio Developer. Can anybody let me know how to correct this error. Do I need to change the whole servlet only or there is someway to correct this error?

Thanks in advance,
20 years ago
Steve,
Thanks for the reply. Following is my directory where my servlet is there.

D:\WebSphere\AppServer\hosts\default_host\dashboard\servlets\com\alliedholdings\dashboard\notifier

I have my property file in following directory
D:\WebSphere\AppServer\hosts\default_host\dashboard\servlets

Following is my commande line arguments in WebSphere 3.5.6

-Xms512M -Xmx1024M -Djava.compiler=NONE -classpath D:\dashboard\lib\xalan.jar;D:\dashboard\lib\xercesImpl.jar;D:\dashboard\lib\xml-apis.jar;D:\orajdbc\classes12.zip;D:\dashboard\lib\jfreechart-0.9.8.jar;D:\dashboard\lib\jcommon-0.8.0.jar;D:\dashboard\lib\activation.jar;D:\dashboard\lib\mail.jar
20 years ago
Hi All,
I am running my application in WebSphere 3.5. I am loading one of my servlet called "NotifierServlet" at the startup.. its throwing following exception. I am attaching my code of the servlet also.

[04.08.20 08:22:59:218 EDT] 5cb5da4d WebGroup X Root Cause
java.lang.NullPointerException
at java.io.Reader.<init>(Reader.java:68)
at java.io.InputStreamReader.<init>(InputStreamReader.java:88)
at java.io.InputStreamReader.<init>(InputStreamReader.java:77)
at java.util.Properties.load(Properties.java:179)
at com.alliedholdings.dashboard.notifier.NotifierServlet.init(Unknown Source)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at com.ibm.servlet.engine.webapp.StrictServletInstance.doInit(ServletManager.java:622)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._init(StrictLifecycleServlet.java:136)
at com.ibm.servlet.engine.webapp.PreInitializedServletState.init(StrictLifecycleServlet.java:244)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.init(StrictLifecycleServlet.java:102)
at com.ibm.servlet.engine.webapp.ServletInstance.init(ServletManager.java:295)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at com.ibm.servlet.engine.webapp.ServletManager.addServlet(ServletManager.java:76)
at com.ibm.servlet.engine.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:115)
at com.ibm.servlet.engine.webapp.WebAppServletManager.loadAutoLoadServlets(WebAppServletManager.java:196)
at com.ibm.servlet.engine.webapp.WebApp.loadServletManager(WebApp.java:919)
at com.ibm.servlet.engine.webapp.WebApp.init(WebApp.java:93)
at com.ibm.servlet.engine.srt.WebGroup.loadWebApp(WebGroup.java:142)
at com.ibm.servlet.engine.srt.WebGroup.init(WebGroup.java:103)
at com.ibm.servlet.engine.ServletHost.addWebGroup(ServletHost.java:117)
at com.ibm.servlet.engine.ServletEngineDynamicUpdateSupport.addWebGroup(ServletEngineDynamicUpdateSupport.java:126)
at com.ibm.ejs.sm.active.ActiveServletGroup.startAction(ActiveServletGroup.java:76)
at com.ibm.ejs.sm.active.ActiveObject.startObject(ActiveObject.java:686)
at com.ibm.ejs.sm.active.ActiveObject.start(ActiveObject.java:117)
at com.ibm.ejs.sm.active.ActiveObject.operateOnContainedObjects(ActiveObject.java:588)
at com.ibm.ejs.sm.active.ActiveServletEngine.startAction(ActiveServletEngine.java:60)
at com.ibm.ejs.sm.active.ActiveObject.startObject(ActiveObject.java:686)
at com.ibm.ejs.sm.active.ActiveObject.start(ActiveObject.java:117)
at com.ibm.ejs.sm.active.ActiveObject.operateOnContainedObjects(ActiveObject.java:588)
at com.ibm.ejs.sm.active.ActiveEJBServer.startAction(ActiveEJBServer.java:99)
at com.ibm.ejs.sm.active.ActiveObject.startObject(ActiveObject.java:686)
at com.ibm.ejs.sm.active.ActiveObject.start(ActiveObject.java:117)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ejs.sm.agent.AdminAgentImpl.activeObjectInvocation(AdminAgentImpl.java:93)
at com.ibm.ejs.sm.agent.AdminAgentImpl.invokeActiveObject(AdminAgentImpl.java:62)
at com.ibm.ejs.sm.agent._AdminAgentImpl_Tie._invoke(_AdminAgentImpl_Tie.java:73)
at com.ibm.CORBA.iiop.ExtendedServerDelegate.dispatch(ExtendedServerDelegate.java:506)
at com.ibm.CORBA.iiop.ORB.process(ORB.java:2381)
at com.ibm.CORBA.iiop.WorkerThread.run(WorkerThread.java:195)
at com.ibm.ejs.oa.pool.ThreadPool$PooledThread.run(ThreadPool.java:535)

[04.08.20 08:22:59:312 EDT] 5cb5da4d WebApp X Failed.to.initialize.webapp.{0}
"dashboard"
javax.servlet.ServletException
at com.ibm.servlet.engine.webapp.StrictServletInstance.doInit(ServletManager.java:635)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._init(StrictLifecycleServlet.java:136)
at com.ibm.servlet.engine.webapp.PreInitializedServletState.init(StrictLifecycleServlet.java:244)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.init(StrictLifecycleServlet.java:102)
at com.ibm.servlet.engine.webapp.ServletInstance.init(ServletManager.java:295)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at com.ibm.servlet.engine.webapp.ServletManager.addServlet(ServletManager.java:76)
at com.ibm.servlet.engine.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:115)
at com.ibm.servlet.engine.webapp.WebAppServletManager.loadAutoLoadServlets(WebAppServletManager.java:196)
at com.ibm.servlet.engine.webapp.WebApp.loadServletManager(WebApp.java:919)
at com.ibm.servlet.engine.webapp.WebApp.init(WebApp.java:93)
at com.ibm.servlet.engine.srt.WebGroup.loadWebApp(WebGroup.java:142)
at com.ibm.servlet.engine.srt.WebGroup.init(WebGroup.java:103)
at com.ibm.servlet.engine.ServletHost.addWebGroup(ServletHost.java:117)
at com.ibm.servlet.engine.ServletEngineDynamicUpdateSupport.addWebGroup(ServletEngineDynamicUpdateSupport.java:126)
at com.ibm.ejs.sm.active.ActiveServletGroup.startAction(ActiveServletGroup.java:76)
at com.ibm.ejs.sm.active.ActiveObject.startObject(ActiveObject.java:686)
at com.ibm.ejs.sm.active.ActiveObject.start(ActiveObject.java:117)
at com.ibm.ejs.sm.active.ActiveObject.operateOnContainedObjects(ActiveObject.java:588)
at com.ibm.ejs.sm.active.ActiveServletEngine.startAction(ActiveServletEngine.java:60)
at com.ibm.ejs.sm.active.ActiveObject.startObject(ActiveObject.java:686)
at com.ibm.ejs.sm.active.ActiveObject.start(ActiveObject.java:117)
at com.ibm.ejs.sm.active.ActiveObject.operateOnContainedObjects(ActiveObject.java:588)
at com.ibm.ejs.sm.active.ActiveEJBServer.startAction(ActiveEJBServer.java:99)
at com.ibm.ejs.sm.active.ActiveObject.startObject(ActiveObject.java:686)
at com.ibm.ejs.sm.active.ActiveObject.start(ActiveObject.java:117)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ejs.sm.agent.AdminAgentImpl.activeObjectInvocation(AdminAgentImpl.java:93)
at com.ibm.ejs.sm.agent.AdminAgentImpl.invokeActiveObject(AdminAgentImpl.java:62)
at com.ibm.ejs.sm.agent._AdminAgentImpl_Tie._invoke(_AdminAgentImpl_Tie.java:73)
at com.ibm.CORBA.iiop.ExtendedServerDelegate.dispatch(ExtendedServerDelegate.java:506)
at com.ibm.CORBA.iiop.ORB.process(ORB.java:2381)
at com.ibm.CORBA.iiop.WorkerThread.run(WorkerThread.java:195)
at com.ibm.ejs.oa.pool.ThreadPool$PooledThread.run(ThreadPool.java:535)

Following is my Servlet code..

I have placed the property file in the proper directory.
I am trying to resolve this issue from last 2 days, but was not able to get through.. . Help is needed..
Thanks in advance..
Praveen.
[ August 23, 2004: Message edited by: Praveen Katti ]
20 years ago
Hi All,
That problem got solved,there was problem in my PBMMAKey class.

Thanks again.
Praveen.
Hi,
Thanks for the reply. As I told in my earlier mail, my other BMPs of same function also returns Eenumuration only, I am facing problem only with this BMP. I am using WebSphere 3.5 and using VAJ.

Thanks in advance,
Praveen..
Hi All,
I have written on extra BMP in my application, which is exactly same as of other BMP of same function. But when we are trying to execute the same we are getting the following exception.

Exception in getVehicleInfo method : javax.ejb.FinderException: com.ibm.ejs.persitence.EnumeratorException original exception:
java.lang.NullPointerException


I am attaching a piece of code for your reference which is throwing the exception.

We are able to getting this println message System.out.println(" Before return the keys..");. Just after that its throwing the exception. According the flow of code the nexe method which should get called is ejbLoad(), but its not happening.
Help is appreciated.
Thanks in adavance,
Praveen
Hi All,
Is it happens because of the Internet Explorer Version?, because on some of the machines it works fine where different version of Internet Explorer is running and in some it doesn't work because there is some other version. Advice Please

Thanks in Advance,
20 years ago
JSP
Hi,
I am attaching complete code

Thanks,

20 years ago
JSP
Hi All,
I am trying to forward to a jsp from my action handler using the following code, I am getting "java.lang.IllegalStateException: Cannot forward. Response already commited. (Servlet 2.3, SRV 8.4)" Exception. But the strange thing is its not coming in all the machines, some time it works, some time it does not.

My code is:
"request.getRequestDispatcher("AddRecord.jsp").forward( request, response );"
Help needed..

Thanks in advance,
Praveen

"request.getRequestDispatcher("AddRecord.jsp").forward( request, response );"
20 years ago
JSP