phanidharcool kaduluri

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

Recent posts by phanidharcool kaduluri

Thanks Cory. Your book is now on my "to be read List".
15 years ago
Hi Cory,

Can you provide the performance metrics of any real world SOA application with and with out "Software Pipelines".

Would like to know the transaction throughput Vs response time scenarios as well.


15 years ago
Hi Jacob,

If you are just starting on the Webservices take a look at CXF as well.

http://cxf.apache.org/


All the best.
15 years ago
Hi All
Got a problem in my appication.

While accessing my application i am getting some HTTP Status 404 exception in blank page.

Following is the exception stack trace.

09:36:11,277 INFO [STDOUT] java.rmi.NoSuchObjectException: Could not activate; failed to restore state; CausedByException is:
E:\Customer-projects\jboss\jboss-3.2.5\server\APP_TEST\tmp\sessions\EmagiaModel-epudjgb3-3\epv7r85i-w.ser (The system cannot find the file specified)
09:36:11,277 INFO [STDOUT] at org.jboss.ejb.plugins.AbstractInstanceCache.get(AbstractInstanceCache.java:116)
09:36:11,277 INFO [STDOUT] at org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessionInstanceInterceptor.java:205)
09:36:11,277 INFO [STDOUT] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
09:36:11,277 INFO [STDOUT] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
09:36:11,277 INFO [STDOUT] at org.jboss.ejb.StatefulSessionContainer.internalInvoke(StatefulSessionContainer.java:416)
09:36:11,277 INFO [STDOUT] at org.jboss.ejb.Container.invoke(Container.java:723)
09:36:11,277 INFO [STDOUT] at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source)
09:36:11,277 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
09:36:11,277 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324)
09:36:11,277 INFO [STDOUT] at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
09:36:11,277 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
09:36:11,277 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
09:36:11,277 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
09:36:11,277 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
09:36:11,277 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
09:36:11,277 INFO [STDOUT] at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:97)
09:36:11,277 INFO [STDOUT] at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:90)
09:36:11,277 INFO [STDOUT] at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
09:36:11,277 INFO [STDOUT] at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:53)
09:36:11,277 INFO [STDOUT] at org.jboss.proxy.ejb.StatefulSessionInterceptor.invoke(StatefulSessionInterceptor.java:104)
09:36:11,277 INFO [STDOUT] at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)
09:36:11,277 INFO [STDOUT] at $Proxy216.setCommand(Unknown Source)
09:36:11,277 INFO [STDOUT] at emagia.controller.FrontController.loadModelToView(FrontController.java:648)
09:36:11,277 INFO [STDOUT] at emagia.controller.FrontController.service(FrontController.java:298)
09:36:11,277 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
09:36:11,277 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
09:36:11,277 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
09:36:11,277 INFO [STDOUT] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
09:36:11,277 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
09:36:11,277 INFO [STDOUT] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
09:36:11,277 INFO [STDOUT] at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
09:36:11,277 INFO [STDOUT] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
09:36:11,277 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
09:36:11,277 INFO [STDOUT] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:72)
09:36:11,277 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
09:36:11,277 INFO [STDOUT] at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:275)
09:36:11,277 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
09:36:11,277 INFO [STDOUT] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
09:36:11,277 INFO [STDOUT] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
09:36:11,277 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
09:36:11,277 INFO [STDOUT] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
09:36:11,277 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
09:36:11,277 INFO [STDOUT] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
09:36:11,277 INFO [STDOUT] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
09:36:11,277 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
09:36:11,277 INFO [STDOUT] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
09:36:11,277 INFO [STDOUT] at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
09:36:11,277 INFO [STDOUT] at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
09:36:11,277 INFO [STDOUT] at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:297)
09:36:11,277 INFO [STDOUT] at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:371)
09:36:11,277 INFO [STDOUT] at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:731)
09:36:11,277 INFO [STDOUT] at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:663)
09:36:11,277 INFO [STDOUT] at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:859)
09:36:11,277 INFO [STDOUT] at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
09:36:11,277 INFO [STDOUT] at java.lang.Thread.run(Thread.java:534)


I know that the NosuchObjectException comes only in two situations

