Shivani Patel

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

Recent posts by Shivani Patel

Hi,
Im working on Swing Application in which data ll be stored in XML. And on some user Event i wnt to Sync those files on my server through Authorization.
Many client Applications ll be distributed to the different areas. And thre will be n number of clients updating n number of files to the server.
It is not finalized but may be JRun will be used as an Application Server.
So how should i upload this files to the server. through FTP, Http and how should i go for it.
And yes offcurse before uploading files ineed to check that which files are current (Changed on client side), and only those file s ineed to update on server whch r changed.
Performance is key issue,because this activity wll be mostly for 2-3 mnts in a year , and as somany client apps wll be updtng files contnusly on the server.
And also authentication is importnt.
Previously ihd workd on web applicatin ,which ws havng same functionality, but it ws one file from JSP file. I hd used Orielly s servlet in tht. But now its a Applicatin client and the files will be more.
Thanks
22 years ago
Hi ,
This is a Design issue.
I am working on web application in which one user requires to navigate around 50 avg pages. And on each and every page there are arnd 10 fields.
And each value from 1st page to last page requires in between the pages for calculations and for editing purposes.
So my question is where should i save this data ? which users has entered on 1st page and other subsequent pages. In
1) Session
2) File
3) Database (For Temporary purpose)
4) XML
5) Any other
There will be maximum arnd 100 alive users.
And the finally at last the data will not be stored in to the database, but in to the XML file.
Say if im selecting Session then more n more memory will be accupied by unnecessary data,
which is not a effiecient way. But as the data will be of arnd 1 MB per user i think that can be
managable from the application server point of view.
If 2 File (I/O)
The memory use by application server will be less.
If 3 Database
As the data is not required to stored in DB and in between we are not going to use the
Database features why unnecessary store the data and increase the network traffic between
app server and DB.
If 4 XML
If i use DOM then what will be the size of memory? I think it will be the same as of Session (1 MB DOM size per user).

But here comes the question of the best solution.
What will be the Best?
22 years ago
JSP
I have some doubts in following questions from ICE:
1) Which of the following ports should be locked down from use to ensure that DB2 is not accessible from a network?

a) 51000

b) 9000

c) 45000

d) 50000

2)
A WebSphere Application Server connects to DB2 which sits behind a firewall. Which of the following ports should be open in the firewall?


a) 50000

b) 5000

c) 90000

d) 9001

3) (Select 2) The WebSphere adminstrator has applied Fixpak 1, Fixpak 2, then Fixpak3, and lastly an e-fix to a WebSphere Application Server. Due to unforeseen circumstances, the system must be restored to the Fixpak 2 level. To achieve this, the administrator must:


a) use the uninstall_ptf3.sh (Unix) or uninstall_ptf3.bat (Intel) commands to remove the Fixpak 3 level.

b) reinstall the Fixpak 2.

c) reinstall the efix.

d) uninstall the efix.

4)(Select 2) A deployment descriptor (DD) contains configuration data that the run-time environment uses for an application. The DD can include information about which of the following?


a) The structure and content of the application

b) References to internal dependencies of the application

c) References to resource factory objects

d) Security roles that the container uses when implementing the required authentication policy for the application
5)
In order to install and configure the IBM WebSphere Application Server product, some platforms require that the user have certain OS privileges. Which document might an Administrator consult in order to find these requirements for a particular platform?

a) Getting Started with WebSphere Application Server, Version 4.0

b) WebSphere 3.x Release Notes

c) Introduction to WebSphere Application Server, Version 4.0

d) The IBM WebSphere V3 Performance Tuning Guide Redbook

e) IBM WebSphere InfoCenter
Thanks Kyle,
i must appreciate u'r sincere guidence extended towards me, thanks a lot for such a nice helping hands.U'r solution seems to be of very much valuables to me, not to be defined on words, and i hope for the same again in near future .
Will be right back to you if any other problem.
23 years ago

Originally posted by Kyle Brown:
Your first question (which is best, zSeries, iSeries, pSeries) is unanswerable. Each customer has different requirements. If you're a big mainframe customer, then obviously zSeries would be right for you. If you're a huge Unix shop, then pSeries might be better. WebSphere runs to the upper limit of the capacity of each machine type. But different customers like different OS's for different reasons, which is why IBM sells all of the different kinds of hardware.
As to your second question, IHS is perfectly suited for production applications. I'm not sure where you saw that it wasn't but that's certainly not true.
Kyle


Hi Kyle,
Thanks
I am looking out for an ASP setup on win2k.My application is a distributed J2EE application which will be having firewall in the front(checkpoint)
And my HTTP Server and Application server will be on Different machines . so Could you please suggest me abt the Hardware requirement of HTTP Server as well as WAS SErver.
My application will be having arnd 500 users (Not Concurrent).And 15 concurrent users at at time.
Waiting for your reply.
Thanks
23 years ago

Originally posted by Tony Chen:

It's the very first link in this page !!!


