[AG-TECH] Help with pAG ?

Philippe d'Anfray Philippe.d-Anfray at cea.fr
Tue Sep 8 09:04:39 CDT 2009


Bonjour Tobias
 
I used your xml file and now the portlet is listed in Pluto so  I could
create an Accessgrid Page with PAG

1) **** With the version I am using (pluto-2.0.0 bundle), I had to change:

<servlet-class>org.apache.pluto.core.PortletServlet</servlet-class>
to
<servlet-class>org.apache.pluto.container.driver.PortletServlet</servlet-class>

2) **** I also had to install the xerces (last version: xerces-2_9_1)
libraries for XML parsing


Then with Linux I still have (as on your test server at Manchester) the 
message
"there is a bug in Java..... accessing certificates.. please restart
your browser..."
but (I already know that) restarting the server does not help so I tried
with other machines (Mac OS X and W. XP)

There I could fill the form and click on "GO",  it seems that I can
enter a venue but no more
and I get these "Content is not allowed in prolog" errors  in
catalina.out which probably generate
the java exceptions:

java.lang.NullPointerException
    at
pag.servlet.tags.XmlRpcGetResponseTag.doTag(XmlRpcGetResponseTag.java:57)
...

ARg I think I am almost done...... !!!!!

Merci for your help !! Cordialement

Philippe




catalina.out
========
........
Executing setClientProfile
request: org.apache.pluto.container.impl.ActionRequestImpl at 626fd2
User is logged in
Executing setStatus
Executing enterVenue
Sending
35000001025ee344dd008c00dd000a005a159328cdd0821580728fded56a66117b14a35
Nick : Aristote
Host : jabber.mcs.anl.gov
Port : 5223
Room : marcel(vv3.mcs.anl.gov)
Executing setStatus
[Fatal Error] :1:1: Content is not allowed in prolog.
org.xml.sax.SAXParseException: Content is not allowed in prolog.
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at ag3.soap.SoapDeserializer.deserialize(SoapDeserializer.java:291)
    at ag3.EventClient$1.run(EventClient.java:150)
Executing setStatus
Executing negotiateCapabilities
Executing startApplicationQueue
++ setLocation 8cdd082126fd02625ef91e6c0d39cce0
++ setLocation 8cdd082126fd02625efc1e6c41a8aca4
++ setLocation 8cdd0821429e04788ee048e2b45d621d
++NetworkLocation 8cdd082126fd02625ef91e6c0d39cce0
++NetworkLocation 8cdd082126fd02625efc1e6c41a8aca4
++NetworkLocation 8cdd0821429e04788ee048e2b45d621d
Executing setStatus
Sending 328cdd082126fd02625f123ac723b923b3328cdd0821581228fdeee10000004a08da
Executing setStatus
[Fatal Error] :1:1: Content is not allowed in prolog.
org.xml.sax.SAXParseException: Content is not allowed in prolog.
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at ag3.soap.SoapDeserializer.deserialize(SoapDeserializer.java:291)
    at ag3.EventClient$1.run(EventClient.java:150)
Received message from marcel(vv3.mcs.anl.gov)@conference.mcs.anl.gov
    marcel(vv3.mcs.anl.gov)
Received message from marcel(vv3.mcs.anl.gov)@conference.mcs.anl.gov
    This room supports the MUC protocol.
Received message from marcel(vv3.mcs.anl.gov)@conference.mcs.anl.gov
    Aristote has joined this session
Sending 328cdd082126fd02625f0a70251050493c328cdd0821581428fdef9d000000fe2c81
[Fatal Error] :1:1: Content is not allowed in prolog.
org.xml.sax.SAXParseException: Content is not allowed in prolog.
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at ag3.soap.SoapDeserializer.deserialize(SoapDeserializer.java:291)
    at ag3.EventClient$1.run(EventClient.java:150)
Executing getApplicationParticipants
Executing getApplicationParticipants
......


logs
===

8 sept. 2009 15:43:25 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
8 sept. 2009 15:43:25 org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
8 sept. 2009 15:43:40 org.apache.catalina.core.StandardWrapperValve invoke
GRAVE: "Servlet.service()" pour la servlet jsp a g�n�r� une exception
java.lang.NullPointerException
    at
pag.servlet.tags.XmlRpcGetResponseTag.doTag(XmlRpcGetResponseTag.java:57)
    at
org.apache.jsp.jsp.getNextXmlRpcResponse_jsp._jspx_meth_pag_005fpag_005fxmlRpcGetResponse_005f0(getNextXmlRpcRespon
se_jsp.java:91)
    at
org.apache.jsp.jsp.getNextXmlRpcResponse_jsp._jspService(getNextXmlRpcResponse_jsp.java:62)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
    at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at pag.BlankLineFilter.doFilter(BlankLineFilter.java:71)
    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
    at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
    at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:636)

.....

 

Tobias Schiebeck a écrit :
> Hi Philippe,
>
> On Mon, 2009-09-07 at 15:52 +0200, Philippe d'Anfray wrote:
>   
>  
> You might need to change the web.xml file in the pag folder to the
> version attached. The file in the package is written for gridsphere.
>
>   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Philippe_d-Anfray.vcf
Type: text/x-vcard
Size: 363 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/ag-tech/attachments/20090908/b87a6c98/attachment.vcf>


More information about the ag-tech mailing list