running 3.6 on Weblogic

classic Classic list List threaded Threaded
27 messages Options
12
Reply | Threaded
Open this post in threaded view
|

running 3.6 on Weblogic

mangvlad
I installed the latest version (3.6) on Weblogic 8.1 and 9 and in both
cases, as soon as I try to access any XForms application I get this
error:

Can't find/access AST Node typeorg.exist.xquery.parser.XQueryAST

(I did some googling  about this error
and found that it usually caused by some JAR conflicts, but so far, I
am not able to determine anything more concrete).


Servlet Stack Trace shows:

java.lang.ClassCastException  
Exception Class java.lang.ClassCastException
Message antlr.CommonAST
Servlet Stack Trace
(215 method calls)  Class Name Method Name File Name Line Number
org.exist.xquery.parser.XQueryParser versionDecl XQueryParser.java 636
org.exist.xquery.parser.XQueryParser module XQueryParser.java 578
org.exist.xquery.parser.XQueryParser xpath XQueryParser.java 530
org.exist.xquery.XQuery compile XQuery.java 131
org.exist.xquery.XQuery compile XQuery.java 102
org.exist.xquery.XQuery compile XQuery.java 93
org.exist.xquery.XQuery compile XQuery.java 84
org.exist.xmldb.LocalXPathQueryService compileAndCheck
LocalXPathQueryService.java 224
org.exist.xmldb.LocalXPathQueryService compile LocalXPathQueryService.java 210
org.exist.xmldb.LocalXPathQueryService doQuery LocalXPathQueryService.java 299
 
Thanks.


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: running 3.6 on Weblogic

Alessandro Vernet
Administrator
On Tue, Feb 26, 2008 at 8:15 AM,  <[hidden email]> wrote:
> I installed the latest version (3.6) on Weblogic 8.1 and 9 and in both
>  cases, as soon as I try to access any XForms application I get this
>  error:
>
>  Can't find/access AST Node typeorg.exist.xquery.parser.XQueryAST

I just tried to deploy one of the latest nightly builds and noticed an
issue with eXist, even if I am not getting this exact same message.
Right now, eXist (which is bundled with Orbeon Forms) doesn't deploy,
but the rest of Orbeon Forms does. After you deploy Orbeon Forms on
WebLogic, can you access the examples at
http://localhost:7001/orbeon/?

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: running 3.6 on Weblogic

mangvlad
I  can access the welcome page (http://localhost:7001/orbeon/?) but
when I try to navigate to any example app, I get this error about

Can't find/access AST Node typeorg.exist.xquery.parser.XQueryAST

(And it is the same with WLS8.1 and WLS9)

On Tue, Feb 26, 2008 at 10:42 PM, Alessandro Vernet <[hidden email]> wrote:

> On Tue, Feb 26, 2008 at 8:15 AM,  <[hidden email]> wrote:
>  > I installed the latest version (3.6) on Weblogic 8.1 and 9 and in both
>  >  cases, as soon as I try to access any XForms application I get this
>  >  error:
>  >
>  >  Can't find/access AST Node typeorg.exist.xquery.parser.XQueryAST
>
>  I just tried to deploy one of the latest nightly builds and noticed an
>  issue with eXist, even if I am not getting this exact same message.
>  Right now, eXist (which is bundled with Orbeon Forms) doesn't deploy,
>  but the rest of Orbeon Forms does. After you deploy Orbeon Forms on
>  WebLogic, can you access the examples at
>  http://localhost:7001/orbeon/?
>
>  Alex
>  --
>  Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
>  Orbeon's Blog: http://www.orbeon.com/blog/
>  Personal Blog: http://avernet.blogspot.com/
>
>
>  --
>  You receive this message as a subscriber of the [hidden email] mailing list.
>  To unsubscribe: mailto:[hidden email]
>  For general help: mailto:[hidden email]?subject=help
>  OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: running 3.6 on Weblogic

Alessandro Vernet
Administrator
Vlad,

On Wed, Feb 27, 2008 at 5:57 AM, Vlad Mangeym <[hidden email]> wrote:
> I  can access the welcome page (http://localhost:7001/orbeon/?) but
>  when I try to navigate to any example app, I get this error about
>
>  Can't find/access AST Node typeorg.exist.xquery.parser.XQueryAST
>
>  (And it is the same with WLS8.1 and WLS9)

1) You are saying that you are also getting this with examples that
don't use eXist (i.e. other than the Government Forms example). Is
that right? Here examples that don't use eXist are running fine.

2) Could you try again with a a nightly build. Download it from:
http://tinyurl.com/2ck6t2 (temporary link; will expire).

