[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how do u send messages through jsp pages



virag gokani wrote:
> 
> hi
> 
> my problem is i am not able to send messages from jsp pages, every time i do that ,  i get the following error -- I am using weblogic and jdk1.3 for my development , please help me on this issue .
> 
> i do have xmlbalster.properties and orb.properties files copied to java home and weblogic home directories.

If webloginc has problems with orb.properties, send me a mail
and i will build a new release which has not got the need for 
orb.properties any more.

> 
> regards
> virag
> 
> Error :
> 
> Property: filenName=xmlBlaster.properties, scanSystemProperties=true, args=null,
>  replaceVariables=true
> Property: Loaded C:\weblogic\xmlBlaster.properties
> Property: No args array given.
> Property: Replacing 'Persistence.Path=${user.home}/tmp' to 'C:\WINNT\Profiles\Ad
> ministrator.000/tmp'

You should use the new xmlBlaster.properties.template from xmlBlaster
0.79
as a base, which ha no hardcoded slash '/' any more, but

   Persistence.Path=${user.home}${file.separator}tmp

which is more portable (Win/UNIX).


> Sat Nov 11 11:27:24 GMT+05:30 2000:<W> <HttpClient> Couldn't open connection
> java.net.ConnectException: Connection refused: no further information
>         at java.net.PlainSocketImpl.socketConnect(Native Method)
>         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:312)
>         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:125)
>         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:112)
>         at java.net.Socket.<init>(Socket.java:273)
>         at java.net.Socket.<init>(Socket.java:127)
>         at weblogic.net.http.HttpClient.openServer(HttpClient.java:162)
>         at weblogic.net.http.HttpClient.openServer(HttpClient.java:221)
>         at weblogic.net.http.HttpClient.<init>(HttpClient.java:85)
>         at weblogic.net.http.HttpClient.New(HttpClient.java:117)
>         at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:97
> )
>         at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.
> java:256)
>         at java.net.URL.openStream(URL.java:798)
>         at org.xmlBlaster.client.CorbaConnection.getAuthenticationServiceIOR(Cor
> baConnection.java:761)
>         at org.xmlBlaster.client.CorbaConnection.getAuthenticationService(CorbaC
> onnection.java:418)
>         at org.xmlBlaster.client.CorbaConnection.loginRaw(CorbaConnection.java:5
> 42)
>         at org.xmlBlaster.client.CorbaConnection.login(CorbaConnection.java:526)
> 
>         at org.xmlBlaster.client.CorbaConnection.login(CorbaConnection.java:477)
> 
>         at rediff.ecom.oms.SendMessage.login(SendMessage.java:33)
>         at jsp_servlet._oms._sendmessage._jspService(_sendmessage.java:79)
>         at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
>         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
> pl.java:105)
>         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
> pl.java:123)
>         at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
> textImpl.java:742)
>         at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
> textImpl.java:686)
>         at weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
> ContextManager.java:247)
>         at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
> a:361)
>         at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
> 
>         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
> 
> Nov 11, 2000 11:27:26 AM WARN  CorbaConnection-srch: XmlBlaster not found on hos
> t 192.168.0.74 and port 7609. Trying to find a naming service ...

The client can't find the xmlBlaster server on host 192.168.0.74,
which is offering the CORBA IOR on port 7609.
Is there any xmlBlaster server running, can a standalone client connect
to
xmlBlaster?

If have just tried a JSP access with tomcat,
it works fine,
you can check it out with cvs under 

  xmlBlaster/demo/javaclients/jsp

regards,

Marcel
-- 
Marcel Ruff
mailto:ruff at swand.lake.de
http://www.lake.de/home/lake/swand/
http://www.xmlBlaster.org