Thanks Tony
It is the minimum requirement ,i want production based requirement.
And one more question that one can use IBM Http Server which comes with WAS as a web server in production Becuase earlier i had seen somewhere that it is not for production use (IHS).
And which one is best iSeries ,zSeries and which is the best series among this or anyother.
Thanks again.
23 years ago
Hi All,
I want to know about the Hardware requirement for WAS Advanced Edition 4.0 .
I had already gone through with the following link ,. but it doesnt says abt the hardware requirment for the production based system.
Installation prerequisites
Thanking You
23 years ago
Hi ,
While running the deployed application i am getting the following error. what can be the cause of problem???
org.omg.CORBA.BAD_PARAM: Servant is not of the expected type. minor code: 0 completed: No
at com.ibm.rmi.corba.ClientDelegate.servant_preinvoke(ClientDelegate.java:754)
at org.omg.CORBA.portable.ObjectImpl._servant_preinvoke(ObjectImpl.java:213)
at com.nextgen.security._MuserHome_Stub.findByUsername(_MuserHome_Stub.java:456)
at com.nextgen.security.MuserAccessBean.findByUsername(MuserAccessBean.java:64)
at loginValidate_jsp_1._jspService(loginValidate_jsp_1.java:97)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:139)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:286)
at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:415)
at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:544)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:827)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:159)
at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:286)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:106)
at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:472)
at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:1012)
at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:913)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:499)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:278)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:105)
at com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:67)
at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:123)
at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:122)
at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:315)
at com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.java:60)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:313)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:242)
at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)
The flow of calling entity bean is as under:
1) loginValidate.jsp
2)com.nextgen.security.MuserAccessBean
i)findByUsername
3)Entity Bean com.nextgen.security.Muser
Where could be the problem here in client side or server side???
Thanks in advance.

------------------
Shivani Patel,
N InfoNET Pvt. Ltd
23 years ago
Hi ,
Im currently working on VAJ 4.0
In that when im defining datasource in Websphere Test Environment, it is giving followint error ::::
An error has occurred . Cannot retrieve DataSource list from the initial context.
If the Persistent Name Server has not been started,please start it now.
com.ibm.ivj.control.node.InitialContextNotFoundException :Unable to create create initial context
javax.naming.NoInitialContextException: Cannot instantiate class : com.ibm.ejs.CNInitialContextFactory [Root exception is java.lang.ClassCastException]
The persistent server is started. and as itis starting successfully it is finding oracle drive successfully.
What can be the problem. Ihd just installed the vaj 4.0 aftere installing WinNT 4.0.

------------------
Shivani Patel,
N InfoNET Pvt. Ltd
23 years ago

Originally posted by Kyle Brown:
I could use a little more inofrmation about what exception you're getting that information isn't included in your post -- could you add some code to print the exception (just ne.toString() world work) and maybe to a ne.printStackTrace() so that we can see what exception you're getting and then post that here?
Kyle


Here is the stackTrace :::
javax.ejb.EJBException: Exception in getConnectionjdbc/ORANTNEW
at com.next.analysis.utility.AnalysisContext.getConnection(AnalysisContext.java:38)
at com.next.security.SecurityMasterBean.ejbCreate(SecurityMasterBean.java:37)
at com.next.security.EJSBMPSecurityMasterHomeBean.create(EJSBMPSecurityMasterHomeBean.java:45)
at com.next.security.EJSRemoteBMPSecurityMasterHome.create(EJSRemoteBMPSecurityMasterHome.java:25)
at com.next.security._SecurityMasterHome_Stub.create(_SecurityMasterHome_Stub.java:241)
at com.next.security.SecurityMasterAccessBean.instantiateEJB(SecurityMasterAccessBean.java:135)
at com.next.security.SecurityMasterAccessBean.getPassword(SecurityMasterAccessBean.java:202)
at SecurityMasterHTMLResults_jsp_0._jspService(SecurityMasterHTMLResults_jsp_0.java:271)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:139)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:286)
at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:415)
at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:544)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:827)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:159)
at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:286)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:106)
at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:472)
at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:1012)
at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:913)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:499)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:278)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:105)
at com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:67)
at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:123)
at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:122)
at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:315)
at com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.java:60)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:313)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:242)
at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)
Thanks Kyle
Waiting for Your reply.

------------------
Shivani Patel,
N InfoNET Pvt. Ltd
23 years ago
Hi everybody,
I am currently working on VAJ 3.5.3 and deploying my application in WAS 4.0. It is having one HTML page as Input and JSP PAGE as output page.
HTML page is callng JSP and in taht I am using ACCESS BEAN and that access bean is instatiating EJB(BMP).
In create method it is getting initial context and after getting context it is getting connection from datasource. where it is getting problem.
I am defining datasource in WAS 4.0 by that name but still it is givng problem.
The code is something like this :::
public java.sql.Connection getConnection() throws java.lang.Exception {
try {
javax.naming.Context jndiContext = getInitialContext();
System.out.println("Get initial context in connection caling datasource");
problem is here int between this comment
/*
DataSource ds = (DataSource) jndiContext.lookup("jdbc/ORANTNEW");
*/
System.out.println("Got the Datasource" + ds.toString());
return ds.getConnection("ejsadmin","ejsadmin");
} catch(Exception ne) {
System.out.println("Exception in getConnection");
throw new javax.ejb.EJBException("Exception in getConnection" +ne.getMessage());
}
}
After getting the initial context it is giving error on connection . it is giving following message::
javax.ejb.EJBException: Exception in getConnectionjdbc/ORANTNEW
at com.next.analysis.utility.AnalysisContext.getConnection(AnalysisContext.java:38)
Now wht is the problem here. I hd cheked the following things ::
1) Defined Datasource in Resources in JDBC Providers as ORANTNEW.
2) Defined In ResourceReference of that EJB (BMP) as ORANTNEW as javax.sql.DataSource type. (FROM AAT)
3) Even at last ihd given default datasource of that installed EJB in Administrators console as ORANTNEW.
I m missing somethin here or wht is the problem???
------------------
Shivani Patel,
N InfoNET Pvt. Ltd
23 years ago