3) If you still have the same problem with a nightly build, try
deploying the nightly build of Orbeon Forms exactly as described on
the page linked below; look for the second sequence of steps, after
"To deploy a web application (war file)".

http://avernet.blogspot.com/2008/02/installing-bea-weblogic-on-mac-os-x.html

I am curious to see how this works out for you!

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: running 3.6 on Weblogic

mangvlad
1) I get this error even when I try to access xforms-hello app, not
just apps that have dependency on eXist

2) After installing the latest build (WLS 9.1) I am still getting the
same error (I see the Welcome page but as soon as I try to access
xforms-hello I get the same error as before.
In addition, while deploying, I got this exception:

<Feb 28, 2008 5:11:48 PM EST> <Warning> <netuix> <BEA-423420> <Redirect is execu
ted in begin or refresh action. Redirect url is /console/console.portal?_nfpb=tr
ue&_pageLabel=WebAppApplicationOverviewPage&WebAppApplicationOverviewPortlethand
le=com.bea.console.handles.AppDeploymentHandle%28%22com.bea%3AName%3Dorbeon%2CTy
pe%3DAppDeployment%22%29.>
Starting Orbeon Forms Release 3.6.0.200802270719
Initializing Resource Manager with: {org.orbeon.oxf.resources.WebAppResourceMana
gerImplServletContext=weblogic.servlet.internal.WebAppServletContext@1d899fe - a
ppName: 'orbeon', name: 'orbeonnightly', context-path: '/orbeonnightly', oxf.res
ources.priority.2=org.orbeon.oxf.resources.ClassLoaderResourceManagerFactory, ox
f.resources.factory=org.orbeon.oxf.resources.PriorityResourceManagerFactory, oxf
.resources.priority.1.oxf.resources.webapp.rootdir=/WEB-INF/resources, oxf.resou
rces.priority.1=org.orbeon.oxf.resources.WebAppResourceManagerFactory}
java.lang.IllegalStateException: error while returning XMLReader: org.exist.vali
dation.resolver.eXistXMLCatalogResolver
        at org.exist.util.XMLReaderPool.borrowXMLReader(XMLReaderPool.java:59)
        at org.exist.collections.Collection.getReader(Collection.java:1619)
        at org.exist.collections.Collection.access$100(Collection.java:93)
        at org.exist.collections.Collection$4.run(Collection.java:1087)
        at org.exist.collections.Collection.validateXMLResourceInternal(Collecti
on.java:1175)
        at org.exist.collections.Collection.validateXMLResource(Collection.java:
1085)
        at org.exist.collections.Collection.validateXMLResource(Collection.java:
1065)
        at org.exist.security.XMLSecurityManager.save(XMLSecurityManager.java:37
7)
        at org.exist.security.XMLSecurityManager.attach(XMLSecurityManager.java:
136)
        at org.exist.storage.BrokerPool.initialize(BrokerPool.java:764)
        at org.exist.storage.BrokerPool.<init>(BrokerPool.java:610)
        at org.exist.storage.BrokerPool.configure(BrokerPool.java:198)
        at org.exist.storage.BrokerPool.configure(BrokerPool.java:172)
        at org.exist.http.servlets.EXistServlet.startup(EXistServlet.java:590)
        at org.exist.http.servlets.EXistServlet.init(EXistServlet.java:115)
        at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(St
ubSecurityHelper.java:282)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(Unknown Source)
        at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecuri
tyHelper.java:63)
        at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubL
ifecycleHelper.java:58)
        at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHel
per.java:48)
        at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
mpl.java:504)
        at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppS
ervletContext.java:1830)
        at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(
WebAppServletContext.java:1807)
        at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAp
pServletContext.java:1727)
        at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletCon
text.java:2890)
        at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.jav
a:948)
        at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:353)
        at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleSta
teDriver.java:204)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
river.java:26)
        at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStat
eDriver.java:60)
        at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedMod
