AW: Re: [opencms-dev] Re: OpenCms 6.2 Installation on WebSphere 6.0
arash.kaffamanesh at cmsforeveryone.com
arash.kaffamanesh at cmsforeveryone.com
Tue Apr 25 12:09:56 CEST 2006
Hi,
I've allready found the solution for advanced property in a HowTO written by Thomas Matal, but there are still a lot of problems even with opencms 6.0.4 for editing and saving pages.
Does Your Installation on WebSphere working 100%ly as with one on Tomcat?
Thanks,
Arash
Hi,
>
>@ advanced property problem on Websphere 6:
>some cache settings have to be done in OpenCms: set cache property to
>"bypass" for the following pages:
>system/workplace/commons/property*.jsp, /editors/editor_main.jsp
>
>this helps.
>
>bye, Georg
>
>Arash Kaffamanesh wrote:
>> Hallo Georg,
>>
>> Thasn you for the hints, I'd set already compress="flase" like this in the
>> build.xml file:
>>
>> <jar
>> jarfile="${opencms.output.jars}/opencms.jar"
>> basedir="${opencms.output.classes}"
>> includes="org/opencms/**"
>> compress="false" >
>> <metainf dir="${opencms.input.warfiles}/WEB-INF" includes="opencms.tld"/>
>> </jar>
>>
>> JAVA_HOME was set to (IBM or SUN) JDK 1.4 and I've rebuilded the whole dist
>> with:
>>
>> ant -lib webapp/WEB-INF/lib/ bindist
>>
>> But it didn't help!
>>
>> How did you build the opencms 6.2.0 src?
>>
>> Could you please advice?
>>
>> Beside these 6.2 specific issues, the installation with 6.0.4 which was
>> successful has some other serious problems, like the advanced property
>> dialog, which prevents me to set certain properties like export to true for
>> static export, so I can't use the static export feature with WebSphere.
>What
>> I did was to set the properties on the root folders of the sites in tomcat
>> and reimport the sites into webshpere, so that I could run the static
>export
>> but it hang in the middle of staticexport process.
>>
>> I think we should use the Xcerces and Jakarta-oro packages delivered with
>> the opencms dist instead of those delivered with IBM WebSphere.
>>
>> Thanks again,
>> Arash
>>
>>
>>
>>
>> -----Original Message-----
>> From: opencms-dev-bounces at opencms.org
>> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Georg Raffer
>> Sent: Donnerstag, 20. April 2006 14:04
>> To: The OpenCms mailing list; opencms at recordcaster.de
>> Subject: [opencms-dev] Re: OpenCms 6.2 Installation on WebSphere 6.0
>>
>> Hallo Arash,
>>
>> We are currently using opencms 6.2 with Websphere 6.0.0.1
>>
>> It is true that the current opencms.war file is not (IBM) java 1.4
>> compatible. There are several issues:
>>
>> * the IBM JRE cannot read resources (e.g. xsd) from the compressed jar
>> files compiled with java 5 (don't ask me why); changing the build.xml
>> (<jar compress="false") helps.
>> * But even if the ant javac tasks use the attributes source="1.4" and
>> target="1.4" the compiled code is not 100% 1.4 compatible; There is
>> still a problem with the photoalbum module; compiled code uses the
>> method: StringBuffer.append(CharSequence s). this definitly method
>> belongs to Java 5;
>>
>> Build the opencms.war file with ant using a Java 1.4 compiler; checking
>> out sources & building with ant is described in:
>> http://www.opencms.org/opencms/en/development/core.html
>>
>>
>> Today I have installed opencms.war (build with ant & java 1.4.2)
>> successfully on Websphere 6.0
>> But we have still problems with the advanced properties dialog (redirect
>> / forward ...); If you have a solution for that please let me know.
>>
>> bye, Georg
>>
>> arash.kaffamanesh at cmsforeveryone.com wrote:
>>
>>> Hi OC-World,
>>>
>>> The Installation of OpenCms 6.2.0 brakes on WebSphere AS 6.0, but with
>>> 6.0.4 it succeeds. WebSphere runs on IBM JAVA 1.4.2. So I think it's
>>> an issue of incompatibility of the 6.2.0 dist with Java 1.4.x
>>>
>>> Could please anybody confirm this?
>>>
>>> Has anybody tried to compile the source dist of 6.2.0 with java 1.4?
>>>
>>> Thanks for possible hints.
>>>
>>> Kind Regards,
>>> Arash Kaffamanesh
>>>
>>> P.S:
>>>
>>> The Exeption which I get during the last step of the installtion with
>>> 6.2.0 on WebSphere 6.0 is:
>>>
>>> 27: Shutdown completed, total uptime was 00:00:45.
>>> 26: Shutting down OpenCms, version 6.2.0 in web application "opencms.war"
>>> 25: 24: 23: at
>>>
>>>
>>
>org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWorkplaceImportT
>> hread.java:209)
>>
>>> 22: at
>>>
>>>
>>
>org.opencms.setup.CmsSetupWorkplaceImportThread.kill(CmsSetupWorkplaceImport
>> Thread.java:118)
>>
>>> 21: at org.opencms.main.CmsShell.exit(CmsShell.java:602)
>>> 20: java.lang.NullPointerException
>>> 19: at
>>>
>>>
>>
>org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWorkplaceImportT
>> hread.java:194)
>>
>>> 18: at org.opencms.main.CmsShell.start(CmsShell.java:687)
>>> 17: at org.opencms.main.CmsShell.executeCommands(CmsShell.java:818)
>>> 16: at org.opencms.main.CmsShell.printPrompt(CmsShell.java:654)
>>> 15: java.lang.NullPointerException
>>> 14: at
>>>
>>>
>>
>org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWorkplaceImportT
>> hread.java:155)
>>
>>> 13: at org.opencms.main.CmsShell.<init>(CmsShell.java:495)
>>> 12: at
>>> org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1503)
>>> 11: at
>>> org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:843)
>>> 10: at
>>>
>>>
>>
>org.opencms.configuration.CmsConfigurationManager.<init>(CmsConfigurationMan
>> ager.java:153)
>>
>>> 9: at
>>>
>>>
>>
>org.opencms.configuration.CmsConfigurationManager.cacheDtdSystemId(CmsConfig
>> urationManager.java:444)
>>
>>> 8: at org.opencms.util.CmsFileUtil.readFile(CmsFileUtil.java:532)
>>> 7: at org.opencms.util.CmsFileUtil.readFile(CmsFileUtil.java:519)
>>> 6: at org.opencms.util.CmsFileUtil.readFully(CmsFileUtil.java:559)
>>> 5: at
>>> java.util.zip.InflaterInputStream.read(InflaterInputStream.java(Compiled
>>> Code))
>>> 4: 3: java.lang.IndexOutOfBoundsException
>>> 2: OpenCms property file:
>>>
>>>
>>
>"D:\WebSphereExpress\profiles\AppSrv01\installedApps\BYZZPLNode02Cell\opencm
>> s_war.ear\opencms.war\WEB-INF\config\opencms.properties".
>>
>>> _______________________________________________
>>> This mail is sent to you from the opencms-dev mailing list
>>> To change your list options, or to unsubscribe from the list, please
>>> visit
>>> http://lists.opencms.org/mailman/listinfo/opencms-dev
>>>
>>>
>>>
>>
>> _______________________________________________
>> This mail is sent to you from the opencms-dev mailing list
>> To change your list options, or to unsubscribe from the list, please visit
>> http://lists.opencms.org/mailman/listinfo/opencms-dev
>>
>>
>>
>
>
>_______________________________________________
>This mail is sent to you from the opencms-dev mailing list
>To change your list options, or to unsubscribe from the list, please visit
>http://lists.opencms.org/mailman/listinfo/opencms-dev
More information about the opencms-dev
mailing list