You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@juddi.apache.org by Sara di Gregorio <sa...@cyborg.it> on 2011/09/29 11:47:26 UTC

org.apache.pluto.PortletContainerException

Hi,

I've a problem with the exception in object.

The configuration where I'm working on is the following:
- Tomcat 6.0.33
- jUDDI 3.0.4
- db mySQL

To install jUDDI on Tomcat I executed the following instructions 
http://thoughtsasaservice.wordpress.com/2011/07/22/how-to-install-juddi-on-tomcat/

When I start Tomcat,
- http://localhost:8080/juddiv3/  (and so the application \webapps\juddiv3 )
- http://localhost:8080/pluto/portal/Pluto%20Admin  (and so the 
application \webapps\pluto )
I see these are correctly deployed.

The problem in on the application \webapps\uddi-portlets because when I 
click on the link http://localhost:8080/pluto/portal/jUDDI%20Admin the 
following error is shown:

org.apache.pluto.PortletContainerException: Unable to obtain the servlet 
context for the portlet app context path [/uddi-portlets]. Make sure 
that the portlet app has been deployed, and that cross context support 
is enabled for the portal app.
     at 
org.apache.pluto.core.PortletContainerImpl.getPortletAppContext(PortletContainerImpl.java:429)
     at 
org.apache.pluto.core.PortletContainerImpl.doRender(PortletContainerImpl.java:155)
     at 
org.apache.pluto.driver.tags.PortletTag.doStartTag(PortletTag.java:152)
     at 
org.apache.jsp.WEB_002dINF.themes.portlet_002dskin_jsp._jspx_meth_pluto_005fportlet_005f0(portlet_002dskin_jsp.java:105)
     at 
org.apache.jsp.WEB_002dINF.themes.portlet_002dskin_jsp._jspService(portlet_002dskin_jsp.java:79)
     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
     at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
     at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
     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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
     at 
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
     at 
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
     at 
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)
     at 
org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspx_meth_c_005fforEach_005f1(pluto_002ddefault_002dtheme_jsp.java:589)
     at 
org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspx_meth_c_005fotherwise_005f0(pluto_002ddefault_002dtheme_jsp.java:533)
     at 
org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspx_meth_c_005fchoose_005f0(pluto_002ddefault_002dtheme_jsp.java:394)
     at 
org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspService(pluto_002ddefault_002dtheme_jsp.java:227)
     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
     at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
     at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
     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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
     at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
     at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
     at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
     at 
org.apache.pluto.driver.PortalDriverServlet.doGet(PortalDriverServlet.java:151)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
     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.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
     at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
     at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563)
     at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
     at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
     at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
     at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:291)
     at 
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:877)
     at 
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:594)
     at 
org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1675)
     at java.lang.Thread.run(Thread.java:662)

Can someone help me, please?

You can contact me if you need other information.

Thank you very much,
Sara


Re: org.apache.pluto.PortletContainerException

Posted by Sara di Gregorio <sa...@cyborg.it>.
Hi Kurt,

yes, I added (till now I worked only on mySQL, but now I have to change 
with postgres) the driver mysql-connector-java-5.1.17-bin.jar in the 
directory juddi-portal-bundle-3.1.0\lib and I'm using jdk 1.6.

I will update you with if I will have problems with postgres.

Thank you very much,
Sara