uleDriver.java:200)
        at weblogic.application.internal.flow.ModuleListenerInvoker.start(Module
ListenerInvoker.java:117)
        at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleSta
teDriver.java:204)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
river.java:26)
        at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStat
eDriver.java:60)
        at weblogic.application.internal.flow.StartModulesFlow.activate(StartMod
ulesFlow.java:26)
        at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.ja
va:635)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
river.java:26)
        at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.
java:212)
        at weblogic.application.internal.DeploymentStateChecker.activate(Deploym
entStateChecker.java:154)
        at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(Ap
pContainerInvoker.java:80)
        at weblogic.deploy.internal.targetserver.operations.AbstractOperation.ac
tivate(AbstractOperation.java:566)
        at weblogic.deploy.internal.targetserver.operations.ActivateOperation.ac
tivateDeployment(ActivateOperation.java:136)
        at weblogic.deploy.internal.targetserver.operations.ActivateOperation.do
Commit(ActivateOperation.java:104)
        at weblogic.deploy.internal.targetserver.operations.StartOperation.doCom
mit(StartOperation.java:139)
        at weblogic.deploy.internal.targetserver.operations.AbstractOperation.co
mmit(AbstractOperation.java:320)
        at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploym
entCommit(DeploymentManager.java:816)
        at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeplo
ymentList(DeploymentManager.java:1223)
        at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(
DeploymentManager.java:434)
        at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.com
mit(DeploymentServiceDispatcher.java:161)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallb
ackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallb
ackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallb
ackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
        at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin
gWorkManagerImpl.java:464)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
Caused by: java.lang.ClassCastException: org.exist.validation.resolver.eXistXMLC
atalogResolver
        at com.sun.org.apache.xerces.internal.xinclude.XIncludeHandler.setProper
ty(XIncludeHandler.java:518)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.setProp
erty(XML11Configuration.java:935)
        at com.sun.org.apache.xerces.internal.parsers.XIncludeParserConfiguratio
n.setProperty(XIncludeParserConfiguration.java:257)
        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.setPrope
rty(AbstractSAXParser.java:1844)
        at weblogic.xml.jaxp.WebLogicXMLReader.setProperty(WebLogicXMLReader.jav
a:205)
        at weblogic.xml.jaxp.RegistryXMLReader.setProperty(RegistryXMLReader.jav
a:337)
        at org.exist.util.XMLReaderObjectFactory.createXmlReader(XMLReaderObject
Factory.java:133)
        at org.exist.util.XMLReaderObjectFactory.makeObject(XMLReaderObjectFacto
ry.java:101)
        at org.apache.commons.pool.impl.StackObjectPool.borrowObject(StackObject
Pool.java:132)
        at org.exist.util.XMLReaderPool.borrowXMLReader(XMLReaderPool.java:57)
        ... 56 more
<Feb 28, 2008 5:14:12 PM EST> <Warning> <netuix> <BEA-423420> <Redirect is execu
ted in begin or refresh action. Redirect url is /console/console.portal?_nfpb=tr
ue&_pageLabel=WebAppApplicationOverviewPage&WebAppApplicationOverviewPortlethand
le=com.bea.console.handles.AppDeploymentHandle%28%22com.bea%3AName%3Dorbeon%2CTy
pe%3DAppDeployment%22%29.>
Can't find/access AST Node typeorg.exist.xquery.parser.XQueryAST

On Wed, Feb 27, 2008 at 10:47 PM, Alessandro Vernet <[hidden email]> wrote:

> Vlad,
>
>
>  On Wed, Feb 27, 2008 at 5:57 AM, Vlad Mangeym <[hidden email]> wrote:
>  > I  can access the welcome page (http://localhost:7001/orbeon/?) but
>  >  when I try to navigate to any example app, I get this error about
>  >
>  >  Can't find/access AST Node typeorg.exist.xquery.parser.XQueryAST
>  >
>  >  (And it is the same with WLS8.1 and WLS9)
>
>  1) You are saying that you are also getting this with examples that
>  don't use eXist (i.e. other than the Government Forms example). Is
>  that right? Here examples that don't use eXist are running fine.
>
>  2) Could you try again with a a nightly build. Download it from:
>  http://tinyurl.com/2ck6t2 (temporary link; will expire).
>
>  3) If you still have the same problem with a nightly build, try
>  deploying the nightly build of Orbeon Forms exactly as described on
>  the page linked below; look for the second sequence of steps, after
>  "To deploy a web application (war file)".
>
>  http://avernet.blogspot.com/2008/02/installing-bea-weblogic-on-mac-os-x.html
>
>  I am curious to see how this works out for you!
>
>
>
>  Alex
>  --
>  Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
>  Orbeon's Blog: http://www.orbeon.com/blog/
>  Personal Blog: http://avernet.blogspot.com/
>
>
>  --
>  You receive this message as a subscriber of the [hidden email] mailing list.
>  To unsubscribe: mailto:[hidden email]
>  For general help: mailto:[hidden email]?subject=help
>  OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: running 3.6 on Weblogic

Alessandro Vernet
Administrator
Vlad,

On Thu, Feb 28, 2008 at 2:21 PM, Vlad Mangeym <[hidden email]> wrote:
> 1) I get this error even when I try to access xforms-hello app, not
>  just apps that have dependency on eXist
>
>  2) After installing the latest build (WLS 9.1) I am still getting the
>  same error (I see the Welcome page but as soon as I try to access
>  xforms-hello I get the same error as before.
>  In addition, while deploying, I got this exception:
>  [...]

We upgraded to eXist 1.2 (final), did some other modifications to
eXist for WebLogic. Now Orbeon Forms deploys without any exception and
the examples that use eXist are working as well. You will find below a
link to the latest nightly build. When you get a chance let us know
how this works for you.

http://tinyurl.com/yp5dn4 (temporary link; will expire)

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Re: running 3.6 on Weblogic

mangvlad
After testing it with this latest build I am getting this error
(trying to access xforms-hello):

Exception Class   java.lang.ClassCastException
Message antlr.CommonAST

From the WLS 9 log:

Starting Orbeon Forms Release 3.6.0.200803020920
Initializing Resource Manager with: {org.orbeon.oxf.resources.WebAppResourceMana
gerImplServletContext=weblogic.servlet.internal.WebAppServletContext@76c719 - ap
pName: 'orbeon', name: 'orbeonnightly', context-path: '/orbeonnightly', oxf.reso
urces.priority.2=org.orbeon.oxf.resources.ClassLoaderResourceManagerFactory, oxf
.resources.factory=org.orbeon.oxf.resources.PriorityResourceManagerFactory, oxf.
resources.priority.1.oxf.resources.webapp.rootdir=/WEB-INF/resources, oxf.resour
ces.priority.1=org.orbeon.oxf.resources.WebAppResourceManagerFactory}

<Mar 4, 2008 10:07:03 AM EST> <Warning> <netuix> <BEA-423420> <Redirect is execu
ted in begin or refresh action. Redirect url is /console/console.portal?_nfpb=tr
ue&_pageLabel=WebAppApplicationOverviewPage&WebAppApplicationOverviewPortlethand
le=com.bea.console.handles.AppDeploymentHandle%28%22com.bea%3AName%3Dorbeon%2CTy
pe%3DAppDeployment%22%29.>

Can't find/access AST Node typeorg.exist.xquery.parser.XQueryAST


Stack Trace:

org.orbeon.oxf.common.OXFException
(executing processor:
name='{http://www.orbeon.com/oxf/processors}null-serializer'): line
127, column 68 of oxf:/ops/pfc/xforms-epilogue.xpl (reading processor
output: name='document', id='xhtml-data'): line 27 of
oxf:/config/xforms-widgets.xsl: antlr.CommonAST
antlr.CommonAST
line 27 of oxf:/config/xforms-widgets.xsl: antlr.CommonAST
antlr.CommonAST
line 127, column 68 of oxf:/ops/pfc/xforms-epilogue.xpl (reading
processor output: name='document', id='xhtml-data'): line 27 of
oxf:/config/xforms-widgets.xsl: antlr.CommonAST
antlr.CommonAST
line 27 of oxf:/config/xforms-widgets.xsl: antlr.CommonAST
antlr.CommonAST

On Sun, Mar 2, 2008 at 5:17 AM, Alessandro Vernet <[hidden email]> wrote:

> Vlad,
>
>
>  On Thu, Feb 28, 2008 at 2:21 PM, Vlad Mangeym <[hidden email]> wrote:
>  > 1) I get this error even when I try to access xforms-hello app, not
>  >  just apps that have dependency on eXist
>  >
>  >  2) After installing the latest build (WLS 9.1) I am still getting the
>  >  same error (I see the Welcome page but as soon as I try to access
>  >  xforms-hello I get the same error as before.
>  >  In addition, while deploying, I got this exception:
>  >  [...]
>
>  We upgraded to eXist 1.2 (final), did some other modifications to
>  eXist for WebLogic. Now Orbeon Forms deploys without any exception and
>  the examples that use eXist are working as well. You will find below a
>  link to the latest nightly build. When you get a chance let us know
>  how this works for you.
>
>  http://tinyurl.com/yp5dn4 (temporary link; will expire)
>
>
>
>  Alex
>  --
>  Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
>  Orbeon's Blog: http://www.orbeon.com/blog/
>  Personal Blog: http://avernet.blogspot.com/
>
>
>  --
>  You receive this message as a subscriber of the [hidden email] mailing list.
>  To unsubscribe: mailto:[hidden email]
>  For general help: mailto:[hidden email]?subject=help
>  OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Re: Re: running 3.6 on Weblogic

Alessandro Vernet
Administrator
Vlad,

On Tue, Mar 4, 2008 at 7:11 AM, Vlad Mangeym <[hidden email]> wrote:
> After testing it with this latest build I am getting this error
>  (trying to access xforms-hello):
>
>
>  Exception Class         java.lang.ClassCastException
>  Message         antlr.CommonAST

Do you see this exception in the console, from which you start
WebLogic, or in some other log file? Could you please copy and paste
here the full exception?

Are you deploying the orbeon.war exactly as described in the second
sequence of steps in the page blow? I am trying to figure why you
would have this problem, since I can't reproduce this.

http://avernet.blogspot.com/2008/02/installing-bea-weblogic-on-mac-os-x.html

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Re: Re: running 3.6 on Weblogic

Alessandro Vernet
Administrator
Vlad,

On Tue, Mar 4, 2008 at 4:39 PM, Alessandro Vernet <[hidden email]> wrote:
>  Are you deploying the orbeon.war exactly as described in the second
>  sequence of steps in the page blow? I am trying to figure why you
>  would have this problem, since I can't reproduce this.

Also, which version of WebLogic 9 are you using? Here I have version
9.2 MP2, which I got from
http://commerce.bea.com/showallversions.jsp?family=WLS.

Alex


--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Re: Re: Re: running 3.6 on Weblogic

mangvlad
Alex,

Thank you very much for all your help. Checking the version did the trick! :)