1... When we want to get data from entity beans and there is no corresponding record in DB table.

2.... when client made a call to session bean which has been (session)timedOut already.


The first point doesn't fit to my application...,and so i am left out with the second.In the web.xml the session-timeout flag is set to 60(i.e;1 hour)...will it be the only tag i need to set or there are any other configurations to be done for this session timeout period.


Also if there are any other scenarios exist in which this exception might occur...kindly let me know.


Any help will be greatly appreciated.

--Phani----
Hi All

I have an enterprise application which is deployed on Weblogic server.I have Integrated IIS with weblogic server and am routing the requests from IIS server to weblogic app server.My problem there is thread in my application which behaves mysteriously when i access the application thru the IIS interface.The thread behavior is perfect when i use my application with out IIS,but i have to use IIS for routing the the requests.

Kindly let me know whether there is any known reason for behavioral mismatch of the threads with IIS and with out IIS.


Any help will be greatly appreciated
Thanks in advance
Phanidhar
19 years ago

Originally posted by Carol Enderlin:
Did you try a google search.

First interesting hit I got:

Java Forums - Extract tar.Z file through java




Hi Carol

I have tried this one earlier but the problem is that we need to use an external libraries such as Java Tar lib by TrustIce.I wonder why there no support for tar files in java.

Any way thanx for ur quick response.

If you have any other information abt this kindly let me know.

Thanx
Phani
19 years ago
Hello all

I am trying to extract a .tar file using java.
Can java.util.jar class can be used for this.

I have tried using this library but it doesn't work.

Ant help will be greatly appreciated.

Thanx
Phani
19 years ago
Hi
Finally i was able to get rid of my problem thru shared libraries.
Thanks alot.

-Phani
19 years ago

Originally posted by emm raha:
WAS: Admin Console --> Environment --> Manage WebSphere Variables --> New
WSAD: Window --> Preferences --> Java --> Classpath Variables --> New

Once you've created the variable, you can add it to your project (Right Click --> Properties --> Java Build Path --> Add Variable). Not sure if this will help you access your text files thouugh.



Hi
i have tried adding it thru the Admin Console in the same way

Admin Console --> Environment --> Manage WebSphere Variables --> New

also restarted the server after adding the variable,but it doesn't
work

This is how am accessing the text files in my code.

this.getClass().getClassLoader().getResourceAsStream ("abc.txt");

hope this will give u a clear idea of my problem.

Note:I am not using WSAD
[ February 21, 2005: Message edited by: phanidharcool kaduluri ]
19 years ago
Hi all
Recently i have migrated from JBoss to Websphere5.1 and i am facing some problems in running my application that worked fine with the Jboss.
Problem is that i need to add something to the WebSphere's classpath and i was unable to do so .In Jboss i used do this by adding my application specific directory path to the JBOSS_CLASSPATH in the run.bat file and even in WEBLOGIC i was succeded to do so by adding the path to Welogic classpath in the startManagedWebLogic.bat.

Following will explain the problem clearly.

*I am placing some text files in some directory say APP_DIR.
and my application reads those files place in the directory.

*So to make available this directory to the application i used to add the
path of this directory say D:\APP_DIR to the app server's classpath.

*I was unable to do so in Websphere


Any help will be greatly appreciated.


Thanks in advance
Phani
19 years ago

Originally posted by kalpana Kumar:
I guess you can't run jsp's through apache unless the tomcat container is also running.
else u get the
org.apache.jasper.JasperException: Unable to compile class for JSP
I wonder if this'll help u out...


HI thanks for ur responsebut the tomcat container was active when i tried to run jsp.(i.e in one browser window i opened the page http://localhost:8080/manager/html and in another browser instance tried to run the jsp.)
Another thing servlets are perfectly running in my computer with tomcat webserver.
Hope u better understand my problem now.
If u have any solution plz send to me.
Thanks again
-phani
21 years ago
JSP
hello guys .My problem is with JSP.I have done jsp previously on iis webserver and i recently shifted to Tomcat server.My problem when ever i try to access a jsp page an error :
"can not compile class for jsp"
(also some kind of org.apache.exceptions occring)
plz tell me how to fix this.
21 years ago
JSP