Il 30/09/2011 17.15, Kurt T Stam ha scritto:
> OK good luck them, you are adding the driver jar for mysql/postgres db 
> in the tomcat/lib directory right?
> and you are using jdk-1.5 or newer right?
>
> --K
>
> On 9/30/11 11:08 AM, Sara di Gregorio wrote:
>> Hi Kurt,
>>
>> I know that the file will be not updated, and I take care to it, but 
>> nothing change.
>>
>> Yes, for postgres there are many steps I will follow in the next days 
>> (because now I can't work on mySQL and I will dedicate my time to 
>> postgres). Now I have a better know-how, so I hope to be able to 
>> solve alone the problems (in case they will arrive), otherwise I will 
>> ask you another help.
>>
>> Kurt, thank you very much for your faster answers and for your time.
>>
>> Keep in touch,
>> Sara
>> ||
>>
>> Il 30/09/2011 14.39, Kurt T Stam ha scritto:
>>> Hi Sara,
>>>
>>> Have you seen these steps in the user guide?
>>> http://juddi.apache.org/docs/3.x/userguide/html/chap-database_setup.html#sect-switch_to_mysql
>>>
>>> You seem to be making more changes then needed. I also wanted to 
>>> make sure you saw the warning there
>>> " Tomcat copies the |context.xml| to 
>>> |conf/CATALINA/localhost/juddiv3.xml|, and if you update the 
>>> |context.xml| it may not update this copy. You should simply delete 
>>> the |juddiv3.xml| file after updating the |context.xml|. "
>>>
>>> There are also steps for postgres there.
>>>
>>> Hope this helps!
>>>
>>> --Kurt
>>>
>>> On 9/30/11 5:38 AM, Sara di Gregorio wrote:
>>>> Hi Kurt,
>>>>
>>>> the problem arises with the bundle when I try to use the connection 
>>>> to a mySQL DB.
>>>>
>>>> These are the steps:
>>>> - download the bundle
>>>> - add to \webapps\juddiv3\META-INF\context.xml the following code
>>>> <Resource
>>>>                 name="jdbc/juddiDB"
>>>>                 auth="Container"
>>>>                 type="javax.sql.DataSource"
>>>>                 username="juddi"
>>>>                 password="juddi"
>>>>                 driverClassName="com.mysql.jdbc.Driver"
>>>>                 url="jdbc:mysql://localhost:3306/juddi"
>>>>         />
>>>>   where I change localhost with the correct string to connect to my DB
>>>> - \webapps\juddiv3\WEB-INF\web.xml: set the value of <res-ref-name> 
>>>> as jdbc/juddiDB
>>>> - \webapps\juddiv3\WEB-INF\classes\juddiv3.properties: set the 
>>>> property juddi.persistenceunit.name with value juddiDB
>>>> - \webapps\juddiv3\WEB-INF\classes\META-INF\persistence.xml: set 
>>>> the persistence-unit name to juddiDB, set <non-jta-data-source> 
>>>> value to java:comp/env/jdbc/juddiDB and check that the following 
>>>> value tag is correct <property name="openjpa.jdbc.DBDictionary" 
>>>> value="mysql"/> .
>>>>
>>>> After this steps I try to connect to http://localhost:8080/juddiv3/ 
>>>> but this is the Exception
>>>>
>>>> org.apache.jasper.JasperException: javax.servlet.ServletException: java.lang.StackOverflowError
>>>> 	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:491)
>>>> 	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:401)
>>>> 	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
>>>> 	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
>>>> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>>>>
>>>> *root cause*
>>>>
>>>> java.lang.StackOverflowError
>>>> 	java.lang.ClassLoader.defineClass1(Native Method)
>>>> 	java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
>>>> 	java.lang.ClassLoader.defineClass(ClassLoader.java:616)
>>>> 	java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
>>>> 	java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
>>>> 	java.net.URLClassLoader.access$000(URLClassLoader.java:58)
>>>> 	java.net.URLClassLoader$1.run(URLClassLoader.java:197)
>>>> 	java.security.AccessController.doPrivileged(Native Method)
>>>> 	java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>>>> 	java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>>>> 	java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>>>> 	org.apache.log4j.spi.LoggingEvent.<init>(LoggingEvent.java:154)
>>>> ...
>>>> (the stack trace is very long, here only a section)
>>>>
>>>> So, the problem is with the connection to mySQL DB.
>>>> Now we are only doing some testes because we are at the begin of 
>>>> our project.
>>>>
>>>> I know we will use PostgreSQL in the future, so I will contact you 
>>>> in the future in case of problems with PostgreSQL connection.
>>>>
>>>> Thank you very much for yor time and your support.
>>>>
>>>> Sara
>>>>
>>>> Il 29/09/2011 20.22, Kurt T Stam ha scritto:
>>>>> Hi Sara,
>>>>>
>>>>> Some comments inline:
>>>>>
>>>>> Cheers,
>>>>>
>>>>> --Kurt
>>>>>
>>>>> On 9/29/11 11:44 AM, Sara di Gregorio wrote:
>>>>>> Hi Kurt,
>>>>>>
>>>>>> firstly, thank you for your answer.
>>>>>>
>>>>>> 1. Yes, this morning I subscribed me to the user list
>>>>>>
>>>>>> 2. I used the bundles version 3.0.4 and 3.1.0, but I have had a 
>>>>>> StackOverflowException
>>>>> What platform are you on? Unzip and run should work fine without 
>>>>> issues. Please send us the steps to reproduce along with the 
>>>>> stacktraces you see.
>>>>>> , so I have decided to follow the instructions on the link I 
>>>>>> posted in the last mail. Anyway now I try to do the diff with 
>>>>>> what I have, as you told me and I will give you an answer as soon 
>>>>>> as possibile. Please, if you have other ideas or you need other 
>>>>>> information you can contact me.
>>>>> You can also check out the sources and look in the juddi-console 
>>>>> submodule to see which files we overlay.
>>>>>>
>>>>>> Thank you very much,
>>>>>> Sara
>>>>>>
>>>>>>
>>>>>> l 29/09/2011 17.29, Kurt T Stam ha scritto:
>>>>>>> Hi Sara,
>>>>>>>
>>>>>>> 1. You will need to subscribe to the user list to receive 
>>>>>>> responses: http://juddi.apache.org/mail-lists.html
>>>>>>>
>>>>>>> 2. I think you missed a step, or maybe we missed a step in the 
>>>>>>> instructions (cross context support does not seem to be 
>>>>>>> enabled). Please either use the tomcat-portal-bundle which is 
>>>>>>> preconfigured. Or you can use the bundle to do a diff with what 
>>>>>>> you have.
>>>>>>>
>>>>>>> Cheers,
>>>>>>> --Kurt
>>>>>>>
>>>>>>>
>>>>>>> On 9/29/11 5:47 AM, Sara di Gregorio wrote:
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> I've a problem with the exception in object.
>>>>>>>>
>>>>>>>> The configuration where I'm working on is the following:
>>>>>>>> - Tomcat 6.0.33
>>>>>>>> - jUDDI 3.0.4
>>>>>>>> - db mySQL
>>>>>>>>
>>>>>>>> To install jUDDI on Tomcat I executed the following 
>>>>>>>> instructions 
>>>>>>>> http://thoughtsasaservice.wordpress.com/2011/07/22/how-to-install-juddi-on-tomcat/ 
>>>>>>>>
>>>>>>>>
>>>>>>>> When I start Tomcat,
>>>>>>>> - http://localhost:8080/juddiv3/  (and so the application 
>>>>>>>> \webapps\juddiv3 )
>>>>>>>> - http://localhost:8080/pluto/portal/Pluto%20Admin  (and so the 
>>>>>>>> application \webapps\pluto )
>>>>>>>> I see these are correctly deployed.
>>>>>>>>
>>>>>>>> The problem in on the application \webapps\uddi-portlets 
>>>>>>>> because when I click on the link 
>>>>>>>> http://localhost:8080/pluto/portal/jUDDI%20Admin the following 
>>>>>>>> error is shown:
>>>>>>>>
>>>>>>>> org.apache.pluto.PortletContainerException: Unable to obtain 
>>>>>>>> the servlet context for the portlet app context path 
>>>>>>>> [/uddi-portlets]. Make sure that the portlet app has been 
>>>>>>>> deployed, and that cross context support is enabled for the 
>>>>>>>> portal app.
>>>>>>>>     at 
>>>>>>>> org.apache.pluto.core.PortletContainerImpl.getPortletAppContext(PortletContainerImpl.java:429)
>>>>>>>>     at 
>>>>>>>> org.apache.pluto.core.PortletContainerImpl.doRender(PortletContainerImpl.java:155)
>>>>>>>>     at 
>>>>>>>> org.apache.pluto.driver.tags.PortletTag.doStartTag(PortletTag.java:152) 
>>>>>>>>
>>>>>>>>     at 
>>>>>>>> org.apache.jsp.WEB_002dINF.themes.portlet_002dskin_jsp._jspx_meth_pluto_005fportlet_005f0(portlet_002dskin_jsp.java:105)
>>>>>>>>     at 
>>>>>>>> org.apache.jsp.WEB_002dINF.themes.portlet_002dskin_jsp._jspService(portlet_002dskin_jsp.java:79)
>>>>>>>>     at 
>>>>>>>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>>>>>>>>     at 
>>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>>>>>>>>     at 
>>>>>>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
>>>>>>>>     at 
>>>>>>>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) 
>>>>>>>>
>>>>>>>>     at 
>>>>>>>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
>>>>>>>>     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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
>>>>>>>>     at 
>>>>>>>> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
>>>>>>>>     at 
>>>>>>>> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
>>>>>>>>     at 
>>>>>>>> org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)
>>>>>>>>     at 
>>>>>>>> org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspx_meth_c_005fforEach_005f1(pluto_002ddefault_002dtheme_jsp.java:589)
>>>>>>>>     at 
>>>>>>>> org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspx_meth_c_005fotherwise_005f0(pluto_002ddefault_002dtheme_jsp.java:533)
>>>>>>>>     at 
>>>>>>>> org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspx_meth_c_005fchoose_005f0(pluto_002ddefault_002dtheme_jsp.java:394)
>>>>>>>>     at 
>>>>>>>> org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspService(pluto_002ddefault_002dtheme_jsp.java:227)
>>>>>>>>     at 
>>>>>>>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>>>>>>>>     at 
>>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>>>>>>>>     at 
>>>>>>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
>>>>>>>>     at 
>>>>>>>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) 
>>>>>>>>
>>>>>>>>     at 
>>>>>>>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
>>>>>>>>     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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
>>>>>>>>     at 
>>>>>>>> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
>>>>>>>>     at 
>>>>>>>> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
>>>>>>>>     at 
>>>>>>>> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
>>>>>>>>     at 
>>>>>>>> org.apache.pluto.driver.PortalDriverServlet.doGet(PortalDriverServlet.java:151)
>>>>>>>>     at 
>>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>>>>>>>>     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.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>>>>>>>>     at 
>>>>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>>>>>>>>     at 
>>>>>>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563)
>>>>>>>>     at 
>>>>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>>>>>>>>     at 
>>>>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>>>>>>>>     at 
>>>>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>>>>>>>>     at 
>>>>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:291)
>>>>>>>>     at 
>>>>>>>> org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:877)
>>>>>>>>     at 
>>>>>>>> org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:594)
>>>>>>>>     at 
>>>>>>>> org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1675) 
>>>>>>>>
>>>>>>>>     at java.lang.Thread.run(Thread.java:662)
>>>>>>>>
>>>>>>>> Can someone help me, please?
>>>>>>>>
>>>>>>>> You can contact me if you need other information.
>>>>>>>>
>>>>>>>> Thank you very much,
>>>>>>>> Sara
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>> -- 
>>>> dott.ssa Sara di Gregorio
>>>>
>>>> Area IT - Cyborg s.r.l.
>>>> Tel. +390871540266
>>>> http://www.cyborg.it
>>>
>>
>>
>> -- 
>> dott.ssa Sara di Gregorio
>>
>> Area IT - Cyborg s.r.l.
>> Tel. +390871540266
>> http://www.cyborg.it
>


-- 
dott.ssa Sara di Gregorio

Area IT - Cyborg s.r.l.
Tel. +390871540266
http://www.cyborg.it

Re: org.apache.pluto.PortletContainerException

Posted by Kurt T Stam <ku...@gmail.com>.
OK good luck them, you are adding the driver jar for mysql/postgres db 
in the tomcat/lib directory right?
and you are using jdk-1.5 or newer right?

--K