I did followed all of the installation instructions but by mistake,
last time I was using WLS 10 (I am very sorry!).
It appears to be working ok on WLS 9, so I will go ahead with my POC
on WLS 9 for now.

Since my previous error was from WLS 10, do you still want to
troubleshoot it (to get it to work on WLS 10)?

Thanks,
Vlad


On Tue, Mar 4, 2008 at 7:44 PM, Alessandro Vernet <[hidden email]> wrote:

> Vlad,
>
>
>  On Tue, Mar 4, 2008 at 4:39 PM, Alessandro Vernet <[hidden email]> wrote:
>  >  Are you deploying the orbeon.war exactly as described in the second
>  >  sequence of steps in the page blow? I am trying to figure why you
>  >  would have this problem, since I can't reproduce this.
>
>  Also, which version of WebLogic 9 are you using? Here I have version
>  9.2 MP2, which I got from
>  http://commerce.bea.com/showallversions.jsp?family=WLS.
>
>
>
>  Alex
>
>
>  --
>  Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
>  Orbeon's Blog: http://www.orbeon.com/blog/
>  Personal Blog: http://avernet.blogspot.com/
>
>
>  --
>  You receive this message as a subscriber of the [hidden email] mailing list.
>  To unsubscribe: mailto:[hidden email]
>  For general help: mailto:[hidden email]?subject=help
>  OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Re: Re: Re: Re: running 3.6 on Weblogic

