Projet

General

Profil

0.1.4 on Windows (alfresco 4.0d) [Closed]

Ajouté par Anonyme il y a environ 12 ans

How to install beCPG to 4.0d Comunity Edition runing on Windows?


Réponses (17)

RE: 0.1.4 on Windows (alfresco 4.0d) - Ajouté par Matthieu Laborie il y a environ 12 ans

Same way that on linux

1- Install amps :

(Windows) java -jar alfresco-mmt.jar install c:\Alfresco\bin\amps\becpg-designer-core-0.1.4.amp c:\Alfresco\tomcat\webapps\alfresco.war
...

2- Start alfresco

3 - Edit c:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\module\becpg-designer-core\designer.properties
and c:\Alfresco\tomcat\webapps\share\WEB-INF\classes\alfresco\designer.properties
to indicate a windows folder.

(for exemple :
beCPG.designer.configPath = c:\Alfresco\designer

)

4 - Restart alfresco

RE: 0.1.4 on Windows (alfresco 4.0d) - Ajouté par Anonyme il y a environ 12 ans

Hi

1 - done:

install.bat:

set ALF=C:\Dev\Alfresco
set JAVA=C:\Dev\Alfresco\java
set SERVER=C:\Dev\Alfresco\tomcat

JAVA\bin\java -jar ALF\bin\alfresco-mmt.jar install becpg-controls-core-0.1.4.amp SERVER\webapps\alfresco.war -force
JAVA\bin\java -jar ALF\bin\alfresco-mmt.jar install becpg-controls-share-0.1.4.amp SERVER\webapps\share.war -force
JAVA\bin\java -jar ALF\bin\alfresco-mmt.jar install becpg-designer-core-0.1.4.amp SERVER\webapps\alfresco.war -force
JAVA\bin\java -jar ALF\bin\alfresco-mmt.jar install becpg-designer-share-0.1.4.amp SERVER\webapps\share.war -force

2 - done

3 - questions:

a. there is no \tomcat\webapps\alfresco\WEB-INF\classes\alfresco\module\becpg-designer-core folder
b. "Edit ... to indicate a windows folder" - Windows?

Results:
1. No Available Modules in /share/page/modules/deploy
2. No new menu item "More\Model designer" in share
3. Page not found error for /share/page/model-designer

Maybe i need to unzip all amps and copy all stuff to some folders?

RE: 0.1.4 on Windows (alfresco 4.0d) - Ajouté par Anonyme il y a environ 12 ans

"You must also create the /etc/becpg/designer folder or edit the file "designer.properties" in the AMP "becpg-designer-core" and "becpg-designer-share" to indicate a path where configuration files will be published (There is two files for share and repository)."

Do I have to edit files in amp zip archives? What these "where configuration files will be published" folders have to be?
Is \Alfresco\tomcat\shared\classes\alfresco\extension\ right path for this purpose?

RE: 0.1.4 on Windows (alfresco 4.0d) - Ajouté par Anonyme il y a environ 12 ans

I found some errors in log alfresco file:

2012-02-15 14:17:15,372  ERROR [alfresco.web.site] [http-8080-7] javax.servlet.ServletException: Could not resolve view with name 'model-designer' in servlet with name 'Spring Surf Dispatcher Servlet'
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.

RE: 0.1.4 on Windows (alfresco 4.0d) - Ajouté par Anonyme il y a environ 12 ans

1- It seems that your amps didn't get installed. What was the results of

JAVA\bin\java -jar ALF\bin\alfresco-mmt.jar install becpg-controls-core-0.1.4.amp SERVER\webapps\alfresco.war -force

3- a : You will find designer.properties under the unzip war if amps are well installed.
b : By default is a linux path just create a folder where designer will put is files on, and indicate the (c:/...) path under designer.properties

RE: 0.1.4 on Windows (alfresco 4.0d) - Ajouté par Anonyme il y a environ 12 ans

1. After running
JAVA\bin\java -jar ALF\bin\alfresco-mmt.jar install becpg-controls-core-0.1.4.amp SERVER\webapps\alfresco.war -force
and other 3 installs:
a. was created alfresco.war-1329371461889.bak
b. in alfresco.war there is WEB-INF\classes\beCPG\designer folder with 5 files: extCustomForm.xml, extCustomModel.xml, extWorkflowModel.xml, formControls.xml, templateModel.xml and WEB-INF\lib\becpg-controls-core-0.1.4.jar and WEB-INF\lib\becpg-designer-core-0.1.4.jar
also i found others beCPG files in diffrent places (WEB-INF\classes\alfresco\module\becpg-controls-core\beCPG.properties etc)
c. found and corrected path in WEB-INF\classes\alfresco\module\becpg-designer-core\designer.properties

So, all files is installed but ... nothing

Where can i check script witch add new menu item "More\Model designer" in share?

RE: 0.1.4 on Windows (alfresco 4.0d) - Ajouté par Anonyme il y a environ 12 ans

Maybe not install all files into alfresco.war and simply copy necessary folder/files to correct paths?

RE: 0.1.4 on Windows (alfresco 4.0d) - Ajouté par Matthieu Laborie il y a environ 12 ans

1. After running
JAVA\bin\java -jar ALF\bin\alfresco-mmt.jar install becpg-controls-core-0.1.4.amp SERVER\webapps\alfresco.war -force
and other 3 installs:

asw : Have you do the same for share.war with -share amps ?