On 9/30/11 11:08 AM, Sara di Gregorio wrote:
> Hi Kurt,
>
> I know that the file will be not updated, and I take care to it, but 
> nothing change.
>
> Yes, for postgres there are many steps I will follow in the next days 
> (because now I can't work on mySQL and I will dedicate my time to 
> postgres). Now I have a better know-how, so I hope to be able to solve 
> alone the problems (in case they will arrive), otherwise I will ask 
> you another help.
>
> Kurt, thank you very much for your faster answers and for your time.
>
> Keep in touch,
> Sara
> ||
>
> Il 30/09/2011 14.39, Kurt T Stam ha scritto:
>> Hi Sara,
>>
>> Have you seen these steps in the user guide?
>> http://juddi.apache.org/docs/3.x/userguide/html/chap-database_setup.html#sect-switch_to_mysql
>>
>> You seem to be making more changes then needed. I also wanted to make 
>> sure you saw the warning there
>> " Tomcat copies the |context.xml| to 
>> |conf/CATALINA/localhost/juddiv3.xml|, and if you update the 
>> |context.xml| it may not update this copy. You should simply delete 
>> the |juddiv3.xml| file after updating the |context.xml|. "
>>
>> There are also steps for postgres there.
>>
>> Hope this helps!
>>
>> --Kurt
>>
>> On 9/30/11 5:38 AM, Sara di Gregorio wrote:
>>> Hi Kurt,
>>>
>>> the problem arises with the bundle when I try to use the connection 
>>> to a mySQL DB.
>>>
>>> These are the steps:
>>> - download the bundle
>>> - add to \webapps\juddiv3\META-INF\context.xml the following code
>>> <Resource
>>>                 name="jdbc/juddiDB"
>>>                 auth="Container"
>>>                 type="javax.sql.DataSource"
>>>                 username="juddi"
>>>                 password="juddi"
>>>                 driverClassName="com.mysql.jdbc.Driver"
>>>                 url="jdbc:mysql://localhost:3306/juddi"
>>>         />
>>>   where I change localhost with the correct string to connect to my DB
>>> - \webapps\juddiv3\WEB-INF\web.xml: set the value of <res-ref-name> 
>>> as jdbc/juddiDB
>>> - \webapps\juddiv3\WEB-INF\classes\juddiv3.properties: set the 
>>> property juddi.persistenceunit.name with value juddiDB
>>> - \webapps\juddiv3\WEB-INF\classes\META-INF\persistence.xml: set the 
>>> persistence-unit name to juddiDB, set <non-jta-data-source> value to 
>>> java:comp/env/jdbc/juddiDB and check that the following value tag is 
>>> correct <property name="openjpa.jdbc.DBDictionary" value="mysql"/> .
>>>
>>> After this steps I try to connect to http://localhost:8080/juddiv3/ 
>>> but this is the Exception
>>>
>>> org.apache.jasper.JasperException: javax.servlet.ServletException: java.lang.StackOverflowError
>>> 	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:491)
>>> 	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:401)
>>> 	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
>>> 	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
>>> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>>>
>>> *root cause*
>>>
>>> java.lang.StackOverflowError
>>> 	java.lang.ClassLoader.defineClass1(Native Method)
>>> 	java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
>>> 	java.lang.ClassLoader.defineClass(ClassLoader.java:616)
>>> 	java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
>>> 	java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
>>> 	java.net.URLClassLoader.access$000(URLClassLoader.java:58)
>>> 	java.net.URLClassLoader$1.run(URLClassLoader.java:197)
>>> 	java.security.AccessController.doPrivileged(Native Method)
>>> 	java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>>> 	java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>>> 	java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>>> 	org.apache.log4j.spi.LoggingEvent.<init>(LoggingEvent.java:154)
>>> ...
>>> (the stack trace is very long, here only a section)
>>>
>>> So, the problem is with the connection to mySQL DB.
>>> Now we are only doing some testes because we are at the begin of our 
>>> project.
>>>
>>> I know we will use PostgreSQL in the future, so I will contact you 
>>> in the future in case of problems with PostgreSQL connection.
>>>
>>> Thank you very much for yor time and your support.
>>>
>>> Sara
>>>
>>> Il 29/09/2011 20.22, Kurt T Stam ha scritto:
>>>> Hi Sara,
>>>>
>>>> Some comments inline:
>>>>
>>>> Cheers,
>>>>
>>>> --Kurt
>>>>
>>>> On 9/29/11 11:44 AM, Sara di Gregorio wrote:
>>>>> Hi Kurt,
>>>>>
>>>>> firstly, thank you for your answer.
>>>>>
>>>>> 1. Yes, this morning I subscribed me to the user list
>>>>>
>>>>> 2. I used the bundles version 3.0.4 and 3.1.0, but I have had a 
>>>>> StackOverflowException
>>>> What platform are you on? Unzip and run should work fine without 
>>>> issues. Please send us the steps to reproduce along with the 
>>>> stacktraces you see.
>>>>> , so I have decided to follow the instructions on the link I 
>>>>> posted in the last mail. Anyway now I try to do the diff with what 
>>>>> I have, as you told me and I will give you an answer as soon as 
>>>>> possibile. Please, if you have other ideas or you need other 
>>>>> information you can contact me.
>>>> You can also check out the sources and look in the juddi-console 
>>>> submodule to see which files we overlay.
>>>>>
>>>>> Thank you very much,
>>>>> Sara
>>>>>
>>>>>
>>>>> l 29/09/2011 17.29, Kurt T Stam ha scritto:
>>>>>> Hi Sara,
>>>>>>
>>>>>> 1. You will need to subscribe to the user list to receive 
>>>>>> responses: http://juddi.apache.org/mail-lists.html
>>>>>>
>>>>>> 2. I think you missed a step, or maybe we missed a step in the 
>>>>>> instructions (cross context support does not seem to be enabled). 
>>>>>> Please either use the tomcat-portal-bundle which is 
>>>>>> preconfigured. Or you can use the bundle to do a diff with what 
>>>>>> you have.
>>>>>>
>>>>>> Cheers,
>>>>>> --Kurt
>>>>>>
>>>>>>
>>>>>> On 9/29/11 5:47 AM, Sara di Gregorio wrote:
>>>>>>> Hi,
>>>>>>>
>>>>>>> I've a problem with the exception in object.
>>>>>>>
>>>>>>> The configuration where I'm working on is the following:
>>>>>>> - Tomcat 6.0.33
>>>>>>> - jUDDI 3.0.4
>>>>>>> - db mySQL
>>>>>>>
>>>>>>> To install jUDDI on Tomcat I executed the following instructions 
>>>>>>> http://thoughtsasaservice.wordpress.com/2011/07/22/how-to-install-juddi-on-tomcat/ 
>>>>>>>
>>>>>>>
>>>>>>> When I start Tomcat,
>>>>>>> - http://localhost:8080/juddiv3/  (and so the application 
>>>>>>> \webapps\juddiv3 )
>>>>>>> - http://localhost:8080/pluto/portal/Pluto%20Admin  (and so the 
>>>>>>> application \webapps\pluto )
>>>>>>> I see these are correctly deployed.
>>>>>>>
>>>>>>> The problem in on the application \webapps\uddi-portlets because 
>>>>>>> when I click on the link 
>>>>>>> http://localhost:8080/pluto/portal/jUDDI%20Admin the following 
>>>>>>> error is shown:
>>>>>>>
>>>>>>> org.apache.pluto.PortletContainerException: Unable to obtain the 
>>>>>>> servlet context for the portlet app context path 
>>>>>>> [/uddi-portlets]. Make sure that the portlet app has been 
>>>>>>> deployed, and that cross context support is enabled for the 
>>>>>>> portal app.
>>>>>>>     at 
>>>>>>> org.apache.pluto.core.PortletContainerImpl.getPortletAppContext(PortletContainerImpl.java:429)
>>>>>>>     at 
>>>>>>> org.apache.pluto.core.PortletContainerImpl.doRender(PortletContainerImpl.java:155)
>>>>>>>     at 
>>>>>>> org.apache.pluto.driver.tags.PortletTag.doStartTag(PortletTag.java:152) 
>>>>>>>
>>>>>>>     at 
>>>>>>> org.apache.jsp.WEB_002dINF.themes.portlet_002dskin_jsp._jspx_meth_pluto_005fportlet_005f0(portlet_002dskin_jsp.java:105)
>>>>>>>     at 
>>>>>>> org.apache.jsp.WEB_002dINF.themes.portlet_002dskin_jsp._jspService(portlet_002dskin_jsp.java:79)
>>>>>>>     at 
>>>>>>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>>>>>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>>>>>>>     at 
>>>>>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
>>>>>>>     at 
>>>>>>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) 
>>>>>>>
>>>>>>>     at 
>>>>>>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
>>>>>>>     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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
>>>>>>>     at 
>>>>>>> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
>>>>>>>     at 
>>>>>>> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
>>>>>>>     at 
>>>>>>> org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)
>>>>>>>     at 
>>>>>>> org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspx_meth_c_005fforEach_005f1(pluto_002ddefault_002dtheme_jsp.java:589)
>>>>>>>     at 
>>>>>>> org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspx_meth_c_005fotherwise_005f0(pluto_002ddefault_002dtheme_jsp.java:533)
>>>>>>>     at 
>>>>>>> org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspx_meth_c_005fchoose_005f0(pluto_002ddefault_002dtheme_jsp.java:394)
>>>>>>>     at 
>>>>>>> org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspService(pluto_002ddefault_002dtheme_jsp.java:227)
>>>>>>>     at 
>>>>>>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>>>>>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>>>>>>>     at 
>>>>>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
>>>>>>>     at 
>>>>>>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) 
>>>>>>>
>>>>>>>     at 
>>>>>>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
>>>>>>>     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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
>>>>>>>     at 
>>>>>>> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
>>>>>>>     at 
>>>>>>> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
>>>>>>>     at 
>>>>>>> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
>>>>>>>     at 
>>>>>>> org.apache.pluto.driver.PortalDriverServlet.doGet(PortalDriverServlet.java:151)
>>>>>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>>>>>>>     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.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>>>>>>>     at 
>>>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>>>>>>>     at 
>>>>>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563)
>>>>>>>     at 
>>>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>>>>>>>     at 
>>>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>>>>>>>     at 
>>>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>>>>>>>     at 
>>>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:291)
>>>>>>>     at 
>>>>>>> org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:877)
>>>>>>>     at 
>>>>>>> org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:594)
>>>>>>>     at 
>>>>>>> org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1675) 
>>>>>>>
>>>>>>>     at java.lang.Thread.run(Thread.java:662)
>>>>>>>
>>>>>>> Can someone help me, please?
>>>>>>>
>>>>>>> You can contact me if you need other information.
>>>>>>>
>>>>>>> Thank you very much,
>>>>>>> Sara
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>> -- 
>>> dott.ssa Sara di Gregorio
>>>
>>> Area IT - Cyborg s.r.l.
>>> Tel. +390871540266
>>> http://www.cyborg.it
>>
>
>
> -- 
> dott.ssa Sara di Gregorio
>
> Area IT - Cyborg s.r.l.
> Tel. +390871540266
> http://www.cyborg.it