Alessandro Vernet
Administrator
On Wed, Mar 5, 2008 at 7:27 AM, Vlad Mangeym <[hidden email]> wrote:
>  I did followed all of the installation instructions but by mistake,
>  last time I was using WLS 10 (I am very sorry!).
>  It appears to be working ok on WLS 9, so I will go ahead with my POC
>  on WLS 9 for now.

OK, great!

>  Since my previous error was from WLS 10, do you still want to
>  troubleshoot it (to get it to work on WLS 10)?

Yes, definitely. Since WLS 10 is not out yet; what we can download now
is a Tech Preview. Because of this, I don't think we want to spend a
lot of time on this, but I will give it a try, report my findings and
update the Wiki.

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Re: Re: Re: Re: running 3.6 on Weblogic

Alessandro Vernet
Administrator
Vlad,

On Wed, Mar 5, 2008 at 5:59 PM, Alessandro Vernet <[hidden email]> wrote:
>  Yes, definitely. Since WLS 10 is not out yet; what we can download now
>  is a Tech Preview. Because of this, I don't think we want to spend a
>  lot of time on this, but I will give it a try, report my findings and
>  update the Wiki.

I got to reproduce the issue you have been talking about on WebLogic
10 Tech Preview. I linked the corresponding bug below. Since this is a
Tech Preview, and not a final release, I can't promise you we will
jump on this. Instead, until WebLogic 10 is released, we would instead
recommend people to use the latest release version of WebLogic.

http://forge.objectweb.org/tracker/index.php?func=detail&aid=308777&group_id=168&atid=350207

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Weblogic 9.2 deployment issue with chiba-web app

sushik billa
In reply to this post by mangvlad
Hi

I am getting same exception while i was trying to deploy chiba-web app with xforms, just wondering whether you were able to resolve the issue. If yes, i would really appreciate if you can email the solution that resolved the isuue.

Thanks in advance

Reply | Threaded
Open this post in threaded view
|

Re: running 3.6 on Weblogic

mangvlad
In reply to this post by Alessandro Vernet
I think the latest released version of Weblogic is 10 MP1 (10 SP3 is still a Tech Preview), 10 has been released since last summer, so 9 is not the latest release anymore.

(This is just FYI)

Thanks

Alessandro Vernet wrote
Vlad,

On Wed, Mar 5, 2008 at 5:59 PM, Alessandro Vernet <avernet@orbeon.com> wrote:
>  Yes, definitely. Since WLS 10 is not out yet; what we can download now
>  is a Tech Preview. Because of this, I don't think we want to spend a
>  lot of time on this, but I will give it a try, report my findings and
>  update the Wiki.

I got to reproduce the issue you have been talking about on WebLogic
10 Tech Preview. I linked the corresponding bug below. Since this is a
Tech Preview, and not a final release, I can't promise you we will
jump on this. Instead, until WebLogic 10 is released, we would instead
recommend people to use the latest release version of WebLogic.

http://forge.objectweb.org/tracker/index.php?func=detail&aid=308777&group_id=168&atid=350207

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/


--
You receive this message as a subscriber of the ops-users@ow2.org mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
For general help: mailto:sympa@ow2.org?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws


-----
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
http://www.orbeon.com/
Reply | Threaded
Open this post in threaded view
|

Re: Re: running 3.6 on Weblogic

Alessandro Vernet
Administrator
On Fri, Mar 21, 2008 at 7:43 PM, mangvlad <[hidden email]> wrote:
>
>  I think the latest released version of Weblogic is 10 MP1 (10 SP3 is still a
>  Tech Preview), 10 has been released since last summer, so 9 is not the
>  latest release anymore.

