You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juddi.apache.org by "Tom Cunningham (JIRA)" <ju...@ws.apache.org> on 2009/04/17 21:54:15 UTC
[jira] Created: (JUDDI-221) Escape dsname parameter in
happyjuddi.jsp
Escape dsname parameter in happyjuddi.jsp
-----------------------------------------
Key: JUDDI-221
URL: https://issues.apache.org/jira/browse/JUDDI-221
Project: jUDDI
Issue Type: Bug
Components: core
Affects Versions: 2.0rc6
Reporter: Tom Cunningham
Assignee: Tom Cunningham
Fix For: 2.0
Escape dsname parameter in happyjuddi.jsp
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (JUDDI-221) Escape dsname parameter in
happyjuddi.jsp
Posted by "Kurt T Stam (JIRA)" <ju...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/JUDDI-221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kurt T Stam closed JUDDI-221.
-----------------------------
> Escape dsname parameter in happyjuddi.jsp
> -----------------------------------------
>
> Key: JUDDI-221
> URL: https://issues.apache.org/jira/browse/JUDDI-221
> Project: jUDDI
> Issue Type: Bug
> Components: core
> Affects Versions: 2.0rc7
> Reporter: Tom Cunningham
> Assignee: Tom Cunningham
> Fix For: 2.0
>
>
> Escape dsname parameter in happyjuddi.jsp
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Reopened: (JUDDI-221) Escape dsname parameter in
happyjuddi.jsp
Posted by "Tom Cunningham (JIRA)" <ju...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/JUDDI-221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tom Cunningham reopened JUDDI-221:
----------------------------------
Problem with Util.escapeXml when request.getParameter(dsname) is null found on list.
> Escape dsname parameter in happyjuddi.jsp
> -----------------------------------------
>
> Key: JUDDI-221
> URL: https://issues.apache.org/jira/browse/JUDDI-221
> Project: jUDDI
> Issue Type: Bug
> Components: core
> Affects Versions: 2.0rc6
> Reporter: Tom Cunningham
> Assignee: Tom Cunningham
> Fix For: 2.0rc7
>
>
> Escape dsname parameter in happyjuddi.jsp
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (JUDDI-221) Escape dsname parameter in
happyjuddi.jsp
Posted by "S. Denning (JIRA)" <ju...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/JUDDI-221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12729434#action_12729434 ]
S. Denning commented on JUDDI-221:
----------------------------------
Here's my environment:
Tomcat 6.0.20.0
Oracle 9.2
juddi-2.0rc7
Windows 2003 server SP2
When I try to validate my juddi (http://localhost:7080/juddi/happyjuddi.jsp) I get:
******************************
exception
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 20 in the generated java file
Only a type can be imported. org.apache.taglibs.standard.tag.common.core.Util resolves to a package
An error occurred at line: 249 in the jsp file: /happyjuddi.jsp
Util cannot be resolved
246:
247: try
248: {
249: dsname = Util.escapeXml(request.getParameter("dsname"));
250: if ((dsname == null) || (dsname.trim().length() == 0))
251: dsname = "java:comp/env/jdbc/juddiDB";
252:
Stacktrace:
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:439)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:334)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:312)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:299)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
******************************
My juddi.log shows the following -so I think the connection to my database is good (finally):
2009-07-09 16:21:59,182 INFO [org.apache.juddi.registry.RegistryServlet] - Loading jUDDI configuration.
2009-07-09 16:21:59,182 INFO [org.apache.juddi.registry.RegistryServlet] - Resources loaded from: /WEB-INF/juddi.properties
2009-07-09 16:21:59,182 INFO [org.apache.juddi.registry.RegistryServlet] - Initializing jUDDI components.
2009-07-09 16:21:59,307 INFO [org.apache.juddi.util.jdbc.ConnectionManager] - Using JNDI to aquire a JDBC DataSource with name: java:comp/env/jdbc/juddiDB
2009-07-09 16:24:10,912 INFO [org.apache.juddi.registry.RegistryServlet] - jUDDI Stopping: Cleaning up existing resources.
2009-07-09 16:25:55,831 INFO [org.apache.juddi.registry.RegistryServlet] - Loading jUDDI configuration.
2009-07-09 16:25:55,831 INFO [org.apache.juddi.registry.RegistryServlet] - Resources loaded from: /WEB-INF/juddi.properties
2009-07-09 16:25:55,831 INFO [org.apache.juddi.registry.RegistryServlet] - Initializing jUDDI components.
2009-07-09 16:25:56,065 INFO [org.apache.juddi.util.jdbc.ConnectionManager] - Using JNDI to aquire a JDBC DataSource with name: java:comp/env/jdbc/juddiDB
****************************
Or maybe something is still wrong with my tomcat's server.xml juddi entries? :
<Context path="/juddi" docBase="juddi"
debug="5" reloadable="true" crossContext="true">
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="localhost_juddiDB_log" suffix=".txt"
timestamp="true"/>
<Resource name="jdbc/juddiDB" auth="Container" type="oracle.jdbc.pool.OracleDataSource"
maxActive="100" maxIdle="30" maxWait="10000"
username="juddi" password="password" driverClassName="oracle.jdbc.driver.OracleDriver"
factory="oracle.jdbc.pool.OracleDataSourceFactory"
url="jdbc:oracle:thin:juddi/password@//ATLASSERVERA:1521/generic"/>
<!--juddi?autoReconnect=true"/-->
</Context>
Please advise how I might proceed - I'm STUCK!
Thanks!
S. Denning
> Escape dsname parameter in happyjuddi.jsp
> -----------------------------------------
>
> Key: JUDDI-221
> URL: https://issues.apache.org/jira/browse/JUDDI-221
> Project: jUDDI
> Issue Type: Bug
> Components: core
> Affects Versions: 2.0rc7
> Reporter: Tom Cunningham
> Assignee: Tom Cunningham
> Fix For: 2.0
>
>
> Escape dsname parameter in happyjuddi.jsp
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (JUDDI-221) Escape dsname parameter in
happyjuddi.jsp
Posted by "Tom Cunningham (JIRA)" <ju...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/JUDDI-221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tom Cunningham updated JUDDI-221:
---------------------------------
Affects Version/s: (was: 2.0rc6)
2.0rc7
Fix Version/s: (was: 2.0rc7)
2.0
> Escape dsname parameter in happyjuddi.jsp
> -----------------------------------------
>
> Key: JUDDI-221
> URL: https://issues.apache.org/jira/browse/JUDDI-221
> Project: jUDDI
> Issue Type: Bug
> Components: core
> Affects Versions: 2.0rc7
> Reporter: Tom Cunningham
> Assignee: Tom Cunningham
> Fix For: 2.0
>
>
> Escape dsname parameter in happyjuddi.jsp
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (JUDDI-221) Escape dsname parameter in
happyjuddi.jsp
Posted by "Kurt T Stam (JIRA)" <ju...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/JUDDI-221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kurt T Stam closed JUDDI-221.
-----------------------------
> Escape dsname parameter in happyjuddi.jsp
> -----------------------------------------
>
> Key: JUDDI-221
> URL: https://issues.apache.org/jira/browse/JUDDI-221
> Project: jUDDI
> Issue Type: Bug
> Components: core
> Affects Versions: 2.0rc6
> Reporter: Tom Cunningham
> Assignee: Tom Cunningham
> Fix For: 2.0rc7
>
>
> Escape dsname parameter in happyjuddi.jsp
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (JUDDI-221) Escape dsname parameter in
happyjuddi.jsp
Posted by "Tom Cunningham (JIRA)" <ju...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/JUDDI-221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tom Cunningham resolved JUDDI-221.
----------------------------------
Resolution: Fixed
> Escape dsname parameter in happyjuddi.jsp
> -----------------------------------------
>
> Key: JUDDI-221
> URL: https://issues.apache.org/jira/browse/JUDDI-221
> Project: jUDDI
> Issue Type: Bug
> Components: core
> Affects Versions: 2.0rc7
> Reporter: Tom Cunningham
> Assignee: Tom Cunningham
> Fix For: 2.0
>
>
> Escape dsname parameter in happyjuddi.jsp
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (JUDDI-221) Escape dsname parameter in
happyjuddi.jsp
Posted by "Tom Cunningham (JIRA)" <ju...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/JUDDI-221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tom Cunningham resolved JUDDI-221.
----------------------------------
Resolution: Fixed
Brought in jakarta-commons standard taglib for the Util class and escaped dsname.
> Escape dsname parameter in happyjuddi.jsp
> -----------------------------------------
>
> Key: JUDDI-221
> URL: https://issues.apache.org/jira/browse/JUDDI-221
> Project: jUDDI
> Issue Type: Bug
> Components: core
> Affects Versions: 2.0rc6
> Reporter: Tom Cunningham
> Assignee: Tom Cunningham
> Fix For: 2.0
>
>
> Escape dsname parameter in happyjuddi.jsp
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (JUDDI-221) Escape dsname parameter in
happyjuddi.jsp
Posted by "Kurt T Stam (JIRA)" <ju...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/JUDDI-221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kurt T Stam updated JUDDI-221:
------------------------------
Fix Version/s: (was: 2.0)
2.0rc7
> Escape dsname parameter in happyjuddi.jsp
> -----------------------------------------
>
> Key: JUDDI-221
> URL: https://issues.apache.org/jira/browse/JUDDI-221
> Project: jUDDI
> Issue Type: Bug
> Components: core
> Affects Versions: 2.0rc6
> Reporter: Tom Cunningham
> Assignee: Tom Cunningham
> Fix For: 2.0rc7
>
>
> Escape dsname parameter in happyjuddi.jsp
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.