Re: org.apache.pluto.PortletContainerException

Posted by Sara di Gregorio <sa...@cyborg.it>.
Hi Kurt,

I know that the file will be not updated, and I take care to it, but 
nothing change.

Yes, for postgres there are many steps I will follow in the next days 
(because now I can't work on mySQL and I will dedicate my time to 
postgres). Now I have a better know-how, so I hope to be able to solve 
alone the problems (in case they will arrive), otherwise I will ask you 
another help.

Kurt, thank you very much for your faster answers and for your time.

Keep in touch,
Sara
||

Il 30/09/2011 14.39, Kurt T Stam ha scritto:
> Hi Sara,
>
> Have you seen these steps in the user guide?
> http://juddi.apache.org/docs/3.x/userguide/html/chap-database_setup.html#sect-switch_to_mysql
>
> You seem to be making more changes then needed. I also wanted to make 
> sure you saw the warning there
> " Tomcat copies the |context.xml| to 
> |conf/CATALINA/localhost/juddiv3.xml|, and if you update the 
> |context.xml| it may not update this copy. You should simply delete 
> the |juddiv3.xml| file after updating the |context.xml|. "
>
> There are also steps for postgres there.
>
> Hope this helps!
>
> --Kurt
>
> On 9/30/11 5:38 AM, Sara di Gregorio wrote:
>> Hi Kurt,
>>
>> the problem arises with the bundle when I try to use the connection 
>> to a mySQL DB.
>>
>> These are the steps:
>> - download the bundle
>> - add to \webapps\juddiv3\META-INF\context.xml the following code
>> <Resource
>>                 name="jdbc/juddiDB"
>>                 auth="Container"
>>                 type="javax.sql.DataSource"
>>                 username="juddi"
>>                 password="juddi"
>>                 driverClassName="com.mysql.jdbc.Driver"
>>                 url="jdbc:mysql://localhost:3306/juddi"
>>         />
>>   where I change localhost with the correct string to connect to my DB
>> - \webapps\juddiv3\WEB-INF\web.xml: set the value of <res-ref-name> 
>> as jdbc/juddiDB
>> - \webapps\juddiv3\WEB-INF\classes\juddiv3.properties: set the 
>> property juddi.persistenceunit.name with value juddiDB
>> - \webapps\juddiv3\WEB-INF\classes\META-INF\persistence.xml: set the 
>> persistence-unit name to juddiDB, set <non-jta-data-source> value to 
>> java:comp/env/jdbc/juddiDB and check that the following value tag is 
>> correct <property name="openjpa.jdbc.DBDictionary" value="mysql"/> .
>>
>> After this steps I try to connect to http://localhost:8080/juddiv3/ 
>> but this is the Exception
>>
>> org.apache.jasper.JasperException: javax.servlet.ServletException: java.lang.StackOverflowError
>> 	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:491)
>> 	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:401)
>> 	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
>> 	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
>> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>>
>> *root cause*
>>
>> java.lang.StackOverflowError
>> 	java.lang.ClassLoader.defineClass1(Native Method)
>> 	java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
>> 	java.lang.ClassLoader.defineClass(ClassLoader.java:616)
>> 	java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
>> 	java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
>> 	java.net.URLClassLoader.access$000(URLClassLoader.java:58)
>> 	java.net.URLClassLoader$1.run(URLClassLoader.java:197)
>> 	java.security.AccessController.doPrivileged(Native Method)
>> 	java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>> 	java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>> 	java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>> 	org.apache.log4j.spi.LoggingEvent.<init>(LoggingEvent.java:154)
>> ...
>> (the stack trace is very long, here only a section)
>>
>> So, the problem is with the connection to mySQL DB.
>> Now we are only doing some testes because we are at the begin of our 
>> project.
>>
>> I know we will use PostgreSQL in the future, so I will contact you in 
>> the future in case of problems with PostgreSQL connection.
>>
>> Thank you very much for yor time and your support.
>>
>> Sara
>>
>> Il 29/09/2011 20.22, Kurt T Stam ha scritto:
>>> Hi Sara,
>>>
>>> Some comments inline:
>>>
>>> Cheers,
>>>
>>> --Kurt
>>>
>>> On 9/29/11 11:44 AM, Sara di Gregorio wrote:
>>>> Hi Kurt,
>>>>
>>>> firstly, thank you for your answer.
>>>>
>>>> 1. Yes, this morning I subscribed me to the user list
>>>>
>>>> 2. I used the bundles version 3.0.4 and 3.1.0, but I have had a 
>>>> StackOverflowException
>>> What platform are you on? Unzip and run should work fine without 
>>> issues. Please send us the steps to reproduce along with the 
>>> stacktraces you see.
>>>> , so I have decided to follow the instructions on the link I posted 
>>>> in the last mail. Anyway now I try to do the diff with what I have, 
>>>> as you told me and I will give you an answer as soon as possibile. 
>>>> Please, if you have other ideas or you need other information you 
>>>> can contact me.
>>> You can also check out the sources and look in the juddi-console 
>>> submodule to see which files we overlay.
>>>>
>>>> Thank you very much,
>>>> Sara
>>>>
>>>>
>>>> l 29/09/2011 17.29, Kurt T Stam ha scritto:
>>>>> Hi Sara,
>>>>>
>>>>> 1. You will need to subscribe to the user list to receive 
>>>>> responses: http://juddi.apache.org/mail-lists.html
>>>>>
>>>>> 2. I think you missed a step, or maybe we missed a step in the 
>>>>> instructions (cross context support does not seem to be enabled). 
>>>>> Please either use the tomcat-portal-bundle which is preconfigured. 
>>>>> Or you can use the bundle to do a diff with what you have.
>>>>>
>>>>> Cheers,
>>>>> --Kurt
>>>>>
>>>>>
>>>>> On 9/29/11 5:47 AM, Sara di Gregorio wrote:
>>>>>> Hi,
>>>>>>
>>>>>> I've a problem with the exception in object.
>>>>>>
>>>>>> The configuration where I'm working on is the following:
>>>>>> - Tomcat 6.0.33
>>>>>> - jUDDI 3.0.4
>>>>>> - db mySQL
>>>>>>
>>>>>> To install jUDDI on Tomcat I executed the following instructions 
>>>>>> http://thoughtsasaservice.wordpress.com/2011/07/22/how-to-install-juddi-on-tomcat/ 
>>>>>>
>>>>>>
>>>>>> When I start Tomcat,
>>>>>> - http://localhost:8080/juddiv3/  (and so the application 
>>>>>> \webapps\juddiv3 )
>>>>>> - http://localhost:8080/pluto/portal/Pluto%20Admin  (and so the 
>>>>>> application \webapps\pluto )
>>>>>> I see these are correctly deployed.
>>>>>>
>>>>>> The problem in on the application \webapps\uddi-portlets because 
>>>>>> when I click on the link 
>>>>>> http://localhost:8080/pluto/portal/jUDDI%20Admin the following 
>>>>>> error is shown:
>>>>>>
>>>>>> org.apache.pluto.PortletContainerException: Unable to obtain the 
>>>>>> servlet context for the portlet app context path 
>>>>>> [/uddi-portlets]. Make sure that the portlet app has been 
>>>>>> deployed, and that cross context support is enabled for the 
>>>>>> portal app.
>>>>>>     at 
>>>>>> org.apache.pluto.core.PortletContainerImpl.getPortletAppContext(PortletContainerImpl.java:429)
>>>>>>     at 
>>>>>> org.apache.pluto.core.PortletContainerImpl.doRender(PortletContainerImpl.java:155)
>>>>>>     at 
>>>>>> org.apache.pluto.driver.tags.PortletTag.doStartTag(PortletTag.java:152) 
>>>>>>
>>>>>>     at 
>>>>>> org.apache.jsp.WEB_002dINF.themes.portlet_002dskin_jsp._jspx_meth_pluto_005fportlet_005f0(portlet_002dskin_jsp.java:105)
>>>>>>     at 
>>>>>> org.apache.jsp.WEB_002dINF.themes.portlet_002dskin_jsp._jspService(portlet_002dskin_jsp.java:79)
>>>>>>     at 
>>>>>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>>>>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>>>>>>     at 
>>>>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
>>>>>>     at 
>>>>>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) 
>>>>>>
>>>>>>     at 
>>>>>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
>>>>>>     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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
>>>>>>     at 
>>>>>> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
>>>>>>     at 
>>>>>> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
>>>>>>     at 
>>>>>> org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)
>>>>>>     at 
>>>>>> org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspx_meth_c_005fforEach_005f1(pluto_002ddefault_002dtheme_jsp.java:589)
>>>>>>     at 
>>>>>> org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspx_meth_c_005fotherwise_005f0(pluto_002ddefault_002dtheme_jsp.java:533)
>>>>>>     at 
>>>>>> org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspx_meth_c_005fchoose_005f0(pluto_002ddefault_002dtheme_jsp.java:394)
>>>>>>     at 
>>>>>> org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspService(pluto_002ddefault_002dtheme_jsp.java:227)
>>>>>>     at 
>>>>>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>>>>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>>>>>>     at 
>>>>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
>>>>>>     at 
>>>>>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) 
>>>>>>
>>>>>>     at 
>>>>>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
>>>>>>     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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
>>>>>>     at 
>>>>>> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
>>>>>>     at 
>>>>>> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
>>>>>>     at 
>>>>>> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
>>>>>>     at 
>>>>>> org.apache.pluto.driver.PortalDriverServlet.doGet(PortalDriverServlet.java:151)
>>>>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>>>>>>     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.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>>>>>>     at 
>>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>>>>>>     at 
>>>>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563)
>>>>>>     at 
>>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>>>>>>     at 
>>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>>>>>>     at 
>>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>>>>>>     at 
>>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:291)
>>>>>>     at 
>>>>>> org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:877)
>>>>>>     at 
>>>>>> org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:594)
>>>>>>     at 
>>>>>> org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1675) 
>>>>>>
>>>>>>     at java.lang.Thread.run(Thread.java:662)
>>>>>>
>>>>>> Can someone help me, please?
>>>>>>
>>>>>> You can contact me if you need other information.
>>>>>>
>>>>>> Thank you very much,
>>>>>> Sara
>>>>>>
>>>>>
>>>>
>>>>
>>>
>>
>>
>> -- 
>> dott.ssa Sara di Gregorio
>>
>> Area IT - Cyborg s.r.l.
>> Tel. +390871540266
>> http://www.cyborg.it
>


