You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Fennelly,Tom" <to...@enba.com> on 2000/05/18 15:29:01 UTC

Sun's HotSpot Server VM & Cocoon...?

Hi.

I'm sure some of you Cocoon users have installed the HotSpot server VM.  If
so have you had any problems?

When I have it installed I get the exception listed below - event if I still
use the classic Sun VM.  If I uninstall
HotSpot everything works fine again.  I'm using JDK 1.2.2 and I'm running
Cocoon through Tomcat. Any ideas?

Cheers.

Tom.

java.lang.RuntimeException: Error creating
org.apache.cocoon.processor.ldap.LdapProcessor: make sure the needed classes
can be found in the classpath (javax/naming/directory/DirContext)
	at org.apache.cocoon.framework.Manager.create(Manager.java:102)
	at org.apache.cocoon.framework.Router.init(Router.java:80)
	at org.apache.cocoon.framework.Manager.create(Manager.java:89)
	at org.apache.cocoon.Engine.(Engine.java:155)
	at org.apache.cocoon.Engine.getInstance(Engine.java:190)
	at org.apache.cocoon.Cocoon.init(Cocoon.java:119)
	at
org.apache.tomcat.core.ServletWrapper.initServlet(ServletWrapper.java:315)
	at
org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java:276)
	at
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartup
Interceptor.java:132)
	at
org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:227)
	at
org.apache.tomcat.core.ContextManager.init(ContextManager.java:201)
	at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:156)
	at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:163)


Re: Sun's HotSpot Server VM & Cocoon...?

Posted by Yann <yl...@ims.ltd.uk>.
> I'm sure some of you Cocoon users have installed the HotSpot server VM.
If
> so have you had any problems?
>
> When I have it installed I get the exception listed below - event if I
still
> use the classic Sun VM.  If I uninstall
> HotSpot everything works fine again.  I'm using JDK 1.2.2 and I'm running
> Cocoon through Tomcat. Any ideas?

I use Hotspot version 2.0 on Windows NT and everything seems to work fine.

Yann.




Re: Sun's HotSpot Server VM & Cocoon...?

Posted by Mike Engelhart <me...@earthtrip.com>.
on 5/18/00 8:29 AM, Fennelly,Tom at tom.fennelly@enba.com wrote:

> Hi.
> 
> I'm sure some of you Cocoon users have installed the HotSpot server VM.  If
> so have you had any problems?
> 
> When I have it installed I get the exception listed below - event if I still
> use the classic Sun VM.  If I uninstall
> HotSpot everything works fine again.  I'm using JDK 1.2.2 and I'm running
> Cocoon through Tomcat. Any ideas?
> 
> Cheers.
> 
> Tom.
Are you using LDAP? If not then uncomment the LDAP processor in your
cocoon.properties.  If you are then be sure that you have the Sun jndi.jar
file in your classpath (this is not distrbuted with Cocoon but you can
download it from Sun)

Mike