You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Tad Frysinger <tf...@earthlink.net> on 2002/02/13 06:06:31 UTC
tomcat 4.0.2 and weblogic 6.1 conflict?
Has anyone gotten this to work - i.e. processing jsp/servlet with tomcat
that use EJB's deployed in weblogic 6.1?
We are banging our heads against the wall bigtime on this.
We tried to use the petstore.war that ships with WebLogic and are
running into a variety of weird problems. The latest is I am getting a
"method not found" error when I try and execute very simple .jsp file:
<%@ page import="javax.naming.*" %>
<%@ page import="java.util.Hashtable" %>
<%@ page import="java.util.Enumeration" %>
<html>
<head>
<title>
Context
</title>
</head>
<body>
<%
out.println("<h2>System java.naming.factory.initial = " +
System.getProperty("java.naming.factory.initial") + "</h2>");
out.println("<h2>System java.naming.provider.url = " +
System.getProperty("java.naming.provider.url") + "</h2>");
out.println("<h2>System java.naming.security.principal = " +
System.getProperty("java.naming.security.principal") + "</h2>");
out.println("<h2>System java.naming.security.credentials = " +
System.getProperty("java.naming.security.credentials") + "</h2>");
out.println("<h2>Servlet Context java.naming.factory.initial = " +
getServletContext().getInitParameter ("java.naming.factory.initial") +
"</h2>");
out.println("<h2>Servlet Context java.naming.provider.url = " +
getServletContext().getInitParameter ("java.naming.provider.url") +
"</h2>");
out.println("<h2>Servlet Context java.naming.security.principal = "
+ getServletContext().getInitParameter
("java.naming.security.principal") + "</h2>");
out.println("<h2>Servlet Context java.naming.security.credentials =
" + getServletContext().getInitParameter
("java.naming.security.credentials") + "</h2>");
Hashtable table = ctx.getEnvironment();
out.println("Environment for InitialContext is: <p>");
for (Enumeration keys = table.keys(); keys.hasMoreElements(); ) {
Object o = keys.nextElement();
out.println(" " + o + ": " + table.get(o) + "<p>" );
}
%>
</body>
</html>
I think there is some kind of conflict between the classes in
weblogic.jar, and those in tomcat. Any ideas?
Thanks.
Tad
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>