-- 
dott.ssa Sara di Gregorio

Area IT - Cyborg s.r.l.
Tel. +390871540266
http://www.cyborg.it

Re: org.apache.pluto.PortletContainerException

Posted by Kurt T Stam <ku...@gmail.com>.
Hi Sara,

Have you seen these steps in the user guide?
http://juddi.apache.org/docs/3.x/userguide/html/chap-database_setup.html#sect-switch_to_mysql

You seem to be making more changes then needed. I also wanted to make 
sure you saw the warning there
" Tomcat copies the |context.xml| to 
|conf/CATALINA/localhost/juddiv3.xml|, and if you update the 
|context.xml| it may not update this copy. You should simply delete the 
|juddiv3.xml| file after updating the |context.xml|. "

There are also steps for postgres there.

Hope this helps!

--Kurt

On 9/30/11 5:38 AM, Sara di Gregorio wrote:
> Hi Kurt,
>
> the problem arises with the bundle when I try to use the connection to 
> a mySQL DB.
>
> These are the steps:
> - download the bundle
> - add to \webapps\juddiv3\META-INF\context.xml the following code
> <Resource
>                 name="jdbc/juddiDB"
>                 auth="Container"
>                 type="javax.sql.DataSource"
>                 username="juddi"
>                 password="juddi"
>                 driverClassName="com.mysql.jdbc.Driver"
>                 url="jdbc:mysql://localhost:3306/juddi"
>         />
>   where I change localhost with the correct string to connect to my DB
> - \webapps\juddiv3\WEB-INF\web.xml: set the value of <res-ref-name> as 
> jdbc/juddiDB
> - \webapps\juddiv3\WEB-INF\classes\juddiv3.properties: set the 
> property juddi.persistenceunit.name with value juddiDB
> - \webapps\juddiv3\WEB-INF\classes\META-INF\persistence.xml: set the 
> persistence-unit name to juddiDB, set <non-jta-data-source> value to 
> java:comp/env/jdbc/juddiDB and check that the following value tag is 
> correct <property name="openjpa.jdbc.DBDictionary" value="mysql"/> .
>
> After this steps I try to connect to http://localhost:8080/juddiv3/ 
> but this is the Exception
>
> org.apache.jasper.JasperException: javax.servlet.ServletException: java.lang.StackOverflowError
> 	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:491)
> 	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:401)
> 	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
> 	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>
> *root cause*
>
> java.lang.StackOverflowError
> 	java.lang.ClassLoader.defineClass1(Native Method)
> 	java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
> 	java.lang.ClassLoader.defineClass(ClassLoader.java:616)
> 	java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
> 	java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
> 	java.net.URLClassLoader.access$000(URLClassLoader.java:58)
> 	java.net.URLClassLoader$1.run(URLClassLoader.java:197)
> 	java.security.AccessController.doPrivileged(Native Method)
> 	java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> 	java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> 	java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> 	org.apache.log4j.spi.LoggingEvent.<init>(LoggingEvent.java:154)
> ...
> (the stack trace is very long, here only a section)
>
> So, the problem is with the connection to mySQL DB.
> Now we are only doing some testes because we are at the begin of our 
> project.
>
> I know we will use PostgreSQL in the future, so I will contact you in 
> the future in case of problems with PostgreSQL connection.
>
> Thank you very much for yor time and your support.
>
> Sara
>
> Il 29/09/2011 20.22, Kurt T Stam ha scritto:
>> Hi Sara,
>>
>> Some comments inline:
>>
>> Cheers,
>>
>> --Kurt
>>
>> On 9/29/11 11:44 AM, Sara di Gregorio wrote:
>>> Hi Kurt,
>>>
>>> firstly, thank you for your answer.
>>>
>>> 1. Yes, this morning I subscribed me to the user list
>>>
>>> 2. I used the bundles version 3.0.4 and 3.1.0, but I have had a 
>>> StackOverflowException
>> What platform are you on? Unzip and run should work fine without 
>> issues. Please send us the steps to reproduce along with the 
>> stacktraces you see.
>>> , so I have decided to follow the instructions on the link I posted 
>>> in the last mail. Anyway now I try to do the diff with what I have, 
>>> as you told me and I will give you an answer as soon as possibile. 
>>> Please, if you have other ideas or you need other information you 
>>> can contact me.
>> You can also check out the sources and look in the juddi-console 
>> submodule to see which files we overlay.
>>>
>>> Thank you very much,
>>> Sara
>>>
>>>
>>> l 29/09/2011 17.29, Kurt T Stam ha scritto:
>>>> Hi Sara,
>>>>
>>>> 1. You will need to subscribe to the user list to receive 
>>>> responses: http://juddi.apache.org/mail-lists.html
>>>>
>>>> 2. I think you missed a step, or maybe we missed a step in the 
>>>> instructions (cross context support does not seem to be enabled). 
>>>> Please either use the tomcat-portal-bundle which is preconfigured. 
>>>> Or you can use the bundle to do a diff with what you have.
>>>>
>>>> Cheers,
>>>> --Kurt
>>>>
>>>>
>>>> On 9/29/11 5:47 AM, Sara di Gregorio wrote:
>>>>> Hi,
>>>>>
>>>>> I've a problem with the exception in object.
>>>>>
>>>>> The configuration where I'm working on is the following:
>>>>> - Tomcat 6.0.33
>>>>> - jUDDI 3.0.4
>>>>> - db mySQL
>>>>>
>>>>> To install jUDDI on Tomcat I executed the following instructions 
>>>>> http://thoughtsasaservice.wordpress.com/2011/07/22/how-to-install-juddi-on-tomcat/ 
>>>>>
>>>>>
>>>>> When I start Tomcat,
>>>>> - http://localhost:8080/juddiv3/  (and so the application 
>>>>> \webapps\juddiv3 )
>>>>> - http://localhost:8080/pluto/portal/Pluto%20Admin  (and so the 
>>>>> application \webapps\pluto )
>>>>> I see these are correctly deployed.
>>>>>
>>>>> The problem in on the application \webapps\uddi-portlets because 
>>>>> when I click on the link 
>>>>> http://localhost:8080/pluto/portal/jUDDI%20Admin the following 
>>>>> error is shown:
>>>>>
>>>>> org.apache.pluto.PortletContainerException: Unable to obtain the 
>>>>> servlet context for the portlet app context path [/uddi-portlets]. 
>>>>> Make sure that the portlet app has been deployed, and that cross 
>>>>> context support is enabled for the portal app.
>>>>>     at 
>>>>> org.apache.pluto.core.PortletContainerImpl.getPortletAppContext(PortletContainerImpl.java:429)
>>>>>     at 
>>>>> org.apache.pluto.core.PortletContainerImpl.doRender(PortletContainerImpl.java:155)
>>>>>     at 
>>>>> org.apache.pluto.driver.tags.PortletTag.doStartTag(PortletTag.java:152) 
>>>>>
>>>>>     at 
>>>>> org.apache.jsp.WEB_002dINF.themes.portlet_002dskin_jsp._jspx_meth_pluto_005fportlet_005f0(portlet_002dskin_jsp.java:105)
>>>>>     at 
>>>>> org.apache.jsp.WEB_002dINF.themes.portlet_002dskin_jsp._jspService(portlet_002dskin_jsp.java:79)
>>>>>     at 
>>>>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>>>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>>>>>     at 
>>>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
>>>>>     at 
>>>>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) 
>>>>>
>>>>>     at 
>>>>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
>>>>>     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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
>>>>>     at 
>>>>> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
>>>>>     at 
>>>>> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
>>>>>     at 
>>>>> org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)
>>>>>     at 
>>>>> org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspx_meth_c_005fforEach_005f1(pluto_002ddefault_002dtheme_jsp.java:589)
>>>>>     at 
>>>>> org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspx_meth_c_005fotherwise_005f0(pluto_002ddefault_002dtheme_jsp.java:533)
>>>>>     at 
>>>>> org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspx_meth_c_005fchoose_005f0(pluto_002ddefault_002dtheme_jsp.java:394)
>>>>>     at 
>>>>> org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspService(pluto_002ddefault_002dtheme_jsp.java:227)
>>>>>     at 
>>>>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>>>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>>>>>     at 
>>>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
>>>>>     at 
>>>>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) 
>>>>>
>>>>>     at 
>>>>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
>>>>>     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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
>>>>>     at 
>>>>> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
>>>>>     at 
>>>>> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
>>>>>     at 
>>>>> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
>>>>>     at 
>>>>> org.apache.pluto.driver.PortalDriverServlet.doGet(PortalDriverServlet.java:151)
>>>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>>>>>     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.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>>>>>     at 
>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>>>>>     at 
>>>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563)
>>>>>     at 
>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>>>>>     at 
>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>>>>>     at 
>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>>>>>     at 
>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:291)
>>>>>     at 
>>>>> org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:877)
>>>>>     at 
>>>>> org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:594)
>>>>>     at 
>>>>> org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1675) 
>>>>>
>>>>>     at java.lang.Thread.run(Thread.java:662)
>>>>>
>>>>> Can someone help me, please?
>>>>>
>>>>> You can contact me if you need other information.
>>>>>
>>>>> Thank you very much,
>>>>> Sara
>>>>>
>>>>
>>>
>>>
>>
>
>
> -- 
> dott.ssa Sara di Gregorio
>
> Area IT - Cyborg s.r.l.
> Tel. +390871540266
> http://www.cyborg.it


