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: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>