[Building Sakai] jws file and sakai 2.6

Claudia Roberta claudia.icmc at gmail.com
Wed Oct 21 10:58:17 PDT 2009


Hi!

I' m sending the error of the Java Console. This error happened when I added
axis-1.3 in pom.xml to sakai 2.6. I used axis-1.4 in sakai 2.5 and works
fine but in sakai-2.6 the maven was "frozen".

AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode:
 faultString: java.lang.NullPointerException
 faultActor:
 faultNode:
 faultDetail:
    {http://xml.apache.org/axis/}hostname:vodka

java.lang.NullPointerException
    at
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
    at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
    at
org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
    at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown
Source)
    at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown
Source)
    at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown
Source)
    at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown
Source)
    at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown
Source)
    at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
    at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
Source)
    at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
Source)
    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown
Source)
    at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown
Source)
    at
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
Source)
    at javax.xml.parsers.SAXParser.parse(Unknown Source)
    at
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
    at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
    at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
    at
org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
    at org.apache.axis.client.Call.invoke(Call.java:2767)
    at org.apache.axis.client.Call.invoke(Call.java:2443)
    at org.apache.axis.client.Call.invoke(Call.java:2366)
    at org.apache.axis.client.Call.invoke(Call.java:1812)
    at
org.sakaiproject.tidia.board.wbstartup.WbStartUp.main(WbStartUp.java:70)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.sun.javaws.Launcher.executeApplication(Unknown Source)
    at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
    at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
    at com.sun.javaws.Launcher.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

Any idea?

Thanks!

2009/10/21 Claudia Roberta <claudia.icmc at gmail.com>

> Hi Steve!
>
> The page opened in my browser. I tried with my file and it opened too.
> I added axis-1.4.jar in pom.xml and it works fine in sakai-2.5. But when I
> enter the command mvn clean install in sakai-2.6, the maven entered in loop:
>
> [DEBUG]   junit:junit:jar:3.8.1:test (selected for test)
> [DEBUG]   axis:axis:jar:1.4:compile (selected for compile)
> [DEBUG] While downloading axis:axis-jaxrpc:1.4
>   This artifact has been relocated to org.apache.axis:axis-jaxrpc:1.4.
>
>
> [DEBUG] While downloading org.apache.axis:axis-jaxrpc:1.4
>   This artifact has been relocated to org.apache.axis:axis-jaxrpc:1.4.
>
>
> [DEBUG] While downloading org.apache.axis:axis-jaxrpc:1.4
>   This artifact has been relocated to org.apache.axis:axis-jaxrpc:1.4.
>
> ...
>
> I checked the repository and the path of the pom.xml is correct. All the
> jars are there : http://repo1.maven.org/maven2/org/apache/axis/
>
> If I add axis-1.3.jar (http://repo1.maven.org/maven2/axis/axis-1.3) in
> pom.xml, the maven works fine. But I have this problem. Could be related to
> this problem?
>
> Thanks!
>
>
>
>
> 2009/10/20 Steve Swinsburg <steve.swinsburg at gmail.com>
>
>> Hi,
>> After tomcat is started, if you go to
>> http://your.sakai.server/sakai-axis/SakaiScript.jws?wsdl in your browser
>> then let that load, do you get the classes compiled? The JWS classes compile
>> at runtime.
>>
>> If not, can you stop Tomcat, remove the sakai-axis directory and war from
>> Tomcat/webapps, rebuild and redeploy the 2.6 webservices project, then start
>> Tomcat and repeat step 1 (navigate in browser) and see if that can get it
>> compiled.
>>
>> cheers,
>> Steve
>>
>>
>> On 21/10/2009, at 4:55 AM, Claudia Roberta wrote:
>>
>> Hello Sakai list!
>>
>> I  have upgraded my tools to sakai 2.6, but I have a problem. I use
>> sakai-webservices. I created a  .jws (java web services) file and this works
>> fine in sakai 2.5. In sakai 2.6, my tomcat didn't create the directory
>> "jwsClasses" with classes of jws files. In other words, any class of the jws
>> files developed by sakai (SakaiLogin.jws, SakaiScript.jws) or my jws files
>> were not created. Any idea?
>>
>> Thanks,
>> --
>> Claudia Roberta
>> Intermídia - ICMC/USP - São Carlos, SP - Brasil
>> _______________________________________________
>> sakai-dev mailing list
>> sakai-dev at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>
>> TO UNSUBSCRIBE: send email to
>> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
>> "unsubscribe"
>>
>>
>>
>
>
> --
> Claudia Roberta
> Intermídia - ICMC/USP - São Carlos, SP - Brasil
>



-- 
Claudia Roberta
Intermídia - ICMC/USP - São Carlos, SP - Brasil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20091021/ca5b0eb5/attachment.html 


More information about the sakai-dev mailing list