Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

error while invoking axis AdminService in weblogic 8.1.3 environment

shanmugam vairavan
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I created a simple jsp which invoke the axis AdminService

This is my jsp

<%@ page import="" %>

String host = null ; // -h also -l (url)
String port = null ; // -p
String servlet = null ; // -s also -f (file)
String protocol = null ;
String systemProperty = System.getProperty("java.protocol.handler.pkgs");

System.out.println("System Property = " + systemProperty);
/*String addedProperty = systemProperty + "|org.apache.axis.transport";
System.out.println("Added Value = " + addedProperty);

System.setProperty("java.protocol.handler.pkgs", addedProperty);
System.out.println("System Property = " + systemProperty);*/

URL url = new URL( "local:///AdminService" );
host = url.getHost();
port = "" + url.getPort();
servlet = url.getFile();
protocol = url.getProtocol();
System.out.println("URL = " + url);

then i have packed the jsp as war file , the war file contain axis and its related jar , ant it also has weblogic.xml with the
and the war file contains a MANIFEST.MF which has all the classpath for axis jar inside the war.

when i hit the jsp i am getting this error at weblogic 8.1.3 console.

System Property = org.apache.axis.transport|weblogic.utils|weblogic.utils|weblog
<Jan 30, 2005 2:47:20 PM IST> <Error> <HTTP> <BEA-101019> <[ServletContext(id=29
189676,name=test,context-path=/test)] Servlet failed with IOException unknown protocol: local
at jsp_servlet.__admin._jspService(
at weblogic.servlet.jsp.JspBase.service(
at weblogic.servlet.internal.ServletStubImpl$
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
at weblogic.kernel.ExecuteThread.execute(


But if i set the classpath for all the jar in StartWeblogic.cmd it works fine , and iam getting the output.

is there any other way to invoke the AdminService without setting the classpath externally.

plz help me in solving the error.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic