This is only a guess from looking at the stack trace, but have you
checked that you have enough registry space?  (On Windows NT go to Control
Panels -> System Properties -> Performance Tab -> Change Button (Virtual
Memory section), its at the bottom of the screen).  Also, is there enough
drive space on the disk?

        Randy

-----Original Message-----
From: Dennis Drugan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 14, 2000 10:38 AM
To: '[EMAIL PROTECTED]'
Subject: TOMCAT and COM


Has anyone had success invoking a COM object from Tomcat (running under
jview, with the COM wrappers provided by J++)?  I get a stacktrace as seen
below.  I have been temporarily able to get around the problem by switching
the threading model for the COM object from "Both" to "Apartment" (or
"Free", or "Neutral"), but this "solution" will ultimately cause problems.
Perhaps there is a tomcat worker switch that I can alter?

Please mail any comments to [EMAIL PROTECTED]

Thanks,
-Dennis Drugan


Here is the error:

Error: 500
Location: /CustomerProfiler/servlet/SlangHarness
Internal Servlet Error:
com.ms.com.ComError: Failed creation of stxreg/RegistryInfo because
CoCreateInstance of CLSID {0A32D87D-CE51-4E15-9B5C-86FAFBBD189F} failed: Not
enough storage is available to complete this operation.  
        at com/softrax/slang/ParseData.readStxSymbolTable
(ParseData.java:33)
        at com/softrax/slang/MakeDalRequest. (MakeDalRequest.java:19)
        at java/lang/ClassLoader.findSystemClass (ClassLoader.java)
        at org/apache/tomcat/loader/AdaptiveClassLoader.loadSystemClass
(AdaptiveClassLoader.java:464)
        at org/apache/tomcat/loader/AdaptiveClassLoader.loadClass
(AdaptiveClassLoader.java:401)
        at java/lang/ClassLoader.loadClassInternal (ClassLoader.java)
        at SlangHarness.doGet (SlangHarness.java)
        at javax/servlet/http/HttpServlet.service (HttpServlet.java:737)
        at javax/servlet/http/HttpServlet.service (HttpServlet.java:841)
        at org/apache/tomcat/core/ServletWrapper.handleRequest
(ServletWrapper.java:510)
        at org/apache/tomcat/core/ServletWrapper.handleRequest
(ServletWrapper.java:599)
        at org/apache/tomcat/servlets/InvokerServlet.service
(InvokerServlet.java:259)
        at javax/servlet/http/HttpServlet.service (HttpServlet.java:841)
        at org/apache/tomcat/core/ServletWrapper.handleRequest
(ServletWrapper.java:510)
        at org/apache/tomcat/core/ContextManager.service
(ContextManager.java:558)
        at
org/apache/tomcat/service/connector/Ajp12ConnectionHandler.processConnection
(Ajp12ConnectionHandler.java:158)
        at org/apache/tomcat/service/TcpConnectionThread.run
(SimpleTcpEndpoint.java:337)
        at java/lang/Thread.run (Thread.java)

Reply via email to