Re: Sitemesh release

[email protected]
Newsgroups gmane.comp.java.open-symphony.devel
Message-ID <[email protected]>
Hi,

My application runs the same way it did when using the Writer branch which
is great.

However, the test suite doesn't work under WebSphere 5.

The title decorator isn't getting applied when using the default page.

ie:

    [junit] Running BinaryFileTest.testGif() on WebSphere version 5
    [junit] ------------- ---------------- ---------------

    [junit] Testcase: testPage took 1.156 sec
    [junit] Testcase: testError took 0.047 sec
    [junit] Testcase: testNotFound took 0 sec
    [junit] Testcase: testNonHtml took 0.016 sec
    [junit] Testcase: testWelcomePage took 0.125 sec
    [junit]     FAILED
    [junit] expected:<[:: Welcome Page ::]> but was:<Welcome Page>
    [junit] junit.framework.AssertionFailedError: expected:<[:: Welcome Page ::]
> but was:<Welcome Page>
    [junit]     at testsuite.sitemesh.WelcomePageTest.checkPage(WelcomePageTest.
java:25)
    [junit]     at testsuite.sitemesh.WelcomePageTest.testWelcomePage(WelcomePag
eTest.java:15)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
    [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
    [junit]     at testsuite.tester.WebTest.run(WebTest.java:68)

    [junit] Testcase: testWelcomePageTestcase: testWelcomePageWithoutTrailingSla
sh took 0.016 sec
    [junit]     FAILED
    [junit] expected:<[:: Welcome Page ::]> but was:<Welcome Page>
    [junit] junit.framework.AssertionFailedError: expected:<[:: Welcome Page ::]
> but was:<Welcome Page>
    [junit]     at testsuite.sitemesh.WelcomePageTest.checkPage(WelcomePageTest.
java:25)
    [junit]     at testsuite.sitemesh.WelcomePageTest.testWelcomePageWithoutTrai
lingSlash(WelcomePageTest.java:19)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
    [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
    [junit]     at testsuite.tester.WebTest.run(WebTest.java:68)

I also get more errors, but thought this might be a good starting point.

The WebSphere build I was testing against is:
IBM WebSphere Application Server, 5.0.0
Build Number: s0245.03
Build Date: 11/11/02

Manually hitting the welcomepage displayed the same result, but when I went to welcomepage/default.jsp I get the appropriately decorated page.

Hope this is useful for someone :).

Rob




Internet
Robert DAWSON/UK/EUROPE/GROUP@[email protected] - 26/08/2003
08:49


Please respond to [email protected]

Sent by:    [email protected]

To:    opensymphony-developers

cc:


Subject:    Re: [Opensymphony-developers] Sitemesh release



Great!

I will take a look at head on Orion 2 and WebSphere 5 then.

Rob




Internet
[email protected]@lists.sourceforge.net - 26/08/2003 07:43


Please respond to [email protected]

Sent by:    [email protected]

To:    opensymphony-developers

cc:


Subject:    Re: [Opensymphony-developers] Sitemesh release


Yes it did - CVS HEAD is now the most current version.

Robert Dawson wrote:

> Did the writer branch ever get merged back to HEAD?
>
> ----- Original Message -----
> From: "Pat Lightbody" <[email protected]>
> To: <[email protected]>
> Sent: Tuesday, August 26, 2003 2:45 AM
> Subject: Re: [Opensymphony-developers] Sitemesh release
>
>
>
>>I second that! We need a SiteMesh release soon -- it's VERY solid, what's
>>the hold up?
>>
>>----- Original Message -----
>>From: "Joseph Ottinger" <[email protected]>
>>To: <[email protected]>
>>Sent: Monday, August 25, 2003 8:05 AM
>>Subject: [Opensymphony-developers] Sitemesh release
>>
>>
>>
>>>Is sitemesh ready for a release yet? 1.5 was put on SF over a year
>
> ago...
>
>>>and somehow I think it's changed significantly since then. :)
>>>
>>>-------------------------------------------------------------------
>>>Joseph B. Ottinger                         http://enigmastation.com
>>>IT Consultant                                [email protected]
>>>J2EE Editor - Java Developer's Journal   [email protected]
>>>
>>>
>>>
>>>-------------------------------------------------------
>>>This SF.net email is sponsored by: VM Ware
>>>With VMware you can run multiple operating systems on a single machine.
>>>WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
>>>at the same time. Free trial click
>>
>>here:http://www.vmware.com/wl/offer/358/0
>>
>>>_______________________________________________
>>>Opensymphony-developers mailing list
>>>[email protected]
>>>https://lists.sourceforge.net/lists/listinfo/opensymphony-developers
>>>
>>
>>
>>-------------------------------------------------------
>>This SF.net email is sponsored by: VM Ware
>>With VMware you can run multiple operating systems on a single machine.
>>WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
>>at the same time. Free trial click
>
> here:http://www.vmware.com/wl/offer/358/0
>
>>_______________________________________________
>>Opensymphony-developers mailing list
>>[email protected]
>>https://lists.sourceforge.net/lists/listinfo/opensymphony-developers
>>
>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.512 / Virus Database: 309 - Release Date: 20/08/2003
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: VM Ware
> With VMware you can run multiple operating systems on a single machine.
> WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
> at the same time. Free trial click here:
http://www.vmware.com/wl/offer/358/0
> _______________________________________________
> Opensymphony-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-developers
>

--

ATLASSIAN - http://www.atlassian.com
Expert J2EE Software, Services and Support
-------------------------------------------------------
Need a simple, powerful way to track and manage issues?
Try JIRA - http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:
http://www.vmware.com/wl/offer/358/0
_______________________________________________
Opensymphony-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensymphony-developers






This message and any attachments (the "message") is
intended solely for the addressees and is confidential.
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified.

                ---------------------------------------------

Ce message et toutes les pieces jointes (ci-apres le
"message") sont etablis a l'intention exclusive de ses
destinataires et sont confidentiels. Si vous recevez ce
message par erreur, merci de le detruire et d'en avertir
immediatement l'expediteur. Toute utilisation de ce
message non conforme a sa destination, toute diffusion
ou toute publication, totale ou partielle, est interdite, sauf
autorisation expresse. L'internet ne permettant pas
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce
message, dans l'hypothese ou il aurait ete modifie.



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:
http://www.vmware.com/wl/offer/358/0
_______________________________________________
Opensymphony-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensymphony-developers






This message and any attachments (the "message") is
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and 
immediately notify the sender. Any use not in accord with 
its purpose, any dissemination or disclosure, either whole 
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message. 
BNP PARIBAS (and its subsidiaries) shall (will) not 
therefore be liable for the message if modified. 

                ---------------------------------------------

Ce message et toutes les pieces jointes (ci-apres le 
"message") sont etablis a l'intention exclusive de ses 
destinataires et sont confidentiels. Si vous recevez ce 
message par erreur, merci de le detruire et d'en avertir 
immediatement l'expediteur. Toute utilisation de ce 
message non conforme a sa destination, toute diffusion 
ou toute publication, totale ou partielle, est interdite, sauf 
autorisation expresse. L'internet ne permettant pas 
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce 
message, dans l'hypothese ou il aurait ete modifie.



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.