Re: org.apache.pluto.PortletContainerException

Posted by Sara di Gregorio <sa...@cyborg.it>.
Hi Kurt,

the problem arises with the bundle when I try to use the connection to a 
mySQL DB.

These are the steps:
- download the bundle
- add to \webapps\juddiv3\META-INF\context.xml the following code
<Resource
                 name="jdbc/juddiDB"
                 auth="Container"
                 type="javax.sql.DataSource"
                 username="juddi"
                 password="juddi"
                 driverClassName="com.mysql.jdbc.Driver"
                 url="jdbc:mysql://localhost:3306/juddi"
         />
   where I change localhost with the correct string to connect to my DB
- \webapps\juddiv3\WEB-INF\web.xml: set the value of <res-ref-name> as 
jdbc/juddiDB
- \webapps\juddiv3\WEB-INF\classes\juddiv3.properties: set the property 
juddi.persistenceunit.name with value juddiDB
- \webapps\juddiv3\WEB-INF\classes\META-INF\persistence.xml: set the 
persistence-unit name to juddiDB, set <non-jta-data-source> value to 
java:comp/env/jdbc/juddiDB and check that the following value tag is 
correct <property name="openjpa.jdbc.DBDictionary" value="mysql"/> .

After this steps I try to connect to http://localhost:8080/juddiv3/ but 
this is the Exception

org.apache.jasper.JasperException: javax.servlet.ServletException: java.lang.StackOverflowError
	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:491)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:401)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)


*root cause*

java.lang.StackOverflowError
	java.lang.ClassLoader.defineClass1(Native Method)
	java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
	java.lang.ClassLoader.defineClass(ClassLoader.java:616)
	java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
	java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
	java.net.URLClassLoader.access$000(URLClassLoader.java:58)
	java.net.URLClassLoader$1.run(URLClassLoader.java:197)
	java.security.AccessController.doPrivileged(Native Method)
	java.net.URLClassLoader.findClass(URLClassLoader.java:190)
	java.lang.ClassLoader.loadClass(ClassLoader.java:307)
	java.lang.ClassLoader.loadClass(ClassLoader.java:248)
	org.apache.log4j.spi.LoggingEvent.<init>(LoggingEvent.java:154)
...
(the stack trace is very long, here only a section)


So, the problem is with the connection to mySQL DB.
Now we are only doing some testes because we are at the begin of our 
project.

I know we will use PostgreSQL in the future, so I will contact you in 
the future in case of problems with PostgreSQL connection.

Thank you very much for yor time and your support.

Sara

