Forum LAMS for Tech-Heads - General Forum: Re: Re: Re: Re: Problem while saving a sequence


 
Search: 

5: Re: Re: Re: Re: Problem while saving a sequence
In response to 4 03/31/11 07:50 AM
[ Reply | Forward ]
Hi Andrey

I did use that version now and it throws the same error. I've attached an image. Maybe that could help too.

Thanks again.

Posted by Felipe Peña

Attachments:
6: Re: Re: Re: Re: Re: Problem while saving a sequence
In response to 5 03/31/11 10:07 AM
[ Reply | Forward ]
Hi Felipe,

This last error looks different from the first one you mentioned.
Can you please copy-paste over here entire exception stack trace?

Cheers,

Posted by Andrey Balan

7: Re: Re: Re: Re: Re: Re: Problem while saving a sequence
In response to 6 03/31/11 12:56 PM
[ Reply | Forward ]
Hi Andrey,

Actually is the same one. I've attached the log.

Thanks!

Posted by Felipe Peña

8: Re: Re: Re: Re: Re: Re: Problem while saving a sequence
In response to 6 03/31/11 12:57 PM
[ Reply | Forward ]
There was an error with the file submission. Here it goes:


2011-03-31 10:48:39,010 [http-127.0.0.1-8080-2:] ERROR org.lamsfoundation.lams.authoring.web.StoreLDServlet - Authoring error. input packet was <wddxPacket version="1.0"><header /><data><struct><var name="competences"><array length="0" /></var><var name="branchMappings"><array length="0" /></var><var name="groupings"><array length="0" /></var><var name="transitions"><array length="0" /></var><var name="activities"><array length="1"><struct><var name="competenceMappings"><array length="0" /></var><var name="gradebookToolOutputDefinitionName"><string>string_null_value</string></var><var name="extLmsId"><string>string_null_value</string></var><var name="toolID"><number>1</number></var><var name="toolContentID"><number>1</number></var><var name="toolSignature"><string>fptwit10</string></var><var name="toolDisplayName"><string>Noticeboard Tool</string></var><var name="helpURL"><string>http://wiki.lamsfoundation.org/display/lamsdocs/fptwit10</string></var><var name="authoringURL"><string>tool/fptwit10/authoring.do</string></var><var name="stopAfterActivity"><boolean value="false" /></var><var name="groupingSupportType"><number>2</number></var><var name="createDateTime"><dateTime>2011-3-31T11:8:58-3:0</dateTime></var><var name="defineLater"><boolean value="false" /></var><var name="runOffline"><boolean value="false" /></var><var name="applyGrouping"><boolean value="false" /></var><var name="parentActivityID"><number>-111111</number></var><var name="parentUIID"><number>-111111</number></var><var name="libraryActivityUIImage"><string>tool/fptwit10/images/icon_htmltwitter.swf</string></var><var name="xCoord"><number>167</number></var><var name="yCoord"><number>150</number></var><var name="helpText"><string>Displays formatted text and links to external sources on a read only page.</string></var><var name="description"><string>Tool for displaying HTML content including external sources such as images and other media.</string></var><var name="activityTitle"><string>Twitter</string></var><var name="learningLibraryID"><number>1</number></var><var name="activityUIID"><number>1</number></var><var name="activityCategoryID"><number>4</number></var><var name="activityID"><number>1</number></var><var name="activityTypeID"><number>1</number></var></struct></array></var><var name="contentFolderID"><string>ff8081812f0c2637012f0c2ba0860003</string></var><var name="createDateTime"><dateTime>2011-3-31T10:48:37-3:0</dateTime></var><var name="workspaceFolderID"><number>46</number></var><var name="maxID"><number>1</number></var><var name="saveMode"><number>0</number></var><var name="validDesign"><boolean value="false" /></var><var name="readOnly"><boolean value="false" /></var><var name="userID"><string>1</string></var><var name="title"><string>twt</string></var><var name="learningDesignID"><number>-111111</number></var><var name="copyTypeID"><number>1</number></var></struct></data></wddxPacket>
Cannot find SAX parser class org.apache.xerces.parsers.SAXParser
    at com.allaire.wddx.DeserializerWorker.createWddxDeserializationException(DeserializerWorker.java:430)
    at com.allaire.wddx.DeserializerWorker.throwException(DeserializerWorker.java:470)
    at com.allaire.wddx.DeserializerWorker.<init>(DeserializerWorker.java:89)
    at com.allaire.wddx.WddxDeserializer.constructDeserializationWorker(WddxDeserializer.java:138)
    at com.allaire.wddx.WddxDeserializer.<init>(WddxDeserializer.java:85)
    at org.lamsfoundation.lams.util.wddx.WDDXProcessor.deserialize(WDDXProcessor.java:96)
    at org.lamsfoundation.lams.authoring.service.AuthoringService.storeLearningDesignDetails(AuthoringService.java:1796)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:616)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy285.storeLearningDesignDetails(Unknown Source)
    at org.lamsfoundation.lams.authoring.web.StoreLDServlet.process(StoreLDServlet.java:77)
    at org.lamsfoundation.lams.web.servlet.AbstractStoreWDDXPacketServlet.doPost(AbstractStoreWDDXPacketServlet.java:109)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    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 org.lamsfoundation.lams.web.filter.LocaleFilter.doFilterInternal(LocaleFilter.java:142)
    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.lamsfoundation.lams.web.session.SystemSessionFilter.doFilter(SystemSessionFilter.java:69)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    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:235)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.lamsfoundation.lams.integration.security.SingleSignOn.invoke(SingleSignOn.java:121)
    at org.lamsfoundation.lams.integration.security.LoginRequestValve.invoke(LoginRequestValve.java:71)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:567)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:636)
