tapestry-user@jakarta.apache.org
[Top] [All Lists]

Re: Tapestry in oc4j

Subject: Re: Tapestry in oc4j
From: "yesidredondo"
Date: Thu, 20 Apr 2006 12:20:42 +0700
Finally i got it working today, but when i dropped the libraries on the
$middle_tier_home/j2ee/home/yourOC4J/applib it didn't get them, so i dropped
them in: $middle_tier_home/jdk/jre/lib/ext and it works!!!!.. Thanks a lot.

Hermann Yesid Redondo Eslava
Ingeniería de Sistemas
IT-GROUP

---------- Original Message -----------
From: "Martijn Hinten" <martijn.hinten@xxxxxxxxxx>
To: tapestry-user@xxxxxxxxxxxxxxxxxx
Sent: Thu, 20 Apr 2006 09:47:33 +0200
Subject: Re: Tapestry in oc4j

> But I assume you got it working?
> 
> ---- Original Message ----
> From: java.vinicius@xxxxxxxxx
> To: tapestry-user@xxxxxxxxxxxxxxxxxx
> Subject: Re: Tapestry in oc4j
> Date: Wed, 19 Apr 2006 22:59:20 -0300
> 
> >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 <martijn.hinten@xxxxxxxxxx> 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 <martijn.hinten@xxxxxxxxxx>
> >> >> To: Tapestry users <tapestry-user@xxxxxxxxxxxxxxxxxx>
> >> >> 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@xxxxxxxxx
> >> >>>> To: tapestry-user@xxxxxxxxxxxxxxxxxx
> >> >>>> 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 <john.mcteague@xxxxxxxxx> 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 <jkuhnert@xxxxxxxxx> wrote:
> >> >>>>>>
> >> >>>>>>
> >> >>>>>>
> >> >>>>>>
> >> >>>>>>> Could you give the full stack trace of your exception?
> >> >>>>>>>
> >> >>>>>>> On 4/5/06, yesidredondo <yesidredondo@xxxxxxxxxxxxxxxxxxx>
> >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@xxxxxxxxxxxxxxxxxx
> >> >>>>>
> >> >>>>>
> >> >>>>>
> >> >>>>>
> >> >>>>>>>> For additional commands, e-mail:
> >> >>>>>>>>
> >> >>>>>>>>
> >> >>>>>>>>
> >> >>>>>>>
> >> >>>>> tapestry-user-help@xxxxxxxxxxxxxxxxxx
> >> >>>>>
> >> >>>>>
> >> >>>>>
> >> >>>>>
> >> >>>>>>>>
> >> >>>>>>>
> >> >>>>>>> --
> >> >>>>>>> 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@xxxxxxxxxxxxxxxxxx
> >> >>>> For additional commands, e-mail:
> >> tapestry-user-help@xxxxxxxxxxxxxxxxxx
> >> >>>>
> >> >>>>
> >> >>>>
> >> >>>>
> >> >>>>
> >> >>>
> >> >>> --
> >> >>>
> >> >>> *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@xxxxxxxxxx <mailto:martijn.hinten@xxxxxxxxxx>
> >> >>> M +31 6 22 384 318
> >> >>>
> >> >>>
> >---------------------------------------------------------------------
> >> >>> To unsubscribe, e-mail:
> >tapestry-user-unsubscribe@xxxxxxxxxxxxxxxxxx
> >> >>> For additional commands, e-mail:
> >tapestry-user-help@xxxxxxxxxxxxxxxxxx
> >> >>>
> >> >>
> >> >> ------- End of Original Message -------
> >> >>
> >> >>
> >> >>
> >---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail:
> >tapestry-user-unsubscribe@xxxxxxxxxxxxxxxxxx
> >> >> For additional commands, e-mail:
> >tapestry-user-help@xxxxxxxxxxxxxxxxxx
> >> >>
> >> >>
> >> >>
> >> >>
> >> >
> >>
> >> --
> >>
> >>
> >> *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@xxxxxxxxxx <mailto:martijn.hinten@xxxxxxxxxx>
> >> M +31 6 22 384 318
> >>
> >>
> >>
> >---------------------------------------------------------------------
> >> To unsubscribe, e-mail:
> >tapestry-user-unsubscribe@xxxxxxxxxxxxxxxxxx
> >> For additional commands, e-mail: tapestry-user-help@xxxxxxxxxxxxxxx
> >org
> >>
> >>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@xxxxxxxxxxxxxxxxxx
> For additional commands, e-mail: tapestry-user-help@xxxxxxxxxxxxxxxxxx
------- End of Original Message -------


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@xxxxxxxxxxxxxxxxxx
For additional commands, e-mail: tapestry-user-help@xxxxxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>