Unable to run Orbeon on a Mac: exception starting filter ops-main-filter

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

Unable to run Orbeon on a Mac: exception starting filter ops-main-filter

mjgraham
Hi,

I started up Tomcat this afternoon and found that my Orbeon apps were suddenly not working. It has been a month or so since I last used them and that was fine.

I am running OPS 3.5.M1.200610302309 on Tomcat 5.5.17 under Mac OS Leopard 10.5.4 with Java 1.5.0_13.

The catalina.out log file complains about:

SEVERE: Error filterStart

but nothing more. localhost log file shows :

Aug 13, 2008 12:09:48 AM org.apache.catalina.core.StandardContext filterStart
SEVERE: Exception starting filter ops-main-filter
javax.servlet.ServletException
        at org.orbeon.oxf.servlet.OPSServletFilter.init(OPSServletFilter.java:54
)
        at org.apache.catalina.core.ApplicationFilterConfig.getFilter(Applicatio
nFilterConfig.java:223)
        at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(Applica
tionFilterConfig.java:304)
        at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFi
lterConfig.java:77)
        at org.apache.catalina.core.StandardContext.filterStart(StandardContext.
java:3600)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
193)

I've tried Orbeon 3.6.0 and 3.7.0 and changing to Tomcat 5.5.26 and in all cases I am still getting the same error messages.

Any ideas?

   Cheers,

   Matthew
Reply | Threaded
Open this post in threaded view
|

Re: Unable to run Orbeon on a Mac: exception starting filter ops-main-filter

Erik Bruchez
Administrator
Which version of Java is it running? 5 or 6? Could that have changed?  
Try to force Java 5 and see if that makes a difference.

-Erik

On Aug 13, 2008, at 12:16 AM, mjgraham wrote:

>
> Hi,
>
> I started up Tomcat this afternoon and found that my Orbeon apps were
> suddenly not working. It has been a month or so since I last used  
> them and
> that was fine.
>
> I am running OPS 3.5.M1.200610302309 on Tomcat 5.5.17 under Mac OS  
> Leopard
> 10.5.4 with Java 1.5.0_13.
>
> The catalina.out log file complains about:
>
> SEVERE: Error filterStart
>
> but nothing more. localhost log file shows :
>
> Aug 13, 2008 12:09:48 AM org.apache.catalina.core.StandardContext
> filterStart
> SEVERE: Exception starting filter ops-main-filter
> javax.servlet.ServletException
>        at
> org.orbeon.oxf.servlet.OPSServletFilter.init(OPSServletFilter.java:54
> )
>        at
> org.apache.catalina.core.ApplicationFilterConfig.getFilter(Applicatio
> nFilterConfig.java:223)
>        at
> org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(Applica
> tionFilterConfig.java:304)
>        at
> org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFi
> lterConfig.java:77)
>        at
> org.apache.catalina.core.StandardContext.filterStart(StandardContext.
> java:3600)
>        at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4
> 193)
>
> I've tried Orbeon 3.6.0 and 3.7.0 and changing to Tomcat 5.5.26 and  
> in all
> cases I am still getting the same error messages.
>
> Any ideas?
>
>   Cheers,
>
>   Matthew
> --
> View this message in context: http://www.nabble.com/Unable-to-run-Orbeon-on-a-Mac%3A-exception-starting-filter-ops-main-filter-tp18958123p18958123.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.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
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.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: Unable to run Orbeon on a Mac: exception starting filter ops-main-filter

mjgraham
Hi,

The problem exists with both Java 5 and 6. Using the latest Tomcat and Orbeon, I now get the error:

ug 13, 2008 10:23:18 AM org.apache.catalina.core.StandardContext loadOnStartup
SEVERE: Servlet /orbeon threw load() exception
java.lang.NullPointerException
        at org.relaxng.datatype.helpers.DatatypeLibraryLoader$Service$Loader2.getResources(DatatypeLibraryLoader.java:151)
        at org.relaxng.datatype.helpers.DatatypeLibraryLoader$Service.<init>(DatatypeLibraryLoader.java:173)
        at org.relaxng.datatype.helpers.DatatypeLibraryLoader.<init>(DatatypeLibraryLoader.java:57)
        at com.sun.msv.reader.trex.ng.DefaultDatatypeLibraryFactory.<init>(DefaultDatatypeLibraryFactory.java:28)
        at com.sun.msv.reader.trex.ng.RELAXNGReader.<init>(RELAXNGReader.java:257)
        at com.sun.msv.reader.trex.ng.comp.RELAXNGCompReader.<init>(RELAXNGCompReader.java:91)
        at com.sun.msv.reader.trex.ng.comp.RELAXNGCompReader.<init>(RELAXNGCompReader.java:81)
        at com.sun.msv.reader.util.GrammarLoader$2.startElement(GrammarLoader.java:493)
        at orbeon.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:497)
        at orbeon.apache.xerces.xinclude.XIncludeHandler.startElement(XIncludeHandler.java:954)
        at orbeon.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:283)

which looks like something is missing?

Cheers,

Matthew



Erik Bruchez wrote
Which version of Java is it running? 5 or 6? Could that have changed?  
Try to force Java 5 and see if that makes a difference.

-Erik

On Aug 13, 2008, at 12:16 AM, mjgraham wrote:

>
> Hi,
>
> I started up Tomcat this afternoon and found that my Orbeon apps were
> suddenly not working. It has been a month or so since I last used  
> them and
> that was fine.
>
> I am running OPS 3.5.M1.200610302309 on Tomcat 5.5.17 under Mac OS  
> Leopard
> 10.5.4 with Java 1.5.0_13.
>
> The catalina.out log file complains about:
>
> SEVERE: Error filterStart
>
> but nothing more. localhost log file shows :
>
> Aug 13, 2008 12:09:48 AM org.apache.catalina.core.StandardContext
> filterStart
> SEVERE: Exception starting filter ops-main-filter
> javax.servlet.ServletException
>        at
> org.orbeon.oxf.servlet.OPSServletFilter.init(OPSServletFilter.java:54
> )
>        at
> org.apache.catalina.core.ApplicationFilterConfig.getFilter(Applicatio
> nFilterConfig.java:223)
>        at
> org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(Applica
> tionFilterConfig.java:304)
>        at
> org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFi
> lterConfig.java:77)
>        at
> org.apache.catalina.core.StandardContext.filterStart(StandardContext.
> java:3600)
>        at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4
> 193)
>
> I've tried Orbeon 3.6.0 and 3.7.0 and changing to Tomcat 5.5.26 and  
> in all
> cases I am still getting the same error messages.
>
> Any ideas?
>
>   Cheers,
>
>   Matthew
> --
> View this message in context: http://www.nabble.com/Unable-to-run-Orbeon-on-a-Mac%3A-exception-starting-filter-ops-main-filter-tp18958123p18958123.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.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 Forms for the Enterprise Done the Right Way
http://www.orbeon.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
Reply | Threaded
Open this post in threaded view
|

Re: Unable to run Orbeon on a Mac: exception starting filter ops-main-filter

mjgraham
Hi,

OK, the problem seems to be that Java Preferences under Utilities on Leopard (at least) is not correctly setting the Java environment. Java 5 is selected by preference and java -version gives Java 1.5 but JAVA_HOME still points at the Java 6 JDK. Setting JAVA_HOME explicitly at the Java 1.5 distro allows Orbeon to start up properly at least.

Cheers,

Matthew

mjgraham wrote
Hi,

The problem exists with both Java 5 and 6. Using the latest Tomcat and Orbeon, I now get the error:

ug 13, 2008 10:23:18 AM org.apache.catalina.core.StandardContext loadOnStartup
SEVERE: Servlet /orbeon threw load() exception
java.lang.NullPointerException
        at org.relaxng.datatype.helpers.DatatypeLibraryLoader$Service$Loader2.getResources(DatatypeLibraryLoader.java:151)
        at org.relaxng.datatype.helpers.DatatypeLibraryLoader$Service.<init>(DatatypeLibraryLoader.java:173)
        at org.relaxng.datatype.helpers.DatatypeLibraryLoader.<init>(DatatypeLibraryLoader.java:57)
        at com.sun.msv.reader.trex.ng.DefaultDatatypeLibraryFactory.<init>(DefaultDatatypeLibraryFactory.java:28)
        at com.sun.msv.reader.trex.ng.RELAXNGReader.<init>(RELAXNGReader.java:257)
        at com.sun.msv.reader.trex.ng.comp.RELAXNGCompReader.<init>(RELAXNGCompReader.java:91)
        at com.sun.msv.reader.trex.ng.comp.RELAXNGCompReader.<init>(RELAXNGCompReader.java:81)
        at com.sun.msv.reader.util.GrammarLoader$2.startElement(GrammarLoader.java:493)
        at orbeon.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:497)
        at orbeon.apache.xerces.xinclude.XIncludeHandler.startElement(XIncludeHandler.java:954)
        at orbeon.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:283)

which looks like something is missing?

Cheers,

Matthew



Erik Bruchez wrote
Which version of Java is it running? 5 or 6? Could that have changed?  
Try to force Java 5 and see if that makes a difference.

-Erik

On Aug 13, 2008, at 12:16 AM, mjgraham wrote:

>
> Hi,
>
> I started up Tomcat this afternoon and found that my Orbeon apps were
> suddenly not working. It has been a month or so since I last used  
> them and
> that was fine.
>
> I am running OPS 3.5.M1.200610302309 on Tomcat 5.5.17 under Mac OS  
> Leopard
> 10.5.4 with Java 1.5.0_13.
>
> The catalina.out log file complains about:
>
> SEVERE: Error filterStart
>
> but nothing more. localhost log file shows :
>
> Aug 13, 2008 12:09:48 AM org.apache.catalina.core.StandardContext
> filterStart
> SEVERE: Exception starting filter ops-main-filter
> javax.servlet.ServletException
>        at
> org.orbeon.oxf.servlet.OPSServletFilter.init(OPSServletFilter.java:54
> )
>        at
> org.apache.catalina.core.ApplicationFilterConfig.getFilter(Applicatio
> nFilterConfig.java:223)
>        at
> org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(Applica
> tionFilterConfig.java:304)
>        at
> org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFi
> lterConfig.java:77)
>        at
> org.apache.catalina.core.StandardContext.filterStart(StandardContext.
> java:3600)
>        at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4
> 193)
>
> I've tried Orbeon 3.6.0 and 3.7.0 and changing to Tomcat 5.5.26 and  
> in all
> cases I am still getting the same error messages.
>
> Any ideas?
>
>   Cheers,
>
>   Matthew
> --
> View this message in context: http://www.nabble.com/Unable-to-run-Orbeon-on-a-Mac%3A-exception-starting-filter-ops-main-filter-tp18958123p18958123.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.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 Forms for the Enterprise Done the Right Way
http://www.orbeon.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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Unable to run Orbeon on a Mac: exception starting filter ops-main-filter

Alessandro Vernet
Administrator
Matthew,

On Wed, Aug 13, 2008 at 10:46 AM, mjgraham <[hidden email]> wrote:
> OK, the problem seems to be that Java Preferences under Utilities on Leopard
> (at least) is not correctly setting the Java environment. Java 5 is selected
> by preference and java -version gives Java 1.5 but JAVA_HOME still points at
> the Java 6 JDK. Setting JAVA_HOME explicitly at the Java 1.5 distro allows
> Orbeon to start up properly at least.

Good to know that this could happen. On my system, I have both Java 5
and 6 installed, with 5 being set as the default in Java
Preferences.app, but the JAVA_HOME is not set at all, and I set it
explicitly in Tomcat's setclasspath.sh.

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/
Twitter - http://twitter.com/avernet


--
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