Home » Eclipse Projects » Remote Application Platform (RAP) » Error deplaying in tomcat
Error deplaying in tomcat [message #22329] |
Sat, 05 May 2007 02:25  |
Eclipse User |
|
|
|
Originally posted by: manuel.staechele.levante-software.ch
i have copy the build stuff to a zip, unpack it in the webapps folder of
tomcat and restart tomcat.
than trying to access: folder/rap
but the following error occur:
java.lang.IllegalStateException: instance already set
org.eclipse.equinox.servletbridge.BridgeServlet.setInstance( BridgeServlet.java:184)
---
maybe servletbridge already startet, but how can i change this?
FUll ERROR:
---
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented
it from fulfilling this request.
exception
javax.servlet.ServletException: Servlet.init() for servlet
equinoxbridgeservlet threw exception
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:118)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapte r.java:160)
org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:799)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConnection(Http11Protocol.java:705)
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndp oint.java:577)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:595)
root cause
java.lang.IllegalStateException: instance already set
org.eclipse.equinox.servletbridge.BridgeServlet.setInstance( BridgeServlet.java:184)
org.eclipse.equinox.servletbridge.BridgeServlet.init(BridgeS ervlet.java:44)
javax.servlet.GenericServlet.init(GenericServlet.java:211)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:118)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapte r.java:160)
org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:799)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConnection(Http11Protocol.java:705)
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndp oint.java:577)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:595)
note The full stack trace of the root cause is available in the Apache
Tomcat/5.0 logs.
|
|
| |
Re: Error deplaying in tomcat [message #22655 is a reply to message #22567] |
Mon, 07 May 2007 10:31   |
Eclipse User |
|
|
|
Originally posted by: manuel.staechele.levante-software.ch
Frank Appel schrieb:
> Hi,
>
> did you ensure that the work directory of the tomcat was properly cleared
> (in case of redeployment)?
wath you mean with work directory, the directory that i upload to the
server only include the folder WEB-INF ..
Did the OSGi console start?
how can i find out, on windows in the tomcat server console i can not
write, on linux i also tested, but do not know how to get to tomcat console.
Did you change the
> web.xml?
no i do not change the web.xml, should i?
> Note that there is a new team project set file in the org.eclipse.rap.help
> plug-in to get the 3.2 code base compatible versions of the servlet bridge
> plug-in (see directory help/getting-started/servletbridge-anon.psf, the
> deployment document was also updated).
i have updated with the servletbridge-anon.psf file, but the same error
occurs.
many thanks in advance for any help.
greetings
manuel
>
> Ciao
> Frank
>
>
> "Manuel Staechele" <manuel.staechele@levante-software.ch> schrieb im
> Newsbeitrag news:f1h80k$q1b$1@build.eclipse.org...
>> i have copy the build stuff to a zip, unpack it in the webapps folder of
>> tomcat and restart tomcat.
>> than trying to access: folder/rap
>> but the following error occur:
>> java.lang.IllegalStateException: instance already set
>> org.eclipse.equinox.servletbridge.BridgeServlet.setInstance( BridgeServlet.java:184)
>> ---
>> maybe servletbridge already startet, but how can i change this?
>>
>> FUll ERROR:
>> ---
>> HTTP Status 500 -
>>
>> type Exception report
>>
>> message
>>
>> description The server encountered an internal error () that prevented it
>> from fulfilling this request.
>>
>> exception
>>
>> javax.servlet.ServletException: Servlet.init() for servlet
>> equinoxbridgeservlet threw exception
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:118)
>> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapte r.java:160)
>> org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:799)
>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConnection(Http11Protocol.java:705)
>> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndp oint.java:577)
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:684)
>> java.lang.Thread.run(Thread.java:595)
>>
>> root cause
>>
>> java.lang.IllegalStateException: instance already set
>> org.eclipse.equinox.servletbridge.BridgeServlet.setInstance( BridgeServlet.java:184)
>> org.eclipse.equinox.servletbridge.BridgeServlet.init(BridgeS ervlet.java:44)
>> javax.servlet.GenericServlet.init(GenericServlet.java:211)
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:118)
>> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapte r.java:160)
>> org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:799)
>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConnection(Http11Protocol.java:705)
>> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndp oint.java:577)
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:684)
>> java.lang.Thread.run(Thread.java:595)
>>
>> note The full stack trace of the root cause is available in the Apache
>> Tomcat/5.0 logs.
>
>
|
|
| |
Re: Error deplaying in tomcat [message #23084 is a reply to message #22916] |
Tue, 08 May 2007 08:20   |
Eclipse User |
|
|
|
Originally posted by: manuel.ilch.de
hi,
ok the .war helps a lot, but i still have problems :-(
1. it only work if i replace my own servletbridge.jar with yours from
rapdemo.war.
2. in my app a error occur (if i deploy rap.demo and replace
servletbridge it work) :
can you give me a hint where i have to search?... i have compare
Perspective.java, SymaticWorkbench.java with the Demo one. but do not
see differences.
many thanks so far.
the error:
08.05.2007 13:28:33 org.apache.catalina.core.StandardWrapperValve invoke
SCHWERWIEGEND: Servlet.service() for servlet equinoxbridgeservlet threw
exception
org.eclipse.jface.util.Assert$AssertionFailedException: null argument;
at org.eclipse.jface.util.Assert.isNotNull(Assert.java:146)
at org.eclipse.jface.util.Assert.isNotNull(Assert.java:122)
at
org.eclipse.ui.internal.WorkbenchPartReference.init(Workbenc hPartReference.java:67)
at org.eclipse.ui.internal.ViewReference.<init>(ViewReference.java:44)
at org.eclipse.ui.internal.ViewFactory.createView(ViewFactory.j ava:76)
at org.eclipse.ui.internal.LayoutHelper.createView(LayoutHelper .java:158)
at org.eclipse.ui.internal.FolderLayout.addView(FolderLayout.ja va:80)
at de.levante.symatic.Perspective.createInitialLayout(Perspecti ve.java:16)
at
org.eclipse.ui.internal.Perspective.loadPredefinedPersp(Pers pective.java:278)
at
org.eclipse.ui.internal.Perspective.createPresentation(Persp ective.java:191)
at org.eclipse.ui.internal.Perspective.<init>(Perspective.java:39)
at
org.eclipse.ui.internal.WorkbenchPage.createPerspective(Work benchPage.java:898)
at org.eclipse.ui.internal.WorkbenchPage.<init>(WorkbenchPage.java:324)
at
org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(Workben chWindow.java:110)
at org.eclipse.ui.internal.Workbench.openFirstTimeWindow(Workbe nch.java:83)
at
org.eclipse.ui.internal.WorkbenchConfigurer.openFirstTimeWin dow(WorkbenchConfigurer.java:18)
at
org.eclipse.ui.entrypoint.WorkbenchAdvisor.openWindows(Workb enchAdvisor.java:19)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:160)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:154)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:46)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:30)
at de.levante.symatic.SymaticWorkbench.createUI(SymaticWorkbenc h.java:11)
at
org.eclipse.swt.internal.lifecycle.EntryPointManager.createU I(EntryPointManager.java:82)
at
org.eclipse.swt.internal.lifecycle.PrepareUIRoot.execute(Pre pareUIRoot.java:32)
at
org.eclipse.swt.internal.lifecycle.RWTLifeCycle.execute(RWTL ifeCycle.java:60)
at com.w4t.engine.W4TModel$ServiceAdapter.execute(W4TModel.java :47)
at
com.w4t.engine.service.FormRequestServiceHandler.service(For mRequestServiceHandler.java:65)
at
com.w4t.engine.service.ServiceManager$HandlerDispatcher.serv ice(ServiceManager.java:90)
at com.w4t.engine.W4TDelegate.doPost(W4TDelegate.java:75)
at
org.eclipse.ui.internal.servlet.RequestHandler.service(Reque stHandler.java:41)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.eclipse.equinox.http.registry.internal.ServletManager$Se rvletWrapper.service(ServletManager.java:177)
at
org.eclipse.equinox.http.servlet.internal.ServletRegistratio n.handleRequest(ServletRegistration.java:91)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.proce ssAlias(ProxyServlet.java:110)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.servi ce(ProxyServlet.java:60)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.eclipse.equinox.servletbridge.BridgeServlet.service(Brid geServlet.java:115)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11Connection Handler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo lTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:619)
Frank Appel schrieb:
> Hi again,
>
> if the OSGi console would have started, it would be possible to write to the
> tomcat console under windows. Typing ss would print out a activation status
> of each bundle. If you look at the runtime picture in the tutorial you see
> what I mean. I have added a demo deployment archive for trouble shooting to
> the org.eclipse.rap.demo.feature project. So you can download the WAR from
> CVS and deploy it on your tomcat and look what's different. Note that the
> build needs a 1.5 runtime.
>
> Hope that helps.
>
> Ciao
> Frank
>
>
> "Manuel Stächele" <manuel.staechele@levante-software.ch> schrieb im
> Newsbeitrag news:f1nd8a$16g$1@build.eclipse.org...
>> Frank Appel schrieb:
>>> Hi,
>>>
>>> did you ensure that the work directory of the tomcat was properly cleared
>>> (in case of redeployment)?
>> wath you mean with work directory, the directory that i upload to the
>> server only include the folder WEB-INF ..
>>
>> Did the OSGi console start?
>> how can i find out, on windows in the tomcat server console i can not
>> write, on linux i also tested, but do not know how to get to tomcat
>> console.
>>
>> Did you change the
>>> web.xml?
>> no i do not change the web.xml, should i?
>>
>>> Note that there is a new team project set file in the
>>> org.eclipse.rap.help plug-in to get the 3.2 code base compatible versions
>>> of the servlet bridge plug-in (see directory
>>> help/getting-started/servletbridge-anon.psf, the deployment document was
>>> also updated).
>> i have updated with the servletbridge-anon.psf file, but the same error
>> occurs.
>>
>> many thanks in advance for any help.
>>
>> greetings
>> manuel
>>
>>
>>> Ciao
>>> Frank
>>>
>>>
>>> "Manuel Staechele" <manuel.staechele@levante-software.ch> schrieb im
>>> Newsbeitrag news:f1h80k$q1b$1@build.eclipse.org...
>>>> i have copy the build stuff to a zip, unpack it in the webapps folder of
>>>> tomcat and restart tomcat.
>>>> than trying to access: folder/rap
>>>> but the following error occur:
>>>> java.lang.IllegalStateException: instance already set
>>>> org.eclipse.equinox.servletbridge.BridgeServlet.setInstance( BridgeServlet.java:184)
>>>> ---
>>>> maybe servletbridge already startet, but how can i change this?
>>>>
>>>> FUll ERROR:
>>>> ---
>>>> HTTP Status 500 -
>>>>
>>>> type Exception report
>>>>
>>>> message
>>>>
>>>> description The server encountered an internal error () that prevented
>>>> it from fulfilling this request.
>>>>
>>>> exception
>>>>
>>>> javax.servlet.ServletException: Servlet.init() for servlet
>>>> equinoxbridgeservlet threw exception
>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:118)
>>>> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapte r.java:160)
>>>> org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:799)
>>>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConnection(Http11Protocol.java:705)
>>>> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndp oint.java:577)
>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:684)
>>>> java.lang.Thread.run(Thread.java:595)
>>>>
>>>> root cause
>>>>
>>>> java.lang.IllegalStateException: instance already set
>>>> org.eclipse.equinox.servletbridge.BridgeServlet.setInstance( BridgeServlet.java:184)
>>>> org.eclipse.equinox.servletbridge.BridgeServlet.init(BridgeS ervlet.java:44)
>>>> javax.servlet.GenericServlet.init(GenericServlet.java:211)
>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:118)
>>>> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapte r.java:160)
>>>> org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:799)
>>>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConnection(Http11Protocol.java:705)
>>>> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndp oint.java:577)
>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:684)
>>>> java.lang.Thread.run(Thread.java:595)
>>>>
>>>> note The full stack trace of the root cause is available in the Apache
>>>> Tomcat/5.0 logs.
>
|
|
| |
Re: Error deplaying in tomcat [message #23203 is a reply to message #23164] |
Tue, 08 May 2007 10:43   |
Eclipse User |
|
|
|
Originally posted by: manuel.ilch.de
Frank Appel schrieb:
> Hi,
>
> do the two servletbridge.jars have the same size? If not check whether ther
> servletbridge project has the v20070416 tag. Check whether the configuration
> path in webappBuilder.xml is set to the correct servletbridge project.
no they have not the same size.
no the servletbridge project has not the v20070416 tag
in the file:
servletbridge-anon.psf the project: http.servletbridge has the version
tag: v20070415, but if i import with this file, the http.servletbridge
project has no content, so that the pde export failed. (not content
means: no + to explorer the projekt). so i can't use the v20070415 tag
for http.servletbridge.
thanks
greetings, manuel
>
> Ciao
> Frank
>
> "Manuel Stächele" <manuel@ilch.de> schrieb im Newsbeitrag
> news:f1ppv3$h8e$1@build.eclipse.org...
>> hi,
>>
>> ok the .war helps a lot, but i still have problems :-(
>>
>> 1. it only work if i replace my own servletbridge.jar with yours from
>> rapdemo.war.
>>
>> 2. in my app a error occur (if i deploy rap.demo and replace servletbridge
>> it work) :
>> can you give me a hint where i have to search?... i have compare
>> Perspective.java, SymaticWorkbench.java with the Demo one. but do not see
>> differences.
>>
>> many thanks so far.
>>
>> the error:
>> 08.05.2007 13:28:33 org.apache.catalina.core.StandardWrapperValve invoke
>> SCHWERWIEGEND: Servlet.service() for servlet equinoxbridgeservlet threw
>> exception
>> org.eclipse.jface.util.Assert$AssertionFailedException: null argument;
>> at org.eclipse.jface.util.Assert.isNotNull(Assert.java:146)
>> at org.eclipse.jface.util.Assert.isNotNull(Assert.java:122)
>> at
>> org.eclipse.ui.internal.WorkbenchPartReference.init(Workbenc hPartReference.java:67)
>> at org.eclipse.ui.internal.ViewReference.<init>(ViewReference.java:44)
>> at org.eclipse.ui.internal.ViewFactory.createView(ViewFactory.j ava:76)
>> at org.eclipse.ui.internal.LayoutHelper.createView(LayoutHelper .java:158)
>> at org.eclipse.ui.internal.FolderLayout.addView(FolderLayout.ja va:80)
>> at de.levante.symatic.Perspective.createInitialLayout(Perspecti ve.java:16)
>> at
>> org.eclipse.ui.internal.Perspective.loadPredefinedPersp(Pers pective.java:278)
>> at
>> org.eclipse.ui.internal.Perspective.createPresentation(Persp ective.java:191)
>> at org.eclipse.ui.internal.Perspective.<init>(Perspective.java:39)
>> at
>> org.eclipse.ui.internal.WorkbenchPage.createPerspective(Work benchPage.java:898)
>> at org.eclipse.ui.internal.WorkbenchPage.<init>(WorkbenchPage.java:324)
>> at
>> org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(Workben chWindow.java:110)
>> at
>> org.eclipse.ui.internal.Workbench.openFirstTimeWindow(Workbe nch.java:83)
>> at
>> org.eclipse.ui.internal.WorkbenchConfigurer.openFirstTimeWin dow(WorkbenchConfigurer.java:18)
>> at
>> org.eclipse.ui.entrypoint.WorkbenchAdvisor.openWindows(Workb enchAdvisor.java:19)
>> at org.eclipse.ui.internal.Workbench.init(Workbench.java:160)
>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:154)
>> at
>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:46)
>> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:30)
>> at de.levante.symatic.SymaticWorkbench.createUI(SymaticWorkbenc h.java:11)
>> at
>> org.eclipse.swt.internal.lifecycle.EntryPointManager.createU I(EntryPointManager.java:82)
>> at
>> org.eclipse.swt.internal.lifecycle.PrepareUIRoot.execute(Pre pareUIRoot.java:32)
>> at
>> org.eclipse.swt.internal.lifecycle.RWTLifeCycle.execute(RWTL ifeCycle.java:60)
>> at com.w4t.engine.W4TModel$ServiceAdapter.execute(W4TModel.java :47)
>> at
>> com.w4t.engine.service.FormRequestServiceHandler.service(For mRequestServiceHandler.java:65)
>> at
>> com.w4t.engine.service.ServiceManager$HandlerDispatcher.serv ice(ServiceManager.java:90)
>> at com.w4t.engine.W4TDelegate.doPost(W4TDelegate.java:75)
>> at
>> org.eclipse.ui.internal.servlet.RequestHandler.service(Reque stHandler.java:41)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> at
>> org.eclipse.equinox.http.registry.internal.ServletManager$Se rvletWrapper.service(ServletManager.java:177)
>> at
>> org.eclipse.equinox.http.servlet.internal.ServletRegistratio n.handleRequest(ServletRegistration.java:91)
>> at
>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.proce ssAlias(ProxyServlet.java:110)
>> at
>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.servi ce(ProxyServlet.java:60)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> at
>> org.eclipse.equinox.servletbridge.BridgeServlet.service(Brid geServlet.java:115)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:252)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:173)
>> at
>> org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:213)
>> at
>> org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:178)
>> at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:126)
>> at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:105)
>> at
>> org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:107)
>> at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.java:148)
>> at
>> org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:869)
>> at
>> org.apache.coyote.http11.Http11BaseProtocol$Http11Connection Handler.processConnection(Http11BaseProtocol.java:664)
>> at
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo lTcpEndpoint.java:527)
>> at
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( LeaderFollowerWorkerThread.java:80)
>> at
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:684)
>> at java.lang.Thread.run(Thread.java:619)
>>
>>
>>
>>
>> Frank Appel schrieb:
>>> Hi again,
>>>
>>> if the OSGi console would have started, it would be possible to write to
>>> the tomcat console under windows. Typing ss would print out a activation
>>> status of each bundle. If you look at the runtime picture in the tutorial
>>> you see what I mean. I have added a demo deployment archive for trouble
>>> shooting to the org.eclipse.rap.demo.feature project. So you can download
>>> the WAR from CVS and deploy it on your tomcat and look what's different.
>>> Note that the build needs a 1.5 runtime.
>>>
>>> Hope that helps.
>>>
>>> Ciao
>>> Frank
>>>
>>>
>>> "Manuel Stächele" <manuel.staechele@levante-software.ch> schrieb im
>>> Newsbeitrag news:f1nd8a$16g$1@build.eclipse.org...
>>>> Frank Appel schrieb:
>>>>> Hi,
>>>>>
>>>>> did you ensure that the work directory of the tomcat was properly
>>>>> cleared (in case of redeployment)?
>>>> wath you mean with work directory, the directory that i upload to the
>>>> server only include the folder WEB-INF ..
>>>>
>>>> Did the OSGi console start?
>>>> how can i find out, on windows in the tomcat server console i can not
>>>> write, on linux i also tested, but do not know how to get to tomcat
>>>> console.
>>>>
>>>> Did you change the
>>>>> web.xml?
>>>> no i do not change the web.xml, should i?
>>>>
>>>>> Note that there is a new team project set file in the
>>>>> org.eclipse.rap.help plug-in to get the 3.2 code base compatible
>>>>> versions of the servlet bridge plug-in (see directory
>>>>> help/getting-started/servletbridge-anon.psf, the deployment document
>>>>> was also updated).
>>>> i have updated with the servletbridge-anon.psf file, but the same error
>>>> occurs.
>>>>
>>>> many thanks in advance for any help.
>>>>
>>>> greetings
>>>> manuel
>>>>
>>>>
>>>>> Ciao
>>>>> Frank
>>>>>
>>>>>
>>>>> "Manuel Staechele" <manuel.staechele@levante-software.ch> schrieb im
>>>>> Newsbeitrag news:f1h80k$q1b$1@build.eclipse.org...
>>>>>> i have copy the build stuff to a zip, unpack it in the webapps folder
>>>>>> of tomcat and restart tomcat.
>>>>>> than trying to access: folder/rap
>>>>>> but the following error occur:
>>>>>> java.lang.IllegalStateException: instance already set
>>>>>> org.eclipse.equinox.servletbridge.BridgeServlet.setInstance( BridgeServlet.java:184)
>>>>>> ---
>>>>>> maybe servletbridge already startet, but how can i change this?
>>>>>>
>>>>>> FUll ERROR:
>>>>>> ---
>>>>>> HTTP Status 500 -
>>>>>>
>>>>>> type Exception report
>>>>>>
>>>>>> message
>>>>>>
>>>>>> description The server encountered an internal error () that prevented
>>>>>> it from fulfilling this request.
>>>>>>
>>>>>> exception
>>>>>>
>>>>>> javax.servlet.ServletException: Servlet.init() for servlet
>>>>>> equinoxbridgeservlet threw exception
>>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:118)
>>>>>> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapte r.java:160)
>>>>>> org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:799)
>>>>>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConnection(Http11Protocol.java:705)
>>>>>> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndp oint.java:577)
>>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:684)
>>>>>> java.lang.Thread.run(Thread.java:595)
>>>>>>
>>>>>> root cause
>>>>>>
>>>>>> java.lang.IllegalStateException: instance already set
>>>>>> org.eclipse.equinox.servletbridge.BridgeServlet.setInstance( BridgeServlet.java:184)
>>>>>> org.eclipse.equinox.servletbridge.BridgeServlet.init(BridgeS ervlet.java:44)
>>>>>> javax.servlet.GenericServlet.init(GenericServlet.java:211)
>>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:118)
>>>>>> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapte r.java:160)
>>>>>> org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:799)
>>>>>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConnection(Http11Protocol.java:705)
>>>>>> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndp oint.java:577)
>>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:684)
>>>>>> java.lang.Thread.run(Thread.java:595)
>>>>>>
>>>>>> note The full stack trace of the root cause is available in the Apache
>>>>>> Tomcat/5.0 logs.
>
>
|
|
|
Re: Error deplaying in tomcat [message #23478 is a reply to message #23203] |
Wed, 09 May 2007 05:36   |
Eclipse User |
|
|
|
Originally posted by: manuel.staechele.levante-software.ch
please i need this info, (in text below, i mean tag 20070416 i test with
20070415 from there the wrong tag in the text.)
actual i need also a hint for the below error, your demo work with the
servletbridge from you also if i build i my own and replace
servletbridge. but my own project only works in eclipse and output the
error below if i access over tomcat...
thanks.
greetings
manuel
Manuel Stächele schrieb:
> Frank Appel schrieb:
>> Hi,
>>
>> do the two servletbridge.jars have the same size? If not check whether
>> ther servletbridge project has the v20070416 tag. Check whether the
>> configuration path in webappBuilder.xml is set to the correct
>> servletbridge project.
>
> no they have not the same size.
> no the servletbridge project has not the v20070416 tag
>
> in the file:
> servletbridge-anon.psf the project: http.servletbridge has the version
> tag: v20070415, but if i import with this file, the http.servletbridge
> project has no content, so that the pde export failed. (not content
> means: no + to explorer the projekt). so i can't use the v20070415 tag
> for http.servletbridge.
>
> thanks
>
> greetings, manuel
>
>>
>> Ciao
>> Frank
>>
>> "Manuel Stächele" <manuel@ilch.de> schrieb im Newsbeitrag
>> news:f1ppv3$h8e$1@build.eclipse.org...
>>> hi,
>>>
>>> ok the .war helps a lot, but i still have problems :-(
>>>
>>> 1. it only work if i replace my own servletbridge.jar with yours from
>>> rapdemo.war.
>>>
>>> 2. in my app a error occur (if i deploy rap.demo and replace
>>> servletbridge it work) :
>>> can you give me a hint where i have to search?... i have compare
>>> Perspective.java, SymaticWorkbench.java with the Demo one. but do not
>>> see differences.
>>>
>>> many thanks so far.
>>>
>>> the error:
>>> 08.05.2007 13:28:33 org.apache.catalina.core.StandardWrapperValve invoke
>>> SCHWERWIEGEND: Servlet.service() for servlet equinoxbridgeservlet
>>> threw exception
>>> org.eclipse.jface.util.Assert$AssertionFailedException: null argument;
>>> at org.eclipse.jface.util.Assert.isNotNull(Assert.java:146)
>>> at org.eclipse.jface.util.Assert.isNotNull(Assert.java:122)
>>> at
>>> org.eclipse.ui.internal.WorkbenchPartReference.init(Workbenc hPartReference.java:67)
>>>
>>> at org.eclipse.ui.internal.ViewReference.<init>(ViewReference.java:44)
>>> at org.eclipse.ui.internal.ViewFactory.createView(ViewFactory.j ava:76)
>>> at
>>> org.eclipse.ui.internal.LayoutHelper.createView(LayoutHelper .java:158)
>>> at org.eclipse.ui.internal.FolderLayout.addView(FolderLayout.ja va:80)
>>> at
>>> de.levante.symatic.Perspective.createInitialLayout(Perspecti ve.java:16)
>>> at
>>> org.eclipse.ui.internal.Perspective.loadPredefinedPersp(Pers pective.java:278)
>>>
>>> at
>>> org.eclipse.ui.internal.Perspective.createPresentation(Persp ective.java:191)
>>>
>>> at org.eclipse.ui.internal.Perspective.<init>(Perspective.java:39)
>>> at
>>> org.eclipse.ui.internal.WorkbenchPage.createPerspective(Work benchPage.java:898)
>>>
>>> at org.eclipse.ui.internal.WorkbenchPage.<init>(WorkbenchPage.java:324)
>>> at
>>> org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(Workben chWindow.java:110)
>>>
>>> at
>>> org.eclipse.ui.internal.Workbench.openFirstTimeWindow(Workbe nch.java:83)
>>> at
>>> org.eclipse.ui.internal.WorkbenchConfigurer.openFirstTimeWin dow(WorkbenchConfigurer.java:18)
>>>
>>> at
>>> org.eclipse.ui.entrypoint.WorkbenchAdvisor.openWindows(Workb enchAdvisor.java:19)
>>>
>>> at org.eclipse.ui.internal.Workbench.init(Workbench.java:160)
>>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:154)
>>> at
>>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:46)
>>>
>>> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:30)
>>> at
>>> de.levante.symatic.SymaticWorkbench.createUI(SymaticWorkbenc h.java:11)
>>> at
>>> org.eclipse.swt.internal.lifecycle.EntryPointManager.createU I(EntryPointManager.java:82)
>>>
>>> at
>>> org.eclipse.swt.internal.lifecycle.PrepareUIRoot.execute(Pre pareUIRoot.java:32)
>>>
>>> at
>>> org.eclipse.swt.internal.lifecycle.RWTLifeCycle.execute(RWTL ifeCycle.java:60)
>>>
>>> at com.w4t.engine.W4TModel$ServiceAdapter.execute(W4TModel.java :47)
>>> at
>>> com.w4t.engine.service.FormRequestServiceHandler.service(For mRequestServiceHandler.java:65)
>>>
>>> at
>>> com.w4t.engine.service.ServiceManager$HandlerDispatcher.serv ice(ServiceManager.java:90)
>>>
>>> at com.w4t.engine.W4TDelegate.doPost(W4TDelegate.java:75)
>>> at
>>> org.eclipse.ui.internal.servlet.RequestHandler.service(Reque stHandler.java:41)
>>>
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>> at
>>> org.eclipse.equinox.http.registry.internal.ServletManager$Se rvletWrapper.service(ServletManager.java:177)
>>>
>>> at
>>> org.eclipse.equinox.http.servlet.internal.ServletRegistratio n.handleRequest(ServletRegistration.java:91)
>>>
>>> at
>>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.proce ssAlias(ProxyServlet.java:110)
>>>
>>> at
>>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.servi ce(ProxyServlet.java:60)
>>>
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>> at
>>> org.eclipse.equinox.servletbridge.BridgeServlet.service(Brid geServlet.java:115)
>>>
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:252)
>>>
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:173)
>>>
>>> at
>>> org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:213)
>>>
>>> at
>>> org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:178)
>>>
>>> at
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:126)
>>>
>>> at
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:105)
>>>
>>> at
>>> org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:107)
>>>
>>> at
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.java:148)
>>>
>>> at
>>> org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:869)
>>>
>>> at
>>> org.apache.coyote.http11.Http11BaseProtocol$Http11Connection Handler.processConnection(Http11BaseProtocol.java:664)
>>>
>>> at
>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo lTcpEndpoint.java:527)
>>>
>>> at
>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( LeaderFollowerWorkerThread.java:80)
>>>
>>> at
>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:684)
>>>
>>> at java.lang.Thread.run(Thread.java:619)
>>>
>>>
>>>
>>>
>>> Frank Appel schrieb:
>>>> Hi again,
>>>>
>>>> if the OSGi console would have started, it would be possible to
>>>> write to the tomcat console under windows. Typing ss would print out
>>>> a activation status of each bundle. If you look at the runtime
>>>> picture in the tutorial you see what I mean. I have added a demo
>>>> deployment archive for trouble shooting to the
>>>> org.eclipse.rap.demo.feature project. So you can download the WAR
>>>> from CVS and deploy it on your tomcat and look what's different.
>>>> Note that the build needs a 1.5 runtime.
>>>>
>>>> Hope that helps.
>>>>
>>>> Ciao
>>>> Frank
>>>>
>>>>
>>>> "Manuel Stächele" <manuel.staechele@levante-software.ch> schrieb im
>>>> Newsbeitrag news:f1nd8a$16g$1@build.eclipse.org...
>>>>> Frank Appel schrieb:
>>>>>> Hi,
>>>>>>
>>>>>> did you ensure that the work directory of the tomcat was properly
>>>>>> cleared (in case of redeployment)?
>>>>> wath you mean with work directory, the directory that i upload to
>>>>> the server only include the folder WEB-INF ..
>>>>>
>>>>> Did the OSGi console start?
>>>>> how can i find out, on windows in the tomcat server console i can
>>>>> not write, on linux i also tested, but do not know how to get to
>>>>> tomcat console.
>>>>>
>>>>> Did you change the
>>>>>> web.xml?
>>>>> no i do not change the web.xml, should i?
>>>>>
>>>>>> Note that there is a new team project set file in the
>>>>>> org.eclipse.rap.help plug-in to get the 3.2 code base compatible
>>>>>> versions of the servlet bridge plug-in (see directory
>>>>>> help/getting-started/servletbridge-anon.psf, the deployment
>>>>>> document was also updated).
>>>>> i have updated with the servletbridge-anon.psf file, but the same
>>>>> error occurs.
>>>>>
>>>>> many thanks in advance for any help.
>>>>>
>>>>> greetings
>>>>> manuel
>>>>>
>>>>>
>>>>>> Ciao
>>>>>> Frank
>>>>>>
>>>>>>
>>>>>> "Manuel Staechele" <manuel.staechele@levante-software.ch> schrieb
>>>>>> im Newsbeitrag news:f1h80k$q1b$1@build.eclipse.org...
>>>>>>> i have copy the build stuff to a zip, unpack it in the webapps
>>>>>>> folder of tomcat and restart tomcat.
>>>>>>> than trying to access: folder/rap
>>>>>>> but the following error occur:
>>>>>>> java.lang.IllegalStateException: instance already set
>>>>>>> org.eclipse.equinox.servletbridge.BridgeServlet.setInstance( BridgeServlet.java:184)
>>>>>>>
>>>>>>> ---
>>>>>>> maybe servletbridge already startet, but how can i change this?
>>>>>>>
>>>>>>> FUll ERROR:
>>>>>>> ---
>>>>>>> HTTP Status 500 -
>>>>>>>
>>>>>>> type Exception report
>>>>>>>
>>>>>>> message
>>>>>>>
>>>>>>> description The server encountered an internal error () that
>>>>>>> prevented it from fulfilling this request.
>>>>>>>
>>>>>>> exception
>>>>>>>
>>>>>>> javax.servlet.ServletException: Servlet.init() for servlet
>>>>>>> equinoxbridgeservlet threw exception
>>>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:118)
>>>>>>>
>>>>>>> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapte r.java:160)
>>>>>>>
>>>>>>> org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:799)
>>>>>>>
>>>>>>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConnection(Http11Protocol.java:705)
>>>>>>>
>>>>>>> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndp oint.java:577)
>>>>>>>
>>>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:684)
>>>>>>>
>>>>>>> java.lang.Thread.run(Thread.java:595)
>>>>>>>
>>>>>>> root cause
>>>>>>>
>>>>>>> java.lang.IllegalStateException: instance already set
>>>>>>> org.eclipse.equinox.servletbridge.BridgeServlet.setInstance( BridgeServlet.java:184)
>>>>>>>
>>>>>>> org.eclipse.equinox.servletbridge.BridgeServlet.init(BridgeS ervlet.java:44)
>>>>>>>
>>>>>>> javax.servlet.GenericServlet.init(GenericServlet.java:211)
>>>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:118)
>>>>>>>
>>>>>>> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapte r.java:160)
>>>>>>>
>>>>>>> org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:799)
>>>>>>>
>>>>>>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConnection(Http11Protocol.java:705)
>>>>>>>
>>>>>>> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndp oint.java:577)
>>>>>>>
>>>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:684)
>>>>>>>
>>>>>>> java.lang.Thread.run(Thread.java:595)
>>>>>>>
>>>>>>> note The full stack trace of the root cause is available in the
>>>>>>> Apache Tomcat/5.0 logs.
>>
>>
|
|
| |
Re: Error deplaying in tomcat [message #23904 is a reply to message #23564] |
Thu, 10 May 2007 12:28   |
Eclipse User |
|
|
|
Originally posted by: Patrick.Neumann.cas.de
Hi,
I had the same problem with a non-working servletbridge.jar.
The version tag v20070416 has to be taken for package
"org.eclipse.equinox.servletbridge" instead of package
"org.eclipse.equinox.http.servletbridge".
This special version tag does not exist for the
"...http.servletbridge"-package. After that it worked for me.
Ciao,
Patrick.
PS.: Here is a corrected version of the psf-file:
<?xml version="1.0" encoding="UTF-8" ?>
<psf version="2.0">
<provider id="org.eclipse.team.cvs.core.cvsnature">
<project
reference="1.0,:pserver:anonymous@proxy.eclipse.org :80/cvsroot/tools,org.eclipse.orbit/javax.servlet,javax.serv let,v2_4 "
/>
<project
reference="1.0,:pserver:anonymous@proxy.eclipse.org :80/cvsroot/eclipse,org.eclipse.equinox.http.servlet,org.ecl ipse.equinox.http.servlet "
/>
<project
reference="1.0,:pserver:anonymous@proxy.eclipse.org :80/cvsroot/eclipse,org.eclipse.equinox.http.registry,org.ec lipse.equinox.http.registry "
/>
<project
reference="1.0,:pserver:anonymous@proxy.eclipse.org :80/cvsroot/eclipse,org.eclipse.equinox.http.servletbridge,o rg.eclipse.equinox.http.servletbridge "
/>
<project
reference="1.0,:pserver:anonymous@proxy.eclipse.org :80/cvsroot/eclipse,org.eclipse.equinox.servletbridge,org.ec lipse.equinox.servletbridge,v20070416 "
/>
<project
reference="1.0,:pserver:anonymous@proxy.eclipse.org :80/cvsroot/eclipse,equinox-incubator/org.eclipse.equinox.se rvletbridge.feature,org.eclipse.equinox.servletbridge.featur e "
/>
</provider>
</psf>
|
|
|
Re: Error deplaying in tomcat [message #23944 is a reply to message #23904] |
Thu, 10 May 2007 12:41   |
Eclipse User |
|
|
|
Originally posted by: manuel.ilch.de
Hi,
thanks to patric and frank,
yes now it work for me too.
the psf file should be changed in the help package!!
but it work only on my tomcat on windows with xampp (apachefriends.org).
on linux it does not... :-S
greetings
manuel
Patrick Neumann schrieb:
> Hi,
>
> I had the same problem with a non-working servletbridge.jar.
>
> The version tag v20070416 has to be taken for package
> "org.eclipse.equinox.servletbridge" instead of package
> "org.eclipse.equinox.http.servletbridge".
>
> This special version tag does not exist for the
> "...http.servletbridge"-package. After that it worked for me.
>
> Ciao,
> Patrick.
>
> PS.: Here is a corrected version of the psf-file:
>
> <?xml version="1.0" encoding="UTF-8" ?>
>
> <psf version="2.0">
>
> <provider id="org.eclipse.team.cvs.core.cvsnature">
>
> <project
> reference="1.0,:pserver:anonymous@proxy.eclipse.org :80/cvsroot/tools,org.eclipse.orbit/javax.servlet,javax.serv let,v2_4 "
> />
> <project
> reference="1.0,:pserver:anonymous@proxy.eclipse.org :80/cvsroot/eclipse,org.eclipse.equinox.http.servlet,org.ecl ipse.equinox.http.servlet "
> />
> <project
> reference="1.0,:pserver:anonymous@proxy.eclipse.org :80/cvsroot/eclipse,org.eclipse.equinox.http.registry,org.ec lipse.equinox.http.registry "
> />
> <project
> reference="1.0,:pserver:anonymous@proxy.eclipse.org :80/cvsroot/eclipse,org.eclipse.equinox.http.servletbridge,o rg.eclipse.equinox.http.servletbridge "
> />
> <project
> reference="1.0,:pserver:anonymous@proxy.eclipse.org :80/cvsroot/eclipse,org.eclipse.equinox.servletbridge,org.ec lipse.equinox.servletbridge,v20070416 "
> />
> <project
> reference="1.0,:pserver:anonymous@proxy.eclipse.org :80/cvsroot/eclipse,equinox-incubator/org.eclipse.equinox.se rvletbridge.feature,org.eclipse.equinox.servletbridge.featur e "
> />
> </provider>
>
> </psf>
|
|
| |
Goto Forum:
Current Time: Sat May 10 10:31:35 EDT 2025
Powered by FUDForum. Page generated in 0.04710 seconds
|