You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by yesidredondo <ye...@www.ismgroupwwp.com> on 2006/04/06 06:48:44 UTC
Tapestry in oc4j
Thanks a lot, i'm going to try to have the naming convention proposed,
because it is difficult to me to try to update the company server or to
change its startup script. Thanks a lot.
Hermann Yesid Redondo (YP)
IT-GROUP
-----
Hi,
Although I never experienced this error, you might try the following
java options in your oc4j startup script. I am using those, and maybe
just for that reason have never seen this error. These options
instruct oc4j to use another transformer and parser. I have those
default in my startup script.
-Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.T
ransformerFactoryImpl
-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.Docu
mentBuilderFactoryImpl
-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserF
actoryImpl
Good luck,
Martijn
---- Original Message ----
From: john.mcteague@gmail.com
To: tapestry-user@jakarta.apache.org
Subject: Re: Tapestry in oc4j. New User
Date: Thu, 6 Apr 2006 09:53:33 +0100
>Forgot to say, with the bug ive just described, the first request
>fails, but
>the second request usually works, so it sounds similar.
>
>On 06/04/06, john mcteague <jo...@gmail.com> wrote:
>>
>> Although it may be an unrelated issue, there is a known problem
>with
>> OC4J's xml parser that shows up when two consecutive pages both
>contain
>> components with the same name. The error shows up as some sort of
>non-unique
>> element id exception (cant remember the exact Exception off the top
>of my
>> head).
>>
>> I use OC4J and have had to enforce a naming convention where I
>prefix
>> every component in a page file with the page name.
>>
>> Its a problem in OC4J 9.0.4 and earlier. Its apparently fixed in
>10.1.2,
>> although Ive not had the oppertunity to test it.
>>
>>
>> On 06/04/06, Jesse Kuhnert <jk...@gmail.com> wrote:
>> >
>> > Could you give the full stack trace of your exception?
>> >
>> > On 4/5/06, yesidredondo <ye...@www.ismgroupwwp.com> wrote:
>> > >
>> > > Hi, i need some help with tapestry, i 've made a big
>application with
>> > > tapestry and it works fine in jboss, but when i place it in the
>oc4j
>> > > server,
>> > > it have an strange mistake:
>> > >
>> > > Whenever i go to a page for first time it throws a
>RuntimeException
>> > "Could
>> > > not parse specification context:/WEB-INF/myPage.page" but if i
>try to
>> > go
>> > > to
>> > > that page again, it works!.. and it works forever!. I do not
>know why
>> > is
>> > > this happening.
>> > >
>> > > I am installing this application in a big enterprise and need a
>quick
>> > > solution, Thanks.
>> > >
>> > > Hermann Yesid Redondo Eslava
>> > > IT-GROUP
>> > >
>> > >
>---------------------------------------------------------------------
>> > > To unsubscribe, e-mail:
>tapestry-user-unsubscribe@jakarta.apache.org
>> > > For additional commands, e-mail:
>tapestry-user-help@jakarta.apache.org
>> > >
>> > >
>> >
>> >
>> > --
>> > Jesse Kuhnert
>> > Tacos/Tapestry, team member/developer
>> >
>> > Open source based consulting work centered around
>> > dojo/tapestry/tacos/hivemind. http://opennotion.com
>> >
>> >
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: Tapestry in oc4j
Posted by john mcteague <jo...@gmail.com>.
Tapestry uses commons Digester, which uses the standard JAXP API'S, the
Oracle implementation of which contains the bug.
The following archived emails from this list may help explain things
further:
http://search.gmane.org/?query=oc4j&group=gmane.comp.java.tapestry.user
On 06/04/06, yesidredondo <ye...@www.ismgroupwwp.com> wrote:
>
> john mcteague, have you got a page where i can find the oc4j bug?, and
> another question, doesn't tapestry have his own xmlparser? why should it
> be
> using the oc4j parser?.
>
> ---------- Forwarded Message -----------
> From: "yesidredondo" <ye...@www.ismgroupwwp.com>
> To: tapestry-user@jakarta.apache.org
> Sent: Thu, 6 Apr 2006 11:48:44 +0700
> Subject: Tapestry in oc4j
>
> Thanks a lot, i'm going to try to have the naming convention proposed,
> because it is difficult to me to try to update the company server or to
> change its startup script. Thanks a lot.
>
> Hermann Yesid Redondo (YP)
> IT-GROUP
>
> -----
>
> Hi,
>
> Although I never experienced this error, you might try the following
> java options in your oc4j startup script. I am using those, and maybe
> just for that reason have never seen this error. These options
> instruct oc4j to use another transformer and parser. I have those
> default in my startup script.
> -Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.T
> ransformerFactoryImpl
> -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.Docu
> mentBuilderFactoryImpl
> -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserF
> actoryImpl
>
> Good luck,
> Martijn
>
> ---- Original Message ----
> From: john.mcteague@gmail.com
> To: tapestry-user@jakarta.apache.org
> Subject: Re: Tapestry in oc4j. New User
> Date: Thu, 6 Apr 2006 09:53:33 +0100
>
> >Forgot to say, with the bug ive just described, the first request
> >fails, but
> >the second request usually works, so it sounds similar.
> >
> >On 06/04/06, john mcteague <jo...@gmail.com> wrote:
> >>
> >> Although it may be an unrelated issue, there is a known problem
> >with
> >> OC4J's xml parser that shows up when two consecutive pages both
> >contain
> >> components with the same name. The error shows up as some sort of
> >non-unique
> >> element id exception (cant remember the exact Exception off the top
> >of my
> >> head).
> >>
> >> I use OC4J and have had to enforce a naming convention where I
> >prefix
> >> every component in a page file with the page name.
> >>
> >> Its a problem in OC4J 9.0.4 and earlier. Its apparently fixed in
> >10.1.2,
> >> although Ive not had the oppertunity to test it.
> >>
> >>
> >> On 06/04/06, Jesse Kuhnert <jk...@gmail.com> wrote:
> >> >
> >> > Could you give the full stack trace of your exception?
> >> >
> >> > On 4/5/06, yesidredondo <ye...@www.ismgroupwwp.com> wrote:
> >> > >
> >> > > Hi, i need some help with tapestry, i 've made a big
> >application with
> >> > > tapestry and it works fine in jboss, but when i place it in the
> >oc4j
> >> > > server,
> >> > > it have an strange mistake:
> >> > >
> >> > > Whenever i go to a page for first time it throws a
> >RuntimeException
> >> > "Could
> >> > > not parse specification context:/WEB-INF/myPage.page" but if i
> >try to
> >> > go
> >> > > to
> >> > > that page again, it works!.. and it works forever!. I do not
> >know why
> >> > is
> >> > > this happening.
> >> > >
> >> > > I am installing this application in a big enterprise and need a
> >quick
> >> > > solution, Thanks.
> >> > >
> >> > > Hermann Yesid Redondo Eslava
> >> > > IT-GROUP
> >> > >
> >> > >
> >---------------------------------------------------------------------
> >> > > To unsubscribe, e-mail:
> >tapestry-user-unsubscribe@jakarta.apache.org
> >> > > For additional commands, e-mail:
> >tapestry-user-help@jakarta.apache.org
> >> > >
> >> > >
> >> >
> >> >
> >> > --
> >> > Jesse Kuhnert
> >> > Tacos/Tapestry, team member/developer
> >> >
> >> > Open source based consulting work centered around
> >> > dojo/tapestry/tacos/hivemind. http://opennotion.com
> >> >
> >> >
> >>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> ------- End of Forwarded Message -------
>
>
> Hermann Yesid Redondo Eslava
> Ingeniería de Sistemas
> IT-GROUP
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
Tapestry in oc4j
Posted by yesidredondo <ye...@www.ismgroupwwp.com>.
john mcteague, have you got a page where i can find the oc4j bug?, and
another question, doesn't tapestry have his own xmlparser? why should it be
using the oc4j parser?.
---------- Forwarded Message -----------
From: "yesidredondo" <ye...@www.ismgroupwwp.com>
To: tapestry-user@jakarta.apache.org
Sent: Thu, 6 Apr 2006 11:48:44 +0700
Subject: Tapestry in oc4j
Thanks a lot, i'm going to try to have the naming convention proposed,
because it is difficult to me to try to update the company server or to
change its startup script. Thanks a lot.
Hermann Yesid Redondo (YP)
IT-GROUP
-----
Hi,
Although I never experienced this error, you might try the following
java options in your oc4j startup script. I am using those, and maybe
just for that reason have never seen this error. These options
instruct oc4j to use another transformer and parser. I have those
default in my startup script.
-Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.T
ransformerFactoryImpl
-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.Docu
mentBuilderFactoryImpl
-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserF
actoryImpl
Good luck,
Martijn
---- Original Message ----
From: john.mcteague@gmail.com
To: tapestry-user@jakarta.apache.org
Subject: Re: Tapestry in oc4j. New User
Date: Thu, 6 Apr 2006 09:53:33 +0100
>Forgot to say, with the bug ive just described, the first request
>fails, but
>the second request usually works, so it sounds similar.
>
>On 06/04/06, john mcteague <jo...@gmail.com> wrote:
>>
>> Although it may be an unrelated issue, there is a known problem
>with
>> OC4J's xml parser that shows up when two consecutive pages both
>contain
>> components with the same name. The error shows up as some sort of
>non-unique
>> element id exception (cant remember the exact Exception off the top
>of my
>> head).
>>
>> I use OC4J and have had to enforce a naming convention where I
>prefix
>> every component in a page file with the page name.
>>
>> Its a problem in OC4J 9.0.4 and earlier. Its apparently fixed in
>10.1.2,
>> although Ive not had the oppertunity to test it.
>>
>>
>> On 06/04/06, Jesse Kuhnert <jk...@gmail.com> wrote:
>> >
>> > Could you give the full stack trace of your exception?
>> >
>> > On 4/5/06, yesidredondo <ye...@www.ismgroupwwp.com> wrote:
>> > >
>> > > Hi, i need some help with tapestry, i 've made a big
>application with
>> > > tapestry and it works fine in jboss, but when i place it in the
>oc4j
>> > > server,
>> > > it have an strange mistake:
>> > >
>> > > Whenever i go to a page for first time it throws a
>RuntimeException
>> > "Could
>> > > not parse specification context:/WEB-INF/myPage.page" but if i
>try to
>> > go
>> > > to
>> > > that page again, it works!.. and it works forever!. I do not
>know why
>> > is
>> > > this happening.
>> > >
>> > > I am installing this application in a big enterprise and need a
>quick
>> > > solution, Thanks.
>> > >
>> > > Hermann Yesid Redondo Eslava
>> > > IT-GROUP
>> > >
>> > >
>---------------------------------------------------------------------
>> > > To unsubscribe, e-mail:
>tapestry-user-unsubscribe@jakarta.apache.org
>> > > For additional commands, e-mail:
>tapestry-user-help@jakarta.apache.org
>> > >
>> > >
>> >
>> >
>> > --
>> > Jesse Kuhnert
>> > Tacos/Tapestry, team member/developer
>> >
>> > Open source based consulting work centered around
>> > dojo/tapestry/tacos/hivemind. http://opennotion.com
>> >
>> >
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
------- End of Forwarded Message -------
Hermann Yesid Redondo Eslava
Ingeniería de Sistemas
IT-GROUP
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: Tapestry in oc4j
Posted by Vinicius Carvalho <ja...@gmail.com>.
I can't resist... I work in an Oracle Advantage Partner company, and I hate
Oracle AS. it gives us nightmares... thanks for this post, we just had the
same problem when trying to deploy tapestry app on OC4J.
Regards
On 4/19/06, Martijn Hinten <ma...@cumquat.nl> wrote:
>
> For iAS that would be: $middle_tier_home/j2ee/home/yourOC4J/applib.
>
> Martijn Hinten wrote:
>
> > Hi Hermann,
> >
> > Yes, you need to put those libraries on the classpath, for example
> > just drop xercesImpl.jar and xml-apis.jar in
> > $OC4J_HOME/j2ee/home/applibs. All jars you drop there are visible to
> > all applications within that specific oc4j.
> > I will send those jars to your email account directly.
> >
> > Good luck,
> > Martijn
> >
> >
> > yesidredondo wrote:
> >
> >> I did what you have said Martijn, and you were right is not big deal
> >> passing
> >> those parameters, the problem now is that when i put this parameters
> >> in the
> >> jvm arguments of the oc4j instance the application did not run and i
> >> found
> >> this error on the log:
> >>
> >> 06/04/18 16:25:16 javax.xml.parsers.FactoryConfigurationError: Provider
> >> org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
> >> 06/04/18 16:25:16 at
> >> javax.xml.parsers.DocumentBuilderFactory.newInstance(
> DocumentBuilderFactory.java:99)
> >>
> >>
> >>
> >> 06/04/18 16:25:16 at
> >> com.evermind.xml.JavaxXMLUtils.getJavaxDocument(JavaxXMLUtils.java:23)
> >> 06/04/18 16:25:16 at
> >> com.evermind.xml.XMLUtils.getDocument(XMLUtils.java:179)
> >> 06/04/18 16:25:16 at
> >> com.evermind.xml.XMLConfig.init(XMLConfig.java:135)
> >> 06/04/18 16:25:16 at
> >> com.evermind.xml.XMLConfig.init(XMLConfig.java:92)
> >> 06/04/18 16:25:16 at
> >> com.evermind.server.XMLApplicationServerConfig.init(
> XMLApplicationServerConfig.java:1935)
> >>
> >>
> >>
> >> 06/04/18 16:25:16 at
> >> com.evermind.server.ApplicationServerLauncher.run(
> ApplicationServerLauncher.java:70)
> >>
> >>
> >>
> >> 06/04/18 16:25:16 at java.lang.Thread.run(Thread.java:534)
> >>
> >> May i put some aditional libraries in the IAS?
> >>
> >> Hermann Yesid Redondo Eslava
> >> Ingeniería de Sistemas
> >> IT-GROUP
> >>
> >> ---------- Original Message -----------
> >> From: Martijn Hinten <ma...@cumquat.nl>
> >> To: Tapestry users <ta...@jakarta.apache.org>
> >> Sent: Thu, 06 Apr 2006 21:40:48 +0200
> >> Subject: Re: Tapestry in oc4j
> >>
> >>
> >>
> >>> Off course you must do what you seem is best, but it is really no big
> >>> deal passing those parameters to OC4J. I assume you are using iAS, so
> >>> just let them pass in the parameters via the "jvm arguments" section
> >>> on the specific OC4J page. (there should allready be some arguments
> >>> passed
> >>> in there anyway, like memory settings and such, so just add these to
> >>> the list).
> >>>
> >>> yesidredondo wrote:
> >>>
> >>>
> >>>
> >>>> Thanks a lot, i'm going to try to have the naming convention
> proposed,
> >>>> because it is difficult to me to try to update the company server
> >>>> or to
> >>>> change its startup script. Thanks a lot.
> >>>>
> >>>> Hermann Yesid Redondo (YP)
> >>>> IT-GROUP
> >>>>
> >>>> -----
> >>>>
> >>>> Hi,
> >>>>
> >>>> Although I never experienced this error, you might try the following
> >>>> java options in your oc4j startup script. I am using those, and maybe
> >>>> just for that reason have never seen this error. These options
> >>>> instruct oc4j to use another transformer and parser. I have those
> >>>> default in my startup script.
> >>>> -Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.T
> >>>> ransformerFactoryImpl
> >>>> -
> Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.Docu
> >>>> mentBuilderFactoryImpl
> >>>> -
> Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserF
> >>>> actoryImpl
> >>>>
> >>>> Good luck,
> >>>> Martijn
> >>>>
> >>>>
> >>>>
> >>>> ---- Original Message ----
> >>>> From: john.mcteague@gmail.com
> >>>> To: tapestry-user@jakarta.apache.org
> >>>> Subject: Re: Tapestry in oc4j. New User
> >>>> Date: Thu, 6 Apr 2006 09:53:33 +0100
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>> Forgot to say, with the bug ive just described, the first request
> >>>>> fails, but
> >>>>> the second request usually works, so it sounds similar.
> >>>>>
> >>>>> On 06/04/06, john mcteague <jo...@gmail.com> wrote:
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>> Although it may be an unrelated issue, there is a known problem
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>
> >>>>> with
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>> OC4J's xml parser that shows up when two consecutive pages both
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>
> >>>>> contain
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>> components with the same name. The error shows up as some sort of
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>
> >>>>> non-unique
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>> element id exception (cant remember the exact Exception off the top
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>
> >>>>> of my
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>> head).
> >>>>>>
> >>>>>> I use OC4J and have had to enforce a naming convention where I
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>
> >>>>> prefix
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>> every component in a page file with the page name.
> >>>>>>
> >>>>>> Its a problem in OC4J 9.0.4 and earlier. Its apparently fixed in
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>
> >>>>> 10.1.2,
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>> although Ive not had the oppertunity to test it.
> >>>>>>
> >>>>>>
> >>>>>> On 06/04/06, Jesse Kuhnert <jk...@gmail.com> wrote:
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>> Could you give the full stack trace of your exception?
> >>>>>>>
> >>>>>>> On 4/5/06, yesidredondo <ye...@www.ismgroupwwp.com> wrote:
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>> Hi, i need some help with tapestry, i 've made a big
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>
> >>>>> application with
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>>>> tapestry and it works fine in jboss, but when i place it in the
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>
> >>>>> oc4j
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>>>> server,
> >>>>>>>> it have an strange mistake:
> >>>>>>>>
> >>>>>>>> Whenever i go to a page for first time it throws a
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>
> >>>>> RuntimeException
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>>> "Could
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>> not parse specification context:/WEB-INF/myPage.page" but if i
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>
> >>>>> try to
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>>> go
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>> to
> >>>>>>>> that page again, it works!.. and it works forever!. I do not
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>
> >>>>> know why
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>>> is
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>> this happening.
> >>>>>>>>
> >>>>>>>> I am installing this application in a big enterprise and need a
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>
> >>>>> quick
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>>>> solution, Thanks.
> >>>>>>>>
> >>>>>>>> Hermann Yesid Redondo Eslava
> >>>>>>>> IT-GROUP
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>
> >>>>>
> ---------------------------------------------------------------------
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>>>> To unsubscribe, e-mail:
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>
> >>>>> tapestry-user-unsubscribe@jakarta.apache.org
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>>>> For additional commands, e-mail:
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>
> >>>>> tapestry-user-help@jakarta.apache.org
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>>>>
> >>>>>>>
> >>>>>>> --
> >>>>>>> Jesse Kuhnert
> >>>>>>> Tacos/Tapestry, team member/developer
> >>>>>>>
> >>>>>>> Open source based consulting work centered around
> >>>>>>> dojo/tapestry/tacos/hivemind. http://opennotion.com
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>
> >>>> ---------------------------------------------------------------------
> >>>> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> >>>> For additional commands, e-mail:
> tapestry-user-help@jakarta.apache.org
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>
> >>> --
> >>>
> >>> *Cumquat Information Technology*
> >>> De Dreef 19
> >>> 3706 BR Zeist
> >>> T +31 (0)30 - 6940490
> >>> F +31 (0)10 - 6940499
> >>> http://www.cumquat.nl <http://www.cumquat.nl/>
> >>>
> >>> martijn.hinten@cumquat.nl <ma...@cumquat.nl>
> >>> M +31 6 22 384 318
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> >>> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> >>>
> >>
> >> ------- End of Original Message -------
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> >> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> >>
> >>
> >>
> >>
> >
>
> --
>
>
> *Cumquat Information Technology*
> De Dreef 19
> 3706 BR Zeist
> T +31 (0)30 - 6940490
> F +31 (0)10 - 6940499
> http://www.cumquat.nl <http://www.cumquat.nl/>
>
> martijn.hinten@cumquat.nl <ma...@cumquat.nl>
> M +31 6 22 384 318
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
Re: Tapestry in oc4j
Posted by Martijn Hinten <ma...@cumquat.nl>.
For iAS that would be: $middle_tier_home/j2ee/home/yourOC4J/applib.
Martijn Hinten wrote:
> Hi Hermann,
>
> Yes, you need to put those libraries on the classpath, for example
> just drop xercesImpl.jar and xml-apis.jar in
> $OC4J_HOME/j2ee/home/applibs. All jars you drop there are visible to
> all applications within that specific oc4j.
> I will send those jars to your email account directly.
>
> Good luck,
> Martijn
>
>
> yesidredondo wrote:
>
>> I did what you have said Martijn, and you were right is not big deal
>> passing
>> those parameters, the problem now is that when i put this parameters
>> in the
>> jvm arguments of the oc4j instance the application did not run and i
>> found
>> this error on the log:
>>
>> 06/04/18 16:25:16 javax.xml.parsers.FactoryConfigurationError: Provider
>> org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
>> 06/04/18 16:25:16 at
>> javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:99)
>>
>>
>>
>> 06/04/18 16:25:16 at
>> com.evermind.xml.JavaxXMLUtils.getJavaxDocument(JavaxXMLUtils.java:23)
>> 06/04/18 16:25:16 at
>> com.evermind.xml.XMLUtils.getDocument(XMLUtils.java:179)
>> 06/04/18 16:25:16 at
>> com.evermind.xml.XMLConfig.init(XMLConfig.java:135)
>> 06/04/18 16:25:16 at
>> com.evermind.xml.XMLConfig.init(XMLConfig.java:92)
>> 06/04/18 16:25:16 at
>> com.evermind.server.XMLApplicationServerConfig.init(XMLApplicationServerConfig.java:1935)
>>
>>
>>
>> 06/04/18 16:25:16 at
>> com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:70)
>>
>>
>>
>> 06/04/18 16:25:16 at java.lang.Thread.run(Thread.java:534)
>>
>> May i put some aditional libraries in the IAS?
>>
>> Hermann Yesid Redondo Eslava
>> Ingeniería de Sistemas
>> IT-GROUP
>>
>> ---------- Original Message -----------
>> From: Martijn Hinten <ma...@cumquat.nl>
>> To: Tapestry users <ta...@jakarta.apache.org>
>> Sent: Thu, 06 Apr 2006 21:40:48 +0200
>> Subject: Re: Tapestry in oc4j
>>
>>
>>
>>> Off course you must do what you seem is best, but it is really no big
>>> deal passing those parameters to OC4J. I assume you are using iAS, so
>>> just let them pass in the parameters via the "jvm arguments" section
>>> on the specific OC4J page. (there should allready be some arguments
>>> passed
>>> in there anyway, like memory settings and such, so just add these to
>>> the list).
>>>
>>> yesidredondo wrote:
>>>
>>>
>>>
>>>> Thanks a lot, i'm going to try to have the naming convention proposed,
>>>> because it is difficult to me to try to update the company server
>>>> or to
>>>> change its startup script. Thanks a lot.
>>>>
>>>> Hermann Yesid Redondo (YP)
>>>> IT-GROUP
>>>>
>>>> -----
>>>>
>>>> Hi,
>>>>
>>>> Although I never experienced this error, you might try the following
>>>> java options in your oc4j startup script. I am using those, and maybe
>>>> just for that reason have never seen this error. These options
>>>> instruct oc4j to use another transformer and parser. I have those
>>>> default in my startup script.
>>>> -Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.T
>>>> ransformerFactoryImpl
>>>> -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.Docu
>>>> mentBuilderFactoryImpl
>>>> -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserF
>>>> actoryImpl
>>>>
>>>> Good luck,
>>>> Martijn
>>>>
>>>>
>>>>
>>>> ---- Original Message ----
>>>> From: john.mcteague@gmail.com
>>>> To: tapestry-user@jakarta.apache.org
>>>> Subject: Re: Tapestry in oc4j. New User
>>>> Date: Thu, 6 Apr 2006 09:53:33 +0100
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>> Forgot to say, with the bug ive just described, the first request
>>>>> fails, but
>>>>> the second request usually works, so it sounds similar.
>>>>>
>>>>> On 06/04/06, john mcteague <jo...@gmail.com> wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> Although it may be an unrelated issue, there is a known problem
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> with
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> OC4J's xml parser that shows up when two consecutive pages both
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> contain
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> components with the same name. The error shows up as some sort of
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> non-unique
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> element id exception (cant remember the exact Exception off the top
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> of my
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> head).
>>>>>>
>>>>>> I use OC4J and have had to enforce a naming convention where I
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> prefix
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> every component in a page file with the page name.
>>>>>>
>>>>>> Its a problem in OC4J 9.0.4 and earlier. Its apparently fixed in
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> 10.1.2,
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> although Ive not had the oppertunity to test it.
>>>>>>
>>>>>>
>>>>>> On 06/04/06, Jesse Kuhnert <jk...@gmail.com> wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>> Could you give the full stack trace of your exception?
>>>>>>>
>>>>>>> On 4/5/06, yesidredondo <ye...@www.ismgroupwwp.com> wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> Hi, i need some help with tapestry, i 've made a big
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>> application with
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>>> tapestry and it works fine in jboss, but when i place it in the
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>> oc4j
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>>> server,
>>>>>>>> it have an strange mistake:
>>>>>>>>
>>>>>>>> Whenever i go to a page for first time it throws a
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>> RuntimeException
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>> "Could
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> not parse specification context:/WEB-INF/myPage.page" but if i
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>> try to
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>> go
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> to
>>>>>>>> that page again, it works!.. and it works forever!. I do not
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>> know why
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>> is
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> this happening.
>>>>>>>>
>>>>>>>> I am installing this application in a big enterprise and need a
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>> quick
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>>> solution, Thanks.
>>>>>>>>
>>>>>>>> Hermann Yesid Redondo Eslava
>>>>>>>> IT-GROUP
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>> ---------------------------------------------------------------------
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>>> To unsubscribe, e-mail:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>> tapestry-user-unsubscribe@jakarta.apache.org
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>>> For additional commands, e-mail:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>> tapestry-user-help@jakarta.apache.org
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Jesse Kuhnert
>>>>>>> Tacos/Tapestry, team member/developer
>>>>>>>
>>>>>>> Open source based consulting work centered around
>>>>>>> dojo/tapestry/tacos/hivemind. http://opennotion.com
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>>>> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>> --
>>>
>>> *Cumquat Information Technology*
>>> De Dreef 19
>>> 3706 BR Zeist
>>> T +31 (0)30 - 6940490
>>> F +31 (0)10 - 6940499
>>> http://www.cumquat.nl <http://www.cumquat.nl/>
>>>
>>> martijn.hinten@cumquat.nl <ma...@cumquat.nl>
>>> M +31 6 22 384 318
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>>>
>>
>> ------- End of Original Message -------
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>>
>>
>>
>>
>
--
*Cumquat Information Technology*
De Dreef 19
3706 BR Zeist
T +31 (0)30 - 6940490
F +31 (0)10 - 6940499
http://www.cumquat.nl <http://www.cumquat.nl/>
martijn.hinten@cumquat.nl <ma...@cumquat.nl>
M +31 6 22 384 318
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: Tapestry in oc4j
Posted by Martijn Hinten <ma...@cumquat.nl>.
Hi Hermann,
Yes, you need to put those libraries on the classpath, for example just
drop xercesImpl.jar and xml-apis.jar in $OC4J_HOME/j2ee/home/applibs.
All jars you drop there are visible to all applications within that
specific oc4j.
I will send those jars to your email account directly.
Good luck,
Martijn
yesidredondo wrote:
>I did what you have said Martijn, and you were right is not big deal passing
>those parameters, the problem now is that when i put this parameters in the
>jvm arguments of the oc4j instance the application did not run and i found
>this error on the log:
>
>06/04/18 16:25:16 javax.xml.parsers.FactoryConfigurationError: Provider
>org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
>
>06/04/18 16:25:16 at
>javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:99)
>
>
>06/04/18 16:25:16 at
>com.evermind.xml.JavaxXMLUtils.getJavaxDocument(JavaxXMLUtils.java:23)
>
>06/04/18 16:25:16 at com.evermind.xml.XMLUtils.getDocument(XMLUtils.java:179)
>
>06/04/18 16:25:16 at com.evermind.xml.XMLConfig.init(XMLConfig.java:135)
>
>06/04/18 16:25:16 at com.evermind.xml.XMLConfig.init(XMLConfig.java:92)
>
>06/04/18 16:25:16 at
>com.evermind.server.XMLApplicationServerConfig.init(XMLApplicationServerConfig.java:1935)
>
>
>06/04/18 16:25:16 at
>com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:70)
>
>
>06/04/18 16:25:16 at java.lang.Thread.run(Thread.java:534)
>
>May i put some aditional libraries in the IAS?
>
>Hermann Yesid Redondo Eslava
>Ingeniería de Sistemas
>IT-GROUP
>
>---------- Original Message -----------
>From: Martijn Hinten <ma...@cumquat.nl>
>To: Tapestry users <ta...@jakarta.apache.org>
>Sent: Thu, 06 Apr 2006 21:40:48 +0200
>Subject: Re: Tapestry in oc4j
>
>
>
>>Off course you must do what you seem is best, but it is really no big
>>deal passing those parameters to OC4J. I assume you are using iAS, so
>>just let them pass in the parameters via the "jvm arguments" section
>>on the specific OC4J page. (there should allready be some arguments passed
>>in there anyway, like memory settings and such, so just add these to
>>the list).
>>
>>yesidredondo wrote:
>>
>>
>>
>>>Thanks a lot, i'm going to try to have the naming convention proposed,
>>>because it is difficult to me to try to update the company server or to
>>>change its startup script. Thanks a lot.
>>>
>>>Hermann Yesid Redondo (YP)
>>>IT-GROUP
>>>
>>>-----
>>>
>>>Hi,
>>>
>>>Although I never experienced this error, you might try the following
>>>java options in your oc4j startup script. I am using those, and maybe
>>>just for that reason have never seen this error. These options
>>>instruct oc4j to use another transformer and parser. I have those
>>>default in my startup script.
>>>-Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.T
>>>ransformerFactoryImpl
>>>-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.Docu
>>>mentBuilderFactoryImpl
>>>-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserF
>>>actoryImpl
>>>
>>>Good luck,
>>>Martijn
>>>
>>>
>>>
>>>---- Original Message ----
>>>From: john.mcteague@gmail.com
>>>To: tapestry-user@jakarta.apache.org
>>>Subject: Re: Tapestry in oc4j. New User
>>>Date: Thu, 6 Apr 2006 09:53:33 +0100
>>>
>>>
>>>
>>>
>>>
>>>>Forgot to say, with the bug ive just described, the first request
>>>>fails, but
>>>>the second request usually works, so it sounds similar.
>>>>
>>>>On 06/04/06, john mcteague <jo...@gmail.com> wrote:
>>>>
>>>>
>>>>
>>>>
>>>>>Although it may be an unrelated issue, there is a known problem
>>>>>
>>>>>
>>>>>
>>>>>
>>>>with
>>>>
>>>>
>>>>
>>>>
>>>>>OC4J's xml parser that shows up when two consecutive pages both
>>>>>
>>>>>
>>>>>
>>>>>
>>>>contain
>>>>
>>>>
>>>>
>>>>
>>>>>components with the same name. The error shows up as some sort of
>>>>>
>>>>>
>>>>>
>>>>>
>>>>non-unique
>>>>
>>>>
>>>>
>>>>
>>>>>element id exception (cant remember the exact Exception off the top
>>>>>
>>>>>
>>>>>
>>>>>
>>>>of my
>>>>
>>>>
>>>>
>>>>
>>>>>head).
>>>>>
>>>>>I use OC4J and have had to enforce a naming convention where I
>>>>>
>>>>>
>>>>>
>>>>>
>>>>prefix
>>>>
>>>>
>>>>
>>>>
>>>>>every component in a page file with the page name.
>>>>>
>>>>>Its a problem in OC4J 9.0.4 and earlier. Its apparently fixed in
>>>>>
>>>>>
>>>>>
>>>>>
>>>>10.1.2,
>>>>
>>>>
>>>>
>>>>
>>>>>although Ive not had the oppertunity to test it.
>>>>>
>>>>>
>>>>>On 06/04/06, Jesse Kuhnert <jk...@gmail.com> wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>Could you give the full stack trace of your exception?
>>>>>>
>>>>>>On 4/5/06, yesidredondo <ye...@www.ismgroupwwp.com> wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>Hi, i need some help with tapestry, i 've made a big
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>application with
>>>>
>>>>
>>>>
>>>>
>>>>>>>tapestry and it works fine in jboss, but when i place it in the
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>oc4j
>>>>
>>>>
>>>>
>>>>
>>>>>>>server,
>>>>>>>it have an strange mistake:
>>>>>>>
>>>>>>>Whenever i go to a page for first time it throws a
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>RuntimeException
>>>>
>>>>
>>>>
>>>>
>>>>>>"Could
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>not parse specification context:/WEB-INF/myPage.page" but if i
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>try to
>>>>
>>>>
>>>>
>>>>
>>>>>>go
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>to
>>>>>>>that page again, it works!.. and it works forever!. I do not
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>know why
>>>>
>>>>
>>>>
>>>>
>>>>>>is
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>this happening.
>>>>>>>
>>>>>>>I am installing this application in a big enterprise and need a
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>quick
>>>>
>>>>
>>>>
>>>>
>>>>>>>solution, Thanks.
>>>>>>>
>>>>>>>Hermann Yesid Redondo Eslava
>>>>>>>IT-GROUP
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>---------------------------------------------------------------------
>>>>
>>>>
>>>>
>>>>
>>>>>>>To unsubscribe, e-mail:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>tapestry-user-unsubscribe@jakarta.apache.org
>>>>
>>>>
>>>>
>>>>
>>>>>>>For additional commands, e-mail:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>tapestry-user-help@jakarta.apache.org
>>>>
>>>>
>>>>
>>>>
>>>>>>>
>>>>>>>
>>>>>>--
>>>>>>Jesse Kuhnert
>>>>>>Tacos/Tapestry, team member/developer
>>>>>>
>>>>>>Open source based consulting work centered around
>>>>>>dojo/tapestry/tacos/hivemind. http://opennotion.com
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>>>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>>>
>>>
>>>
>>>
>>>
>>>
>>--
>>
>>*Cumquat Information Technology*
>>De Dreef 19
>>3706 BR Zeist
>>T +31 (0)30 - 6940490
>>F +31 (0)10 - 6940499
>>http://www.cumquat.nl <http://www.cumquat.nl/>
>>
>>martijn.hinten@cumquat.nl <ma...@cumquat.nl>
>>M +31 6 22 384 318
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>>
>>
>------- End of Original Message -------
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
>
>
--
*Cumquat Information Technology*
De Dreef 19
3706 BR Zeist
T +31 (0)30 - 6940490
F +31 (0)10 - 6940499
http://www.cumquat.nl <http://www.cumquat.nl/>
martijn.hinten@cumquat.nl <ma...@cumquat.nl>
M +31 6 22 384 318
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: Tapestry in oc4j
Posted by yesidredondo <ye...@www.ismgroupwwp.com>.
I did what you have said Martijn, and you were right is not big deal passing
those parameters, the problem now is that when i put this parameters in the
jvm arguments of the oc4j instance the application did not run and i found
this error on the log:
06/04/18 16:25:16 javax.xml.parsers.FactoryConfigurationError: Provider
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
06/04/18 16:25:16 at
javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:99)
06/04/18 16:25:16 at
com.evermind.xml.JavaxXMLUtils.getJavaxDocument(JavaxXMLUtils.java:23)
06/04/18 16:25:16 at com.evermind.xml.XMLUtils.getDocument(XMLUtils.java:179)
06/04/18 16:25:16 at com.evermind.xml.XMLConfig.init(XMLConfig.java:135)
06/04/18 16:25:16 at com.evermind.xml.XMLConfig.init(XMLConfig.java:92)
06/04/18 16:25:16 at
com.evermind.server.XMLApplicationServerConfig.init(XMLApplicationServerConfig.java:1935)
06/04/18 16:25:16 at
com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:70)
06/04/18 16:25:16 at java.lang.Thread.run(Thread.java:534)
May i put some aditional libraries in the IAS?
Hermann Yesid Redondo Eslava
Ingeniería de Sistemas
IT-GROUP
---------- Original Message -----------
From: Martijn Hinten <ma...@cumquat.nl>
To: Tapestry users <ta...@jakarta.apache.org>
Sent: Thu, 06 Apr 2006 21:40:48 +0200
Subject: Re: Tapestry in oc4j
> Off course you must do what you seem is best, but it is really no big
> deal passing those parameters to OC4J. I assume you are using iAS, so
> just let them pass in the parameters via the "jvm arguments" section
> on the specific OC4J page. (there should allready be some arguments passed
> in there anyway, like memory settings and such, so just add these to
> the list).
>
> yesidredondo wrote:
>
> >Thanks a lot, i'm going to try to have the naming convention proposed,
> >because it is difficult to me to try to update the company server or to
> >change its startup script. Thanks a lot.
> >
> >Hermann Yesid Redondo (YP)
> >IT-GROUP
> >
> >-----
> >
> >Hi,
> >
> >Although I never experienced this error, you might try the following
> >java options in your oc4j startup script. I am using those, and maybe
> >just for that reason have never seen this error. These options
> >instruct oc4j to use another transformer and parser. I have those
> >default in my startup script.
> > -Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.T
> >ransformerFactoryImpl
> >-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.Docu
> >mentBuilderFactoryImpl
> >-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserF
> >actoryImpl
> >
> >Good luck,
> >Martijn
> >
> >
> >
> >---- Original Message ----
> >From: john.mcteague@gmail.com
> >To: tapestry-user@jakarta.apache.org
> >Subject: Re: Tapestry in oc4j. New User
> >Date: Thu, 6 Apr 2006 09:53:33 +0100
> >
> >
> >
> >>Forgot to say, with the bug ive just described, the first request
> >>fails, but
> >>the second request usually works, so it sounds similar.
> >>
> >>On 06/04/06, john mcteague <jo...@gmail.com> wrote:
> >>
> >>
> >>>Although it may be an unrelated issue, there is a known problem
> >>>
> >>>
> >>with
> >>
> >>
> >>>OC4J's xml parser that shows up when two consecutive pages both
> >>>
> >>>
> >>contain
> >>
> >>
> >>>components with the same name. The error shows up as some sort of
> >>>
> >>>
> >>non-unique
> >>
> >>
> >>>element id exception (cant remember the exact Exception off the top
> >>>
> >>>
> >>of my
> >>
> >>
> >>>head).
> >>>
> >>>I use OC4J and have had to enforce a naming convention where I
> >>>
> >>>
> >>prefix
> >>
> >>
> >>>every component in a page file with the page name.
> >>>
> >>>Its a problem in OC4J 9.0.4 and earlier. Its apparently fixed in
> >>>
> >>>
> >>10.1.2,
> >>
> >>
> >>>although Ive not had the oppertunity to test it.
> >>>
> >>>
> >>>On 06/04/06, Jesse Kuhnert <jk...@gmail.com> wrote:
> >>>
> >>>
> >>>>Could you give the full stack trace of your exception?
> >>>>
> >>>>On 4/5/06, yesidredondo <ye...@www.ismgroupwwp.com> wrote:
> >>>>
> >>>>
> >>>>>Hi, i need some help with tapestry, i 've made a big
> >>>>>
> >>>>>
> >>application with
> >>
> >>
> >>>>>tapestry and it works fine in jboss, but when i place it in the
> >>>>>
> >>>>>
> >>oc4j
> >>
> >>
> >>>>>server,
> >>>>>it have an strange mistake:
> >>>>>
> >>>>>Whenever i go to a page for first time it throws a
> >>>>>
> >>>>>
> >>RuntimeException
> >>
> >>
> >>>>"Could
> >>>>
> >>>>
> >>>>>not parse specification context:/WEB-INF/myPage.page" but if i
> >>>>>
> >>>>>
> >>try to
> >>
> >>
> >>>>go
> >>>>
> >>>>
> >>>>>to
> >>>>>that page again, it works!.. and it works forever!. I do not
> >>>>>
> >>>>>
> >>know why
> >>
> >>
> >>>>is
> >>>>
> >>>>
> >>>>>this happening.
> >>>>>
> >>>>>I am installing this application in a big enterprise and need a
> >>>>>
> >>>>>
> >>quick
> >>
> >>
> >>>>>solution, Thanks.
> >>>>>
> >>>>>Hermann Yesid Redondo Eslava
> >>>>>IT-GROUP
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>---------------------------------------------------------------------
> >>
> >>
> >>>>>To unsubscribe, e-mail:
> >>>>>
> >>>>>
> >>tapestry-user-unsubscribe@jakarta.apache.org
> >>
> >>
> >>>>>For additional commands, e-mail:
> >>>>>
> >>>>>
> >>tapestry-user-help@jakarta.apache.org
> >>
> >>
> >>>>>
> >>>>>
> >>>>--
> >>>>Jesse Kuhnert
> >>>>Tacos/Tapestry, team member/developer
> >>>>
> >>>>Open source based consulting work centered around
> >>>>dojo/tapestry/tacos/hivemind. http://opennotion.com
> >>>>
> >>>>
> >>>>
> >>>>
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> >
> >
> >
> >
>
> --
>
> *Cumquat Information Technology*
> De Dreef 19
> 3706 BR Zeist
> T +31 (0)30 - 6940490
> F +31 (0)10 - 6940499
> http://www.cumquat.nl <http://www.cumquat.nl/>
>
> martijn.hinten@cumquat.nl <ma...@cumquat.nl>
> M +31 6 22 384 318
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
------- End of Original Message -------
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: Tapestry in oc4j
Posted by Martijn Hinten <ma...@cumquat.nl>.
Off course you must do what you seem is best, but it is really no big
deal passing those parameters to OC4J. I assume you are using iAS, so
just let them pass in the parameters via the "jvm arguments" section on
the specific OC4J page. (there should allready be some arguments passed
in there anyway, like memory settings and such, so just add these to the
list).
yesidredondo wrote:
>Thanks a lot, i'm going to try to have the naming convention proposed,
>because it is difficult to me to try to update the company server or to
>change its startup script. Thanks a lot.
>
>Hermann Yesid Redondo (YP)
>IT-GROUP
>
>-----
>
>Hi,
>
>Although I never experienced this error, you might try the following
>java options in your oc4j startup script. I am using those, and maybe
>just for that reason have never seen this error. These options
>instruct oc4j to use another transformer and parser. I have those
>default in my startup script.
> -Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.T
>ransformerFactoryImpl
>-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.Docu
>mentBuilderFactoryImpl
>-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserF
>actoryImpl
>
>Good luck,
>Martijn
>
>
>
>---- Original Message ----
>From: john.mcteague@gmail.com
>To: tapestry-user@jakarta.apache.org
>Subject: Re: Tapestry in oc4j. New User
>Date: Thu, 6 Apr 2006 09:53:33 +0100
>
>
>
>>Forgot to say, with the bug ive just described, the first request
>>fails, but
>>the second request usually works, so it sounds similar.
>>
>>On 06/04/06, john mcteague <jo...@gmail.com> wrote:
>>
>>
>>>Although it may be an unrelated issue, there is a known problem
>>>
>>>
>>with
>>
>>
>>>OC4J's xml parser that shows up when two consecutive pages both
>>>
>>>
>>contain
>>
>>
>>>components with the same name. The error shows up as some sort of
>>>
>>>
>>non-unique
>>
>>
>>>element id exception (cant remember the exact Exception off the top
>>>
>>>
>>of my
>>
>>
>>>head).
>>>
>>>I use OC4J and have had to enforce a naming convention where I
>>>
>>>
>>prefix
>>
>>
>>>every component in a page file with the page name.
>>>
>>>Its a problem in OC4J 9.0.4 and earlier. Its apparently fixed in
>>>
>>>
>>10.1.2,
>>
>>
>>>although Ive not had the oppertunity to test it.
>>>
>>>
>>>On 06/04/06, Jesse Kuhnert <jk...@gmail.com> wrote:
>>>
>>>
>>>>Could you give the full stack trace of your exception?
>>>>
>>>>On 4/5/06, yesidredondo <ye...@www.ismgroupwwp.com> wrote:
>>>>
>>>>
>>>>>Hi, i need some help with tapestry, i 've made a big
>>>>>
>>>>>
>>application with
>>
>>
>>>>>tapestry and it works fine in jboss, but when i place it in the
>>>>>
>>>>>
>>oc4j
>>
>>
>>>>>server,
>>>>>it have an strange mistake:
>>>>>
>>>>>Whenever i go to a page for first time it throws a
>>>>>
>>>>>
>>RuntimeException
>>
>>
>>>>"Could
>>>>
>>>>
>>>>>not parse specification context:/WEB-INF/myPage.page" but if i
>>>>>
>>>>>
>>try to
>>
>>
>>>>go
>>>>
>>>>
>>>>>to
>>>>>that page again, it works!.. and it works forever!. I do not
>>>>>
>>>>>
>>know why
>>
>>
>>>>is
>>>>
>>>>
>>>>>this happening.
>>>>>
>>>>>I am installing this application in a big enterprise and need a
>>>>>
>>>>>
>>quick
>>
>>
>>>>>solution, Thanks.
>>>>>
>>>>>Hermann Yesid Redondo Eslava
>>>>>IT-GROUP
>>>>>
>>>>>
>>>>>
>>>>>
>>---------------------------------------------------------------------
>>
>>
>>>>>To unsubscribe, e-mail:
>>>>>
>>>>>
>>tapestry-user-unsubscribe@jakarta.apache.org
>>
>>
>>>>>For additional commands, e-mail:
>>>>>
>>>>>
>>tapestry-user-help@jakarta.apache.org
>>
>>
>>>>>
>>>>>
>>>>--
>>>>Jesse Kuhnert
>>>>Tacos/Tapestry, team member/developer
>>>>
>>>>Open source based consulting work centered around
>>>>dojo/tapestry/tacos/hivemind. http://opennotion.com
>>>>
>>>>
>>>>
>>>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
>
>
--
*Cumquat Information Technology*
De Dreef 19
3706 BR Zeist
T +31 (0)30 - 6940490
F +31 (0)10 - 6940499
http://www.cumquat.nl <http://www.cumquat.nl/>
martijn.hinten@cumquat.nl <ma...@cumquat.nl>
M +31 6 22 384 318
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org