Ok, this is what I'm trying to do, I shall send a post with https.
When I do this I get a:
java.net.MalformedURLException: unknown protocol: https
at java.net.URL.<init>(URL.java:480)
at java.net.URL.<init>(URL.java:376)
at java.net.URL.<init>(URL.java:330)
at com.vsmarket.util.ssl.SSLPost.sendPost(SSLPost.java:96)
at com.vsmarket.util.ssl.SSLPost.checkTransaction(SSLPost.java:30)
at jsp_servlet._ve._merchantPuchase._jspService(_merchantPuchase.java:174)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:123)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:761)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:708)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:252)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:346)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:246)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:135)
And this I dont't get when I'm using my testclient in JBuilder. I'm
using jdk 1.3.1, so I have added the jsse.jar, jnet.jar and jcert.jar
file to my applicationserver(Weblogic 5.1). So then I tested to change
my jdk to the 1.4.1, and then I didn't get the MalformedURLException
no more, BUT my application dosn't work any good with that version, so
I need to use 1.3.1.
Hope that anyone can give me a hint what can be wrong.
Regards
/Magnus
My guess is that jsse etc weren't actually being picked up - test that
they're there using some classloaders etc.
--
Jon Skeet - <sk...@pobox.com>
http://www.pobox.com/~skeet/
If replying to the group, please do not mail me too
No I have already controlled that. I've tested to remove my jsse.jar
from my classloader, and then it complained on my imports, so my jsse
is being picked upp correctly.
Regards
/Magnus
No, that's only showing that they're being picked up by the *compiler* -
that doesn't mean they're being picked up by the *runtime* JVM.
Ok, I understand, but now I tested to create an instance of the class
SSLException which exist in my jsse.jar file, and it worked fine when
I used some methods in it. So I think that it should be ok!?
/Magnus