hrishikesh deodhar

Greenhorn
+ Follow
since Feb 27, 2007
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 hrishikesh deodhar

no, these are the classes that were designed and coded by us...
we are using a V5r2 native driver to connect to the AS400 database...
and i dont know why it is doing that to only a single application....
it works fine when we are querying the database but then it bombs when we try to do an insert..
i searched on the SQL state on the iSeries documentation
and the 7008 asks for the journaling to be on.
now i am not sure if this is what i am supposed to do, is it a datasource issue or an issue with rights on the table..
I am trying to fire an insert statement from within the webapplication
and i am getting the following error

ca.kraft.util.manager.data.sql.exception.DatabaseQueryException: SQLException performing query[INSERT INTO xlibemfcrp/WEBTO (sourceWarehouseId,sourceWarehouseName,wtoType,criteriaLocation,criteriaPONumber,criteriaReleaseNumber,creationDate,creatorId,creatorName,status) values (?,?,?,?,?,?,?,?,?,?)] using args[[CO, COBOURG WAREHOUSE, 2, WTO0606, Null sql type:1, Null sql type:1, 2007-06-06 14:08:27.715, MOSCHOP, Moschovas, Philip, In Preparation]],
Exception[
com.ibm.db2.jdbc.app.DB2DBException: WEBTO in XLIBEMFCRP not valid for operation.],
Message[WEBTO in XLIBEMFCRP not valid for operation.],
SQLState[55019],
ErrorCode[-7008].].

i dont know what this is, can anybody tell me?
i am having a problem..
i created an application server on Websphere 5.1 which runs out of an AS400 system... I have deployed an application on the app server which was created...
and when i start the server, the console says that the server is open for ebusiness, i.e. the server starts up properly...
now when i try to access the URL.. i get a page not displayed HTTP 404 error.
The sad part is even the log files are not getting updated...
my guess is that the server request was not done.....

Is there anything that i will have to check for this to work... the code is compiled, the deployment is successful, the server starts up fine but there is no connection and no log updated...
16 years ago
i got the solution to this problem, i changed the BOOTSTRAP PORT in the admin console and this server started up fine...
16 years ago
I have created an application server and have deployed 2 applications under it... but when i start the server.. This is the error trace that i am getting....

