i try to run a simple query using an .xsp file
in last [04.11.2003] cocoon CVS snapshot
and i get the follow error msg
i have check and re-check the code many times and i dont see something
different from some examples
error msg:
org.apache.cocoon.ProcessingException: Language Exception:
org.apache.cocoon.components.language.LanguageException: Error compiling
query_xsp:
ERROR 1
(org\apache\cocoon\www\file_\C_\Server\xwww\osOthello\scratchpad\actionauth\query_xsp.java):
...
// start error (lines 3-3) "The declared package does not match the
expected package
org.apache.cocoon.www.file_.C_.Server.xwww.osOthello.scratchpad.actionauth"
package
org.apache.cocoon.www.file_.C_.server.xwww.osOthello.scratchpad.actionauth;
// end error
import java.io.File;
import java.io.IOException;
import java.io.StringReader;
...
Line 3, column 0: The declared package does not match the expected package
org.apache.cocoon.www.file_.C_.Server.xwww.osOthello.scratchpad.actionauth
xconf entry in datasources:
<jdbc name="othello">
<pool-controller max="10" min="5"/>
<auto-commit>false</auto-commit>
<dburl>jdbc:mysql://192.168.0.50:3306/othello</dburl>
<user>root</user>
</jdbc>
web.xml entry in init-param:
<!--
java.sql.DriverManager -->
org.gjt.mm.mysql.Driver
i have use
jakarta-tomcat-4.1.17
winxp
and i have put mysql-connector-java-2.0.14-bin.jar
in tomcat's common/lib
and cocoon's /web-inf/lib
the strange thing is that using the same files (subsitemap)
mounted from another cocoon instance
cocoon 2.0.3 on jakarta-tomcat-4.0.6
i get the results (queriy results) without errors
-- stavros
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]