https://bz.apache.org/bugzilla/show_bug.cgi?id=69623
--- Comment #14 from [email protected] --- Please find a webapp here: http://standup.eecs.kth.se:8080/tomcat-error.zip test.jsp calls getClass().getClassLoader().getResource("dataDefinitions/ErrorUser.mdd").getContent() that works. So apparently the bug is fixed. However, the exact same operation is (in the end) invoked by test1.jsp and produces the "java.net.UnknownServiceException: no content-type" issue. test1.jsp needs a mysql 5.5 server, with a 'tomcaterror' databae. I am sorry I was unable to produce a simpler example... Even with test1.jsp, ErrorUser.mdd is clearly read succesfully once, because an erroruser_ table is succesfully created. 28-Dec-2025 01:21:36.058 INFO [http-nio-8080-exec-57] org.makumba.db.makumba.sql.TableManager.create CREATE TABLE ErrorUser_(ErrorUser_ INTEGER,TS_modify_ TIMESTAMP,TS_create_ TIMESTAMP,username_ VARCHAR(20),password_ VARCHAR(20)) ENGINE=InnoDB tomcat | 28-Dec-2025 01:21:36.067 INFO [http-nio-8080-exec-57] org.makumba.db.makumba.sql.TableManager.manageIndexes UNIQUE INDEX ADDED on ErrorUser#ptrIndex (Unique index) tomcat | 28-Dec-2025 01:21:36.073 INFO [http-nio-8080-exec-57] org.makumba.db.makumba.sql.TableManager.manageIndexes INDEX ADDED on ErrorUser#dateModify (Last modification date) tomcat | 28-Dec-2025 01:21:36.077 INFO [http-nio-8080-exec-57] org.makumba.db.makumba.sql.TableManager.manageIndexes INDEX ADDED on ErrorUser#dateCreate (Creation date) tomcat | 28-Dec-2025 01:21:36.082 INFO [http-nio-8080-exec-57] org.makumba.db.makumba.sql.TableManager.manageIndexes UNIQUE INDEX ADDED on ErrorUser#char (username) tomcat | 28-Dec-2025 01:21:36.087 INFO [http-nio-8080-exec-57] org.makumba.db.makumba.sql.TableManager.manageIndexes INDEX ADDED on ErrorUser#char (password) tomcat | java.net.UnknownServiceException: no content-type tomcat | at java.base/java.net.URLConnection.getContentHandler(URLConnection.java:1320) tomcat | at java.base/java.net.URLConnection.getContent(URLConnection.java:770) tomcat | at java.base/java.net.URL.getContent(URL.java:1339) tomcat | at org.makumba.providers.datadefinition.mdd.MDDFactory.parse(MDDFactory.java:186) tomcat | at org.makumba.providers.datadefinition.mdd.MDDFactory.getDataDefinition(MDDFactory.java:69) tomcat | at org.makumba.providers.DataDefinitionProvider$1.makeResource(DataDefinitionProvider.java:510) -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