2011-03-31 10:48:39,023 [http-127.0.0.1-8080-2:] DEBUG org.lamsfoundation.lams.web.servlet.AbstractStoreWDDXPacketServlet - Request /lams/servlet/authoring/storeLearningDesignDetails sending back packet <wddxPacket version='1.0'><header/><data><struct type='Lorg.lamsfoundation.lams.util.wddx.FlashMessage;'><var name='messageKey'><string>storeLearningDesignDetails</string></var><var name='messageType'><number>1.0</number></var><var name='messageValue'><string>Invalid Object in WDDX packet. Error was Cannot find SAX parser class org.apache.xerces.parsers.SAXParser.</string></var></struct></data></wddxPacket>

Posted by Felipe Peña

9: Re: Re: Re: Re: Re: Re: Re: Problem while saving a sequence
In response to 8 04/01/11 09:17 AM
[ Reply | Forward ]
Felipe,

Again there is no org.apache.xerces.parsers.SAXParser class inside JBoss.
Can you please download attached archive and unzip it into ...\jboss-5.1.0.GA\lib\endorsed

Best,

Posted by Andrey Balan

Attachments:
10: Re: Re: Re: Re: Re: Re: Re: Re: Problem while saving a sequence
In response to 9 04/01/11 01:05 PM
[ Reply | Forward ]
Hi Andrey,

I tried unzipping the file and put the xercesImpl.jar file inside the folder you told me (lib\endorsed). I did also recompile the whole LAMS code.

It's still giving me that error related to SAX parser.

Maybe I have to add that JAR file inside some JBOSS configuration file.

Thanks!

Posted by Felipe Peña

11: Re: Re: Re: Re: Re: Re: Re: Re: Problem while saving a sequence
In response to 9 04/05/11 06:46 AM
[ Reply | Forward ]
Hi Alan,

Sorry for keep insisting on this, but I was thinking this may happening because of the Java version I'm using on that PC. I did also try installing the same JBOSS version that's on my PC (which works), nothing happened though.

Hope you can help me.

Thanks.

Posted by Felipe Peña

12: Re: Re: Re: Re: Re: Re: Re: Re: Re: Problem while saving a sequence
In response to 11 04/06/11 11:16 AM
[ Reply | Forward ]
Mate,

I can give you only one suggestion:
remove all Java development tools (i.e.JDK, JBoss, Lams source code...),
then download same tools but pure clean versions from the web,
and follow the guide "Building LAMS 2.4+". (http://wiki.lamsfoundation.org/display/lams/Building+LAMS+2.4)

fingers crossed it will help :)

Best,

Posted by Andrey Balan

Reply to first post on this page
Back to LAMS for Tech-Heads - General Forum