Forum Getting Started: Exception Report


 
You may request notification for Exception Report.
Search: 

1: Exception Report
03/29/06 12:29 PM
[ Reply | Forward ]
I am attempting to get LAMS working on the network at the school I work at. The installation runs fine and completes with no errors. I have MySql installed and running and have jdk 1.4.2_11 installed as well (Have also tried 1.4.2_9). When I run LAMS I get to the first screen that redirects to the LAMS server page. When I click through to the LAMS server page, I get an HTTP 500 status report as follows: (My appologies for the long message.)

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.jboss.web.catalina.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:227)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:551)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.lamsfoundation.ld.security.valve.LoginRequestValve.invoke(LoginRequestValve.java:80)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:509)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
at java.lang.Thread.run(Thread.java:534)


root cause

javax.servlet.ServletException
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:536)
at org.apache.jsp.login_jsp._jspService(login_jsp.java:260)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.jboss.web.catalina.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:227)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:551)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.lamsfoundation.ld.security.valve.LoginRequestValve.invoke(LoginRequestValve.java:80)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:509)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
at java.lang.Thread.run(Thread.java:534)

I have read the install guides and the message boards and am at a dead end on this. Any help would be appreciated.

Thanks,

Dan.

Posted by Dan Patchin

2: Re: Exception Report
In response to 1 03/29/06 04:55 PM
[ Reply | Forward ]
Hi Dan,

There are a few files that might help diagnose what's wrong. Could you post or email these files?

C:\lams\lams-config.log (if installed using Windows installer)
C:\lams\jboss\server\default\log\boot.log
C:\lams\jboss\server\default\log\server.log

The file paths assume you installed to C:\lams; just replace that with whereever you may have installed to.

Regards,

Posted by Jun-Dir Liew

3: Re: Re: Exception Report
In response to 2 03/30/06 12:31 AM
[ Reply | Forward ]
Thanks for the quick reply. I appreciate it. Attached are the files you asked for.

You should find:

C:\lams\lams-config.log (if installed using Windows installer)
C:\lams\jboss\server\default\log\boot.log
C:\lams\jboss\server\default\log\server.log

Thanks for the help.

Dan.

Posted by Dan Patchin

Attachments:
4: Re: Re: Re: Exception Report
In response to 3 03/30/06 12:34 AM
[ Reply | Forward ]
Sorry, Here are the other files.

Posted by Dan Patchin

Attachments:
5: Re: Re: Re: Exception Report
In response to 3 03/30/06 12:38 AM
[ Reply | Forward ]
And the final file.

Posted by Dan Patchin

Attachments:
6: Re: Exception Report
In response to 1 03/30/06 05:33 PM
[ Reply | Forward ]
Do you know what your JAVA_HOME environment variable is set to? (Control Panel->System->Advanced->Environment Variables->System Variables.) This error comes up when there is a problem with the Java version.

Also try starting LAMS manually instead of using the shortcut - you'll get to see the console output, which might give you a few pointers. C:\lams\jboss\bin\run.bat.

Posted by Jun-Dir Liew

7: Re: Re: Exception Report
In response to 6 04/08/06 02:39 PM
[ Reply | Forward ]
Sorry for the delay in replying, but have been gone for the last week. The JAVA_HOME environment variable is set to c:/j2sdk1.4.2_11. The LAMS_JAVA_HOME environment variable is set to c:/j2sdk1.4.2_11 as well.

I ran LAMS maually using c:/lams/jboss/bin/run.bat and got a list of errors and exceptions as follows:

jectException: object not exported], ObjectName: jboss.j2ee:jndiName=ejb/activit
ies/LDRuntimeService,service=EJB
state: FAILED
I Depend On:
Depends On Me: java.rmi.ServerException: Could not bind home; nested exception
is:
javax.naming.CommunicationException [Root exception is java.rmi.NoSuchOb
jectException: object not exported], ObjectName: jboss.j2ee:jndiName=ejb/tool/gr
oupreport/Report,service=EJB
state: FAILED
I Depend On:
Depends On Me: java.rmi.ServerException: Could not bind home; nested exception
is:
javax.naming.CommunicationException [Root exception is java.rmi.NoSuchOb
jectException: object not exported], ObjectName: jboss.j2ee:jndiName=UserExtras,
service=EJB
state: FAILED
I Depend On:
Depends On Me: org.jboss.deployment.DeploymentException: Error: can't find data
source: java:/MySqlDS; - nested throwable: (javax.naming.NameNotFoundException:
MySqlDS not bound), ObjectName: jboss.j2ee:jndiName=ejb/util/SequenceGen,servic
e=EJB
state: FAILED
I Depend On:
Depends On Me: jboss.jca:service=Hibernate
java.rmi.ServerException: Could not bind home; nested exception is:
javax.naming.CommunicationException [Root exception is java.rmi.NoSuchOb
jectException: object not exported], ObjectName: jboss.j2ee:jndiName=ejb/tool/gr
oupreport/ReportLearner,service=EJB
state: FAILED
I Depend On:
Depends On Me: java.rmi.ServerException: Could not bind home; nested exception
is:
javax.naming.CommunicationException [Root exception is java.rmi.NoSuchOb
jectException: object not exported], ObjectName: jboss.j2ee:jndiName=ejb/tool/mb
/MBService,service=EJB
state: FAILED
I Depend On:
Depends On Me: java.rmi.ServerException: Could not bind home; nested exception
is:
javax.naming.CommunicationException [Root exception is java.rmi.NoSuchOb
jectException: object not exported], ObjectName: jboss.j2ee:jndiName=ejb/tool/vo
terank/PollContent,service=EJB
state: FAILED
I Depend On:
Depends On Me: java.rmi.ServerException: Could not bind home; nested exception
is:
javax.naming.CommunicationException [Root exception is java.rmi.NoSuchOb
jectException: object not exported], ObjectName: jboss.j2ee:jndiName=ejb/content
/ContentRepository,service=EJB
state: FAILED
I Depend On:
Depends On Me: java.rmi.ServerException: Could not bind home; nested exception
is:
javax.naming.CommunicationException [Root exception is java.rmi.NoSuchOb
jectException: object not exported], ObjectName: jboss.j2ee:jndiName=ejb/tool/no
ticeboard/NBSection,service=EJB
state: FAILED
I Depend On:
Depends On Me: java.rmi.ServerException: Could not bind home; nested exception
is:
javax.naming.CommunicationException [Root exception is java.rmi.NoSuchOb
jectException: object not exported], ObjectName: jboss.j2ee:jndiName=ejb/tool/ch
at/ChatService,service=EJB
state: FAILED
I Depend On:
Depends On Me: java.rmi.ServerException: Could not bind home; nested exception
is:
javax.naming.CommunicationException [Root exception is java.rmi.NoSuchOb
jectException: object not exported], ObjectName: jboss.j2ee:jndiName=ejb/userman
agement/UserManagementService,service=EJB
state: FAILED
I Depend On:
Depends On Me: java.rmi.ServerException: Could not bind home; nested exception
is:
javax.naming.CommunicationException [Root exception is java.rmi.NoSuchOb
jectException: object not exported], ObjectName: jboss.j2ee:jndiName=ejb/tool/qn
a/SimpleQuestion,service=EJB
state: FAILED
I Depend On:
Depends On Me: java.rmi.ServerException: Could not bind home; nested exception
is:
javax.naming.CommunicationException [Root exception is java.rmi.NoSuchOb
jectException: object not exported], ObjectName: jboss.j2ee:jndiName=ejb/tool/si
mpleassessment/Question,service=EJB
state: FAILED
I Depend On:
Depends On Me: java.rmi.ServerException: Could not bind home; nested exception
is:
javax.naming.CommunicationException [Root exception is java.rmi.NoSuchOb
jectException: object not exported], ObjectName: jboss.j2ee:jndiName=ejb/tool/ur
lcontent/URLLearner,service=EJB
state: FAILED
I Depend On:
Depends On Me: java.rmi.ServerException: Could not bind home; nested exception
is:
javax.naming.CommunicationException [Root exception is java.rmi.NoSuchOb
jectException: object not exported], ObjectName: jboss.j2ee:jndiName=ejb/tool/no
ticeboard/NBService,service=EJB
state: FAILED
I Depend On:
Depends On Me: java.rmi.ServerException: Could not bind home; nested exception
is:
javax.naming.CommunicationException [Root exception is java.rmi.NoSuchOb
jectException: object not exported], ObjectName: jboss.j2ee:jndiName=ejb/tool/re
portsubmission/ReportSubmissionService,service=EJB
state: FAILED
I Depend On:
Depends On Me: java.rmi.ServerException: Could not bind home; nested exception
is:
javax.naming.CommunicationException [Root exception is java.rmi.NoSuchOb
jectException: object not exported], ObjectName: jboss.j2ee:jndiName=ejb/tool/fi
lemanager/FileManagerService,service=EJB
state: FAILED
I Depend On:
Depends On Me: java.rmi.ServerException: Could not bind home; nested exception
is:
javax.naming.CommunicationException [Root exception is java.rmi.NoSuchOb
jectException: object not exported], ObjectName: jboss.j2ee:jndiName=Organisatio
n,service=EJB
state: FAILED
I Depend On:
Depends On Me: org.jboss.deployment.DeploymentException: Error: can't find data
source: java:/MySqlDS; - nested throwable: (javax.naming.NameNotFoundException:
MySqlDS not bound), ObjectName: jboss.j2ee:jndiName=ejb/activities/LDAuthoringS
ervice,service=EJB
state: FAILED
I Depend On:
Depends On Me: java.rmi.ServerException: Could not bind home; nested exception
is:
javax.naming.CommunicationException [Root exception is java.rmi.NoSuchOb
jectException: object not exported], ObjectName: jboss.j2ee:jndiName=ejb/tool/gr
oupreport/GroupReportService,service=EJB
state: FAILED
I Depend On:
Depends On Me: java.rmi.ServerException: Could not bind home; nested exception
is:
javax.naming.CommunicationException [Root exception is java.rmi.NoSuchOb
jectException: object not exported], ObjectName: jboss.j2ee:jndiName=ejb/tool/gr
oupreport/ReportItem,service=EJB
state: FAILED
I Depend On:
Depends On Me: java.rmi.ServerException: Could not bind home; nested exception
is:
javax.naming.CommunicationException [Root exception is java.rmi.NoSuchOb
jectException: object not exported], ObjectName: jboss.j2ee:jndiName=Organisatio
nMembership,service=EJB
state: FAILED
I Depend On:
Depends On Me: org.jboss.deployment.DeploymentException: Error: can't find data
source: java:/MySqlDS; - nested throwable: (javax.naming.NameNotFoundException:
MySqlDS not bound), ObjectName: jboss.j2ee:jndiName=ShwaaGroup,service=EJB
state: FAILED
I Depend On:
Depends On Me: org.jboss.deployment.DeploymentException: Error: can't find data
source: java:/MySqlDS; - nested throwable: (javax.naming.NameNotFoundException:
MySqlDS not bound), ObjectName: jboss.j2ee:jndiName=ejb/tool/voterank/Vote,serv
ice=EJB
state: FAILED
I Depend On:
Depends On Me: java.rmi.ServerException: Could not bind home; nested exception
is:
javax.naming.CommunicationException [Root exception is java.rmi.NoSuchOb
jectException: object not exported], ObjectName: jboss.j2ee:jndiName=ejb/tool/si
mpleassessment/QuestionInfo,service=EJB
state: FAILED
I Depend On:
Depends On Me: java.rmi.ServerException: Could not bind home; nested exception
is:
javax.naming.CommunicationException [Root exception is java.rmi.NoSuchOb
jectException: object not exported], ObjectName: jboss.j2ee:jndiName=ejb/tool/re
portsubmission/ReportReview,service=EJB
state: FAILED
I Depend On:
Depends On Me: java.rmi.ServerException: Could not bind home; nested exception
is:
javax.naming.CommunicationException [Root exception is java.rmi.NoSuchOb
jectException: object not exported], ObjectName: jboss.j2ee:jndiName=ShwaaUserDe
tail,service=EJB
state: FAILED
I Depend On:
Depends On Me: org.jboss.deployment.DeploymentException: Error: can't find data
source: java:/MySqlDS; - nested throwable: (javax.naming.NameNotFoundException:
MySqlDS not bound), ObjectName: jboss.j2ee:jndiName=ejb/tool/reportsubmission/L
earnerReport,service=EJB
state: FAILED
I Depend On:
Depends On Me: java.rmi.ServerException: Could not bind home; nested exception
is:
javax.naming.CommunicationException [Root exception is java.rmi.NoSuchOb
jectException: object not exported], ObjectName: jboss.j2ee:jndiName=ejb/tool/si
mpleassessment/Answer,service=EJB
state: FAILED
I Depend On:
Depends On Me: java.rmi.ServerException: Could not bind home; nested exception
is:
javax.naming.CommunicationException [Root exception is java.rmi.NoSuchOb
jectException: object not exported], ObjectName: jboss.j2ee:jndiName=ejb/service
/ControllerService,service=EJB
state: FAILED
I Depend On:
Depends On Me: java.rmi.ServerException: Could not bind home; nested exception
is:
javax.naming.CommunicationException [Root exception is java.rmi.NoSuchOb
jectException: object not exported], ObjectName: jboss.j2ee:jndiName=ShwaaUser,s
ervice=EJB
state: FAILED
I Depend On:
Depends On Me: org.jboss.deployment.DeploymentException: Error: can't find data
source: java:/MySqlDS; - nested throwable: (javax.naming.NameNotFoundException:
MySqlDS not bound), ObjectName: jboss.j2ee:jndiName=ejb/tool/qna/SimpleAnswer,s
ervice=EJB
state: FAILED
I Depend On:
Depends On Me: java.rmi.ServerException: Could not bind home; nested exception
is:
javax.naming.CommunicationException [Root exception is java.rmi.NoSuchOb
jectException: object not exported], ObjectName: jboss.j2ee:jndiName=ejb/service
/ConfigurationService,service=EJB
state: FAILED
I Depend On:
Depends On Me: java.rmi.ServerException: Could not bind home; nested exception
is:
javax.naming.CommunicationException [Root exception is java.rmi.NoSuchOb
jectException: object not exported], ObjectName: jboss.j2ee:jndiName=ejb/tool/qn
a/QNAService,service=EJB
state: FAILED
I Depend On:
Depends On Me: java.rmi.ServerException: Could not bind home; nested exception
is:
javax.naming.CommunicationException [Root exception is java.rmi.NoSuchOb
jectException: object not exported], ObjectName: jboss.j2ee:jndiName=ejb/tool/jr
nl/JrnlService,service=EJB
state: FAILED
I Depend On:
Depends On Me: java.rmi.ServerException: Could not bind home; nested exception
is:
javax.naming.CommunicationException [Root exception is java.rmi.NoSuchOb
jectException: object not exported], ObjectName: jboss.j2ee:jndiName=ejb/tool/vo
terank/VoteRankService,service=EJB
state: FAILED
I Depend On:
Depends On Me: java.rmi.ServerException: Could not bind home; nested exception
is:
javax.naming.CommunicationException [Root exception is java.rmi.NoSuchOb
jectException: object not exported], ObjectName: jboss.j2ee:jndiName=ejb/tool/ch
at/ChatUser,service=EJB
state: FAILED
I Depend On:
Depends On Me: java.rmi.ServerException: Could not bind home; nested exception
is:
javax.naming.CommunicationException [Root exception is java.rmi.NoSuchOb
jectException: object not exported], ObjectName: jboss.j2ee:jndiName=ejb/tool/ch
at/ChatGroup,service=EJB
state: FAILED
I Depend On:
Depends On Me: java.rmi.ServerException: Could not bind home; nested exception
is:
javax.naming.CommunicationException [Root exception is java.rmi.NoSuchOb
jectException: object not exported], ObjectName: jboss.j2ee:jndiName=ejb/service
/LearnerService,service=EJB
state: FAILED
I Depend On:
Depends On Me: java.rmi.ServerException: Could not bind home; nested exception
is:
javax.naming.CommunicationException [Root exception is java.rmi.NoSuchOb
jectException: object not exported], ObjectName: jboss.j2ee:jndiName=ejb/tool/ur
lcontent/URLContentService,service=EJB
state: FAILED
I Depend On:
Depends On Me: java.rmi.ServerException: Could not bind home; nested exception
is:
javax.naming.CommunicationException [Root exception is java.rmi.NoSuchOb
jectException: object not exported]]
13:46:38,000 ERROR [STDERR] at org.jboss.deployment.MainDeployer.checkIncomp
leteDeployments(MainDeployer.java:1134)
13:46:38,000 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(Main
Deployer.java:594)
13:46:38,000 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(Main
Deployer.java:575)
13:46:38,000 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(
Native Method)
13:46:38,000 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(N
ativeMethodAccessorImpl.java:39)
13:46:38,000 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invo
ke(DelegatingMethodAccessorImpl.java:25)
13:46:38,000 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:3
24)
13:46:38,000 ERROR [STDERR] at org.jboss.mx.capability.ReflectedMBeanDispatc
her.invoke(ReflectedMBeanDispatcher.java:284)
13:46:38,000 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MB
eanServerImpl.java:517)
13:46:38,000 ERROR [STDERR] at org.jboss.system.server.ServerImpl.doStart(Se
rverImpl.java:324)
13:46:38,000 ERROR [STDERR] at org.jboss.system.server.ServerImpl.start(Serv
erImpl.java:221)
13:46:38,000 ERROR [STDERR] at org.jboss.Main.boot(Main.java:148)
13:46:38,000 ERROR [STDERR] at org.jboss.Main$1.run(Main.java:381)
13:46:38,000 ERROR [STDERR] at java.lang.Thread.run(Thread.java:534)

