Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!

Uma Mahi

Ranch Hand
+ Follow
since Jan 11, 2006
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 Uma Mahi

I am using web services. I am getting the following exception, When i tried to send the SOAP message . I didn't find any fault in code. because the webservice is working fine in my local system, I deployed my application in remote unix box, There only i am getting the following exception..


DEBUG [http.HTTPSender] Enter: HTTPSender::invoke

2006-07-19 04:18:30,569 DEBUG [http.HTTPSender] java.net.ConnectException: Connection timed out

2006-07-19 04:18:30,576 DEBUG [axis.SOAPPart] Enter: SOAPPart ctor(FORM_FAULT)

2006-07-19 04:18:30,577 DEBUG [i18n.ProjectResourceBundle] org.apache.axis.i18n.resource::handleGetObject(setMsgForm)

2006-07-19 04:18:30,577 DEBUG [axis.SOAPPart] Setting current message form to: FORM_FAULT (currentMessage is now org.apache.axis.AxisFault)

2006-07-19 04:18:30,577 DEBUG [axis.SOAPPart] Exit: SOAPPart ctor()

2006-07-19 04:18:30,577 DEBUG [i18n.ProjectResourceBundle] org.apache.axis.i18n.resource::handleGetObject(exception00)

2006-07-19 04:18:30,581 DEBUG [client.AxisClient] Exception:

2006-07-19 04:18:30,588 DEBUG [utils.NSStack] NSPush (32)

2006-07-19 04:18:30,590 DEBUG [i18n.ProjectResourceBundle] org.apache.axis.i18n.resource::handleGetObject(empty00)

2006-07-19 04:18:30,591 DEBUG [utils.NSStack] NSPop (empty)

AxisFault

faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException

faultSubcode:

faultString: java.net.ConnectException: Connection timed out

faultActor:

faultNode:

faultDetail:

{http://xml.apache.org/axis/}stackTrace: java.net.ConnectException: Connection timed out

at java.net.PlainSocketImpl.socketConnect(Native Method)

at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)

at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)

at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)

at java.net.Socket.connect(Socket.java:452)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(DashoA12275)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.<init>(DashoA12275)

at com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket(DashoA12275)

at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:130)

at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:157)

at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:114)

at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)

at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)

at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)

at org.apache.axis.client.AxisClient.invoke(AxisClient.java:180)

at org.apache.axis.client.Call.invokeEngine(Call.java:2564)

at org.apache.axis.client.Call.invoke(Call.java:2553)

at org.apache.axis.client.Call.invoke(Call.java:2248)

at org.apache.axis.client.Call.invoke(Call.java:2171)

at org.apache.axis.client.Call.invoke(Call.java:1691)

at com.sforce.soap.enterprise.SoapBindingStub.login(SoapBindingStub.java:1663)

at net.juniper.leads.connector.LeadsSFConnector.postData(LeadsSFConnector.java:53)

at net.juniper.leads.facade.LeadsFacade.sendSFData(LeadsFacade.java:502)

at net.juniper.leads.action.LeadsRegistrationAction.saveLeadAndContactInfo(LeadsRegistrationAction.java:593)

at net.juniper.leads.action.LeadsRegistrationAction.execute(LeadsRegistrationAction.java:392)

at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)

at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)

at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)

at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)

at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)

at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)

at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)

at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)

at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6724)

at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)

at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)

at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)

at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)

at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)





java.net.ConnectException: Connection timed out

at org.apache.axis.AxisFault.makeFault(AxisFault.java:129)

at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:131)

at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)

at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)

at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)

at org.apache.axis.client.AxisClient.invoke(AxisClient.java:180)

at org.apache.axis.client.Call.invokeEngine(Call.java:2564)

at org.apache.axis.client.Call.invoke(Call.java:2553)

at org.apache.axis.client.Call.invoke(Call.java:2248)

at org.apache.axis.client.Call.invoke(Call.java:2171)

at org.apache.axis.client.Call.invoke(Call.java:1691)

at com.sforce.soap.enterprise.SoapBindingStub.login(SoapBindingStub.java:1663)

at net.juniper.leads.connector.LeadsSFConnector.postData(LeadsSFConnector.java:53)

at net.juniper.leads.facade.LeadsFacade.sendSFData(LeadsFacade.java:502)

at net.juniper.leads.action.LeadsRegistrationAction.saveLeadAndContactInfo(LeadsRegistrationAction.java:593)

at net.juniper.leads.action.LeadsRegistrationAction.execute(LeadsRegistrationAction.java:392)

at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)

at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)

at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)

at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)

at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)

at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)

at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)

at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)

at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6724)

at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)

at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)

at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)

at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)

at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

Caused by: java.net.ConnectException: Connection timed out

at java.net.PlainSocketImpl.socketConnect(Native Method)

at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)

at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)

at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)

at java.net.Socket.connect(Socket.java:452)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(DashoA12275)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.<init>(DashoA12275)

at com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket(DashoA12275)

at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:130)

at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:157)

at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:114)

... 34 more

2006-07-19 04:18:30,594 DEBUG [i18n.ProjectResourceBundle] org.apache.axis.i18n.resource::handleGetObject(toAxisFault00)

2006-07-19 04:18:30,594 DEBUG [axis.enterprise] Mapping Exception to AxisFault

2006-07-19 04:18:30,594 DEBUG [utils.NSStack] NSPush (32)
14 years ago
Guess the problem in your file name

Check the file name

calculator.java

or

Calculator.java.
14 years ago
<!DOCTYPE dwr PUBLIC "-//GetAhead Limited//DTD Direct Web Remoting 1.0//EN" "http://www.getahead.ltd.uk/dwr/dwr10.dtd">;
<dwr>
<allow>
<create creator="new" javascript="">
<param name="class" value=""/>
</create>
</allow>
</dwr>
14 years ago
check this link.

here
14 years ago
you can use DBCP from org.apache.tomacat.DBCP...But first, you have to configure the JNDI DataSource in Tomcat by adding a declaration for the resource to server.xml file.


and configure your JNDI reference.

you have to insert a <resource-ref> tag into the web.xml deployment descriptor file.

you have to set the <listener> tag for registering a ServletContextListener as shown below:
14 years ago
Guess javascript methods. What is u r problem?
go the ant.batch file and change the path there, default path will be there. u have to change where u r ant recides
realised

14 years ago
May be problem with u r struts.jar file. extract u r jar file and check the "BaseTag.class" file. If it is not available dowload a fresh jar file from here
14 years ago
After submiting a form it will go the web.xml from there it will go the struts-config.xml.

In struts-config.xml file it will go the action tag first from there it will recognize the form-bean and will set the appropriate values for the submitted form.
14 years ago
chck this:

http://www.allapplabs.com/struts/struts_internationalization.htm

after selecting the particular locale you can use Resourcebundle to load a particular property file for the selected zone
14 years ago
Use Struts. Struts 1.1 handles this automatically.

or else try this
download http://www.servlets.com/cos/index.html
invoke getParameters() on com.oreilly.servlet.MultipartRequest
14 years ago
Use Struts. Struts 1.1 handles this automatically.

or else try this
1. download http://www.servlets.com/cos/index.html
2. invoke getParameters() on com.oreilly.servlet.MultipartRequest
14 years ago