Hi,
Many issues with installing the canopy amps on a Windows server.

Basically needed to follow all recommendations found here.

http://stackoverflow.com/questions/3394369/getting-error-running-javac-e...

I have got the javac.exe issues resolved.

Still getting error regarding :
[java] java.lang.NoClassDefFoundError: de/schlichtherle/truezip/socket/IOPoolProvider

Full install-amps output attached.

Comments

fgjohnson@lojoh.ca’s picture

The file indicates that the build was successful...
And there are canopy.alfresco and canopy.share war files in the project build folder.
But that error bothers me.

I added the .war files from the build folder into tomcat/webapps... and restarted.. Will this work?

I wonder if I need to put them into the "build amps folder" and run the Windows install-amps.bat file instead... I'll try that in the AM

fgjohnson@lojoh.ca’s picture

Happy Wednesday.

I cannot resolve this issue.

Can anyone provide any recommendations as to how to make this truezip error go away?

[java] java.lang.NoClassDefFoundError: de/schlichtherle/truezip/socket/IOPoolProvider

upon shutting down alfresco and running install_amps, two wars get created in the "canopy-alfresco-1.x\build" directory.
- canopy.amp => 145KB
- canopy-share.amp => 362KB

If I move these files into the alfresco/alf_data/amps or alfresco/alf_data/amps_share directories, and run the apply_amps.bat file everything moves into the tomcat/webapps folder and seems to decompresses appropriately .
BUT
Then all userid/password combinations don't work. The server indicates it is not responding.

Thanks for your help.

Richard_Appnovation’s picture

Hey!

I'm trying to replicate the issue you experience on Windows, i'll let you know!

Richard_Appnovation’s picture

StatusFileSize
new884.87 KB

Version 1.1 of the webapp attached here. Try it out, see how it goes.

Thanks!

fgjohnson@lojoh.ca’s picture

Thanks,

Version 1.1 offered the error below before a target was defined for dev deployment.
I added the value from version 1.x and now get the same error as before regarding truezip.

<!-- YUI compressor won't be included -->
	<target name="deploy-alfresco-dev" depends="package-extension-alfresco-dev" description="Unzips the ${package.file.zip} into ${alfresco.web.dir}">
		<unzip src="${package.file.zip}" dest="${alfresco.web.dir}" />
	</target>

	<target name=<strong>"deploy-share-dev" </strong>depends="package-extension-share-dev" description="Unzips the ${share.package.file.zip} into ${share.web.dir}">
		<unzip src="${share.package.file.zip}" dest="${share.web.dir}" />
		<copy todir="${webapp.dir}/share/WEB-INF/lib">
			<fileset dir="${build.dir}" includes="*.jar" />
		</copy>
	</target>

I am trying to build this for the Community Edition. Is that an issue?

Thanks

-------- ERROR --------
D:\downloads\canopy-alfresco-1.1>ant install-amps
Buildfile: D:\downloads\canopy-alfresco-1.1\build.xml

BUILD FAILED
name attribute must not be empty

Total time: 0 seconds
-------- END ERROR ---------
build.properties

alfresco.sdk.remote.dir=D:\\alfresco-community-sdk-4.2.e\\lib\\remote
alfresco.sdk.server.dir=D:\\alfresco-community-sdk-4.2.e\\lib\\server
alfresco.sdk.dir=D:\\alfresco-community-sdk-4.2.e\\lib

webapp.dir=D:\\Alfresco\\tomcat\\webapps
alfresco.web.dir=D:\\Alfresco\\tomcat\\webapps\\alfresco
share.webapp.dir=D:\\Alfresco\\tomcat\\webapps\\share
share.web.dir=D:\\Alfresco\\tomcat\\shared\\classes

project.name=canopy

fgjohnson@lojoh.ca’s picture

Title: install-amps fails in Windows » UPDATE
Status: Active » Fixed

I installed the amps that were created with 1.1 even with the truezip error.

canopy code exists in the deployed tomcat/webapps/alfresco_share folder.
They seemed to deploy and I can login to Alfresco as administrator.

So that's progress. It killed the server before. :-)
Let's call this fixed for now.

fgjohnson@lojoh.ca’s picture

Title: UPDATE » install-amps fails in Windows
Richard_Appnovation’s picture

Status: Fixed » Closed (fixed)