快精灵印艺坊 您身边的文印专家
广州名片 深圳名片 会员卡 贵宾卡 印刷 设计教程
产品展示 在线订购 会员中心 产品模板 设计指南 在线编辑
 首页 名片设计   CorelDRAW   Illustrator   AuotoCAD   Painter   其他软件   Photoshop   Fireworks   Flash  

 » 彩色名片
 » PVC卡
 » 彩色磁性卡
 » 彩页/画册
 » 个性印务
 » 彩色不干胶
 » 明信片
   » 明信片
   » 彩色书签
   » 门挂
 » 其他产品与服务
   » 创业锦囊
   » 办公用品
     » 信封、信纸
     » 便签纸、斜面纸砖
     » 无碳复印纸
   » 海报
   » 大篇幅印刷
     » KT板
     » 海报
     » 横幅

如何调出cloudscape数据库的图形治理界面及相关问题


如何调出cloudscape数据库的图形治理界面及相关问题你在命令行方法下敲入java COM.cloudscape.tools.cview很可能会出现错误。什么原因呢?第一、你要看看你的jdk版本对不对,是不是1.3.1_02以上或者1.4的。第二、要害中的要害,原来sun的j2ee里的cloudview是不能在他附带的cloudscape4.0.6下工作的(真不知道sun在搞什么东东 :))这里是在ibm网站上的一句原话:The Java 2 SDK, Enterprise Edition v. 1.3.1 includes Cloudscape 4.0.6 but includes a version of Cloudview which will not function with the 4.0.6 system。所以同志门就自己去下一个吧!

常见错误:java.lang.ClassNotFoundException: COM.cloudscape.core.JDBCDriver英文解释:To "find" the missing driver, you need to add to the CLASSPATH the cloudscape jar files RmiJdbc.jar , cloudclient.jar and system/cloudscape.jar which are located  under the directory %J2EE_HOME%/lib/cloudscape/ So, under UNIX you should execute: setenv CLASSPATH .:$J2EE_HOME/lib/cloudscape/system/cloudscape.jar:$J2EE_HOME/lib/cloudscape/cloudclient.jar:$J2EE_HOME/lib/cloudscape/RmiJdbc.jar

under Windows, you should add to CLASSPATH the following %J2EE_HOME%/lib/cloudscape ystem/cloudscape.jar;%J2EE_HOME%/lib/cloudscape/cloudclient.jar;%J2EE_HOME%/lib/cloudscape/RmiJdbc.jar

If you will, you can also look at "cloudscape" command (cloudscape.bat under Windows) what jar files it adds to its classpath.

We\\\'d like also to give you a hint regarding missing classes. If some class cannot be loaded, even though it should be somewhere, this indicates that the class is not "visible" in classpath for a class loader. To find the class, you should inspect JAR files under lib directory of a Java environment by using "jar -tvf file.jar" or WinZip. For example, to find the driver under UNIX one should execute in the directory $J2EE_HOME/lib/cloudscape/system/ the following jar tvf cloudscape.jar | grep JDBCDriver

In particular , the driver class COM.cloudscape.core.JDBCDriver is packaged in %J2EE_HOME%/lib/cloudscape ystem/cloudscape.jar (under UNIX in $J2EE_HOME/lib/cloudscape/system/cloudscape.jar)

中文解释:重点是设置对RmiJdbc.jar , cloudclient.jar and system/cloudscape.jar

几点注重的地方:

1.修改完resource.properties,需要重起j2ee server2.使用cloudview时,cloudscape数据库必须关闭,设置完以后再重起数据库3.deploy修改默认SQL的时候,点画面左边的SQL名称,右边出现SQL文,修改完毕之后必须再点一下左边的这个SQL名称,这样表示更新了,假如直接去点别的SQL名称,就会乱掉。看到前面有的哥们儿说改一下就按一下OK,否则会乱,其实不必。5.不知道cloudscape数据库怎么样,反正Oracle中在SQL中不加""就会忽略大小写。比如:select * from employee where employeeID=\\\'123\\\'和select * from EMPLOYEE where EMPLOYEEID=\\\'123\\\'是相同的,但是deploy时默认的SQL中是有""的,这样select * from "employee" where "employeeID"=\\\'123\\\'就和select * from "EMPLOYEE" where "EMPLOYEEID"=\\\'123\\\'不相同了。前面有的朋友说字段大小写的问题估计就在此。4.deploy结束之后需要save,否则jsp中输入ID,点submit就会是白板一块。




返回类别: 教程
上一教程: java中文件长度的转变
下一教程: java 面试

您可以阅读与"如何调出cloudscape数据库的图形治理界面及相关问题"相关的教程:
· Java访问数据库的速度瓶颈问题的分析及解决
· JSP用连接池连数据库的问题
· JAVA访问数据库的速度瓶颈问题的分析及解决
· JSP访问数据库的问题整理
· 新手请教jsp连接数据库的问题
    微笑服务 优质保证 索取样品