MyException - 我的异常网
当前位置:我的异常网» J2EE » 急请教一下下面的有关问题Shark.configure("co

急请教一下下面的有关问题Shark.configure("conf/Shark.conf");老是出报错啊?多谢(2)

www.MyException.Cn  网友分享于:2013-12-27  浏览:48次

  ... 7 more 
org.enhydra.shark.api.RootError 
  at org.enhydra.shark.Shark.configure(Shark.java:66) 
  at com.st.SharkTest.main(SharkTest.java:12) 
Caused by: java.lang.reflect.InvocationTargetException 
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 
  at java.lang.reflect.Method.invoke(Unknown Source) 
  at org.enhydra.shark.Shark._conf(Shark.java:127) 
  at org.enhydra.shark.Shark.configure(Shark.java:63) 
  ... 1 more 
Caused by: java.lang.Error: Failed to make Standard Connection Allocator : com.lutris.appserver.server.sql.standard.StandardConnectionAllocator: null 
  at com.lutris.appserver.server.sql.standard.StandardLogicalDatabase.loadConnectionAllocator(StandardLogicalDatabase.java:540) 
  at com.lutris.appserver.server.sql.standard.StandardLogicalDatabase.initConf(StandardLogicalDatabase.java:273) 
  at com.lutris.appserver.server.sql.standard.StandardLogicalDatabase.init(StandardLogicalDatabase.java:185) 
  at com.lutris.appserver.server.sql.standard.StandardLogicalDatabase. <init> (StandardLogicalDatabase.java:170) 
  at com.lutris.appserver.server.sql.StandardDatabaseManager.loadLogicalDatabase(StandardDatabaseManager.java:560) 
  at com.lutris.appserver.server.sql.StandardDatabaseManager. <init> (StandardDatabaseManager.java:366) 
  at org.enhydra.shark.utilities.dods.DODSUtilities.init(DODSUtilities.java:262) 
  at org.enhydra.shark.usergroup.DODSUserGroupManagerAdmin.configure(DODSUserGroupManagerAdmin.java:52) 
  at org.enhydra.shark.assignment.StandardAssignmentManager.configure(StandardAssignmentManager.java:50) 
  at org.enhydra.shark.SharkEngineManager.init(SharkEngineManager.java:217) 
  at org.enhydra.shark.SharkEngineManager.init(SharkEngineManager.java:872) 
  at org.enhydra.shark.SharkEngineManager.configure(SharkEngineManager.java:595) 
  at org.enhydra.shark.SharkEngineManager.configure(SharkEngineManager.java:550) 
  ... 7 more 


------解决方案--------------------
急啊,有哪位兄弟帮个忙啦!
------解决方案--------------------
我也是初学Shark,对这个问题也不清楚。

文章评论

软件开发程序错误异常ExceptionCopyright © 2009-2015 MyException 版权所有