Where can i check script witch add new menu item "More\Model designer" in share?
Comment

asw : You should then find it under share/ ... designer-share-config.xml

RE: 0.1.4 on Windows (alfresco 4.0d) - Ajouté par Anonyme il y a environ 12 ans

Found in becpg-designer-share-0.1.4.amp in config\alfresco\module\becpg-designer-share\config\designer.properties line

beCPG.designer.configFiles = file:/etc/becpg/designer/*.xml

So i need to scan all code for this "/etc/" to make code work?

I think this is enough. It needs installer witch ask 1 thing "Alfresco install folder name" and make other job themselves.

Is were any person who install correctly beCPG to alfresco on Windows? :-(

RE: 0.1.4 on Windows (alfresco 4.0d) - Ajouté par Matthieu Laborie il y a environ 12 ans

We have try on windows and it works, if you need more support or better installer please subscribe a commercial support!

I think if you follow instructions it should not be any problems:

1- Install amps on share and alfresco
2- Start alfresco (the designer should work at this step)

3- To make form edition working edit under expended war (not amp)

c:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\module\becpg-designer-core\designer.properties
c:\Alfresco\tomcat\webapps\share\WEB-INF\classes\alfresco\designer.properties

4 - Restart alfresco.

RE: 0.1.4 on Windows (alfresco 4.0d) - Ajouté par Anonyme il y a environ 12 ans

I have installed this package exactly how described (and yes, I followed instructions carefully) and it's not working. Top level error in logs is:

2012-02-16 12:43:17,652  ERROR [extensions.webscripts.AbstractRuntime] [http-8080-11] Exception from executeScript - redirecting to status template error: 01160010 Wrapped Exception (with status template): 01160040 Failed to execute script 'classpath*:alfresco/templates/webscripts/fr/becpg/designer/modelList.get.js': 01160039 Failed to execute search: +ASPECT:"dsg:modelAspect" 
 org.springframework.extensions.webscripts.WebScriptException: 01160010 Wrapped Exception (with status template): 01160040 Failed to execute script 'classpath*:alfresco/templates/webscripts/fr/becpg/designer/modelList.get.js': 01160039 Failed to execute search: +ASPECT:"dsg:modelAspect" 

RE: 0.1.4 on Windows (alfresco 4.0d) - Ajouté par Anonyme il y a environ 12 ans

O! second Anonymous with problems like me

RE: 0.1.4 on Windows (alfresco 4.0d) - Ajouté par Matthieu Laborie il y a environ 12 ans

Anonymous a écrit:

I have installed this package exactly how described (and yes, I followed instructions carefully) and it's not working. Top level error in logs is:

[...]

It doesn't seem's to be the same issue can you send me more logs. Are you using solr ?

(forum is not anonymous anymore please register)

RE: 0.1.4 on Windows (alfresco 4.0d) - Ajouté par Stanislaw Podgórski il y a environ 12 ans

Ok, so the entire log stacktrace is here:
http://pastebin.com/S2rKj08g

I don't know what solr is. I installed full Alfresco Community 4, if it's included there I probably have it (although in your installation guide there was nothing about it).

RE: 0.1.4 on Windows (alfresco 4.0d) - Ajouté par Matthieu Laborie il y a environ 12 ans

What I see in your logs is that is more a connection issue with solr under ssl :

Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)

...

Please have a look on alfresco forums.

RE: 0.1.4 on Windows (alfresco 4.0d) - Ajouté par Stanislaw Podgórski il y a environ 12 ans

Thank you very much for support. You were correct, I have changed tomcat ports after installation and I didn't know that solr has its own config files where tomcat ports should be upodated as well. After fixing this, everything seems to be working perfectly :)

RE: 0.1.4 on Windows (alfresco 4.0d) - Ajouté par ervin mankind il y a presque 12 ans

Hello Support,

I followed all of the instructions for installing becpg on my windows 2008 server running Alfresco Community 4.0d.
Browsing to this url results in the following error:
A server error has occured.
There are a number of reasons why this could have happened:
You have attempted to access a page that does not exist - check the URL in the address bar.
You have attempted to access a page that is not accessable to you, such as a private Site dashboard.
A valid page has been requested but the server was unable to render it due to an internal error - contact your administrator.

The logs show the following error:
2012-06-27 07:10:59,492 ERROR [alfresco.web.site] [http-8082-1] javax.servlet.ServletException: Could not resolve view with name 'model-designer' in servlet with name 'Spring Surf Dispatcher Servlet'

2012-06-27 07:10:58,362 INFO [web.site.EditionInterceptor] [http-8082-1] Successfully retrieved license information from Alfresco.

I checked the folders and saw that I have the all of the relevant files for the becpg-designer-core andbecpg-designer-share as well as the becpg-control-core and becpg-control-share
under the C:\Alfresco82\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\module
Please find the attached file (AMP_install_screen_shot.jpg)
This indicates that all of the AMPS were correctly installed.
I even created the folder c:/Alfresco82/designer
and edited the following two files to indicate the c:Alfresco82/designer
c:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\module\becpg-designer-core\designer.properties
c:\Alfresco\tomcat\webapps\share\WEB-INF\classes\alfresco\designer.properties

Yet I still cant load the beCPG or get pass the error message on the url: http://192.168.10.11:8082/share/page/model-designer

Is there any help you could provide?
Please advise.
Thanks in advance.

    (1-17/17)