Thanks for your continued help.

Dan.

Posted by Dan Patchin

8: Re: Exception Report
In response to 1 04/09/06 10:53 PM
[ Reply | Forward ]
Since MySQL is running, check that the ports that JBoss needs are not being used before you start LAMS (or blocked by a firewall). You can check port numbers here: http://www.jboss.org/wiki/Wiki.jsp?page=UsingJBossBehindAFirewall

In my experience I have also found these additional port numbers open when starting LAMS:

1476
5001

You might have configured ports 8080 and 9800 to something else (these are the tomcat and chat ports).

You can check which ports are open by typing 'netstat -an' at a command prompt.

Posted by Jun-Dir Liew

9: Re: Re: Exception Report
In response to 8 04/12/06 09:04 PM
[ Reply | Forward ]
I have checked the ports using netstat -an. When the LAMS server is stopped ports 8080, 9800, 1098, 1099, 1476 and 5001 are all not used. When I start the LAMS server all the ports plus some others are used and listening. I am doing everything on one side of the firewall. However, I still get the same error messages as always.

Are there any other possibilities?

Thanks,

Dan.

Posted by Dan Patchin

10: Re: Exception Report
In response to 1 04/13/06 12:05 AM
[ Reply | Forward ]
This error:

Depends On Me: java.rmi.ServerException: Could not bind home; nested exception
is:
javax.naming.CommunicationException

suggests that port 1099 (the rmi port) is inaccessible, otherwise occupied, conflicting, or blocked. If you have Windows Firewall turned on, it may be blocking java programs from accessing the network (usually when you first run a program Windows would ask 'do you wish to block/unblock this program', if you choose unblock it will add the program to the list of exceptions). Even though it's only accessing local ports on the same machine, the Windows firewall will still block it.

Posted by Jun-Dir Liew

11: Re: Re: Exception Report
In response to 10 04/13/06 10:43 AM
[ Reply | Forward ]
Thanks for sticking with me on this. I do not have windows firewall active and and even tried running LAMS after stopping the Windows Firewall/ICE service through the Admin Tools. Either way I get the same result.

Dan.

Posted by Dan Patchin

12: Re: Re: Re: Exception Report
In response to 11 04/18/06 01:06 AM
[ Reply | Forward ]
Do you use any desktop search utility such as Google Desktop Search or instant messenger such as Skype while starting LAMS? If you do, try to stop them before starting LAMS.

Good Luck!

Posted by Fei Yang

Reply to first post on this page
Back to Getting Started