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 <[EMAIL PROTECTED]>
To: Tapestry users <tapestry-user@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: [EMAIL PROTECTED]
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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> wrote:
Could you give the full stack trace of your exception?
On 4/5/06, yesidredondo <[EMAIL PROTECTED]> 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:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
*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/>
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
M +31 6 22 384 318
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
------- End of Original Message -------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
*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/>
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
M +31 6 22 384 318
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]