[5/31/07 17:39:28:378 EST] e928356f NameServerImp E NMSV0011E: Unable to start bootstrap server using port 2811. Verify that no servers or other processes are already using the bootstrap server port. Also verify that the bootstrap server is being started with a user ID which has sufficient (e.g., root, Administrator) privileges.
org.omg.CORBA.INTERNAL: CREATE_LISTENER_FAILED_4 vmcid: 0x49421000 minor code: 56 completed: No
[5/31/07 17:39:35:315 EST] e928356f WsServer E WSVR0003E: Server CoMansSrv failed to start
com.ibm.ws.exception.RuntimeError: Unable to initialize the Name Service
at java.lang.Throwable.<init>(Throwable.java:195)
at java.lang.Exception.<init>(Exception.java:41)
at com.ibm.ws.exception.WsException.<init>(WsException.java:106)
at com.ibm.ws.exception.RuntimeError.<init>(RuntimeError.java:22)
at com.ibm.ws.naming.bootstrap.NameServerImpl.start(NameServerImpl.java:462)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:246)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:153)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:260)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.ibm.ws.bootstrap.WSLauncher.run(WSLauncher.java:222)
at java.lang.Thread.run(Thread.java:534)
Caused by: com.ibm.ws.naming.distcos.NameSpaceConstructionException: Unable to start bootstrap server using port 2811. Verify that no servers or other processes are already using the bootstrap server port. Also verify that the bootstrap server is being started with a user ID which has sufficient (e.g., root, Administrator) privileges.
at java.lang.Throwable.<init>(Throwable.java:195)
at java.lang.Exception.<init>(Exception.java:41)
at com.ibm.ws.exception.WsException.<init>(WsException.java:106)
at com.ibm.ws.naming.distcos.NameSpaceConstructionException.<init>(NameSpaceConstructionException.java:37)
at com.ibm.ws.naming.bootstrap.NameServerImpl.startBootstrapService(NameServerImpl.java:736)
at com.ibm.ws.naming.bootstrap.NameServerImpl.start(NameServerImpl.java:457)
... 10 more
Caused by: org.omg.CORBA.INTERNAL: CREATE_LISTENER_FAILED_4 vmcid: 0x49421000 minor code: 56 completed: No
at java.lang.Throwable.<init>(Throwable.java:195)
at java.lang.Exception.<init>(Exception.java:41)
at java.lang.RuntimeException.<init>(RuntimeException.java:43)
at org.omg.CORBA.SystemException.<init>(SystemException.java:82)
at org.omg.CORBA.INTERNAL.<init>(INTERNAL.java:96)
at com.ibm.ws.orbimpl.transport.WSTransport.createListener(WSTransport.java:714)
at com.ibm.ws.orbimpl.transport.WSTransport.createListener(WSTransport.java:619)
at com.ibm.rmi.iiop.TransportManager.createListener(TransportManager.java:159)
at com.ibm.rmi.iiop.ORB.createListener(ORB.java:867)
at com.ibm.CORBA.iiop.ORB.createListener(ORB.java:3467)
at com.ibm.rmi.iiop.BootstrapServer.<init>(BootstrapServer.java:112)
at com.ibm.rmi.iiop.ORB.createBootstrapServer(ORB.java:876)
at com.ibm.CORBA.iiop.ORB.createBootstrapServer(ORB.java:3518)
at com.ibm.ws.naming.bootstrap.NameServerImpl.createBootstrapServer(NameServerImpl.java:784)
at com.ibm.ws.naming.bootstrap.NameServerImpl.startBootstrapService(NameServerImpl.java:729)
... 11 more
---- Begin backtrace for nested exception
com.ibm.ws.naming.distcos.NameSpaceConstructionException: Unable to start bootstrap server using port 2811. Verify that no servers or other processes are already using the bootstrap server port. Also verify that the bootstrap server is being started with a user ID which has sufficient (e.g., root, Administrator) privileges.
at java.lang.Throwable.<init>(Throwable.java:195)
at java.lang.Exception.<init>(Exception.java:41)
at com.ibm.ws.exception.WsException.<init>(WsException.java:106)
at com.ibm.ws.naming.distcos.NameSpaceConstructionException.<init>(NameSpaceConstructionException.java:37)
at com.ibm.ws.naming.bootstrap.NameServerImpl.startBootstrapService(NameServerImpl.java:736)
at com.ibm.ws.naming.bootstrap.NameServerImpl.start(NameServerImpl.java:457)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:246)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:153)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:260)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.ibm.ws.bootstrap.WSLauncher.run(WSLauncher.java:222)
at java.lang.Thread.run(Thread.java:534)
Caused by: org.omg.CORBA.INTERNAL: CREATE_LISTENER_FAILED_4 vmcid: 0x49421000 minor code: 56 completed: No
at java.lang.Throwable.<init>(Throwable.java:195)
at java.lang.Exception.<init>(Exception.java:41)
at java.lang.RuntimeException.<init>(RuntimeException.java:43)
at org.omg.CORBA.SystemException.<init>(SystemException.java:82)
at org.omg.CORBA.INTERNAL.<init>(INTERNAL.java:96)
at com.ibm.ws.orbimpl.transport.WSTransport.createListener(WSTransport.java:714)
at com.ibm.ws.orbimpl.transport.WSTransport.createListener(WSTransport.java:619)
at com.ibm.rmi.iiop.TransportManager.createListener(TransportManager.java:159)
at com.ibm.rmi.iiop.ORB.createListener(ORB.java:867)
at com.ibm.CORBA.iiop.ORB.createListener(ORB.java:3467)
at com.ibm.rmi.iiop.BootstrapServer.<init>(BootstrapServer.java:112)
at com.ibm.rmi.iiop.ORB.createBootstrapServer(ORB.java:876)
at com.ibm.CORBA.iiop.ORB.createBootstrapServer(ORB.java:3518)
at com.ibm.ws.naming.bootstrap.NameServerImpl.createBootstrapServer(NameServerImpl.java:784)
at com.ibm.ws.naming.bootstrap.NameServerImpl.startBootstrapService(NameServerImpl.java:729)
... 11 more
---- Begin backtrace for nested exception
org.omg.CORBA.INTERNAL: CREATE_LISTENER_FAILED_4 vmcid: 0x49421000 minor code: 56 completed: No
at java.lang.Throwable.<init>(Throwable.java:195)
at java.lang.Exception.<init>(Exception.java:41)
at java.lang.RuntimeException.<init>(RuntimeException.java:43)
at org.omg.CORBA.SystemException.<init>(SystemException.java:82)
at org.omg.CORBA.INTERNAL.<init>(INTERNAL.java:96)
at com.ibm.ws.orbimpl.transport.WSTransport.createListener(WSTransport.java:714)
at com.ibm.ws.orbimpl.transport.WSTransport.createListener(WSTransport.java:619)
at com.ibm.rmi.iiop.TransportManager.createListener(TransportManager.java:159)
at com.ibm.rmi.iiop.ORB.createListener(ORB.java:867)
at com.ibm.CORBA.iiop.ORB.createListener(ORB.java:3467)
at com.ibm.rmi.iiop.BootstrapServer.<init>(BootstrapServer.java:112)
at com.ibm.rmi.iiop.ORB.createBootstrapServer(ORB.java:876)
at com.ibm.CORBA.iiop.ORB.createBootstrapServer(ORB.java:3518)
at com.ibm.ws.naming.bootstrap.NameServerImpl.createBootstrapServer(NameServerImpl.java:784)
at com.ibm.ws.naming.bootstrap.NameServerImpl.startBootstrapService(NameServerImpl.java:729)
at com.ibm.ws.naming.bootstrap.NameServerImpl.start(NameServerImpl.java:457)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:246)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:153)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:260)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.ibm.ws.bootstrap.WSLauncher.run(WSLauncher.java:222)
at java.lang.Thread.run(Thread.java:534)