Il 29/09/2011 20.22, Kurt T Stam ha scritto:
> Hi Sara,
>
> Some comments inline:
>
> Cheers,
>
> --Kurt
>
> On 9/29/11 11:44 AM, Sara di Gregorio wrote:
>> Hi Kurt,
>>
>> firstly, thank you for your answer.
>>
>> 1. Yes, this morning I subscribed me to the user list
>>
>> 2. I used the bundles version 3.0.4 and 3.1.0, but I have had a 
>> StackOverflowException
> What platform are you on? Unzip and run should work fine without 
> issues. Please send us the steps to reproduce along with the 
> stacktraces you see.
>> , so I have decided to follow the instructions on the link I posted 
>> in the last mail. Anyway now I try to do the diff with what I have, 
>> as you told me and I will give you an answer as soon as possibile. 
>> Please, if you have other ideas or you need other information you can 
>> contact me.
> You can also check out the sources and look in the juddi-console 
> submodule to see which files we overlay.
>>
>> Thank you very much,
>> Sara
>>
>>
>> l 29/09/2011 17.29, Kurt T Stam ha scritto:
>>> Hi Sara,
>>>
>>> 1. You will need to subscribe to the user list to receive responses: 
>>> http://juddi.apache.org/mail-lists.html
>>>
>>> 2. I think you missed a step, or maybe we missed a step in the 
>>> instructions (cross context support does not seem to be enabled). 
>>> Please either use the tomcat-portal-bundle which is preconfigured. 
>>> Or you can use the bundle to do a diff with what you have.
>>>
>>> Cheers,
>>> --Kurt
>>>
>>>
>>> On 9/29/11 5:47 AM, Sara di Gregorio wrote:
>>>> Hi,
>>>>
>>>> I've a problem with the exception in object.
>>>>
>>>> The configuration where I'm working on is the following:
>>>> - Tomcat 6.0.33
>>>> - jUDDI 3.0.4
>>>> - db mySQL
>>>>
>>>> To install jUDDI on Tomcat I executed the following instructions 
>>>> http://thoughtsasaservice.wordpress.com/2011/07/22/how-to-install-juddi-on-tomcat/ 
>>>>
>>>>
>>>> When I start Tomcat,
>>>> - http://localhost:8080/juddiv3/  (and so the application 
>>>> \webapps\juddiv3 )
>>>> - http://localhost:8080/pluto/portal/Pluto%20Admin  (and so the 
>>>> application \webapps\pluto )
>>>> I see these are correctly deployed.
>>>>
>>>> The problem in on the application \webapps\uddi-portlets because 
>>>> when I click on the link 
>>>> http://localhost:8080/pluto/portal/jUDDI%20Admin the following 
>>>> error is shown:
>>>>
>>>> org.apache.pluto.PortletContainerException: Unable to obtain the 
>>>> servlet context for the portlet app context path [/uddi-portlets]. 
>>>> Make sure that the portlet app has been deployed, and that cross 
>>>> context support is enabled for the portal app.
>>>>     at 
>>>> org.apache.pluto.core.PortletContainerImpl.getPortletAppContext(PortletContainerImpl.java:429)
>>>>     at 
>>>> org.apache.pluto.core.PortletContainerImpl.doRender(PortletContainerImpl.java:155)
>>>>     at 
>>>> org.apache.pluto.driver.tags.PortletTag.doStartTag(PortletTag.java:152) 
>>>>
>>>>     at 
>>>> org.apache.jsp.WEB_002dINF.themes.portlet_002dskin_jsp._jspx_meth_pluto_005fportlet_005f0(portlet_002dskin_jsp.java:105)
>>>>     at 
>>>> org.apache.jsp.WEB_002dINF.themes.portlet_002dskin_jsp._jspService(portlet_002dskin_jsp.java:79)
>>>>     at 
>>>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>>>>     at 
>>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
>>>>     at 
>>>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) 
>>>>
>>>>     at 
>>>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
>>>>     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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
>>>>     at 
>>>> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
>>>>     at 
>>>> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
>>>>     at 
>>>> org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)
>>>>     at 
>>>> org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspx_meth_c_005fforEach_005f1(pluto_002ddefault_002dtheme_jsp.java:589)
>>>>     at 
>>>> org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspx_meth_c_005fotherwise_005f0(pluto_002ddefault_002dtheme_jsp.java:533)
>>>>     at 
>>>> org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspx_meth_c_005fchoose_005f0(pluto_002ddefault_002dtheme_jsp.java:394)
>>>>     at 
>>>> org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspService(pluto_002ddefault_002dtheme_jsp.java:227)
>>>>     at 
>>>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>>>>     at 
>>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
>>>>     at 
>>>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) 
>>>>
>>>>     at 
>>>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
>>>>     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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
>>>>     at 
>>>> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
>>>>     at 
>>>> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
>>>>     at 
>>>> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
>>>>     at 
>>>> org.apache.pluto.driver.PortalDriverServlet.doGet(PortalDriverServlet.java:151)
>>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>>>>     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.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>>>>     at 
>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>>>>     at 
>>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563)
>>>>     at 
>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>>>>     at 
>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>>>>     at 
>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>>>>     at 
>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:291)
>>>>     at 
>>>> org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:877)
>>>>     at 
>>>> org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:594)
>>>>     at 
>>>> org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1675) 
>>>>
>>>>     at java.lang.Thread.run(Thread.java:662)
>>>>
>>>> Can someone help me, please?
>>>>
>>>> You can contact me if you need other information.
>>>>
>>>> Thank you very much,
>>>> Sara
>>>>
>>>
>>
>>
>


-- 
dott.ssa Sara di Gregorio

Area IT - Cyborg s.r.l.
Tel. +390871540266
http://www.cyborg.it

Re: org.apache.pluto.PortletContainerException

Posted by Kurt T Stam <ku...@gmail.com>.
Hi Sara,

Some comments inline:

Cheers,

--Kurt

On 9/29/11 11:44 AM, Sara di Gregorio wrote:
> Hi Kurt,
>
> firstly, thank you for your answer.
>
> 1. Yes, this morning I subscribed me to the user list
>
> 2. I used the bundles version 3.0.4 and 3.1.0, but I have had a 
> StackOverflowException
What platform are you on? Unzip and run should work fine without issues. 
Please send us the steps to reproduce along with the stacktraces you see.
> , so I have decided to follow the instructions on the link I posted in 
> the last mail. Anyway now I try to do the diff with what I have, as 
> you told me and I will give you an answer as soon as possibile. 
> Please, if you have other ideas or you need other information you can 
> contact me.
You can also check out the sources and look in the juddi-console 
submodule to see which files we overlay.
>
> Thank you very much,
> Sara
>
>
> l 29/09/2011 17.29, Kurt T Stam ha scritto:
>> Hi Sara,
>>
>> 1. You will need to subscribe to the user list to receive responses: 
>> http://juddi.apache.org/mail-lists.html
>>
>> 2. I think you missed a step, or maybe we missed a step in the 
>> instructions (cross context support does not seem to be enabled). 
>> Please either use the tomcat-portal-bundle which is preconfigured. Or 
>> you can use the bundle to do a diff with what you have.
>>
>> Cheers,
>> --Kurt
>>
>>
>> On 9/29/11 5:47 AM, Sara di Gregorio wrote:
>>> Hi,
>>>
>>> I've a problem with the exception in object.
>>>
>>> The configuration where I'm working on is the following:
>>> - Tomcat 6.0.33
>>> - jUDDI 3.0.4
>>> - db mySQL
>>>
>>> To install jUDDI on Tomcat I executed the following instructions 
>>> http://thoughtsasaservice.wordpress.com/2011/07/22/how-to-install-juddi-on-tomcat/ 
>>>
>>>
>>> When I start Tomcat,
>>> - http://localhost:8080/juddiv3/  (and so the application 
>>> \webapps\juddiv3 )
>>> - http://localhost:8080/pluto/portal/Pluto%20Admin  (and so the 
>>> application \webapps\pluto )
>>> I see these are correctly deployed.
>>>
>>> The problem in on the application \webapps\uddi-portlets because 
>>> when I click on the link 
>>> http://localhost:8080/pluto/portal/jUDDI%20Admin the following error 
>>> is shown:
>>>
>>> org.apache.pluto.PortletContainerException: Unable to obtain the 
>>> servlet context for the portlet app context path [/uddi-portlets]. 
>>> Make sure that the portlet app has been deployed, and that cross 
>>> context support is enabled for the portal app.
>>>     at 
>>> org.apache.pluto.core.PortletContainerImpl.getPortletAppContext(PortletContainerImpl.java:429)
>>>     at 
>>> org.apache.pluto.core.PortletContainerImpl.doRender(PortletContainerImpl.java:155)
>>>     at 
>>> org.apache.pluto.driver.tags.PortletTag.doStartTag(PortletTag.java:152)
>>>     at 
>>> org.apache.jsp.WEB_002dINF.themes.portlet_002dskin_jsp._jspx_meth_pluto_005fportlet_005f0(portlet_002dskin_jsp.java:105)
>>>     at 
>>> org.apache.jsp.WEB_002dINF.themes.portlet_002dskin_jsp._jspService(portlet_002dskin_jsp.java:79)
>>>     at 
>>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>>>     at 
>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
>>>     at 
>>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) 
>>>
>>>     at 
>>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
>>>     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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
>>>     at 
>>> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
>>>     at 
>>> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
>>>     at 
>>> org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)
>>>     at 
>>> org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspx_meth_c_005fforEach_005f1(pluto_002ddefault_002dtheme_jsp.java:589)
>>>     at 
>>> org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspx_meth_c_005fotherwise_005f0(pluto_002ddefault_002dtheme_jsp.java:533)
>>>     at 
>>> org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspx_meth_c_005fchoose_005f0(pluto_002ddefault_002dtheme_jsp.java:394)
>>>     at 
>>> org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspService(pluto_002ddefault_002dtheme_jsp.java:227)
>>>     at 
>>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>>>     at 
>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
>>>     at 
>>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) 
>>>
>>>     at 
>>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
>>>     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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
>>>     at 
>>> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
>>>     at 
>>> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
>>>     at 
>>> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
>>>     at 
>>> org.apache.pluto.driver.PortalDriverServlet.doGet(PortalDriverServlet.java:151)
>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>>>     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.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>>>     at 
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>>>     at 
>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563)
>>>     at 
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>>>     at 
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>>>     at 
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>>>     at 
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:291)
>>>     at 
>>> org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:877)
>>>     at 
>>> org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:594)
>>>     at 
>>> org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1675) 
>>>
>>>     at java.lang.Thread.run(Thread.java:662)
>>>
>>> Can someone help me, please?
>>>
>>> You can contact me if you need other information.
>>>
>>> Thank you very much,
>>> Sara
>>>
>>
>
>


