cancel
Showing results for 
Search instead for 
Did you mean: 

deployment

xerox
Champ in-the-making
Champ in-the-making
I've put the example war of wcm alfresco and imported it in  a wcmfolder. I've succesfully deployed the war file on the same alfresco server. But I can't find the link,path to surf to that website.(My virtualisation server is not running, but I think that is only nescessary for previews).
Or am I missing something?
8 REPLIES 8

xerox
Champ in-the-making
Champ in-the-making
*bump*

kvc
Champ in-the-making
Champ in-the-making
Yes, in order to surf the website, you will indeed need to install the virtualization server or set-up your own webserver atop a CIFS-mounted sandbox.

Kevin

xerox
Champ in-the-making
Champ in-the-making
And how can I define a goodlooking url to the website deployed in alfresco?

kvc
Champ in-the-making
Champ in-the-making
Two ways:

1.  Set up a separate webserver instance, pointing at the latest snapshot
     in Staging as the root of your site (-1) via our CIFS mount

2.  Deploy the latest version of staging to a remote Alfresco server or
     file-server, with a separate webserver sitting atop that.

In Alfresco, a website or web application is a fully-contained source tree
managed in a collection of sandboxes for development, test, and staging.
Your URLs are whatever you want them to be.  When previewing a site,
we dynamically rehost URLs via our virtualization server to a specific
sandbox context, with specialized class-loading behavior to ensure that
we don't load the same app resources (jars and classes) for each sandbox
if they are sharing a common version of that asset via a layer from Staging.

These auto-generated paths for the virtualization server are not intended to be your production URLs.  Specifically, all the preceding context components of the URL that specify what sandbox you are previewing is not usual nor should be exposed to the outside world.

Hope that helps. 


Kevin

namson
Champ in-the-making
Champ in-the-making
i am Set up a separate webserver instance ,but how to pointing at the latest snapshot
in Staging as the root of my site (-1) via  CIFS mount ?
I  config  my-app.xml in new  webserver instance    C:\Tomcat 6.0\conf\Catalina\localhost:

<Context docBase="\\\\Quandha\\avm\\wwwAlfrescolive\\HEAD\\DATA\\www\\avm_webapps"
         privileged="false" antiResourceLocking="false" antiJARLocking="false">
</Context>

But when I start tomcat (new instance) its say: (catalina.log)

SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Document base \\Quandha\avm\wwwAlfrescolive\HEAD\DATA\www\avm_webapps does not exist or is not a readable directory

What did i do any think else? ( eg : config user,pass to connect via CIFS in tomcat ??? ).
Iam realy need help . thanks.

pmonks
Star Contributor
Star Contributor
Older versions of Tomcat didn't support UNC paths in the docBase parameter - I'm less familiar with Tomcat 6.0 but wouldn't be surprised if that's still a limitation.

Cheers,
Peter

namson
Champ in-the-making
Champ in-the-making
So, how  to I deploy "live" website in alfresco server ( I Deployed to Alfresco-runtime-server success ,  ) to  end_use ( world-wire-web) ?.
Thanks.

pmonks
Star Contributor
Star Contributor
If all you need to do is deploy the files in a Web Project out to a "real" filesystem (eg. an exploded webapp) you should be using a FileSystem Receiver (FSR) rather than an Alfresco Runtime (ASR).  See http://wiki.alfresco.com/wiki/Deployment for more details.

Alfresco Runtimes are intended for cases where your web application needs to dynamically query the content set at request time (something that is rather difficult to do with content stored in a filesystem).

Cheers,
Peter