Forum LAMS for Tech-Heads - General Forum: Re: Re: Re: Re: LAMS 2 problem


 
Search: 

5: Re: Re: Re: Re: LAMS 2 problem
In response to 4 11/22/06 10:14 PM
[ Reply | Forward ]
Hi Jun-Dir,

I used Active Ports, I cannot find any application uses port 1098. Then I reboot my PC and restart LAMS 2, it works now. Do you know why?

Anyway thanks for your help.

I have a problem on lams web service here. Do you mind give me some suggestions? Thanks in advance.

I use j2ee to create the client for LearnignDesignRepositoryService. everything is fine, I can invoke the service and get the string. But when I move the code into my building blocks it doesn't work. I got this error:

org.apache.axis.Message

java.lang.ClassCastException: org.apache.axis.Message
    at com.sun.xml.rpc.client.StubBase._postSendingHook(StubBase.java:248)
    at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:341)
    at lams2ws.LearningDesignRepository_Stub.getLearningDesigns(LearningDesignRepository_Stub.java:77)
    at org.lamsfoundation.ld.integration.blackboard.LamsServiceUtil.getLDs(LamsServiceUtil.java:72)
    at org.apache.jsp.modules.create_jsp._jspService(create_jsp.java:129)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at sun.reflect.GeneratedMethodAccessor243.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:239)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
    at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:157)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
    at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
    at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:140)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:136)
    at blackboard.platform.servlet.ContentTypeFilter.doFilter(ContentTypeFilter.java:56)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:239)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
    at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:213)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:183)
    at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
    at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:140)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:136)
    at blackboard.platform.servlet.RequestSessionFilter.handleRequest(RequestSessionFilter.java:266)
    at blackboard.platform.servlet.RequestSessionFilter.doFilter(RequestSessionFilter.java:115)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:239)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
    at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:213)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:183)
    at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
    at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:140)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:136)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
    at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675)
    at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
    at java.lang.Thread.run(Thread.java:595)

Do you know what's wrong?

Regards,

Chen

Posted by Rui Chen

6: Re: Re: Re: Re: Re: LAMS 2 problem
In response to 5 11/23/06 05:18 PM
[ Reply | Forward ]
I've found that Skype sometimes occupies port 80, when that happens I can't start Apache running on port 80. Perhaps something similar happened to you?

I'm not sure I can help much with your integration code as I'm not familiar with that part of the code. Sorry, can't offer anything off the top of my head. Have you checked if the request was received on the LAMS side? Or what was returned if it was?

Posted by Jun-Dir Liew

7: Re: Re: Re: Re: Re: Re: LAMS 2 problem
In response to 6 11/23/06 07:18 PM
[ Reply | Forward ]
This morning I found Skype uses port 1098 & 1099. I'll start skype after launching LAMS2. Thanks.

It's OK. I'll try to find out the reason. I appreciate all the helps you give to me.


Cheers,

Chen

Posted by Rui Chen

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