I use a regular log4j.properties (in common/classes) and everything
seems to be logged.

Some logs also go to the wsrp4j-producer.log file as set in the
wsrp4j-logger.properties

-----Original Message-----
From: Pete [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 12, 2006 12:17 AM
To: [email protected]
Subject: RE: problem installing producer

Over a year ago I downloaded the wsrp4j project and
got everything to run / work etc.
I am now trying with the latest from subversion etc
but thus far have been unable to get basic things
working.

I have installed the following:
1.        JDK 1.5
http://sdlc-esd.sun.com/ESD24/JSCDL/jdk/1.5.0_07/jdk-1_5_0_07-windows-i5
86-p.exe?AuthParam=1152300324_5d0d278491e3c17ec5d1afafae5830cf&TUrl=an1n
pDpbKod7kSYrROhENTonIeY5W0D1Lc4nXz+pGFFranixdCdgxDTPbW4=&TicketId=dld5PA
JHOO0/+Q==&GroupName=SDLC&BHost=sdlc5h.sun.com&FilePath=/ESD24/JSCDL/jdk
/1.5.0_07/jdk-1_5_0_07-windows-i586-p.exe&File=jdk-1_5_0_07-windows-i586
-p.exe
2.        Subversion Client
http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91
http://subversion.tigris.org/downloads/subversion-1.3.2.zip
3.        Maven 2.0.4
http://www.apache.org/dist/maven/binaries/maven-2.0.4-bin.zip
4.        Tomcat 5.5
http://www.apache.org/dist/tomcat/tomcat-5/v5.5.17/bin/apache-tomcat-5.5
.17.exe

Then configure the wsrp4j project build properties
file found in the root build.properties.sample
maven.tomcat.home=E:/programs/tomcat-5-5
maven.tomcat.version.major=5

mvn install (Maven 2.0.4)

I then copied the wsrp4j-producer, and the
wsrp4j-testportlet directories to the webapp dir in
Tomcat.  I even moved the
wsrp4j-producer\WEB-INF\lib\*.jar files to the
Tomcat\shared\lib directory
(http://www.mail-archive.com/wsrp4j-user%40portals.apache.org/msg00151.h
tml).


I have tried putting the wsrp4j-logger.properties file
in the Tomcat\shared\classes directory.

I can see the axis services listed:
http://localhost:18080/wsrp4j-producer/WSRP4JProducer

But when I try to consume the provider:

POST
/wsrp4j-producer/WSRP4JProducer/WSRPServiceDescriptionService
HTTP/1.1
Host: localhost:18080
Accept: application/soap+xml,multipart/related,text/*
User-Agent: IBM WebServices/1.0
Cache-Control: no-cache
Pragma: no-cache
SOAPAction:
"urn:oasis:names:tc:wsrp:v1:getServiceDescription"
Connection: Keep-Alive
Content-Type: text/xml; charset=utf-8
Content-Length: 443
Date: Tue, 11 Jul 2006 20:11:07 GMT
<soapenv:Envelope
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
<soapenv:Header/>
<soapenv:Body>
<p631:getServiceDescription
xmlns:p631="urn:oasis:names:tc:wsrp:v1:types">
<p631:registrationContext xsi:nil="true"/>
</p631:getServiceDescription>
</soapenv:Body>
</soapenv:Envelope>

I get this response:

HTTP/1.1 500 Internal Server Error
Server: Apache-Coyote/1.1
Content-Type: text/xml;charset=utf-8
Transfer-Encoding: chunked
Date: Tue, 11 Jul 2006 20:11:08 GMT
Connection: close
<?xml versionfiltered="1.0" encoding="utf-8"?>
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server.userException</faultcode>
<faultstring>java.lang.NullPointerException</faultstring>
<detail>
<ns1:hostname
xmlns:ns1="http://xml.apache.org/axis/";>W-IKCVK0MK</ns1:hostname>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>


But I see nothing in the Tomcat logs except this:

log4j:WARN No appenders could be found for logger
(org.apache.commons.digester.Digester.sax).
log4j:WARN Please initialize the log4j system
properly.


How do I get the logging "turned on"?  Any idea how I
may be misconfigured?


Thanks
Pete



--- Tali Garsiel <[EMAIL PROTECTED]> wrote:

> It works! Thanks for the advice
>
>
>
> ________________________________
>
> From: Venkatesh Jayakumar
> [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 11, 2006 5:35 AM
> To: [email protected];
> [email protected];
> [EMAIL PROTECTED]
> Subject: RE: problem installing producer
>
>
>
> Hi Tali,
>
>
>
> Try having the pluto jar files in the
> CATALINA-HOME/shared/lib and place
> the activation.jar file (download if you don't have
> one) in the
> CATALINA-HOME/lib directory. Make sure you don't
> have Pluto jar files in
> the application library directories. It works for
> me.
>
>
>
> Thanks,
>
> Venkatesh Jayakumar
>
>
>
> ________________________________
>
> From: Tali Garsiel [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 10, 2006 9:40 AM
> To: [email protected];
> [email protected];
> [EMAIL PROTECTED]
> Subject: problem installing producer
>
>
>
> Hi,
>
>
>
> I run into the following problem while installing a
> producer.
>
>
>
> I have copied to tomcat (5.5.17) two war files:
>
>
>
> 1.    The producer
> 2.    A portlet
>
>
>
> I have (manually) added the portlet details to the
> portlet registry.
>
>
>
> When I call the producer (using WSRP4J proxyportlet
> consumer in another
> machine) I get :
>
>
>
> Nested Exception is
>
> java.lang.ClassNotFoundException:
> org.apache.pluto.core.PortletServlet
>
>           at
>
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader
> .java:1352)
>
>           at
>
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader
> .java:1198)
>
>           at
>
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav
> a:1034)
>
>           at
>
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:7
> 57)
>
>           at
>
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatc
> her.java:641)
>
>           at
>
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDisp
> atcher.java:574)
>
>           at
>
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispat
> cher.java:499)
>
>           at
>
org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerIm
> pl.java:120)
>
>           at
>
org.apache.pluto.invoker.impl.PortletInvokerImpl.render(PortletInvokerIm
> pl.java:73)
>
>           at
>
org.apache.pluto.PortletContainerImpl.renderPortlet(PortletContainerImpl
> .java:119)
>
>           at
>
org.apache.pluto.portalImpl.core.PortletContainerWrapperImpl.renderPortl
> et(PortletContainerWrapperImpl.java:70)
>
>           at
>
org.apache.wsrp4j.producer.provider.pluto.driver.PortletInvokerImpl.invo
> keGetMarkup(PortletInvokerImpl.java:177)
>
>           at
>
org.apache.wsrp4j.commons.producer.driver.WSRPEngine.getMarkup(WSRPEngin
> e.java:758)
>
>
>
>
>
> Seems that the web classloader doesn't see the
> pluto1.01 jar!
>
>
>
> I tried to put it on the "shared" directory but:
>
>
>
> 1.    If it's both in shared and the wsrp war I get an
> error about
> illegal state (prepare not called)
> 2.    If it's just in shared I get errors from axis
> complaining he
> can't find activation and mail jars!
>
>
>
>
>
> Any idea ??
>
>
>
>
>
> Thanks, Tali
>
>
>
______________________________________________________________________
> This email has been scanned by the MessageLabs Email
> Security System.
> For more information please visit
> http://www.messagelabs.com/email
>
______________________________________________________________________
>
>
>
______________________________________________________________________
> This email has been scanned by the MessageLabs Email
> Security System.
> For more information please visit
> http://www.messagelabs.com/email
>
______________________________________________________________________


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

Reply via email to