Ah! I went to the WebLogic download page
(http://commerce.bea.com/showallversions.jsp?family=WLS), saw the 10.3
Tech Preview first, followed older versions of WebLogic and thought
that version 10 was a Tech Preview, without realizing that the 10.0
MP1 was available for download at the very bottom of the page. Thank
you for bringing this to my attention!

So are you saying that you have seen with WebLogic 10.0 MP1 the same
problem we have seen with 10.3 Tech Preview?

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: running 3.6 on Weblogic

Alessandro Vernet
Administrator
On Fri, Mar 21, 2008 at 8:01 PM, Alessandro Vernet <[hidden email]> wrote:
>  So are you saying that you have seen with WebLogic 10.0 MP1 the same
>  problem we have seen with 10.3 Tech Preview?

I gave it a try and indeed the problem is the same with 10.0 MP1. The
full exception is quoted in the bug linked below. This is an issue
with antlr, and re-rooting antlr might solve the issue completely, or
there might be another problem after this. The problem here is that
version of antlr that comes with WebLogic takes the precedence over
the one that comes with eXist, which leads to this ClassCastException.

WebLogic can be instructed that classes in the war file should have
the precedence over WebLogic classes. This is done with
<prefer-web-inf-classes> to true in the weblogic.xml (see attached).
This gets us past the antlr issue, but gives us another exception:

java.lang.ClassCastException: weblogic.xml.jaxp.RegistryDocumentBuilderFactory
        at javax.xml.parsers.DocumentBuilderFactory.newInstance(Unknown Source)
        at org.exist.http.RESTServer.doPost(RESTServer.java:538)
        at org.exist.http.servlets.EXistServlet.doPost(EXistServlet.java:523)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

Setting <prefer-web-inf-classes> to true also seems to pose other
problems (see this thread:
http://forums.bea.com/thread.jspa?threadID=600014830&start=0), and a
solution seems to be to use the weblogic-application.xml
<prefer-application-packages> construct to selectively tell WebLogic
which packages should be loaded from the application. Unfortunately
this requires an EAR, and we just have a WAR here. We could do an EAR
in addition to the WAR, but I would prefer to avoid this.

I have also tried to change eXist's RESTServer to instead of doing
DocumentBuilderFactory.newInstance() (and going through the factory)
call directly new
orbeon.apache.xerces.jaxp.DocumentBuilderFactoryImpl(). We get through
this one, but hit a NoClassDefFoundError in
XMLDBCreated.evalWithCollection(XMLDBCreated.java:108).

So, sorry, I don't have a solution for you with WebLogic 10 at this point.

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

weblogic.xml (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Re: running 3.6 on Weblogic

mangvlad
Alex,

Thank you for you research. Ability to run on WL 10 is indeed a requirement for us, but I am hoping maybe re-rooting antlr may solve this problem.

I hope that at some point soon I can learn how to build Orbeon on my own and at that point maybe I can experiment with that re-rooting approach myself.

Thanks,
Vlad

Alessandro Vernet wrote
On Fri, Mar 21, 2008 at 8:01 PM, Alessandro Vernet <avernet@orbeon.com> wrote:
>  So are you saying that you have seen with WebLogic 10.0 MP1 the same
>  problem we have seen with 10.3 Tech Preview?

I gave it a try and indeed the problem is the same with 10.0 MP1. The
full exception is quoted in the bug linked below. This is an issue
with antlr, and re-rooting antlr might solve the issue completely, or
there might be another problem after this. The problem here is that
version of antlr that comes with WebLogic takes the precedence over
the one that comes with eXist, which leads to this ClassCastException.

WebLogic can be instructed that classes in the war file should have
the precedence over WebLogic classes. This is done with
<prefer-web-inf-classes> to true in the weblogic.xml (see attached).
This gets us past the antlr issue, but gives us another exception:

java.lang.ClassCastException: weblogic.xml.jaxp.RegistryDocumentBuilderFactory
        at javax.xml.parsers.DocumentBuilderFactory.newInstance(Unknown Source)
        at org.exist.http.RESTServer.doPost(RESTServer.java:538)
        at org.exist.http.servlets.EXistServlet.doPost(EXistServlet.java:523)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

Setting <prefer-web-inf-classes> to true also seems to pose other
problems (see this thread:
http://forums.bea.com/thread.jspa?threadID=600014830&start=0), and a
solution seems to be to use the weblogic-application.xml
<prefer-application-packages> construct to selectively tell WebLogic
which packages should be loaded from the application. Unfortunately
this requires an EAR, and we just have a WAR here. We could do an EAR
in addition to the WAR, but I would prefer to avoid this.

I have also tried to change eXist's RESTServer to instead of doing
DocumentBuilderFactory.newInstance() (and going through the factory)
call directly new
orbeon.apache.xerces.jaxp.DocumentBuilderFactoryImpl(). We get through
this one, but hit a NoClassDefFoundError in
XMLDBCreated.evalWithCollection(XMLDBCreated.java:108).

So, sorry, I don't have a solution for you with WebLogic 10 at this point.

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/


<weblogic-web-app
        xmlns="http://www.bea.com/ns/weblogic/90"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/920/weblogic-web-app.xsd">

   
   
   

    <resource-description>
        <res-ref-name>jdbc/db</res-ref-name>
        <jndi-name>weblogic.jdbc.jts.oxf</jndi-name>
    </resource-description>

    <container-descriptor>
        <prefer-web-inf-classes>true</prefer-web-inf-classes>
    </container-descriptor>

</weblogic-web-app>


--
You receive this message as a subscriber of the ops-users@ow2.org mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
For general help: mailto:sympa@ow2.org?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws


-----
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
http://www.orbeon.com/
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: running 3.6 on Weblogic

Alessandro Vernet
Administrator
Vlad,

On Mar 25, 2008, at 9:42 AM, mangvlad wrote:
> Thank you for you research. Ability to run on WL 10 is indeed a  
> requirement
> for us, but I am hoping maybe re-rooting antlr may solve this problem.
>
> I hope that at some point soon I can learn how to build Orbeon on my  
> own and
> at that point maybe I can experiment with that re-rooting approach  
> myself.

You should not even have to rebuild Orbeon Forms, as we are not using  
antlr directly. eXist is. So you could try to reroot antlr and rebuild  
eXist to use that rerooted version of antlr. Building eXist is fairly  
simple: you can check out the 1.2 release from their SVN repository,  
and run the patch_exist.sh script checked in at the root of the Orbeon  
Forms code to patch it for Orbeon Forms. Of course, there is not  
guarantee that rerooting antlr will be enough to solve the problem.

Alex


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: running 3.6 on Weblogic

Alessandro Vernet
Administrator
Vlad,

On Mar 25, 2008, at 3:40 PM, Alessandro Vernet wrote:
> You should not even have to rebuild Orbeon Forms, as we are not  
> using antlr directly. eXist is. So you could try to reroot antlr and  
> rebuild eXist to use that rerooted version of antlr. Building eXist  
> is fairly simple: you can check out the 1.2 release from their SVN  
> repository, and run the patch_exist.sh script checked in at the root  
> of the Orbeon Forms code to patch it for Orbeon Forms. Of course,  
> there is not guarantee that rerooting antlr will be enough to solve  
> the problem.


Actually, since the problem is with the embedded eXist, you might just  
want to deploy eXist along Orbeon Forms and use that version of eXist.  
You can instruct the XForms store to use another version of eXist by  
changing the oxf.xforms.store.application.uri property in  
properties.xml.

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Running 3.7 on Weblogic 10

mangvlad
After trying several ways to get it to work, I was able to run Orbeon (nightly, so it is 3.7) under Weblogic 10.

The way to do it is to "wrap" the WAR into EAR and in the weblogic-application.xml

add:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE weblogic-application PUBLIC "-//BEA Systems, Inc.//DTD WebLogic Application 8.1.0//EN" "http://www.bea.com/servers/wls810/dtd/weblogic-application_2_0.dtd">
<weblogic-application>
        <prefer-application-packages>
                <package-name>antlr.*</package-name>
        </prefer-application-packages>
</weblogic-application>

This seems to be doing the "trick"...


Alessandro Vernet wrote
Vlad,

On Mar 25, 2008, at 3:40 PM, Alessandro Vernet wrote:
> You should not even have to rebuild Orbeon Forms, as we are not  
> using antlr directly. eXist is. So you could try to reroot antlr and  
> rebuild eXist to use that rerooted version of antlr. Building eXist  
> is fairly simple: you can check out the 1.2 release from their SVN  
> repository, and run the patch_exist.sh script checked in at the root  
> of the Orbeon Forms code to patch it for Orbeon Forms. Of course,  
> there is not guarantee that rerooting antlr will be enough to solve  
> the problem.


Actually, since the problem is with the embedded eXist, you might just  
want to deploy eXist along Orbeon Forms and use that version of eXist.  
You can instruct the XForms store to use another version of eXist by  
changing the oxf.xforms.store.application.uri property in  
properties.xml.

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/



--
You receive this message as a subscriber of the ops-users@ow2.org mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
For general help: mailto:sympa@ow2.org?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws


-----
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
http://www.orbeon.com/
12