Re: org.apache.pluto.PortletContainerException

Posted by Sara di Gregorio <sa...@cyborg.it>.
Hi Kurt,

firstly, thank you for your answer.

1. Yes, this morning I subscribed me to the user list

2. I used the bundles version 3.0.4 and 3.1.0, but I have had a 
StackOverflowException, so I have decided to follow the instructions on 
the link I posted in the last mail. Anyway now I try to do the diff with 
what I have, as you told me and I will give you an answer as soon as 
possibile. Please, if you have other ideas or you need other information 
you can contact me.

Thank you very much,
Sara


l 29/09/2011 17.29, Kurt T Stam ha scritto:
> Hi Sara,
>
> 1. You will need to subscribe to the user list to receive responses: 
> http://juddi.apache.org/mail-lists.html
>
> 2. I think you missed a step, or maybe we missed a step in the 
> instructions (cross context support does not seem to be enabled). 
> Please either use the tomcat-portal-bundle which is preconfigured. Or 
> you can use the bundle to do a diff with what you have.
>
> Cheers,
> --Kurt
>
>
> On 9/29/11 5:47 AM, Sara di Gregorio wrote:
>> Hi,
>>
>> I've a problem with the exception in object.
>>
>> The configuration where I'm working on is the following:
>> - Tomcat 6.0.33
>> - jUDDI 3.0.4
>> - db mySQL
>>
>> To install jUDDI on Tomcat I executed the following instructions 
>> http://thoughtsasaservice.wordpress.com/2011/07/22/how-to-install-juddi-on-tomcat/ 
>>
>>
>> When I start Tomcat,
>> - http://localhost:8080/juddiv3/  (and so the application 
>> \webapps\juddiv3 )
>> - http://localhost:8080/pluto/portal/Pluto%20Admin  (and so the 
>> application \webapps\pluto )
>> I see these are correctly deployed.
>>
>> The problem in on the application \webapps\uddi-portlets because when 
>> I click on the link http://localhost:8080/pluto/portal/jUDDI%20Admin 
>> the following error is shown:
>>
>> org.apache.pluto.PortletContainerException: Unable to obtain the 
>> servlet context for the portlet app context path [/uddi-portlets]. 
>> Make sure that the portlet app has been deployed, and that cross 
>> context support is enabled for the portal app.
>>     at 
>> org.apache.pluto.core.PortletContainerImpl.getPortletAppContext(PortletContainerImpl.java:429)
>>     at 
>> org.apache.pluto.core.PortletContainerImpl.doRender(PortletContainerImpl.java:155)
>>     at 
>> org.apache.pluto.driver.tags.PortletTag.doStartTag(PortletTag.java:152)
>>     at 
>> org.apache.jsp.WEB_002dINF.themes.portlet_002dskin_jsp._jspx_meth_pluto_005fportlet_005f0(portlet_002dskin_jsp.java:105)
>>     at 
>> org.apache.jsp.WEB_002dINF.themes.portlet_002dskin_jsp._jspService(portlet_002dskin_jsp.java:79)
>>     at 
>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>>     at 
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
>>     at 
>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
>>     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
>>     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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
>>     at 
>> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
>>     at 
>> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
>>     at 
>> org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)
>>     at 
>> org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspx_meth_c_005fforEach_005f1(pluto_002ddefault_002dtheme_jsp.java:589)
>>     at 
>> org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspx_meth_c_005fotherwise_005f0(pluto_002ddefault_002dtheme_jsp.java:533)
>>     at 
>> org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspx_meth_c_005fchoose_005f0(pluto_002ddefault_002dtheme_jsp.java:394)
>>     at 
>> org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspService(pluto_002ddefault_002dtheme_jsp.java:227)
>>     at 
>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>>     at 
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
>>     at 
>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
>>     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
>>     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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
>>     at 
>> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
>>     at 
>> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
>>     at 
>> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
>>     at 
>> org.apache.pluto.driver.PortalDriverServlet.doGet(PortalDriverServlet.java:151)
>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>>     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.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>>     at 
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>>     at 
>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563)
>>     at 
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>>     at 
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>>     at 
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>>     at 
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:291)
>>     at 
>> org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:877)
>>     at 
>> org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:594)
>>     at 
>> org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1675)
>>     at java.lang.Thread.run(Thread.java:662)
>>
>> Can someone help me, please?
>>
>> You can contact me if you need other information.
>>
>> Thank you very much,
>> Sara
>>
>


-- 
dott.ssa Sara di Gregorio

Area IT - Cyborg s.r.l.
Tel. +390871540266
http://www.cyborg.it

Re: org.apache.pluto.PortletContainerException

Posted by Kurt T Stam <ku...@gmail.com>.
Hi Sara,

1. You will need to subscribe to the user list to receive responses: 
http://juddi.apache.org/mail-lists.html

2. I think you missed a step, or maybe we missed a step in the 
instructions (cross context support does not seem to be enabled). Please 
either use the tomcat-portal-bundle which is preconfigured. Or you can 
use the bundle to do a diff with what you have.

Cheers,
--Kurt


On 9/29/11 5:47 AM, Sara di Gregorio wrote:
> Hi,
>
> I've a problem with the exception in object.
>
> The configuration where I'm working on is the following:
> - Tomcat 6.0.33
> - jUDDI 3.0.4
> - db mySQL
>
> To install jUDDI on Tomcat I executed the following instructions 
> http://thoughtsasaservice.wordpress.com/2011/07/22/how-to-install-juddi-on-tomcat/
>
> When I start Tomcat,
> - http://localhost:8080/juddiv3/  (and so the application 
> \webapps\juddiv3 )
> - http://localhost:8080/pluto/portal/Pluto%20Admin  (and so the 
> application \webapps\pluto )
> I see these are correctly deployed.
>
> The problem in on the application \webapps\uddi-portlets because when 
> I click on the link http://localhost:8080/pluto/portal/jUDDI%20Admin 
> the following error is shown:
>
> org.apache.pluto.PortletContainerException: Unable to obtain the 
> servlet context for the portlet app context path [/uddi-portlets]. 
> Make sure that the portlet app has been deployed, and that cross 
> context support is enabled for the portal app.
>     at 
> org.apache.pluto.core.PortletContainerImpl.getPortletAppContext(PortletContainerImpl.java:429)
>     at 
> org.apache.pluto.core.PortletContainerImpl.doRender(PortletContainerImpl.java:155)
>     at 
> org.apache.pluto.driver.tags.PortletTag.doStartTag(PortletTag.java:152)
>     at 
> org.apache.jsp.WEB_002dINF.themes.portlet_002dskin_jsp._jspx_meth_pluto_005fportlet_005f0(portlet_002dskin_jsp.java:105)
>     at 
> org.apache.jsp.WEB_002dINF.themes.portlet_002dskin_jsp._jspService(portlet_002dskin_jsp.java:79)
>     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>     at 
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
>     at 
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
>     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
>     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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
>     at 
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
>     at 
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
>     at 
> org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)
>     at 
> org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspx_meth_c_005fforEach_005f1(pluto_002ddefault_002dtheme_jsp.java:589)
>     at 
> org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspx_meth_c_005fotherwise_005f0(pluto_002ddefault_002dtheme_jsp.java:533)
>     at 
> org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspx_meth_c_005fchoose_005f0(pluto_002ddefault_002dtheme_jsp.java:394)
>     at 
> org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspService(pluto_002ddefault_002dtheme_jsp.java:227)
>     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>     at 
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
>     at 
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
>     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
>     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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
>     at 
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
>     at 
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
>     at 
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
>     at 
> org.apache.pluto.driver.PortalDriverServlet.doGet(PortalDriverServlet.java:151)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>     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.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>     at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>     at 
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563)
>     at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>     at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>     at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>     at 
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:291)
>     at 
> org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:877)
>     at 
> org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:594)
>     at 
> org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1675)
>     at java.lang.Thread.run(Thread.java:662)
>
> Can someone help me, please?
>
> You can contact me if you need other information.
>
> Thank you very much,
> Sara
>