Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [lyo-dev] Problems executing OSLC4JBugzilla from the OSLC tutorial

| Apologies for the premature send earlier....

Hi Marc,  I took a closer look at your exception from the forum post (I assume you still see the same stack trace).  The root issue is:

Caused by: 
org.xml.sax.SAXException: PWC6181: File /javax/servlet/jsp/resources/web-jsptaglibrary_1_2.dtd not found

The dependency for javax.servlet.jsp-api in the pom.xml is for this package to be provided by the web server - Jetty in this case.   On my system, I find this tag library dtd in the following file:

<home>/.m2/repository/org/eclipse/jetty/orbit/javax.servlet.jsp/2.2.0.v201112011158/javax.servlet.jsp-2.2.0.v201112011158.jar

which has a size of 106024 on my system.  Can you see if you have that file?

Two things to try:

1.  Try deleting <home>/.m2/repository/org/eclipse/jetty/orbit and run a new Maven->Install
2.  Edit the OSLC4JBugzilla pom.xml and change the scope of javax.servlet.jsp-api from included to compile.   This should not be necessary if the container is able to provide the package for us, but it might give us a clue.

Regards,
Mike


On Wed, Nov 28, 2012 at 10:15 AM, Michael Fiedler <fiedler.mf@xxxxxxxxx> wrote:
Hi Marc,  I took a closer look at your exception from the forum post (I assume you still see the same stack trace).  T


On Wed, Nov 28, 2012 at 9:00 AM, Marc Langenbach <mlangen@xxxxxxxxxx> wrote:
Dear all,

I have been redirected from the Open Services for Lifecycle Collaboration
forum to this mailing list. Here's my problem:

I’m trying to follow the instruction in the appendix of the tutorial
(http://open-services.net/resources/tutorials/integrating-products-with-oslc/appendix-running-the-examples/).

When I execute the OSLC4JBugzilla Adapter, I get some Java errors on the console (see attachement).
Trying to access the service at

    http://localhost:8080/OSLC4JBugzilla/services/catalog/singleton

results in the following response:

    HTTP ERROR: 503

    Problem accessing /OSLC4JBugzilla/services/catalog/singleton. Reason:

    Service Unavailable
    Powered by Jetty://

I tried to fix this problem using the tips given at

    http://open-services.net/forums/viewthread/77/

but they have not worked for me.

Does anyone have a clue what's wrong? Maybe even the Java environment?

Best regards

    Marc.

---------------------------------------------------------------------
email: mlangen@xxxxxxxxxx          AbsInt Angewandte Informatik GmbH
Fon:  +49-681-3836018              Science Park 1
Fax:  +49-681-3836020              66123 Saarbrücken
WWW:  http://www.AbsInt.com        Germany
---------------------------------------------------------------------
Geschäftsführung:                  Dr.-Ing. Christian Ferdinand
Handelsregistereintrag:            Amtsgericht Saarbrücken, HRB 11234

_______________________________________________
lyo-dev mailing list
lyo-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/lyo-dev




Back to the top