Pinging remote server in servlet
hello guys. i hope one of you can help. I want to ping remote servers from within a servlet. anyone has any idea about how that can be achieved?. i have read that it is impossible to write a pure java application to do that. I am supposed to use java.lang.Runtime but not quite sure how to go about it...
please help
Thanks for your suggestions..
Basically, I am tring to ping several streaming servers to determine the time it takes to get a response packet. for more user friendliness, i have decided to do it via a jsp page which connects to a ser vlet. the actual "pingin" code is expected to reside in the servlet.
Sorry for not being clear enough in my previous post. I am not trying to test the availability of a servlet. I just want to ping a remote server and retrieve results from within a servlet and display them on another jsp page..
thanks
Similar Messages
-
Calling a method on a remote object to ping the server
I need a generic way of pinging a server to check if it is still there. Assuming I don't know the methods defined in the remote interface of the server, one way to achieve this would be to invoke one of the Object methods on the server and catch any exceptions. To do this I could call invoke on the RemoteRef interface, but this requires the opnum of the method, and I don't know what these are for the Object methods. Can anyone help, or suggest a better method for pinging the server ?
William
For example:
// my remote service
Remote service;
// obtain remote ref
RemoteRef ref = ((RemoteObject) service).getRef();
// invoke Object method e.g. hashCode
ref.invoke( ... );if you mean a real ping like windows/unix send from the ping command then it can not be done from jave. you can either connect to the echo port and test it that way or you would have to make a native call.
-
How to excute a servlet in a remote server?
I am having a Applet which calls a servlet which executes the bean to load data from database,
It is running in the local server fine, but when I try to run it in the remote server,
I deployed the war file in that server JBoss and run it through url
it is throwing this error
java.io.EOFException
at java.io.ObjectInputStream$PeekInputStream.readFully(Unknown Source)
at java.io.ObjectInputStream$BlockDataInputStream.readShort(Unknown Source)
at java.io.ObjectInputStream.readStreamHeader(Unknown Source)
at java.io.ObjectInputStream.<init>(Unknown Source)
at pdfViewer.filesegretest.getProvidersSer(filesegretest.java:4056)
at pdfViewer.filesegretest.init(filesegretest.java:279)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
what may be th error ?
Please help me, its urgentMabe you should post this in the serilization forum
-
HOW SERVLET CAN PING EJB SERVER
Hello,I am making servlet that should ping the server after every 30 secondes,so
I am interrested in how to configure web.xml,the general configuaration.Or maybe
a small example.If any server configuation have to be done for the pinging. thanksI don't understand your requirements. servlets are server-side objects
so presumably you're pinging some other server. If you want to do
something every 30 seconds, I would use a timer service.
-- Rob
zou wrote:
Hello,I am making servlet that should ping the server after every 30 secondes,so
I am interrested in how to configure web.xml,the general configuaration.Or maybe
a small example.If any server configuation have to be done for the pinging. thanks -
Application not working after deployment in remote server
I have a standard web application working in my localhost. But when I deploy the same in a remote server it gives the following exception. This happens for all the jsp:useBean. why is the container not able to fund the Beans. The Tomcat is installed properly and I use it's manager tool to deploy the WAR.
I checked the WEB-INF/lib directory and it has all the required JARs.
Error:
org.apache.jasper.JasperException: Exception in JSP: /test/CurWeatherBean.jsp:22
19: <a href="index.jsp">[ index ]</a>
20:
21: <h2>CurrentWeatherMapBean.ATOMICS</h2>
22: <jsp:useBean id="cwmDAO" class="com.news.pub.weather.CurWeatherBean$ATOMICS" scope="request"/>
23: <ul>
24: <li>
25: <h3>List<CurWeatherBean> get()</h3>
Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:506)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:395)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
java.lang.NullPointerException
com.news.pubt.forc.oc.Container.getReference(Container.java:68)
com.news.pubt.forc.cfg.PropertyBag.getBag(PropertyBag.java:80)
com.news.pubt.forc.cfg.PropertyBag.getProperty(PropertyBag.java:60)
com.news.pubt.atomicsbeans.impl.ATOMICSBean.<init>(ATOMICSBean.java:61)
com.news.pubt.atomicsbeans.ATOMICSAwareBean.<init>(ATOMICSAwareBean.java:175)
com.news.pubt.weather.CurWeatherBean$ATOMICS.<init>(CurWeatherBean.java:131)
org.apache.jsp.test.CurWeatherBean_jsp._jspService(CurWeatherBean_jsp.java:65)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)Please help me.
Edited by: danbrown on Feb 8, 2008 8:32 AMYour error stack refers to a class with the package sequence "com.news.pubt.weather....." but your jsp file refers to a class "com.news.pub.weather...
Is there an error in your jsp page? If so, did you change the package name, and do you still have old class files on the classpath on your local machine with the old name?
Anyway, the top of the error stack refers to line number 68 in the Container class. So that is where you should see a problem regarding the NullPointerExcpetion. You could post that line of code. -
Urgent Help Required For Starting RMI server from servlet.
I am currently working on rmi project.
I want to send request to remote machine(Web host) where my application is from desktop client .For that we are using RMI.
I am writing servlet and inside it i am binding object to registry for rmi server.
which will be deployed on remote server.
code ....
Registry reg;
reg=LocateRegistry.createRegistry(1099);
Server server=new Server("server");//class whose remote object to be accessed
//extends unicast remote object.Implement ServerInt interface which extends Remote.
reg.bind("server",server);
When i am trying to access this object i am getting following exception.
javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalExcepti
on: error unmarshalling return; nested exception is:
java.lang.ClassNotFoundException: ServerModule.ServerInt]
at com.sun.jndi.rmi.registry.RegistryContext.lookup(Unknown Source)
at com.sun.jndi.toolkit.url.GenericURLContext.lookup(Unknown Source)
at javax.naming.InitialContext.lookup(Unknown Source)
at RequstReplication.main(RequstReplication.java:27)
Caused by: java.rmi.UnmarshalException: error unmarshalling return; nested excep
tion is:
java.lang.ClassNotFoundException: ServerModule.ServerInt
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
... 4 more
Caused by: java.lang.ClassNotFoundException: ServerModule.ServerInt
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at sun.rmi.server.LoaderHandler.loadProxyInterfaces(Unknown Source)
at sun.rmi.server.LoaderHandler.loadProxyClass(Unknown Source)
at sun.rmi.server.LoaderHandler.loadProxyClass(Unknown Source)
at java.rmi.server.RMIClassLoader$2.loadProxyClass(Unknown Source)
at java.rmi.server.RMIClassLoader.loadProxyClass(Unknown Source)
at sun.rmi.server.MarshalInputStream.resolveProxyClass(Unknown Source)
at java.io.ObjectInputStream.readProxyDesc(Unknown Source)
at java.io.ObjectInputStream.readClassDesc(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
... 5 more
I can access naming enumeration of registry and object bound to it.
by following program.I shows corect objects.
Context namingContext=new InitialContext();
NamingEnumeration<NameClassPair> e=namingContext.list("rmi:");
while(e.hasMore())
System.out.println(e.next().getName());
While when i start RMI server from simple java program i can access these objects from registry.
I am not getting what is problem problem.Is there any other way to send request?
Plese give quick response.I am currently working on rmi project.
I want to send request to remote machine(Web host) where my application is from desktop client .For that we are using RMI.
I am writing servlet and inside it i am binding object to registry for rmi server.
which will be deployed on remote server.
code ....
Registry reg;
reg=LocateRegistry.createRegistry(1099);
Server server=new Server("server");//class whose remote object to be accessed
//extends unicast remote object.Implement ServerInt interface which extends Remote.
reg.bind("server",server);
When i am trying to access this object i am getting following exception.
javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalExcepti
on: error unmarshalling return; nested exception is:
java.lang.ClassNotFoundException: ServerModule.ServerInt]
at com.sun.jndi.rmi.registry.RegistryContext.lookup(Unknown Source)
at com.sun.jndi.toolkit.url.GenericURLContext.lookup(Unknown Source)
at javax.naming.InitialContext.lookup(Unknown Source)
at RequstReplication.main(RequstReplication.java:27)
Caused by: java.rmi.UnmarshalException: error unmarshalling return; nested excep
tion is:
java.lang.ClassNotFoundException: ServerModule.ServerInt
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
... 4 more
Caused by: java.lang.ClassNotFoundException: ServerModule.ServerInt
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at sun.rmi.server.LoaderHandler.loadProxyInterfaces(Unknown Source)
at sun.rmi.server.LoaderHandler.loadProxyClass(Unknown Source)
at sun.rmi.server.LoaderHandler.loadProxyClass(Unknown Source)
at java.rmi.server.RMIClassLoader$2.loadProxyClass(Unknown Source)
at java.rmi.server.RMIClassLoader.loadProxyClass(Unknown Source)
at sun.rmi.server.MarshalInputStream.resolveProxyClass(Unknown Source)
at java.io.ObjectInputStream.readProxyDesc(Unknown Source)
at java.io.ObjectInputStream.readClassDesc(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
... 5 more
I can access naming enumeration of registry and object bound to it.
by following program.I shows corect objects.
Context namingContext=new InitialContext();
NamingEnumeration<NameClassPair> e=namingContext.list("rmi:");
while(e.hasMore())
System.out.println(e.next().getName());
While when i start RMI server from simple java program i can access these objects from registry.
I am not getting what is problem problem.Is there any other way to send request?
Plese give quick response. -
JSP back-end interface to Remote server. Please help the newbie
Could someone comment on pros and cons of the JSP back-end interfaces to the remote server/programs using..
(1) Socket Interface between JSP and Remote Server. One socket for one JSP session. JSP to create and delete the socket when done.
(2) RMI between JSP and Remote program.
(3) Message Exchange using JMS between JSP and the Remote Server.
(4) Peer-to-peer JAXM message exchange. JSP/JAXM Client to Remote JAXM Server
(5) Anything else?
Thanks in advance..(1) Socket Interface between JSP and Remote Server.
One socket for one JSP session. JSP to create and
delete the socket when done.JSPs are compiled to servlets, which use the HTTP protocol. The remote server should be the servlet/JSP engine.
(2) RMI between JSP and Remote program.As soon as you say "JSP", you're assuming HTTP request/response. If you want to talk to RMI objects, I think that's best done elsewhere than a JSP. They really should be for interface only. Have your JSP talk to a central, front controller servlet and have it invoke methods that deal with RMI objects or EJBs or POJOs on the back end. That stuff doesn't belong in JSPs, IMO.
(3) Message Exchange using JMS between JSP and the Remote Server.No.
(4) Peer-to-peer JAXM message exchange. JSP/JAXM
Client to Remote JAXM ServerNo. This is crazy. JSP = HTTP, which is client/server by definition.
(5) Anything else?All these might be fine options, but they don't belong in JSPs. Those should be for Web interface, a thin client. The details of how you process (e.g., RMI vs. EJB, synchronous vs. asynchronous, etc.) are best encapsulated somewhere else besides a JSP.
HTTP is a client/server, synchronous, request/response protocol, of course. As soon as you say JSP, these assumptions are built into your system. You can do asynchronous processing, but you still have to send back a response synchronously (e.g., "Your order is being processed. Please come back.") -
Error while deploying the application to remote server
Dear All,
I am trying to deploy the application to remote server directly from jdeveloper ide.The server is on LAN and installed on other PC,I can also access the console and login correctly to console. After doing application server connection and testing the connection it gives me following error.
Testing JSR-160 Runtime ... failed.
Cannot establish connection.
Testing JSR-160 DomainRuntime ... skipped.
Testing JSR-88 ... skipped.
Testing JSR-88-LOCAL ... skipped.
Testing JNDI ... skipped.
Testing JSR-160 Edit ... skipped.
Testing HTTP ... success.
Testing Server MBeans Model ... skipped.
1 of 8 tests successful.WebLogic Server Version: 10.3.2.0.
Regards,
Santosh.
Component Version
================================================
ADF Business Components 11.1.1.59.23
Java(TM) Platform 1.6.0_21
Oracle IDE 11.1.1.4.37.59.23
Versioning Support 11.1.1.4.37.59.23Hi All,
At-last the deployment started but it gave following error.
[05:44:10 PM] Deploying Application...
[05:44:12 PM] [Deployer:149193]Operation 'deploy' on application 'Cibil_ViewController_webapp1' has failed on 'AdminServer'
[05:44:12 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application Cibil_ViewController_webapp1 on AdminServer.: Failed to load webapp: 'Cibil_ViewController_webapp1.war'.
[05:44:12 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'Cibil_ViewController_webapp1.war'
[05:44:12 PM] Caused by: java.lang.ClassNotFoundException: oracle.adf.model.servlet.ADFBindingFilter
[05:44:12 PM] See server logs or server console for more details.
[05:44:12 PM] weblogic.application.ModuleException: Failed to load webapp: 'Cibil_ViewController_webapp1.war'
[05:44:12 PM] #### Deployment incomplete. ####
[05:44:12 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)any idea ??
Regards,
santosh -
Error while accessing WebServices from remote Server
Hi Friends,
I am trying to access webservice located on a remote server.But I am getting the following eror...
stackTrace -*- java.lang.NullPointerException
at org.apache.axis.message.MessageElement.addTextNode(MessageElement.java:1396)
at org.apache.axis.message.SOAPHandler.addTextNode(SOAPHandler.java:148)
at org.apache.axis.message.SOAPHandler.endElement(SOAPHandler.java:112)
at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
at weblogic.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:585)
at weblogic.apache.xerces.impl.XMLNamespaceBinder.handleEndElement(XMLNamespaceBinder.java:898)
at weblogic.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceBinder.java:644)
at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1008)
at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1469)
at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:329)
at weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)
at weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)
at weblogic.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at weblogic.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175)
at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:135)
at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:138)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:695)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at org.apache.axis.wsa.WSAHandler.processClientResponse(WSAHandler.java:82)
at org.apache.axis.wsa.WSAHandler.invoke(WSAHandler.java:41)
at org.apache.axis.client.AxisClient.invokeTransport(AxisClient.java:154)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:289)
at org.apache.axis.client.Call.invokeEngine(Call.java:2838)
at org.apache.axis.client.Call.invoke(Call.java:2824)
at org.apache.axis.client.Call.invoke(Call.java:2501)
at org.apache.axis.client.Call.invoke(Call.java:2424)
at org.apache.axis.client.Call.invoke(Call.java:1835)
at com.bofa.crme.ccs.proxy.PartyOrchestratorPortStub.login(PartyOrchestratorPortStub.java:1236)
at com.bofa.pbes.cedrelay.Utils.loginPartyOrchService(Utils.java:251)
at com.bofa.pbes.cedrelay.Utils.loginCMWService(Utils.java:212)
at com.bofa.pbes.cedrelay.RelayServlet.init(RelayServlet.java:59)
at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:993)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:869)
at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:848)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:787)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:518)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:362)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
Please give your guidance...
Thanks and Regards...Hi Friends,
I solved it.It was because of old jar files.Then I replaced it and every thing started working fine.
Thanks and Regards.. -
Error while accessing page in remote server
Dear All,
When i deployed the application in remote server and accessed the page from client side it gives the following error in log and displays the message 'And error occured at server and prevented it from servicing the request'
<Jan 5, 2011 7:17:03 PM IST> <Error> <HTTP> <BEA-101020> <[ServletContext@423553
27[app:TMS_application1 module:tms path:/tms spec-version:2.5]] Servlet failed w
ith Exception
java.lang.NullPointerException
at oracle.adf.model.binding.DCIteratorBinding.executeQueryIfNeeded(DCIte
ratorBinding.java:2127)
at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DC
BindingContainer.java:3185)
at oracle.adf.model.binding.DCBindingContainer.refreshControl(DCBindingC
ontainer.java:2877)
at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContaine
r.java:2863)
at oracle.adfinternal.controller.util.model.DataBindingActivityImpl.befo
reExecute(DataBindingActivityImpl.java:108)
Truncated. see log file for complete stacktrace
>
<Jan 5, 2011 7:17:03 PM IST> <Notice> <Diagnostics> <BEA-320068> <Watch 'Uncheck
edException' with severity 'Notice' on server 'AdminServer' has triggered at Jan
5, 2011 7:17:03 PM IST. Notification details:
WatchRuleType: Log
WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'BEA-101020') OR (MSGID = 'BEA-101
017') OR (MSGID = 'BEA-000802'))
WatchData: DATE = Jan 5, 2011 7:17:03 PM IST SERVER = AdminServer MESSAGE = [Ser
vletContext@42355327[app:TMS_application1 module:tms path:/tms spec-version:2.5]
] Servlet failed with Exception
java.lang.NullPointerException
at oracle.adf.model.binding.DCIteratorBinding.executeQueryIfNeeded(DCIte
ratorBinding.java:2127)
at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DC
BindingContainer.java:3185)
at oracle.adf.model.binding.DCBindingContainer.refreshControl(DCBindingC
ontainer.java:2877)
at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContaine
r.java:2863)
at oracle.adfinternal.controller.util.model.DataBindingActivityImpl.befo
reExecute(DataBindingActivityImpl.java:108)
at oracle.adfinternal.controller.engine.ControlFlowEngine.executeActivit
y(ControlFlowEngine.java:969)
at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(Cont
rolFlowEngine.java:878)
at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(Cont
rolFlowEngine.java:777)
at oracle.adfinternal.controller.engine.ControlFlowEngine.invokeTaskFlow
(ControlFlowEngine.java:242)
at oracle.adfinternal.controller.application.RemoteTaskFlowCallRequestHa
ndler.invokeTaskFlowByUrl(RemoteTaskFlowCallRequestHandler.java:99)
at oracle.adfinternal.controller.application.RemoteTaskFlowCallRequestHa
ndler.doCreateView(RemoteTaskFlowCallRequestHandler.java:64)
at oracle.adfinternal.controller.application.BaseRequestHandlerImpl.crea
teView(BaseRequestHandlerImpl.java:57)
at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.creat
eView(ViewHandlerImpl.java:95)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(Li
fecycleImpl.java:572)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(L
ifecycleImpl.java:280)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(Lifecyc
leImpl.java:177)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run
(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri
tyHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
a:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.j
ava:191)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter
(RegistrationFilter.java:97)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterL
istChain.doFilter(TrinidadFilterImpl.java:420)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter
.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterL
istChain.doFilter(TrinidadFilterImpl.java:420)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilt
erImpl(TrinidadFilterImpl.java:247)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilte
r(TrinidadFilterImpl.java:157)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFi
lter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:31
3)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUt
il.java:414)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:1
38)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsF
ilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.doIt(WebAppServletContext.java:3684)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:3650)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS
ervletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC
ontext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j
ava:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] Execu
teThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101
020 MACHINE = JOG002157 TXID = CONTEXTID = dcc2d4e25c73ce5e:9039d9:12d5668ad5a:
-7ff4-000000000000003b TIMESTAMP = 1294235223232
WatchAlarmType: AutomaticReset
WatchAlarmResetPeriod: 30000
>
So can any one tell me whats the problem. ?You got an NEP on the server, which points to either a misconfiguration of the server (is hte adf runtime installed?) or an error in your app.
What did you deploy? an EAR? Are the connections configured correctly? Have you check other logs on the remote server?
Which jdev Version? Which remote server?
Timo -
Integration Broker - PTool 8.50 - Pinging remote node errors out
Hi! I am trying to configure default local nodes on HCM 9.1 and FSCM 9.1, both systems have PeopleTools 8.50.
HCM 9.1 is installed on Windows 7 Home Premium. DB is Oracle 10g
FSCM 9.1 is installed on Windows 2003 server. DB is Oracle 10g
Problem:
=====
When I ping remote node from HCM 9.1 it displayes the following message
“PeopleSoftTargetConnector - The application server is down (or not responding). Check AppServer URL.”
When I ping the remote node from FSCM 9.1 then I get the following message:
“PSFT Authentication token failed for Node PSFT_HR. (158,454)”
Setup Details:
=========
Here are steps I followed on both systems:
FSCM 9.1. side :
=========
1.Defined local gateway. http://<My-Machine B>:/PSIGW/PeopleSoftListeningConnector When I ping it from Gateway page, it shows it is active.
2.Renamed default node PSFT_EP to PSFT_TRN. Before renaming ran the appmsgpurgeall.dms script from <PS_HOME>\scripts\ to make sure there are no references to PSFT_EP in runtime tables. This is PS supplied dms script and they recommend to run this script before renaming any node (It should be done at the initial setup time).
3.On the Node page, PSFT_TRN node is defined as default node. Specified the default user Id as ‘PTINT’ the common User id created by cloning ‘VP1’. On the ‘Connectors’ tab Gateway ID is ‘LOCAL’ and connector id is ‘PSFTTARGET’. From the ‘Connectors’ tab Pinged the PSFT_TRN node and it was pinged successfully.
4.On Gateway Properties page, defined "APP Server URL" as ‘<Machine Name B>:9000, user Id/pwd as ‘PTINT’ and tool release as ‘8.50’.
5.Defined PSFT_TRN node, with APP Server URL as ‘<Machine Name B>:9000, user Id/pwd as ‘PTINT’ and tool release as ‘8.50’. When I ping this node, it is pinged successfully.
6.Inserted another node PSFT_HR, with APP Server URL as ‘<Machine Name A>:9000, user Id/pwd as ‘PTINT’ and tool release as ‘8.50’. When I ping PSFT_HR node from this page I get the following error:
“PSFT Authentication token failed for Node PSFT_HR. (158,454)”
HCM 9.1. side:
=========
1.Defined local gateway. http://<My-Machine A>:/PSIGW/PeopleSoftListeningConnector. When I ping it from Gateway page, it shows it is active.
2.On the Node page made sure ‘PSFT_HR’ node is default and active. Specified the default user Id as ‘PTINT’ the common User id created by cloning ‘PS’. On the ‘Connectors’ tab Gateway ID is ‘LOCAL’ and connector id is ‘PSFTTARGET’. From the ‘Connectors’ tab clicked on ‘Ping Node’ button for PSFT_HR node and it was pinged successfully.
3.On Gateway Properties page, defined "APP Server URL" as '<Machine Name A>:9000', user Id/pwd as ‘PTINT’ and tool release as ‘8.50’.
4.Defined PSFT_TRN node, with "APP Server URL" as ‘<Machine Name B>:9000', user Id/pwd as ‘PTINT’ and tool release as ‘8.50’. When I ping this node, the following message is displayed:
“PeopleSoftTargetConnector - The application server is down (or not responding). Check AppServer URL.”
Basically, I am unable to ping remote node on both systems. Local node ping successfully on both systems.
Has any one encountered similar problem and found a solution?
Thanks
Raj
Edited by: 865522 on Jun 13, 2011 2:18 PMYes, I could ping both machines from each other.
Here is the host file contents from Windows 7:
127.0.0.1 localhost
::1 localhost
127.0.0.1 activate.adobe.com
192.168.1.106 RAJ-PC
Here is from Window 2003 server:
127.0.0.1 localhost
192.168.1.100 saroja
Both nodes are listed under PeopleTools>Security Objects> Single Signon
Both nodes are secured with userid/pwd on Node page.
One of my machine had fire wall on, so I swtiched the fire wall off. Now machine A can ping both nodes but machine B can ping only local node. Pinging remote node displays "User name not defined in database".
Raj
Edited by: Raj on Jun 13, 2011 11:37 PM -
Getting image path from database( Remote server) & display in jsp page
hai frnds,
i have one doudt regarding in my web application Development
. I want to Getting image path from database( **Remote server**) & display in jsp page here iam forwarding my control through Servlets
how this will passiable
Thanks in Advance
SonyKamesh
[email protected]hai
I think ur doubt will be...
1) Getting a Image From Remote Server( & U stored a only path name in Data Base)
2) Image r stroed in saparate Drive( Not in Webroot-- where u Created domine )
Please Any Help Will be Appriciated
[email protected]
Edited by: Sonykamesha on Dec 18, 2007 11:02 PM -
Can access a remote server from all locations except from my house
This is a very weird problem.
My home ISP is Xplornet. This is a rural "fixed wireless" set-up (antenna on the roof connected to the Xplornet modem). The Xplornet modem is connected to a Belkin router. The router connects wirelessly to my laptop.
The remote server (the office server) is connected to an Apple airport. The ISP is Bell, and we have a static IP.
Before we moved, I was with Rogers (cable Internet service). While with Rogers, I could connect remotely to my office server using the AFP protocol.
Now, here's the weird problem: Now that I am with Xplornet, I can connect to my server remotely from any location EXCEPT my house. I can go to a Starbucks and connect to my server. I can go on vacation in the U.S. and use the local WiFi to connect to my server. But I CANNOT connect from my house to the remote server.
I have spoken to Xplornet and they say it's an Apple problem (which is what every non-Apple tech always seems to say). Or, perhaps, they say, it's the local dealer (Sentel Communications).
Sentel says I need to pay for a static IP for my home (Huh?). Why would I need to pay for a static IP at home just so I can connect OUT to a remote server?
Is this somehow related to the Belkin router not letting me "out"?
Any thoughts and advice would be greatly appreciated.Thanks for responding, Bob.
Below is the result of my Ping attempt, and port scans. I scanned 548, and 5003, which I use for FileMaker (which works fine from home), I don't use screen sharing. (I can confirm that both 548 and 5003 are open on Airport on the host machine.)
So, from my home (remote) location, here's what I get (IP: 74.xx.xxx.xx):
--- 74.xx.xxx.xx ping statistics ---
10 packets transmitted, 10 packets received, 0% packet loss
round-trip min/avg/max/stddev = 57.126/91.371/185.774/45.549 ms
Scan of port 5003
Port Scan has started ...
Port Scanning host: 74.xx.xxx.xx
Open TCP Port: 5003 fmpro-internal
Port Scan has completed ...
Scan of port 548
Port Scan has started ...
Port Scanning host: 74.xx.xxx.xx
Port Scan has completed ...
So, 5003 is OK, 548 is not. I have to conclude this is related to my home ISP in some way?
Unfortunately, the host server is running 10.3 (don't ask), which is not supported by Logmein. (I do use Logmein for a Windows machine on the same network, and I can connect to one area of the server via the PC, but not to the part I need, which might be the subject of a future thread.)
Regardless, being able to connect to my work server remotely from every location EXCEPT from my home is infuriating.
I just saw this thread about an ISP that has blocked port 548, although I always assumed the ports had to be open on the host side, but maybe not? (I have to confess, I do find the port stuff confusing.)
If my home ISP blocks 548, then I guess that would prevent me from remotely accessing the server from home?
If that is the case, is port 548 the only AFP option? -
Load Balancing remote server in CSS11800
I configure to loadbalance remote server.
----------------Network Diagram-----------------
user-SW--CSS11800---CoreSW----BBSW----server1
.......................................................................|-----server2
configuration CSS11800
service server1
ip address 192.168.10.1
active
service server2
ip address 192.168.10.2
active
owner Vserver
content L3_rule
vip address 192.168.100.100
add service server1
add service server2
active
group out-bound-NAT-vserver
vip address 192.168.100.100
add service server1
add service server2
active
User can connect server1 with telnet.
User can connect server2 with telnet.
User can't connect Vserser(192.168.100.100) witch telnet.
Ping is successful to Vserver from user.
why can't connect to Vserver?
Any configuration is need remote server loadbalance?Hey,
Good to hear this.. So the issue was asymetric routing. The add destination service is used to NAT the soure ip in the packets which come to the vip and are destined to the servers. The CSS changes the source ip to the ip of the VIP (which is specified in the group). For the server, the client's ip is the ip of the CSS and it replies back to the CSS and not directly to the original client.
Here is a link which you can go through.. :-)
http://www.cisco.com/en/US/partner/products/hw/contnetw/ps789/products_configuration_example09186a0080093dff.shtml
Cheers!!!
Sagar -
Bdc performance in "No screen" mode, on slow network, on remote server.
Hi,
We have created a bdc program in ABAP.
say, our servers are installed in US. and our users are trying to execute bdc by uploading a data file from UK.
consider that the connectivity(network) between our US office and UK office is not so goood.
i understand that the upload of the data file will take time. but after the upload, for bdc execution, how the bdc performance gets impacted by the network performance.
if we execute the bdc in All screen mode, i am convinced that the bdc will definetly will take a long time to execute, becasue UK user needs to press "Enter" several no. of times, and so many pings will happen to the server.
if we execute the bdc in No Screen mode, does it meen it is completely background process.
i mean in this case also, is the screen info passed to and from between the server(US) and the sapgui(UK).
or
once the data upload is over, in No Screen mode, the entire activity is done in server, and the control comes back to sapgui at the end.
We have put some logs, and we found that most of the time is taken by the CALL TRANSACTION statement
CALL TRANSACTION 'PP01' USING it_bdcdata
is there any other points to improve the bdc execution on a remote server.
thanks in advance,
Madhu_1980Hi Sandra ,
Thanks for your suggestion throiugh the link.
Had checked the trouble shooting for BDC : but the scenario in which i experienc eth eproblem is little different.
Well the Interface to create vendors was working perfectly in ALL Screen as well as NO-SCREEN mode.
But a small requirement seem to change its execution.
The Interface had a commented code snippet : retrieve email address from ADR6 table. Now according to the new requirement this code snippet needs to be utilized. So i uncommented that and duly passed th etable entries into the concerned screen (the code for that screen aldready exsits in the recording but not utilized since the retrieval was commented)
Collects the email address for any vendor from ADr6 table
Moderator message - Please respect the 2,500 character maximum when posting. Post only the relevant portions of code
now for linking the above created vendor, FK02 BDC is maintained. In this BDC the payment transaction screen is used to link payee vendors (above created vendor) at company code level for any principal vendors (selected from lfa1 and lfb1 table). So only two screens for linking .
this entire code was working perfect in both A mode and N mode but after including the ADR6 code snippet i dont find teh similar execution in N mode.
Could you please guide me where could i ahve made some mistake.
thanks
Kylie
Edited by: kylietisha on Jun 6, 2010 5:27 PM
Edited by: kylietisha on Jun 6, 2010 5:42 PM
Edited by: Rob Burbank on Jun 6, 2010 4:33 PM
Maybe you are looking for
-
Performance Tunning in weblogic
Hi All, Can you please tell me about performance tunning in weblogic server in simple way to understand. I have gone through Pdf's but some what difficult to understand . Thanks Balaji kumar
-
Rc.d script in AUR for each daemon of interest?
Hello everyone, first let me apologize if this has been asked before, but I couldn't find it with google and the forums search. What would you guys (especially the devs) think of creating an additional AUR package for every daemon of interest with an
-
at least i'm not alone. could somebody please tell me how to uninstall itunes 7? thanks in advance.
-
My computer keeps going to power saving mode and swithing off
''dupe of https://support.mozilla.org/en-US/questions/918076'' as above
-
Media Browser freezes everything in Keynote 3 (& Pages3)
I just loaded up iWork '06 and iLife '06 and have installed all the latest updates. When I finally got started on my project (due this week, of course), I discovered that my Media Browser totally hangs Keynote. I get an intermittent spinning beach ba