tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Krause" <BKra...@tickets.com>
Subject Anyone have JCE Problems With Tomcat and Apache??
Date Thu, 22 Jun 2000 21:09:17 GMT
Hello,
 We are using Tomcat 3.1 and Apache 1.12 on Solaris and are having problems
with our JCE. It seems the first time someone uses the piece of servlet code
that references the javx.crypto.* package the following message appears:

Error: 500
Location: /buy/EventInfo
Internal Servlet Error:

java.lang.ExceptionInInitializerError: java.lang.SecurityException: Cannot
set up certs for trusted CAs
	at java.lang.Throwable.fillInStackTrace(Native Method)
	at java.lang.Throwable.fillInStackTrace(Compiled Code)
	at java.lang.Throwable.(Compiled Code)
	at java.lang.Exception.(Compiled Code)
	at java.lang.RuntimeException.(RuntimeException.java:47)
	at java.lang.SecurityException.(SecurityException.java:39)
	at
	at javax.crypto.Cipher.getInstance(Compiled Code)
	at com.tickets.util.common.TdcCipher.(TdcCipher.java:93)
	at com.tickets.util.common.TdcCipher.getInstance(TdcCipher.java:115)
	at com.tickets.util.common.TdcCipher.getInstance(TdcCipher.java:165)
	at com.tickets.application.order.OrderKey.toCookie(OrderKey.java:116)
	at com.tickets.presentation.EventInfo.populateOrderInfo(Compiled Code)
	at
com.tickets.presentation.EventInfo.populateEventInfoPage(EventInfo.java:974)
	at com.tickets.presentation.EventInfo.populatePage(EventInfo.java:927)
	at com.tickets.presentation.EventInfo.doGet(EventInfo.java:136)
	at com.tickets.presentation.EventInfo.doPost(EventInfo.java:164)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
	at javax.servlet.http.HttpServlet.service(Compiled Code)
	at org.apache.tomcat.core.ServletWrapper.handleRequest(Compiled Code)
	at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:597)
	at
org.apache.tomcat.servlets.InvokerServlet.service(InvokerServlet.java:257)
	at javax.servlet.http.HttpServlet.service(Compiled Code)
	at org.apache.tomcat.core.ServletWrapper.handleRequest(Compiled Code)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
	at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
(Ajp12ConnectionHandler.java:156)
	at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338
)
	at java.lang.Thread.run(Thread.java:479)

 This same servlet and JSP runs with out this error under WebLogic 4.51 with
the same environment and class paths.

Thanks,
Bob Krause
bkrause@tickets.com


Mime
View raw message