cancel
Showing results for 
Search instead for 
Did you mean: 

WCM Virtualization

doctajeff
Champ in-the-making
Champ in-the-making
Hello.  I'm trying to setup the sample website provided with the Alfresco 2.0 release.  I'm able to mostly follow the included tutorial (pdf), but some things are a little different with this release.

My biggest problem now is that I have used a bulk-import to import the alfresco-sample.war file, but I can't preview any of the files with the preview button.

I do have the virtualization server running, but when it starts up I get the following errors:

In the browser I see:
HTTP Status 404 - /index.jsp

type Status report

message /index.jsp

description The requested resource (/index.jsp) is not available.
Apache Tomcat/5.5.20

In the logs on Virtualization startup I see:
SEVERE: Exception starting filter ssi
java.lang.ClassNotFoundException: org.apache.catalina.ssi.SSIFilter
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at org.apache.catalina.core.ApplicationFilterConfig.getFilter(Applicatio
nFilterConfig.java:209)
        at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(Applica
tionFilterConfig.java:304)
        at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFi
lterConfig.java:77)
        at org.apache.catalina.core.StandardContext.filterStart(StandardContext.
java:3634)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
217)
        at org.alfresco.catalina.context.AVMStandardContext.start(AVMStandardCon
text.java:64)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:759)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:73
9)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)

        at org.alfresco.catalina.host.AVMHostConfig.deployAVMdirectory(AVMHostCo
nfig.java:1178)
        at org.alfresco.catalina.host.AVMHostConfig.deployAVMWebapp(AVMHostConfi
g.java:977)
        at org.alfresco.catalina.host.AVMHostConfig.deployAVMWebappDescriptorTre
e(AVMHostConfig.java:827)
        at org.alfresco.catalina.host.AVMHostConfig.deployAVMWebappDescriptorTre
e(AVMHostConfig.java:836)
        at org.alfresco.catalina.host.AVMHostConfig.deployAVMWebappDescriptorTre
e(AVMHostConfig.java:836)
        at org.alfresco.catalina.host.AVMHostConfig.deployAVMWebappsInDependency
Order(AVMHostConfig.java:820)
        at org.alfresco.catalina.host.AVMHostConfig.deployAllAVMwebappsInReposit
ory(AVMHostConfig.java:373)
        at org.alfresco.catalina.host.AVMHostConfig.deployApps(AVMHostConfig.jav
a:228)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
        at org.alfresco.catalina.host.AVMHostConfig.start(AVMHostConfig.java:180
)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:310)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:119)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)

        at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
        at org.alfresco.catalina.host.AVMHost.start(AVMHost.java:580)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)

        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442
)
        at org.apache.catalina.core.StandardService.start(StandardService.java:4
50)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:709
)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)

Thanks,
Jeff
7 REPLIES 7

kvc
Champ in-the-making
Champ in-the-making
Hello.  I'm trying to setup the sample website provided with the Alfresco 2.0 release.  I'm able to mostly follow the included tutorial (pdf), but some things are a little different with this release.

The previous tutorial is out of date.  A new tutorial walking through the enhanced config options in the Create Form and Create Web Project Wizards as well as the new capabilities in the Web Project, Sandbox, and Forms view should be available for download tomorrow.

My biggest problem now is that I have used a bulk-import to import the alfresco-sample.war file, but I can't preview any of the files with the preview button.

Are you importing the sample website provided with the bundle under /TOMCAT_HOME/extras/wcm?  Also, what platform are you working on?

doctajeff
Champ in-the-making
Champ in-the-making
Thanks for the quick reply.

I'm running, Windows XP SP2, jdk 1.5.0_07.  To start the services, I'm running the alf_start and virtual_start commands from the pre-packaged Alfresco 2.0/Tomcat bundle.

The sample I'm using is alfresco-sample-website.war which is stored in extras/wcm.

Jeff

rivetlogic
Champ on-the-rise
Champ on-the-rise
Try checking under here in your installation:

./virtual-tomcat/server/lib/

We noticed a couple files that were named *.renametojar in our installation, including "servlets-ssi.renametojar"

After renaming those to *.jar, the virtualization server should work.

–Mike

doctajeff
Champ in-the-making
Champ in-the-making
That fixed it right up!  Thanks!  I wonder what the reason was for that?

Jeff

kvc
Champ in-the-making
Champ in-the-making
Thanks for the quick reply.

I'm running, Windows XP SP2, jdk 1.5.0_07.  To start the services, I'm running the alf_start and virtual_start commands from the pre-packaged Alfresco 2.0/Tomcat bundle.

The sample I'm using is alfresco-sample-website.war which is stored in extras/wcm.

Jeff


Jeff - FYI, the updated WCM tutorial was posted for download earlier this morning.  Hope this better helps you walk through the release.

Kevin

marcel_panse
Champ in-the-making
Champ in-the-making
Jeff - FYI, the updated WCM tutorial was posted for download earlier this morning.  Hope this better helps you walk through the release.

Kevin

Where exactly can i download this updated tutorial. I can only find the wcm-tutorial inside the last Alfresco.2.0.community release which is from 19 jan 2007. Youre talking about a updated tutorial from Jan 24th.. I can find a file in the sourceforge directory newer then Jan 19th.

kevinr
Star Contributor
Star Contributor
The WCM tutorial on sourceforge is the newest.

Thanks,

Kevin