[5/31/07 17:39:35:588 EST] e928356f WsServer E WSVR0009E: Error occurred during startup

i tried out checking if i can change the ports or anything, but to no avail... can anybody tell me how to fix this problem..
16 years ago
Appreciate the reply.. This forum is great.. there is always someone to guide and answer....
Thankyou very much merrill..
16 years ago
i have an application server setup in 5.1 and i have 2 EARS deployed under that... Now, the second EAR is the authentication module which is used by all applications....
my problem here is....

I access the webapp1 and on entering the site i ask the user credentials by forwarding him to webapp2. I set the security to form authentication in the first webapp...
the security for the second webapp is basic and there is a realm name specified... My problem here is....
when the user is about to be forwarded to the authentication module there is a windows popup which has the realm name on it and is asking for the user name and the password...
so basically what i feel is
that the authentication module is also accessed as if it were secure, but that should not be the case... It should be accessed by all applications coz that is what will evaluate the credentials and forward the user to the asked URL...
has anyone faced an issue like this?
16 years ago
I have a jsp and there is a submit button on it... .
On click of the submit button i create a thread in the action class...
and do an insert in the database... after this, the user is forwarded to another jsp...

this is working fine when the user clicks the submit button once...
but before the user is forwarded to another jsp, if the user clicks multiple times on the submit button... the insert happens multiple times.....

Does the struts framework allow multiple submits to the same action class on click of the submit button...
16 years ago
I am forwarding to another jsp.. so where would the nesting error be.. just because i am not getting any stack trace which mentions the jsp which has produced this error...

<HTML>
<HEAD>

</HEAD>
<BODY bgcolor="white">
<%System.out.println("Reched here ----------------------------------------------------------------------------");%>
<jsp:forward page="/startup.do?start=0"></jsp:forward>
<TABLE border="0" width="100%" >
<TBODY>
<TR>
<TD colspan="2" height="200"> </TD>
</TR>
<TR>
<TD colspan="2" align="center"><FONT size="+2">Here<BR>
Sales Information Grouping Maxtrix</FONT></TD>
</TR><TR>
<TD id="entered" colspan="2" align="center"
style="cursor: hand; font-size: 30; color: navy"></TD>
</TR>
</TBODY>
</TABLE>

<P><BR>
</P>
</BODY>
</HTML>
16 years ago
I dont know why i am getting this error..
I had a web application which was using J2ee 1.2 and i migrated to 1.3 using the WSAD J2EE migrate wizard.. i migrated my webserver from 4.0 to 5.1 as well..
now i am getting an error when my jsp is called... i dont know what it is all about.. but before this error comes.... i have a message that says...

Resource reference jdbc/APS could not be located, so default values of the following are used: [Resource-ref settings]
here the jdbc/aps is my jndi name and i guess this is something related to the datasource connection

E SRVE0026E: [Servlet Error]-[End of content reached while more parsing required: tag nesting error?]: org.apache.jasper.compiler.ParseException: End of content reached while more parsing required: tag nesting error?
at org.apache.jasper.compiler.JspReader.popFile(JspReader.java:293)
at org.apache.jasper.compiler.JspReader.hasMoreInput(JspReader.java(Compiled Code))
at org.apache.jasper.compiler.Parser.parse(Parser.java:1119)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1113)
at org.apache.jasper.compiler.Parser$Tag.accept(Parser.java:902)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1155)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1113)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1109)
at org.apache.jasper.compiler.ParserController.parse(ParserController.java:344)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:240)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:129)
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.loadJSP(JspServlet.java:939)
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:285)
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:321)
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:675)
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:773)
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.ServicingServletState.service(StrictLifecycleServlet.java:333)
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:948)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:530)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:176)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1056)
at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:388)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
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:948)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:530)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:176)
at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:498)
at org.apache.jsp._load._jspService(_load.java:80)
at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:357)
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:675)
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:773)
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:948)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:530)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:176)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:201)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:114)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:186)
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:610)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:435)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)
16 years ago
OK, Here is the situation..

I need to create a popup on click of a link.. and display some data on that poppedup jsp...

Now, here is what i did..
I created a hyperlink on the existing page.. looks something like this...
<a href="" on click="displayPopup();">Display FLevel data</a>
now.. on click of this link, the javascrip function opens a window using

window.showModalDialog("DisplayFLevel.do","","Page");

using this...
i call the action class DisplayFLevel.do and fetch the data i want to show it on the jsp and forward it to a jsp...
i am using tiles..
now once i close the poppedup jsp.. the parent window gets submitted to the context root of the web application.. and i have no idea why it is doing that...
16 years ago