Now, I an getting an exception. When I go to http://localhost:8080/jetspeed, I get this :

*exception*

javax.servlet.ServletException: Failed to initalize jetspeed.  
org.apache.jetspeed.exception.JetspeedException: Jetspeed Initialization 
exception!
        
org.apache.jetspeed.engine.JetspeedServlet.doGet(JetspeedServlet.java:219)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        
org.apache.jetspeed.engine.servlet.XXSUrlAttackFilter.doFilter(XXSUrlAttackFilter.java:52)

*root cause*

org.apache.jetspeed.exception.JetspeedException: Jetspeed Initialization 
exception!
        org.apache.jetspeed.engine.JetspeedEngine.start(JetspeedEngine.java:144)
        
org.apache.jetspeed.engine.JetspeedServlet.init(JetspeedServlet.java:159)
        
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
        
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
        org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
        org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
        
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
        
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
        org.apache.catalina.startup.Catalina.start(Catalina.java:552)
        sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        java.lang.reflect.Method.invoke(Method.java:585)
        org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
        org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

*root cause*

org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'PlatformConfigurator' defined in ServletContext resource 
[/WEB-INF/assembly/boot/datasource.xml]: Invocation of init method failed; 
nested exception is org.apache.ojb.broker.metadata.MetadataException: Could not 
get the metadata from the given datasource
        
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1175)
        
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:428)
        
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
        
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
        
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
        
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
        
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)
        
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
        
org.apache.jetspeed.components.SpringComponentManager.start(SpringComponentManager.java:237)
        org.apache.jetspeed.engine.JetspeedEngine.start(JetspeedEngine.java:122)
        
org.apache.jetspeed.engine.JetspeedServlet.init(JetspeedServlet.java:159)
        
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
        
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
        org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
        org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
        
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
        
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
        org.apache.catalina.startup.Catalina.start(Catalina.java:552)
        sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        java.lang.reflect.Method.invoke(Method.java:585)
        org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
        org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)




Mansour wrote:
It worked. I just built it with java 1.5 and it went fine (I don't understand why, if somehting works with 1.5 it should work with 1.6). Thank you everyone. One question I have: I ran into a config problem because I changed the path to the tomcat/shared/lib and it generate an error during mvn -P tomcat. It complained about the directory tomcat/shared/lib. The question here, shouldn't this variable exist once in the settings.xml ?


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to